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

2 lines
3.7 MiB

(self.webpackChunkRTLApp=self.webpackChunkRTLApp||[]).push([["main"],{429:(Ye,J,f)=>{"use strict";f.d(J,{$A:()=>Pe,$W:()=>he,BL:()=>V,CN:()=>p,CX:()=>L,EG:()=>A,EK:()=>T,El:()=>pe,HI:()=>o,HJ:()=>M,I8:()=>z,JK:()=>qe,Lu:()=>W,Ly:()=>ie,Ni:()=>_,Nr:()=>$e,OG:()=>N,QJ:()=>Ke,RX:()=>k,Rd:()=>Oe,SN:()=>D,Sf:()=>Y,TM:()=>h,UH:()=>Se,UR:()=>R,VD:()=>K,WM:()=>ge,WO:()=>x,Wi:()=>ye,X3:()=>re,YP:()=>Me,YX:()=>w,Z8:()=>se,ZH:()=>oe,Zu:()=>ze,_9:()=>st,_E:()=>$,aL:()=>De,as:()=>g,cQ:()=>i,d7:()=>ii,dh:()=>Ve,e9:()=>bt,eF:()=>P,eM:()=>ne,en:()=>Be,g3:()=>Z,g6:()=>Ue,i9:()=>at,kL:()=>I,n7:()=>Ce,oV:()=>m,oo:()=>l,pW:()=>r,pd:()=>u,u0:()=>dt,uT:()=>it,v_:()=>Xe,wD:()=>C,xH:()=>O,xS:()=>X,yl:()=>ee,z:()=>fe});var e=f(9263),t=f(7731);const _=(0,e.PH)(t.AB.UPDATE_API_CALL_STATUS_CLN,(0,e.Ky)()),O=(0,e.PH)(t.AB.RESET_CLN_STORE,(0,e.Ky)()),l=(0,e.PH)(t.AB.SET_CHILD_NODE_SETTINGS_CLN,(0,e.Ky)()),C=(0,e.PH)(t.AB.FETCH_PAGE_SETTINGS_CLN),u=(0,e.PH)(t.AB.SET_PAGE_SETTINGS_CLN,(0,e.Ky)()),P=(0,e.PH)(t.AB.SAVE_PAGE_SETTINGS_CLN,(0,e.Ky)()),p=(0,e.PH)(t.AB.FETCH_INFO_CLN,(0,e.Ky)()),L=(0,e.PH)(t.AB.SET_INFO_CLN,(0,e.Ky)()),D=(0,e.PH)(t.AB.FETCH_FEES_CLN),k=(0,e.PH)(t.AB.SET_FEES_CLN,(0,e.Ky)()),M=(0,e.PH)(t.AB.FETCH_FEE_RATES_CLN,(0,e.Ky)()),z=(0,e.PH)(t.AB.SET_FEE_RATES_CLN,(0,e.Ky)()),A=(0,e.PH)(t.AB.FETCH_BALANCE_CLN),W=(0,e.PH)(t.AB.SET_BALANCE_CLN,(0,e.Ky)()),Z=(0,e.PH)(t.AB.FETCH_LOCAL_REMOTE_BALANCE_CLN),X=(0,e.PH)(t.AB.SET_LOCAL_REMOTE_BALANCE_CLN,(0,e.Ky)()),$=(0,e.PH)(t.AB.GET_NEW_ADDRESS_CLN,(0,e.Ky)()),he=((0,e.PH)(t.AB.SET_NEW_ADDRESS_CLN,(0,e.Ky)()),(0,e.PH)(t.AB.FETCH_PEERS_CLN)),se=(0,e.PH)(t.AB.SET_PEERS_CLN,(0,e.Ky)()),pe=(0,e.PH)(t.AB.SAVE_NEW_PEER_CLN,(0,e.Ky)()),re=((0,e.PH)(t.AB.NEWLY_ADDED_PEER_CLN,(0,e.Ky)()),(0,e.PH)(t.AB.ADD_PEER_CLN,(0,e.Ky)())),fe=(0,e.PH)(t.AB.DETACH_PEER_CLN,(0,e.Ky)()),T=(0,e.PH)(t.AB.REMOVE_PEER_CLN,(0,e.Ky)()),i=(0,e.PH)(t.AB.FETCH_PAYMENTS_CLN),o=(0,e.PH)(t.AB.SET_PAYMENTS_CLN,(0,e.Ky)()),m=(0,e.PH)(t.AB.SEND_PAYMENT_CLN,(0,e.Ky)()),h=(0,e.PH)(t.AB.SEND_PAYMENT_STATUS_CLN,(0,e.Ky)()),x=(0,e.PH)(t.AB.GET_QUERY_ROUTES_CLN,(0,e.Ky)()),I=(0,e.PH)(t.AB.SET_QUERY_ROUTES_CLN,(0,e.Ky)()),R=(0,e.PH)(t.AB.FETCH_CHANNELS_CLN),g=(0,e.PH)(t.AB.SET_CHANNELS_CLN,(0,e.Ky)()),r=(0,e.PH)(t.AB.UPDATE_CHANNEL_CLN,(0,e.Ky)()),w=(0,e.PH)(t.AB.SAVE_NEW_CHANNEL_CLN,(0,e.Ky)()),V=(0,e.PH)(t.AB.CLOSE_CHANNEL_CLN,(0,e.Ky)()),N=(0,e.PH)(t.AB.REMOVE_CHANNEL_CLN,(0,e.Ky)()),Y=(0,e.PH)(t.AB.PEER_LOOKUP_CLN,(0,e.Ky)()),Pe=(0,e.PH)(t.AB.CHANNEL_LOOKUP_CLN,(0,e.Ky)()),Ce=(0,e.PH)(t.AB.INVOICE_LOOKUP_CLN,(0,e.Ky)()),Xe=(0,e.PH)(t.AB.SET_LOOKUP_CLN,(0,e.Ky)()),dt=(0,e.PH)(t.AB.GET_FORWARDING_HISTORY_CLN,(0,e.Ky)()),Ke=(0,e.PH)(t.AB.SET_FORWARDING_HISTORY_CLN,(0,e.Ky)()),ge=(0,e.PH)(t.AB.FETCH_INVOICES_CLN,(0,e.Ky)()),$e=(0,e.PH)(t.AB.SET_INVOICES_CLN,(0,e.Ky)()),Oe=(0,e.PH)(t.AB.SAVE_NEW_INVOICE_CLN,(0,e.Ky)()),Me=(0,e.PH)(t.AB.ADD_INVOICE_CLN,(0,e.Ky)()),De=(0,e.PH)(t.AB.UPDATE_INVOICE_CLN,(0,e.Ky)()),Ue=(0,e.PH)(t.AB.DELETE_EXPIRED_INVOICE_CLN,(0,e.Ky)()),ye=(0,e.PH)(t.AB.SET_CHANNEL_TRANSACTION_CLN,(0,e.Ky)()),ie=((0,e.PH)(t.AB.SET_CHANNEL_TRANSACTION_RES_CLN,(0,e.Ky)()),(0,e.PH)(t.AB.FETCH_UTXOS_CLN)),Se=(0,e.PH)(t.AB.SET_UTXOS_CLN,(0,e.Ky)()),ne=(0,e.PH)(t.AB.FETCH_OFFER_INVOICE_CLN,(0,e.Ky)()),K=(0,e.PH)(t.AB.SET_OFFER_INVOICE_CLN,(0,e.Ky)()),ee=(0,e.PH)(t.AB.FETCH_OFFERS_CLN),ze=(0,e.PH)(t.AB.SET_OFFERS_CLN,(0,e.Ky)()),Ve=(0,e.PH)(t.AB.SAVE_NEW_OFFER_CLN,(0,e.Ky)()),oe=(0,e.PH)(t.AB.ADD_OFFER_CLN,(0,e.Ky)()),at=(0,e.PH)(t.AB.DISABLE_OFFER_CLN,(0,e.Ky)()),qe=(0,e.PH)(t.AB.UPDATE_OFFER_CLN,(0,e.Ky)()),it=(0,e.PH)(t.AB.FETCH_OFFER_BOOKMARKS_CLN),ii=(0,e.PH)(t.AB.SET_OFFER_BOOKMARKS_CLN,(0,e.Ky)()),bt=(0,e.PH)(t.AB.ADD_UPDATE_OFFER_BOOKMARK_CLN,(0,e.Ky)()),st=(0,e.PH)(t.AB.DELETE_OFFER_BOOKMARK_CLN,(0,e.Ky)()),Be=(0,e.PH)(t.AB.REMOVE_OFFER_BOOKMARK_CLN,(0,e.Ky)())},4947:(Ye,J,f)=>{"use strict";f.d(J,{J:()=>re});var e=f(3599),t=f(253),_=f(745),O=f(9525),l=f(8951),C=f(635),u=f(3158),P=f(2340),p=f(1786),L=f(5566),D=f(7731),k=f(7861),M=f(429),z=f(9828),A=f(1462),W=f(2560),Z=f(8987),X=f(9263),$=f(5986),ae=f(62),he=f(5043),se=f(3547),pe=f(3512),le=f(4666);class re{constructor(T,i,o,m,h,x,I,R,g){this.actions=T,this.httpClient=i,this.store=o,this.sessionService=m,this.commonService=h,this.logger=x,this.router=I,this.wsService=R,this.location=g,this.CHILD_API_URL=P.T5+"/cln",this.flgInitialized=!1,this.unSubs=[new t.x,new t.x,new t.x],this.infoFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.FETCH_INFO_CLN),(0,O.z)(r=>(this.flgInitialized=!1,this.store.dispatch((0,k.lC)({payload:this.CHILD_API_URL})),this.store.dispatch((0,M.Ni)({payload:{action:"FetchInfo",status:D.Bn.INITIATED}})),this.store.dispatch((0,k.ac)({payload:D.m6.GET_NODE_INFO})),this.httpClient.get(this.CHILD_API_URL+P.NZ.GETINFO_API).pipe((0,l.R)(this.actions.pipe((0,e.l4)(D.pg.SET_SELECTED_NODE))),(0,C.U)(w=>(this.logger.info(w),w.chains&&w.chains.length&&w.chains[0]&&"object"==typeof w.chains[0]&&w.chains[0].hasOwnProperty("chain")&&w?.chains[0].chain&&w?.chains[0].chain.toLowerCase().indexOf("bitcoin")<0&&w?.chains[0].chain.toLowerCase().indexOf("liquid")<0?(this.store.dispatch((0,M.Ni)({payload:{action:"FetchInfo",status:D.Bn.COMPLETED}})),this.store.dispatch((0,k.uO)({payload:D.m6.GET_NODE_INFO})),this.store.dispatch((0,k.ts)()),setTimeout(()=>{this.store.dispatch((0,k.qR)({payload:{data:{type:D.n_.ERROR,alertTitle:"Shitcoin Found",titleMessage:"Sorry Not Sorry, RTL is Bitcoin Only!"}}}))},500),{type:D.pg.LOGOUT}):(this.initializeRemainingData(w,r.payload.loadPage),this.store.dispatch((0,M.Ni)({payload:{action:"FetchInfo",status:D.Bn.COMPLETED}})),this.store.dispatch((0,k.uO)({payload:D.m6.GET_NODE_INFO})),{type:D.AB.SET_INFO_CLN,payload:w||{}}))),(0,u.K)(w=>{const V=this.commonService.extractErrorCode(w),N="ETIMEDOUT"===V?"Unable to Connect to Core Lightning Server.":this.commonService.extractErrorMessage(w);return this.router.navigate(["/error"],{state:{errorCode:V,errorMessage:N}}),this.handleErrorWithoutAlert("FetchInfo",D.m6.GET_NODE_INFO,"Fetching Node Info Failed.",{status:V,error:N}),(0,_.of)({type:D.pg.VOID})})))))),this.fetchFeesCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.FETCH_FEES_CLN),(0,O.z)(()=>(this.store.dispatch((0,M.Ni)({payload:{action:"FetchFees",status:D.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.FEES_API))),(0,C.U)(r=>(this.logger.info(r),this.store.dispatch((0,M.Ni)({payload:{action:"FetchFees",status:D.Bn.COMPLETED}})),{type:D.AB.SET_FEES_CLN,payload:r||{}})),(0,u.K)(r=>(this.handleErrorWithoutAlert("FetchFees",D.m6.NO_SPINNER,"Fetching Fees Failed.",r),(0,_.of)({type:D.pg.VOID}))))),this.fetchFeeRatesCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.FETCH_FEE_RATES_CLN),(0,O.z)(r=>(this.store.dispatch((0,M.Ni)({payload:{action:"FetchFeeRates"+r.payload,status:D.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.NETWORK_API+"/feeRates/"+r.payload).pipe((0,C.U)(w=>(this.logger.info(w),this.store.dispatch((0,M.Ni)({payload:{action:"FetchFeeRates"+r.payload,status:D.Bn.COMPLETED}})),{type:D.AB.SET_FEE_RATES_CLN,payload:w||{}})),(0,u.K)(w=>(this.handleErrorWithoutAlert("FetchFeeRates"+r.payload,D.m6.NO_SPINNER,"Fetching Fee Rates Failed.",w),(0,_.of)({type:D.pg.VOID})))))))),this.fetchBalanceCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.FETCH_BALANCE_CLN),(0,O.z)(()=>(this.store.dispatch((0,M.Ni)({payload:{action:"FetchBalance",status:D.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.BALANCE_API))),(0,C.U)(r=>(this.logger.info(r),this.store.dispatch((0,M.Ni)({payload:{action:"FetchBalance",status:D.Bn.COMPLETED}})),{type:D.AB.SET_BALANCE_CLN,payload:r||{}})),(0,u.K)(r=>(this.handleErrorWithoutAlert("FetchBalance",D.m6.NO_SPINNER,"Fetching Balances Failed.",r),(0,_.of)({type:D.pg.VOID}))))),this.fetchLocalRemoteBalanceCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.FETCH_LOCAL_REMOTE_BALANCE_CLN),(0,O.z)(()=>(this.store.dispatch((0,M.Ni)({payload:{action:"FetchLocalRemoteBalance",status:D.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.CHANNELS_API+"/localRemoteBalance"))),(0,C.U)(r=>(this.logger.info(r),this.store.dispatch((0,M.Ni)({payload:{action:"FetchLocalRemoteBalance",status:D.Bn.COMPLETED}})),{type:D.AB.SET_LOCAL_REMOTE_BALANCE_CLN,payload:r||{}})),(0,u.K)(r=>(this.handleErrorWithoutAlert("FetchLocalRemoteBalance",D.m6.NO_SPINNER,"Fetching Balances Failed.",r),(0,_.of)({type:D.pg.VOID}))))),this.getNewAddressCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.GET_NEW_ADDRESS_CLN),(0,O.z)(r=>(this.store.dispatch((0,k.ac)({payload:D.m6.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+P.NZ.ON_CHAIN_API+"?type="+r.payload.addressCode).pipe((0,C.U)(w=>(this.logger.info(w),this.store.dispatch((0,k.uO)({payload:D.m6.GENERATE_NEW_ADDRESS})),{type:D.AB.SET_NEW_ADDRESS_CLN,payload:w&&w.address?w.address:{}})),(0,u.K)(w=>(this.handleErrorWithAlert("GenerateNewAddress",D.m6.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+P.NZ.ON_CHAIN_API+"?type="+r.payload.addressId,w),(0,_.of)({type:D.pg.VOID})))))))),this.setNewAddressCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.SET_NEW_ADDRESS_CLN),(0,C.U)(r=>(this.logger.info(r.payload),r.payload))),{dispatch:!1}),this.peersFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.FETCH_PEERS_CLN),(0,O.z)(()=>(this.store.dispatch((0,M.Ni)({payload:{action:"FetchPeers",status:D.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.PEERS_API).pipe((0,C.U)(r=>(this.logger.info(r),this.store.dispatch((0,M.Ni)({payload:{action:"FetchPeers",status:D.Bn.COMPLETED}})),{type:D.AB.SET_PEERS_CLN,payload:r||[]})),(0,u.K)(r=>(this.handleErrorWithoutAlert("FetchPeers",D.m6.NO_SPINNER,"Fetching Peers Failed.",r),(0,_.of)({type:D.pg.VOID})))))))),this.saveNewPeerCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.SAVE_NEW_PEER_CLN),(0,O.z)(r=>(this.store.dispatch((0,k.ac)({payload:D.m6.CONNECT_PEER})),this.store.dispatch((0,M.Ni)({payload:{action:"SaveNewPeer",status:D.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+P.NZ.PEERS_API,{id:r.payload.id}).pipe((0,C.U)(w=>(this.logger.info(w),this.store.dispatch((0,M.Ni)({payload:{action:"SaveNewPeer",status:D.Bn.COMPLETED}})),this.store.dispatch((0,k.uO)({payload:D.m6.CONNECT_PEER})),this.store.dispatch((0,M.Z8)({payload:w||[]})),{type:D.AB.NEWLY_ADDED_PEER_CLN,payload:{peer:w.find(V=>0===r.payload.id.indexOf(V.id?V.id:""))}})),(0,u.K)(w=>(this.handleErrorWithoutAlert("SaveNewPeer",D.m6.CONNECT_PEER,"Peer Connection Failed.",w),(0,_.of)({type:D.pg.VOID})))))))),this.detachPeerCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.DETACH_PEER_CLN),(0,O.z)(r=>(this.store.dispatch((0,k.ac)({payload:D.m6.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+P.NZ.PEERS_API+"/"+r.payload.id+"?force="+r.payload.force).pipe((0,C.U)(w=>(this.logger.info(w),this.store.dispatch((0,k.uO)({payload:D.m6.DISCONNECT_PEER})),this.store.dispatch((0,k.jW)({payload:"Peer Disconnected Successfully!"})),{type:D.AB.REMOVE_PEER_CLN,payload:{id:r.payload.id}})),(0,u.K)(w=>(this.handleErrorWithAlert("PeerDisconnect",D.m6.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+P.NZ.PEERS_API+"/"+r.payload.id,w),(0,_.of)({type:D.pg.VOID})))))))),this.channelsFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.FETCH_CHANNELS_CLN),(0,O.z)(()=>(this.store.dispatch((0,M.Ni)({payload:{action:"FetchChannels",status:D.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.CHANNELS_API+"/listChannels"))),(0,C.U)(r=>{this.logger.info(r),this.store.dispatch((0,M.Ni)({payload:{action:"FetchChannels",status:D.Bn.COMPLETED}}));const w={activeChannels:[],pendingChannels:[],inactiveChannels:[]};return r.forEach(V=>{"CHANNELD_NORMAL"===V.state?V.connected?w.activeChannels.push(V):w.inactiveChannels.push(V):w.pendingChannels.push(V)}),{type:D.AB.SET_CHANNELS_CLN,payload:w}}),(0,u.K)(r=>(this.handleErrorWithoutAlert("FetchChannels",D.m6.NO_SPINNER,"Fetching Channels Failed.",r),(0,_.of)({type:D.pg.VOID}))))),this.openNewChannelCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.SAVE_NEW_CHANNEL_CLN),(0,O.z)(r=>{this.store.dispatch((0,k.ac)({payload:D.m6.OPEN_CHANNEL})),this.store.dispatch((0,M.Ni)({payload:{action:"SaveNewChannel",status:D.Bn.INITIATED}}));const w={id:r.payload.peerId,satoshis:r.payload.satoshis,feeRate:r.payload.feeRate,announce:r.payload.announce};return r.payload.minconf&&(w.minconf=r.payload.minconf),r.payload.utxos&&(w.utxos=r.payload.utxos),r.payload.requestAmount&&(w.request_amt=r.payload.requestAmount),r.payload.compactLease&&(w.compact_lease=r.payload.compactLease),this.httpClient.post(this.CHILD_API_URL+P.NZ.CHANNELS_API,w).pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,M.Ni)({payload:{action:"SaveNewChannel",status:D.Bn.COMPLETED}})),this.store.dispatch((0,k.uO)({payload:D.m6.OPEN_CHANNEL})),this.store.dispatch((0,k.jW)({payload:"Channel Added Successfully!"})),this.store.dispatch((0,M.EG)()),this.store.dispatch((0,M.Ly)()),{type:D.AB.FETCH_CHANNELS_CLN})),(0,u.K)(V=>(this.handleErrorWithoutAlert("SaveNewChannel",D.m6.OPEN_CHANNEL,"Opening Channel Failed.",V),(0,_.of)({type:D.pg.VOID}))))}))),this.updateChannelCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.UPDATE_CHANNEL_CLN),(0,O.z)(r=>(this.store.dispatch((0,k.ac)({payload:D.m6.UPDATE_CHAN_POLICY})),this.httpClient.post(this.CHILD_API_URL+P.NZ.CHANNELS_API+"/setChannelFee",{id:r.payload.channelId,base:r.payload.baseFeeMsat,ppm:r.payload.feeRate}).pipe((0,C.U)(w=>(this.logger.info(w),this.store.dispatch((0,k.uO)({payload:D.m6.UPDATE_CHAN_POLICY})),"all"===r.payload.channelId?this.store.dispatch((0,k.jW)({payload:{message:"All Channels Updated Successfully. Fee policy updates may take some time to reflect on the channel.",duration:5e3}})):this.store.dispatch((0,k.jW)({payload:{message:"Channel Updated Successfully. Fee policy updates may take some time to reflect on the channel.",duration:5e3}})),{type:D.AB.FETCH_CHANNELS_CLN})),(0,u.K)(w=>(this.handleErrorWithAlert("UpdateChannel",D.m6.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+P.NZ.CHANNELS_API,w),(0,_.of)({type:D.pg.VOID})))))))),this.closeChannelCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.CLOSE_CHANNEL_CLN),(0,O.z)(r=>{this.store.dispatch((0,k.ac)({payload:r.payload.force?D.m6.FORCE_CLOSE_CHANNEL:D.m6.CLOSE_CHANNEL}));const w=r.payload.force?"?force="+r.payload.force:"";return this.httpClient.delete(this.CHILD_API_URL+P.NZ.CHANNELS_API+"/"+r.payload.channelId+w).pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,k.uO)({payload:r.payload.force?D.m6.FORCE_CLOSE_CHANNEL:D.m6.CLOSE_CHANNEL})),this.store.dispatch((0,M.UR)()),this.store.dispatch((0,M.g3)()),this.store.dispatch((0,k.jW)({payload:"Channel Closed Successfully!"})),{type:D.AB.REMOVE_CHANNEL_CLN,payload:r.payload})),(0,u.K)(V=>(this.handleErrorWithAlert("CloseChannel",r.payload.force?D.m6.FORCE_CLOSE_CHANNEL:D.m6.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+P.NZ.CHANNELS_API,V),(0,_.of)({type:D.pg.VOID}))))}))),this.paymentsFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.FETCH_PAYMENTS_CLN),(0,O.z)(()=>(this.store.dispatch((0,M.Ni)({payload:{action:"FetchPayments",status:D.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.PAYMENTS_API))),(0,C.U)(r=>(this.logger.info(r),this.store.dispatch((0,M.Ni)({payload:{action:"FetchPayments",status:D.Bn.COMPLETED}})),{type:D.AB.SET_PAYMENTS_CLN,payload:r||[]})),(0,u.K)(r=>(this.handleErrorWithoutAlert("FetchPayments",D.m6.NO_SPINNER,"Fetching Payments Failed.",r),(0,_.of)({type:D.pg.VOID}))))),this.fetchOfferInvoiceCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.FETCH_OFFER_INVOICE_CLN),(0,O.z)(r=>(this.store.dispatch((0,k.ac)({payload:D.m6.FETCH_INVOICE})),this.store.dispatch((0,M.Ni)({payload:{action:"FetchOfferInvoice",status:D.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+P.NZ.OFFERS_API+"/fetchOfferInvoice",r.payload).pipe((0,C.U)(w=>{this.logger.info(w),setTimeout(()=>{this.store.dispatch((0,M.Ni)({payload:{action:"FetchOfferInvoice",status:D.Bn.COMPLETED}})),this.store.dispatch((0,k.uO)({payload:D.m6.FETCH_INVOICE})),this.store.dispatch((0,M.VD)({payload:w||{}}))},500)}),(0,u.K)(w=>(this.handleErrorWithoutAlert("FetchOfferInvoice",D.m6.FETCH_INVOICE,"Offer Invoice Fetch Failed",w),(0,_.of)({type:D.pg.VOID}))))))),{dispatch:!1}),this.setOfferInvoiceCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.SET_OFFER_INVOICE_CLN),(0,C.U)(r=>(this.logger.info(r.payload),r.payload))),{dispatch:!1}),this.sendPaymentCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.SEND_PAYMENT_CLN),(0,O.z)(r=>(this.store.dispatch((0,k.ac)({payload:r.payload.uiMessage})),this.store.dispatch((0,M.Ni)({payload:{action:"SendPayment",status:D.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+P.NZ.PAYMENTS_API,r.payload).pipe((0,C.U)(w=>{this.logger.info(w),this.store.dispatch((0,M.Ni)({payload:{action:"SendPayment",status:D.Bn.COMPLETED}}));let V="Payment Sent Successfully!";w.saveToDBError&&(V="Payment Sent Successfully but Offer Saving to Database Failed."),w.saveToDBResponse&&"NA"!==w.saveToDBResponse&&(this.store.dispatch((0,M.e9)({payload:w.saveToDBResponse})),V="Payment Sent Successfully and Offer Saved to Database."),setTimeout(()=>{this.store.dispatch((0,M.UR)()),this.store.dispatch((0,M.EG)()),this.store.dispatch((0,M.cQ)()),this.store.dispatch((0,k.uO)({payload:r.payload.uiMessage})),this.store.dispatch((0,k.jW)({payload:V})),this.store.dispatch((0,M.TM)({payload:w.paymentResponse}))},1e3)}),(0,u.K)(w=>(this.logger.error("Error: "+JSON.stringify(w)),r.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",r.payload.uiMessage,"Send Payment Failed.",w):this.handleErrorWithAlert("SendPayment",r.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+P.NZ.PAYMENTS_API,w),(0,_.of)({type:D.pg.VOID}))))))),{dispatch:!1}),this.queryRoutesFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.GET_QUERY_ROUTES_CLN),(0,O.z)(r=>(this.store.dispatch((0,M.Ni)({payload:{action:"GetQueryRoutes",status:D.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.NETWORK_API+"/getRoute/"+r.payload.destPubkey+"/"+r.payload.amount).pipe((0,C.U)(w=>(this.logger.info(w),this.store.dispatch((0,M.Ni)({payload:{action:"GetQueryRoutes",status:D.Bn.COMPLETED}})),{type:D.AB.SET_QUERY_ROUTES_CLN,payload:w})),(0,u.K)(w=>(this.store.dispatch((0,M.kL)({payload:{routes:[]}})),this.handleErrorWithAlert("GetQueryRoutes",D.m6.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+P.NZ.NETWORK_API+"/getRoute/"+r.payload.destPubkey+"/"+r.payload.amount,w),(0,_.of)({type:D.pg.VOID})))))))),this.setQueryRoutesCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.SET_QUERY_ROUTES_CLN),(0,C.U)(r=>r.payload)),{dispatch:!1}),this.peerLookupCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.PEER_LOOKUP_CLN),(0,O.z)(r=>(this.store.dispatch((0,k.ac)({payload:D.m6.SEARCHING_NODE})),this.store.dispatch((0,M.Ni)({payload:{action:"Lookup",status:D.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.NETWORK_API+"/listNode/"+r.payload).pipe((0,C.U)(w=>(this.logger.info(w),this.store.dispatch((0,M.Ni)({payload:{action:"Lookup",status:D.Bn.COMPLETED}})),this.store.dispatch((0,k.uO)({payload:D.m6.SEARCHING_NODE})),{type:D.AB.SET_LOOKUP_CLN,payload:w})),(0,u.K)(w=>(this.handleErrorWithAlert("Lookup",D.m6.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+P.NZ.NETWORK_API+"/listNode/"+r.payload,w),(0,_.of)({type:D.pg.VOID})))))))),this.channelLookupCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.CHANNEL_LOOKUP_CLN),(0,O.z)(r=>(this.store.dispatch((0,k.ac)({payload:r.payload.uiMessage})),this.store.dispatch((0,M.Ni)({payload:{action:"Lookup",status:D.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.NETWORK_API+"/listChannel/"+r.payload.shortChannelID).pipe((0,C.U)(w=>(this.logger.info(w),this.store.dispatch((0,M.Ni)({payload:{action:"Lookup",status:D.Bn.COMPLETED}})),this.store.dispatch((0,k.uO)({payload:r.payload.uiMessage})),{type:D.AB.SET_LOOKUP_CLN,payload:w})),(0,u.K)(w=>(r.payload.showError?this.handleErrorWithAlert("Lookup",r.payload.uiMessage,"Channel Lookup Failed",this.CHILD_API_URL+P.NZ.NETWORK_API+"/listChannel/"+r.payload.shortChannelID,w):this.store.dispatch((0,k.uO)({payload:r.payload.uiMessage})),this.store.dispatch((0,M.v_)({payload:[]})),(0,_.of)({type:D.pg.VOID})))))))),this.invoiceLookupCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.INVOICE_LOOKUP_CLN),(0,O.z)(r=>(this.store.dispatch((0,k.ac)({payload:D.m6.SEARCHING_INVOICE})),this.store.dispatch((0,M.Ni)({payload:{action:"Lookup",status:D.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.INVOICES_API+"?label="+r.payload).pipe((0,C.U)(w=>(this.logger.info(w),this.store.dispatch((0,M.Ni)({payload:{action:"Lookup",status:D.Bn.COMPLETED}})),this.store.dispatch((0,k.uO)({payload:D.m6.SEARCHING_INVOICE})),w.invoices&&w.invoices.length&&w.invoices.length>0&&this.store.dispatch((0,M.aL)({payload:w.invoices[0]})),{type:D.AB.SET_LOOKUP_CLN,payload:w.invoices&&w.invoices.length&&w.invoices.length>0?w.invoices[0]:w})),(0,u.K)(w=>(this.handleErrorWithoutAlert("Lookup",D.m6.SEARCHING_INVOICE,"Invoice Lookup Failed",w),this.store.dispatch((0,k.jW)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,_.of)({type:D.pg.VOID})))))))),this.setLookupCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.SET_LOOKUP_CLN),(0,C.U)(r=>(this.logger.info(r.payload),r.payload))),{dispatch:!1}),this.fetchForwardingHistoryCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.GET_FORWARDING_HISTORY_CLN),(0,O.z)(r=>{const w=r.payload.status.charAt(0).toUpperCase();return this.store.dispatch((0,M.Ni)({payload:{action:"FetchForwardingHistory"+w,status:D.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.CHANNELS_API+"/listForwards?status="+r.payload.status).pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,M.Ni)({payload:{action:"FetchForwardingHistory"+w,status:D.Bn.COMPLETED}})),r.payload.status===D.OO.FAILED?this.store.dispatch((0,M.QJ)({payload:{status:D.OO.FAILED,totalForwards:V.length,listForwards:V}})):r.payload.status===D.OO.LOCAL_FAILED?this.store.dispatch((0,M.QJ)({payload:{status:D.OO.LOCAL_FAILED,totalForwards:V.length,listForwards:V}})):r.payload.status===D.OO.SETTLED&&this.store.dispatch((0,M.QJ)({payload:{status:D.OO.SETTLED,totalForwards:V.length,listForwards:V}})),{type:D.pg.VOID})),(0,u.K)(V=>(this.handleErrorWithAlert("FetchForwardingHistory"+w,D.m6.NO_SPINNER,"Get "+r.payload.status+" Forwarding History Failed",this.CHILD_API_URL+P.NZ.CHANNELS_API+"/listForwards?status="+r.payload.status,V),(0,_.of)({type:D.pg.VOID}))))}))),this.deleteExpiredInvoiceCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.DELETE_EXPIRED_INVOICE_CLN),(0,O.z)(r=>{this.store.dispatch((0,k.ac)({payload:D.m6.DELETE_INVOICE}));const w=r.payload?"?maxexpiry="+r.payload:"";return this.httpClient.delete(this.CHILD_API_URL+P.NZ.INVOICES_API+w).pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,k.uO)({payload:D.m6.DELETE_INVOICE})),this.store.dispatch((0,k.jW)({payload:"Invoices Deleted Successfully!"})),{type:D.AB.FETCH_INVOICES_CLN,payload:{num_max_invoices:1e6,reversed:!0}})),(0,u.K)(V=>(this.handleErrorWithAlert("DeleteInvoices",D.m6.DELETE_INVOICE,"Delete Invoice Failed",this.CHILD_API_URL+P.NZ.INVOICES_API,V),(0,_.of)({type:D.pg.VOID}))))}))),this.saveNewInvoiceCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.SAVE_NEW_INVOICE_CLN),(0,O.z)(r=>(this.store.dispatch((0,k.ac)({payload:D.m6.ADD_INVOICE})),this.store.dispatch((0,M.Ni)({payload:{action:"SaveNewInvoice",status:D.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+P.NZ.INVOICES_API,{label:r.payload.label,amount:r.payload.amount,description:r.payload.description,expiry:r.payload.expiry,private:r.payload.private}).pipe((0,C.U)(w=>(this.logger.info(w),this.store.dispatch((0,M.Ni)({payload:{action:"SaveNewInvoice",status:D.Bn.COMPLETED}})),this.store.dispatch((0,k.uO)({payload:D.m6.ADD_INVOICE})),w.msatoshi=r.payload.amount,w.label=r.payload.label,w.expires_at=Math.round((new Date).getTime()/1e3+r.payload.expiry),w.description=r.payload.description,w.status="unpaid",setTimeout(()=>{this.store.dispatch((0,k.qR)({payload:{data:{invoice:w,newlyAdded:!0,component:L.y}}}))},200),{type:D.AB.ADD_INVOICE_CLN,payload:w})),(0,u.K)(w=>(this.handleErrorWithoutAlert("SaveNewInvoice",D.m6.ADD_INVOICE,"Add Invoice Failed.",w),(0,_.of)({type:D.pg.VOID})))))))),this.saveNewOfferCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.SAVE_NEW_OFFER_CLN),(0,O.z)(r=>(this.store.dispatch((0,k.ac)({payload:D.m6.CREATE_OFFER})),this.store.dispatch((0,M.Ni)({payload:{action:"SaveNewOffer",status:D.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+P.NZ.OFFERS_API,{amount:r.payload.amount,description:r.payload.description,vendor:r.payload.vendor}).pipe((0,C.U)(w=>(this.logger.info(w),this.store.dispatch((0,M.Ni)({payload:{action:"SaveNewOffer",status:D.Bn.COMPLETED}})),this.store.dispatch((0,k.uO)({payload:D.m6.CREATE_OFFER})),setTimeout(()=>{this.store.dispatch((0,k.qR)({payload:{data:{offer:w,newlyAdded:!0,component:A.k}}}))},100),{type:D.AB.ADD_OFFER_CLN,payload:w})),(0,u.K)(w=>(this.handleErrorWithoutAlert("SaveNewOffer",D.m6.CREATE_OFFER,"Create Offer Failed.",w),(0,_.of)({type:D.pg.VOID})))))))),this.invoicesFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.FETCH_INVOICES_CLN),(0,O.z)(r=>{this.store.dispatch((0,M.Ni)({payload:{action:"FetchInvoices",status:D.Bn.INITIATED}}));const w=r.payload.num_max_invoices?r.payload.num_max_invoices:1e6,V=r.payload.index_offset?r.payload.index_offset:0,N=!r.payload.reversed||r.payload.reversed;return this.httpClient.get(this.CHILD_API_URL+P.NZ.INVOICES_API+"?num_max_invoices="+w+"&index_offset="+V+"&reversed="+N).pipe((0,C.U)(Y=>(this.logger.info(Y),this.store.dispatch((0,M.Ni)({payload:{action:"FetchInvoices",status:D.Bn.COMPLETED}})),{type:D.AB.SET_INVOICES_CLN,payload:Y})),(0,u.K)(Y=>(this.handleErrorWithoutAlert("FetchInvoices",D.m6.NO_SPINNER,"Fetching Invoices Failed.",Y),(0,_.of)({type:D.pg.VOID}))))}))),this.offersFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.FETCH_OFFERS_CLN),(0,O.z)(r=>(this.store.dispatch((0,M.Ni)({payload:{action:"FetchOffers",status:D.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.OFFERS_API).pipe((0,C.U)(w=>(this.logger.info(w),this.store.dispatch((0,M.Ni)({payload:{action:"FetchOffers",status:D.Bn.COMPLETED}})),{type:D.AB.SET_OFFERS_CLN,payload:w.offers?w.offers:[]})),(0,u.K)(w=>(this.handleErrorWithoutAlert("FetchOffers",D.m6.NO_SPINNER,"Fetching Offers Failed.",w),(0,_.of)({type:D.pg.VOID})))))))),this.offersDisableCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.DISABLE_OFFER_CLN),(0,O.z)(r=>(this.store.dispatch((0,k.ac)({payload:D.m6.DISABLE_OFFER})),this.store.dispatch((0,M.Ni)({payload:{action:"DisableOffer",status:D.Bn.INITIATED}})),this.httpClient.delete(this.CHILD_API_URL+P.NZ.OFFERS_API+"/"+r.payload.offer_id).pipe((0,C.U)(w=>(this.logger.info(w),this.store.dispatch((0,M.Ni)({payload:{action:"DisableOffer",status:D.Bn.COMPLETED}})),this.store.dispatch((0,k.uO)({payload:D.m6.DISABLE_OFFER})),this.store.dispatch((0,k.jW)({payload:"Offer Disabled Successfully!"})),{type:D.AB.UPDATE_OFFER_CLN,payload:{offer:w}})),(0,u.K)(w=>(this.handleErrorWithoutAlert("DisableOffer",D.m6.DISABLE_OFFER,"Disabling Offer Failed.",w),(0,_.of)({type:D.pg.VOID})))))))),this.offerBookmarksFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.FETCH_OFFER_BOOKMARKS_CLN),(0,O.z)(r=>(this.store.dispatch((0,M.Ni)({payload:{action:"FetchOfferBookmarks",status:D.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.OFFERS_API+"/offerbookmarks").pipe((0,C.U)(w=>(this.logger.info(w),this.store.dispatch((0,M.Ni)({payload:{action:"FetchOfferBookmarks",status:D.Bn.COMPLETED}})),{type:D.AB.SET_OFFER_BOOKMARKS_CLN,payload:w||[]})),(0,u.K)(w=>(this.handleErrorWithoutAlert("FetchOfferBookmarks",D.m6.NO_SPINNER,"Fetching Offer Bookmarks Failed.",w),(0,_.of)({type:D.pg.VOID})))))))),this.peidOffersDeleteCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.DELETE_OFFER_BOOKMARK_CLN),(0,O.z)(r=>(this.store.dispatch((0,k.ac)({payload:D.m6.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,M.Ni)({payload:{action:"DeleteOfferBookmark",status:D.Bn.INITIATED}})),this.httpClient.delete(this.CHILD_API_URL+P.NZ.OFFERS_API+"/offerbookmark/"+r.payload.bolt12).pipe((0,C.U)(w=>(this.logger.info(w),this.store.dispatch((0,M.Ni)({payload:{action:"DeleteOfferBookmark",status:D.Bn.COMPLETED}})),this.store.dispatch((0,k.uO)({payload:D.m6.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,k.jW)({payload:"Offer Bookmark Deleted Successfully!"})),{type:D.AB.REMOVE_OFFER_BOOKMARK_CLN,payload:{bolt12:r.payload.bolt12}})),(0,u.K)(w=>(this.handleErrorWithAlert("DeleteOfferBookmark",D.m6.DELETE_OFFER_BOOKMARK,"Deleting Offer Bookmark Failed.",this.CHILD_API_URL+P.NZ.OFFERS_API+"/offerbookmark/"+r.payload.bolt12,w),(0,_.of)({type:D.pg.VOID})))))))),this.SetChannelTransactionCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.SET_CHANNEL_TRANSACTION_CLN),(0,O.z)(r=>(this.store.dispatch((0,k.ac)({payload:D.m6.SEND_FUNDS})),this.store.dispatch((0,M.Ni)({payload:{action:"SetChannelTransaction",status:D.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+P.NZ.ON_CHAIN_API,r.payload).pipe((0,C.U)(w=>(this.logger.info(w),this.store.dispatch((0,M.Ni)({payload:{action:"SetChannelTransaction",status:D.Bn.COMPLETED}})),this.store.dispatch((0,k.uO)({payload:D.m6.SEND_FUNDS})),this.store.dispatch((0,M.EG)()),this.store.dispatch((0,M.Ly)()),{type:D.AB.SET_CHANNEL_TRANSACTION_RES_CLN,payload:w})),(0,u.K)(w=>(this.handleErrorWithoutAlert("SetChannelTransaction",D.m6.SEND_FUNDS,"Sending Fund Failed.",w),(0,_.of)({type:D.pg.VOID})))))))),this.utxosFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.FETCH_UTXOS_CLN),(0,O.z)(()=>(this.store.dispatch((0,M.Ni)({payload:{action:"FetchUTXOs",status:D.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.ON_CHAIN_API+"/utxos"))),(0,C.U)(r=>(this.logger.info(r),this.store.dispatch((0,M.Ni)({payload:{action:"FetchUTXOs",status:D.Bn.COMPLETED}})),{type:D.AB.SET_UTXOS_CLN,payload:r.outputs||[]})),(0,u.K)(r=>(this.handleErrorWithoutAlert("FetchUTXOs",D.m6.NO_SPINNER,"Fetching UTXOs Failed.",r),(0,_.of)({type:D.pg.VOID}))))),this.pageSettingsFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.FETCH_PAGE_SETTINGS_CLN),(0,O.z)(()=>(this.store.dispatch((0,M.Ni)({payload:{action:"FetchPageSettings",status:D.Bn.INITIATED}})),this.httpClient.get(P.NZ.PAGE_SETTINGS_API).pipe((0,C.U)(r=>(this.logger.info(r),this.store.dispatch((0,M.Ni)({payload:{action:"FetchPageSettings",status:D.Bn.COMPLETED}})),{type:D.AB.SET_PAGE_SETTINGS_CLN,payload:r||[]})),(0,u.K)(r=>(this.handleErrorWithoutAlert("FetchPageSettings",D.m6.NO_SPINNER,"Fetching Page Settings Failed.",r),(0,_.of)({type:D.pg.VOID})))))))),this.savePageSettingsCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(D.AB.SAVE_PAGE_SETTINGS_CLN),(0,O.z)(r=>(this.store.dispatch((0,k.ac)({payload:D.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,M.Ni)({payload:{action:"SavePageSettings",status:D.Bn.INITIATED}})),this.httpClient.post(P.NZ.PAGE_SETTINGS_API,r.payload).pipe((0,C.U)(w=>(this.logger.info(w),this.store.dispatch((0,M.Ni)({payload:{action:"SavePageSettings",status:D.Bn.COMPLETED}})),this.store.dispatch((0,k.uO)({payload:D.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,k.jW)({payload:"Page Layout Updated Successfully!"})),{type:D.AB.SET_PAGE_SETTINGS_CLN,payload:w||[]})),(0,u.K)(w=>(this.handleErrorWithAlert("SavePageSettings",D.m6.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",P.NZ.PAGE_SETTINGS_API,w),(0,_.of)({type:D.pg.VOID})))))))),this.store.select(z.yA).pipe((0,l.R)(this.unSubs[0])).subscribe(r=>{r.FetchInfo.status!==D.Bn.COMPLETED&&r.FetchInfo.status!==D.Bn.ERROR||r.FetchFees.status!==D.Bn.COMPLETED&&r.FetchFees.status!==D.Bn.ERROR||r.FetchChannels.status!==D.Bn.COMPLETED&&r.FetchChannels.status!==D.Bn.ERROR||r.FetchBalance.status!==D.Bn.COMPLETED&&r.FetchBalance.status!==D.Bn.ERROR||r.FetchLocalRemoteBalance.status!==D.Bn.COMPLETED&&r.FetchLocalRemoteBalance.status!==D.Bn.ERROR||this.flgInitialized||(this.store.dispatch((0,k.uO)({payload:D.m6.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.clWSMessages.pipe((0,l.R)(this.unSubs[1])).subscribe(r=>{if(this.logger.info("Received new message from the service: "+JSON.stringify(r)),r)switch(r.event){case D.nM.INVOICE:this.logger.info(r),r&&r.data&&r.data.label&&this.store.dispatch((0,M.aL)({payload:r.data}));break;case D.nM.SEND_PAYMENT:case D.nM.BLOCK_HEIGHT:this.logger.info(r);break;default:this.logger.info("Received Event from WS: "+JSON.stringify(r))}})}initializeRemainingData(T,i){this.sessionService.setItem("clUnlocked","true");const o={identity_pubkey:T.id,alias:T.alias,testnet:"testnet"===T.network.toLowerCase(),chains:T.chains,uris:T.uris,version:T.version,api_version:T.api_version,numberOfPendingChannels:T.num_pending_channels};this.store.dispatch((0,k.ac)({payload:D.m6.INITALIZE_NODE_DATA})),this.store.dispatch((0,k._V)({payload:o}));let m=this.location.path();m.includes("/lnd/")?m=m?.replace("/lnd/","/cln/"):m.includes("/ecl/")&&(m=m?.replace("/ecl/","/cln/")),(m.includes("/login")||m.includes("/error")||""===m||"HOME"===i||m.includes("?access-key="))&&(m="/cln/home"),this.router.navigate([m]),this.store.dispatch((0,M.wD)()),this.store.dispatch((0,M.WM)({payload:{num_max_invoices:1e6,index_offset:0,reversed:!0}})),this.store.dispatch((0,M.SN)()),this.store.dispatch((0,M.UR)()),this.store.dispatch((0,M.EG)()),this.store.dispatch((0,M.g3)()),this.store.dispatch((0,M.HJ)({payload:"perkw"})),this.store.dispatch((0,M.HJ)({payload:"perkb"})),this.store.dispatch((0,M.$W)()),this.store.dispatch((0,M.Ly)()),this.store.dispatch((0,M.cQ)())}handleErrorWithoutAlert(T,i,o,m){if(this.logger.error("ERROR IN: "+T+"\n"+JSON.stringify(m)),401===m.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,k.ts)()),this.store.dispatch((0,k.kS)()),this.store.dispatch((0,k.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,k.uO)({payload:i}));const h=this.commonService.extractErrorMessage(m,o);this.store.dispatch((0,M.Ni)({payload:{action:T,status:D.Bn.ERROR,statusCode:m.status.toString(),message:h}}))}}handleErrorWithAlert(T,i,o,m,h){if(this.logger.error(h),401===h.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,k.ts)()),this.store.dispatch((0,k.kS)()),this.store.dispatch((0,k.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,k.uO)({payload:i}));const x=this.commonService.extractErrorMessage(h);this.store.dispatch((0,k.qR)({payload:{data:{type:"ERROR",alertTitle:o,message:{code:h.status,message:x,URL:m},component:p.H}}})),this.store.dispatch((0,M.Ni)({payload:{action:T,status:D.Bn.ERROR,statusCode:h.status.toString(),message:x,URL:m}}))}}ngOnDestroy(){this.unSubs.forEach(T=>{T.next(null),T.complete()})}}re.\u0275fac=function(T){return new(T||re)(W.LFG(e.eX),W.LFG(Z.eN),W.LFG(X.yh),W.LFG($.m),W.LFG(ae.v),W.LFG(he.mQ),W.LFG(se.F0),W.LFG(pe.d),W.LFG(le.Ye))},re.\u0275prov=W.Yz7({token:re,factory:re.\u0275fac})},9828:(Ye,J,f)=>{"use strict";f.d(J,{AS:()=>O,Ao:()=>pe,Bo:()=>X,EQ:()=>fe,Hz:()=>le,JG:()=>L,OL:()=>he,PP:()=>P,Rn:()=>W,T4:()=>z,Wi:()=>p,Wj:()=>Z,Y_:()=>re,ZW:()=>A,ey:()=>l,gc:()=>M,hx:()=>k,jK:()=>se,lK:()=>ae,lw:()=>_,xQ:()=>$,yA:()=>u,zm:()=>D});var e=f(9263);const t=(0,e.ZF)("cln"),_=(0,e.P1)(t,i=>i.nodeSettings),O=(0,e.P1)(t,i=>({pageSettings:i.pageSettings,apiCallStatus:i.apisCallStatus.FetchPageSettings})),l=(0,e.P1)(t,i=>i.information),u=((0,e.P1)(t,i=>i.apisCallStatus.FetchInfo),(0,e.P1)(t,i=>i.apisCallStatus)),P=(0,e.P1)(t,i=>({payments:i.payments,apiCallStatus:i.apisCallStatus.FetchPayments})),p=(0,e.P1)(t,i=>({peers:i.peers,apiCallStatus:i.apisCallStatus.FetchPeers})),L=(0,e.P1)(t,i=>({fees:i.fees,apiCallStatus:i.apisCallStatus.FetchFees})),D=(0,e.P1)(t,i=>({feeRatesPerKB:i.feeRatesPerKB,apiCallStatus:i.apisCallStatus.FetchFeeRatesperkb})),k=(0,e.P1)(t,i=>({feeRatesPerKW:i.feeRatesPerKW,apiCallStatus:i.apisCallStatus.FetchFeeRatesperkw})),M=(0,e.P1)(t,i=>({listInvoices:i.invoices,apiCallStatus:i.apisCallStatus.FetchInvoices})),z=(0,e.P1)(t,i=>({utxos:i.utxos,apiCallStatus:i.apisCallStatus.FetchUTXOs})),A=(0,e.P1)(t,i=>({activeChannels:i.activeChannels,pendingChannels:i.pendingChannels,inactiveChannels:i.inactiveChannels,apiCallStatus:i.apisCallStatus.FetchChannels})),W=(0,e.P1)(t,i=>({balance:i.balance,apiCallStatus:i.apisCallStatus.FetchBalance})),Z=(0,e.P1)(t,i=>({localRemoteBalance:i.localRemoteBalance,apiCallStatus:i.apisCallStatus.FetchLocalRemoteBalance})),X=(0,e.P1)(t,i=>({forwardingHistory:i.forwardingHistory,apiCallStatus:i.apisCallStatus.FetchForwardingHistoryS})),$=(0,e.P1)(t,i=>({failedForwardingHistory:i.failedForwardingHistory,apiCallStatus:i.apisCallStatus.FetchForwardingHistoryF})),ae=(0,e.P1)(t,i=>({localFailedForwardingHistory:i.localFailedForwardingHistory,apiCallStatus:i.apisCallStatus.FetchForwardingHistoryL})),he=(0,e.P1)(t,i=>({information:i.information,nodeSettings:i.nodeSettings,balance:i.balance})),se=(0,e.P1)(t,i=>({information:i.information,balance:i.balance,numPeers:i.peers.length})),pe=(0,e.P1)(t,i=>({information:i.information,balance:i.balance})),le=(0,e.P1)(t,i=>({information:i.information,nodeSettings:i.nodeSettings,apisCallStatus:[i.apisCallStatus.FetchInfo,i.apisCallStatus.FetchForwardingHistoryS]})),re=(0,e.P1)(t,i=>({offers:i.offers,apiCallStatus:i.apisCallStatus.FetchOffers})),fe=(0,e.P1)(t,i=>({offersBookmarks:i.offersBookmarks,apiCallStatus:i.apisCallStatus.FetchOfferBookmarks}))},5566:(Ye,J,f)=>{"use strict";f.d(J,{y:()=>Ue});var e=f(4481),t=f(9306),_=f(253),O=f(8951),l=f(7731),C=f(9828),u=f(2560),P=f(5043),p=f(62),L=f(930),D=f(9263),k=f(4666),M=f(3505),z=f(6722),A=f(3704),W=f(4522),Z=f(2156),X=f(1528),$=f(1708),ae=f(6896),he=f(6021),se=f(6895),pe=f(3390);function le(ye,we){if(1&ye&&u._UZ(0,"qr-code",33),2&ye){const ie=u.oxw();u.Q6J("value",(null==ie.invoice?null:ie.invoice.bolt11)||(null==ie.invoice?null:ie.invoice.bolt12))("size",ie.qrWidth)("errorCorrectionLevel","L")}}function re(ye,we){1&ye&&(u.TgZ(0,"span",34),u._uU(1,"N/A"),u.qZA())}const fe=function(ye){return{"mr-0":ye}};function T(ye,we){if(1&ye&&u._UZ(0,"span",35),2&ye){const ie=u.oxw();u.Q6J("ngClass",u.VKq(1,fe,ie.screenSize===ie.screenSizeEnum.XS))}}function i(ye,we){if(1&ye&&u._UZ(0,"span",36),2&ye){const ie=u.oxw();u.Q6J("ngClass",u.VKq(1,fe,ie.screenSize===ie.screenSizeEnum.XS))}}function o(ye,we){if(1&ye&&u._UZ(0,"span",37),2&ye){const ie=u.oxw();u.Q6J("ngClass",u.VKq(1,fe,ie.screenSize===ie.screenSizeEnum.XS))}}function m(ye,we){if(1&ye&&u._UZ(0,"qr-code",33),2&ye){const ie=u.oxw();u.Q6J("value",(null==ie.invoice?null:ie.invoice.bolt11)||(null==ie.invoice?null:ie.invoice.bolt12))("size",ie.qrWidth)("errorCorrectionLevel","L")}}function h(ye,we){1&ye&&(u.TgZ(0,"span",38),u._uU(1,"QR Code Not Applicable"),u.qZA())}function x(ye,we){1&ye&&u._UZ(0,"mat-divider",39)}function I(ye,we){if(1&ye&&(u.TgZ(0,"div",19)(1,"div",40),u._UZ(2,"fa-icon",41),u.TgZ(3,"span"),u._uU(4),u.qZA()()()),2&ye){const ie=u.oxw();u.xp6(2),u.Q6J("icon",ie.faExclamationTriangle),u.xp6(2),u.Oqu(null==ie.invoice?null:ie.invoice.warning_capacity)}}function R(ye,we){1&ye&&(u.ynx(0),u._uU(1," (zero amount) "),u.BQk())}function g(ye,we){1&ye&&u._UZ(0,"span",47)}const r=function(){return[]};function w(ye,we){if(1&ye&&(u.TgZ(0,"div",43)(1,"div",44)(2,"span",45),u._uU(3),u.ALo(4,"number"),u.qZA(),u.YNc(5,g,1,0,"span",46),u.qZA()()),2&ye){const ie=u.oxw(2);u.xp6(3),u.hij("",u.lcZ(4,2,(null==ie.invoice?null:ie.invoice.msatoshi_received)/1e3)," Sats"),u.xp6(2),u.Q6J("ngForOf",u.DdM(4,r).constructor(35))}}function V(ye,we){if(1&ye&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"number"),u.qZA()),2&ye){const ie=u.oxw(2);u.xp6(1),u.hij("",u.lcZ(2,1,(null==ie.invoice?null:ie.invoice.msatoshi_received)/1e3)," Sats")}}function N(ye,we){if(1&ye&&(u.ynx(0),u.YNc(1,w,6,5,"div",42),u.YNc(2,V,3,3,"div",23),u.BQk()),2&ye){const ie=u.oxw();u.xp6(1),u.Q6J("ngIf",ie.flgInvoicePaid),u.xp6(1),u.Q6J("ngIf",!ie.flgInvoicePaid)}}function Y(ye,we){1&ye&&(u.TgZ(0,"span"),u._uU(1,"-"),u.qZA())}function Pe(ye,we){1&ye&&u._UZ(0,"mat-spinner",49),2&ye&&u.Q6J("diameter",20)}function Ce(ye,we){if(1&ye&&(u.ynx(0),u.YNc(1,Y,2,0,"span",23),u.YNc(2,Pe,1,1,"mat-spinner",48),u.BQk()),2&ye){const ie=u.oxw();u.xp6(1),u.Q6J("ngIf","unpaid"!==(null==ie.invoice?null:ie.invoice.status)||!ie.flgVersionCompatible),u.xp6(1),u.Q6J("ngIf","unpaid"===(null==ie.invoice?null:ie.invoice.status)&&ie.flgVersionCompatible)}}function Xe(ye,we){if(1&ye&&(u.TgZ(0,"div"),u._UZ(1,"mat-divider",25),u.TgZ(2,"div",19)(3,"div",26)(4,"h4",21),u._uU(5,"Payment Hash"),u.qZA(),u.TgZ(6,"span",24),u._uU(7),u.qZA()()(),u._UZ(8,"mat-divider",25),u.TgZ(9,"div",19)(10,"div",26)(11,"h4",21),u._uU(12,"Label"),u.qZA(),u.TgZ(13,"span",24),u._uU(14),u.qZA()()(),u._UZ(15,"mat-divider",25),u.qZA()),2&ye){const ie=u.oxw();u.xp6(7),u.Oqu(null==ie.invoice?null:ie.invoice.payment_hash),u.xp6(7),u.Oqu(null==ie.invoice?null:ie.invoice.label)}}function dt(ye,we){1&ye&&(u.TgZ(0,"p"),u._uU(1,"Show Advanced"),u.qZA())}function Ke(ye,we){1&ye&&(u.TgZ(0,"p"),u._uU(1,"Hide Advanced"),u.qZA())}function ge(ye,we){if(1&ye){const ie=u.EpF();u.TgZ(0,"button",50),u.NdJ("copied",function(ne){u.CHM(ie);const K=u.oxw();return u.KtG(K.onCopyPayment(ne))}),u._uU(1,"Copy Invoice"),u.qZA()}if(2&ye){const ie=u.oxw();u.Q6J("payload",(null==ie.invoice?null:ie.invoice.bolt11)||(null==ie.invoice?null:ie.invoice.bolt12))}}function $e(ye,we){if(1&ye){const ie=u.EpF();u.TgZ(0,"button",51),u.NdJ("click",function(){u.CHM(ie);const ne=u.oxw();return u.KtG(ne.onClose())}),u._uU(1,"OK"),u.qZA()}}const Oe=function(ye){return{"display-none":ye}},Me=function(ye){return{"xs-scroll-y":ye}},De=function(ye,we){return{"mt-2":ye,"mt-1":we}};class Ue{constructor(we,ie,Se,ne,K,ee){this.dialogRef=we,this.data=ie,this.logger=Se,this.commonService=ne,this.snackBar=K,this.store=ee,this.faReceipt=t.dLy,this.faExclamationTriangle=t.eHv,this.showAdvanced=!1,this.newlyAdded=!1,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=l.cu,this.flgInvoicePaid=!1,this.flgVersionCompatible=!0,this.unSubs=[new _.x,new _.x,new _.x,new _.x,new _.x]}ngOnInit(){this.invoice=this.data.invoice,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===l.cu.XS&&(this.qrWidth=220),this.store.select(C.ey).pipe((0,O.R)(this.unSubs[0])).subscribe(we=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(we.api_version,"0.6.0")}),this.store.select(C.gc).pipe((0,O.R)(this.unSubs[1])).subscribe(we=>{const ie=this.invoice.status,ne=(we.listInvoices.invoices||[])?.find(K=>K.payment_hash===this.invoice.payment_hash)||null;ne&&(this.invoice=ne),ie!==this.invoice.status&&"paid"===this.invoice.status&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(we)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(we){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+we)}ngOnDestroy(){this.unSubs.forEach(we=>{we.next(null),we.complete()})}}Ue.\u0275fac=function(we){return new(we||Ue)(u.Y36(e.so),u.Y36(e.WI),u.Y36(P.mQ),u.Y36(p.v),u.Y36(L.ux),u.Y36(D.yh))},Ue.\u0275cmp=u.Xpm({type:Ue,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(we,ie){if(1&we&&(u.TgZ(0,"div",0)(1,"div",1),u.YNc(2,le,1,3,"qr-code",2),u.YNc(3,re,2,0,"span",3),u.qZA(),u.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),u._UZ(7,"fa-icon",7),u.TgZ(8,"span",8),u._uU(9),u.YNc(10,T,1,3,"span",9),u.YNc(11,i,1,3,"span",10),u.YNc(12,o,1,3,"span",11),u.qZA()(),u.TgZ(13,"button",12),u.NdJ("click",function(){return ie.onClose()}),u._uU(14,"X"),u.qZA()(),u.TgZ(15,"mat-card-content",13)(16,"div",14)(17,"div",15),u.YNc(18,m,1,3,"qr-code",2),u.YNc(19,h,2,0,"span",16),u.qZA(),u.YNc(20,x,1,0,"mat-divider",17),u.YNc(21,I,5,2,"div",18),u.TgZ(22,"div",19)(23,"div",20)(24,"h4",21),u._uU(25),u.qZA(),u.TgZ(26,"span",22),u._uU(27),u.ALo(28,"number"),u.YNc(29,R,2,0,"ng-container",23),u.qZA()(),u.TgZ(30,"div",20)(31,"h4",21),u._uU(32,"Amount Received"),u.qZA(),u.TgZ(33,"span",24),u.YNc(34,N,3,2,"ng-container",23),u.YNc(35,Ce,3,2,"ng-container",23),u.qZA()()(),u._UZ(36,"mat-divider",25),u.TgZ(37,"div",19)(38,"div",20)(39,"h4",21),u._uU(40,"Date Expiry"),u.qZA(),u.TgZ(41,"span",22),u._uU(42),u.ALo(43,"date"),u.qZA()(),u.TgZ(44,"div",20)(45,"h4",21),u._uU(46,"Date Settled"),u.qZA(),u.TgZ(47,"span",22),u._uU(48),u.ALo(49,"date"),u.qZA()()(),u._UZ(50,"mat-divider",25),u.TgZ(51,"div",19)(52,"div",26)(53,"h4",21),u._uU(54,"Description"),u.qZA(),u.TgZ(55,"span",22),u._uU(56),u.qZA()()(),u._UZ(57,"mat-divider",25),u.TgZ(58,"div",19)(59,"div",26)(60,"h4",21),u._uU(61),u.qZA(),u.TgZ(62,"span",24),u._uU(63),u.qZA()()(),u.YNc(64,Xe,16,2,"div",23),u.TgZ(65,"div",27)(66,"button",28),u.NdJ("click",function(){return ie.onShowAdvanced()}),u.YNc(67,dt,2,0,"p",29),u.YNc(68,Ke,2,0,"ng-template",null,30,u.W1O),u.qZA(),u.YNc(70,ge,2,1,"button",31),u.YNc(71,$e,2,0,"button",32),u.qZA()()()()()),2&we){const Se=u.MAs(69);u.xp6(1),u.Q6J("fxLayoutAlign",null!=ie.invoice&&ie.invoice.bolt11&&""!==(null==ie.invoice?null:ie.invoice.bolt11)||null!=ie.invoice&&ie.invoice.bolt12&&""!==(null==ie.invoice?null:ie.invoice.bolt12)?"center start":"center center")("ngClass",u.VKq(40,Oe,ie.screenSize===ie.screenSizeEnum.XS||ie.screenSize===ie.screenSizeEnum.SM)),u.xp6(1),u.Q6J("ngIf",(null==ie.invoice?null:ie.invoice.bolt11)&&""!==(null==ie.invoice?null:ie.invoice.bolt11)||(null==ie.invoice?null:ie.invoice.bolt12)&&""!==(null==ie.invoice?null:ie.invoice.bolt12)),u.xp6(1),u.Q6J("ngIf",!(null!=ie.invoice&&ie.invoice.bolt11||null!=ie.invoice&&ie.invoice.bolt12)),u.xp6(4),u.Q6J("icon",ie.faReceipt),u.xp6(2),u.hij(" ",ie.screenSize===ie.screenSizeEnum.XS?ie.newlyAdded?"Created":"Invoice":ie.newlyAdded?"Invoice Created":"Invoice Information"," "),u.xp6(1),u.Q6J("ngIf","paid"===(null==ie.invoice?null:ie.invoice.status)),u.xp6(1),u.Q6J("ngIf","unpaid"===(null==ie.invoice?null:ie.invoice.status)),u.xp6(1),u.Q6J("ngIf","expired"===(null==ie.invoice?null:ie.invoice.status)),u.xp6(3),u.Q6J("ngClass",u.VKq(42,Me,ie.screenSize===ie.screenSizeEnum.XS)),u.xp6(2),u.Q6J("fxLayoutAlign",null!=ie.invoice&&ie.invoice.bolt11&&""!==(null==ie.invoice?null:ie.invoice.bolt11)||null!=ie.invoice&&ie.invoice.bolt12&&""!==(null==ie.invoice?null:ie.invoice.bolt12)?"center start":"center center")("ngClass",u.VKq(44,Oe,ie.screenSize!==ie.screenSizeEnum.XS&&ie.screenSize!==ie.screenSizeEnum.SM)),u.xp6(1),u.Q6J("ngIf",(null==ie.invoice?null:ie.invoice.bolt11)&&""!==(null==ie.invoice?null:ie.invoice.bolt11)||(null==ie.invoice?null:ie.invoice.bolt12)&&""!==(null==ie.invoice?null:ie.invoice.bolt12)),u.xp6(1),u.Q6J("ngIf",!(null!=ie.invoice&&ie.invoice.bolt11||null!=ie.invoice&&ie.invoice.bolt12)),u.xp6(1),u.Q6J("ngIf",ie.screenSize===ie.screenSizeEnum.XS||ie.screenSize===ie.screenSizeEnum.SM),u.xp6(1),u.Q6J("ngIf",null==ie.invoice?null:ie.invoice.warning_capacity),u.xp6(4),u.Oqu(ie.screenSize===ie.screenSizeEnum.XS?"Amount":"Amount Requested"),u.xp6(2),u.hij(" ",u.lcZ(28,32,(null==ie.invoice?null:ie.invoice.msatoshi)/1e3||0)," Sats"),u.xp6(2),u.Q6J("ngIf",!(null!=ie.invoice&&ie.invoice.msatoshi)||"0"===(null==ie.invoice?null:ie.invoice.msatoshi)),u.xp6(5),u.Q6J("ngIf","paid"===(null==ie.invoice?null:ie.invoice.status)),u.xp6(1),u.Q6J("ngIf","paid"!==(null==ie.invoice?null:ie.invoice.status)),u.xp6(7),u.Oqu(u.xi3(43,34,1e3*(null==ie.invoice?null:ie.invoice.expires_at),"dd/MMM/y HH:mm")),u.xp6(6),u.Oqu(u.xi3(49,37,1e3*(null==ie.invoice?null:ie.invoice.paid_at),"dd/MMM/y HH:mm")||"-"),u.xp6(8),u.Oqu((null==ie.invoice?null:ie.invoice.description)||"-"),u.xp6(5),u.hij("",null!=ie.invoice&&ie.invoice.bolt12?"Bolt12":null!=ie.invoice&&ie.invoice.bolt11&&!ie.invoice.label.includes("keysend-")?"Bolt11":"Keysend"," Invoice"),u.xp6(2),u.Oqu((null==ie.invoice?null:ie.invoice.bolt11)||(null==ie.invoice?null:ie.invoice.bolt12)),u.xp6(1),u.Q6J("ngIf",ie.showAdvanced),u.xp6(1),u.Q6J("ngClass",u.WLB(46,De,!ie.showAdvanced,ie.showAdvanced)),u.xp6(2),u.Q6J("ngIf",!ie.showAdvanced)("ngIfElse",Se),u.xp6(3),u.Q6J("ngIf",(null==ie.invoice?null:ie.invoice.bolt11)&&""!==(null==ie.invoice?null:ie.invoice.bolt11)||(null==ie.invoice?null:ie.invoice.bolt12)&&""!==(null==ie.invoice?null:ie.invoice.bolt12)),u.xp6(1),u.Q6J("ngIf",!(null!=ie.invoice&&ie.invoice.bolt11||null!=ie.invoice&&ie.invoice.bolt12))}},dependencies:[k.mk,k.sg,k.O5,M.BN,z.xw,z.Wh,z.yH,A.oO,W.lW,Z.dn,Z.dk,X.d,$.Ou,ae.gM,he.uU,se.y,pe.h,k.JJ,k.uU]})},1462:(Ye,J,f)=>{"use strict";f.d(J,{k:()=>N});var e=f(4481),t=f(9306),_=f(253),O=f(8951),l=f(7731),C=f(2560),u=f(5043),P=f(62),p=f(930),L=f(9263),D=f(8104),k=f(4666),M=f(3505),z=f(6722),A=f(3704),W=f(4522),Z=f(2156),X=f(1528),$=f(6021),ae=f(6895),he=f(3390);function se(Y,Pe){if(1&Y&&C._UZ(0,"qr-code",28),2&Y){const Ce=C.oxw();C.Q6J("value",null==Ce.offer?null:Ce.offer.bolt12)("size",Ce.qrWidth)("errorCorrectionLevel","L")}}function pe(Y,Pe){1&Y&&(C.TgZ(0,"span",29),C._uU(1,"N/A"),C.qZA())}function le(Y,Pe){if(1&Y&&C._UZ(0,"qr-code",28),2&Y){const Ce=C.oxw();C.Q6J("value",null==Ce.offer?null:Ce.offer.bolt12)("size",Ce.qrWidth)("errorCorrectionLevel","L")}}function re(Y,Pe){1&Y&&(C.TgZ(0,"span",30),C._uU(1,"QR Code Not Applicable"),C.qZA())}function fe(Y,Pe){1&Y&&C._UZ(0,"mat-divider",31),2&Y&&C.Q6J("inset",!0)}function T(Y,Pe){1&Y&&C._UZ(0,"mat-divider",19)}function i(Y,Pe){if(1&Y&&(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&Y){const Ce=C.oxw(2);C.xp6(5),C.hij(" ",null!=Ce.offer&&Ce.offer.used?null!=Ce.offer&&Ce.offer.used?"Yes":"No":"N/K"," "),C.xp6(5),C.hij(" ",null!=Ce.offer&&Ce.offer.single_use?null!=Ce.offer&&Ce.offer.single_use?"Yes":"No":"N/K"," ")}}function o(Y,Pe){1&Y&&C._UZ(0,"mat-divider",19)}function m(Y,Pe){if(1&Y&&(C.TgZ(0,"div",15)(1,"div",20)(2,"h4",17),C._uU(3,"Vendor"),C.qZA(),C.TgZ(4,"span",34),C._uU(5),C.qZA()()()),2&Y){const Ce=C.oxw(2);C.xp6(5),C.Oqu((null==Ce.offerDecoded?null:Ce.offerDecoded.vendor)||(null==Ce.offerDecoded?null:Ce.offerDecoded.issuer))}}function h(Y,Pe){if(1&Y&&(C.TgZ(0,"div"),C.YNc(1,T,1,0,"mat-divider",32),C.YNc(2,i,11,2,"div",33),C.YNc(3,o,1,0,"mat-divider",32),C.YNc(4,m,6,1,"div",33),C._UZ(5,"mat-divider",19),C.TgZ(6,"div",15)(7,"div",20)(8,"h4",17),C._uU(9,"Offer ID"),C.qZA(),C.TgZ(10,"span",18),C._uU(11),C.qZA()()(),C._UZ(12,"mat-divider",19),C.qZA()),2&Y){const Ce=C.oxw();C.xp6(1),C.Q6J("ngIf",(null==Ce.offer?null:Ce.offer.used)||(null==Ce.offer?null:Ce.offer.single_use)),C.xp6(1),C.Q6J("ngIf",(null==Ce.offer?null:Ce.offer.used)||(null==Ce.offer?null:Ce.offer.single_use)),C.xp6(1),C.Q6J("ngIf",(null==Ce.offerDecoded?null:Ce.offerDecoded.vendor)||(null==Ce.offerDecoded?null:Ce.offerDecoded.issuer)),C.xp6(1),C.Q6J("ngIf",(null==Ce.offerDecoded?null:Ce.offerDecoded.vendor)||(null==Ce.offerDecoded?null:Ce.offerDecoded.issuer)),C.xp6(7),C.Oqu(Ce.offerDecoded.offer_id)}}function x(Y,Pe){1&Y&&(C.TgZ(0,"p"),C._uU(1,"Show Advanced"),C.qZA())}function I(Y,Pe){1&Y&&(C.TgZ(0,"p"),C._uU(1,"Hide Advanced"),C.qZA())}function R(Y,Pe){if(1&Y){const Ce=C.EpF();C.TgZ(0,"button",35),C.NdJ("copied",function(dt){C.CHM(Ce);const Ke=C.oxw();return C.KtG(Ke.onCopyOffer(dt))}),C._uU(1,"Copy Offer"),C.qZA()}if(2&Y){const Ce=C.oxw();C.Q6J("payload",null==Ce.offer?null:Ce.offer.bolt12)}}function g(Y,Pe){if(1&Y){const Ce=C.EpF();C.TgZ(0,"button",36),C.NdJ("click",function(){C.CHM(Ce);const dt=C.oxw();return C.KtG(dt.onClose())}),C._uU(1,"OK"),C.qZA()}}const r=function(Y){return{"display-none":Y}},w=function(Y){return{"xs-scroll-y":Y}},V=function(Y,Pe){return{"mt-2":Y,"mt-1":Pe}};class N{constructor(Pe,Ce,Xe,dt,Ke,ge,$e){this.dialogRef=Pe,this.data=Ce,this.logger=Xe,this.commonService=dt,this.snackBar=Ke,this.store=ge,this.dataService=$e,this.faReceipt=t.dLy,this.faExclamationTriangle=t.eHv,this.showAdvanced=!1,this.newlyAdded=!1,this.offerDecoded={},this.qrWidth=240,this.screenSize="",this.screenSizeEnum=l.cu,this.flgOfferPaid=!1,this.unSubs=[new _.x,new _.x,new _.x,new _.x,new _.x]}ngOnInit(){this.offer=this.data.offer,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===l.cu.XS&&(this.qrWidth=220),this.dataService.decodePayment(this.offer.bolt12,!0).pipe((0,O.R)(this.unSubs[1])).subscribe(Pe=>{this.offerDecoded=Pe,this.offerDecoded.offer_id&&!this.offerDecoded.amount_msat?(this.offerDecoded.amount_msat="0msat",this.offerDecoded.amount=0):this.offerDecoded.amount=this.offerDecoded.amount?+this.offerDecoded.amount:this.offerDecoded.amount_msat?+this.offerDecoded.amount_msat?.slice(0,-4):null})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyOffer(Pe){this.snackBar.open("Offer copied."),this.logger.info("Copied Text: "+Pe)}ngOnDestroy(){this.unSubs.forEach(Pe=>{Pe.next(null),Pe.complete()})}}N.\u0275fac=function(Pe){return new(Pe||N)(C.Y36(e.so),C.Y36(e.WI),C.Y36(u.mQ),C.Y36(P.v),C.Y36(p.ux),C.Y36(L.yh),C.Y36(D.D))},N.\u0275cmp=C.Xpm({type:N,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(Pe,Ce){if(1&Pe&&(C.TgZ(0,"div",0)(1,"div",1),C.YNc(2,se,1,3,"qr-code",2),C.YNc(3,pe,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 Ce.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,re,2,0,"span",13),C.qZA(),C.YNc(17,fe,1,1,"mat-divider",14),C.TgZ(18,"div",15)(19,"div",16)(20,"h4",17),C._uU(21,"Amount Requested (Sats)"),C.qZA(),C.TgZ(22,"span",18),C._uU(23),C.ALo(24,"number"),C.qZA()(),C.TgZ(25,"div",16)(26,"h4",17),C._uU(27,"Active"),C.qZA(),C.TgZ(28,"span",18),C._uU(29),C.qZA()()(),C._UZ(30,"mat-divider",19),C.TgZ(31,"div",15)(32,"div",20)(33,"h4",17),C._uU(34,"Description"),C.qZA(),C.TgZ(35,"span",18),C._uU(36),C.qZA()()(),C._UZ(37,"mat-divider",19),C.TgZ(38,"div",15)(39,"div",20)(40,"h4",17),C._uU(41,"Offer Request"),C.qZA(),C.TgZ(42,"span",18),C._uU(43),C.qZA()()(),C.YNc(44,h,13,5,"div",21),C.TgZ(45,"div",22)(46,"button",23),C.NdJ("click",function(){return Ce.onShowAdvanced()}),C.YNc(47,x,2,0,"p",24),C.YNc(48,I,2,0,"ng-template",null,25,C.W1O),C.qZA(),C.YNc(50,R,2,1,"button",26),C.YNc(51,g,2,0,"button",27),C.qZA()()()()()),2&Pe){const Xe=C.MAs(49);C.xp6(1),C.Q6J("fxLayoutAlign",null!=Ce.offer&&Ce.offer.bolt12&&""!==(null==Ce.offer?null:Ce.offer.bolt12)?"center start":"center center")("ngClass",C.VKq(24,r,Ce.screenSize===Ce.screenSizeEnum.XS||Ce.screenSize===Ce.screenSizeEnum.SM)),C.xp6(1),C.Q6J("ngIf",(null==Ce.offer?null:Ce.offer.bolt12)&&""!==(null==Ce.offer?null:Ce.offer.bolt12)),C.xp6(1),C.Q6J("ngIf",!(null!=Ce.offer&&Ce.offer.bolt12)||""===(null==Ce.offer?null:Ce.offer.bolt12)),C.xp6(4),C.Q6J("icon",Ce.faReceipt),C.xp6(2),C.Oqu(Ce.screenSize===Ce.screenSizeEnum.XS?Ce.newlyAdded?"Created":"Offer":Ce.newlyAdded?"Offer Created":"Offer Information"),C.xp6(3),C.Q6J("ngClass",C.VKq(26,w,Ce.screenSize===Ce.screenSizeEnum.XS)),C.xp6(2),C.Q6J("fxLayoutAlign",null!=Ce.offer&&Ce.offer.bolt12&&""!==(null==Ce.offer?null:Ce.offer.bolt12)?"center start":"center center")("ngClass",C.VKq(28,r,Ce.screenSize!==Ce.screenSizeEnum.XS&&Ce.screenSize!==Ce.screenSizeEnum.SM)),C.xp6(1),C.Q6J("ngIf",(null==Ce.offer?null:Ce.offer.bolt12)&&""!==(null==Ce.offer?null:Ce.offer.bolt12)),C.xp6(1),C.Q6J("ngIf",!(null!=Ce.offer&&Ce.offer.bolt12)||""===(null==Ce.offer?null:Ce.offer.bolt12)),C.xp6(1),C.Q6J("ngIf",Ce.screenSize===Ce.screenSizeEnum.XS||Ce.screenSize===Ce.screenSizeEnum.SM),C.xp6(6),C.hij(" ",null!=Ce.offerDecoded&&Ce.offerDecoded.amount_msat&&0!==(null==Ce.offerDecoded?null:Ce.offerDecoded.amount)?C.lcZ(24,22,(null==Ce.offerDecoded?null:Ce.offerDecoded.amount)/1e3):"Open Offer"," "),C.xp6(6),C.hij(" ",null!=Ce.offer&&Ce.offer.active?null!=Ce.offer&&Ce.offer.active?"Active":"Inactive":"N/K"," "),C.xp6(7),C.hij(" ",null==Ce.offerDecoded?null:Ce.offerDecoded.description," "),C.xp6(7),C.Oqu(null==Ce.offer?null:Ce.offer.bolt12),C.xp6(1),C.Q6J("ngIf",Ce.showAdvanced),C.xp6(1),C.Q6J("ngClass",C.WLB(30,V,!Ce.showAdvanced,Ce.showAdvanced)),C.xp6(2),C.Q6J("ngIf",!Ce.showAdvanced)("ngIfElse",Xe),C.xp6(3),C.Q6J("ngIf",(null==Ce.offer?null:Ce.offer.bolt12)&&""!==(null==Ce.offer?null:Ce.offer.bolt12)),C.xp6(1),C.Q6J("ngIf",!(null!=Ce.offer&&Ce.offer.bolt12)||""===(null==Ce.offer?null:Ce.offer.bolt12))}},dependencies:[k.mk,k.O5,M.BN,z.xw,z.Wh,z.yH,A.oO,W.lW,Z.dn,Z.dk,X.d,$.uU,ae.y,he.h,k.JJ]})},2994:(Ye,J,f)=>{"use strict";f.d(J,{$W:()=>he,BL:()=>x,Bw:()=>X,CX:()=>L,DJ:()=>ye,EK:()=>T,El:()=>pe,Fd:()=>O,GD:()=>fe,HG:()=>ae,HI:()=>g,Iy:()=>Ce,Lf:()=>Pe,Nr:()=>Ke,OG:()=>I,On:()=>$,QZ:()=>_,RX:()=>k,SN:()=>D,Sf:()=>Me,TM:()=>N,TW:()=>A,UR:()=>M,WM:()=>dt,WO:()=>r,YP:()=>$e,YX:()=>m,Z$:()=>ge,Z8:()=>se,Zr:()=>l,_E:()=>i,aL:()=>Oe,cQ:()=>R,eF:()=>P,eN:()=>z,i:()=>W,iL:()=>Z,iz:()=>p,kL:()=>w,mC:()=>Y,n7:()=>De,oV:()=>V,pW:()=>h,pd:()=>u,ti:()=>we,wD:()=>C});var e=f(9263),t=f(7731);const _=(0,e.PH)(t.lr.UPDATE_API_CALL_STATUS_ECL,(0,e.Ky)()),O=(0,e.PH)(t.lr.RESET_ECL_STORE,(0,e.Ky)()),l=(0,e.PH)(t.lr.SET_CHILD_NODE_SETTINGS_ECL,(0,e.Ky)()),C=(0,e.PH)(t.lr.FETCH_PAGE_SETTINGS_ECL),u=(0,e.PH)(t.lr.SET_PAGE_SETTINGS_ECL,(0,e.Ky)()),P=(0,e.PH)(t.lr.SAVE_PAGE_SETTINGS_ECL,(0,e.Ky)()),p=(0,e.PH)(t.lr.FETCH_INFO_ECL,(0,e.Ky)()),L=(0,e.PH)(t.lr.SET_INFO_ECL,(0,e.Ky)()),D=(0,e.PH)(t.lr.FETCH_FEES_ECL),k=(0,e.PH)(t.lr.SET_FEES_ECL,(0,e.Ky)()),M=(0,e.PH)(t.lr.FETCH_CHANNELS_ECL,(0,e.Ky)()),z=(0,e.PH)(t.lr.SET_ACTIVE_CHANNELS_ECL,(0,e.Ky)()),A=(0,e.PH)(t.lr.SET_PENDING_CHANNELS_ECL,(0,e.Ky)()),W=(0,e.PH)(t.lr.SET_INACTIVE_CHANNELS_ECL,(0,e.Ky)()),Z=(0,e.PH)(t.lr.FETCH_ONCHAIN_BALANCE_ECL),X=(0,e.PH)(t.lr.SET_ONCHAIN_BALANCE_ECL,(0,e.Ky)()),$=(0,e.PH)(t.lr.SET_LIGHTNING_BALANCE_ECL,(0,e.Ky)()),ae=(0,e.PH)(t.lr.SET_CHANNELS_STATUS_ECL,(0,e.Ky)()),he=(0,e.PH)(t.lr.FETCH_PEERS_ECL),se=(0,e.PH)(t.lr.SET_PEERS_ECL,(0,e.Ky)()),pe=(0,e.PH)(t.lr.SAVE_NEW_PEER_ECL,(0,e.Ky)()),fe=((0,e.PH)(t.lr.NEWLY_ADDED_PEER_ECL,(0,e.Ky)()),(0,e.PH)(t.lr.ADD_PEER_ECL,(0,e.Ky)()),(0,e.PH)(t.lr.DETACH_PEER_ECL,(0,e.Ky)())),T=(0,e.PH)(t.lr.REMOVE_PEER_ECL,(0,e.Ky)()),i=(0,e.PH)(t.lr.GET_NEW_ADDRESS_ECL),m=((0,e.PH)(t.lr.SET_NEW_ADDRESS_ECL,(0,e.Ky)()),(0,e.PH)(t.lr.SAVE_NEW_CHANNEL_ECL,(0,e.Ky)())),h=(0,e.PH)(t.lr.UPDATE_CHANNEL_ECL,(0,e.Ky)()),x=(0,e.PH)(t.lr.CLOSE_CHANNEL_ECL,(0,e.Ky)()),I=(0,e.PH)(t.lr.REMOVE_CHANNEL_ECL,(0,e.Ky)()),R=(0,e.PH)(t.lr.FETCH_PAYMENTS_ECL),g=(0,e.PH)(t.lr.SET_PAYMENTS_ECL,(0,e.Ky)()),r=(0,e.PH)(t.lr.GET_QUERY_ROUTES_ECL,(0,e.Ky)()),w=(0,e.PH)(t.lr.SET_QUERY_ROUTES_ECL,(0,e.Ky)()),V=(0,e.PH)(t.lr.SEND_PAYMENT_ECL,(0,e.Ky)()),N=(0,e.PH)(t.lr.SEND_PAYMENT_STATUS_ECL,(0,e.Ky)()),Y=(0,e.PH)(t.lr.FETCH_TRANSACTIONS_ECL),Pe=(0,e.PH)(t.lr.SET_TRANSACTIONS_ECL,(0,e.Ky)()),Ce=(0,e.PH)(t.lr.SEND_ONCHAIN_FUNDS_ECL,(0,e.Ky)()),dt=((0,e.PH)(t.lr.SEND_ONCHAIN_FUNDS_RES_ECL,(0,e.Ky)()),(0,e.PH)(t.lr.FETCH_INVOICES_ECL)),Ke=(0,e.PH)(t.lr.SET_INVOICES_ECL,(0,e.Ky)()),ge=(0,e.PH)(t.lr.CREATE_INVOICE_ECL,(0,e.Ky)()),$e=(0,e.PH)(t.lr.ADD_INVOICE_ECL,(0,e.Ky)()),Oe=(0,e.PH)(t.lr.UPDATE_INVOICE_ECL,(0,e.Ky)()),Me=(0,e.PH)(t.lr.PEER_LOOKUP_ECL,(0,e.Ky)()),De=(0,e.PH)(t.lr.INVOICE_LOOKUP_ECL,(0,e.Ky)()),ye=((0,e.PH)(t.lr.SET_LOOKUP_ECL,(0,e.Ky)()),(0,e.PH)(t.lr.UPDATE_CHANNEL_STATE_ECL,(0,e.Ky)())),we=(0,e.PH)(t.lr.UPDATE_RELAYED_PAYMENT_ECL,(0,e.Ky)())},3289:(Ye,J,f)=>{"use strict";f.d(J,{o:()=>le});var e=f(3599),t=f(253),_=f(745),O=f(9525),l=f(8951),C=f(635),u=f(3158),P=f(2340),p=f(1786),L=f(7731),D=f(7861),k=f(7766),M=f(2994),z=f(2501),A=f(2560),W=f(8987),Z=f(9263),X=f(5986),$=f(62),ae=f(5043),he=f(3547),se=f(3512),pe=f(4666);class le{constructor(fe,T,i,o,m,h,x,I,R){this.actions=fe,this.httpClient=T,this.store=i,this.sessionService=o,this.commonService=m,this.logger=h,this.router=x,this.wsService=I,this.location=R,this.CHILD_API_URL=P.T5+"/ecl",this.flgInitialized=!1,this.flgReceivedPaymentUpdateFromWS=!1,this.latestPaymentRes="",this.rawChannelsList=[],this.unSubs=[new t.x,new t.x,new t.x],this.infoFetchECL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.FETCH_INFO_ECL),(0,O.z)(g=>(this.flgInitialized=!1,this.store.dispatch((0,D.lC)({payload:this.CHILD_API_URL})),this.store.dispatch((0,D.ac)({payload:L.m6.GET_NODE_INFO})),this.store.dispatch((0,M.QZ)({payload:{action:"FetchInfo",status:L.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.GETINFO_API).pipe((0,l.R)(this.actions.pipe((0,e.l4)(L.pg.SET_SELECTED_NODE))),(0,C.U)(r=>(this.logger.info(r),this.initializeRemainingData(r,g.payload.loadPage),this.store.dispatch((0,M.QZ)({payload:{action:"FetchInfo",status:L.Bn.COMPLETED}})),this.store.dispatch((0,D.uO)({payload:L.m6.GET_NODE_INFO})),{type:L.lr.SET_INFO_ECL,payload:r||{}})),(0,u.K)(r=>{const w=this.commonService.extractErrorCode(r),V=503===w?"Unable to Connect to Eclair Server.":this.commonService.extractErrorMessage(r);return this.router.navigate(["/error"],{state:{errorCode:w,errorMessage:V}}),this.handleErrorWithoutAlert("FetchInfo",L.m6.GET_NODE_INFO,"Fetching Node Info Failed.",{status:w,error:V}),(0,_.of)({type:L.pg.VOID})})))))),this.fetchFees=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.FETCH_FEES_ECL),(0,O.z)(()=>(this.store.dispatch((0,M.QZ)({payload:{action:"FetchFees",status:L.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.FEES_API+"/fees").pipe((0,C.U)(g=>(this.logger.info(g),this.store.dispatch((0,M.QZ)({payload:{action:"FetchFees",status:L.Bn.COMPLETED}})),{type:L.lr.SET_FEES_ECL,payload:g||{}})),(0,u.K)(g=>(this.handleErrorWithoutAlert("FetchFees",L.m6.NO_SPINNER,"Fetching Fees Failed.",g),(0,_.of)({type:L.pg.VOID})))))))),this.fetchPayments=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.FETCH_PAYMENTS_ECL),(0,O.z)(()=>(this.store.dispatch((0,M.QZ)({payload:{action:"FetchPayments",status:L.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.FEES_API+"/payments").pipe((0,C.U)(g=>(this.logger.info(g),this.store.dispatch((0,M.QZ)({payload:{action:"FetchPayments",status:L.Bn.COMPLETED}})),{type:L.lr.SET_PAYMENTS_ECL,payload:g||{}})),(0,u.K)(g=>(this.handleErrorWithoutAlert("FetchPayments",L.m6.NO_SPINNER,"Fetching Payments Failed.",g),(0,_.of)({type:L.pg.VOID})))))))),this.channelsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.FETCH_CHANNELS_ECL),(0,O.z)(g=>(this.store.dispatch((0,M.QZ)({payload:{action:"FetchChannels",status:L.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.CHANNELS_API).pipe((0,C.U)(r=>(this.logger.info(r),this.rawChannelsList=r,this.setChannelsAndStatusAndBalances(),this.store.dispatch((0,M.QZ)({payload:{action:"FetchChannels",status:L.Bn.COMPLETED}})),g.payload&&g.payload.fetchPayments&&this.store.dispatch((0,M.cQ)()),{type:L.pg.VOID})),(0,u.K)(r=>(this.handleErrorWithoutAlert("FetchChannels",L.m6.NO_SPINNER,"Fetching Channels Failed.",r),(0,_.of)({type:L.pg.VOID})))))))),this.fetchOnchainBalance=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.FETCH_ONCHAIN_BALANCE_ECL),(0,O.z)(()=>(this.store.dispatch((0,M.QZ)({payload:{action:"FetchOnchainBalance",status:L.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.ON_CHAIN_API+"/balance"))),(0,C.U)(g=>(this.logger.info(g),this.store.dispatch((0,M.QZ)({payload:{action:"FetchOnchainBalance",status:L.Bn.COMPLETED}})),{type:L.lr.SET_ONCHAIN_BALANCE_ECL,payload:g||{}})),(0,u.K)(g=>(this.handleErrorWithoutAlert("FetchOnchainBalance",L.m6.NO_SPINNER,"Fetching Onchain Balances Failed.",g),(0,_.of)({type:L.pg.VOID}))))),this.peersFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.FETCH_PEERS_ECL),(0,O.z)(()=>(this.store.dispatch((0,M.QZ)({payload:{action:"FetchPeers",status:L.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.PEERS_API).pipe((0,C.U)(g=>(this.logger.info(g),this.store.dispatch((0,M.QZ)({payload:{action:"FetchPeers",status:L.Bn.COMPLETED}})),{type:L.lr.SET_PEERS_ECL,payload:g||[]})),(0,u.K)(g=>(this.handleErrorWithoutAlert("FetchPeers",L.m6.NO_SPINNER,"Fetching Peers Failed.",g),(0,_.of)({type:L.pg.VOID})))))))),this.getNewAddress=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.GET_NEW_ADDRESS_ECL),(0,O.z)(()=>(this.store.dispatch((0,D.ac)({payload:L.m6.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+P.NZ.ON_CHAIN_API).pipe((0,C.U)(g=>(this.logger.info(g),this.store.dispatch((0,D.uO)({payload:L.m6.GENERATE_NEW_ADDRESS})),{type:L.lr.SET_NEW_ADDRESS_ECL,payload:g})),(0,u.K)(g=>(this.handleErrorWithAlert("GetNewAddress",L.m6.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+P.NZ.ON_CHAIN_API,g),(0,_.of)({type:L.pg.VOID})))))))),this.setNewAddress=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.SET_NEW_ADDRESS_ECL),(0,C.U)(g=>(this.logger.info(g.payload),g.payload))),{dispatch:!1}),this.saveNewPeer=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.SAVE_NEW_PEER_ECL),(0,O.z)(g=>(this.store.dispatch((0,D.ac)({payload:L.m6.CONNECT_PEER})),this.store.dispatch((0,M.QZ)({payload:{action:"SaveNewPeer",status:L.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+P.NZ.PEERS_API+(g.payload.id.includes("@")?"?uri=":"?nodeId=")+g.payload.id,{}).pipe((0,C.U)(r=>(this.logger.info(r),this.store.dispatch((0,M.QZ)({payload:{action:"SaveNewPeer",status:L.Bn.COMPLETED}})),r=r||[],this.store.dispatch((0,D.uO)({payload:L.m6.CONNECT_PEER})),this.store.dispatch((0,M.Z8)({payload:r})),{type:L.lr.NEWLY_ADDED_PEER_ECL,payload:{peer:r.find(w=>w.nodeId===(g.payload.id.includes("@")?g.payload.id.substring(0,g.payload.id.indexOf("@")):g.payload.id))}})),(0,u.K)(r=>(this.handleErrorWithoutAlert("SaveNewPeer",L.m6.CONNECT_PEER,"Peer Connection Failed.",r),(0,_.of)({type:L.pg.VOID})))))))),this.detachPeer=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.DETACH_PEER_ECL),(0,O.z)(g=>(this.store.dispatch((0,D.ac)({payload:L.m6.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+P.NZ.PEERS_API+"/"+g.payload.nodeId).pipe((0,C.U)(r=>(this.logger.info(r),this.store.dispatch((0,D.uO)({payload:L.m6.DISCONNECT_PEER})),this.store.dispatch((0,D.jW)({payload:"Disconnecting Peer!"})),{type:L.lr.REMOVE_PEER_ECL,payload:{nodeId:g.payload.nodeId}})),(0,u.K)(r=>(this.handleErrorWithAlert("DisconnectPeer",L.m6.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+P.NZ.PEERS_API+"/"+g.payload.nodeId,r),(0,_.of)({type:L.pg.VOID})))))))),this.openNewChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.SAVE_NEW_CHANNEL_ECL),(0,O.z)(g=>{this.store.dispatch((0,D.ac)({payload:L.m6.OPEN_CHANNEL})),this.store.dispatch((0,M.QZ)({payload:{action:"SaveNewChannel",status:L.Bn.INITIATED}}));const r={nodeId:g.payload.nodeId,fundingSatoshis:g.payload.amount,announceChannel:!g.payload.private};return g.payload.feeRate&&g.payload.feeRate>0&&(r.fundingFeerateSatByte=g.payload.feeRate),this.httpClient.post(this.CHILD_API_URL+P.NZ.CHANNELS_API,r).pipe((0,C.U)(w=>(this.logger.info(w),this.store.dispatch((0,M.QZ)({payload:{action:"SaveNewChannel",status:L.Bn.COMPLETED}})),this.store.dispatch((0,M.$W)()),this.store.dispatch((0,M.iL)()),this.store.dispatch((0,D.uO)({payload:L.m6.OPEN_CHANNEL})),this.store.dispatch((0,D.jW)({payload:"Channel Added Successfully!"})),{type:L.lr.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,u.K)(w=>(this.handleErrorWithoutAlert("SaveNewChannel",L.m6.OPEN_CHANNEL,"Opening Channel Failed.",w),(0,_.of)({type:L.pg.VOID}))))}))),this.updateChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.UPDATE_CHANNEL_ECL),(0,O.z)(g=>{this.store.dispatch((0,D.ac)({payload:L.m6.UPDATE_CHAN_POLICY}));let r="?feeBaseMsat="+g.payload.baseFeeMsat+"&feeProportionalMillionths="+g.payload.feeRate;return r=g.payload.nodeIds?r+"&nodeIds="+g.payload.nodeIds:g.payload.nodeId?r+"&nodeId="+g.payload.nodeId:g.payload.channelIds?r+"&channelIds="+g.payload.channelIds:r+"&channelId="+g.payload.channelId,this.httpClient.post(this.CHILD_API_URL+P.NZ.CHANNELS_API+"/updateRelayFee"+r,{}).pipe((0,C.U)(w=>(this.logger.info(w),this.store.dispatch((0,D.uO)({payload:L.m6.UPDATE_CHAN_POLICY})),g.payload.nodeIds||g.payload.channelIds?this.store.dispatch((0,D.jW)({payload:"Channels Updated Successfully."})):this.store.dispatch((0,D.jW)({payload:"Channel Updated Successfully!"})),{type:L.lr.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,u.K)(w=>(this.handleErrorWithAlert("UpdateChannels",L.m6.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+P.NZ.CHANNELS_API,w),(0,_.of)({type:L.pg.VOID}))))}))),this.closeChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.CLOSE_CHANNEL_ECL),(0,O.z)(g=>(this.store.dispatch((0,D.ac)({payload:g.payload.force?L.m6.FORCE_CLOSE_CHANNEL:L.m6.CLOSE_CHANNEL})),this.httpClient.delete(this.CHILD_API_URL+P.NZ.CHANNELS_API+"?channelId="+g.payload.channelId+"&force="+g.payload.force).pipe((0,C.U)(r=>(this.logger.info(r),setTimeout(()=>{this.store.dispatch((0,D.uO)({payload:g.payload.force?L.m6.FORCE_CLOSE_CHANNEL:L.m6.CLOSE_CHANNEL})),this.store.dispatch((0,M.UR)({payload:{fetchPayments:!1}})),this.store.dispatch((0,D.jW)({payload:g.payload.force?"Channel Force Closed Successfully!":"Channel Closed Successfully!"}))},2e3),{type:L.pg.VOID})),(0,u.K)(r=>(this.handleErrorWithAlert("CloseChannel",g.payload.force?L.m6.FORCE_CLOSE_CHANNEL:L.m6.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+P.NZ.CHANNELS_API,r),(0,_.of)({type:L.pg.VOID})))))))),this.queryRoutesFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.GET_QUERY_ROUTES_ECL),(0,O.z)(g=>this.httpClient.get(this.CHILD_API_URL+P.NZ.PAYMENTS_API+"/route?nodeId="+g.payload.nodeId+"&amountMsat="+g.payload.amount).pipe((0,C.U)(r=>(this.logger.info(r),{type:L.lr.SET_QUERY_ROUTES_ECL,payload:r})),(0,u.K)(r=>(this.store.dispatch((0,M.kL)({payload:[]})),this.handleErrorWithAlert("GetQueryRoutes",L.m6.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+P.NZ.PAYMENTS_API+"/route?nodeId="+g.payload.nodeId+"&amountMsat="+g.payload.amount,r),(0,_.of)({type:L.pg.VOID}))))))),this.setQueryRoutes=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.SET_QUERY_ROUTES_ECL),(0,C.U)(g=>g.payload)),{dispatch:!1}),this.sendPayment=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.SEND_PAYMENT_ECL),(0,O.z)(g=>(this.flgReceivedPaymentUpdateFromWS=!1,this.latestPaymentRes="",this.store.dispatch((0,D.ac)({payload:L.m6.SEND_PAYMENT})),this.store.dispatch((0,M.QZ)({payload:{action:"SendPayment",status:L.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+P.NZ.PAYMENTS_API,g.payload).pipe((0,C.U)(r=>(this.logger.info(r),this.latestPaymentRes=r,setTimeout(()=>{this.flgReceivedPaymentUpdateFromWS||this.handleSendPaymentStatus("Payment Submitted!")},3e3),{type:L.pg.VOID})),(0,u.K)(r=>(this.logger.error("Error: "+JSON.stringify(r)),g.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",L.m6.SEND_PAYMENT,"Send Payment Failed.",r):this.handleErrorWithAlert("SendPayment",L.m6.SEND_PAYMENT,"Send Payment Failed",this.CHILD_API_URL+P.NZ.PAYMENTS_API,r),(0,_.of)({type:L.pg.VOID})))))))),this.transactionsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.FETCH_TRANSACTIONS_ECL),(0,O.z)(()=>(this.store.dispatch((0,M.QZ)({payload:{action:"FetchTransactions",status:L.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.ON_CHAIN_API+"/transactions?count=1000&skip=0"))),(0,C.U)(g=>(this.logger.info(g),this.store.dispatch((0,M.QZ)({payload:{action:"FetchTransactions",status:L.Bn.COMPLETED}})),{type:L.lr.SET_TRANSACTIONS_ECL,payload:g||[]})),(0,u.K)(g=>(this.handleErrorWithoutAlert("FetchTransactions",L.m6.NO_SPINNER,"Fetching Transactions Failed.",g),(0,_.of)({type:L.pg.VOID}))))),this.SendOnchainFunds=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.SEND_ONCHAIN_FUNDS_ECL),(0,O.z)(g=>(this.store.dispatch((0,D.ac)({payload:L.m6.SEND_FUNDS})),this.store.dispatch((0,M.QZ)({payload:{action:"SendOnchainFunds",status:L.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+P.NZ.ON_CHAIN_API,g.payload).pipe((0,C.U)(r=>(this.logger.info(r),this.store.dispatch((0,M.QZ)({payload:{action:"SendOnchainFunds",status:L.Bn.COMPLETED}})),this.store.dispatch((0,D.uO)({payload:L.m6.SEND_FUNDS})),this.store.dispatch((0,M.iL)()),{type:L.lr.SEND_ONCHAIN_FUNDS_RES_ECL,payload:r})),(0,u.K)(r=>(this.handleErrorWithoutAlert("SendOnchainFunds",L.m6.SEND_FUNDS,"Sending Fund Failed.",r),(0,_.of)({type:L.pg.VOID})))))))),this.createInvoice=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.CREATE_INVOICE_ECL),(0,O.z)(g=>(this.store.dispatch((0,D.ac)({payload:L.m6.CREATE_INVOICE})),this.store.dispatch((0,M.QZ)({payload:{action:"CreateInvoice",status:L.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+P.NZ.INVOICES_API,g.payload).pipe((0,C.U)(r=>(this.logger.info(r),this.store.dispatch((0,M.QZ)({payload:{action:"CreateInvoice",status:L.Bn.COMPLETED}})),this.store.dispatch((0,D.uO)({payload:L.m6.CREATE_INVOICE})),r.timestamp=Math.round((new Date).getTime()/1e3),r.expiresAt=Math.round(r.timestamp+g.payload.expireIn),r.description=g.payload.description,r.status="unpaid",setTimeout(()=>{this.store.dispatch((0,D.qR)({payload:{data:{invoice:r,newlyAdded:!0,component:k.R}}}))},200),{type:L.lr.ADD_INVOICE_ECL,payload:r})),(0,u.K)(r=>(this.handleErrorWithoutAlert("CreateInvoice",L.m6.CREATE_INVOICE,"Create Invoice Failed.",r),(0,_.of)({type:L.pg.VOID})))))))),this.invoicesFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.FETCH_INVOICES_ECL),(0,O.z)(()=>(this.store.dispatch((0,M.QZ)({payload:{action:"FetchInvoices",status:L.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.INVOICES_API).pipe((0,C.U)(g=>(this.logger.info(g),this.store.dispatch((0,M.QZ)({payload:{action:"FetchInvoices",status:L.Bn.COMPLETED}})),{type:L.lr.SET_INVOICES_ECL,payload:g})),(0,u.K)(g=>(this.handleErrorWithoutAlert("FetchInvoices",L.m6.NO_SPINNER,"Fetching Invoices Failed.",g),(0,_.of)({type:L.pg.VOID})))))))),this.peerLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.PEER_LOOKUP_ECL),(0,O.z)(g=>(this.store.dispatch((0,D.ac)({payload:L.m6.SEARCHING_NODE})),this.store.dispatch((0,M.QZ)({payload:{action:"Lookup",status:L.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.NETWORK_API+"/nodes/"+g.payload).pipe((0,C.U)(r=>(this.logger.info(r),this.store.dispatch((0,M.QZ)({payload:{action:"Lookup",status:L.Bn.COMPLETED}})),this.store.dispatch((0,D.uO)({payload:L.m6.SEARCHING_NODE})),{type:L.lr.SET_LOOKUP_ECL,payload:r})),(0,u.K)(r=>(this.handleErrorWithAlert("Lookup",L.m6.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+P.NZ.NETWORK_API+"/nodes/"+g.payload,r),(0,_.of)({type:L.pg.VOID})))))))),this.invoiceLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.INVOICE_LOOKUP_ECL),(0,O.z)(g=>(this.store.dispatch((0,D.ac)({payload:L.m6.SEARCHING_INVOICE})),this.store.dispatch((0,M.QZ)({payload:{action:"Lookup",status:L.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+P.NZ.INVOICES_API+"/"+g.payload).pipe((0,C.U)(r=>(this.logger.info(r),this.store.dispatch((0,M.QZ)({payload:{action:"Lookup",status:L.Bn.COMPLETED}})),this.store.dispatch((0,D.uO)({payload:L.m6.SEARCHING_INVOICE})),this.store.dispatch((0,M.aL)({payload:r})),{type:L.lr.SET_LOOKUP_ECL,payload:r})),(0,u.K)(r=>(this.handleErrorWithoutAlert("Lookup",L.m6.SEARCHING_INVOICE,"Invoice Lookup Failed",r),this.store.dispatch((0,D.jW)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,_.of)({type:L.pg.VOID})))))))),this.setLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.SET_LOOKUP_ECL),(0,C.U)(g=>(this.logger.info(g.payload),g.payload))),{dispatch:!1}),this.pageSettingsFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.FETCH_PAGE_SETTINGS_ECL),(0,O.z)(()=>(this.store.dispatch((0,M.QZ)({payload:{action:"FetchPageSettings",status:L.Bn.INITIATED}})),this.httpClient.get(P.NZ.PAGE_SETTINGS_API).pipe((0,C.U)(g=>(this.logger.info(g),this.store.dispatch((0,M.QZ)({payload:{action:"FetchPageSettings",status:L.Bn.COMPLETED}})),{type:L.lr.SET_PAGE_SETTINGS_ECL,payload:g||[]})),(0,u.K)(g=>(this.handleErrorWithoutAlert("FetchPageSettings",L.m6.NO_SPINNER,"Fetching Page Settings Failed.",g),(0,_.of)({type:L.pg.VOID})))))))),this.savePageSettingsCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(L.lr.SAVE_PAGE_SETTINGS_ECL),(0,O.z)(g=>(this.store.dispatch((0,D.ac)({payload:L.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,M.QZ)({payload:{action:"SavePageSettings",status:L.Bn.INITIATED}})),this.httpClient.post(P.NZ.PAGE_SETTINGS_API,g.payload).pipe((0,C.U)(r=>(this.logger.info(r),this.store.dispatch((0,M.QZ)({payload:{action:"SavePageSettings",status:L.Bn.COMPLETED}})),this.store.dispatch((0,D.uO)({payload:L.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,D.jW)({payload:"Page Layout Updated Successfully!"})),{type:L.lr.SET_PAGE_SETTINGS_ECL,payload:r||[]})),(0,u.K)(r=>(this.handleErrorWithAlert("SavePageSettings",L.m6.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",P.NZ.PAGE_SETTINGS_API,r),(0,_.of)({type:L.pg.VOID})))))))),this.handleSendPaymentStatus=g=>{this.store.dispatch((0,M.QZ)({payload:{action:"SendPayment",status:L.Bn.COMPLETED}})),this.store.dispatch((0,D.uO)({payload:L.m6.SEND_PAYMENT})),this.store.dispatch((0,M.TM)({payload:this.latestPaymentRes})),this.store.dispatch((0,M.UR)({payload:{fetchPayments:!0}})),this.store.dispatch((0,D.jW)({payload:g}))},this.store.select(z.yA).pipe((0,l.R)(this.unSubs[0])).subscribe(g=>{g.FetchInfo.status!==L.Bn.COMPLETED&&g.FetchInfo.status!==L.Bn.ERROR||g.FetchFees.status!==L.Bn.COMPLETED&&g.FetchFees.status!==L.Bn.ERROR||g.FetchOnchainBalance.status!==L.Bn.COMPLETED&&g.FetchOnchainBalance.status!==L.Bn.ERROR||g.FetchChannels.status!==L.Bn.COMPLETED&&g.FetchChannels.status!==L.Bn.ERROR||this.flgInitialized||(this.store.dispatch((0,D.uO)({payload:L.m6.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.eclWSMessages.pipe((0,l.R)(this.unSubs[1])).subscribe(g=>{this.logger.info("Received new message from the service: "+JSON.stringify(g));let r="";if(g)switch(g.type){case L.$v.PAYMENT_SENT:g&&g.id&&this.latestPaymentRes===g.id&&(this.flgReceivedPaymentUpdateFromWS=!0,r="Payment Sent: "+(g.paymentHash?"with payment hash "+g.paymentHash:JSON.stringify(g)),this.handleSendPaymentStatus(r));break;case L.$v.PAYMENT_FAILED:g&&g.id&&this.latestPaymentRes===g.id&&(this.flgReceivedPaymentUpdateFromWS=!0,r="Payment Failed: "+(g.failures&&g.failures.length&&g.failures.length>0&&g.failures[0].t?g.failures[0].t:g.failures&&g.failures.length&&g.failures.length>0&&g.failures[0].e&&g.failures[0].e.failureMessage?g.failures[0].e.failureMessage:JSON.stringify(g)),this.handleSendPaymentStatus(r));break;case L.$v.PAYMENT_RECEIVED:this.store.dispatch((0,M.aL)({payload:g}));break;case L.$v.PAYMENT_RELAYED:delete g.source,this.store.dispatch((0,M.ti)({payload:g}));break;case L.$v.CHANNEL_STATE_CHANGED:"NORMAL"===g.currentState||"CLOSED"===g.currentState?(this.rawChannelsList=this.rawChannelsList?.map(w=>(w.channelId===g.channelId&&w.nodeId===g.remoteNodeId&&(w.state=g.currentState),w)),this.setChannelsAndStatusAndBalances()):this.store.dispatch((0,M.DJ)({payload:g}));break;default:this.logger.info("Received Event from WS: "+JSON.stringify(g))}})}setChannelsAndStatusAndBalances(){let fe=0,T=0,i=0,o={localBalance:0,remoteBalance:0},m=[];const h=[],x=[],I={active:{channels:0,capacity:0},inactive:{channels:0,capacity:0},pending:{channels:0,capacity:0}};this.rawChannelsList.forEach((R,g)=>{R&&("NORMAL"===R.state?(fe=(R.toLocal||0)+(R.toRemote||0),T+=R.toLocal||0,i+=R.toRemote||0,R.balancedness=0===fe?1:+(1-Math.abs(((R.toLocal||0)-(R.toRemote||0))/fe)).toFixed(3),m.push(R),I.active.channels=I.active.channels+1,I.active.capacity=I.active.capacity+(R.toLocal||0)):R.state?.includes("WAIT")||R.state?.includes("CLOSING")||R.state?.includes("SYNCING")?(R.state=R.state?.replace(/_/g," "),h.push(R),I.pending.channels=I.pending.channels+1,I.pending.capacity=I.pending.capacity+(R.toLocal||0)):(R.state=R.state?.replace(/_/g," "),x.push(R),I.inactive.channels=I.inactive.channels+1,I.inactive.capacity=I.inactive.capacity+(R.toLocal||0)))}),o={localBalance:T,remoteBalance:i},m=this.commonService.sortDescByKey(m,"balancedness"),this.logger.info("Active Channels: "+JSON.stringify(m)),this.logger.info("Pending Channels: "+JSON.stringify(h)),this.logger.info("Inactive Channels: "+JSON.stringify(x)),this.logger.info("Lightning Balances: "+JSON.stringify(o)),this.logger.info("Channels Status: "+JSON.stringify(I)),this.logger.info("Channel, status and balances: "+JSON.stringify({active:m,pending:h,inactive:x,balances:o,status:I})),this.store.dispatch((0,M.eN)({payload:m})),this.store.dispatch((0,M.TW)({payload:h})),this.store.dispatch((0,M.i)({payload:x})),this.store.dispatch((0,M.On)({payload:o})),this.store.dispatch((0,M.HG)({payload:I}))}initializeRemainingData(fe,T){this.sessionService.setItem("eclUnlocked","true");const i={identity_pubkey:fe.nodeId,alias:fe.alias,testnet:"testnet"===fe.network,chains:fe.publicAddresses,uris:fe.uris,version:fe.version,numberOfPendingChannels:0};this.store.dispatch((0,D.ac)({payload:L.m6.INITALIZE_NODE_DATA})),this.store.dispatch((0,D._V)({payload:i}));let o=this.location.path();o.includes("/lnd/")?o=o?.replace("/lnd/","/ecl/"):o.includes("/cln/")&&(o=o?.replace("/cln/","/ecl/")),(o.includes("/login")||o.includes("/error")||""===o||"HOME"===T||o.includes("?access-key="))&&(o="/ecl/home"),this.router.navigate([o]),this.store.dispatch((0,M.wD)()),this.store.dispatch((0,M.WM)()),this.store.dispatch((0,M.UR)({payload:{fetchPayments:!0}})),this.store.dispatch((0,M.SN)()),this.store.dispatch((0,M.iL)()),this.store.dispatch((0,M.$W)())}handleErrorWithoutAlert(fe,T,i,o){this.logger.error("ERROR IN: "+fe+"\n"+JSON.stringify(o)),401===o.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,D.ts)()),this.store.dispatch((0,D.kS)()),this.store.dispatch((0,D.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,D.uO)({payload:T})),this.store.dispatch((0,M.QZ)({payload:{action:fe,status:L.Bn.ERROR,statusCode:o.status.toString(),message:this.commonService.extractErrorMessage(o,i)}})))}handleErrorWithAlert(fe,T,i,o,m){if(this.logger.error(m),401===m.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,D.ts)()),this.store.dispatch((0,D.kS)()),this.store.dispatch((0,D.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,D.uO)({payload:T}));const h=this.commonService.extractErrorMessage(m);this.store.dispatch((0,D.qR)({payload:{data:{type:"ERROR",alertTitle:i,message:{code:m.status,message:h,URL:o},component:p.H}}})),this.store.dispatch((0,M.QZ)({payload:{action:fe,status:L.Bn.ERROR,statusCode:m.status.toString(),message:h,URL:o}}))}}ngOnDestroy(){this.unSubs.forEach(fe=>{fe.next(null),fe.complete()})}}le.\u0275fac=function(fe){return new(fe||le)(A.LFG(e.eX),A.LFG(W.eN),A.LFG(Z.yh),A.LFG(X.m),A.LFG($.v),A.LFG(ae.mQ),A.LFG(he.F0),A.LFG(se.d),A.LFG(pe.Ye))},le.\u0275prov=A.Yz7({token:le,factory:le.\u0275fac})},2501:(Ye,J,f)=>{"use strict";f.d(J,{Bo:()=>Z,Ef:()=>W,JG:()=>L,LR:()=>_,PP:()=>p,T$:()=>C,Xz:()=>z,dx:()=>A,kY:()=>X,nF:()=>O,yA:()=>P,yD:()=>l});var e=f(9263);const t=(0,e.ZF)("ecl"),_=(0,e.P1)(t,$=>$.nodeSettings),O=(0,e.P1)(t,$=>({pageSettings:$.pageSettings,apiCallStatus:$.apisCallStatus.FetchPageSettings})),l=(0,e.P1)(t,$=>$.information),C=(0,e.P1)(t,$=>({information:$.information,apiCallStatus:$.apisCallStatus.FetchInfo})),P=((0,e.P1)(t,$=>$.apisCallStatus.FetchInfo),(0,e.P1)(t,$=>$.apisCallStatus)),p=(0,e.P1)(t,$=>({payments:$.payments,apiCallStatus:$.apisCallStatus.FetchPayments})),L=(0,e.P1)(t,$=>({fees:$.fees,apiCallStatus:$.apisCallStatus.FetchFees})),z=((0,e.P1)(t,$=>({activeChannels:$.activeChannels,apiCallStatus:$.apisCallStatus.FetchChannels})),(0,e.P1)(t,$=>({pendingChannels:$.pendingChannels,apiCallStatus:$.apisCallStatus.FetchChannels})),(0,e.P1)(t,$=>({inactiveChannels:$.inactiveChannels,apiCallStatus:$.apisCallStatus.FetchChannels})),(0,e.P1)(t,$=>({activeChannels:$.activeChannels,pendingChannels:$.pendingChannels,inactiveChannels:$.inactiveChannels,lightningBalance:$.lightningBalance,channelsStatus:$.channelsStatus,apiCallStatus:$.apisCallStatus.FetchChannels}))),A=(0,e.P1)(t,$=>({transactions:$.transactions,apiCallStatus:$.apisCallStatus.FetchTransactions})),W=(0,e.P1)(t,$=>({invoices:$.invoices,apiCallStatus:$.apisCallStatus.FetchInvoices})),Z=(0,e.P1)(t,$=>({peers:$.peers,apiCallStatus:$.apisCallStatus.FetchPeers})),X=(0,e.P1)(t,$=>({onchainBalance:$.onchainBalance,apiCallStatus:$.apisCallStatus.FetchOnchainBalance}))},7766:(Ye,J,f)=>{"use strict";f.d(J,{R:()=>Ke});var e=f(4481),t=f(9306),_=f(253),O=f(8951),l=f(7731),C=f(2501),u=f(2560),P=f(5043),p=f(62),L=f(930),D=f(9263),k=f(4666),M=f(3505),z=f(6722),A=f(3704),W=f(4522),Z=f(2156),X=f(1528),$=f(1708),ae=f(6021),he=f(6895),se=f(3390);function pe(ge,$e){if(1&ge&&u._UZ(0,"qr-code",29),2&ge){const Oe=u.oxw();u.Q6J("value",null==Oe.invoice?null:Oe.invoice.serialized)("size",Oe.qrWidth)("errorCorrectionLevel","L")}}function le(ge,$e){1&ge&&(u.TgZ(0,"span",30),u._uU(1,"N/A"),u.qZA())}function re(ge,$e){if(1&ge&&u._UZ(0,"qr-code",29),2&ge){const Oe=u.oxw();u.Q6J("value",null==Oe.invoice?null:Oe.invoice.serialized)("size",Oe.qrWidth)("errorCorrectionLevel","L")}}function fe(ge,$e){1&ge&&(u.TgZ(0,"span",31),u._uU(1,"QR Code Not Applicable"),u.qZA())}function T(ge,$e){1&ge&&u._UZ(0,"mat-divider",32),2&ge&&u.Q6J("inset",!0)}function i(ge,$e){1&ge&&(u.ynx(0),u._uU(1," (zero amount) "),u.BQk())}function o(ge,$e){1&ge&&u._UZ(0,"span",38)}const m=function(){return[]};function h(ge,$e){if(1&ge&&(u.TgZ(0,"div",34)(1,"div",35)(2,"span",36),u._uU(3),u.ALo(4,"number"),u.qZA(),u.YNc(5,o,1,0,"span",37),u.qZA()()),2&ge){const Oe=u.oxw(2);u.xp6(3),u.hij("",u.lcZ(4,2,null==Oe.invoice?null:Oe.invoice.amountSettled)," Sats"),u.xp6(2),u.Q6J("ngForOf",u.DdM(4,m).constructor(35))}}function x(ge,$e){if(1&ge&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"number"),u.qZA()),2&ge){const Oe=u.oxw(2);u.xp6(1),u.hij("",u.lcZ(2,1,null==Oe.invoice?null:Oe.invoice.amountSettled)," Sats")}}function I(ge,$e){if(1&ge&&(u.ynx(0),u.YNc(1,h,6,5,"div",33),u.YNc(2,x,3,3,"div",19),u.BQk()),2&ge){const Oe=u.oxw();u.xp6(1),u.Q6J("ngIf",Oe.flgInvoicePaid),u.xp6(1),u.Q6J("ngIf",!Oe.flgInvoicePaid)}}function R(ge,$e){1&ge&&(u.TgZ(0,"span"),u._uU(1,"-"),u.qZA())}function g(ge,$e){1&ge&&u._UZ(0,"mat-spinner",40),2&ge&&u.Q6J("diameter",20)}function r(ge,$e){if(1&ge&&(u.ynx(0),u.YNc(1,R,2,0,"span",19),u.YNc(2,g,1,1,"mat-spinner",39),u.BQk()),2&ge){const Oe=u.oxw();u.xp6(1),u.Q6J("ngIf","unpaid"!==(null==Oe.invoice?null:Oe.invoice.status)||!Oe.flgVersionCompatible),u.xp6(1),u.Q6J("ngIf","unpaid"===(null==Oe.invoice?null:Oe.invoice.status)&&Oe.flgVersionCompatible)}}function w(ge,$e){if(1&ge&&(u.TgZ(0,"div"),u._UZ(1,"mat-divider",20),u.TgZ(2,"div",15)(3,"div",41)(4,"h4",17),u._uU(5,"Date Expiry"),u.qZA(),u.TgZ(6,"span",18),u._uU(7),u.ALo(8,"date"),u.qZA()(),u.TgZ(9,"div",42)(10,"h4",17),u._uU(11,"Date Settled"),u.qZA(),u.TgZ(12,"span",21),u._uU(13),u.ALo(14,"date"),u.qZA()()(),u._UZ(15,"mat-divider",20),u.TgZ(16,"div",15)(17,"div",22)(18,"h4",17),u._uU(19,"Payment Hash"),u.qZA(),u.TgZ(20,"span",21),u._uU(21),u.qZA()()(),u._UZ(22,"mat-divider",20),u.TgZ(23,"div",15)(24,"div",22)(25,"h4",17),u._uU(26,"Node ID"),u.qZA(),u.TgZ(27,"span",21),u._uU(28),u.qZA()()(),u._UZ(29,"mat-divider",20),u.qZA()),2&ge){const Oe=u.oxw();u.xp6(7),u.Oqu(u.xi3(8,4,1e3*(null==Oe.invoice?null:Oe.invoice.expiresAt),"dd/MMM/y HH:mm")),u.xp6(6),u.Oqu(u.xi3(14,7,1e3*(null==Oe.invoice?null:Oe.invoice.receivedAt),"dd/MMM/y HH:mm")),u.xp6(8),u.Oqu(null==Oe.invoice?null:Oe.invoice.paymentHash),u.xp6(7),u.Oqu(null==Oe.invoice?null:Oe.invoice.nodeId)}}function V(ge,$e){1&ge&&(u.TgZ(0,"p"),u._uU(1,"Show Advanced"),u.qZA())}function N(ge,$e){1&ge&&(u.TgZ(0,"p"),u._uU(1,"Hide Advanced"),u.qZA())}function Y(ge,$e){if(1&ge){const Oe=u.EpF();u.TgZ(0,"button",43),u.NdJ("copied",function(De){u.CHM(Oe);const Ue=u.oxw();return u.KtG(Ue.onCopyPayment(De))}),u._uU(1,"Copy Invoice"),u.qZA()}if(2&ge){const Oe=u.oxw();u.Q6J("payload",null==Oe.invoice?null:Oe.invoice.serialized)}}function Pe(ge,$e){if(1&ge){const Oe=u.EpF();u.TgZ(0,"button",44),u.NdJ("click",function(){u.CHM(Oe);const De=u.oxw();return u.KtG(De.onClose())}),u._uU(1,"OK"),u.qZA()}}const Ce=function(ge){return{"display-none":ge}},Xe=function(ge){return{"xs-scroll-y":ge}},dt=function(ge,$e){return{"mt-2":ge,"mt-1":$e}};class Ke{constructor($e,Oe,Me,De,Ue,ye){this.dialogRef=$e,this.data=Oe,this.logger=Me,this.commonService=De,this.snackBar=Ue,this.store=ye,this.faReceipt=t.dLy,this.faExclamationTriangle=t.eHv,this.showAdvanced=!1,this.newlyAdded=!1,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=l.cu,this.flgInvoicePaid=!1,this.flgVersionCompatible=!0,this.unSubs=[new _.x,new _.x,new _.x,new _.x,new _.x]}ngOnInit(){this.invoice=this.data.invoice,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===l.cu.XS&&(this.qrWidth=220),this.store.select(C.yD).pipe((0,O.R)(this.unSubs[0])).subscribe($e=>{this.flgVersionCompatible=this.commonService.isVersionCompatible($e.version,"0.5.0")}),this.store.select(C.Ef).pipe((0,O.R)(this.unSubs[1])).subscribe($e=>{const Oe=this.invoice.status,De=($e.invoices&&$e.invoices.length>0?$e.invoices:[])?.find(Ue=>Ue.paymentHash===this.invoice.paymentHash)||null;De&&(this.invoice=De),Oe!==this.invoice.status&&"received"===this.invoice.status&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info($e)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment($e){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+$e)}ngOnDestroy(){this.unSubs.forEach($e=>{$e.next(null),$e.complete()})}}Ke.\u0275fac=function($e){return new($e||Ke)(u.Y36(e.so),u.Y36(e.WI),u.Y36(P.mQ),u.Y36(p.v),u.Y36(L.ux),u.Y36(D.yh))},Ke.\u0275cmp=u.Xpm({type:Ke,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($e,Oe){if(1&$e&&(u.TgZ(0,"div",0)(1,"div",1),u.YNc(2,pe,1,3,"qr-code",2),u.YNc(3,le,2,0,"span",3),u.qZA(),u.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),u._UZ(7,"fa-icon",7),u.TgZ(8,"span",8),u._uU(9),u.qZA()(),u.TgZ(10,"button",9),u.NdJ("click",function(){return Oe.onClose()}),u._uU(11,"X"),u.qZA()(),u.TgZ(12,"mat-card-content",10)(13,"div",11)(14,"div",12),u.YNc(15,re,1,3,"qr-code",2),u.YNc(16,fe,2,0,"span",13),u.qZA(),u.YNc(17,T,1,1,"mat-divider",14),u.TgZ(18,"div",15)(19,"div",16)(20,"h4",17),u._uU(21,"Amount Requested"),u.qZA(),u.TgZ(22,"span",18),u._uU(23),u.ALo(24,"number"),u.YNc(25,i,2,0,"ng-container",19),u.qZA()(),u.TgZ(26,"div",16)(27,"h4",17),u._uU(28,"Amount Settled"),u.qZA(),u.TgZ(29,"span",18),u.YNc(30,I,3,2,"ng-container",19),u.YNc(31,r,3,2,"ng-container",19),u.qZA()()(),u._UZ(32,"mat-divider",20),u.TgZ(33,"div",15)(34,"div",16)(35,"h4",17),u._uU(36,"Date Created"),u.qZA(),u.TgZ(37,"span",21),u._uU(38),u.ALo(39,"date"),u.qZA()(),u.TgZ(40,"div",16)(41,"h4",17),u._uU(42,"Status"),u.qZA(),u.TgZ(43,"span",21),u._uU(44),u.ALo(45,"titlecase"),u.qZA()()(),u._UZ(46,"mat-divider",20),u.TgZ(47,"div",15)(48,"div",22)(49,"h4",17),u._uU(50,"Description"),u.qZA(),u.TgZ(51,"span",18),u._uU(52),u.qZA()()(),u._UZ(53,"mat-divider",20),u.TgZ(54,"div",15)(55,"div",22)(56,"h4",17),u._uU(57,"Invoice"),u.qZA(),u.TgZ(58,"span",21),u._uU(59),u.qZA()()(),u.YNc(60,w,30,10,"div",19),u.TgZ(61,"div",23)(62,"button",24),u.NdJ("click",function(){return Oe.onShowAdvanced()}),u.YNc(63,V,2,0,"p",25),u.YNc(64,N,2,0,"ng-template",null,26,u.W1O),u.qZA(),u.YNc(66,Y,2,1,"button",27),u.YNc(67,Pe,2,0,"button",28),u.qZA()()()()()),2&$e){const Me=u.MAs(65);u.xp6(1),u.Q6J("fxLayoutAlign",null!=Oe.invoice&&Oe.invoice.serialized&&""!==(null==Oe.invoice?null:Oe.invoice.serialized)?"center start":"center center")("ngClass",u.VKq(33,Ce,Oe.screenSize===Oe.screenSizeEnum.XS||Oe.screenSize===Oe.screenSizeEnum.SM)),u.xp6(1),u.Q6J("ngIf",(null==Oe.invoice?null:Oe.invoice.serialized)&&""!==(null==Oe.invoice?null:Oe.invoice.serialized)),u.xp6(1),u.Q6J("ngIf",!(null!=Oe.invoice&&Oe.invoice.serialized)||""===(null==Oe.invoice?null:Oe.invoice.serialized)),u.xp6(4),u.Q6J("icon",Oe.faReceipt),u.xp6(2),u.Oqu(Oe.screenSize===Oe.screenSizeEnum.XS?Oe.newlyAdded?"Created":"Invoice":Oe.newlyAdded?"Invoice Created":"Invoice Information"),u.xp6(3),u.Q6J("ngClass",u.VKq(35,Xe,Oe.screenSize===Oe.screenSizeEnum.XS)),u.xp6(2),u.Q6J("fxLayoutAlign",null!=Oe.invoice&&Oe.invoice.serialized&&""!==(null==Oe.invoice?null:Oe.invoice.serialized)?"center start":"center center")("ngClass",u.VKq(37,Ce,Oe.screenSize!==Oe.screenSizeEnum.XS&&Oe.screenSize!==Oe.screenSizeEnum.SM)),u.xp6(1),u.Q6J("ngIf",(null==Oe.invoice?null:Oe.invoice.serialized)&&""!==(null==Oe.invoice?null:Oe.invoice.serialized)),u.xp6(1),u.Q6J("ngIf",!(null!=Oe.invoice&&Oe.invoice.serialized)||""===(null==Oe.invoice?null:Oe.invoice.serialized)),u.xp6(1),u.Q6J("ngIf",Oe.screenSize===Oe.screenSizeEnum.XS||Oe.screenSize===Oe.screenSizeEnum.SM),u.xp6(6),u.hij("",u.lcZ(24,26,(null==Oe.invoice?null:Oe.invoice.amount)||0)," Sats"),u.xp6(2),u.Q6J("ngIf",!(null!=Oe.invoice&&Oe.invoice.amount)||"0"===(null==Oe.invoice?null:Oe.invoice.amount)),u.xp6(5),u.Q6J("ngIf",null==Oe.invoice?null:Oe.invoice.amountSettled),u.xp6(1),u.Q6J("ngIf",!(null!=Oe.invoice&&Oe.invoice.amountSettled)),u.xp6(7),u.Oqu(u.xi3(39,28,1e3*(null==Oe.invoice?null:Oe.invoice.timestamp),"dd/MMM/y HH:mm")),u.xp6(6),u.Oqu(u.lcZ(45,31,null==Oe.invoice?null:Oe.invoice.status)),u.xp6(8),u.Oqu((null==Oe.invoice?null:Oe.invoice.description)||"-"),u.xp6(7),u.Oqu((null==Oe.invoice?null:Oe.invoice.serialized)||"N/A"),u.xp6(1),u.Q6J("ngIf",Oe.showAdvanced),u.xp6(1),u.Q6J("ngClass",u.WLB(39,dt,!Oe.showAdvanced,Oe.showAdvanced)),u.xp6(2),u.Q6J("ngIf",!Oe.showAdvanced)("ngIfElse",Me),u.xp6(3),u.Q6J("ngIf",(null==Oe.invoice?null:Oe.invoice.serialized)&&""!==(null==Oe.invoice?null:Oe.invoice.serialized)),u.xp6(1),u.Q6J("ngIf",!(null!=Oe.invoice&&Oe.invoice.serialized)||""===(null==Oe.invoice?null:Oe.invoice.serialized))}},dependencies:[k.mk,k.sg,k.O5,M.BN,z.xw,z.Wh,z.yH,A.oO,W.lW,Z.dn,Z.dk,X.d,$.Ou,ae.uU,he.y,se.h,k.JJ,k.rS,k.uU]})},6523:(Ye,J,f)=>{"use strict";f.d(J,{$A:()=>Be,$W:()=>D,BL:()=>R,B_:()=>Pe,Bl:()=>se,CX:()=>L,Cp:()=>w,EK:()=>W,El:()=>M,Fr:()=>mi,HI:()=>we,JT:()=>l,Jl:()=>pe,Jo:()=>Zt,Lf:()=>Me,Ll:()=>O,Ly:()=>De,Nr:()=>Ke,OG:()=>g,PC:()=>_,QJ:()=>Rt,RX:()=>he,Rd:()=>Z,Rv:()=>le,SN:()=>ae,Sf:()=>st,TW:()=>o,UH:()=>Ue,UR:()=>fe,Vv:()=>r,WM:()=>dt,WO:()=>yi,Wi:()=>Ve,YP:()=>$,YX:()=>I,Z7:()=>i,Z8:()=>k,Zh:()=>m,_E:()=>ee,_L:()=>h,aL:()=>ge,as:()=>T,cQ:()=>ye,dV:()=>ne,eF:()=>P,fu:()=>at,kL:()=>Jt,ks:()=>re,mC:()=>Oe,n7:()=>rt,oV:()=>ie,pW:()=>x,pd:()=>u,qY:()=>$e,sQ:()=>p,tb:()=>Y,u0:()=>kt,vV:()=>Ce,wD:()=>C,xG:()=>bt,y2:()=>it,yZ:()=>Ot,z:()=>A});var e=f(9263),t=f(7731);const _=(0,e.PH)(t.uR.UPDATE_API_CALL_STATUS_LND,(0,e.Ky)()),O=(0,e.PH)(t.uR.RESET_LND_STORE,(0,e.Ky)()),l=(0,e.PH)(t.uR.SET_CHILD_NODE_SETTINGS_LND,(0,e.Ky)()),C=(0,e.PH)(t.uR.FETCH_PAGE_SETTINGS_LND),u=(0,e.PH)(t.uR.SET_PAGE_SETTINGS_LND,(0,e.Ky)()),P=(0,e.PH)(t.uR.SAVE_PAGE_SETTINGS_LND,(0,e.Ky)()),p=(0,e.PH)(t.uR.FETCH_INFO_LND,(0,e.Ky)()),L=(0,e.PH)(t.uR.SET_INFO_LND,(0,e.Ky)()),D=(0,e.PH)(t.uR.FETCH_PEERS_LND),k=(0,e.PH)(t.uR.SET_PEERS_LND,(0,e.Ky)()),M=(0,e.PH)(t.uR.SAVE_NEW_PEER_LND,(0,e.Ky)()),A=((0,e.PH)(t.uR.NEWLY_ADDED_PEER_LND,(0,e.Ky)()),(0,e.PH)(t.uR.DETACH_PEER_LND,(0,e.Ky)())),W=(0,e.PH)(t.uR.REMOVE_PEER_LND,(0,e.Ky)()),Z=(0,e.PH)(t.uR.SAVE_NEW_INVOICE_LND,(0,e.Ky)()),$=((0,e.PH)(t.uR.NEWLY_SAVED_INVOICE_LND,(0,e.Ky)()),(0,e.PH)(t.uR.ADD_INVOICE_LND,(0,e.Ky)())),ae=(0,e.PH)(t.uR.FETCH_FEES_LND),he=(0,e.PH)(t.uR.SET_FEES_LND,(0,e.Ky)()),se=(0,e.PH)(t.uR.FETCH_BLOCKCHAIN_BALANCE_LND),pe=(0,e.PH)(t.uR.SET_BLOCKCHAIN_BALANCE_LND,(0,e.Ky)()),le=(0,e.PH)(t.uR.FETCH_NETWORK_LND),re=(0,e.PH)(t.uR.SET_NETWORK_LND,(0,e.Ky)()),fe=(0,e.PH)(t.uR.FETCH_CHANNELS_LND),T=(0,e.PH)(t.uR.SET_CHANNELS_LND,(0,e.Ky)()),i=(0,e.PH)(t.uR.FETCH_PENDING_CHANNELS_LND),o=(0,e.PH)(t.uR.SET_PENDING_CHANNELS_LND,(0,e.Ky)()),m=(0,e.PH)(t.uR.FETCH_CLOSED_CHANNELS_LND),h=(0,e.PH)(t.uR.SET_CLOSED_CHANNELS_LND,(0,e.Ky)()),x=(0,e.PH)(t.uR.UPDATE_CHANNEL_LND,(0,e.Ky)()),I=(0,e.PH)(t.uR.SAVE_NEW_CHANNEL_LND,(0,e.Ky)()),R=(0,e.PH)(t.uR.CLOSE_CHANNEL_LND,(0,e.Ky)()),g=(0,e.PH)(t.uR.REMOVE_CHANNEL_LND,(0,e.Ky)()),r=(0,e.PH)(t.uR.BACKUP_CHANNELS_LND,(0,e.Ky)()),w=(0,e.PH)(t.uR.VERIFY_CHANNEL_LND,(0,e.Ky)()),Y=((0,e.PH)(t.uR.BACKUP_CHANNELS_RES_LND,(0,e.Ky)()),(0,e.PH)(t.uR.VERIFY_CHANNEL_RES_LND,(0,e.Ky)()),(0,e.PH)(t.uR.RESTORE_CHANNELS_LIST_LND)),Pe=(0,e.PH)(t.uR.SET_RESTORE_CHANNELS_LIST_LND,(0,e.Ky)()),Ce=(0,e.PH)(t.uR.RESTORE_CHANNELS_LND,(0,e.Ky)()),dt=((0,e.PH)(t.uR.RESTORE_CHANNELS_RES_LND,(0,e.Ky)()),(0,e.PH)(t.uR.FETCH_INVOICES_LND,(0,e.Ky)())),Ke=(0,e.PH)(t.uR.SET_INVOICES_LND,(0,e.Ky)()),ge=(0,e.PH)(t.uR.UPDATE_INVOICE_LND,(0,e.Ky)()),$e=(0,e.PH)(t.uR.UPDATE_PAYMENT_LND,(0,e.Ky)()),Oe=(0,e.PH)(t.uR.FETCH_TRANSACTIONS_LND),Me=(0,e.PH)(t.uR.SET_TRANSACTIONS_LND,(0,e.Ky)()),De=(0,e.PH)(t.uR.FETCH_UTXOS_LND),Ue=(0,e.PH)(t.uR.SET_UTXOS_LND,(0,e.Ky)()),ye=(0,e.PH)(t.uR.FETCH_PAYMENTS_LND,(0,e.Ky)()),we=(0,e.PH)(t.uR.SET_PAYMENTS_LND,(0,e.Ky)()),ie=(0,e.PH)(t.uR.SEND_PAYMENT_LND,(0,e.Ky)()),ne=((0,e.PH)(t.uR.SEND_PAYMENT_STATUS_LND,(0,e.Ky)()),(0,e.PH)(t.uR.FETCH_GRAPH_NODE_LND,(0,e.Ky)())),ee=((0,e.PH)(t.uR.SET_GRAPH_NODE_LND,(0,e.Ky)()),(0,e.PH)(t.uR.GET_NEW_ADDRESS_LND,(0,e.Ky)())),Ve=((0,e.PH)(t.uR.SET_NEW_ADDRESS_LND,(0,e.Ky)()),(0,e.PH)(t.uR.SET_CHANNEL_TRANSACTION_LND,(0,e.Ky)())),at=((0,e.PH)(t.uR.SET_CHANNEL_TRANSACTION_RES_LND,(0,e.Ky)()),(0,e.PH)(t.uR.GEN_SEED_LND,(0,e.Ky)())),it=((0,e.PH)(t.uR.GEN_SEED_RESPONSE_LND,(0,e.Ky)()),(0,e.PH)(t.uR.INIT_WALLET_LND,(0,e.Ky)())),bt=((0,e.PH)(t.uR.INIT_WALLET_RESPONSE_LND,(0,e.Ky)()),(0,e.PH)(t.uR.UNLOCK_WALLET_LND,(0,e.Ky)())),st=(0,e.PH)(t.uR.PEER_LOOKUP_LND,(0,e.Ky)()),Be=(0,e.PH)(t.uR.CHANNEL_LOOKUP_LND,(0,e.Ky)()),rt=(0,e.PH)(t.uR.INVOICE_LOOKUP_LND,(0,e.Ky)()),Ot=(0,e.PH)(t.uR.PAYMENT_LOOKUP_LND,(0,e.Ky)()),kt=((0,e.PH)(t.uR.SET_LOOKUP_LND,(0,e.Ky)()),(0,e.PH)(t.uR.GET_FORWARDING_HISTORY_LND,(0,e.Ky)())),Rt=(0,e.PH)(t.uR.SET_FORWARDING_HISTORY_LND,(0,e.Ky)()),yi=(0,e.PH)(t.uR.GET_QUERY_ROUTES_LND,(0,e.Ky)()),Jt=(0,e.PH)(t.uR.SET_QUERY_ROUTES_LND,(0,e.Ky)()),Zt=(0,e.PH)(t.uR.GET_ALL_LIGHTNING_TRANSATIONS_LND),mi=(0,e.PH)(t.uR.SET_ALL_LIGHTNING_TRANSATIONS_LND,(0,e.Ky)())},3172:(Ye,J,f)=>{"use strict";f.d(J,{l:()=>fe});var e=f(3599),t=f(253),_=f(745),O=f(9525),l=f(8951),C=f(635),u=f(3158),P=f(538),p=f(2340),L=f(8627),D=f(1786),k=f(7731),M=f(7861),z=f(6523),A=f(6529),W=f(2560),Z=f(8987),X=f(9263),$=f(5043),ae=f(62),he=f(5986),se=f(4481),pe=f(3547),le=f(3512),re=f(4666);class fe{constructor(i,o,m,h,x,I,R,g,r,w){this.actions=i,this.httpClient=o,this.store=m,this.logger=h,this.commonService=x,this.sessionService=I,this.dialog=R,this.router=g,this.wsService=r,this.location=w,this.CHILD_API_URL=p.T5+"/lnd",this.invoicesPageSize=k.IV,this.paymentsPageSize=k.IV,this.flgInitialized=!1,this.unSubs=[new t.x,new t.x],this.infoFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.FETCH_INFO_LND),(0,O.z)(V=>(this.flgInitialized=!1,this.store.dispatch((0,M.lC)({payload:this.CHILD_API_URL})),this.store.dispatch((0,M.ts)()),this.store.dispatch((0,M.ac)({payload:k.m6.GET_NODE_INFO})),this.store.dispatch((0,z.PC)({payload:{action:"FetchInfo",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.GETINFO_API).pipe((0,l.R)(this.actions.pipe((0,e.l4)(k.pg.SET_SELECTED_NODE))),(0,C.U)(N=>(this.logger.info(N),N.chains&&N.chains.length&&N.chains[0]&&("string"==typeof N.chains[0]&&N.chains[0].toLowerCase().indexOf("bitcoin")<0||"object"==typeof N.chains[0]&&N.chains[0].hasOwnProperty("chain")&&N.chains[0].chain&&N.chains[0].chain.toLowerCase().indexOf("bitcoin")<0)?(this.store.dispatch((0,z.PC)({payload:{action:"FetchInfo",status:k.Bn.COMPLETED}})),this.store.dispatch((0,M.ts)()),this.store.dispatch((0,M.qR)({payload:{data:{type:k.n_.ERROR,alertTitle:"Shitcoin Found",titleMessage:"Sorry Not Sorry, RTL is Bitcoin Only!"}}})),{type:k.pg.LOGOUT}):N.identity_pubkey?(N.lnImplementation="LND",this.initializeRemainingData(N,V.payload.loadPage),this.store.dispatch((0,z.PC)({payload:{action:"FetchInfo",status:k.Bn.COMPLETED}})),this.store.dispatch((0,M.ts)()),{type:k.uR.SET_INFO_LND,payload:N||{}}):(this.store.dispatch((0,z.PC)({payload:{action:"FetchInfo",status:k.Bn.COMPLETED}})),this.store.dispatch((0,M.ts)()),this.sessionService.removeItem("lndUnlocked"),this.logger.info("Redirecting to Unlock"),this.router.navigate(["/lnd/wallet"]),{type:k.uR.SET_INFO_LND,payload:{}}))),(0,u.K)(N=>{if("string"==typeof N.error.error&&N.error.error.includes("Not Found")||"string"==typeof N.error.error&&N.error.error.includes("wallet locked")||502===N.status&&!N.error.message.includes("Bad or Missing Macaroon"))this.sessionService.removeItem("lndUnlocked"),this.logger.info("Redirecting to Unlock"),this.router.navigate(["/lnd/wallet"]),this.handleErrorWithoutAlert("FetchInfo",k.m6.GET_NODE_INFO,"Fetching Node Info Failed.",N);else if("string"==typeof N.error.error&&N.error.error.includes("starting up")&&500===N.status)setTimeout(()=>{this.store.dispatch((0,z.sQ)({payload:{loadPage:"HOME"}}))},2e3);else{const Y=this.commonService.extractErrorCode(N),Pe=503===Y?"Unable to Connect to LND Server.":this.commonService.extractErrorMessage(N);this.router.navigate(["/error"],{state:{errorCode:Y,errorMessage:Pe}}),this.handleErrorWithoutAlert("FetchInfo",k.m6.GET_NODE_INFO,"Fetching Node Info Failed.",{status:Y,error:Pe})}return(0,_.of)({type:k.pg.VOID})})))))),this.peersFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.FETCH_PEERS_LND),(0,O.z)(()=>(this.store.dispatch((0,z.PC)({payload:{action:"FetchPeers",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.PEERS_API).pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,z.PC)({payload:{action:"FetchPeers",status:k.Bn.COMPLETED}})),{type:k.uR.SET_PEERS_LND,payload:V||[]})),(0,u.K)(V=>(this.handleErrorWithoutAlert("FetchPeers",k.m6.NO_SPINNER,"Fetching Peers Failed.",V),(0,_.of)({type:k.pg.VOID})))))))),this.saveNewPeer=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.SAVE_NEW_PEER_LND),(0,O.z)(V=>(this.store.dispatch((0,M.ac)({payload:k.m6.CONNECT_PEER})),this.store.dispatch((0,z.PC)({payload:{action:"SaveNewPeer",status:k.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+p.NZ.PEERS_API,{pubkey:V.payload.pubkey,host:V.payload.host,perm:V.payload.perm}).pipe((0,C.U)(N=>(this.logger.info(N),this.store.dispatch((0,z.PC)({payload:{action:"SaveNewPeer",status:k.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:k.m6.CONNECT_PEER})),this.store.dispatch((0,z.Z8)({payload:N||[]})),{type:k.uR.NEWLY_ADDED_PEER_LND,payload:{peer:N[0]}})),(0,u.K)(N=>(this.handleErrorWithoutAlert("SaveNewPeer",k.m6.CONNECT_PEER,"Peer Connection Failed.",N),(0,_.of)({type:k.pg.VOID})))))))),this.detachPeer=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.DETACH_PEER_LND),(0,O.z)(V=>(this.store.dispatch((0,M.ac)({payload:k.m6.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+p.NZ.PEERS_API+"/"+V.payload.pubkey).pipe((0,C.U)(N=>(this.logger.info(N),this.store.dispatch((0,M.uO)({payload:k.m6.DISCONNECT_PEER})),this.store.dispatch((0,M.jW)({payload:"Peer Disconnected Successfully."})),{type:k.uR.REMOVE_PEER_LND,payload:{pubkey:V.payload.pubkey}})),(0,u.K)(N=>(this.handleErrorWithAlert("DetachPeer",k.m6.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+p.NZ.PEERS_API+"/"+V.payload.pubkey,N),(0,_.of)({type:k.pg.VOID})))))))),this.saveNewInvoice=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.SAVE_NEW_INVOICE_LND),(0,O.z)(V=>(this.store.dispatch((0,M.ac)({payload:V.payload.uiMessage})),this.store.dispatch((0,z.PC)({payload:{action:"SaveNewInvoice",status:k.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+p.NZ.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)(N=>(this.logger.info(N),this.store.dispatch((0,z.PC)({payload:{action:"SaveNewInvoice",status:k.Bn.COMPLETED}})),this.store.dispatch((0,z.WM)({payload:{num_max_invoices:V.payload.pageSize,reversed:!0}})),V.payload.openModal?(N.memo=V.payload.memo,N.value=V.payload.value,N.expiry=V.payload.expiry,N.private=V.payload.private,N.is_amp=V.payload.is_amp,N.cltv_expiry="144",N.creation_date=Math.round((new Date).getTime()/1e3).toString(),setTimeout(()=>{this.store.dispatch((0,M.qR)({payload:{data:{invoice:N,newlyAdded:!0,component:L.v}}}))},200),{type:k.pg.CLOSE_SPINNER,payload:V.payload.uiMessage}):{type:k.uR.NEWLY_SAVED_INVOICE_LND,payload:{paymentRequest:N.payment_request}})),(0,u.K)(N=>(this.handleErrorWithoutAlert("SaveNewInvoice",V.payload.uiMessage,"Add Invoice Failed.",N),(0,_.of)({type:k.pg.VOID})))))))),this.openNewChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.SAVE_NEW_CHANNEL_LND),(0,O.z)(V=>(this.store.dispatch((0,M.ac)({payload:k.m6.OPEN_CHANNEL})),this.store.dispatch((0,z.PC)({payload:{action:"SaveNewChannel",status:k.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+p.NZ.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)(N=>(this.logger.info(N),this.store.dispatch((0,z.PC)({payload:{action:"SaveNewChannel",status:k.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:k.m6.OPEN_CHANNEL})),this.store.dispatch((0,z.Bl)()),this.store.dispatch((0,z.UR)()),this.store.dispatch((0,z.Vv)({payload:{uiMessage:k.m6.NO_SPINNER,channelPoint:"ALL",showMessage:"Channel Added Successfully!"}})),{type:k.uR.FETCH_PENDING_CHANNELS_LND})),(0,u.K)(N=>(this.handleErrorWithoutAlert("SaveNewChannel",k.m6.OPEN_CHANNEL,"Opening Channel Failed.",N),(0,_.of)({type:k.pg.VOID})))))))),this.updateChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.UPDATE_CHANNEL_LND),(0,O.z)(V=>(this.store.dispatch((0,M.ac)({payload:k.m6.UPDATE_CHAN_POLICY})),this.httpClient.post(this.CHILD_API_URL+p.NZ.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)(N=>(this.logger.info(N),this.store.dispatch((0,M.uO)({payload:k.m6.UPDATE_CHAN_POLICY})),"all"===V.payload.chanPoint?this.store.dispatch((0,M.jW)({payload:"All Channels Updated Successfully."})):this.store.dispatch((0,M.jW)({payload:"Channel Updated Successfully!"})),{type:k.uR.FETCH_CHANNELS_LND})),(0,u.K)(N=>(this.handleErrorWithAlert("UpdateChannels",k.m6.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+p.NZ.CHANNELS_API+"/chanPolicy",N),(0,_.of)({type:k.pg.VOID})))))))),this.closeChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.CLOSE_CHANNEL_LND),(0,O.z)(V=>{this.store.dispatch((0,M.ac)({payload:V.payload.forcibly?k.m6.FORCE_CLOSE_CHANNEL:k.m6.CLOSE_CHANNEL}));let N=this.CHILD_API_URL+p.NZ.CHANNELS_API+"/"+V.payload.channelPoint+"?force="+V.payload.forcibly;return V.payload.targetConf&&(N=N+"&target_conf="+V.payload.targetConf),V.payload.satPerByte&&(N=N+"&sat_per_byte="+V.payload.satPerByte),this.httpClient.delete(N).pipe((0,C.U)(Y=>(this.logger.info(Y),this.store.dispatch((0,M.uO)({payload:V.payload.forcibly?k.m6.FORCE_CLOSE_CHANNEL:k.m6.CLOSE_CHANNEL})),this.store.dispatch((0,z.UR)()),this.store.dispatch((0,z.Z7)()),this.store.dispatch((0,z.Vv)({payload:{uiMessage:k.m6.NO_SPINNER,channelPoint:"ALL",showMessage:Y.message}})),{type:k.pg.VOID})),(0,u.K)(Y=>(this.handleErrorWithAlert("CloseChannel",V.payload.forcibly?k.m6.FORCE_CLOSE_CHANNEL:k.m6.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+p.NZ.CHANNELS_API+"/"+V.payload.channelPoint+"?force="+V.payload.forcibly,Y),(0,_.of)({type:k.pg.VOID}))))}))),this.backupChannels=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.BACKUP_CHANNELS_LND),(0,O.z)(V=>(this.store.dispatch((0,M.ac)({payload:V.payload.uiMessage})),this.store.dispatch((0,z.PC)({payload:{action:"BackupChannels",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.CHANNELS_BACKUP_API+"/"+V.payload.channelPoint).pipe((0,C.U)(N=>(this.logger.info(N),this.store.dispatch((0,z.PC)({payload:{action:"BackupChannels",status:k.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:V.payload.uiMessage})),this.store.dispatch((0,M.jW)({payload:V.payload.showMessage+" "+N.message})),{type:k.uR.BACKUP_CHANNELS_RES_LND,payload:N.message})),(0,u.K)(N=>(this.handleErrorWithAlert("BackupChannels",V.payload.uiMessage,V.payload.showMessage+" Unable to Backup Channel. Try again later.",this.CHILD_API_URL+p.NZ.CHANNELS_BACKUP_API+"/"+V.payload.channelPoint,N),(0,_.of)({type:k.pg.VOID})))))))),this.verifyChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.VERIFY_CHANNEL_LND),(0,O.z)(V=>(this.store.dispatch((0,M.ac)({payload:k.m6.VERIFY_CHANNEL})),this.store.dispatch((0,z.PC)({payload:{action:"VerifyChannel",status:k.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+p.NZ.CHANNELS_BACKUP_API+"/verify/"+V.payload.channelPoint,{}).pipe((0,C.U)(N=>(this.logger.info(N),this.store.dispatch((0,z.PC)({payload:{action:"VerifyChannel",status:k.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:k.m6.VERIFY_CHANNEL})),this.store.dispatch((0,M.jW)({payload:N.message})),{type:k.uR.VERIFY_CHANNEL_RES_LND,payload:N.message})),(0,u.K)(N=>(this.handleErrorWithAlert("VerifyChannel",k.m6.VERIFY_CHANNEL,"Unable to Verify Channel. Try again later.",this.CHILD_API_URL+p.NZ.CHANNELS_BACKUP_API+"/verify/"+V.payload.channelPoint,N),(0,_.of)({type:k.pg.VOID})))))))),this.restoreChannels=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.RESTORE_CHANNELS_LND),(0,O.z)(V=>(this.store.dispatch((0,M.ac)({payload:k.m6.RESTORE_CHANNEL})),this.store.dispatch((0,z.PC)({payload:{action:"RestoreChannels",status:k.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+p.NZ.CHANNELS_BACKUP_API+"/restore/"+V.payload.channelPoint,{}).pipe((0,C.U)(N=>(this.logger.info(N),this.store.dispatch((0,z.PC)({payload:{action:"RestoreChannels",status:k.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:k.m6.RESTORE_CHANNEL})),this.store.dispatch((0,M.jW)({payload:N.message})),this.store.dispatch((0,z.B_)({payload:N.list})),{type:k.uR.RESTORE_CHANNELS_RES_LND,payload:N.message})),(0,u.K)(N=>(this.handleErrorWithAlert("RestoreChannels",k.m6.RESTORE_CHANNEL,"Unable to Restore Channel. Try again later.",this.CHILD_API_URL+p.NZ.CHANNELS_BACKUP_API+"/restore/"+V.payload.channelPoint,N),(0,_.of)({type:k.pg.VOID})))))))),this.fetchFees=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.FETCH_FEES_LND),(0,O.z)(()=>(this.store.dispatch((0,z.PC)({payload:{action:"FetchFees",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.FEES_API))),(0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,z.PC)({payload:{action:"FetchFees",status:k.Bn.COMPLETED}})),V.forwarding_events_history&&(this.store.dispatch((0,z.QJ)({payload:V.forwarding_events_history})),delete V.forwarding_events_history),{type:k.uR.SET_FEES_LND,payload:V||{}})),(0,u.K)(V=>(this.handleErrorWithoutAlert("FetchFees",k.m6.NO_SPINNER,"Fetching Fees Failed.",V),(0,_.of)({type:k.pg.VOID}))))),this.balanceBlockchainFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.FETCH_BLOCKCHAIN_BALANCE_LND),(0,O.z)(()=>(this.store.dispatch((0,z.PC)({payload:{action:"FetchBalance",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.BALANCE_API))),(0,C.U)(V=>(this.store.dispatch((0,z.PC)({payload:{action:"FetchBalance",status:k.Bn.COMPLETED}})),this.logger.info(V),{type:k.uR.SET_BLOCKCHAIN_BALANCE_LND,payload:V||{total_balance:""}})),(0,u.K)(V=>(this.handleErrorWithoutAlert("FetchBalance",k.m6.NO_SPINNER,"Fetching Blockchain Balance Failed.",V),(0,_.of)({type:k.pg.VOID}))))),this.networkInfoFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.FETCH_NETWORK_LND),(0,O.z)(()=>(this.store.dispatch((0,z.PC)({payload:{action:"FetchNetwork",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.NETWORK_API+"/info"))),(0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,z.PC)({payload:{action:"FetchNetwork",status:k.Bn.COMPLETED}})),{type:k.uR.SET_NETWORK_LND,payload:V||{}})),(0,u.K)(V=>(this.handleErrorWithoutAlert("FetchNetwork",k.m6.NO_SPINNER,"Fetching Network Failed.",V),(0,_.of)({type:k.pg.VOID}))))),this.channelsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.FETCH_CHANNELS_LND),(0,O.z)(()=>(this.store.dispatch((0,z.PC)({payload:{action:"FetchChannels",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.CHANNELS_API).pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,z.PC)({payload:{action:"FetchChannels",status:k.Bn.COMPLETED}})),{type:k.uR.SET_CHANNELS_LND,payload:V.channels||[]})),(0,u.K)(V=>(this.handleErrorWithoutAlert("FetchChannels",k.m6.NO_SPINNER,"Fetching Channels Failed.",V),(0,_.of)({type:k.pg.VOID})))))))),this.channelsPendingFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.FETCH_PENDING_CHANNELS_LND),(0,O.z)(()=>(this.store.dispatch((0,z.PC)({payload:{action:"FetchPendingChannels",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.CHANNELS_API+"/pending").pipe((0,C.U)(V=>{this.logger.info(V),this.store.dispatch((0,z.PC)({payload:{action:"FetchPendingChannels",status:k.Bn.COMPLETED}}));const N={open:{num_channels:0,limbo_balance:0},closing:{num_channels:0,limbo_balance:0},force_closing:{num_channels:0,limbo_balance:0},waiting_close:{num_channels:0,limbo_balance:0},total_channels:0,total_limbo_balance:0};return V&&(N.total_limbo_balance=V.total_limbo_balance,V.pending_closing_channels&&(N.closing.num_channels=V.pending_closing_channels.length,N.total_channels=N.total_channels+V.pending_closing_channels.length,V.pending_closing_channels.forEach(Y=>{N.closing.limbo_balance=+N.closing.limbo_balance+(Y.channel.local_balance?+Y.channel.local_balance:0)})),V.pending_force_closing_channels&&(N.force_closing.num_channels=V.pending_force_closing_channels.length,N.total_channels=N.total_channels+V.pending_force_closing_channels.length,V.pending_force_closing_channels.forEach(Y=>{N.force_closing.limbo_balance=+N.force_closing.limbo_balance+(Y.channel.local_balance?+Y.channel.local_balance:0)})),V.pending_open_channels&&(N.open.num_channels=V.pending_open_channels.length,N.total_channels=N.total_channels+V.pending_open_channels.length,V.pending_open_channels.forEach(Y=>{N.open.limbo_balance=+N.open.limbo_balance+(Y.channel.local_balance?+Y.channel.local_balance:0)})),V.waiting_close_channels&&(N.waiting_close.num_channels=V.waiting_close_channels.length,N.total_channels=N.total_channels+V.waiting_close_channels.length,V.waiting_close_channels.forEach(Y=>{N.waiting_close.limbo_balance=+N.waiting_close.limbo_balance+(Y.channel.local_balance?+Y.channel.local_balance:0)}))),{type:k.uR.SET_PENDING_CHANNELS_LND,payload:V?{pendingChannels:V,pendingChannelsSummary:N}:{pendingChannels:{},pendingChannelsSummary:N}}}),(0,u.K)(V=>(this.handleErrorWithoutAlert("FetchPendingChannels",k.m6.NO_SPINNER,"Fetching Pending Channels Failed.",V),(0,_.of)({type:k.pg.VOID})))))))),this.channelsClosedFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.FETCH_CLOSED_CHANNELS_LND),(0,O.z)(()=>(this.store.dispatch((0,z.PC)({payload:{action:"FetchClosedChannels",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.CHANNELS_API+"/closed").pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,z.PC)({payload:{action:"FetchClosedChannels",status:k.Bn.COMPLETED}})),{type:k.uR.SET_CLOSED_CHANNELS_LND,payload:V.channels||[]})),(0,u.K)(V=>(this.handleErrorWithoutAlert("FetchClosedChannels",k.m6.NO_SPINNER,"Fetching Closed Channels Failed.",V),(0,_.of)({type:k.pg.VOID})))))))),this.invoicesFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.FETCH_INVOICES_LND),(0,O.z)(V=>{this.store.dispatch((0,z.PC)({payload:{action:"FetchInvoices",status:k.Bn.INITIATED}}));const N=V.payload.num_max_invoices?V.payload.num_max_invoices:100,Y=V.payload.index_offset?V.payload.index_offset:0,Pe=!!V.payload.reversed&&V.payload.reversed;return this.httpClient.get(this.CHILD_API_URL+p.NZ.INVOICES_API+"?num_max_invoices="+N+"&index_offset="+Y+"&reversed="+Pe).pipe((0,C.U)(Ce=>(this.logger.info(Ce),this.store.dispatch((0,z.PC)({payload:{action:"FetchInvoices",status:k.Bn.COMPLETED}})),V.payload.reversed&&!V.payload.index_offset&&(Ce.total_invoices=+(Ce.last_index_offset||0)),{type:k.uR.SET_INVOICES_LND,payload:Ce})),(0,u.K)(Ce=>(this.handleErrorWithoutAlert("FetchInvoices",k.m6.NO_SPINNER,"Fetching Invoices Failed.",Ce),(0,_.of)({type:k.pg.VOID}))))}))),this.transactionsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.FETCH_TRANSACTIONS_LND),(0,O.z)(()=>(this.store.dispatch((0,z.PC)({payload:{action:"FetchTransactions",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.TRANSACTIONS_API))),(0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,z.PC)({payload:{action:"FetchTransactions",status:k.Bn.COMPLETED}})),{type:k.uR.SET_TRANSACTIONS_LND,payload:V||[]})),(0,u.K)(V=>(this.handleErrorWithoutAlert("FetchTransactions",k.m6.NO_SPINNER,"Fetching Transactions Failed.",V),(0,_.of)({type:k.pg.VOID}))))),this.utxosFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.FETCH_UTXOS_LND),(0,P.M)(this.store.select(A.Q5)),(0,O.z)(([V,N])=>(this.store.dispatch((0,z.PC)({payload:{action:"FetchUTXOs",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.WALLET_API+"/getUTXOs?max_confs="+(N&&N.block_height?N.block_height:1e9)))),(0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,z.PC)({payload:{action:"FetchUTXOs",status:k.Bn.COMPLETED}})),{type:k.uR.SET_UTXOS_LND,payload:V||[]})),(0,u.K)(V=>(this.handleErrorWithoutAlert("FetchUTXOs",k.m6.NO_SPINNER,"Fetching UTXOs Failed.",V),(0,_.of)({type:k.pg.VOID}))))),this.paymentsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.FETCH_PAYMENTS_LND),(0,O.z)(V=>{this.store.dispatch((0,z.PC)({payload:{action:"FetchPayments",status:k.Bn.INITIATED}}));const N=V.payload.max_payments?V.payload.max_payments:100,Y=V.payload.index_offset?V.payload.index_offset:0,Pe=!!V.payload.reversed&&V.payload.reversed;return this.httpClient.get(this.CHILD_API_URL+p.NZ.PAYMENTS_API+"?max_payments="+N+"&index_offset="+Y+"&reversed="+Pe).pipe((0,C.U)(Ce=>(this.logger.info(Ce),this.store.dispatch((0,z.PC)({payload:{action:"FetchPayments",status:k.Bn.COMPLETED}})),{type:k.uR.SET_PAYMENTS_LND,payload:Ce})),(0,u.K)(Ce=>(this.handleErrorWithoutAlert("FetchPayments",k.m6.NO_SPINNER,"Fetching Payments Failed.",Ce),(0,_.of)({type:k.uR.SET_PAYMENTS_LND,payload:{payments:[]}}))))}))),this.sendPayment=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.SEND_PAYMENT_LND),(0,O.z)(V=>{this.store.dispatch((0,M.ac)({payload:V.payload.uiMessage})),this.store.dispatch((0,z.PC)({payload:{action:"SendPayment",status:k.Bn.INITIATED}}));const N={};return N.paymentReq=V.payload.paymentReq,V.payload.paymentAmount&&(N.paymentAmount=V.payload.paymentAmount),V.payload.outgoingChannel&&(N.outgoingChannel=V.payload.outgoingChannel.chan_id),V.payload.allowSelfPayment&&(N.allowSelfPayment=V.payload.allowSelfPayment),V.payload.lastHopPubkey&&(N.lastHopPubkey=V.payload.lastHopPubkey),V.payload.feeLimitType&&V.payload.feeLimitType!==k.Vc[0].id&&(N.feeLimit={},N.feeLimit[V.payload.feeLimitType]=V.payload.feeLimit),this.httpClient.post(this.CHILD_API_URL+p.NZ.CHANNELS_API+"/transactions",N).pipe((0,C.U)(Y=>{if(this.logger.info(Y),this.store.dispatch((0,M.uO)({payload:V.payload.uiMessage})),this.store.dispatch((0,z.PC)({payload:{action:"SendPayment",status:k.Bn.COMPLETED}})),Y.payment_error)return V.payload.allowSelfPayment?(this.store.dispatch((0,z.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}})),{type:k.uR.SEND_PAYMENT_STATUS_LND,payload:Y}):(V.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",V.payload.uiMessage,"Send Payment Failed.",Y.payment_error):this.handleErrorWithAlert("SendPayment",V.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+p.NZ.CHANNELS_API+"/transactions",Y.payment_error),{type:k.pg.VOID});if(this.store.dispatch((0,M.uO)({payload:V.payload.uiMessage})),this.store.dispatch((0,z.PC)({payload:{action:"SendPayment",status:k.Bn.COMPLETED}})),this.store.dispatch((0,z.UR)()),this.store.dispatch((0,z.cQ)({payload:{max_payments:this.paymentsPageSize,reversed:!0}})),V.payload.allowSelfPayment)this.store.dispatch((0,z.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}}));else{let Pe="Payment Sent Successfully.";Y.payment_route&&Y.payment_route.total_fees_msat&&(Pe="Payment sent successfully with the total fee "+Y.payment_route.total_fees_msat+" (mSats)."),this.store.dispatch((0,M.jW)({payload:Pe}))}return{type:k.uR.SEND_PAYMENT_STATUS_LND,payload:Y}}),(0,u.K)(Y=>(this.logger.error("Error: "+JSON.stringify(Y)),V.payload.allowSelfPayment?(this.handleErrorWithoutAlert("SendPayment",V.payload.uiMessage,"Send Payment Failed.",Y),this.store.dispatch((0,z.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}})),(0,_.of)({type:k.uR.SEND_PAYMENT_STATUS_LND,payload:{error:this.commonService.extractErrorMessage(Y)}})):(V.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",V.payload.uiMessage,"Send Payment Failed.",Y):this.handleErrorWithAlert("SendPayment",V.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+p.NZ.CHANNELS_API+"/transactions",Y),(0,_.of)({type:k.pg.VOID})))))}))),this.graphNodeFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.FETCH_GRAPH_NODE_LND),(0,O.z)(V=>(this.store.dispatch((0,M.ac)({payload:k.m6.GET_NODE_ADDRESS})),this.store.dispatch((0,z.PC)({payload:{action:"FetchGraphNode",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.NETWORK_API+"/node/"+V.payload.pubkey).pipe((0,C.U)(N=>(this.logger.info(N),this.store.dispatch((0,M.uO)({payload:k.m6.GET_NODE_ADDRESS})),this.store.dispatch((0,z.PC)({payload:{action:"FetchGraphNode",status:k.Bn.COMPLETED}})),{type:k.uR.SET_GRAPH_NODE_LND,payload:N&&N.node?{node:N.node}:{node:null}})),(0,u.K)(N=>(this.handleErrorWithoutAlert("FetchGraphNode",k.m6.GET_NODE_ADDRESS,"Fetching Graph Node Failed.",N),(0,_.of)({type:k.pg.VOID})))))))),this.setGraphNode=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.SET_GRAPH_NODE_LND),(0,C.U)(V=>(this.logger.info(V.payload),V.payload))),{dispatch:!1}),this.getNewAddress=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.GET_NEW_ADDRESS_LND),(0,O.z)(V=>(this.store.dispatch((0,M.ac)({payload:k.m6.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+p.NZ.NEW_ADDRESS_API+"?type="+V.payload.addressId).pipe((0,C.U)(N=>(this.logger.info(N),this.store.dispatch((0,M.uO)({payload:k.m6.GENERATE_NEW_ADDRESS})),{type:k.uR.SET_NEW_ADDRESS_LND,payload:N&&N.address?N.address:{}})),(0,u.K)(N=>(this.handleErrorWithAlert("GetNewAddress",k.m6.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+p.NZ.NEW_ADDRESS_API+"?type="+V.payload.addressId,N),(0,_.of)({type:k.pg.VOID})))))))),this.setNewAddress=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.SET_NEW_ADDRESS_LND),(0,C.U)(V=>(this.logger.info(V.payload),V.payload))),{dispatch:!1}),this.SetChannelTransaction=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.SET_CHANNEL_TRANSACTION_LND),(0,O.z)(V=>(this.store.dispatch((0,M.ac)({payload:k.m6.SEND_FUNDS})),this.store.dispatch((0,z.PC)({payload:{action:"SetChannelTransaction",status:k.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+p.NZ.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)(N=>(this.logger.info(N),this.store.dispatch((0,z.PC)({payload:{action:"SetChannelTransaction",status:k.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:k.m6.SEND_FUNDS})),this.store.dispatch((0,z.mC)()),this.store.dispatch((0,z.Bl)()),this.store.dispatch((0,z.UR)()),{type:k.uR.SET_CHANNEL_TRANSACTION_RES_LND,payload:N})),(0,u.K)(N=>(this.handleErrorWithoutAlert("SetChannelTransaction",k.m6.SEND_FUNDS,"Sending Fund Failed.",N),(0,_.of)({type:k.pg.VOID})))))))),this.fetchForwardingHistory=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.GET_FORWARDING_HISTORY_LND),(0,O.z)(V=>{this.store.dispatch((0,z.PC)({payload:{action:"FetchForwardingHistory",status:k.Bn.INITIATED}}));const N={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};return this.httpClient.post(this.CHILD_API_URL+p.NZ.SWITCH_API,N).pipe((0,C.U)(Y=>(this.logger.info(Y),this.store.dispatch((0,z.PC)({payload:{action:"FetchForwardingHistory",status:k.Bn.COMPLETED}})),{type:k.uR.SET_FORWARDING_HISTORY_LND,payload:Y})),(0,u.K)(Y=>(this.handleErrorWithAlert("FetchForwardingHistory",k.m6.NO_SPINNER,"Get Forwarding History Failed",this.CHILD_API_URL+p.NZ.SWITCH_API,Y),(0,_.of)({type:k.pg.VOID}))))}))),this.queryRoutesFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.GET_QUERY_ROUTES_LND),(0,O.z)(V=>{let N=this.CHILD_API_URL+p.NZ.NETWORK_API+"/routes/"+V.payload.destPubkey+"/"+V.payload.amount;return V.payload.outgoingChanId&&(N=N+"?outgoing_chan_id="+V.payload.outgoingChanId),this.httpClient.get(N).pipe((0,C.U)(Y=>(this.logger.info(Y),{type:k.uR.SET_QUERY_ROUTES_LND,payload:Y})),(0,u.K)(Y=>(this.store.dispatch((0,z.kL)({payload:{routes:[]}})),this.handleErrorWithAlert("GetQueryRoutes",k.m6.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+p.NZ.NETWORK_API,Y),(0,_.of)({type:k.pg.VOID}))))}))),this.setQueryRoutes=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.SET_QUERY_ROUTES_LND),(0,C.U)(V=>V.payload)),{dispatch:!1}),this.genSeed=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.GEN_SEED_LND),(0,O.z)(V=>(this.store.dispatch((0,M.ac)({payload:k.m6.GEN_SEED})),this.httpClient.get(this.CHILD_API_URL+p.NZ.WALLET_API+"/genseed/"+V.payload).pipe((0,C.U)(N=>(this.logger.info("Generated GenSeed!"),this.logger.info(N),this.store.dispatch((0,M.uO)({payload:k.m6.GEN_SEED})),{type:k.uR.GEN_SEED_RESPONSE_LND,payload:N.cipher_seed_mnemonic})),(0,u.K)(N=>(this.handleErrorWithAlert("GenSeed",k.m6.GEN_SEED,"Genseed Generation Failed",this.CHILD_API_URL+p.NZ.WALLET_API+"/genseed/"+V.payload,N),(0,_.of)({type:k.pg.VOID})))))))),this.updateSelNodeOptions=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.pg.UPDATE_SELECTED_NODE_OPTIONS),(0,O.z)(()=>this.httpClient.get(this.CHILD_API_URL+p.NZ.WALLET_API+"/updateSelNodeOptions").pipe((0,C.U)(V=>(this.logger.info("Update Sel Node Successfull"),this.logger.info(V),{type:k.pg.VOID})),(0,u.K)(V=>(this.handleErrorWithAlert("UpdateSelectedNodeOptions",k.m6.NO_SPINNER,"Update macaroon for newly initialized node failed! Please check the macaroon path and restart the server!","Update Macaroon",V),(0,_.of)({type:k.pg.VOID}))))))),this.genSeedResponse=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.GEN_SEED_RESPONSE_LND),(0,C.U)(V=>V.payload)),{dispatch:!1}),this.initWalletRes=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.INIT_WALLET_RESPONSE_LND),(0,C.U)(V=>V.payload)),{dispatch:!1}),this.initWallet=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.INIT_WALLET_LND),(0,O.z)(V=>(this.store.dispatch((0,M.ac)({payload:k.m6.INITIALIZE_WALLET})),this.httpClient.post(this.CHILD_API_URL+p.NZ.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)(N=>(this.logger.info(N),this.store.dispatch((0,M.uO)({payload:k.m6.INITIALIZE_WALLET})),{type:k.uR.INIT_WALLET_RESPONSE_LND,payload:N})),(0,u.K)(N=>(this.handleErrorWithAlert("InitWallet",k.m6.INITIALIZE_WALLET,"Wallet Initialization Failed",this.CHILD_API_URL+p.NZ.WALLET_API+"/initwallet",N),(0,_.of)({type:k.pg.VOID})))))))),this.unlockWallet=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.UNLOCK_WALLET_LND),(0,O.z)(V=>(this.store.dispatch((0,M.ac)({payload:k.m6.UNLOCK_WALLET})),this.httpClient.post(this.CHILD_API_URL+p.NZ.WALLET_API+"/wallet/unlockwallet",{wallet_password:V.payload.pwd}).pipe((0,C.U)(N=>(this.logger.info(N),this.logger.info("Successfully Unlocked!"),this.sessionService.setItem("lndUnlocked","true"),this.store.dispatch((0,M.uO)({payload:k.m6.UNLOCK_WALLET})),this.store.dispatch((0,M.ac)({payload:k.m6.WAIT_SYNC_NODE})),setTimeout(()=>{this.store.dispatch((0,M.uO)({payload:k.m6.WAIT_SYNC_NODE})),this.store.dispatch((0,z.sQ)({payload:{loadPage:"HOME"}}))},5e3),{type:k.pg.VOID})),(0,u.K)(N=>(this.handleErrorWithAlert("UnlockWallet",k.m6.UNLOCK_WALLET,"Unlock Wallet Failed",this.CHILD_API_URL+p.NZ.WALLET_API+"/unlockwallet",N),(0,_.of)({type:k.pg.VOID}))))))),{dispatch:!1}),this.peerLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.PEER_LOOKUP_LND),(0,O.z)(V=>(this.store.dispatch((0,M.ac)({payload:k.m6.SEARCHING_NODE})),this.store.dispatch((0,z.PC)({payload:{action:"Lookup",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.NETWORK_API+"/node/"+V.payload).pipe((0,C.U)(N=>(this.logger.info(N),this.store.dispatch((0,M.uO)({payload:k.m6.SEARCHING_NODE})),this.store.dispatch((0,z.PC)({payload:{action:"Lookup",status:k.Bn.COMPLETED}})),{type:k.uR.SET_LOOKUP_LND,payload:N})),(0,u.K)(N=>(this.handleErrorWithAlert("Lookup",k.m6.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+p.NZ.NETWORK_API+"/node/"+V.payload,N),(0,_.of)({type:k.pg.VOID})))))))),this.channelLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.CHANNEL_LOOKUP_LND),(0,O.z)(V=>(this.store.dispatch((0,M.ac)({payload:V.payload.uiMessage})),this.store.dispatch((0,z.PC)({payload:{action:"Lookup",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.NETWORK_API+"/edge/"+V.payload.channelID).pipe((0,C.U)(N=>(this.logger.info(N),this.store.dispatch((0,M.uO)({payload:V.payload.uiMessage})),this.store.dispatch((0,z.PC)({payload:{action:"Lookup",status:k.Bn.COMPLETED}})),{type:k.uR.SET_LOOKUP_LND,payload:N})),(0,u.K)(N=>(this.handleErrorWithAlert("Lookup",V.payload.uiMessage,"Channel Lookup Failed",this.CHILD_API_URL+p.NZ.NETWORK_API+"/edge/"+V.payload.channelID,N),(0,_.of)({type:k.pg.VOID})))))))),this.invoiceLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.INVOICE_LOOKUP_LND),(0,O.z)(V=>{this.store.dispatch((0,M.ac)({payload:k.m6.SEARCHING_INVOICE})),this.store.dispatch((0,z.PC)({payload:{action:"Lookup",status:k.Bn.INITIATED}}));let N=this.CHILD_API_URL+p.NZ.INVOICES_API+"/lookup";return N=V.payload.paymentAddress&&""!==V.payload.paymentAddress?N+"?payment_addr="+V.payload.paymentAddress:N+"?payment_hash="+V.payload.paymentHash,this.httpClient.get(N).pipe((0,C.U)(Y=>(this.logger.info(Y),this.store.dispatch((0,M.uO)({payload:k.m6.SEARCHING_INVOICE})),this.store.dispatch((0,z.PC)({payload:{action:"Lookup",status:k.Bn.COMPLETED}})),this.store.dispatch((0,z.aL)({payload:Y})),{type:k.uR.SET_LOOKUP_LND,payload:Y})),(0,u.K)(Y=>(this.store.dispatch((0,z.PC)({payload:{action:"Lookup",status:k.Bn.ERROR}})),this.handleErrorWithoutAlert("Lookup",k.m6.SEARCHING_INVOICE,"Invoice Lookup Failed",Y),V.payload.openSnackBar&&this.store.dispatch((0,M.jW)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,_.of)({type:k.uR.SET_LOOKUP_LND,payload:{error:Y}}))))}))),this.paymentLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.PAYMENT_LOOKUP_LND),(0,O.z)(V=>(this.store.dispatch((0,M.ac)({payload:k.m6.SEARCHING_PAYMENT})),this.store.dispatch((0,z.PC)({payload:{action:"Lookup",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.PAYMENTS_API+"/lookup/"+V.payload).pipe((0,C.U)(N=>(this.logger.info(N),this.store.dispatch((0,M.uO)({payload:k.m6.SEARCHING_PAYMENT})),this.store.dispatch((0,z.PC)({payload:{action:"Lookup",status:k.Bn.COMPLETED}})),this.store.dispatch((0,z.qY)({payload:N})),{type:k.uR.SET_LOOKUP_LND,payload:N})),(0,u.K)(N=>(this.store.dispatch((0,z.PC)({payload:{action:"Lookup",status:k.Bn.ERROR}})),this.handleErrorWithoutAlert("Lookup",k.m6.SEARCHING_PAYMENT,"Payment Lookup Failed",N),(0,_.of)({type:k.uR.SET_LOOKUP_LND,payload:{error:N}})))))))),this.setLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.SET_LOOKUP_LND),(0,C.U)(V=>(this.logger.info(V.payload),V.payload))),{dispatch:!1}),this.getRestoreChannelList=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.RESTORE_CHANNELS_LIST_LND),(0,O.z)(()=>(this.store.dispatch((0,z.PC)({payload:{action:"RestoreChannelsList",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.CHANNELS_BACKUP_API+"/restore/list").pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,z.PC)({payload:{action:"RestoreChannelsList",status:k.Bn.COMPLETED}})),{type:k.uR.SET_RESTORE_CHANNELS_LIST_LND,payload:V||{all_restore_exists:!1,files:[]}})),(0,u.K)(V=>(this.handleErrorWithAlert("RestoreChannelsList",k.m6.NO_SPINNER,"Restore Channels List Failed",this.CHILD_API_URL+p.NZ.CHANNELS_BACKUP_API,V),(0,_.of)({type:k.pg.VOID})))))))),this.setRestoreChannelList=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.SET_RESTORE_CHANNELS_LIST_LND),(0,C.U)(V=>(this.logger.info(V.payload),V.payload))),{dispatch:!1}),this.allLightningTransactionsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.GET_ALL_LIGHTNING_TRANSATIONS_LND),(0,O.z)(()=>(this.store.dispatch((0,z.PC)({payload:{action:"FetchLightningTransactions",status:k.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+p.NZ.PAYMENTS_API+"/alltransactions").pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,z.PC)({payload:{action:"FetchLightningTransactions",status:k.Bn.COMPLETED}})),{type:k.uR.SET_ALL_LIGHTNING_TRANSATIONS_LND,payload:V})),(0,u.K)(V=>(this.handleErrorWithoutAlert("FetchLightningTransactions",k.m6.NO_SPINNER,"Fetching All Lightning Transaction Failed.",V),(0,_.of)({type:k.pg.VOID})))))))),this.pageSettingsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.FETCH_PAGE_SETTINGS_LND),(0,O.z)(()=>(this.store.dispatch((0,z.PC)({payload:{action:"FetchPageSettings",status:k.Bn.INITIATED}})),this.httpClient.get(p.NZ.PAGE_SETTINGS_API).pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,z.PC)({payload:{action:"FetchPageSettings",status:k.Bn.COMPLETED}})),this.invoicesPageSize=(V&&Object.keys(V).length>0?V.find(N=>"transactions"===N.pageId)?.tables.find(N=>"invoices"===N.tableId):k.gK.find(N=>"transactions"===N.pageId)?.tables.find(N=>"invoices"===N.tableId)).recordsPerPage,this.paymentsPageSize=(V&&Object.keys(V).length>0?V.find(N=>"transactions"===N.pageId)?.tables.find(N=>"payments"===N.tableId):k.gK.find(N=>"transactions"===N.pageId)?.tables.find(N=>"payments"===N.tableId)).recordsPerPage,this.store.dispatch((0,z.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}})),{type:k.uR.SET_PAGE_SETTINGS_LND,payload:V||[]})),(0,u.K)(V=>(this.handleErrorWithoutAlert("FetchPageSettings",k.m6.NO_SPINNER,"Fetching Page Settings Failed.",V),(0,_.of)({type:k.pg.VOID})))))))),this.savePageSettings=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.uR.SAVE_PAGE_SETTINGS_LND),(0,O.z)(V=>(this.store.dispatch((0,M.ac)({payload:k.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,z.PC)({payload:{action:"SavePageSettings",status:k.Bn.INITIATED}})),this.httpClient.post(p.NZ.PAGE_SETTINGS_API,V.payload).pipe((0,C.U)(N=>{this.logger.info(N),this.store.dispatch((0,z.PC)({payload:{action:"SavePageSettings",status:k.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:k.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,M.jW)({payload:"Page Layout Updated Successfully!"}));const Y=(N.find(Ce=>"transactions"===Ce.pageId)?.tables.find(Ce=>"invoices"===Ce.tableId)||k.gK.find(Ce=>"transactions"===Ce.pageId)?.tables.find(Ce=>"invoices"===Ce.tableId)).recordsPerPage,Pe=(N.find(Ce=>"transactions"===Ce.pageId)?.tables.find(Ce=>"payments"===Ce.tableId)||k.gK.find(Ce=>"transactions"===Ce.pageId)?.tables.find(Ce=>"payments"===Ce.tableId)).recordsPerPage;return Y!==this.invoicesPageSize&&(this.invoicesPageSize=Y,this.store.dispatch((0,z.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}}))),Pe!==this.paymentsPageSize&&(this.paymentsPageSize=Pe),{type:k.uR.SET_PAGE_SETTINGS_LND,payload:N||[]}}),(0,u.K)(N=>(this.handleErrorWithAlert("SavePageSettings",k.m6.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",p.NZ.PAGE_SETTINGS_API,N),(0,_.of)({type:k.pg.VOID})))))))),this.store.select(A.yA).pipe((0,l.R)(this.unSubs[0])).subscribe(V=>{V.FetchInfo.status!==k.Bn.COMPLETED&&V.FetchInfo.status!==k.Bn.ERROR||V.FetchFees.status!==k.Bn.COMPLETED&&V.FetchFees.status!==k.Bn.ERROR||V.FetchBalanceBlockchain.status!==k.Bn.COMPLETED&&V.FetchBalanceBlockchain.status!==k.Bn.ERROR||V.FetchAllChannels.status!==k.Bn.COMPLETED&&V.FetchAllChannels.status!==k.Bn.ERROR||V.FetchPendingChannels.status!==k.Bn.COMPLETED&&V.FetchPendingChannels.status!==k.Bn.ERROR||this.flgInitialized||(this.store.dispatch((0,M.uO)({payload:k.m6.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.lndWSMessages.pipe((0,l.R)(this.unSubs[1])).subscribe(V=>{if(this.logger.info("Received new message from the service: "+JSON.stringify(V)),V)if(V.type===k.g8.INVOICE)this.logger.info(V),V&&V.result&&V.result.payment_request&&this.store.dispatch((0,z.aL)({payload:V.result}));else this.logger.info("Received Event from WS: "+JSON.stringify(V))})}initializeRemainingData(i,o){this.sessionService.setItem("lndUnlocked","true");const m={identity_pubkey:i.identity_pubkey,alias:i.alias,testnet:i.testnet,chains:i.chains,uris:i.uris,version:i.version?i.version.split(" ")[0]:""};this.store.dispatch((0,M.ac)({payload:k.m6.INITALIZE_NODE_DATA})),this.store.dispatch((0,M._V)({payload:m}));let h=this.location.path();h.includes("/cln/")?h=h?.replace("/cln/","/lnd/"):h.includes("/ecl/")&&(h=h?.replace("/ecl/","/lnd/")),(h.includes("/unlock")||h.includes("/login")||h.includes("/error")||""===h||"HOME"===o||h.includes("?access-key="))&&(h="/lnd/home"),this.router.navigate([h]),this.store.dispatch((0,z.wD)()),this.store.dispatch((0,z.Bl)()),this.store.dispatch((0,z.UR)()),this.store.dispatch((0,z.Z7)()),this.store.dispatch((0,z.Zh)()),this.store.dispatch((0,z.$W)()),this.store.dispatch((0,z.Rv)()),this.store.dispatch((0,z.SN)()),this.store.dispatch((0,z.cQ)({payload:{max_payments:1e5,reversed:!0}}))}handleErrorWithoutAlert(i,o,m,h){this.logger.error("ERROR IN: "+i+"\n"+JSON.stringify(h)),401===h.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,M.ts)()),this.store.dispatch((0,M.kS)()),this.store.dispatch((0,M.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,M.uO)({payload:o})),this.store.dispatch((0,z.PC)({payload:{action:i,status:k.Bn.ERROR,statusCode:h.status.toString(),message:this.commonService.extractErrorMessage(h,m)}})))}handleErrorWithAlert(i,o,m,h,x){if(this.logger.error(x),401===x.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,M.ts)()),this.store.dispatch((0,M.kS)()),this.store.dispatch((0,M.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,M.uO)({payload:o}));const I=this.commonService.extractErrorMessage(x);this.store.dispatch((0,M.qR)({payload:{data:{type:"ERROR",alertTitle:m,message:{code:x.status,message:I,URL:h},component:D.H}}})),this.store.dispatch((0,z.PC)({payload:{action:i,status:k.Bn.ERROR,statusCode:x.status.toString(),message:I,URL:h}}))}}ngOnDestroy(){this.unSubs.forEach(i=>{i.next(null),i.complete()})}}fe.\u0275fac=function(i){return new(i||fe)(W.LFG(e.eX),W.LFG(Z.eN),W.LFG(X.yh),W.LFG($.mQ),W.LFG(ae.v),W.LFG(he.m),W.LFG(se.uw),W.LFG(pe.F0),W.LFG(le.d),W.LFG(re.Ye))},fe.\u0275prov=W.Yz7({token:fe,factory:fe.\u0275fac})},6529:(Ye,J,f)=>{"use strict";f.d(J,{$k:()=>_,Bo:()=>P,Ef:()=>M,JG:()=>L,N7:()=>he,P2:()=>Z,PP:()=>p,Pr:()=>O,Q5:()=>l,T4:()=>ae,Wi:()=>D,ZW:()=>z,_f:()=>pe,bx:()=>le,dx:()=>k,l5:()=>se,ni:()=>W,qU:()=>X,yA:()=>u});var e=f(9263);const t=(0,e.ZF)("lnd"),_=(0,e.P1)(t,re=>re.nodeSettings),O=(0,e.P1)(t,re=>({pageSettings:re.pageSettings,apiCallStatus:re.apisCallStatus.FetchPageSettings})),l=(0,e.P1)(t,re=>re.information),u=((0,e.P1)(t,re=>({information:re.information,apiCallStatus:re.apisCallStatus.FetchInfo})),(0,e.P1)(t,re=>re.apisCallStatus)),P=(0,e.P1)(t,re=>({forwardingHistory:re.forwardingHistory,apiCallStatus:re.apisCallStatus.FetchForwardingHistory})),p=(0,e.P1)(t,re=>({listPayments:re.listPayments,apiCallStatus:re.apisCallStatus.FetchPayments})),L=(0,e.P1)(t,re=>({fees:re.fees,apiCallStatus:re.apisCallStatus.FetchFees})),D=(0,e.P1)(t,re=>({peers:re.peers,apiCallStatus:re.apisCallStatus.FetchPeers})),k=(0,e.P1)(t,re=>({transactions:re.transactions,apiCallStatus:re.apisCallStatus.FetchTransactions})),M=(0,e.P1)(t,re=>({listInvoices:re.listInvoices,apiCallStatus:re.apisCallStatus.FetchInvoices})),z=(0,e.P1)(t,re=>({channels:re.channels,channelsSummary:re.channelsSummary,lightningBalance:re.lightningBalance,apiCallStatus:re.apisCallStatus.FetchAllChannels})),W=((0,e.P1)(t,re=>({channelsSummary:re.channelsSummary,pendingChannels:re.pendingChannels,closedChannels:re.closedChannels,apiCallStatus:re.apisCallStatus.FetchAllChannels})),(0,e.P1)(t,re=>({pendingChannels:re.pendingChannels,pendingChannelsSummary:re.pendingChannelsSummary,apiCallStatus:re.apisCallStatus.FetchPendingChannels}))),Z=(0,e.P1)(t,re=>({closedChannels:re.closedChannels,apiCallStatus:re.apisCallStatus.FetchClosedChannels})),X=(0,e.P1)(t,re=>({blockchainBalance:re.blockchainBalance,apiCallStatus:re.apisCallStatus.FetchBalanceBlockchain})),ae=((0,e.P1)(t,re=>({lightningBalance:re.lightningBalance,apiCallStatus:re.apisCallStatus.FetchAllChannels})),(0,e.P1)(t,re=>({utxos:re.utxos,apiCallStatus:re.apisCallStatus.FetchUTXOs}))),he=(0,e.P1)(t,re=>({networkInfo:re.networkInfo,apiCallStatus:re.apisCallStatus.FetchNetwork})),se=(0,e.P1)(t,re=>({allLightningTransactions:re.allLightningTransactions,apiCallStatus:re.apisCallStatus.FetchLightningTransactions})),pe=(0,e.P1)(t,re=>({channels:re.channels,pendingChannels:re.pendingChannels,closedChannels:re.closedChannels})),le=(0,e.P1)(t,re=>({information:re.information,nodeSettings:re.nodeSettings,apiCallStatus:re.apisCallStatus.FetchInfo}))},8627:(Ye,J,f)=>{"use strict";f.d(J,{v:()=>ze});var e=f(4481),t=f(9306),_=f(253),O=f(8951),l=f(7731),C=f(6529),u=f(2560),P=f(5043),p=f(62),L=f(930),D=f(9263),k=f(4666),M=f(3505),z=f(6722),A=f(3704),W=f(4522),Z=f(2156),X=f(3012),$=f(7822),ae=f(1528),he=f(1708),se=f(6896),pe=f(6021),le=f(6895),re=f(3390);const fe=["scrollContainer"];function T(Ve,oe){if(1&Ve&&u._UZ(0,"qr-code",33),2&Ve){const at=u.oxw();u.Q6J("value",null==at.invoice?null:at.invoice.payment_request)("size",at.qrWidth)("errorCorrectionLevel","L")}}function i(Ve,oe){1&Ve&&(u.TgZ(0,"span",34),u._uU(1,"N/A"),u.qZA())}function o(Ve,oe){if(1&Ve&&u._UZ(0,"qr-code",33),2&Ve){const at=u.oxw();u.Q6J("value",null==at.invoice?null:at.invoice.payment_request)("size",at.qrWidth)("errorCorrectionLevel","L")}}function m(Ve,oe){1&Ve&&(u.TgZ(0,"span",35),u._uU(1,"QR Code Not Applicable"),u.qZA())}function h(Ve,oe){1&Ve&&u._UZ(0,"mat-divider",22),2&Ve&&u.Q6J("inset",!0)}function x(Ve,oe){1&Ve&&(u.ynx(0),u._uU(1," (zero amount) "),u.BQk())}function I(Ve,oe){1&Ve&&u._UZ(0,"span",41)}const R=function(){return[]};function g(Ve,oe){if(1&Ve&&(u.TgZ(0,"div",37)(1,"div",38)(2,"span",39),u._uU(3),u.ALo(4,"number"),u.qZA(),u.YNc(5,I,1,0,"span",40),u.qZA()()),2&Ve){const at=u.oxw(2);u.xp6(3),u.hij("",u.lcZ(4,2,null==at.invoice?null:at.invoice.amt_paid_sat)," Sats"),u.xp6(2),u.Q6J("ngForOf",u.DdM(4,R).constructor(35))}}function r(Ve,oe){if(1&Ve&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"number"),u.qZA()),2&Ve){const at=u.oxw(2);u.xp6(1),u.hij("",u.lcZ(2,1,null==at.invoice?null:at.invoice.amt_paid_sat)," Sats")}}function w(Ve,oe){if(1&Ve&&(u.ynx(0),u.YNc(1,g,6,5,"div",36),u.YNc(2,r,3,3,"div",21),u.BQk()),2&Ve){const at=u.oxw();u.xp6(1),u.Q6J("ngIf",at.flgInvoicePaid),u.xp6(1),u.Q6J("ngIf",!at.flgInvoicePaid)}}function V(Ve,oe){1&Ve&&(u.TgZ(0,"span"),u._uU(1,"-"),u.qZA())}function N(Ve,oe){1&Ve&&u._UZ(0,"mat-spinner",43),2&Ve&&u.Q6J("diameter",20)}function Y(Ve,oe){if(1&Ve&&(u.ynx(0),u.YNc(1,V,2,0,"span",21),u.YNc(2,N,1,1,"mat-spinner",42),u.BQk()),2&Ve){const at=u.oxw();u.xp6(1),u.Q6J("ngIf","OPEN"!==(null==at.invoice?null:at.invoice.state)||!at.flgVersionCompatible),u.xp6(1),u.Q6J("ngIf","OPEN"===(null==at.invoice?null:at.invoice.state)&&at.flgVersionCompatible)}}function Pe(Ve,oe){1&Ve&&u.GkF(0)}function Ce(Ve,oe){if(1&Ve&&(u.TgZ(0,"div"),u.YNc(1,Pe,1,0,"ng-container",44),u.qZA()),2&Ve){u.oxw();const at=u.MAs(79);u.xp6(1),u.Q6J("ngTemplateOutlet",at)}}function Xe(Ve,oe){if(1&Ve){const at=u.EpF();u.TgZ(0,"div",45)(1,"button",46),u.NdJ("click",function(){u.CHM(at);const it=u.oxw();return u.KtG(it.onScrollDown())}),u.TgZ(2,"mat-icon",47),u._uU(3,"arrow_downward"),u.qZA()()()}}function dt(Ve,oe){1&Ve&&(u.TgZ(0,"p"),u._uU(1,"Show Advanced"),u.qZA())}function Ke(Ve,oe){1&Ve&&(u.TgZ(0,"p"),u._uU(1,"Hide Advanced"),u.qZA())}function ge(Ve,oe){if(1&Ve){const at=u.EpF();u.TgZ(0,"button",48),u.NdJ("copied",function(it){u.CHM(at);const ii=u.oxw();return u.KtG(ii.onCopyPayment(it))}),u._uU(1),u.qZA()}if(2&Ve){const at=u.oxw();u.Q6J("payload",null==at.invoice?null:at.invoice.payment_request),u.xp6(1),u.Oqu(at.screenSize===at.screenSizeEnum.XS?"Copy Payment":"Copy Payment Request")}}function $e(Ve,oe){if(1&Ve){const at=u.EpF();u.TgZ(0,"button",49),u.NdJ("click",function(){u.CHM(at);const it=u.oxw();return u.KtG(it.onClose())}),u._uU(1,"OK"),u.qZA()}}const Oe=function(Ve){return{"mr-0":Ve}};function Me(Ve,oe){if(1&Ve&&u._UZ(0,"span",64),2&Ve){const at=u.oxw(4);u.Q6J("ngClass",u.VKq(1,Oe,at.screenSize===at.screenSizeEnum.XS))}}function De(Ve,oe){if(1&Ve&&u._UZ(0,"span",65),2&Ve){const at=u.oxw(4);u.Q6J("ngClass",u.VKq(1,Oe,at.screenSize===at.screenSizeEnum.XS))}}function Ue(Ve,oe){if(1&Ve&&u._UZ(0,"span",66),2&Ve){const at=u.oxw(4);u.Q6J("ngClass",u.VKq(1,Oe,at.screenSize===at.screenSizeEnum.XS))}}function ye(Ve,oe){if(1&Ve&&(u.TgZ(0,"div",53)(1,"div",58)(2,"span",59),u.YNc(3,Me,1,3,"span",60),u.YNc(4,De,1,3,"span",61),u.YNc(5,Ue,1,3,"span",62),u._uU(6),u.qZA(),u.TgZ(7,"span",63),u._uU(8),u.ALo(9,"number"),u.qZA()(),u._UZ(10,"mat-divider",22),u.qZA()),2&Ve){const at=oe.$implicit,qe=u.oxw(3);u.xp6(3),u.Q6J("ngIf","SETTLED"===at.state),u.xp6(1),u.Q6J("ngIf","ACCEPTED"===at.state),u.xp6(1),u.Q6J("ngIf","CANCELED"===at.state),u.xp6(1),u.hij(" ",at.chan_id," "),u.xp6(2),u.Oqu(u.xi3(9,6,+at.amt_msat/1e3||0,qe.getDecimalFormat(at))),u.xp6(2),u.Q6J("inset",!0)}}function we(Ve,oe){if(1&Ve){const at=u.EpF();u.TgZ(0,"div",17)(1,"mat-expansion-panel",51),u.NdJ("opened",function(){u.CHM(at);const it=u.oxw(2);return u.KtG(it.flgOpened=!0)})("closed",function(){u.CHM(at);const it=u.oxw(2);return u.KtG(it.onExpansionClosed())}),u.TgZ(2,"mat-expansion-panel-header")(3,"mat-panel-title")(4,"h4",52),u._uU(5,"HTLCs"),u.qZA()()(),u.TgZ(6,"div",53)(7,"div",54)(8,"span",55),u._uU(9,"Channel ID"),u.qZA(),u.TgZ(10,"span",56),u._uU(11,"Amount (Sats)"),u.qZA()(),u._UZ(12,"mat-divider",22),u.YNc(13,ye,11,9,"div",57),u.qZA()()()}if(2&Ve){const at=u.oxw(2);u.xp6(12),u.Q6J("inset",!0),u.xp6(1),u.Q6J("ngForOf",null==at.invoice?null:at.invoice.htlcs)}}function ie(Ve,oe){1&Ve&&u._UZ(0,"mat-divider",22),2&Ve&&u.Q6J("inset",!0)}function Se(Ve,oe){if(1&Ve&&(u._UZ(0,"mat-divider",22),u.TgZ(1,"div",17)(2,"div",23)(3,"h4",19),u._uU(4,"Preimage"),u.qZA(),u.TgZ(5,"span",24),u._uU(6),u.qZA()()(),u._UZ(7,"mat-divider",22),u.TgZ(8,"div",17)(9,"div",18)(10,"h4",19),u._uU(11,"State"),u.qZA(),u.TgZ(12,"span",24),u._uU(13),u.qZA()(),u.TgZ(14,"div",18)(15,"h4",19),u._uU(16,"Expiry"),u.qZA(),u.TgZ(17,"span",24),u._uU(18),u.ALo(19,"date"),u.qZA()()(),u._UZ(20,"mat-divider",22),u.TgZ(21,"div",17)(22,"div",18)(23,"h4",19),u._uU(24,"Private Routing Hints"),u.qZA(),u.TgZ(25,"span",24),u._uU(26),u.qZA()(),u.TgZ(27,"div",18)(28,"h4",19),u._uU(29,"AMP Invoice"),u.qZA(),u.TgZ(30,"span",24),u._uU(31),u.qZA()()(),u._UZ(32,"mat-divider",22),u.YNc(33,we,14,2,"div",50),u.YNc(34,ie,1,1,"mat-divider",14)),2&Ve){const at=u.oxw();u.Q6J("inset",!0),u.xp6(6),u.Oqu((null==at.invoice?null:at.invoice.r_preimage)||"-"),u.xp6(1),u.Q6J("inset",!0),u.xp6(6),u.Oqu(null==at.invoice?null:at.invoice.state),u.xp6(5),u.Oqu(u.xi3(19,11,1e3*(+(null==at.invoice?null:at.invoice.creation_date)+ +(null==at.invoice?null:at.invoice.expiry)),"dd/MMM/y HH:mm")),u.xp6(2),u.Q6J("inset",!0),u.xp6(6),u.Oqu(null!=at.invoice&&at.invoice.private?"Yes":"No"),u.xp6(5),u.Oqu(null!=at.invoice&&at.invoice.is_amp?"Yes":"No"),u.xp6(1),u.Q6J("inset",!0),u.xp6(1),u.Q6J("ngIf",(null==at.invoice?null:at.invoice.htlcs)&&(null==at.invoice?null:at.invoice.htlcs.length)>0),u.xp6(1),u.Q6J("ngIf",(null==at.invoice?null:at.invoice.htlcs)&&(null==at.invoice?null:at.invoice.htlcs.length)>0)}}const ne=function(Ve){return{"display-none":Ve}},K=function(Ve){return{"xs-scroll-y":Ve}},ee=function(Ve){return{"h-50":Ve}};class ze{constructor(oe,at,qe,it,ii,bt){this.dialogRef=oe,this.data=at,this.logger=qe,this.commonService=it,this.snackBar=ii,this.store=bt,this.faReceipt=t.dLy,this.showAdvanced=!1,this.newlyAdded=!1,this.invoice=null,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=l.cu,this.flgOpened=!1,this.flgInvoicePaid=!1,this.flgVersionCompatible=!0,this.unSubs=[new _.x,new _.x,new _.x,new _.x,new _.x]}set container(oe){oe&&(this.scrollContainer=oe)}ngOnInit(){this.invoice=JSON.parse(JSON.stringify(this.data.invoice)),this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===l.cu.XS&&(this.qrWidth=220),this.store.select(C.Q5).pipe((0,O.R)(this.unSubs[0])).subscribe(at=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(at.version,"0.11.0")});const oe=JSON.parse(JSON.stringify(this.invoice));this.store.select(C.Ef).pipe((0,O.R)(this.unSubs[1])).subscribe(at=>{const qe=this.invoice?.state,ii=(at.listInvoices.invoices||[]).find(bt=>bt.r_hash===oe.r_hash)||null;ii&&(this.invoice=ii),qe!==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(oe){this.snackBar.open("Payment request copied."),this.logger.info("Copied Text: "+oe)}getDecimalFormat(oe){return oe.amt_msat<1e3?"1.0-4":"1.0-0"}ngOnDestroy(){this.unSubs.forEach(oe=>{oe.next(null),oe.complete()})}}ze.\u0275fac=function(oe){return new(oe||ze)(u.Y36(e.so),u.Y36(e.WI),u.Y36(P.mQ),u.Y36(p.v),u.Y36(L.ux),u.Y36(D.yh))},ze.\u0275cmp=u.Xpm({type:ze,selectors:[["rtl-invoice-information"]],viewQuery:function(oe,at){if(1&oe&&u.Gf(fe,5),2&oe){let qe;u.iGM(qe=u.CRH())&&(at.container=qe.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(oe,at){if(1&oe&&(u.TgZ(0,"div",0)(1,"div",1),u.YNc(2,T,1,3,"qr-code",2),u.YNc(3,i,2,0,"span",3),u.qZA(),u.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),u._UZ(7,"fa-icon",7),u.TgZ(8,"span",8),u._uU(9),u.qZA()(),u.TgZ(10,"button",9),u.NdJ("click",function(){return at.onClose()}),u._uU(11,"X"),u.qZA()(),u.TgZ(12,"mat-card-content",10)(13,"div",11)(14,"div",12),u.YNc(15,o,1,3,"qr-code",2),u.YNc(16,m,2,0,"span",13),u.qZA(),u.YNc(17,h,1,1,"mat-divider",14),u.TgZ(18,"div",15,16)(20,"div",17)(21,"div",18)(22,"h4",19),u._uU(23),u.qZA(),u.TgZ(24,"span",20),u._uU(25),u.ALo(26,"number"),u.YNc(27,x,2,0,"ng-container",21),u.qZA()(),u.TgZ(28,"div",18)(29,"h4",19),u._uU(30,"Amount Settled"),u.qZA(),u.TgZ(31,"span",20),u.YNc(32,w,3,2,"ng-container",21),u.YNc(33,Y,3,2,"ng-container",21),u.qZA()()(),u._UZ(34,"mat-divider",22),u.TgZ(35,"div",17)(36,"div",18)(37,"h4",19),u._uU(38,"Date Created"),u.qZA(),u.TgZ(39,"span",20),u._uU(40),u.ALo(41,"date"),u.qZA()(),u.TgZ(42,"div",18)(43,"h4",19),u._uU(44,"Date Settled"),u.qZA(),u.TgZ(45,"span",20),u._uU(46),u.ALo(47,"date"),u.qZA()()(),u._UZ(48,"mat-divider",22),u.TgZ(49,"div",17)(50,"div",23)(51,"h4",19),u._uU(52,"Memo"),u.qZA(),u.TgZ(53,"span",20),u._uU(54),u.qZA()()(),u._UZ(55,"mat-divider",22),u.TgZ(56,"div",17)(57,"div",23)(58,"h4",19),u._uU(59,"Payment Request"),u.qZA(),u.TgZ(60,"span",24),u._uU(61),u.qZA()()(),u._UZ(62,"mat-divider",22),u.TgZ(63,"div",17)(64,"div",23)(65,"h4",19),u._uU(66,"Payment Hash"),u.qZA(),u.TgZ(67,"span",24),u._uU(68),u.qZA()()(),u.YNc(69,Ce,2,1,"div",21),u.qZA()()(),u.YNc(70,Xe,4,0,"div",25),u.TgZ(71,"div",26)(72,"button",27),u.NdJ("click",function(){return at.onShowAdvanced()}),u.YNc(73,dt,2,0,"p",28),u.YNc(74,Ke,2,0,"ng-template",null,29,u.W1O),u.qZA(),u.YNc(76,ge,2,2,"button",30),u.YNc(77,$e,2,0,"button",31),u.qZA()()(),u.YNc(78,Se,35,14,"ng-template",null,32,u.W1O)),2&oe){const qe=u.MAs(75);u.xp6(1),u.Q6J("fxLayoutAlign",null!=at.invoice&&at.invoice.payment_request&&""!==(null==at.invoice?null:at.invoice.payment_request)?"center start":"center center")("ngClass",u.VKq(41,ne,at.screenSize===at.screenSizeEnum.XS||at.screenSize===at.screenSizeEnum.SM)),u.xp6(1),u.Q6J("ngIf",(null==at.invoice?null:at.invoice.payment_request)&&""!==(null==at.invoice?null:at.invoice.payment_request)),u.xp6(1),u.Q6J("ngIf",!(null!=at.invoice&&at.invoice.payment_request)||""===(null==at.invoice?null:at.invoice.payment_request)),u.xp6(4),u.Q6J("icon",at.faReceipt),u.xp6(2),u.Oqu(at.screenSize===at.screenSizeEnum.XS?at.newlyAdded?"Created":"Invoice":at.newlyAdded?"Invoice Created":"Invoice Information"),u.xp6(3),u.Q6J("ngClass",u.VKq(43,K,at.screenSize===at.screenSizeEnum.XS)),u.xp6(2),u.Q6J("fxLayoutAlign",null!=at.invoice&&at.invoice.payment_request&&""!==(null==at.invoice?null:at.invoice.payment_request)?"center start":"center center")("ngClass",u.VKq(45,ne,at.screenSize!==at.screenSizeEnum.XS&&at.screenSize!==at.screenSizeEnum.SM)),u.xp6(1),u.Q6J("ngIf",(null==at.invoice?null:at.invoice.payment_request)&&""!==(null==at.invoice?null:at.invoice.payment_request)),u.xp6(1),u.Q6J("ngIf",!(null!=at.invoice&&at.invoice.payment_request)||""===(null==at.invoice?null:at.invoice.payment_request)),u.xp6(1),u.Q6J("ngIf",at.screenSize===at.screenSizeEnum.XS||at.screenSize===at.screenSizeEnum.SM),u.xp6(1),u.Q6J("ngClass",u.VKq(47,ee,(null==at.invoice?null:at.invoice.htlcs)&&(null==at.invoice?null:at.invoice.htlcs.length)>0&&at.showAdvanced)),u.xp6(5),u.Oqu(at.screenSize===at.screenSizeEnum.XS?"Amount":"Amount Requested"),u.xp6(2),u.hij("",u.lcZ(26,33,(null==at.invoice?null:at.invoice.value)||0)," Sats"),u.xp6(2),u.Q6J("ngIf",!(null!=at.invoice&&at.invoice.value)||"0"===(null==at.invoice?null:at.invoice.value)),u.xp6(5),u.Q6J("ngIf",(null==at.invoice?null:at.invoice.amt_paid_sat)&&"OPEN"!==(null==at.invoice?null:at.invoice.state)),u.xp6(1),u.Q6J("ngIf",!(null!=at.invoice&&at.invoice.amt_paid_sat)||"0"===(null==at.invoice?null:at.invoice.amt_paid_sat)),u.xp6(1),u.Q6J("inset",!0),u.xp6(6),u.Oqu(u.xi3(41,35,1e3*(null==at.invoice?null:at.invoice.creation_date),"dd/MMM/y HH:mm")),u.xp6(6),u.Oqu(0!=+(null==at.invoice?null:at.invoice.settle_date)?u.xi3(47,38,1e3*+(null==at.invoice?null:at.invoice.settle_date),"dd/MMM/y HH:mm"):"-"),u.xp6(2),u.Q6J("inset",!0),u.xp6(6),u.Oqu(null==at.invoice?null:at.invoice.memo),u.xp6(1),u.Q6J("inset",!0),u.xp6(6),u.Oqu((null==at.invoice?null:at.invoice.payment_request)||"N/A"),u.xp6(1),u.Q6J("inset",!0),u.xp6(6),u.Oqu((null==at.invoice?null:at.invoice.r_hash)||""),u.xp6(1),u.Q6J("ngIf",at.showAdvanced),u.xp6(1),u.Q6J("ngIf",(null==at.invoice?null:at.invoice.htlcs)&&(null==at.invoice?null:at.invoice.htlcs.length)>0&&at.showAdvanced&&at.flgOpened),u.xp6(3),u.Q6J("ngIf",!at.showAdvanced)("ngIfElse",qe),u.xp6(3),u.Q6J("ngIf",(null==at.invoice?null:at.invoice.payment_request)&&""!==(null==at.invoice?null:at.invoice.payment_request)),u.xp6(1),u.Q6J("ngIf",!(null!=at.invoice&&at.invoice.payment_request)||""===(null==at.invoice?null:at.invoice.payment_request))}},dependencies:[k.mk,k.sg,k.O5,k.tP,M.BN,z.xw,z.Wh,z.yH,A.oO,W.lW,W.nh,Z.dn,Z.dk,X.ib,X.yz,X.yK,$.Hw,ae.d,he.Ou,se.gM,pe.uU,le.y,re.h,k.JJ,k.uU]})},7772:(Ye,J,f)=>{"use strict";f.d(J,{J:()=>_,_:()=>t});var e=f(4851);const t=[(0,e.X$)("opacityAnimation",[(0,e.eR)(":enter",[(0,e.oB)({opacity:0}),(0,e.jt)("1000ms ease-in",(0,e.oB)({opacity:1}))]),(0,e.eR)(":leave",[(0,e.jt)("0ms",(0,e.oB)({opacity:0}))])])],_=[(0,e.X$)("fadeIn",[(0,e.eR)("void => *",[]),(0,e.eR)("* => void",[]),(0,e.eR)("* => *",[(0,e.jt)(800,(0,e.F4)([(0,e.oB)({opacity:0,transform:"translateY(100%)"}),(0,e.oB)({opacity:1,transform:"translateY(0%)"})]))])])]},8878:(Ye,J,f)=>{"use strict";f.d(J,{g:()=>t});var e=f(4851);const t=(0,e.X$)("routeAnimation",[(0,e.eR)("* => *",[(0,e.IO)(":enter, :leave",(0,e.oB)({position:"fixed",width:"100%"}),{optional:!0}),(0,e.ru)([(0,e.IO)(":enter",[(0,e.oB)({transform:"translateX(100%)"}),(0,e.jt)("1000ms ease-in-out",(0,e.oB)({transform:"translateX(0%)"}))],{optional:!0}),(0,e.IO)(":leave",[(0,e.oB)({transform:"translateX(0%)"}),(0,e.jt)("1000ms ease-in-out",(0,e.oB)({transform:"translateX(-100%)"}))],{optional:!0})])])])},113:(Ye,J,f)=>{"use strict";f.d(J,{l:()=>t});var e=f(4851);const t=[(0,e.X$)("sliderAnimation",[(0,e.SB)("*",(0,e.oB)({transform:"translateX(0)"})),(0,e.eR)("void => backward",[(0,e.oB)({transform:"translateX(-100%"}),(0,e.jt)("800ms")]),(0,e.eR)("backward => void",[(0,e.jt)("0ms",(0,e.oB)({transform:"translateX(100%)"}))]),(0,e.eR)("void => forward",[(0,e.oB)({transform:"translateX(100%"}),(0,e.jt)("800ms")]),(0,e.eR)("forward => void",[(0,e.jt)("0ms",(0,e.oB)({transform:"translateX(-100%)"}))])])]},1786:(Ye,J,f)=>{"use strict";f.d(J,{H:()=>D});var e=f(4481),t=f(2560),_=f(5043),O=f(4666),l=f(6722),C=f(4522),u=f(2156),P=f(1528),p=f(3390);function L(k,M){if(1&k&&(t.TgZ(0,"p",14),t._uU(1),t.qZA()),2&k){const z=t.oxw();t.xp6(1),t.Oqu(z.data.titleMessage)}}class D{constructor(M,z,A){this.dialogRef=M,this.data=z,this.logger=A,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)}}D.\u0275fac=function(M){return new(M||D)(t.Y36(e.so),t.Y36(e.WI),t.Y36(_.mQ))},D.\u0275cmp=t.Xpm({type:D,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(M,z){1&M&&(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 z.onClose()}),t._uU(7,"X"),t.qZA()(),t.TgZ(8,"mat-card-content",6)(9,"div",7),t.YNc(10,L,2,1,"p",8),t.TgZ(11,"h4",9),t._uU(12,"Error Code"),t.qZA(),t.TgZ(13,"span"),t._uU(14),t.qZA(),t._UZ(15,"mat-divider",10),t.TgZ(16,"h4",9),t._uU(17,"Error Message"),t.qZA(),t.TgZ(18,"span",11),t._uU(19),t.qZA(),t._UZ(20,"mat-divider",10),t.TgZ(21,"h4",9),t._uU(22,"API URL"),t.qZA(),t.TgZ(23,"span",11),t._uU(24),t.qZA(),t._UZ(25,"mat-divider",10),t.TgZ(26,"div",12)(27,"button",13),t._uU(28,"OK"),t.qZA()()()()()()),2&M&&(t.xp6(5),t.Oqu(z.data.alertTitle||"ERROR"),t.xp6(5),t.Q6J("ngIf",z.data.titleMessage),t.xp6(4),t.Oqu(z.data.message.code),t.xp6(5),t.Oqu(z.errorMessage),t.xp6(5),t.Oqu(z.data.message.URL),t.xp6(3),t.Q6J("mat-dialog-close",!1))},dependencies:[O.O5,l.xw,l.Wh,l.yH,e.ZT,C.lW,u.dn,u.dk,P.d,p.h],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]})},2615:(Ye,J,f)=>{"use strict";f.d(J,{a:()=>zi});var e=f(2508),t=f(253),_=f(8951),O=f(4481),l=f(9306),C=f(7772),u=f(7731),P=f(6529),p=f(2560),L=f(9263),D=f(1419),k=f(4666),M=f(5043),z=f(3547),A=f(62),W=f(6722),Z=f(3704),X=f(4522),$=f(2156),ae=f(3012),he=f(7822),se=f(1267),pe=f(5074),le=f(1294),re=f(2922),fe=f(4714),T=f(6896),i=f(4193),o=f(3390),m=f(1528);function h(xt,Qe){1&xt&&p.GkF(0)}function x(xt,Qe){1&xt&&p.GkF(0)}const I=function(xt){return{"h-5":xt}};function R(xt,Qe){if(1&xt&&(p.TgZ(0,"mat-expansion-panel",3)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",4),p._uU(4),p.ALo(5,"number"),p.qZA()()(),p.YNc(6,x,1,0,"ng-container",0),p.qZA()),2&xt){const Fe=p.oxw(),Wt=p.MAs(4);p.Q6J("expanded",Fe.panelExpanded)("ngClass",p.VKq(7,I,!Fe.flgShowPanel)),p.xp6(4),p.AsE("Quote for ",Fe.termCaption," amount (",p.lcZ(5,5,Fe.quote.amount)," Sats)"),p.xp6(2),p.Q6J("ngTemplateOutlet",Wt)}}function g(xt,Qe){if(1&xt&&(p.TgZ(0,"div",19)(1,"h4",8),p._uU(2," Prepay Amount (Sats) "),p.TgZ(3,"mat-icon",20),p._uU(4,"info_outline"),p.qZA()(),p.TgZ(5,"span",10),p._uU(6),p.ALo(7,"number"),p.qZA()()),2&xt){const Fe=p.oxw(2);p.xp6(6),p.Oqu(p.lcZ(7,1,null==Fe.quote?null:Fe.quote.prepay_amt_sat))}}function r(xt,Qe){1&xt&&p._UZ(0,"mat-divider",13)}function w(xt,Qe){if(1&xt&&(p.TgZ(0,"div",6)(1,"div",21)(2,"h4",8),p._uU(3," Swap Server Node Pubkey "),p.TgZ(4,"mat-icon",22),p._uU(5,"info_outline"),p.qZA()(),p.TgZ(6,"span",10),p._uU(7),p.qZA()()()),2&xt){const Fe=p.oxw(2);p.xp6(7),p.Oqu(null==Fe.quote?null:Fe.quote.swap_payment_dest)}}function V(xt,Qe){if(1&xt&&(p.TgZ(0,"div",5)(1,"div",6)(2,"div",7)(3,"h4",8),p._uU(4," Swap Fee (Sats) "),p.TgZ(5,"mat-icon",9),p._uU(6,"info_outline"),p.qZA()(),p.TgZ(7,"span",10),p._uU(8),p.ALo(9,"number"),p.qZA()(),p.TgZ(10,"div",7)(11,"h4",8),p._uU(12),p.TgZ(13,"mat-icon",11),p._uU(14,"info_outline"),p.qZA()(),p.TgZ(15,"span",10),p._uU(16),p.ALo(17,"number"),p.qZA()(),p.YNc(18,g,8,3,"div",12),p.qZA(),p._UZ(19,"mat-divider",13),p.TgZ(20,"div",6)(21,"div",14)(22,"h4",8),p._uU(23," Max Off-chain Swap Routing Fee (Sats) "),p.TgZ(24,"mat-icon",15),p._uU(25,"info_outline"),p.qZA()(),p.TgZ(26,"span",10),p._uU(27),p.ALo(28,"number"),p.qZA()(),p.TgZ(29,"div",14)(30,"h4",8),p._uU(31," Max Off-chain Prepay Routing Fee (Sats) "),p.TgZ(32,"mat-icon",16),p._uU(33,"info_outline"),p.qZA()(),p.TgZ(34,"span",10),p._uU(35,"36"),p.qZA()()(),p.YNc(36,r,1,0,"mat-divider",17),p.YNc(37,w,8,1,"div",18),p.qZA()),2&xt){const Fe=p.oxw();p.xp6(2),p.Q6J("fxFlex",null!=Fe.quote&&Fe.quote.prepay_amt_sat?"30":"50"),p.xp6(6),p.Oqu(p.lcZ(9,9,null==Fe.quote?null:Fe.quote.swap_fee_sat)),p.xp6(2),p.Q6J("fxFlex",null!=Fe.quote&&Fe.quote.prepay_amt_sat?"35":"50"),p.xp6(2),p.hij(" ",null!=Fe.quote&&Fe.quote.htlc_sweep_fee_sat?"HTLC Sweep Fee (Sats)":null!=Fe.quote&&Fe.quote.htlc_publish_fee_sat?"HTLC Publish Fee (Sats)":""," "),p.xp6(4),p.Oqu(p.lcZ(17,11,null!=Fe.quote&&Fe.quote.htlc_sweep_fee_sat?Fe.quote.htlc_sweep_fee_sat:null!=Fe.quote&&Fe.quote.htlc_publish_fee_sat?Fe.quote.htlc_publish_fee_sat:0)),p.xp6(2),p.Q6J("ngIf",null==Fe.quote?null:Fe.quote.prepay_amt_sat),p.xp6(9),p.Oqu(p.lcZ(28,13,(null==Fe.quote?null:Fe.quote.amount)*((null!=Fe.quote&&Fe.quote.off_chain_swap_routing_fee_percentage?null==Fe.quote?null:Fe.quote.off_chain_swap_routing_fee_percentage:2)/100))),p.xp6(9),p.Q6J("ngIf",""!==(null==Fe.quote?null:Fe.quote.swap_payment_dest)),p.xp6(1),p.Q6J("ngIf",""!==(null==Fe.quote?null:Fe.quote.swap_payment_dest))}}class N{constructor(){this.quote={},this.termCaption="",this.showPanel=!0,this.panelExpanded=!1,this.flgShowPanel=!1}ngOnInit(){setTimeout(()=>{this.flgShowPanel=!0},1200)}}function Y(xt,Qe){1&xt&&p.GkF(0)}function Pe(xt,Qe){if(1&xt&&(p.TgZ(0,"div",3)(1,"span",4),p._uU(2),p.qZA()()),2&xt){const Fe=p.oxw();p.xp6(2),p.Oqu(null!=Fe.loopStatus&&Fe.loopStatus.error?null==Fe.loopStatus?null:Fe.loopStatus.error:"Unknown Error.")}}function Ce(xt,Qe){if(1&xt&&(p.TgZ(0,"div",3)(1,"div",5)(2,"div",6)(3,"h4",7),p._uU(4,"ID"),p.qZA(),p.TgZ(5,"span",4),p._uU(6),p.qZA()()(),p._UZ(7,"mat-divider",8),p.TgZ(8,"div",5)(9,"div",6)(10,"h4",7),p._uU(11,"HTLC Address"),p.qZA(),p.TgZ(12,"span",4),p._uU(13),p.qZA()()()()),2&xt){const Fe=p.oxw();p.xp6(6),p.Oqu(null==Fe.loopStatus?null:Fe.loopStatus.id_bytes),p.xp6(7),p.Oqu(null==Fe.loopStatus?null:Fe.loopStatus.htlc_address)}}N.\u0275fac=function(Qe){return new(Qe||N)},N.\u0275cmp=p.Xpm({type:N,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(Qe,Fe){if(1&Qe&&(p.YNc(0,h,1,0,"ng-container",0),p.YNc(1,R,7,9,"ng-template",null,1,p.W1O),p.YNc(3,V,38,15,"ng-template",null,2,p.W1O)),2&Qe){const Wt=p.MAs(2),Xt=p.MAs(4);p.Q6J("ngTemplateOutlet",Fe.showPanel?Wt:Xt)}},dependencies:[k.mk,k.O5,k.tP,W.xw,W.Wh,W.yH,Z.oO,ae.ib,ae.yz,ae.yK,he.Hw,m.d,T.gM,k.JJ]});class Xe{constructor(){}}Xe.\u0275fac=function(Qe){return new(Qe||Xe)},Xe.\u0275cmp=p.Xpm({type:Xe,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(Qe,Fe){if(1&Qe&&(p.YNc(0,Y,1,0,"ng-container",0),p.YNc(1,Pe,3,1,"ng-template",null,1,p.W1O),p.YNc(3,Ce,14,2,"ng-template",null,2,p.W1O)),2&Qe){const Wt=p.MAs(2),Xt=p.MAs(4);p.Q6J("ngTemplateOutlet",null!=Fe.loopStatus&&Fe.loopStatus.error?Wt:Xt)}},dependencies:[k.tP,W.xw,W.Wh,W.yH,m.d]});var dt=f(113);function Ke(xt,Qe){1&xt&&p.GkF(0)}const ge=function(xt,Qe){return{"small-svg":xt,"large-svg":Qe}};function $e(xt,Qe){if(1&xt){const Fe=p.EpF();p.TgZ(0,"div",6),p.NdJ("swipe",function(Xt){p.CHM(Fe);const _i=p.oxw();return p.KtG(_i.onSwipe(Xt))}),p.O4$(),p.TgZ(1,"svg",7)(2,"desc"),p._uU(3,"Created with Sketch."),p.qZA(),p.TgZ(4,"g",8)(5,"g",9)(6,"g",10)(7,"g",11),p._UZ(8,"circle",12)(9,"path",13),p.qZA(),p.TgZ(10,"g",14),p._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),p.qZA()()()()(),p.kcU(),p.TgZ(26,"div",30)(27,"mat-card-title"),p._uU(28,"Loop In explained."),p.qZA()(),p.TgZ(29,"div",31)(30,"mat-card-subtitle",32),p._uU(31," Lightning Loop is a non custodial service offered by Lightning Labs to bridge on-chain and off-chain Bitcoin using Submarine swaps. "),p.qZA()()()}if(2&xt){const Fe=p.oxw();p.Q6J("@sliderAnimation",Fe.animationDirection),p.xp6(1),p.Q6J("ngClass",p.WLB(2,ge,Fe.screenSize===Fe.screenSizeEnum.XS,Fe.screenSize!==Fe.screenSizeEnum.XS))}}function Oe(xt,Qe){if(1&xt){const Fe=p.EpF();p.TgZ(0,"div",6),p.NdJ("swipe",function(Xt){p.CHM(Fe);const _i=p.oxw();return p.KtG(_i.onSwipe(Xt))}),p.O4$(),p.TgZ(1,"svg",33)(2,"desc"),p._uU(3,"Created with Sketch."),p.qZA(),p.TgZ(4,"defs")(5,"linearGradient",34),p._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),p.qZA()(),p.TgZ(9,"g",8)(10,"g",38)(11,"g",39)(12,"g",40),p._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),p.qZA(),p.TgZ(28,"g",56)(29,"g",57)(30,"g",58),p._UZ(31,"path",59)(32,"rect",60)(33,"polygon",61),p.TgZ(34,"g",62),p._UZ(35,"path",63),p.qZA(),p._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),p.qZA(),p.TgZ(45,"g",73),p._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),p.qZA(),p._UZ(59,"path",87),p.qZA()()()()()(),p.kcU(),p.TgZ(60,"div",30)(61,"mat-card-title"),p._uU(62,"Step 1: Deciding to Loop In"),p.qZA()(),p.TgZ(63,"div",31)(64,"mat-card-subtitle",32),p._uU(65," Your outgoing capacity is depleted and you want to regain it without opening new channels. "),p.qZA()()()}if(2&xt){const Fe=p.oxw();p.Q6J("@sliderAnimation",Fe.animationDirection),p.xp6(1),p.Q6J("ngClass",p.WLB(2,ge,Fe.screenSize===Fe.screenSizeEnum.XS,Fe.screenSize!==Fe.screenSizeEnum.XS))}}function Me(xt,Qe){if(1&xt){const Fe=p.EpF();p.TgZ(0,"div",6),p.NdJ("swipe",function(Xt){p.CHM(Fe);const _i=p.oxw();return p.KtG(_i.onSwipe(Xt))}),p.O4$(),p.TgZ(1,"svg",88)(2,"desc"),p._uU(3,"Created with Sketch."),p.qZA(),p.TgZ(4,"defs")(5,"linearGradient",89),p._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),p.qZA()(),p.TgZ(9,"g",90)(10,"g",91)(11,"g",92)(12,"g",93)(13,"g",94),p._UZ(14,"circle",95)(15,"path",96),p.TgZ(16,"g",97),p._UZ(17,"polygon",98)(18,"polygon",99)(19,"path",100),p.qZA(),p.TgZ(20,"g",101),p._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),p.TgZ(31,"g",112)(32,"g",113),p._UZ(33,"g",114),p.qZA(),p._UZ(34,"g",115),p.qZA()()(),p.TgZ(35,"g",116)(36,"g",40),p._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),p.qZA(),p.TgZ(53,"g",56)(54,"g",57)(55,"g",58),p._UZ(56,"path",59)(57,"rect",60)(58,"polygon",61),p.TgZ(59,"g",122),p._UZ(60,"path",63),p.qZA(),p._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),p.qZA(),p.TgZ(70,"g",73),p._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),p.qZA(),p._UZ(84,"path",139),p.qZA()()()(),p._UZ(85,"path",140)(86,"path",141),p.qZA()()()(),p.kcU(),p.TgZ(87,"div",30)(88,"mat-card-title"),p._uU(89,"Step 2: Send payment out"),p.qZA()(),p.TgZ(90,"div",31)(91,"mat-card-subtitle",32),p._uU(92," Your node sends funds on-chain to loop server to be swapped with off-chain liquidity. "),p.qZA()()()}if(2&xt){const Fe=p.oxw();p.Q6J("@sliderAnimation",Fe.animationDirection),p.xp6(1),p.Q6J("ngClass",p.WLB(2,ge,Fe.screenSize===Fe.screenSizeEnum.XS,Fe.screenSize!==Fe.screenSizeEnum.XS))}}function De(xt,Qe){if(1&xt){const Fe=p.EpF();p.TgZ(0,"div",6),p.NdJ("swipe",function(Xt){p.CHM(Fe);const _i=p.oxw();return p.KtG(_i.onSwipe(Xt))}),p.O4$(),p.TgZ(1,"svg",142)(2,"desc"),p._uU(3,"Created with Sketch."),p.qZA(),p.TgZ(4,"g",90)(5,"g",143)(6,"g",144)(7,"g")(8,"g",145)(9,"g",146),p._UZ(10,"circle",12)(11,"path",147),p.qZA(),p.TgZ(12,"g",14),p._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),p.qZA()(),p.TgZ(28,"g",149),p._UZ(29,"polygon",150)(30,"polygon",99)(31,"path",151),p.qZA(),p.TgZ(32,"g",152),p._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),p.TgZ(43,"g",112)(44,"g",113),p._UZ(45,"g",114),p.qZA(),p._UZ(46,"g",115),p.qZA()()(),p._UZ(47,"path",153),p.qZA()()()(),p.kcU(),p.TgZ(48,"div",30)(49,"mat-card-title"),p._uU(50,"Step 3: Recieve Funds Off-chain"),p.qZA()(),p.TgZ(51,"div",31)(52,"mat-card-subtitle",32),p._uU(53," Loop server sends equivalent funds off-chain to your node by making a lightning payment to you. "),p.qZA()()()}if(2&xt){const Fe=p.oxw();p.Q6J("@sliderAnimation",Fe.animationDirection),p.xp6(1),p.Q6J("ngClass",p.WLB(2,ge,Fe.screenSize===Fe.screenSizeEnum.XS,Fe.screenSize!==Fe.screenSizeEnum.XS))}}function Ue(xt,Qe){if(1&xt){const Fe=p.EpF();p.TgZ(0,"div",6),p.NdJ("swipe",function(Xt){p.CHM(Fe);const _i=p.oxw();return p.KtG(_i.onSwipe(Xt))}),p.O4$(),p.TgZ(1,"svg",154)(2,"desc"),p._uU(3,"Created with Sketch."),p.qZA(),p.TgZ(4,"defs")(5,"linearGradient",34),p._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),p.qZA()(),p.TgZ(9,"g",90)(10,"g",155)(11,"g",156)(12,"g",157)(13,"g",158)(14,"g",40),p._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),p.qZA(),p.TgZ(28,"g",172),p._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),p.qZA(),p._UZ(43,"path",187),p.qZA()(),p._UZ(44,"circle",188),p.qZA()()()(),p.kcU(),p.TgZ(45,"div",30)(46,"mat-card-title"),p._uU(47,"Done!"),p.qZA()(),p.TgZ(48,"div",31)(49,"mat-card-subtitle",32),p._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. "),p.qZA()()()}if(2&xt){const Fe=p.oxw();p.Q6J("@sliderAnimation",Fe.animationDirection),p.xp6(1),p.Q6J("ngClass",p.WLB(2,ge,Fe.screenSize===Fe.screenSizeEnum.XS,Fe.screenSize!==Fe.screenSizeEnum.XS))}}class ye{constructor(Qe){this.commonService=Qe,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new p.vpe,this.screenSize="",this.screenSizeEnum=u.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(Qe){2===Qe.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===Qe.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}}function we(xt,Qe){1&xt&&p.GkF(0)}ye.\u0275fac=function(Qe){return new(Qe||ye)(p.Y36(A.v))},ye.\u0275cmp=p.Xpm({type:ye,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(Qe,Fe){if(1&Qe&&(p.YNc(0,Ke,1,0,"ng-container",0),p.YNc(1,$e,32,5,"ng-template",null,1,p.W1O),p.YNc(3,Oe,66,5,"ng-template",null,2,p.W1O),p.YNc(5,Me,93,5,"ng-template",null,3,p.W1O),p.YNc(7,De,54,5,"ng-template",null,4,p.W1O),p.YNc(9,Ue,51,5,"ng-template",null,5,p.W1O)),2&Qe){const Wt=p.MAs(2),Xt=p.MAs(4),_i=p.MAs(6),Oi=p.MAs(8),ki=p.MAs(10);p.Q6J("ngTemplateOutlet",1===Fe.stepNumber?Wt:2===Fe.stepNumber?Xt:3===Fe.stepNumber?_i:4===Fe.stepNumber?Oi:ki)}},dependencies:[k.mk,k.tP,W.xw,W.Wh,W.yH,Z.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:[dt.l]}});const ie=function(xt,Qe){return{"small-svg":xt,"large-svg":Qe}};function Se(xt,Qe){if(1&xt){const Fe=p.EpF();p.TgZ(0,"div",6),p.NdJ("swipe",function(Xt){p.CHM(Fe);const _i=p.oxw();return p.KtG(_i.onSwipe(Xt))}),p.O4$(),p.TgZ(1,"svg",7)(2,"desc"),p._uU(3,"Created with Sketch."),p.qZA(),p.TgZ(4,"g",8)(5,"g",9)(6,"g",10)(7,"g",11),p._UZ(8,"circle",12)(9,"path",13),p.qZA(),p.TgZ(10,"g",14),p._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),p.qZA()()()()(),p.kcU(),p.TgZ(26,"div",30)(27,"mat-card-title"),p._uU(28,"Loop Out explained."),p.qZA()(),p.TgZ(29,"div",31)(30,"mat-card-subtitle",32),p._uU(31," Lightning Loop is a non custodial service offered by Lightning Labs to bridge on-chain and off-chain Bitcoin using Submarine swaps. "),p.qZA()()()}if(2&xt){const Fe=p.oxw();p.Q6J("@sliderAnimation",Fe.animationDirection),p.xp6(1),p.Q6J("ngClass",p.WLB(2,ie,Fe.screenSize===Fe.screenSizeEnum.XS,Fe.screenSize!==Fe.screenSizeEnum.XS))}}function ne(xt,Qe){if(1&xt){const Fe=p.EpF();p.TgZ(0,"div",6),p.NdJ("swipe",function(Xt){p.CHM(Fe);const _i=p.oxw();return p.KtG(_i.onSwipe(Xt))}),p.O4$(),p.TgZ(1,"svg",33)(2,"desc"),p._uU(3,"Created with Sketch."),p.qZA(),p.TgZ(4,"defs")(5,"linearGradient",34),p._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),p.qZA()(),p.TgZ(9,"g",8)(10,"g",38)(11,"g",39)(12,"g",40)(13,"g",41)(14,"g",42),p._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),p.qZA(),p.TgZ(28,"g",56),p._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),p.qZA(),p._UZ(43,"path",71),p.qZA()(),p._UZ(44,"circle",72),p.qZA()()()(),p.kcU(),p.TgZ(45,"div",30)(46,"mat-card-title"),p._uU(47,"Step 1: Deciding to Loop Out"),p.qZA()(),p.TgZ(48,"div",31)(49,"mat-card-subtitle",32),p._uU(50," You have a channel with a local balance amount and you want to gain inbound liquidity. "),p.qZA()()()}if(2&xt){const Fe=p.oxw();p.Q6J("@sliderAnimation",Fe.animationDirection),p.xp6(1),p.Q6J("ngClass",p.WLB(2,ie,Fe.screenSize===Fe.screenSizeEnum.XS,Fe.screenSize!==Fe.screenSizeEnum.XS))}}function K(xt,Qe){if(1&xt){const Fe=p.EpF();p.TgZ(0,"div",6),p.NdJ("swipe",function(Xt){p.CHM(Fe);const _i=p.oxw();return p.KtG(_i.onSwipe(Xt))}),p.O4$(),p.TgZ(1,"svg",73)(2,"desc"),p._uU(3,"Created with Sketch."),p.qZA(),p.TgZ(4,"defs")(5,"linearGradient",74),p._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),p.qZA()(),p.TgZ(9,"g",8)(10,"g",75)(11,"g",76),p._UZ(12,"circle",77)(13,"path",78),p.TgZ(14,"g",79),p._UZ(15,"polygon",80)(16,"polygon",81)(17,"path",82),p.qZA(),p.TgZ(18,"g",83),p._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),p.TgZ(29,"g",94)(30,"g",95),p._UZ(31,"g",96),p.qZA(),p._UZ(32,"g",97),p.qZA(),p._UZ(33,"path",98),p.qZA(),p.TgZ(34,"g",99)(35,"g",41)(36,"g",42),p._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),p.qZA(),p.TgZ(52,"g",56),p._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),p.qZA(),p._UZ(67,"path",111),p.qZA()()()()()(),p.kcU(),p.TgZ(68,"div",30)(69,"mat-card-title"),p._uU(70,"Step 2: Send lightning payment"),p.qZA()(),p.TgZ(71,"div",31)(72,"mat-card-subtitle",32),p._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. "),p.qZA()()()}if(2&xt){const Fe=p.oxw();p.Q6J("@sliderAnimation",Fe.animationDirection),p.xp6(1),p.Q6J("ngClass",p.WLB(2,ie,Fe.screenSize===Fe.screenSizeEnum.XS,Fe.screenSize!==Fe.screenSizeEnum.XS))}}function ee(xt,Qe){if(1&xt){const Fe=p.EpF();p.TgZ(0,"div",6),p.NdJ("swipe",function(Xt){p.CHM(Fe);const _i=p.oxw();return p.KtG(_i.onSwipe(Xt))}),p.O4$(),p.TgZ(1,"svg",112)(2,"desc"),p._uU(3,"Created with Sketch."),p.qZA(),p.TgZ(4,"g",8)(5,"g",113)(6,"g",114)(7,"g",115)(8,"g",116),p._UZ(9,"circle",12)(10,"path",117),p.qZA(),p.TgZ(11,"g",14),p._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),p.qZA()(),p.TgZ(27,"g",119),p._UZ(28,"polygon",80)(29,"polygon",120)(30,"path",82),p.qZA(),p.TgZ(31,"g",121),p._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),p.TgZ(42,"g",94)(43,"g",95),p._UZ(44,"g",96),p.qZA(),p._UZ(45,"g",97),p.qZA(),p._UZ(46,"path",123),p.qZA()()()()(),p.kcU(),p.TgZ(47,"div",30)(48,"mat-card-title"),p._uU(49,"Step 3: Receive funds back"),p.qZA()(),p.TgZ(50,"div",31)(51,"mat-card-subtitle",32),p._uU(52," Loop service then sends you a payment on-chain for the amount same as the lightning payment minus the fee. "),p.qZA()()()}if(2&xt){const Fe=p.oxw();p.Q6J("@sliderAnimation",Fe.animationDirection),p.xp6(1),p.Q6J("ngClass",p.WLB(2,ie,Fe.screenSize===Fe.screenSizeEnum.XS,Fe.screenSize!==Fe.screenSizeEnum.XS))}}function ze(xt,Qe){if(1&xt){const Fe=p.EpF();p.TgZ(0,"div",6),p.NdJ("swipe",function(Xt){p.CHM(Fe);const _i=p.oxw();return p.KtG(_i.onSwipe(Xt))}),p.O4$(),p.TgZ(1,"svg",124)(2,"desc"),p._uU(3,"Created with Sketch."),p.qZA(),p.TgZ(4,"defs")(5,"linearGradient",34),p._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),p.qZA()(),p.TgZ(9,"g",8)(10,"g",125)(11,"g",126)(12,"g",42),p._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),p.qZA(),p.TgZ(28,"g",142)(29,"g",143)(30,"g",144),p._UZ(31,"path",145)(32,"rect",146)(33,"polygon",147),p.TgZ(34,"g",148),p._UZ(35,"path",149),p.qZA(),p._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),p.qZA(),p.TgZ(45,"g",159),p._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),p.qZA(),p._UZ(59,"path",173),p.qZA()()()()()(),p.kcU(),p.TgZ(60,"div",30)(61,"mat-card-title"),p._uU(62,"Done!"),p.qZA()(),p.TgZ(63,"div",31)(64,"mat-card-subtitle",32),p._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. "),p.qZA()()()}if(2&xt){const Fe=p.oxw();p.Q6J("@sliderAnimation",Fe.animationDirection),p.xp6(1),p.Q6J("ngClass",p.WLB(2,ie,Fe.screenSize===Fe.screenSizeEnum.XS,Fe.screenSize!==Fe.screenSizeEnum.XS))}}class Ve{constructor(Qe){this.commonService=Qe,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new p.vpe,this.screenSize="",this.screenSizeEnum=u.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(Qe){2===Qe.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===Qe.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}}Ve.\u0275fac=function(Qe){return new(Qe||Ve)(p.Y36(A.v))},Ve.\u0275cmp=p.Xpm({type:Ve,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(Qe,Fe){if(1&Qe&&(p.YNc(0,we,1,0,"ng-container",0),p.YNc(1,Se,32,5,"ng-template",null,1,p.W1O),p.YNc(3,ne,51,5,"ng-template",null,2,p.W1O),p.YNc(5,K,74,5,"ng-template",null,3,p.W1O),p.YNc(7,ee,53,5,"ng-template",null,4,p.W1O),p.YNc(9,ze,66,5,"ng-template",null,5,p.W1O)),2&Qe){const Wt=p.MAs(2),Xt=p.MAs(4),_i=p.MAs(6),Oi=p.MAs(8),ki=p.MAs(10);p.Q6J("ngTemplateOutlet",1===Fe.stepNumber?Wt:2===Fe.stepNumber?Xt:3===Fe.stepNumber?_i:4===Fe.stepNumber?Oi:ki)}},dependencies:[k.mk,k.tP,W.xw,W.Wh,W.yH,Z.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:[dt.l]}});const oe=["stepper"];function at(xt,Qe){if(1&xt&&(p.TgZ(0,"div",48)(1,"p",49)(2,"strong"),p._uU(3,"Channel Peer:\xa0"),p.qZA(),p._uU(4),p.ALo(5,"titlecase"),p.qZA(),p.TgZ(6,"p",50)(7,"strong"),p._uU(8,"Channel ID:\xa0"),p.qZA(),p._uU(9),p.qZA(),p._UZ(10,"p",50),p.qZA()),2&xt){const Fe=p.oxw(2);p.xp6(4),p.Oqu(p.lcZ(5,2,Fe.channel.remote_alias)),p.xp6(5),p.Oqu(Fe.channel.chan_id)}}function qe(xt,Qe){if(1&xt&&p._uU(0),2&xt){const Fe=p.oxw(2);p.Oqu(Fe.inputFormLabel)}}function it(xt,Qe){1&xt&&(p.TgZ(0,"mat-error"),p._uU(1,"Amount is required."),p.qZA())}function ii(xt,Qe){if(1&xt&&(p.TgZ(0,"mat-error"),p._uU(1),p.ALo(2,"number"),p.qZA()),2&xt){const Fe=p.oxw(2);p.xp6(1),p.hij("Amount must be greater than or equal to ",p.lcZ(2,1,Fe.minQuote.amount),".")}}function bt(xt,Qe){if(1&xt&&(p.TgZ(0,"mat-error"),p._uU(1),p.ALo(2,"number"),p.qZA()),2&xt){const Fe=p.oxw(2);p.xp6(1),p.hij("Amount must be less than or equal to ",p.lcZ(2,1,Fe.maxQuote.amount),".")}}function st(xt,Qe){1&xt&&(p.TgZ(0,"mat-error"),p._uU(1,"Confirmation target is required."),p.qZA())}function Be(xt,Qe){1&xt&&(p.TgZ(0,"mat-error"),p._uU(1,"Confirmation target must be a positive number."),p.qZA())}function rt(xt,Qe){1&xt&&(p.TgZ(0,"mat-error"),p._uU(1,"Percentage is required."),p.qZA())}function Ot(xt,Qe){1&xt&&(p.TgZ(0,"mat-error"),p._uU(1,"Percentage must be a positive number."),p.qZA())}function Gt(xt,Qe){if(1&xt&&(p.TgZ(0,"mat-form-field",50)(1,"mat-label"),p._uU(2,"Max Off-chain Routing Fee (%)"),p.qZA(),p._UZ(3,"input",51),p.YNc(4,rt,2,0,"mat-error",25),p.YNc(5,Ot,2,0,"mat-error",25),p.qZA()),2&xt){const Fe=p.oxw(2);p.xp6(3),p.Q6J("step",1),p.xp6(1),p.Q6J("ngIf",null==Fe.inputFormGroup.controls.routingFeePercent.errors?null:Fe.inputFormGroup.controls.routingFeePercent.errors.required),p.xp6(1),p.Q6J("ngIf",null==Fe.inputFormGroup.controls.routingFeePercent.errors?null:Fe.inputFormGroup.controls.routingFeePercent.errors.min)}}function kt(xt,Qe){1&xt&&(p.TgZ(0,"div",52)(1,"mat-slide-toggle",53),p._uU(2,"Fast"),p.qZA(),p.TgZ(3,"mat-icon",54),p._uU(4,"info_outline"),p.qZA()())}function Rt(xt,Qe){if(1&xt&&p._uU(0),2&xt){const Fe=p.oxw(2);p.Oqu(Fe.quoteFormLabel)}}function yi(xt,Qe){1&xt&&(p.TgZ(0,"p",55)(1,"mat-icon",56),p._uU(2,"close"),p.qZA(),p._uU(3,"Local balance amount is insufficient for swap."),p.qZA())}function Jt(xt,Qe){if(1&xt){const Fe=p.EpF();p.TgZ(0,"button",57),p.NdJ("click",function(){p.CHM(Fe);const Xt=p.oxw(2);return p.KtG(Xt.onValidateAmount())}),p._uU(1,"Next"),p.qZA()}}function Zt(xt,Qe){if(1&xt){const Fe=p.EpF();p.TgZ(0,"button",58),p.NdJ("click",function(){p.CHM(Fe);const Xt=p.oxw(2);return p.KtG(Xt.onLoop())}),p._uU(1),p.qZA()}if(2&xt){const Fe=p.oxw(2);p.xp6(1),p.hij("Initiate ",Fe.loopDirectionCaption,"")}}function mi(xt,Qe){if(1&xt&&p._uU(0),2&xt){const Fe=p.oxw(3);p.Oqu(Fe.addressFormLabel)}}function Re(xt,Qe){1&xt&&(p.TgZ(0,"mat-error"),p._uU(1,"Address is required."),p.qZA())}function U(xt,Qe){if(1&xt){const Fe=p.EpF();p.TgZ(0,"mat-step",16)(1,"form",17),p.YNc(2,mi,1,1,"ng-template",18),p.TgZ(3,"div",59)(4,"mat-radio-group",60),p.NdJ("change",function(Xt){p.CHM(Fe);const _i=p.oxw(2);return p.KtG(_i.onAddressTypeChange(Xt))}),p.TgZ(5,"mat-radio-button",61),p._uU(6,"Node Local Address"),p.qZA(),p.TgZ(7,"mat-radio-button",62),p._uU(8,"External Address"),p.qZA()(),p.TgZ(9,"mat-form-field",63)(10,"mat-label"),p._uU(11,"Address"),p.qZA(),p._UZ(12,"input",64),p.YNc(13,Re,2,0,"mat-error",25),p.qZA()(),p.TgZ(14,"div",29)(15,"button",65),p.NdJ("click",function(){p.CHM(Fe);const Xt=p.oxw(2);return p.KtG(Xt.onLoop())}),p._uU(16),p.qZA()()()()}if(2&xt){const Fe=p.oxw(2);p.Q6J("stepControl",Fe.addressFormGroup)("editable",Fe.flgEditable),p.xp6(1),p.Q6J("formGroup",Fe.addressFormGroup),p.xp6(11),p.Q6J("required","external"===Fe.addressFormGroup.controls.addressType.value),p.xp6(1),p.Q6J("ngIf",null==Fe.addressFormGroup.controls.address.errors?null:Fe.addressFormGroup.controls.address.errors.required),p.xp6(3),p.hij("Initiate ",Fe.loopDirectionCaption,"")}}function j(xt,Qe){if(1&xt&&p._uU(0),2&xt){const Fe=p.oxw(2);p.hij("",Fe.loopDirectionCaption," Status")}}function ue(xt,Qe){if(1&xt&&(p.TgZ(0,"mat-icon",66),p._uU(1),p.qZA()),2&xt){const Fe=p.oxw(2);p.xp6(1),p.Oqu(Fe.loopStatus&&null!=Fe.loopStatus&&Fe.loopStatus.id_bytes?"check":"close")}}function Ne(xt,Qe){1&xt&&p._UZ(0,"div")}function wt(xt,Qe){1&xt&&p._UZ(0,"mat-progress-bar",67)}function Et(xt,Qe){if(1&xt&&(p.TgZ(0,"h4",68),p._uU(1),p.qZA()),2&xt){const Fe=p.oxw(2);p.xp6(1),p.Oqu(Fe.loopStatus&&Fe.loopStatus.error?Fe.loopDirectionCaption+" failed.":Fe.loopStatus&&Fe.loopStatus.id_bytes&&Fe.channel?Fe.loopDirectionCaption+" request placed successfully. You can check the status of the request on the 'Loop' menu.":Fe.loopDirectionCaption+" request placed successfully.")}}function Nt(xt,Qe){if(1&xt){const Fe=p.EpF();p.TgZ(0,"button",69),p.NdJ("click",function(){p.CHM(Fe);const Xt=p.oxw(2);return p.KtG(Xt.goToLoop())}),p._uU(1,"Check Status"),p.qZA()}}function ot(xt,Qe){if(1&xt){const Fe=p.EpF();p.TgZ(0,"button",70),p.NdJ("click",function(){p.CHM(Fe);const Xt=p.oxw(2);return p.KtG(Xt.onRestart())}),p._uU(1,"Start Again"),p.qZA()}}function We(xt,Qe){if(1&xt){const Fe=p.EpF();p.TgZ(0,"div",3)(1,"div",4)(2,"mat-card-header",5)(3,"div",6)(4,"span",7),p._uU(5),p.qZA()(),p.TgZ(6,"div",8)(7,"button",9),p.NdJ("click",function(){p.CHM(Fe);const Xt=p.oxw();return p.KtG(Xt.showInfo())}),p._uU(8,"?"),p.qZA(),p.TgZ(9,"button",10),p.NdJ("click",function(){p.CHM(Fe);const Xt=p.oxw();return p.KtG(Xt.onClose())}),p._uU(10,"X"),p.qZA()()(),p.TgZ(11,"mat-card-content",11)(12,"div",12),p.YNc(13,at,11,4,"div",13),p.TgZ(14,"mat-vertical-stepper",14,15),p.NdJ("selectionChange",function(Xt){p.CHM(Fe);const _i=p.oxw();return p.KtG(_i.stepSelectionChanged(Xt))}),p.TgZ(16,"mat-step",16)(17,"form",17),p.YNc(18,qe,1,1,"ng-template",18),p.TgZ(19,"div",19),p._UZ(20,"rtl-loop-quote",20)(21,"rtl-loop-quote",20),p.qZA(),p.TgZ(22,"div",21)(23,"mat-form-field",22)(24,"mat-label"),p._uU(25,"Amount"),p.qZA(),p._UZ(26,"input",23),p.TgZ(27,"mat-hint"),p._uU(28),p.ALo(29,"number"),p.ALo(30,"number"),p.qZA(),p.TgZ(31,"span",24),p._uU(32,"Sats"),p.qZA(),p.YNc(33,it,2,0,"mat-error",25),p.YNc(34,ii,3,3,"mat-error",25),p.YNc(35,bt,3,3,"mat-error",25),p.qZA(),p.TgZ(36,"mat-form-field",22)(37,"mat-label"),p._uU(38,"Sweep Confirmation Target"),p.qZA(),p._UZ(39,"input",26),p.YNc(40,st,2,0,"mat-error",25),p.YNc(41,Be,2,0,"mat-error",25),p.qZA(),p.YNc(42,Gt,6,3,"mat-form-field",27),p.qZA(),p.YNc(43,kt,5,0,"div",28),p.TgZ(44,"div",29)(45,"button",30),p.NdJ("click",function(){p.CHM(Fe);const Xt=p.oxw();return p.KtG(Xt.onEstimateQuote())}),p._uU(46,"Estimate Quote"),p.qZA()()()(),p.TgZ(47,"mat-step",16)(48,"form",17),p.YNc(49,Rt,1,1,"ng-template",18),p._UZ(50,"rtl-loop-quote",31),p.YNc(51,yi,4,0,"p",32),p.TgZ(52,"div",29),p.YNc(53,Jt,2,0,"button",33),p.YNc(54,Zt,2,1,"button",34),p.qZA()()(),p.YNc(55,U,17,6,"mat-step",35),p.TgZ(56,"mat-step",36)(57,"form",17),p.YNc(58,j,1,1,"ng-template",18),p.TgZ(59,"div",37)(60,"mat-expansion-panel",38)(61,"mat-expansion-panel-header")(62,"mat-panel-title")(63,"span",39),p._uU(64),p.YNc(65,ue,2,1,"mat-icon",40),p.qZA()()(),p.YNc(66,Ne,1,0,"div",41),p.qZA(),p.YNc(67,wt,1,0,"mat-progress-bar",42),p.qZA(),p.YNc(68,Et,2,1,"h4",43),p.TgZ(69,"div",29),p.YNc(70,Nt,2,0,"button",44),p.YNc(71,ot,2,0,"button",45),p.qZA()()()(),p.TgZ(72,"div",46)(73,"button",47),p._uU(74,"Close"),p.qZA()()()()()()}if(2&xt){const Fe=p.oxw(),Wt=p.MAs(2);p.Q6J("@opacityAnimation",void 0),p.xp6(3),p.Q6J("fxFlex",Fe.screenSize===Fe.screenSizeEnum.XS||Fe.screenSize===Fe.screenSizeEnum.SM?"83":"91"),p.xp6(2),p.Oqu(Fe.channel?"Channel "+Fe.loopDirectionCaption:Fe.loopDirectionCaption),p.xp6(1),p.Q6J("fxFlex",Fe.screenSize===Fe.screenSizeEnum.XS||Fe.screenSize===Fe.screenSizeEnum.SM?"17":"9"),p.xp6(7),p.Q6J("ngIf",Fe.channel),p.xp6(1),p.Q6J("linear",!0),p.xp6(2),p.Q6J("stepControl",Fe.inputFormGroup)("editable",Fe.flgEditable),p.xp6(1),p.Q6J("formGroup",Fe.inputFormGroup),p.xp6(3),p.Q6J("quote",Fe.minQuote)("termCaption","min")("panelExpanded",!1)("showPanel",!0),p.xp6(1),p.Q6J("quote",Fe.maxQuote)("termCaption","max")("panelExpanded",!1)("showPanel",!0),p.xp6(2),p.Q6J("fxFlex",Fe.direction===Fe.LoopTypeEnum.LOOP_OUT?"35":"48"),p.xp6(3),p.Q6J("step",1e3),p.xp6(2),p.AsE("Range: ",p.lcZ(29,51,Fe.minQuote.amount),"-",p.lcZ(30,53,Fe.maxQuote.amount),""),p.xp6(5),p.Q6J("ngIf",null==Fe.inputFormGroup.controls.amount.errors?null:Fe.inputFormGroup.controls.amount.errors.required),p.xp6(1),p.Q6J("ngIf",null==Fe.inputFormGroup.controls.amount.errors?null:Fe.inputFormGroup.controls.amount.errors.min),p.xp6(1),p.Q6J("ngIf",null==Fe.inputFormGroup.controls.amount.errors?null:Fe.inputFormGroup.controls.amount.errors.max),p.xp6(1),p.Q6J("fxFlex",Fe.direction===Fe.LoopTypeEnum.LOOP_OUT?"30":"48"),p.xp6(3),p.Q6J("step",1),p.xp6(1),p.Q6J("ngIf",null==Fe.inputFormGroup.controls.sweepConfTarget.errors?null:Fe.inputFormGroup.controls.sweepConfTarget.errors.required),p.xp6(1),p.Q6J("ngIf",null==Fe.inputFormGroup.controls.sweepConfTarget.errors?null:Fe.inputFormGroup.controls.sweepConfTarget.errors.min),p.xp6(1),p.Q6J("ngIf",Fe.direction===Fe.LoopTypeEnum.LOOP_OUT),p.xp6(1),p.Q6J("ngIf",Fe.direction===Fe.LoopTypeEnum.LOOP_OUT),p.xp6(4),p.Q6J("stepControl",Fe.quoteFormGroup)("editable",Fe.flgEditable),p.xp6(1),p.Q6J("formGroup",Fe.quoteFormGroup),p.xp6(2),p.Q6J("quote",Fe.quote)("showPanel",!1),p.xp6(1),p.Q6J("ngIf",Fe.inputFormGroup.controls.amount.value>Fe.localBalanceToCompare),p.xp6(2),p.Q6J("ngIf",Fe.direction===Fe.LoopTypeEnum.LOOP_OUT),p.xp6(1),p.Q6J("ngIf",Fe.direction===Fe.LoopTypeEnum.LOOP_IN),p.xp6(1),p.Q6J("ngIf",Fe.direction===Fe.LoopTypeEnum.LOOP_OUT),p.xp6(1),p.Q6J("stepControl",Fe.statusFormGroup),p.xp6(1),p.Q6J("formGroup",Fe.statusFormGroup),p.xp6(3),p.Q6J("expanded",!!Fe.loopStatus),p.xp6(4),p.Oqu(Fe.loopStatus?Fe.loopStatus.id_bytes?Fe.loopDirectionCaption+" request details":Fe.loopDirectionCaption+" error details":"Waiting for "+Fe.loopDirectionCaption+" request..."),p.xp6(1),p.Q6J("ngIf",Fe.loopStatus),p.xp6(1),p.Q6J("ngIf",!Fe.loopStatus)("ngIfElse",Wt),p.xp6(1),p.Q6J("ngIf",!Fe.loopStatus),p.xp6(1),p.Q6J("ngIf",Fe.loopStatus),p.xp6(2),p.Q6J("ngIf",Fe.loopStatus&&Fe.loopStatus.id_bytes&&Fe.channel),p.xp6(1),p.Q6J("ngIf",Fe.loopStatus&&(Fe.loopStatus.error||!Fe.loopStatus.id_bytes)),p.xp6(2),p.Q6J("mat-dialog-close",!1)}}function gt(xt,Qe){if(1&xt&&p._UZ(0,"rtl-loop-status",71),2&xt){const Fe=p.oxw();p.Q6J("loopStatus",Fe.loopStatus)}}function ri(xt,Qe){if(1&xt){const Fe=p.EpF();p.TgZ(0,"rtl-loop-out-info-graphics",88),p.NdJ("stepNumberChange",function(Xt){p.CHM(Fe);const _i=p.oxw(2);return p.KtG(_i.stepNumber=Xt)}),p.qZA()}if(2&xt){const Fe=p.oxw(2);p.Q6J("animationDirection",Fe.animationDirection)("stepNumber",Fe.stepNumber)}}function Pt(xt,Qe){if(1&xt){const Fe=p.EpF();p.TgZ(0,"rtl-loop-in-info-graphics",88),p.NdJ("stepNumberChange",function(Xt){p.CHM(Fe);const _i=p.oxw(2);return p.KtG(_i.stepNumber=Xt)}),p.qZA()}if(2&xt){const Fe=p.oxw(2);p.Q6J("animationDirection",Fe.animationDirection)("stepNumber",Fe.stepNumber)}}const Ft=function(xt,Qe){return{"dot-primary":xt,"dot-primary-lighter":Qe}};function qt(xt,Qe){if(1&xt){const Fe=p.EpF();p.TgZ(0,"span",89),p.NdJ("click",function(){const _i=p.CHM(Fe).$implicit,Oi=p.oxw(2);return p.KtG(Oi.onStepChanged(_i))}),p._UZ(1,"p",90),p.qZA()}if(2&xt){const Fe=Qe.$implicit,Wt=p.oxw(2);p.xp6(1),p.Q6J("ngClass",p.WLB(1,Ft,Wt.stepNumber===Fe,Wt.stepNumber!==Fe))}}function Te(xt,Qe){if(1&xt){const Fe=p.EpF();p.TgZ(0,"button",91),p.NdJ("click",function(){p.CHM(Fe);const Xt=p.oxw(2);return p.KtG(Xt.onReadMore())}),p._uU(1,"Read More"),p.qZA()}}function me(xt,Qe){if(1&xt){const Fe=p.EpF();p.TgZ(0,"button",92),p.NdJ("click",function(){p.CHM(Fe);const Xt=p.oxw(2);return p.KtG(Xt.onStepChanged(4))}),p._uU(1,"Back"),p.qZA()}}function ct(xt,Qe){if(1&xt){const Fe=p.EpF();p.TgZ(0,"button",93),p.NdJ("click",function(){p.CHM(Fe);const Xt=p.oxw(2);return Xt.flgShowInfo=!1,p.KtG(Xt.stepNumber=1)}),p._uU(1,"Close"),p.qZA()}}function _t(xt,Qe){if(1&xt){const Fe=p.EpF();p.TgZ(0,"button",94),p.NdJ("click",function(){p.CHM(Fe);const Xt=p.oxw(2);return Xt.flgShowInfo=!1,p.KtG(Xt.stepNumber=1)}),p._uU(1,"Close"),p.qZA()}}function Lt(xt,Qe){if(1&xt){const Fe=p.EpF();p.TgZ(0,"button",95),p.NdJ("click",function(){p.CHM(Fe);const Xt=p.oxw(2);return p.KtG(Xt.onStepChanged(Xt.stepNumber-1))}),p._uU(1,"Back"),p.qZA()}}function Li(xt,Qe){if(1&xt){const Fe=p.EpF();p.TgZ(0,"button",96),p.NdJ("click",function(){p.CHM(Fe);const Xt=p.oxw(2);return p.KtG(Xt.onStepChanged(Xt.stepNumber+1))}),p._uU(1,"Next"),p.qZA()}}const Ai=function(){return[1,2,3,4,5]};function wi(xt,Qe){if(1&xt){const Fe=p.EpF();p.TgZ(0,"div",72)(1,"div",19)(2,"mat-card-header",73)(3,"div",74),p._UZ(4,"span",7),p.qZA(),p.TgZ(5,"div",75)(6,"button",76),p.NdJ("click",function(){p.CHM(Fe);const Xt=p.oxw();return Xt.flgShowInfo=!1,p.KtG(Xt.stepNumber=1)}),p._uU(7,"X"),p.qZA()()(),p.TgZ(8,"mat-card-content",77),p.YNc(9,ri,1,2,"rtl-loop-out-info-graphics",78),p.YNc(10,Pt,1,2,"rtl-loop-in-info-graphics",78),p.qZA(),p.TgZ(11,"div",79),p.YNc(12,qt,2,4,"span",80),p.qZA(),p.TgZ(13,"div",81),p.YNc(14,Te,2,0,"button",82),p.YNc(15,me,2,0,"button",83),p.YNc(16,ct,2,0,"button",84),p.YNc(17,_t,2,0,"button",85),p.YNc(18,Lt,2,0,"button",86),p.YNc(19,Li,2,0,"button",87),p.qZA()()()}if(2&xt){const Fe=p.oxw();p.Q6J("@opacityAnimation",void 0),p.xp6(9),p.Q6J("ngIf",Fe.direction===Fe.LoopTypeEnum.LOOP_OUT),p.xp6(1),p.Q6J("ngIf",Fe.direction===Fe.LoopTypeEnum.LOOP_IN),p.xp6(2),p.Q6J("ngForOf",p.DdM(10,Ai)),p.xp6(2),p.Q6J("ngIf",5===Fe.stepNumber),p.xp6(1),p.Q6J("ngIf",5===Fe.stepNumber),p.xp6(1),p.Q6J("ngIf",5===Fe.stepNumber),p.xp6(1),p.Q6J("ngIf",Fe.stepNumber<5),p.xp6(1),p.Q6J("ngIf",Fe.stepNumber>1&&Fe.stepNumber<5),p.xp6(1),p.Q6J("ngIf",Fe.stepNumber<5)}}class zi{constructor(Qe,Fe,Wt,Xt,_i,Oi,ki,Ki,ti){this.dialogRef=Qe,this.data=Fe,this.store=Wt,this.loopService=Xt,this.formBuilder=_i,this.decimalPipe=Oi,this.logger=ki,this.router=Ki,this.commonService=ti,this.faInfoCircle=l.sqG,this.LoopTypeEnum=u.$I,this.direction=u.$I.LOOP_OUT,this.loopDirectionCaption="Loop out",this.loopStatus=null,this.inputFormLabel="Amount to loop out",this.quoteFormLabel="Confirm Quote",this.addressFormLabel="Withdrawal Address",this.prepayRoutingFee=36,this.flgShowInfo=!1,this.stepNumber=1,this.screenSize="",this.screenSizeEnum=u.cu,this.animationDirection="forward",this.flgEditable=!0,this.localBalanceToCompare=null,this.unSubs=[new t.x,new t.x,new t.x,new t.x,new t.x,new t.x,new t.x]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.channel=this.data.channel,this.minQuote=this.data.minQuote?this.data.minQuote:{},this.maxQuote=this.data.maxQuote?this.data.maxQuote:{},this.direction=this.data.direction||u.$I.LOOP_OUT,this.loopDirectionCaption=this.direction===u.$I.LOOP_IN?"Loop in":"Loop out",this.inputFormLabel="Amount to "+this.loopDirectionCaption,this.inputFormGroup=this.formBuilder.group({amount:[this.minQuote.amount,[e.kI.required,e.kI.min(this.minQuote.amount||0),e.kI.max(this.maxQuote.amount||0)]],sweepConfTarget:[6,[e.kI.required,e.kI.min(1)]],routingFeePercent:[2,[e.kI.required,e.kI.min(0)]],fast:[!1,[e.kI.required]]}),this.inputFormGroup.setErrors({Invalid:!0}),this.quoteFormGroup=this.formBuilder.group({}),this.addressFormGroup=this.formBuilder.group({addressType:["local",[e.kI.required]],address:[{value:"",disabled:!0}]}),this.direction===u.$I.LOOP_OUT&&this.addressFormGroup.setErrors({Invalid:!0}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges(),this.store.select(P.ZW).pipe((0,_.R)(this.unSubs[6])).subscribe(Qe=>{this.localBalanceToCompare=this.channel&&this.channel.local_balance?+this.channel.local_balance:Qe.lightningBalance&&Qe.lightningBalance.local?+Qe.lightningBalance.local:null})}onFormValueChanges(){this.inputFormGroup.valueChanges.pipe((0,_.R)(this.unSubs[4])).subscribe(Qe=>{this.inputFormGroup.setErrors({Invalid:!0})}),this.direction===u.$I.LOOP_OUT&&this.addressFormGroup.valueChanges.pipe((0,_.R)(this.unSubs[5])).subscribe(Qe=>{this.addressFormGroup.setErrors({Invalid:!0})})}onAddressTypeChange(Qe){"external"===Qe.value?(this.addressFormGroup.controls.address.setValidators([e.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===u.$I.LOOP_OUT&&(!this.inputFormGroup.controls.routingFeePercent.value||this.inputFormGroup.controls.routingFeePercent.value<0)||this.direction===u.$I.LOOP_OUT&&"external"===this.addressFormGroup.controls.addressType.value&&(!this.addressFormGroup.controls.address.value||""===this.addressFormGroup.controls.address.value.trim()))return!0;if(this.flgEditable=!1,this.stepper.selected?.stepControl.setErrors(null),this.stepper.next(),this.direction===u.$I.LOOP_IN)this.loopService.loopIn(this.inputFormGroup.controls.amount.value,+(this.quote.swap_fee_sat||0),+(this.quote.htlc_publish_fee_sat||0),"",!0).pipe((0,_.R)(this.unSubs[0])).subscribe({next:Qe=>{this.loopStatus=Qe,this.loopService.listSwaps(),this.flgEditable=!0},error:Qe=>{this.loopStatus={error:Qe},this.flgEditable=!0,this.logger.error(Qe)}});else{const Qe=Math.ceil(this.inputFormGroup.controls.amount.value*(this.inputFormGroup.controls.routingFeePercent.value/100)),Fe="external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"",Wt=this.inputFormGroup.controls.fast.value?0:(new Date).getTime()+18e5;this.loopService.loopOut(this.inputFormGroup.controls.amount.value,this.channel&&this.channel.chan_id?this.channel.chan_id:"",this.inputFormGroup.controls.sweepConfTarget.value,Qe,+(this.quote.htlc_sweep_fee_sat||0),this.prepayRoutingFee,+(this.quote.prepay_amt_sat||0),+(this.quote.swap_fee_sat||0),Wt,Fe).pipe((0,_.R)(this.unSubs[1])).subscribe({next:Xt=>{this.loopStatus=Xt,this.loopService.listSwaps(),this.flgEditable=!0},error:Xt=>{this.loopStatus={error:Xt},this.flgEditable=!0,this.logger.error(Xt)}})}}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 Qe=this.inputFormGroup.controls.fast.value?0:(new Date).getTime()+18e5;this.direction===u.$I.LOOP_IN?this.loopService.getLoopInQuote(this.inputFormGroup.controls.amount.value,this.inputFormGroup.controls.sweepConfTarget.value,Qe).pipe((0,_.R)(this.unSubs[2])).subscribe(Fe=>{this.quote=Fe,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,Qe).pipe((0,_.R)(this.unSubs[3])).subscribe(Fe=>{this.quote=Fe,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(Qe){switch(Qe.selectedIndex){case 0:default:this.inputFormLabel="Amount to "+this.loopDirectionCaption,this.quoteFormLabel="Confirm Quote",this.addressFormLabel="Withdrawal Address";break;case 1:this.inputFormGroup.controls.amount.value||this.inputFormGroup.controls.sweepConfTarget.value?this.direction===u.$I.LOOP_IN?this.inputFormLabel=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.inputFormLabel=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"):this.inputFormLabel="Amount to "+this.loopDirectionCaption,this.quoteFormLabel="Confirm Quote",this.addressFormLabel="Withdrawal Address";break;case 2:this.inputFormGroup.controls.amount.value||this.inputFormGroup.controls.sweepConfTarget.value?this.direction===u.$I.LOOP_IN?this.inputFormLabel=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.inputFormLabel=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"):this.inputFormLabel="Amount to "+this.loopDirectionCaption,this.quote&&this.quote.swap_fee_sat&&(this.quote.htlc_sweep_fee_sat||this.quote.htlc_publish_fee_sat)&&this.quote.prepay_amt_sat?this.quoteFormLabel="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":this.quoteFormLabel="Quote confirmed",this.addressFormGroup.controls.addressType.value?this.addressFormLabel="Withdrawal Address | Type: "+this.addressFormGroup.controls.addressType.value:this.addressFormLabel="Withdrawal Address"}(this.direction===u.$I.LOOP_OUT&&1!==Qe.selectedIndex&&Qe.selectedIndex<Qe.previouslySelectedIndex||this.direction===u.$I.LOOP_IN&&Qe.selectedIndex<Qe.previouslySelectedIndex)&&Qe.selectedStep.stepControl.setErrors({Invalid:!0})}goToLoop(){this.dialogRef.close(!0),this.router.navigateByUrl("/services/loop")}onClose(){this.dialogRef.close(!0)}showInfo(){this.flgShowInfo=!0}onReadMore(){this.direction===u.$I.LOOP_IN?window.open("https://blog.lightning.engineering/announcement/2019/06/25/loop-in.html","_blank"):window.open("https://blog.lightning.engineering/technical/posts/2019/04/15/loop-out-in-depth.html","_blank"),this.onClose()}onStepChanged(Qe){this.animationDirection=Qe<this.stepNumber?"backward":"forward",this.stepNumber=Qe}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(Qe=>{Qe.next(null),Qe.complete()})}}zi.\u0275fac=function(Qe){return new(Qe||zi)(p.Y36(O.so),p.Y36(O.WI),p.Y36(L.yh),p.Y36(D.W),p.Y36(e.QS),p.Y36(k.JJ),p.Y36(M.mQ),p.Y36(z.F0),p.Y36(A.v))},zi.\u0275cmp=p.Xpm({type:zi,selectors:[["rtl-loop-modal"]],viewQuery:function(Qe,Fe){if(1&Qe&&p.Gf(oe,5),2&Qe){let Wt;p.iGM(Wt=p.CRH())&&(Fe.stepper=Wt.first)}},decls:4,vars:2,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",4,"ngIf"],["loopStatusBlock",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","info-graphics-container",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxLayoutAlign","start start",3,"fxFlex"],[1,"page-title"],["fxLayoutAlign","space-between end",3,"fxFlex"],["tabindex","21","mat-button","",1,"btn-close-x","p-0",3,"click"],["tabindex","22","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large"],["fxLayout","column"],["class","padding-gap-large","fxLayout","row wrap","fxLayoutAlign","space-between stretch",4,"ngIf"],[3,"linear","selectionChange"],["stepper",""],[3,"stepControl","editable"],["fxLayout","column","fxLayoutAlign","start","fxLayoutAlign.gt-sm","space-between",1,"my-1",3,"formGroup"],["matStepLabel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch"],[3,"quote","termCaption","panelExpanded","showPanel"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between center",1,"mt-1"],[3,"fxFlex"],["autoFocus","","matInput","","type","number","tabindex","1","formControlName","amount","required","",3,"step"],["matSuffix",""],[4,"ngIf"],["matInput","","type","number","tabindex","2","formControlName","sweepConfTarget","required","",3,"step"],["fxFlex","30",4,"ngIf"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","start center","class","mt-1",4,"ngIf"],["fxLayout","row","fxLayoutAlign","start center","fxFlex","100",1,"mt-2"],["mat-button","","color","primary","tabindex","5","type","button",3,"click"],[3,"quote","showPanel"],["fxFlex","100","class","color-warn mt-2","fxLayoutAlign","start center",4,"ngIf"],["mat-button","","color","primary","tabindex","6","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","7","type","button",3,"click",4,"ngIf"],[3,"stepControl","editable",4,"ngIf"],[3,"stepControl"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between stretch"],["fxFlex","100",1,"flat-expansion-panel",3,"expanded"],["fxLayoutAlign","start center","fxFlex","100"],["class","ml-1 icon-small",4,"ngIf"],[4,"ngIf","ngIfElse"],["fxFlex","100","color","primary","mode","indeterminate",4,"ngIf"],["fxLayoutAlign","start","class","font-bold-500 mt-2",4,"ngIf"],["mat-button","","color","primary","tabindex","12","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","13","type","button",3,"click",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end end"],["mat-button","","color","primary","tabindex","14","type","button","default","",3,"mat-dialog-close"],["fxLayout","row wrap","fxLayoutAlign","space-between stretch",1,"padding-gap-large"],["fxFlex","40"],["fxFlex","30"],["matInput","","type","number","tabindex","3","formControlName","routingFeePercent","required","",3,"step"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","start center",1,"mt-1"],["tabindex","4","color","primary","formControlName","fast","fxFlex","none"],["matTooltip","Swap immediately (Might end up paying a higher on-chain fee)","matTooltipPosition","above","fxFlex","none",1,"info-icon"],["fxFlex","100","fxLayoutAlign","start center",1,"color-warn","mt-2"],[1,"mr-1","icon-small"],["mat-button","","color","primary","tabindex","6","type","button",3,"click"],["mat-button","","color","primary","tabindex","7","type","button",3,"click"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mt-1"],["color","primary","name","addressType","formControlName","addressType","fxFlex","100","fxLayoutAlign","space-between stretch",3,"change"],["fxFlex","48","tabindex","8","value","local"],["fxFlex","48","tabindex","9","value","external"],["fxLayout","column","fxFlex","100",1,"mt-1"],["matInput","","tabindex","10","formControlName","address",3,"required"],["mat-button","","color","primary","tabindex","11","type","button",3,"click"],[1,"ml-1","icon-small"],["fxFlex","100","color","primary","mode","indeterminate"],["fxLayoutAlign","start",1,"font-bold-500","mt-2"],["mat-button","","color","primary","tabindex","12","type","button",3,"click"],["mat-button","","color","primary","tabindex","13","type","button",3,"click"],["fxLayout","column",3,"loopStatus"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"info-graphics-container"],["fxLayout","row","fxFlex","8","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],["fxFlex","5","fxLayoutAlign","end center"],["tabindex","19","mat-button","",1,"btn-close-x","p-0",3,"click"],["fxLayout","column","fxFlex","70","fxLayoutAlign","space-between center",1,"padding-gap-x-large"],["fxFlex","100",3,"animationDirection","stepNumber","stepNumberChange",4,"ngIf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","center end",1,"padding-gap-x-large","padding-gap-bottom-large"],["fxLayoutAlign","center center","class","dots-stepper-block",3,"click",4,"ngFor","ngForOf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","end end",1,"padding-gap-x-large","padding-gap-bottom-large"],["mat-button","","class","mr-1","color","primary","tabindex","15","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","16","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","17","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","18","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","19","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","20","type","button",3,"click",4,"ngIf"],["fxFlex","100",3,"animationDirection","stepNumber","stepNumberChange"],["fxLayoutAlign","center center",1,"dots-stepper-block",3,"click"],[1,"dot","tiny-dot","mr-0",3,"ngClass"],["mat-button","","color","primary","tabindex","15","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","16","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","17","type","button",3,"click"],["mat-button","","color","primary","tabindex","18","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","19","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","20","type","button",3,"click"]],template:function(Qe,Fe){1&Qe&&(p.YNc(0,We,75,55,"div",0),p.YNc(1,gt,1,1,"ng-template",null,1,p.W1O),p.YNc(3,wi,20,11,"div",2)),2&Qe&&(p.Q6J("ngIf",!Fe.flgShowInfo),p.xp6(3),p.Q6J("ngIf",Fe.flgShowInfo))},dependencies:[k.mk,k.sg,k.O5,e._Y,e.Fj,e.wV,e.JJ,e.JL,e.Q7,e.sg,e.u,W.xw,W.Wh,W.yH,Z.oO,O.ZT,X.lW,$.dn,$.dk,ae.ib,ae.yz,ae.yK,he.Hw,se.Nt,pe.KE,pe.hX,pe.bx,pe.TO,pe.R9,le.pW,re.VQ,re.U0,fe.Rr,T.gM,i.C0,i.VY,i.Vq,o.h,N,Xe,ye,Ve,k.JJ,k.rS],styles:[".dots-stepper-block[_ngcontent-%COMP%]{width:3rem}.info-graphics-container[_ngcontent-%COMP%]{max-height:60rem;min-height:60rem}"],data:{animation:[C._]}})},9442:(Ye,J,f)=>{"use strict";f.d(J,{w:()=>P});var e=f(9306),t=f(2560),_=f(3547),O=f(3505),l=f(6722),C=f(4522),u=f(2156);class P{constructor(L){this.router=L,this.faTimes=e.NBC}goToHelp(){this.router.navigate(["/help"])}}P.\u0275fac=function(L){return new(L||P)(t.Y36(_.F0))},P.\u0275cmp=t.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(L,D){1&L&&(t.TgZ(0,"div",0),t._UZ(1,"fa-icon",1),t.TgZ(2,"span",2),t._uU(3,"Page Not Found"),t.qZA()(),t.TgZ(4,"div",3)(5,"mat-card")(6,"mat-card-content",4)(7,"div",5)(8,"div",6),t._uU(9,"This page does not exist!"),t.qZA(),t.TgZ(10,"span",7)(11,"button",8),t.NdJ("click",function(){return D.goToHelp()}),t._uU(12,"Go To Help"),t.qZA()()()()()()),2&L&&(t.xp6(1),t.Q6J("icon",D.faTimes))},dependencies:[O.BN,l.xw,l.Wh,l.yH,C.lW,u.a8,u.dn],encapsulation:2})},3390:(Ye,J,f)=>{"use strict";f.d(J,{h:()=>t});var e=f(2560);class t{constructor(O){this.el=O}ngAfterContentInit(){setTimeout(()=>{this.el.nativeElement.focus()},500)}}t.\u0275fac=function(O){return new(O||t)(e.Y36(e.SBq))},t.\u0275dir=e.lG2({type:t,selectors:[["","autoFocus",""]],inputs:{appAutoFocus:"appAutoFocus"}})},6895:(Ye,J,f)=>{"use strict";f.d(J,{y:()=>t});var e=f(2560);class t{constructor(){this.copied=new e.vpe}onClick(O){O.preventDefault(),this.payload&&navigator.clipboard&&navigator.clipboard.writeText(this.payload.toString()).then(()=>{this.copied.emit(this.payload.toString())},l=>{this.copied.emit("Error could not copy text: "+JSON.stringify(l))})}}t.\u0275fac=function(O){return new(O||t)},t.\u0275dir=e.lG2({type:t,selectors:[["","rtlClipboard",""]],hostBindings:function(O,l){1&O&&e.NdJ("click",function(u){return l.onClick(u)})},inputs:{payload:"payload"},outputs:{copied:"copied"}})},9843:(Ye,J,f)=>{"use strict";f.d(J,{F:()=>_});var e=f(2508),t=f(2560);class _{validate(l){return this.max?e.kI.max(+this.max)(l):null}}_.\u0275fac=function(l){return new(l||_)},_.\u0275dir=t.lG2({type:_,selectors:[["input","max",""]],inputs:{max:"max"},features:[t._Bn([{provide:e.Cf,useExisting:_,multi:!0}])]})},6534:(Ye,J,f)=>{"use strict";f.d(J,{q:()=>_});var e=f(2508),t=f(2560);class _{validate(l){return this.min?e.kI.min(+this.min)(l):null}}_.\u0275fac=function(l){return new(l||_)},_.\u0275dir=t.lG2({type:_,selectors:[["input","min",""]],inputs:{min:"min"},features:[t._Bn([{provide:e.Cf,useExisting:_,multi:!0}])]})},9445:(Ye,J,f)=>{"use strict";f.d(J,{D3:()=>l,al:()=>t,h9:()=>_,i1:()=>O});var e=f(2560);class t{transform(u,P){return u?.replace(/^[0]+/g,"")}}t.\u0275fac=function(u){return new(u||t)},t.\u0275pipe=e.Yjl({name:"removeleadingzeros",type:t,pure:!0});class _{transform(u,P){return u?.replace(/(?:^\w|[A-Z]|\b\w)/g,(p,L)=>p.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}}_.\u0275fac=function(u){return new(u||_)},_.\u0275pipe=e.Yjl({name:"camelcase",type:_,pure:!0});class O{transform(u,P,p){return u.replace(/(?:^\w|[A-Z]|\b\w)/g,(L,D)=>" "+L.toUpperCase())}}O.\u0275fac=function(u){return new(u||O)},O.\u0275pipe=e.Yjl({name:"camelCaseWithSpaces",type:O,pure:!0});class l{transform(u,P,p){return u=u?.toLowerCase().replace(/\s+/g,"")?.replace(/-/g," "),P&&(u=u.replace(new RegExp(P,"g")," ")),p&&(u=u.replace(new RegExp(p,"g")," ")),u.replace(/(?:^\w|[A-Z]|\b\w)/g,(L,D)=>L.toUpperCase())}}l.\u0275fac=function(u){return new(u||l)},l.\u0275pipe=e.Yjl({name:"camelcaseWithReplace",type:l,pure:!0})},1643:(Ye,J,f)=>{"use strict";f.d(J,{QM:()=>C,a1:()=>l,eQ:()=>u,fY:()=>P});var e=f(635),t=f(2560),_=f(3547),O=f(5986);class l{constructor(L,D){this.router=L,this.sessionService=D}canActivate(L){return!!this.sessionService.getItem("token")&&("settings"===L.url[0].path||"auth"===L.url[0].path||"true"!==this.sessionService.getItem("defaultPassword")||(this.router.navigate(["/settings/auth"]),!1))}}l.\u0275fac=function(L){return new(L||l)(t.LFG(_.F0),t.LFG(O.m))},l.\u0275prov=t.Yz7({token:l,factory:l.\u0275fac});class C{constructor(L){this.sessionService=L}canActivate(){return!!this.sessionService.watchSession().pipe((0,e.U)(L=>L.lndUnlocked))}}C.\u0275fac=function(L){return new(L||C)(t.LFG(O.m))},C.\u0275prov=t.Yz7({token:C,factory:C.\u0275fac});class u{constructor(L){this.sessionService=L}canActivate(){return!!this.sessionService.watchSession().pipe((0,e.U)(L=>L.clUnlocked))}}u.\u0275fac=function(L){return new(L||u)(t.LFG(O.m))},u.\u0275prov=t.Yz7({token:u,factory:u.\u0275fac});class P{constructor(L){this.sessionService=L}canActivate(){return!!this.sessionService.watchSession().pipe((0,e.U)(L=>L.eclUnlocked))}}P.\u0275fac=function(L){return new(L||P)(t.LFG(O.m))},P.\u0275prov=t.Yz7({token:P,factory:P.\u0275fac})},62:(Ye,J,f)=>{"use strict";f.d(J,{v:()=>D});var e=f(6317),t=f(745),_=f(5474),O=f(9295),l=f(635),C=f(3158),u=f(7731),P=f(2560),p=f(8104),L=f(5043);class D{constructor(M,z){this.dataService=M,this.logger=z,this.currencyUnits=[],this.CurrencyUnitEnum=u.NT,this.conversionData={data:null,last_fetched:null},this.ratesAPIStatus=u.Bn.UN_INITIATED,this.screenSize=u.cu.MD,this.containerSize={width:0,height:0},this.containerSizeUpdated=new e.X(this.containerSize)}getScreenSize(){return this.screenSize}setScreenSize(M){this.screenSize=M}getContainerSize(){return this.containerSize}setContainerSize(M,z){this.containerSize={width:M,height:z},this.logger.info("Container Size: "+JSON.stringify(this.containerSize)),this.containerSizeUpdated.next(this.containerSize)}sortByKey(M,z,A,W="asc"){return"number"===A?"desc"===W?M.sort((Z,X)=>+Z[z]>+X[z]?-1:1):M.sort((Z,X)=>+Z[z]>+X[z]?1:-1):"desc"===W?M.sort((Z,X)=>Z[z]>X[z]?-1:1):M.sort((Z,X)=>Z[z]>X[z]?1:-1)}sortDescByKey(M,z){return M.sort((A,W)=>{const Z=+A[z],X=+W[z];return Z>X?-1:Z<X?1:0})}sortAscByKey(M,z){return M.sort((A,W)=>{const Z=+A[z],X=+W[z];return Z<X?-1:Z>X?1:0})}camelCase(M){return M?.replace(/(?:^\w|[A-Z]|\b\w)/g,(z,A)=>z.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}titleCase(M,z,A){return z&&A&&""!==z&&""!==A&&(M=M?.replace(new RegExp(z,"g"),A)),M.indexOf("!\n")>0||M.indexOf(".\n")>0?M.split("\n")?.reduce((W,Z)=>W+Z.charAt(0).toUpperCase()+Z.substring(1).toLowerCase()+"\n",""):M.indexOf(" ")>0?M.split(" ")?.reduce((W,Z)=>W+Z.charAt(0).toUpperCase()+Z.substring(1).toLowerCase()+" ",""):M.charAt(0).toUpperCase()+M.substring(1).toLowerCase()}convertCurrency(M,z,A,W,Z){const X=(new Date).valueOf();return Z&&W&&this.ratesAPIStatus!==u.Bn.INITIATED&&(z===u.NT.OTHER||A===u.NT.OTHER)?this.conversionData.data&&this.conversionData.last_fetched&&X<this.conversionData.last_fetched+3e5?(0,t.of)(this.convertWithFiat(M,z,W)):(this.ratesAPIStatus=u.Bn.INITIATED,this.dataService.getFiatRates().pipe((0,O.q)(1),(0,l.U)($=>(this.ratesAPIStatus=u.Bn.COMPLETED,this.conversionData.data=$&&"object"==typeof $?$:$&&"string"==typeof $?JSON.parse($):{},this.conversionData.last_fetched=X,this.convertWithFiat(M,z,W))),(0,C.K)($=>(this.ratesAPIStatus=u.Bn.ERROR,(0,_._)(()=>this.extractErrorMessage($,"Currency Conversion Error.")))))):(0,t.of)(this.convertWithoutFiat(M,z))}convertWithoutFiat(M,z){const A={};switch(A[u.NT.SATS]=0,A[u.NT.BTC]=0,z){case u.NT.SATS:A[u.NT.SATS]=M,A[u.NT.BTC]=1e-8*M;break;case u.NT.BTC:A[u.NT.SATS]=1e8*M,A[u.NT.BTC]=M}return A}convertWithFiat(M,z,A){const W={unit:A,symbol:this.conversionData.data[A].symbol};switch(W[u.NT.SATS]=0,W[u.NT.BTC]=0,W[u.NT.OTHER]=0,z){case u.NT.SATS:W[u.NT.SATS]=M,W[u.NT.BTC]=1e-8*M,W[u.NT.OTHER]=1e-8*M*this.conversionData.data[A].last;break;case u.NT.BTC:W[u.NT.SATS]=1e8*M,W[u.NT.BTC]=M,W[u.NT.OTHER]=M*this.conversionData.data[A].last;break;case u.NT.OTHER:W[u.NT.SATS]=M/this.conversionData.data[A].last*1e8,W[u.NT.BTC]=M/this.conversionData.data[A].last,W[u.NT.OTHER]=M}return W}convertTime(M,z,A){switch(z){case u.Qk.SECS:switch(A){case u.Qk.MINS:M/=60;break;case u.Qk.HOURS:M/=3600;break;case u.Qk.DAYS:M/=86400}break;case u.Qk.MINS:switch(A){case u.Qk.SECS:M*=60;break;case u.Qk.HOURS:M/=60;break;case u.Qk.DAYS:M/=1440}break;case u.Qk.HOURS:switch(A){case u.Qk.SECS:M*=3600;break;case u.Qk.MINS:M*=60;break;case u.Qk.DAYS:M/=24}break;case u.Qk.DAYS:switch(A){case u.Qk.SECS:M=3600*M*24;break;case u.Qk.MINS:M=60*M*24;break;case u.Qk.HOURS:M*=24}}return M}downloadFile(M,z,A=".json",W=".csv"){let Z=new Blob;Z=".json"===A?new Blob(["\ufeff"+this.convertToCSV(M)],{type:"text/csv;charset=utf-8;"}):new Blob([M.toString()],{type:"text/plain;charset=utf-8"});const X=document.createElement("a"),$=URL.createObjectURL(Z);-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome")&&X.setAttribute("target","_blank"),X.setAttribute("href",$),X.setAttribute("download",z+W),X.style.visibility="hidden",document.body.appendChild(X),X.click(),document.body.removeChild(X)}convertToCSV(M){const z=[];let A="",W="",Z="";return"object"!=typeof M&&(M=JSON.parse(M)),M.forEach(($,ae)=>{for(const he in $)z.findIndex(se=>se===he)<0&&z.push(he)}),Z=z.join(",")+"\r\n",M.forEach($=>{A="",z.forEach(ae=>{$.hasOwnProperty(ae)?Array.isArray($[ae])?(W="",$[ae].forEach((he,se)=>{W+="object"==typeof he?"("+JSON.stringify(he)?.replace(/\,/g,";")+")":"("+he+")"}),A+=W+","):"object"==typeof $[ae]?A+=JSON.stringify($[ae])?.replace(/\,/g,";")+",":A+=$[ae]+",":A+=","}),Z+=A.slice(0,-1)+"\r\n"}),Z}isVersionCompatible(M,z){if(M){const A=M.trim()?.replace("v","").split("-")[0].split(".")||[],W=z.split(".");return+A[0]>+W[0]||+A[0]==+W[0]&&+A[1]>+W[1]||+A[0]==+W[0]&&+A[1]==+W[1]&&+A[2]>=+W[2]}return!1}extractErrorMessage(M,z="Unknown Error."){const A=this.titleCase(M.error&&M.error.text&&"string"==typeof M.error.text&&M.error.text.includes('<!DOCTYPE html><html lang="en">')?"API Route Does Not Exist.":M.error&&M.error.error&&M.error.error.error&&M.error.error.error.error&&M.error.error.error.error.error&&"string"==typeof M.error.error.error.error.error?M.error.error.error.error.error:M.error&&M.error.error&&M.error.error.error&&M.error.error.error.error&&"string"==typeof M.error.error.error.error?M.error.error.error.error:M.error&&M.error.error&&M.error.error.error&&"string"==typeof M.error.error.error?M.error.error.error:M.error&&M.error.error&&"string"==typeof M.error.error?M.error.error:M.error&&"string"==typeof M.error?M.error:M.error&&M.error.error&&M.error.error.error&&M.error.error.error.error&&M.error.error.error.error.message&&"string"==typeof M.error.error.error.error.message?M.error.error.error.error.message:M.error&&M.error.error&&M.error.error.error&&M.error.error.error.message&&"string"==typeof M.error.error.error.message?M.error.error.error.message:M.error&&M.error.error&&M.error.error.message&&"string"==typeof M.error.error.message?M.error.error.message:M.error&&M.error.message&&"string"==typeof M.error.message?M.error.message:M.message&&"string"==typeof M.message?M.message:z);return this.logger.info("Error Message: "+A),A}extractErrorCode(M,z=500){const A=M.error&&M.error.error&&M.error.error.message&&M.error.error.message.code?M.error.error.message.code:M.error&&M.error.error&&M.error.error.code?M.error.error.code:M.error&&M.error.code?M.error.code:M.code?M.code:M.status?M.status:z;return this.logger.info("Error Code: "+A),A}extractErrorNumber(M,z=500){const A=M.error&&M.error.error&&M.error.error.errno?M.error.error.errno:M.error&&M.error.errno?M.error.errno:M.errno?M.errno:M.status?M.status:z;return this.logger.info("Error Number: "+A),A}ngOnDestroy(){this.containerSizeUpdated.next(null),this.containerSizeUpdated.complete()}}D.\u0275fac=function(M){return new(M||D)(P.LFG(p.D),P.LFG(L.mQ))},D.\u0275prov=P.Yz7({token:D,factory:D.\u0275fac})},7731:(Ye,J,f)=>{"use strict";f.d(J,{$I:()=>o,$v:()=>z,AB:()=>Ce,At:()=>ne,Bn:()=>r,Df:()=>dt,Dr:()=>L,Er:()=>l,Fq:()=>i,Gi:()=>se,HW:()=>le,H_:()=>Ke,IV:()=>u,IX:()=>V,JX:()=>R,LO:()=>C,NT:()=>he,OJ:()=>$,OO:()=>Oe,Pi:()=>we,Qk:()=>ae,Qw:()=>h,TJ:()=>P,Vc:()=>D,Xk:()=>Ve,Xr:()=>N,Xz:()=>O,Zs:()=>T,_t:()=>p,c3:()=>ze,cu:()=>pe,g8:()=>W,gB:()=>$e,gG:()=>Se,gK:()=>K,gg:()=>x,hG:()=>ee,hZ:()=>ge,hc:()=>m,kO:()=>g,lr:()=>Xe,m6:()=>w,nM:()=>A,n_:()=>X,ol:()=>Z,op:()=>I,p7:()=>fe,pg:()=>Y,pt:()=>t,uA:()=>_,uR:()=>Pe,vn:()=>k,wZ:()=>M,x$:()=>re,zZ:()=>ie});var e=f(6060);function t(oe){const at=new e.ye;return at.itemsPerPageLabel=oe+" per page:",at}const _=["Sats","BTC"],O={Sats:"1.0-0",BTC:"1.6-6",OTHER:"1.2-2"},l=[{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"}],C=["SECS","MINS","HOURS","DAYS"],u=10,P=[5,10,25,100],p=[{addressId:"0",addressCode:"bech32",addressTp:"Bech32 (P2WKH)",addressDetails:"Pay to witness key hash"},{addressId:"1",addressCode:"p2sh-segwit",addressTp:"P2SH (NP2WKH)",addressDetails:"Pay to nested witness key hash (default)"},{addressId:"4",addressCode:"p2tr",addressTp:"Taproot (P2TR)",addressDetails:"Pay to taproot pubkey"}],L=[{id:"0",name:"Priority (Default)"},{id:"1",name:"Target Confirmation Blocks"},{id:"2",name:"Fee"}],D=[{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"}],k=[{feeRateId:"urgent",feeRateType:"Urgent"},{feeRateId:"normal",feeRateType:"Normal"},{feeRateId:"slow",feeRateType:"Slow"},{feeRateId:"customperkb",feeRateType:"Custom (Sats/vByte)"}],M={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 z,oe,A,W,Z,X,$,ae,he,se,pe;(oe=z||(z={})).PAYMENT_RECEIVED="payment-received",oe.PAYMENT_RELAYED="payment-relayed",oe.PAYMENT_SENT="payment-sent",oe.PAYMENT_SETTLING_ONCHAIN="payment-settling-onchain",oe.PAYMENT_FAILED="payment-failed",oe.CHANNEL_OPENED="channel-opened",oe.CHANNEL_STATE_CHANGED="channel-state-changed",oe.CHANNEL_CLOSED="channel-closed",function(oe){oe.INVOICE="invoice",oe.BLOCK_HEIGHT="block-height",oe.SEND_PAYMENT="send-payment"}(A||(A={})),function(oe){oe.INVOICE="invoice"}(W||(W={})),function(oe){oe.OPERATOR="OPERATOR",oe.MERCHANT="MERCHANT",oe.ALL="ALL"}(Z||(Z={})),function(oe){oe.INFORMATION="Information",oe.WARNING="Warning",oe.ERROR="Error",oe.SUCCESS="Success",oe.CONFIRM="Confirm"}(X||(X={})),function(oe){oe.JWT="JWT",oe.PASSWORD="PASSWORD"}($||($={})),function(oe){oe.SECS="SECS",oe.MINS="MINS",oe.HOURS="HOURS",oe.DAYS="DAYS"}(ae||(ae={})),function(oe){oe.SATS="Sats",oe.BTC="BTC",oe.OTHER="OTHER"}(he||(he={})),function(oe){oe.ARRAY="ARRAY",oe.NUMBER="NUMBER",oe.STRING="STRING",oe.BOOLEAN="BOOLEAN",oe.PASSWORD="PASSWORD",oe.DATE="DATE",oe.DATE_TIME="DATE_TIME"}(se||(se={})),function(oe){oe.XS="XS",oe.SM="SM",oe.MD="MD",oe.LG="LG",oe.XL="XL"}(pe||(pe={}));const le={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"}},re={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 fe,T,i,o,m,h;!function(oe){oe.WIRE_INVALID_ONION_VERSION="Invalid Onion Version",oe.WIRE_INVALID_ONION_HMAC="Invalid Onion HMAC",oe.WIRE_INVALID_ONION_KEY="Invalid Onion Key",oe.WIRE_TEMPORARY_CHANNEL_FAILURE="Temporary Channel Failure",oe.WIRE_PERMANENT_CHANNEL_FAILURE="Permanent Channel Failure",oe.WIRE_REQUIRED_CHANNEL_FEATURE_MISSING="Missing Required Channel Feature",oe.WIRE_UNKNOWN_NEXT_PEER="Unknown Next Peer",oe.WIRE_AMOUNT_BELOW_MINIMUM="Amount Below Minimum",oe.WIRE_FEE_INSUFFICIENT="Insufficient Fee",oe.WIRE_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",oe.WIRE_EXPIRY_TOO_FAR="Expiry Too Far",oe.WIRE_EXPIRY_TOO_SOON="Expiry Too Soon",oe.WIRE_CHANNEL_DISABLED="Channel Disabled",oe.WIRE_INVALID_ONION_PAYLOAD="Invalid Onion Payload",oe.WIRE_INVALID_REALM="Invalid Realm",oe.WIRE_PERMANENT_NODE_FAILURE="Permanent Node Failure",oe.WIRE_TEMPORARY_NODE_FAILURE="Temporary Node Failure",oe.WIRE_REQUIRED_NODE_FEATURE_MISSING="Missing Required Node Feature",oe.WIRE_INVALID_ONION_BLINDING="Invalid Onion Binding",oe.WIRE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS="Incorrect or Unknow Payment Details",oe.WIRE_MPP_TIMEOUT="MPP Timeout",oe.WIRE_FINAL_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",oe.WIRE_FINAL_INCORRECT_HTLC_AMOUNT="Incorrect HTLC Amount"}(fe||(fe={})),function(oe){oe.CHANNELD_NORMAL="Active",oe.OPENINGD="Opening",oe.CHANNELD_AWAITING_LOCKIN="Pending Open",oe.CHANNELD_SHUTTING_DOWN="Shutting Down",oe.CLOSINGD_SIGEXCHANGE="Closing: Sig Exchange",oe.CLOSINGD_COMPLETE="Closed",oe.AWAITING_UNILATERAL="Awaiting Unilateral Close",oe.FUNDING_SPEND_SEEN="Funding Spend Seen",oe.ONCHAIN="Onchain",oe.DUALOPEND_OPEN_INIT="Dual Open Initialized",oe.DUALOPEND_AWAITING_LOCKIN="Dual Pending Open"}(T||(T={})),function(oe){oe.INITIATED="Initiated",oe.PREIMAGE_REVEALED="Preimage Revealed",oe.HTLC_PUBLISHED="HTLC Published",oe.SUCCESS="Successful",oe.FAILED="Failed",oe.INVOICE_SETTLED="Invoice Settled"}(i||(i={})),function(oe){oe.LOOP_OUT="LOOP_OUT",oe.LOOP_IN="LOOP_IN"}(o||(o={})),function(oe){oe.SWAP_OUT="SWAP_OUT",oe.SWAP_IN="SWAP_IN"}(m||(m={})),function(oe){oe["swap.created"]="Swap Created",oe["swap.expired"]="Swap Expired",oe["invoice.set"]="Invoice Set",oe["invoice.paid"]="Invoice Paid",oe["invoice.pending"]="Invoice Pending",oe["invoice.settled"]="Invoice Settled",oe["invoice.failedToPay"]="Invoice Failed To Pay",oe["channel.created"]="Channel Created",oe["transaction.failed"]="Transaction Failed",oe["transaction.mempool"]="Transaction Mempool",oe["transaction.claimed"]="Transaction Claimed",oe["transaction.refunded"]="Transaction Refunded",oe["transaction.confirmed"]="Transaction Confirmed",oe["swap.refunded"]="Swap Refunded",oe["swap.abandoned"]="Swap Abandoned"}(h||(h={}));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}],I=["MONTHLY","YEARLY"];var R;!function(oe){oe.LOOP="LOOP",oe.BOLTZ="BOLTZ",oe.OFFERS="OFFERS",oe.PEERSWAP="PEERSWAP"}(R||(R={}));const g=["password","changeme","moneyprintergobrrr"];var r;!function(oe){oe.UN_INITIATED="UN_INITIATED",oe.INITIATED="INITIATED",oe.COMPLETED="COMPLETED",oe.ERROR="ERROR"}(r||(r={}));const w={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 V,N,Y,Pe,Ce,Xe;!function(oe){oe.INVOICE="INVOICE",oe.OFFER="OFFER",oe.KEYSEND="KEYSEND"}(V||(V={})),function(oe){oe.FEES="FEES",oe.EVENTS="EVENTS"}(N||(N={})),function(oe){oe.VOID="VOID",oe.SET_API_URL_ECL="SET_API_URL_ECL",oe.UPDATE_SELECTED_NODE_OPTIONS="UPDATE_SELECTED_NODE_OPTIONS",oe.UPDATE_API_CALL_STATUS_ROOT="UPDATE_API_CALL_STATUS_ROOT",oe.RESET_ROOT_STORE="RESET_ROOT_STORE",oe.CLOSE_ALL_DIALOGS="CLOSE_ALL_DIALOGS",oe.OPEN_SNACK_BAR="OPEN_SNACKBAR",oe.OPEN_SPINNER="OPEN_SPINNER",oe.CLOSE_SPINNER="CLOSE_SPINNER",oe.OPEN_ALERT="OPEN_ALERT",oe.CLOSE_ALERT="CLOSE_ALERT",oe.OPEN_CONFIRMATION="OPEN_CONFIRMATION",oe.CLOSE_CONFIRMATION="CLOSE_CONFIRMATION",oe.SHOW_PUBKEY="SHOW_PUBKEY",oe.FETCH_CONFIG="FETCH_CONFIG",oe.SHOW_CONFIG="SHOW_CONFIG",oe.FETCH_STORE="FETCH_STORE",oe.SET_STORE="SET_STORE",oe.FETCH_RTL_CONFIG="FETCH_RTL_CONFIG",oe.SET_RTL_CONFIG="SET_RTL_CONFIG",oe.SAVE_SSO="SAVE_SSO",oe.SAVE_SETTINGS="SAVE_SETTINGS",oe.TWO_FA_SAVE_SETTINGS="TWO_FA_SAVE_SETTINGS",oe.SET_SELECTED_NODE="SET_SELECTED_NODE",oe.UPDATE_ROOT_NODE_SETTINGS="UPDATE_ROOT_NODE_SETTINGS",oe.UPDATE_SERVICE_SETTINGS="UPDATE_SERVICE_SETTINGS",oe.SET_NODE_DATA="SET_NODE_DATA",oe.IS_AUTHORIZED="IS_AUTHORIZED",oe.IS_AUTHORIZED_RES="IS_AUTHORIZED_RES",oe.LOGIN="LOGIN",oe.VERIFY_TWO_FA="VERIFY_TWO_FA",oe.LOGOUT="LOGOUT",oe.RESET_PASSWORD="RESET_PASSWORD",oe.RESET_PASSWORD_RES="RESET_PASSWORD_RES",oe.FETCH_FILE="FETCH_FILE",oe.SHOW_FILE="SHOW_FILE"}(Y||(Y={})),function(oe){oe.RESET_LND_STORE="RESET_LND_STORE",oe.UPDATE_API_CALL_STATUS_LND="UPDATE_API_CALL_STATUS_LND",oe.SET_CHILD_NODE_SETTINGS_LND="SET_CHILD_NODE_SETTINGS_LND",oe.FETCH_PAGE_SETTINGS_LND="FETCH_PAGE_SETTINGS_LND",oe.SET_PAGE_SETTINGS_LND="SET_PAGE_SETTINGS_LND",oe.SAVE_PAGE_SETTINGS_LND="SAVE_PAGE_SETTINGS_LND",oe.FETCH_INFO_LND="FETCH_INFO_LND",oe.SET_INFO_LND="SET_INFO_LND",oe.FETCH_PEERS_LND="FETCH_PEERS_LND",oe.SET_PEERS_LND="SET_PEERS_LND",oe.SAVE_NEW_PEER_LND="SAVE_NEW_PEER_LND",oe.NEWLY_ADDED_PEER_LND="NEWLY_ADDED_PEER_LND",oe.DETACH_PEER_LND="DETACH_PEER_LND",oe.REMOVE_PEER_LND="REMOVE_PEER_LND",oe.SAVE_NEW_INVOICE_LND="SAVE_NEW_INVOICE_LND",oe.NEWLY_SAVED_INVOICE_LND="NEWLY_SAVED_INVOICE_LND",oe.ADD_INVOICE_LND="ADD_INVOICE_LND",oe.FETCH_FEES_LND="FETCH_FEES_LND",oe.SET_FEES_LND="SET_FEES_LND",oe.FETCH_BLOCKCHAIN_BALANCE_LND="FETCH_BLOCKCHAIN_BALANCE_LND",oe.SET_BLOCKCHAIN_BALANCE_LND="SET_BLOCKCHAIN_BALANCE_LND",oe.FETCH_NETWORK_LND="FETCH_NETWORK_LND",oe.SET_NETWORK_LND="SET_NETWORK_LND",oe.FETCH_CHANNELS_LND="FETCH_CHANNELS_LND",oe.FETCH_PENDING_CHANNELS_LND="FETCH_PENDING_CHANNELS_LND",oe.FETCH_CLOSED_CHANNELS_LND="FETCH_CLOSED_CHANNELS_LND",oe.SET_CHANNELS_LND="SET_CHANNELS_LND",oe.SET_PENDING_CHANNELS_LND="SET_PENDING_CHANNELS_LND",oe.SET_CLOSED_CHANNELS_LND="SET_CLOSED_CHANNELS_LND",oe.UPDATE_CHANNEL_LND="UPDATE_CHANNEL_LND",oe.SAVE_NEW_CHANNEL_LND="SAVE_NEW_CHANNEL_LND",oe.CLOSE_CHANNEL_LND="CLOSE_CHANNEL_LND",oe.REMOVE_CHANNEL_LND="REMOVE_CHANNEL_LND",oe.BACKUP_CHANNELS_LND="BACKUP_CHANNELS_LND",oe.VERIFY_CHANNEL_LND="VERIFY_CHANNEL_LND",oe.BACKUP_CHANNELS_RES_LND="BACKUP_CHANNELS_RES_LND",oe.VERIFY_CHANNEL_RES_LND="VERIFY_CHANNEL_RES_LND",oe.RESTORE_CHANNELS_LIST_LND="RESTORE_CHANNELS_LIST_LND",oe.SET_RESTORE_CHANNELS_LIST_LND="SET_RESTORE_CHANNELS_LIST_LND",oe.RESTORE_CHANNELS_LND="RESTORE_CHANNELS_LND",oe.RESTORE_CHANNELS_RES_LND="RESTORE_CHANNELS_RES_LND",oe.FETCH_INVOICES_LND="FETCH_INVOICES_LND",oe.SET_INVOICES_LND="SET_INVOICES_LND",oe.UPDATE_INVOICE_LND="UPDATE_INVOICE_LND",oe.UPDATE_PAYMENT_LND="UPDATE_PAYMENT_LND",oe.SET_TOTAL_INVOICES_LND="SET_TOTAL_INVOICES_LND",oe.FETCH_TRANSACTIONS_LND="FETCH_TRANSACTIONS_LND",oe.SET_TRANSACTIONS_LND="SET_TRANSACTIONS_LND",oe.FETCH_UTXOS_LND="FETCH_UTXOS_LND",oe.SET_UTXOS_LND="SET_UTXOS_LND",oe.FETCH_PAYMENTS_LND="FETCH_PAYMENTS_LND",oe.SET_PAYMENTS_LND="SET_PAYMENTS_LND",oe.SEND_PAYMENT_LND="SEND_PAYMENT_LND",oe.SEND_PAYMENT_STATUS_LND="SEND_PAYMENT_STATUS_LND",oe.FETCH_GRAPH_NODE_LND="FETCH_GRAPH_NODE_LND",oe.SET_GRAPH_NODE_LND="SET_GRAPH_NODE_LND",oe.GET_NEW_ADDRESS_LND="GET_NEW_ADDRESS_LND",oe.SET_NEW_ADDRESS_LND="SET_NEW_ADDRESS_LND",oe.SET_CHANNEL_TRANSACTION_LND="SET_CHANNEL_TRANSACTION_LND",oe.SET_CHANNEL_TRANSACTION_RES_LND="SET_CHANNEL_TRANSACTION_RES_LND",oe.GEN_SEED_LND="GEN_SEED_LND",oe.GEN_SEED_RESPONSE_LND="GEN_SEED_RESPONSE_LND",oe.INIT_WALLET_LND="INIT_WALLET_LND",oe.INIT_WALLET_RESPONSE_LND="INIT_WALLET_RESPONSE_LND",oe.UNLOCK_WALLET_LND="UNLOCK_WALLET_LND",oe.PEER_LOOKUP_LND="PEER_LOOKUP_LND",oe.CHANNEL_LOOKUP_LND="CHANNEL_LOOKUP_LND",oe.INVOICE_LOOKUP_LND="INVOICE_LOOKUP_LND",oe.PAYMENT_LOOKUP_LND="PAYMENT_LOOKUP_LND",oe.SET_LOOKUP_LND="SET_LOOKUP_LND",oe.GET_FORWARDING_HISTORY_LND="GET_FORWARDING_HISTORY_LND",oe.SET_FORWARDING_HISTORY_LND="SET_FORWARDING_HISTORY_LND",oe.GET_QUERY_ROUTES_LND="GET_QUERY_ROUTES_LND",oe.SET_QUERY_ROUTES_LND="SET_QUERY_ROUTES_LND",oe.GET_ALL_LIGHTNING_TRANSATIONS_LND="GET_ALL_LIGHTNING_TRANSATIONS_LND",oe.SET_ALL_LIGHTNING_TRANSATIONS_LND="SET_ALL_LIGHTNING_TRANSATIONS_LND"}(Pe||(Pe={})),function(oe){oe.RESET_CLN_STORE="RESET_CLN_STORE",oe.UPDATE_API_CALL_STATUS_CLN="UPDATE_API_CALL_STATUS_CLN",oe.SET_CHILD_NODE_SETTINGS_CLN="SET_CHILD_NODE_SETTINGS_CLN",oe.FETCH_PAGE_SETTINGS_CLN="FETCH_PAGE_SETTINGS_CLN",oe.SET_PAGE_SETTINGS_CLN="SET_PAGE_SETTINGS_CLN",oe.SAVE_PAGE_SETTINGS_CLN="SAVE_PAGE_SETTINGS_CLN",oe.FETCH_INFO_CLN="FETCH_INFO_CL_CLN",oe.SET_INFO_CLN="SET_INFO_CLN",oe.FETCH_FEES_CLN="FETCH_FEES_CLN",oe.SET_FEES_CLN="SET_FEES_CLN",oe.FETCH_FEE_RATES_CLN="FETCH_FEE_RATES_CLN",oe.SET_FEE_RATES_CLN="SET_FEE_RATES_CLN",oe.FETCH_BALANCE_CLN="FETCH_BALANCE_CLN",oe.SET_BALANCE_CLN="SET_BALANCE_CLN",oe.FETCH_LOCAL_REMOTE_BALANCE_CLN="FETCH_LOCAL_REMOTE_BALANCE_CLN",oe.SET_LOCAL_REMOTE_BALANCE_CLN="SET_LOCAL_REMOTE_BALANCE_CLN",oe.GET_NEW_ADDRESS_CLN="GET_NEW_ADDRESS_CLN",oe.SET_NEW_ADDRESS_CLN="SET_NEW_ADDRESS_CLN",oe.FETCH_UTXOS_CLN="FETCH_UTXOS_CLN",oe.SET_UTXOS_CLN="SET_UTXOS_CLN",oe.FETCH_PEERS_CLN="FETCH_PEERS_CLN",oe.SET_PEERS_CLN="SET_PEERS_CLN",oe.SAVE_NEW_PEER_CLN="SAVE_NEW_PEER_CLN",oe.NEWLY_ADDED_PEER_CLN="NEWLY_ADDED_PEER_CLN",oe.ADD_PEER_CLN="ADD_PEER_CLN",oe.DETACH_PEER_CLN="DETACH_PEER_CLN",oe.REMOVE_PEER_CLN="REMOVE_PEER_CLN",oe.FETCH_CHANNELS_CLN="FETCH_CHANNELS_CLN",oe.SET_CHANNELS_CLN="SET_CHANNELS_CLN",oe.UPDATE_CHANNEL_CLN="UPDATE_CHANNEL_CLN",oe.SAVE_NEW_CHANNEL_CLN="SAVE_NEW_CHANNEL_CLN",oe.CLOSE_CHANNEL_CLN="CLOSE_CHANNEL_CLN",oe.REMOVE_CHANNEL_CLN="REMOVE_CHANNEL_CLN",oe.FETCH_PAYMENTS_CLN="FETCH_PAYMENTS_CLN",oe.SET_PAYMENTS_CLN="SET_PAYMENTS_CLN",oe.SEND_PAYMENT_CLN="SEND_PAYMENT_CLN",oe.SEND_PAYMENT_STATUS_CLN="SEND_PAYMENT_STATUS_CLN",oe.GET_QUERY_ROUTES_CLN="GET_QUERY_ROUTES_CLN",oe.SET_QUERY_ROUTES_CLN="SET_QUERY_ROUTES_CLN",oe.PEER_LOOKUP_CLN="PEER_LOOKUP_CLN",oe.CHANNEL_LOOKUP_CLN="CHANNEL_LOOKUP_CLN",oe.INVOICE_LOOKUP_CLN="INVOICE_LOOKUP_CLN",oe.SET_LOOKUP_CLN="SET_LOOKUP_CLN",oe.GET_FORWARDING_HISTORY_CLN="GET_FORWARDING_HISTORY_CLN",oe.SET_FORWARDING_HISTORY_CLN="SET_FORWARDING_HISTORY_CLN",oe.GET_FAILED_FORWARDING_HISTORY_CLN="GET_FAILED_FORWARDING_HISTORY_CLN",oe.SET_FAILED_FORWARDING_HISTORY_CLN="SET_FAILED_FORWARDING_HISTORY_CLN",oe.GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",oe.SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",oe.FETCH_INVOICES_CLN="FETCH_INVOICES_CLN",oe.SET_INVOICES_CLN="SET_INVOICES_CLN",oe.SAVE_NEW_INVOICE_CLN="SAVE_NEW_INVOICE_CLN",oe.ADD_INVOICE_CLN="ADD_INVOICE_CLN",oe.UPDATE_INVOICE_CLN="UPDATE_INVOICE_CLN",oe.DELETE_EXPIRED_INVOICE_CLN="DELETE_EXPIRED_INVOICE_CLN",oe.SET_CHANNEL_TRANSACTION_CLN="SET_CHANNEL_TRANSACTION_CLN",oe.SET_CHANNEL_TRANSACTION_RES_CLN="SET_CHANNEL_TRANSACTION_RES_CLN",oe.FETCH_OFFER_INVOICE_CLN="FETCH_OFFER_INVOICE_CLN",oe.SET_OFFER_INVOICE_CLN="SET_OFFER_INVOICE_CLN",oe.FETCH_OFFERS_CLN="FETCH_OFFERS_CLN",oe.SET_OFFERS_CLN="SET_OFFERS_CLN",oe.SAVE_NEW_OFFER_CLN="SAVE_NEW_OFFER_CLN",oe.ADD_OFFER_CLN="ADD_OFFER_CLN",oe.DISABLE_OFFER_CLN="DISABLE_OFFER_CLN",oe.UPDATE_OFFER_CLN="UPDATE_OFFER_CLN",oe.FETCH_OFFER_BOOKMARKS_CLN="FETCH_OFFER_BOOKMARKS_CLN",oe.SET_OFFER_BOOKMARKS_CLN="SET_OFFER_BOOKMARKS_CLN",oe.ADD_UPDATE_OFFER_BOOKMARK_CLN="ADD_UPDATE_OFFER_BOOKMARK_CLN",oe.DELETE_OFFER_BOOKMARK_CLN="DELETE_OFFER_BOOKMARK_CLN",oe.REMOVE_OFFER_BOOKMARK_CLN="REMOVE_OFFER_BOOKMARK_CL"}(Ce||(Ce={})),function(oe){oe.RESET_ECL_STORE="RESET_ECL_STORE",oe.UPDATE_API_CALL_STATUS_ECL="UPDATE_API_CALL_STATUS_ECL",oe.SET_CHILD_NODE_SETTINGS_ECL="SET_CHILD_NODE_SETTINGS_ECL",oe.FETCH_PAGE_SETTINGS_ECL="FETCH_PAGE_SETTINGS_ECL",oe.SET_PAGE_SETTINGS_ECL="SET_PAGE_SETTINGS_ECL",oe.SAVE_PAGE_SETTINGS_ECL="SAVE_PAGE_SETTINGS_ECL",oe.FETCH_INFO_ECL="FETCH_INFO_ECL",oe.SET_INFO_ECL="SET_INFO_ECL",oe.FETCH_FEES_ECL="FETCH_FEES_ECL",oe.SET_FEES_ECL="SET_FEES_ECL",oe.FETCH_CHANNELS_ECL="FETCH_CHANNELS_ECL",oe.SET_ACTIVE_CHANNELS_ECL="SET_ACTIVE_CHANNELS_ECL",oe.SET_PENDING_CHANNELS_ECL="SET_PENDING_CHANNELS_ECL",oe.SET_INACTIVE_CHANNELS_ECL="SET_INACTIVE_CHANNELS_ECL",oe.FETCH_ONCHAIN_BALANCE_ECL="FETCH_ONCHAIN_BALANCE_ECL",oe.SET_ONCHAIN_BALANCE_ECL="SET_ONCHAIN_BALANCE_ECL",oe.FETCH_LIGHTNING_BALANCE_ECL="FETCH_LIGHTNING_BALANCE_ECL",oe.SET_LIGHTNING_BALANCE_ECL="SET_LIGHTNING_BALANCE_ECL",oe.SET_CHANNELS_STATUS_ECL="SET_CHANNELS_STATUS_ECL",oe.FETCH_PEERS_ECL="FETCH_PEERS_ECL",oe.SET_PEERS_ECL="SET_PEERS_ECL",oe.SAVE_NEW_PEER_ECL="SAVE_NEW_PEER_ECL",oe.NEWLY_ADDED_PEER_ECL="NEWLY_ADDED_PEER_ECL",oe.ADD_PEER_ECL="ADD_PEER_ECL",oe.DETACH_PEER_ECL="DETACH_PEER_ECL",oe.REMOVE_PEER_ECL="REMOVE_PEER_ECL",oe.GET_NEW_ADDRESS_ECL="GET_NEW_ADDRESS_ECL",oe.SET_NEW_ADDRESS_ECL="SET_NEW_ADDRESS_ECL",oe.SAVE_NEW_CHANNEL_ECL="SAVE_NEW_CHANNEL_ECL",oe.UPDATE_CHANNEL_ECL="UPDATE_CHANNEL_ECL",oe.CLOSE_CHANNEL_ECL="CLOSE_CHANNEL_ECL",oe.REMOVE_CHANNEL_ECL="REMOVE_CHANNEL_ECL",oe.FETCH_PAYMENTS_ECL="FETCH_PAYMENTS_ECL",oe.SET_PAYMENTS_ECL="SET_PAYMENTS_ECL",oe.GET_QUERY_ROUTES_ECL="GET_QUERY_ROUTES_ECL",oe.SET_QUERY_ROUTES_ECL="SET_QUERY_ROUTES_ECL",oe.SEND_PAYMENT_ECL="SEND_PAYMENT_ECL",oe.SEND_PAYMENT_STATUS_ECL="SEND_PAYMENT_STATUS_ECL",oe.FETCH_TRANSACTIONS_ECL="FETCH_TRANSACTIONS_ECL",oe.SET_TRANSACTIONS_ECL="SET_TRANSACTIONS_ECL",oe.SEND_ONCHAIN_FUNDS_ECL="SEND_ONCHAIN_FUNDS_ECL",oe.SEND_ONCHAIN_FUNDS_RES_ECL="SEND_ONCHAIN_FUNDS_RES_ECL",oe.FETCH_INVOICES_ECL="FETCH_INVOICES_ECL",oe.SET_INVOICES_ECL="SET_INVOICES_ECL",oe.SET_TOTAL_INVOICES_ECL="SET_TOTAL_INVOICES_ECL",oe.CREATE_INVOICE_ECL="CREATE_INVOICE_ECL",oe.ADD_INVOICE_ECL="ADD_INVOICE_ECL",oe.UPDATE_INVOICE_ECL="UPDATE_INVOICE_ECL",oe.PEER_LOOKUP_ECL="PEER_LOOKUP_ECL",oe.INVOICE_LOOKUP_ECL="INVOICE_LOOKUP_ECL",oe.SET_LOOKUP_ECL="SET_LOOKUP_ECL",oe.UPDATE_CHANNEL_STATE_ECL="UPDATE_CHANNEL_STATE_ECL",oe.UPDATE_RELAYED_PAYMENT_ECL="UPDATE_RELAYED_PAYMENT_ECL"}(Xe||(Xe={}));const dt=[{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 Ke,ge;!function(oe){oe.gossip_queries_ex="Gossip queries including additional information",oe.option_anchor_outputs="Anchor outputs",oe.option_data_loss_protect="Extra channel re-establish fields",oe.var_onion_optin="Variable-length routing onion payloads",oe.option_static_remotekey="Static key for remote output",oe.option_support_large_channel="Create large channels",oe.option_anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",oe.payment_secret="Payment secret field",oe.option_shutdown_anysegwit="Future segwit versions allowed in shutdown",oe.basic_mpp="Basic multi-part payments",oe.gossip_queries="More sophisticated gossip control",oe.option_upfront_shutdown_script="Shutdown script pubkey when opening channel",oe.anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",oe.amp="AMP"}(Ke||(Ke={})),function(oe){oe["data-loss-protect"]="Extra channel re-establish fields",oe["upfront-shutdown-script"]="Shutdown script pubkey when opening channel",oe["gossip-queries"]="More sophisticated gossip control",oe["tlv-onion"]="Variable-length routing onion payloads",oe["ext-gossip-queries"]="Gossip queries can include additional information",oe["static-remote-key"]="Static key for remote output",oe["payment-addr"]="Payment secret field",oe["multi-path-payments"]="Basic multi-part payments",oe["wumbo-channels"]="Wumbo Channels",oe.anchors="Anchor outputs",oe["anchors-zero-fee-htlc-tx"]="Anchor commitment type with zero fee HTLC transactions",oe.amp="AMP"}(ge||(ge={}));const $e=[{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 Oe,Me,De,Ue,ye,we;!function(oe){oe.OFFERED="offered",oe.SETTLED="settled",oe.FAILED="failed",oe.LOCAL_FAILED="local_failed"}(Oe||(Oe={})),function(oe){oe.SWAP_OUT="swap-out",oe.SWAP_IN="swap-in"}(Me||(Me={})),function(oe){oe.SENDER="sender",oe.RECEIVER="receiver"}(De||(De={})),function(oe){oe.SWAP_CANCELED="State_SwapCanceled"}(Ue||(Ue={})),function(oe){oe.ALLOWED="allowed",oe.SUSPICIOUS="suspicious"}(ye||(ye={})),function(oe){oe.ASCENDING="asc",oe.DESCENDING="desc"}(we||(we={}));const ie=["asc","desc"],Se=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:u,sortBy:"blockheight",sortOrder:we.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]},{tableId:"dust_utxos",recordsPerPage:u,sortBy:"blockheight",sortOrder:we.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:u,sortBy:"msatoshi_to_us",sortOrder:we.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:u,sortBy:"state",sortOrder:we.DESCENDING,columnSelectionSM:["alias","state"],columnSelection:["alias","connected","state","msatoshi_total"]},{tableId:"peers",recordsPerPage:u,sortBy:"alias",sortOrder:we.ASCENDING,columnSelectionSM:["alias","id"],columnSelection:["alias","id","netaddr"]}]},{pageId:"liquidity_ads",tables:[{tableId:"liquidity_ads",recordsPerPage:u,sortBy:"channel_opening_fee",sortOrder:we.ASCENDING,columnSelectionSM:["alias","channel_opening_fee"],columnSelection:["alias","last_timestamp","lease_fee","routing_fee","channel_opening_fee"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:u,sortBy:"created_at",sortOrder:we.DESCENDING,columnSelectionSM:["created_at","msatoshi"],columnSelection:["created_at","type","payment_hash","msatoshi_sent","msatoshi"]},{tableId:"invoices",recordsPerPage:u,sortBy:"expires_at",sortOrder:we.DESCENDING,columnSelectionSM:["expires_at","msatoshi"],columnSelection:["expires_at","paid_at","type","description","msatoshi","msatoshi_received"]},{tableId:"offers",recordsPerPage:u,sortBy:"offer_id",sortOrder:we.DESCENDING,columnSelectionSM:["offer_id","single_use"],columnSelection:["offer_id","single_use","used"]},{tableId:"offer_bookmarks",recordsPerPage:u,sortBy:"lastUpdatedAt",sortOrder:we.DESCENDING,columnSelectionSM:["lastUpdatedAt","amountMSat"],columnSelection:["lastUpdatedAt","title","description","amountMSat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:u,sortBy:"received_time",sortOrder:we.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:u,sortBy:"total_fee",sortOrder:we.DESCENDING,columnSelectionSM:["alias","events","total_fee"],columnSelection:["channel_id","alias","events","total_amount","total_fee"]},{tableId:"failed",recordsPerPage:u,sortBy:"received_time",sortOrder:we.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:u,sortBy:"received_time",sortOrder:we.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:u,sortBy:"received_time",sortOrder:we.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:u,sortBy:"date",sortOrder:we.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:u,sortBy:"msatoshi",sortOrder:we.DESCENDING,columnSelectionSM:["alias","direction","msatoshi"],columnSelection:["alias","channel","direction","delay","msatoshi"]}]},{pageId:"peerswap",tables:[{tableId:"swaps",recordsPerPage:u,sortBy:"created_at",sortOrder:we.DESCENDING,columnSelectionSM:["id","state","amount"],columnSelection:["id","alias","short_channel_id","created_at","state","amount"]}]}],ne={on_chain:{utxos:{maxColumns:7,allowedColumns:[{column:"txid",label:"Transaction ID"},{column:"address"},{column:"scriptpubkey",label:"Script Pubkey"},{column:"output"},{column:"value"},{column:"blockheight"},{column:"reserved"}]},dust_utxos:{maxColumns:7,allowedColumns:[{column:"txid",label:"Transaction ID"},{column:"address"},{column:"scriptpubkey",label:"Script Pubkey"},{column:"output"},{column:"value"},{column:"blockheight"},{column:"reserved"}]}},peers_channels:{open_channels:{maxColumns:8,allowedColumns:[{column:"short_channel_id"},{column:"alias"},{column:"id"},{column:"channel_id"},{column:"funding_txid",label:"Funding Transaction ID"},{column:"connected"},{column:"our_channel_reserve_satoshis",label:"Local Reserve"},{column:"their_channel_reserve_satoshis",label:"Remote Reserve"},{column:"msatoshi_total",label:"Total"},{column:"spendable_msatoshi",label:"Spendable"},{column:"msatoshi_to_us",label:"Local Balance"},{column:"msatoshi_to_them",label:"Remote Balance"},{column:"balancedness",label:"Balance Score"}]},pending_inactive_channels:{maxColumns:8,allowedColumns:[{column:"alias"},{column:"id"},{column:"channel_id"},{column:"funding_txid",label:"Funding Transaction ID"},{column:"connected"},{column:"state"},{column:"our_channel_reserve_satoshis",label:"Local Reserve"},{column:"their_channel_reserve_satoshis",label:"Remote Reserve"},{column:"msatoshi_total",label:"Total"},{column:"spendable_msatoshi",label:"Spendable"},{column:"msatoshi_to_us",label:"Local Balance"},{column:"msatoshi_to_them",label:"Remote Balance"}]},peers:{maxColumns:3,allowedColumns:[{column:"alias"},{column:"id"},{column:"netaddr",label:"Network Address"}]}},liquidity_ads:{liquidity_ads:{maxColumns:8,allowedColumns:[{column:"alias"},{column:"nodeid",label:"Node ID"},{column:"last_timestamp",label:"Last Announcement At"},{column:"compact_lease"},{column:"lease_fee"},{column:"routing_fee"},{column:"channel_opening_fee"},{column:"funding_weight"}]}},transactions:{payments:{maxColumns:7,allowedColumns:[{column:"created_at",label:"Created At"},{column:"type"},{column:"payment_hash"},{column:"bolt11",label:"Invoice"},{column:"destination"},{column:"memo"},{column:"label"},{column:"msatoshi_sent",label:"Sats Sent"},{column:"msatoshi",label:"Sats Received"}]},invoices:{maxColumns:7,allowedColumns:[{column:"expires_at",label:"Expiry Date"},{column:"paid_at",label:"Date Settled"},{column:"type"},{column:"description"},{column:"label"},{column:"payment_hash"},{column:"bolt11",label:"Invoice"},{column:"msatoshi",label:"Amount"},{column:"msatoshi_received",label:"Amount Settled"}]},offers:{maxColumns:4,allowedColumns:[{column:"offer_id",label:"Offer ID"},{column:"single_use"},{column:"used"},{column:"bolt12",label:"Invoice"}]},offer_bookmarks:{maxColumns:6,allowedColumns:[{column:"lastUpdatedAt",label:"Updated At"},{column:"title"},{column:"description"},{column:"vendor"},{column:"bolt12",label:"Invoice"},{column:"amountMSat",label:"Amount"}]}},routing:{forwarding_history:{maxColumns:8,allowedColumns:[{column:"received_time"},{column:"resolved_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"payment_hash"},{column:"in_msatoshi",label:"Amount In"},{column:"out_msatoshi",label:"Amount Out"},{column:"fee"}]},routing_peers:{maxColumns:5,allowedColumns:[{column:"channel_id"},{column:"alias",label:"Peer Alias"},{column:"events"},{column:"total_amount",label:"Amount"},{column:"total_fee",label:"Fee"}]},failed:{maxColumns:7,allowedColumns:[{column:"received_time"},{column:"resolved_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"in_msatoshi",label:"Amount In"},{column:"out_msatoshi",label:"Amount Out"},{column:"fee"}]},local_failed:{maxColumns:6,allowedColumns:[{column:"received_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"in_msatoshi",label:"Amount In"},{column:"style"},{column:"failreason",label:"Fail Reason"}]}},reports:{routing:{maxColumns:8,allowedColumns:[{column:"received_time"},{column:"resolved_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"payment_hash"},{column:"in_msatoshi",label:"Amount In"},{column:"out_msatoshi",label:"Amount Out"},{column:"fee"}]},transactions:{maxColumns:5,allowedColumns:[{column:"date"},{column:"amount_paid"},{column:"num_payments",label:"# Payments"},{column:"amount_received"},{column:"num_invoices",label:"# Invoices"}]}},graph_lookup:{query_routes:{maxColumns:6,allowedColumns:[{column:"id"},{column:"alias"},{column:"channel"},{column:"direction"},{column:"delay"},{column:"msatoshi",label:"Amount"}]}},peerswap:{swaps:{maxColumns:6,allowedColumns:[{column:"id"},{column:"alias"},{column:"short_channel_id"},{column:"created_at"},{column:"state"},{column:"amount"}]}}},K=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:u,sortBy:"tx_id",sortOrder:we.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]},{tableId:"transactions",recordsPerPage:u,sortBy:"time_stamp",sortOrder:we.DESCENDING,columnSelectionSM:["time_stamp","amount","num_confirmations"],columnSelection:["time_stamp","label","amount","total_fees","block_height","num_confirmations"]},{tableId:"dust_utxos",recordsPerPage:u,sortBy:"tx_id",sortOrder:we.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open",recordsPerPage:u,sortBy:"balancedness",sortOrder:we.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:we.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","commit_fee","commit_weight","capacity"]},{tableId:"pending_force_closing",sortBy:"limbo_balance",sortOrder:we.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","recovered_balance","limbo_balance","capacity"]},{tableId:"pending_closing",sortBy:"capacity",sortOrder:we.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","local_balance","remote_balance","capacity"]},{tableId:"pending_waiting_close",sortBy:"limbo_balance",sortOrder:we.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","limbo_balance","local_balance","remote_balance"]},{tableId:"closed",recordsPerPage:u,sortBy:"close_type",sortOrder:we.DESCENDING,columnSelectionSM:["remote_alias","settled_balance"],columnSelection:["close_type","remote_alias","capacity","close_height","settled_balance"]},{tableId:"active_HTLCs",recordsPerPage:u,sortBy:"incoming",sortOrder:we.ASCENDING,columnSelectionSM:["amount","incoming","expiration_height"],columnSelection:["amount","incoming","expiration_height","hash_lock"]},{tableId:"peers",recordsPerPage:u,sortBy:"alias",sortOrder:we.DESCENDING,columnSelectionSM:["alias","sat_sent","sat_recv"],columnSelection:["alias","pub_key","sat_sent","sat_recv","ping_time"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:u,sortBy:"creation_date",sortOrder:we.DESCENDING,columnSelectionSM:["creation_date","fee","value"],columnSelection:["creation_date","payment_hash","fee","value","hops"]},{tableId:"invoices",recordsPerPage:u,sortBy:"creation_date",sortOrder:we.DESCENDING,columnSelectionSM:["creation_date","settle_date","value"],columnSelection:["creation_date","settle_date","memo","value","amt_paid_sat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:u,sortBy:"timestamp",sortOrder:we.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"routing_peers",recordsPerPage:u,sortBy:"total_amount",sortOrder:we.DESCENDING,columnSelectionSM:["alias","events","total_amount"],columnSelection:["chan_id","alias","events","total_amount"]},{tableId:"non_routing_peers",recordsPerPage:u,sortBy:"remote_alias",sortOrder:we.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:u,sortBy:"timestamp",sortOrder:we.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"transactions",recordsPerPage:u,sortBy:"date",sortOrder:we.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:u,sortBy:"hop_sequence",sortOrder:we.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:u,sortBy:"initiation_time",sortOrder:we.DESCENDING,columnSelectionSM:["state","amt"],columnSelection:["state","initiation_time","amt","cost_server","cost_offchain","cost_onchain"]}]},{pageId:"boltz",tables:[{tableId:"swap_out",recordsPerPage:u,sortBy:"status",sortOrder:we.DESCENDING,columnSelectionSM:["status","id","onchainAmount"],columnSelection:["status","id","claimAddress","onchainAmount","timeoutBlockHeight"]},{tableId:"swap_in",recordsPerPage:u,sortBy:"status",sortOrder:we.DESCENDING,columnSelectionSM:["status","id","expectedAmount"],columnSelection:["status","id","lockupAddress","expectedAmount","timeoutBlockHeight"]}]}],ee={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"}]}}},ze=[{pageId:"on_chain",tables:[{tableId:"transaction",recordsPerPage:u,sortBy:"timestamp",sortOrder:we.DESCENDING,columnSelectionSM:["timestamp","amount"],columnSelection:["timestamp","address","amount","fees","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:u,sortBy:"alias",sortOrder:we.DESCENDING,columnSelectionSM:["alias","toLocal","toRemote"],columnSelection:["shortChannelId","alias","feeBaseMsat","feeProportionalMillionths","toLocal","toRemote","balancedness"]},{tableId:"pending_channels",recordsPerPage:u,sortBy:"alias",sortOrder:we.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","alias","toLocal","toRemote"]},{tableId:"inactive_channels",recordsPerPage:u,sortBy:"alias",sortOrder:we.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","shortChannelId","alias","toLocal","toRemote","balancedness"]},{tableId:"peers",recordsPerPage:u,sortBy:"alias",sortOrder:we.ASCENDING,columnSelectionSM:["alias","nodeId"],columnSelection:["alias","nodeId","address","channels"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:u,sortBy:"firstPartTimestamp",sortOrder:we.DESCENDING,columnSelectionSM:["firstPartTimestamp","recipientAmount"],columnSelection:["firstPartTimestamp","id","recipientNodeAlias","recipientAmount"]},{tableId:"invoices",recordsPerPage:u,sortBy:"receivedAt",sortOrder:we.DESCENDING,columnSelectionSM:["timestamp","amount","amountSettled"],columnSelection:["timestamp","receivedAt","description","amount","amountSettled"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:u,sortBy:"timestamp",sortOrder:we.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"routing_peers",recordsPerPage:u,sortBy:"totalFee",sortOrder:we.DESCENDING,columnSelectionSM:["alias","events","totalFee"],columnSelection:["channelId","alias","events","totalAmount","totalFee"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:u,sortBy:"timestamp",sortOrder:we.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"transactions",recordsPerPage:u,sortBy:"date",sortOrder:we.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]}],Ve={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:(Ye,J,f)=>{"use strict";f.d(J,{D:()=>le});var e=f(8987),t=f(6317),_=f(253),O=f(5474),l=f(745),C=f(155),u=f(9525),P=f(8951),p=f(635),L=f(3158),D=f(538),k=f(2340),M=f(7731),z=f(1786),A=f(7861),W=f(6523),Z=f(6529),X=f(9828),$=f(2560),ae=f(9263),he=f(5043),se=f(930),pe=f(4666);class le{constructor(fe,T,i,o,m){this.httpClient=fe,this.store=T,this.logger=i,this.snackBar=o,this.titleCasePipe=m,this.APIUrl=k.T5,this.lnImplementation="",this.lnImplementationUpdated=new t.X(null),this.unSubs=[new _.x,new _.x,new _.x,new _.x,new _.x,new _.x,new _.x,new _.x,new _.x,new _.x,new _.x,new _.x,new _.x],this.mapAliases=(h,x)=>(h&&h.length>0?h.forEach((I,R)=>{if(x&&x.length>0)for(let g=0;g<x.length;g++){if(x[g].short_channel_id&&x[g].short_channel_id===I.in_channel&&(I.in_channel_alias=x[g].alias?x[g].alias:I.in_channel,I.out_channel_alias)||x[g].short_channel_id&&x[g].short_channel_id?.toString()===I.out_channel&&(I.out_channel_alias=x[g].alias?x[g].alias:I.out_channel,I.in_channel_alias))return;g===x.length-1&&(I.in_channel_alias||(I.in_channel_alias=I.in_channel?I.in_channel:"-"),I.out_channel_alias||(I.out_channel_alias=I.out_channel?I.out_channel:"-"))}else I.in_channel_alias=I.in_channel?I.in_channel:"-",I.out_channel_alias=I.out_channel?I.out_channel:"-"}):h=[],h)}setLnImplementation(fe){this.lnImplementation=fe.toLowerCase(),this.lnImplementationUpdated.next(this.lnImplementation)}getFiatRates(){return this.httpClient.get(k.NZ.CONF_API+"/rates")}decodePayment(fe,T){return this.lnImplementationUpdated.pipe((0,C.P)(i=>null!==i),(0,u.z)(i=>{let o=this.APIUrl+"/"+i+k.NZ.PAYMENTS_API+"/decode/"+fe;return"cln"===i&&(o=this.APIUrl+"/"+i+k.NZ.UTILITY_API+"/decode/"+fe),this.store.dispatch((0,A.ac)({payload:M.m6.DECODE_PAYMENT})),this.httpClient.get(o).pipe((0,P.R)(this.unSubs[0]),(0,p.U)(m=>(this.store.dispatch((0,A.uO)({payload:M.m6.DECODE_PAYMENT})),m)),(0,L.K)(m=>(T?this.handleErrorWithoutAlert("Decode Payment",M.m6.DECODE_PAYMENT,m):this.handleErrorWithAlert("decodePaymentData",M.m6.DECODE_PAYMENT,"Decode Payment Failed",o,m),(0,O._)(()=>new Error(this.extractErrorMessage(m))))))}))}decodePayments(fe){return this.lnImplementationUpdated.pipe((0,C.P)(T=>null!==T),(0,u.z)(T=>{let i="",o="";return"ecl"===T?(i=this.APIUrl+"/"+T+k.NZ.PAYMENTS_API+"/getsentinfos",o=M.m6.GET_SENT_PAYMENTS):"cln"===T?(i=this.APIUrl+"/"+T+k.NZ.UTILITY_API,o=M.m6.DECODE_PAYMENTS):(i=this.APIUrl+"/"+T+k.NZ.PAYMENTS_API,o=M.m6.DECODE_PAYMENTS),this.store.dispatch((0,A.ac)({payload:o})),this.httpClient.post(i,{payments:fe}).pipe((0,P.R)(this.unSubs[1]),(0,p.U)(m=>(this.store.dispatch((0,A.uO)({payload:o})),m)),(0,L.K)(m=>(this.handleErrorWithAlert("decodePaymentsData",o,o+" Failed",i,m),(0,O._)(()=>new Error(this.extractErrorMessage(m))))))}))}getAliasesFromPubkeys(fe,T){return this.lnImplementationUpdated.pipe((0,C.P)(i=>null!==i),(0,u.z)(i=>{if(T){const o=(new e.LE).set("pubkeys",fe);return this.httpClient.get(this.APIUrl+"/"+i+k.NZ.NETWORK_API+"/nodes",{params:o})}return this.httpClient.get(this.APIUrl+"/"+i+k.NZ.NETWORK_API+"/node/"+fe)}))}signMessage(fe){return this.lnImplementationUpdated.pipe((0,C.P)(T=>null!==T),(0,u.z)(T=>{let i=this.APIUrl+"/"+T+k.NZ.MESSAGE_API+"/sign";return"cln"===T&&(i=this.APIUrl+"/"+T+k.NZ.UTILITY_API+"/sign"),this.store.dispatch((0,A.ac)({payload:M.m6.SIGN_MESSAGE})),this.httpClient.post(i,{message:fe}).pipe((0,P.R)(this.unSubs[2]),(0,p.U)(o=>(this.store.dispatch((0,A.uO)({payload:M.m6.SIGN_MESSAGE})),o)),(0,L.K)(o=>(this.handleErrorWithAlert("signMessageData",M.m6.SIGN_MESSAGE,"Sign Message Failed",i,o),(0,O._)(()=>new Error(this.extractErrorMessage(o))))))}))}verifyMessage(fe,T){return this.lnImplementationUpdated.pipe((0,C.P)(i=>null!==i),(0,u.z)(i=>{let o=this.APIUrl+"/"+i+k.NZ.MESSAGE_API+"/verify";return"cln"===i&&(o=this.APIUrl+"/"+i+k.NZ.UTILITY_API+"/verify"),this.store.dispatch((0,A.ac)({payload:M.m6.VERIFY_MESSAGE})),this.httpClient.post(o,{message:fe,signature:T}).pipe((0,P.R)(this.unSubs[3]),(0,p.U)(m=>(this.store.dispatch((0,A.uO)({payload:M.m6.VERIFY_MESSAGE})),m)),(0,L.K)(m=>(this.handleErrorWithAlert("verifyMessageData",M.m6.VERIFY_MESSAGE,"Verify Message Failed",o,m),(0,O._)(()=>new Error(this.extractErrorMessage(m))))))}))}bumpFee(fe,T,i,o){return this.lnImplementationUpdated.pipe((0,C.P)(m=>null!==m),(0,u.z)(m=>{const h={txid:fe,outputIndex:T};return i&&(h.targetConf=i),o&&(h.satPerByte=o),this.store.dispatch((0,A.ac)({payload:M.m6.BUMP_FEE})),this.httpClient.post(this.APIUrl+"/"+m+k.NZ.WALLET_API+"/bumpfee",h).pipe((0,P.R)(this.unSubs[4]),(0,p.U)(x=>(this.store.dispatch((0,A.uO)({payload:M.m6.BUMP_FEE})),this.snackBar.open("Successfully bumped the fee. Use the block explorer to verify transaction."),x)),(0,L.K)(x=>(this.handleErrorWithoutAlert("Bump Fee",M.m6.BUMP_FEE,x),(0,O._)(()=>new Error(this.extractErrorMessage(x))))))}))}labelUTXO(fe,T,i=!0){return this.lnImplementationUpdated.pipe((0,C.P)(o=>null!==o),(0,u.z)(o=>{const m={txid:fe,label:T,overwrite:i};return this.store.dispatch((0,A.ac)({payload:M.m6.LABEL_UTXO})),this.httpClient.post(this.APIUrl+"/"+o+k.NZ.WALLET_API+"/label",m).pipe((0,P.R)(this.unSubs[5]),(0,p.U)(h=>(this.store.dispatch((0,A.uO)({payload:M.m6.LABEL_UTXO})),h)),(0,L.K)(h=>(this.handleErrorWithoutAlert("Lease UTXO",M.m6.LABEL_UTXO,h),(0,O._)(()=>new Error(this.extractErrorMessage(h))))))}))}leaseUTXO(fe,T){return this.lnImplementationUpdated.pipe((0,C.P)(i=>null!==i),(0,u.z)(i=>{const o={txid:fe,outputIndex:T};return this.store.dispatch((0,A.ac)({payload:M.m6.LEASE_UTXO})),this.httpClient.post(this.APIUrl+"/"+i+k.NZ.WALLET_API+"/lease",o).pipe((0,P.R)(this.unSubs[6]),(0,p.U)(m=>{this.store.dispatch((0,A.uO)({payload:M.m6.LEASE_UTXO})),this.store.dispatch((0,W.mC)()),this.store.dispatch((0,W.Ly)());const h=new Date(1e3*m.expiration),x=Math.round(h.getTime())-60*h.getTimezoneOffset();this.snackBar.open("The UTXO has been leased till "+new Date(x).toString().substring(4,21).replace(" ","/").replace(" ","/").toUpperCase()+".")}),(0,L.K)(m=>(this.handleErrorWithoutAlert("Lease UTXO",M.m6.LEASE_UTXO,m),(0,O._)(()=>new Error(this.extractErrorMessage(m))))))}))}getForwardingHistory(fe,T,i,o){if("LND"===fe){const m={end_time:i,start_time:T};return this.store.dispatch((0,A.ac)({payload:M.m6.GET_FORWARDING_HISTORY})),this.httpClient.post(this.APIUrl+"/lnd"+k.NZ.SWITCH_API,m).pipe((0,P.R)(this.unSubs[7]),(0,D.M)(this.store.select(Z._f)),(0,u.z)(([h,x])=>{if(h.forwarding_events){const I=[...x.channels,...x.closedChannels];h.forwarding_events.forEach(R=>{if(I&&I.length>0)for(let g=0;g<I.length;g++){if(I[g].chan_id?.toString()===R.chan_id_in&&(R.alias_in=I[g].remote_alias?I[g].remote_alias:R.chan_id_in,R.alias_out)||I[g].chan_id?.toString()===R.chan_id_out&&(R.alias_out=I[g].remote_alias?I[g].remote_alias:R.chan_id_out,R.alias_in))return;g===I.length-1&&(R.alias_in||(R.alias_in=R.chan_id_in),R.alias_out||(R.alias_out=R.chan_id_out))}else R.alias_in=R.chan_id_in,R.alias_out=R.chan_id_out})}else h={};return this.store.dispatch((0,A.uO)({payload:M.m6.GET_FORWARDING_HISTORY})),(0,l.of)(h)}),(0,L.K)(h=>(this.handleErrorWithAlert("getForwardingHistoryData",M.m6.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/lnd"+k.NZ.SWITCH_API,h),(0,O._)(()=>new Error(this.extractErrorMessage(h))))))}return"CLN"===fe?(this.store.dispatch((0,A.ac)({payload:M.m6.GET_FORWARDING_HISTORY})),this.httpClient.get(this.APIUrl+"/cln"+k.NZ.CHANNELS_API+"/listForwards?status="+o).pipe((0,P.R)(this.unSubs[8]),(0,D.M)(this.store.select(X.ZW)),(0,u.z)(([m,h])=>{const x=this.mapAliases(m,[...h.activeChannels,...h.pendingChannels,...h.inactiveChannels]);return this.store.dispatch((0,A.uO)({payload:M.m6.GET_FORWARDING_HISTORY})),(0,l.of)(x)}),(0,L.K)(m=>(this.handleErrorWithAlert("getForwardingHistoryData",M.m6.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/cln"+k.NZ.CHANNELS_API+"/listForwards?status="+o+"&start="+T+"&end="+i,m),(0,O._)(()=>new Error(this.extractErrorMessage(m))))))):(0,l.of)({})}listNetworkNodes(fe=""){return this.lnImplementationUpdated.pipe((0,C.P)(T=>null!==T),(0,u.z)(T=>(this.store.dispatch((0,A.ac)({payload:M.m6.LIST_NETWORK_NODES})),this.httpClient.get(this.APIUrl+"/"+T+k.NZ.NETWORK_API+"/listNodes"+fe).pipe((0,P.R)(this.unSubs[9]),(0,u.z)(i=>(this.store.dispatch((0,A.uO)({payload:M.m6.LIST_NETWORK_NODES})),(0,l.of)(i))),(0,L.K)(i=>(this.handleErrorWithoutAlert("List Network Nodes",M.m6.LIST_NETWORK_NODES,i),(0,O._)(()=>this.extractErrorMessage(i))))))))}listConfigs(){return this.lnImplementationUpdated.pipe((0,C.P)(fe=>null!==fe),(0,u.z)(fe=>(this.store.dispatch((0,A.ac)({payload:M.m6.GET_LIST_CONFIGS})),this.httpClient.get(this.APIUrl+"/"+fe+k.NZ.UTILITY_API+"/listConfigs").pipe((0,P.R)(this.unSubs[10]),(0,u.z)(T=>(this.store.dispatch((0,A.uO)({payload:M.m6.GET_LIST_CONFIGS})),(0,l.of)(T))),(0,L.K)(T=>(this.handleErrorWithoutAlert("List Configurations",M.m6.GET_LIST_CONFIGS,T),(0,O._)(()=>this.extractErrorMessage(T))))))))}getOrUpdateFunderPolicy(fe,T,i,o,m,h){return this.lnImplementationUpdated.pipe((0,C.P)(x=>null!==x),(0,u.z)(x=>{const I=fe?{policy:fe,policy_mod:T,lease_fee_base_msat:i,lease_fee_basis:o,channel_fee_max_base_msat:m,channel_fee_max_proportional_thousandths:h}:null;return this.store.dispatch((0,A.ac)({payload:M.m6.GET_FUNDER_POLICY})),this.httpClient.post(this.APIUrl+"/"+x+k.NZ.CHANNELS_API+"/funderUpdate",I).pipe((0,P.R)(this.unSubs[11]),(0,p.U)(R=>(this.store.dispatch((0,A.uO)({payload:M.m6.GET_FUNDER_POLICY})),I&&this.store.dispatch((0,A.jW)({payload:"Funder Policy Updated Successfully with Compact Lease: "+R.compact_lease+"!"})),R)),(0,L.K)(R=>(this.handleErrorWithoutAlert("Funder Policy",M.m6.GET_FUNDER_POLICY,R),(0,O._)(()=>new Error(this.extractErrorMessage(R))))))}))}extractErrorMessage(fe,T="Unknown Error."){return this.titleCasePipe.transform(fe.error.text&&"string"==typeof fe.error.text&&fe.error.text.includes('<!DOCTYPE html><html lang="en">')?"API Route Does Not Exist.":fe.error&&fe.error.error&&fe.error.error.error&&fe.error.error.error.error&&fe.error.error.error.error.error&&"string"==typeof fe.error.error.error.error.error?fe.error.error.error.error.error:fe.error&&fe.error.error&&fe.error.error.error&&fe.error.error.error.error&&"string"==typeof fe.error.error.error.error?fe.error.error.error.error:fe.error&&fe.error.error&&fe.error.error.error&&"string"==typeof fe.error.error.error?fe.error.error.error:fe.error&&fe.error.error&&"string"==typeof fe.error.error?fe.error.error:fe.error&&"string"==typeof fe.error?fe.error:fe.error&&fe.error.error&&fe.error.error.error&&fe.error.error.error.error&&fe.error.error.error.error.message&&"string"==typeof fe.error.error.error.error.message?fe.error.error.error.error.message:fe.error&&fe.error.error&&fe.error.error.error&&fe.error.error.error.message&&"string"==typeof fe.error.error.error.message?fe.error.error.error.message:fe.error&&fe.error.error&&fe.error.error.message&&"string"==typeof fe.error.error.message?fe.error.error.message:fe.error&&fe.error.message&&"string"==typeof fe.error.message?fe.error.message:fe.message&&"string"==typeof fe.message?fe.message:T)}handleErrorWithoutAlert(fe,T,i){i.error.text&&"string"==typeof i.error.text&&i.error.text.includes('<!DOCTYPE html><html lang="en">')&&(i={status:403,error:{message:"API Route Does Not Exist."}}),this.logger.error("ERROR IN: "+fe+"\n"+JSON.stringify(i)),401===i.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,A.ts)()),this.store.dispatch((0,A.kS)()),this.store.dispatch((0,A.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,A.uO)({payload:T})),this.store.dispatch((0,A.qi)({payload:{action:fe,status:M.Bn.ERROR,statusCode:i.status.toString(),message:this.extractErrorMessage(i)}})))}handleErrorWithAlert(fe,T,i,o,m){if(this.logger.error(m),401===m.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,A.ts)()),this.store.dispatch((0,A.kS)()),this.store.dispatch((0,A.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,A.uO)({payload:T}));const h=this.extractErrorMessage(m);this.store.dispatch((0,A.qR)({payload:{data:{type:"ERROR",alertTitle:i,message:{code:m.status?m.status:"Unknown Error",message:h,URL:o},component:z.H}}})),this.store.dispatch((0,A.qi)({payload:{action:fe,status:M.Bn.ERROR,statusCode:m.status.toString(),message:h,URL:o}}))}}ngOnDestroy(){this.unSubs.forEach(fe=>{fe.next(null),fe.complete()})}}le.\u0275fac=function(fe){return new(fe||le)($.LFG(e.eN),$.LFG(ae.yh),$.LFG(he.mQ),$.LFG(se.ux),$.LFG(pe.rS))},le.\u0275prov=$.Yz7({token:le,factory:le.\u0275fac})},5043:(Ye,J,f)=>{"use strict";f.d(J,{LG:()=>u,mQ:()=>C});var e=f(2340),t=f(2560);const{isDebugMode:_}=e.NZ,O=()=>null;class C{invokeConsoleMethod(p,L){}}C.\u0275fac=function(p){return new(p||C)},C.\u0275prov=t.Yz7({token:C,factory:C.\u0275fac});class u{get info(){return _?console.log.bind(console):O}get warn(){return _?console.warn.bind(console):O}get error(){return _?console.error.bind(console):O}invokeConsoleMethod(p,L){(console[p]||console.log||O).apply(console,[L])}}u.\u0275fac=function(p){return new(p||u)},u.\u0275prov=t.Yz7({token:u,factory:u.\u0275fac})},1419:(Ye,J,f)=>{"use strict";f.d(J,{W:()=>Z});var e=f(8987),t=f(6317),_=f(253),O=f(745),l=f(5474),C=f(8951),u=f(3158),P=f(635),p=f(2340),L=f(7731),D=f(1786),k=f(7861),M=f(2560),z=f(5043),A=f(9263),W=f(62);class Z{constructor($,ae,he,se){this.httpClient=$,this.logger=ae,this.store=he,this.commonService=se,this.loopUrl="",this.swaps=[],this.swapsChanged=new t.X([]),this.unSubs=[new _.x,new _.x,new _.x,new _.x,new _.x]}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,k.ac)({payload:L.m6.GET_LOOP_SWAPS})),this.loopUrl=p.T5+p.NZ.LOOP_API+"/swaps",this.httpClient.get(this.loopUrl).pipe((0,C.R)(this.unSubs[0])).subscribe({next:$=>{this.store.dispatch((0,k.uO)({payload:L.m6.GET_LOOP_SWAPS})),this.swaps=$,this.swapsChanged.next(this.swaps)},error:$=>this.swapsChanged.error(this.handleErrorWithAlert(L.m6.GET_LOOP_SWAPS,this.loopUrl,$))})}loopOut($,ae,he,se,pe,le,re,fe,T,i){const o={amount:$,targetConf:he,swapRoutingFee:se,minerFee:pe,prepayRoutingFee:le,prepayAmt:re,swapFee:fe,swapPublicationDeadline:T,destAddress:i};return""!==ae&&(o.chanId=ae),this.loopUrl=p.T5+p.NZ.LOOP_API+"/out",this.httpClient.post(this.loopUrl,o).pipe((0,u.K)(m=>this.handleErrorWithoutAlert("Loop Out for Channel: "+ae,L.m6.NO_SPINNER,m)))}getLoopOutTerms(){return this.loopUrl=p.T5+p.NZ.LOOP_API+"/out/terms",this.httpClient.get(this.loopUrl).pipe((0,u.K)($=>this.handleErrorWithoutAlert("Loop Out Terms",L.m6.NO_SPINNER,$)))}getLoopOutQuote($,ae,he){let se=new e.LE;return se=se.append("targetConf",ae.toString()),se=se.append("swapPublicationDeadline",he.toString()),this.loopUrl=p.T5+p.NZ.LOOP_API+"/out/quote/"+$,this.store.dispatch((0,k.ac)({payload:L.m6.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:se}).pipe((0,C.R)(this.unSubs[1]),(0,P.U)(pe=>(this.store.dispatch((0,k.uO)({payload:L.m6.GET_QUOTE})),pe)),(0,u.K)(pe=>this.handleErrorWithoutAlert("Loop Out Quote",L.m6.GET_QUOTE,pe)))}getLoopOutTermsAndQuotes($){let ae=new e.LE;return ae=ae.append("targetConf",$.toString()),ae=ae.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=p.T5+p.NZ.LOOP_API+"/out/termsAndQuotes",this.store.dispatch((0,k.ac)({payload:L.m6.GET_TERMS_QUOTES})),this.httpClient.get(this.loopUrl,{params:ae}).pipe((0,C.R)(this.unSubs[2]),(0,P.U)(he=>(this.store.dispatch((0,k.uO)({payload:L.m6.GET_TERMS_QUOTES})),he)),(0,u.K)(he=>(0,O.of)(this.handleErrorWithAlert(L.m6.GET_TERMS_QUOTES,this.loopUrl,he))))}loopIn($,ae,he,se,pe){const le={amount:$,swapFee:ae,minerFee:he,lastHop:se,externalHtlc:pe};return this.loopUrl=p.T5+p.NZ.LOOP_API+"/in",this.httpClient.post(this.loopUrl,le).pipe((0,u.K)(re=>this.handleErrorWithoutAlert("Loop In",L.m6.NO_SPINNER,re)))}getLoopInTerms(){return this.loopUrl=p.T5+p.NZ.LOOP_API+"/in/terms",this.httpClient.get(this.loopUrl).pipe((0,u.K)($=>this.handleErrorWithoutAlert("Loop In Terms",L.m6.NO_SPINNER,$)))}getLoopInQuote($,ae,he){let se=new e.LE;return se=se.append("targetConf",ae.toString()),se=se.append("swapPublicationDeadline",he.toString()),this.loopUrl=p.T5+p.NZ.LOOP_API+"/in/quote/"+$,this.store.dispatch((0,k.ac)({payload:L.m6.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:se}).pipe((0,C.R)(this.unSubs[3]),(0,P.U)(pe=>(this.store.dispatch((0,k.uO)({payload:L.m6.GET_QUOTE})),pe)),(0,u.K)(pe=>this.handleErrorWithoutAlert("Loop In Qoute",L.m6.GET_QUOTE,pe)))}getLoopInTermsAndQuotes($){let ae=new e.LE;return ae=ae.append("targetConf",$.toString()),ae=ae.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=p.T5+p.NZ.LOOP_API+"/in/termsAndQuotes",this.store.dispatch((0,k.ac)({payload:L.m6.GET_TERMS_QUOTES})),this.httpClient.get(this.loopUrl,{params:ae}).pipe((0,C.R)(this.unSubs[4]),(0,P.U)(he=>(this.store.dispatch((0,k.uO)({payload:L.m6.GET_TERMS_QUOTES})),he)),(0,u.K)(he=>(0,O.of)(this.handleErrorWithAlert(L.m6.GET_TERMS_QUOTES,this.loopUrl,he))))}getSwap($){return this.loopUrl=p.T5+p.NZ.LOOP_API+"/swap/"+$,this.httpClient.get(this.loopUrl).pipe((0,u.K)(ae=>this.handleErrorWithoutAlert("Loop Get Swap for ID: "+$,L.m6.NO_SPINNER,ae)))}handleErrorWithoutAlert($,ae,he){let se="";return this.logger.error("ERROR IN: "+$+"\n"+JSON.stringify(he)),this.store.dispatch((0,k.uO)({payload:ae})),401===he.status?(se="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,k.kS)())):503===he.status?(se="Unable to Connect to Loop Server.",this.store.dispatch((0,k.qR)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:he.status,message:"Unable to Connect to Loop Server",URL:$},component:D.H}}}))):se=this.commonService.extractErrorMessage(he),(0,l._)(()=>new Error(se))}handleErrorWithAlert($,ae,he){let se="";if(this.logger.error(he),this.store.dispatch((0,k.uO)({payload:$})),401===he.status)se="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,k.kS)());else if(503===he.status)se="Unable to Connect to Loop Server.",setTimeout(()=>{this.store.dispatch((0,k.qR)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:he.status,message:"Unable to Connect to Loop Server",URL:ae},component:D.H}}}))},100);else{se=this.commonService.extractErrorMessage(he);const pe=he.error&&he.error.error&&he.error.error.code?he.error.error.code:he.error&&he.error.code?he.error.code:he.code?he.code:he.status;setTimeout(()=>{this.store.dispatch((0,k.qR)({payload:{data:{type:L.n_.ERROR,alertTitle:"ERROR",message:{code:pe,message:se,URL:ae},component:D.H}}}))},100)}return{message:se}}ngOnDestroy(){this.unSubs.forEach($=>{$.next(null),$.complete()})}}Z.\u0275fac=function($){return new($||Z)(M.LFG(e.eN),M.LFG(z.mQ),M.LFG(A.yh),M.LFG(W.v))},Z.\u0275prov=M.Yz7({token:Z,factory:Z.\u0275fac})},5986:(Ye,J,f)=>{"use strict";f.d(J,{m:()=>_});var e=f(253),t=f(2560);class _{constructor(){this.sessionSub=new e.x}watchSession(){return this.sessionSub.asObservable()}getItem(l){return sessionStorage.getItem(l)}getAllItems(){return sessionStorage}setItem(l,C){sessionStorage.setItem(l,C),this.sessionSub.next(sessionStorage)}removeItem(l){sessionStorage.removeItem(l),this.sessionSub.next(sessionStorage)}clearAll(){sessionStorage.clear(),this.sessionSub.next(sessionStorage)}}_.\u0275fac=function(l){return new(l||_)},_.\u0275prov=t.Yz7({token:_,factory:_.\u0275fac})},3512:(Ye,J,f)=>{"use strict";f.d(J,{d:()=>z});var e=f(6317),t=f(253),_=f(8951),O=f(5463),l=f(833),C=f(7714),u=f(6067);const P={url:"",deserializer:A=>JSON.parse(A.data),serializer:A=>JSON.stringify(A)};class L extends t.u{constructor(W,Z){if(super(),this._socket=null,W instanceof l.y)this.destination=Z,this.source=W;else{const X=this._config=Object.assign({},P);if(this._output=new t.x,"string"==typeof W)X.url=W;else for(const $ in W)W.hasOwnProperty($)&&(X[$]=W[$]);if(!X.WebSocketCtor&&WebSocket)X.WebSocketCtor=WebSocket;else if(!X.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new u.t}}lift(W){const Z=new L(this._config,this.destination);return Z.operator=W,Z.source=this,Z}_resetState(){this._socket=null,this.source||(this.destination=new u.t),this._output=new t.x}multiplex(W,Z,X){const $=this;return new l.y(ae=>{try{$.next(W())}catch(se){ae.error(se)}const he=$.subscribe({next:se=>{try{X(se)&&ae.next(se)}catch(pe){ae.error(pe)}},error:se=>ae.error(se),complete:()=>ae.complete()});return()=>{try{$.next(Z())}catch(se){ae.error(se)}he.unsubscribe()}})}_connectSocket(){const{WebSocketCtor:W,protocol:Z,url:X,binaryType:$}=this._config,ae=this._output;let he=null;try{he=Z?new W(X,Z):new W(X),this._socket=he,$&&(this._socket.binaryType=$)}catch(pe){return void ae.error(pe)}const se=new C.w0(()=>{this._socket=null,he&&1===he.readyState&&he.close()});he.onopen=pe=>{const{_socket:le}=this;if(!le)return he.close(),void this._resetState();const{openObserver:re}=this._config;re&&re.next(pe);const fe=this.destination;this.destination=O.Lv.create(T=>{if(1===he.readyState)try{const{serializer:i}=this._config;he.send(i(T))}catch(i){this.destination.error(i)}},T=>{const{closingObserver:i}=this._config;i&&i.next(void 0),T&&T.code?he.close(T.code,T.reason):ae.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:T}=this._config;T&&T.next(void 0),he.close(),this._resetState()}),fe&&fe instanceof u.t&&se.add(fe.subscribe(this.destination))},he.onerror=pe=>{this._resetState(),ae.error(pe)},he.onclose=pe=>{he===this._socket&&this._resetState();const{closeObserver:le}=this._config;le&&le.next(pe),pe.wasClean?ae.complete():ae.error(pe)},he.onmessage=pe=>{try{const{deserializer:le}=this._config;ae.next(le(pe))}catch(le){ae.error(le)}}}_subscribe(W){const{source:Z}=this;return Z?Z.subscribe(W):(this._socket||this._connectSocket(),this._output.subscribe(W),W.add(()=>{const{_socket:X}=this;0===this._output.observers.length&&(X&&(1===X.readyState||0===X.readyState)&&X.close(),this._resetState())}),W)}unsubscribe(){const{_socket:W}=this;W&&(1===W.readyState||0===W.readyState)&&W.close(),this._resetState(),super.unsubscribe()}}var D=f(2560),k=f(5043),M=f(5986);class z{constructor(W,Z){this.logger=W,this.sessionService=Z,this.clWSMessages=new e.X(null),this.eclWSMessages=new e.X(null),this.lndWSMessages=new e.X(null),this.wsUrl="",this.nodeIndex="",this.RETRY_SECONDS=5,this.RECONNECT_TIMEOUT=null,this.unSubs=[new t.x,new t.x,new t.x,new t.x,new t.x,new t.x,new t.x,new t.x,new t.x,new t.x,new t.x,new t.x,new t.x]}connectWebSocket(W,Z){(!this.socket||this.socket.closed)&&(this.wsUrl=W,this.nodeIndex=Z,this.logger.info("Websocket Url: "+this.wsUrl),this.socket=new L({url:W,protocol:[this.sessionService.getItem("token")||"",Z]}),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,_.R)(this.unSubs[1])).subscribe({next:W=>{if((W="string"==typeof W?JSON.parse(W):W).error)this.handleError(W.error);else switch(this.logger.info("Next Message from WS:"+JSON.stringify(W)),W.source){case"LND":this.lndWSMessages.next(W);break;case"CLN":this.clWSMessages.next(W);break;case"ECL":this.eclWSMessages.next(W)}},error:W=>this.handleError(W),complete:()=>{this.logger.info("Web Socket Closed")}})}handleError(W){this.logger.error(W),this.clWSMessages.error(W),this.eclWSMessages.error(W),this.lndWSMessages.error(W),this.reconnectOnError()}ngOnDestroy(){this.closeConnection(),this.clWSMessages.next(null),this.clWSMessages.complete(),this.eclWSMessages.next(null),this.eclWSMessages.complete(),this.lndWSMessages.next(null),this.lndWSMessages.complete()}}z.\u0275fac=function(W){return new(W||z)(D.LFG(k.mQ),D.LFG(M.m))},z.\u0275prov=D.Yz7({token:z,factory:z.\u0275fac})},6165:(Ye,J,f)=>{"use strict";f.d(J,{m:()=>aa});var e=f(4666),t=f(3547),_=f(2508),O=f(8987),l=f(3505),C=f(2560),u=f(4658),P=f(3704),p=f(6722),L=f(8971);const D="stretch",k="stretch";class M extends u.QI{buildStyles(je){return function $(li=""){const je={},[Dt,bi]=li.split(" ");switch(Dt){case"end":je["justify-self"]="end";break;case"center":je["justify-self"]="center";break;case"stretch":je["justify-self"]="stretch";break;case"start":je["justify-self"]="start";break;default:je["justify-self"]=D}switch(bi){case"end":je["align-self"]="end";break;case"center":je["align-self"]="center";break;case"stretch":je["align-self"]="stretch";break;case"start":je["align-self"]="start";break;default:je["align-self"]=k}return je}(je||D)}}M.\u0275fac=function(){let li;return function(Dt){return(li||(li=C.n5z(M)))(Dt||M)}}(),M.\u0275prov=C.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"});class z extends u.iR{constructor(je,Dt,bi,Hi){super(je,Dt,bi,Hi),this.DIRECTIVE_KEY="grid-align",this.styleCache=A,this.init()}}z.\u0275fac=function(je){return new(je||z)(C.Y36(C.SBq),C.Y36(M),C.Y36(u.RK),C.Y36(u.yB))},z.\u0275dir=C.lG2({type:z,features:[C.qOj]});const A=new Map,W=["gdGridAlign","gdGridAlign.xs","gdGridAlign.sm","gdGridAlign.md","gdGridAlign.lg","gdGridAlign.xl","gdGridAlign.lt-sm","gdGridAlign.lt-md","gdGridAlign.lt-lg","gdGridAlign.lt-xl","gdGridAlign.gt-xs","gdGridAlign.gt-sm","gdGridAlign.gt-md","gdGridAlign.gt-lg"];class X extends z{constructor(){super(...arguments),this.inputs=W}}X.\u0275fac=function(){let li;return function(Dt){return(li||(li=C.n5z(X)))(Dt||X)}}(),X.\u0275dir=C.lG2({type:X,selectors:[["","gdGridAlign",""],["","gdGridAlign.xs",""],["","gdGridAlign.sm",""],["","gdGridAlign.md",""],["","gdGridAlign.lg",""],["","gdGridAlign.xl",""],["","gdGridAlign.lt-sm",""],["","gdGridAlign.lt-md",""],["","gdGridAlign.lt-lg",""],["","gdGridAlign.lt-xl",""],["","gdGridAlign.gt-xs",""],["","gdGridAlign.gt-sm",""],["","gdGridAlign.gt-md",""],["","gdGridAlign.gt-lg",""]],inputs:{gdGridAlign:"gdGridAlign","gdGridAlign.xs":"gdGridAlign.xs","gdGridAlign.sm":"gdGridAlign.sm","gdGridAlign.md":"gdGridAlign.md","gdGridAlign.lg":"gdGridAlign.lg","gdGridAlign.xl":"gdGridAlign.xl","gdGridAlign.lt-sm":"gdGridAlign.lt-sm","gdGridAlign.lt-md":"gdGridAlign.lt-md","gdGridAlign.lt-lg":"gdGridAlign.lt-lg","gdGridAlign.lt-xl":"gdGridAlign.lt-xl","gdGridAlign.gt-xs":"gdGridAlign.gt-xs","gdGridAlign.gt-sm":"gdGridAlign.gt-sm","gdGridAlign.gt-md":"gdGridAlign.gt-md","gdGridAlign.gt-lg":"gdGridAlign.gt-lg"},features:[C.qOj]});const ae="start",he="stretch";class se extends u.QI{buildStyles(je,Dt){return function o(li,je){const Dt={},[bi,Hi]=li.split(" ");switch(bi){case"center":Dt["align-content"]="center";break;case"space-around":Dt["align-content"]="space-around";break;case"space-between":Dt["align-content"]="space-between";break;case"space-evenly":Dt["align-content"]="space-evenly";break;case"end":Dt["align-content"]="end";break;case"start":Dt["align-content"]="start";break;case"stretch":Dt["align-content"]="stretch";break;default:Dt["align-content"]=ae}switch(Hi){case"start":Dt["align-items"]="start";break;case"center":Dt["align-items"]="center";break;case"end":Dt["align-items"]="end";break;case"stretch":Dt["align-items"]="stretch";break;default:Dt["align-items"]=he}return Dt.display=je?"inline-grid":"grid",Dt}(je||`start ${he}`,Dt.inline)}}se.\u0275fac=function(){let li;return function(Dt){return(li||(li=C.n5z(se)))(Dt||se)}}(),se.\u0275prov=C.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"});class pe extends u.iR{constructor(je,Dt,bi,Hi){super(je,Dt,bi,Hi),this.DIRECTIVE_KEY="grid-align-columns",this._inline=!1,this.init()}get inline(){return this._inline}set inline(je){this._inline=(0,L.Ig)(je)}updateWithValue(je){this.styleCache=this.inline?re:le,this.addStyles(je,{inline:this.inline})}}pe.\u0275fac=function(je){return new(je||pe)(C.Y36(C.SBq),C.Y36(se),C.Y36(u.RK),C.Y36(u.yB))},pe.\u0275dir=C.lG2({type:pe,inputs:{inline:["gdInline","inline"]},features:[C.qOj]});const le=new Map,re=new Map,fe=["gdAlignColumns","gdAlignColumns.xs","gdAlignColumns.sm","gdAlignColumns.md","gdAlignColumns.lg","gdAlignColumns.xl","gdAlignColumns.lt-sm","gdAlignColumns.lt-md","gdAlignColumns.lt-lg","gdAlignColumns.lt-xl","gdAlignColumns.gt-xs","gdAlignColumns.gt-sm","gdAlignColumns.gt-md","gdAlignColumns.gt-lg"];class i extends pe{constructor(){super(...arguments),this.inputs=fe}}i.\u0275fac=function(){let li;return function(Dt){return(li||(li=C.n5z(i)))(Dt||i)}}(),i.\u0275dir=C.lG2({type:i,selectors:[["","gdAlignColumns",""],["","gdAlignColumns.xs",""],["","gdAlignColumns.sm",""],["","gdAlignColumns.md",""],["","gdAlignColumns.lg",""],["","gdAlignColumns.xl",""],["","gdAlignColumns.lt-sm",""],["","gdAlignColumns.lt-md",""],["","gdAlignColumns.lt-lg",""],["","gdAlignColumns.lt-xl",""],["","gdAlignColumns.gt-xs",""],["","gdAlignColumns.gt-sm",""],["","gdAlignColumns.gt-md",""],["","gdAlignColumns.gt-lg",""]],inputs:{gdAlignColumns:"gdAlignColumns","gdAlignColumns.xs":"gdAlignColumns.xs","gdAlignColumns.sm":"gdAlignColumns.sm","gdAlignColumns.md":"gdAlignColumns.md","gdAlignColumns.lg":"gdAlignColumns.lg","gdAlignColumns.xl":"gdAlignColumns.xl","gdAlignColumns.lt-sm":"gdAlignColumns.lt-sm","gdAlignColumns.lt-md":"gdAlignColumns.lt-md","gdAlignColumns.lt-lg":"gdAlignColumns.lt-lg","gdAlignColumns.lt-xl":"gdAlignColumns.lt-xl","gdAlignColumns.gt-xs":"gdAlignColumns.gt-xs","gdAlignColumns.gt-sm":"gdAlignColumns.gt-sm","gdAlignColumns.gt-md":"gdAlignColumns.gt-md","gdAlignColumns.gt-lg":"gdAlignColumns.gt-lg"},features:[C.qOj]});const m="start",h="stretch";class x extends u.QI{buildStyles(je,Dt){return function N(li,je){const Dt={},[bi,Hi]=li.split(" ");switch(bi){case"center":case"space-around":case"space-between":case"space-evenly":case"end":case"start":case"stretch":Dt["justify-content"]=bi;break;default:Dt["justify-content"]=m}switch(Hi){case"start":case"center":case"end":case"stretch":Dt["justify-items"]=Hi;break;default:Dt["justify-items"]=h}return Dt.display=je?"inline-grid":"grid",Dt}(je||`${m} ${h}`,Dt.inline)}}x.\u0275fac=function(){let li;return function(Dt){return(li||(li=C.n5z(x)))(Dt||x)}}(),x.\u0275prov=C.Yz7({token:x,factory:x.\u0275fac,providedIn:"root"});class I extends u.iR{constructor(je,Dt,bi,Hi){super(je,Dt,bi,Hi),this.DIRECTIVE_KEY="grid-align-rows",this._inline=!1,this.init()}get inline(){return this._inline}set inline(je){this._inline=(0,L.Ig)(je)}updateWithValue(je){this.styleCache=this.inline?g:R,this.addStyles(je,{inline:this.inline})}}I.\u0275fac=function(je){return new(je||I)(C.Y36(C.SBq),C.Y36(x),C.Y36(u.RK),C.Y36(u.yB))},I.\u0275dir=C.lG2({type:I,inputs:{inline:["gdInline","inline"]},features:[C.qOj]});const R=new Map,g=new Map,r=["gdAlignRows","gdAlignRows.xs","gdAlignRows.sm","gdAlignRows.md","gdAlignRows.lg","gdAlignRows.xl","gdAlignRows.lt-sm","gdAlignRows.lt-md","gdAlignRows.lt-lg","gdAlignRows.lt-xl","gdAlignRows.gt-xs","gdAlignRows.gt-sm","gdAlignRows.gt-md","gdAlignRows.gt-lg"];class V extends I{constructor(){super(...arguments),this.inputs=r}}V.\u0275fac=function(){let li;return function(Dt){return(li||(li=C.n5z(V)))(Dt||V)}}(),V.\u0275dir=C.lG2({type:V,selectors:[["","gdAlignRows",""],["","gdAlignRows.xs",""],["","gdAlignRows.sm",""],["","gdAlignRows.md",""],["","gdAlignRows.lg",""],["","gdAlignRows.xl",""],["","gdAlignRows.lt-sm",""],["","gdAlignRows.lt-md",""],["","gdAlignRows.lt-lg",""],["","gdAlignRows.lt-xl",""],["","gdAlignRows.gt-xs",""],["","gdAlignRows.gt-sm",""],["","gdAlignRows.gt-md",""],["","gdAlignRows.gt-lg",""]],inputs:{gdAlignRows:"gdAlignRows","gdAlignRows.xs":"gdAlignRows.xs","gdAlignRows.sm":"gdAlignRows.sm","gdAlignRows.md":"gdAlignRows.md","gdAlignRows.lg":"gdAlignRows.lg","gdAlignRows.xl":"gdAlignRows.xl","gdAlignRows.lt-sm":"gdAlignRows.lt-sm","gdAlignRows.lt-md":"gdAlignRows.lt-md","gdAlignRows.lt-lg":"gdAlignRows.lt-lg","gdAlignRows.lt-xl":"gdAlignRows.lt-xl","gdAlignRows.gt-xs":"gdAlignRows.gt-xs","gdAlignRows.gt-sm":"gdAlignRows.gt-sm","gdAlignRows.gt-md":"gdAlignRows.gt-md","gdAlignRows.gt-lg":"gdAlignRows.gt-lg"},features:[C.qOj]});class Pe extends u.QI{buildStyles(je){return{"grid-area":je||"auto"}}}Pe.\u0275fac=function(){let li;return function(Dt){return(li||(li=C.n5z(Pe)))(Dt||Pe)}}(),Pe.\u0275prov=C.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"});class Ce extends u.iR{constructor(je,Dt,bi,Hi){super(je,bi,Dt,Hi),this.DIRECTIVE_KEY="grid-area",this.styleCache=Xe,this.init()}}Ce.\u0275fac=function(je){return new(je||Ce)(C.Y36(C.SBq),C.Y36(u.RK),C.Y36(Pe),C.Y36(u.yB))},Ce.\u0275dir=C.lG2({type:Ce,features:[C.qOj]});const Xe=new Map,dt=["gdArea","gdArea.xs","gdArea.sm","gdArea.md","gdArea.lg","gdArea.xl","gdArea.lt-sm","gdArea.lt-md","gdArea.lt-lg","gdArea.lt-xl","gdArea.gt-xs","gdArea.gt-sm","gdArea.gt-md","gdArea.gt-lg"];class ge extends Ce{constructor(){super(...arguments),this.inputs=dt}}ge.\u0275fac=function(){let li;return function(Dt){return(li||(li=C.n5z(ge)))(Dt||ge)}}(),ge.\u0275dir=C.lG2({type:ge,selectors:[["","gdArea",""],["","gdArea.xs",""],["","gdArea.sm",""],["","gdArea.md",""],["","gdArea.lg",""],["","gdArea.xl",""],["","gdArea.lt-sm",""],["","gdArea.lt-md",""],["","gdArea.lt-lg",""],["","gdArea.lt-xl",""],["","gdArea.gt-xs",""],["","gdArea.gt-sm",""],["","gdArea.gt-md",""],["","gdArea.gt-lg",""]],inputs:{gdArea:"gdArea","gdArea.xs":"gdArea.xs","gdArea.sm":"gdArea.sm","gdArea.md":"gdArea.md","gdArea.lg":"gdArea.lg","gdArea.xl":"gdArea.xl","gdArea.lt-sm":"gdArea.lt-sm","gdArea.lt-md":"gdArea.lt-md","gdArea.lt-lg":"gdArea.lt-lg","gdArea.lt-xl":"gdArea.lt-xl","gdArea.gt-xs":"gdArea.gt-xs","gdArea.gt-sm":"gdArea.gt-sm","gdArea.gt-md":"gdArea.gt-md","gdArea.gt-lg":"gdArea.gt-lg"},features:[C.qOj]});class Me extends u.QI{buildStyles(je,Dt){const bi=(je||"none").split("|").map(Hi=>`"${Hi.trim()}"`);return{display:Dt.inline?"inline-grid":"grid","grid-template-areas":bi.join(" ")}}}Me.\u0275fac=function(){let li;return function(Dt){return(li||(li=C.n5z(Me)))(Dt||Me)}}(),Me.\u0275prov=C.Yz7({token:Me,factory:Me.\u0275fac,providedIn:"root"});class De extends u.iR{constructor(je,Dt,bi,Hi){super(je,bi,Dt,Hi),this.DIRECTIVE_KEY="grid-areas",this._inline=!1,this.init()}get inline(){return this._inline}set inline(je){this._inline=(0,L.Ig)(je)}updateWithValue(je){this.styleCache=this.inline?ye:Ue,this.addStyles(je,{inline:this.inline})}}De.\u0275fac=function(je){return new(je||De)(C.Y36(C.SBq),C.Y36(u.RK),C.Y36(Me),C.Y36(u.yB))},De.\u0275dir=C.lG2({type:De,inputs:{inline:["gdInline","inline"]},features:[C.qOj]});const Ue=new Map,ye=new Map,we=["gdAreas","gdAreas.xs","gdAreas.sm","gdAreas.md","gdAreas.lg","gdAreas.xl","gdAreas.lt-sm","gdAreas.lt-md","gdAreas.lt-lg","gdAreas.lt-xl","gdAreas.gt-xs","gdAreas.gt-sm","gdAreas.gt-md","gdAreas.gt-lg"];class Se extends De{constructor(){super(...arguments),this.inputs=we}}Se.\u0275fac=function(){let li;return function(Dt){return(li||(li=C.n5z(Se)))(Dt||Se)}}(),Se.\u0275dir=C.lG2({type:Se,selectors:[["","gdAreas",""],["","gdAreas.xs",""],["","gdAreas.sm",""],["","gdAreas.md",""],["","gdAreas.lg",""],["","gdAreas.xl",""],["","gdAreas.lt-sm",""],["","gdAreas.lt-md",""],["","gdAreas.lt-lg",""],["","gdAreas.lt-xl",""],["","gdAreas.gt-xs",""],["","gdAreas.gt-sm",""],["","gdAreas.gt-md",""],["","gdAreas.gt-lg",""]],inputs:{gdAreas:"gdAreas","gdAreas.xs":"gdAreas.xs","gdAreas.sm":"gdAreas.sm","gdAreas.md":"gdAreas.md","gdAreas.lg":"gdAreas.lg","gdAreas.xl":"gdAreas.xl","gdAreas.lt-sm":"gdAreas.lt-sm","gdAreas.lt-md":"gdAreas.lt-md","gdAreas.lt-lg":"gdAreas.lt-lg","gdAreas.lt-xl":"gdAreas.lt-xl","gdAreas.gt-xs":"gdAreas.gt-xs","gdAreas.gt-sm":"gdAreas.gt-sm","gdAreas.gt-md":"gdAreas.gt-md","gdAreas.gt-lg":"gdAreas.gt-lg"},features:[C.qOj]});class K extends u.QI{buildStyles(je,Dt){let[bi,Hi]=(je||"initial").split(" ");return"column"!==bi&&"row"!==bi&&"dense"!==bi&&(bi="row"),Hi="dense"===Hi&&"dense"!==bi?" dense":"",{display:Dt.inline?"inline-grid":"grid","grid-auto-flow":bi+Hi}}}K.\u0275fac=function(){let li;return function(Dt){return(li||(li=C.n5z(K)))(Dt||K)}}(),K.\u0275prov=C.Yz7({token:K,factory:K.\u0275fac,providedIn:"root"});class ee extends u.iR{constructor(je,Dt,bi,Hi){super(je,Dt,bi,Hi),this._inline=!1,this.DIRECTIVE_KEY="grid-auto",this.init()}get inline(){return this._inline}set inline(je){this._inline=(0,L.Ig)(je)}updateWithValue(je){this.styleCache=this.inline?Ve:ze,this.addStyles(je,{inline:this.inline})}}ee.\u0275fac=function(je){return new(je||ee)(C.Y36(C.SBq),C.Y36(K),C.Y36(u.RK),C.Y36(u.yB))},ee.\u0275dir=C.lG2({type:ee,inputs:{inline:["gdInline","inline"]},features:[C.qOj]});const ze=new Map,Ve=new Map,oe=["gdAuto","gdAuto.xs","gdAuto.sm","gdAuto.md","gdAuto.lg","gdAuto.xl","gdAuto.lt-sm","gdAuto.lt-md","gdAuto.lt-lg","gdAuto.lt-xl","gdAuto.gt-xs","gdAuto.gt-sm","gdAuto.gt-md","gdAuto.gt-lg"];class qe extends ee{constructor(){super(...arguments),this.inputs=oe}}qe.\u0275fac=function(){let li;return function(Dt){return(li||(li=C.n5z(qe)))(Dt||qe)}}(),qe.\u0275dir=C.lG2({type:qe,selectors:[["","gdAuto",""],["","gdAuto.xs",""],["","gdAuto.sm",""],["","gdAuto.md",""],["","gdAuto.lg",""],["","gdAuto.xl",""],["","gdAuto.lt-sm",""],["","gdAuto.lt-md",""],["","gdAuto.lt-lg",""],["","gdAuto.lt-xl",""],["","gdAuto.gt-xs",""],["","gdAuto.gt-sm",""],["","gdAuto.gt-md",""],["","gdAuto.gt-lg",""]],inputs:{gdAuto:"gdAuto","gdAuto.xs":"gdAuto.xs","gdAuto.sm":"gdAuto.sm","gdAuto.md":"gdAuto.md","gdAuto.lg":"gdAuto.lg","gdAuto.xl":"gdAuto.xl","gdAuto.lt-sm":"gdAuto.lt-sm","gdAuto.lt-md":"gdAuto.lt-md","gdAuto.lt-lg":"gdAuto.lt-lg","gdAuto.lt-xl":"gdAuto.lt-xl","gdAuto.gt-xs":"gdAuto.gt-xs","gdAuto.gt-sm":"gdAuto.gt-sm","gdAuto.gt-md":"gdAuto.gt-md","gdAuto.gt-lg":"gdAuto.gt-lg"},features:[C.qOj]});class ii extends u.QI{buildStyles(je){return{"grid-column":je||"auto"}}}ii.\u0275fac=function(){let li;return function(Dt){return(li||(li=C.n5z(ii)))(Dt||ii)}}(),ii.\u0275prov=C.Yz7({token:ii,factory:ii.\u0275fac,providedIn:"root"});class bt extends u.iR{constructor(je,Dt,bi,Hi){super(je,Dt,bi,Hi),this.DIRECTIVE_KEY="grid-column",this.styleCache=st,this.init()}}bt.\u0275fac=function(je){return new(je||bt)(C.Y36(C.SBq),C.Y36(ii),C.Y36(u.RK),C.Y36(u.yB))},bt.\u0275dir=C.lG2({type:bt,features:[C.qOj]});const st=new Map,Be=["gdColumn","gdColumn.xs","gdColumn.sm","gdColumn.md","gdColumn.lg","gdColumn.xl","gdColumn.lt-sm","gdColumn.lt-md","gdColumn.lt-lg","gdColumn.lt-xl","gdColumn.gt-xs","gdColumn.gt-sm","gdColumn.gt-md","gdColumn.gt-lg"];class Ot extends bt{constructor(){super(...arguments),this.inputs=Be}}Ot.\u0275fac=function(){let li;return function(Dt){return(li||(li=C.n5z(Ot)))(Dt||Ot)}}(),Ot.\u0275dir=C.lG2({type:Ot,selectors:[["","gdColumn",""],["","gdColumn.xs",""],["","gdColumn.sm",""],["","gdColumn.md",""],["","gdColumn.lg",""],["","gdColumn.xl",""],["","gdColumn.lt-sm",""],["","gdColumn.lt-md",""],["","gdColumn.lt-lg",""],["","gdColumn.lt-xl",""],["","gdColumn.gt-xs",""],["","gdColumn.gt-sm",""],["","gdColumn.gt-md",""],["","gdColumn.gt-lg",""]],inputs:{gdColumn:"gdColumn","gdColumn.xs":"gdColumn.xs","gdColumn.sm":"gdColumn.sm","gdColumn.md":"gdColumn.md","gdColumn.lg":"gdColumn.lg","gdColumn.xl":"gdColumn.xl","gdColumn.lt-sm":"gdColumn.lt-sm","gdColumn.lt-md":"gdColumn.lt-md","gdColumn.lt-lg":"gdColumn.lt-lg","gdColumn.lt-xl":"gdColumn.lt-xl","gdColumn.gt-xs":"gdColumn.gt-xs","gdColumn.gt-sm":"gdColumn.gt-sm","gdColumn.gt-md":"gdColumn.gt-md","gdColumn.gt-lg":"gdColumn.gt-lg"},features:[C.qOj]});class Rt extends u.QI{buildStyles(je,Dt){let bi=!1;(je=je||"none").endsWith("!")&&(je=je.substring(0,je.indexOf("!")),bi=!0);const Hi={display:Dt.inline?"inline-grid":"grid","grid-auto-columns":"","grid-template-columns":""};return Hi[bi?"grid-auto-columns":"grid-template-columns"]=je,Hi}}Rt.\u0275fac=function(){let li;return function(Dt){return(li||(li=C.n5z(Rt)))(Dt||Rt)}}(),Rt.\u0275prov=C.Yz7({token:Rt,factory:Rt.\u0275fac,providedIn:"root"});class yi extends u.iR{constructor(je,Dt,bi,Hi){super(je,Dt,bi,Hi),this.DIRECTIVE_KEY="grid-columns",this._inline=!1,this.init()}get inline(){return this._inline}set inline(je){this._inline=(0,L.Ig)(je)}updateWithValue(je){this.styleCache=this.inline?Zt:Jt,this.addStyles(je,{inline:this.inline})}}yi.\u0275fac=function(je){return new(je||yi)(C.Y36(C.SBq),C.Y36(Rt),C.Y36(u.RK),C.Y36(u.yB))},yi.\u0275dir=C.lG2({type:yi,inputs:{inline:["gdInline","inline"]},features:[C.qOj]});const Jt=new Map,Zt=new Map,mi=["gdColumns","gdColumns.xs","gdColumns.sm","gdColumns.md","gdColumns.lg","gdColumns.xl","gdColumns.lt-sm","gdColumns.lt-md","gdColumns.lt-lg","gdColumns.lt-xl","gdColumns.gt-xs","gdColumns.gt-sm","gdColumns.gt-md","gdColumns.gt-lg"];class U extends yi{constructor(){super(...arguments),this.inputs=mi}}U.\u0275fac=function(){let li;return function(Dt){return(li||(li=C.n5z(U)))(Dt||U)}}(),U.\u0275dir=C.lG2({type:U,selectors:[["","gdColumns",""],["","gdColumns.xs",""],["","gdColumns.sm",""],["","gdColumns.md",""],["","gdColumns.lg",""],["","gdColumns.xl",""],["","gdColumns.lt-sm",""],["","gdColumns.lt-md",""],["","gdColumns.lt-lg",""],["","gdColumns.lt-xl",""],["","gdColumns.gt-xs",""],["","gdColumns.gt-sm",""],["","gdColumns.gt-md",""],["","gdColumns.gt-lg",""]],inputs:{gdColumns:"gdColumns","gdColumns.xs":"gdColumns.xs","gdColumns.sm":"gdColumns.sm","gdColumns.md":"gdColumns.md","gdColumns.lg":"gdColumns.lg","gdColumns.xl":"gdColumns.xl","gdColumns.lt-sm":"gdColumns.lt-sm","gdColumns.lt-md":"gdColumns.lt-md","gdColumns.lt-lg":"gdColumns.lt-lg","gdColumns.lt-xl":"gdColumns.lt-xl","gdColumns.gt-xs":"gdColumns.gt-xs","gdColumns.gt-sm":"gdColumns.gt-sm","gdColumns.gt-md":"gdColumns.gt-md","gdColumns.gt-lg":"gdColumns.gt-lg"},features:[C.qOj]});class ue extends u.QI{buildStyles(je,Dt){return{display:Dt.inline?"inline-grid":"grid","grid-gap":je||"0"}}}ue.\u0275fac=function(){let li;return function(Dt){return(li||(li=C.n5z(ue)))(Dt||ue)}}(),ue.\u0275prov=C.Yz7({token:ue,factory:ue.\u0275fac,providedIn:"root"});class Ne extends u.iR{constructor(je,Dt,bi,Hi){super(je,bi,Dt,Hi),this.DIRECTIVE_KEY="grid-gap",this._inline=!1,this.init()}get inline(){return this._inline}set inline(je){this._inline=(0,L.Ig)(je)}updateWithValue(je){this.styleCache=this.inline?Et:wt,this.addStyles(je,{inline:this.inline})}}Ne.\u0275fac=function(je){return new(je||Ne)(C.Y36(C.SBq),C.Y36(u.RK),C.Y36(ue),C.Y36(u.yB))},Ne.\u0275dir=C.lG2({type:Ne,inputs:{inline:["gdInline","inline"]},features:[C.qOj]});const wt=new Map,Et=new Map,Nt=["gdGap","gdGap.xs","gdGap.sm","gdGap.md","gdGap.lg","gdGap.xl","gdGap.lt-sm","gdGap.lt-md","gdGap.lt-lg","gdGap.lt-xl","gdGap.gt-xs","gdGap.gt-sm","gdGap.gt-md","gdGap.gt-lg"];class We extends Ne{constructor(){super(...arguments),this.inputs=Nt}}We.\u0275fac=function(){let li;return function(Dt){return(li||(li=C.n5z(We)))(Dt||We)}}(),We.\u0275dir=C.lG2({type:We,selectors:[["","gdGap",""],["","gdGap.xs",""],["","gdGap.sm",""],["","gdGap.md",""],["","gdGap.lg",""],["","gdGap.xl",""],["","gdGap.lt-sm",""],["","gdGap.lt-md",""],["","gdGap.lt-lg",""],["","gdGap.lt-xl",""],["","gdGap.gt-xs",""],["","gdGap.gt-sm",""],["","gdGap.gt-md",""],["","gdGap.gt-lg",""]],inputs:{gdGap:"gdGap","gdGap.xs":"gdGap.xs","gdGap.sm":"gdGap.sm","gdGap.md":"gdGap.md","gdGap.lg":"gdGap.lg","gdGap.xl":"gdGap.xl","gdGap.lt-sm":"gdGap.lt-sm","gdGap.lt-md":"gdGap.lt-md","gdGap.lt-lg":"gdGap.lt-lg","gdGap.lt-xl":"gdGap.lt-xl","gdGap.gt-xs":"gdGap.gt-xs","gdGap.gt-sm":"gdGap.gt-sm","gdGap.gt-md":"gdGap.gt-md","gdGap.gt-lg":"gdGap.gt-lg"},features:[C.qOj]});class ri extends u.QI{buildStyles(je){return{"grid-row":je||"auto"}}}ri.\u0275fac=function(){let li;return function(Dt){return(li||(li=C.n5z(ri)))(Dt||ri)}}(),ri.\u0275prov=C.Yz7({token:ri,factory:ri.\u0275fac,providedIn:"root"});class Pt extends u.iR{constructor(je,Dt,bi,Hi){super(je,Dt,bi,Hi),this.DIRECTIVE_KEY="grid-row",this.styleCache=Ft,this.init()}}Pt.\u0275fac=function(je){return new(je||Pt)(C.Y36(C.SBq),C.Y36(ri),C.Y36(u.RK),C.Y36(u.yB))},Pt.\u0275dir=C.lG2({type:Pt,features:[C.qOj]});const Ft=new Map,qt=["gdRow","gdRow.xs","gdRow.sm","gdRow.md","gdRow.lg","gdRow.xl","gdRow.lt-sm","gdRow.lt-md","gdRow.lt-lg","gdRow.lt-xl","gdRow.gt-xs","gdRow.gt-sm","gdRow.gt-md","gdRow.gt-lg"];class me extends Pt{constructor(){super(...arguments),this.inputs=qt}}me.\u0275fac=function(){let li;return function(Dt){return(li||(li=C.n5z(me)))(Dt||me)}}(),me.\u0275dir=C.lG2({type:me,selectors:[["","gdRow",""],["","gdRow.xs",""],["","gdRow.sm",""],["","gdRow.md",""],["","gdRow.lg",""],["","gdRow.xl",""],["","gdRow.lt-sm",""],["","gdRow.lt-md",""],["","gdRow.lt-lg",""],["","gdRow.lt-xl",""],["","gdRow.gt-xs",""],["","gdRow.gt-sm",""],["","gdRow.gt-md",""],["","gdRow.gt-lg",""]],inputs:{gdRow:"gdRow","gdRow.xs":"gdRow.xs","gdRow.sm":"gdRow.sm","gdRow.md":"gdRow.md","gdRow.lg":"gdRow.lg","gdRow.xl":"gdRow.xl","gdRow.lt-sm":"gdRow.lt-sm","gdRow.lt-md":"gdRow.lt-md","gdRow.lt-lg":"gdRow.lt-lg","gdRow.lt-xl":"gdRow.lt-xl","gdRow.gt-xs":"gdRow.gt-xs","gdRow.gt-sm":"gdRow.gt-sm","gdRow.gt-md":"gdRow.gt-md","gdRow.gt-lg":"gdRow.gt-lg"},features:[C.qOj]});class Lt extends u.QI{buildStyles(je,Dt){let bi=!1;(je=je||"none").endsWith("!")&&(je=je.substring(0,je.indexOf("!")),bi=!0);const Hi={display:Dt.inline?"inline-grid":"grid","grid-auto-rows":"","grid-template-rows":""};return Hi[bi?"grid-auto-rows":"grid-template-rows"]=je,Hi}}Lt.\u0275fac=function(){let li;return function(Dt){return(li||(li=C.n5z(Lt)))(Dt||Lt)}}(),Lt.\u0275prov=C.Yz7({token:Lt,factory:Lt.\u0275fac,providedIn:"root"});class Li extends u.iR{constructor(je,Dt,bi,Hi){super(je,Dt,bi,Hi),this.DIRECTIVE_KEY="grid-rows",this._inline=!1,this.init()}get inline(){return this._inline}set inline(je){this._inline=(0,L.Ig)(je)}updateWithValue(je){this.styleCache=this.inline?wi:Ai,this.addStyles(je,{inline:this.inline})}}Li.\u0275fac=function(je){return new(je||Li)(C.Y36(C.SBq),C.Y36(Lt),C.Y36(u.RK),C.Y36(u.yB))},Li.\u0275dir=C.lG2({type:Li,inputs:{inline:["gdInline","inline"]},features:[C.qOj]});const Ai=new Map,wi=new Map,zi=["gdRows","gdRows.xs","gdRows.sm","gdRows.md","gdRows.lg","gdRows.xl","gdRows.lt-sm","gdRows.lt-md","gdRows.lt-lg","gdRows.lt-xl","gdRows.gt-xs","gdRows.gt-sm","gdRows.gt-md","gdRows.gt-lg"];class Qe extends Li{constructor(){super(...arguments),this.inputs=zi}}Qe.\u0275fac=function(){let li;return function(Dt){return(li||(li=C.n5z(Qe)))(Dt||Qe)}}(),Qe.\u0275dir=C.lG2({type:Qe,selectors:[["","gdRows",""],["","gdRows.xs",""],["","gdRows.sm",""],["","gdRows.md",""],["","gdRows.lg",""],["","gdRows.xl",""],["","gdRows.lt-sm",""],["","gdRows.lt-md",""],["","gdRows.lt-lg",""],["","gdRows.lt-xl",""],["","gdRows.gt-xs",""],["","gdRows.gt-sm",""],["","gdRows.gt-md",""],["","gdRows.gt-lg",""]],inputs:{gdRows:"gdRows","gdRows.xs":"gdRows.xs","gdRows.sm":"gdRows.sm","gdRows.md":"gdRows.md","gdRows.lg":"gdRows.lg","gdRows.xl":"gdRows.xl","gdRows.lt-sm":"gdRows.lt-sm","gdRows.lt-md":"gdRows.lt-md","gdRows.lt-lg":"gdRows.lt-lg","gdRows.lt-xl":"gdRows.lt-xl","gdRows.gt-xs":"gdRows.gt-xs","gdRows.gt-sm":"gdRows.gt-sm","gdRows.gt-md":"gdRows.gt-md","gdRows.gt-lg":"gdRows.gt-lg"},features:[C.qOj]});class Wt{}Wt.\u0275fac=function(je){return new(je||Wt)},Wt.\u0275mod=C.oAB({type:Wt}),Wt.\u0275inj=C.cJS({imports:[u.IR]});new C.GfV("14.0.0-beta.41");class _i{constructor(je,Dt){(0,e.PM)(Dt)&&!je&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(je,Dt=[]){return{ngModule:_i,providers:je.serverLoaded?[{provide:u.WU,useValue:{...u.g5,...je}},{provide:u.Bs,useValue:Dt,multi:!0},{provide:u.wY,useValue:!0}]:[{provide:u.WU,useValue:{...u.g5,...je}},{provide:u.Bs,useValue:Dt,multi:!0}]}}}_i.\u0275fac=function(je){return new(je||_i)(C.LFG(u.wY),C.LFG(C.Lbi))},_i.\u0275mod=C.oAB({type:_i}),_i.\u0275inj=C.cJS({imports:[p.ae,P.aT,Wt,p.ae,P.aT,Wt]});var Oi=f(3278),ki=f(207),Ki=f(4481),ti=f(8550),be=f(3335),ke=f(4522),ft=f(4218),St=f(1755);const ui=["button"],oi=new C.OlP("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),Vt=new C.OlP("MatButtonToggleGroup"),Wi={provide:_.JU,useExisting:(0,C.Gpc)(()=>ga),multi:!0};let Qi=0;class vn{constructor(je,Dt){this.source=je,this.value=Dt}}class ga{constructor(je,Dt){this._changeDetector=je,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name="mat-button-toggle-group-"+Qi++,this.valueChange=new C.vpe,this.change=new C.vpe,this.appearance=Dt&&Dt.appearance?Dt.appearance:"standard"}get name(){return this._name}set name(je){this._name=je,this._markButtonsForCheck()}get vertical(){return this._vertical}set vertical(je){this._vertical=(0,L.Ig)(je)}get value(){const je=this._selectionModel?this._selectionModel.selected:[];return this.multiple?je.map(Dt=>Dt.value):je[0]?je[0].value:void 0}set value(je){this._setSelectionByValue(je),this.valueChange.emit(this.value)}get selected(){const je=this._selectionModel?this._selectionModel.selected:[];return this.multiple?je:je[0]||null}get multiple(){return this._multiple}set multiple(je){this._multiple=(0,L.Ig)(je),this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(je){this._disabled=(0,L.Ig)(je),this._markButtonsForCheck()}ngOnInit(){this._selectionModel=new St.Ov(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(je=>je.checked))}writeValue(je){this.value=je,this._changeDetector.markForCheck()}registerOnChange(je){this._controlValueAccessorChangeFn=je}registerOnTouched(je){this._onTouched=je}setDisabledState(je){this.disabled=je}_emitChangeEvent(je){const Dt=new vn(je,this.value);this._controlValueAccessorChangeFn(Dt.value),this.change.emit(Dt)}_syncButtonToggle(je,Dt,bi=!1,Hi=!1){!this.multiple&&this.selected&&!je.checked&&(this.selected.checked=!1),this._selectionModel?Dt?this._selectionModel.select(je):this._selectionModel.deselect(je):Hi=!0,Hi?Promise.resolve().then(()=>this._updateModelValue(je,bi)):this._updateModelValue(je,bi)}_isSelected(je){return this._selectionModel&&this._selectionModel.isSelected(je)}_isPrechecked(je){return!(typeof this._rawValue>"u")&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(Dt=>null!=je.value&&Dt===je.value):je.value===this._rawValue)}_setSelectionByValue(je){this._rawValue=je,this._buttonToggles&&(this.multiple&&je?(Array.isArray(je),this._clearSelection(),je.forEach(Dt=>this._selectValue(Dt))):(this._clearSelection(),this._selectValue(je)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(je=>je.checked=!1)}_selectValue(je){const Dt=this._buttonToggles.find(bi=>null!=bi.value&&bi.value===je);Dt&&(Dt.checked=!0,this._selectionModel.select(Dt))}_updateModelValue(je,Dt){Dt&&this._emitChangeEvent(je),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(je=>je._markForCheck())}}ga.\u0275fac=function(je){return new(je||ga)(C.Y36(C.sBO),C.Y36(oi,8))},ga.\u0275dir=C.lG2({type:ga,selectors:[["mat-button-toggle-group"]],contentQueries:function(je,Dt,bi){if(1&je&&C.Suo(bi,Xn,5),2&je){let Hi;C.iGM(Hi=C.CRH())&&(Dt._buttonToggles=Hi)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(je,Dt){2&je&&(C.uIk("aria-disabled",Dt.disabled),C.ekj("mat-button-toggle-vertical",Dt.vertical)("mat-button-toggle-group-appearance-standard","standard"===Dt.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[C._Bn([Wi,{provide:Vt,useExisting:ga}])]});const gn=(0,ki.Kr)(class{});class Xn extends gn{constructor(je,Dt,bi,Hi,Bn,Zi){super(),this._changeDetectorRef=Dt,this._elementRef=bi,this._focusMonitor=Hi,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new C.vpe;const hn=Number(Bn);this.tabIndex=hn||0===hn?hn:null,this.buttonToggleGroup=je,this.appearance=Zi&&Zi.appearance?Zi.appearance:"standard"}get buttonId(){return`${this.id}-button`}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(je){this._appearance=je}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(je){const Dt=(0,L.Ig)(je);Dt!==this._checked&&(this._checked=Dt,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(je){this._disabled=(0,L.Ig)(je)}ngOnInit(){const je=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+Qi++,je&&(je._isPrechecked(this)?this.checked=!0:je._isSelected(this)!==this._checked&&je._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const je=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),je&&je._isSelected(this)&&je._syncButtonToggle(this,!1,!1,!0)}focus(je){this._buttonElement.nativeElement.focus(je)}_onButtonClick(){const je=!!this._isSingleSelector()||!this._checked;je!==this._checked&&(this._checked=je,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new vn(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this._isSingleSelector()?this.buttonToggleGroup.name:this.name||null}_isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}}Xn.\u0275fac=function(je){return new(je||Xn)(C.Y36(Vt,8),C.Y36(C.sBO),C.Y36(C.SBq),C.Y36(ft.tE),C.$8M("tabindex"),C.Y36(oi,8))},Xn.\u0275cmp=C.Xpm({type:Xn,selectors:[["mat-button-toggle"]],viewQuery:function(je,Dt){if(1&je&&C.Gf(ui,5),2&je){let bi;C.iGM(bi=C.CRH())&&(Dt._buttonElement=bi.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(je,Dt){1&je&&C.NdJ("focus",function(){return Dt.focus()}),2&je&&(C.uIk("aria-label",null)("aria-labelledby",null)("id",Dt.id)("name",null),C.ekj("mat-button-toggle-standalone",!Dt.buttonToggleGroup)("mat-button-toggle-checked",Dt.checked)("mat-button-toggle-disabled",Dt.disabled)("mat-button-toggle-appearance-standard","standard"===Dt.appearance))},inputs:{disableRipple:"disableRipple",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",appearance:"appearance",checked:"checked",disabled:"disabled"},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[C.qOj],ngContentSelectors:["*"],decls:6,vars:9,consts:[["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"id","disabled","click"],["button",""],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(je,Dt){if(1&je&&(C.F$t(),C.TgZ(0,"button",0,1),C.NdJ("click",function(){return Dt._onButtonClick()}),C.TgZ(2,"span",2),C.Hsn(3),C.qZA()(),C._UZ(4,"span",3)(5,"span",4)),2&je){const bi=C.MAs(1);C.Q6J("id",Dt.buttonId)("disabled",Dt.disabled||null),C.uIk("tabindex",Dt.disabled?-1:Dt.tabIndex)("aria-pressed",Dt.checked)("name",Dt._getButtonName())("aria-label",Dt.ariaLabel)("aria-labelledby",Dt.ariaLabelledby),C.xp6(5),C.Q6J("matRippleTrigger",bi)("matRippleDisabled",Dt.disableRipple||Dt.disabled)}},dependencies:[ki.wG],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:4px}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 36px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}"],encapsulation:2,changeDetection:0});class Qn{}Qn.\u0275fac=function(je){return new(je||Qn)},Qn.\u0275mod=C.oAB({type:Qn}),Qn.\u0275inj=C.cJS({imports:[ki.BQ,ki.si,ki.BQ]});var Qa=f(2156),Er=f(4792),At=f(2298),Kt=f(3012),pi=f(2642),Di=f(7822),ji=f(1267),Fi=f(6517),sn=f(8589),pa=f(6060),kn=f(1294),sa=f(1708),An=f(2922),na=f(7371),Fa=f(6643),jn=f(4714),ja=f(2867),ta=f(9107),Va=f(9295),Vr=f(253);const Ta=["knob"],vr=["valueIndicatorContainer"];function Zn(li,je){if(1&li&&(C.TgZ(0,"div",4,5)(2,"div",6)(3,"span",7),C._uU(4),C.qZA()()()),2&li){const Dt=C.oxw();C.xp6(4),C.Oqu(Dt.valueIndicatorText)}}const Aa=["trackActive"];function la(li,je){if(1&li&&C._UZ(0,"div"),2&li){const Dt=je.$implicit,bi=je.index,Hi=C.oxw(3);C.Tol(0===Dt?"mdc-slider__tick-mark--active":"mdc-slider__tick-mark--inactive"),C.Udp("transform",Hi._calcTickMarkTransform(bi))}}function ms(li,je){if(1&li&&(C.ynx(0),C.YNc(1,la,1,4,"div",11),C.BQk()),2&li){const Dt=C.oxw(2);C.xp6(1),C.Q6J("ngForOf",Dt._tickMarks)}}function Wa(li,je){if(1&li&&(C.TgZ(0,"div",8,9),C.YNc(2,ms,2,1,"ng-container",10),C.qZA()),2&li){const Dt=C.oxw();C.xp6(2),C.Q6J("ngIf",Dt._cachedWidth)}}function es(li,je){if(1&li&&C._UZ(0,"mat-slider-visual-thumb",7),2&li){const Dt=C.oxw();C.Q6J("discrete",Dt.discrete)("thumbPosition",1)("valueIndicatorText",Dt.startValueIndicatorText)}}const Jn=new C.OlP("_MatSlider"),qr=new C.OlP("_MatSliderThumb"),Ka=new C.OlP("_MatSliderRangeThumb"),Ao=new C.OlP("_MatSliderVisualThumb");class Pr{constructor(je,Dt,bi,Hi){this._cdr=je,this._ngZone=Dt,this._slider=Hi,this._isHovered=!1,this._isActive=!1,this._isValueIndicatorVisible=!1,this._onPointerMove=Bn=>{if(this._sliderInput._isFocused)return;const Zi=this._hostElement.getBoundingClientRect(),hn=this._isSliderThumbHovered(Bn,Zi);this._isHovered=hn,hn?this._showHoverRipple():this._hideRipple(this._hoverRippleRef)},this._onMouseLeave=()=>{this._isHovered=!1,this._hideRipple(this._hoverRippleRef)},this._onFocus=()=>{this._hideRipple(this._hoverRippleRef),this._showFocusRipple(),this._hostElement.classList.add("mdc-slider__thumb--focused")},this._onBlur=()=>{this._isActive||this._hideRipple(this._focusRippleRef),this._isHovered&&this._showHoverRipple(),this._hostElement.classList.remove("mdc-slider__thumb--focused")},this._onDragStart=()=>{this._isActive=!0,this._showActiveRipple()},this._onDragEnd=()=>{this._isActive=!1,this._hideRipple(this._activeRippleRef),this._sliderInput._isFocused||this._hideRipple(this._focusRippleRef)},this._hostElement=bi.nativeElement}ngAfterViewInit(){this._ripple.radius=24,this._sliderInput=this._slider._getInput(this.thumbPosition),this._sliderInputEl=this._sliderInput._hostElement;const je=this._sliderInputEl;this._ngZone.runOutsideAngular(()=>{je.addEventListener("pointermove",this._onPointerMove),je.addEventListener("pointerdown",this._onDragStart),je.addEventListener("pointerup",this._onDragEnd),je.addEventListener("pointerleave",this._onMouseLeave),je.addEventListener("focus",this._onFocus),je.addEventListener("blur",this._onBlur)})}ngOnDestroy(){const je=this._sliderInputEl;je.removeEventListener("pointermove",this._onPointerMove),je.removeEventListener("pointerdown",this._onDragStart),je.removeEventListener("pointerup",this._onDragEnd),je.removeEventListener("pointerleave",this._onMouseLeave),je.removeEventListener("focus",this._onFocus),je.removeEventListener("blur",this._onBlur)}_showHoverRipple(){this._isShowingRipple(this._hoverRippleRef)||(this._hoverRippleRef=this._showRipple({enterDuration:0,exitDuration:0}),this._hoverRippleRef?.element.classList.add("mat-mdc-slider-hover-ripple"))}_showFocusRipple(){this._isShowingRipple(this._focusRippleRef)||(this._focusRippleRef=this._showRipple({enterDuration:0,exitDuration:0},!0),this._focusRippleRef?.element.classList.add("mat-mdc-slider-focus-ripple"))}_showActiveRipple(){this._isShowingRipple(this._activeRippleRef)||(this._activeRippleRef=this._showRipple({enterDuration:225,exitDuration:400}),this._activeRippleRef?.element.classList.add("mat-mdc-slider-active-ripple"))}_isShowingRipple(je){return 0===je?.state||1===je?.state}_showRipple(je,Dt){if(!this._slider.disabled&&(this._showValueIndicator(),this._slider._isRange&&this._slider._getThumb(1===this.thumbPosition?2:1)._showValueIndicator(),!this._slider._globalRippleOptions?.disabled||Dt))return this._ripple.launch({animation:this._slider._noopAnimations?{enterDuration:0,exitDuration:0}:je,centered:!0,persistent:!0})}_hideRipple(je){if(je?.fadeOut(),this._isShowingAnyRipple())return;this._slider._isRange||this._hideValueIndicator();const Dt=this._getSibling();Dt._isShowingAnyRipple()||(this._hideValueIndicator(),Dt._hideValueIndicator())}_showValueIndicator(){this._hostElement.classList.add("mdc-slider__thumb--with-indicator")}_hideValueIndicator(){this._hostElement.classList.remove("mdc-slider__thumb--with-indicator")}_getSibling(){return this._slider._getThumb(1===this.thumbPosition?2:1)}_getValueIndicatorContainer(){return this._valueIndicatorContainer?.nativeElement}_getKnob(){return this._knob.nativeElement}_isShowingAnyRipple(){return this._isShowingRipple(this._hoverRippleRef)||this._isShowingRipple(this._focusRippleRef)||this._isShowingRipple(this._activeRippleRef)}_isSliderThumbHovered(je,Dt){const bi=Dt.width/2,Hi=Dt.x+bi,Bn=Dt.y+bi,Zi=je.clientX-Hi,hn=je.clientY-Bn;return Math.pow(Zi,2)+Math.pow(hn,2)<Math.pow(bi,2)}}Pr.\u0275fac=function(je){return new(je||Pr)(C.Y36(C.sBO),C.Y36(C.R0b),C.Y36(C.SBq),C.Y36(Jn))},Pr.\u0275cmp=C.Xpm({type:Pr,selectors:[["mat-slider-visual-thumb"]],viewQuery:function(je,Dt){if(1&je&&(C.Gf(ki.wG,5),C.Gf(Ta,5),C.Gf(vr,5)),2&je){let bi;C.iGM(bi=C.CRH())&&(Dt._ripple=bi.first),C.iGM(bi=C.CRH())&&(Dt._knob=bi.first),C.iGM(bi=C.CRH())&&(Dt._valueIndicatorContainer=bi.first)}},hostAttrs:[1,"mdc-slider__thumb","mat-mdc-slider-visual-thumb"],inputs:{discrete:"discrete",thumbPosition:"thumbPosition",valueIndicatorText:"valueIndicatorText"},features:[C._Bn([{provide:Ao,useExisting:Pr}])],decls:4,vars:2,consts:[["class","mdc-slider__value-indicator-container",4,"ngIf"],[1,"mdc-slider__thumb-knob"],["knob",""],["matRipple","",1,"mat-mdc-focus-indicator",3,"matRippleDisabled"],[1,"mdc-slider__value-indicator-container"],["valueIndicatorContainer",""],[1,"mdc-slider__value-indicator"],[1,"mdc-slider__value-indicator-text"]],template:function(je,Dt){1&je&&(C.YNc(0,Zn,5,1,"div",0),C._UZ(1,"div",1,2)(3,"div",3)),2&je&&(C.Q6J("ngIf",Dt.discrete),C.xp6(3),C.Q6J("matRippleDisabled",!0))},dependencies:[e.O5,ki.wG],styles:[".mat-mdc-slider-visual-thumb .mat-ripple{height:100%;width:100%}.mat-mdc-slider .mdc-slider__tick-marks{justify-content:start}.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--active,.mat-mdc-slider .mdc-slider__tick-marks .mdc-slider__tick-mark--inactive{position:absolute;left:2px}"],encapsulation:2,changeDetection:0});const or=(0,ki.pj)((0,ki.Kr)(class{constructor(li){this._elementRef=li}}),"primary");class dr extends or{constructor(je,Dt,bi,Hi,Bn,Zi,hn){super(Hi),this._ngZone=je,this._cdr=Dt,this._platform=bi,this._dir=Bn,this._globalRippleOptions=Zi,this._disabled=!1,this._discrete=!1,this._showTickMarks=!1,this._min=0,this._max=100,this._step=0,this.displayWith=Br=>`${Br}`,this._rippleRadius=24,this.startValueIndicatorText="",this.endValueIndicatorText="",this._isRange=!1,this._isRtl=!1,this._hasViewInitialized=!1,this._tickMarkTrackWidth=0,this._hasAnimation=!1,this._resizeTimer=null,this._knobRadius=8,this._thumbsOverlap=!1,this._noopAnimations="NoopAnimations"===hn,this._dirChangeSubscription=this._dir.change.subscribe(()=>this._onDirChange()),this._isRtl="rtl"===this._dir.value}get disabled(){return this._disabled}set disabled(je){this._disabled=(0,L.Ig)(je);const Dt=this._getInput(2),bi=this._getInput(1);Dt&&(Dt.disabled=this._disabled),bi&&(bi.disabled=this._disabled)}get discrete(){return this._discrete}set discrete(je){this._discrete=(0,L.Ig)(je),this._updateValueIndicatorUIs()}get showTickMarks(){return this._showTickMarks}set showTickMarks(je){this._showTickMarks=(0,L.Ig)(je)}get min(){return this._min}set min(je){const Dt=(0,L.su)(je,this._min);this._min!==Dt&&this._updateMin(Dt)}_updateMin(je){const Dt=this._min;this._min=je,this._isRange?this._updateMinRange({old:Dt,new:je}):this._updateMinNonRange(je),this._onMinMaxOrStepChange()}_updateMinRange(je){const Dt=this._getInput(2),bi=this._getInput(1),Hi=Dt.value,Bn=bi.value;bi.min=je.new,Dt.min=Math.max(je.new,bi.value),bi.max=Math.min(Dt.max,Dt.value),bi._updateWidthInactive(),Dt._updateWidthInactive(),je.new<je.old?this._onTranslateXChangeBySideEffect(Dt,bi):this._onTranslateXChangeBySideEffect(bi,Dt),Hi!==Dt.value&&this._onValueChange(Dt),Bn!==bi.value&&this._onValueChange(bi)}_updateMinNonRange(je){const Dt=this._getInput(2);if(Dt){const bi=Dt.value;Dt.min=je,Dt._updateThumbUIByValue(),this._updateTrackUI(Dt),bi!==Dt.value&&this._onValueChange(Dt)}}get max(){return this._max}set max(je){const Dt=(0,L.su)(je,this._max);this._max!==Dt&&this._updateMax(Dt)}_updateMax(je){const Dt=this._max;this._max=je,this._isRange?this._updateMaxRange({old:Dt,new:je}):this._updateMaxNonRange(je),this._onMinMaxOrStepChange()}_updateMaxRange(je){const Dt=this._getInput(2),bi=this._getInput(1),Hi=Dt.value,Bn=bi.value;Dt.max=je.new,bi.max=Math.min(je.new,Dt.value),Dt.min=bi.value,Dt._updateWidthInactive(),bi._updateWidthInactive(),je.new>je.old?this._onTranslateXChangeBySideEffect(bi,Dt):this._onTranslateXChangeBySideEffect(Dt,bi),Hi!==Dt.value&&this._onValueChange(Dt),Bn!==bi.value&&this._onValueChange(bi)}_updateMaxNonRange(je){const Dt=this._getInput(2);if(Dt){const bi=Dt.value;Dt.max=je,Dt._updateThumbUIByValue(),this._updateTrackUI(Dt),bi!==Dt.value&&this._onValueChange(Dt)}}get step(){return this._step}set step(je){const Dt=(0,L.su)(je,this._step);this._step!==Dt&&this._updateStep(Dt)}_updateStep(je){this._step=je,this._isRange?this._updateStepRange():this._updateStepNonRange(),this._onMinMaxOrStepChange()}_updateStepRange(){const je=this._getInput(2),Dt=this._getInput(1),bi=je.value,Hi=Dt.value,Bn=Dt.value;je.min=this._min,Dt.max=this._max,je.step=this._step,Dt.step=this._step,this._platform.SAFARI&&(je.value=je.value,Dt.value=Dt.value),je.min=Math.max(this._min,Dt.value),Dt.max=Math.min(this._max,je.value),Dt._updateWidthInactive(),je._updateWidthInactive(),je.value<Bn?this._onTranslateXChangeBySideEffect(Dt,je):this._onTranslateXChangeBySideEffect(je,Dt),bi!==je.value&&this._onValueChange(je),Hi!==Dt.value&&this._onValueChange(Dt)}_updateStepNonRange(){const je=this._getInput(2);if(je){const Dt=je.value;je.step=this._step,this._platform.SAFARI&&(je.value=je.value),je._updateThumbUIByValue(),Dt!==je.value&&this._onValueChange(je)}}ngAfterViewInit(){this._platform.isBrowser&&this._updateDimensions();const je=this._getInput(2),Dt=this._getInput(1);this._isRange=!!je&&!!Dt,this._cdr.detectChanges();const bi=this._getThumb(2);this._rippleRadius=bi._ripple.radius,this._inputPadding=this._rippleRadius-this._knobRadius,this._inputOffset=this._knobRadius,this._isRange?this._initUIRange(je,Dt):this._initUINonRange(je),this._updateTrackUI(je),this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._observeHostResize(),this._cdr.detectChanges()}_initUINonRange(je){je.initProps(),je.initUI(),this._updateValueIndicatorUI(je),this._hasViewInitialized=!0,je._updateThumbUIByValue()}_initUIRange(je,Dt){je.initProps(),je.initUI(),Dt.initProps(),Dt.initUI(),je._updateMinMax(),Dt._updateMinMax(),je._updateStaticStyles(),Dt._updateStaticStyles(),this._updateValueIndicatorUIs(),this._hasViewInitialized=!0,je._updateThumbUIByValue(),Dt._updateThumbUIByValue()}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._resizeObserver?.disconnect(),this._resizeObserver=null}_onDirChange(){this._isRtl="rtl"===this._dir.value,this._isRange?this._onDirChangeRange():this._onDirChangeNonRange(),this._updateTickMarkUI()}_onDirChangeRange(){const je=this._getInput(2),Dt=this._getInput(1);je._setIsLeftThumb(),Dt._setIsLeftThumb(),je.translateX=je._calcTranslateXByValue(),Dt.translateX=Dt._calcTranslateXByValue(),je._updateStaticStyles(),Dt._updateStaticStyles(),je._updateWidthInactive(),Dt._updateWidthInactive(),je._updateThumbUIByValue(),Dt._updateThumbUIByValue()}_onDirChangeNonRange(){this._getInput(2)._updateThumbUIByValue()}_observeHostResize(){typeof ResizeObserver>"u"||!ResizeObserver||this._ngZone.runOutsideAngular(()=>{this._resizeObserver=new ResizeObserver(()=>{this._isActive()||(this._resizeTimer&&clearTimeout(this._resizeTimer),this._onResize())}),this._resizeObserver.observe(this._elementRef.nativeElement)})}_isActive(){return this._getThumb(1)._isActive||this._getThumb(2)._isActive}_getValue(je=2){const Dt=this._getInput(je);return Dt?Dt.value:this.min}_skipUpdate(){return!(!this._getInput(1)?._skipUIUpdate&&!this._getInput(2)?._skipUIUpdate)}_updateDimensions(){this._cachedWidth=this._elementRef.nativeElement.offsetWidth,this._cachedLeft=this._elementRef.nativeElement.getBoundingClientRect().left}_setTrackActiveStyles(je){const Dt=this._trackActive.nativeElement.style,bi=je.left!==Dt.left&&je.right!==Dt.right;Dt.left=je.left,Dt.right=je.right,Dt.transformOrigin=je.transformOrigin,bi?(this._elementRef.nativeElement.classList.add("mat-mdc-slider-disable-track-animation"),this._ngZone.onStable.pipe((0,Va.q)(1)).subscribe(()=>{this._elementRef.nativeElement.classList.remove("mat-mdc-slider-disable-track-animation"),Dt.transform=je.transform})):Dt.transform=je.transform}_calcTickMarkTransform(je){return`translateX(${je*(this._tickMarkTrackWidth/(this._tickMarks.length-1))}px`}_onTranslateXChange(je){!this._hasViewInitialized||(this._updateThumbUI(je),this._updateTrackUI(je),this._updateOverlappingThumbUI(je))}_onTranslateXChangeBySideEffect(je,Dt){!this._hasViewInitialized||(je._updateThumbUIByValue(),Dt._updateThumbUIByValue())}_onValueChange(je){!this._hasViewInitialized||(this._updateValueIndicatorUI(je),this._updateTickMarkUI(),this._cdr.detectChanges())}_onMinMaxOrStepChange(){!this._hasViewInitialized||(this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.markForCheck())}_onResize(){if(this._hasViewInitialized){if(this._updateDimensions(),this._isRange){const je=this._getInput(2),Dt=this._getInput(1);je._updateThumbUIByValue(),Dt._updateThumbUIByValue(),je._updateStaticStyles(),Dt._updateStaticStyles(),je._updateMinMax(),Dt._updateMinMax(),je._updateWidthInactive(),Dt._updateWidthInactive()}else{const je=this._getInput(2);je&&je._updateThumbUIByValue()}this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.detectChanges()}}_areThumbsOverlapping(){const je=this._getInput(1),Dt=this._getInput(2);return!(!je||!Dt)&&Dt.translateX-je.translateX<20}_updateOverlappingThumbClassNames(je){const Dt=je.getSibling(),bi=this._getThumb(je.thumbPosition);this._getThumb(Dt.thumbPosition)._hostElement.classList.remove("mdc-slider__thumb--top"),bi._hostElement.classList.toggle("mdc-slider__thumb--top",this._thumbsOverlap)}_updateOverlappingThumbUI(je){!this._isRange||this._skipUpdate()||this._thumbsOverlap!==this._areThumbsOverlapping()&&(this._thumbsOverlap=!this._thumbsOverlap,this._updateOverlappingThumbClassNames(je))}_updateThumbUI(je){if(this._skipUpdate())return;this._getThumb(2===je.thumbPosition?2:1)._hostElement.style.transform=`translateX(${je.translateX}px)`}_updateValueIndicatorUI(je){if(this._skipUpdate())return;const Dt=this.displayWith(je.value);if(this._hasViewInitialized?je._valuetext=Dt:je._hostElement.setAttribute("aria-valuetext",Dt),this.discrete){1===je.thumbPosition?this.startValueIndicatorText=Dt:this.endValueIndicatorText=Dt;const bi=this._getThumb(je.thumbPosition);Dt.length<3?bi._hostElement.classList.add("mdc-slider__thumb--short-value"):bi._hostElement.classList.remove("mdc-slider__thumb--short-value")}}_updateValueIndicatorUIs(){const je=this._getInput(2),Dt=this._getInput(1);je&&this._updateValueIndicatorUI(je),Dt&&this._updateValueIndicatorUI(Dt)}_updateTickMarkTrackUI(){if(this._skipUpdate())return;const je=this._step&&this._step>0?this._step:1,bi=(Math.floor(this.max/je)*je-this.min)/(this.max-this.min);this._tickMarkTrackWidth=this._cachedWidth*bi-6}_updateTrackUI(je){this._skipUpdate()||(this._isRange?this._updateTrackUIRange(je):this._updateTrackUINonRange(je))}_updateTrackUIRange(je){const Dt=je.getSibling();if(!Dt||!this._cachedWidth)return;const bi=Math.abs(Dt.translateX-je.translateX)/this._cachedWidth;je._isLeftThumb&&this._cachedWidth?this._setTrackActiveStyles({left:"auto",right:this._cachedWidth-Dt.translateX+"px",transformOrigin:"right",transform:`scaleX(${bi})`}):this._setTrackActiveStyles({left:`${Dt.translateX}px`,right:"auto",transformOrigin:"left",transform:`scaleX(${bi})`})}_updateTrackUINonRange(je){this._isRtl?this._setTrackActiveStyles({left:"auto",right:"0px",transformOrigin:"right",transform:`scaleX(${1-je.fillPercentage})`}):this._setTrackActiveStyles({left:"0px",right:"auto",transformOrigin:"left",transform:`scaleX(${je.fillPercentage})`})}_updateTickMarkUI(){if(void 0===this.step||void 0===this.min||void 0===this.max)return;const je=this.step>0?this.step:1;this._isRange?this._updateTickMarkUIRange(je):this._updateTickMarkUINonRange(je),this._isRtl&&this._tickMarks.reverse()}_updateTickMarkUINonRange(je){const Dt=this._getValue();let bi=Math.max(Math.round((Dt-this.min)/je),0),Hi=Math.max(Math.round((this.max-Dt)/je),0);this._isRtl?bi++:Hi++,this._tickMarks=Array(bi).fill(0).concat(Array(Hi).fill(1))}_updateTickMarkUIRange(je){const Dt=this._getValue(),bi=this._getValue(1),Hi=Math.max(Math.floor((bi-this.min)/je),0),Bn=Math.max(Math.floor((Dt-bi)/je)+1,0),Zi=Math.max(Math.floor((this.max-Dt)/je),0);this._tickMarks=Array(Hi).fill(1).concat(Array(Bn).fill(0),Array(Zi).fill(1))}_getInput(je){return 2===je&&this._input?this._input:this._inputs?.length?1===je?this._inputs.first:this._inputs.last:void 0}_getThumb(je){return 2===je?this._thumbs?.last:this._thumbs?.first}_setTransition(je){this._hasAnimation=je&&!this._noopAnimations,this._elementRef.nativeElement.classList.toggle("mat-mdc-slider-with-animation",this._hasAnimation)}}dr.\u0275fac=function(je){return new(je||dr)(C.Y36(C.R0b),C.Y36(C.sBO),C.Y36(ta.t4),C.Y36(C.SBq),C.Y36(ja.Is,8),C.Y36(ki.Y2,8),C.Y36(C.QbO,8))},dr.\u0275cmp=C.Xpm({type:dr,selectors:[["mat-slider"]],contentQueries:function(je,Dt,bi){if(1&je&&(C.Suo(bi,qr,5),C.Suo(bi,Ka,4)),2&je){let Hi;C.iGM(Hi=C.CRH())&&(Dt._input=Hi.first),C.iGM(Hi=C.CRH())&&(Dt._inputs=Hi)}},viewQuery:function(je,Dt){if(1&je&&(C.Gf(Aa,5),C.Gf(Ao,5)),2&je){let bi;C.iGM(bi=C.CRH())&&(Dt._trackActive=bi.first),C.iGM(bi=C.CRH())&&(Dt._thumbs=bi)}},hostAttrs:[1,"mat-mdc-slider","mdc-slider"],hostVars:10,hostBindings:function(je,Dt){2&je&&C.ekj("mdc-slider--range",Dt._isRange)("mdc-slider--disabled",Dt.disabled)("mdc-slider--discrete",Dt.discrete)("mdc-slider--tick-marks",Dt.showTickMarks)("_mat-animation-noopable",Dt._noopAnimations)},inputs:{color:"color",disableRipple:"disableRipple",disabled:"disabled",discrete:"discrete",showTickMarks:"showTickMarks",min:"min",max:"max",step:"step",displayWith:"displayWith"},exportAs:["matSlider"],features:[C._Bn([{provide:Jn,useExisting:dr}]),C.qOj],ngContentSelectors:["*"],decls:9,vars:5,consts:[[1,"mdc-slider__track"],[1,"mdc-slider__track--inactive"],[1,"mdc-slider__track--active"],[1,"mdc-slider__track--active_fill"],["trackActive",""],["class","mdc-slider__tick-marks",4,"ngIf"],[3,"discrete","thumbPosition","valueIndicatorText",4,"ngIf"],[3,"discrete","thumbPosition","valueIndicatorText"],[1,"mdc-slider__tick-marks"],["tickMarkContainer",""],[4,"ngIf"],[3,"class","transform",4,"ngFor","ngForOf"]],template:function(je,Dt){1&je&&(C.F$t(),C.Hsn(0),C.TgZ(1,"div",0),C._UZ(2,"div",1),C.TgZ(3,"div",2),C._UZ(4,"div",3,4),C.qZA(),C.YNc(6,Wa,3,1,"div",5),C.qZA(),C.YNc(7,es,1,3,"mat-slider-visual-thumb",6),C._UZ(8,"mat-slider-visual-thumb",7)),2&je&&(C.xp6(6),C.Q6J("ngIf",Dt.showTickMarks),C.xp6(1),C.Q6J("ngIf",Dt._isRange),C.xp6(1),C.Q6J("discrete",Dt.discrete)("thumbPosition",2)("valueIndicatorText",Dt.endValueIndicatorText))},dependencies:[e.sg,e.O5,Pr],styles:['.mdc-slider{cursor:pointer;height:48px;margin:0 24px;position:relative;touch-action:pan-y}.mdc-slider .mdc-slider__track{position:absolute;top:50%;transform:translateY(-50%);width:100%}.mdc-slider .mdc-slider__track--active,.mdc-slider .mdc-slider__track--inactive{display:flex;height:100%;position:absolute;width:100%}.mdc-slider .mdc-slider__track--active{overflow:hidden;top:-1px}.mdc-slider .mdc-slider__track--active_fill{border-top:6px solid;box-sizing:border-box;height:100%;width:100%;position:relative;-webkit-transform-origin:left;transform-origin:left}[dir=rtl] .mdc-slider .mdc-slider__track--active_fill,.mdc-slider .mdc-slider__track--active_fill[dir=rtl]{-webkit-transform-origin:right;transform-origin:right}.mdc-slider .mdc-slider__track--inactive{left:0;top:0}.mdc-slider .mdc-slider__track--inactive::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-slider .mdc-slider__track--inactive::before{border-color:CanvasText}}.mdc-slider .mdc-slider__value-indicator-container{bottom:44px;left:var(--slider-value-indicator-container-left, 50%);pointer-events:none;position:absolute;right:var(--slider-value-indicator-container-right);transform:var(--slider-value-indicator-container-transform, translateX(-50%))}.mdc-slider .mdc-slider__value-indicator{transition:transform 100ms 0ms cubic-bezier(0.4, 0, 1, 1);align-items:center;border-radius:4px;display:flex;height:32px;padding:0 12px;transform:scale(0);transform-origin:bottom}.mdc-slider .mdc-slider__value-indicator::before{border-left:6px solid rgba(0,0,0,0);border-right:6px solid rgba(0,0,0,0);border-top:6px solid;bottom:-5px;content:"";height:0;left:var(--slider-value-indicator-caret-left, 50%);position:absolute;right:var(--slider-value-indicator-caret-right);transform:var(--slider-value-indicator-caret-transform, translateX(-50%));width:0}.mdc-slider .mdc-slider__value-indicator::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}@media screen and (forced-colors: active){.mdc-slider .mdc-slider__value-indicator::after{border-color:CanvasText}}.mdc-slider .mdc-slider__thumb--with-indicator .mdc-slider__value-indicator-container{pointer-events:auto}.mdc-slider .mdc-slider__thumb--with-indicator .mdc-slider__value-indicator{transition:transform 100ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale(1)}@media(prefers-reduced-motion){.mdc-slider .mdc-slider__value-indicator,.mdc-slider .mdc-slider__thumb--with-indicator .mdc-slider__value-indicator{transition:none}}.mdc-slider .mdc-slider__thumb{display:flex;left:-24px;outline:none;position:absolute;user-select:none;height:48px;width:48px}.mdc-slider .mdc-slider__thumb--top{z-index:1}.mdc-slider .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-style:solid;border-width:1px;box-sizing:content-box}.mdc-slider .mdc-slider__thumb-knob{box-sizing:border-box;left:50%;position:absolute;top:50%;transform:translate(-50%, -50%)}.mdc-slider .mdc-slider__tick-marks{align-items:center;box-sizing:border-box;display:flex;height:100%;justify-content:space-between;padding:0 1px;position:absolute;width:100%}.mdc-slider--discrete .mdc-slider__thumb,.mdc-slider--discrete .mdc-slider__track--active_fill{transition:transform 80ms ease}@media(prefers-reduced-motion){.mdc-slider--discrete .mdc-slider__thumb,.mdc-slider--discrete .mdc-slider__track--active_fill{transition:none}}.mdc-slider--disabled{cursor:auto}.mdc-slider--disabled .mdc-slider__thumb{pointer-events:none}.mdc-slider__input{cursor:pointer;left:0;margin:0;height:100%;opacity:0;pointer-events:none;position:absolute;top:0;width:100%}.mat-mdc-slider{display:inline-block;box-sizing:border-box;outline:none;vertical-align:middle;margin-left:8px;margin-right:8px;width:auto;min-width:112px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-slider .mdc-slider__thumb-knob{background-color:var(--mdc-slider-handle-color, var(--mdc-theme-primary, #6200ee));border-color:var(--mdc-slider-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slider .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__thumb-knob{background-color:var(--mdc-slider-disabled-handle-color, var(--mdc-theme-on-surface, #000));border-color:var(--mdc-slider-disabled-handle-color, var(--mdc-theme-on-surface, #000))}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider.mdc-slider--disabled .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider.mdc-slider--disabled .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mat-mdc-slider .mdc-slider__thumb::before,.mat-mdc-slider .mdc-slider__thumb::after{background-color:var(--mdc-slider-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slider .mdc-slider__thumb:hover::before,.mat-mdc-slider .mdc-slider__thumb.mdc-ripple-surface--hover::before{opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mat-mdc-slider .mdc-slider__thumb.mdc-ripple-upgraded--background-focused::before,.mat-mdc-slider .mdc-slider__thumb:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mat-mdc-slider .mdc-slider__thumb:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mat-mdc-slider .mdc-slider__thumb:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mat-mdc-slider .mdc-slider__thumb.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mat-mdc-slider .mdc-slider__track--active_fill{border-color:var(--mdc-slider-active-track-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__track--active_fill{border-color:var(--mdc-slider-disabled-active-track-color, var(--mdc-theme-on-surface, #000))}.mat-mdc-slider .mdc-slider__track--inactive{background-color:var(--mdc-slider-inactive-track-color, var(--mdc-theme-primary, #6200ee));opacity:.24}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__track--inactive{background-color:var(--mdc-slider-disabled-inactive-track-color, var(--mdc-theme-on-surface, #000));opacity:.24}.mat-mdc-slider .mdc-slider__tick-mark--active{background-color:var(--mdc-slider-with-tick-marks-active-container-color, var(--mdc-theme-on-primary, #fff));opacity:var(--mdc-slider-with-tick-marks-active-container-opacity, 0.6)}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__tick-mark--active{background-color:var(--mdc-slider-with-tick-marks-active-container-color, var(--mdc-theme-on-primary, #fff));opacity:var(--mdc-slider-with-tick-marks-active-container-opacity, 0.6)}.mat-mdc-slider .mdc-slider__tick-mark--inactive{background-color:var(--mdc-slider-with-tick-marks-inactive-container-color, var(--mdc-theme-primary, #6200ee));opacity:var(--mdc-slider-with-tick-marks-inactive-container-opacity, 0.6)}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__tick-mark--inactive{background-color:var(--mdc-slider-with-tick-marks-disabled-container-color, var(--mdc-theme-on-surface, #000));opacity:var(--mdc-slider-with-tick-marks-inactive-container-opacity, 0.6)}.mat-mdc-slider .mdc-slider__value-indicator{background-color:var(--mdc-slider-label-container-color, #666666);opacity:1}.mat-mdc-slider .mdc-slider__value-indicator::before{border-top-color:var(--mdc-slider-label-container-color, #666666)}.mat-mdc-slider .mdc-slider__value-indicator{color:var(--mdc-slider-label-label-text-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slider .mdc-slider__track{height:var(--mdc-slider-inactive-track-height, 4px)}.mat-mdc-slider .mdc-slider__track--active{height:var(--mdc-slider-active-track-height, 6px)}.mat-mdc-slider .mdc-slider__track--inactive{height:var(--mdc-slider-inactive-track-height, 4px)}.mat-mdc-slider .mdc-slider__tick-mark--active,.mat-mdc-slider .mdc-slider__tick-mark--inactive{height:var(--mdc-slider-with-tick-marks-container-size, 2px);width:var(--mdc-slider-with-tick-marks-container-size, 2px)}.mat-mdc-slider.mdc-slider--disabled{opacity:0.38}.mat-mdc-slider .mdc-slider__value-indicator-text{letter-spacing:var(--mdc-slider-label-label-text-tracking, 0.0071428571em);font-size:var(--mdc-slider-label-label-text-font-size, 0.875rem);font-family:var(--mdc-slider-label-label-text-font, Roboto, sans-serif);font-weight:var(--mdc-slider-label-label-text-weight, 500);line-height:var(--mdc-slider-label-label-text-line-height, 1.375rem)}.mat-mdc-slider .mdc-slider__track--active{border-radius:var(--mdc-slider-active-track-shape, 9999px)}.mat-mdc-slider .mdc-slider__track--inactive{border-radius:var(--mdc-slider-inactive-track-shape, 9999px)}.mat-mdc-slider .mdc-slider__thumb-knob{border-radius:var(--mdc-slider-handle-shape, 50%);width:var(--mdc-slider-handle-width, 20px);height:var(--mdc-slider-handle-height, 20px);border-style:solid;border-width:calc(var(--mdc-slider-handle-height, 20px) / 2) calc(var(--mdc-slider-handle-width, 20px) / 2)}.mat-mdc-slider .mdc-slider__tick-mark--active,.mat-mdc-slider .mdc-slider__tick-mark--inactive{border-radius:var(--mdc-slider-with-tick-marks-container-shape, 50%)}.mat-mdc-slider .mdc-slider__thumb-knob{box-shadow:var(--mdc-slider-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-slider .mdc-slider__thumb:hover .mdc-slider__thumb-knob{background-color:var(--mdc-slider-hover-handle-color, var(--mdc-theme-primary, #6200ee));border-color:var(--mdc-slider-hover-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slider .mdc-slider__thumb:hover .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb:hover .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb:hover .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mat-mdc-slider .mdc-slider__thumb--focused .mdc-slider__thumb-knob{background-color:var(--mdc-slider-focus-handle-color, var(--mdc-theme-primary, #6200ee));border-color:var(--mdc-slider-focus-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slider .mdc-slider__thumb--focused .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--focused .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--focused .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mat-mdc-slider .mdc-slider__thumb:not(:disabled):active .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb:not(:disabled):active .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb:not(:disabled):active .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mat-mdc-slider .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:var(--mdc-slider-with-overlap-handle-outline-color, #fff);border-width:var(--mdc-slider-with-overlap-handle-outline-width, 1px)}.mat-mdc-slider .mdc-slider__input{pointer-events:auto}.mat-mdc-slider .mdc-slider__input.mat-mdc-slider-input-no-pointer-events{pointer-events:none}.mat-mdc-slider .mdc-slider__input.mat-slider__right-input{left:auto;right:0}.mat-mdc-slider .mdc-slider__thumb,.mat-mdc-slider .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__thumb,.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__track--active_fill{transition-duration:80ms}.mat-mdc-slider.mat-mdc-slider-with-animation.mat-mdc-slider-disable-track-animation .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider.mdc-slider--discrete .mdc-slider__thumb,.mat-mdc-slider.mdc-slider--discrete .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__thumb,.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__track--active_fill{transition-duration:80ms}.mat-mdc-slider.mat-mdc-slider-with-animation.mat-mdc-slider-disable-track-animation .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider .mdc-slider__track,.mat-mdc-slider .mdc-slider__thumb{pointer-events:none}.mat-mdc-slider .mdc-slider__value-indicator{opacity:var(--mat-mdc-slider-value-indicator-opacity, 1)}.mat-mdc-slider .mat-ripple .mat-ripple-element{background-color:var(--mat-mdc-slider-ripple-color, transparent)}.mat-mdc-slider .mat-ripple .mat-mdc-slider-hover-ripple{background-color:var(--mat-mdc-slider-hover-ripple-color, transparent)}.mat-mdc-slider .mat-ripple .mat-mdc-slider-focus-ripple,.mat-mdc-slider .mat-ripple .mat-mdc-slider-active-ripple{background-color:var(--mat-mdc-slider-focus-ripple-color, transparent)}.mat-mdc-slider._mat-animation-noopable.mdc-slider--discrete .mdc-slider__thumb,.mat-mdc-slider._mat-animation-noopable.mdc-slider--discrete .mdc-slider__track--active_fill,.mat-mdc-slider._mat-animation-noopable .mdc-slider__value-indicator{transition:none}.mat-mdc-slider .mat-mdc-focus-indicator::before{border-radius:50%}.mdc-slider__thumb--focused .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});const co={provide:_.JU,useExisting:(0,C.Gpc)(()=>yr),multi:!0},br={provide:_.JU,useExisting:(0,C.Gpc)(()=>lo),multi:!0};class yr{constructor(je,Dt,bi,Hi){this._ngZone=je,this._elementRef=Dt,this._cdr=bi,this._slider=Hi,this.valueChange=new C.vpe,this.dragStart=new C.vpe,this.dragEnd=new C.vpe,this.thumbPosition=2,this._knobRadius=8,this._isActive=!1,this._isFocused=!1,this._hasSetInitialValue=!1,this._destroyed=new Vr.x,this._skipUIUpdate=!1,this._onChangeFn=()=>{},this._onTouchedFn=()=>{},this._hostElement=Dt.nativeElement,this._ngZone.runOutsideAngular(()=>{this._hostElement.addEventListener("pointerdown",this._onPointerDown.bind(this)),this._hostElement.addEventListener("pointermove",this._onPointerMove.bind(this)),this._hostElement.addEventListener("pointerup",this._onPointerUp.bind(this))})}get value(){return(0,L.su)(this._hostElement.value)}set value(je){const Dt=(0,L.su)(je).toString();this._hasSetInitialValue?this._isActive||(this._hostElement.value=Dt,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges()):this._initialValue=Dt}get translateX(){return this._slider.min>=this._slider.max?(this._translateX=0,this._translateX):(void 0===this._translateX&&(this._translateX=this._calcTranslateXByValue()),this._translateX)}set translateX(je){this._translateX=je}get min(){return(0,L.su)(this._hostElement.min)}set min(je){this._hostElement.min=(0,L.su)(je).toString(),this._cdr.detectChanges()}get max(){return(0,L.su)(this._hostElement.max)}set max(je){this._hostElement.max=(0,L.su)(je).toString(),this._cdr.detectChanges()}get step(){return(0,L.su)(this._hostElement.step)}set step(je){this._hostElement.step=(0,L.su)(je).toString(),this._cdr.detectChanges()}get disabled(){return(0,L.Ig)(this._hostElement.disabled)}set disabled(je){this._hostElement.disabled=(0,L.Ig)(je),this._cdr.detectChanges(),this._slider.disabled!==this.disabled&&(this._slider.disabled=this.disabled)}get percentage(){return this._slider.min>=this._slider.max?this._slider._isRtl?1:0:(this.value-this._slider.min)/(this._slider.max-this._slider.min)}get fillPercentage(){return this._slider._cachedWidth?0===this._translateX?0:this.translateX/this._slider._cachedWidth:this._slider._isRtl?1:0}_setIsFocused(je){this._isFocused=je}ngOnDestroy(){this._hostElement.removeEventListener("pointerdown",this._onPointerDown),this._hostElement.removeEventListener("pointermove",this._onPointerMove),this._hostElement.removeEventListener("pointerup",this._onPointerUp),this._destroyed.next(),this._destroyed.complete(),this.dragStart.complete(),this.dragEnd.complete()}initProps(){this._updateWidthInactive(),this.disabled!==this._slider.disabled&&(this._slider.disabled=!0),this.step=this._slider.step,this.min=this._slider.min,this.max=this._slider.max,this._initValue()}initUI(){this._updateThumbUIByValue()}_initValue(){this._hasSetInitialValue=!0,void 0===this._initialValue?this.value=this._getDefaultValue():(this._hostElement.value=this._initialValue,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges())}_getDefaultValue(){return this.min}_onBlur(){this._setIsFocused(!1),this._onTouchedFn()}_onFocus(){this._setIsFocused(!0)}_onChange(){this._isActive&&this._updateThumbUIByValue({withAnimation:!0})}_onInput(){this.valueChange.emit(this.value),this._onChangeFn(this.value),(this._slider.step||!this._isActive)&&this._updateThumbUIByValue({withAnimation:!0}),this._slider._onValueChange(this)}_onNgControlValueChange(){(!this._isActive||!this._isFocused)&&(this._slider._onValueChange(this),this._updateThumbUIByValue()),this._slider.disabled=this._formControl.disabled}_onPointerDown(je){this.disabled||0!==je.button||(this._isActive=!0,this._setIsFocused(!0),this._updateWidthActive(),this._slider._updateDimensions(),this._slider.step||this._updateThumbUIByPointerEvent(je,{withAnimation:!0}),this.disabled||this._handleValueCorrection(je))}_handleValueCorrection(je){this._skipUIUpdate=!0,setTimeout(()=>{this._skipUIUpdate=!1,this._fixValue(je)},0)}_fixValue(je){const Dt=je.clientX-this._slider._cachedLeft,bi=this._slider._cachedWidth,Hi=0===this._slider.step?1:this._slider.step,Bn=Math.floor((this._slider.max-this._slider.min)/Hi),Zi=this._slider._isRtl?1-Dt/bi:Dt/bi,Br=Math.round(Zi*Bn)/Bn*(this._slider.max-this._slider.min)+this._slider.min,Mt=Math.round(Br/Hi)*Hi,_e=this.value,mt={source:this,parent:this._slider,value:Mt};if(this._isActive?this.dragStart.emit(mt):this.dragEnd.emit(mt),Mt===_e)return this._slider._onValueChange(this),void(this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(je,{withAnimation:this._slider._hasAnimation}));this.value=Mt,this.valueChange.emit(this.value),this._onChangeFn(this.value),this._slider._onValueChange(this),this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(je,{withAnimation:this._slider._hasAnimation})}_onPointerMove(je){!this._slider.step&&this._isActive&&this._updateThumbUIByPointerEvent(je)}_onPointerUp(je){this._isActive=!1,this._updateWidthInactive(),this.disabled||this._handleValueCorrection(je)}_clamp(je){return Math.max(Math.min(je,this._slider._cachedWidth),0)}_calcTranslateXByValue(){return this._slider._isRtl?(1-this.percentage)*this._slider._cachedWidth:this.percentage*this._slider._cachedWidth}_calcTranslateXByPointerEvent(je){return je.clientX-this._slider._cachedLeft}_updateWidthActive(){this._hostElement.style.padding=`0 ${this._slider._inputPadding}px`,this._hostElement.style.width=`calc(100% + ${this._slider._inputPadding}px)`}_updateWidthInactive(){this._hostElement.style.padding="0px",this._hostElement.style.width="calc(100% + 48px)",this._hostElement.style.left="-24px"}_updateThumbUIByValue(je){this.translateX=this._clamp(this._calcTranslateXByValue()),this._updateThumbUI(je)}_updateThumbUIByPointerEvent(je,Dt){this.translateX=this._clamp(this._calcTranslateXByPointerEvent(je)),this._updateThumbUI(Dt)}_updateThumbUI(je){this._slider._setTransition(!!je?.withAnimation),this._slider._onTranslateXChange(this)}writeValue(je){this.value=je}registerOnChange(je){this._onChangeFn=je}registerOnTouched(je){this._onTouchedFn=je}setDisabledState(je){this.disabled=je}focus(){this._hostElement.focus()}blur(){this._hostElement.blur()}}yr.\u0275fac=function(je){return new(je||yr)(C.Y36(C.R0b),C.Y36(C.SBq),C.Y36(C.sBO),C.Y36(Jn))},yr.\u0275dir=C.lG2({type:yr,selectors:[["input","matSliderThumb",""]],hostAttrs:["type","range",1,"mdc-slider__input"],hostVars:1,hostBindings:function(je,Dt){1&je&&C.NdJ("change",function(){return Dt._onChange()})("input",function(){return Dt._onInput()})("blur",function(){return Dt._onBlur()})("focus",function(){return Dt._onFocus()}),2&je&&C.uIk("aria-valuetext",Dt._valuetext)},inputs:{value:"value"},outputs:{valueChange:"valueChange",dragStart:"dragStart",dragEnd:"dragEnd"},exportAs:["matSliderThumb"],features:[C._Bn([co,{provide:qr,useExisting:yr}])]});class lo extends yr{constructor(je,Dt,bi,Hi){super(je,bi,Hi,Dt),this._cdr=Hi,this._isEndThumb=this._hostElement.hasAttribute("matSliderEndThumb"),this._setIsLeftThumb(),this.thumbPosition=this._isEndThumb?2:1}getSibling(){return this._sibling||(this._sibling=this._slider._getInput(this._isEndThumb?1:2)),this._sibling}getMinPos(){const je=this.getSibling();return!this._isLeftThumb&&je?je.translateX:0}getMaxPos(){const je=this.getSibling();return this._isLeftThumb&&je?je.translateX:this._slider._cachedWidth}_setIsLeftThumb(){this._isLeftThumb=this._isEndThumb&&this._slider._isRtl||!this._isEndThumb&&!this._slider._isRtl}_getDefaultValue(){return this._isEndThumb&&this._slider._isRange?this.max:this.min}_onInput(){super._onInput(),this._updateSibling(),this._isActive||this._updateWidthInactive()}_onNgControlValueChange(){super._onNgControlValueChange(),this.getSibling()?._updateMinMax()}_onPointerDown(je){this.disabled||(this._sibling&&(this._sibling._updateWidthActive(),this._sibling._hostElement.classList.add("mat-mdc-slider-input-no-pointer-events")),super._onPointerDown(je))}_onPointerUp(je){super._onPointerUp(je),this._sibling&&(this._sibling._updateWidthInactive(),this._sibling._hostElement.classList.remove("mat-mdc-slider-input-no-pointer-events"))}_onPointerMove(je){super._onPointerMove(je),!this._slider.step&&this._isActive&&this._updateSibling()}_fixValue(je){super._fixValue(je),this._sibling?._updateMinMax()}_clamp(je){return Math.max(Math.min(je,this.getMaxPos()),this.getMinPos())}_updateMinMax(){const je=this.getSibling();!je||(this._isEndThumb?(this.min=Math.max(this._slider.min,je.value),this.max=this._slider.max):(this.min=this._slider.min,this.max=Math.min(this._slider.max,je.value)))}_updateWidthActive(){const je=2*this._slider._rippleRadius-2*this._slider._inputPadding,Hi=(this._slider._cachedWidth+this._slider._inputPadding-je)*(this._slider.min<this._slider.max?(this.max-this.min)/(this._slider.max-this._slider.min):1)+je;this._hostElement.style.width=`${Hi}px`,this._hostElement.style.padding=`0 ${this._slider._inputPadding}px`}_updateWidthInactive(){const je=this.getSibling();if(!je)return;const Dt=this._slider._cachedWidth,bi=this._isEndThumb?this.value-(this.value-je.value)/2:this.value+(je.value-this.value)/2,Hi=this._isEndThumb?(this.max-bi)/(this._slider.max-this._slider.min):(bi-this.min)/(this._slider.max-this._slider.min),Zi=Dt*(this._slider.min<this._slider.max?Hi:1)+24;this._hostElement.style.width=`${Zi}px`,this._hostElement.style.padding="0px",this._isLeftThumb?(this._hostElement.style.left="-24px",this._hostElement.style.right="auto"):(this._hostElement.style.left="auto",this._hostElement.style.right="-24px")}_updateStaticStyles(){this._hostElement.classList.toggle("mat-slider__right-input",!this._isLeftThumb)}_updateSibling(){const je=this.getSibling();!je||(je._updateMinMax(),this._isActive?je._updateWidthActive():je._updateWidthInactive())}writeValue(je){this.value=je,this._updateWidthInactive(),this._updateSibling()}}lo.\u0275fac=function(je){return new(je||lo)(C.Y36(C.R0b),C.Y36(Jn),C.Y36(C.SBq),C.Y36(C.sBO))},lo.\u0275dir=C.lG2({type:lo,selectors:[["input","matSliderStartThumb",""],["input","matSliderEndThumb",""]],exportAs:["matSliderRangeThumb"],features:[C._Bn([br,{provide:Ka,useExisting:lo}]),C.qOj]});class ia{}ia.\u0275fac=function(je){return new(je||ia)},ia.\u0275mod=C.oAB({type:ia}),ia.\u0275inj=C.cJS({imports:[ki.BQ,e.ez,ki.si]});var Dr=f(930),hr=f(2197),ho=f(4193),ur=f(8711),Ho=f(5892),mr=f(2543),xr=f(6896),da=f(3453),Rr=f(1169),sr=f(6590),fs=f(6021),ya=f(8822),Io=f(5895);class $n extends Io.Xj{constructor(je,Dt){super(je,Dt)}_createContainer(){super._createContainer(),this._containerElement&&(document.querySelector("#rtl-container")||document.body).appendChild(this._containerElement)}ngOnDestroy(){super.ngOnDestroy()}}$n.\u0275fac=function(je){return new(je||$n)(C.Y36(e.K0),C.Y36(ta.t4))},$n.\u0275dir=C.lG2({type:$n,features:[C.qOj]});var qn=f(5043),Tr=f(7731),cr=f(9445);class Wr extends ki.LF{constructor(je,Dt){super(je,Dt)}format(je,Dt){if("input"===Dt){let bi=je.getDate().toString();return bi=+bi<10?"0"+bi:bi,bi+"/"+Tr.gg[je.getMonth()].name.toUpperCase()+"/"+je.getFullYear()}return Tr.gg[je.getMonth()].name.toUpperCase()+" "+je.getFullYear()}}Wr.\u0275fac=function(je){return new(je||Wr)(C.LFG(ki.Ad,8),C.LFG(ta.t4))},Wr.\u0275prov=C.Yz7({token:Wr,factory:Wr.\u0275fac});class aa{}aa.\u0275fac=function(je){return new(je||aa)},aa.\u0275mod=C.oAB({type:aa}),aa.\u0275inj=C.cJS({providers:[{provide:qn.mQ,useClass:qn.LG},{provide:ya.op,useValue:{suppressScrollX:!1,suppressScrollY:!1}},{provide:Dr.Ve,useValue:{duration:2e3,verticalPosition:"bottom",panelClass:"rtl-snack-bar"}},{provide:Ki.Bq,useValue:{hasBackdrop:!0,autoFocus:!0,disableClose:!0,role:"dialog",width:"45%"}},{provide:ki._A,useClass:Wr},{provide:ki.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:Io.Xj,useClass:$n},e.JJ,e.rS,e.uU,cr.al,cr.h9,cr.D3,cr.i1],imports:[e.ez,_.u5,_.UX,l.uH,_i,Oi.xu,Ki.Is,ke.ot,Qn,Qa.QW,Er.p9,Kt.To,pi.N6,At.FA,ki.XK,Di.Ps,ji.c,Fi.ie,sn.Tx,kn.Cv,sa.Cq,An.Fk,da.dp,Rr.Hi,na.LD,Fa.SJ,jn.rP,hr.JX,ur.p0,mr.g0,xr.AV,be.g,pa.TU,ho.T5,ia,Ho.Nh,Dr.ZX,ti.Bb,sr.a4,fs.OF,t.Bz,O.JF,ya.Xd,_.u5,_.UX,l.uH,_i,Oi.xu,Ki.Is,ke.ot,Qn,Qa.QW,Er.p9,Kt.To,pi.N6,At.FA,ki.XK,Di.Ps,ji.c,Fi.ie,sn.Tx,kn.Cv,sa.Cq,An.Fk,da.dp,Rr.Hi,na.LD,Fa.SJ,jn.rP,hr.JX,ur.p0,mr.g0,xr.AV,be.g,pa.TU,ho.T5,ia,Ho.Nh,Dr.ZX,ti.Bb,sr.a4,fs.OF,ya.Xd]})},7861:(Ye,J,f)=>{"use strict";f.d(J,{M6:()=>D,Q2:()=>A,QO:()=>h,Tm:()=>le,Uy:()=>se,XT:()=>ae,_V:()=>fe,ac:()=>P,c0:()=>o,c1:()=>k,dc:()=>g,ey:()=>$,fk:()=>pe,jS:()=>re,jW:()=>u,kS:()=>i,lC:()=>O,qR:()=>L,qi:()=>l,tj:()=>z,ts:()=>C,tw:()=>Z,uO:()=>p,vI:()=>X,x4:()=>I,yb:()=>M,zQ:()=>he});var e=f(9263),t=f(7731);(0,e.PH)(t.pg.VOID);const O=(0,e.PH)(t.pg.SET_API_URL_ECL,(0,e.Ky)()),l=(0,e.PH)(t.pg.UPDATE_API_CALL_STATUS_ROOT,(0,e.Ky)()),C=(0,e.PH)(t.pg.CLOSE_ALL_DIALOGS),u=(0,e.PH)(t.pg.OPEN_SNACK_BAR,(0,e.Ky)()),P=(0,e.PH)(t.pg.OPEN_SPINNER,(0,e.Ky)()),p=(0,e.PH)(t.pg.CLOSE_SPINNER,(0,e.Ky)()),L=(0,e.PH)(t.pg.OPEN_ALERT,(0,e.Ky)()),D=(0,e.PH)(t.pg.CLOSE_ALERT,(0,e.Ky)()),k=(0,e.PH)(t.pg.OPEN_CONFIRMATION,(0,e.Ky)()),M=(0,e.PH)(t.pg.CLOSE_CONFIRMATION,(0,e.Ky)()),z=(0,e.PH)(t.pg.SHOW_PUBKEY),A=(0,e.PH)(t.pg.FETCH_CONFIG,(0,e.Ky)()),Z=((0,e.PH)(t.pg.SHOW_CONFIG,(0,e.Ky)()),(0,e.PH)(t.pg.UPDATE_SELECTED_NODE_OPTIONS)),X=(0,e.PH)(t.pg.RESET_ROOT_STORE,(0,e.Ky)()),$=(0,e.PH)(t.pg.FETCH_RTL_CONFIG),ae=(0,e.PH)(t.pg.SET_RTL_CONFIG,(0,e.Ky)()),he=(0,e.PH)(t.pg.SAVE_SETTINGS,(0,e.Ky)()),se=(0,e.PH)(t.pg.TWO_FA_SAVE_SETTINGS,(0,e.Ky)()),pe=(0,e.PH)(t.pg.SET_SELECTED_NODE,(0,e.Ky)()),le=(0,e.PH)(t.pg.UPDATE_ROOT_NODE_SETTINGS,(0,e.Ky)()),re=(0,e.PH)(t.pg.UPDATE_SERVICE_SETTINGS,(0,e.Ky)()),fe=(0,e.PH)(t.pg.SET_NODE_DATA,(0,e.Ky)()),i=((0,e.PH)(t.pg.SAVE_SSO,(0,e.Ky)()),(0,e.PH)(t.pg.LOGOUT)),o=(0,e.PH)(t.pg.RESET_PASSWORD,(0,e.Ky)()),h=((0,e.PH)(t.pg.RESET_PASSWORD_RES,(0,e.Ky)()),(0,e.PH)(t.pg.IS_AUTHORIZED,(0,e.Ky)())),I=((0,e.PH)(t.pg.IS_AUTHORIZED_RES,(0,e.Ky)()),(0,e.PH)(t.pg.LOGIN,(0,e.Ky)())),g=((0,e.PH)(t.pg.VERIFY_TWO_FA,(0,e.Ky)()),(0,e.PH)(t.pg.FETCH_FILE,(0,e.Ky)()));(0,e.PH)(t.pg.SHOW_FILE,(0,e.Ky)())},3093:(Ye,J,f)=>{"use strict";f.d(J,{V:()=>ui});var e=f(3599),t=f(253),_=f(745),O=f(833),l=f(1640),C=f(635),u=f(9295),P=f(538),p=f(9525),L=f(3158),D=f(8951),k=f(2340),M=f(7731),z=f(4481),A=f(2560),W=f(6722),Z=f(1708);class X{constructor(oi,Vt){this.dialogRef=oi,this.data=Vt}}X.\u0275fac=function(oi){return new(oi||X)(A.Y36(z.so),A.Y36(z.WI))},X.\u0275cmp=A.Xpm({type:X,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(oi,Vt){1&oi&&(A.TgZ(0,"div",0),A._UZ(1,"mat-progress-spinner",1),A.TgZ(2,"h2"),A._uU(3),A.qZA()()),2&oi&&(A.xp6(3),A.Oqu(Vt.data.titleMessage))},dependencies:[W.xw,W.Wh,Z.Ou],styles:["h2[_ngcontent-%COMP%]{text-align:center}"]});var $=f(5043),ae=f(930),he=f(62),se=f(4666),pe=f(3704),le=f(4522),re=f(2156),fe=f(7822),T=f(1528),i=f(6021),o=f(8822),m=f(6895),h=f(3390);const x=["scrollContainer"];function I($t,oi){if(1&$t&&A._UZ(0,"qr-code",15),2&$t){const Vt=A.oxw();A.Q6J("value",Vt.showQRField)("size",200)("errorCorrectionLevel","L")}}function R($t,oi){1&$t&&A.GkF(0)}const g=function($t){return{"h-40":$t}};function r($t,oi){if(1&$t&&(A.ynx(0),A.TgZ(1,"mat-card-content",16,17),A.YNc(3,R,1,0,"ng-container",18),A.qZA(),A.BQk()),2&$t){const Vt=A.oxw(),Wi=A.MAs(20);A.xp6(1),A.Q6J("ngClass",A.VKq(2,g,Vt.data.scrollable)),A.xp6(2),A.Q6J("ngTemplateOutlet",Wi)}}function w($t,oi){1&$t&&A.GkF(0)}function V($t,oi){if(1&$t&&(A.ynx(0),A.TgZ(1,"mat-card-content",19),A.YNc(2,w,1,0,"ng-container",18),A.qZA(),A.BQk()),2&$t){A.oxw();const Vt=A.MAs(20);A.xp6(2),A.Q6J("ngTemplateOutlet",Vt)}}function N($t,oi){1&$t&&(A.TgZ(0,"mat-icon",23),A._uU(1,"arrow_downward"),A.qZA())}function Y($t,oi){1&$t&&(A.TgZ(0,"mat-icon",23),A._uU(1,"arrow_upward"),A.qZA())}function Pe($t,oi){if(1&$t){const Vt=A.EpF();A.TgZ(0,"div",20)(1,"button",21),A.NdJ("click",function(){A.CHM(Vt);const Qi=A.oxw();return A.KtG(Qi.onScroll())}),A.YNc(2,N,2,0,"mat-icon",22),A.YNc(3,Y,2,0,"mat-icon",22),A.qZA()()}if(2&$t){const Vt=A.oxw();A.xp6(2),A.Q6J("ngIf","DOWN"===Vt.scrollDirection),A.xp6(1),A.Q6J("ngIf","UP"===Vt.scrollDirection)}}function Ce($t,oi){1&$t&&(A.TgZ(0,"button",24),A._uU(1,"OK"),A.qZA()),2&$t&&A.Q6J("mat-dialog-close",!1)}function Xe($t,oi){1&$t&&(A.TgZ(0,"button",25),A._uU(1,"Close"),A.qZA()),2&$t&&A.Q6J("mat-dialog-close",!1)}function dt($t,oi){if(1&$t){const Vt=A.EpF();A.TgZ(0,"button",26),A.NdJ("copied",function(Qi){A.CHM(Vt);const vn=A.oxw();return A.KtG(vn.onCopyField(Qi))}),A._uU(1),A.qZA()}if(2&$t){const Vt=A.oxw();A.Q6J("payload",Vt.showCopyField),A.xp6(1),A.hij("Copy ",Vt.showCopyName,"")}}function Ke($t,oi){1&$t&&(A.TgZ(0,"button",25),A._uU(1,"Close"),A.qZA()),2&$t&&A.Q6J("mat-dialog-close",!1)}function ge($t,oi){if(1&$t){const Vt=A.EpF();A.TgZ(0,"button",26),A.NdJ("copied",function(Qi){A.CHM(Vt);const vn=A.oxw();return A.KtG(vn.onCopyField(Qi))}),A._uU(1),A.qZA()}if(2&$t){const Vt=A.oxw();A.Q6J("payload",Vt.showQRField),A.xp6(1),A.hij("Copy ",Vt.showQRName,"")}}function $e($t,oi){if(1&$t&&A._UZ(0,"qr-code",15),2&$t){const Vt=A.oxw(2);A.Q6J("value",Vt.showQRField)("size",200)("errorCorrectionLevel","L")}}function Oe($t,oi){if(1&$t&&(A.TgZ(0,"p",32),A._uU(1),A.qZA()),2&$t){const Vt=A.oxw(2);A.xp6(1),A.Oqu(Vt.data.titleMessage)}}function Me($t,oi){if(1&$t&&A._UZ(0,"span",46),2&$t){const Vt=oi.$implicit;A.Q6J("innerHTML",Vt,A.oJD)}}function De($t,oi){if(1&$t&&(A.ynx(0),A.YNc(1,Me,1,1,"span",45),A.BQk()),2&$t){const Vt=A.oxw(2).$implicit;A.xp6(1),A.Q6J("ngForOf",Vt.value)}}function Ue($t,oi){if(1&$t&&(A.ynx(0),A._uU(1),A.ALo(2,"date"),A.BQk()),2&$t){const Vt=A.oxw(2).$implicit;A.xp6(1),A.Oqu(A.xi3(2,1,1e3*Vt.value,"dd/MMM/y HH:mm"))}}function ye($t,oi){if(1&$t&&(A.ynx(0),A._uU(1),A.ALo(2,"number"),A.BQk()),2&$t){const Vt=A.oxw(2).$implicit;A.xp6(1),A.Oqu(A.xi3(2,1,Vt.value,Vt.digitsInfo?Vt.digitsInfo:"1.0-3"))}}function we($t,oi){if(1&$t&&(A.ynx(0),A._uU(1),A.BQk()),2&$t){const Vt=A.oxw(2).$implicit;A.xp6(1),A.Oqu(Vt.value?"True":"False")}}function ie($t,oi){1&$t&&(A.TgZ(0,"mat-icon",51),A._uU(1,"info"),A.qZA())}const Se=function($t){return{"failed-status":$t}};function ne($t,oi){if(1&$t&&(A.TgZ(0,"p",49),A._uU(1),A.YNc(2,ie,2,0,"mat-icon",50),A.qZA()),2&$t){const Vt=A.oxw(3).$implicit,Wi=A.oxw(4);A.Q6J("ngClass",A.VKq(3,Se,Vt.value===Wi.LoopStateEnum.FAILED)),A.xp6(1),A.hij(" ",Vt.value," "),A.xp6(1),A.Q6J("ngIf",Vt.value===Wi.LoopStateEnum.FAILED)}}function K($t,oi){if(1&$t&&A._uU(0),2&$t){const Vt=A.oxw(3).$implicit;A.Oqu(Vt.value)}}function ee($t,oi){if(1&$t&&(A.ynx(0),A.YNc(1,ne,3,5,"p",47),A.YNc(2,K,1,1,"ng-template",null,48,A.W1O),A.BQk()),2&$t){const Vt=A.MAs(3),Wi=A.oxw(2).$implicit,Qi=A.oxw(4);A.xp6(1),A.Q6J("ngIf","SWAP"===Qi.data.openedBy&&"state"===Wi.key)("ngIfElse",Vt)}}function ze($t,oi){if(1&$t&&(A.TgZ(0,"span")(1,"span",42),A.YNc(2,De,2,1,"ng-container",43),A.YNc(3,Ue,3,4,"ng-container",43),A.YNc(4,ye,3,4,"ng-container",43),A.YNc(5,we,2,1,"ng-container",43),A.YNc(6,ee,4,2,"ng-container",44),A.qZA()()),2&$t){const Vt=A.oxw().$implicit,Wi=A.oxw(4);A.xp6(1),A.Q6J("ngSwitch",Vt.type),A.xp6(1),A.Q6J("ngSwitchCase",Wi.dataTypeEnum.ARRAY),A.xp6(1),A.Q6J("ngSwitchCase",Wi.dataTypeEnum.DATE_TIME),A.xp6(1),A.Q6J("ngSwitchCase",Wi.dataTypeEnum.NUMBER),A.xp6(1),A.Q6J("ngSwitchCase",Wi.dataTypeEnum.BOOLEAN)}}function Ve($t,oi){1&$t&&(A.TgZ(0,"span",52),A._uU(1,"\xa0"),A.qZA())}function oe($t,oi){if(1&$t&&(A.TgZ(0,"div",37)(1,"h4",38),A._uU(2),A.qZA(),A.YNc(3,ze,7,5,"span",39),A.YNc(4,Ve,2,0,"ng-template",null,40,A.W1O),A._UZ(6,"mat-divider",41),A.qZA()),2&$t){const Vt=oi.$implicit,Wi=A.MAs(5);A.s9C("fxFlex.gt-md",Vt.width),A.xp6(2),A.Oqu(Vt.title),A.xp6(1),A.Q6J("ngIf",Vt&&(!!Vt.value||0===Vt.value))("ngIfElse",Wi)}}function at($t,oi){if(1&$t&&(A.TgZ(0,"div")(1,"div",35),A.YNc(2,oe,7,4,"div",36),A.qZA()()),2&$t){const Vt=oi.$implicit;A.xp6(2),A.Q6J("ngForOf",Vt)}}function qe($t,oi){if(1&$t&&(A.TgZ(0,"div",33),A.YNc(1,at,3,1,"div",34),A.qZA()),2&$t){const Vt=A.oxw(2);A.xp6(1),A.Q6J("ngForOf",Vt.messageObjs)}}const it=function($t){return{"display-none":$t}};function ii($t,oi){if(1&$t&&(A.TgZ(0,"div",27)(1,"div",28),A.YNc(2,$e,1,3,"qr-code",2),A.qZA(),A.TgZ(3,"div",29),A.YNc(4,Oe,2,1,"p",30),A.YNc(5,qe,2,1,"div",31),A.qZA()()),2&$t){const Vt=A.oxw();A.xp6(1),A.Q6J("ngClass",A.VKq(4,it,""===Vt.showQRField||Vt.screenSize!==Vt.screenSizeEnum.XS&&Vt.screenSize!==Vt.screenSizeEnum.SM)),A.xp6(1),A.Q6J("ngIf",""!==Vt.showQRField),A.xp6(2),A.Q6J("ngIf",Vt.data.titleMessage),A.xp6(1),A.Q6J("ngIf",(null==Vt.messageObjs?null:Vt.messageObjs.length)>0)}}class bt{constructor(oi,Vt,Wi,Qi,vn,ga){this.dialogRef=oi,this.data=Vt,this.logger=Wi,this.snackBar=Qi,this.commonService=vn,this.renderer=ga,this.LoopStateEnum=M.Fq,this.showQRField="",this.showQRName="",this.showCopyName="",this.showCopyField="",this.errorMessage="",this.messageObjs=[],this.alertTypeEnum=M.n_,this.dataTypeEnum=M.Gi,this.screenSize="",this.screenSizeEnum=M.cu,this.scrollDirection="DOWN",this.shouldScroll=!0}set container(oi){oi&&(this.scrollContainer=oi,this.scrollContainer&&this.scrollContainer.nativeElement&&(this.unlistenEnd=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-end",Vt=>{this.scrollDirection="UP"}),this.unlistenStart=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-start",Vt=>{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===M.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(){"DOWN"===this.scrollDirection?this.scrollContainer.nativeElement.scrollTop=this.scrollContainer.nativeElement.scrollTop+62.6:this.scrollContainer.nativeElement.scrollTop=this.scrollContainer.nativeElement.scrollTop-62.6}onCopyField(oi){this.snackBar.open((this.showQRName?this.showQRName:this.showCopyName)+" copied."),this.logger.info("Copied Text: "+oi)}onClose(){this.dialogRef.close(!1)}ngOnDestroy(){this.unlistenStart&&this.unlistenStart(),this.unlistenEnd&&this.unlistenEnd()}}bt.\u0275fac=function(oi){return new(oi||bt)(A.Y36(z.so),A.Y36(z.WI),A.Y36($.mQ),A.Y36(ae.ux),A.Y36(he.v),A.Y36(A.Qsj))},bt.\u0275cmp=A.Xpm({type:bt,selectors:[["rtl-alert-message"]],viewQuery:function(oi,Vt){if(1&oi&&A.Gf(x,5),2&oi){let Wi;A.iGM(Wi=A.CRH())&&(Vt.container=Wi.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(oi,Vt){1&oi&&(A.TgZ(0,"div",0)(1,"div",1),A.YNc(2,I,1,3,"qr-code",2),A.qZA(),A.TgZ(3,"div",3)(4,"mat-card-header",4)(5,"div",5)(6,"span",6),A._uU(7),A.qZA()(),A.TgZ(8,"button",7),A.NdJ("click",function(){return Vt.onClose()}),A._uU(9,"X"),A.qZA()(),A.YNc(10,r,4,4,"ng-container",8),A.YNc(11,V,3,1,"ng-container",8),A.YNc(12,Pe,4,2,"div",9),A.TgZ(13,"div",10),A.YNc(14,Ce,2,1,"button",11),A.YNc(15,Xe,2,1,"button",12),A.YNc(16,dt,2,2,"button",13),A.YNc(17,Ke,2,1,"button",12),A.YNc(18,ge,2,2,"button",13),A.qZA()()(),A.YNc(19,ii,6,6,"ng-template",null,14,A.W1O)),2&oi&&(A.xp6(1),A.Q6J("ngClass",A.VKq(12,it,""===Vt.showQRField||Vt.screenSize===Vt.screenSizeEnum.XS||Vt.screenSize===Vt.screenSizeEnum.SM)),A.xp6(1),A.Q6J("ngIf",""!==Vt.showQRField),A.xp6(1),A.Q6J("fxFlex",""===Vt.showQRField||Vt.screenSize===Vt.screenSizeEnum.XS||Vt.screenSize===Vt.screenSizeEnum.SM?"100":"70"),A.xp6(4),A.Oqu(Vt.data.alertTitle||Vt.alertTypeEnum[Vt.data.type]),A.xp6(3),A.Q6J("ngIf",Vt.data.scrollable),A.xp6(1),A.Q6J("ngIf",!Vt.data.scrollable),A.xp6(1),A.Q6J("ngIf",Vt.data.scrollable&&Vt.shouldScroll),A.xp6(2),A.Q6J("ngIf",(!Vt.showQRField||""===Vt.showQRField)&&""===Vt.showCopyName),A.xp6(1),A.Q6J("ngIf",""!==Vt.showCopyName),A.xp6(1),A.Q6J("ngIf",""!==Vt.showCopyName),A.xp6(1),A.Q6J("ngIf",""!==Vt.showQRField),A.xp6(1),A.Q6J("ngIf",""!==Vt.showQRField))},dependencies:[se.mk,se.sg,se.O5,se.tP,se.RF,se.n9,se.ED,W.xw,W.Wh,W.yH,pe.oO,z.ZT,le.lW,le.nh,re.dn,re.dk,fe.Hw,T.d,i.uU,o.$V,m.y,h.h,se.JJ,se.uU],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]});var st=f(9306),Be=f(7861),rt=f(9263),Ot=f(2508),Gt=f(3505),kt=f(1267),Rt=f(5074),yi=f(6534);function Jt($t,oi){if(1&$t&&(A.TgZ(0,"div",18),A._UZ(1,"fa-icon",19),A.TgZ(2,"span"),A._uU(3),A.qZA()()),2&$t){const Vt=A.oxw();A.xp6(1),A.Q6J("icon",Vt.faExclamationTriangle),A.xp6(2),A.Oqu(Vt.warningMessage)}}function Zt($t,oi){if(1&$t&&(A.TgZ(0,"div",20),A._UZ(1,"fa-icon",19),A.TgZ(2,"span"),A._uU(3),A.qZA()()),2&$t){const Vt=A.oxw();A.xp6(1),A.Q6J("icon",Vt.faInfoCircle),A.xp6(2),A.Oqu(Vt.informationMessage)}}function mi($t,oi){if(1&$t&&(A.TgZ(0,"p",21),A._uU(1),A.qZA()),2&$t){const Vt=A.oxw();A.xp6(1),A.Oqu(Vt.data.titleMessage)}}function Re($t,oi){if(1&$t&&A._UZ(0,"div",36),2&$t){const Vt=oi.$implicit;A.Q6J("innerHTML",Vt,A.oJD)}}function U($t,oi){if(1&$t&&(A.ynx(0,34),A.YNc(1,Re,1,1,"div",35),A.BQk()),2&$t){const Vt=A.oxw(2).$implicit;A.xp6(1),A.Q6J("ngForOf",Vt.value)}}function j($t,oi){if(1&$t&&(A.ynx(0),A._uU(1),A.ALo(2,"date"),A.BQk()),2&$t){const Vt=A.oxw(2).$implicit;A.xp6(1),A.Oqu(A.xi3(2,1,1e3*Vt.value,"dd/MMM/y HH:mm"))}}function ue($t,oi){if(1&$t&&(A.ynx(0),A._uU(1),A.ALo(2,"number"),A.BQk()),2&$t){const Vt=A.oxw(2).$implicit;A.xp6(1),A.Oqu(A.xi3(2,1,Vt.value,"1.0-3"))}}function Ne($t,oi){if(1&$t&&(A.ynx(0),A._uU(1),A.BQk()),2&$t){const Vt=A.oxw(2).$implicit;A.xp6(1),A.Oqu(!0===Vt.value?"True":"False")}}function wt($t,oi){if(1&$t&&(A.ynx(0),A._uU(1),A.BQk()),2&$t){const Vt=A.oxw(2).$implicit;A.xp6(1),A.Oqu(Vt.value)}}function Et($t,oi){if(1&$t&&(A.TgZ(0,"span")(1,"span",30),A.YNc(2,U,2,1,"ng-container",31),A.YNc(3,j,3,4,"ng-container",32),A.YNc(4,ue,3,4,"ng-container",32),A.YNc(5,Ne,2,1,"ng-container",32),A.YNc(6,wt,2,1,"ng-container",33),A.qZA()()),2&$t){const Vt=A.oxw().$implicit,Wi=A.oxw(3);A.xp6(1),A.Q6J("ngSwitch",Vt.type),A.xp6(1),A.Q6J("ngSwitchCase",Wi.dataTypeEnum.ARRAY),A.xp6(1),A.Q6J("ngSwitchCase",Wi.dataTypeEnum.DATE_TIME),A.xp6(1),A.Q6J("ngSwitchCase",Wi.dataTypeEnum.NUMBER),A.xp6(1),A.Q6J("ngSwitchCase",Wi.dataTypeEnum.BOOLEAN)}}function Nt($t,oi){1&$t&&(A.TgZ(0,"span",37),A._uU(1,"\xa0"),A.qZA())}function ot($t,oi){if(1&$t&&(A.TgZ(0,"div",25)(1,"h4",26),A._uU(2),A.qZA(),A.YNc(3,Et,7,5,"span",27),A.YNc(4,Nt,2,0,"ng-template",null,28,A.W1O),A._UZ(6,"mat-divider",29),A.qZA()),2&$t){const Vt=oi.$implicit,Wi=A.MAs(5);A.s9C("fxFlex.gt-md",Vt.width),A.xp6(2),A.Oqu(Vt.title),A.xp6(1),A.Q6J("ngIf",Vt&&(!!Vt.value||0===Vt.value))("ngIfElse",Wi)}}function We($t,oi){if(1&$t&&(A.TgZ(0,"div")(1,"div",23),A.YNc(2,ot,7,4,"div",24),A.qZA()()),2&$t){const Vt=oi.$implicit;A.xp6(2),A.Q6J("ngForOf",Vt)}}function gt($t,oi){if(1&$t&&(A.TgZ(0,"div"),A.YNc(1,We,3,1,"div",22),A.qZA()),2&$t){const Vt=A.oxw();A.xp6(1),A.Q6J("ngForOf",Vt.messageObjs)}}function ri($t,oi){if(1&$t&&(A.TgZ(0,"p",21),A._uU(1),A.qZA()),2&$t){const Vt=A.oxw(2);A.xp6(1),A.Oqu(Vt.data.titleMessage)}}function Pt($t,oi){if(1&$t&&(A.TgZ(0,"mat-error"),A._uU(1),A.qZA()),2&$t){const Vt=A.oxw(2).$implicit;A.xp6(1),A.hij("",Vt.placeholder," is required.")}}function Ft($t,oi){if(1&$t){const Vt=A.EpF();A.TgZ(0,"mat-form-field",41)(1,"mat-label"),A._uU(2),A.qZA(),A.TgZ(3,"input",42),A.NdJ("ngModelChange",function(Qi){A.CHM(Vt);const vn=A.oxw().$implicit;return A.KtG(vn.inputValue=Qi)}),A.ALo(4,"lowercase"),A.qZA(),A.YNc(5,Pt,2,1,"mat-error",11),A.TgZ(6,"mat-hint"),A._uU(7),A.qZA()()}if(2&$t){const Vt=A.oxw(),Wi=Vt.$implicit,Qi=Vt.index;A.Q6J("fxFlex",Wi.width),A.xp6(2),A.Oqu(Wi.placeholder),A.xp6(1),A.MGl("name","input",Qi,""),A.Q6J("autoFocus",0===Qi)("min",Wi.min)("step",Wi.step)("type",A.lcZ(4,11,Wi.inputType))("tabindex",Qi+1)("ngModel",Wi.inputValue),A.xp6(2),A.Q6J("ngIf",!Wi.inputValue),A.xp6(2),A.Oqu(Wi.hintFunction?Wi.hintFunction(Wi.inputValue):Wi.hintText)}}function qt($t,oi){if(1&$t&&(A.ynx(0),A.YNc(1,Ft,8,13,"mat-form-field",40),A.BQk()),2&$t){const Vt=oi.$implicit,Wi=A.oxw(2);A.xp6(1),A.Q6J("ngIf",!Vt.advancedField||Wi.showAdvanced)}}function Te($t,oi){if(1&$t&&(A.TgZ(0,"div",38),A.YNc(1,ri,2,1,"p",10),A.TgZ(2,"div",39),A.YNc(3,qt,2,1,"ng-container",22),A.qZA()()),2&$t){const Vt=A.oxw();A.xp6(1),A.Q6J("ngIf",Vt.data.titleMessage),A.xp6(2),A.Q6J("ngForOf",Vt.getInputs)}}function me($t,oi){1&$t&&(A.TgZ(0,"p"),A._uU(1,"Show Advanced"),A.qZA())}function ct($t,oi){1&$t&&(A.TgZ(0,"p"),A._uU(1,"Hide Advanced"),A.qZA())}function _t($t,oi){if(1&$t){const Vt=A.EpF();A.TgZ(0,"button",43),A.NdJ("click",function(){A.CHM(Vt);const Qi=A.oxw();return A.KtG(Qi.onShowAdvanced())}),A.YNc(1,me,2,0,"p",27),A.YNc(2,ct,2,0,"ng-template",null,44,A.W1O),A.qZA()}if(2&$t){const Vt=A.MAs(3),Wi=A.oxw();A.xp6(1),A.Q6J("ngIf",!Wi.showAdvanced)("ngIfElse",Vt)}}function Lt($t,oi){if(1&$t){const Vt=A.EpF();A.TgZ(0,"button",45),A.NdJ("click",function(){A.CHM(Vt);const Qi=A.oxw();return A.KtG(Qi.onClose(Qi.getInputs))}),A._uU(1),A.qZA()}if(2&$t){const Vt=A.oxw();A.xp6(1),A.Oqu(Vt.yesBtnText)}}function Li($t,oi){if(1&$t){const Vt=A.EpF();A.TgZ(0,"button",46),A.NdJ("click",function(){A.CHM(Vt);const Qi=A.oxw();return A.KtG(Qi.onClose(!0))}),A._uU(1),A.qZA()}if(2&$t){const Vt=A.oxw();A.xp6(1),A.Oqu(Vt.yesBtnText)}}class Ai{constructor(oi,Vt,Wi,Qi){this.dialogRef=oi,this.data=Vt,this.logger=Wi,this.store=Qi,this.faInfoCircle=st.sqG,this.faExclamationTriangle=st.eHv,this.informationMessage="",this.warningMessage="",this.noBtnText="No",this.yesBtnText="Yes",this.messageObjs=[],this.flgShowInput=!1,this.hasAdvanced=!1,this.alertTypeEnum=M.n_,this.dataTypeEnum=M.Gi,this.getInputs=[{placeholder:"",inputType:M.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===M.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(oi){if(oi&&this.getInputs&&this.getInputs.some(Vt=>typeof Vt.inputValue>"u"))return!0;!this.showAdvanced&&oi.length&&(oi=oi?.reduce((Vt,Wi)=>(Wi.advancedField||Vt.push(Wi),Vt),[])),this.store.dispatch((0,Be.yb)({payload:oi}))}}Ai.\u0275fac=function(oi){return new(oi||Ai)(A.Y36(z.so),A.Y36(z.WI),A.Y36($.mQ),A.Y36(rt.yh))},Ai.\u0275cmp=A.Xpm({type:Ai,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(oi,Vt){1&oi&&(A.TgZ(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),A._uU(5),A.qZA()(),A.TgZ(6,"button",5),A.NdJ("click",function(){return Vt.onClose(!1)}),A._uU(7,"X"),A.qZA()(),A.TgZ(8,"mat-card-content",6)(9,"form",7),A.YNc(10,Jt,4,2,"div",8),A.YNc(11,Zt,4,2,"div",9),A.YNc(12,mi,2,1,"p",10),A.YNc(13,gt,2,1,"div",11),A.YNc(14,Te,4,2,"div",12),A.TgZ(15,"div",13)(16,"button",14),A.NdJ("click",function(){return Vt.onClose(!1)}),A._uU(17),A.qZA(),A.YNc(18,_t,4,2,"button",15),A.YNc(19,Lt,2,1,"button",16),A.YNc(20,Li,2,1,"button",17),A.qZA()()()()()),2&oi&&(A.xp6(5),A.Oqu(Vt.data.alertTitle||Vt.alertTypeEnum[Vt.data.type]),A.xp6(5),A.Q6J("ngIf",Vt.warningMessage&&""!==Vt.warningMessage),A.xp6(1),A.Q6J("ngIf",Vt.informationMessage&&""!==Vt.informationMessage),A.xp6(1),A.Q6J("ngIf",Vt.data.titleMessage&&!Vt.flgShowInput),A.xp6(1),A.Q6J("ngIf",(null==Vt.messageObjs?null:Vt.messageObjs.length)>0),A.xp6(1),A.Q6J("ngIf",Vt.flgShowInput),A.xp6(3),A.Oqu(Vt.noBtnText),A.xp6(1),A.Q6J("ngIf",Vt.hasAdvanced),A.xp6(1),A.Q6J("ngIf",Vt.flgShowInput),A.xp6(1),A.Q6J("ngIf",!Vt.flgShowInput))},dependencies:[se.sg,se.O5,se.RF,se.n9,se.ED,Ot._Y,Ot.Fj,Ot.JJ,Ot.JL,Ot.Q7,Ot.On,Ot.F,Gt.BN,W.xw,W.Wh,W.yH,le.lW,re.dn,re.dk,kt.Nt,Rt.KE,Rt.hX,Rt.bx,Rt.TO,T.d,h.h,yi.q,se.i8,se.JJ,se.uU]});var wi=f(1786),zi=f(7371),xt=f(207);function Qe($t,oi){if(1&$t&&(A.TgZ(0,"mat-option",23),A._uU(1),A.qZA()),2&$t){const Vt=oi.$implicit;A.Q6J("value",Vt),A.xp6(1),A.hij(" ",Vt.infoName," ")}}function Fe($t,oi){if(1&$t){const Vt=A.EpF();A.TgZ(0,"div",13)(1,"mat-form-field",20)(2,"mat-select",21),A.NdJ("valueChange",function(Qi){A.CHM(Vt);const vn=A.oxw();return A.KtG(vn.selInfoType=Qi)}),A.YNc(3,Qe,2,2,"mat-option",22),A.qZA()()()}if(2&$t){const Vt=A.oxw();A.xp6(2),A.Q6J("value",Vt.selInfoType),A.xp6(1),A.Q6J("ngForOf",Vt.infoTypes)}}const Wt=function($t){return{"display-none":$t}};class Xt{constructor(oi,Vt,Wi,Qi,vn){this.dialogRef=oi,this.data=Vt,this.logger=Wi,this.snackBar=Qi,this.commonService=vn,this.faReceipt=st.dLy,this.infoTypes=[{infoID:0,infoKey:"node pubkey",infoName:"Node pubkey"}],this.selInfoType=this.infoTypes[0],this.qrWidth=210,this.screenSize="",this.screenSizeEnum=M.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((oi,Vt)=>{this.infoTypes.push({infoID:Vt+1,infoKey:"node URI "+(Vt+1),infoName:"Node URI "+(Vt+1)})})),this.screenSize=this.commonService.getScreenSize()}onClose(){this.dialogRef.close(!1)}onCopyPubkey(oi){this.snackBar.open(this.selInfoType.infoName+" copied."),this.logger.info("Copied Text: "+oi)}}Xt.\u0275fac=function(oi){return new(oi||Xt)(A.Y36(z.so),A.Y36(z.WI),A.Y36($.mQ),A.Y36(ae.ux),A.Y36(he.v))},Xt.\u0275cmp=A.Xpm({type:Xt,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(oi,Vt){1&oi&&(A.TgZ(0,"div",0)(1,"div",1),A._UZ(2,"qr-code",2),A.qZA(),A.TgZ(3,"div",3)(4,"mat-card-header",4)(5,"div",5),A._UZ(6,"fa-icon",6),A.TgZ(7,"span",7),A._uU(8),A.qZA()(),A.TgZ(9,"button",8),A.NdJ("click",function(){return Vt.onClose()}),A._uU(10,"X"),A.qZA()(),A.TgZ(11,"mat-card-content",9)(12,"div",10)(13,"div",11),A._UZ(14,"qr-code",2),A.qZA(),A.YNc(15,Fe,4,2,"div",12),A.TgZ(16,"div",13)(17,"div",14)(18,"h4",15),A._uU(19),A.qZA(),A.TgZ(20,"span",16),A._uU(21),A.qZA()()(),A._UZ(22,"mat-divider",17),A.TgZ(23,"div",18)(24,"button",19),A.NdJ("copied",function(Qi){return Vt.onCopyPubkey(Qi)}),A._uU(25),A.qZA()()()()()()),2&oi&&(A.xp6(1),A.Q6J("ngClass",A.VKq(15,Wt,Vt.screenSize===Vt.screenSizeEnum.XS||Vt.screenSize===Vt.screenSizeEnum.SM)),A.xp6(1),A.s9C("value",0===Vt.selInfoType.infoID?Vt.information.identity_pubkey:Vt.information.uris[Vt.selInfoType.infoID-1]),A.Q6J("size",Vt.qrWidth)("errorCorrectionLevel","L"),A.xp6(4),A.Q6J("icon",Vt.faReceipt),A.xp6(2),A.Oqu(Vt.selInfoType.infoName),A.xp6(5),A.Q6J("ngClass",A.VKq(17,Wt,Vt.screenSize!==Vt.screenSizeEnum.XS&&Vt.screenSize!==Vt.screenSizeEnum.SM)),A.xp6(1),A.s9C("value",0===Vt.selInfoType.infoID?Vt.information.identity_pubkey:Vt.information.uris[Vt.selInfoType.infoID-1]),A.Q6J("size",Vt.qrWidth)("errorCorrectionLevel","L"),A.xp6(1),A.Q6J("ngIf",Vt.information.uris&&Vt.information.uris.length>0),A.xp6(4),A.Oqu(Vt.selInfoType.infoName),A.xp6(2),A.Oqu(0===Vt.selInfoType.infoID?Vt.information.identity_pubkey:Vt.information.uris[Vt.selInfoType.infoID-1]),A.xp6(3),A.s9C("payload",0===Vt.selInfoType.infoID?Vt.information.identity_pubkey:Vt.information.uris[Vt.selInfoType.infoID-1]),A.xp6(1),A.hij("Copy ",Vt.selInfoType.infoKey,""))},dependencies:[se.mk,se.sg,se.O5,Gt.BN,W.xw,W.Wh,W.yH,pe.oO,le.lW,re.dn,re.dk,Rt.KE,T.d,zi.gD,xt.ey,i.uU,m.y,h.h]});var _i=f(6523),Oi=f(429),ki=f(2994),Ki=f(8377),ti=f(8987),be=f(3512),ke=f(5986),ft=f(8104),St=f(3547);class ui{constructor(oi,Vt,Wi,Qi,vn,ga,gn,Xn,Qn,Qa,Er){this.actions=oi,this.httpClient=Vt,this.store=Wi,this.logger=Qi,this.wsService=vn,this.sessionService=ga,this.commonService=gn,this.dataService=Xn,this.dialog=Qn,this.snackBar=Qa,this.router=Er,this.screenSize="",this.alertWidth="55%",this.confirmWidth="70%",this.unSubs=[new t.x,new t.x],this.closeAllDialogs=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.pg.CLOSE_ALL_DIALOGS),(0,C.U)(()=>{this.dialog.closeAll()})),{dispatch:!1}),this.openSnackBar=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.pg.OPEN_SNACK_BAR),(0,C.U)(At=>{"string"==typeof At.payload?this.snackBar.open(At.payload):"ERROR"===At.payload.type?this.snackBar.open(At.payload.message,"",{duration:At.payload.duration?At.payload.duration:2e3,panelClass:"rtl-warn-snack-bar"}):"WARN"===At.payload.type?this.snackBar.open(At.payload.message,"",{duration:At.payload.duration?At.payload.duration:2e3,panelClass:"rtl-accent-snack-bar"}):this.snackBar.open(At.payload.message,"",{duration:At.payload.duration?At.payload.duration:2e3,panelClass:"rtl-snack-bar"})})),{dispatch:!1}),this.openSpinner=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.pg.OPEN_SPINNER),(0,C.U)(At=>{At.payload!==M.m6.NO_SPINNER&&(this.dialogRef=this.dialog.open(X,{panelClass:"spinner-dialog-panel",data:{titleMessage:At.payload}}))})),{dispatch:!1}),this.closeSpinner=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.pg.CLOSE_SPINNER),(0,C.U)(At=>{if(At.payload!==M.m6.NO_SPINNER)try{this.dialogRef&&this.dialogRef.componentInstance&&this.dialogRef.componentInstance.data&&this.dialogRef.componentInstance.data.titleMessage&&this.dialogRef.componentInstance.data.titleMessage===At.payload?this.dialogRef.close():this.dialog.openDialogs.forEach(Kt=>{Kt.componentInstance&&Kt.componentInstance.data&&Kt.componentInstance.data.titleMessage&&Kt.componentInstance.data.titleMessage===At.payload&&Kt.close()})}catch(Kt){this.logger.error(Kt)}})),{dispatch:!1}),this.openAlert=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.pg.OPEN_ALERT),(0,C.U)(At=>{const Kt=JSON.parse(JSON.stringify(At.payload));Kt.width||(Kt.width=this.alertWidth),At.payload.data.component?this.dialogRef=this.dialog.open(At.payload.data.component,Kt):this.dialogRef=this.dialog.open(bt,Kt)})),{dispatch:!1}),this.closeAlert=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.pg.CLOSE_ALERT),(0,C.U)(At=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(At.payload),At.payload))),{dispatch:!1}),this.openConfirm=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.pg.OPEN_CONFIRMATION),(0,C.U)(At=>{const Kt=JSON.parse(JSON.stringify(At.payload));Kt.width||(Kt.width=this.confirmWidth),this.dialogRef=this.dialog.open(Ai,Kt)})),{dispatch:!1}),this.closeConfirm=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.pg.CLOSE_CONFIRMATION),(0,u.q)(1),(0,C.U)(At=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(At.payload),At.payload))),{dispatch:!1}),this.showNodePubkey=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.pg.SHOW_PUBKEY),(0,P.M)(this.store.select(Ki.R4)),(0,p.z)(([At,Kt])=>(this.sessionService.getItem("token")&&Kt.identity_pubkey?this.store.dispatch((0,Be.qR)({payload:{data:{information:Kt,component:Xt}}})):this.snackBar.open("Node Pubkey does not exist."),(0,_.of)({type:M.pg.VOID}))))),this.appConfigFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.pg.FETCH_RTL_CONFIG),(0,p.z)(()=>(this.screenSize=this.commonService.getScreenSize(),this.screenSize===M.cu.XS||this.screenSize===M.cu.SM?(this.alertWidth="95%",this.confirmWidth="95%"):this.screenSize===M.cu.MD?(this.alertWidth="80%",this.confirmWidth="80%"):(this.alertWidth="45%",this.confirmWidth="50%"),this.store.dispatch((0,Be.ac)({payload:M.m6.GET_RTL_CONFIG})),this.store.dispatch((0,Be.qi)({payload:{action:"FetchRTLConfig",status:M.Bn.INITIATED}})),this.sessionService.getItem("token")?this.httpClient.get(k.NZ.CONF_API+"/rtlconf"):this.httpClient.get(k.NZ.CONF_API+"/rtlconfinit"))),(0,C.U)(At=>{this.logger.info(At),this.store.dispatch((0,Be.uO)({payload:M.m6.GET_RTL_CONFIG})),this.store.dispatch((0,Be.qi)({payload:{action:"FetchRTLConfig",status:M.Bn.COMPLETED}}));let Kt=null;return At.nodes.forEach(pi=>{pi.settings.currencyUnits=[...M.uA,pi.settings?.currencyUnit?pi.settings?.currencyUnit:""],+(pi.index||-1)===At.selectedNodeIndex&&(Kt=pi)}),Kt?(this.store.dispatch((0,Be.fk)({payload:{uiMessage:M.m6.NO_SPINNER,prevLnNodeIndex:-1,currentLnNode:Kt,isInitialSetup:!0}})),{type:M.pg.SET_RTL_CONFIG,payload:At}):{type:M.pg.VOID}}),(0,L.K)(At=>(this.handleErrorWithAlert("FetchRTLConfig",M.m6.GET_RTL_CONFIG,"Fetch RTL Config Failed!",k.NZ.CONF_API,At),(0,_.of)({type:M.pg.VOID}))))),this.settingSave=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.pg.SAVE_SETTINGS),(0,p.z)(At=>{this.store.dispatch((0,Be.ac)({payload:At.payload.uiMessage})),this.store.dispatch((0,Be.qi)({payload:{action:"UpdateSettings",status:M.Bn.INITIATED}}));let Kt=new O.y;if(At.payload.settings&&At.payload.defaultNodeIndex){const pi=this.httpClient.post(k.NZ.CONF_API,{updatedSettings:At.payload.settings}),Di=this.httpClient.post(k.NZ.CONF_API+"/updateDefaultNode",{defaultNodeIndex:At.payload.defaultNodeIndex});Kt=(0,l.D)([pi,Di])}else At.payload.settings&&!At.payload.defaultNodeIndex?Kt=this.httpClient.post(k.NZ.CONF_API,{updatedSettings:At.payload.settings}):!At.payload.settings&&At.payload.defaultNodeIndex&&(Kt=this.httpClient.post(k.NZ.CONF_API+"/updateDefaultNode",{defaultNodeIndex:At.payload.defaultNodeIndex}));return Kt.pipe((0,C.U)(pi=>(this.logger.info(pi),this.store.dispatch((0,Be.qi)({payload:{action:"UpdateSettings",status:M.Bn.COMPLETED}})),this.store.dispatch((0,Be.uO)({payload:At.payload.uiMessage})),{type:M.pg.OPEN_SNACK_BAR,payload:pi.length?pi[0].message+".":pi.message+"."})),(0,L.K)(pi=>(this.handleErrorWithAlert("UpdateSettings",At.payload.uiMessage,"Update Settings Failed!",k.NZ.CONF_API,pi.length?pi[0]:pi),(0,_.of)({type:M.pg.VOID}))))}))),this.updateServicesettings=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.pg.UPDATE_SERVICE_SETTINGS),(0,p.z)(At=>(this.store.dispatch((0,Be.ac)({payload:At.payload.uiMessage})),this.store.dispatch((0,Be.qi)({payload:{action:"UpdateServiceSettings",status:M.Bn.INITIATED}})),this.httpClient.post(k.NZ.CONF_API+"/updateServiceSettings",At.payload).pipe((0,C.U)(Kt=>(this.logger.info(Kt),this.store.dispatch((0,Be.qi)({payload:{action:"UpdateServiceSettings",status:M.Bn.COMPLETED}})),this.store.dispatch((0,Be.uO)({payload:At.payload.uiMessage})),this.store.dispatch((0,Be.Tm)({payload:At.payload})),{type:M.pg.OPEN_SNACK_BAR,payload:Kt.message+"."})),(0,L.K)(Kt=>(this.handleErrorWithAlert("UpdateServiceSettings",At.payload.uiMessage,"Update Service Settings Failed!",k.NZ.CONF_API,Kt),(0,_.of)({type:M.pg.VOID})))))))),this.twoFASettingSave=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.pg.TWO_FA_SAVE_SETTINGS),(0,p.z)(At=>(this.store.dispatch((0,Be.ac)({payload:M.m6.UPDATE_UI_SETTINGS})),this.store.dispatch((0,Be.qi)({payload:{action:"Update2FASettings",status:M.Bn.INITIATED}})),this.httpClient.post(k.NZ.CONF_API+"/update2FA",{secret2fa:At.payload.secret2fa}))),(0,P.M)(this.store.select(Ki.Yj)),(0,C.U)(([At,Kt])=>{this.logger.info(At),Kt.enable2FA=!Kt.enable2FA,this.store.dispatch((0,Be.qi)({payload:{action:"Update2FASettings",status:M.Bn.COMPLETED}})),this.store.dispatch((0,Be.uO)({payload:M.m6.UPDATE_UI_SETTINGS})),this.store.dispatch((0,Be.XT)({payload:Kt}))}),(0,L.K)(At=>(this.handleErrorWithAlert("Update2FASettings",M.m6.UPDATE_UI_SETTINGS,"Update 2FA Settings Failed!",k.NZ.CONF_API,At),(0,_.of)({type:M.pg.VOID})))),{dispatch:!1}),this.configFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.pg.FETCH_CONFIG),(0,p.z)(At=>(this.store.dispatch((0,Be.ac)({payload:M.m6.OPEN_CONFIG_FILE})),this.store.dispatch((0,Be.qi)({payload:{action:"fetchConfig",status:M.Bn.INITIATED}})),this.httpClient.get(k.NZ.CONF_API+"/config/"+At.payload).pipe((0,C.U)(Kt=>(this.store.dispatch((0,Be.qi)({payload:{action:"fetchConfig",status:M.Bn.COMPLETED}})),this.store.dispatch((0,Be.uO)({payload:M.m6.OPEN_CONFIG_FILE})),{type:M.pg.SHOW_CONFIG,payload:Kt})),(0,L.K)(Kt=>(this.handleErrorWithAlert("fetchConfig",M.m6.OPEN_CONFIG_FILE,"Fetch Config Failed!",k.NZ.CONF_API+"/config/"+At.payload,Kt),(0,_.of)({type:M.pg.VOID})))))))),this.showLnConfig=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.pg.SHOW_CONFIG),(0,C.U)(At=>At.payload)),{dispatch:!1}),this.isAuthorized=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.pg.IS_AUTHORIZED),(0,p.z)(At=>(this.store.dispatch((0,Be.qi)({payload:{action:"IsAuthorized",status:M.Bn.INITIATED}})),this.httpClient.post(k.NZ.AUTHENTICATE_API,{authenticateWith:At.payload&&""!==At.payload.trim()?M.OJ.PASSWORD:M.OJ.JWT,authenticationValue:At.payload&&""!==At.payload.trim()?At.payload:this.sessionService.getItem("token")?this.sessionService.getItem("token"):""}).pipe((0,C.U)(Kt=>(this.logger.info(Kt),this.store.dispatch((0,Be.qi)({payload:{action:"IsAuthorized",status:M.Bn.COMPLETED}})),this.logger.info("Successfully Authorized!"),{type:M.pg.IS_AUTHORIZED_RES,payload:Kt})),(0,L.K)(Kt=>(this.handleErrorWithAlert("IsAuthorized",M.m6.NO_SPINNER,"Authorization Failed",k.NZ.AUTHENTICATE_API,Kt),(0,_.of)({type:M.pg.IS_AUTHORIZED_RES,payload:"ERROR"})))))))),this.isAuthorizedRes=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.pg.IS_AUTHORIZED_RES),(0,C.U)(At=>At.payload)),{dispatch:!1}),this.authLogin=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.pg.LOGIN),(0,P.M)(this.store.select(Ki.Yj)),(0,p.z)(([At,Kt])=>(this.store.dispatch((0,_i.Ll)({payload:null})),this.store.dispatch((0,Oi.xH)({payload:null})),this.store.dispatch((0,ki.Fd)({payload:null})),this.store.dispatch((0,Be.qi)({payload:{action:"Login",status:M.Bn.INITIATED}})),this.httpClient.post(k.NZ.AUTHENTICATE_API,{authenticateWith:At.payload.password?M.OJ.PASSWORD:M.OJ.JWT,authenticationValue:At.payload.password?At.payload.password:this.sessionService.getItem("token")?this.sessionService.getItem("token"):"",twoFAToken:At.payload.twoFAToken?At.payload.twoFAToken:""}).pipe((0,C.U)(pi=>{this.logger.info(pi),this.store.dispatch((0,Be.qi)({payload:{action:"Login",status:M.Bn.COMPLETED}})),this.setLoggedInDetails(At.payload.defaultPassword,pi)}),(0,L.K)(pi=>(this.logger.info("Redirecting to Login Error Page"),this.handleErrorWithoutAlert("Login",M.m6.NO_SPINNER,pi),+Kt.sso.rtlSSO?this.router.navigate(["/error"],{state:{errorCode:"406",errorMessage:pi.error&&pi.error.error?pi.error.error:"Single Sign On Failed!"}}):this.router.navigate(["./login"]),(0,_.of)({type:M.pg.VOID}))))))),{dispatch:!1}),this.tokenVerify=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.pg.VERIFY_TWO_FA),(0,p.z)(At=>(this.store.dispatch((0,Be.ac)({payload:M.m6.VERIFY_TOKEN})),this.store.dispatch((0,Be.qi)({payload:{action:"VerifyToken",status:M.Bn.INITIATED}})),this.httpClient.post(k.NZ.AUTHENTICATE_API+"/token",{authentication2FA:At.payload.token}).pipe((0,C.U)(Kt=>{this.logger.info(Kt),this.store.dispatch((0,Be.uO)({payload:M.m6.VERIFY_TOKEN})),this.store.dispatch((0,Be.qi)({payload:{action:"VerifyToken",status:M.Bn.COMPLETED}})),this.logger.info("Token Successfully Verified!"),this.setLoggedInDetails(!1,At.payload.authResponse)}),(0,L.K)(Kt=>(this.handleErrorWithAlert("VerifyToken",M.m6.VERIFY_TOKEN,"Authorization Failed!",k.NZ.AUTHENTICATE_API+"/token",Kt),(0,_.of)({type:M.pg.VOID}))))))),{dispatch:!1}),this.logOut=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.pg.LOGOUT),(0,p.z)(At=>(this.store.dispatch((0,Be.ac)({payload:M.m6.LOG_OUT})),At.sso&&+At.sso.rtlSSO?window.location.href=At.sso.logoutRedirectLink:this.router.navigate(["./login"]),this.sessionService.clearAll(),this.store.dispatch((0,Be._V)({payload:{}})),this.store.dispatch((0,Be.uO)({payload:M.m6.LOG_OUT})),this.logger.info("Logged out from browser"),this.httpClient.get(k.NZ.AUTHENTICATE_API+"/logout").pipe((0,C.U)(Kt=>{this.logger.info(Kt),this.store.dispatch((0,Be.uO)({payload:M.m6.LOG_OUT})),this.logger.info("Logged out from server")}))))),{dispatch:!1}),this.resetPassword=(0,e.GW)(()=>this.actions.pipe((0,D.R)(this.unSubs[1]),(0,e.l4)(M.pg.RESET_PASSWORD),(0,p.z)(At=>(this.store.dispatch((0,Be.qi)({payload:{action:"ResetPassword",status:M.Bn.INITIATED}})),this.httpClient.post(k.NZ.AUTHENTICATE_API+"/reset",{currPassword:At.payload.currPassword,newPassword:At.payload.newPassword}).pipe((0,D.R)(this.unSubs[0]),(0,C.U)(Kt=>(this.logger.info(Kt),this.store.dispatch((0,Be.qi)({payload:{action:"ResetPassword",status:M.Bn.COMPLETED}})),this.sessionService.setItem("defaultPassword",!1),this.logger.info("Password Reset Successful!"),this.store.dispatch((0,Be.jW)({payload:"Password Reset Successful!"})),this.SetToken(Kt.token),{type:M.pg.RESET_PASSWORD_RES,payload:Kt.token})),(0,L.K)(Kt=>(this.handleErrorWithAlert("ResetPassword",M.m6.NO_SPINNER,"Password Reset Failed!",k.NZ.AUTHENTICATE_API+"/reset",Kt),(0,_.of)({type:M.pg.VOID})))))))),this.setSelectedNode=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.pg.SET_SELECTED_NODE),(0,p.z)(At=>(this.store.dispatch((0,Be.ac)({payload:At.payload.uiMessage})),this.store.dispatch((0,Be.qi)({payload:{action:"UpdateSelNode",status:M.Bn.INITIATED}})),this.httpClient.get(k.NZ.CONF_API+"/updateSelNode/"+At.payload.currentLnNode?.index+"/"+At.payload.prevLnNodeIndex).pipe((0,C.U)(Kt=>(this.logger.info(Kt),this.store.dispatch((0,Be.qi)({payload:{action:"UpdateSelNode",status:M.Bn.COMPLETED}})),this.store.dispatch((0,Be.uO)({payload:At.payload.uiMessage})),this.initializeNode(At.payload.currentLnNode,At.payload.isInitialSetup),{type:M.pg.VOID})),(0,L.K)(Kt=>(this.handleErrorWithAlert("UpdateSelNode",At.payload.uiMessage,"Update Selected Node Failed!",k.NZ.CONF_API+"/updateSelNode",Kt),(0,_.of)({type:M.pg.VOID})))))))),this.fetchFile=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.pg.FETCH_FILE),(0,p.z)(At=>{this.store.dispatch((0,Be.ac)({payload:M.m6.DOWNLOAD_BACKUP_FILE})),this.store.dispatch((0,Be.qi)({payload:{action:"FetchFile",status:M.Bn.INITIATED}}));const Kt="?channel="+At.payload.channelPoint+(At.payload.path?"&path="+At.payload.path:"");return this.httpClient.get(k.NZ.CONF_API+"/file"+Kt).pipe((0,C.U)(pi=>(this.store.dispatch((0,Be.qi)({payload:{action:"FetchFile",status:M.Bn.COMPLETED}})),this.store.dispatch((0,Be.uO)({payload:M.m6.DOWNLOAD_BACKUP_FILE})),{type:M.pg.SHOW_FILE,payload:pi})),(0,L.K)(pi=>(this.handleErrorWithAlert("fetchFile",M.m6.DOWNLOAD_BACKUP_FILE,"Download Backup File Failed!",k.NZ.CONF_API+"/file"+Kt,{status:this.commonService.extractErrorNumber(pi),error:{error:this.commonService.extractErrorCode(pi)}}),(0,_.of)({type:M.pg.VOID}))))}))),this.showFile=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.pg.SHOW_FILE),(0,C.U)(At=>At.payload)),{dispatch:!1})}initializeNode(oi,Vt){this.logger.info("Initializing node from RTL Effects.");const Wi=Vt?"":"HOME",Qi={userPersona:oi.settings.userPersona,channelBackupPath:oi.settings.channelBackupPath,unannouncedChannels:!!oi.settings.unannouncedChannels,selCurrencyUnit:oi.settings.currencyUnit,currencyUnits:M.uA,fiatConversion:oi.settings.fiatConversion,lnImplementation:oi.lnImplementation,swapServerUrl:oi.settings.swapServerUrl,boltzServerUrl:oi.settings.boltzServerUrl,enableOffers:oi.settings.enableOffers,enablePeerswap:oi.settings.enablePeerswap};if(oi.settings.fiatConversion&&oi.settings.currencyUnit&&(Qi.currencyUnits=[...M.uA,oi.settings.currencyUnit]),this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("clUnlocked"),this.sessionService.removeItem("eclUnlocked"),this.store.dispatch((0,Be.vI)({payload:oi})),this.store.dispatch((0,_i.Ll)({payload:Qi})),this.store.dispatch((0,Oi.xH)({payload:Qi})),this.store.dispatch((0,ki.Fd)({payload:Qi})),this.sessionService.getItem("token")){const vn=oi.lnImplementation?oi.lnImplementation.toUpperCase():"LND";this.dataService.setLnImplementation(vn);const ga=k.NZ.production&&window.location.origin?window.location.origin+"/rtl/api":k.T5;switch(this.wsService.connectWebSocket(ga?.replace(/^http/,"ws")+k.NZ.Web_SOCKET_API,oi.index?oi.index.toString():"-1"),vn){case"CLN":this.store.dispatch((0,Oi.CN)({payload:{loadPage:Wi}}));break;case"ECL":this.store.dispatch((0,ki.iz)({payload:{loadPage:Wi}}));break;default:this.store.dispatch((0,_i.sQ)({payload:{loadPage:Wi}}))}}}SetToken(oi){oi?(this.sessionService.setItem("lndUnlocked","true"),this.sessionService.setItem("token",oi)):(this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("token"))}setLoggedInDetails(oi,Vt){this.logger.info("Successfully Authorized!"),this.SetToken(Vt.token),this.sessionService.setItem("defaultPassword",oi),oi?(this.store.dispatch((0,Be.jW)({payload:"Reset your password."})),this.router.navigate(["/settings/auth"])):this.store.dispatch((0,Be.ey)())}handleErrorWithoutAlert(oi,Vt,Wi){this.logger.error("ERROR IN: "+oi+"\n"+JSON.stringify(Wi)),401===Wi.status&&"Login"!==oi?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,Be.ts)()),this.store.dispatch((0,Be.kS)()),this.store.dispatch((0,Be.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,Be.uO)({payload:Vt})),this.store.dispatch((0,Be.qi)({payload:{action:oi,status:M.Bn.ERROR,statusCode:Wi.status?Wi.status.toString():"",message:this.commonService.extractErrorMessage(Wi)}})))}handleErrorWithAlert(oi,Vt,Wi,Qi,vn){if(this.logger.error(vn),0===vn.status&&vn.statusText&&"Unknown Error"===vn.statusText&&(vn={status:400,error:{message:"Unknown Error / CORS Origin Not Allowed"}}),401===vn.status&&"Login"!==oi)this.logger.info("Redirecting to Login"),this.store.dispatch((0,Be.ts)()),this.store.dispatch((0,Be.kS)()),this.store.dispatch((0,Be.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,Be.uO)({payload:Vt}));const ga=this.commonService.extractErrorMessage(vn);this.store.dispatch((0,Be.qR)({payload:{data:{type:"ERROR",alertTitle:Wi,message:{code:vn.status?vn.status:"Unknown Error",message:ga,URL:Qi},component:wi.H}}})),this.store.dispatch((0,Be.qi)({payload:{action:oi,status:M.Bn.ERROR,statusCode:vn.status?vn.status.toString():"",message:ga,URL:Qi}}))}}ngOnDestroy(){this.unSubs.forEach(oi=>{oi.next(null),oi.complete()})}}ui.\u0275fac=function(oi){return new(oi||ui)(A.LFG(e.eX),A.LFG(ti.eN),A.LFG(rt.yh),A.LFG($.mQ),A.LFG(be.d),A.LFG(ke.m),A.LFG(he.v),A.LFG(ft.D),A.LFG(z.uw),A.LFG(ae.ux),A.LFG(St.F0))},ui.\u0275prov=A.Yz7({token:ui,factory:ui.\u0275fac})},8377:(Ye,J,f)=>{"use strict";f.d(J,{R4:()=>C,Sr:()=>P,Yj:()=>l,dT:()=>O,gW:()=>p,ul:()=>u});var e=f(9263);const t=(0,e.ZF)("root"),O=((0,e.P1)(t,L=>L.apiURL),(0,e.P1)(t,L=>L.selNode)),l=(0,e.P1)(t,L=>L.appConfig),C=(0,e.P1)(t,L=>L.nodeData),u=(0,e.P1)(t,L=>L.apisCallStatus.Login),P=(0,e.P1)(t,L=>L.apisCallStatus.IsAuthorized),p=(0,e.P1)(t,L=>({nodeDate:L.nodeData,selNode:L.selNode}))},2340:(Ye,J,f)=>{"use strict";f.d(J,{NZ:()=>t,T5:()=>e,q4:()=>_});const e="./api",t={production:!0,isDebugMode:!1,AUTHENTICATE_API:e+"/authenticate",CONF_API:e+"/conf",PAGE_SETTINGS_API:e+"/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"},_="0.13.3-beta"},2693:(Ye,J,f)=>{"use strict";var e=f(4497),t=f(2560),_=f(4851);function l(H){return new t.vHH(3e3,!1)}function Xe(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function dt(H){switch(H.length){case 0:return new _.ZN;case 1:return H[0];default:return new _.ZE(H)}}function Ke(H,E,b,Q,xe=new Map,pt=new Map){const Ut=[],ni=[];let hi=-1,Ti=null;if(Q.forEach(ln=>{const Gi=ln.get("offset"),Ln=Gi==hi,Fn=Ln&&Ti||new Map;ln.forEach((wn,Pn)=>{let ca=Pn,Oa=wn;if("offset"!==Pn)switch(ca=E.normalizePropertyName(ca,Ut),Oa){case _.k1:Oa=xe.get(Pn);break;case _.l3:Oa=pt.get(Pn);break;default:Oa=E.normalizeStyleValue(Pn,ca,Oa,Ut)}Fn.set(ca,Oa)}),Ln||ni.push(Fn),Ti=Fn,hi=Gi}),Ut.length)throw function o(H){return new t.vHH(3502,!1)}();return ni}function ge(H,E,b,Q){switch(E){case"start":H.onStart(()=>Q(b&&$e(b,"start",H)));break;case"done":H.onDone(()=>Q(b&&$e(b,"done",H)));break;case"destroy":H.onDestroy(()=>Q(b&&$e(b,"destroy",H)))}}function $e(H,E,b){const Q=b.totalTime,xe=!!b.disabled,pt=Oe(H.element,H.triggerName,H.fromState,H.toState,E||H.phaseName,Q??H.totalTime,xe),Ut=H._data;return null!=Ut&&(pt._data=Ut),pt}function Oe(H,E,b,Q,xe="",pt=0,Ut){return{element:H,triggerName:E,fromState:b,toState:Q,phaseName:xe,totalTime:pt,disabled:!!Ut}}function Me(H,E,b){let Q=H.get(E);return Q||H.set(E,Q=b),Q}function De(H){const E=H.indexOf(":");return[H.substring(1,E),H.slice(E+1)]}let Ue=(H,E)=>!1,ye=(H,E,b)=>[],we=null;function ie(H){const E=H.parentNode||H.host;return E===we?null:E}(Xe()||typeof Element<"u")&&(function Ce(){return typeof window<"u"&&typeof window.document<"u"}()?(we=(()=>document.documentElement)(),Ue=(H,E)=>{for(;E;){if(E===H)return!0;E=ie(E)}return!1}):Ue=(H,E)=>H.contains(E),ye=(H,E,b)=>{if(b)return Array.from(H.querySelectorAll(E));const Q=H.querySelector(E);return Q?[Q]:[]});let K=null,ee=!1;function ze(H){K||(K=function oe(){return typeof document<"u"?document.body:null}()||{},ee=!!K.style&&"WebkitAppearance"in K.style);let E=!0;return K.style&&!function ne(H){return"ebkit"==H.substring(1,6)}(H)&&(E=H in K.style,!E&&ee&&(E="Webkit"+H.charAt(0).toUpperCase()+H.slice(1)in K.style)),E}const at=Ue,qe=ye;class ii{validateStyleProperty(E){return ze(E)}matchesElement(E,b){return!1}containsElement(E,b){return at(E,b)}getParentElement(E){return ie(E)}query(E,b,Q){return qe(E,b,Q)}computeStyle(E,b,Q){return Q||""}animate(E,b,Q,xe,pt,Ut=[],ni){return new _.ZN(Q,xe)}}ii.\u0275fac=function(E){return new(E||ii)},ii.\u0275prov=t.Yz7({token:ii,factory:ii.\u0275fac});class bt{}bt.NOOP=new ii;const Ot="ng-enter",Gt="ng-leave",kt="ng-trigger",Rt=".ng-trigger",yi="ng-animating",Jt=".ng-animating";function Zt(H){if("number"==typeof H)return H;const E=H.match(/^(-?[\.\d]+)(m?s)/);return!E||E.length<2?0:mi(parseFloat(E[1]),E[2])}function mi(H,E){return"s"===E?1e3*H:H}function Re(H,E,b){return H.hasOwnProperty("duration")?H:function U(H,E,b){const Q=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;let xe,pt=0,Ut="";if("string"==typeof H){const ni=H.match(Q);if(null===ni)return E.push(l()),{duration:0,delay:0,easing:""};xe=mi(parseFloat(ni[1]),ni[2]);const hi=ni[3];null!=hi&&(pt=mi(parseFloat(hi),ni[4]));const Ti=ni[5];Ti&&(Ut=Ti)}else xe=H;if(!b){let ni=!1,hi=E.length;xe<0&&(E.push(function C(){return new t.vHH(3100,!1)}()),ni=!0),pt<0&&(E.push(function u(){return new t.vHH(3101,!1)}()),ni=!0),ni&&E.splice(hi,0,l())}return{duration:xe,delay:pt,easing:Ut}}(H,E,b)}function j(H,E={}){return Object.keys(H).forEach(b=>{E[b]=H[b]}),E}function ue(H){const E=new Map;return Object.keys(H).forEach(b=>{const Q=H[b];E.set(b,Q)}),E}function Et(H,E=new Map,b){if(b)for(let[Q,xe]of b)E.set(Q,xe);for(let[Q,xe]of H)E.set(Q,xe);return E}function Nt(H,E,b){return b?E+":"+b+";":""}function ot(H){let E="";for(let b=0;b<H.style.length;b++){const Q=H.style.item(b);E+=Nt(0,Q,H.style.getPropertyValue(Q))}for(const b in H.style){if(!H.style.hasOwnProperty(b)||b.startsWith("_"))continue;E+=Nt(0,Lt(b),H.style[b])}H.setAttribute("style",E)}function We(H,E,b){H.style&&(E.forEach((Q,xe)=>{const pt=_t(xe);b&&!b.has(xe)&&b.set(xe,H.style[pt]),H.style[pt]=Q}),Xe()&&ot(H))}function gt(H,E){H.style&&(E.forEach((b,Q)=>{const xe=_t(Q);H.style[xe]=""}),Xe()&&ot(H))}function ri(H){return Array.isArray(H)?1==H.length?H[0]:(0,_.vP)(H):H}function Pt(H,E,b){const Q=E.params||{},xe=qt(H);xe.length&&xe.forEach(pt=>{Q.hasOwnProperty(pt)||b.push(function P(H){return new t.vHH(3001,!1)}())})}const Ft=new RegExp("{{\\s*(.+?)\\s*}}","g");function qt(H){let E=[];if("string"==typeof H){let b;for(;b=Ft.exec(H);)E.push(b[1]);Ft.lastIndex=0}return E}function Te(H,E,b){const Q=H.toString(),xe=Q.replace(Ft,(pt,Ut)=>{let ni=E[Ut];return null==ni&&(b.push(function p(H){return new t.vHH(3003,!1)}()),ni=""),ni.toString()});return xe==Q?H:xe}function me(H){const E=[];let b=H.next();for(;!b.done;)E.push(b.value),b=H.next();return E}const ct=/-+([a-z0-9])/g;function _t(H){return H.replace(ct,(...E)=>E[1].toUpperCase())}function Lt(H){return H.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function wi(H,E,b){switch(E.type){case 7:return H.visitTrigger(E,b);case 0:return H.visitState(E,b);case 1:return H.visitTransition(E,b);case 2:return H.visitSequence(E,b);case 3:return H.visitGroup(E,b);case 4:return H.visitAnimate(E,b);case 5:return H.visitKeyframes(E,b);case 6:return H.visitStyle(E,b);case 8:return H.visitReference(E,b);case 9:return H.visitAnimateChild(E,b);case 10:return H.visitAnimateRef(E,b);case 11:return H.visitQuery(E,b);case 12:return H.visitStagger(E,b);default:throw function L(H){return new t.vHH(3004,!1)}(E.type)}}function zi(H,E){return window.getComputedStyle(H)[E]}function Ki(H,E){const b=[];return"string"==typeof H?H.split(/\s*,\s*/).forEach(Q=>function ti(H,E,b){if(":"==H[0]){const hi=function be(H,E){switch(H){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(b,Q)=>parseFloat(Q)>parseFloat(b);case":decrement":return(b,Q)=>parseFloat(Q)<parseFloat(b);default:return E.push(function re(H){return new t.vHH(3016,!1)}()),"* => *"}}(H,b);if("function"==typeof hi)return void E.push(hi);H=hi}const Q=H.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==Q||Q.length<4)return b.push(function le(H){return new t.vHH(3015,!1)}()),E;const xe=Q[1],pt=Q[2],Ut=Q[3];E.push(St(xe,Ut));const ni="*"==xe&&"*"==Ut;"<"==pt[0]&&!ni&&E.push(St(Ut,xe))}(Q,b,E)):b.push(H),b}const ke=new Set(["true","1"]),ft=new Set(["false","0"]);function St(H,E){const b=ke.has(H)||ft.has(H),Q=ke.has(E)||ft.has(E);return(xe,pt)=>{let Ut="*"==H||H==xe,ni="*"==E||E==pt;return!Ut&&b&&"boolean"==typeof xe&&(Ut=xe?ke.has(H):ft.has(H)),!ni&&Q&&"boolean"==typeof pt&&(ni=pt?ke.has(E):ft.has(E)),Ut&&ni}}const ui=":self",$t=new RegExp("s*:selfs*,?","g");function oi(H,E,b,Q){return new Wi(H).build(E,b,Q)}class Wi{constructor(E){this._driver=E}build(E,b,Q){const xe=new ga(b);return this._resetContextStyleTimingState(xe),wi(this,ri(E),xe)}_resetContextStyleTimingState(E){E.currentQuerySelector="",E.collectedStyles=new Map,E.collectedStyles.set("",new Map),E.currentTime=0}visitTrigger(E,b){let Q=b.queryCount=0,xe=b.depCount=0;const pt=[],Ut=[];return"@"==E.name.charAt(0)&&b.errors.push(function k(){return new t.vHH(3006,!1)}()),E.definitions.forEach(ni=>{if(this._resetContextStyleTimingState(b),0==ni.type){const hi=ni,Ti=hi.name;Ti.toString().split(/\s*,\s*/).forEach(ln=>{hi.name=ln,pt.push(this.visitState(hi,b))}),hi.name=Ti}else if(1==ni.type){const hi=this.visitTransition(ni,b);Q+=hi.queryCount,xe+=hi.depCount,Ut.push(hi)}else b.errors.push(function M(){return new t.vHH(3007,!1)}())}),{type:7,name:E.name,states:pt,transitions:Ut,queryCount:Q,depCount:xe,options:null}}visitState(E,b){const Q=this.visitStyle(E.styles,b),xe=E.options&&E.options.params||null;if(Q.containsDynamicStyles){const pt=new Set,Ut=xe||{};if(Q.styles.forEach(ni=>{ni instanceof Map&&ni.forEach(hi=>{qt(hi).forEach(Ti=>{Ut.hasOwnProperty(Ti)||pt.add(Ti)})})}),pt.size){me(pt.values());b.errors.push(function z(H,E){return new t.vHH(3008,!1)}(E.name))}}return{type:0,name:E.name,style:Q,options:xe?{params:xe}:null}}visitTransition(E,b){b.queryCount=0,b.depCount=0;const Q=wi(this,ri(E.animation),b);return{type:1,matchers:Ki(E.expr,b.errors),animation:Q,queryCount:b.queryCount,depCount:b.depCount,options:Qn(E.options)}}visitSequence(E,b){return{type:2,steps:E.steps.map(Q=>wi(this,Q,b)),options:Qn(E.options)}}visitGroup(E,b){const Q=b.currentTime;let xe=0;const pt=E.steps.map(Ut=>{b.currentTime=Q;const ni=wi(this,Ut,b);return xe=Math.max(xe,b.currentTime),ni});return b.currentTime=xe,{type:3,steps:pt,options:Qn(E.options)}}visitAnimate(E,b){const Q=function Xn(H,E){if(H.hasOwnProperty("duration"))return H;if("number"==typeof H){return Qa(Re(H,E).duration,0,"")}const b=H;if(b.split(/\s+/).some(pt=>"{"==pt.charAt(0)&&"{"==pt.charAt(1))){const pt=Qa(0,0,"");return pt.dynamic=!0,pt.strValue=b,pt}const xe=Re(b,E);return Qa(xe.duration,xe.delay,xe.easing)}(E.timings,b.errors);b.currentAnimateTimings=Q;let xe,pt=E.styles?E.styles:(0,_.oB)({});if(5==pt.type)xe=this.visitKeyframes(pt,b);else{let Ut=E.styles,ni=!1;if(!Ut){ni=!0;const Ti={};Q.easing&&(Ti.easing=Q.easing),Ut=(0,_.oB)(Ti)}b.currentTime+=Q.duration+Q.delay;const hi=this.visitStyle(Ut,b);hi.isEmptyStep=ni,xe=hi}return b.currentAnimateTimings=null,{type:4,timings:Q,style:xe,options:null}}visitStyle(E,b){const Q=this._makeStyleAst(E,b);return this._validateStyleAst(Q,b),Q}_makeStyleAst(E,b){const Q=[],xe=Array.isArray(E.styles)?E.styles:[E.styles];for(let ni of xe)"string"==typeof ni?ni===_.l3?Q.push(ni):b.errors.push(new t.vHH(3002,!1)):Q.push(ue(ni));let pt=!1,Ut=null;return Q.forEach(ni=>{if(ni instanceof Map&&(ni.has("easing")&&(Ut=ni.get("easing"),ni.delete("easing")),!pt))for(let hi of ni.values())if(hi.toString().indexOf("{{")>=0){pt=!0;break}}),{type:6,styles:Q,easing:Ut,offset:E.offset,containsDynamicStyles:pt,options:null}}_validateStyleAst(E,b){const Q=b.currentAnimateTimings;let xe=b.currentTime,pt=b.currentTime;Q&&pt>0&&(pt-=Q.duration+Q.delay),E.styles.forEach(Ut=>{"string"!=typeof Ut&&Ut.forEach((ni,hi)=>{const Ti=b.collectedStyles.get(b.currentQuerySelector),ln=Ti.get(hi);let Gi=!0;ln&&(pt!=xe&&pt>=ln.startTime&&xe<=ln.endTime&&(b.errors.push(function Z(H,E,b,Q,xe){return new t.vHH(3010,!1)}(0,ln.startTime,ln.endTime)),Gi=!1),pt=ln.startTime),Gi&&Ti.set(hi,{startTime:pt,endTime:xe}),b.options&&Pt(ni,b.options,b.errors)})})}visitKeyframes(E,b){const Q={type:5,styles:[],options:null};if(!b.currentAnimateTimings)return b.errors.push(function X(){return new t.vHH(3011,!1)}()),Q;let pt=0;const Ut=[];let ni=!1,hi=!1,Ti=0;const ln=E.steps.map(Oa=>{const mo=this._makeStyleAst(Oa,b);let Oo=null!=mo.offset?mo.offset:function gn(H){if("string"==typeof H)return null;let E=null;if(Array.isArray(H))H.forEach(b=>{if(b instanceof Map&&b.has("offset")){const Q=b;E=parseFloat(Q.get("offset")),Q.delete("offset")}});else if(H instanceof Map&&H.has("offset")){const b=H;E=parseFloat(b.get("offset")),b.delete("offset")}return E}(mo.styles),io=0;return null!=Oo&&(pt++,io=mo.offset=Oo),hi=hi||io<0||io>1,ni=ni||io<Ti,Ti=io,Ut.push(io),mo});hi&&b.errors.push(function $(){return new t.vHH(3012,!1)}()),ni&&b.errors.push(function ae(){return new t.vHH(3200,!1)}());const Gi=E.steps.length;let Ln=0;pt>0&&pt<Gi?b.errors.push(function he(){return new t.vHH(3202,!1)}()):0==pt&&(Ln=1/(Gi-1));const Fn=Gi-1,wn=b.currentTime,Pn=b.currentAnimateTimings,ca=Pn.duration;return ln.forEach((Oa,mo)=>{const Oo=Ln>0?mo==Fn?1:Ln*mo:Ut[mo],io=Oo*ca;b.currentTime=wn+Pn.delay+io,Pn.duration=io,this._validateStyleAst(Oa,b),Oa.offset=Oo,Q.styles.push(Oa)}),Q}visitReference(E,b){return{type:8,animation:wi(this,ri(E.animation),b),options:Qn(E.options)}}visitAnimateChild(E,b){return b.depCount++,{type:9,options:Qn(E.options)}}visitAnimateRef(E,b){return{type:10,animation:this.visitReference(E.animation,b),options:Qn(E.options)}}visitQuery(E,b){const Q=b.currentQuerySelector,xe=E.options||{};b.queryCount++,b.currentQuery=E;const[pt,Ut]=function Qi(H){const E=!!H.split(/\s*,\s*/).find(b=>b==ui);return E&&(H=H.replace($t,"")),H=H.replace(/@\*/g,Rt).replace(/@\w+/g,b=>Rt+"-"+b.slice(1)).replace(/:animating/g,Jt),[H,E]}(E.selector);b.currentQuerySelector=Q.length?Q+" "+pt:pt,Me(b.collectedStyles,b.currentQuerySelector,new Map);const ni=wi(this,ri(E.animation),b);return b.currentQuery=null,b.currentQuerySelector=Q,{type:11,selector:pt,limit:xe.limit||0,optional:!!xe.optional,includeSelf:Ut,animation:ni,originalSelector:E.selector,options:Qn(E.options)}}visitStagger(E,b){b.currentQuery||b.errors.push(function se(){return new t.vHH(3013,!1)}());const Q="full"===E.timings?{duration:0,delay:0,easing:"full"}:Re(E.timings,b.errors,!0);return{type:12,animation:wi(this,ri(E.animation),b),timings:Q,options:null}}}class ga{constructor(E){this.errors=E,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Qn(H){return H?(H=j(H)).params&&(H.params=function vn(H){return H?j(H):null}(H.params)):H={},H}function Qa(H,E,b){return{duration:H,delay:E,easing:b}}function Er(H,E,b,Q,xe,pt,Ut=null,ni=!1){return{type:1,element:H,keyframes:E,preStyleProps:b,postStyleProps:Q,duration:xe,delay:pt,totalTime:xe+pt,easing:Ut,subTimeline:ni}}class At{constructor(){this._map=new Map}get(E){return this._map.get(E)||[]}append(E,b){let Q=this._map.get(E);Q||this._map.set(E,Q=[]),Q.push(...b)}has(E){return this._map.has(E)}clear(){this._map.clear()}}const Di=new RegExp(":enter","g"),Fi=new RegExp(":leave","g");function sn(H,E,b,Q,xe,pt=new Map,Ut=new Map,ni,hi,Ti=[]){return(new pa).buildKeyframes(H,E,b,Q,xe,pt,Ut,ni,hi,Ti)}class pa{buildKeyframes(E,b,Q,xe,pt,Ut,ni,hi,Ti,ln=[]){Ti=Ti||new At;const Gi=new sa(E,b,Ti,xe,pt,ln,[]);Gi.options=hi;const Ln=hi.delay?Zt(hi.delay):0;Gi.currentTimeline.delayNextStep(Ln),Gi.currentTimeline.setStyles([Ut],null,Gi.errors,hi),wi(this,Q,Gi);const Fn=Gi.timelines.filter(wn=>wn.containsAnimation());if(Fn.length&&ni.size){let wn;for(let Pn=Fn.length-1;Pn>=0;Pn--){const ca=Fn[Pn];if(ca.element===b){wn=ca;break}}wn&&!wn.allowOnlyTimelineStyles()&&wn.setStyles([ni],null,Gi.errors,hi)}return Fn.length?Fn.map(wn=>wn.buildKeyframes()):[Er(b,[],[],[],0,Ln,"",!1)]}visitTrigger(E,b){}visitState(E,b){}visitTransition(E,b){}visitAnimateChild(E,b){const Q=b.subInstructions.get(b.element);if(Q){const xe=b.createSubContext(E.options),pt=b.currentTimeline.currentTime,Ut=this._visitSubInstructions(Q,xe,xe.options);pt!=Ut&&b.transformIntoNewTimeline(Ut)}b.previousNode=E}visitAnimateRef(E,b){const Q=b.createSubContext(E.options);Q.transformIntoNewTimeline(),this._applyAnimationRefDelays([E.options,E.animation.options],b,Q),this.visitReference(E.animation,Q),b.transformIntoNewTimeline(Q.currentTimeline.currentTime),b.previousNode=E}_applyAnimationRefDelays(E,b,Q){for(const xe of E){const pt=xe?.delay;if(pt){const Ut="number"==typeof pt?pt:Zt(Te(pt,xe?.params??{},b.errors));Q.delayNextStep(Ut)}}}_visitSubInstructions(E,b,Q){let pt=b.currentTimeline.currentTime;const Ut=null!=Q.duration?Zt(Q.duration):null,ni=null!=Q.delay?Zt(Q.delay):null;return 0!==Ut&&E.forEach(hi=>{const Ti=b.appendInstructionToTimeline(hi,Ut,ni);pt=Math.max(pt,Ti.duration+Ti.delay)}),pt}visitReference(E,b){b.updateOptions(E.options,!0),wi(this,E.animation,b),b.previousNode=E}visitSequence(E,b){const Q=b.subContextCount;let xe=b;const pt=E.options;if(pt&&(pt.params||pt.delay)&&(xe=b.createSubContext(pt),xe.transformIntoNewTimeline(),null!=pt.delay)){6==xe.previousNode.type&&(xe.currentTimeline.snapshotCurrentStyles(),xe.previousNode=kn);const Ut=Zt(pt.delay);xe.delayNextStep(Ut)}E.steps.length&&(E.steps.forEach(Ut=>wi(this,Ut,xe)),xe.currentTimeline.applyStylesToKeyframe(),xe.subContextCount>Q&&xe.transformIntoNewTimeline()),b.previousNode=E}visitGroup(E,b){const Q=[];let xe=b.currentTimeline.currentTime;const pt=E.options&&E.options.delay?Zt(E.options.delay):0;E.steps.forEach(Ut=>{const ni=b.createSubContext(E.options);pt&&ni.delayNextStep(pt),wi(this,Ut,ni),xe=Math.max(xe,ni.currentTimeline.currentTime),Q.push(ni.currentTimeline)}),Q.forEach(Ut=>b.currentTimeline.mergeTimelineCollectedStyles(Ut)),b.transformIntoNewTimeline(xe),b.previousNode=E}_visitTiming(E,b){if(E.dynamic){const Q=E.strValue;return Re(b.params?Te(Q,b.params,b.errors):Q,b.errors)}return{duration:E.duration,delay:E.delay,easing:E.easing}}visitAnimate(E,b){const Q=b.currentAnimateTimings=this._visitTiming(E.timings,b),xe=b.currentTimeline;Q.delay&&(b.incrementTime(Q.delay),xe.snapshotCurrentStyles());const pt=E.style;5==pt.type?this.visitKeyframes(pt,b):(b.incrementTime(Q.duration),this.visitStyle(pt,b),xe.applyStylesToKeyframe()),b.currentAnimateTimings=null,b.previousNode=E}visitStyle(E,b){const Q=b.currentTimeline,xe=b.currentAnimateTimings;!xe&&Q.hasCurrentStyleProperties()&&Q.forwardFrame();const pt=xe&&xe.easing||E.easing;E.isEmptyStep?Q.applyEmptyStep(pt):Q.setStyles(E.styles,pt,b.errors,b.options),b.previousNode=E}visitKeyframes(E,b){const Q=b.currentAnimateTimings,xe=b.currentTimeline.duration,pt=Q.duration,ni=b.createSubContext().currentTimeline;ni.easing=Q.easing,E.styles.forEach(hi=>{const Ti=hi.offset||0;ni.forwardTime(Ti*pt),ni.setStyles(hi.styles,hi.easing,b.errors,b.options),ni.applyStylesToKeyframe()}),b.currentTimeline.mergeTimelineCollectedStyles(ni),b.transformIntoNewTimeline(xe+pt),b.previousNode=E}visitQuery(E,b){const Q=b.currentTimeline.currentTime,xe=E.options||{},pt=xe.delay?Zt(xe.delay):0;pt&&(6===b.previousNode.type||0==Q&&b.currentTimeline.hasCurrentStyleProperties())&&(b.currentTimeline.snapshotCurrentStyles(),b.previousNode=kn);let Ut=Q;const ni=b.invokeQuery(E.selector,E.originalSelector,E.limit,E.includeSelf,!!xe.optional,b.errors);b.currentQueryTotal=ni.length;let hi=null;ni.forEach((Ti,ln)=>{b.currentQueryIndex=ln;const Gi=b.createSubContext(E.options,Ti);pt&&Gi.delayNextStep(pt),Ti===b.element&&(hi=Gi.currentTimeline),wi(this,E.animation,Gi),Gi.currentTimeline.applyStylesToKeyframe();const Ln=Gi.currentTimeline.currentTime;Ut=Math.max(Ut,Ln)}),b.currentQueryIndex=0,b.currentQueryTotal=0,b.transformIntoNewTimeline(Ut),hi&&(b.currentTimeline.mergeTimelineCollectedStyles(hi),b.currentTimeline.snapshotCurrentStyles()),b.previousNode=E}visitStagger(E,b){const Q=b.parentContext,xe=b.currentTimeline,pt=E.timings,Ut=Math.abs(pt.duration),ni=Ut*(b.currentQueryTotal-1);let hi=Ut*b.currentQueryIndex;switch(pt.duration<0?"reverse":pt.easing){case"reverse":hi=ni-hi;break;case"full":hi=Q.currentStaggerTime}const ln=b.currentTimeline;hi&&ln.delayNextStep(hi);const Gi=ln.currentTime;wi(this,E.animation,b),b.previousNode=E,Q.currentStaggerTime=xe.currentTime-Gi+(xe.startTime-Q.currentTimeline.startTime)}}const kn={};class sa{constructor(E,b,Q,xe,pt,Ut,ni,hi){this._driver=E,this.element=b,this.subInstructions=Q,this._enterClassName=xe,this._leaveClassName=pt,this.errors=Ut,this.timelines=ni,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=kn,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=hi||new An(this._driver,b,0),ni.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(E,b){if(!E)return;const Q=E;let xe=this.options;null!=Q.duration&&(xe.duration=Zt(Q.duration)),null!=Q.delay&&(xe.delay=Zt(Q.delay));const pt=Q.params;if(pt){let Ut=xe.params;Ut||(Ut=this.options.params={}),Object.keys(pt).forEach(ni=>{(!b||!Ut.hasOwnProperty(ni))&&(Ut[ni]=Te(pt[ni],Ut,this.errors))})}}_copyOptions(){const E={};if(this.options){const b=this.options.params;if(b){const Q=E.params={};Object.keys(b).forEach(xe=>{Q[xe]=b[xe]})}}return E}createSubContext(E=null,b,Q){const xe=b||this.element,pt=new sa(this._driver,xe,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(xe,Q||0));return pt.previousNode=this.previousNode,pt.currentAnimateTimings=this.currentAnimateTimings,pt.options=this._copyOptions(),pt.updateOptions(E),pt.currentQueryIndex=this.currentQueryIndex,pt.currentQueryTotal=this.currentQueryTotal,pt.parentContext=this,this.subContextCount++,pt}transformIntoNewTimeline(E){return this.previousNode=kn,this.currentTimeline=this.currentTimeline.fork(this.element,E),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(E,b,Q){const xe={duration:b??E.duration,delay:this.currentTimeline.currentTime+(Q??0)+E.delay,easing:""},pt=new na(this._driver,E.element,E.keyframes,E.preStyleProps,E.postStyleProps,xe,E.stretchStartingKeyframe);return this.timelines.push(pt),xe}incrementTime(E){this.currentTimeline.forwardTime(this.currentTimeline.duration+E)}delayNextStep(E){E>0&&this.currentTimeline.delayNextStep(E)}invokeQuery(E,b,Q,xe,pt,Ut){let ni=[];if(xe&&ni.push(this.element),E.length>0){E=(E=E.replace(Di,"."+this._enterClassName)).replace(Fi,"."+this._leaveClassName);const hi=1!=Q;let Ti=this._driver.query(this.element,E,hi);0!==Q&&(Ti=Q<0?Ti.slice(Ti.length+Q,Ti.length):Ti.slice(0,Q)),ni.push(...Ti)}return!pt&&0==ni.length&&Ut.push(function pe(H){return new t.vHH(3014,!1)}()),ni}}class An{constructor(E,b,Q,xe){this._driver=E,this.element=b,this.startTime=Q,this._elementTimelineStylesLookup=xe,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(b),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(b,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(E){const b=1===this._keyframes.size&&this._pendingStyles.size;this.duration||b?(this.forwardTime(this.currentTime+E),b&&this.snapshotCurrentStyles()):this.startTime+=E}fork(E,b){return this.applyStylesToKeyframe(),new An(this._driver,E,b||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(E){this.applyStylesToKeyframe(),this.duration=E,this._loadKeyframe()}_updateStyle(E,b){this._localTimelineStyles.set(E,b),this._globalTimelineStyles.set(E,b),this._styleSummary.set(E,{time:this.currentTime,value:b})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(E){E&&this._previousKeyframe.set("easing",E);for(let[b,Q]of this._globalTimelineStyles)this._backFill.set(b,Q||_.l3),this._currentKeyframe.set(b,_.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(E,b,Q,xe){b&&this._previousKeyframe.set("easing",b);const pt=xe&&xe.params||{},Ut=function jn(H,E){const b=new Map;let Q;return H.forEach(xe=>{if("*"===xe){Q=Q||E.keys();for(let pt of Q)b.set(pt,_.l3)}else Et(xe,b)}),b}(E,this._globalTimelineStyles);for(let[ni,hi]of Ut){const Ti=Te(hi,pt,Q);this._pendingStyles.set(ni,Ti),this._localTimelineStyles.has(ni)||this._backFill.set(ni,this._globalTimelineStyles.get(ni)??_.l3),this._updateStyle(ni,Ti)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((E,b)=>{this._currentKeyframe.set(b,E)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((E,b)=>{this._currentKeyframe.has(b)||this._currentKeyframe.set(b,E)}))}snapshotCurrentStyles(){for(let[E,b]of this._localTimelineStyles)this._pendingStyles.set(E,b),this._updateStyle(E,b)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const E=[];for(let b in this._currentKeyframe)E.push(b);return E}mergeTimelineCollectedStyles(E){E._styleSummary.forEach((b,Q)=>{const xe=this._styleSummary.get(Q);(!xe||b.time>xe.time)&&this._updateStyle(Q,b.value)})}buildKeyframes(){this.applyStylesToKeyframe();const E=new Set,b=new Set,Q=1===this._keyframes.size&&0===this.duration;let xe=[];this._keyframes.forEach((ni,hi)=>{const Ti=Et(ni,new Map,this._backFill);Ti.forEach((ln,Gi)=>{ln===_.k1?E.add(Gi):ln===_.l3&&b.add(Gi)}),Q||Ti.set("offset",hi/this.duration),xe.push(Ti)});const pt=E.size?me(E.values()):[],Ut=b.size?me(b.values()):[];if(Q){const ni=xe[0],hi=new Map(ni);ni.set("offset",0),hi.set("offset",1),xe=[ni,hi]}return Er(this.element,xe,pt,Ut,this.duration,this.startTime,this.easing,!1)}}class na extends An{constructor(E,b,Q,xe,pt,Ut,ni=!1){super(E,b,Ut.delay),this.keyframes=Q,this.preStyleProps=xe,this.postStyleProps=pt,this._stretchStartingKeyframe=ni,this.timings={duration:Ut.duration,delay:Ut.delay,easing:Ut.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let E=this.keyframes,{delay:b,duration:Q,easing:xe}=this.timings;if(this._stretchStartingKeyframe&&b){const pt=[],Ut=Q+b,ni=b/Ut,hi=Et(E[0]);hi.set("offset",0),pt.push(hi);const Ti=Et(E[0]);Ti.set("offset",Fa(ni)),pt.push(Ti);const ln=E.length-1;for(let Gi=1;Gi<=ln;Gi++){let Ln=Et(E[Gi]);const wn=b+Ln.get("offset")*Q;Ln.set("offset",Fa(wn/Ut)),pt.push(Ln)}Q=Ut,b=0,xe="",E=pt}return Er(this.element,E,this.preStyleProps,this.postStyleProps,Q,b,xe,!0)}}function Fa(H,E=3){const b=Math.pow(10,E-1);return Math.round(H*b)/b}class ta{}const Vr=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 Ta extends ta{normalizePropertyName(E,b){return _t(E)}normalizeStyleValue(E,b,Q,xe){let pt="";const Ut=Q.toString().trim();if(Vr.has(b)&&0!==Q&&"0"!==Q)if("number"==typeof Q)pt="px";else{const ni=Q.match(/^[+-]?[\d\.]+([a-z]*)$/);ni&&0==ni[1].length&&xe.push(function D(H,E){return new t.vHH(3005,!1)}())}return Ut+pt}}function vr(H,E,b,Q,xe,pt,Ut,ni,hi,Ti,ln,Gi,Ln){return{type:0,element:H,triggerName:E,isRemovalTransition:xe,fromState:b,fromStyles:pt,toState:Q,toStyles:Ut,timelines:ni,queriedElements:hi,preStyleProps:Ti,postStyleProps:ln,totalTime:Gi,errors:Ln}}const Zn={};class Aa{constructor(E,b,Q){this._triggerName=E,this.ast=b,this._stateStyles=Q}match(E,b,Q,xe){return function ms(H,E,b,Q,xe){return H.some(pt=>pt(E,b,Q,xe))}(this.ast.matchers,E,b,Q,xe)}buildStyles(E,b,Q){let xe=this._stateStyles.get("*");return void 0!==E&&(xe=this._stateStyles.get(E?.toString())||xe),xe?xe.buildStyles(b,Q):new Map}build(E,b,Q,xe,pt,Ut,ni,hi,Ti,ln){const Gi=[],Ln=this.ast.options&&this.ast.options.params||Zn,Fn=ni&&ni.params||Zn,wn=this.buildStyles(Q,Fn,Gi),Pn=hi&&hi.params||Zn,ca=this.buildStyles(xe,Pn,Gi),Oa=new Set,mo=new Map,Oo=new Map,io="void"===xe,qc={params:Wa(Pn,Ln),delay:this.ast.options?.delay},Ns=ln?[]:sn(E,b,this.ast.animation,pt,Ut,wn,ca,qc,Ti,Gi);let po=0;if(Ns.forEach(So=>{po=Math.max(So.duration+So.delay,po)}),Gi.length)return vr(b,this._triggerName,Q,xe,io,wn,ca,[],[],mo,Oo,po,Gi);Ns.forEach(So=>{const ko=So.element,d1=Me(mo,ko,new Set);So.preStyleProps.forEach(Dc=>d1.add(Dc));const Fs=Me(Oo,ko,new Set);So.postStyleProps.forEach(Dc=>Fs.add(Dc)),ko!==b&&Oa.add(ko)});const ls=me(Oa.values());return vr(b,this._triggerName,Q,xe,io,wn,ca,Ns,ls,mo,Oo,po)}}function Wa(H,E){const b=j(E);for(const Q in H)H.hasOwnProperty(Q)&&null!=H[Q]&&(b[Q]=H[Q]);return b}class es{constructor(E,b,Q){this.styles=E,this.defaultParams=b,this.normalizer=Q}buildStyles(E,b){const Q=new Map,xe=j(this.defaultParams);return Object.keys(E).forEach(pt=>{const Ut=E[pt];null!==Ut&&(xe[pt]=Ut)}),this.styles.styles.forEach(pt=>{"string"!=typeof pt&&pt.forEach((Ut,ni)=>{Ut&&(Ut=Te(Ut,xe,b));const hi=this.normalizer.normalizePropertyName(ni,b);Ut=this.normalizer.normalizeStyleValue(ni,hi,Ut,b),Q.set(hi,Ut)})}),Q}}class Jn{constructor(E,b,Q){this.name=E,this.ast=b,this._normalizer=Q,this.transitionFactories=[],this.states=new Map,b.states.forEach(xe=>{const pt=xe.options&&xe.options.params||{};this.states.set(xe.name,new es(xe.style,pt,Q))}),Ka(this.states,"true","1"),Ka(this.states,"false","0"),b.transitions.forEach(xe=>{this.transitionFactories.push(new Aa(E,xe,this.states))}),this.fallbackTransition=function qr(H,E,b){return new Aa(H,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Ut,ni)=>!0],options:null,queryCount:0,depCount:0},E)}(E,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(E,b,Q,xe){return this.transitionFactories.find(Ut=>Ut.match(E,b,Q,xe))||null}matchStyles(E,b,Q){return this.fallbackTransition.buildStyles(E,b,Q)}}function Ka(H,E,b){H.has(E)?H.has(b)||H.set(b,H.get(E)):H.has(b)&&H.set(E,H.get(b))}const Ao=new At;class rr{constructor(E,b,Q){this.bodyNode=E,this._driver=b,this._normalizer=Q,this._animations=new Map,this._playersById=new Map,this.players=[]}register(E,b){const Q=[],xe=[],pt=oi(this._driver,b,Q,xe);if(Q.length)throw function m(H){return new t.vHH(3503,!1)}();xe.length,this._animations.set(E,pt)}_buildPlayer(E,b,Q){const xe=E.element,pt=Ke(this._driver,this._normalizer,0,E.keyframes,b,Q);return this._driver.animate(xe,pt,E.duration,E.delay,E.easing,[],!0)}create(E,b,Q={}){const xe=[],pt=this._animations.get(E);let Ut;const ni=new Map;if(pt?(Ut=sn(this._driver,b,pt,Ot,Gt,new Map,new Map,Q,Ao,xe),Ut.forEach(ln=>{const Gi=Me(ni,ln.element,new Map);ln.postStyleProps.forEach(Ln=>Gi.set(Ln,null))})):(xe.push(function h(){return new t.vHH(3300,!1)}()),Ut=[]),xe.length)throw function x(H){return new t.vHH(3504,!1)}();ni.forEach((ln,Gi)=>{ln.forEach((Ln,Fn)=>{ln.set(Fn,this._driver.computeStyle(Gi,Fn,_.l3))})});const Ti=dt(Ut.map(ln=>{const Gi=ni.get(ln.element);return this._buildPlayer(ln,new Map,Gi)}));return this._playersById.set(E,Ti),Ti.onDestroy(()=>this.destroy(E)),this.players.push(Ti),Ti}destroy(E){const b=this._getPlayer(E);b.destroy(),this._playersById.delete(E);const Q=this.players.indexOf(b);Q>=0&&this.players.splice(Q,1)}_getPlayer(E){const b=this._playersById.get(E);if(!b)throw function I(H){return new t.vHH(3301,!1)}();return b}listen(E,b,Q,xe){const pt=Oe(b,"","","");return ge(this._getPlayer(E),Q,pt,xe),()=>{}}command(E,b,Q,xe){if("register"==Q)return void this.register(E,xe[0]);if("create"==Q){const Ut=xe[0]||{};return void this.create(E,b,Ut)}const pt=this._getPlayer(E);switch(Q){case"play":pt.play();break;case"pause":pt.pause();break;case"reset":pt.reset();break;case"restart":pt.restart();break;case"finish":pt.finish();break;case"init":pt.init();break;case"setPosition":pt.setPosition(parseFloat(xe[0]));break;case"destroy":this.destroy(E)}}}const Pr="ng-animate-queued",dr="ng-animate-disabled",br=[],yr={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},lo={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ia="__ng_removed";class Dr{constructor(E,b=""){this.namespaceId=b;const Q=E&&E.hasOwnProperty("value"),xe=Q?E.value:E;if(this.value=function da(H){return H??null}(xe),Q){const pt=j(E);delete pt.value,this.options=pt}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(E){const b=E.params;if(b){const Q=this.options.params;Object.keys(b).forEach(xe=>{null==Q[xe]&&(Q[xe]=b[xe])})}}}const hr="void",ho=new Dr(hr);class ur{constructor(E,b,Q){this.id=E,this.hostElement=b,this._engine=Q,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+E,$n(b,this._hostClassName)}listen(E,b,Q,xe){if(!this._triggers.has(b))throw function R(H,E){return new t.vHH(3302,!1)}();if(null==Q||0==Q.length)throw function g(H){return new t.vHH(3303,!1)}();if(!function sr(H){return"start"==H||"done"==H}(Q))throw function r(H,E){return new t.vHH(3400,!1)}();const pt=Me(this._elementListeners,E,[]),Ut={name:b,phase:Q,callback:xe};pt.push(Ut);const ni=Me(this._engine.statesByElement,E,new Map);return ni.has(b)||($n(E,kt),$n(E,kt+"-"+b),ni.set(b,ho)),()=>{this._engine.afterFlush(()=>{const hi=pt.indexOf(Ut);hi>=0&&pt.splice(hi,1),this._triggers.has(b)||ni.delete(b)})}}register(E,b){return!this._triggers.has(E)&&(this._triggers.set(E,b),!0)}_getTrigger(E){const b=this._triggers.get(E);if(!b)throw function w(H){return new t.vHH(3401,!1)}();return b}trigger(E,b,Q,xe=!0){const pt=this._getTrigger(b),Ut=new mr(this.id,b,E);let ni=this._engine.statesByElement.get(E);ni||($n(E,kt),$n(E,kt+"-"+b),this._engine.statesByElement.set(E,ni=new Map));let hi=ni.get(b);const Ti=new Dr(Q,this.id);if(!(Q&&Q.hasOwnProperty("value"))&&hi&&Ti.absorbOptions(hi.options),ni.set(b,Ti),hi||(hi=ho),Ti.value!==hr&&hi.value===Ti.value){if(!function Wr(H,E){const b=Object.keys(H),Q=Object.keys(E);if(b.length!=Q.length)return!1;for(let xe=0;xe<b.length;xe++){const pt=b[xe];if(!E.hasOwnProperty(pt)||H[pt]!==E[pt])return!1}return!0}(hi.params,Ti.params)){const Pn=[],ca=pt.matchStyles(hi.value,hi.params,Pn),Oa=pt.matchStyles(Ti.value,Ti.params,Pn);Pn.length?this._engine.reportError(Pn):this._engine.afterFlush(()=>{gt(E,ca),We(E,Oa)})}return}const Ln=Me(this._engine.playersByElement,E,[]);Ln.forEach(Pn=>{Pn.namespaceId==this.id&&Pn.triggerName==b&&Pn.queued&&Pn.destroy()});let Fn=pt.matchTransition(hi.value,Ti.value,E,Ti.params),wn=!1;if(!Fn){if(!xe)return;Fn=pt.fallbackTransition,wn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:E,triggerName:b,transition:Fn,fromState:hi,toState:Ti,player:Ut,isFallbackTransition:wn}),wn||($n(E,Pr),Ut.onStart(()=>{qn(E,Pr)})),Ut.onDone(()=>{let Pn=this.players.indexOf(Ut);Pn>=0&&this.players.splice(Pn,1);const ca=this._engine.playersByElement.get(E);if(ca){let Oa=ca.indexOf(Ut);Oa>=0&&ca.splice(Oa,1)}}),this.players.push(Ut),Ln.push(Ut),Ut}deregister(E){this._triggers.delete(E),this._engine.statesByElement.forEach(b=>b.delete(E)),this._elementListeners.forEach((b,Q)=>{this._elementListeners.set(Q,b.filter(xe=>xe.name!=E))})}clearElementCache(E){this._engine.statesByElement.delete(E),this._elementListeners.delete(E);const b=this._engine.playersByElement.get(E);b&&(b.forEach(Q=>Q.destroy()),this._engine.playersByElement.delete(E))}_signalRemovalForInnerTriggers(E,b){const Q=this._engine.driver.query(E,Rt,!0);Q.forEach(xe=>{if(xe[ia])return;const pt=this._engine.fetchNamespacesByElement(xe);pt.size?pt.forEach(Ut=>Ut.triggerLeaveAnimation(xe,b,!1,!0)):this.clearElementCache(xe)}),this._engine.afterFlushAnimationsDone(()=>Q.forEach(xe=>this.clearElementCache(xe)))}triggerLeaveAnimation(E,b,Q,xe){const pt=this._engine.statesByElement.get(E),Ut=new Map;if(pt){const ni=[];if(pt.forEach((hi,Ti)=>{if(Ut.set(Ti,hi.value),this._triggers.has(Ti)){const ln=this.trigger(E,Ti,hr,xe);ln&&ni.push(ln)}}),ni.length)return this._engine.markElementAsRemoved(this.id,E,!0,b,Ut),Q&&dt(ni).onDone(()=>this._engine.processLeaveNode(E)),!0}return!1}prepareLeaveAnimationListeners(E){const b=this._elementListeners.get(E),Q=this._engine.statesByElement.get(E);if(b&&Q){const xe=new Set;b.forEach(pt=>{const Ut=pt.name;if(xe.has(Ut))return;xe.add(Ut);const hi=this._triggers.get(Ut).fallbackTransition,Ti=Q.get(Ut)||ho,ln=new Dr(hr),Gi=new mr(this.id,Ut,E);this._engine.totalQueuedPlayers++,this._queue.push({element:E,triggerName:Ut,transition:hi,fromState:Ti,toState:ln,player:Gi,isFallbackTransition:!0})})}}removeNode(E,b){const Q=this._engine;if(E.childElementCount&&this._signalRemovalForInnerTriggers(E,b),this.triggerLeaveAnimation(E,b,!0))return;let xe=!1;if(Q.totalAnimations){const pt=Q.players.length?Q.playersByQueriedElement.get(E):[];if(pt&&pt.length)xe=!0;else{let Ut=E;for(;Ut=Ut.parentNode;)if(Q.statesByElement.get(Ut)){xe=!0;break}}}if(this.prepareLeaveAnimationListeners(E),xe)Q.markElementAsRemoved(this.id,E,!1,b);else{const pt=E[ia];(!pt||pt===yr)&&(Q.afterFlush(()=>this.clearElementCache(E)),Q.destroyInnerAnimations(E),Q._onRemovalComplete(E,b))}}insertNode(E,b){$n(E,this._hostClassName)}drainQueuedTransitions(E){const b=[];return this._queue.forEach(Q=>{const xe=Q.player;if(xe.destroyed)return;const pt=Q.element,Ut=this._elementListeners.get(pt);Ut&&Ut.forEach(ni=>{if(ni.name==Q.triggerName){const hi=Oe(pt,Q.triggerName,Q.fromState.value,Q.toState.value);hi._data=E,ge(Q.player,ni.phase,hi,ni.callback)}}),xe.markedForDestroy?this._engine.afterFlush(()=>{xe.destroy()}):b.push(Q)}),this._queue=[],b.sort((Q,xe)=>{const pt=Q.transition.ast.depCount,Ut=xe.transition.ast.depCount;return 0==pt||0==Ut?pt-Ut:this._engine.driver.containsElement(Q.element,xe.element)?1:-1})}destroy(E){this.players.forEach(b=>b.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,E)}elementContainsData(E){let b=!1;return this._elementListeners.has(E)&&(b=!0),b=!!this._queue.find(Q=>Q.element===E)||b,b}}class Ho{constructor(E,b,Q){this.bodyNode=E,this.driver=b,this._normalizer=Q,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=(xe,pt)=>{}}_onRemovalComplete(E,b){this.onRemovalComplete(E,b)}get queuedPlayers(){const E=[];return this._namespaceList.forEach(b=>{b.players.forEach(Q=>{Q.queued&&E.push(Q)})}),E}createNamespace(E,b){const Q=new ur(E,b,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,b)?this._balanceNamespaceList(Q,b):(this.newHostElements.set(b,Q),this.collectEnterElement(b)),this._namespaceLookup[E]=Q}_balanceNamespaceList(E,b){const Q=this._namespaceList,xe=this.namespacesByHostElement;if(Q.length-1>=0){let Ut=!1,ni=this.driver.getParentElement(b);for(;ni;){const hi=xe.get(ni);if(hi){const Ti=Q.indexOf(hi);Q.splice(Ti+1,0,E),Ut=!0;break}ni=this.driver.getParentElement(ni)}Ut||Q.unshift(E)}else Q.push(E);return xe.set(b,E),E}register(E,b){let Q=this._namespaceLookup[E];return Q||(Q=this.createNamespace(E,b)),Q}registerTrigger(E,b,Q){let xe=this._namespaceLookup[E];xe&&xe.register(b,Q)&&this.totalAnimations++}destroy(E,b){if(!E)return;const Q=this._fetchNamespace(E);this.afterFlush(()=>{this.namespacesByHostElement.delete(Q.hostElement),delete this._namespaceLookup[E];const xe=this._namespaceList.indexOf(Q);xe>=0&&this._namespaceList.splice(xe,1)}),this.afterFlushAnimationsDone(()=>Q.destroy(b))}_fetchNamespace(E){return this._namespaceLookup[E]}fetchNamespacesByElement(E){const b=new Set,Q=this.statesByElement.get(E);if(Q)for(let xe of Q.values())if(xe.namespaceId){const pt=this._fetchNamespace(xe.namespaceId);pt&&b.add(pt)}return b}trigger(E,b,Q,xe){if(Rr(b)){const pt=this._fetchNamespace(E);if(pt)return pt.trigger(b,Q,xe),!0}return!1}insertNode(E,b,Q,xe){if(!Rr(b))return;const pt=b[ia];if(pt&&pt.setForRemoval){pt.setForRemoval=!1,pt.setForMove=!0;const Ut=this.collectedLeaveElements.indexOf(b);Ut>=0&&this.collectedLeaveElements.splice(Ut,1)}if(E){const Ut=this._fetchNamespace(E);Ut&&Ut.insertNode(b,Q)}xe&&this.collectEnterElement(b)}collectEnterElement(E){this.collectedEnterElements.push(E)}markElementAsDisabled(E,b){b?this.disabledNodes.has(E)||(this.disabledNodes.add(E),$n(E,dr)):this.disabledNodes.has(E)&&(this.disabledNodes.delete(E),qn(E,dr))}removeNode(E,b,Q,xe){if(Rr(b)){const pt=E?this._fetchNamespace(E):null;if(pt?pt.removeNode(b,xe):this.markElementAsRemoved(E,b,!1,xe),Q){const Ut=this.namespacesByHostElement.get(b);Ut&&Ut.id!==E&&Ut.removeNode(b,xe)}}else this._onRemovalComplete(b,xe)}markElementAsRemoved(E,b,Q,xe,pt){this.collectedLeaveElements.push(b),b[ia]={namespaceId:E,setForRemoval:xe,hasAnimation:Q,removedBeforeQueried:!1,previousTriggersValues:pt}}listen(E,b,Q,xe,pt){return Rr(b)?this._fetchNamespace(E).listen(b,Q,xe,pt):()=>{}}_buildInstruction(E,b,Q,xe,pt){return E.transition.build(this.driver,E.element,E.fromState.value,E.toState.value,Q,xe,E.fromState.options,E.toState.options,b,pt)}destroyInnerAnimations(E){let b=this.driver.query(E,Rt,!0);b.forEach(Q=>this.destroyActiveAnimationsForElement(Q)),0!=this.playersByQueriedElement.size&&(b=this.driver.query(E,Jt,!0),b.forEach(Q=>this.finishActiveQueriedAnimationOnElement(Q)))}destroyActiveAnimationsForElement(E){const b=this.playersByElement.get(E);b&&b.forEach(Q=>{Q.queued?Q.markedForDestroy=!0:Q.destroy()})}finishActiveQueriedAnimationOnElement(E){const b=this.playersByQueriedElement.get(E);b&&b.forEach(Q=>Q.finish())}whenRenderingDone(){return new Promise(E=>{if(this.players.length)return dt(this.players).onDone(()=>E());E()})}processLeaveNode(E){const b=E[ia];if(b&&b.setForRemoval){if(E[ia]=yr,b.namespaceId){this.destroyInnerAnimations(E);const Q=this._fetchNamespace(b.namespaceId);Q&&Q.clearElementCache(E)}this._onRemovalComplete(E,b.setForRemoval)}E.classList?.contains(dr)&&this.markElementAsDisabled(E,!1),this.driver.query(E,".ng-animate-disabled",!0).forEach(Q=>{this.markElementAsDisabled(Q,!1)})}flush(E=-1){let b=[];if(this.newHostElements.size&&(this.newHostElements.forEach((Q,xe)=>this._balanceNamespaceList(Q,xe)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let Q=0;Q<this.collectedEnterElements.length;Q++){$n(this.collectedEnterElements[Q],"ng-star-inserted")}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const Q=[];try{b=this._flushAnimations(Q,E)}finally{for(let xe=0;xe<Q.length;xe++)Q[xe]()}}else for(let Q=0;Q<this.collectedLeaveElements.length;Q++){const xe=this.collectedLeaveElements[Q];this.processLeaveNode(xe)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(Q=>Q()),this._flushFns=[],this._whenQuietFns.length){const Q=this._whenQuietFns;this._whenQuietFns=[],b.length?dt(b).onDone(()=>{Q.forEach(xe=>xe())}):Q.forEach(xe=>xe())}}reportError(E){throw function V(H){return new t.vHH(3402,!1)}()}_flushAnimations(E,b){const Q=new At,xe=[],pt=new Map,Ut=[],ni=new Map,hi=new Map,Ti=new Map,ln=new Set;this.disabledNodes.forEach(xn=>{ln.add(xn);const On=this.driver.query(xn,".ng-animate-queued",!0);for(let Sn=0;Sn<On.length;Sn++)ln.add(On[Sn])});const Gi=this.bodyNode,Ln=Array.from(this.statesByElement.keys()),Fn=Io(Ln,this.collectedEnterElements),wn=new Map;let Pn=0;Fn.forEach((xn,On)=>{const Sn=Ot+Pn++;wn.set(On,Sn),xn.forEach(Gn=>$n(Gn,Sn))});const ca=[],Oa=new Set,mo=new Set;for(let xn=0;xn<this.collectedLeaveElements.length;xn++){const On=this.collectedLeaveElements[xn],Sn=On[ia];Sn&&Sn.setForRemoval&&(ca.push(On),Oa.add(On),Sn.hasAnimation?this.driver.query(On,".ng-star-inserted",!0).forEach(Gn=>Oa.add(Gn)):mo.add(On))}const Oo=new Map,io=Io(Ln,Array.from(Oa));io.forEach((xn,On)=>{const Sn=Gt+Pn++;Oo.set(On,Sn),xn.forEach(Gn=>$n(Gn,Sn))}),E.push(()=>{Fn.forEach((xn,On)=>{const Sn=wn.get(On);xn.forEach(Gn=>qn(Gn,Sn))}),io.forEach((xn,On)=>{const Sn=Oo.get(On);xn.forEach(Gn=>qn(Gn,Sn))}),ca.forEach(xn=>{this.processLeaveNode(xn)})});const qc=[],Ns=[];for(let xn=this._namespaceList.length-1;xn>=0;xn--)this._namespaceList[xn].drainQueuedTransitions(b).forEach(Sn=>{const Gn=Sn.player,Za=Sn.element;if(qc.push(Gn),this.collectedEnterElements.length){const Yr=Za[ia];if(Yr&&Yr.setForMove){if(Yr.previousTriggersValues&&Yr.previousTriggersValues.has(Sn.triggerName)){const Tc=Yr.previousTriggersValues.get(Sn.triggerName),ds=this.statesByElement.get(Sn.element);if(ds&&ds.has(Sn.triggerName)){const u1=ds.get(Sn.triggerName);u1.value=Tc,ds.set(Sn.triggerName,u1)}}return void Gn.destroy()}}const Jo=!Gi||!this.driver.containsElement(Gi,Za),Po=Oo.get(Za),zs=wn.get(Za),_a=this._buildInstruction(Sn,Q,zs,Po,Jo);if(_a.errors&&_a.errors.length)return void Ns.push(_a);if(Jo)return Gn.onStart(()=>gt(Za,_a.fromStyles)),Gn.onDestroy(()=>We(Za,_a.toStyles)),void xe.push(Gn);if(Sn.isFallbackTransition)return Gn.onStart(()=>gt(Za,_a.fromStyles)),Gn.onDestroy(()=>We(Za,_a.toStyles)),void xe.push(Gn);const h1=[];_a.timelines.forEach(Yr=>{Yr.stretchStartingKeyframe=!0,this.disabledNodes.has(Yr.element)||h1.push(Yr)}),_a.timelines=h1,Q.append(Za,_a.timelines);const bd={instruction:_a,player:Gn,element:Za};Ut.push(bd),_a.queriedElements.forEach(Yr=>Me(ni,Yr,[]).push(Gn)),_a.preStyleProps.forEach((Yr,Tc)=>{if(Yr.size){let ds=hi.get(Tc);ds||hi.set(Tc,ds=new Set),Yr.forEach((u1,ou)=>ds.add(ou))}}),_a.postStyleProps.forEach((Yr,Tc)=>{let ds=Ti.get(Tc);ds||Ti.set(Tc,ds=new Set),Yr.forEach((u1,ou)=>ds.add(ou))})});if(Ns.length){const xn=[];Ns.forEach(On=>{xn.push(function Y(H,E){return new t.vHH(3505,!1)}(On.triggerName,On.errors))}),qc.forEach(On=>On.destroy()),this.reportError(xn)}const po=new Map,ls=new Map;Ut.forEach(xn=>{const On=xn.element;Q.has(On)&&(ls.set(On,On),this._beforeAnimationBuild(xn.player.namespaceId,xn.instruction,po))}),xe.forEach(xn=>{const On=xn.element;this._getPreviousPlayers(On,!1,xn.namespaceId,xn.triggerName,null).forEach(Gn=>{Me(po,On,[]).push(Gn),Gn.destroy()})});const So=ca.filter(xn=>tr(xn,hi,Ti)),ko=new Map;ya(ko,this.driver,mo,Ti,_.l3).forEach(xn=>{tr(xn,hi,Ti)&&So.push(xn)});const Fs=new Map;Fn.forEach((xn,On)=>{ya(Fs,this.driver,new Set(xn),hi,_.k1)}),So.forEach(xn=>{const On=ko.get(xn),Sn=Fs.get(xn);ko.set(xn,new Map([...Array.from(On?.entries()??[]),...Array.from(Sn?.entries()??[])]))});const Dc=[],Xo=[],A2={};Ut.forEach(xn=>{const{element:On,player:Sn,instruction:Gn}=xn;if(Q.has(On)){if(ln.has(On))return Sn.onDestroy(()=>We(On,Gn.toStyles)),Sn.disabled=!0,Sn.overrideTotalTime(Gn.totalTime),void xe.push(Sn);let Za=A2;if(ls.size>1){let Po=On;const zs=[];for(;Po=Po.parentNode;){const _a=ls.get(Po);if(_a){Za=_a;break}zs.push(Po)}zs.forEach(_a=>ls.set(_a,Za))}const Jo=this._buildAnimation(Sn.namespaceId,Gn,po,pt,Fs,ko);if(Sn.setRealPlayer(Jo),Za===A2)Dc.push(Sn);else{const Po=this.playersByElement.get(Za);Po&&Po.length&&(Sn.parentPlayer=dt(Po)),xe.push(Sn)}}else gt(On,Gn.fromStyles),Sn.onDestroy(()=>We(On,Gn.toStyles)),Xo.push(Sn),ln.has(On)&&xe.push(Sn)}),Xo.forEach(xn=>{const On=pt.get(xn.element);if(On&&On.length){const Sn=dt(On);xn.setRealPlayer(Sn)}}),xe.forEach(xn=>{xn.parentPlayer?xn.syncPlayerEvents(xn.parentPlayer):xn.destroy()});for(let xn=0;xn<ca.length;xn++){const On=ca[xn],Sn=On[ia];if(qn(On,Gt),Sn&&Sn.hasAnimation)continue;let Gn=[];if(ni.size){let Jo=ni.get(On);Jo&&Jo.length&&Gn.push(...Jo);let Po=this.driver.query(On,Jt,!0);for(let zs=0;zs<Po.length;zs++){let _a=ni.get(Po[zs]);_a&&_a.length&&Gn.push(..._a)}}const Za=Gn.filter(Jo=>!Jo.destroyed);Za.length?Tr(this,On,Za):this.processLeaveNode(On)}return ca.length=0,Dc.forEach(xn=>{this.players.push(xn),xn.onDone(()=>{xn.destroy();const On=this.players.indexOf(xn);this.players.splice(On,1)}),xn.play()}),Dc}elementContainsData(E,b){let Q=!1;const xe=b[ia];return xe&&xe.setForRemoval&&(Q=!0),this.playersByElement.has(b)&&(Q=!0),this.playersByQueriedElement.has(b)&&(Q=!0),this.statesByElement.has(b)&&(Q=!0),this._fetchNamespace(E).elementContainsData(b)||Q}afterFlush(E){this._flushFns.push(E)}afterFlushAnimationsDone(E){this._whenQuietFns.push(E)}_getPreviousPlayers(E,b,Q,xe,pt){let Ut=[];if(b){const ni=this.playersByQueriedElement.get(E);ni&&(Ut=ni)}else{const ni=this.playersByElement.get(E);if(ni){const hi=!pt||pt==hr;ni.forEach(Ti=>{Ti.queued||!hi&&Ti.triggerName!=xe||Ut.push(Ti)})}}return(Q||xe)&&(Ut=Ut.filter(ni=>!(Q&&Q!=ni.namespaceId||xe&&xe!=ni.triggerName))),Ut}_beforeAnimationBuild(E,b,Q){const xe=b.triggerName,pt=b.element,Ut=b.isRemovalTransition?void 0:E,ni=b.isRemovalTransition?void 0:xe;for(const hi of b.timelines){const Ti=hi.element,ln=Ti!==pt,Gi=Me(Q,Ti,[]);this._getPreviousPlayers(Ti,ln,Ut,ni,b.toState).forEach(Fn=>{const wn=Fn.getRealPlayer();wn.beforeDestroy&&wn.beforeDestroy(),Fn.destroy(),Gi.push(Fn)})}gt(pt,b.fromStyles)}_buildAnimation(E,b,Q,xe,pt,Ut){const ni=b.triggerName,hi=b.element,Ti=[],ln=new Set,Gi=new Set,Ln=b.timelines.map(wn=>{const Pn=wn.element;ln.add(Pn);const ca=Pn[ia];if(ca&&ca.removedBeforeQueried)return new _.ZN(wn.duration,wn.delay);const Oa=Pn!==hi,mo=function cr(H){const E=[];return xa(H,E),E}((Q.get(Pn)||br).map(po=>po.getRealPlayer())).filter(po=>{const ls=po;return!!ls.element&&ls.element===Pn}),Oo=pt.get(Pn),io=Ut.get(Pn),qc=Ke(this.driver,this._normalizer,0,wn.keyframes,Oo,io),Ns=this._buildPlayer(wn,qc,mo);if(wn.subTimeline&&xe&&Gi.add(Pn),Oa){const po=new mr(E,ni,Pn);po.setRealPlayer(Ns),Ti.push(po)}return Ns});Ti.forEach(wn=>{Me(this.playersByQueriedElement,wn.element,[]).push(wn),wn.onDone(()=>function xr(H,E,b){let Q=H.get(E);if(Q){if(Q.length){const xe=Q.indexOf(b);Q.splice(xe,1)}0==Q.length&&H.delete(E)}return Q}(this.playersByQueriedElement,wn.element,wn))}),ln.forEach(wn=>$n(wn,yi));const Fn=dt(Ln);return Fn.onDestroy(()=>{ln.forEach(wn=>qn(wn,yi)),We(hi,b.toStyles)}),Gi.forEach(wn=>{Me(xe,wn,[]).push(Fn)}),Fn}_buildPlayer(E,b,Q){return b.length>0?this.driver.animate(E.element,b,E.duration,E.delay,E.easing,Q):new _.ZN(E.duration,E.delay)}}class mr{constructor(E,b,Q){this.namespaceId=E,this.triggerName=b,this.element=Q,this._player=new _.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(E){this._containsRealPlayer||(this._player=E,this._queuedCallbacks.forEach((b,Q)=>{b.forEach(xe=>ge(E,Q,void 0,xe))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(E.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(E){this.totalTime=E}syncPlayerEvents(E){const b=this._player;b.triggerCallback&&E.onStart(()=>b.triggerCallback("start")),E.onDone(()=>this.finish()),E.onDestroy(()=>this.destroy())}_queueEvent(E,b){Me(this._queuedCallbacks,E,[]).push(b)}onDone(E){this.queued&&this._queueEvent("done",E),this._player.onDone(E)}onStart(E){this.queued&&this._queueEvent("start",E),this._player.onStart(E)}onDestroy(E){this.queued&&this._queueEvent("destroy",E),this._player.onDestroy(E)}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(E){this.queued||this._player.setPosition(E)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(E){const b=this._player;b.triggerCallback&&b.triggerCallback(E)}}function Rr(H){return H&&1===H.nodeType}function fs(H,E){const b=H.style.display;return H.style.display=E??"none",b}function ya(H,E,b,Q,xe){const pt=[];b.forEach(hi=>pt.push(fs(hi)));const Ut=[];Q.forEach((hi,Ti)=>{const ln=new Map;hi.forEach(Gi=>{const Ln=E.computeStyle(Ti,Gi,xe);ln.set(Gi,Ln),(!Ln||0==Ln.length)&&(Ti[ia]=lo,Ut.push(Ti))}),H.set(Ti,ln)});let ni=0;return b.forEach(hi=>fs(hi,pt[ni++])),Ut}function Io(H,E){const b=new Map;if(H.forEach(ni=>b.set(ni,[])),0==E.length)return b;const xe=new Set(E),pt=new Map;function Ut(ni){if(!ni)return 1;let hi=pt.get(ni);if(hi)return hi;const Ti=ni.parentNode;return hi=b.has(Ti)?Ti:xe.has(Ti)?1:Ut(Ti),pt.set(ni,hi),hi}return E.forEach(ni=>{const hi=Ut(ni);1!==hi&&b.get(hi).push(ni)}),b}function $n(H,E){H.classList?.add(E)}function qn(H,E){H.classList?.remove(E)}function Tr(H,E,b){dt(b).onDone(()=>H.processLeaveNode(E))}function xa(H,E){for(let b=0;b<H.length;b++){const Q=H[b];Q instanceof _.ZE?xa(Q.players,E):E.push(Q)}}function tr(H,E,b){const Q=b.get(H);if(!Q)return!1;let xe=E.get(H);return xe?Q.forEach(pt=>xe.add(pt)):E.set(H,Q),b.delete(H),!0}class aa{constructor(E,b,Q){this.bodyNode=E,this._driver=b,this._normalizer=Q,this._triggerCache={},this.onRemovalComplete=(xe,pt)=>{},this._transitionEngine=new Ho(E,b,Q),this._timelineEngine=new rr(E,b,Q),this._transitionEngine.onRemovalComplete=(xe,pt)=>this.onRemovalComplete(xe,pt)}registerTrigger(E,b,Q,xe,pt){const Ut=E+"-"+xe;let ni=this._triggerCache[Ut];if(!ni){const hi=[],Ti=[],ln=oi(this._driver,pt,hi,Ti);if(hi.length)throw function i(H,E){return new t.vHH(3404,!1)}();Ti.length,ni=function oo(H,E,b){return new Jn(H,E,b)}(xe,ln,this._normalizer),this._triggerCache[Ut]=ni}this._transitionEngine.registerTrigger(b,xe,ni)}register(E,b){this._transitionEngine.register(E,b)}destroy(E,b){this._transitionEngine.destroy(E,b)}onInsert(E,b,Q,xe){this._transitionEngine.insertNode(E,b,Q,xe)}onRemove(E,b,Q,xe){this._transitionEngine.removeNode(E,b,xe||!1,Q)}disableAnimations(E,b){this._transitionEngine.markElementAsDisabled(E,b)}process(E,b,Q,xe){if("@"==Q.charAt(0)){const[pt,Ut]=De(Q),ni=xe;this._timelineEngine.command(pt,b,Ut,ni)}else this._transitionEngine.trigger(E,b,Q,xe)}listen(E,b,Q,xe,pt){if("@"==Q.charAt(0)){const[Ut,ni]=De(Q);return this._timelineEngine.listen(Ut,b,ni,pt)}return this._transitionEngine.listen(E,b,Q,xe,pt)}flush(E=-1){this._transitionEngine.flush(E)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}class je{constructor(E,b,Q){this._element=E,this._startStyles=b,this._endStyles=Q,this._state=0;let xe=je.initialStylesByElement.get(E);xe||je.initialStylesByElement.set(E,xe=new Map),this._initialStyles=xe}start(){this._state<1&&(this._startStyles&&We(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(We(this._element,this._initialStyles),this._endStyles&&(We(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(je.initialStylesByElement.delete(this._element),this._startStyles&&(gt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(gt(this._element,this._endStyles),this._endStyles=null),We(this._element,this._initialStyles),this._state=3)}}function Dt(H){let E=null;return H.forEach((b,Q)=>{(function bi(H){return"display"===H||"position"===H})(Q)&&(E=E||new Map,E.set(Q,b))}),E}je.initialStylesByElement=new WeakMap;class Hi{constructor(E,b,Q,xe){this.element=E,this.keyframes=b,this.options=Q,this._specialStyles=xe,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=Q.duration,this._delay=Q.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(E=>E()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const E=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,E,this.options),this._finalKeyframe=E.length?E[E.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(E){const b=[];return E.forEach(Q=>{b.push(Object.fromEntries(Q))}),b}_triggerWebAnimation(E,b,Q){return E.animate(this._convertKeyframesToObject(b),Q)}onStart(E){this._originalOnStartFns.push(E),this._onStartFns.push(E)}onDone(E){this._originalOnDoneFns.push(E),this._onDoneFns.push(E)}onDestroy(E){this._onDestroyFns.push(E)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(E=>E()),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(E=>E()),this._onDestroyFns=[])}setPosition(E){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=E*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const E=new Map;this.hasStarted()&&this._finalKeyframe.forEach((Q,xe)=>{"offset"!==xe&&E.set(xe,this._finished?Q:zi(this.element,xe))}),this.currentSnapshot=E}triggerCallback(E){const b="start"===E?this._onStartFns:this._onDoneFns;b.forEach(Q=>Q()),b.length=0}}class Bn{validateStyleProperty(E){return!0}validateAnimatableStyleProperty(E){return!0}matchesElement(E,b){return!1}containsElement(E,b){return at(E,b)}getParentElement(E){return ie(E)}query(E,b,Q){return qe(E,b,Q)}computeStyle(E,b,Q){return window.getComputedStyle(E)[b]}animate(E,b,Q,xe,pt,Ut=[]){const hi={duration:Q,delay:xe,fill:0==xe?"both":"forwards"};pt&&(hi.easing=pt);const Ti=new Map,ln=Ut.filter(Fn=>Fn instanceof Hi);(function Li(H,E){return 0===H||0===E})(Q,xe)&&ln.forEach(Fn=>{Fn.currentSnapshot.forEach((wn,Pn)=>Ti.set(Pn,wn))});let Gi=function Ne(H){return H.length?H[0]instanceof Map?H:H.map(E=>ue(E)):[]}(b).map(Fn=>Et(Fn));Gi=function Ai(H,E,b){if(b.size&&E.length){let Q=E[0],xe=[];if(b.forEach((pt,Ut)=>{Q.has(Ut)||xe.push(Ut),Q.set(Ut,pt)}),xe.length)for(let pt=1;pt<E.length;pt++){let Ut=E[pt];xe.forEach(ni=>Ut.set(ni,zi(H,ni)))}}return E}(E,Gi,Ti);const Ln=function li(H,E){let b=null,Q=null;return Array.isArray(E)&&E.length?(b=Dt(E[0]),E.length>1&&(Q=Dt(E[E.length-1]))):E instanceof Map&&(b=Dt(E)),b||Q?new je(H,b,Q):null}(E,Gi);return new Hi(E,Gi,hi,Ln)}}var Zi=f(4666);class hn extends _._j{constructor(E,b){super(),this._nextAnimationId=0;const Q={id:"0",encapsulation:t.ifc.None,styles:[],data:{animation:[]}};this._renderer=E.createRenderer(b.body,Q)}build(E){const b=this._nextAnimationId.toString();this._nextAnimationId++;const Q=Array.isArray(E)?(0,_.vP)(E):E;return _e(this._renderer,null,b,"register",[Q]),new Br(b,this._renderer)}}hn.\u0275fac=function(E){return new(E||hn)(t.LFG(t.FYo),t.LFG(Zi.K0))},hn.\u0275prov=t.Yz7({token:hn,factory:hn.\u0275fac});class Br extends _.LC{constructor(E,b){super(),this._id=E,this._renderer=b}create(E,b){return new Mt(this._id,E,b||{},this._renderer)}}class Mt{constructor(E,b,Q,xe){this.id=E,this.element=b,this._renderer=xe,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",Q)}_listen(E,b){return this._renderer.listen(this.element,`@@${this.id}:${E}`,b)}_command(E,...b){return _e(this._renderer,this.element,this.id,E,b)}onDone(E){this._listen("done",E)}onStart(E){this._listen("start",E)}onDestroy(E){this._listen("destroy",E)}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(E){this._command("setPosition",E)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function _e(H,E,b,Q,xe){return H.setProperty(E,`@@${b}:${Q}`,xe)}const ci="@.disabled";class Ni{constructor(E,b,Q){this.delegate=E,this.engine=b,this._zone=Q,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),b.onRemovalComplete=(xe,pt)=>{const Ut=pt?.parentNode(xe);Ut&&pt.removeChild(Ut,xe)}}createRenderer(E,b){const xe=this.delegate.createRenderer(E,b);if(!(E&&b&&b.data&&b.data.animation)){let Ti=this._rendererCache.get(xe);if(!Ti){const ln=()=>this._rendererCache.delete(xe);Ti=new In("",xe,this.engine,ln),this._rendererCache.set(xe,Ti)}return Ti}const pt=b.id,Ut=b.id+"-"+this._currentId;this._currentId++,this.engine.register(Ut,E);const ni=Ti=>{Array.isArray(Ti)?Ti.forEach(ni):this.engine.registerTrigger(pt,Ut,E,Ti.name,Ti)};return b.data.animation.forEach(ni),new pr(this,Ut,xe,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(E,b,Q){E>=0&&E<this._microtaskId?this._zone.run(()=>b(Q)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(xe=>{const[pt,Ut]=xe;pt(Ut)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([b,Q]))}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()}}Ni.\u0275fac=function(E){return new(E||Ni)(t.LFG(t.FYo),t.LFG(aa),t.LFG(t.R0b))},Ni.\u0275prov=t.Yz7({token:Ni,factory:Ni.\u0275fac});class In{constructor(E,b,Q,xe){this.namespaceId=E,this.delegate=b,this.engine=Q,this._onDestroy=xe,this.destroyNode=this.delegate.destroyNode?pt=>b.destroyNode(pt):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(E,b){return this.delegate.createElement(E,b)}createComment(E){return this.delegate.createComment(E)}createText(E){return this.delegate.createText(E)}appendChild(E,b){this.delegate.appendChild(E,b),this.engine.onInsert(this.namespaceId,b,E,!1)}insertBefore(E,b,Q,xe=!0){this.delegate.insertBefore(E,b,Q),this.engine.onInsert(this.namespaceId,b,E,xe)}removeChild(E,b,Q){this.engine.onRemove(this.namespaceId,b,this.delegate,Q)}selectRootElement(E,b){return this.delegate.selectRootElement(E,b)}parentNode(E){return this.delegate.parentNode(E)}nextSibling(E){return this.delegate.nextSibling(E)}setAttribute(E,b,Q,xe){this.delegate.setAttribute(E,b,Q,xe)}removeAttribute(E,b,Q){this.delegate.removeAttribute(E,b,Q)}addClass(E,b){this.delegate.addClass(E,b)}removeClass(E,b){this.delegate.removeClass(E,b)}setStyle(E,b,Q,xe){this.delegate.setStyle(E,b,Q,xe)}removeStyle(E,b,Q){this.delegate.removeStyle(E,b,Q)}setProperty(E,b,Q){"@"==b.charAt(0)&&b==ci?this.disableAnimations(E,!!Q):this.delegate.setProperty(E,b,Q)}setValue(E,b){this.delegate.setValue(E,b)}listen(E,b,Q){return this.delegate.listen(E,b,Q)}disableAnimations(E,b){this.engine.disableAnimations(E,b)}}class pr extends In{constructor(E,b,Q,xe,pt){super(b,Q,xe,pt),this.factory=E,this.namespaceId=b}setProperty(E,b,Q){"@"==b.charAt(0)?"."==b.charAt(1)&&b==ci?(Q=void 0===Q||!!Q,this.disableAnimations(E,Q)):this.engine.process(this.namespaceId,E,b.slice(1),Q):this.delegate.setProperty(E,b,Q)}listen(E,b,Q){if("@"==b.charAt(0)){const xe=function Pi(H){switch(H){case"body":return document.body;case"document":return document;case"window":return window;default:return H}}(E);let pt=b.slice(1),Ut="";return"@"!=pt.charAt(0)&&([pt,Ut]=function Wn(H){const E=H.indexOf("."),b=H.substring(0,E),Q=H.slice(E+1);return[b,Q]}(pt)),this.engine.listen(this.namespaceId,xe,pt,Ut,ni=>{const hi=ni._data||-1;this.factory.scheduleListenerCallback(hi,Q,ni)})}return this.delegate.listen(E,b,Q)}}class ts extends aa{constructor(E,b,Q,xe){super(E.body,b,Q)}ngOnDestroy(){this.flush()}}ts.\u0275fac=function(E){return new(E||ts)(t.LFG(Zi.K0),t.LFG(bt),t.LFG(ta),t.LFG(t.z2F))},ts.\u0275prov=t.Yz7({token:ts,factory:ts.\u0275fac});const is=[{provide:_._j,useClass:hn},{provide:ta,useFactory:function sc(){return new Ta}},{provide:aa,useClass:ts},{provide:t.FYo,useFactory:function za(H,E,b){return new Ni(H,E,b)},deps:[e.se,aa,t.R0b]}],Uo=[{provide:bt,useFactory:()=>new Bn},{provide:t.QbO,useValue:"BrowserAnimations"},...is],Ar=[{provide:bt,useClass:ii},{provide:t.QbO,useValue:"NoopAnimations"},...is];class lr{static withConfig(E){return{ngModule:lr,providers:E.disableAnimations?Ar:Uo}}}lr.\u0275fac=function(E){return new(E||lr)},lr.\u0275mod=t.oAB({type:lr}),lr.\u0275inj=t.cJS({providers:Uo,imports:[e.b2]});class Xr{}Xr.\u0275fac=function(E){return new(E||Xr)},Xr.\u0275mod=t.oAB({type:Xr}),Xr.\u0275inj=t.cJS({providers:Ar,imports:[e.b2]});var Nr=f(8987),Rn=f(3278),Ri=f(9263),Jr=f(3599),ns=f(5242),Vi=f(253),as=f(6646),rs=f(3280),Us=f(7400),Es=f(6936),Vs=f(8947);function os(H=0,E=Es.z){return H<0&&(H=0),(0,Vs.H)(H,H,E)}var _s=f(745),Ws=f(7714),cl=f(1944),ll=f(3945),Nc=f(9663),cc=f(420),Ks=f(1817);var qa=f(116),Wo=f(9337),Ds=f(2673),cn=f(8951),ir=f(2313),Fr=f(8977),ra=f(635);class Ko{}class ss{constructor(E,b){this._ngZone=b,this.timerStart$=new Vi.x,this.idleDetected$=new Vi.x,this.timeout$=new Vi.x,this.idleMillisec=6e5,this.idleSensitivityMillisec=1e3,this.timeout=300,this.pingMillisec=12e4,this.isTimeout=!1,this.isInactivityTimer=!1,this.isIdleDetected=!1,E&&this.setConfig(E)}startWatching(){this.activityEvents$||(this.activityEvents$=(0,as.T)((0,rs.R)(window,"mousemove"),(0,rs.R)(window,"resize"),(0,rs.R)(document,"keydown"))),this.idle$=(0,Us.D)(this.activityEvents$),this.idleSubscription&&this.idleSubscription.unsubscribe(),this.idleSubscription=this.idle$.pipe(function Ss(H,...E){var b,Q;const xe=null!==(b=(0,cc.yG)(E))&&void 0!==b?b:Es.z,pt=null!==(Q=E[0])&&void 0!==Q?Q:null,Ut=E[1]||1/0;return(0,cl.e)((ni,hi)=>{let Ti=[],ln=!1;const Gi=wn=>{const{buffer:Pn,subs:ca}=wn;ca.unsubscribe(),(0,Nc.P)(Ti,wn),hi.next(Pn),ln&&Ln()},Ln=()=>{if(Ti){const wn=new Ws.w0;hi.add(wn);const ca={buffer:[],subs:wn};Ti.push(ca),(0,Ks.f)(wn,xe,()=>Gi(ca),H)}};null!==pt&&pt>=0?(0,Ks.f)(hi,xe,Ln,pt,!0):ln=!0,Ln();const Fn=(0,ll.x)(hi,wn=>{const Pn=Ti.slice();for(const ca of Pn){const{buffer:Oa}=ca;Oa.push(wn),Ut<=Oa.length&&Gi(ca)}},()=>{for(;Ti?.length;)hi.next(Ti.shift().buffer);Fn?.unsubscribe(),hi.complete(),hi.unsubscribe()},void 0,()=>Ti=null);ni.subscribe(Fn)})}(this.idleSensitivityMillisec),(0,qa.h)(E=>!E.length&&!this.isIdleDetected&&!this.isInactivityTimer),(0,Wo.b)(()=>{this.isIdleDetected=!0,this.idleDetected$.next(!0)}),(0,Ds.w)(()=>this._ngZone.runOutsideAngular(()=>os(1e3).pipe((0,cn.R)((0,as.T)(this.activityEvents$,(0,Vs.H)(this.idleMillisec).pipe((0,Wo.b)(()=>{this.isInactivityTimer=!0,this.timerStart$.next(!0)})))),(0,ir.x)(()=>{this.isIdleDetected=!1,this.idleDetected$.next(!1)}))))).subscribe(),this.setupTimer(this.timeout),this.setupPing(this.pingMillisec)}stopWatching(){this.stopTimer(),this.idleSubscription&&this.idleSubscription.unsubscribe()}stopTimer(){this.isInactivityTimer=!1,this.timerStart$.next(!1)}resetTimer(){this.stopTimer(),this.isTimeout=!1}onTimerStart(){return this.timerStart$.pipe((0,Fr.x)(),(0,Ds.w)(E=>E?this.timer$:(0,_s.of)(null)))}onIdleStatusChanged(){return this.idleDetected$.asObservable()}onTimeout(){return this.timeout$.pipe((0,qa.h)(E=>!!E),(0,Wo.b)(()=>this.isTimeout=!0),(0,ra.U)(()=>!0))}getConfigValue(){return{idle:this.idleMillisec/1e3,idleSensitivity:this.idleSensitivityMillisec/1e3,timeout:this.timeout,ping:this.pingMillisec/1e3}}setConfigValues(E){!this.idleSubscription||this.idleSubscription.closed?this.setConfig(E):console.error("Call stopWatching() before set config values")}setConfig(E){E.idle&&(this.idleMillisec=1e3*E.idle),E.ping&&(this.pingMillisec=1e3*E.ping),E.idleSensitivity&&(this.idleSensitivityMillisec=1e3*E.idleSensitivity),E.timeout&&(this.timeout=E.timeout)}setCustomActivityEvents(E){!this.idleSubscription||this.idleSubscription.closed?this.activityEvents$=E:console.error("Call stopWatching() before set custom activity events")}setupTimer(E){this._ngZone.runOutsideAngular(()=>{this.timer$=(0,_s.of)(()=>new Date).pipe((0,ra.U)(b=>b()),(0,Ds.w)(b=>os(1e3).pipe((0,ra.U)(()=>Math.round(((new Date).valueOf()-b.valueOf())/1e3)),(0,Wo.b)(Q=>{Q>=E&&this.timeout$.next(!0)}))))})}setupPing(E){this.ping$=os(E).pipe((0,qa.h)(()=>!this.isTimeout))}}ss.\u0275fac=function(E){return new(E||ss)(t.LFG(Ko,8),t.LFG(t.R0b))},ss.\u0275prov=t.Yz7({token:ss,factory:ss.\u0275fac,providedIn:"root"});class $r{static forRoot(E){return{ngModule:$r,providers:[{provide:Ko,useValue:E}]}}}$r.\u0275fac=function(E){return new(E||$r)},$r.\u0275mod=t.oAB({type:$r}),$r.\u0275inj=t.cJS({imports:[[]]});var Hn=f(3547),$i=f(9306),Ge=f(8377),ve=f(3505),nt=f(6722),Bt=f(2156),di=f(5892);const He=function(){return{initial:!1}};function tt(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"div",11),t.NdJ("click",function(){t.CHM(b);const xe=t.oxw();return t.KtG(xe.activeLink=xe.links[1].link)}),t._uU(1),t.qZA()}if(2&H){const b=t.oxw();t.s9C("routerLink",b.links[1].link),t.Q6J("active",b.activeLink===b.links[1].link)("state",t.DdM(4,He)),t.xp6(1),t.Oqu(b.links[1].name)}}function vt(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("click",function(){t.CHM(b);const xe=t.oxw();return t.KtG(xe.activeLink=xe.links[2].link)}),t._uU(1),t.qZA()}if(2&H){const b=t.oxw();t.s9C("routerLink",b.links[2].link),t.Q6J("active",b.activeLink===b.links[2].link),t.xp6(1),t.Oqu(b.links[2].name)}}class Ht{constructor(E,b){this.store=E,this.router=b,this.faUserCog=$i.gNZ,this.showBitcoind=!1,this.links=[{link:"app",name:"Application"},{link:"auth",name:"Authentication"},{link:"bconfig",name:"BitcoinD Config"}],this.activeLink="",this.unSubs=[new Vi.x,new Vi.x,new Vi.x]}ngOnInit(){const E=this.links.find(b=>this.router.url.includes(b.link));this.activeLink=E?E.link:this.links[0].link,this.router.events.pipe((0,cn.R)(this.unSubs[0]),(0,qa.h)(b=>b instanceof Hn.Av)).subscribe({next:b=>{const Q=this.links.find(xe=>b.urlAfterRedirects.includes(xe.link));this.activeLink=Q?Q.link:this.links[0].link}}),this.store.select(Ge.Yj).pipe((0,cn.R)(this.unSubs[1])).subscribe(b=>{this.appConfig=b}),this.store.select(Ge.dT).pipe((0,cn.R)(this.unSubs[2])).subscribe(b=>{this.showBitcoind=!1,this.selNode=b,this.selNode.settings&&this.selNode.settings.bitcoindConfigPath&&""!==this.selNode.settings.bitcoindConfigPath.trim()&&(this.showBitcoind=!0)})}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}}Ht.\u0275fac=function(E){return new(E||Ht)(t.Y36(Ri.yh),t.Y36(Hn.F0))},Ht.\u0275cmp=t.Xpm({type:Ht,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(E,b){if(1&E&&(t.TgZ(0,"div",0),t._UZ(1,"fa-icon",1),t.TgZ(2,"span",2),t._uU(3,"Settings"),t.qZA()(),t.TgZ(4,"div",3)(5,"mat-card")(6,"mat-card-content",4)(7,"nav",5)(8,"div",6),t.NdJ("click",function(){return b.activeLink=b.links[0].link}),t._uU(9),t.qZA(),t.YNc(10,tt,2,5,"div",7),t.YNc(11,vt,2,3,"div",8),t.qZA(),t._UZ(12,"mat-tab-nav-panel",null,9),t.TgZ(14,"div",10),t._UZ(15,"router-outlet"),t.qZA()()()()),2&E){const Q=t.MAs(13);t.xp6(1),t.Q6J("icon",b.faUserCog),t.xp6(6),t.Q6J("tabPanel",Q),t.xp6(1),t.s9C("routerLink",b.links[0].link),t.Q6J("active",b.activeLink===b.links[0].link),t.xp6(1),t.Oqu(b.links[0].name),t.xp6(1),t.Q6J("ngIf",!+b.appConfig.sso.rtlSSO),t.xp6(1),t.Q6J("ngIf",b.showBitcoind)}},dependencies:[Zi.O5,ve.BN,nt.xw,nt.Wh,nt.yH,Bt.a8,Bt.dn,di.BU,di.sW,di.Nj,Hn.lC,Hn.rH]});var Je=f(7731),Yt=f(7861),si=f(5043),ai=f(2508),Ci=f(4522),Ii=f(5074),Ji=f(7371),on=f(207),un=f(8822),Tn=f(3390);function Xa(H,E){if(1&H&&(t.TgZ(0,"mat-option",17),t._uU(1),t.qZA()),2&H){const b=E.$implicit;t.Q6J("value",b.index),t.xp6(1),t.AsE(" ",b.lnNode," (",b.lnImplementation,") ")}}function Pa(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"form",2,3)(2,"div",4),t._UZ(3,"fa-icon",5),t.TgZ(4,"span",6),t._uU(5,"Default Node"),t.qZA()(),t.TgZ(6,"div",7)(7,"div",8),t._UZ(8,"fa-icon",9),t.TgZ(9,"span"),t._uU(10,"The setting will apply after RTL server restarts."),t.qZA()(),t.TgZ(11,"div",10)(12,"mat-form-field",11)(13,"mat-select",12),t.NdJ("ngModelChange",function(xe){t.CHM(b);const pt=t.oxw();return t.KtG(pt.appConfig.defaultNodeIndex=xe)}),t.YNc(14,Xa,2,3,"mat-option",13),t.qZA()()(),t.TgZ(15,"div",14)(16,"div",10)(17,"button",15),t.NdJ("click",function(){t.CHM(b);const xe=t.oxw();return t.KtG(xe.onResetSettings())}),t._uU(18,"Reset"),t.qZA(),t.TgZ(19,"button",16),t.NdJ("click",function(){t.CHM(b);const xe=t.oxw();return t.KtG(xe.onUpdateSettings())}),t._uU(20,"Update"),t.qZA()()()()()}if(2&H){const b=t.oxw();t.xp6(3),t.Q6J("icon",b.faWindowRestore),t.xp6(5),t.Q6J("icon",b.faInfoCircle),t.xp6(5),t.Q6J("ngModel",b.appConfig.defaultNodeIndex),t.xp6(1),t.Q6J("ngForOf",b.appConfig.nodes)}}class fr{constructor(E,b){this.logger=E,this.store=b,this.faInfoCircle=$i.sqG,this.faWindowRestore=$i.wyP,this.faPlus=$i.r8p,this.previousDefaultNode=0,this.unSubs=[new Vi.x,new Vi.x]}ngOnInit(){this.store.select(Ge.Yj).pipe((0,cn.R)(this.unSubs[0])).subscribe(E=>{this.appConfig=E,this.previousDefaultNode=this.appConfig.defaultNodeIndex,this.logger.info(E)})}onAddNewNode(){this.logger.warn("ADD NEW NODE")}onUpdateSettings(){const E=this.appConfig.defaultNodeIndex?this.appConfig.defaultNodeIndex:this.appConfig&&this.appConfig.nodes&&this.appConfig.nodes.length&&this.appConfig.nodes.length>0&&this.appConfig.nodes[0].index?+this.appConfig.nodes[0].index:-1;this.store.dispatch((0,Yt.zQ)({payload:{uiMessage:Je.m6.UPDATE_DEFAULT_NODE_SETTING,defaultNodeIndex:E}}))}onResetSettings(){this.appConfig.defaultNodeIndex=this.previousDefaultNode}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(),E.complete()})}}fr.\u0275fac=function(E){return new(E||fr)(t.Y36(si.mQ),t.Y36(Ri.yh))},fr.\u0275cmp=t.Xpm({type:fr,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","fxLayout","row","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(E,b){1&E&&(t.TgZ(0,"div",0),t.YNc(1,Pa,21,4,"form",1),t.qZA()),2&E&&(t.xp6(1),t.Q6J("ngIf",b.appConfig.nodes&&b.appConfig.nodes.length&&b.appConfig.nodes.length>0))},dependencies:[Zi.sg,Zi.O5,ai._Y,ai.JJ,ai.JL,ai.On,ai.F,ve.BN,nt.xw,nt.Wh,nt.yH,Ci.lW,Ii.KE,Ji.gD,on.ey,un.$V,Tn.h]});var _r=f(9591),Ha=f(9295),Ia=f(4481),Kr=f(74),Ja=f(3093),Go=f(930),Gr=f(1267),Zo=f(4193),Ea=f(6021),Rd=f(6895);const eo=["stepper"];function lc(H,E){if(1&H&&t._uU(0),2&H){const b=t.oxw();t.Oqu(b.passwordFormLabel)}}function Gl(H,E){1&H&&(t.TgZ(0,"mat-error"),t._uU(1,"Password is required."),t.qZA())}function Zl(H,E){if(1&H&&t._uU(0),2&H){const b=t.oxw(2);t.Oqu(b.secretFormLabel)}}function Fc(H,E){if(1&H&&t._UZ(0,"qr-code",33),2&H){const b=t.oxw(2);t.Q6J("value",b.otpauth)("size",180)("errorCorrectionLevel","L")}}function Gs(H,E){1&H&&(t.TgZ(0,"mat-error"),t._uU(1,"Secret Code is required."),t.qZA())}function Zs(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"mat-step",10)(1,"form",22),t.YNc(2,Zl,1,1,"ng-template",23),t.TgZ(3,"div",24),t.YNc(4,Fc,1,3,"qr-code",25),t.qZA(),t.TgZ(5,"div",26),t._UZ(6,"fa-icon",27),t.TgZ(7,"span"),t._uU(8,"You can use a compatible authentication app to get an authentication code when you log in to RTL. e.g.: Google Authenticator."),t.qZA()(),t.TgZ(9,"div",28)(10,"mat-form-field",13)(11,"mat-label"),t._uU(12,"Secret Code"),t.qZA(),t._UZ(13,"input",29),t.TgZ(14,"fa-icon",30),t.NdJ("copied",function(xe){t.CHM(b);const pt=t.oxw();return t.KtG(pt.onCopySecret(xe))}),t.qZA(),t.YNc(15,Gs,2,0,"mat-error",15),t.qZA()(),t.TgZ(16,"div",31)(17,"button",32),t._uU(18,"Next"),t.qZA()()()()}if(2&H){const b=t.oxw();t.Q6J("stepControl",b.secretFormGroup)("editable",b.flgEditable),t.xp6(1),t.Q6J("formGroup",b.secretFormGroup),t.xp6(3),t.Q6J("ngIf",b.otpauth),t.xp6(2),t.Q6J("icon",b.faInfoCircle),t.xp6(8),t.Q6J("icon",b.faCopy)("payload",null==b.secretFormGroup||null==b.secretFormGroup.controls||null==b.secretFormGroup.controls.secret?null:b.secretFormGroup.controls.secret.value),t.xp6(1),t.Q6J("ngIf",null==b.secretFormGroup||null==b.secretFormGroup.controls||null==b.secretFormGroup.controls.secret||null==b.secretFormGroup.controls.secret.errors?null:b.secretFormGroup.controls.secret.errors.required)}}function dl(H,E){if(1&H&&t._uU(0),2&H){const b=t.oxw(2);t.Oqu(b.tokenFormLabel)}}function dc(H,E){1&H&&(t.TgZ(0,"mat-error"),t._uU(1,"Token is required."),t.qZA())}function hc(H,E){1&H&&(t.TgZ(0,"mat-error"),t._uU(1,"Token is invalid."),t.qZA())}function hh(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"div",7)(1,"div",28)(2,"mat-form-field",13)(3,"mat-label"),t._uU(4,"Token"),t.qZA(),t._UZ(5,"input",37),t.YNc(6,dc,2,0,"mat-error",15),t.YNc(7,hc,2,0,"mat-error",15),t.qZA()(),t.TgZ(8,"div",31)(9,"button",38),t.NdJ("click",function(){t.CHM(b);const xe=t.oxw(2);return t.KtG(xe.onVerifyToken())}),t._uU(10),t.qZA()()()}if(2&H){const b=t.oxw(2);t.xp6(6),t.Q6J("ngIf",null==b.tokenFormGroup||null==b.tokenFormGroup.controls||null==b.tokenFormGroup.controls.token||null==b.tokenFormGroup.controls.token.errors?null:b.tokenFormGroup.controls.token.errors.required),t.xp6(1),t.Q6J("ngIf",null==b.tokenFormGroup||null==b.tokenFormGroup.controls||null==b.tokenFormGroup.controls.token||null==b.tokenFormGroup.controls.token.errors?null:b.tokenFormGroup.controls.token.errors.notValid),t.xp6(3),t.Oqu(null!=b.tokenFormGroup&&null!=b.tokenFormGroup.controls&&null!=b.tokenFormGroup.controls.token&&null!=b.tokenFormGroup.controls.token.errors&&b.tokenFormGroup.controls.token.errors.notValid?"Retry":"Verify")}}function Bd(H,E){1&H&&(t.TgZ(0,"div")(1,"strong"),t._uU(2,"Success! You are all set."),t.qZA()())}function uc(H,E){if(1&H&&(t.TgZ(0,"mat-step",34)(1,"form",35),t.YNc(2,dl,1,1,"ng-template",12),t.YNc(3,hh,11,3,"div",36),t.YNc(4,Bd,3,0,"div",15),t.qZA()()),2&H){const b=t.oxw();t.Q6J("stepControl",b.tokenFormGroup),t.xp6(1),t.Q6J("formGroup",b.tokenFormGroup),t.xp6(2),t.Q6J("ngIf",!b.flgValidated||!b.isTokenValid),t.xp6(1),t.Q6J("ngIf",b.flgValidated&&b.isTokenValid)}}function mc(H,E){if(1&H&&t._uU(0),2&H){const b=t.oxw(2);t.Oqu(b.disableFormLabel)}}function pc(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"div",7)(1,"div",39),t._UZ(2,"fa-icon",27),t.TgZ(3,"span"),t._uU(4,"You are about to disable two-factor authentication security from RTL. Are you sure you want to turn it off?"),t.qZA()(),t.TgZ(5,"div",31)(6,"button",38),t.NdJ("click",function(){t.CHM(b);const xe=t.oxw(2);return t.KtG(xe.onVerifyToken())}),t._uU(7,"Disable"),t.qZA()()()}if(2&H){const b=t.oxw(2);t.xp6(2),t.Q6J("icon",b.faExclamationTriangle)}}function uh(H,E){1&H&&(t.TgZ(0,"div")(1,"strong"),t._uU(2,"Two factor authentication removed from RTL."),t.qZA()())}function mh(H,E){if(1&H&&(t.TgZ(0,"mat-step",34)(1,"form",35),t.YNc(2,mc,1,1,"ng-template",12),t.YNc(3,pc,8,1,"div",36),t.YNc(4,uh,3,0,"div",15),t.qZA()()),2&H){const b=t.oxw();t.Q6J("stepControl",b.disableFormGroup),t.xp6(1),t.Q6J("formGroup",b.disableFormGroup),t.xp6(2),t.Q6J("ngIf",!b.flgValidated||!b.isTokenValid),t.xp6(1),t.Q6J("ngIf",b.flgValidated&&b.isTokenValid)}}class fc{constructor(E,b,Q,xe,pt,Ut){this.dialogRef=E,this.data=b,this.store=Q,this.formBuilder=xe,this.rtlEffects=pt,this.snackBar=Ut,this.faExclamationTriangle=$i.eHv,this.faCopy=$i.kZ_,this.faInfoCircle=$i.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:["",[ai.kI.required]],password:["",[ai.kI.required]]}),this.secretFormGroup=this.formBuilder.group({secret:[{value:"",disabled:!0},ai.kI.required]}),this.tokenFormGroup=this.formBuilder.group({token:["",ai.kI.required]}),this.disableFormGroup=this.formBuilder.group({}),this.unSubs=[new Vi.x,new Vi.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},ai.kI.required]})}generateSecret(){const E=Kr.authenticator.generateSecret();return this.otpauth=Kr.authenticator.keyuri("","Ride The Lightning (RTL)",E),E}onAuthenticate(){if(!this.passwordFormGroup.controls.password.value)return!0;this.flgValidated=!1,this.store.dispatch((0,Yt.QO)({payload:_r(this.passwordFormGroup.controls.password.value).toString()})),this.rtlEffects.isAuthorizedRes.pipe((0,Ha.q)(1)).subscribe(E=>{"ERROR"!==E?(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(E){this.snackBar.open("Secret code "+this.secretFormGroup.controls.secret.value+" copied.")}onVerifyToken(){if(this.appConfig?.enable2FA)this.store.dispatch((0,Yt.Uy)({payload:{secret2fa:""}})),this.generateSecret(),this.isTokenValid=!0;else{if(!this.tokenFormGroup.controls.token.value)return!0;if(this.isTokenValid=Kr.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,Yt.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(E){switch(E.selectedIndex){case 0:default:this.passwordFormLabel="Authenticate with your RTL password";break;case 1:case 2:this.passwordFormLabel="User authenticated successfully"}E.selectedIndex<E.previouslySelectedIndex&&0===E.selectedIndex&&this.passwordFormGroup.controls.hiddenPassword.setValue("")}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(),E.complete()})}}fc.\u0275fac=function(E){return new(E||fc)(t.Y36(Ia.so),t.Y36(Ia.WI),t.Y36(Ri.yh),t.Y36(ai.QS),t.Y36(Ja.V),t.Y36(Go.ux))},fc.\u0275cmp=t.Xpm({type:fc,selectors:[["rtl-two-factor-auth"]],viewQuery:function(E,b){if(1&E&&t.Gf(eo,5),2&E){let Q;t.iGM(Q=t.CRH())&&(b.stepper=Q.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(E,b){1&E&&(t.TgZ(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),t._uU(5,"Setup Two Factor Authentication"),t.qZA()(),t.TgZ(6,"button",5),t._uU(7,"X"),t.qZA()(),t.TgZ(8,"mat-card-content",6)(9,"div",7)(10,"mat-vertical-stepper",8,9),t.NdJ("selectionChange",function(xe){return b.stepSelectionChanged(xe)}),t.TgZ(12,"mat-step",10)(13,"form",11),t.YNc(14,lc,1,1,"ng-template",12),t.TgZ(15,"div",0)(16,"mat-form-field",13)(17,"mat-label"),t._uU(18,"Password"),t.qZA(),t._UZ(19,"input",14),t.YNc(20,Gl,2,0,"mat-error",15),t.qZA()(),t.TgZ(21,"div",16)(22,"button",17),t.NdJ("click",function(){return b.onAuthenticate()}),t._uU(23,"Confirm"),t.qZA()()()(),t.YNc(24,Zs,19,8,"mat-step",18),t.YNc(25,uc,5,4,"mat-step",19),t.YNc(26,mh,5,4,"mat-step",19),t.qZA(),t.TgZ(27,"div",20)(28,"button",21),t._uU(29),t.qZA()()()()()()),2&E&&(t.xp6(6),t.Q6J("mat-dialog-close",!1),t.xp6(4),t.Q6J("linear",!0),t.xp6(2),t.Q6J("stepControl",b.passwordFormGroup)("editable",b.flgEditable),t.xp6(1),t.Q6J("formGroup",b.passwordFormGroup),t.xp6(7),t.Q6J("ngIf",null==b.passwordFormGroup||null==b.passwordFormGroup.controls||null==b.passwordFormGroup.controls.password||null==b.passwordFormGroup.controls.password.errors?null:b.passwordFormGroup.controls.password.errors.required),t.xp6(4),t.Q6J("ngIf",!b.showDisableStepper),t.xp6(1),t.Q6J("ngIf",!b.showDisableStepper),t.xp6(1),t.Q6J("ngIf",b.showDisableStepper),t.xp6(2),t.Q6J("mat-dialog-close",!1),t.xp6(1),t.Oqu(b.flgValidated&&b.isTokenValid?"Close":"Cancel"))},dependencies:[Zi.O5,ai._Y,ai.Fj,ai.JJ,ai.JL,ai.Q7,ai.sg,ai.u,ve.BN,nt.xw,nt.Wh,nt.yH,Ia.ZT,Ci.lW,Bt.dn,Bt.dk,Gr.Nt,Ii.KE,Ii.hX,Ii.TO,Ii.R9,Zo.C0,Zo.VY,Zo.Vq,Zo.Ic,Ea.uU,Rd.y,Tn.h]});var Yo=f(5986),Ts=f(1528);const W1=["authForm"];function Nd(H,E){1&H&&(t.TgZ(0,"mat-error"),t._uU(1,"Current password is required."),t.qZA())}function K1(H,E){if(1&H&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&H){const b=t.oxw(2);t.xp6(1),t.Oqu(b.errorMsg)}}function Fd(H,E){if(1&H&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&H){const b=t.oxw(2);t.xp6(1),t.Oqu(b.errorConfirmMsg)}}function Yl(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"form",10,11)(2,"div",12),t._UZ(3,"fa-icon",4),t.TgZ(4,"span",5),t._uU(5,"Password"),t.qZA()(),t.TgZ(6,"mat-form-field")(7,"mat-label"),t._uU(8,"Current Password"),t.qZA(),t.TgZ(9,"input",13),t.NdJ("ngModelChange",function(xe){t.CHM(b);const pt=t.oxw();return t.KtG(pt.currPassword=xe)}),t.qZA(),t.YNc(10,Nd,2,0,"mat-error",14),t.qZA(),t.TgZ(11,"mat-form-field")(12,"mat-label"),t._uU(13,"New Password"),t.qZA(),t.TgZ(14,"input",15),t.NdJ("ngModelChange",function(xe){t.CHM(b);const pt=t.oxw();return t.KtG(pt.newPassword=xe)}),t.qZA(),t.YNc(15,K1,2,1,"mat-error",14),t.qZA(),t.TgZ(16,"mat-form-field")(17,"mat-label"),t._uU(18,"Confirm New Password"),t.qZA(),t.TgZ(19,"input",16),t.NdJ("ngModelChange",function(xe){t.CHM(b);const pt=t.oxw();return t.KtG(pt.confirmPassword=xe)}),t.qZA(),t.YNc(20,Fd,2,1,"mat-error",14),t.qZA(),t.TgZ(21,"div",17)(22,"button",18),t.NdJ("click",function(){t.CHM(b);const xe=t.oxw();return t.KtG(xe.onResetPassword())}),t._uU(23,"Reset"),t.qZA(),t.TgZ(24,"button",19),t.NdJ("click",function(){t.CHM(b);const xe=t.oxw();return t.KtG(xe.onChangePassword())}),t._uU(25,"Change Password"),t.qZA()(),t.TgZ(26,"div",20),t._UZ(27,"mat-divider"),t.qZA()()}if(2&H){const b=t.oxw();t.xp6(3),t.Q6J("icon",b.faLock),t.xp6(6),t.Q6J("ngModel",b.currPassword),t.xp6(1),t.Q6J("ngIf",!b.currPassword),t.xp6(4),t.Q6J("ngModel",b.newPassword),t.xp6(1),t.Q6J("ngIf",b.matchOldAndNewPasswords()),t.xp6(4),t.Q6J("ngModel",b.confirmPassword),t.xp6(1),t.Q6J("ngIf",b.matchNewPasswords())}}class ks{constructor(E,b,Q,xe,pt){this.logger=E,this.store=b,this.actions=Q,this.router=xe,this.sessionService=pt,this.faInfoCircle=$i.sqG,this.faUserLock=$i.FJU,this.faUserClock=$i.hnx,this.faLock=$i.byT,this.currPassword="",this.newPassword="",this.confirmPassword="",this.errorMsg="",this.errorConfirmMsg="",this.initializeNodeData=!1,this.unSubs=[new Vi.x,new Vi.x,new Vi.x]}ngOnInit(){this.initializeNodeData="true"===this.sessionService.getItem("defaultPassword"),this.store.select(Ge.Yj).pipe((0,cn.R)(this.unSubs[0])).subscribe(E=>{this.appConfig=E,this.logger.info(this.appConfig)}),this.store.select(Ge.dT).pipe((0,cn.R)(this.unSubs[1])).subscribe(E=>{this.selNode=E}),this.actions.pipe((0,cn.R)(this.unSubs[2]),(0,qa.h)(E=>E.type===Je.pg.RESET_PASSWORD_RES)).subscribe(E=>{if(Je.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||Je.kO.includes(this.newPassword.toLowerCase()))return!0;this.store.dispatch((0,Yt.c0)({payload:{currPassword:_r(this.currPassword).toString(),newPassword:_r(this.newPassword).toString()}}))}matchOldAndNewPasswords(){let E=!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.",E=!0):Je.kO.includes(this.newPassword.toLowerCase())?(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg=Je.kO?.reduce((b,Q,xe)=>xe<Je.kO.length-1?b+Q+'" / "':b+Q+'".','Password cannot be "'),E=!0):(this.form.controls.newpassword.setErrors(null),this.errorMsg="",E=!1):(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg="New password is required.",E=!0)),E}matchNewPasswords(){let E=!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.",E=!0):(this.form.controls.confirmpassword.setErrors(null),this.errorConfirmMsg="",E=!1):(this.form.controls.confirmpassword.setErrors({invalid:!0}),this.errorConfirmMsg="Confirm password is required.",E=!0)),E}on2FAuth(){this.store.dispatch((0,Yt.qR)({payload:{data:{appConfig:this.appConfig,component:fc}}}))}onResetPassword(){this.form.resetForm()}ngOnDestroy(){this.initializeNodeData&&this.store.dispatch((0,Yt.fk)({payload:{uiMessage:Je.m6.NO_SPINNER,prevLnNodeIndex:-1,currentLnNode:this.selNode,isInitialSetup:!0}})),this.unSubs.forEach(E=>{E.next(),E.complete()})}}ks.\u0275fac=function(E){return new(E||ks)(t.Y36(si.mQ),t.Y36(Ri.yh),t.Y36(Jr.eX),t.Y36(Hn.F0),t.Y36(Yo.m))},ks.\u0275cmp=t.Xpm({type:ks,selectors:[["rtl-auth-settings"]],viewQuery:function(E,b){if(1&E&&t.Gf(W1,5),2&E){let Q;t.iGM(Q=t.CRH())&&(b.form=Q.first)}},decls:14,vars:4,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"padding-gap-x-large"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","page-sub-title-container mt-1",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],[1,"mb-1","settings-container","page-sub-title-container","mt-1"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],[1,"alert","alert-info"],[1,"mt-1","mr-1","alert-icon",3,"icon"],[1,"mt-1"],["mat-flat-button","","color","primary","tabindex","6",1,"mb-2",3,"click"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"page-sub-title-container","mt-1"],["authForm","ngForm"],["fxLayout","row","fxLayoutAlign","start start",1,"mb-2"],["autoFocus","","matInput","","type","password","id","currpassword","name","currpassword","tabindex","1","required","",3,"ngModel","ngModelChange"],[4,"ngIf"],["matInput","","type","password","id","newpassword","name","newpassword","tabindex","2","required","",3,"ngModel","ngModelChange"],["matInput","","type","password","id","confirmpassword","name","confirmpassword","tabindex","3","required","",3,"ngModel","ngModelChange"],["fxLayout","row","fxLayoutAlign","start start",1,"mt-1"],["mat-stroked-button","","color","primary","type","reset","tabindex","4",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","5","type","submit",3,"click"],["fxLayout","column","fxFlex","100","fxLayoutAlign","end stretch",1,"my-2"]],template:function(E,b){1&E&&(t.TgZ(0,"div",0),t.YNc(1,Yl,28,7,"form",1),t.TgZ(2,"div",2)(3,"div",3),t._UZ(4,"fa-icon",4),t.TgZ(5,"span",5),t._uU(6,"Two Factor Authentication"),t.qZA()(),t.TgZ(7,"div",6),t._UZ(8,"fa-icon",7),t.TgZ(9,"span"),t._uU(10,"Protect your account from unauthorized access by requiring a second authentication method in addition to your password."),t.qZA()(),t.TgZ(11,"div",8)(12,"button",9),t.NdJ("click",function(){return b.on2FAuth()}),t._uU(13),t.qZA()()()()),2&E&&(t.xp6(1),t.Q6J("ngIf",null==b.appConfig?null:b.appConfig.allowPasswordUpdate),t.xp6(3),t.Q6J("icon",b.faUserClock),t.xp6(4),t.Q6J("icon",b.faInfoCircle),t.xp6(5),t.Oqu(b.appConfig.enable2FA?"Disable 2FA":"Enable 2FA"))},dependencies:[Zi.O5,ai._Y,ai.Fj,ai.JJ,ai.JL,ai.Q7,ai.On,ai.F,ve.BN,nt.xw,nt.Wh,nt.yH,Ci.lW,Gr.Nt,Ii.KE,Ii.hX,Ii.TO,Ts.d,Tn.h]});var bo=f(6517);function zc(H,E){1&H&&t._UZ(0,"mat-divider",7)}function Hc(H,E){if(1&H&&(t.TgZ(0,"div",4)(1,"pre",5),t._uU(2),t.ALo(3,"json"),t.qZA(),t.YNc(4,zc,1,0,"mat-divider",6),t.qZA()),2&H){const b=t.oxw();t.xp6(2),t.Oqu(t.lcZ(3,2,b.configData)),t.xp6(2),t.Q6J("ngIf",""!==b.configData)}}function zd(H,E){if(1&H&&(t.TgZ(0,"h2"),t._uU(1),t.qZA()),2&H){const b=t.oxw().$implicit;t.xp6(1),t.Oqu(b)}}function _c(H,E){if(1&H&&(t.TgZ(0,"h4",14),t._uU(1),t.qZA()),2&H){const b=t.oxw().$implicit;t.xp6(1),t.Oqu(b)}}function uo(H,E){1&H&&t._UZ(0,"mat-divider",15),2&H&&t.Q6J("inset",!0)}function hl(H,E){if(1&H&&(t.TgZ(0,"mat-list-item")(1,"mat-card-subtitle",7),t.YNc(2,zd,2,1,"h2",10),t.qZA(),t.TgZ(3,"mat-card-subtitle",11),t.YNc(4,_c,2,1,"h4",12),t.qZA(),t.YNc(5,uo,1,1,"mat-divider",13),t.qZA()),2&H){const b=E.$implicit;t.xp6(2),t.Q6J("ngIf",b.indexOf("[")>=0),t.xp6(2),t.Q6J("ngIf",b.indexOf("[")<0),t.xp6(1),t.Q6J("ngIf",b.indexOf("[")<0)}}function Ga(H,E){if(1&H&&(t.TgZ(0,"div",8)(1,"mat-list"),t.YNc(2,hl,6,3,"mat-list-item",9),t.qZA()()),2&H){const b=t.oxw();t.xp6(2),t.Q6J("ngForOf",b.configData)}}class Ql{constructor(E,b,Q){this.store=E,this.rtlEffects=b,this.router=Q,this.configData="",this.fileFormat="INI",this.faCog=$i.b7W,this.unSubs=[new Vi.x,new Vi.x]}ngOnInit(){this.store.dispatch((0,Yt.Q2)({payload:"bitcoind"})),this.rtlEffects.showLnConfig.pipe((0,cn.R)(this.unSubs[1])).subscribe(E=>{const b=E.data;this.fileFormat=E.format,""===b||!b||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==b&&b&&"JSON"===this.fileFormat?this.configData=b:this.configData="":this.configData=b.split("\n")})}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}}function G1(H,E){1&H&&(t.TgZ(0,"mat-error"),t._uU(1,"Password is required."),t.qZA())}Ql.\u0275fac=function(E){return new(E||Ql)(t.Y36(Ri.yh),t.Y36(Ja.V),t.Y36(Hn.F0))},Ql.\u0275cmp=t.Xpm({type:Ql,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(E,b){1&E&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,Hc,5,4,"div",2),t.YNc(3,Ga,3,1,"div",3),t.qZA()()),2&E&&(t.xp6(2),t.Q6J("ngIf",""!==b.configData&&"JSON"===b.fileFormat),t.xp6(1),t.Q6J("ngIf",""!==b.configData&&("INI"===b.fileFormat||"HOCON"===b.fileFormat)))},dependencies:[Zi.sg,Zi.O5,nt.xw,nt.Wh,nt.yH,Bt.$j,bo.i$,bo.Tg,Ts.d,Zi.Ts],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]});class Ys{constructor(E,b,Q){this.dialogRef=E,this.store=b,this.rtlEffects=Q,this.password="",this.isAuthenticated=!1,this.unSubs=[new Vi.x,new Vi.x]}ngOnInit(){this.rtlEffects.isAuthorizedRes.pipe((0,Ha.q)(1)).subscribe(E=>{"ERROR"!==E?(this.isAuthenticated=!0,this.store.dispatch((0,Yt.M6)({payload:this.isAuthenticated}))):this.isAuthenticated=!1})}onAuthenticate(){if(!this.password)return!0;this.store.dispatch((0,Yt.QO)({payload:_r(this.password)}))}onClose(){this.store.dispatch((0,Yt.M6)({payload:this.isAuthenticated}))}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}}Ys.\u0275fac=function(E){return new(E||Ys)(t.Y36(Ia.so),t.Y36(Ri.yh),t.Y36(Ja.V))},Ys.\u0275cmp=t.Xpm({type:Ys,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(E,b){1&E&&(t.TgZ(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),t._uU(5,"Authenticate with your RTL Password"),t.qZA()(),t.TgZ(6,"button",5),t.NdJ("click",function(){return b.onClose()}),t._uU(7,"X"),t.qZA()(),t.TgZ(8,"mat-card-content",6)(9,"form",7)(10,"mat-form-field")(11,"mat-label"),t._uU(12,"Password"),t.qZA(),t.TgZ(13,"input",8),t.NdJ("ngModelChange",function(xe){return b.password=xe}),t.qZA(),t.YNc(14,G1,2,0,"mat-error",9),t.qZA(),t.TgZ(15,"div",10)(16,"button",11),t.NdJ("click",function(){return b.onAuthenticate()}),t._uU(17,"Confirm"),t.qZA()()()()()()),2&E&&(t.xp6(13),t.Q6J("ngModel",b.password),t.xp6(1),t.Q6J("ngIf",!b.password))},dependencies:[Zi.O5,ai._Y,ai.Fj,ai.JJ,ai.JL,ai.Q7,ai.On,ai.F,nt.xw,nt.Wh,nt.yH,Ci.lW,Bt.dn,Bt.dk,Gr.Nt,Ii.KE,Ii.hX,Ii.TO,Tn.h]});const Z1=function(){return{initial:!1}};function Y1(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"div",12),t.NdJ("click",function(){t.CHM(b);const xe=t.oxw();return t.KtG(xe.activeLink=xe.links[2].link)}),t._uU(1),t.qZA()}if(2&H){const b=t.oxw();t.s9C("routerLink",b.links[2].link),t.Q6J("active",b.activeLink===b.links[2].link)("state",t.DdM(4,Z1)),t.xp6(1),t.Oqu(b.links[2].name)}}function Qs(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("click",function(){t.CHM(b);const xe=t.oxw();return t.KtG(xe.activeLink=xe.links[3].link)}),t._uU(1),t.qZA()}if(2&H){const b=t.oxw();t.s9C("routerLink",b.links[3].link),t.Q6J("active",b.activeLink===b.links[3].link),t.xp6(1),t.Oqu(b.links[3].name)}}function Ae(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"div",13),t.NdJ("click",function(){t.CHM(b);const xe=t.oxw();return t.KtG(xe.showLnConfigClicked())}),t._uU(1),t.qZA()}if(2&H){const b=t.oxw();t.Q6J("active",b.activeLink===b.links[4].link),t.xp6(1),t.Oqu(b.links[4].name)}}class te{constructor(E,b,Q,xe){this.store=E,this.router=b,this.rtlEffects=Q,this.activatedRoute=xe,this.faTools=$i.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 Vi.x,new Vi.x,new Vi.x]}ngOnInit(){const E=this.links.find(b=>this.router.url.includes(b.link));this.activeLink=E?E.link:this.links[0].link,this.router.events.pipe((0,cn.R)(this.unSubs[0]),(0,qa.h)(b=>b instanceof Hn.Av)).subscribe({next:b=>{const Q=this.links.find(xe=>b.urlAfterRedirects.includes(xe.link));this.activeLink=Q?Q.link:this.links[0].link}}),this.store.select(Ge.dT).pipe((0,cn.R)(this.unSubs[1])).subscribe(b=>{switch(this.showLnConfig=!1,this.selNode=b,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.store.dispatch((0,Yt.qR)({payload:{maxWidth:"50rem",data:{component:Ys}}})),this.rtlEffects.closeAlert.pipe((0,cn.R)(this.unSubs[1])).subscribe(E=>{E&&(this.activeLink=this.links[4].link,this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute}))})}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}}function Ee(H,E){1&H&&t._UZ(0,"mat-divider",7)}function et(H,E){if(1&H&&(t.TgZ(0,"div",4)(1,"pre",5),t._uU(2),t.ALo(3,"json"),t.qZA(),t.YNc(4,Ee,1,0,"mat-divider",6),t.qZA()),2&H){const b=t.oxw();t.xp6(2),t.Oqu(t.lcZ(3,2,b.configData)),t.xp6(2),t.Q6J("ngIf",""!==b.configData)}}function lt(H,E){if(1&H&&(t.TgZ(0,"h2"),t._uU(1),t.qZA()),2&H){const b=t.oxw().$implicit;t.xp6(1),t.Oqu(b)}}function Ct(H,E){if(1&H&&(t.TgZ(0,"h4",14),t._uU(1),t.qZA()),2&H){const b=t.oxw().$implicit;t.xp6(1),t.Oqu(b)}}function Qt(H,E){1&H&&t._UZ(0,"mat-divider",15),2&H&&t.Q6J("inset",!0)}function xi(H,E){if(1&H&&(t.TgZ(0,"mat-list-item")(1,"mat-card-subtitle",7),t.YNc(2,lt,2,1,"h2",10),t.qZA(),t.TgZ(3,"mat-card-subtitle",11),t.YNc(4,Ct,2,1,"h4",12),t.qZA(),t.YNc(5,Qt,1,1,"mat-divider",13),t.qZA()),2&H){const b=E.$implicit;t.xp6(2),t.Q6J("ngIf",b.indexOf("[")>=0),t.xp6(2),t.Q6J("ngIf",b.indexOf("[")<0),t.xp6(1),t.Q6J("ngIf",b.indexOf("[")<0)}}function Ui(H,E){if(1&H&&(t.TgZ(0,"div",8)(1,"mat-list"),t.YNc(2,xi,6,3,"mat-list-item",9),t.qZA()()),2&H){const b=t.oxw();t.xp6(2),t.Q6J("ngForOf",b.configData)}}te.\u0275fac=function(E){return new(E||te)(t.Y36(Ri.yh),t.Y36(Hn.F0),t.Y36(Ja.V),t.Y36(Hn.gz))},te.\u0275cmp=t.Xpm({type:te,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(E,b){if(1&E&&(t.TgZ(0,"div",0),t._UZ(1,"fa-icon",1),t.TgZ(2,"span",2),t._uU(3,"Node Config"),t.qZA()(),t.TgZ(4,"div",3)(5,"mat-card")(6,"mat-card-content",4)(7,"nav",5)(8,"div",6),t.NdJ("click",function(){return b.activeLink=b.links[0].link}),t._uU(9),t.qZA(),t.TgZ(10,"div",6),t.NdJ("click",function(){return b.activeLink=b.links[1].link}),t._uU(11),t.qZA(),t.YNc(12,Y1,2,5,"div",7),t.YNc(13,Qs,2,3,"div",8),t.YNc(14,Ae,2,2,"div",9),t.qZA(),t._UZ(15,"mat-tab-nav-panel",null,10),t.TgZ(17,"div",11),t._UZ(18,"router-outlet"),t.qZA()()()()),2&E){const Q=t.MAs(16);t.xp6(1),t.Q6J("icon",b.faTools),t.xp6(6),t.Q6J("tabPanel",Q),t.xp6(1),t.s9C("routerLink",b.links[0].link),t.Q6J("active",b.activeLink===b.links[0].link),t.xp6(1),t.Oqu(b.links[0].name),t.xp6(1),t.s9C("routerLink",b.links[1].link),t.Q6J("active",b.activeLink===b.links[1].link),t.xp6(1),t.Oqu(b.links[1].name),t.xp6(1),t.Q6J("ngIf","LND"===(null==b.selNode||null==b.selNode.lnImplementation?null:b.selNode.lnImplementation.toUpperCase())),t.xp6(1),t.Q6J("ngIf","CLN"===(null==b.selNode||null==b.selNode.lnImplementation?null:b.selNode.lnImplementation.toUpperCase())),t.xp6(1),t.Q6J("ngIf",b.showLnConfig)}},dependencies:[Zi.O5,ve.BN,nt.xw,nt.Wh,nt.yH,Bt.a8,Bt.dn,di.BU,di.sW,di.Nj,Hn.lC,Hn.rH]});class an{constructor(E,b,Q){this.store=E,this.rtlEffects=b,this.router=Q,this.configData="",this.fileFormat="INI",this.faCog=$i.b7W,this.unSubs=[new Vi.x,new Vi.x]}ngOnInit(){this.store.dispatch((0,Yt.Q2)({payload:"ln"})),this.rtlEffects.showLnConfig.pipe((0,cn.R)(this.unSubs[1])).subscribe(E=>{const b=E.data;this.fileFormat=E.format,""===b||!b||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==b&&b&&"JSON"===this.fileFormat?this.configData=b:this.configData="":this.configData=b.split("\n")})}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}}an.\u0275fac=function(E){return new(E||an)(t.Y36(Ri.yh),t.Y36(Ja.V),t.Y36(Hn.F0))},an.\u0275cmp=t.Xpm({type:an,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(E,b){1&E&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,et,5,4,"div",2),t.YNc(3,Ui,3,1,"div",3),t.qZA()()),2&E&&(t.xp6(2),t.Q6J("ngIf",""!==b.configData&&"JSON"===b.fileFormat),t.xp6(1),t.Q6J("ngIf",""!==b.configData&&("INI"===b.fileFormat||"HOCON"===b.fileFormat)))},dependencies:[Zi.sg,Zi.O5,nt.xw,nt.Wh,nt.yH,Bt.$j,bo.i$,bo.Tg,Ts.d,Zi.Ts],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]});var pn=f(2994),En=f(429),Nn=f(6523),Ir=f(62),nr=f(3704),La=f(3012),yo=f(2922),Lr=f(4714);function As(H,E){if(1&H&&(t.TgZ(0,"mat-option",35),t._uU(1),t.qZA()),2&H){const b=E.$implicit;t.Q6J("value",b.id),t.xp6(1),t.hij(" ",b.id," ")}}function js(H,E){1&H&&(t.TgZ(0,"mat-error"),t._uU(1,"Currency unit is required."),t.qZA())}function Qo(H,E){if(1&H&&(t.TgZ(0,"mat-radio-button",36),t._uU(1),t.ALo(2,"titlecase"),t.qZA()),2&H){const b=E.$implicit,Q=t.oxw();t.Q6J("value",b)("checked",Q.selNode.settings.userPersona===b),t.xp6(1),t.hij(" ",t.lcZ(2,3,b)," ")}}function xo(H,E){if(1&H&&(t.TgZ(0,"mat-radio-button",37),t._uU(1),t.qZA()),2&H){const b=E.$implicit;t.Q6J("value",b),t.xp6(1),t.hij("",b.name," ")}}const ku=function(H){return{skin:!0,"selected-color":H}};function ph(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"span",38)(1,"div",39),t.NdJ("click",function(){const pt=t.CHM(b).$implicit,Ut=t.oxw();return t.KtG(Ut.changeThemeColor(pt.id))}),t.ALo(2,"lowercase"),t.qZA(),t._uU(3),t.qZA()}if(2&H){const b=E.$implicit,Q=t.oxw();t.xp6(1),t.Tol(t.lcZ(2,4,b.id)),t.Q6J("ngClass",t.VKq(6,ku,Q.selectedThemeColor===b.id)),t.xp6(2),t.hij(" ",b.name," ")}}class Uc{constructor(E,b,Q){this.logger=E,this.commonService=b,this.store=Q,this.faExclamationTriangle=$i.eHv,this.faMoneyBillAlt=$i.co4,this.faPaintBrush=$i.XsY,this.faInfoCircle=$i.sqG,this.faEyeSlash=$i.Aq,this.userPersonas=[Je.ol.OPERATOR,Je.ol.MERCHANT],this.currencyUnits=Je.Er,this.themeModes=Je.wZ.modes,this.themeColors=Je.wZ.themes,this.selectedThemeMode=Je.wZ.modes[0],this.selectedThemeColor=Je.wZ.themes[0].id,this.currencyUnit="BTC",this.smallerCurrencyUnit="Sats",this.showSettingOption=!0,this.screenSize="",this.screenSizeEnum=Je.cu,this.unSubs=[new Vi.x,new Vi.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(Ge.dT).pipe((0,cn.R)(this.unSubs[0])).subscribe(E=>{this.selNode=E,this.selectedThemeMode=this.themeModes.find(b=>this.selNode.settings.themeMode===b.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(E)})}onCurrencyChange(E){this.selNode.settings.currencyUnits=[...Je.uA,E.value],this.store.dispatch((0,Nn.JT)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:E.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,En.oo)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:E.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,pn.Zr)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:E.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(E,b){this.selNode.settings[E]=!this.selNode.settings[E]}changeThemeColor(E){this.selectedThemeColor=E,this.selNode.settings.themeColor=E}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,Yt.zQ)({payload:{uiMessage:Je.m6.UPDATE_NODE_SETTINGS,settings:this.selNode.settings}})),this.store.dispatch((0,Nn.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,En.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,pn.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 E=this.selNode.index||-1;this.selNode.settings=this.previousSettings,this.selectedThemeMode=this.themeModes.find(b=>b.id===this.previousSettings.themeMode)||this.themeModes[0],this.selectedThemeColor=this.previousSettings.themeColor,this.store.dispatch((0,Yt.fk)({payload:{uiMessage:Je.m6.NO_SPINNER,prevLnNodeIndex:+E,currentLnNode:this.selNode,isInitialSetup:!0}}))}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(),E.complete()})}}Uc.\u0275fac=function(E){return new(E||Uc)(t.Y36(si.mQ),t.Y36(Ir.v),t.Y36(Ri.yh))},Uc.\u0275cmp=t.Xpm({type:Uc,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(E,b){1&E&&(t.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"),t._UZ(7,"fa-icon",5),t.TgZ(8,"span",6),t._uU(9,"Open Unannounced Channels"),t.qZA()()(),t.TgZ(10,"div",7)(11,"div",8),t._UZ(12,"fa-icon",9),t.TgZ(13,"span"),t._uU(14,"Use this control to toggle setting which defaults to opening unannounced channels only."),t.qZA()(),t.TgZ(15,"div",10)(16,"mat-slide-toggle",11),t.NdJ("ngModelChange",function(xe){return b.selNode.settings.unannouncedChannels=xe})("change",function(xe){return b.selNode.settings.unannouncedChannels=xe.checked?b.selNode.settings.unannouncedChannels:null}),t._uU(17,"Open Unannounced Channels"),t.qZA()()()(),t.TgZ(18,"mat-expansion-panel",4)(19,"mat-expansion-panel-header")(20,"mat-panel-title"),t._UZ(21,"fa-icon",5),t.TgZ(22,"span",6),t._uU(23,"Balance Display"),t.qZA()()(),t.TgZ(24,"div",7)(25,"div",12),t._UZ(26,"fa-icon",9),t.TgZ(27,"span"),t._uU(28,"Fiat conversion calls "),t.TgZ(29,"strong")(30,"a",13),t._uU(31,"Blockchain.com"),t.qZA()(),t._uU(32," API to get conversion rates."),t.qZA()(),t.TgZ(33,"div",10)(34,"mat-slide-toggle",14),t.NdJ("ngModelChange",function(xe){return b.selNode.settings.fiatConversion=xe})("change",function(xe){return b.selNode.settings.currencyUnit=xe.checked?b.selNode.settings.currencyUnit:null}),t._uU(35,"Enable Fiat Conversion"),t.qZA(),t.TgZ(36,"mat-form-field")(37,"mat-label"),t._uU(38,"Fiat Currency"),t.qZA(),t.TgZ(39,"mat-select",15,16),t.NdJ("ngModelChange",function(xe){return b.selNode.settings.currencyUnit=xe})("selectionChange",function(xe){return b.onCurrencyChange(xe)}),t.YNc(41,As,2,2,"mat-option",17),t.qZA(),t.YNc(42,js,2,0,"mat-error",18),t.qZA()()()(),t.TgZ(43,"mat-expansion-panel",4)(44,"mat-expansion-panel-header")(45,"mat-panel-title"),t._UZ(46,"fa-icon",5),t.TgZ(47,"span",6),t._uU(48,"Customization"),t.qZA()()(),t.TgZ(49,"div",7)(50,"div",19),t._UZ(51,"fa-icon",9),t.TgZ(52,"span"),t._uU(53,"Dashboard layout will be tailored based on the role selected to better serve its needs."),t.qZA()(),t.TgZ(54,"div",20)(55,"h4"),t._uU(56,"Dashboard Layout"),t.qZA(),t.TgZ(57,"mat-radio-group",21),t.NdJ("ngModelChange",function(xe){return b.selNode.settings.userPersona=xe}),t.YNc(58,Qo,3,5,"mat-radio-button",22),t.qZA()(),t._UZ(59,"mat-divider",23),t.TgZ(60,"div",24)(61,"h4"),t._uU(62,"Mode"),t.qZA(),t.TgZ(63,"mat-radio-group",25),t.NdJ("ngModelChange",function(xe){return b.selectedThemeMode=xe})("change",function(){return b.chooseThemeMode()}),t.YNc(64,xo,2,2,"mat-radio-button",26),t.qZA()(),t._UZ(65,"mat-divider",23),t.TgZ(66,"div",27)(67,"div",28)(68,"h4"),t._uU(69,"Themes"),t.qZA(),t.TgZ(70,"div",29),t.YNc(71,ph,4,8,"span",30),t.qZA()()()()()()(),t.TgZ(72,"div",31)(73,"div",32)(74,"button",33),t.NdJ("click",function(){return b.onResetSettings()}),t._uU(75,"Reset"),t.qZA(),t.TgZ(76,"button",34),t.NdJ("click",function(){return b.onUpdateSettings()}),t._uU(77,"Update"),t.qZA()()()()),2&E&&(t.xp6(7),t.Q6J("icon",b.faEyeSlash),t.xp6(5),t.Q6J("icon",b.faInfoCircle),t.xp6(4),t.Q6J("ngModel",b.selNode.settings.unannouncedChannels),t.xp6(5),t.Q6J("icon",b.faMoneyBillAlt),t.xp6(5),t.Q6J("icon",b.faExclamationTriangle),t.xp6(8),t.Q6J("ngModel",b.selNode.settings.fiatConversion),t.xp6(5),t.Q6J("disabled",!b.selNode.settings.fiatConversion)("required",b.selNode.settings.fiatConversion)("ngModel",b.selNode.settings.currencyUnit),t.xp6(2),t.Q6J("ngForOf",b.currencyUnits),t.xp6(1),t.Q6J("ngIf",b.selNode.settings.fiatConversion&&!b.selNode.settings.currencyUnit),t.xp6(4),t.Q6J("icon",b.faPaintBrush),t.xp6(5),t.Q6J("icon",b.faInfoCircle),t.xp6(6),t.Q6J("ngModel",b.selNode.settings.userPersona),t.xp6(1),t.Q6J("ngForOf",b.userPersonas),t.xp6(5),t.Q6J("ngModel",b.selectedThemeMode),t.xp6(1),t.Q6J("ngForOf",b.themeModes),t.xp6(7),t.Q6J("ngForOf",b.themeColors))},dependencies:[Zi.mk,Zi.sg,Zi.O5,ai._Y,ai.JJ,ai.JL,ai.Q7,ai.On,ai.F,ve.BN,nt.xw,nt.Wh,nt.yH,nr.oO,Ci.lW,La.pp,La.ib,La.yz,La.yK,Ii.KE,Ii.hX,Ii.TO,Ts.d,yo.VQ,yo.U0,Ji.gD,on.ey,Lr.Rr,un.$V,Tn.h,Zi.i8,Zi.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 jl=f(538),fh=f(9828),Is=f(6529),Hd=f(2501),qs=f(7822),ql=f(6896),Vc=f(9445);const gc=function(H){return{error:H}};function vc(H,E){if(1&H&&t.GkF(0,14),2&H){const b=t.oxw(),Q=t.MAs(18);t.Q6J("ngTemplateOutlet",Q)("ngTemplateOutletContext",t.VKq(2,gc,b.errorMessage))}}function Pu(H,E){if(1&H&&(t.TgZ(0,"mat-option",31),t._uU(1),t.qZA()),2&H){const b=E.$implicit;t.Q6J("value",b),t.xp6(1),t.hij(" ",b," ")}}function Ru(H,E){if(1&H&&(t.TgZ(0,"mat-option",31),t._uU(1),t.ALo(2,"camelCaseWithSpaces"),t.ALo(3,"camelcaseWithReplace"),t.qZA()),2&H){const b=E.$implicit,Q=t.oxw(3);t.Q6J("value",b),t.xp6(1),t.hij(" ","ECL"===Q.selNode.lnImplementation?t.lcZ(2,2,b):t.xi3(3,4,b,"_")," ")}}function ul(H,E){if(1&H&&(t.TgZ(0,"mat-option",31),t._uU(1),t.qZA()),2&H){const b=E.$implicit;t.Q6J("value",b),t.xp6(1),t.hij(" ","desc"===b?"Descending":"Ascending"," ")}}function Q1(H,E){if(1&H&&(t.TgZ(0,"mat-option",34),t._uU(1),t.ALo(2,"camelCaseWithSpaces"),t.ALo(3,"camelcaseWithReplace"),t.qZA()),2&H){const b=E.$implicit,Q=t.oxw(2).$implicit,xe=t.oxw(2);t.Q6J("value",b.column)("disabled",Q.columnSelection.length<=2&&Q.columnSelection.includes(b.column)),t.xp6(1),t.hij(" ",b.label?b.label:"ECL"===xe.selNode.lnImplementation?t.lcZ(2,3,b.column):t.xi3(3,5,b.column,"_")," ")}}function Cm(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"mat-form-field",32)(1,"mat-label"),t._uU(2,"Column selection (Desktop Resolution)"),t.qZA(),t.TgZ(3,"mat-select",33),t.NdJ("ngModelChange",function(xe){t.CHM(b);const pt=t.oxw().$implicit;return t.KtG(pt.columnSelection=xe)})("selectionChange",function(){t.CHM(b);const xe=t.oxw().$implicit,pt=t.oxw(2);return t.KtG(pt.oncolumnSelectionChange(xe))}),t.YNc(4,Q1,4,8,"mat-option",28),t.qZA()()}if(2&H){const b=t.oxw().$implicit,Q=t.oxw().$implicit,xe=t.oxw();t.xp6(3),t.hYB("name","",Q.pageId,"",b.tableId,"-columns-selection"),t.Q6J("ngModel",b.columnSelection),t.xp6(1),t.Q6J("ngForOf",xe.nodePageDefs[Q.pageId][b.tableId].allowedColumns)}}function Bu(H,E){if(1&H&&(t.TgZ(0,"mat-option",34),t._uU(1),t.ALo(2,"camelCaseWithSpaces"),t.ALo(3,"camelcaseWithReplace"),t.qZA()),2&H){const b=E.$implicit,Q=t.oxw().$implicit,xe=t.oxw(2);t.Q6J("value",b.column)("disabled",Q.columnSelectionSM.length<=1&&Q.columnSelectionSM.includes(b.column)||Q.columnSelectionSM.length>=3&&!Q.columnSelectionSM.includes(b.column)),t.xp6(1),t.hij(" ",b.label?b.label:"ECL"===xe.selNode.lnImplementation?t.lcZ(2,3,b.column):t.xi3(3,5,b.column,"_")," ")}}const mf=function(H){return{"ml-minus-1":H}};function Xl(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"div",17)(1,"div",18)(2,"span",19),t._uU(3),t.ALo(4,"camelcaseWithReplace"),t.qZA(),t.TgZ(5,"mat-form-field",20)(6,"mat-label"),t._uU(7,"Records/Page"),t.qZA(),t.TgZ(8,"mat-select",21),t.NdJ("ngModelChange",function(xe){const Ut=t.CHM(b).$implicit;return t.KtG(Ut.recordsPerPage=xe)}),t.YNc(9,Pu,2,2,"mat-option",22),t.qZA()(),t.TgZ(10,"mat-form-field",20)(11,"mat-label"),t._uU(12,"Sort By"),t.qZA(),t.TgZ(13,"mat-select",23),t.NdJ("ngModelChange",function(xe){const Ut=t.CHM(b).$implicit;return t.KtG(Ut.sortBy=xe)}),t.YNc(14,Ru,4,7,"mat-option",22),t.qZA()(),t.TgZ(15,"mat-form-field",20)(16,"mat-label"),t._uU(17,"Sort Order"),t.qZA(),t.TgZ(18,"mat-select",24),t.NdJ("ngModelChange",function(xe){const Ut=t.CHM(b).$implicit;return t.KtG(Ut.sortOrder=xe)}),t.YNc(19,ul,2,2,"mat-option",22),t.qZA()(),t.YNc(20,Cm,5,4,"mat-form-field",25),t.TgZ(21,"mat-form-field",26)(22,"mat-label"),t._uU(23,"Column Selection (Mobile Resolution)"),t.qZA(),t.TgZ(24,"mat-select",27),t.NdJ("ngModelChange",function(xe){const Ut=t.CHM(b).$implicit;return t.KtG(Ut.columnSelectionSM=xe)}),t.YNc(25,Bu,4,8,"mat-option",28),t.qZA()(),t.TgZ(26,"button",29),t.NdJ("click",function(){const pt=t.CHM(b).$implicit,Ut=t.oxw().$implicit,ni=t.oxw();return t.KtG(ni.onTableReset(Ut.pageId,pt))}),t.TgZ(27,"mat-icon",30),t._uU(28,"restore"),t.qZA()()()()}if(2&H){const b=E.$implicit,Q=t.oxw().$implicit,xe=t.oxw();t.xp6(3),t.hij("",t.xi3(4,20,b.tableId,"_"),":"),t.xp6(5),t.hYB("name","",Q.pageId,"",b.tableId,"-page-size-options"),t.Q6J("disabled",xe.nodePageDefs[Q.pageId][b.tableId].disablePageSize)("ngModel",b.recordsPerPage),t.xp6(1),t.Q6J("ngForOf",xe.pageSizeOptions),t.xp6(4),t.hYB("name","",Q.pageId,"",b.tableId,"-sort-by"),t.Q6J("ngModel",b.sortBy),t.xp6(1),t.Q6J("ngForOf",b.columnSelection),t.xp6(4),t.hYB("name","",Q.pageId,"",b.tableId,"-sort-order"),t.Q6J("ngModel",b.sortOrder),t.xp6(1),t.Q6J("ngForOf",xe.sortOrders),t.xp6(1),t.Q6J("ngIf",xe.screenSize!==xe.screenSizeEnum.XS),t.xp6(4),t.hYB("name","",Q.pageId,"",b.tableId,"-columns-selection-sm"),t.Q6J("ngModel",b.columnSelectionSM),t.xp6(1),t.Q6J("ngForOf",xe.nodePageDefs[Q.pageId][b.tableId].allowedColumns),t.xp6(2),t.Q6J("ngClass",t.VKq(23,mf,xe.screenSize===xe.screenSizeEnum.XS||xe.screenSize===xe.screenSizeEnum.SM))}}function ml(H,E){if(1&H&&t.GkF(0,14),2&H){const b=t.oxw(2),Q=t.MAs(18);t.Q6J("ngTemplateOutlet",Q)("ngTemplateOutletContext",t.VKq(2,gc,b.errorMessage))}}const j1=function(H){return{"error-border":H}};function Nu(H,E){if(1&H&&(t.TgZ(0,"mat-expansion-panel",15)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),t._uU(3),t.ALo(4,"camelcaseWithReplace"),t.qZA()(),t.YNc(5,Xl,29,25,"div",16),t.YNc(6,ml,1,4,"ng-container",6),t.qZA()),2&H){const b=E.$implicit,Q=t.oxw();t.Q6J("ngClass",t.VKq(7,j1,(null==Q.errorMessage?null:Q.errorMessage.page)===b.pageId)),t.xp6(3),t.Oqu(t.xi3(4,4,b.pageId,"_")),t.xp6(2),t.Q6J("ngForOf",b.tables),t.xp6(1),t.Q6J("ngIf",Q.errorMessage&&(null==Q.errorMessage?null:Q.errorMessage.page)===b.pageId)}}function Fu(H,E){if(1&H&&(t.TgZ(0,"mat-panel-title"),t._uU(1),t.ALo(2,"titlecase"),t.qZA()),2&H){const b=t.oxw().error;t.xp6(1),t.hij("Page ",t.lcZ(2,1,b.page),"")}}function _h(H,E){if(1&H&&(t.TgZ(0,"mat-list-item")(1,"mat-icon",39),t._uU(2,"close"),t.qZA(),t.TgZ(3,"span"),t._uU(4),t.qZA()()),2&H){const b=t.oxw().error;t.xp6(4),t.Oqu(b.message)}}function zu(H,E){if(1&H&&(t.TgZ(0,"mat-list-item")(1,"mat-icon",39),t._uU(2,"close"),t.qZA(),t.TgZ(3,"span"),t._uU(4),t.ALo(5,"titlecase"),t.qZA()()),2&H){const b=E.$implicit;t.xp6(4),t.AsE("Table ",t.lcZ(5,2,b.table)," ",b.message,"")}}const gh=function(H){return{"error-border p-2":H}};function wm(H,E){if(1&H&&(t.TgZ(0,"div",35),t.YNc(1,Fu,3,3,"mat-panel-title",36),t.TgZ(2,"mat-list",37),t.YNc(3,_h,5,1,"mat-list-item",36),t.YNc(4,zu,6,4,"mat-list-item",38),t.qZA()()),2&H){const b=E.error,Q=t.oxw();t.Q6J("ngClass",t.VKq(4,gh,"unknown"===Q.errorMessage.page)),t.xp6(1),t.Q6J("ngIf","unknown"===Q.errorMessage.page),t.xp6(2),t.Q6J("ngIf",b.message),t.xp6(1),t.Q6J("ngForOf",b.tables)}}class Jl{constructor(E,b,Q,xe){this.logger=E,this.commonService=b,this.store=Q,this.actions=xe,this.faPenRuler=$i.SoD,this.faExclamationTriangle=$i.eHv,this.screenSize="",this.screenSizeEnum=Je.cu,this.pageSizeOptions=Je.TJ,this.pageSettings=[],this.initialPageSettings=[],this.defaultSettings=[],this.nodePageDefs={},this.sortOrders=Je.zZ,this.apiCallStatus=null,this.apiCallStatusEnum=Je.Bn,this.errorMessage=null,this.unSubs=[new Vi.x,new Vi.x,new Vi.x,new Vi.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(Ge.dT).pipe((0,cn.R)(this.unSubs[0])).subscribe(E=>{switch(this.selNode=E,this.logger.info(this.selNode),this.selNode.lnImplementation){case"CLN":this.initialPageSettings=Object.assign([],Je.gG),this.defaultSettings=Object.assign([],Je.gG),this.nodePageDefs=Je.At,this.store.select(fh.AS).pipe((0,cn.R)(this.unSubs[1]),(0,jl.M)(this.store.select(fh.lw))).subscribe(([b,Q])=>{const xe=JSON.parse(JSON.stringify(b.pageSettings));if(this.errorMessage=null,this.apiCallStatus=b.apiCallStatus,this.apiCallStatus.status===Je.Bn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=xe,this.initialPageSettings=xe;else{if(!Q?.enableOffers){const pt=xe.find(hi=>"transactions"===hi.pageId),Ut=pt?.tables.findIndex(hi=>"offers"===hi.tableId),ni=pt?.tables.findIndex(hi=>"offer_bookmarks"===hi.tableId);Ut>-1&&pt?.tables.splice(Ut,1),ni>-1&&pt?.tables.splice(ni,1)}if(!Q?.enablePeerswap){const pt=xe.findIndex(Ut=>"peerswap"===Ut.pageId);pt>-1&&xe.splice(pt,1)}this.pageSettings=xe,this.initialPageSettings=xe}this.logger.info(xe)}),this.actions.pipe((0,cn.R)(this.unSubs[2]),(0,qa.h)(b=>b.type===Je.AB.UPDATE_API_CALL_STATUS_CLN||b.type===Je.AB.SAVE_PAGE_SETTINGS_CLN)).subscribe(b=>{b.type===Je.AB.UPDATE_API_CALL_STATUS_CLN&&b.payload.status===Je.Bn.ERROR&&"SavePageSettings"===b.payload.action&&(this.errorMessage=JSON.parse(b.payload.message))});break;case"ECL":this.initialPageSettings=Object.assign([],Je.c3),this.defaultSettings=Object.assign([],Je.c3),this.nodePageDefs=Je.Xk,this.store.select(Hd.nF).pipe((0,cn.R)(this.unSubs[1]),(0,jl.M)(this.store.select(Hd.LR))).subscribe(([b,Q])=>{const xe=JSON.parse(JSON.stringify(b.pageSettings));this.errorMessage=null,this.apiCallStatus=b.apiCallStatus,this.apiCallStatus.status===Je.Bn.ERROR?(this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=xe,this.initialPageSettings=xe):(this.pageSettings=xe,this.initialPageSettings=xe),this.logger.info(xe)}),this.actions.pipe((0,cn.R)(this.unSubs[2]),(0,qa.h)(b=>b.type===Je.lr.UPDATE_API_CALL_STATUS_ECL||b.type===Je.lr.SAVE_PAGE_SETTINGS_ECL)).subscribe(b=>{b.type===Je.lr.UPDATE_API_CALL_STATUS_ECL&&b.payload.status===Je.Bn.ERROR&&"SavePageSettings"===b.payload.action&&(this.errorMessage=JSON.parse(b.payload.message))});break;default:this.initialPageSettings=Object.assign([],Je.gK),this.defaultSettings=Object.assign([],Je.gK),this.nodePageDefs=Je.hG,this.store.select(Is.Pr).pipe((0,cn.R)(this.unSubs[1]),(0,jl.M)(this.store.select(Is.$k))).subscribe(([b,Q])=>{const xe=JSON.parse(JSON.stringify(b.pageSettings));if(this.errorMessage=null,this.apiCallStatus=b.apiCallStatus,this.apiCallStatus.status===Je.Bn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=xe,this.initialPageSettings=xe;else{if(!Q?.swapServerUrl||""===Q.swapServerUrl.trim()){const pt=xe.findIndex(Ut=>"loop"===Ut.pageId);pt>-1&&xe.splice(pt,1)}if(!Q?.boltzServerUrl||""===Q.boltzServerUrl.trim()){const pt=xe.findIndex(Ut=>"boltz"===Ut.pageId);pt>-1&&xe.splice(pt,1)}if(!Q?.enablePeerswap){const pt=xe.findIndex(Ut=>"peerswap"===Ut.pageId);pt>-1&&xe.splice(pt,1)}this.pageSettings=xe,this.initialPageSettings=xe}this.logger.info(xe)}),this.actions.pipe((0,cn.R)(this.unSubs[2]),(0,qa.h)(b=>b.type===Je.uR.UPDATE_API_CALL_STATUS_LND||b.type===Je.uR.SAVE_PAGE_SETTINGS_LND)).subscribe(b=>{b.type===Je.uR.UPDATE_API_CALL_STATUS_LND&&b.payload.status===Je.Bn.ERROR&&"SavePageSettings"===b.payload.action&&(this.errorMessage=JSON.parse(b.payload.message))})}})}oncolumnSelectionChange(E){E.columnSelection&&(!E.sortBy||!E.columnSelection.includes(E.sortBy))&&(E.sortBy=E.columnSelection[0])}onUpdatePageSettings(){if(this.pageSettings.reduce((E,b)=>E||b.tables.reduce((Q,xe)=>!(xe.recordsPerPage&&xe.sortBy&&xe.sortOrder&&xe.columnSelection&&xe.columnSelection.length>=2),!1),!1))return!0;switch(this.errorMessage="",this.selNode.lnImplementation){case"CLN":this.store.dispatch((0,En.eF)({payload:this.pageSettings}));break;case"ECL":this.store.dispatch((0,pn.eF)({payload:this.pageSettings}));break;default:this.store.dispatch((0,Nn.eF)({payload:this.pageSettings}))}}onTableReset(E,b){const Q=this.pageSettings.findIndex(Ut=>Ut.pageId===E),xe=this.pageSettings[Q].tables.findIndex(Ut=>Ut.tableId===b.tableId),pt=this.defaultSettings.find(Ut=>Ut.pageId===E)?.tables.find(Ut=>Ut.tableId===b.tableId)||this.pageSettings.find(Ut=>Ut.pageId===E)?.tables.find(Ut=>Ut.tableId===b.tableId);this.pageSettings[Q].tables.splice(xe,1,pt)}onResetPageSettings(E){"current"===E?(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(E=>{E.next(),E.complete()})}}function $l(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"div",10),t.NdJ("click",function(){t.CHM(b);const xe=t.oxw();return t.KtG(xe.activeLink=xe.links[0].link)}),t._uU(1),t.qZA()}if(2&H){const b=t.oxw();t.s9C("routerLink",b.links[0].link),t.Q6J("active",b.activeLink===b.links[0].link),t.xp6(1),t.Oqu(b.links[0].name)}}Jl.\u0275fac=function(E){return new(E||Jl)(t.Y36(si.mQ),t.Y36(Ir.v),t.Y36(Ri.yh),t.Y36(Jr.eX))},Jl.\u0275cmp=t.Xpm({type:Jl,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(E,b){1&E&&(t.TgZ(0,"div",0)(1,"form",1,2)(3,"div",3),t._UZ(4,"fa-icon",4),t.TgZ(5,"span",5),t._uU(6,"Grid Settings"),t.qZA()(),t.YNc(7,vc,1,4,"ng-container",6),t.TgZ(8,"mat-accordion",7),t.YNc(9,Nu,7,9,"mat-expansion-panel",8),t.qZA()(),t.TgZ(10,"div",9)(11,"button",10),t.NdJ("click",function(){return b.onResetPageSettings("current")}),t._uU(12,"Reset"),t.qZA(),t.TgZ(13,"button",11),t.NdJ("click",function(){return b.onResetPageSettings("default")}),t._uU(14,"Reset to Default"),t.qZA(),t.TgZ(15,"button",12),t.NdJ("click",function(){return b.onUpdatePageSettings()}),t._uU(16,"Save"),t.qZA()()(),t.YNc(17,wm,5,6,"ng-template",null,13,t.W1O)),2&E&&(t.xp6(4),t.Q6J("icon",b.faPenRuler),t.xp6(3),t.Q6J("ngIf",b.errorMessage&&"unknown"===b.errorMessage.page),t.xp6(2),t.Q6J("ngForOf",b.pageSettings))},dependencies:[Zi.mk,Zi.sg,Zi.O5,Zi.tP,ai._Y,ai.JJ,ai.JL,ai.Q7,ai.On,ai.F,ve.BN,nt.xw,nt.Wh,nt.yH,nr.oO,Ci.lW,Ci.RK,La.pp,La.ib,La.yz,La.yK,qs.Hw,Ii.KE,Ii.hX,bo.i$,bo.Tg,Ji.gD,on.ey,ql.gM,un.$V,Zi.rS,Vc.D3,Vc.i1],styles:[".table-setting-row[_ngcontent-%COMP%]:not(:first-child){margin:.5rem 0}"]});const Xs=function(){return{initial:!1}};function gs(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"div",11),t.NdJ("click",function(){t.CHM(b);const xe=t.oxw();return t.KtG(xe.activeLink=xe.links[1].link)}),t._uU(1),t.qZA()}if(2&H){const b=t.oxw();t.s9C("routerLink",b.links[1].link),t.Q6J("active",b.activeLink===b.links[1].link)("state",t.DdM(4,Xs)),t.xp6(1),t.Oqu(b.links[1].name)}}function Js(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"div",10),t.NdJ("click",function(){t.CHM(b);const xe=t.oxw();return t.KtG(xe.activeLink=xe.links[2].link)}),t._uU(1),t.qZA()}if(2&H){const b=t.oxw();t.s9C("routerLink",b.links[2].link),t.Q6J("active",b.activeLink===b.links[2].link),t.xp6(1),t.Oqu(b.links[2].name)}}class Ps{constructor(E,b,Q){this.store=E,this.router=b,this.activatedRoute=Q,this.faLayerGroup=$i.Krp,this.links=[{link:"loop",name:"Loop"},{link:"boltz",name:"Boltz"},{link:"peerswap",name:"Peerswap"}],this.activeLink="",this.unSubs=[new Vi.x,new Vi.x,new Vi.x]}ngOnInit(){const E=this.links.find(b=>this.router.url.includes(b.link));this.activeLink=E?E.link:this.links[0].link,this.router.events.pipe((0,cn.R)(this.unSubs[0]),(0,qa.h)(b=>b instanceof Hn.Av)).subscribe({next:b=>{const Q=this.links.find(xe=>b.urlAfterRedirects.includes(xe.link));"CLN"===this.selNode.lnImplementation.toUpperCase()?this.activeLink=this.links[2].link:this.activeLink=Q?Q.link:this.links[0].link}}),this.store.select(Ge.dT).pipe((0,cn.R)(this.unSubs[1])).subscribe(b=>{this.selNode=b,"CLN"===this.selNode.lnImplementation.toUpperCase()&&(this.activeLink=this.links[2].link,this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute}))})}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}}Ps.\u0275fac=function(E){return new(E||Ps)(t.Y36(Ri.yh),t.Y36(Hn.F0),t.Y36(Hn.gz))},Ps.\u0275cmp=t.Xpm({type:Ps,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(E,b){if(1&E&&(t.TgZ(0,"div",0)(1,"div",1),t._UZ(2,"fa-icon",2),t.TgZ(3,"span",3),t._uU(4,"Services"),t.qZA()()(),t.TgZ(5,"div",4)(6,"mat-card")(7,"mat-card-content",4)(8,"nav",5),t.YNc(9,$l,2,3,"div",6),t.YNc(10,gs,2,5,"div",7),t.YNc(11,Js,2,3,"div",6),t.qZA(),t._UZ(12,"mat-tab-nav-panel",null,8),t.TgZ(14,"div",9),t._UZ(15,"router-outlet"),t.qZA()()()()),2&E){const Q=t.MAs(13);t.xp6(2),t.Q6J("icon",b.faLayerGroup),t.xp6(6),t.Q6J("tabPanel",Q),t.xp6(1),t.Q6J("ngIf","LND"===(null==b.selNode||null==b.selNode.lnImplementation?null:b.selNode.lnImplementation.toUpperCase())),t.xp6(1),t.Q6J("ngIf","LND"===(null==b.selNode||null==b.selNode.lnImplementation?null:b.selNode.lnImplementation.toUpperCase())),t.xp6(1),t.Q6J("ngIf","CLN"===(null==b.selNode||null==b.selNode.lnImplementation?null:b.selNode.lnImplementation.toUpperCase()))}},dependencies:[Zi.O5,ve.BN,nt.xw,nt.Wh,nt.yH,Bt.a8,Bt.dn,di.BU,di.sW,di.Nj,Hn.lC,Hn.rH]});const q1=["form"];function Mm(H,E){1&H&&(t.TgZ(0,"mat-error"),t._uU(1,"Loop server URL is required."),t.qZA())}function vh(H,E){1&H&&(t.TgZ(0,"mat-error"),t._uU(1,"Specify the loop server url with 'https://'."),t.qZA())}function bh(H,E){1&H&&(t.TgZ(0,"mat-error"),t._uU(1,"Loop macaroon path is required."),t.qZA())}class bc{constructor(E,b){this.logger=E,this.store=b,this.faInfoCircle=$i.sqG,this.enableLoop=!1,this.unSubs=[new Vi.x,new Vi.x]}ngOnInit(){this.store.select(Ge.dT).pipe((0,cn.R)(this.unSubs[0])).subscribe(E=>{this.selNode=E,this.enableLoop=!(!E.settings.swapServerUrl||""===E.settings.swapServerUrl.trim()),this.previousSelNode=JSON.parse(JSON.stringify(this.selNode)),this.logger.info(E)})}onEnableServiceChanged(E){this.enableLoop=E.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,Yt.jS)({payload:{uiMessage:Je.m6.UPDATE_LOOP_SETTINGS,service:Je.JX.LOOP,settings:{enable:this.enableLoop,serverUrl:this.selNode.settings.swapServerUrl,macaroonPath:this.selNode.authentication.swapMacaroonPath}}})),this.store.dispatch((0,Nn.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,En.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,pn.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(E=>{E.next(),E.complete()})}}bc.\u0275fac=function(E){return new(E||bc)(t.Y36(si.mQ),t.Y36(Ri.yh))},bc.\u0275cmp=t.Xpm({type:bc,selectors:[["rtl-loop-service-settings"]],viewQuery:function(E,b){if(1&E&&t.Gf(q1,7),2&E){let Q;t.iGM(Q=t.CRH())&&(b.form=Q.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(E,b){if(1&E&&(t.TgZ(0,"div",0)(1,"div",1),t._UZ(2,"fa-icon",2),t.TgZ(3,"span"),t._uU(4,"Please ensure that "),t.TgZ(5,"strong"),t._uU(6,"loopd"),t.qZA(),t._uU(7," is running and accessible to RTL before enabling this service. Click "),t.TgZ(8,"strong")(9,"a",3),t._uU(10,"here"),t.qZA()(),t._uU(11," to learn more about the installation."),t.qZA()(),t.TgZ(12,"form",4,5)(14,"div",6)(15,"mat-slide-toggle",7),t.NdJ("ngModelChange",function(xe){return b.enableLoop=xe})("change",function(xe){return b.onEnableServiceChanged(xe)}),t._uU(16,"Enable Loop Service"),t.qZA(),t.TgZ(17,"mat-form-field",8)(18,"mat-label"),t._uU(19,"Loop Server URL"),t.qZA(),t.TgZ(20,"input",9,10),t.NdJ("ngModelChange",function(xe){return b.selNode.settings.swapServerUrl=xe}),t.qZA(),t.TgZ(22,"mat-hint"),t._uU(23,"Service url for loop server REST APIs, eg. https://localhost:8081"),t.qZA(),t.YNc(24,Mm,2,0,"mat-error",11),t.YNc(25,vh,2,0,"mat-error",11),t.qZA(),t.TgZ(26,"mat-form-field")(27,"mat-label"),t._uU(28,"Loop Macaroon Path"),t.qZA(),t.TgZ(29,"input",12),t.NdJ("ngModelChange",function(xe){return b.selNode.authentication.swapMacaroonPath=xe}),t.qZA(),t.TgZ(30,"mat-hint"),t._uU(31,"Path for the folder containing service 'loop.macaroon', eg. D:\\\\xyz\\\\AppData\\\\Local\\\\Loop\\\\testnet"),t.qZA(),t.YNc(32,bh,2,0,"mat-error",11),t.qZA()()(),t.TgZ(33,"div",13)(34,"button",14),t.NdJ("click",function(){return b.onReset()}),t._uU(35,"Reset"),t.qZA(),t.TgZ(36,"button",15),t.NdJ("click",function(){return b.onUpdateService()}),t._uU(37,"Update"),t.qZA()()()),2&E){const Q=t.MAs(21);t.xp6(2),t.Q6J("icon",b.faInfoCircle),t.xp6(13),t.Q6J("ngModel",b.enableLoop),t.xp6(5),t.Q6J("required",b.enableLoop)("disabled",!b.enableLoop)("ngModel",b.selNode.settings.swapServerUrl),t.xp6(4),t.Q6J("ngIf",!b.selNode.settings.swapServerUrl&&b.enableLoop),t.xp6(1),t.Q6J("ngIf",(null==Q||null==Q.errors?null:Q.errors.invalid)&&b.enableLoop),t.xp6(4),t.Q6J("required",b.enableLoop)("disabled",!b.enableLoop)("ngModel",b.selNode.authentication.swapMacaroonPath),t.xp6(3),t.Q6J("ngIf",!b.selNode.authentication.swapMacaroonPath&&b.enableLoop)}},dependencies:[Zi.O5,ai._Y,ai.Fj,ai.JJ,ai.JL,ai.Q7,ai.On,ai.F,ve.BN,nt.xw,nt.Wh,nt.yH,Ci.lW,Gr.Nt,Ii.KE,Ii.hX,Ii.bx,Ii.TO,Lr.Rr,un.$V,Tn.h],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]});const Zr=["form"];function yh(H,E){1&H&&(t.TgZ(0,"mat-error"),t._uU(1,"Boltz server URL is required."),t.qZA())}function xh(H,E){1&H&&(t.TgZ(0,"mat-error"),t._uU(1,"Specify the boltz server url with 'https://'."),t.qZA())}function v4(H,E){1&H&&(t.TgZ(0,"mat-error"),t._uU(1,"Boltz macaroon path is required."),t.qZA())}class ed{constructor(E,b){this.logger=E,this.store=b,this.faInfoCircle=$i.sqG,this.enableBoltz=!1,this.serverUrl="",this.macaroonPath="",this.unSubs=[new Vi.x,new Vi.x]}ngOnInit(){this.store.select(Ge.dT).pipe((0,cn.R)(this.unSubs[0])).subscribe(E=>{this.selNode=E,this.enableBoltz=!(!E.settings.boltzServerUrl||""===E.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(E)})}onEnableServiceChanged(E){this.enableBoltz=E.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,Yt.jS)({payload:{uiMessage:Je.m6.UPDATE_BOLTZ_SETTINGS,service:Je.JX.BOLTZ,settings:{enable:this.enableBoltz,serverUrl:this.serverUrl,macaroonPath:this.macaroonPath}}})),this.store.dispatch((0,Nn.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,En.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,pn.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(E=>{E.next(),E.complete()})}}ed.\u0275fac=function(E){return new(E||ed)(t.Y36(si.mQ),t.Y36(Ri.yh))},ed.\u0275cmp=t.Xpm({type:ed,selectors:[["rtl-boltz-service-settings"]],viewQuery:function(E,b){if(1&E&&t.Gf(Zr,7),2&E){let Q;t.iGM(Q=t.CRH())&&(b.form=Q.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(E,b){if(1&E&&(t.TgZ(0,"div",0)(1,"div",1),t._UZ(2,"fa-icon",2),t.TgZ(3,"span"),t._uU(4,"Please ensure that "),t.TgZ(5,"strong"),t._uU(6,"boltzd"),t.qZA(),t._uU(7," is running and accessible to RTL before enabling this service. Click "),t.TgZ(8,"strong")(9,"a",3),t._uU(10,"here"),t.qZA()(),t._uU(11," to learn more about the installation."),t.qZA()(),t.TgZ(12,"form",4,5)(14,"div",6)(15,"mat-slide-toggle",7),t.NdJ("ngModelChange",function(xe){return b.enableBoltz=xe})("change",function(xe){return b.onEnableServiceChanged(xe)}),t._uU(16,"Enable Boltz Service"),t.qZA(),t.TgZ(17,"mat-form-field",8)(18,"mat-label"),t._uU(19,"Boltz Server URL"),t.qZA(),t.TgZ(20,"input",9,10),t.NdJ("ngModelChange",function(xe){return b.serverUrl=xe}),t.qZA(),t.TgZ(22,"mat-hint"),t._uU(23,"Service url for boltz server REST APIs, eg. https://localhost:9003"),t.qZA(),t.YNc(24,yh,2,0,"mat-error",11),t.YNc(25,xh,2,0,"mat-error",11),t.qZA(),t.TgZ(26,"mat-form-field")(27,"mat-label"),t._uU(28,"Boltz Macaroon Path"),t.qZA(),t.TgZ(29,"input",12),t.NdJ("ngModelChange",function(xe){return b.macaroonPath=xe}),t.qZA(),t.TgZ(30,"mat-hint"),t._uU(31,"Path for the folder containing boltz 'admin.macaroon', eg. D:\\\\xyz\\\\AppData\\\\Boltz\\\\testnet"),t.qZA(),t.YNc(32,v4,2,0,"mat-error",11),t.qZA()()(),t.TgZ(33,"div",13)(34,"button",14),t.NdJ("click",function(){return b.onReset()}),t._uU(35,"Reset"),t.qZA(),t.TgZ(36,"button",15),t.NdJ("click",function(){return b.onUpdateService()}),t._uU(37,"Update"),t.qZA()()()),2&E){const Q=t.MAs(21);t.xp6(2),t.Q6J("icon",b.faInfoCircle),t.xp6(13),t.Q6J("ngModel",b.enableBoltz),t.xp6(5),t.Q6J("required",b.enableBoltz)("disabled",!b.enableBoltz)("ngModel",b.serverUrl),t.xp6(4),t.Q6J("ngIf",(!b.serverUrl||""===b.serverUrl.trim())&&b.enableBoltz),t.xp6(1),t.Q6J("ngIf",(null==Q||null==Q.errors?null:Q.errors.invalid)&&b.enableBoltz),t.xp6(4),t.Q6J("required",b.enableBoltz)("disabled",!b.enableBoltz)("ngModel",b.macaroonPath),t.xp6(3),t.Q6J("ngIf",!b.macaroonPath&&b.enableBoltz)}},dependencies:[Zi.O5,ai._Y,ai.Fj,ai.JJ,ai.JL,ai.Q7,ai.On,ai.F,ve.BN,nt.xw,nt.Wh,nt.yH,Ci.lW,Gr.Nt,Ii.KE,Ii.hX,Ii.bx,Ii.TO,Lr.Rr,un.$V,Tn.h],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]});class Wc{constructor(){}}Wc.\u0275fac=function(E){return new(E||Wc)},Wc.\u0275cmp=t.Xpm({type:Wc,selectors:[["rtl-ln-services"]],decls:1,vars:0,template:function(E,b){1&E&&t._UZ(0,"router-outlet")},dependencies:[Hn.lC]});var pf=f(2615),X1=f(1419),pl=f(6060),td=f(2197),ha=f(8711),Ud=f(1294);function Em(H,E){if(1&H&&(t.TgZ(0,"mat-option",37),t._uU(1),t.qZA()),2&H){const b=E.$implicit,Q=t.oxw();t.Q6J("value",b),t.xp6(1),t.Oqu(Q.getLabel(b))}}function J1(H,E){1&H&&t._UZ(0,"mat-progress-bar",38)}function Kc(H,E){1&H&&(t.TgZ(0,"th",39),t._uU(1,"State"),t.qZA())}function ff(H,E){if(1&H&&(t.TgZ(0,"td",40),t._uU(1),t.qZA()),2&H){const b=E.$implicit,Q=t.oxw();t.xp6(1),t.Oqu(Q.LoopStateEnum[null==b?null:b.state])}}function Gc(H,E){1&H&&(t.TgZ(0,"th",39),t._uU(1,"Initiation Time"),t.qZA())}function $1(H,E){if(1&H&&(t.TgZ(0,"td",40),t._uU(1),t.ALo(2,"date"),t.qZA()),2&H){const b=E.$implicit;t.xp6(1),t.Oqu(t.xi3(2,1,(null==b?null:b.initiation_time)/1e6,"dd/MMM/y HH:mm"))}}function Vd(H,E){1&H&&(t.TgZ(0,"th",39),t._uU(1,"Last Update Time"),t.qZA())}function Ch(H,E){if(1&H&&(t.TgZ(0,"td",40),t._uU(1),t.ALo(2,"date"),t.qZA()),2&H){const b=E.$implicit;t.xp6(1),t.Oqu(t.xi3(2,1,(null==b?null:b.last_update_time)/1e6,"dd/MMM/y HH:mm"))}}function Hu(H,E){1&H&&(t.TgZ(0,"th",41),t._uU(1,"Amount (Sats)"),t.qZA())}function id(H,E){if(1&H&&(t.TgZ(0,"td",40)(1,"span",42),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&H){const b=E.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==b?null:b.amt))}}function Dm(H,E){1&H&&(t.TgZ(0,"th",41),t._uU(1,"Cost Server (Sats)"),t.qZA())}function Uu(H,E){if(1&H&&(t.TgZ(0,"td",40)(1,"span",42),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&H){const b=E.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==b?null:b.cost_server))}}function _f(H,E){1&H&&(t.TgZ(0,"th",41),t._uU(1,"Cost Offchain (Sats)"),t.qZA())}function gf(H,E){if(1&H&&(t.TgZ(0,"td",40)(1,"span",42),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&H){const b=E.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==b?null:b.cost_offchain))}}function vs(H,E){1&H&&(t.TgZ(0,"th",41),t._uU(1,"Cost Onchain (Sats)"),t.qZA())}function Vu(H,E){if(1&H&&(t.TgZ(0,"td",40)(1,"span",42),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&H){const b=E.$implicit;t.xp6(2),t.hij(" ",t.lcZ(3,1,null==b?null:b.cost_onchain)," ")}}function Tm(H,E){1&H&&(t.TgZ(0,"th",39),t._uU(1,"HTLC Address"),t.qZA())}const e2=function(H){return{width:H}};function Lo(H,E){if(1&H&&(t.TgZ(0,"td",40)(1,"span",43)(2,"span",44),t._uU(3),t.qZA()()()),2&H){const b=E.$implicit,Q=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,e2,Q.screenSize===Q.screenSizeEnum.XS?"6rem":Q.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.htlc_address)}}function fl(H,E){1&H&&(t.TgZ(0,"th",39),t._uU(1,"ID"),t.qZA())}function wh(H,E){if(1&H&&(t.TgZ(0,"td",40)(1,"span",43)(2,"span",44),t._uU(3),t.qZA()()()),2&H){const b=E.$implicit,Q=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,e2,Q.screenSize===Q.screenSizeEnum.XS?"6rem":Q.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.id)}}function Am(H,E){1&H&&(t.TgZ(0,"th",39),t._uU(1,"ID (Bytes)"),t.qZA())}function Mh(H,E){if(1&H&&(t.TgZ(0,"td",40)(1,"span",43)(2,"span",44),t._uU(3),t.qZA()()()),2&H){const b=E.$implicit,Q=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,e2,Q.screenSize===Q.screenSizeEnum.XS?"6rem":Q.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.id_bytes)}}function yc(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"th",45)(1,"div",46)(2,"mat-select",47),t._UZ(3,"mat-select-trigger"),t.TgZ(4,"mat-option",48),t.NdJ("click",function(){t.CHM(b);const xe=t.oxw();return t.KtG(xe.onDownloadCSV())}),t._uU(5,"Download CSV"),t.qZA()()()()}}function vf(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"td",49)(1,"button",50),t.NdJ("click",function(xe){const Ut=t.CHM(b).$implicit,ni=t.oxw();return t.KtG(ni.onSwapClick(Ut,xe))}),t._uU(2,"View Info"),t.qZA()()}}function Eh(H,E){if(1&H&&(t.TgZ(0,"p"),t._uU(1),t.qZA()),2&H){const b=t.oxw(2);t.xp6(1),t.Oqu(b.emptyTableMessage)}}function Wu(H,E){if(1&H&&(t.TgZ(0,"td",51),t.YNc(1,Eh,2,1,"p",52),t.qZA()),2&H){const b=t.oxw();t.xp6(1),t.Q6J("ngIf",!(null!=b.listSwaps&&b.listSwaps.data)||(null==b.listSwaps||null==b.listSwaps.data?null:b.listSwaps.data.length)<1)}}const Im=function(H){return{"display-none":H}};function Ku(H,E){if(1&H&&t._UZ(0,"tr",53),2&H){const b=t.oxw();t.Q6J("ngClass",t.VKq(1,Im,(null==b.listSwaps?null:b.listSwaps.data)&&(null==b.listSwaps||null==b.listSwaps.data?null:b.listSwaps.data.length)>0))}}function Lm(H,E){1&H&&t._UZ(0,"tr",54)}function Gu(H,E){1&H&&t._UZ(0,"tr",55)}const t2=function(){return["all"]},Dh=function(H){return{"overflow-auto error-border":H,"overflow-auto":!0}},Wd=function(){return["no_swap"]};class Rs{constructor(E,b,Q,xe,pt,Ut){this.logger=E,this.commonService=b,this.store=Q,this.loopService=xe,this.datePipe=pt,this.camelCaseWithReplace=Ut,this.selectedSwapType=Je.$I.LOOP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=Je.hG,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="loop",this.tableSetting={tableId:"loop",recordsPerPage:Je.IV,sortBy:"initiation_time",sortOrder:Je.Pi.DESCENDING},this.LoopStateEnum=Je.Fq,this.faHistory=$i.qO$,this.swapCaption="Loop Out",this.displayedColumns=[],this.listSwaps=new ha.by([]),this.selFilter="",this.pageSize=Je.IV,this.pageSizeOptions=Je.TJ,this.screenSize="",this.screenSizeEnum=Je.cu,this.unSubs=[new Vi.x,new Vi.x,new Vi.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(Is.Pr).pipe((0,cn.R)(this.unSubs[0])).subscribe(E=>{this.tableSetting=E.pageSettings.find(b=>b.pageId===this.PAGE_ID)?.tables.find(b=>b.tableId===this.tableSetting.tableId)||Je.gK.find(b=>b.pageId===this.PAGE_ID)?.tables.find(b=>b.tableId===this.tableSetting.tableId),this.screenSize===Je.cu.XS||this.screenSize===Je.cu.SM?this.displayedColumns=JSON.parse(JSON.stringify(this.tableSetting.columnSelectionSM)):this.displayedColumns=JSON.parse(JSON.stringify(this.tableSetting.columnSelection)),this.displayedColumns.push("actions"),this.pageSize=this.tableSetting.recordsPerPage?+this.tableSetting.recordsPerPage:Je.IV,this.swapsData&&this.swapsData.length>0&&this.sort&&this.paginator&&this.displayedColumns.length>0&&this.loadSwapsTable(this.swapsData),this.colWidth=this.displayedColumns.length?this.commonService.getContainerSize().width/this.displayedColumns.length/14+"rem":"20rem",this.logger.info(this.displayedColumns)})}ngAfterViewInit(){this.swapsData&&this.swapsData.length>0&&this.loadSwapsTable(this.swapsData)}ngOnChanges(E){this.swapCaption=this.selectedSwapType===Je.$I.LOOP_IN?"Loop In":"Loop Out",this.loadSwapsTable(this.swapsData)}applyFilter(){this.listSwaps.filter=this.selFilter.trim().toLowerCase()}getLabel(E){const b=this.nodePageDefs[this.PAGE_ID][this.tableSetting.tableId].allowedColumns.find(Q=>Q.column===E);return b?b.label?b.label:this.camelCaseWithReplace.transform(b.column,"_"):this.commonService.titleCase(E)}setFilterPredicate(){this.listSwaps.filterPredicate=(E,b)=>{let Q="";switch(this.selFilterBy){case"all":Q=JSON.stringify(E).toLowerCase();break;case"state":Q=E?.state?this.LoopStateEnum[E?.state]:"";break;case"initiation_time":case"last_update_time":Q=this.datePipe.transform(new Date((E[this.selFilterBy]||0)/1e6),"dd/MMM/y HH:mm")?.toLowerCase()||"";break;default:Q=typeof E[this.selFilterBy]>"u"?"":"string"==typeof E[this.selFilterBy]?E[this.selFilterBy].toLowerCase():"boolean"==typeof E[this.selFilterBy]?E[this.selFilterBy]?"yes":"no":E[this.selFilterBy].toString()}return"state"===this.selFilterBy?0===Q.indexOf(b):Q.includes(b)}}onSwapClick(E,b){this.loopService.getSwap(E.id_bytes?.replace(/\//g,"_")?.replace(/\+/g,"-")||"").pipe((0,cn.R)(this.unSubs[1])).subscribe(Q=>{const xe=[[{key:"state",value:Je.Fq[Q.state||""],title:"Status",width:50,type:Je.Gi.STRING},{key:"amt",value:Q.amt,title:"Amount (Sats)",width:50,type:Je.Gi.NUMBER}],[{key:"initiation_time",value:(Q.initiation_time||0)/1e9,title:"Initiation Time",width:50,type:Je.Gi.DATE_TIME},{key:"last_update_time",value:(Q.last_update_time||0)/1e9,title:"Last Update Time",width:50,type:Je.Gi.DATE_TIME}],[{key:"cost_server",value:Q.cost_server,title:"Server Cost (Sats)",width:33,type:Je.Gi.NUMBER},{key:"cost_offchain",value:Q.cost_offchain,title:"Offchain Cost (Sats)",width:33,type:Je.Gi.NUMBER},{key:"cost_onchain",value:Q.cost_onchain,title:"Onchain Cost (Sats)",width:34,type:Je.Gi.NUMBER}],[{key:"id_bytes",value:Q.id_bytes,title:"ID",width:100,type:Je.Gi.STRING}],[{key:"htlc_address",value:Q.htlc_address,title:"HTLC Address",width:100,type:Je.Gi.STRING}]];this.store.dispatch((0,Yt.qR)({payload:{data:{type:Je.n_.INFORMATION,alertTitle:this.swapCaption+" Status",message:xe,openedBy:"SWAP"}}}))})}loadSwapsTable(E){this.listSwaps=new ha.by([...E]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(b,Q)=>b[Q]&&isNaN(b[Q])?b[Q].toLocaleLowerCase():b[Q]?+b[Q]:null,this.listSwaps.sort?.sort({active:this.tableSetting.sortBy,direction:this.tableSetting.sortOrder,disableClear:!0}),this.listSwaps.paginator=this.paginator,this.setFilterPredicate(),this.applyFilter(),this.logger.info(this.listSwaps)}onDownloadCSV(){this.listSwaps.data&&this.listSwaps.data.length>0&&this.commonService.downloadFile(this.listSwaps.data,this.selectedSwapType===Je.$I.LOOP_IN?"Loop in":"Loop out")}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}}Rs.\u0275fac=function(E){return new(E||Rs)(t.Y36(si.mQ),t.Y36(Ir.v),t.Y36(Ri.yh),t.Y36(X1.W),t.Y36(Zi.uU),t.Y36(Vc.D3))},Rs.\u0275cmp=t.Xpm({type:Rs,selectors:[["rtl-swaps"]],viewQuery:function(E,b){if(1&E&&(t.Gf(td.YE,5),t.Gf(pl.NW,5)),2&E){let Q;t.iGM(Q=t.CRH())&&(b.sort=Q.first),t.iGM(Q=t.CRH())&&(b.paginator=Q.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},features:[t._Bn([{provide:Ji.PG,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:pl.ye,useValue:(0,Je.pt)("Swaps")}]),t.TTD],decls:61,vars:18,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,"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(E,b){1&E&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2),t._UZ(3,"fa-icon",3),t.TgZ(4,"span",4),t._uU(5),t.qZA()(),t.TgZ(6,"div",5)(7,"mat-form-field",6)(8,"mat-label"),t._uU(9,"Filter By"),t.qZA(),t.TgZ(10,"mat-select",7),t.NdJ("ngModelChange",function(xe){return b.selFilterBy=xe})("selectionChange",function(){return b.selFilter="",b.applyFilter()}),t.TgZ(11,"perfect-scrollbar"),t.YNc(12,Em,2,2,"mat-option",8),t.qZA()()(),t.TgZ(13,"mat-form-field",6)(14,"mat-label"),t._uU(15,"Filter"),t.qZA(),t.TgZ(16,"input",9),t.NdJ("ngModelChange",function(xe){return b.selFilter=xe})("input",function(){return b.applyFilter()})("keyup",function(){return b.applyFilter()}),t.qZA()()()(),t.TgZ(17,"div",10)(18,"div",11),t.YNc(19,J1,1,0,"mat-progress-bar",12),t.TgZ(20,"table",13,14),t.ynx(22,15),t.YNc(23,Kc,2,0,"th",16),t.YNc(24,ff,2,1,"td",17),t.BQk(),t.ynx(25,18),t.YNc(26,Gc,2,0,"th",16),t.YNc(27,$1,3,4,"td",17),t.BQk(),t.ynx(28,19),t.YNc(29,Vd,2,0,"th",16),t.YNc(30,Ch,3,4,"td",17),t.BQk(),t.ynx(31,20),t.YNc(32,Hu,2,0,"th",21),t.YNc(33,id,4,3,"td",17),t.BQk(),t.ynx(34,22),t.YNc(35,Dm,2,0,"th",21),t.YNc(36,Uu,4,3,"td",17),t.BQk(),t.ynx(37,23),t.YNc(38,_f,2,0,"th",21),t.YNc(39,gf,4,3,"td",17),t.BQk(),t.ynx(40,24),t.YNc(41,vs,2,0,"th",21),t.YNc(42,Vu,4,3,"td",17),t.BQk(),t.ynx(43,25),t.YNc(44,Tm,2,0,"th",16),t.YNc(45,Lo,4,4,"td",17),t.BQk(),t.ynx(46,26),t.YNc(47,fl,2,0,"th",16),t.YNc(48,wh,4,4,"td",17),t.BQk(),t.ynx(49,27),t.YNc(50,Am,2,0,"th",16),t.YNc(51,Mh,4,4,"td",17),t.BQk(),t.ynx(52,28),t.YNc(53,yc,6,0,"th",29),t.YNc(54,vf,3,0,"td",30),t.BQk(),t.ynx(55,31),t.YNc(56,Wu,2,1,"td",32),t.BQk(),t.YNc(57,Ku,1,3,"tr",33),t.YNc(58,Lm,1,0,"tr",34),t.YNc(59,Gu,1,0,"tr",35),t.qZA(),t._UZ(60,"mat-paginator",36),t.qZA()()()),2&E&&(t.xp6(3),t.Q6J("icon",b.faHistory),t.xp6(2),t.hij("",b.swapCaption," History"),t.xp6(5),t.Q6J("ngModel",b.selFilterBy),t.xp6(2),t.Q6J("ngForOf",t.DdM(14,t2).concat(b.displayedColumns.slice(0,-1))),t.xp6(4),t.Q6J("ngModel",b.selFilter),t.xp6(3),t.Q6J("ngIf",!0===b.flgLoading[0]),t.xp6(1),t.Q6J("dataSource",b.listSwaps)("ngClass",t.VKq(15,Dh,"error"===b.flgLoading[0])),t.xp6(37),t.Q6J("matFooterRowDef",t.DdM(17,Wd)),t.xp6(1),t.Q6J("matHeaderRowDef",b.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",b.displayedColumns),t.xp6(1),t.Q6J("pageSize",b.pageSize)("pageSizeOptions",b.pageSizeOptions)("showFirstLastButtons",b.screenSize!==b.screenSizeEnum.XS))},dependencies:[Zi.mk,Zi.sg,Zi.O5,Zi.PC,ai.Fj,ai.JJ,ai.On,ve.BN,nt.xw,nt.Wh,nt.yH,nr.oO,nr.Zl,Ci.lW,Gr.Nt,Ii.KE,Ii.hX,Ud.pW,Ji.gD,Ji.$L,on.ey,td.YE,td.nU,ha.BZ,ha.fO,ha.as,ha.w1,ha.Dz,ha.nj,ha.mD,ha.Ke,ha.ge,ha.ev,ha.yh,ha.XQ,ha.Gk,ha.Q2,pl.NW,un.Vv,un.$V,Zi.JJ,Zi.uU]});const i2=function(H){return["../",H]};function nd(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"div",11),t.NdJ("click",function(){const pt=t.CHM(b).$implicit,Ut=t.oxw();return t.KtG(Ut.onSelectedIndexChange(pt))}),t._uU(1),t.qZA()}if(2&H){const b=E.$implicit,Q=t.oxw();t.Q6J("active",Q.activeTab.link===b.link)("routerLink",t.VKq(3,i2,b.link)),t.xp6(1),t.Oqu(b.name)}}class _l{constructor(E,b,Q){this.router=E,this.loopService=b,this.store=Q,this.faInfinity=$i.vqe,this.targetConf=2,this.inAmount=25e4,this.quotes=[],this.LoopTypeEnum=Je.$I,this.selectedSwapType=Je.$I.LOOP_OUT,this.storedSwaps=[],this.filteredSwaps=[],this.emptyTableMessage="No swap data available.",this.flgLoading=[!0],this.links=[{link:"loopout",name:"Loop Out"},{link:"loopin",name:"Loop In"}],this.activeTab=this.links[0],this.unSubs=[new Vi.x,new Vi.x,new Vi.x,new Vi.x]}ngOnInit(){this.loopService.listSwaps();const E=this.links.find(b=>this.router.url.includes(b.link));this.activeTab=E||this.links[0],this.selectedSwapType=E&&"loopin"===E.link?Je.$I.LOOP_IN:Je.$I.LOOP_OUT,this.router.events.pipe((0,cn.R)(this.unSubs[0]),(0,qa.h)(b=>b instanceof Hn.Av)).subscribe({next:b=>{const Q=this.links.find(xe=>b.urlAfterRedirects.includes(xe.link));this.activeTab=Q||this.links[0],this.selectedSwapType=Q&&"loopin"===Q.link?Je.$I.LOOP_IN:Je.$I.LOOP_OUT}}),this.loopService.swapsChanged.pipe((0,cn.R)(this.unSubs[1])).subscribe({next:b=>{this.flgLoading[0]=!1,this.storedSwaps=b,this.filteredSwaps=this.storedSwaps?.filter(Q=>Q.type===this.selectedSwapType)},error:b=>{this.flgLoading[0]="error",this.emptyTableMessage=b.message?b.message:"No loop "+(this.selectedSwapType===Je.$I.LOOP_IN?"in":"out")+" available."}})}onSelectedIndexChange(E){this.selectedSwapType="loopin"===E.link?Je.$I.LOOP_IN:Je.$I.LOOP_OUT,this.filteredSwaps=this.storedSwaps?.filter(b=>b.type===this.selectedSwapType)}onLoop(E){E===Je.$I.LOOP_IN?this.loopService.getLoopInTermsAndQuotes(this.targetConf).pipe((0,cn.R)(this.unSubs[2])).subscribe({next:b=>{this.store.dispatch((0,Yt.qR)({payload:{data:{minQuote:b[0],maxQuote:b[1],direction:E,component:pf.a}}}))}}):this.loopService.getLoopOutTermsAndQuotes(this.targetConf).pipe((0,cn.R)(this.unSubs[3])).subscribe({next:b=>{this.store.dispatch((0,Yt.qR)({payload:{data:{minQuote:b[0],maxQuote:b[1],direction:E,component:pf.a}}}))}})}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}}_l.\u0275fac=function(E){return new(E||_l)(t.Y36(Hn.F0),t.Y36(X1.W),t.Y36(Ri.yh))},_l.\u0275cmp=t.Xpm({type:_l,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(E,b){if(1&E&&(t.TgZ(0,"div",0),t._UZ(1,"fa-icon",1),t.TgZ(2,"span",2),t._uU(3,"Loop"),t.qZA()(),t.TgZ(4,"div",3)(5,"mat-card")(6,"mat-card-content",4)(7,"nav",5),t.YNc(8,nd,2,5,"div",6),t.qZA(),t._UZ(9,"mat-tab-nav-panel",null,7),t.TgZ(11,"div",8)(12,"button",9),t.NdJ("click",function(){return b.onLoop(b.selectedSwapType)}),t._uU(13),t.qZA()(),t._UZ(14,"rtl-swaps",10),t.qZA()()()),2&E){const Q=t.MAs(10);t.xp6(1),t.Q6J("icon",b.faInfinity),t.xp6(6),t.Q6J("tabPanel",Q),t.xp6(1),t.Q6J("ngForOf",b.links),t.xp6(5),t.hij("Start ",b.activeTab.name,""),t.xp6(1),t.Q6J("selectedSwapType",b.selectedSwapType)("swapsData",b.filteredSwaps)("flgLoading",b.flgLoading)("emptyTableMessage",b.emptyTableMessage)}},dependencies:[Zi.sg,ve.BN,nt.xw,nt.Wh,nt.yH,Ci.lW,Bt.a8,Bt.dn,di.BU,di.sW,di.Nj,Hn.rH,Rs]});var Th=f(7772),Bs=f(6317),n2=f(5474),Kd=f(3158),cs=f(2340),a2=f(1786);class Zc{constructor(E,b,Q,xe){this.httpClient=E,this.logger=b,this.store=Q,this.commonService=xe,this.swapUrl="",this.swaps={},this.swapsChanged=new Bs.X({}),this.unSubs=[new Vi.x,new Vi.x,new Vi.x]}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,Yt.ac)({payload:Je.m6.GET_BOLTZ_SWAPS})),this.swapUrl=cs.T5+cs.NZ.BOLTZ_API+"/listSwaps",this.httpClient.get(this.swapUrl).pipe((0,cn.R)(this.unSubs[0])).subscribe({next:E=>{this.store.dispatch((0,Yt.uO)({payload:Je.m6.GET_BOLTZ_SWAPS})),this.swaps=E,this.swapsChanged.next(this.swaps)},error:E=>this.swapsChanged.error(this.handleErrorWithAlert(Je.m6.GET_BOLTZ_SWAPS,this.swapUrl,E))})}swapInfo(E){return this.swapUrl=cs.T5+cs.NZ.BOLTZ_API+"/swapInfo/"+E,this.httpClient.get(this.swapUrl).pipe((0,Kd.K)(b=>(0,_s.of)(this.handleErrorWithAlert(Je.m6.NO_SPINNER,this.swapUrl,b))))}serviceInfo(){return this.store.dispatch((0,Yt.ac)({payload:Je.m6.GET_SERVICE_INFO})),this.swapUrl=cs.T5+cs.NZ.BOLTZ_API+"/serviceInfo",this.httpClient.get(this.swapUrl).pipe((0,cn.R)(this.unSubs[1]),(0,ra.U)(E=>(this.store.dispatch((0,Yt.uO)({payload:Je.m6.GET_SERVICE_INFO})),E)),(0,Kd.K)(E=>(0,_s.of)(this.handleErrorWithAlert(Je.m6.GET_SERVICE_INFO,this.swapUrl,E))))}swapOut(E,b){const Q={amount:E,address:b};return this.swapUrl=cs.T5+cs.NZ.BOLTZ_API+"/createreverseswap",this.httpClient.post(this.swapUrl,Q).pipe((0,Kd.K)(xe=>this.handleErrorWithoutAlert("Swap Out for Address: "+b,Je.m6.NO_SPINNER,xe)))}swapIn(E){const b={amount:E};return this.swapUrl=cs.T5+cs.NZ.BOLTZ_API+"/createswap",this.httpClient.post(this.swapUrl,b).pipe((0,Kd.K)(Q=>this.handleErrorWithoutAlert("Swap In for Amount: "+E,Je.m6.NO_SPINNER,Q)))}handleErrorWithoutAlert(E,b,Q){let xe="";return this.logger.error("ERROR IN: "+E+"\n"+JSON.stringify(Q)),this.store.dispatch((0,Yt.uO)({payload:b})),401===Q.status?(xe="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,Yt.kS)())):503===Q.status?(xe="Unable to Connect to Boltz Server.",this.store.dispatch((0,Yt.qR)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:Q.status,message:"Unable to Connect to Boltz Server",URL:E},component:a2.H}}}))):xe=this.commonService.extractErrorMessage(Q),(0,n2._)(()=>new Error(xe))}handleErrorWithAlert(E,b,Q){let xe="";if(401===Q.status&&(this.logger.info("Redirecting to Login"),this.store.dispatch((0,Yt.kS)())),this.logger.error(Q),this.store.dispatch((0,Yt.uO)({payload:E})),401===Q.status)xe="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,Yt.kS)());else if(503===Q.status)xe="Unable to Connect to Boltz Server.",setTimeout(()=>{this.store.dispatch((0,Yt.qR)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:Q.status,message:"Unable to Connect to Boltz Server",URL:b},component:a2.H}}}))},100);else{xe=this.commonService.extractErrorMessage(Q);const pt=Q.error&&Q.error.error&&Q.error.error.code?Q.error.error.code:Q.error&&Q.error.code?Q.error.code:Q.code?Q.code:Q.status;setTimeout(()=>{this.store.dispatch((0,Yt.qR)({payload:{data:{type:Je.n_.ERROR,alertTitle:"ERROR",message:{code:pt,message:xe,URL:b},component:a2.H}}}))},100)}return{message:xe}}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}}function bf(H,E){1&H&&t.GkF(0)}function yf(H,E){if(1&H&&(t.TgZ(0,"div",4)(1,"span",5),t._uU(2),t.qZA()()),2&H){const b=t.oxw();t.xp6(2),t.Oqu(null!=b.swapStatus&&b.swapStatus.error?null==b.swapStatus?null:b.swapStatus.error:"Unknown Error.")}}function xf(H,E){if(1&H&&(t.TgZ(0,"div",4)(1,"div",6)(2,"div",7)(3,"h4",8),t._uU(4,"ID"),t.qZA(),t.TgZ(5,"span",5),t._uU(6),t.qZA()(),t.TgZ(7,"div",7)(8,"h4",8),t._uU(9,"Routing Fee (mSats)"),t.qZA(),t.TgZ(10,"span",5),t._uU(11),t.ALo(12,"number"),t.qZA()()(),t._UZ(13,"mat-divider",9),t.TgZ(14,"div",6)(15,"div",7)(16,"h4",8),t._uU(17,"Claim Transaction ID"),t.qZA(),t.TgZ(18,"span",5),t._uU(19),t.qZA()(),t.TgZ(20,"div",7)(21,"h4",8),t._uU(22,"Lockup Address"),t.qZA(),t.TgZ(23,"span",5),t._uU(24),t.qZA()()()()),2&H){const b=t.oxw();t.xp6(6),t.Oqu(null==b.swapStatus?null:b.swapStatus.id),t.xp6(5),t.Oqu(t.lcZ(12,4,null==b.swapStatus?null:b.swapStatus.routingFeeMilliSat)),t.xp6(8),t.Oqu(null==b.swapStatus?null:b.swapStatus.claimTransactionId),t.xp6(5),t.Oqu(null==b.swapStatus?null:b.swapStatus.lockupAddress)}}function Cf(H,E){if(1&H&&(t.TgZ(0,"div",4)(1,"div",6)(2,"div",7)(3,"h4",8),t._uU(4,"ID"),t.qZA(),t.TgZ(5,"span",5),t._uU(6),t.qZA()(),t.TgZ(7,"div",7)(8,"h4",8),t._uU(9,"Expected Amount (Sats)"),t.qZA(),t.TgZ(10,"span",5),t._uU(11),t.ALo(12,"number"),t.qZA()()(),t._UZ(13,"mat-divider",9),t.TgZ(14,"div",6)(15,"div",10)(16,"h4",8),t._uU(17,"Address"),t.qZA(),t.TgZ(18,"span",5),t._uU(19),t.qZA()()(),t._UZ(20,"mat-divider",9),t.TgZ(21,"div",6)(22,"div",10)(23,"h4",8),t._uU(24,"BIP 21"),t.qZA(),t.TgZ(25,"span",5),t._uU(26),t.qZA()()()()),2&H){const b=t.oxw();t.xp6(6),t.Oqu(null==b.swapStatus?null:b.swapStatus.id),t.xp6(5),t.Oqu(t.lcZ(12,4,null==b.swapStatus?null:b.swapStatus.expectedAmount)),t.xp6(8),t.Oqu(null==b.swapStatus?null:b.swapStatus.address),t.xp6(7),t.Oqu(null==b.swapStatus?null:b.swapStatus.bip21)}}Zc.\u0275fac=function(E){return new(E||Zc)(t.LFG(Nr.eN),t.LFG(si.mQ),t.LFG(Ri.yh),t.LFG(Ir.v))},Zc.\u0275prov=t.Yz7({token:Zc,factory:Zc.\u0275fac});class ad{constructor(){this.swapStatus=null,this.direction=Je.hc.SWAP_OUT,this.swapTypeEnum=Je.hc}}ad.\u0275fac=function(E){return new(E||ad)},ad.\u0275cmp=t.Xpm({type:ad,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(E,b){if(1&E&&(t.YNc(0,bf,1,0,"ng-container",0),t.YNc(1,yf,3,1,"ng-template",null,1,t.W1O),t.YNc(3,xf,25,6,"ng-template",null,2,t.W1O),t.YNc(5,Cf,27,6,"ng-template",null,3,t.W1O)),2&E){const Q=t.MAs(2),xe=t.MAs(4),pt=t.MAs(6);t.Q6J("ngTemplateOutlet",null!=b.swapStatus&&b.swapStatus.error?Q:b.direction===b.swapTypeEnum.SWAP_OUT?xe:pt)}},dependencies:[Zi.tP,nt.xw,nt.Wh,nt.yH,Ts.d,Zi.JJ]});class rd{constructor(){this.serviceInfo={},this.direction=Je.hc.SWAP_OUT,this.swapTypeEnum=Je.hc}}rd.\u0275fac=function(E){return new(E||rd)},rd.\u0275cmp=t.Xpm({type:rd,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(E,b){1&E&&(t.TgZ(0,"mat-expansion-panel",0)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",1),t._uU(4,"Service Information"),t.qZA()()(),t.TgZ(5,"div",2)(6,"div",3)(7,"div",4)(8,"h4",5),t._uU(9,"Minimum Amount (Sats)"),t.qZA(),t.TgZ(10,"span",6),t._uU(11),t.ALo(12,"number"),t.qZA()(),t.TgZ(13,"div",4)(14,"h4",5),t._uU(15,"Maximum Amount (Sats)"),t.qZA(),t.TgZ(16,"span",6),t._uU(17),t.ALo(18,"number"),t.qZA()()(),t._UZ(19,"mat-divider",7),t.TgZ(20,"div",3)(21,"div",4)(22,"h4",5),t._uU(23,"Fee Percentage"),t.qZA(),t.TgZ(24,"span",6),t._uU(25),t.ALo(26,"number"),t.qZA()(),t.TgZ(27,"div",4)(28,"h4",5),t._uU(29,"Miner Fee (Sats)"),t.qZA(),t.TgZ(30,"span",6),t._uU(31),t.ALo(32,"number"),t.qZA()()()()()),2&E&&(t.Q6J("expanded",!0),t.xp6(11),t.Oqu(t.lcZ(12,5,null==b.serviceInfo||null==b.serviceInfo.limits?null:b.serviceInfo.limits.minimal)),t.xp6(6),t.Oqu(t.lcZ(18,7,null==b.serviceInfo||null==b.serviceInfo.limits?null:b.serviceInfo.limits.maximal)),t.xp6(8),t.Oqu(t.lcZ(26,9,null==b.serviceInfo||null==b.serviceInfo.fees?null:b.serviceInfo.fees.percentage)),t.xp6(6),t.Oqu(t.lcZ(32,11,b.direction===b.swapTypeEnum.SWAP_OUT?null==b.serviceInfo||null==b.serviceInfo.fees||null==b.serviceInfo.fees.miner?null:b.serviceInfo.fees.miner.reverse:null==b.serviceInfo||null==b.serviceInfo.fees||null==b.serviceInfo.fees.miner?null:b.serviceInfo.fees.miner.normal)))},dependencies:[nt.xw,nt.Wh,nt.yH,La.ib,La.yz,La.yK,Ts.d,Zi.JJ]});var Ah=f(113);function r2(H,E){1&H&&t.GkF(0)}const bs=function(H,E){return{"small-svg":H,"large-svg":E}};function wf(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(xe){t.CHM(b);const pt=t.oxw();return t.KtG(pt.onSwipe(xe))}),t.O4$(),t.TgZ(1,"svg",7),t._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),t.qZA(),t.kcU(),t.TgZ(12,"div",18)(13,"mat-card-title"),t._uU(14,"Boltz Submarine Swaps explained."),t.qZA()(),t.TgZ(15,"div",19)(16,"mat-card-subtitle",20),t._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. "),t.qZA()()()}if(2&H){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,bs,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function Ih(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(xe){t.CHM(b);const pt=t.oxw();return t.KtG(pt.onSwipe(xe))}),t.O4$(),t.TgZ(1,"svg",21),t._UZ(2,"path",22)(3,"path",23)(4,"path",24)(5,"path",25)(6,"path",26)(7,"path",27)(8,"path",28),t.qZA(),t.kcU(),t.TgZ(9,"div",18)(10,"mat-card-title"),t._uU(11,"Step 1: Deciding to Submarine Swap"),t.qZA()(),t.TgZ(12,"div",19)(13,"mat-card-subtitle",20),t._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. "),t.qZA()()()}if(2&H){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,bs,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function Om(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(xe){t.CHM(b);const pt=t.oxw();return t.KtG(pt.onSwipe(xe))}),t.O4$(),t.TgZ(1,"svg",29),t._UZ(2,"path",30)(3,"path",31)(4,"path",32)(5,"path",33)(6,"path",34)(7,"circle",35)(8,"rect",36),t.TgZ(9,"defs")(10,"pattern",37),t._UZ(11,"use",38),t.qZA(),t._UZ(12,"image",39),t.qZA()(),t.kcU(),t.TgZ(13,"div",18)(14,"mat-card-title"),t._uU(15,"Step 2: Sending the on-chain funds"),t.qZA()(),t.TgZ(16,"div",19)(17,"mat-card-subtitle",20),t._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. "),t.qZA()()()}if(2&H){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,bs,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function Zu(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(xe){t.CHM(b);const pt=t.oxw();return t.KtG(pt.onSwipe(xe))}),t.O4$(),t.TgZ(1,"svg",40)(2,"g",41),t._UZ(3,"path",42)(4,"path",43)(5,"path",44)(6,"path",45)(7,"path",46),t.qZA(),t.TgZ(8,"defs")(9,"clipPath",47),t._UZ(10,"rect",48),t.qZA()()(),t.kcU(),t.TgZ(11,"div",18)(12,"mat-card-title"),t._uU(13,"Step 3: Receiving the funds on Lightning"),t.qZA()(),t.TgZ(14,"div",19)(15,"mat-card-subtitle",20),t._uU(16," Boltz pays the Lightning invoice to your node and claims the on-chain funds locked in the previous step. "),t.qZA()()()}if(2&H){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,bs,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function gl(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(xe){t.CHM(b);const pt=t.oxw();return t.KtG(pt.onSwipe(xe))}),t.O4$(),t.TgZ(1,"svg",49),t._UZ(2,"path",50)(3,"path",51)(4,"path",52)(5,"path",53)(6,"path",54),t.qZA(),t.kcU(),t.TgZ(7,"div",18)(8,"mat-card-title"),t._uU(9,"Done!"),t.qZA()(),t.TgZ(10,"div",19)(11,"mat-card-subtitle",20),t._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. "),t.qZA()()()}if(2&H){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,bs,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}class vl{constructor(E){this.commonService=E,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new t.vpe,this.screenSize="",this.screenSizeEnum=Je.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(E){2===E.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===E.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}}function o2(H,E){1&H&&t.GkF(0)}vl.\u0275fac=function(E){return new(E||vl)(t.Y36(Ir.v))},vl.\u0275cmp=t.Xpm({type:vl,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(E,b){if(1&E&&(t.YNc(0,r2,1,0,"ng-container",0),t.YNc(1,wf,18,5,"ng-template",null,1,t.W1O),t.YNc(3,Ih,15,5,"ng-template",null,2,t.W1O),t.YNc(5,Om,19,5,"ng-template",null,3,t.W1O),t.YNc(7,Zu,17,5,"ng-template",null,4,t.W1O),t.YNc(9,gl,13,5,"ng-template",null,5,t.W1O)),2&E){const Q=t.MAs(2),xe=t.MAs(4),pt=t.MAs(6),Ut=t.MAs(8),ni=t.MAs(10);t.Q6J("ngTemplateOutlet",1===b.stepNumber?Q:2===b.stepNumber?xe:3===b.stepNumber?pt:4===b.stepNumber?Ut:ni)}},dependencies:[Zi.mk,Zi.tP,nt.xw,nt.Wh,nt.yH,nr.oO,Bt.$j,Bt.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:[Ah.l]}});const bl=function(H,E){return{"small-svg":H,"large-svg":E}};function Gd(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(xe){t.CHM(b);const pt=t.oxw();return t.KtG(pt.onSwipe(xe))}),t.O4$(),t.TgZ(1,"svg",7),t._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),t.qZA(),t.kcU(),t.TgZ(12,"div",18)(13,"mat-card-title"),t._uU(14,"Boltz Reverse Submarine Swap explained."),t.qZA()(),t.TgZ(15,"div",19)(16,"mat-card-subtitle",20),t._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. "),t.qZA()()()}if(2&H){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,bl,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function s2(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(xe){t.CHM(b);const pt=t.oxw();return t.KtG(pt.onSwipe(xe))}),t.O4$(),t.TgZ(1,"svg",21)(2,"g",22),t._UZ(3,"path",23)(4,"path",24)(5,"path",25)(6,"path",26)(7,"path",27)(8,"path",28),t.qZA(),t._UZ(9,"path",29),t.TgZ(10,"defs")(11,"clipPath",30),t._UZ(12,"rect",31),t.qZA()()(),t.kcU(),t.TgZ(13,"div",18)(14,"mat-card-title"),t._uU(15,"Step 1: Deciding to Reverse Submarine Swap"),t.qZA()(),t.TgZ(16,"div",19)(17,"mat-card-subtitle",20),t._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. "),t.qZA()()()}if(2&H){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,bl,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function Yu(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(xe){t.CHM(b);const pt=t.oxw();return t.KtG(pt.onSwipe(xe))}),t.O4$(),t.TgZ(1,"svg",32),t._UZ(2,"path",33)(3,"path",34)(4,"path",35)(5,"path",36)(6,"path",37)(7,"circle",38)(8,"rect",39),t.TgZ(9,"defs")(10,"pattern",40),t._UZ(11,"use",41),t.qZA(),t._UZ(12,"image",42),t.qZA()(),t.kcU(),t.TgZ(13,"div",18)(14,"mat-card-title"),t._uU(15,"Step 2: Paying the Lightning Invoice"),t.qZA()(),t.TgZ(16,"div",19)(17,"mat-card-subtitle",20),t._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. "),t.qZA()()()}if(2&H){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,bl,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function to(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(xe){t.CHM(b);const pt=t.oxw();return t.KtG(pt.onSwipe(xe))}),t.O4$(),t.TgZ(1,"svg",43)(2,"g",22),t._UZ(3,"path",44)(4,"path",45)(5,"path",46)(6,"path",47)(7,"path",48),t.qZA(),t.TgZ(8,"defs")(9,"clipPath",30),t._UZ(10,"rect",49),t.qZA()()(),t.kcU(),t.TgZ(11,"div",18)(12,"mat-card-title"),t._uU(13,"Step 3: Receiving the funds on-chain"),t.qZA()(),t.TgZ(14,"div",19)(15,"mat-card-subtitle",20),t._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. "),t.qZA()()()}if(2&H){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,bl,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function Qu(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(xe){t.CHM(b);const pt=t.oxw();return t.KtG(pt.onSwipe(xe))}),t.O4$(),t.TgZ(1,"svg",50),t._UZ(2,"path",51)(3,"path",52)(4,"path",53)(5,"path",54)(6,"path",55),t.qZA(),t.kcU(),t.TgZ(7,"div",18)(8,"mat-card-title"),t._uU(9,"Done!"),t.qZA()(),t.TgZ(10,"div",19)(11,"mat-card-subtitle",20),t._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. "),t.qZA()()()}if(2&H){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,bl,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}class yl{constructor(E){this.commonService=E,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new t.vpe,this.screenSize="",this.screenSizeEnum=Je.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(E){2===E.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===E.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}}yl.\u0275fac=function(E){return new(E||yl)(t.Y36(Ir.v))},yl.\u0275cmp=t.Xpm({type:yl,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(E,b){if(1&E&&(t.YNc(0,o2,1,0,"ng-container",0),t.YNc(1,Gd,18,5,"ng-template",null,1,t.W1O),t.YNc(3,s2,19,5,"ng-template",null,2,t.W1O),t.YNc(5,Yu,19,5,"ng-template",null,3,t.W1O),t.YNc(7,to,17,5,"ng-template",null,4,t.W1O),t.YNc(9,Qu,13,5,"ng-template",null,5,t.W1O)),2&E){const Q=t.MAs(2),xe=t.MAs(4),pt=t.MAs(6),Ut=t.MAs(8),ni=t.MAs(10);t.Q6J("ngTemplateOutlet",1===b.stepNumber?Q:2===b.stepNumber?xe:3===b.stepNumber?pt:4===b.stepNumber?Ut:ni)}},dependencies:[Zi.mk,Zi.tP,nt.xw,nt.Wh,nt.yH,nr.oO,Bt.$j,Bt.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:[Ah.l]}});const va=["stepper"];function ju(H,E){if(1&H&&t._uU(0),2&H){const b=t.oxw(2);t.Oqu(b.inputFormLabel)}}function Yc(H,E){1&H&&(t.TgZ(0,"mat-error"),t._uU(1,"Amount is required."),t.qZA())}function xc(H,E){if(1&H&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"number"),t.qZA()),2&H){const b=t.oxw(2);t.xp6(1),t.hij("Amount must be greater than or equal to ",t.lcZ(2,1,null==b.serviceInfo||null==b.serviceInfo.limits?null:b.serviceInfo.limits.minimal),".")}}function qu(H,E){if(1&H&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"number"),t.qZA()),2&H){const b=t.oxw(2);t.xp6(1),t.hij("Amount must be less than or equal to ",t.lcZ(2,1,null==b.serviceInfo||null==b.serviceInfo.limits?null:b.serviceInfo.limits.maximal),".")}}function c2(H,E){1&H&&(t.TgZ(0,"button",40),t._uU(1,"Next"),t.qZA())}function Lh(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"button",41),t.NdJ("click",function(){t.CHM(b);const xe=t.oxw(2);return t.KtG(xe.onSwap())}),t._uU(1),t.qZA()}if(2&H){const b=t.oxw(2);t.xp6(1),t.hij("Initiate ",b.swapDirectionCaption,"")}}function Oh(H,E){if(1&H&&t._uU(0),2&H){const b=t.oxw(3);t.Oqu(b.addressFormLabel)}}function Zd(H,E){1&H&&(t.TgZ(0,"mat-error"),t._uU(1,"Address is required."),t.qZA())}function Xu(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"mat-step",15)(1,"form",16),t.YNc(2,Oh,1,1,"ng-template",17),t.TgZ(3,"div",42)(4,"mat-radio-group",43),t.NdJ("change",function(xe){t.CHM(b);const pt=t.oxw(2);return t.KtG(pt.onAddressTypeChange(xe))}),t.TgZ(5,"mat-radio-button",44),t._uU(6,"Node Local Address"),t.qZA(),t.TgZ(7,"mat-radio-button",45),t._uU(8,"External Address"),t.qZA()(),t.TgZ(9,"mat-form-field",46)(10,"mat-label"),t._uU(11,"Address"),t.qZA(),t._UZ(12,"input",47),t.YNc(13,Zd,2,0,"mat-error",24),t.qZA()(),t.TgZ(14,"div",25)(15,"button",48),t.NdJ("click",function(){t.CHM(b);const xe=t.oxw(2);return t.KtG(xe.onSwap())}),t._uU(16),t.qZA()()()()}if(2&H){const b=t.oxw(2);t.Q6J("stepControl",b.addressFormGroup)("editable",b.flgEditable),t.xp6(1),t.Q6J("formGroup",b.addressFormGroup),t.xp6(11),t.Q6J("required","external"===b.addressFormGroup.controls.addressType.value),t.xp6(1),t.Q6J("ngIf",null==b.addressFormGroup.controls.address.errors?null:b.addressFormGroup.controls.address.errors.required),t.xp6(3),t.hij("Initiate ",b.swapDirectionCaption,"")}}function Sh(H,E){if(1&H&&t._uU(0),2&H){const b=t.oxw(2);t.hij("",b.swapDirectionCaption," Status")}}function Sm(H,E){if(1&H&&(t.TgZ(0,"mat-icon",49),t._uU(1),t.qZA()),2&H){const b=t.oxw(2);t.xp6(1),t.Oqu(b.swapStatus&&null!=b.swapStatus&&b.swapStatus.id?"check":"close")}}function km(H,E){1&H&&t._UZ(0,"div")}function Ju(H,E){1&H&&t._UZ(0,"mat-progress-bar",50)}function kh(H,E){if(1&H&&(t.TgZ(0,"h4",51),t._uU(1),t.qZA()),2&H){const b=t.oxw(2);t.xp6(1),t.Oqu(b.swapStatus&&b.swapStatus.error?b.swapDirectionCaption+" failed.":b.swapStatus&&b.swapStatus.id?b.swapDirectionCaption+" request placed successfully. You can check the status of the request on the 'Boltz' menu.":b.swapDirectionCaption+" request placed successfully.")}}function Ph(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"button",52),t.NdJ("click",function(){t.CHM(b);const xe=t.oxw(2);return t.KtG(xe.onRestart())}),t._uU(1,"Start Again"),t.qZA()}}function Yd(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"div",3)(1,"div",4)(2,"mat-card-header",5)(3,"div",6)(4,"span",7),t._uU(5),t.qZA()(),t.TgZ(6,"div",8)(7,"button",9),t.NdJ("click",function(){t.CHM(b);const xe=t.oxw();return t.KtG(xe.showInfo())}),t._uU(8,"?"),t.qZA(),t.TgZ(9,"button",10),t.NdJ("click",function(){t.CHM(b);const xe=t.oxw();return t.KtG(xe.onClose())}),t._uU(10,"X"),t.qZA()()(),t.TgZ(11,"mat-card-content",11)(12,"div",12)(13,"mat-vertical-stepper",13,14),t.NdJ("selectionChange",function(xe){t.CHM(b);const pt=t.oxw();return t.KtG(pt.stepSelectionChanged(xe))}),t.TgZ(15,"mat-step",15)(16,"form",16),t.YNc(17,ju,1,1,"ng-template",17),t.TgZ(18,"div",18),t._UZ(19,"rtl-boltz-service-info",19),t.qZA(),t.TgZ(20,"div",20)(21,"mat-form-field",21)(22,"mat-label"),t._uU(23,"Amount"),t.qZA(),t._UZ(24,"input",22),t.TgZ(25,"mat-hint"),t._uU(26),t.ALo(27,"number"),t.ALo(28,"number"),t.qZA(),t.TgZ(29,"span",23),t._uU(30,"Sats"),t.qZA(),t.YNc(31,Yc,2,0,"mat-error",24),t.YNc(32,xc,3,3,"mat-error",24),t.YNc(33,qu,3,3,"mat-error",24),t.qZA()(),t.TgZ(34,"div",25),t.YNc(35,c2,2,0,"button",26),t.YNc(36,Lh,2,1,"button",27),t.qZA()()(),t.YNc(37,Xu,17,6,"mat-step",28),t.TgZ(38,"mat-step",29)(39,"form",16),t.YNc(40,Sh,1,1,"ng-template",17),t.TgZ(41,"div",30)(42,"mat-expansion-panel",31)(43,"mat-expansion-panel-header")(44,"mat-panel-title")(45,"span",32),t._uU(46),t.YNc(47,Sm,2,1,"mat-icon",33),t.qZA()()(),t.YNc(48,km,1,0,"div",34),t.qZA(),t.YNc(49,Ju,1,0,"mat-progress-bar",35),t.qZA(),t.YNc(50,kh,2,1,"h4",36),t.TgZ(51,"div",25),t.YNc(52,Ph,2,0,"button",37),t.qZA()()()(),t.TgZ(53,"div",38)(54,"button",39),t._uU(55,"Close"),t.qZA()()()()()()}if(2&H){const b=t.oxw(),Q=t.MAs(2);t.Q6J("@opacityAnimation",void 0),t.xp6(3),t.Q6J("fxFlex",b.screenSize===b.screenSizeEnum.XS||b.screenSize===b.screenSizeEnum.SM?"83":"91"),t.xp6(2),t.Oqu(b.swapDirectionCaption),t.xp6(1),t.Q6J("fxFlex",b.screenSize===b.screenSizeEnum.XS||b.screenSize===b.screenSizeEnum.SM?"17":"9"),t.xp6(7),t.Q6J("linear",!0),t.xp6(2),t.Q6J("stepControl",b.inputFormGroup)("editable",b.flgEditable),t.xp6(1),t.Q6J("formGroup",b.inputFormGroup),t.xp6(3),t.Q6J("serviceInfo",b.serviceInfo)("direction",b.direction),t.xp6(5),t.Q6J("step",1e3),t.xp6(2),t.AsE("Range: ",t.lcZ(27,30,null==b.serviceInfo||null==b.serviceInfo.limits?null:b.serviceInfo.limits.minimal),"-",t.lcZ(28,32,null==b.serviceInfo||null==b.serviceInfo.limits?null:b.serviceInfo.limits.maximal),""),t.xp6(5),t.Q6J("ngIf",null==b.inputFormGroup||null==b.inputFormGroup.controls||null==b.inputFormGroup.controls.amount||null==b.inputFormGroup.controls.amount.errors?null:b.inputFormGroup.controls.amount.errors.required),t.xp6(1),t.Q6J("ngIf",null==b.inputFormGroup||null==b.inputFormGroup.controls||null==b.inputFormGroup.controls.amount||null==b.inputFormGroup.controls.amount.errors?null:b.inputFormGroup.controls.amount.errors.min),t.xp6(1),t.Q6J("ngIf",null==b.inputFormGroup||null==b.inputFormGroup.controls||null==b.inputFormGroup.controls.amount||null==b.inputFormGroup.controls.amount.errors?null:b.inputFormGroup.controls.amount.errors.max),t.xp6(2),t.Q6J("ngIf",b.direction===b.swapTypeEnum.SWAP_OUT),t.xp6(1),t.Q6J("ngIf",b.direction===b.swapTypeEnum.SWAP_IN),t.xp6(1),t.Q6J("ngIf",b.direction===b.swapTypeEnum.SWAP_OUT),t.xp6(1),t.Q6J("stepControl",b.statusFormGroup),t.xp6(1),t.Q6J("formGroup",b.statusFormGroup),t.xp6(3),t.Q6J("expanded",!!b.swapStatus),t.xp6(4),t.Oqu(b.swapStatus?b.swapStatus.id?b.swapDirectionCaption+" request details":b.swapDirectionCaption+" error details":"Waiting for "+b.swapDirectionCaption+" request..."),t.xp6(1),t.Q6J("ngIf",b.swapStatus),t.xp6(1),t.Q6J("ngIf",!b.swapStatus)("ngIfElse",Q),t.xp6(1),t.Q6J("ngIf",!b.swapStatus),t.xp6(1),t.Q6J("ngIf",b.swapStatus),t.xp6(2),t.Q6J("ngIf",b.swapStatus&&(b.swapStatus.error||!b.swapStatus.id)),t.xp6(2),t.Q6J("mat-dialog-close",!1)}}function l2(H,E){if(1&H&&t._UZ(0,"rtl-boltz-swap-status",53),2&H){const b=t.oxw();t.Q6J("swapStatus",b.swapStatus)("direction",b.direction)}}function xl(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"rtl-boltz-swapout-info-graphics",70),t.NdJ("stepNumberChange",function(xe){t.CHM(b);const pt=t.oxw(2);return t.KtG(pt.stepNumber=xe)}),t.qZA()}if(2&H){const b=t.oxw(2);t.Q6J("animationDirection",b.animationDirection)("stepNumber",b.stepNumber)}}function Pm(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"rtl-boltz-swapin-info-graphics",70),t.NdJ("stepNumberChange",function(xe){t.CHM(b);const pt=t.oxw(2);return t.KtG(pt.stepNumber=xe)}),t.qZA()}if(2&H){const b=t.oxw(2);t.Q6J("animationDirection",b.animationDirection)("stepNumber",b.stepNumber)}}const $u=function(H,E){return{"dot-primary":H,"dot-primary-lighter":E}};function Mf(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"span",71),t.NdJ("click",function(){const pt=t.CHM(b).$implicit,Ut=t.oxw(2);return t.KtG(Ut.onStepChanged(pt))}),t._UZ(1,"p",72),t.qZA()}if(2&H){const b=E.$implicit,Q=t.oxw(2);t.xp6(1),t.Q6J("ngClass",t.WLB(1,$u,Q.stepNumber===b,Q.stepNumber!==b))}}function Rm(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"button",73),t.NdJ("click",function(){t.CHM(b);const xe=t.oxw(2);return t.KtG(xe.onReadMore())}),t._uU(1,"Read More"),t.qZA()}}function d2(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"button",74),t.NdJ("click",function(){t.CHM(b);const xe=t.oxw(2);return t.KtG(xe.onStepChanged(4))}),t._uU(1,"Back"),t.qZA()}}function e0(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"button",75),t.NdJ("click",function(){t.CHM(b);const xe=t.oxw(2);return xe.flgShowInfo=!1,t.KtG(xe.stepNumber=1)}),t._uU(1,"Close"),t.qZA()}}function t0(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"button",76),t.NdJ("click",function(){t.CHM(b);const xe=t.oxw(2);return xe.flgShowInfo=!1,t.KtG(xe.stepNumber=1)}),t._uU(1,"Close"),t.qZA()}}function Qd(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"button",77),t.NdJ("click",function(){t.CHM(b);const xe=t.oxw(2);return t.KtG(xe.onStepChanged(xe.stepNumber-1))}),t._uU(1,"Back"),t.qZA()}}function Rh(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"button",78),t.NdJ("click",function(){t.CHM(b);const xe=t.oxw(2);return t.KtG(xe.onStepChanged(xe.stepNumber+1))}),t._uU(1,"Next"),t.qZA()}}const Bh=function(){return[1,2,3,4,5]};function i0(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"div",54)(1,"div",18)(2,"mat-card-header",55)(3,"div",56),t._UZ(4,"span",7),t.qZA(),t.TgZ(5,"div",57)(6,"button",58),t.NdJ("click",function(){t.CHM(b);const xe=t.oxw();return xe.flgShowInfo=!1,t.KtG(xe.stepNumber=1)}),t._uU(7,"X"),t.qZA()()(),t.TgZ(8,"mat-card-content",59),t.YNc(9,xl,1,2,"rtl-boltz-swapout-info-graphics",60),t.YNc(10,Pm,1,2,"rtl-boltz-swapin-info-graphics",60),t.qZA(),t.TgZ(11,"div",61),t.YNc(12,Mf,2,4,"span",62),t.qZA(),t.TgZ(13,"div",63),t.YNc(14,Rm,2,0,"button",64),t.YNc(15,d2,2,0,"button",65),t.YNc(16,e0,2,0,"button",66),t.YNc(17,t0,2,0,"button",67),t.YNc(18,Qd,2,0,"button",68),t.YNc(19,Rh,2,0,"button",69),t.qZA()()()}if(2&H){const b=t.oxw();t.Q6J("@opacityAnimation",void 0),t.xp6(9),t.Q6J("ngIf",b.direction===b.swapTypeEnum.SWAP_OUT),t.xp6(1),t.Q6J("ngIf",b.direction===b.swapTypeEnum.SWAP_IN),t.xp6(2),t.Q6J("ngForOf",t.DdM(10,Bh)),t.xp6(2),t.Q6J("ngIf",5===b.stepNumber),t.xp6(1),t.Q6J("ngIf",5===b.stepNumber),t.xp6(1),t.Q6J("ngIf",5===b.stepNumber),t.xp6(1),t.Q6J("ngIf",b.stepNumber<5),t.xp6(1),t.Q6J("ngIf",b.stepNumber>1&&b.stepNumber<5),t.xp6(1),t.Q6J("ngIf",b.stepNumber<5)}}class Cl{constructor(E,b,Q,xe,pt,Ut,ni){this.dialogRef=E,this.data=b,this.boltzService=Q,this.formBuilder=xe,this.decimalPipe=pt,this.logger=Ut,this.commonService=ni,this.faInfoCircle=$i.sqG,this.serviceInfo={fees:{percentage:null,miner:{normal:null,reverse:null}},limits:{minimal:1e4,maximal:5e7}},this.swapTypeEnum=Je.hc,this.direction=Je.hc.SWAP_OUT,this.swapDirectionCaption="Swap out",this.swapStatus=null,this.inputFormLabel="Amount to swap out",this.addressFormLabel="Withdrawal Address",this.flgShowInfo=!1,this.stepNumber=1,this.screenSize="",this.screenSizeEnum=Je.cu,this.animationDirection="forward",this.flgEditable=!0,this.unSubs=[new Vi.x,new Vi.x,new Vi.x,new Vi.x,new Vi.x,new Vi.x]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.serviceInfo=this.data.serviceInfo,this.direction=this.data.direction||Je.hc.SWAP_OUT,this.swapDirectionCaption=this.direction===Je.hc.SWAP_OUT?"Swap Out":"Swap in",this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.inputFormGroup=this.formBuilder.group({amount:[this.serviceInfo.limits?.minimal,[ai.kI.required,ai.kI.min(this.serviceInfo.limits?.minimal||0),ai.kI.max(this.serviceInfo.limits?.maximal||0)]]}),this.addressFormGroup=this.formBuilder.group({addressType:["local",[ai.kI.required]],address:[{value:"",disabled:!0}]}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges()}ngAfterViewInit(){this.direction===Je.hc.SWAP_OUT&&this.addressFormGroup.setErrors({Invalid:!0})}onFormValueChanges(){this.direction===Je.hc.SWAP_OUT&&this.addressFormGroup.valueChanges.pipe((0,cn.R)(this.unSubs[2])).subscribe(E=>{this.addressFormGroup.setErrors({Invalid:!0})})}onAddressTypeChange(E){"external"===E.value?(this.addressFormGroup.controls.address.setValidators([ai.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===Je.hc.SWAP_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===Je.hc.SWAP_IN)this.boltzService.swapIn(this.inputFormGroup.controls.amount.value).pipe((0,cn.R)(this.unSubs[3])).subscribe({next:E=>{this.swapStatus=E,this.boltzService.listSwaps(),this.flgEditable=!0},error:E=>{this.swapStatus={error:E},this.flgEditable=!0,this.logger.error(E)}});else{const E="external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"";this.boltzService.swapOut(this.inputFormGroup.controls.amount.value,E).pipe((0,cn.R)(this.unSubs[4])).subscribe({next:b=>{this.swapStatus=b,this.boltzService.listSwaps(),this.flgEditable=!0},error:b=>{this.swapStatus={error:b},this.flgEditable=!0,this.logger.error(b)}})}}stepSelectionChanged(E){switch(E.selectedIndex){case 0:default:this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.addressFormLabel="Withdrawal Address";break;case 1:this.inputFormGroup.controls.amount.value?(this.direction,Je.hc.SWAP_IN,this.inputFormLabel=this.swapDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats"):this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.addressFormLabel="Withdrawal Address"}E.selectedIndex<E.previouslySelectedIndex&&E.selectedStep.stepControl.setErrors({Invalid:!0})}onClose(){this.dialogRef.close(!0)}showInfo(){this.flgShowInfo=!0}onReadMore(){this.direction===Je.hc.SWAP_IN?window.open("https://docs.boltz.exchange/en/latest/lifecycle/#normal-submarine-swaps","_blank"):window.open("https://docs.boltz.exchange/en/latest/lifecycle/#reverse-submarine-swaps","_blank"),this.onClose()}onStepChanged(E){this.animationDirection=E<this.stepNumber?"backward":"forward",this.stepNumber=E}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(E=>{E.next(null),E.complete()})}}function wl(H,E){if(1&H&&(t.TgZ(0,"mat-option",42),t._uU(1),t.qZA()),2&H){const b=E.$implicit,Q=t.oxw();t.Q6J("value",b),t.xp6(1),t.Oqu(Q.getLabel(b))}}function n0(H,E){1&H&&t._UZ(0,"mat-progress-bar",43)}function Bm(H,E){1&H&&(t.TgZ(0,"th",44),t._uU(1,"Status"),t.qZA())}function a0(H,E){if(1&H&&(t.TgZ(0,"td",45),t._uU(1),t.qZA()),2&H){const b=E.$implicit,Q=t.oxw();t.xp6(1),t.Oqu(Q.swapStateEnum[null==b?null:b.status])}}function r0(H,E){1&H&&(t.TgZ(0,"th",44),t._uU(1,"Swap ID"),t.qZA())}function Nm(H,E){if(1&H&&(t.TgZ(0,"td",45),t._uU(1),t.qZA()),2&H){const b=E.$implicit;t.xp6(1),t.Oqu(null==b?null:b.id)}}function Cc(H,E){1&H&&(t.TgZ(0,"th",44),t._uU(1,"Claim Address"),t.qZA())}Cl.\u0275fac=function(E){return new(E||Cl)(t.Y36(Ia.so),t.Y36(Ia.WI),t.Y36(Zc),t.Y36(ai.QS),t.Y36(Zi.JJ),t.Y36(si.mQ),t.Y36(Ir.v))},Cl.\u0275cmp=t.Xpm({type:Cl,selectors:[["rtl-boltz-swap-modal"]],viewQuery:function(E,b){if(1&E&&t.Gf(va,5),2&E){let Q;t.iGM(Q=t.CRH())&&(b.stepper=Q.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(E,b){1&E&&(t.YNc(0,Yd,56,34,"div",0),t.YNc(1,l2,1,2,"ng-template",null,1,t.W1O),t.YNc(3,i0,20,11,"div",2)),2&E&&(t.Q6J("ngIf",!b.flgShowInfo),t.xp6(3),t.Q6J("ngIf",b.flgShowInfo))},dependencies:[Zi.mk,Zi.sg,Zi.O5,ai._Y,ai.Fj,ai.wV,ai.JJ,ai.JL,ai.Q7,ai.sg,ai.u,nt.xw,nt.Wh,nt.yH,nr.oO,Ia.ZT,Ci.lW,Bt.dn,Bt.dk,La.ib,La.yz,La.yK,qs.Hw,Gr.Nt,Ii.KE,Ii.hX,Ii.bx,Ii.TO,Ii.R9,Ud.pW,yo.VQ,yo.U0,Zo.C0,Zo.VY,Zo.Vq,Zo.Ic,Tn.h,ad,rd,vl,yl,Zi.JJ],styles:[".dots-stepper-block[_ngcontent-%COMP%]{width:3rem}.info-graphics-container[_ngcontent-%COMP%]{max-height:60rem;min-height:60rem}"],data:{animation:[Th._]}});const Ls=function(H){return{width:H}};function Fm(H,E){if(1&H&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&H){const b=E.$implicit,Q=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Ls,Q.screenSize===Q.screenSizeEnum.XS?"6rem":Q.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.claimAddress)}}function o0(H,E){1&H&&(t.TgZ(0,"th",44),t._uU(1,"Lockup Address"),t.qZA())}function zm(H,E){if(1&H&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&H){const b=E.$implicit,Q=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Ls,Q.screenSize===Q.screenSizeEnum.XS?"6rem":Q.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.lockupAddress)}}function Hm(H,E){1&H&&(t.TgZ(0,"th",48),t._uU(1,"Onchain Amount (Sats)"),t.qZA())}function Um(H,E){if(1&H&&(t.TgZ(0,"td",45)(1,"span",49),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&H){const b=E.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==b?null:b.onchainAmount))}}function s0(H,E){1&H&&(t.TgZ(0,"th",48),t._uU(1,"Expected Amount (Sats)"),t.qZA())}function c0(H,E){if(1&H&&(t.TgZ(0,"td",45)(1,"span",49),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&H){const b=E.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==b?null:b.expectedAmount))}}function Vm(H,E){1&H&&(t.TgZ(0,"th",44),t._uU(1,"Error"),t.qZA())}function Wm(H,E){if(1&H&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&H){const b=E.$implicit,Q=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Ls,Q.screenSize===Q.screenSizeEnum.XS?"6rem":Q.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.error)}}function l0(H,E){1&H&&(t.TgZ(0,"th",44),t._uU(1,"Private Key"),t.qZA())}function d0(H,E){if(1&H&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&H){const b=E.$implicit,Q=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Ls,Q.screenSize===Q.screenSizeEnum.XS?"6rem":Q.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.privateKey)}}function h2(H,E){1&H&&(t.TgZ(0,"th",44),t._uU(1,"Preimage"),t.qZA())}function $s(H,E){if(1&H&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&H){const b=E.$implicit,Q=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Ls,Q.screenSize===Q.screenSizeEnum.XS?"6rem":Q.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.preimage)}}function jd(H,E){1&H&&(t.TgZ(0,"th",44),t._uU(1,"Redeem Script"),t.qZA())}function h0(H,E){if(1&H&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&H){const b=E.$implicit,Q=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Ls,Q.screenSize===Q.screenSizeEnum.XS?"6rem":Q.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.redeemScript)}}function u0(H,E){1&H&&(t.TgZ(0,"th",44),t._uU(1,"Invoice"),t.qZA())}function u2(H,E){if(1&H&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&H){const b=E.$implicit,Q=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Ls,Q.screenSize===Q.screenSizeEnum.XS?"6rem":Q.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.invoice)}}function Km(H,E){1&H&&(t.TgZ(0,"th",48),t._uU(1,"Timeout Block Height"),t.qZA())}function Nh(H,E){if(1&H&&(t.TgZ(0,"td",45)(1,"span",49),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&H){const b=E.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==b?null:b.timeoutBlockHeight))}}function Gm(H,E){1&H&&(t.TgZ(0,"th",44),t._uU(1,"Lockup Tx ID"),t.qZA())}function Fh(H,E){if(1&H&&(t.TgZ(0,"td",45),t._uU(1),t.qZA()),2&H){const b=E.$implicit;t.xp6(1),t.Oqu(null==b?null:b.lockupTransactionId)}}function m2(H,E){1&H&&(t.TgZ(0,"th",44),t._uU(1,"Claim Tx ID"),t.qZA())}function Zm(H,E){if(1&H&&(t.TgZ(0,"td",45),t._uU(1),t.qZA()),2&H){const b=E.$implicit;t.xp6(1),t.Oqu(null==b?null:b.claimTransactionId)}}function Ym(H,E){1&H&&(t.TgZ(0,"th",44),t._uU(1,"Refund Tx ID"),t.qZA())}function zh(H,E){if(1&H&&(t.TgZ(0,"td",45),t._uU(1),t.qZA()),2&H){const b=E.$implicit;t.xp6(1),t.Oqu(null==b?null:b.refundTransactionId)}}function m0(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"th",50)(1,"div",51)(2,"mat-select",52),t._UZ(3,"mat-select-trigger"),t.TgZ(4,"mat-option",53),t.NdJ("click",function(){t.CHM(b);const xe=t.oxw();return t.KtG(xe.onDownloadCSV())}),t._uU(5,"Download CSV"),t.qZA()()()()}}function p0(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"td",54)(1,"button",55),t.NdJ("click",function(xe){const Ut=t.CHM(b).$implicit,ni=t.oxw();return t.KtG(ni.onSwapClick(Ut,xe))}),t._uU(2,"View Info"),t.qZA()()}}function f0(H,E){if(1&H&&(t.TgZ(0,"p"),t._uU(1),t.qZA()),2&H){const b=t.oxw(2);t.xp6(1),t.Oqu(b.emptyTableMessage)}}function od(H,E){if(1&H&&(t.TgZ(0,"td",56),t.YNc(1,f0,2,1,"p",57),t.qZA()),2&H){const b=t.oxw();t.xp6(1),t.Q6J("ngIf",!(null!=b.listSwaps&&b.listSwaps.data)||(null==b.listSwaps||null==b.listSwaps.data?null:b.listSwaps.data.length)<1)}}const Hh=function(H){return{"display-none":H}};function p2(H,E){if(1&H&&t._UZ(0,"tr",58),2&H){const b=t.oxw();t.Q6J("ngClass",t.VKq(1,Hh,(null==b.listSwaps?null:b.listSwaps.data)&&(null==b.listSwaps||null==b.listSwaps.data?null:b.listSwaps.data.length)>0))}}function _0(H,E){1&H&&t._UZ(0,"tr",59)}function Uh(H,E){1&H&&t._UZ(0,"tr",60)}const g0=function(){return["all"]},wc=function(H){return{"overflow-auto error-border":H,"overflow-auto":!0}},Vh=function(){return["no_swap"]};class sd{constructor(E,b,Q,xe,pt){this.logger=E,this.commonService=b,this.store=Q,this.boltzService=xe,this.camelCaseWithReplace=pt,this.selectedSwapType=Je.hc.SWAP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=Je.hG,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="boltz",this.tableSettingSwapOut={tableId:"swap_out",recordsPerPage:Je.IV,sortBy:"status",sortOrder:Je.Pi.DESCENDING},this.tableSettingSwapIn={tableId:"swap_in",recordsPerPage:Je.IV,sortBy:"status",sortOrder:Je.Pi.DESCENDING},this.swapStateEnum=Je.Qw,this.faHistory=$i.qO$,this.swapCaption="Swap Out",this.displayedColumns=[],this.listSwaps=new ha.by([]),this.selFilter="",this.pageSize=Je.IV,this.pageSizeOptions=Je.TJ,this.screenSize="",this.screenSizeEnum=Je.cu,this.unSubs=[new Vi.x,new Vi.x,new Vi.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(Is.Pr).pipe((0,cn.R)(this.unSubs[0])).subscribe(E=>{this.tableSettingSwapOut=E.pageSettings.find(b=>b.pageId===this.PAGE_ID)?.tables.find(b=>b.tableId===this.tableSettingSwapOut.tableId)||Je.gK.find(b=>b.pageId===this.PAGE_ID)?.tables.find(b=>b.tableId===this.tableSettingSwapOut.tableId),this.tableSettingSwapIn=E.pageSettings.find(b=>b.pageId===this.PAGE_ID)?.tables.find(b=>b.tableId===this.tableSettingSwapIn.tableId)||Je.gK.find(b=>b.pageId===this.PAGE_ID)?.tables.find(b=>b.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(E){E.selectedSwapType&&!E.selectedSwapType.firstChange&&this.setTableColumns(),this.swapCaption=this.selectedSwapType===Je.hc.SWAP_IN?"Swap In":"Swap Out",this.loadSwapsTable(this.swapsData)}setTableColumns(){this.selectedSwapType===Je.hc.SWAP_IN?(this.screenSize===Je.cu.XS||this.screenSize===Je.cu.SM?this.displayedColumns=JSON.parse(JSON.stringify(this.tableSettingSwapIn.columnSelectionSM)):this.displayedColumns=JSON.parse(JSON.stringify(this.tableSettingSwapIn.columnSelection)),this.displayedColumns.push("actions"),this.pageSize=this.tableSettingSwapIn.recordsPerPage?+this.tableSettingSwapIn.recordsPerPage:Je.IV):(this.screenSize===Je.cu.XS||this.screenSize===Je.cu.SM?this.displayedColumns=JSON.parse(JSON.stringify(this.tableSettingSwapOut.columnSelectionSM)):this.displayedColumns=JSON.parse(JSON.stringify(this.tableSettingSwapOut.columnSelection)),this.displayedColumns.push("actions"),this.pageSize=this.tableSettingSwapOut.recordsPerPage?+this.tableSettingSwapOut.recordsPerPage:Je.IV)}applyFilter(){this.listSwaps&&""!==this.selFilter&&(this.listSwaps.filter=this.selFilter.trim().toLowerCase())}getLabel(E){const b=this.selectedSwapType===Je.hc.SWAP_IN?this.tableSettingSwapIn.tableId:this.tableSettingSwapOut.tableId,Q=this.nodePageDefs[this.PAGE_ID][b].allowedColumns.find(xe=>xe.column===E);return Q?Q.label?Q.label:this.camelCaseWithReplace.transform(Q.column,"_"):this.commonService.titleCase(E)}setFilterPredicate(){this.listSwaps.filterPredicate=(E,b)=>{let Q="";switch(this.selFilterBy){case"all":Q=JSON.stringify(E).toLowerCase();break;case"status":Q=E?.status?this.swapStateEnum[E?.status]:"";break;default:Q=typeof E[this.selFilterBy]>"u"?"":"string"==typeof E[this.selFilterBy]?E[this.selFilterBy].toLowerCase():"boolean"==typeof E[this.selFilterBy]?E[this.selFilterBy]?"yes":"no":E[this.selFilterBy].toString()}return"status"===this.selFilterBy?0===Q.indexOf(b):Q.includes(b)}}onSwapClick(E,b){this.boltzService.swapInfo(E.id||"").pipe((0,cn.R)(this.unSubs[1])).subscribe(Q=>{Q=this.selectedSwapType===Je.hc.SWAP_IN?Q.swap:Q.reverseSwap;const xe=[[{key:"status",value:Je.Qw[Q.status],title:"Status",width:50,type:Je.Gi.STRING},{key:"id",value:Q.id,title:"ID",width:50,type:Je.Gi.STRING}],[{key:"amount",value:Q.onchainAmount?Q.onchainAmount:Q.expectedAmount?Q.expectedAmount:0,title:Q.onchainAmount?"Onchain Amount (Sats)":Q.expectedAmount?"Expected Amount (Sats)":"Amount (Sats)",width:50,type:Je.Gi.NUMBER},{key:"timeoutBlockHeight",value:Q.timeoutBlockHeight,title:"Timeout Block Height",width:50,type:Je.Gi.NUMBER}],[{key:"address",value:Q.claimAddress?Q.claimAddress:Q.lockupAddress?Q.lockupAddress:"",title:Q.claimAddress?"Claim Address":Q.lockupAddress?"Lockup Address":"Address",width:100,type:Je.Gi.STRING}],[{key:"invoice",value:Q.invoice,title:"Invoice",width:100,type:Je.Gi.STRING}],[{key:"privateKey",value:Q.privateKey,title:"Private Key",width:100,type:Je.Gi.STRING}],[{key:"preimage",value:Q.preimage,title:"Preimage",width:100,type:Je.Gi.STRING}],[{key:"redeemScript",value:Q.redeemScript,title:"Redeem Script",width:100,type:Je.Gi.STRING}],[{key:"lockupTransactionId",value:Q.lockupTransactionId,title:"Lockup Transaction ID",width:50,type:Je.Gi.STRING},{key:"transactionId",value:Q.claimTransactionId?Q.claimTransactionId:Q.refundTransactionId?Q.refundTransactionId:"",title:Q.claimTransactionId?"Claim Transaction ID":Q.refundTransactionId?"Refund Transaction ID":"Transaction ID",width:50,type:Je.Gi.STRING}]];this.store.dispatch((0,Yt.qR)({payload:{data:{type:Je.n_.INFORMATION,alertTitle:this.swapCaption+" Status",message:xe,openedBy:"SWAP"}}}))})}loadSwapsTable(E){this.listSwaps=E?new ha.by([...E]):new ha.by([]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(b,Q)=>b[Q]&&isNaN(b[Q])?b[Q].toLocaleLowerCase():b[Q]?+b[Q]:null,this.selectedSwapType===Je.hc.SWAP_IN?this.listSwaps.sort?.sort({id:this.tableSettingSwapIn.sortBy,start:this.tableSettingSwapIn.sortOrder,disableClear:!0}):this.listSwaps.sort?.sort({id:this.tableSettingSwapOut.sortBy,start:this.tableSettingSwapOut.sortOrder,disableClear:!0}),this.paginator&&this.paginator.firstPage(),this.listSwaps.paginator=this.paginator,this.setFilterPredicate(),this.applyFilter(),this.logger.info(this.listSwaps)}onDownloadCSV(){this.listSwaps.data&&this.listSwaps.data.length>0&&this.commonService.downloadFile(this.listSwaps.data,this.selectedSwapType===Je.hc.SWAP_IN?"Swap in":"Swap out")}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}}sd.\u0275fac=function(E){return new(E||sd)(t.Y36(si.mQ),t.Y36(Ir.v),t.Y36(Ri.yh),t.Y36(Zc),t.Y36(Vc.D3))},sd.\u0275cmp=t.Xpm({type:sd,selectors:[["rtl-boltz-swaps"]],viewQuery:function(E,b){if(1&E&&(t.Gf(td.YE,5),t.Gf(pl.NW,5)),2&E){let Q;t.iGM(Q=t.CRH())&&(b.sort=Q.first),t.iGM(Q=t.CRH())&&(b.paginator=Q.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},features:[t._Bn([{provide:Ji.PG,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:pl.ye,useValue:(0,Je.pt)("Swaps")}]),t.TTD],decls:76,vars:18,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,"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(E,b){1&E&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2),t._UZ(3,"fa-icon",3),t.TgZ(4,"span",4),t._uU(5),t.qZA()(),t.TgZ(6,"div",5)(7,"mat-form-field",6)(8,"mat-label"),t._uU(9,"Filter By"),t.qZA(),t.TgZ(10,"mat-select",7),t.NdJ("ngModelChange",function(xe){return b.selFilterBy=xe})("selectionChange",function(){return b.selFilter="",b.applyFilter()}),t.TgZ(11,"perfect-scrollbar"),t.YNc(12,wl,2,2,"mat-option",8),t.qZA()()(),t.TgZ(13,"mat-form-field",6)(14,"mat-label"),t._uU(15,"Filter"),t.qZA(),t.TgZ(16,"input",9),t.NdJ("ngModelChange",function(xe){return b.selFilter=xe})("input",function(){return b.applyFilter()})("keyup",function(){return b.applyFilter()}),t.qZA()()()(),t.TgZ(17,"div",10)(18,"div",11),t.YNc(19,n0,1,0,"mat-progress-bar",12),t.TgZ(20,"table",13,14),t.ynx(22,15),t.YNc(23,Bm,2,0,"th",16),t.YNc(24,a0,2,1,"td",17),t.BQk(),t.ynx(25,18),t.YNc(26,r0,2,0,"th",16),t.YNc(27,Nm,2,1,"td",17),t.BQk(),t.ynx(28,19),t.YNc(29,Cc,2,0,"th",16),t.YNc(30,Fm,4,4,"td",17),t.BQk(),t.ynx(31,20),t.YNc(32,o0,2,0,"th",16),t.YNc(33,zm,4,4,"td",17),t.BQk(),t.ynx(34,21),t.YNc(35,Hm,2,0,"th",22),t.YNc(36,Um,4,3,"td",17),t.BQk(),t.ynx(37,23),t.YNc(38,s0,2,0,"th",22),t.YNc(39,c0,4,3,"td",17),t.BQk(),t.ynx(40,24),t.YNc(41,Vm,2,0,"th",16),t.YNc(42,Wm,4,4,"td",17),t.BQk(),t.ynx(43,25),t.YNc(44,l0,2,0,"th",16),t.YNc(45,d0,4,4,"td",17),t.BQk(),t.ynx(46,26),t.YNc(47,h2,2,0,"th",16),t.YNc(48,$s,4,4,"td",17),t.BQk(),t.ynx(49,27),t.YNc(50,jd,2,0,"th",16),t.YNc(51,h0,4,4,"td",17),t.BQk(),t.ynx(52,28),t.YNc(53,u0,2,0,"th",16),t.YNc(54,u2,4,4,"td",17),t.BQk(),t.ynx(55,29),t.YNc(56,Km,2,0,"th",22),t.YNc(57,Nh,4,3,"td",17),t.BQk(),t.ynx(58,30),t.YNc(59,Gm,2,0,"th",16),t.YNc(60,Fh,2,1,"td",17),t.BQk(),t.ynx(61,31),t.YNc(62,m2,2,0,"th",16),t.YNc(63,Zm,2,1,"td",17),t.BQk(),t.ynx(64,32),t.YNc(65,Ym,2,0,"th",16),t.YNc(66,zh,2,1,"td",17),t.BQk(),t.ynx(67,33),t.YNc(68,m0,6,0,"th",34),t.YNc(69,p0,3,0,"td",35),t.BQk(),t.ynx(70,36),t.YNc(71,od,2,1,"td",37),t.BQk(),t.YNc(72,p2,1,3,"tr",38),t.YNc(73,_0,1,0,"tr",39),t.YNc(74,Uh,1,0,"tr",40),t.qZA(),t._UZ(75,"mat-paginator",41),t.qZA()()()),2&E&&(t.xp6(3),t.Q6J("icon",b.faHistory),t.xp6(2),t.hij("",b.swapCaption," History"),t.xp6(5),t.Q6J("ngModel",b.selFilterBy),t.xp6(2),t.Q6J("ngForOf",t.DdM(14,g0).concat(b.displayedColumns.slice(0,-1))),t.xp6(4),t.Q6J("ngModel",b.selFilter),t.xp6(3),t.Q6J("ngIf",!0===b.flgLoading[0]),t.xp6(1),t.Q6J("dataSource",b.listSwaps)("ngClass",t.VKq(15,wc,"error"===b.flgLoading[0])),t.xp6(52),t.Q6J("matFooterRowDef",t.DdM(17,Vh)),t.xp6(1),t.Q6J("matHeaderRowDef",b.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",b.displayedColumns),t.xp6(1),t.Q6J("pageSize",b.pageSize)("pageSizeOptions",b.pageSizeOptions)("showFirstLastButtons",b.screenSize!==b.screenSizeEnum.XS))},dependencies:[Zi.mk,Zi.sg,Zi.O5,Zi.PC,ai.Fj,ai.JJ,ai.On,ve.BN,nt.xw,nt.Wh,nt.yH,nr.oO,nr.Zl,Ci.lW,Gr.Nt,Ii.KE,Ii.hX,Ud.pW,Ji.gD,Ji.$L,on.ey,td.YE,td.nU,ha.BZ,ha.fO,ha.as,ha.w1,ha.Dz,ha.nj,ha.mD,ha.Ke,ha.ge,ha.ev,ha.yh,ha.XQ,ha.Gk,ha.Q2,pl.NW,un.Vv,un.$V,Zi.JJ]});const v0=function(H){return["../",H]};function b0(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"div",16),t.NdJ("click",function(){const pt=t.CHM(b).$implicit,Ut=t.oxw();return t.KtG(Ut.onSelectedIndexChange(pt))}),t._uU(1),t.qZA()}if(2&H){const b=E.$implicit,Q=t.oxw();t.Q6J("active",Q.activeTab.link===b.link)("routerLink",t.VKq(3,v0,b.link)),t.xp6(1),t.Oqu(b.name)}}class f2{constructor(E,b,Q){this.router=E,this.store=b,this.boltzService=Q,this.swapTypeEnum=Je.hc,this.selectedSwapType=Je.hc.SWAP_OUT,this.swaps={},this.swapsData=[],this.emptyTableMessage="No swap data available.",this.flgLoading=[!0],this.links=[{link:"swapout",name:"Swap Out"},{link:"swapin",name:"Swap In"}],this.activeTab=this.links[0],this.unSubs=[new Vi.x,new Vi.x,new Vi.x,new Vi.x]}ngOnInit(){this.boltzService.listSwaps();const E=this.links.find(b=>this.router.url.includes(b.link));this.activeTab=E||this.links[0],this.selectedSwapType=E&&"swapin"===E.link?Je.hc.SWAP_IN:Je.hc.SWAP_OUT,this.router.events.pipe((0,cn.R)(this.unSubs[0]),(0,qa.h)(b=>b instanceof Hn.Av)).subscribe({next:b=>{const Q=this.links.find(xe=>b.urlAfterRedirects.includes(xe.link));this.activeTab=Q||this.links[0],this.selectedSwapType=Q&&"swapin"===Q.link?Je.hc.SWAP_IN:Je.hc.SWAP_OUT}}),this.boltzService.swapsChanged.pipe((0,cn.R)(this.unSubs[1])).subscribe({next:b=>{this.swaps=b,this.swapsData=this.selectedSwapType===Je.hc.SWAP_IN&&b.swaps?b.swaps:this.selectedSwapType===Je.hc.SWAP_OUT&&b.reverseSwaps?b.reverseSwaps:[],this.flgLoading[0]=!1},error:b=>{this.flgLoading[0]="error",this.emptyTableMessage=b.message?b.message:"No swap "+(this.selectedSwapType===Je.hc.SWAP_IN?"in":"out")+" available."}})}onSelectedIndexChange(E){"swapin"===E.link?(this.selectedSwapType=Je.hc.SWAP_IN,this.swapsData=this.swaps.swaps||[]):(this.selectedSwapType=Je.hc.SWAP_OUT,this.swapsData=this.swaps.reverseSwaps||[])}onSwap(E){this.boltzService.serviceInfo().pipe((0,cn.R)(this.unSubs[2])).subscribe({next:b=>{this.store.dispatch((0,Yt.qR)({payload:{data:{serviceInfo:b,direction:E,component:Cl}}}))}})}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}}f2.\u0275fac=function(E){return new(E||f2)(t.Y36(Hn.F0),t.Y36(Ri.yh),t.Y36(Zc))},f2.\u0275cmp=t.Xpm({type:f2,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(E,b){if(1&E&&(t.TgZ(0,"div",0),t.O4$(),t.TgZ(1,"svg",1)(2,"g",2)(3,"g",3),t._UZ(4,"circle",4)(5,"path",5)(6,"path",6),t.qZA()()(),t.kcU(),t.TgZ(7,"span",7),t._uU(8,"Boltz"),t.qZA()(),t.TgZ(9,"div",8)(10,"mat-card")(11,"mat-card-content",9)(12,"nav",10),t.YNc(13,b0,2,5,"div",11),t.qZA(),t._UZ(14,"mat-tab-nav-panel",null,12),t.TgZ(16,"div",13)(17,"button",14),t.NdJ("click",function(){return b.onSwap(b.selectedSwapType)}),t._uU(18),t.qZA()(),t._UZ(19,"rtl-boltz-swaps",15),t.qZA()()()),2&E){const Q=t.MAs(15);t.xp6(12),t.Q6J("tabPanel",Q),t.xp6(1),t.Q6J("ngForOf",b.links),t.xp6(5),t.hij("Start ",b.activeTab.name,""),t.xp6(1),t.Q6J("selectedSwapType",b.selectedSwapType)("swapsData",b.swapsData)("flgLoading",b.flgLoading)("emptyTableMessage",b.emptyTableMessage)}},dependencies:[Zi.sg,nt.xw,nt.Wh,nt.yH,Ci.lW,Bt.a8,Bt.dn,di.BU,di.sW,di.Nj,Hn.rH,sd]});class Or{constructor(E){this.help=E}}function Ml(H,E){if(1&H&&(t.TgZ(0,"mat-expansion-panel",8)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),t._uU(3),t.qZA()(),t.TgZ(4,"mat-panel-description",9),t._UZ(5,"span",10),t.TgZ(6,"a",11),t._uU(7),t.qZA()()()),2&H){const b=t.oxw().$implicit,Q=t.oxw();t.xp6(3),t.Oqu(b.help.question),t.xp6(2),t.Q6J("innerHTML",b.help.answer,t.oJD),t.xp6(1),t.Q6J("routerLink",Q.flgLoggedIn?b.help.link:"/login"),t.xp6(1),t.Oqu(Q.flgLoggedIn?b.help.linkCaption:"Login to go to the page")}}function Wh(H,E){if(1&H&&(t.TgZ(0,"div",6),t.YNc(1,Ml,8,4,"mat-expansion-panel",7),t.qZA()),2&H){const b=E.$implicit,Q=t.oxw();t.xp6(1),t.Q6J("ngIf","ALL"===b.help.lnImplementation||b.help.lnImplementation===Q.selNode.lnImplementation)}}class cd{constructor(E,b){this.store=E,this.sessionService=b,this.helpTopics=[],this.faQuestion=$i.Psp,this.LNPLink="/lnd/",this.flgLoggedIn=!1,this.unSubs=[new Vi.x,new Vi.x,new Vi.x,new Vi.x]}ngOnInit(){this.store.select(Ge.dT).pipe((0,cn.R)(this.unSubs[0])).subscribe(E=>{this.selNode=E,this.selNode.lnImplementation&&""!==this.selNode.lnImplementation.trim()&&(this.LNPLink="/"+this.selNode.lnImplementation.toLowerCase()+"/",this.addHelpTopics())}),this.sessionService.watchSession().pipe((0,cn.R)(this.unSubs[1])).subscribe(E=>{this.flgLoggedIn=!!E.token}),this.sessionService.getItem("token")&&(this.flgLoggedIn=!0)}addHelpTopics(){this.helpTopics=[],this.helpTopics.push(new Or({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 Or({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 Or({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 Or({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 Or({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 Or({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 Or({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 Or({question:"Offers",answer:'Send offer payments, create offer invoices and bookmark paid offers on your node.\nGo to the "Transactions" page under the "Lightning" menu :\nPayment for bolt12 offer invoice can be done on "Payments" tab:\n 1. Click on "Send Payment" button.\n 2. Select "Offer" option on the modal.\n 2. Offer Request - Input offer request (Bolt12 format) in the input box.\n 3. Bookmark - Select the checkbox to bookmark this offer for future use.\nOffers tab is for creating bolt12 offer invoice on your node:\n 1. Click on "Create Offer" button.\n 2. Description - Description you want to provide on the offer invoice.\n 3. Amount - Amount for the offer invoice.\n 4. Vendor - Vendor of the offer.\nPaid offer bookmarks shows the list of paid offers saved for future payments.\n',link:this.LNPLink+"transactions/offers",linkCaption:"Offers",lnImplementation:"CLN"})),this.helpTopics.push(new Or({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 Or({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 Or({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 Or({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 Or({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 Or({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 Or({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 Or({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 Or({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 Or({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(E=>{E.next(null),E.complete()})}}cd.\u0275fac=function(E){return new(E||cd)(t.Y36(Ri.yh),t.Y36(Yo.m))},cd.\u0275cmp=t.Xpm({type:cd,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(E,b){1&E&&(t.TgZ(0,"div",0)(1,"div",1),t._UZ(2,"fa-icon",2),t.TgZ(3,"span",3),t._uU(4,"Help"),t.qZA()(),t.TgZ(5,"div",4)(6,"div",0),t.YNc(7,Wh,2,1,"div",5),t.qZA()()()),2&E&&(t.xp6(2),t.Q6J("icon",b.faQuestion),t.xp6(5),t.Q6J("ngForOf",b.helpTopics))},dependencies:[Zi.sg,Zi.O5,ve.BN,nt.xw,nt.Wh,nt.yH,La.ib,La.yz,La.yK,La.u4,Hn.rH],styles:[".mat-mdc-card-content[_ngcontent-%COMP%]{margin-bottom:4px}"]});var y0=f(6562);function _2(H,E){1&H&&(t.TgZ(0,"mat-error"),t._uU(1,"Token is required."),t.qZA())}class qd{constructor(E,b){this.dialogRef=E,this.store=b,this.token=""}onClose(){this.dialogRef.close(null)}onVerifyToken(){if(!this.token)return!0;this.dialogRef.close(),this.store.dispatch((0,Yt.M6)({payload:{twoFAToken:this.token}}))}}function Kh(H,E){1&H&&(t.TgZ(0,"mat-error"),t._uU(1,"Password is required."),t.qZA())}function ld(H,E){if(1&H&&(t.TgZ(0,"p",20)(1,"mat-icon",21),t._uU(2,"close"),t.qZA(),t._uU(3),t.qZA()),2&H){const b=t.oxw();t.xp6(3),t.hij(" ",b.loginErrorMessage," ")}}qd.\u0275fac=function(E){return new(E||qd)(t.Y36(Ia.so),t.Y36(Ri.yh))},qd.\u0275cmp=t.Xpm({type:qd,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(E,b){1&E&&(t.TgZ(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),t._uU(5,"Two Factor Token"),t.qZA()(),t.TgZ(6,"button",5),t.NdJ("click",function(){return b.onClose()}),t._uU(7,"X"),t.qZA()(),t.TgZ(8,"mat-card-content",6)(9,"form",7,8),t.NdJ("ngSubmit",function(){return b.onVerifyToken()}),t.TgZ(11,"mat-form-field")(12,"mat-label"),t._uU(13,"Token"),t.qZA(),t.TgZ(14,"input",9),t.NdJ("ngModelChange",function(xe){return b.token=xe}),t.qZA(),t.YNc(15,_2,2,0,"mat-error",10),t.qZA(),t.TgZ(16,"div",11)(17,"button",12),t._uU(18,"Verify Token"),t.qZA()()()()()()),2&E&&(t.xp6(14),t.Q6J("ngModel",b.token),t.xp6(1),t.Q6J("ngIf",!b.token))},dependencies:[Zi.O5,ai._Y,ai.Fj,ai.JJ,ai.JL,ai.Q7,ai.On,ai.F,nt.xw,nt.Wh,nt.yH,Ci.lW,Bt.dn,Bt.dk,Gr.Nt,Ii.KE,Ii.hX,Ii.TO,Tn.h]});const x0=function(H){return{"padding-gap-large":H}},Gh=function(H,E){return{"font-size-200":H,"font-size-300":E}};class g2{constructor(E,b,Q,xe){this.logger=E,this.store=b,this.rtlEffects=Q,this.commonService=xe,this.faUnlockAlt=$i.B$L,this.password="",this.rtlSSO=0,this.rtlCookiePath="",this.accessKey="",this.flgShow=!1,this.screenSize="",this.screenSizeEnum=Je.cu,this.loginErrorMessage="",this.apiCallStatusEnum=Je.Bn,this.unSubs=[new Vi.x,new Vi.x,new Vi.x]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),(0,y0.a)([this.store.select(Ge.ul),this.store.select(Ge.Sr)]).pipe((0,cn.R)(this.unSubs[0])).subscribe(([E,b])=>{this.loginErrorMessage="",E.status===Je.Bn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof E.message?JSON.stringify(E.message):E.message),this.logger.error(E.message)),b.status===Je.Bn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof b.message?JSON.stringify(b.message):b.message),this.logger.error(b.message))}),this.store.select(Ge.Yj).pipe((0,cn.R)(this.unSubs[1])).subscribe(E=>{this.appConfig=E,this.logger.info(E)})}onLogin(){if(!this.password)return!0;this.loginErrorMessage="",this.appConfig.enable2FA?(this.store.dispatch((0,Yt.qR)({payload:{maxWidth:"35rem",data:{component:qd}}})),this.rtlEffects.closeAlert.pipe((0,Ha.q)(1)).subscribe(E=>{E&&this.store.dispatch((0,Yt.x4)({payload:{password:_r(this.password),defaultPassword:Je.kO.includes(this.password.toLowerCase()),twoFAToken:E.twoFAToken}}))})):this.store.dispatch((0,Yt.x4)({payload:{password:_r(this.password),defaultPassword:Je.kO.includes(this.password.toLowerCase())}}))}resetData(){this.password="",this.loginErrorMessage="",this.flgShow=!1}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}}g2.\u0275fac=function(E){return new(E||g2)(t.Y36(si.mQ),t.Y36(Ri.yh),t.Y36(Ja.V),t.Y36(Ir.v))},g2.\u0275cmp=t.Xpm({type:g2,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(E,b){1&E&&(t.TgZ(0,"div",0)(1,"div",1)(2,"mat-card",2)(3,"div",3)(4,"div",4),t._UZ(5,"img",5),t.qZA(),t.TgZ(6,"div",6)(7,"mat-card-header",7)(8,"mat-card-title",8)(9,"span",9),t._uU(10,"Welcome"),t.qZA()()(),t.TgZ(11,"mat-card-content",10)(12,"form",11,12)(14,"mat-form-field")(15,"mat-label"),t._uU(16,"Password"),t.qZA(),t.TgZ(17,"input",13),t.NdJ("ngModelChange",function(xe){return b.password=xe}),t.qZA(),t.TgZ(18,"button",14),t.NdJ("click",function(){return b.flgShow=!b.flgShow}),t.TgZ(19,"mat-icon"),t._uU(20),t.qZA()(),t.YNc(21,Kh,2,0,"mat-error",15),t.qZA(),t.YNc(22,ld,4,1,"p",16),t.TgZ(23,"div",17)(24,"button",18),t.NdJ("click",function(){return b.resetData()}),t._uU(25,"Clear"),t.qZA(),t.TgZ(26,"button",19),t.NdJ("click",function(){return b.onLogin()}),t._uU(27,"Login"),t.qZA()()()()()()()()()),2&E&&(t.xp6(6),t.Q6J("ngClass",t.VKq(8,x0,b.screenSize===b.screenSizeEnum.XS)),t.xp6(2),t.Q6J("ngClass",t.WLB(10,Gh,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS)),t.xp6(9),t.Q6J("type",b.flgShow?"text":"password")("ngModel",b.password),t.xp6(1),t.uIk("aria-label","Hide password"),t.xp6(2),t.Oqu(b.flgShow?"visibility_off":"visibility"),t.xp6(1),t.Q6J("ngIf",!b.password),t.xp6(1),t.Q6J("ngIf",""!==b.loginErrorMessage))},dependencies:[Zi.mk,Zi.O5,ai._Y,ai.Fj,ai.JJ,ai.JL,ai.Q7,ai.On,ai.F,nt.xw,nt.Wh,nt.yH,nr.oO,Ci.lW,Ci.RK,Bt.a8,Bt.dn,Bt.dk,Bt.n5,qs.Hw,Gr.Nt,Ii.KE,Ii.hX,Ii.TO,Ii.R9,Tn.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 Xd=f(9442);class dd{constructor(E,b){this.activatedRoute=E,this.router=b,this.error={errorCode:"",errorMessage:""},this.faTimes=$i.NBC,this.unsubs=[new Vi.x,new Vi.x]}ngOnInit(){this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.router.onSameUrlNavigation="reload",this.activatedRoute.paramMap.pipe((0,cn.R)(this.unsubs[0])).subscribe(E=>{this.error=window.history.state})}goToHelp(){this.router.navigate(["/help"])}}dd.\u0275fac=function(E){return new(E||dd)(t.Y36(Hn.gz),t.Y36(Hn.F0))},dd.\u0275cmp=t.Xpm({type:dd,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(E,b){1&E&&(t.TgZ(0,"div",0)(1,"mat-card",1)(2,"mat-card-header",2)(3,"mat-card-title",3),t._UZ(4,"fa-icon",4),t.TgZ(5,"span",5),t._uU(6),t.qZA()()(),t.TgZ(7,"mat-card-content",6)(8,"div",7),t._uU(9),t.qZA(),t.TgZ(10,"span",8)(11,"button",9),t.NdJ("click",function(){return b.goToHelp()}),t._uU(12,"Go To Help"),t.qZA()()()()()),2&E&&(t.xp6(4),t.Q6J("icon",b.faTimes),t.xp6(2),t.hij("Error ",b.error.errorCode,""),t.xp6(3),t.Oqu(b.error.errorMessage))},dependencies:[ve.BN,nt.xw,nt.Wh,nt.yH,Ci.lW,Bt.a8,Bt.dn,Bt.dk,Bt.n5],encapsulation:2});var ar=f(1643),Zh=f(8104),Jd=f(9843),Mc=f(6534);function C0(H,E){1&H&&t._UZ(0,"span",16)}function hd(H,E){1&H&&t._UZ(0,"span",17)}function Ec(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"form",18,4)(2,"div",19),t._UZ(3,"fa-icon",2),t.TgZ(4,"span"),t._uU(5,"Please ensure that "),t.TgZ(6,"strong"),t._uU(7,"experimental-offers"),t.qZA(),t._uU(8," flag is set to true in the Core Lightning config before enabling it in RTL. Click "),t.TgZ(9,"strong")(10,"a",20),t._uU(11,"here"),t.qZA()(),t._uU(12," to learn more about Core Lightning offers."),t.qZA()(),t.TgZ(13,"h4",21),t._uU(14,"Description"),t.qZA(),t.TgZ(15,"span"),t._uU(16,"Offers is a draft specification (also referred as BOLT12) for Lightning nodes and wallets, with experimental support in Core Lightning."),t.qZA(),t.TgZ(17,"h4",21),t._uU(18,"Links"),t.qZA(),t.TgZ(19,"span")(20,"a",22),t._uU(21,"Core lightning Bolt12"),t.qZA()(),t._UZ(22,"mat-divider",23),t.TgZ(23,"div",24),t._UZ(24,"fa-icon",2),t.TgZ(25,"span"),t._uU(26,"Do not get an Offer tattoo until spec is fully ratified!"),t.qZA()(),t.TgZ(27,"mat-slide-toggle",25),t.NdJ("ngModelChange",function(xe){t.CHM(b);const pt=t.oxw(2);return t.KtG(pt.enableOffers=xe)})("change",function(){t.CHM(b);const xe=t.oxw(2);return t.KtG(xe.onUpdateFeature())}),t._uU(28),t.qZA()()}if(2&H){const b=t.oxw(2);t.xp6(3),t.Q6J("icon",b.faInfoCircle),t.xp6(19),t.Q6J("inset",!0),t.xp6(2),t.Q6J("icon",b.faExclamationTriangle),t.xp6(3),t.Q6J("ngModel",b.enableOffers),t.xp6(1),t.hij("Enable Offers ",b.enableOffers?"(You can find Offers under Lightning -> Transactions -> Offers)":"","")}}function Xm(H,E){if(1&H&&(t.TgZ(0,"div")(1,"div",28),t._UZ(2,"fa-icon",2),t.TgZ(3,"span"),t._uU(4,"Please ensure that "),t.TgZ(5,"strong"),t._uU(6,"experimental-dual-fund"),t.qZA(),t._uU(7," flag is set to true in the Core Lightning config before enabling it in RTL. Click "),t.TgZ(8,"strong")(9,"a",29),t._uU(10,"here"),t.qZA()(),t._uU(11," to learn more about Core Lightning Liquidity Ads."),t.qZA()()()),2&H){const b=t.oxw(3);t.xp6(2),t.Q6J("icon",b.faExclamationTriangle)}}function v2(H,E){if(1&H&&(t.TgZ(0,"mat-option",47),t._uU(1),t.ALo(2,"titlecase"),t.qZA()),2&H){const b=E.$implicit;t.Q6J("value",b),t.xp6(1),t.hij(" ",t.lcZ(2,2,b.id)," ")}}function $d(H,E){if(1&H&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&H){const b=t.oxw(4);t.xp6(1),t.hij("",b.selPolicyType.placeholder," is required.")}}function El(H,E){if(1&H&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&H){const b=t.oxw(4);t.xp6(1),t.AsE("",b.selPolicyType.placeholder," must be greater than or equal to ",b.selPolicyType.min,".")}}function Yh(H,E){if(1&H&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&H){const b=t.oxw(4);t.xp6(1),t.AsE("",b.selPolicyType.placeholder," must be less than or equal to ",b.selPolicyType.max,".")}}function Qh(H,E){1&H&&(t.TgZ(0,"mat-error"),t._uU(1,"Lease base fee is required."),t.qZA())}function w0(H,E){1&H&&(t.TgZ(0,"mat-error"),t._uU(1,"Lease base basis is required."),t.qZA())}function M0(H,E){1&H&&(t.TgZ(0,"mat-error"),t._uU(1,"Max channel routing base fee is required."),t.qZA())}function jh(H,E){1&H&&(t.TgZ(0,"mat-error"),t._uU(1,"Max channel routing fee rate is required."),t.qZA())}const Dl=function(H,E){return{"alert-danger":H,"alert-info":E}};function E0(H,E){if(1&H&&(t.TgZ(0,"h4",48)(1,"span",49),t._uU(2),t.qZA()()),2&H){const b=t.oxw(4);t.xp6(1),t.Q6J("ngClass",t.WLB(2,Dl,!!b.updateMsg.error,!!b.updateMsg.data)),t.xp6(1),t.hij(" ",b.updateMsg.error&&""!==b.updateMsg.error?"Error: "+b.updateMsg.error||0:b.updateMsg.data&&""!==b.updateMsg.data?b.updateMsg.data:"Successfully Updated the Funding Policy!"," ")}}function Jm(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"div",30)(1,"div",31),t._UZ(2,"fa-icon",2),t.TgZ(3,"span"),t._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."),t.qZA()(),t.TgZ(5,"div",32)(6,"mat-form-field",33)(7,"mat-label"),t._uU(8,"Policy"),t.qZA(),t.TgZ(9,"mat-select",34),t.NdJ("ngModelChange",function(xe){t.CHM(b);const pt=t.oxw(3);return t.KtG(pt.selPolicyType=xe)})("selectionChange",function(){t.CHM(b);const xe=t.oxw(3);return t.KtG(xe.policyMod=null)}),t.YNc(10,v2,3,4,"mat-option",35),t.qZA()(),t.TgZ(11,"mat-form-field",36)(12,"mat-label"),t._uU(13),t.qZA(),t.TgZ(14,"input",37,38),t.NdJ("ngModelChange",function(xe){t.CHM(b);const pt=t.oxw(3);return t.KtG(pt.policyMod=xe)}),t.qZA(),t.TgZ(16,"mat-hint"),t._uU(17),t.qZA(),t.YNc(18,$d,2,1,"mat-error",26),t.YNc(19,El,2,2,"mat-error",26),t.YNc(20,Yh,2,2,"mat-error",26),t.qZA()(),t.TgZ(21,"div",32)(22,"mat-form-field",36)(23,"mat-label"),t._uU(24,"Lease Base Fee (Sats)"),t.qZA(),t.TgZ(25,"input",39),t.NdJ("ngModelChange",function(xe){t.CHM(b);const pt=t.oxw(3);return t.KtG(pt.lease_fee_base_sat=xe)}),t.qZA(),t.YNc(26,Qh,2,0,"mat-error",26),t.qZA(),t.TgZ(27,"mat-form-field",36)(28,"mat-label"),t._uU(29,"Lease Base Basis (bps)"),t.qZA(),t.TgZ(30,"input",40),t.NdJ("ngModelChange",function(xe){t.CHM(b);const pt=t.oxw(3);return t.KtG(pt.lease_fee_basis=xe)}),t.qZA(),t.YNc(31,w0,2,0,"mat-error",26),t.qZA()(),t.TgZ(32,"div",32)(33,"mat-form-field",36)(34,"mat-label"),t._uU(35,"Max Channel Routing Base Fee (Sats)"),t.qZA(),t.TgZ(36,"input",41),t.NdJ("ngModelChange",function(xe){t.CHM(b);const pt=t.oxw(3);return t.KtG(pt.channelFeeMaxBaseSat=xe)}),t.qZA(),t.YNc(37,M0,2,0,"mat-error",26),t.qZA(),t.TgZ(38,"mat-form-field",36)(39,"mat-label"),t._uU(40,"Max Channel Routing Fee Rate (ppm)"),t.qZA(),t.TgZ(41,"input",42),t.NdJ("ngModelChange",function(xe){t.CHM(b);const pt=t.oxw(3);return t.KtG(pt.channelFeeMaxProportional=xe)}),t.qZA(),t.YNc(42,jh,2,0,"mat-error",26),t.qZA()(),t.YNc(43,E0,3,5,"h4",43),t.TgZ(44,"div",44)(45,"button",45),t.NdJ("click",function(){t.CHM(b);const xe=t.oxw(3);return t.KtG(xe.onResetPolicy())}),t._uU(46,"Reset"),t.qZA(),t.TgZ(47,"button",46),t.NdJ("click",function(){t.CHM(b);const xe=t.oxw(3);return t.KtG(xe.onUpdateFundingPolicy())}),t._uU(48,"Update"),t.qZA()()()}if(2&H){const b=t.oxw(3);t.xp6(2),t.Q6J("icon",b.faExclamationTriangle),t.xp6(7),t.Q6J("ngModel",b.selPolicyType),t.xp6(1),t.Q6J("ngForOf",b.policyTypes),t.xp6(3),t.Oqu(b.selPolicyType.placeholder),t.xp6(1),t.Q6J("step","fixed"===b.selPolicyType.id?1e3:10)("min",b.selPolicyType.min)("max",b.selPolicyType.max)("ngModel",b.policyMod),t.xp6(3),t.lnq("",b.selPolicyType.placeholder," should be between ",b.selPolicyType.min," and ",b.selPolicyType.max,""),t.xp6(1),t.Q6J("ngIf",!b.policyMod),t.xp6(1),t.Q6J("ngIf",b.policyMod<b.selPolicyType.min),t.xp6(1),t.Q6J("ngIf",b.policyMod>b.selPolicyType.max),t.xp6(5),t.Q6J("ngModel",b.lease_fee_base_sat),t.xp6(1),t.Q6J("ngIf",!b.lease_fee_base_sat),t.xp6(4),t.Q6J("ngModel",b.lease_fee_basis),t.xp6(1),t.Q6J("ngIf",!b.lease_fee_basis),t.xp6(5),t.Q6J("ngModel",b.channelFeeMaxBaseSat),t.xp6(1),t.Q6J("ngIf",!b.channelFeeMaxBaseSat),t.xp6(4),t.Q6J("ngModel",b.channelFeeMaxProportional),t.xp6(1),t.Q6J("ngIf",!b.channelFeeMaxProportional),t.xp6(1),t.Q6J("ngIf",b.flgUpdateCalled)}}function b2(H,E){if(1&H&&(t.TgZ(0,"form",18,4),t.YNc(2,Xm,12,1,"div",26),t.YNc(3,Jm,49,23,"div",27),t.qZA()),2&H){const b=t.oxw(2);t.xp6(2),t.Q6J("ngIf",!b.features[1].enabled),t.xp6(1),t.Q6J("ngIf",b.features[1].enabled)}}function e1(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"mat-expansion-panel",9),t.NdJ("opened",function(){const pt=t.CHM(b).index,Ut=t.oxw();return t.KtG(Ut.onPanelExpanded(pt))}),t.TgZ(1,"mat-expansion-panel-header")(2,"mat-panel-title",10)(3,"h4",11),t._uU(4),t.qZA(),t.TgZ(5,"h4",11),t.YNc(6,C0,1,0,"span",12),t.YNc(7,hd,1,0,"span",13),t._uU(8),t.qZA()()(),t.TgZ(9,"div",14),t.YNc(10,Ec,29,5,"form",15),t.YNc(11,b2,4,2,"form",15),t.qZA()()}if(2&H){const b=E.$implicit,Q=E.index;t.Q6J("expanded",!1),t.xp6(4),t.Oqu(b.name),t.xp6(2),t.Q6J("ngIf",b.enabled),t.xp6(1),t.Q6J("ngIf",!b.enabled),t.xp6(1),t.hij(" ",b.enabled?"Enabled":"Disabled"," "),t.xp6(2),t.Q6J("ngIf",0===Q),t.xp6(1),t.Q6J("ngIf",1===Q)}}class ud{constructor(E,b,Q,xe){this.logger=E,this.store=b,this.dataService=Q,this.commonService=xe,this.faInfoCircle=$i.sqG,this.faExclamationTriangle=$i.eHv,this.faCode=$i.dT$,this.features=[{name:"Offers",enabled:!1},{name:"Channel Funding Policy",enabled:!1}],this.enableOffers=!1,this.fundingPolicy={},this.policyTypes=Je.gB,this.selPolicyType=Je.gB[0],this.flgUpdateCalled=!1,this.updateMsg={},this.unSubs=[new Vi.x,new Vi.x,new Vi.x,new Vi.x,new Vi.x]}ngOnInit(){this.dataService.listConfigs().pipe((0,cn.R)(this.unSubs[0])).subscribe({next:E=>{this.logger.info("Received List Configs: "+JSON.stringify(E)),this.features[1].enabled=!!E["experimental-dual-fund"]},error:E=>{this.logger.error("List Configs Error: "+JSON.stringify(E)),this.features[1].enabled=!1}}),this.store.select(Ge.dT).pipe((0,cn.R)(this.unSubs[1])).subscribe(E=>{this.selNode=E,this.enableOffers=this.selNode.settings.enableOffers||!1,this.features[0].enabled=this.enableOffers,this.logger.info(this.selNode)}),this.store.select(fh.Rn).pipe((0,cn.R)(this.unSubs[2])).subscribe(E=>{this.policyTypes[2].max=E.balance.totalBalance||1e3})}onPanelExpanded(E){1===E&&!this.fundingPolicy.policy&&this.dataService.getOrUpdateFunderPolicy().pipe((0,cn.R)(this.unSubs[3])).subscribe(b=>{this.logger.info("Received Funder Update Policy: "+JSON.stringify(b)),this.fundingPolicy=b,this.fundingPolicy.policy&&(this.selPolicyType=Je.gB.find(Q=>Q.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,Yt.jS)({payload:{uiMessage:Je.m6.UPDATE_SETTING,service:Je.JX.OFFERS,settings:{enableOffers:this.enableOffers}}})),this.store.dispatch((0,Nn.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,En.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,pn.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,cn.R)(this.unSubs[4])).subscribe({next:E=>{this.logger.info(E),this.fundingPolicy=E,this.updateMsg={data:"Compact Lease: "+E.compact_lease},setTimeout(()=>{this.flgUpdateCalled=!1},5e3)},error:E=>{this.logger.error(E),this.updateMsg={error:this.commonService.extractErrorMessage(E,"Error in updating funder policy")},setTimeout(()=>{this.flgUpdateCalled=!1},5e3)}})}onResetPolicy(){this.flgUpdateCalled=!1,this.updateMsg={},this.fundingPolicy.policy?this.selPolicyType=Je.gB.find(E=>E.id===this.fundingPolicy.policy)||this.policyTypes[0]:this.selPolicyType=Je.gB[0],this.policyMod=this.fundingPolicy.policy_mod||0===this.fundingPolicy.policy_mod?this.fundingPolicy.policy_mod:null,this.lease_fee_base_sat=this.fundingPolicy.lease_fee_base_msat?this.fundingPolicy.lease_fee_base_msat/1e3:0===this.fundingPolicy.lease_fee_base_msat?0:null,this.lease_fee_basis=this.fundingPolicy.lease_fee_basis||0===this.fundingPolicy.lease_fee_basis?this.fundingPolicy.lease_fee_basis:null,this.channelFeeMaxBaseSat=this.fundingPolicy.channel_fee_max_base_msat?this.fundingPolicy.channel_fee_max_base_msat/1e3:0===this.fundingPolicy.channel_fee_max_base_msat?0:null,this.channelFeeMaxProportional=this.fundingPolicy.channel_fee_max_proportional_thousandths||0===this.fundingPolicy.channel_fee_max_proportional_thousandths?1e3*this.fundingPolicy.channel_fee_max_proportional_thousandths:null}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}}ud.\u0275fac=function(E){return new(E||ud)(t.Y36(si.mQ),t.Y36(Ri.yh),t.Y36(Zh.D),t.Y36(Ir.v))},ud.\u0275cmp=t.Xpm({type:ud,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(E,b){1&E&&(t.TgZ(0,"div",0)(1,"div",1),t._UZ(2,"fa-icon",2),t.TgZ(3,"span"),t._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."),t.qZA()(),t.TgZ(5,"form",3,4)(7,"div",5),t._UZ(8,"fa-icon",6),t.TgZ(9,"span",7),t._uU(10,"Features"),t.qZA()(),t.TgZ(11,"mat-accordion"),t.YNc(12,e1,12,7,"mat-expansion-panel",8),t.qZA()()()),2&E&&(t.xp6(2),t.Q6J("icon",b.faInfoCircle),t.xp6(6),t.Q6J("icon",b.faCode),t.xp6(4),t.Q6J("ngForOf",b.features))},dependencies:[Zi.mk,Zi.sg,Zi.O5,ai._Y,ai.Fj,ai.wV,ai.JJ,ai.JL,ai.Q7,ai.qQ,ai.Fd,ai.On,ai.F,ve.BN,nt.xw,nt.Wh,nt.yH,nr.oO,Ci.lW,La.pp,La.ib,La.yz,La.yK,Gr.Nt,Ii.KE,Ii.hX,Ii.bx,Ii.TO,Ts.d,Ji.gD,on.ey,Lr.Rr,un.$V,Tn.h,Jd.F,Mc.q,Zi.rS],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]});const D0=[{path:"",pathMatch:"full",redirectTo:"login"},{path:"lnd",loadChildren:()=>Promise.all([f.e("default-src_app_shared_components_currency-unit-converter_currency-unit-converter_component_t-449cdf"),f.e("src_app_lnd_lnd_module_ts")]).then(f.bind(f,1636)).then(H=>H.LNDModule),canActivate:[ar.a1]},{path:"cln",loadChildren:()=>Promise.all([f.e("default-src_app_shared_components_currency-unit-converter_currency-unit-converter_component_t-449cdf"),f.e("src_app_cln_cln_module_ts")]).then(f.bind(f,9564)).then(H=>H.CLNModule),canActivate:[ar.a1]},{path:"ecl",loadChildren:()=>Promise.all([f.e("default-src_app_shared_components_currency-unit-converter_currency-unit-converter_component_t-449cdf"),f.e("src_app_eclair_ecl_module_ts")]).then(f.bind(f,7258)).then(H=>H.ECLModule),canActivate:[ar.a1]},{path:"settings",component:Ht,canActivate:[ar.a1],children:[{path:"",pathMatch:"full",redirectTo:"app"},{path:"app",component:fr,canActivate:[ar.a1]},{path:"auth",component:ks,canActivate:[ar.a1]},{path:"bconfig",component:Ql,canActivate:[ar.a1]}]},{path:"config",component:te,canActivate:[ar.a1],children:[{path:"",pathMatch:"full",redirectTo:"nodesettings"},{path:"nodesettings",component:Uc,canActivate:[ar.a1]},{path:"pglayout",component:Jl,canActivate:[ar.a1]},{path:"services",component:Ps,canActivate:[ar.a1],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",component:bc,canActivate:[ar.a1]},{path:"boltz",component:ed,canActivate:[ar.a1]}]},{path:"experimental",component:ud,canActivate:[ar.a1]},{path:"lnconfig",component:an,canActivate:[ar.a1]}]},{path:"services",component:Wc,canActivate:[ar.a1],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",pathMatch:"full",redirectTo:"loop/loopout"},{path:"loop/:selTab",component:_l},{path:"boltz",pathMatch:"full",redirectTo:"boltz/swapout"},{path:"boltz/:selTab",component:f2}]},{path:"help",component:cd},{path:"login",component:g2},{path:"error",component:dd},{path:"**",component:Xd.w}],T0=Hn.Bz.forRoot(D0,{scrollPositionRestoration:"enabled"});var A0=f(6165),qh=f(8878),$m=f(1708),fa=f(6643),I0=f(2543),ec=f(5183),Co=f(3453);const jo={LNDChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:$i.HLz,link:"/lnd/home",userPersona:Je.ol.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:$i.nNP,link:"/lnd/onchain",userPersona:Je.ol.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:$i.BDt,link:"/lnd/connections",userPersona:Je.ol.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:$i.FVb,link:"/lnd/connections",userPersona:Je.ol.ALL},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:$i.Ssp,link:"/lnd/transactions",userPersona:Je.ol.ALL},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:$i.SuH,link:"/lnd/routing",userPersona:Je.ol.ALL},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:$i.koM,link:"/lnd/reports",userPersona:Je.ol.ALL},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:$i.wn1,link:"/lnd/graph",userPersona:Je.ol.ALL},{id:36,parentId:3,name:"Sign/Verify",iconType:"FA",icon:$i.hkK,link:"/lnd/messages",userPersona:Je.ol.ALL},{id:37,parentId:3,name:"Backup",iconType:"FA",icon:$i.q7m,link:"/lnd/channelbackup",userPersona:Je.ol.ALL},{id:38,parentId:3,name:"Network",iconType:"FA",icon:$i.TmZ,link:"/lnd/network",userPersona:Je.ol.OPERATOR},{id:39,parentId:3,name:"Node/Network",iconType:"FA",icon:$i.xf3,link:"/lnd/network",userPersona:Je.ol.MERCHANT}]},{id:4,parentId:0,name:"Services",iconType:"FA",icon:$i.Krp,link:"/services/loop",userPersona:Je.ol.ALL,children:[{id:41,parentId:4,name:"Loop",iconType:"FA",icon:$i.vqe,link:"/services/loop",userPersona:Je.ol.ALL},{id:42,parentId:4,name:"Boltz",iconType:"SVG",icon:"boltzIconBlock",link:"/services/boltz",userPersona:Je.ol.ALL}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:$i.CgH,link:"/config",userPersona:Je.ol.ALL},{id:6,parentId:0,name:"Help",iconType:"FA",icon:$i.Psp,link:"/help",userPersona:Je.ol.ALL}],CLNChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:$i.HLz,link:"/cln/home",userPersona:Je.ol.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:$i.nNP,link:"/cln/onchain",userPersona:Je.ol.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:$i.BDt,link:"/cln/connections",userPersona:Je.ol.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:$i.FVb,link:"/cln/connections",userPersona:Je.ol.ALL},{id:32,parentId:3,name:"Liquidity Ads",iconType:"FA",icon:$i.Acd,link:"/cln/liquidityads",userPersona:Je.ol.ALL},{id:33,parentId:3,name:"Transactions",iconType:"FA",icon:$i.Ssp,link:"/cln/transactions",userPersona:Je.ol.ALL},{id:34,parentId:3,name:"Routing",iconType:"FA",icon:$i.SuH,link:"/cln/routing",userPersona:Je.ol.ALL},{id:35,parentId:3,name:"Reports",iconType:"FA",icon:$i.koM,link:"/cln/reports",userPersona:Je.ol.ALL},{id:36,parentId:3,name:"Graph Lookup",iconType:"FA",icon:$i.wn1,link:"/cln/graph",userPersona:Je.ol.ALL},{id:37,parentId:3,name:"Sign/Verify",iconType:"FA",icon:$i.hkK,link:"/cln/messages",userPersona:Je.ol.ALL},{id:38,parentId:3,name:"Fee Rates",iconType:"FA",icon:$i.USL,link:"/cln/rates",userPersona:Je.ol.OPERATOR},{id:39,parentId:3,name:"Node/Fee Rates",iconType:"FA",icon:$i.xf3,link:"/cln/rates",userPersona:Je.ol.MERCHANT}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:$i.CgH,link:"/config",userPersona:Je.ol.ALL},{id:6,parentId:0,name:"Help",iconType:"FA",icon:$i.Psp,link:"/help",userPersona:Je.ol.ALL}],ECLChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:$i.HLz,link:"/ecl/home",userPersona:Je.ol.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:$i.nNP,link:"/ecl/onchain",userPersona:Je.ol.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:$i.BDt,link:"/ecl/connections",userPersona:Je.ol.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:$i.FVb,link:"/ecl/connections",userPersona:Je.ol.ALL},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:$i.Ssp,link:"/ecl/transactions",userPersona:Je.ol.ALL},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:$i.SuH,link:"/ecl/routing",userPersona:Je.ol.ALL},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:$i.koM,link:"/ecl/reports",userPersona:Je.ol.ALL},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:$i.wn1,link:"/ecl/graph",userPersona:Je.ol.ALL}]},{id:4,parentId:0,name:"Node Config",iconType:"FA",icon:$i.CgH,link:"/config",userPersona:Je.ol.ALL},{id:5,parentId:0,name:"Help",iconType:"FA",icon:$i.Psp,link:"/help",userPersona:Je.ol.ALL}]};function y2(H,E){if(1&H&&(t.TgZ(0,"mat-option",11),t._uU(1),t.qZA()),2&H){const b=E.$implicit;t.Q6J("value",b.index),t.xp6(1),t.AsE(" ",b.lnNode," (",b.lnImplementation,") ")}}function Tl(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"mat-select",9),t.NdJ("selectionChange",function(xe){t.CHM(b);const pt=t.oxw();return t.KtG(pt.onNodeSelectionChange(xe.value))}),t.TgZ(1,"perfect-scrollbar"),t.YNc(2,y2,2,3,"mat-option",10),t.qZA()()}if(2&H){const b=t.oxw();t.Q6J("value",b.selConfigNodeIndex),t.xp6(2),t.Q6J("ngForOf",b.appConfig.nodes)}}function Xh(H,E){if(1&H&&(t.TgZ(0,"span",21),t.GkF(1,22),t.qZA()),2&H){const b=t.oxw().$implicit;t.oxw(2);const Q=t.MAs(11);t.xp6(1),t.Q6J("ngTemplateOutlet","boltzIconBlock"===b.icon?Q:null)}}function t1(H,E){if(1&H&&t._UZ(0,"fa-icon",23),2&H){const b=t.oxw().$implicit;t.Q6J("icon",b.icon)}}function md(H,E){if(1&H&&(t.TgZ(0,"mat-icon",24),t._uU(1),t.qZA()),2&H){const b=t.oxw().$implicit;t.xp6(1),t.Oqu(b.icon)}}function Jh(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"mat-tree-node",15)(1,"div",16),t.NdJ("click",function(){const pt=t.CHM(b).$implicit,Ut=t.oxw(2);return t.KtG(Ut.onChildNavClicked(pt))}),t.TgZ(2,"div",17),t.YNc(3,Xh,2,1,"span",18),t.YNc(4,t1,1,1,"fa-icon",19),t.YNc(5,md,2,1,"mat-icon",20),t.TgZ(6,"span"),t._uU(7),t.qZA()()()()}if(2&H){const b=E.$implicit;t.s9C("routerLink",b.link),t.xp6(3),t.Q6J("ngIf","SVG"===b.iconType),t.xp6(1),t.Q6J("ngIf","FA"===b.iconType),t.xp6(1),t.Q6J("ngIf",!b.iconType),t.xp6(2),t.Oqu(b.name)}}function O0(H,E){if(1&H&&(t.TgZ(0,"span",32),t.GkF(1,22),t.qZA()),2&H){const b=t.oxw().$implicit;t.xp6(1),t.Q6J("ngTemplateOutlet",b.icon)}}function i1(H,E){if(1&H&&t._UZ(0,"fa-icon",23),2&H){const b=t.oxw().$implicit;t.Q6J("icon",b.icon)}}function Qc(H,E){if(1&H&&(t.TgZ(0,"mat-icon",24),t._uU(1),t.qZA()),2&H){const b=t.oxw().$implicit;t.xp6(1),t.Oqu(b.icon)}}function Al(H,E){if(1&H&&(t.TgZ(0,"mat-nested-tree-node",25)(1,"div",26)(2,"div",27),t.YNc(3,O0,2,1,"span",28),t.YNc(4,i1,1,1,"fa-icon",19),t.YNc(5,Qc,2,1,"mat-icon",20),t.TgZ(6,"span"),t._uU(7),t.qZA()(),t.TgZ(8,"button",29)(9,"mat-icon"),t._uU(10),t.qZA()()(),t.TgZ(11,"div",30),t.GkF(12,31),t.qZA()()),2&H){const b=E.$implicit,Q=t.oxw(2);t.xp6(3),t.Q6J("ngIf","SVG"===b.iconType),t.xp6(1),t.Q6J("ngIf","FA"===b.iconType),t.xp6(1),t.Q6J("ngIf",!b.iconType),t.xp6(2),t.Oqu(b.name),t.xp6(1),t.uIk("aria-label","toggle "+b.name),t.xp6(2),t.Oqu(Q.treeControlNested.isExpanded(b)?"arrow_drop_up":"arrow_drop_down"),t.xp6(1),t.ekj("tree-children-invisible",!Q.treeControlNested.isExpanded(b))}}function ep(H,E){if(1&H&&(t.TgZ(0,"mat-tree",5,12),t.YNc(2,Jh,8,5,"mat-tree-node",13),t.YNc(3,Al,13,8,"mat-nested-tree-node",14),t.qZA()),2&H){const b=t.oxw();t.Q6J("dataSource",b.navMenus)("treeControl",b.treeControlNested),t.xp6(3),t.Q6J("matTreeNodeDefWhen",b.hasChild)}}function x2(H,E){if(1&H&&(t.TgZ(0,"span",21),t.GkF(1,22),t.qZA()),2&H){const b=t.oxw().$implicit;t.xp6(1),t.Q6J("ngTemplateOutlet",b.icon)}}function S0(H,E){if(1&H&&t._UZ(0,"fa-icon",35),2&H){const b=t.oxw().$implicit;t.s9C("matTooltip",b.name),t.Q6J("icon",b.icon)}}function C2(H,E){if(1&H&&(t.TgZ(0,"mat-icon",36),t._uU(1),t.qZA()),2&H){const b=t.oxw().$implicit;t.s9C("matTooltip",b.name),t.xp6(1),t.Oqu(b.icon)}}function Tf(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"mat-tree-node",16),t.NdJ("click",function(){const pt=t.CHM(b).$implicit,Ut=t.oxw();return t.KtG(Ut.onShowData(pt))}),t.YNc(1,x2,2,1,"span",18),t.YNc(2,S0,1,2,"fa-icon",33),t.YNc(3,C2,2,2,"mat-icon",34),t.TgZ(4,"span"),t._uU(5),t.qZA()()}if(2&H){const b=E.$implicit;t.xp6(1),t.Q6J("ngIf","SVG"===b.iconType),t.xp6(1),t.Q6J("ngIf","FA"===b.iconType),t.xp6(1),t.Q6J("ngIf",!b.iconType),t.xp6(2),t.Oqu(b.name)}}function n1(H,E){if(1&H&&(t.TgZ(0,"span",32),t.GkF(1,22),t.qZA()),2&H){const b=t.oxw().$implicit;t.xp6(1),t.Q6J("ngTemplateOutlet",b.icon)}}function oa(H,E){if(1&H&&t._UZ(0,"fa-icon",35),2&H){const b=t.oxw().$implicit;t.s9C("matTooltip",b.name),t.Q6J("icon",b.icon)}}function tc(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"mat-tree-node",16),t.NdJ("click",function(){const pt=t.CHM(b).$implicit,Ut=t.oxw(2);return t.KtG(Ut.onClick(pt))}),t.YNc(1,n1,2,1,"span",28),t.YNc(2,oa,1,2,"fa-icon",33),t.TgZ(3,"span"),t._uU(4),t.qZA()()}if(2&H){const b=E.$implicit;t.xp6(1),t.Q6J("ngIf","SVG"===b.iconType),t.xp6(1),t.Q6J("ngIf","FA"===b.iconType),t.xp6(2),t.Oqu(b.name)}}function Il(H,E){if(1&H&&(t.TgZ(0,"mat-tree",5),t.YNc(1,tc,5,3,"mat-tree-node",6),t.qZA()),2&H){const b=t.oxw();t.Q6J("dataSource",b.navMenusLogout)("treeControl",b.treeControlLogout)}}function $h(H,E){1&H&&(t.O4$(),t.TgZ(0,"svg",37)(1,"g",38)(2,"g",39),t._UZ(3,"circle",40)(4,"path",41)(5,"path",42),t.qZA()()())}class a1{constructor(E,b,Q,xe,pt,Ut){this.logger=E,this.commonService=b,this.sessionService=Q,this.store=xe,this.actions=pt,this.rtlEffects=Ut,this.ChildNavClicked=new t.vpe,this.faEject=$i.KOR,this.faEye=$i.Mdf,this.version="",this.information={},this.informationChain={},this.flgLoading=!0,this.logoutNode=[{id:200,parentId:0,name:"Logout",iconType:"FA",icon:$i.KOR}],this.showDataNodes=[{id:1e3,parentId:0,name:"Public Key",iconType:"FA",icon:$i.Mdf}],this.showLogout=!1,this.numPendingChannels=0,this.smallScreen=!1,this.childRootRoute="",this.userPersonaEnum=Je.ol,this.unSubs=[new Vi.x,new Vi.x,new Vi.x,new Vi.x,new Vi.x,new Vi.x],this.treeControlNested=new ec.VY(ni=>ni.children),this.treeControlLogout=new ec.VY(ni=>ni.children),this.treeControlShowData=new ec.VY(ni=>ni.children),this.navMenus=new Co.WX,this.navMenusLogout=new Co.WX,this.navMenusShowData=new Co.WX,this.hasChild=(ni,hi)=>!!hi.children&&hi.children.length>0,this.version=cs.q4,jo.LNDChildren&&200===jo.LNDChildren[jo.LNDChildren.length-1].id&&jo.LNDChildren.pop(),this.navMenus.data=jo.LNDChildren||[],this.navMenusLogout.data=this.logoutNode,this.navMenusShowData.data=this.showDataNodes}ngOnInit(){const E=this.sessionService.getItem("token");this.showLogout=!!E,this.flgLoading=!!E,this.store.select(Ge.Yj).pipe((0,cn.R)(this.unSubs[0])).subscribe(b=>{this.appConfig=b}),this.store.select(Ge.gW).pipe((0,cn.R)(this.unSubs[1])).subscribe(b=>{if(this.information=b.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 Q=this.information.chains[0];this.informationChain.chain=Q.chain,this.informationChain.network=Q.network}}else this.informationChain.chain="",this.informationChain.network="";this.flgLoading=!this.information.identity_pubkey,window.innerWidth<=414&&(this.smallScreen=!0),this.selNode=b.selNode,this.settings=this.selNode?.settings||null,this.selConfigNodeIndex=+(b.selNode?.index||0),this.selNode&&this.selNode.lnImplementation&&this.filterSideMenuNodes(),this.logger.info(b)}),this.sessionService.watchSession().pipe((0,cn.R)(this.unSubs[2])).subscribe(b=>{this.showLogout=!!b.token,this.flgLoading=!!b.token}),this.actions.pipe((0,cn.R)(this.unSubs[3]),(0,qa.h)(b=>b.type===Je.pg.LOGOUT)).subscribe(b=>{this.showLogout=!1})}onClick(E){"Logout"===E.name&&(this.store.dispatch((0,Yt.c1)({payload:{data:{type:Je.n_.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,cn.R)(this.unSubs[4])).subscribe(b=>{b&&(this.showLogout=!1,this.store.dispatch((0,Yt.kS)()))})),this.ChildNavClicked.emit(E)}onChildNavClicked(E){this.ChildNavClicked.emit(E)}filterSideMenuNodes(){switch(this.selNode?.lnImplementation?.toUpperCase()){case"CLN":this.loadCLNMenu();break;case"ECL":this.loadECLMenu();break;default:this.loadLNDMenu()}}loadLNDMenu(){let E=[];E=JSON.parse(JSON.stringify(jo.LNDChildren)),this.navMenus.data=E?.filter(b=>b.children&&b.children.length?(b.children=b.children?.filter(Q=>(Q.userPersona===Je.ol.ALL||Q.userPersona===this.settings?.userPersona)&&"/services/loop"!==Q.link&&"/services/boltz"!==Q.link||"/services/loop"===Q.link&&this.settings?.swapServerUrl&&""!==this.settings.swapServerUrl.trim()||"/services/boltz"===Q.link&&this.settings?.boltzServerUrl&&""!==this.settings.boltzServerUrl.trim()),b.children.length>0):b.userPersona===Je.ol.ALL||b.userPersona===this.settings?.userPersona)}loadCLNMenu(){let E=[];E=JSON.parse(JSON.stringify(jo.CLNChildren)),this.navMenus.data=E?.filter(b=>b.children&&b.children.length?(b.children=b.children?.filter(Q=>(Q.userPersona===Je.ol.ALL||Q.userPersona===this.settings?.userPersona)&&"/services/peerswap"!==Q.link||"/services/peerswap"===Q.link&&this.settings?.enablePeerswap),b.children.length>0):b.userPersona===Je.ol.ALL||b.userPersona===this.settings?.userPersona)}loadECLMenu(){this.navMenus.data=JSON.parse(JSON.stringify(jo.ECLChildren))}onShowData(E){this.store.dispatch((0,Yt.tj)()),this.ChildNavClicked.emit("showData")}onNodeSelectionChange(E){const b=this.selConfigNodeIndex;this.selConfigNodeIndex=E;const Q=this.appConfig.nodes.find(xe=>+xe.index===E);this.store.dispatch((0,Yt.fk)({payload:{uiMessage:Je.m6.UPDATE_SELECTED_NODE,prevLnNodeIndex:+b,currentLnNode:Q||null,isInitialSetup:!1}})),this.ChildNavClicked.emit("selectNode")}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}}a1.\u0275fac=function(E){return new(E||a1)(t.Y36(si.mQ),t.Y36(Ir.v),t.Y36(Yo.m),t.Y36(Ri.yh),t.Y36(Jr.eX),t.Y36(Ja.V))},a1.\u0275cmp=t.Xpm({type:a1,selectors:[["rtl-side-navigation"]],viewQuery:function(E,b){if(1&E&&t.Gf(Co.gi,5),2&E){let Q;t.iGM(Q=t.CRH())&&(b.tree=Q.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(E,b){1&E&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,Tl,3,2,"mat-select",2),t._UZ(3,"mat-divider",3),t.YNc(4,ep,4,3,"mat-tree",4),t._UZ(5,"mat-divider",3),t.TgZ(6,"mat-tree",5),t.YNc(7,Tf,6,4,"mat-tree-node",6),t.qZA()(),t.TgZ(8,"div",7),t.YNc(9,Il,2,2,"mat-tree",4),t.qZA()(),t.YNc(10,$h,6,0,"ng-template",null,8,t.W1O)),2&E&&(t.xp6(2),t.Q6J("ngIf",b.appConfig.nodes.length>1),t.xp6(2),t.Q6J("ngIf",null==b.settings?null:b.settings.lnServerUrl),t.xp6(2),t.Q6J("dataSource",b.navMenusShowData)("treeControl",b.treeControlShowData),t.xp6(3),t.Q6J("ngIf",b.showLogout))},dependencies:[Zi.sg,Zi.O5,Zi.tP,ve.BN,nt.xw,nt.Wh,nt.yH,Ci.RK,qs.Hw,Ts.d,Co.GZ,Co.fQ,Co.eu,Co.gi,Co.uo,Co.Ar,Ji.gD,on.ey,ql.gM,Hn.rH,Hn.Od,un.Vv,un.$V],styles:[".tree-children-invisible[_ngcontent-%COMP%]{display:none}"]});var pd=f(8589);function Ll(H,E){if(1&H&&(t.TgZ(0,"p",2),t._UZ(1,"fa-icon",3),t.TgZ(2,"span"),t._uU(3),t.qZA()()),2&H){const b=t.oxw();t.xp6(1),t.Q6J("icon",b.faCode),t.xp6(2),t.hij("API Version: ",null==b.information?null:b.information.api_version,"")}}function k0(H,E){if(1&H&&(t.TgZ(0,"p",11),t._UZ(1,"fa-icon",3),t.TgZ(2,"span",12),t._uU(3,"Settings"),t.qZA()()),2&H){const b=t.oxw();t.xp6(1),t.Q6J("icon",b.faUserCog)}}function Mo(H,E){if(1&H&&(t.TgZ(0,"p",13),t._UZ(1,"fa-icon",3),t.TgZ(2,"span",14),t._uU(3,"Help"),t.qZA()()),2&H){const b=t.oxw();t.xp6(1),t.Q6J("icon",b.faQuestion)}}function jc(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"p",15),t.NdJ("click",function(){t.CHM(b);const xe=t.oxw();return t.KtG(xe.onClick())}),t._UZ(1,"fa-icon",3),t.TgZ(2,"span"),t._uU(3,"Logout"),t.qZA()()}if(2&H){const b=t.oxw();t.xp6(1),t.Q6J("icon",b.faEject)}}class r1{constructor(E,b,Q,xe,pt){this.logger=E,this.sessionService=b,this.store=Q,this.rtlEffects=xe,this.actions=pt,this.faUserCog=$i.gNZ,this.faCodeBranch=$i.mh3,this.faCode=$i.dT$,this.faCog=$i.b7W,this.faQuestion=$i.Psp,this.faEject=$i.KOR,this.version="",this.information={},this.informationChain={},this.flgLoading=!0,this.showLogout=!1,this.unSubs=[new Vi.x,new Vi.x,new Vi.x,new Vi.x],this.version=cs.q4}ngOnInit(){this.store.select(Ge.R4).pipe((0,cn.R)(this.unSubs[0])).subscribe(E=>{if(this.information=E,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 b=this.information.chains[0];this.informationChain.chain=b.chain,this.informationChain.network=b.network}}else this.informationChain.chain="",this.informationChain.network="";this.logger.info(E)}),this.sessionService.watchSession().pipe((0,cn.R)(this.unSubs[1])).subscribe(E=>{this.showLogout=!!E.token,this.flgLoading=!!E.token}),this.actions.pipe((0,cn.R)(this.unSubs[2]),(0,qa.h)(E=>E.type===Je.pg.LOGOUT)).subscribe(()=>{this.showLogout=!1})}onClick(){this.store.dispatch((0,Yt.c1)({payload:{data:{type:Je.n_.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,cn.R)(this.unSubs[3])).subscribe(E=>{E&&(this.showLogout=!1,this.store.dispatch((0,Yt.kS)()))})}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}}r1.\u0275fac=function(E){return new(E||r1)(t.Y36(si.mQ),t.Y36(Yo.m),t.Y36(Ri.yh),t.Y36(Ja.V),t.Y36(Jr.eX))},r1.\u0275cmp=t.Xpm({type:r1,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(E,b){if(1&E&&(t.TgZ(0,"mat-menu",0,1)(2,"p",2),t._UZ(3,"fa-icon",3),t.TgZ(4,"span"),t._uU(5),t.qZA()(),t.YNc(6,Ll,4,2,"p",4),t.YNc(7,k0,4,1,"p",5),t.YNc(8,Mo,4,1,"p",6),t.YNc(9,jc,4,1,"p",7),t.qZA(),t.TgZ(10,"button",8),t._UZ(11,"img",9),t.TgZ(12,"mat-icon",10),t._uU(13,"arrow_drop_down"),t.qZA()()),2&E){const Q=t.MAs(1);t.Q6J("overlapTrigger",!1),t.xp6(3),t.Q6J("icon",b.faCodeBranch),t.xp6(2),t.hij("Version: ",b.version,""),t.xp6(1),t.Q6J("ngIf",null==b.information?null:b.information.api_version),t.xp6(1),t.Q6J("ngIf",b.showLogout),t.xp6(1),t.Q6J("ngIf",b.showLogout),t.xp6(1),t.Q6J("ngIf",b.showLogout),t.xp6(1),t.Q6J("matMenuTriggerFor",Q)}},dependencies:[Zi.O5,ve.BN,Ci.RK,qs.Hw,pd.VK,pd.OP,pd.p6,Hn.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 w2=["sideNavigation"],ic=["sideNavContent"];function fd(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"button",14),t.NdJ("click",function(){t.CHM(b);const xe=t.oxw();return t.KtG(xe.sideNavToggle())}),t.TgZ(1,"mat-icon",15),t._uU(2,"menu"),t.qZA()()}if(2&H){const b=t.oxw();t.Q6J("matTooltip",b.flgSideNavOpened?"Hide Navigation Menu":"Show Navigation Menu")("matTooltipDisabled",b.smallScreen)}}function gr(H,E){1&H&&(t.O4$(),t._UZ(0,"path",20))}function _d(H,E){1&H&&(t.O4$(),t._UZ(0,"path",21))}function o1(H,E){if(1&H){const b=t.EpF();t.TgZ(0,"button",16),t.NdJ("click",function(){t.CHM(b);const xe=t.oxw();return t.KtG(xe.flgSidenavPinned=!xe.flgSidenavPinned)}),t.O4$(),t.TgZ(1,"svg",17),t.YNc(2,gr,1,0,"path",18),t.YNc(3,_d,1,0,"path",19),t.qZA()()}if(2&H){const b=t.oxw();t.Q6J("matTooltip",b.flgSidenavPinned?"Unpin Navigation Menu":"Pin Navigation Menu"),t.xp6(2),t.Q6J("ngIf",!b.flgSidenavPinned),t.xp6(1),t.Q6J("ngIf",b.flgSidenavPinned)}}function M2(H,E){if(1&H&&(t.TgZ(0,"span",22),t._uU(1),t.qZA()),2&H){const b=t.oxw();t.xp6(1),t.Oqu(b.information.alias?"RTL - "+b.information.alias:"RTL")}}function tp(H,E){if(1&H&&(t.TgZ(0,"span",23),t._uU(1),t.qZA()),2&H){const b=t.oxw();t.xp6(1),t.Oqu(b.information.alias?"Ride The Lightning - "+b.information.alias:"Ride The Lightning")}}function eu(H,E){1&H&&(t.TgZ(0,"div",24),t._UZ(1,"mat-spinner",25),t.TgZ(2,"h4"),t._uU(3,"Loading RTL..."),t.qZA()())}const ip=function(H,E){return[H,E]};class gd{constructor(E,b,Q,xe,pt,Ut,ni,hi,Ti){this.logger=E,this.commonService=b,this.store=Q,this.actions=xe,this.userIdle=pt,this.router=Ut,this.sessionService=ni,this.breakpointObserver=hi,this.renderer=Ti,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 Vi.x,new Vi.x,new Vi.x,new Vi.x,new Vi.x,new Vi.x,new Vi.x,new Vi.x]}ngOnInit(){this.router.events.subscribe(E=>{E instanceof Hn.m2&&document.getElementsByTagName("mat-sidenav-content")[0].scrollTo(0,0)}),this.breakpointObserver.observe([Rn.u3.XSmall,Rn.u3.TabletPortrait,Rn.u3.Small,Rn.u3.Medium,Rn.u3.Large,Rn.u3.XLarge]).pipe((0,cn.R)(this.unSubs[0])).subscribe(E=>{E.breakpoints[Rn.u3.XSmall]?(this.commonService.setScreenSize(Je.cu.XS),this.smallScreen=!0):E.breakpoints[Rn.u3.TabletPortrait]?(this.commonService.setScreenSize(Je.cu.SM),this.smallScreen=!0):E.breakpoints[Rn.u3.Small]||E.breakpoints[Rn.u3.Medium]?(this.commonService.setScreenSize(Je.cu.MD),this.smallScreen=!1):E.breakpoints[Rn.u3.Large]?(this.commonService.setScreenSize(Je.cu.LG),this.smallScreen=!1):(this.commonService.setScreenSize(Je.cu.XL),this.smallScreen=!1)}),this.store.dispatch((0,Yt.ey)()),this.accessKey=this.readAccessKey()||"",this.store.select(Ge.dT).pipe((0,cn.R)(this.unSubs[1])).subscribe(E=>{this.settings=E.settings,this.sessionService.getItem("token")?(this.flgLoggedIn=!0,this.userIdle.startWatching()):(this.flgLoggedIn=!1,this.flgLoading[0]=!1)}),this.store.select(Ge.Yj).pipe((0,cn.R)(this.unSubs[2])).subscribe(E=>{this.appConfig=E}),this.store.select(Ge.R4).pipe((0,cn.R)(this.unSubs[3])).subscribe(E=>{this.information=E,this.flgLoading[0]=!this.information.identity_pubkey,this.logger.info(this.information)}),"true"===this.sessionService.getItem("defaultPassword")&&(this.flgSideNavOpened=!1),this.actions.pipe((0,cn.R)(this.unSubs[4]),(0,qa.h)(E=>E.type===Je.pg.SET_RTL_CONFIG||E.type===Je.pg.LOGIN||E.type===Je.pg.LOGOUT)).subscribe(E=>{E.type===Je.pg.SET_RTL_CONFIG&&(this.sessionService.getItem("token")||(+E.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,Yt.x4)({payload:{password:_r(this.accessKey).toString(),defaultPassword:!1}})):this.router.navigate(["./login"]))),E.type===Je.pg.LOGIN&&(this.flgLoggedIn=!0,this.userIdle.startWatching(),this.userIdle.resetTimer(),setTimeout(()=>{this.commonService.setContainerSize(this.sideNavContent.elementRef.nativeElement.clientWidth,this.sideNavContent.elementRef.nativeElement.clientHeight)},1e3)),E.type===Je.pg.LOGOUT&&(this.flgLoggedIn=!1,this.userIdle.stopWatching(),this.userIdle.stopTimer())}),this.userIdle.onTimerStart().pipe((0,cn.R)(this.unSubs[5])).subscribe(E=>{this.logger.info("Counting Down: "+(11-E))}),this.userIdle.onTimeout().pipe((0,cn.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,Yt.ts)()),this.store.dispatch((0,Yt.qR)({payload:{data:{type:Je.n_.WARNING,alertTitle:"Logging out",titleMessage:"Time limit exceeded for session inactivity."}}})),this.store.dispatch((0,Yt.kS)()))}),"true"===this.sessionService.getItem("defaultPassword")&&(this.flgSideNavOpened=!1)}readAccessKey(){const E=window.location.href;return E.includes("access-key=")?E.substring(E.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(E){this.smallScreen&&this.sideNavigation.close()}copiedText(E){this.flgCopied=!0,setTimeout(()=>{this.flgCopied=!1},5e3),this.logger.info("Copied Text: "+E)}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(),E.complete()})}}gd.\u0275fac=function(E){return new(E||gd)(t.Y36(si.mQ),t.Y36(Ir.v),t.Y36(Ri.yh),t.Y36(Jr.eX),t.Y36(ss),t.Y36(Hn.F0),t.Y36(Yo.m),t.Y36(Rn.Yg),t.Y36(t.Qsj))},gd.\u0275cmp=t.Xpm({type:gd,selectors:[["rtl-app"]],viewQuery:function(E,b){if(1&E&&(t.Gf(w2,5),t.Gf(ic,5)),2&E){let Q;t.iGM(Q=t.CRH())&&(b.sideNavigation=Q.first),t.iGM(Q=t.CRH())&&(b.sideNavContent=Q.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(E,b){1&E&&(t.TgZ(0,"div",0),t.ALo(1,"lowercase"),t.ALo(2,"lowercase"),t.TgZ(3,"mat-toolbar",1)(4,"div"),t.YNc(5,fd,3,2,"button",2),t.YNc(6,o1,4,3,"button",3),t.qZA(),t.TgZ(7,"div"),t.YNc(8,M2,2,1,"span",4),t.YNc(9,tp,2,1,"span",5),t.qZA(),t.TgZ(10,"div"),t._UZ(11,"rtl-top-menu"),t.qZA()(),t.TgZ(12,"mat-sidenav-container")(13,"mat-sidenav",6,7)(15,"rtl-side-navigation",8),t.NdJ("ChildNavClicked",function(xe){return b.onNavigationClicked(xe)}),t.qZA()(),t.TgZ(16,"mat-sidenav-content",9,10)(18,"div",11),t._UZ(19,"router-outlet",null,12),t.qZA()(),t._uU(21,"> "),t.qZA(),t.YNc(22,eu,4,0,"div",13),t.qZA()),2&E&&(t.Q6J("ngClass",t.WLB(12,ip,t.lcZ(1,8,b.settings.themeColor),t.lcZ(2,10,b.settings.themeMode))),t.xp6(5),t.Q6J("ngIf",b.flgLoggedIn),t.xp6(1),t.Q6J("ngIf",!b.smallScreen&&b.flgLoggedIn),t.xp6(2),t.Q6J("ngIf",b.smallScreen),t.xp6(1),t.Q6J("ngIf",!b.smallScreen),t.xp6(4),t.Q6J("opened",b.flgSideNavOpened&&b.flgLoggedIn)("mode",b.flgSidenavPinned&&!b.smallScreen?"side":"over"),t.xp6(9),t.Q6J("ngIf",!b.settings.themeColor))},dependencies:[Zi.mk,Zi.O5,nt.xw,nt.Wh,nt.yH,nr.oO,Ci.RK,qs.Hw,$m.Ou,fa.JX,fa.TM,fa.Rh,I0.Ye,ql.gM,un.$V,a1,r1,Hn.lC,Zi.i8],styles:[".inline-spinner[_ngcontent-%COMP%]{display:inline-flex!important;top:0!important}"],data:{animation:[qh.g]}});class vd{constructor(E){this.sessionService=E}intercept(E,b){if(this.sessionService.getItem("token")){const Q=E.clone({headers:E.headers.set("Authorization","Bearer "+this.sessionService.getItem("token")),withCredentials:!0});return b.handle(Q)}return b.handle(E)}}vd.\u0275fac=function(E){return new(E||vd)(t.LFG(Yo.m))},vd.\u0275prov=t.Yz7({token:vd,factory:vd.\u0275fac});var np=f(3512),tu=f(3172),Kn=f(4947),s1=f(3289);const c1={userPersona:"OPERATOR",themeMode:"DAY",themeColor:"PURPLE",channelBackupPath:"",selCurrencyUnit:"USD",unannouncedChannels:!1,fiatConversion:!1,currencyUnits:["Sats","BTC","USD"],bitcoindConfigPath:"",enableOffers:!1,enablePeerswap:!1},iu={configPath:"",swapMacaroonPath:"",boltzMacaroonPath:""},nu={apiURL:"",apisCallStatus:{Login:{status:Je.Bn.UN_INITIATED},IsAuthorized:{status:Je.Bn.UN_INITIATED}},selNode:{index:1,lnNode:"Node 1",settings:c1,authentication:iu,lnImplementation:"LND"},appConfig:{defaultNodeIndex:-1,selectedNodeIndex:-1,sso:{rtlSSO:0,logoutRedirectLink:""},enable2FA:!1,allowPasswordUpdate:!0,nodes:[{settings:c1,authentication:iu}]},nodeData:{}},au=(0,Ri.Lq)(nu,(0,Ri.on)(Yt.qi,(H,{payload:E})=>{const b=JSON.parse(JSON.stringify(H.apisCallStatus));return E.action&&(b[E.action]={status:E.status,statusCode:E.statusCode,message:E.message,URL:E.URL,filePath:E.filePath}),{...H,apisCallStatus:b}}),(0,Ri.on)(Yt.vI,(H,{payload:E})=>({...nu,apisCallStatus:H.apisCallStatus,appConfig:H.appConfig,selNode:E})),(0,Ri.on)(Yt.fk,(H,{payload:E})=>({...H,selNode:E.currentLnNode})),(0,Ri.on)(Yt.Tm,(H,{payload:E})=>{const b=JSON.parse(JSON.stringify(H.selNode));switch(E.service){case Je.JX.BOLTZ:b.settings.boltzServerUrl=E.settings.boltzServerUrl;break;case Je.JX.LOOP:b.settings.swapServerUrl=E.settings.swapServerUrl;break;case Je.JX.OFFERS:b.settings.enableOffers=E.settings.enableOffers;break;case Je.JX.PEERSWAP:b.settings.enablePeerswap=E.settings.enablePeerswap}return{...H,selNode:b}}),(0,Ri.on)(Yt._V,(H,{payload:E})=>({...H,nodeData:E})),(0,Ri.on)(Yt.XT,(H,{payload:E})=>({...H,appConfig:E}))),ru={apisCallStatus:{FetchPageSettings:{status:Je.Bn.UN_INITIATED},FetchInfo:{status:Je.Bn.UN_INITIATED},FetchFees:{status:Je.Bn.UN_INITIATED},FetchPeers:{status:Je.Bn.UN_INITIATED},FetchClosedChannels:{status:Je.Bn.UN_INITIATED},FetchPendingChannels:{status:Je.Bn.UN_INITIATED},FetchAllChannels:{status:Je.Bn.UN_INITIATED},FetchBalanceBlockchain:{status:Je.Bn.UN_INITIATED},FetchInvoices:{status:Je.Bn.UN_INITIATED},FetchPayments:{status:Je.Bn.UN_INITIATED},FetchForwardingHistory:{status:Je.Bn.UN_INITIATED},FetchUTXOs:{status:Je.Bn.UN_INITIATED},FetchTransactions:{status:Je.Bn.UN_INITIATED},FetchLightningTransactions:{status:Je.Bn.UN_INITIATED},FetchNetwork:{status:Je.Bn.UN_INITIATED}},nodeSettings:{userPersona:Je.ol.OPERATOR,unannouncedChannels:!1,fiatConversion:!1,channelBackupPath:"",currencyUnits:[],selCurrencyUnit:"",lnImplementation:"",swapServerUrl:""},pageSettings:Je.gK,information:{},peers:[],fees:{channel_fees:[],day_fee_sum:0,week_fee_sum:0,month_fee_sum:0,daily_tx_count:0,weekly_tx_count:0,monthly_tx_count:0,forwarding_events_history:{}},networkInfo:{},blockchainBalance:{total_balance:-1},lightningBalance:{local:-1,remote:-1},channels:[],channelsSummary:{active:{num_channels:0,capacity:0},inactive:{num_channels:0,capacity:0}},closedChannels:[],pendingChannels:{},pendingChannelsSummary:{open:{num_channels:0,limbo_balance:0},closing:{num_channels:0,limbo_balance:0},force_closing:{num_channels:0,limbo_balance:0},waiting_close:{num_channels:0,limbo_balance:0},total_channels:0,total_limbo_balance:0},transactions:[],utxos:[],listPayments:{payments:[]},listInvoices:{invoices:[]},allLightningTransactions:{listPaymentsAll:{payments:[],first_index_offset:"",last_index_offset:""},listInvoicesAll:{invoices:[],total_invoices:0,last_index_offset:"",first_index_offset:""}},forwardingHistory:{last_offset_index:0,total_fee_msat:0,forwarding_events:[]}};let P0=!1,E2=!1;const D2=(0,Ri.Lq)(ru,(0,Ri.on)(Nn.PC,(H,{payload:E})=>{const b=JSON.parse(JSON.stringify(H.apisCallStatus));return E.action&&(b[E.action]={status:E.status,statusCode:E.statusCode,message:E.message,URL:E.URL,filePath:E.filePath}),{...H,apisCallStatus:b}}),(0,Ri.on)(Nn.JT,(H,{payload:E})=>({...H,nodeSettings:E})),(0,Ri.on)(Nn.Ll,(H,{payload:E})=>({...ru,nodeSettings:E})),(0,Ri.on)(Nn.CX,(H,{payload:E})=>({...H,information:E})),(0,Ri.on)(Nn.Z8,(H,{payload:E})=>({...H,peers:E})),(0,Ri.on)(Nn.EK,(H,{payload:E})=>{const b=[...H.peers],Q=H.peers.findIndex(xe=>xe.pub_key===E.pubkey);return Q>-1&&b.splice(Q,1),{...H,peers:b}}),(0,Ri.on)(Nn.YP,(H,{payload:E})=>{const b=H.listInvoices;return b.invoices?.unshift(E),{...H,listInvoices:b}}),(0,Ri.on)(Nn.aL,(H,{payload:E})=>{const b=H.listInvoices;return b.invoices=b.invoices?.map(Q=>Q.payment_request===E.payment_request?E:Q),{...H,listInvoices:b}}),(0,Ri.on)(Nn.qY,(H,{payload:E})=>{const b=H.listPayments;return b.payments=b.payments?.map(Q=>Q.payment_hash===E.payment_hash?E:Q),{...H,listPayments:b}}),(0,Ri.on)(Nn.RX,(H,{payload:E})=>({...H,fees:E})),(0,Ri.on)(Nn._L,(H,{payload:E})=>({...H,closedChannels:E})),(0,Ri.on)(Nn.TW,(H,{payload:E})=>({...H,pendingChannels:E.pendingChannels,pendingChannelsSummary:E.pendingChannelsSummary})),(0,Ri.on)(Nn.as,(H,{payload:E})=>{let b=0,Q=0,xe=0,pt=0,Ut=0,ni=0;return E&&E.forEach(hi=>{hi.local_balance||(hi.local_balance=0),!0===hi.active?(Ut+=+hi.local_balance,xe+=1,hi.local_balance?b=+b+ +hi.local_balance:hi.local_balance=0,hi.remote_balance?Q=+Q+ +hi.remote_balance:hi.remote_balance=0):(ni+=+hi.local_balance,pt+=1)}),{...H,channels:E,channelsSummary:{active:{num_channels:xe,capacity:Ut},inactive:{num_channels:pt,capacity:ni}},lightningBalance:{local:b,remote:Q}}}),(0,Ri.on)(Nn.OG,(H,{payload:E})=>{const b=[...H.channels],Q=H.channels.findIndex(xe=>xe.channel_point===E.channelPoint);return Q>-1&&b.splice(Q,1),{...H,channels:b}}),(0,Ri.on)(Nn.Jl,(H,{payload:E})=>({...H,blockchainBalance:E})),(0,Ri.on)(Nn.ks,(H,{payload:E})=>({...H,networkInfo:E})),(0,Ri.on)(Nn.Nr,(H,{payload:E})=>(E.total_invoices||(E.total_invoices=H.listInvoices.total_invoices),{...H,listInvoices:E})),(0,Ri.on)(Nn.Lf,(H,{payload:E})=>{if(P0=!0,E.length&&E2){const b=[...H.utxos];return b.forEach(Q=>{const xe=E.find(pt=>pt.tx_hash===Q.outpoint?.txid_str);Q.label=xe&&xe.label?xe.label:""}),{...H,utxos:b,transactions:E}}return{...H,transactions:E}}),(0,Ri.on)(Nn.UH,(H,{payload:E})=>{if(E2=!0,E.length&&P0){const b=[...H.transactions];E.forEach(Q=>{const xe=b.find(pt=>pt.tx_hash===Q.outpoint?.txid_str);Q.label=xe&&xe.label?xe.label:""})}return{...H,utxos:E}}),(0,Ri.on)(Nn.HI,(H,{payload:E})=>{const b={listInvoicesAll:H.allLightningTransactions.listInvoicesAll,listPaymentsAll:E};return{...H,listPayments:E,allLightningTransactions:b}}),(0,Ri.on)(Nn.Fr,(H,{payload:E})=>{const b={listInvoicesAll:E.listInvoicesAll,listPaymentsAll:H.listPayments};return{...H,allLightningTransactions:b}}),(0,Ri.on)(Nn.QJ,(H,{payload:E})=>{const b=[...H.channels,...H.closedChannels];let Q=E.forwarding_events?JSON.parse(JSON.stringify(E)):{};return Q.forwarding_events&&(Q=R0(Q,b)),{...H,forwardingHistory:Q}}),(0,Ri.on)(Nn.pd,(H,{payload:E})=>{const b=[];return Je.gK.forEach(Q=>{const xe=E&&E.length&&E.length>0?E.find(pt=>pt.pageId===Q.pageId):null;if(xe){const pt=JSON.parse(JSON.stringify(xe.tables));xe.tables=[],Q.tables.forEach(Ut=>{const ni=pt.find(hi=>hi.tableId===Ut.tableId)||null;ni?xe.tables.push(ni):xe.tables.push(JSON.parse(JSON.stringify(Ut)))}),b.push(xe)}else b.push(JSON.parse(JSON.stringify(Q)))}),{...H,pageSettings:b}})),R0=(H,E)=>(H.forwarding_events.forEach(b=>{if(E&&E.length>0)for(let Q=0;Q<E.length;Q++){if(E[Q].chan_id?.toString()===b.chan_id_in&&(b.alias_in=E[Q].remote_alias?E[Q].remote_alias:b.chan_id_in,b.alias_out)||E[Q].chan_id?.toString()===b.chan_id_out&&(b.alias_out=E[Q].remote_alias?E[Q].remote_alias:b.chan_id_out,b.alias_in))return;Q===E.length-1&&(b.alias_in||(b.alias_in=b.chan_id_in),b.alias_out||(b.alias_out=b.chan_id_out))}else b.alias_in=b.chan_id_in,b.alias_out=b.chan_id_out}),H),ap={apisCallStatus:{FetchPageSettings:{status:Je.Bn.UN_INITIATED},FetchInfo:{status:Je.Bn.UN_INITIATED},FetchInvoices:{status:Je.Bn.UN_INITIATED},FetchFees:{status:Je.Bn.UN_INITIATED},FetchChannels:{status:Je.Bn.UN_INITIATED},FetchBalance:{status:Je.Bn.UN_INITIATED},FetchLocalRemoteBalance:{status:Je.Bn.UN_INITIATED},FetchFeeRatesperkb:{status:Je.Bn.UN_INITIATED},FetchFeeRatesperkw:{status:Je.Bn.UN_INITIATED},FetchPeers:{status:Je.Bn.UN_INITIATED},FetchUTXOs:{status:Je.Bn.UN_INITIATED},FetchPayments:{status:Je.Bn.UN_INITIATED},FetchForwardingHistoryS:{status:Je.Bn.UN_INITIATED},FetchForwardingHistoryF:{status:Je.Bn.UN_INITIATED},FetchForwardingHistoryL:{status:Je.Bn.UN_INITIATED},FetchOffers:{status:Je.Bn.UN_INITIATED},FetchOfferBookmarks:{status:Je.Bn.UN_INITIATED}},nodeSettings:{userPersona:Je.ol.OPERATOR,unannouncedChannels:!1,selCurrencyUnit:"USD",fiatConversion:!1,channelBackupPath:"",currencyUnits:[],enableOffers:!1,enablePeerswap:!1},pageSettings:Je.gG,information:{},fees:{},feeRatesPerKB:{},feeRatesPerKW:{},balance:{},localRemoteBalance:{localBalance:-1,remoteBalance:-1},peers:[],activeChannels:[],pendingChannels:[],inactiveChannels:[],payments:[],forwardingHistory:{},failedForwardingHistory:{},localFailedForwardingHistory:{},invoices:{invoices:[]},utxos:[],offers:[],offersBookmarks:[]},T2=(0,Ri.Lq)(ap,(0,Ri.on)(En.Ni,(H,{payload:E})=>{const b=JSON.parse(JSON.stringify(H.apisCallStatus));return E.action&&(b[E.action]={status:E.status,statusCode:E.statusCode,message:E.message,URL:E.URL,filePath:E.filePath}),{...H,apisCallStatus:b}}),(0,Ri.on)(En.oo,(H,{payload:E})=>({...H,nodeSettings:E})),(0,Ri.on)(En.xH,(H,{payload:E})=>({...ap,nodeSettings:E})),(0,Ri.on)(En.CX,(H,{payload:E})=>({...H,information:E})),(0,Ri.on)(En.RX,(H,{payload:E})=>({...H,fees:E})),(0,Ri.on)(En.I8,(H,{payload:E})=>E.perkb?{...H,feeRatesPerKB:E}:E.perkw?{...H,feeRatesPerKW:E}:{...H}),(0,Ri.on)(En.Lu,(H,{payload:E})=>({...H,balance:E})),(0,Ri.on)(En.xS,(H,{payload:E})=>({...H,localRemoteBalance:E})),(0,Ri.on)(En.Z8,(H,{payload:E})=>({...H,peers:E})),(0,Ri.on)(En.X3,(H,{payload:E})=>({...H,peers:[...H.peers,E]})),(0,Ri.on)(En.EK,(H,{payload:E})=>{const b=[...H.peers],Q=H.peers.findIndex(xe=>xe.id===E.id);return Q>-1&&b.splice(Q,1),{...H,peers:b}}),(0,Ri.on)(En.as,(H,{payload:E})=>({...H,activeChannels:E.activeChannels,pendingChannels:E.pendingChannels,inactiveChannels:E.inactiveChannels})),(0,Ri.on)(En.OG,(H,{payload:E})=>{const b=[...H.peers];return b.forEach(Q=>{Q.id===E.id&&(Q.connected=!1,delete Q.netaddr)}),{...H,peers:b}}),(0,Ri.on)(En.HI,(H,{payload:E})=>({...H,payments:E})),(0,Ri.on)(En.QJ,(H,{payload:E})=>{const b=[...H.activeChannels,...H.pendingChannels,...H.inactiveChannels],Q=B0(E.listForwards,b);switch(E.listForwards=Q,E.status){case Je.OO.SETTLED:const xe=H.fees;return xe.totalTxCount=E.totalForwards||0,{...H,fees:xe,forwardingHistory:E};case Je.OO.FAILED:return{...H,failedForwardingHistory:E};case Je.OO.LOCAL_FAILED:return{...H,localFailedForwardingHistory:E};default:return{...H}}}),(0,Ri.on)(En.YP,(H,{payload:E})=>{const b=H.invoices;return b.invoices?.unshift(E),{...H,invoices:b}}),(0,Ri.on)(En.Nr,(H,{payload:E})=>({...H,invoices:E})),(0,Ri.on)(En.aL,(H,{payload:E})=>{const b=H.invoices;return b.invoices=b.invoices?.map(Q=>Q.label===E.label?E:Q),{...H,invoices:b}}),(0,Ri.on)(En.UH,(H,{payload:E})=>({...H,utxos:E})),(0,Ri.on)(En.Zu,(H,{payload:E})=>({...H,offers:E})),(0,Ri.on)(En.ZH,(H,{payload:E})=>{const b=H.offers;return b?.unshift(E),{...H,offers:b}}),(0,Ri.on)(En.JK,(H,{payload:E})=>{const b=[...H.offers],Q=H.offers.findIndex(xe=>xe.offer_id===E.offer.offer_id);return Q>-1&&b.splice(Q,1,E.offer),{...H,offers:b}}),(0,Ri.on)(En.d7,(H,{payload:E})=>({...H,offersBookmarks:E})),(0,Ri.on)(En.e9,(H,{payload:E})=>{const b=[...H.offersBookmarks],Q=b.findIndex(xe=>xe.bolt12===E.bolt12);if(Q<0)b?.unshift(E);else{const xe={...b[Q]};xe.title=E.title,xe.amountMSat=E.amountMSat,xe.lastUpdatedAt=E.lastUpdatedAt,xe.description=E.description,xe.vendor=E.vendor,b.splice(Q,1,xe)}return{...H,offersBookmarks:b}}),(0,Ri.on)(En.en,(H,{payload:E})=>{const b=[...H.offersBookmarks],Q=H.offersBookmarks.findIndex(xe=>xe.bolt12===E.bolt12);return Q>-1&&b.splice(Q,1),{...H,offersBookmarks:b}}),(0,Ri.on)(En.pd,(H,{payload:E})=>{const b=[];return Je.gG.forEach(Q=>{const xe=E&&E.length&&E.length>0?E.find(pt=>pt.pageId===Q.pageId):null;if(xe){const pt=JSON.parse(JSON.stringify(xe.tables));xe.tables=[],Q.tables.forEach(Ut=>{const ni=pt.find(hi=>hi.tableId===Ut.tableId)||null;ni?xe.tables.push(ni):xe.tables.push(JSON.parse(JSON.stringify(Ut)))}),b.push(xe)}else b.push(JSON.parse(JSON.stringify(Q)))}),{...H,pageSettings:b}})),B0=(H,E)=>(H&&H.length>0?H.forEach((b,Q)=>{if(E&&E.length>0)for(let xe=0;xe<E.length;xe++){if(E[xe].short_channel_id&&E[xe].short_channel_id===b.in_channel&&(b.in_channel_alias=E[xe].alias?E[xe].alias:b.in_channel,b.out_channel_alias)||E[xe].short_channel_id&&E[xe].short_channel_id?.toString()===b.out_channel&&(b.out_channel_alias=E[xe].alias?E[xe].alias:b.out_channel,b.in_channel_alias))return;xe===E.length-1&&(b.in_channel_alias||(b.in_channel_alias=b.in_channel?b.in_channel:"-"),b.out_channel_alias||(b.out_channel_alias=b.out_channel?b.out_channel:"-"))}else b.in_channel_alias=b.in_channel?b.in_channel:"-",b.out_channel_alias=b.out_channel?b.out_channel:"-"}):H=[],H),qo={apisCallStatus:{FetchPageSettings:{status:Je.Bn.UN_INITIATED},FetchInfo:{status:Je.Bn.UN_INITIATED},FetchFees:{status:Je.Bn.UN_INITIATED},FetchChannels:{status:Je.Bn.UN_INITIATED},FetchOnchainBalance:{status:Je.Bn.UN_INITIATED},FetchPeers:{status:Je.Bn.UN_INITIATED},FetchPayments:{status:Je.Bn.UN_INITIATED},FetchInvoices:{status:Je.Bn.UN_INITIATED},FetchTransactions:{status:Je.Bn.UN_INITIATED}},nodeSettings:{userPersona:Je.ol.OPERATOR,unannouncedChannels:!1,selCurrencyUnit:"USD",fiatConversion:!1,channelBackupPath:"",currencyUnits:[]},pageSettings:Je.c3,information:{},fees:{},activeChannels:[],pendingChannels:[],inactiveChannels:[],channelsStatus:{active:{channels:0,capacity:0},inactive:{channels:0,capacity:0},pending:{channels:0,capacity:0},closing:{channels:0,capacity:0}},onchainBalance:{total:0,confirmed:0,unconfirmed:0},lightningBalance:{localBalance:-1,remoteBalance:-1},peers:[],payments:{},transactions:[],invoices:[]},rp=(0,Ri.Lq)(qo,(0,Ri.on)(pn.QZ,(H,{payload:E})=>{const b=JSON.parse(JSON.stringify(H.apisCallStatus));return E.action&&(b[E.action]={status:E.status,statusCode:E.statusCode,message:E.message,URL:E.URL,filePath:E.filePath}),{...H,apisCallStatus:b}}),(0,Ri.on)(pn.Zr,(H,{payload:E})=>({...H,nodeSettings:E})),(0,Ri.on)(pn.Fd,(H,{payload:E})=>({...qo,nodeSettings:E})),(0,Ri.on)(pn.CX,(H,{payload:E})=>({...H,information:E})),(0,Ri.on)(pn.RX,(H,{payload:E})=>({...H,fees:E})),(0,Ri.on)(pn.eN,(H,{payload:E})=>({...H,activeChannels:E})),(0,Ri.on)(pn.TW,(H,{payload:E})=>({...H,pendingChannels:E})),(0,Ri.on)(pn.i,(H,{payload:E})=>({...H,inactiveChannels:E})),(0,Ri.on)(pn.HG,(H,{payload:E})=>({...H,channelsStatus:E})),(0,Ri.on)(pn.Bw,(H,{payload:E})=>({...H,onchainBalance:E})),(0,Ri.on)(pn.On,(H,{payload:E})=>({...H,lightningBalance:E})),(0,Ri.on)(pn.Z8,(H,{payload:E})=>({...H,peers:E})),(0,Ri.on)(pn.EK,(H,{payload:E})=>{const b=[...H.peers],Q=H.peers.findIndex(xe=>xe.nodeId===E.nodeId);return Q>-1&&b.splice(Q,1),{...H,peers:b}}),(0,Ri.on)(pn.OG,(H,{payload:E})=>{const b=[...H.activeChannels],Q=H.activeChannels.findIndex(xe=>xe.channelId===E.channelId);return Q>-1&&b.splice(Q,1),{...H,activeChannels:b}}),(0,Ri.on)(pn.HI,(H,{payload:E})=>{if(E&&E.sent){const b=[...H.activeChannels,...H.pendingChannels,...H.inactiveChannels];E.sent?.map(Q=>{const xe=H.peers.find(pt=>pt.nodeId===Q.recipientNodeId);return Q.recipientNodeAlias=xe?xe.alias:Q.recipientNodeId,Q.parts&&Q.parts?.map(pt=>{const Ut=b.find(ni=>ni.channelId===pt.toChannelId);return pt.toChannelAlias=Ut?Ut.alias:pt.toChannelId,Q.parts}),E.sent})}if(E&&E.relayed){const b=[...H.activeChannels,...H.pendingChannels,...H.inactiveChannels];E.relayed.forEach(Q=>{Q=l1(Q,b)})}return{...H,payments:E}}),(0,Ri.on)(pn.Lf,(H,{payload:E})=>({...H,transactions:E})),(0,Ri.on)(pn.YP,(H,{payload:E})=>{const b=H.invoices;return b?.unshift(E),{...H,invoices:b}}),(0,Ri.on)(pn.Nr,(H,{payload:E})=>({...H,invoices:E})),(0,Ri.on)(pn.aL,(H,{payload:E})=>{let b=H.invoices;return b=b?.map(Q=>{if(Q.paymentHash===E.paymentHash){if(E.hasOwnProperty("type")){const xe=JSON.parse(JSON.stringify(Q));return xe.amountSettled=E.parts&&E.parts.length&&E.parts.length>0&&E.parts[0].amount?(E.parts[0].amount||0)/1e3:0,xe.receivedAt=E.parts&&E.parts.length&&E.parts.length>0&&E.parts[0].timestamp?Math.round((E.parts[0].timestamp||0)/1e3):0,xe.status="received",xe}return E}return Q}),{...H,invoices:b}}),(0,Ri.on)(pn.DJ,(H,{payload:E})=>{let b=H.pendingChannels;return b=b?.map(Q=>(Q.channelId===E.channelId&&Q.nodeId===E.remoteNodeId&&(E.currentState=E.currentState?.replace(/_/g," "),Q.state=E.currentState),Q)),{...H,pendingChannels:b}}),(0,Ri.on)(pn.ti,(H,{payload:E})=>{const b=H.payments,Q=l1(E,[...H.activeChannels,...H.pendingChannels,...H.inactiveChannels]);Q.amountIn=Math.round((E.amountIn||0)/1e3),Q.amountOut=Math.round((E.amountOut||0)/1e3),b.relayed?.unshift(Q);const xe=(E.amountIn||0)-(E.amountOut||0),pt={localBalance:H.lightningBalance.localBalance+xe,remoteBalance:H.lightningBalance.remoteBalance-xe},Ut=H.channelsStatus;Ut.active&&(Ut.active.capacity=(H.channelsStatus?.active?.capacity||0)+xe);const ni={daily_fee:(H.fees.daily_fee||0)+xe,daily_txs:(H.fees.daily_txs||0)+1,weekly_fee:(H.fees.weekly_fee||0)+xe,weekly_txs:(H.fees.weekly_txs||0)+1,monthly_fee:(H.fees.monthly_fee||0)+xe,monthly_txs:(H.fees.monthly_txs||0)+1},hi=H.activeChannels;let Ti=!1,ln=!1;for(const Gi of hi){if(Gi.channelId===E.fromChannelId){Ti=!0;const Ln=(Gi.toLocal||0)+(Gi.toRemote||0);Gi.toLocal=(Gi.toLocal||0)+Q.amountIn,Gi.toRemote=(Gi.toRemote||0)-Q.amountIn,Gi.balancedness=0===Ln?1:+(1-Math.abs((Gi.toLocal-Gi.toRemote)/Ln)).toFixed(3)}if(Gi.channelId===E.toChannelId){ln=!0;const Ln=(Gi.toLocal||0)+(Gi.toRemote||0);Gi.toLocal=(Gi.toLocal||0)-Q.amountOut,Gi.toRemote=(Gi.toRemote||0)+Q.amountOut,Gi.balancedness=0===Ln?1:+(1-Math.abs((Gi.toLocal-Gi.toRemote)/Ln)).toFixed(3)}if(ln&&Ti)break}return{...H,payments:b,lightningBalance:pt,channelStatus:Ut,fees:ni,activeChannels:hi}}),(0,Ri.on)(pn.pd,(H,{payload:E})=>{const b=[];return Je.c3.forEach(Q=>{const xe=E&&E.length&&E.length>0?E.find(pt=>pt.pageId===Q.pageId):null;if(xe){const pt=JSON.parse(JSON.stringify(xe.tables));xe.tables=[],Q.tables.forEach(Ut=>{const ni=pt.find(hi=>hi.tableId===Ut.tableId)||null;ni?xe.tables.push(ni):xe.tables.push(JSON.parse(JSON.stringify(Ut)))}),b.push(xe)}else b.push(JSON.parse(JSON.stringify(Q)))}),{...H,pageSettings:b}})),l1=(H,E)=>{if("payment-relayed"===H.type)if(E&&E.length>0)for(let b=0;b<E.length;b++){if(E[b].channelId?.toString()===H.fromChannelId&&(H.fromChannelAlias=E[b].alias?E[b].alias:H.fromChannelId,H.fromShortChannelId=E[b].shortChannelId?E[b].shortChannelId:"",H.toChannelAlias)||E[b].channelId?.toString()===H.toChannelId&&(H.toChannelAlias=E[b].alias?E[b].alias:H.toChannelId,H.toShortChannelId=E[b].shortChannelId?E[b].shortChannelId:"",H.fromChannelAlias))return H;b===E.length-1&&(H.fromChannelAlias||(H.fromChannelAlias=H.fromChannelId?.substring(0,17)+"...",H.fromShortChannelId=""),H.toChannelAlias||(H.toChannelAlias=H.toChannelId?.substring(0,17)+"...",H.toShortChannelId=""))}else H.fromChannelAlias=H.fromChannelId?.substring(0,17)+"...",H.fromShortChannelId="",H.toChannelAlias=H.toChannelId?.substring(0,17)+"...",H.toShortChannelId="";else if(H.type="trampoline-payment-relayed"){if(E&&E.length>0)for(let b=0;b<E.length;b++)H.incoming?.forEach(Q=>{E[b].channelId?.toString()===Q.channelId&&(Q.channelAlias=E[b].alias?E[b].alias:Q.channelId,Q.shortChannelId=E[b].shortChannelId?E[b].shortChannelId:"")}),H.outgoing?.forEach(Q=>{E[b].channelId?.toString()===Q.channelId&&(Q.channelAlias=E[b].alias?E[b].alias:Q.channelId,Q.shortChannelId=E[b].shortChannelId?E[b].shortChannelId:"")}),b===E.length-1&&(H.incoming&&H.incoming.length&&H.incoming.length>0&&!H.incoming[0].channelAlias&&H.incoming?.forEach(Q=>{Q.channelAlias=Q.channelId?.substring(0,17)+"...",Q.shortChannelId=""}),H.outgoing&&H.outgoing.length&&H.outgoing.length>0&&!H.outgoing[0].channelAlias&&H.outgoing?.forEach(Q=>{Q.channelAlias=Q.channelId?.substring(0,17)+"...",Q.shortChannelId=""}));else H.incoming?.forEach(b=>{b.channelAlias=b.channelId?.substring(0,17)+"...",b.shortChannelId=""}),H.outgoing?.forEach(b=>{b.channelAlias=b.channelId?.substring(0,17)+"...",b.shortChannelId=""});H.amountIn=H.incoming?.reduce((b,Q)=>b+Q.amount,0)||0,H.fromChannelId=H.incoming&&H.incoming.length?H.incoming[0].channelId:"",H.fromChannelAlias=H.incoming&&H.incoming.length?H.incoming[0].channelAlias:"",H.fromShortChannelId=H.incoming&&H.incoming.length?H.incoming[0].shortChannelId:"",H.amountOut=H.outgoing?.reduce((b,Q)=>b+Q.amount,0)||0,H.toChannelId=H.outgoing&&H.outgoing.length?H.outgoing[0].channelId:"",H.toChannelAlias=H.outgoing&&H.outgoing.length?H.outgoing[0].channelAlias:"",H.toShortChannelId=H.outgoing&&H.outgoing.length?H.outgoing[0].shortChannelId:""}return H};class nc{}nc.\u0275fac=function(E){return new(E||nc)},nc.\u0275mod=t.oAB({type:nc,bootstrap:[gd]}),nc.\u0275inj=t.cJS({providers:[{provide:Nr.TP,useClass:vd,multi:!0},ar.a1,Yo.m,Zh.D,np.d,X1.W,Ir.v,Zc],imports:[lr,A0.m,T0,Rn.xu,e.t6,$r.forRoot({idle:3590,timeout:10,ping:12e3}),Ri.Aw.forRoot({root:au,lnd:D2,cln:T2,ecl:rp},{runtimeChecks:{strictStateImmutability:!1,strictActionImmutability:!1}}),Jr.sQ.forRoot([Ja.V,tu.l,Kn.J,s1.o]),cs.NZ.production?[]:ns.FT.instrument()]}),cs.NZ.production&&(0,t.G48)(),e.q6().bootstrapModule(nc).catch(H=>console.log(H))},8996:(Ye,J)=>{"use strict";function f(ge){return Object.keys(ge).map($e=>ge[$e])}var ge;Object.defineProperty(J,"__esModule",{value:!0}),(ge=J.HashAlgorithms||(J.HashAlgorithms={})).SHA1="sha1",ge.SHA256="sha256",ge.SHA512="sha512";const e=f(J.HashAlgorithms);!function(ge){ge.ASCII="ascii",ge.BASE64="base64",ge.HEX="hex",ge.LATIN1="latin1",ge.UTF8="utf8"}(J.KeyEncodings||(J.KeyEncodings={}));const t=f(J.KeyEncodings);!function(ge){ge.HOTP="hotp",ge.TOTP="totp"}(J.Strategy||(J.Strategy={}));const _=f(J.Strategy),O=()=>{throw new Error("Please provide an options.createDigest implementation.")};function l(ge){return/^(\d+)$/.test(ge)}function C(ge,$e,Oe){return ge.length>=$e?ge:`${Array($e+1).join(Oe)}${ge}`.slice(-1*$e)}function u(ge){const $e=`otpauth://${ge.type}/{labelPrefix}:{accountName}?secret={secret}{query}`,Oe=[];if(_.indexOf(ge.type)<0)throw new Error(`Expecting options.type to be one of ${_.join(", ")}. Received ${ge.type}.`);if("hotp"===ge.type){if(null==ge.counter||"number"!=typeof ge.counter)throw new Error('Expecting options.counter to be a number when options.type is "hotp".');Oe.push(`&counter=${ge.counter}`)}return"totp"===ge.type&&ge.step&&Oe.push(`&period=${ge.step}`),ge.digits&&Oe.push(`&digits=${ge.digits}`),ge.algorithm&&Oe.push(`&algorithm=${ge.algorithm.toUpperCase()}`),ge.issuer&&Oe.push(`&issuer=${encodeURIComponent(ge.issuer)}`),$e.replace("{labelPrefix}",encodeURIComponent(ge.issuer||ge.accountName)).replace("{accountName}",encodeURIComponent(ge.accountName)).replace("{secret}",ge.secret).replace("{query}",Oe.join(""))}class P{constructor($e={}){this._defaultOptions=Object.freeze({...$e}),this._options=Object.freeze({})}create($e={}){return new P($e)}clone($e={}){const Oe=this.create({...this._defaultOptions,...$e});return Oe.options=this._options,Oe}get options(){return Object.freeze({...this._defaultOptions,...this._options})}set options($e){this._options=Object.freeze({...this._options,...$e})}allOptions(){return this.options}resetOptions(){this._options=Object.freeze({})}}function p(ge){if("function"!=typeof ge.createDigest)throw new Error("Expecting options.createDigest to be a function.");if("function"!=typeof ge.createHmacKey)throw new Error("Expecting options.createHmacKey to be a function.");if("number"!=typeof ge.digits)throw new Error("Expecting options.digits to be a number.");if(!ge.algorithm||e.indexOf(ge.algorithm)<0)throw new Error(`Expecting options.algorithm to be one of ${e.join(", ")}. Received ${ge.algorithm}.`);if(!ge.encoding||t.indexOf(ge.encoding)<0)throw new Error(`Expecting options.encoding to be one of ${t.join(", ")}. Received ${ge.encoding}.`)}const L=(ge,$e,Oe)=>Buffer.from($e,Oe).toString("hex");function D(){return{algorithm:J.HashAlgorithms.SHA1,createHmacKey:L,createDigest:O,digits:6,encoding:J.KeyEncodings.ASCII}}function k(ge){const $e={...D(),...ge};return p($e),Object.freeze($e)}function M(ge){return C(ge.toString(16),16,"0")}function z(ge,$e){const Oe=Buffer.from(ge,"hex"),Me=15&Oe[Oe.length-1],Ue=((127&Oe[Me])<<24|(255&Oe[Me+1])<<16|(255&Oe[Me+2])<<8|255&Oe[Me+3])%Math.pow(10,$e);return C(String(Ue),$e,"0")}function W(ge,$e,Oe){const Me=Oe.digest||function A(ge,$e,Oe){const Me=M($e),De=Oe.createHmacKey(Oe.algorithm,ge,Oe.encoding);return Oe.createDigest(Oe.algorithm,De,Me)}(ge,$e,Oe);return z(Me,Oe.digits)}function Z(ge,$e,Oe,Me){if(!l(ge))return!1;return ge===W($e,Oe,Me)}function X(ge,$e,Oe,Me,De){return u({algorithm:De.algorithm,digits:De.digits,type:J.Strategy.HOTP,accountName:ge,counter:Me,issuer:$e,secret:Oe})}class $ extends P{create($e={}){return new $($e)}allOptions(){return k(this.options)}generate($e,Oe){return W($e,Oe,this.allOptions())}check($e,Oe,Me){return Z($e,Oe,Me,this.allOptions())}verify($e){if("object"!=typeof $e)throw new Error("Expecting argument 0 of verify to be an object");return this.check($e.token,$e.secret,$e.counter)}keyuri($e,Oe,Me,De){return X($e,Oe,Me,De,this.allOptions())}}function ae(ge){if("number"==typeof ge)return[Math.abs(ge),Math.abs(ge)];if(Array.isArray(ge)){const[$e,Oe]=ge;if("number"==typeof $e&&"number"==typeof Oe)return[Math.abs($e),Math.abs(Oe)]}throw new Error("Expecting options.window to be an number or [number, number].")}function he(ge){if(p(ge),ae(ge.window),"number"!=typeof ge.epoch)throw new Error("Expecting options.epoch to be a number.");if("number"!=typeof ge.step)throw new Error("Expecting options.step to be a number.")}const se=(ge,$e,Oe)=>{const Me=ge.length,De=Buffer.from(ge,$e).toString("hex");if(Me<Oe){const Ue=new Array(Oe-Me+1).join(De);return Buffer.from(Ue,"hex").slice(0,Oe).toString("hex")}return De},pe=(ge,$e,Oe)=>{switch(ge){case J.HashAlgorithms.SHA1:return se($e,Oe,20);case J.HashAlgorithms.SHA256:return se($e,Oe,32);case J.HashAlgorithms.SHA512:return se($e,Oe,64);default:throw new Error(`Expecting algorithm to be one of ${e.join(", ")}. Received ${ge}.`)}};function le(){return{algorithm:J.HashAlgorithms.SHA1,createDigest:O,createHmacKey:pe,digits:6,encoding:J.KeyEncodings.ASCII,epoch:Date.now(),step:30,window:0}}function re(ge){const $e={...le(),...ge};return he($e),Object.freeze($e)}function fe(ge,$e){return Math.floor(ge/$e/1e3)}function T(ge,$e){return W(ge,fe($e.epoch,$e.step),$e)}function i(ge,$e,Oe,Me){const De=[];if(0===Me)return De;for(let Ue=1;Ue<=Me;Ue++){const ye=$e*Ue*Oe;De.push(ge+ye)}return De}function o(ge,$e,Oe){const Me=ae(Oe),De=1e3*$e;return{current:ge,past:i(ge,-1,De,Me[0]),future:i(ge,1,De,Me[1])}}function m(ge,$e,Oe){if(!l(ge))return!1;return ge===T($e,Oe)}function h(ge,$e,Oe,Me){let De=null;return ge.some((Ue,ye)=>!!m($e,Oe,{...Me,epoch:Ue})&&(De=ye+1,!0)),De}function x(ge,$e,Oe){if(m(ge,$e,Oe))return 0;const Me=o(Oe.epoch,Oe.step,Oe.window),De=h(Me.past,ge,$e,Oe);return null!==De?-1*De:h(Me.future,ge,$e,Oe)}function I(ge,$e){return Math.floor(ge/1e3)%$e}function R(ge,$e){return $e-I(ge,$e)}function g(ge,$e,Oe,Me){return u({algorithm:Me.algorithm,digits:Me.digits,step:Me.step,type:J.Strategy.TOTP,accountName:ge,issuer:$e,secret:Oe})}class r extends ${create($e={}){return new r($e)}allOptions(){return re(this.options)}generate($e){return T($e,this.allOptions())}checkDelta($e,Oe){return x($e,Oe,this.allOptions())}check($e,Oe){return"number"==typeof this.checkDelta($e,Oe)}verify($e){if("object"!=typeof $e)throw new Error("Expecting argument 0 of verify to be an object");return this.check($e.token,$e.secret)}timeRemaining(){const $e=this.allOptions();return R($e.epoch,$e.step)}timeUsed(){const $e=this.allOptions();return I($e.epoch,$e.step)}keyuri($e,Oe,Me){return g($e,Oe,Me,this.allOptions())}}function w(ge){if(he(ge),"function"!=typeof ge.keyDecoder)throw new Error("Expecting options.keyDecoder to be a function.");if(ge.keyEncoder&&"function"!=typeof ge.keyEncoder)throw new Error("Expecting options.keyEncoder to be a function.")}function V(){return{algorithm:J.HashAlgorithms.SHA1,createDigest:O,createHmacKey:pe,digits:6,encoding:J.KeyEncodings.HEX,epoch:Date.now(),step:30,window:0}}function N(ge){const $e={...V(),...ge};return w($e),Object.freeze($e)}function Y(ge,$e){return $e.keyEncoder(ge,$e.encoding)}function Pe(ge,$e){return $e.keyDecoder(ge,$e.encoding)}function Ce(ge,$e){return Y($e.createRandomBytes(ge,$e.encoding),$e)}function Xe(ge,$e){return T(Pe(ge,$e),$e)}function dt(ge,$e,Oe){return x(ge,Pe($e,Oe),Oe)}class Ke extends r{create($e={}){return new Ke($e)}allOptions(){return N(this.options)}generate($e){return Xe($e,this.allOptions())}checkDelta($e,Oe){return dt($e,Oe,this.allOptions())}encode($e){return Y($e,this.allOptions())}decode($e){return Pe($e,this.allOptions())}generateSecret($e=10){return Ce($e,this.allOptions())}}J.Authenticator=Ke,J.HASH_ALGORITHMS=e,J.HOTP=$,J.KEY_ENCODINGS=t,J.OTP=P,J.STRATEGY=_,J.TOTP=r,J.authenticatorCheckWithWindow=dt,J.authenticatorDecoder=Pe,J.authenticatorDefaultOptions=V,J.authenticatorEncoder=Y,J.authenticatorGenerateSecret=Ce,J.authenticatorOptionValidator=w,J.authenticatorOptions=N,J.authenticatorToken=Xe,J.createDigestPlaceholder=O,J.hotpCheck=Z,J.hotpCounter=M,J.hotpCreateHmacKey=L,J.hotpDefaultOptions=D,J.hotpDigestToToken=z,J.hotpKeyuri=X,J.hotpOptions=k,J.hotpOptionsValidator=p,J.hotpToken=W,J.isTokenValid=l,J.keyuri=u,J.objectValues=f,J.padStart=C,J.totpCheck=m,J.totpCheckByEpoch=h,J.totpCheckWithWindow=x,J.totpCounter=fe,J.totpCreateHmacKey=pe,J.totpDefaultOptions=le,J.totpEpochAvailable=o,J.totpKeyuri=g,J.totpOptions=re,J.totpOptionsValidator=he,J.totpPadSecret=se,J.totpTimeRemaining=R,J.totpTimeUsed=I,J.totpToken=T},6042:(Ye,J,f)=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0});var t=function e(l){return l&&"object"==typeof l&&"default"in l?l.default:l}(f(9501));J.createDigest=(l,C,u)=>t.createHmac(l,Buffer.from(C,"hex")).update(Buffer.from(u,"hex")).digest().toString("hex"),J.createRandomBytes=(l,C)=>t.randomBytes(l).toString(C)},8364:(Ye,J,f)=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0});var t=function e(l){return l&&"object"==typeof l&&"default"in l?l.default:l}(f(917));J.keyDecoder=(l,C)=>t.decode(l).toString(C),J.keyEncoder=(l,C)=>t.encode(Buffer.from(l,C).toString("ascii")).toString().replace(/=/g,"")},9614:(Ye,J,f)=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0});var e=f(6042),t=f(8364),_=f(8996);const O=new _.HOTP({createDigest:e.createDigest}),l=new _.TOTP({createDigest:e.createDigest}),C=new _.Authenticator({createDigest:e.createDigest,createRandomBytes:e.createRandomBytes,keyDecoder:t.keyDecoder,keyEncoder:t.keyEncoder});J.authenticator=C,J.hotp=O,J.totp=l},7183:(Ye,J,f)=>{"use strict";const e=J;e.bignum=f(3439),e.define=f(1535).define,e.base=f(6977),e.constants=f(5407),e.decoders=f(8643),e.encoders=f(6337)},1535:(Ye,J,f)=>{"use strict";const e=f(6337),t=f(8643),_=f(5035);function l(C,u){this.name=C,this.body=u,this.decoders={},this.encoders={}}J.define=function(u,P){return new l(u,P)},l.prototype._createNamed=function(u){const P=this.name;function p(L){this._initNamed(L,P)}return _(p,u),p.prototype._initNamed=function(D,k){u.call(this,D,k)},new p(this)},l.prototype._getDecoder=function(u){return u=u||"der",this.decoders.hasOwnProperty(u)||(this.decoders[u]=this._createNamed(t[u])),this.decoders[u]},l.prototype.decode=function(u,P,p){return this._getDecoder(P).decode(u,p)},l.prototype._getEncoder=function(u){return u=u||"der",this.encoders.hasOwnProperty(u)||(this.encoders[u]=this._createNamed(e[u])),this.encoders[u]},l.prototype.encode=function(u,P,p){return this._getEncoder(P).encode(u,p)}},2314:(Ye,J,f)=>{"use strict";const e=f(5035),t=f(794).b,_=f(4421).Buffer;function O(C,u){t.call(this,u),_.isBuffer(C)?(this.base=C,this.offset=0,this.length=C.length):this.error("Input not Buffer")}function l(C,u){if(Array.isArray(C))this.length=0,this.value=C.map(function(P){return l.isEncoderBuffer(P)||(P=new l(P,u)),this.length+=P.length,P},this);else if("number"==typeof C){if(!(0<=C&&C<=255))return u.error("non-byte EncoderBuffer value");this.value=C,this.length=1}else if("string"==typeof C)this.value=C,this.length=_.byteLength(C);else{if(!_.isBuffer(C))return u.error("Unsupported type: "+typeof C);this.value=C,this.length=C.length}}e(O,t),J.C=O,O.isDecoderBuffer=function(u){return u instanceof O||"object"==typeof u&&_.isBuffer(u.base)&&"DecoderBuffer"===u.constructor.name&&"number"==typeof u.offset&&"number"==typeof u.length&&"function"==typeof u.save&&"function"==typeof u.restore&&"function"==typeof u.isEmpty&&"function"==typeof u.readUInt8&&"function"==typeof u.skip&&"function"==typeof u.raw},O.prototype.save=function(){return{offset:this.offset,reporter:t.prototype.save.call(this)}},O.prototype.restore=function(u){const P=new O(this.base);return P.offset=u.offset,P.length=this.offset,this.offset=u.offset,t.prototype.restore.call(this,u.reporter),P},O.prototype.isEmpty=function(){return this.offset===this.length},O.prototype.readUInt8=function(u){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(u||"DecoderBuffer overrun")},O.prototype.skip=function(u,P){if(!(this.offset+u<=this.length))return this.error(P||"DecoderBuffer overrun");const p=new O(this.base);return p._reporterState=this._reporterState,p.offset=this.offset,p.length=this.offset+u,this.offset+=u,p},O.prototype.raw=function(u){return this.base.slice(u?u.offset:this.offset,this.length)},J.R=l,l.isEncoderBuffer=function(u){return u instanceof l||"object"==typeof u&&"EncoderBuffer"===u.constructor.name&&"number"==typeof u.length&&"function"==typeof u.join},l.prototype.join=function(u,P){return u||(u=_.alloc(this.length)),P||(P=0),0===this.length||(Array.isArray(this.value)?this.value.forEach(function(p){p.join(u,P),P+=p.length}):("number"==typeof this.value?u[P]=this.value:"string"==typeof this.value?u.write(this.value,P):_.isBuffer(this.value)&&this.value.copy(u,P),P+=this.length)),u}},6977:(Ye,J,f)=>{"use strict";const e=J;e.Reporter=f(794).b,e.DecoderBuffer=f(2314).C,e.EncoderBuffer=f(2314).R,e.Node=f(1598)},1598:(Ye,J,f)=>{"use strict";const e=f(794).b,t=f(2314).R,_=f(2314).C,O=f(3999),l=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],C=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(l);function P(L,D,k){const M={};this._baseState=M,M.name=k,M.enc=L,M.parent=D||null,M.children=null,M.tag=null,M.args=null,M.reverseArgs=null,M.choice=null,M.optional=!1,M.any=!1,M.obj=!1,M.use=null,M.useDecoder=null,M.key=null,M.default=null,M.explicit=null,M.implicit=null,M.contains=null,M.parent||(M.children=[],this._wrap())}Ye.exports=P;const p=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];P.prototype.clone=function(){const D=this._baseState,k={};p.forEach(function(z){k[z]=D[z]});const M=new this.constructor(k.parent);return M._baseState=k,M},P.prototype._wrap=function(){const D=this._baseState;C.forEach(function(k){this[k]=function(){const z=new this.constructor(this);return D.children.push(z),z[k].apply(z,arguments)}},this)},P.prototype._init=function(D){const k=this._baseState;O(null===k.parent),D.call(this),k.children=k.children.filter(function(M){return M._baseState.parent===this},this),O.equal(k.children.length,1,"Root node can have only one child")},P.prototype._useArgs=function(D){const k=this._baseState,M=D.filter(function(z){return z instanceof this.constructor},this);D=D.filter(function(z){return!(z instanceof this.constructor)},this),0!==M.length&&(O(null===k.children),k.children=M,M.forEach(function(z){z._baseState.parent=this},this)),0!==D.length&&(O(null===k.args),k.args=D,k.reverseArgs=D.map(function(z){if("object"!=typeof z||z.constructor!==Object)return z;const A={};return Object.keys(z).forEach(function(W){W==(0|W)&&(W|=0);const Z=z[W];A[Z]=W}),A}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(L){P.prototype[L]=function(){const k=this._baseState;throw new Error(L+" not implemented for encoding: "+k.enc)}}),l.forEach(function(L){P.prototype[L]=function(){const k=this._baseState,M=Array.prototype.slice.call(arguments);return O(null===k.tag),k.tag=L,this._useArgs(M),this}}),P.prototype.use=function(D){O(D);const k=this._baseState;return O(null===k.use),k.use=D,this},P.prototype.optional=function(){return this._baseState.optional=!0,this},P.prototype.def=function(D){const k=this._baseState;return O(null===k.default),k.default=D,k.optional=!0,this},P.prototype.explicit=function(D){const k=this._baseState;return O(null===k.explicit&&null===k.implicit),k.explicit=D,this},P.prototype.implicit=function(D){const k=this._baseState;return O(null===k.explicit&&null===k.implicit),k.implicit=D,this},P.prototype.obj=function(){const D=this._baseState,k=Array.prototype.slice.call(arguments);return D.obj=!0,0!==k.length&&this._useArgs(k),this},P.prototype.key=function(D){const k=this._baseState;return O(null===k.key),k.key=D,this},P.prototype.any=function(){return this._baseState.any=!0,this},P.prototype.choice=function(D){const k=this._baseState;return O(null===k.choice),k.choice=D,this._useArgs(Object.keys(D).map(function(M){return D[M]})),this},P.prototype.contains=function(D){const k=this._baseState;return O(null===k.use),k.contains=D,this},P.prototype._decode=function(D,k){const M=this._baseState;if(null===M.parent)return D.wrapResult(M.children[0]._decode(D,k));let Z,z=M.default,A=!0,W=null;if(null!==M.key&&(W=D.enterKey(M.key)),M.optional){let X=null;if(null!==M.explicit?X=M.explicit:null!==M.implicit?X=M.implicit:null!==M.tag&&(X=M.tag),null!==X||M.any){if(A=this._peekTag(D,X,M.any),D.isError(A))return A}else{const $=D.save();try{null===M.choice?this._decodeGeneric(M.tag,D,k):this._decodeChoice(D,k),A=!0}catch{A=!1}D.restore($)}}if(M.obj&&A&&(Z=D.enterObject()),A){if(null!==M.explicit){const $=this._decodeTag(D,M.explicit);if(D.isError($))return $;D=$}const X=D.offset;if(null===M.use&&null===M.choice){let $;M.any&&($=D.save());const ae=this._decodeTag(D,null!==M.implicit?M.implicit:M.tag,M.any);if(D.isError(ae))return ae;M.any?z=D.raw($):D=ae}if(k&&k.track&&null!==M.tag&&k.track(D.path(),X,D.length,"tagged"),k&&k.track&&null!==M.tag&&k.track(D.path(),D.offset,D.length,"content"),M.any||(z=null===M.choice?this._decodeGeneric(M.tag,D,k):this._decodeChoice(D,k)),D.isError(z))return z;if(!M.any&&null===M.choice&&null!==M.children&&M.children.forEach(function(ae){ae._decode(D,k)}),M.contains&&("octstr"===M.tag||"bitstr"===M.tag)){const $=new _(z);z=this._getUse(M.contains,D._reporterState.obj)._decode($,k)}}return M.obj&&A&&(z=D.leaveObject(Z)),null===M.key||null===z&&!0!==A?null!==W&&D.exitKey(W):D.leaveKey(W,M.key,z),z},P.prototype._decodeGeneric=function(D,k,M){const z=this._baseState;return"seq"===D||"set"===D?null:"seqof"===D||"setof"===D?this._decodeList(k,D,z.args[0],M):/str$/.test(D)?this._decodeStr(k,D,M):"objid"===D&&z.args?this._decodeObjid(k,z.args[0],z.args[1],M):"objid"===D?this._decodeObjid(k,null,null,M):"gentime"===D||"utctime"===D?this._decodeTime(k,D,M):"null_"===D?this._decodeNull(k,M):"bool"===D?this._decodeBool(k,M):"objDesc"===D?this._decodeStr(k,D,M):"int"===D||"enum"===D?this._decodeInt(k,z.args&&z.args[0],M):null!==z.use?this._getUse(z.use,k._reporterState.obj)._decode(k,M):k.error("unknown tag: "+D)},P.prototype._getUse=function(D,k){const M=this._baseState;return M.useDecoder=this._use(D,k),O(null===M.useDecoder._baseState.parent),M.useDecoder=M.useDecoder._baseState.children[0],M.implicit!==M.useDecoder._baseState.implicit&&(M.useDecoder=M.useDecoder.clone(),M.useDecoder._baseState.implicit=M.implicit),M.useDecoder},P.prototype._decodeChoice=function(D,k){const M=this._baseState;let z=null,A=!1;return Object.keys(M.choice).some(function(W){const Z=D.save(),X=M.choice[W];try{const $=X._decode(D,k);if(D.isError($))return!1;z={type:W,value:$},A=!0}catch{return D.restore(Z),!1}return!0},this),A?z:D.error("Choice not matched")},P.prototype._createEncoderBuffer=function(D){return new t(D,this.reporter)},P.prototype._encode=function(D,k,M){const z=this._baseState;if(null!==z.default&&z.default===D)return;const A=this._encodeValue(D,k,M);return void 0===A||this._skipDefault(A,k,M)?void 0:A},P.prototype._encodeValue=function(D,k,M){const z=this._baseState;if(null===z.parent)return z.children[0]._encode(D,k||new e);let A=null;if(this.reporter=k,z.optional&&void 0===D){if(null===z.default)return;D=z.default}let W=null,Z=!1;if(z.any)A=this._createEncoderBuffer(D);else if(z.choice)A=this._encodeChoice(D,k);else if(z.contains)W=this._getUse(z.contains,M)._encode(D,k),Z=!0;else if(z.children)W=z.children.map(function(X){if("null_"===X._baseState.tag)return X._encode(null,k,D);if(null===X._baseState.key)return k.error("Child should have a key");const $=k.enterKey(X._baseState.key);if("object"!=typeof D)return k.error("Child expected, but input is not object");const ae=X._encode(D[X._baseState.key],k,D);return k.leaveKey($),ae},this).filter(function(X){return X}),W=this._createEncoderBuffer(W);else if("seqof"===z.tag||"setof"===z.tag){if(!z.args||1!==z.args.length)return k.error("Too many args for : "+z.tag);if(!Array.isArray(D))return k.error("seqof/setof, but data is not Array");const X=this.clone();X._baseState.implicit=null,W=this._createEncoderBuffer(D.map(function($){const ae=this._baseState;return this._getUse(ae.args[0],D)._encode($,k)},X))}else null!==z.use?A=this._getUse(z.use,M)._encode(D,k):(W=this._encodePrimitive(z.tag,D),Z=!0);if(!z.any&&null===z.choice){const X=null!==z.implicit?z.implicit:z.tag,$=null===z.implicit?"universal":"context";null===X?null===z.use&&k.error("Tag could be omitted only for .use()"):null===z.use&&(A=this._encodeComposite(X,Z,$,W))}return null!==z.explicit&&(A=this._encodeComposite(z.explicit,!1,"context",A)),A},P.prototype._encodeChoice=function(D,k){const M=this._baseState,z=M.choice[D.type];return z||O(!1,D.type+" not found in "+JSON.stringify(Object.keys(M.choice))),z._encode(D.value,k)},P.prototype._encodePrimitive=function(D,k){const M=this._baseState;if(/str$/.test(D))return this._encodeStr(k,D);if("objid"===D&&M.args)return this._encodeObjid(k,M.reverseArgs[0],M.args[1]);if("objid"===D)return this._encodeObjid(k,null,null);if("gentime"===D||"utctime"===D)return this._encodeTime(k,D);if("null_"===D)return this._encodeNull();if("int"===D||"enum"===D)return this._encodeInt(k,M.args&&M.reverseArgs[0]);if("bool"===D)return this._encodeBool(k);if("objDesc"===D)return this._encodeStr(k,D);throw new Error("Unsupported tag: "+D)},P.prototype._isNumstr=function(D){return/^[0-9 ]*$/.test(D)},P.prototype._isPrintstr=function(D){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(D)}},794:(Ye,J,f)=>{"use strict";const e=f(5035);function t(O){this._reporterState={obj:null,path:[],options:O||{},errors:[]}}function _(O,l){this.path=O,this.rethrow(l)}J.b=t,t.prototype.isError=function(l){return l instanceof _},t.prototype.save=function(){const l=this._reporterState;return{obj:l.obj,pathLen:l.path.length}},t.prototype.restore=function(l){const C=this._reporterState;C.obj=l.obj,C.path=C.path.slice(0,l.pathLen)},t.prototype.enterKey=function(l){return this._reporterState.path.push(l)},t.prototype.exitKey=function(l){const C=this._reporterState;C.path=C.path.slice(0,l-1)},t.prototype.leaveKey=function(l,C,u){const P=this._reporterState;this.exitKey(l),null!==P.obj&&(P.obj[C]=u)},t.prototype.path=function(){return this._reporterState.path.join("/")},t.prototype.enterObject=function(){const l=this._reporterState,C=l.obj;return l.obj={},C},t.prototype.leaveObject=function(l){const C=this._reporterState,u=C.obj;return C.obj=l,u},t.prototype.error=function(l){let C;const u=this._reporterState,P=l instanceof _;if(C=P?l:new _(u.path.map(function(p){return"["+JSON.stringify(p)+"]"}).join(""),l.message||l,l.stack),!u.options.partial)throw C;return P||u.errors.push(C),C},t.prototype.wrapResult=function(l){const C=this._reporterState;return C.options.partial?{result:this.isError(l)?null:l,errors:C.errors}:l},e(_,Error),_.prototype.rethrow=function(l){if(this.message=l+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,_),!this.stack)try{throw new Error(this.message)}catch(C){this.stack=C.stack}return this}},6434:(Ye,J)=>{"use strict";function f(e){const t={};return Object.keys(e).forEach(function(_){(0|_)==_&&(_|=0);const O=e[_];t[O]=_}),t}J.tagClass={0:"universal",1:"application",2:"context",3:"private"},J.tagClassByName=f(J.tagClass),J.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"},J.tagByName=f(J.tag)},5407:(Ye,J,f)=>{"use strict";const e=J;e._reverse=function(_){const O={};return Object.keys(_).forEach(function(l){(0|l)==l&&(l|=0);const C=_[l];O[C]=l}),O},e.der=f(6434)},110:(Ye,J,f)=>{"use strict";const e=f(5035),t=f(3439),_=f(2314).C,O=f(1598),l=f(6434);function C(L){this.enc="der",this.name=L.name,this.entity=L,this.tree=new u,this.tree._init(L.body)}function u(L){O.call(this,"der",L)}function P(L,D){let k=L.readUInt8(D);if(L.isError(k))return k;const M=l.tagClass[k>>6],z=0==(32&k);if(31==(31&k)){let W=k;for(k=0;128==(128&W);){if(W=L.readUInt8(D),L.isError(W))return W;k<<=7,k|=127&W}}else k&=31;return{cls:M,primitive:z,tag:k,tagStr:l.tag[k]}}function p(L,D,k){let M=L.readUInt8(k);if(L.isError(M))return M;if(!D&&128===M)return null;if(0==(128&M))return M;const z=127&M;if(z>4)return L.error("length octect is too long");M=0;for(let A=0;A<z;A++){M<<=8;const W=L.readUInt8(k);if(L.isError(W))return W;M|=W}return M}Ye.exports=C,C.prototype.decode=function(D,k){return _.isDecoderBuffer(D)||(D=new _(D,k)),this.tree._decode(D,k)},e(u,O),u.prototype._peekTag=function(D,k,M){if(D.isEmpty())return!1;const z=D.save(),A=P(D,'Failed to peek tag: "'+k+'"');return D.isError(A)?A:(D.restore(z),A.tag===k||A.tagStr===k||A.tagStr+"of"===k||M)},u.prototype._decodeTag=function(D,k,M){const z=P(D,'Failed to decode tag of "'+k+'"');if(D.isError(z))return z;let A=p(D,z.primitive,'Failed to get length of "'+k+'"');if(D.isError(A))return A;if(!M&&z.tag!==k&&z.tagStr!==k&&z.tagStr+"of"!==k)return D.error('Failed to match tag: "'+k+'"');if(z.primitive||null!==A)return D.skip(A,'Failed to match body of: "'+k+'"');const W=D.save(),Z=this._skipUntilEnd(D,'Failed to skip indefinite length body: "'+this.tag+'"');return D.isError(Z)?Z:(A=D.offset-W.offset,D.restore(W),D.skip(A,'Failed to match body of: "'+k+'"'))},u.prototype._skipUntilEnd=function(D,k){for(;;){const M=P(D,k);if(D.isError(M))return M;const z=p(D,M.primitive,k);if(D.isError(z))return z;let A;if(A=M.primitive||null!==z?D.skip(z):this._skipUntilEnd(D,k),D.isError(A))return A;if("end"===M.tagStr)break}},u.prototype._decodeList=function(D,k,M,z){const A=[];for(;!D.isEmpty();){const W=this._peekTag(D,"end");if(D.isError(W))return W;const Z=M.decode(D,"der",z);if(D.isError(Z)&&W)break;A.push(Z)}return A},u.prototype._decodeStr=function(D,k){if("bitstr"===k){const M=D.readUInt8();return D.isError(M)?M:{unused:M,data:D.raw()}}if("bmpstr"===k){const M=D.raw();if(M.length%2==1)return D.error("Decoding of string type: bmpstr length mismatch");let z="";for(let A=0;A<M.length/2;A++)z+=String.fromCharCode(M.readUInt16BE(2*A));return z}if("numstr"===k){const M=D.raw().toString("ascii");return this._isNumstr(M)?M:D.error("Decoding of string type: numstr unsupported characters")}if("octstr"===k)return D.raw();if("objDesc"===k)return D.raw();if("printstr"===k){const M=D.raw().toString("ascii");return this._isPrintstr(M)?M:D.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(k)?D.raw().toString():D.error("Decoding of string type: "+k+" unsupported")},u.prototype._decodeObjid=function(D,k,M){let z;const A=[];let W=0,Z=0;for(;!D.isEmpty();)Z=D.readUInt8(),W<<=7,W|=127&Z,0==(128&Z)&&(A.push(W),W=0);128&Z&&A.push(W);const X=A[0]/40|0,$=A[0]%40;if(z=M?A:[X,$].concat(A.slice(1)),k){let ae=k[z.join(" ")];void 0===ae&&(ae=k[z.join(".")]),void 0!==ae&&(z=ae)}return z},u.prototype._decodeTime=function(D,k){const M=D.raw().toString();let z,A,W,Z,X,$;if("gentime"===k)z=0|M.slice(0,4),A=0|M.slice(4,6),W=0|M.slice(6,8),Z=0|M.slice(8,10),X=0|M.slice(10,12),$=0|M.slice(12,14);else{if("utctime"!==k)return D.error("Decoding "+k+" time is not supported yet");z=0|M.slice(0,2),A=0|M.slice(2,4),W=0|M.slice(4,6),Z=0|M.slice(6,8),X=0|M.slice(8,10),$=0|M.slice(10,12),z=z<70?2e3+z:1900+z}return Date.UTC(z,A-1,W,Z,X,$,0)},u.prototype._decodeNull=function(){return null},u.prototype._decodeBool=function(D){const k=D.readUInt8();return D.isError(k)?k:0!==k},u.prototype._decodeInt=function(D,k){const M=D.raw();let z=new t(M);return k&&(z=k[z.toString(10)]||z),z},u.prototype._use=function(D,k){return"function"==typeof D&&(D=D(k)),D._getDecoder("der").tree}},8643:(Ye,J,f)=>{"use strict";const e=J;e.der=f(110),e.pem=f(7441)},7441:(Ye,J,f)=>{"use strict";const e=f(5035),t=f(4421).Buffer,_=f(110);function O(l){_.call(this,l),this.enc="pem"}e(O,_),Ye.exports=O,O.prototype.decode=function(C,u){const P=C.toString().split(/[\r\n]+/g),p=u.label.toUpperCase(),L=/^-----(BEGIN|END) ([^-]+)-----$/;let D=-1,k=-1;for(let A=0;A<P.length;A++){const W=P[A].match(L);if(null!==W&&W[2]===p){if(-1!==D){if("END"!==W[1])break;k=A;break}if("BEGIN"!==W[1])break;D=A}}if(-1===D||-1===k)throw new Error("PEM section not found for: "+p);const M=P.slice(D+1,k).join("");M.replace(/[^a-z0-9+/=]+/gi,"");const z=t.from(M,"base64");return _.prototype.decode.call(this,z,u)}},2035:(Ye,J,f)=>{"use strict";const e=f(5035),t=f(4421).Buffer,_=f(1598),O=f(6434);function l(p){this.enc="der",this.name=p.name,this.entity=p,this.tree=new C,this.tree._init(p.body)}function C(p){_.call(this,"der",p)}function u(p){return p<10?"0"+p:p}Ye.exports=l,l.prototype.encode=function(L,D){return this.tree._encode(L,D).join()},e(C,_),C.prototype._encodeComposite=function(L,D,k,M){const z=function P(p,L,D,k){let M;if("seqof"===p?p="seq":"setof"===p&&(p="set"),O.tagByName.hasOwnProperty(p))M=O.tagByName[p];else{if("number"!=typeof p||(0|p)!==p)return k.error("Unknown tag: "+p);M=p}return M>=31?k.error("Multi-octet tag encoding unsupported"):(L||(M|=32),M|=O.tagClassByName[D||"universal"]<<6,M)}(L,D,k,this.reporter);if(M.length<128){const Z=t.alloc(2);return Z[0]=z,Z[1]=M.length,this._createEncoderBuffer([Z,M])}let A=1;for(let Z=M.length;Z>=256;Z>>=8)A++;const W=t.alloc(2+A);W[0]=z,W[1]=128|A;for(let Z=1+A,X=M.length;X>0;Z--,X>>=8)W[Z]=255&X;return this._createEncoderBuffer([W,M])},C.prototype._encodeStr=function(L,D){if("bitstr"===D)return this._createEncoderBuffer([0|L.unused,L.data]);if("bmpstr"===D){const k=t.alloc(2*L.length);for(let M=0;M<L.length;M++)k.writeUInt16BE(L.charCodeAt(M),2*M);return this._createEncoderBuffer(k)}return"numstr"===D?this._isNumstr(L)?this._createEncoderBuffer(L):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===D?this._isPrintstr(L)?this._createEncoderBuffer(L):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(D)||"objDesc"===D?this._createEncoderBuffer(L):this.reporter.error("Encoding of string type: "+D+" unsupported")},C.prototype._encodeObjid=function(L,D,k){if("string"==typeof L){if(!D)return this.reporter.error("string objid given, but no values map found");if(!D.hasOwnProperty(L))return this.reporter.error("objid not found in values map");L=D[L].split(/[\s.]+/g);for(let W=0;W<L.length;W++)L[W]|=0}else if(Array.isArray(L)){L=L.slice();for(let W=0;W<L.length;W++)L[W]|=0}if(!Array.isArray(L))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(L));if(!k){if(L[1]>=40)return this.reporter.error("Second objid identifier OOB");L.splice(0,2,40*L[0]+L[1])}let M=0;for(let W=0;W<L.length;W++){let Z=L[W];for(M++;Z>=128;Z>>=7)M++}const z=t.alloc(M);let A=z.length-1;for(let W=L.length-1;W>=0;W--){let Z=L[W];for(z[A--]=127&Z;(Z>>=7)>0;)z[A--]=128|127&Z}return this._createEncoderBuffer(z)},C.prototype._encodeTime=function(L,D){let k;const M=new Date(L);return"gentime"===D?k=[u(M.getUTCFullYear()),u(M.getUTCMonth()+1),u(M.getUTCDate()),u(M.getUTCHours()),u(M.getUTCMinutes()),u(M.getUTCSeconds()),"Z"].join(""):"utctime"===D?k=[u(M.getUTCFullYear()%100),u(M.getUTCMonth()+1),u(M.getUTCDate()),u(M.getUTCHours()),u(M.getUTCMinutes()),u(M.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+D+" time is not supported yet"),this._encodeStr(k,"octstr")},C.prototype._encodeNull=function(){return this._createEncoderBuffer("")},C.prototype._encodeInt=function(L,D){if("string"==typeof L){if(!D)return this.reporter.error("String int or enum given, but no values map");if(!D.hasOwnProperty(L))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(L));L=D[L]}if("number"!=typeof L&&!t.isBuffer(L)){const z=L.toArray();!L.sign&&128&z[0]&&z.unshift(0),L=t.from(z)}if(t.isBuffer(L)){let z=L.length;0===L.length&&z++;const A=t.alloc(z);return L.copy(A),0===L.length&&(A[0]=0),this._createEncoderBuffer(A)}if(L<128)return this._createEncoderBuffer(L);if(L<256)return this._createEncoderBuffer([0,L]);let k=1;for(let z=L;z>=256;z>>=8)k++;const M=new Array(k);for(let z=M.length-1;z>=0;z--)M[z]=255&L,L>>=8;return 128&M[0]&&M.unshift(0),this._createEncoderBuffer(t.from(M))},C.prototype._encodeBool=function(L){return this._createEncoderBuffer(L?255:0)},C.prototype._use=function(L,D){return"function"==typeof L&&(L=L(D)),L._getEncoder("der").tree},C.prototype._skipDefault=function(L,D,k){const M=this._baseState;let z;if(null===M.default)return!1;const A=L.join();if(void 0===M.defaultBuffer&&(M.defaultBuffer=this._encodeValue(M.default,D,k).join()),A.length!==M.defaultBuffer.length)return!1;for(z=0;z<A.length;z++)if(A[z]!==M.defaultBuffer[z])return!1;return!0}},6337:(Ye,J,f)=>{"use strict";const e=J;e.der=f(2035),e.pem=f(7294)},7294:(Ye,J,f)=>{"use strict";const e=f(5035),t=f(2035);function _(O){t.call(this,O),this.enc="pem"}e(_,t),Ye.exports=_,_.prototype.encode=function(l,C){const P=t.prototype.encode.call(this,l).toString("base64"),p=["-----BEGIN "+C.label+"-----"];for(let L=0;L<P.length;L+=64)p.push(P.slice(L,L+64));return p.push("-----END "+C.label+"-----"),p.join("\n")}},3439:function(Ye,J,f){(function(e,t){"use strict";function _(T,i){if(!T)throw new Error(i||"Assertion failed")}function O(T,i){T.super_=i;var o=function(){};o.prototype=i.prototype,T.prototype=new o,T.prototype.constructor=T}function l(T,i,o){if(l.isBN(T))return T;this.negative=0,this.words=null,this.length=0,this.red=null,null!==T&&(("le"===i||"be"===i)&&(o=i,i=10),this._init(T||0,i||10,o||"be"))}var C;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:f(950).Buffer}catch{}function u(T,i){var o=T.charCodeAt(i);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function P(T,i,o){var m=u(T,o);return o-1>=i&&(m|=u(T,o-1)<<4),m}function p(T,i,o,m){for(var h=0,x=Math.min(T.length,o),I=i;I<x;I++){var R=T.charCodeAt(I)-48;h*=m,h+=R>=49?R-49+10:R>=17?R-17+10:R}return h}l.isBN=function(i){return i instanceof l||null!==i&&"object"==typeof i&&i.constructor.wordSize===l.wordSize&&Array.isArray(i.words)},l.max=function(i,o){return i.cmp(o)>0?i:o},l.min=function(i,o){return i.cmp(o)<0?i:o},l.prototype._init=function(i,o,m){if("number"==typeof i)return this._initNumber(i,o,m);if("object"==typeof i)return this._initArray(i,o,m);"hex"===o&&(o=16),_(o===(0|o)&&o>=2&&o<=36);var h=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<i.length&&(16===o?this._parseHex(i,h,m):(this._parseBase(i,o,h),"le"===m&&this._initArray(this.toArray(),o,m)))},l.prototype._initNumber=function(i,o,m){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):(_(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===m&&this._initArray(this.toArray(),o,m)},l.prototype._initArray=function(i,o,m){if(_("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 h=0;h<this.length;h++)this.words[h]=0;var x,I,R=0;if("be"===m)for(h=i.length-1,x=0;h>=0;h-=3)I=i[h]|i[h-1]<<8|i[h-2]<<16,this.words[x]|=I<<R&67108863,this.words[x+1]=I>>>26-R&67108863,(R+=24)>=26&&(R-=26,x++);else if("le"===m)for(h=0,x=0;h<i.length;h+=3)I=i[h]|i[h+1]<<8|i[h+2]<<16,this.words[x]|=I<<R&67108863,this.words[x+1]=I>>>26-R&67108863,(R+=24)>=26&&(R-=26,x++);return this.strip()},l.prototype._parseHex=function(i,o,m){this.length=Math.ceil((i.length-o)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var R,x=0,I=0;if("be"===m)for(h=i.length-1;h>=o;h-=2)R=P(i,o,h)<<x,this.words[I]|=67108863&R,x>=18?(x-=18,I+=1,this.words[I]|=R>>>26):x+=8;else for(h=(i.length-o)%2==0?o+1:o;h<i.length;h+=2)R=P(i,o,h)<<x,this.words[I]|=67108863&R,x>=18?(x-=18,I+=1,this.words[I]|=R>>>26):x+=8;this.strip()},l.prototype._parseBase=function(i,o,m){this.words=[0],this.length=1;for(var h=0,x=1;x<=67108863;x*=o)h++;h--,x=x/o|0;for(var I=i.length-m,R=I%h,g=Math.min(I,I-R)+m,r=0,w=m;w<g;w+=h)r=p(i,w,w+h,o),this.imuln(x),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==R){var V=1;for(r=p(i,w,i.length,o),w=0;w<R;w++)V*=o;this.imuln(V),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r)}this.strip()},l.prototype.copy=function(i){i.words=new Array(this.length);for(var o=0;o<this.length;o++)i.words[o]=this.words[o];i.length=this.length,i.negative=this.negative,i.red=this.red},l.prototype.clone=function(){var i=new l(null);return this.copy(i),i},l.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var L=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],D=[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],k=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function z(T,i,o){o.negative=i.negative^T.negative;var m=T.length+i.length|0;o.length=m,m=m-1|0;var h=0|T.words[0],x=0|i.words[0],I=h*x,R=67108863&I,g=I/67108864|0;o.words[0]=R;for(var r=1;r<m;r++){for(var w=g>>>26,V=67108863&g,N=Math.min(r,i.length-1),Y=Math.max(0,r-T.length+1);Y<=N;Y++){var Pe=r-Y|0;w+=(I=(h=0|T.words[Pe])*(x=0|i.words[Y])+V)/67108864|0,V=67108863&I}o.words[r]=0|V,g=0|w}return 0!==g?o.words[r]=0|g:o.length--,o.strip()}l.prototype.toString=function(i,o){var m;if(o=0|o||1,16===(i=i||10)||"hex"===i){m="";for(var h=0,x=0,I=0;I<this.length;I++){var R=this.words[I],g=(16777215&(R<<h|x)).toString(16);m=0!==(x=R>>>24-h&16777215)||I!==this.length-1?L[6-g.length]+g+m:g+m,(h+=2)>=26&&(h-=26,I--)}for(0!==x&&(m=x.toString(16)+m);m.length%o!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}if(i===(0|i)&&i>=2&&i<=36){var r=D[i],w=k[i];m="";var V=this.clone();for(V.negative=0;!V.isZero();){var N=V.modn(w).toString(i);m=(V=V.idivn(w)).isZero()?N+m:L[r-N.length]+N+m}for(this.isZero()&&(m="0"+m);m.length%o!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}_(!1,"Base should be between 2 and 36")},l.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&&_(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-i:i},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(i,o){return _(typeof C<"u"),this.toArrayLike(C,i,o)},l.prototype.toArray=function(i,o){return this.toArrayLike(Array,i,o)},l.prototype.toArrayLike=function(i,o,m){var h=this.byteLength(),x=m||Math.max(1,h);_(h<=x,"byte array longer than desired length"),_(x>0,"Requested array length <= 0"),this.strip();var g,r,I="le"===o,R=new i(x),w=this.clone();if(I){for(r=0;!w.isZero();r++)g=w.andln(255),w.iushrn(8),R[r]=g;for(;r<x;r++)R[r]=0}else{for(r=0;r<x-h;r++)R[r]=0;for(r=0;!w.isZero();r++)g=w.andln(255),w.iushrn(8),R[x-r-1]=g}return R},Math.clz32?l.prototype._countBits=function(i){return 32-Math.clz32(i)}:l.prototype._countBits=function(i){var o=i,m=0;return o>=4096&&(m+=13,o>>>=13),o>=64&&(m+=7,o>>>=7),o>=8&&(m+=4,o>>>=4),o>=2&&(m+=2,o>>>=2),m+o},l.prototype._zeroBits=function(i){if(0===i)return 26;var o=i,m=0;return 0==(8191&o)&&(m+=13,o>>>=13),0==(127&o)&&(m+=7,o>>>=7),0==(15&o)&&(m+=4,o>>>=4),0==(3&o)&&(m+=2,o>>>=2),0==(1&o)&&m++,m},l.prototype.bitLength=function(){var i=this.words[this.length-1],o=this._countBits(i);return 26*(this.length-1)+o},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,o=0;o<this.length;o++){var m=this._zeroBits(this.words[o]);if(i+=m,26!==m)break}return i},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},l.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var o=0;o<i.length;o++)this.words[o]=this.words[o]|i.words[o];return this.strip()},l.prototype.ior=function(i){return _(0==(this.negative|i.negative)),this.iuor(i)},l.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},l.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},l.prototype.iuand=function(i){var o;o=this.length>i.length?i:this;for(var m=0;m<o.length;m++)this.words[m]=this.words[m]&i.words[m];return this.length=o.length,this.strip()},l.prototype.iand=function(i){return _(0==(this.negative|i.negative)),this.iuand(i)},l.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},l.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},l.prototype.iuxor=function(i){var o,m;this.length>i.length?(o=this,m=i):(o=i,m=this);for(var h=0;h<m.length;h++)this.words[h]=o.words[h]^m.words[h];if(this!==o)for(;h<o.length;h++)this.words[h]=o.words[h];return this.length=o.length,this.strip()},l.prototype.ixor=function(i){return _(0==(this.negative|i.negative)),this.iuxor(i)},l.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},l.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},l.prototype.inotn=function(i){_("number"==typeof i&&i>=0);var o=0|Math.ceil(i/26),m=i%26;this._expand(o),m>0&&o--;for(var h=0;h<o;h++)this.words[h]=67108863&~this.words[h];return m>0&&(this.words[h]=~this.words[h]&67108863>>26-m),this.strip()},l.prototype.notn=function(i){return this.clone().inotn(i)},l.prototype.setn=function(i,o){_("number"==typeof i&&i>=0);var m=i/26|0,h=i%26;return this._expand(m+1),this.words[m]=o?this.words[m]|1<<h:this.words[m]&~(1<<h),this.strip()},l.prototype.iadd=function(i){var o,m,h;if(0!==this.negative&&0===i.negative)return this.negative=0,o=this.isub(i),this.negative^=1,this._normSign();if(0===this.negative&&0!==i.negative)return i.negative=0,o=this.isub(i),i.negative=1,o._normSign();this.length>i.length?(m=this,h=i):(m=i,h=this);for(var x=0,I=0;I<h.length;I++)o=(0|m.words[I])+(0|h.words[I])+x,this.words[I]=67108863&o,x=o>>>26;for(;0!==x&&I<m.length;I++)o=(0|m.words[I])+x,this.words[I]=67108863&o,x=o>>>26;if(this.length=m.length,0!==x)this.words[this.length]=x,this.length++;else if(m!==this)for(;I<m.length;I++)this.words[I]=m.words[I];return this},l.prototype.add=function(i){var o;return 0!==i.negative&&0===this.negative?(i.negative=0,o=this.sub(i),i.negative^=1,o):0===i.negative&&0!==this.negative?(this.negative=0,o=i.sub(this),this.negative=1,o):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},l.prototype.isub=function(i){if(0!==i.negative){i.negative=0;var o=this.iadd(i);return i.negative=1,o._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var h,x,m=this.cmp(i);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(h=this,x=i):(h=i,x=this);for(var I=0,R=0;R<x.length;R++)I=(o=(0|h.words[R])-(0|x.words[R])+I)>>26,this.words[R]=67108863&o;for(;0!==I&&R<h.length;R++)I=(o=(0|h.words[R])+I)>>26,this.words[R]=67108863&o;if(0===I&&R<h.length&&h!==this)for(;R<h.length;R++)this.words[R]=h.words[R];return this.length=Math.max(this.length,R),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(i){return this.clone().isub(i)};var A=function(i,o,m){var g,r,w,h=i.words,x=o.words,I=m.words,R=0,V=0|h[0],N=8191&V,Y=V>>>13,Pe=0|h[1],Ce=8191&Pe,Xe=Pe>>>13,dt=0|h[2],Ke=8191&dt,ge=dt>>>13,$e=0|h[3],Oe=8191&$e,Me=$e>>>13,De=0|h[4],Ue=8191&De,ye=De>>>13,we=0|h[5],ie=8191&we,Se=we>>>13,ne=0|h[6],K=8191&ne,ee=ne>>>13,ze=0|h[7],Ve=8191&ze,oe=ze>>>13,at=0|h[8],qe=8191&at,it=at>>>13,ii=0|h[9],bt=8191&ii,st=ii>>>13,Be=0|x[0],rt=8191&Be,Ot=Be>>>13,Gt=0|x[1],kt=8191&Gt,Rt=Gt>>>13,yi=0|x[2],Jt=8191&yi,Zt=yi>>>13,mi=0|x[3],Re=8191&mi,U=mi>>>13,j=0|x[4],ue=8191&j,Ne=j>>>13,wt=0|x[5],Et=8191&wt,Nt=wt>>>13,ot=0|x[6],We=8191&ot,gt=ot>>>13,ri=0|x[7],Pt=8191&ri,Ft=ri>>>13,qt=0|x[8],Te=8191&qt,me=qt>>>13,ct=0|x[9],_t=8191&ct,Lt=ct>>>13;m.negative=i.negative^o.negative,m.length=19;var Li=(R+(g=Math.imul(N,rt))|0)+((8191&(r=(r=Math.imul(N,Ot))+Math.imul(Y,rt)|0))<<13)|0;R=((w=Math.imul(Y,Ot))+(r>>>13)|0)+(Li>>>26)|0,Li&=67108863,g=Math.imul(Ce,rt),r=(r=Math.imul(Ce,Ot))+Math.imul(Xe,rt)|0,w=Math.imul(Xe,Ot);var Ai=(R+(g=g+Math.imul(N,kt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Rt)|0)+Math.imul(Y,kt)|0))<<13)|0;R=((w=w+Math.imul(Y,Rt)|0)+(r>>>13)|0)+(Ai>>>26)|0,Ai&=67108863,g=Math.imul(Ke,rt),r=(r=Math.imul(Ke,Ot))+Math.imul(ge,rt)|0,w=Math.imul(ge,Ot),g=g+Math.imul(Ce,kt)|0,r=(r=r+Math.imul(Ce,Rt)|0)+Math.imul(Xe,kt)|0,w=w+Math.imul(Xe,Rt)|0;var wi=(R+(g=g+Math.imul(N,Jt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Zt)|0)+Math.imul(Y,Jt)|0))<<13)|0;R=((w=w+Math.imul(Y,Zt)|0)+(r>>>13)|0)+(wi>>>26)|0,wi&=67108863,g=Math.imul(Oe,rt),r=(r=Math.imul(Oe,Ot))+Math.imul(Me,rt)|0,w=Math.imul(Me,Ot),g=g+Math.imul(Ke,kt)|0,r=(r=r+Math.imul(Ke,Rt)|0)+Math.imul(ge,kt)|0,w=w+Math.imul(ge,Rt)|0,g=g+Math.imul(Ce,Jt)|0,r=(r=r+Math.imul(Ce,Zt)|0)+Math.imul(Xe,Jt)|0,w=w+Math.imul(Xe,Zt)|0;var zi=(R+(g=g+Math.imul(N,Re)|0)|0)+((8191&(r=(r=r+Math.imul(N,U)|0)+Math.imul(Y,Re)|0))<<13)|0;R=((w=w+Math.imul(Y,U)|0)+(r>>>13)|0)+(zi>>>26)|0,zi&=67108863,g=Math.imul(Ue,rt),r=(r=Math.imul(Ue,Ot))+Math.imul(ye,rt)|0,w=Math.imul(ye,Ot),g=g+Math.imul(Oe,kt)|0,r=(r=r+Math.imul(Oe,Rt)|0)+Math.imul(Me,kt)|0,w=w+Math.imul(Me,Rt)|0,g=g+Math.imul(Ke,Jt)|0,r=(r=r+Math.imul(Ke,Zt)|0)+Math.imul(ge,Jt)|0,w=w+Math.imul(ge,Zt)|0,g=g+Math.imul(Ce,Re)|0,r=(r=r+Math.imul(Ce,U)|0)+Math.imul(Xe,Re)|0,w=w+Math.imul(Xe,U)|0;var xt=(R+(g=g+Math.imul(N,ue)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ne)|0)+Math.imul(Y,ue)|0))<<13)|0;R=((w=w+Math.imul(Y,Ne)|0)+(r>>>13)|0)+(xt>>>26)|0,xt&=67108863,g=Math.imul(ie,rt),r=(r=Math.imul(ie,Ot))+Math.imul(Se,rt)|0,w=Math.imul(Se,Ot),g=g+Math.imul(Ue,kt)|0,r=(r=r+Math.imul(Ue,Rt)|0)+Math.imul(ye,kt)|0,w=w+Math.imul(ye,Rt)|0,g=g+Math.imul(Oe,Jt)|0,r=(r=r+Math.imul(Oe,Zt)|0)+Math.imul(Me,Jt)|0,w=w+Math.imul(Me,Zt)|0,g=g+Math.imul(Ke,Re)|0,r=(r=r+Math.imul(Ke,U)|0)+Math.imul(ge,Re)|0,w=w+Math.imul(ge,U)|0,g=g+Math.imul(Ce,ue)|0,r=(r=r+Math.imul(Ce,Ne)|0)+Math.imul(Xe,ue)|0,w=w+Math.imul(Xe,Ne)|0;var Qe=(R+(g=g+Math.imul(N,Et)|0)|0)+((8191&(r=(r=r+Math.imul(N,Nt)|0)+Math.imul(Y,Et)|0))<<13)|0;R=((w=w+Math.imul(Y,Nt)|0)+(r>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,g=Math.imul(K,rt),r=(r=Math.imul(K,Ot))+Math.imul(ee,rt)|0,w=Math.imul(ee,Ot),g=g+Math.imul(ie,kt)|0,r=(r=r+Math.imul(ie,Rt)|0)+Math.imul(Se,kt)|0,w=w+Math.imul(Se,Rt)|0,g=g+Math.imul(Ue,Jt)|0,r=(r=r+Math.imul(Ue,Zt)|0)+Math.imul(ye,Jt)|0,w=w+Math.imul(ye,Zt)|0,g=g+Math.imul(Oe,Re)|0,r=(r=r+Math.imul(Oe,U)|0)+Math.imul(Me,Re)|0,w=w+Math.imul(Me,U)|0,g=g+Math.imul(Ke,ue)|0,r=(r=r+Math.imul(Ke,Ne)|0)+Math.imul(ge,ue)|0,w=w+Math.imul(ge,Ne)|0,g=g+Math.imul(Ce,Et)|0,r=(r=r+Math.imul(Ce,Nt)|0)+Math.imul(Xe,Et)|0,w=w+Math.imul(Xe,Nt)|0;var Fe=(R+(g=g+Math.imul(N,We)|0)|0)+((8191&(r=(r=r+Math.imul(N,gt)|0)+Math.imul(Y,We)|0))<<13)|0;R=((w=w+Math.imul(Y,gt)|0)+(r>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,g=Math.imul(Ve,rt),r=(r=Math.imul(Ve,Ot))+Math.imul(oe,rt)|0,w=Math.imul(oe,Ot),g=g+Math.imul(K,kt)|0,r=(r=r+Math.imul(K,Rt)|0)+Math.imul(ee,kt)|0,w=w+Math.imul(ee,Rt)|0,g=g+Math.imul(ie,Jt)|0,r=(r=r+Math.imul(ie,Zt)|0)+Math.imul(Se,Jt)|0,w=w+Math.imul(Se,Zt)|0,g=g+Math.imul(Ue,Re)|0,r=(r=r+Math.imul(Ue,U)|0)+Math.imul(ye,Re)|0,w=w+Math.imul(ye,U)|0,g=g+Math.imul(Oe,ue)|0,r=(r=r+Math.imul(Oe,Ne)|0)+Math.imul(Me,ue)|0,w=w+Math.imul(Me,Ne)|0,g=g+Math.imul(Ke,Et)|0,r=(r=r+Math.imul(Ke,Nt)|0)+Math.imul(ge,Et)|0,w=w+Math.imul(ge,Nt)|0,g=g+Math.imul(Ce,We)|0,r=(r=r+Math.imul(Ce,gt)|0)+Math.imul(Xe,We)|0,w=w+Math.imul(Xe,gt)|0;var Wt=(R+(g=g+Math.imul(N,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ft)|0)+Math.imul(Y,Pt)|0))<<13)|0;R=((w=w+Math.imul(Y,Ft)|0)+(r>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,g=Math.imul(qe,rt),r=(r=Math.imul(qe,Ot))+Math.imul(it,rt)|0,w=Math.imul(it,Ot),g=g+Math.imul(Ve,kt)|0,r=(r=r+Math.imul(Ve,Rt)|0)+Math.imul(oe,kt)|0,w=w+Math.imul(oe,Rt)|0,g=g+Math.imul(K,Jt)|0,r=(r=r+Math.imul(K,Zt)|0)+Math.imul(ee,Jt)|0,w=w+Math.imul(ee,Zt)|0,g=g+Math.imul(ie,Re)|0,r=(r=r+Math.imul(ie,U)|0)+Math.imul(Se,Re)|0,w=w+Math.imul(Se,U)|0,g=g+Math.imul(Ue,ue)|0,r=(r=r+Math.imul(Ue,Ne)|0)+Math.imul(ye,ue)|0,w=w+Math.imul(ye,Ne)|0,g=g+Math.imul(Oe,Et)|0,r=(r=r+Math.imul(Oe,Nt)|0)+Math.imul(Me,Et)|0,w=w+Math.imul(Me,Nt)|0,g=g+Math.imul(Ke,We)|0,r=(r=r+Math.imul(Ke,gt)|0)+Math.imul(ge,We)|0,w=w+Math.imul(ge,gt)|0,g=g+Math.imul(Ce,Pt)|0,r=(r=r+Math.imul(Ce,Ft)|0)+Math.imul(Xe,Pt)|0,w=w+Math.imul(Xe,Ft)|0;var Xt=(R+(g=g+Math.imul(N,Te)|0)|0)+((8191&(r=(r=r+Math.imul(N,me)|0)+Math.imul(Y,Te)|0))<<13)|0;R=((w=w+Math.imul(Y,me)|0)+(r>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,g=Math.imul(bt,rt),r=(r=Math.imul(bt,Ot))+Math.imul(st,rt)|0,w=Math.imul(st,Ot),g=g+Math.imul(qe,kt)|0,r=(r=r+Math.imul(qe,Rt)|0)+Math.imul(it,kt)|0,w=w+Math.imul(it,Rt)|0,g=g+Math.imul(Ve,Jt)|0,r=(r=r+Math.imul(Ve,Zt)|0)+Math.imul(oe,Jt)|0,w=w+Math.imul(oe,Zt)|0,g=g+Math.imul(K,Re)|0,r=(r=r+Math.imul(K,U)|0)+Math.imul(ee,Re)|0,w=w+Math.imul(ee,U)|0,g=g+Math.imul(ie,ue)|0,r=(r=r+Math.imul(ie,Ne)|0)+Math.imul(Se,ue)|0,w=w+Math.imul(Se,Ne)|0,g=g+Math.imul(Ue,Et)|0,r=(r=r+Math.imul(Ue,Nt)|0)+Math.imul(ye,Et)|0,w=w+Math.imul(ye,Nt)|0,g=g+Math.imul(Oe,We)|0,r=(r=r+Math.imul(Oe,gt)|0)+Math.imul(Me,We)|0,w=w+Math.imul(Me,gt)|0,g=g+Math.imul(Ke,Pt)|0,r=(r=r+Math.imul(Ke,Ft)|0)+Math.imul(ge,Pt)|0,w=w+Math.imul(ge,Ft)|0,g=g+Math.imul(Ce,Te)|0,r=(r=r+Math.imul(Ce,me)|0)+Math.imul(Xe,Te)|0,w=w+Math.imul(Xe,me)|0;var _i=(R+(g=g+Math.imul(N,_t)|0)|0)+((8191&(r=(r=r+Math.imul(N,Lt)|0)+Math.imul(Y,_t)|0))<<13)|0;R=((w=w+Math.imul(Y,Lt)|0)+(r>>>13)|0)+(_i>>>26)|0,_i&=67108863,g=Math.imul(bt,kt),r=(r=Math.imul(bt,Rt))+Math.imul(st,kt)|0,w=Math.imul(st,Rt),g=g+Math.imul(qe,Jt)|0,r=(r=r+Math.imul(qe,Zt)|0)+Math.imul(it,Jt)|0,w=w+Math.imul(it,Zt)|0,g=g+Math.imul(Ve,Re)|0,r=(r=r+Math.imul(Ve,U)|0)+Math.imul(oe,Re)|0,w=w+Math.imul(oe,U)|0,g=g+Math.imul(K,ue)|0,r=(r=r+Math.imul(K,Ne)|0)+Math.imul(ee,ue)|0,w=w+Math.imul(ee,Ne)|0,g=g+Math.imul(ie,Et)|0,r=(r=r+Math.imul(ie,Nt)|0)+Math.imul(Se,Et)|0,w=w+Math.imul(Se,Nt)|0,g=g+Math.imul(Ue,We)|0,r=(r=r+Math.imul(Ue,gt)|0)+Math.imul(ye,We)|0,w=w+Math.imul(ye,gt)|0,g=g+Math.imul(Oe,Pt)|0,r=(r=r+Math.imul(Oe,Ft)|0)+Math.imul(Me,Pt)|0,w=w+Math.imul(Me,Ft)|0,g=g+Math.imul(Ke,Te)|0,r=(r=r+Math.imul(Ke,me)|0)+Math.imul(ge,Te)|0,w=w+Math.imul(ge,me)|0;var Oi=(R+(g=g+Math.imul(Ce,_t)|0)|0)+((8191&(r=(r=r+Math.imul(Ce,Lt)|0)+Math.imul(Xe,_t)|0))<<13)|0;R=((w=w+Math.imul(Xe,Lt)|0)+(r>>>13)|0)+(Oi>>>26)|0,Oi&=67108863,g=Math.imul(bt,Jt),r=(r=Math.imul(bt,Zt))+Math.imul(st,Jt)|0,w=Math.imul(st,Zt),g=g+Math.imul(qe,Re)|0,r=(r=r+Math.imul(qe,U)|0)+Math.imul(it,Re)|0,w=w+Math.imul(it,U)|0,g=g+Math.imul(Ve,ue)|0,r=(r=r+Math.imul(Ve,Ne)|0)+Math.imul(oe,ue)|0,w=w+Math.imul(oe,Ne)|0,g=g+Math.imul(K,Et)|0,r=(r=r+Math.imul(K,Nt)|0)+Math.imul(ee,Et)|0,w=w+Math.imul(ee,Nt)|0,g=g+Math.imul(ie,We)|0,r=(r=r+Math.imul(ie,gt)|0)+Math.imul(Se,We)|0,w=w+Math.imul(Se,gt)|0,g=g+Math.imul(Ue,Pt)|0,r=(r=r+Math.imul(Ue,Ft)|0)+Math.imul(ye,Pt)|0,w=w+Math.imul(ye,Ft)|0,g=g+Math.imul(Oe,Te)|0,r=(r=r+Math.imul(Oe,me)|0)+Math.imul(Me,Te)|0,w=w+Math.imul(Me,me)|0;var ki=(R+(g=g+Math.imul(Ke,_t)|0)|0)+((8191&(r=(r=r+Math.imul(Ke,Lt)|0)+Math.imul(ge,_t)|0))<<13)|0;R=((w=w+Math.imul(ge,Lt)|0)+(r>>>13)|0)+(ki>>>26)|0,ki&=67108863,g=Math.imul(bt,Re),r=(r=Math.imul(bt,U))+Math.imul(st,Re)|0,w=Math.imul(st,U),g=g+Math.imul(qe,ue)|0,r=(r=r+Math.imul(qe,Ne)|0)+Math.imul(it,ue)|0,w=w+Math.imul(it,Ne)|0,g=g+Math.imul(Ve,Et)|0,r=(r=r+Math.imul(Ve,Nt)|0)+Math.imul(oe,Et)|0,w=w+Math.imul(oe,Nt)|0,g=g+Math.imul(K,We)|0,r=(r=r+Math.imul(K,gt)|0)+Math.imul(ee,We)|0,w=w+Math.imul(ee,gt)|0,g=g+Math.imul(ie,Pt)|0,r=(r=r+Math.imul(ie,Ft)|0)+Math.imul(Se,Pt)|0,w=w+Math.imul(Se,Ft)|0,g=g+Math.imul(Ue,Te)|0,r=(r=r+Math.imul(Ue,me)|0)+Math.imul(ye,Te)|0,w=w+Math.imul(ye,me)|0;var Ki=(R+(g=g+Math.imul(Oe,_t)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,Lt)|0)+Math.imul(Me,_t)|0))<<13)|0;R=((w=w+Math.imul(Me,Lt)|0)+(r>>>13)|0)+(Ki>>>26)|0,Ki&=67108863,g=Math.imul(bt,ue),r=(r=Math.imul(bt,Ne))+Math.imul(st,ue)|0,w=Math.imul(st,Ne),g=g+Math.imul(qe,Et)|0,r=(r=r+Math.imul(qe,Nt)|0)+Math.imul(it,Et)|0,w=w+Math.imul(it,Nt)|0,g=g+Math.imul(Ve,We)|0,r=(r=r+Math.imul(Ve,gt)|0)+Math.imul(oe,We)|0,w=w+Math.imul(oe,gt)|0,g=g+Math.imul(K,Pt)|0,r=(r=r+Math.imul(K,Ft)|0)+Math.imul(ee,Pt)|0,w=w+Math.imul(ee,Ft)|0,g=g+Math.imul(ie,Te)|0,r=(r=r+Math.imul(ie,me)|0)+Math.imul(Se,Te)|0,w=w+Math.imul(Se,me)|0;var ti=(R+(g=g+Math.imul(Ue,_t)|0)|0)+((8191&(r=(r=r+Math.imul(Ue,Lt)|0)+Math.imul(ye,_t)|0))<<13)|0;R=((w=w+Math.imul(ye,Lt)|0)+(r>>>13)|0)+(ti>>>26)|0,ti&=67108863,g=Math.imul(bt,Et),r=(r=Math.imul(bt,Nt))+Math.imul(st,Et)|0,w=Math.imul(st,Nt),g=g+Math.imul(qe,We)|0,r=(r=r+Math.imul(qe,gt)|0)+Math.imul(it,We)|0,w=w+Math.imul(it,gt)|0,g=g+Math.imul(Ve,Pt)|0,r=(r=r+Math.imul(Ve,Ft)|0)+Math.imul(oe,Pt)|0,w=w+Math.imul(oe,Ft)|0,g=g+Math.imul(K,Te)|0,r=(r=r+Math.imul(K,me)|0)+Math.imul(ee,Te)|0,w=w+Math.imul(ee,me)|0;var be=(R+(g=g+Math.imul(ie,_t)|0)|0)+((8191&(r=(r=r+Math.imul(ie,Lt)|0)+Math.imul(Se,_t)|0))<<13)|0;R=((w=w+Math.imul(Se,Lt)|0)+(r>>>13)|0)+(be>>>26)|0,be&=67108863,g=Math.imul(bt,We),r=(r=Math.imul(bt,gt))+Math.imul(st,We)|0,w=Math.imul(st,gt),g=g+Math.imul(qe,Pt)|0,r=(r=r+Math.imul(qe,Ft)|0)+Math.imul(it,Pt)|0,w=w+Math.imul(it,Ft)|0,g=g+Math.imul(Ve,Te)|0,r=(r=r+Math.imul(Ve,me)|0)+Math.imul(oe,Te)|0,w=w+Math.imul(oe,me)|0;var ke=(R+(g=g+Math.imul(K,_t)|0)|0)+((8191&(r=(r=r+Math.imul(K,Lt)|0)+Math.imul(ee,_t)|0))<<13)|0;R=((w=w+Math.imul(ee,Lt)|0)+(r>>>13)|0)+(ke>>>26)|0,ke&=67108863,g=Math.imul(bt,Pt),r=(r=Math.imul(bt,Ft))+Math.imul(st,Pt)|0,w=Math.imul(st,Ft),g=g+Math.imul(qe,Te)|0,r=(r=r+Math.imul(qe,me)|0)+Math.imul(it,Te)|0,w=w+Math.imul(it,me)|0;var ft=(R+(g=g+Math.imul(Ve,_t)|0)|0)+((8191&(r=(r=r+Math.imul(Ve,Lt)|0)+Math.imul(oe,_t)|0))<<13)|0;R=((w=w+Math.imul(oe,Lt)|0)+(r>>>13)|0)+(ft>>>26)|0,ft&=67108863,g=Math.imul(bt,Te),r=(r=Math.imul(bt,me))+Math.imul(st,Te)|0,w=Math.imul(st,me);var St=(R+(g=g+Math.imul(qe,_t)|0)|0)+((8191&(r=(r=r+Math.imul(qe,Lt)|0)+Math.imul(it,_t)|0))<<13)|0;R=((w=w+Math.imul(it,Lt)|0)+(r>>>13)|0)+(St>>>26)|0,St&=67108863;var ui=(R+(g=Math.imul(bt,_t))|0)+((8191&(r=(r=Math.imul(bt,Lt))+Math.imul(st,_t)|0))<<13)|0;return R=((w=Math.imul(st,Lt))+(r>>>13)|0)+(ui>>>26)|0,ui&=67108863,I[0]=Li,I[1]=Ai,I[2]=wi,I[3]=zi,I[4]=xt,I[5]=Qe,I[6]=Fe,I[7]=Wt,I[8]=Xt,I[9]=_i,I[10]=Oi,I[11]=ki,I[12]=Ki,I[13]=ti,I[14]=be,I[15]=ke,I[16]=ft,I[17]=St,I[18]=ui,0!==R&&(I[19]=R,m.length++),m};function Z(T,i,o){return(new X).mulp(T,i,o)}function X(T,i){this.x=T,this.y=i}Math.imul||(A=z),l.prototype.mulTo=function(i,o){var m,h=this.length+i.length;return m=10===this.length&&10===i.length?A(this,i,o):h<63?z(this,i,o):h<1024?function W(T,i,o){o.negative=i.negative^T.negative,o.length=T.length+i.length;for(var m=0,h=0,x=0;x<o.length-1;x++){var I=h;h=0;for(var R=67108863&m,g=Math.min(x,i.length-1),r=Math.max(0,x-T.length+1);r<=g;r++){var w=x-r,Y=(0|T.words[w])*(0|i.words[r]),Pe=67108863&Y;R=67108863&(Pe=Pe+R|0),h+=(I=(I=I+(Y/67108864|0)|0)+(Pe>>>26)|0)>>>26,I&=67108863}o.words[x]=R,m=I,I=h}return 0!==m?o.words[x]=m:o.length--,o.strip()}(this,i,o):Z(this,i,o),m},X.prototype.makeRBT=function(i){for(var o=new Array(i),m=l.prototype._countBits(i)-1,h=0;h<i;h++)o[h]=this.revBin(h,m,i);return o},X.prototype.revBin=function(i,o,m){if(0===i||i===m-1)return i;for(var h=0,x=0;x<o;x++)h|=(1&i)<<o-x-1,i>>=1;return h},X.prototype.permute=function(i,o,m,h,x,I){for(var R=0;R<I;R++)h[R]=o[i[R]],x[R]=m[i[R]]},X.prototype.transform=function(i,o,m,h,x,I){this.permute(I,i,o,m,h,x);for(var R=1;R<x;R<<=1)for(var g=R<<1,r=Math.cos(2*Math.PI/g),w=Math.sin(2*Math.PI/g),V=0;V<x;V+=g)for(var N=r,Y=w,Pe=0;Pe<R;Pe++){var Ce=m[V+Pe],Xe=h[V+Pe],dt=m[V+Pe+R],Ke=h[V+Pe+R],ge=N*dt-Y*Ke;Ke=N*Ke+Y*dt,dt=ge,m[V+Pe]=Ce+dt,h[V+Pe]=Xe+Ke,m[V+Pe+R]=Ce-dt,h[V+Pe+R]=Xe-Ke,Pe!==g&&(ge=r*N-w*Y,Y=r*Y+w*N,N=ge)}},X.prototype.guessLen13b=function(i,o){var m=1|Math.max(o,i),h=1&m,x=0;for(m=m/2|0;m;m>>>=1)x++;return 1<<x+1+h},X.prototype.conjugate=function(i,o,m){if(!(m<=1))for(var h=0;h<m/2;h++){var x=i[h];i[h]=i[m-h-1],i[m-h-1]=x,x=o[h],o[h]=-o[m-h-1],o[m-h-1]=-x}},X.prototype.normalize13b=function(i,o){for(var m=0,h=0;h<o/2;h++){var x=8192*Math.round(i[2*h+1]/o)+Math.round(i[2*h]/o)+m;i[h]=67108863&x,m=x<67108864?0:x/67108864|0}return i},X.prototype.convert13b=function(i,o,m,h){for(var x=0,I=0;I<o;I++)x+=0|i[I],m[2*I]=8191&x,x>>>=13,m[2*I+1]=8191&x,x>>>=13;for(I=2*o;I<h;++I)m[I]=0;_(0===x),_(0==(-8192&x))},X.prototype.stub=function(i){for(var o=new Array(i),m=0;m<i;m++)o[m]=0;return o},X.prototype.mulp=function(i,o,m){var h=2*this.guessLen13b(i.length,o.length),x=this.makeRBT(h),I=this.stub(h),R=new Array(h),g=new Array(h),r=new Array(h),w=new Array(h),V=new Array(h),N=new Array(h),Y=m.words;Y.length=h,this.convert13b(i.words,i.length,R,h),this.convert13b(o.words,o.length,w,h),this.transform(R,I,g,r,h,x),this.transform(w,I,V,N,h,x);for(var Pe=0;Pe<h;Pe++){var Ce=g[Pe]*V[Pe]-r[Pe]*N[Pe];r[Pe]=g[Pe]*N[Pe]+r[Pe]*V[Pe],g[Pe]=Ce}return this.conjugate(g,r,h),this.transform(g,r,Y,I,h,x),this.conjugate(Y,I,h),this.normalize13b(Y,h),m.negative=i.negative^o.negative,m.length=i.length+o.length,m.strip()},l.prototype.mul=function(i){var o=new l(null);return o.words=new Array(this.length+i.length),this.mulTo(i,o)},l.prototype.mulf=function(i){var o=new l(null);return o.words=new Array(this.length+i.length),Z(this,i,o)},l.prototype.imul=function(i){return this.clone().mulTo(i,this)},l.prototype.imuln=function(i){_("number"==typeof i),_(i<67108864);for(var o=0,m=0;m<this.length;m++){var h=(0|this.words[m])*i,x=(67108863&h)+(67108863&o);o>>=26,o+=h/67108864|0,o+=x>>>26,this.words[m]=67108863&x}return 0!==o&&(this.words[m]=o,this.length++),this},l.prototype.muln=function(i){return this.clone().imuln(i)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(i){var o=function M(T){for(var i=new Array(T.bitLength()),o=0;o<i.length;o++){var m=o/26|0,h=o%26;i[o]=(T.words[m]&1<<h)>>>h}return i}(i);if(0===o.length)return new l(1);for(var m=this,h=0;h<o.length&&0===o[h];h++,m=m.sqr());if(++h<o.length)for(var x=m.sqr();h<o.length;h++,x=x.sqr())0!==o[h]&&(m=m.mul(x));return m},l.prototype.iushln=function(i){_("number"==typeof i&&i>=0);var x,o=i%26,m=(i-o)/26,h=67108863>>>26-o<<26-o;if(0!==o){var I=0;for(x=0;x<this.length;x++){var R=this.words[x]&h,g=(0|this.words[x])-R<<o;this.words[x]=g|I,I=R>>>26-o}I&&(this.words[x]=I,this.length++)}if(0!==m){for(x=this.length-1;x>=0;x--)this.words[x+m]=this.words[x];for(x=0;x<m;x++)this.words[x]=0;this.length+=m}return this.strip()},l.prototype.ishln=function(i){return _(0===this.negative),this.iushln(i)},l.prototype.iushrn=function(i,o,m){var h;_("number"==typeof i&&i>=0),h=o?(o-o%26)/26:0;var x=i%26,I=Math.min((i-x)/26,this.length),R=67108863^67108863>>>x<<x,g=m;if(h-=I,h=Math.max(0,h),g){for(var r=0;r<I;r++)g.words[r]=this.words[r];g.length=I}if(0!==I)if(this.length>I)for(this.length-=I,r=0;r<this.length;r++)this.words[r]=this.words[r+I];else this.words[0]=0,this.length=1;var w=0;for(r=this.length-1;r>=0&&(0!==w||r>=h);r--){var V=0|this.words[r];this.words[r]=w<<26-x|V>>>x,w=V&R}return g&&0!==w&&(g.words[g.length++]=w),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(i,o,m){return _(0===this.negative),this.iushrn(i,o,m)},l.prototype.shln=function(i){return this.clone().ishln(i)},l.prototype.ushln=function(i){return this.clone().iushln(i)},l.prototype.shrn=function(i){return this.clone().ishrn(i)},l.prototype.ushrn=function(i){return this.clone().iushrn(i)},l.prototype.testn=function(i){_("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26,h=1<<o;return!(this.length<=m)&&!!(this.words[m]&h)},l.prototype.imaskn=function(i){_("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26;if(_(0===this.negative,"imaskn works only with positive numbers"),this.length<=m)return this;if(0!==o&&m++,this.length=Math.min(m,this.length),0!==o){var h=67108863^67108863>>>o<<o;this.words[this.length-1]&=h}return this.strip()},l.prototype.maskn=function(i){return this.clone().imaskn(i)},l.prototype.iaddn=function(i){return _("number"==typeof i),_(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)},l.prototype._iaddn=function(i){this.words[0]+=i;for(var o=0;o<this.length&&this.words[o]>=67108864;o++)this.words[o]-=67108864,o===this.length-1?this.words[o+1]=1:this.words[o+1]++;return this.length=Math.max(this.length,o+1),this},l.prototype.isubn=function(i){if(_("number"==typeof i),_(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 o=0;o<this.length&&this.words[o]<0;o++)this.words[o]+=67108864,this.words[o+1]-=1;return this.strip()},l.prototype.addn=function(i){return this.clone().iaddn(i)},l.prototype.subn=function(i){return this.clone().isubn(i)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(i,o,m){var x,h=i.length+m;this._expand(h);var I,R=0;for(x=0;x<i.length;x++){I=(0|this.words[x+m])+R;var g=(0|i.words[x])*o;R=((I-=67108863&g)>>26)-(g/67108864|0),this.words[x+m]=67108863&I}for(;x<this.length-m;x++)R=(I=(0|this.words[x+m])+R)>>26,this.words[x+m]=67108863&I;if(0===R)return this.strip();for(_(-1===R),R=0,x=0;x<this.length;x++)R=(I=-(0|this.words[x])+R)>>26,this.words[x]=67108863&I;return this.negative=1,this.strip()},l.prototype._wordDiv=function(i,o){var m=(this.length,i.length),h=this.clone(),x=i,I=0|x.words[x.length-1];0!==(m=26-this._countBits(I))&&(x=x.ushln(m),h.iushln(m),I=0|x.words[x.length-1]);var r,g=h.length-x.length;if("mod"!==o){(r=new l(null)).length=g+1,r.words=new Array(r.length);for(var w=0;w<r.length;w++)r.words[w]=0}var V=h.clone()._ishlnsubmul(x,1,g);0===V.negative&&(h=V,r&&(r.words[g]=1));for(var N=g-1;N>=0;N--){var Y=67108864*(0|h.words[x.length+N])+(0|h.words[x.length+N-1]);for(Y=Math.min(Y/I|0,67108863),h._ishlnsubmul(x,Y,N);0!==h.negative;)Y--,h.negative=0,h._ishlnsubmul(x,1,N),h.isZero()||(h.negative^=1);r&&(r.words[N]=Y)}return r&&r.strip(),h.strip(),"div"!==o&&0!==m&&h.iushrn(m),{div:r||null,mod:h}},l.prototype.divmod=function(i,o,m){return _(!i.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===i.negative?(I=this.neg().divmod(i,o),"mod"!==o&&(h=I.div.neg()),"div"!==o&&(x=I.mod.neg(),m&&0!==x.negative&&x.iadd(i)),{div:h,mod:x}):0===this.negative&&0!==i.negative?(I=this.divmod(i.neg(),o),"mod"!==o&&(h=I.div.neg()),{div:h,mod:I.mod}):0!=(this.negative&i.negative)?(I=this.neg().divmod(i.neg(),o),"div"!==o&&(x=I.mod.neg(),m&&0!==x.negative&&x.isub(i)),{div:I.div,mod:x}):i.length>this.length||this.cmp(i)<0?{div:new l(0),mod:this}:1===i.length?"div"===o?{div:this.divn(i.words[0]),mod:null}:"mod"===o?{div:null,mod:new l(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new l(this.modn(i.words[0]))}:this._wordDiv(i,o);var h,x,I},l.prototype.div=function(i){return this.divmod(i,"div",!1).div},l.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},l.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},l.prototype.divRound=function(i){var o=this.divmod(i);if(o.mod.isZero())return o.div;var m=0!==o.div.negative?o.mod.isub(i):o.mod,h=i.ushrn(1),x=i.andln(1),I=m.cmp(h);return I<0||1===x&&0===I?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},l.prototype.modn=function(i){_(i<=67108863);for(var o=(1<<26)%i,m=0,h=this.length-1;h>=0;h--)m=(o*m+(0|this.words[h]))%i;return m},l.prototype.idivn=function(i){_(i<=67108863);for(var o=0,m=this.length-1;m>=0;m--){var h=(0|this.words[m])+67108864*o;this.words[m]=h/i|0,o=h%i}return this.strip()},l.prototype.divn=function(i){return this.clone().idivn(i)},l.prototype.egcd=function(i){_(0===i.negative),_(!i.isZero());var o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var h=new l(1),x=new l(0),I=new l(0),R=new l(1),g=0;o.isEven()&&m.isEven();)o.iushrn(1),m.iushrn(1),++g;for(var r=m.clone(),w=o.clone();!o.isZero();){for(var V=0,N=1;0==(o.words[0]&N)&&V<26;++V,N<<=1);if(V>0)for(o.iushrn(V);V-- >0;)(h.isOdd()||x.isOdd())&&(h.iadd(r),x.isub(w)),h.iushrn(1),x.iushrn(1);for(var Y=0,Pe=1;0==(m.words[0]&Pe)&&Y<26;++Y,Pe<<=1);if(Y>0)for(m.iushrn(Y);Y-- >0;)(I.isOdd()||R.isOdd())&&(I.iadd(r),R.isub(w)),I.iushrn(1),R.iushrn(1);o.cmp(m)>=0?(o.isub(m),h.isub(I),x.isub(R)):(m.isub(o),I.isub(h),R.isub(x))}return{a:I,b:R,gcd:m.iushln(g)}},l.prototype._invmp=function(i){_(0===i.negative),_(!i.isZero());var V,o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var h=new l(1),x=new l(0),I=m.clone();o.cmpn(1)>0&&m.cmpn(1)>0;){for(var R=0,g=1;0==(o.words[0]&g)&&R<26;++R,g<<=1);if(R>0)for(o.iushrn(R);R-- >0;)h.isOdd()&&h.iadd(I),h.iushrn(1);for(var r=0,w=1;0==(m.words[0]&w)&&r<26;++r,w<<=1);if(r>0)for(m.iushrn(r);r-- >0;)x.isOdd()&&x.iadd(I),x.iushrn(1);o.cmp(m)>=0?(o.isub(m),h.isub(x)):(m.isub(o),x.isub(h))}return(V=0===o.cmpn(1)?h:x).cmpn(0)<0&&V.iadd(i),V},l.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var o=this.clone(),m=i.clone();o.negative=0,m.negative=0;for(var h=0;o.isEven()&&m.isEven();h++)o.iushrn(1),m.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;m.isEven();)m.iushrn(1);var x=o.cmp(m);if(x<0){var I=o;o=m,m=I}else if(0===x||0===m.cmpn(1))break;o.isub(m)}return m.iushln(h)},l.prototype.invm=function(i){return this.egcd(i).a.umod(i)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(i){return this.words[0]&i},l.prototype.bincn=function(i){_("number"==typeof i);var o=i%26,m=(i-o)/26,h=1<<o;if(this.length<=m)return this._expand(m+1),this.words[m]|=h,this;for(var x=h,I=m;0!==x&&I<this.length;I++){var R=0|this.words[I];x=(R+=x)>>>26,R&=67108863,this.words[I]=R}return 0!==x&&(this.words[I]=x,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(i){var m,o=i<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)m=1;else{o&&(i=-i),_(i<=67108863,"Number is too big");var h=0|this.words[0];m=h===i?0:h<i?-1:1}return 0!==this.negative?0|-m:m},l.prototype.cmp=function(i){if(0!==this.negative&&0===i.negative)return-1;if(0===this.negative&&0!==i.negative)return 1;var o=this.ucmp(i);return 0!==this.negative?0|-o:o},l.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var o=0,m=this.length-1;m>=0;m--){var h=0|this.words[m],x=0|i.words[m];if(h!==x){h<x?o=-1:h>x&&(o=1);break}}return o},l.prototype.gtn=function(i){return 1===this.cmpn(i)},l.prototype.gt=function(i){return 1===this.cmp(i)},l.prototype.gten=function(i){return this.cmpn(i)>=0},l.prototype.gte=function(i){return this.cmp(i)>=0},l.prototype.ltn=function(i){return-1===this.cmpn(i)},l.prototype.lt=function(i){return-1===this.cmp(i)},l.prototype.lten=function(i){return this.cmpn(i)<=0},l.prototype.lte=function(i){return this.cmp(i)<=0},l.prototype.eqn=function(i){return 0===this.cmpn(i)},l.prototype.eq=function(i){return 0===this.cmp(i)},l.red=function(i){return new re(i)},l.prototype.toRed=function(i){return _(!this.red,"Already a number in reduction context"),_(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},l.prototype.fromRed=function(){return _(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(i){return this.red=i,this},l.prototype.forceRed=function(i){return _(!this.red,"Already a number in reduction context"),this._forceRed(i)},l.prototype.redAdd=function(i){return _(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},l.prototype.redIAdd=function(i){return _(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},l.prototype.redSub=function(i){return _(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},l.prototype.redISub=function(i){return _(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},l.prototype.redShl=function(i){return _(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},l.prototype.redMul=function(i){return _(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},l.prototype.redIMul=function(i){return _(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},l.prototype.redSqr=function(){return _(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return _(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return _(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return _(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return _(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(i){return _(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 ae(T,i){this.name=T,this.p=new l(i,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function he(){ae.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function se(){ae.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function pe(){ae.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function le(){ae.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function re(T){if("string"==typeof T){var i=l._prime(T);this.m=i.p,this.prime=i}else _(T.gtn(1),"modulus must be greater than 1"),this.m=T,this.prime=null}function fe(T){re.call(this,T),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ae.prototype._tmp=function(){var i=new l(null);return i.words=new Array(Math.ceil(this.n/13)),i},ae.prototype.ireduce=function(i){var m,o=i;do{this.split(o,this.tmp),m=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(m>this.n);var h=m<this.n?-1:o.ucmp(this.p);return 0===h?(o.words[0]=0,o.length=1):h>0?o.isub(this.p):void 0!==o.strip?o.strip():o._strip(),o},ae.prototype.split=function(i,o){i.iushrn(this.n,0,o)},ae.prototype.imulK=function(i){return i.imul(this.k)},O(he,ae),he.prototype.split=function(i,o){for(var m=4194303,h=Math.min(i.length,9),x=0;x<h;x++)o.words[x]=i.words[x];if(o.length=h,i.length<=9)return i.words[0]=0,void(i.length=1);var I=i.words[9];for(o.words[o.length++]=I&m,x=10;x<i.length;x++){var R=0|i.words[x];i.words[x-10]=(R&m)<<4|I>>>22,I=R}I>>>=22,i.words[x-10]=I,0===I&&i.length>10?i.length-=10:i.length-=9},he.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var o=0,m=0;m<i.length;m++){var h=0|i.words[m];o+=977*h,i.words[m]=67108863&o,o=64*h+(o/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},O(se,ae),O(pe,ae),O(le,ae),le.prototype.imulK=function(i){for(var o=0,m=0;m<i.length;m++){var h=19*(0|i.words[m])+o,x=67108863&h;h>>>=26,i.words[m]=x,o=h}return 0!==o&&(i.words[i.length++]=o),i},l._prime=function(i){if($[i])return $[i];var o;if("k256"===i)o=new he;else if("p224"===i)o=new se;else if("p192"===i)o=new pe;else{if("p25519"!==i)throw new Error("Unknown prime "+i);o=new le}return $[i]=o,o},re.prototype._verify1=function(i){_(0===i.negative,"red works only with positives"),_(i.red,"red works only with red numbers")},re.prototype._verify2=function(i,o){_(0==(i.negative|o.negative),"red works only with positives"),_(i.red&&i.red===o.red,"red works only with red numbers")},re.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},re.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},re.prototype.add=function(i,o){this._verify2(i,o);var m=i.add(o);return m.cmp(this.m)>=0&&m.isub(this.m),m._forceRed(this)},re.prototype.iadd=function(i,o){this._verify2(i,o);var m=i.iadd(o);return m.cmp(this.m)>=0&&m.isub(this.m),m},re.prototype.sub=function(i,o){this._verify2(i,o);var m=i.sub(o);return m.cmpn(0)<0&&m.iadd(this.m),m._forceRed(this)},re.prototype.isub=function(i,o){this._verify2(i,o);var m=i.isub(o);return m.cmpn(0)<0&&m.iadd(this.m),m},re.prototype.shl=function(i,o){return this._verify1(i),this.imod(i.ushln(o))},re.prototype.imul=function(i,o){return this._verify2(i,o),this.imod(i.imul(o))},re.prototype.mul=function(i,o){return this._verify2(i,o),this.imod(i.mul(o))},re.prototype.isqr=function(i){return this.imul(i,i.clone())},re.prototype.sqr=function(i){return this.mul(i,i)},re.prototype.sqrt=function(i){if(i.isZero())return i.clone();var o=this.m.andln(3);if(_(o%2==1),3===o){var m=this.m.add(new l(1)).iushrn(2);return this.pow(i,m)}for(var h=this.m.subn(1),x=0;!h.isZero()&&0===h.andln(1);)x++,h.iushrn(1);_(!h.isZero());var I=new l(1).toRed(this),R=I.redNeg(),g=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,g).cmp(R);)r.redIAdd(R);for(var w=this.pow(r,h),V=this.pow(i,h.addn(1).iushrn(1)),N=this.pow(i,h),Y=x;0!==N.cmp(I);){for(var Pe=N,Ce=0;0!==Pe.cmp(I);Ce++)Pe=Pe.redSqr();_(Ce<Y);var Xe=this.pow(w,new l(1).iushln(Y-Ce-1));V=V.redMul(Xe),w=Xe.redSqr(),N=N.redMul(w),Y=Ce}return V},re.prototype.invm=function(i){var o=i._invmp(this.m);return 0!==o.negative?(o.negative=0,this.imod(o).redNeg()):this.imod(o)},re.prototype.pow=function(i,o){if(o.isZero())return new l(1).toRed(this);if(0===o.cmpn(1))return i.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=i;for(var x=2;x<h.length;x++)h[x]=this.mul(h[x-1],i);var I=h[0],R=0,g=0,r=o.bitLength()%26;for(0===r&&(r=26),x=o.length-1;x>=0;x--){for(var w=o.words[x],V=r-1;V>=0;V--){var N=w>>V&1;(I!==h[0]&&(I=this.sqr(I)),0!==N||0!==R)?(R<<=1,R|=N,(4===++g||0===x&&0===V)&&(I=this.mul(I,h[R]),g=0,R=0)):g=0}r=26}return I},re.prototype.convertTo=function(i){var o=i.umod(this.m);return o===i?o.clone():o},re.prototype.convertFrom=function(i){var o=i.clone();return o.red=null,o},l.mont=function(i){return new fe(i)},O(fe,re),fe.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},fe.prototype.convertFrom=function(i){var o=this.imod(i.mul(this.rinv));return o.red=null,o},fe.prototype.imul=function(i,o){if(i.isZero()||o.isZero())return i.words[0]=0,i.length=1,i;var m=i.imul(o),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),x=m.isub(h).iushrn(this.shift),I=x;return x.cmp(this.m)>=0?I=x.isub(this.m):x.cmpn(0)<0&&(I=x.iadd(this.m)),I._forceRed(this)},fe.prototype.mul=function(i,o){if(i.isZero()||o.isZero())return new l(0)._forceRed(this);var m=i.mul(o),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),x=m.isub(h).iushrn(this.shift),I=x;return x.cmp(this.m)>=0?I=x.isub(this.m):x.cmpn(0)<0&&(I=x.iadd(this.m)),I._forceRed(this)},fe.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}})(Ye=f.nmd(Ye),this)},2173:(Ye,J)=>{"use strict";J.byteLength=function u(M){var z=C(M),A=z[0],W=z[1];return 3*(A+W)/4-W},J.toByteArray=function p(M){var z,he,A=C(M),W=A[0],Z=A[1],X=new t(function P(M,z,A){return 3*(z+A)/4-A}(0,W,Z)),$=0,ae=Z>0?W-4:W;for(he=0;he<ae;he+=4)z=e[M.charCodeAt(he)]<<18|e[M.charCodeAt(he+1)]<<12|e[M.charCodeAt(he+2)]<<6|e[M.charCodeAt(he+3)],X[$++]=z>>16&255,X[$++]=z>>8&255,X[$++]=255&z;return 2===Z&&(z=e[M.charCodeAt(he)]<<2|e[M.charCodeAt(he+1)]>>4,X[$++]=255&z),1===Z&&(z=e[M.charCodeAt(he)]<<10|e[M.charCodeAt(he+1)]<<4|e[M.charCodeAt(he+2)]>>2,X[$++]=z>>8&255,X[$++]=255&z),X},J.fromByteArray=function k(M){for(var z,A=M.length,W=A%3,Z=[],X=16383,$=0,ae=A-W;$<ae;$+=X)Z.push(D(M,$,$+X>ae?ae:$+X));return 1===W?(z=M[A-1],Z.push(f[z>>2]+f[z<<4&63]+"==")):2===W&&(z=(M[A-2]<<8)+M[A-1],Z.push(f[z>>10]+f[z>>4&63]+f[z<<2&63]+"=")),Z.join("")};for(var f=[],e=[],t=typeof Uint8Array<"u"?Uint8Array:Array,_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",O=0,l=_.length;O<l;++O)f[O]=_[O],e[_.charCodeAt(O)]=O;function C(M){var z=M.length;if(z%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var A=M.indexOf("=");return-1===A&&(A=z),[A,A===z?0:4-A%4]}function L(M){return f[M>>18&63]+f[M>>12&63]+f[M>>6&63]+f[63&M]}function D(M,z,A){for(var W,Z=[],X=z;X<A;X+=3)W=(M[X]<<16&16711680)+(M[X+1]<<8&65280)+(255&M[X+2]),Z.push(L(W));return Z.join("")}e["-".charCodeAt(0)]=62,e["_".charCodeAt(0)]=63},6585:function(Ye,J,f){(function(e,t){"use strict";function _(m,h){if(!m)throw new Error(h||"Assertion failed")}function O(m,h){m.super_=h;var x=function(){};x.prototype=h.prototype,m.prototype=new x,m.prototype.constructor=m}function l(m,h,x){if(l.isBN(m))return m;this.negative=0,this.words=null,this.length=0,this.red=null,null!==m&&(("le"===h||"be"===h)&&(x=h,h=10),this._init(m||0,h||10,x||"be"))}var C;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:f(6601).Buffer}catch{}function u(m,h){var x=m.charCodeAt(h);return x>=48&&x<=57?x-48:x>=65&&x<=70?x-55:x>=97&&x<=102?x-87:void _(!1,"Invalid character in "+m)}function P(m,h,x){var I=u(m,x);return x-1>=h&&(I|=u(m,x-1)<<4),I}function p(m,h,x,I){for(var R=0,g=0,r=Math.min(m.length,x),w=h;w<r;w++){var V=m.charCodeAt(w)-48;R*=I,g=V>=49?V-49+10:V>=17?V-17+10:V,_(V>=0&&g<I,"Invalid character"),R+=g}return R}function L(m,h){m.words=h.words,m.length=h.length,m.negative=h.negative,m.red=h.red}if(l.isBN=function(h){return h instanceof l||null!==h&&"object"==typeof h&&h.constructor.wordSize===l.wordSize&&Array.isArray(h.words)},l.max=function(h,x){return h.cmp(x)>0?h:x},l.min=function(h,x){return h.cmp(x)<0?h:x},l.prototype._init=function(h,x,I){if("number"==typeof h)return this._initNumber(h,x,I);if("object"==typeof h)return this._initArray(h,x,I);"hex"===x&&(x=16),_(x===(0|x)&&x>=2&&x<=36);var R=0;"-"===(h=h.toString().replace(/\s+/g,""))[0]&&(R++,this.negative=1),R<h.length&&(16===x?this._parseHex(h,R,I):(this._parseBase(h,x,R),"le"===I&&this._initArray(this.toArray(),x,I)))},l.prototype._initNumber=function(h,x,I){h<0&&(this.negative=1,h=-h),h<67108864?(this.words=[67108863&h],this.length=1):h<4503599627370496?(this.words=[67108863&h,h/67108864&67108863],this.length=2):(_(h<9007199254740992),this.words=[67108863&h,h/67108864&67108863,1],this.length=3),"le"===I&&this._initArray(this.toArray(),x,I)},l.prototype._initArray=function(h,x,I){if(_("number"==typeof h.length),h.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(h.length/3),this.words=new Array(this.length);for(var R=0;R<this.length;R++)this.words[R]=0;var g,r,w=0;if("be"===I)for(R=h.length-1,g=0;R>=0;R-=3)r=h[R]|h[R-1]<<8|h[R-2]<<16,this.words[g]|=r<<w&67108863,this.words[g+1]=r>>>26-w&67108863,(w+=24)>=26&&(w-=26,g++);else if("le"===I)for(R=0,g=0;R<h.length;R+=3)r=h[R]|h[R+1]<<8|h[R+2]<<16,this.words[g]|=r<<w&67108863,this.words[g+1]=r>>>26-w&67108863,(w+=24)>=26&&(w-=26,g++);return this._strip()},l.prototype._parseHex=function(h,x,I){this.length=Math.ceil((h.length-x)/6),this.words=new Array(this.length);for(var R=0;R<this.length;R++)this.words[R]=0;var w,g=0,r=0;if("be"===I)for(R=h.length-1;R>=x;R-=2)w=P(h,x,R)<<g,this.words[r]|=67108863&w,g>=18?(g-=18,r+=1,this.words[r]|=w>>>26):g+=8;else for(R=(h.length-x)%2==0?x+1:x;R<h.length;R+=2)w=P(h,x,R)<<g,this.words[r]|=67108863&w,g>=18?(g-=18,r+=1,this.words[r]|=w>>>26):g+=8;this._strip()},l.prototype._parseBase=function(h,x,I){this.words=[0],this.length=1;for(var R=0,g=1;g<=67108863;g*=x)R++;R--,g=g/x|0;for(var r=h.length-I,w=r%R,V=Math.min(r,r-w)+I,N=0,Y=I;Y<V;Y+=R)N=p(h,Y,Y+R,x),this.imuln(g),this.words[0]+N<67108864?this.words[0]+=N:this._iaddn(N);if(0!==w){var Pe=1;for(N=p(h,Y,h.length,x),Y=0;Y<w;Y++)Pe*=x;this.imuln(Pe),this.words[0]+N<67108864?this.words[0]+=N:this._iaddn(N)}this._strip()},l.prototype.copy=function(h){h.words=new Array(this.length);for(var x=0;x<this.length;x++)h.words[x]=this.words[x];h.length=this.length,h.negative=this.negative,h.red=this.red},l.prototype._move=function(h){L(h,this)},l.prototype.clone=function(){var h=new l(null);return this.copy(h),h},l.prototype._expand=function(h){for(;this.length<h;)this.words[this.length++]=0;return this},l.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},typeof Symbol<"u"&&"function"==typeof Symbol.for)try{l.prototype[Symbol.for("nodejs.util.inspect.custom")]=D}catch{l.prototype.inspect=D}else l.prototype.inspect=D;function D(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var k=["","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"],M=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],z=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];l.prototype.toString=function(h,x){var I;if(x=0|x||1,16===(h=h||10)||"hex"===h){I="";for(var R=0,g=0,r=0;r<this.length;r++){var w=this.words[r],V=(16777215&(w<<R|g)).toString(16);g=w>>>24-R&16777215,(R+=2)>=26&&(R-=26,r--),I=0!==g||r!==this.length-1?k[6-V.length]+V+I:V+I}for(0!==g&&(I=g.toString(16)+I);I.length%x!=0;)I="0"+I;return 0!==this.negative&&(I="-"+I),I}if(h===(0|h)&&h>=2&&h<=36){var N=M[h],Y=z[h];I="";var Pe=this.clone();for(Pe.negative=0;!Pe.isZero();){var Ce=Pe.modrn(Y).toString(h);I=(Pe=Pe.idivn(Y)).isZero()?Ce+I:k[N-Ce.length]+Ce+I}for(this.isZero()&&(I="0"+I);I.length%x!=0;)I="0"+I;return 0!==this.negative&&(I="-"+I),I}_(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var h=this.words[0];return 2===this.length?h+=67108864*this.words[1]:3===this.length&&1===this.words[2]?h+=4503599627370496+67108864*this.words[1]:this.length>2&&_(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-h:h},l.prototype.toJSON=function(){return this.toString(16,2)},C&&(l.prototype.toBuffer=function(h,x){return this.toArrayLike(C,h,x)}),l.prototype.toArray=function(h,x){return this.toArrayLike(Array,h,x)};function Z(m,h,x){x.negative=h.negative^m.negative;var I=m.length+h.length|0;x.length=I,I=I-1|0;var R=0|m.words[0],g=0|h.words[0],r=R*g,w=67108863&r,V=r/67108864|0;x.words[0]=w;for(var N=1;N<I;N++){for(var Y=V>>>26,Pe=67108863&V,Ce=Math.min(N,h.length-1),Xe=Math.max(0,N-m.length+1);Xe<=Ce;Xe++){var dt=N-Xe|0;Y+=(r=(R=0|m.words[dt])*(g=0|h.words[Xe])+Pe)/67108864|0,Pe=67108863&r}x.words[N]=0|Pe,V=0|Y}return 0!==V?x.words[N]=0|V:x.length--,x._strip()}l.prototype.toArrayLike=function(h,x,I){this._strip();var R=this.byteLength(),g=I||Math.max(1,R);_(R<=g,"byte array longer than desired length"),_(g>0,"Requested array length <= 0");var r=function(h,x){return h.allocUnsafe?h.allocUnsafe(x):new h(x)}(h,g);return this["_toArrayLike"+("le"===x?"LE":"BE")](r,R),r},l.prototype._toArrayLikeLE=function(h,x){for(var I=0,R=0,g=0,r=0;g<this.length;g++){var w=this.words[g]<<r|R;h[I++]=255&w,I<h.length&&(h[I++]=w>>8&255),I<h.length&&(h[I++]=w>>16&255),6===r?(I<h.length&&(h[I++]=w>>24&255),R=0,r=0):(R=w>>>24,r+=2)}if(I<h.length)for(h[I++]=R;I<h.length;)h[I++]=0},l.prototype._toArrayLikeBE=function(h,x){for(var I=h.length-1,R=0,g=0,r=0;g<this.length;g++){var w=this.words[g]<<r|R;h[I--]=255&w,I>=0&&(h[I--]=w>>8&255),I>=0&&(h[I--]=w>>16&255),6===r?(I>=0&&(h[I--]=w>>24&255),R=0,r=0):(R=w>>>24,r+=2)}if(I>=0)for(h[I--]=R;I>=0;)h[I--]=0},Math.clz32?l.prototype._countBits=function(h){return 32-Math.clz32(h)}:l.prototype._countBits=function(h){var x=h,I=0;return x>=4096&&(I+=13,x>>>=13),x>=64&&(I+=7,x>>>=7),x>=8&&(I+=4,x>>>=4),x>=2&&(I+=2,x>>>=2),I+x},l.prototype._zeroBits=function(h){if(0===h)return 26;var x=h,I=0;return 0==(8191&x)&&(I+=13,x>>>=13),0==(127&x)&&(I+=7,x>>>=7),0==(15&x)&&(I+=4,x>>>=4),0==(3&x)&&(I+=2,x>>>=2),0==(1&x)&&I++,I},l.prototype.bitLength=function(){var h=this.words[this.length-1],x=this._countBits(h);return 26*(this.length-1)+x},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var h=0,x=0;x<this.length;x++){var I=this._zeroBits(this.words[x]);if(h+=I,26!==I)break}return h},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(h){return 0!==this.negative?this.abs().inotn(h).iaddn(1):this.clone()},l.prototype.fromTwos=function(h){return this.testn(h-1)?this.notn(h).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(h){for(;this.length<h.length;)this.words[this.length++]=0;for(var x=0;x<h.length;x++)this.words[x]=this.words[x]|h.words[x];return this._strip()},l.prototype.ior=function(h){return _(0==(this.negative|h.negative)),this.iuor(h)},l.prototype.or=function(h){return this.length>h.length?this.clone().ior(h):h.clone().ior(this)},l.prototype.uor=function(h){return this.length>h.length?this.clone().iuor(h):h.clone().iuor(this)},l.prototype.iuand=function(h){var x;x=this.length>h.length?h:this;for(var I=0;I<x.length;I++)this.words[I]=this.words[I]&h.words[I];return this.length=x.length,this._strip()},l.prototype.iand=function(h){return _(0==(this.negative|h.negative)),this.iuand(h)},l.prototype.and=function(h){return this.length>h.length?this.clone().iand(h):h.clone().iand(this)},l.prototype.uand=function(h){return this.length>h.length?this.clone().iuand(h):h.clone().iuand(this)},l.prototype.iuxor=function(h){var x,I;this.length>h.length?(x=this,I=h):(x=h,I=this);for(var R=0;R<I.length;R++)this.words[R]=x.words[R]^I.words[R];if(this!==x)for(;R<x.length;R++)this.words[R]=x.words[R];return this.length=x.length,this._strip()},l.prototype.ixor=function(h){return _(0==(this.negative|h.negative)),this.iuxor(h)},l.prototype.xor=function(h){return this.length>h.length?this.clone().ixor(h):h.clone().ixor(this)},l.prototype.uxor=function(h){return this.length>h.length?this.clone().iuxor(h):h.clone().iuxor(this)},l.prototype.inotn=function(h){_("number"==typeof h&&h>=0);var x=0|Math.ceil(h/26),I=h%26;this._expand(x),I>0&&x--;for(var R=0;R<x;R++)this.words[R]=67108863&~this.words[R];return I>0&&(this.words[R]=~this.words[R]&67108863>>26-I),this._strip()},l.prototype.notn=function(h){return this.clone().inotn(h)},l.prototype.setn=function(h,x){_("number"==typeof h&&h>=0);var I=h/26|0,R=h%26;return this._expand(I+1),this.words[I]=x?this.words[I]|1<<R:this.words[I]&~(1<<R),this._strip()},l.prototype.iadd=function(h){var x,I,R;if(0!==this.negative&&0===h.negative)return this.negative=0,x=this.isub(h),this.negative^=1,this._normSign();if(0===this.negative&&0!==h.negative)return h.negative=0,x=this.isub(h),h.negative=1,x._normSign();this.length>h.length?(I=this,R=h):(I=h,R=this);for(var g=0,r=0;r<R.length;r++)x=(0|I.words[r])+(0|R.words[r])+g,this.words[r]=67108863&x,g=x>>>26;for(;0!==g&&r<I.length;r++)x=(0|I.words[r])+g,this.words[r]=67108863&x,g=x>>>26;if(this.length=I.length,0!==g)this.words[this.length]=g,this.length++;else if(I!==this)for(;r<I.length;r++)this.words[r]=I.words[r];return this},l.prototype.add=function(h){var x;return 0!==h.negative&&0===this.negative?(h.negative=0,x=this.sub(h),h.negative^=1,x):0===h.negative&&0!==this.negative?(this.negative=0,x=h.sub(this),this.negative=1,x):this.length>h.length?this.clone().iadd(h):h.clone().iadd(this)},l.prototype.isub=function(h){if(0!==h.negative){h.negative=0;var x=this.iadd(h);return h.negative=1,x._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(h),this.negative=1,this._normSign();var R,g,I=this.cmp(h);if(0===I)return this.negative=0,this.length=1,this.words[0]=0,this;I>0?(R=this,g=h):(R=h,g=this);for(var r=0,w=0;w<g.length;w++)r=(x=(0|R.words[w])-(0|g.words[w])+r)>>26,this.words[w]=67108863&x;for(;0!==r&&w<R.length;w++)r=(x=(0|R.words[w])+r)>>26,this.words[w]=67108863&x;if(0===r&&w<R.length&&R!==this)for(;w<R.length;w++)this.words[w]=R.words[w];return this.length=Math.max(this.length,w),R!==this&&(this.negative=1),this._strip()},l.prototype.sub=function(h){return this.clone().isub(h)};var X=function(h,x,I){var V,N,Y,R=h.words,g=x.words,r=I.words,w=0,Pe=0|R[0],Ce=8191&Pe,Xe=Pe>>>13,dt=0|R[1],Ke=8191&dt,ge=dt>>>13,$e=0|R[2],Oe=8191&$e,Me=$e>>>13,De=0|R[3],Ue=8191&De,ye=De>>>13,we=0|R[4],ie=8191&we,Se=we>>>13,ne=0|R[5],K=8191&ne,ee=ne>>>13,ze=0|R[6],Ve=8191&ze,oe=ze>>>13,at=0|R[7],qe=8191&at,it=at>>>13,ii=0|R[8],bt=8191&ii,st=ii>>>13,Be=0|R[9],rt=8191&Be,Ot=Be>>>13,Gt=0|g[0],kt=8191&Gt,Rt=Gt>>>13,yi=0|g[1],Jt=8191&yi,Zt=yi>>>13,mi=0|g[2],Re=8191&mi,U=mi>>>13,j=0|g[3],ue=8191&j,Ne=j>>>13,wt=0|g[4],Et=8191&wt,Nt=wt>>>13,ot=0|g[5],We=8191&ot,gt=ot>>>13,ri=0|g[6],Pt=8191&ri,Ft=ri>>>13,qt=0|g[7],Te=8191&qt,me=qt>>>13,ct=0|g[8],_t=8191&ct,Lt=ct>>>13,Li=0|g[9],Ai=8191&Li,wi=Li>>>13;I.negative=h.negative^x.negative,I.length=19;var zi=(w+(V=Math.imul(Ce,kt))|0)+((8191&(N=(N=Math.imul(Ce,Rt))+Math.imul(Xe,kt)|0))<<13)|0;w=((Y=Math.imul(Xe,Rt))+(N>>>13)|0)+(zi>>>26)|0,zi&=67108863,V=Math.imul(Ke,kt),N=(N=Math.imul(Ke,Rt))+Math.imul(ge,kt)|0,Y=Math.imul(ge,Rt);var xt=(w+(V=V+Math.imul(Ce,Jt)|0)|0)+((8191&(N=(N=N+Math.imul(Ce,Zt)|0)+Math.imul(Xe,Jt)|0))<<13)|0;w=((Y=Y+Math.imul(Xe,Zt)|0)+(N>>>13)|0)+(xt>>>26)|0,xt&=67108863,V=Math.imul(Oe,kt),N=(N=Math.imul(Oe,Rt))+Math.imul(Me,kt)|0,Y=Math.imul(Me,Rt),V=V+Math.imul(Ke,Jt)|0,N=(N=N+Math.imul(Ke,Zt)|0)+Math.imul(ge,Jt)|0,Y=Y+Math.imul(ge,Zt)|0;var Qe=(w+(V=V+Math.imul(Ce,Re)|0)|0)+((8191&(N=(N=N+Math.imul(Ce,U)|0)+Math.imul(Xe,Re)|0))<<13)|0;w=((Y=Y+Math.imul(Xe,U)|0)+(N>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,V=Math.imul(Ue,kt),N=(N=Math.imul(Ue,Rt))+Math.imul(ye,kt)|0,Y=Math.imul(ye,Rt),V=V+Math.imul(Oe,Jt)|0,N=(N=N+Math.imul(Oe,Zt)|0)+Math.imul(Me,Jt)|0,Y=Y+Math.imul(Me,Zt)|0,V=V+Math.imul(Ke,Re)|0,N=(N=N+Math.imul(Ke,U)|0)+Math.imul(ge,Re)|0,Y=Y+Math.imul(ge,U)|0;var Fe=(w+(V=V+Math.imul(Ce,ue)|0)|0)+((8191&(N=(N=N+Math.imul(Ce,Ne)|0)+Math.imul(Xe,ue)|0))<<13)|0;w=((Y=Y+Math.imul(Xe,Ne)|0)+(N>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,V=Math.imul(ie,kt),N=(N=Math.imul(ie,Rt))+Math.imul(Se,kt)|0,Y=Math.imul(Se,Rt),V=V+Math.imul(Ue,Jt)|0,N=(N=N+Math.imul(Ue,Zt)|0)+Math.imul(ye,Jt)|0,Y=Y+Math.imul(ye,Zt)|0,V=V+Math.imul(Oe,Re)|0,N=(N=N+Math.imul(Oe,U)|0)+Math.imul(Me,Re)|0,Y=Y+Math.imul(Me,U)|0,V=V+Math.imul(Ke,ue)|0,N=(N=N+Math.imul(Ke,Ne)|0)+Math.imul(ge,ue)|0,Y=Y+Math.imul(ge,Ne)|0;var Wt=(w+(V=V+Math.imul(Ce,Et)|0)|0)+((8191&(N=(N=N+Math.imul(Ce,Nt)|0)+Math.imul(Xe,Et)|0))<<13)|0;w=((Y=Y+Math.imul(Xe,Nt)|0)+(N>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,V=Math.imul(K,kt),N=(N=Math.imul(K,Rt))+Math.imul(ee,kt)|0,Y=Math.imul(ee,Rt),V=V+Math.imul(ie,Jt)|0,N=(N=N+Math.imul(ie,Zt)|0)+Math.imul(Se,Jt)|0,Y=Y+Math.imul(Se,Zt)|0,V=V+Math.imul(Ue,Re)|0,N=(N=N+Math.imul(Ue,U)|0)+Math.imul(ye,Re)|0,Y=Y+Math.imul(ye,U)|0,V=V+Math.imul(Oe,ue)|0,N=(N=N+Math.imul(Oe,Ne)|0)+Math.imul(Me,ue)|0,Y=Y+Math.imul(Me,Ne)|0,V=V+Math.imul(Ke,Et)|0,N=(N=N+Math.imul(Ke,Nt)|0)+Math.imul(ge,Et)|0,Y=Y+Math.imul(ge,Nt)|0;var Xt=(w+(V=V+Math.imul(Ce,We)|0)|0)+((8191&(N=(N=N+Math.imul(Ce,gt)|0)+Math.imul(Xe,We)|0))<<13)|0;w=((Y=Y+Math.imul(Xe,gt)|0)+(N>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,V=Math.imul(Ve,kt),N=(N=Math.imul(Ve,Rt))+Math.imul(oe,kt)|0,Y=Math.imul(oe,Rt),V=V+Math.imul(K,Jt)|0,N=(N=N+Math.imul(K,Zt)|0)+Math.imul(ee,Jt)|0,Y=Y+Math.imul(ee,Zt)|0,V=V+Math.imul(ie,Re)|0,N=(N=N+Math.imul(ie,U)|0)+Math.imul(Se,Re)|0,Y=Y+Math.imul(Se,U)|0,V=V+Math.imul(Ue,ue)|0,N=(N=N+Math.imul(Ue,Ne)|0)+Math.imul(ye,ue)|0,Y=Y+Math.imul(ye,Ne)|0,V=V+Math.imul(Oe,Et)|0,N=(N=N+Math.imul(Oe,Nt)|0)+Math.imul(Me,Et)|0,Y=Y+Math.imul(Me,Nt)|0,V=V+Math.imul(Ke,We)|0,N=(N=N+Math.imul(Ke,gt)|0)+Math.imul(ge,We)|0,Y=Y+Math.imul(ge,gt)|0;var _i=(w+(V=V+Math.imul(Ce,Pt)|0)|0)+((8191&(N=(N=N+Math.imul(Ce,Ft)|0)+Math.imul(Xe,Pt)|0))<<13)|0;w=((Y=Y+Math.imul(Xe,Ft)|0)+(N>>>13)|0)+(_i>>>26)|0,_i&=67108863,V=Math.imul(qe,kt),N=(N=Math.imul(qe,Rt))+Math.imul(it,kt)|0,Y=Math.imul(it,Rt),V=V+Math.imul(Ve,Jt)|0,N=(N=N+Math.imul(Ve,Zt)|0)+Math.imul(oe,Jt)|0,Y=Y+Math.imul(oe,Zt)|0,V=V+Math.imul(K,Re)|0,N=(N=N+Math.imul(K,U)|0)+Math.imul(ee,Re)|0,Y=Y+Math.imul(ee,U)|0,V=V+Math.imul(ie,ue)|0,N=(N=N+Math.imul(ie,Ne)|0)+Math.imul(Se,ue)|0,Y=Y+Math.imul(Se,Ne)|0,V=V+Math.imul(Ue,Et)|0,N=(N=N+Math.imul(Ue,Nt)|0)+Math.imul(ye,Et)|0,Y=Y+Math.imul(ye,Nt)|0,V=V+Math.imul(Oe,We)|0,N=(N=N+Math.imul(Oe,gt)|0)+Math.imul(Me,We)|0,Y=Y+Math.imul(Me,gt)|0,V=V+Math.imul(Ke,Pt)|0,N=(N=N+Math.imul(Ke,Ft)|0)+Math.imul(ge,Pt)|0,Y=Y+Math.imul(ge,Ft)|0;var Oi=(w+(V=V+Math.imul(Ce,Te)|0)|0)+((8191&(N=(N=N+Math.imul(Ce,me)|0)+Math.imul(Xe,Te)|0))<<13)|0;w=((Y=Y+Math.imul(Xe,me)|0)+(N>>>13)|0)+(Oi>>>26)|0,Oi&=67108863,V=Math.imul(bt,kt),N=(N=Math.imul(bt,Rt))+Math.imul(st,kt)|0,Y=Math.imul(st,Rt),V=V+Math.imul(qe,Jt)|0,N=(N=N+Math.imul(qe,Zt)|0)+Math.imul(it,Jt)|0,Y=Y+Math.imul(it,Zt)|0,V=V+Math.imul(Ve,Re)|0,N=(N=N+Math.imul(Ve,U)|0)+Math.imul(oe,Re)|0,Y=Y+Math.imul(oe,U)|0,V=V+Math.imul(K,ue)|0,N=(N=N+Math.imul(K,Ne)|0)+Math.imul(ee,ue)|0,Y=Y+Math.imul(ee,Ne)|0,V=V+Math.imul(ie,Et)|0,N=(N=N+Math.imul(ie,Nt)|0)+Math.imul(Se,Et)|0,Y=Y+Math.imul(Se,Nt)|0,V=V+Math.imul(Ue,We)|0,N=(N=N+Math.imul(Ue,gt)|0)+Math.imul(ye,We)|0,Y=Y+Math.imul(ye,gt)|0,V=V+Math.imul(Oe,Pt)|0,N=(N=N+Math.imul(Oe,Ft)|0)+Math.imul(Me,Pt)|0,Y=Y+Math.imul(Me,Ft)|0,V=V+Math.imul(Ke,Te)|0,N=(N=N+Math.imul(Ke,me)|0)+Math.imul(ge,Te)|0,Y=Y+Math.imul(ge,me)|0;var ki=(w+(V=V+Math.imul(Ce,_t)|0)|0)+((8191&(N=(N=N+Math.imul(Ce,Lt)|0)+Math.imul(Xe,_t)|0))<<13)|0;w=((Y=Y+Math.imul(Xe,Lt)|0)+(N>>>13)|0)+(ki>>>26)|0,ki&=67108863,V=Math.imul(rt,kt),N=(N=Math.imul(rt,Rt))+Math.imul(Ot,kt)|0,Y=Math.imul(Ot,Rt),V=V+Math.imul(bt,Jt)|0,N=(N=N+Math.imul(bt,Zt)|0)+Math.imul(st,Jt)|0,Y=Y+Math.imul(st,Zt)|0,V=V+Math.imul(qe,Re)|0,N=(N=N+Math.imul(qe,U)|0)+Math.imul(it,Re)|0,Y=Y+Math.imul(it,U)|0,V=V+Math.imul(Ve,ue)|0,N=(N=N+Math.imul(Ve,Ne)|0)+Math.imul(oe,ue)|0,Y=Y+Math.imul(oe,Ne)|0,V=V+Math.imul(K,Et)|0,N=(N=N+Math.imul(K,Nt)|0)+Math.imul(ee,Et)|0,Y=Y+Math.imul(ee,Nt)|0,V=V+Math.imul(ie,We)|0,N=(N=N+Math.imul(ie,gt)|0)+Math.imul(Se,We)|0,Y=Y+Math.imul(Se,gt)|0,V=V+Math.imul(Ue,Pt)|0,N=(N=N+Math.imul(Ue,Ft)|0)+Math.imul(ye,Pt)|0,Y=Y+Math.imul(ye,Ft)|0,V=V+Math.imul(Oe,Te)|0,N=(N=N+Math.imul(Oe,me)|0)+Math.imul(Me,Te)|0,Y=Y+Math.imul(Me,me)|0,V=V+Math.imul(Ke,_t)|0,N=(N=N+Math.imul(Ke,Lt)|0)+Math.imul(ge,_t)|0,Y=Y+Math.imul(ge,Lt)|0;var Ki=(w+(V=V+Math.imul(Ce,Ai)|0)|0)+((8191&(N=(N=N+Math.imul(Ce,wi)|0)+Math.imul(Xe,Ai)|0))<<13)|0;w=((Y=Y+Math.imul(Xe,wi)|0)+(N>>>13)|0)+(Ki>>>26)|0,Ki&=67108863,V=Math.imul(rt,Jt),N=(N=Math.imul(rt,Zt))+Math.imul(Ot,Jt)|0,Y=Math.imul(Ot,Zt),V=V+Math.imul(bt,Re)|0,N=(N=N+Math.imul(bt,U)|0)+Math.imul(st,Re)|0,Y=Y+Math.imul(st,U)|0,V=V+Math.imul(qe,ue)|0,N=(N=N+Math.imul(qe,Ne)|0)+Math.imul(it,ue)|0,Y=Y+Math.imul(it,Ne)|0,V=V+Math.imul(Ve,Et)|0,N=(N=N+Math.imul(Ve,Nt)|0)+Math.imul(oe,Et)|0,Y=Y+Math.imul(oe,Nt)|0,V=V+Math.imul(K,We)|0,N=(N=N+Math.imul(K,gt)|0)+Math.imul(ee,We)|0,Y=Y+Math.imul(ee,gt)|0,V=V+Math.imul(ie,Pt)|0,N=(N=N+Math.imul(ie,Ft)|0)+Math.imul(Se,Pt)|0,Y=Y+Math.imul(Se,Ft)|0,V=V+Math.imul(Ue,Te)|0,N=(N=N+Math.imul(Ue,me)|0)+Math.imul(ye,Te)|0,Y=Y+Math.imul(ye,me)|0,V=V+Math.imul(Oe,_t)|0,N=(N=N+Math.imul(Oe,Lt)|0)+Math.imul(Me,_t)|0,Y=Y+Math.imul(Me,Lt)|0;var ti=(w+(V=V+Math.imul(Ke,Ai)|0)|0)+((8191&(N=(N=N+Math.imul(Ke,wi)|0)+Math.imul(ge,Ai)|0))<<13)|0;w=((Y=Y+Math.imul(ge,wi)|0)+(N>>>13)|0)+(ti>>>26)|0,ti&=67108863,V=Math.imul(rt,Re),N=(N=Math.imul(rt,U))+Math.imul(Ot,Re)|0,Y=Math.imul(Ot,U),V=V+Math.imul(bt,ue)|0,N=(N=N+Math.imul(bt,Ne)|0)+Math.imul(st,ue)|0,Y=Y+Math.imul(st,Ne)|0,V=V+Math.imul(qe,Et)|0,N=(N=N+Math.imul(qe,Nt)|0)+Math.imul(it,Et)|0,Y=Y+Math.imul(it,Nt)|0,V=V+Math.imul(Ve,We)|0,N=(N=N+Math.imul(Ve,gt)|0)+Math.imul(oe,We)|0,Y=Y+Math.imul(oe,gt)|0,V=V+Math.imul(K,Pt)|0,N=(N=N+Math.imul(K,Ft)|0)+Math.imul(ee,Pt)|0,Y=Y+Math.imul(ee,Ft)|0,V=V+Math.imul(ie,Te)|0,N=(N=N+Math.imul(ie,me)|0)+Math.imul(Se,Te)|0,Y=Y+Math.imul(Se,me)|0,V=V+Math.imul(Ue,_t)|0,N=(N=N+Math.imul(Ue,Lt)|0)+Math.imul(ye,_t)|0,Y=Y+Math.imul(ye,Lt)|0;var be=(w+(V=V+Math.imul(Oe,Ai)|0)|0)+((8191&(N=(N=N+Math.imul(Oe,wi)|0)+Math.imul(Me,Ai)|0))<<13)|0;w=((Y=Y+Math.imul(Me,wi)|0)+(N>>>13)|0)+(be>>>26)|0,be&=67108863,V=Math.imul(rt,ue),N=(N=Math.imul(rt,Ne))+Math.imul(Ot,ue)|0,Y=Math.imul(Ot,Ne),V=V+Math.imul(bt,Et)|0,N=(N=N+Math.imul(bt,Nt)|0)+Math.imul(st,Et)|0,Y=Y+Math.imul(st,Nt)|0,V=V+Math.imul(qe,We)|0,N=(N=N+Math.imul(qe,gt)|0)+Math.imul(it,We)|0,Y=Y+Math.imul(it,gt)|0,V=V+Math.imul(Ve,Pt)|0,N=(N=N+Math.imul(Ve,Ft)|0)+Math.imul(oe,Pt)|0,Y=Y+Math.imul(oe,Ft)|0,V=V+Math.imul(K,Te)|0,N=(N=N+Math.imul(K,me)|0)+Math.imul(ee,Te)|0,Y=Y+Math.imul(ee,me)|0,V=V+Math.imul(ie,_t)|0,N=(N=N+Math.imul(ie,Lt)|0)+Math.imul(Se,_t)|0,Y=Y+Math.imul(Se,Lt)|0;var ke=(w+(V=V+Math.imul(Ue,Ai)|0)|0)+((8191&(N=(N=N+Math.imul(Ue,wi)|0)+Math.imul(ye,Ai)|0))<<13)|0;w=((Y=Y+Math.imul(ye,wi)|0)+(N>>>13)|0)+(ke>>>26)|0,ke&=67108863,V=Math.imul(rt,Et),N=(N=Math.imul(rt,Nt))+Math.imul(Ot,Et)|0,Y=Math.imul(Ot,Nt),V=V+Math.imul(bt,We)|0,N=(N=N+Math.imul(bt,gt)|0)+Math.imul(st,We)|0,Y=Y+Math.imul(st,gt)|0,V=V+Math.imul(qe,Pt)|0,N=(N=N+Math.imul(qe,Ft)|0)+Math.imul(it,Pt)|0,Y=Y+Math.imul(it,Ft)|0,V=V+Math.imul(Ve,Te)|0,N=(N=N+Math.imul(Ve,me)|0)+Math.imul(oe,Te)|0,Y=Y+Math.imul(oe,me)|0,V=V+Math.imul(K,_t)|0,N=(N=N+Math.imul(K,Lt)|0)+Math.imul(ee,_t)|0,Y=Y+Math.imul(ee,Lt)|0;var ft=(w+(V=V+Math.imul(ie,Ai)|0)|0)+((8191&(N=(N=N+Math.imul(ie,wi)|0)+Math.imul(Se,Ai)|0))<<13)|0;w=((Y=Y+Math.imul(Se,wi)|0)+(N>>>13)|0)+(ft>>>26)|0,ft&=67108863,V=Math.imul(rt,We),N=(N=Math.imul(rt,gt))+Math.imul(Ot,We)|0,Y=Math.imul(Ot,gt),V=V+Math.imul(bt,Pt)|0,N=(N=N+Math.imul(bt,Ft)|0)+Math.imul(st,Pt)|0,Y=Y+Math.imul(st,Ft)|0,V=V+Math.imul(qe,Te)|0,N=(N=N+Math.imul(qe,me)|0)+Math.imul(it,Te)|0,Y=Y+Math.imul(it,me)|0,V=V+Math.imul(Ve,_t)|0,N=(N=N+Math.imul(Ve,Lt)|0)+Math.imul(oe,_t)|0,Y=Y+Math.imul(oe,Lt)|0;var St=(w+(V=V+Math.imul(K,Ai)|0)|0)+((8191&(N=(N=N+Math.imul(K,wi)|0)+Math.imul(ee,Ai)|0))<<13)|0;w=((Y=Y+Math.imul(ee,wi)|0)+(N>>>13)|0)+(St>>>26)|0,St&=67108863,V=Math.imul(rt,Pt),N=(N=Math.imul(rt,Ft))+Math.imul(Ot,Pt)|0,Y=Math.imul(Ot,Ft),V=V+Math.imul(bt,Te)|0,N=(N=N+Math.imul(bt,me)|0)+Math.imul(st,Te)|0,Y=Y+Math.imul(st,me)|0,V=V+Math.imul(qe,_t)|0,N=(N=N+Math.imul(qe,Lt)|0)+Math.imul(it,_t)|0,Y=Y+Math.imul(it,Lt)|0;var ui=(w+(V=V+Math.imul(Ve,Ai)|0)|0)+((8191&(N=(N=N+Math.imul(Ve,wi)|0)+Math.imul(oe,Ai)|0))<<13)|0;w=((Y=Y+Math.imul(oe,wi)|0)+(N>>>13)|0)+(ui>>>26)|0,ui&=67108863,V=Math.imul(rt,Te),N=(N=Math.imul(rt,me))+Math.imul(Ot,Te)|0,Y=Math.imul(Ot,me),V=V+Math.imul(bt,_t)|0,N=(N=N+Math.imul(bt,Lt)|0)+Math.imul(st,_t)|0,Y=Y+Math.imul(st,Lt)|0;var $t=(w+(V=V+Math.imul(qe,Ai)|0)|0)+((8191&(N=(N=N+Math.imul(qe,wi)|0)+Math.imul(it,Ai)|0))<<13)|0;w=((Y=Y+Math.imul(it,wi)|0)+(N>>>13)|0)+($t>>>26)|0,$t&=67108863,V=Math.imul(rt,_t),N=(N=Math.imul(rt,Lt))+Math.imul(Ot,_t)|0,Y=Math.imul(Ot,Lt);var oi=(w+(V=V+Math.imul(bt,Ai)|0)|0)+((8191&(N=(N=N+Math.imul(bt,wi)|0)+Math.imul(st,Ai)|0))<<13)|0;w=((Y=Y+Math.imul(st,wi)|0)+(N>>>13)|0)+(oi>>>26)|0,oi&=67108863;var Vt=(w+(V=Math.imul(rt,Ai))|0)+((8191&(N=(N=Math.imul(rt,wi))+Math.imul(Ot,Ai)|0))<<13)|0;return w=((Y=Math.imul(Ot,wi))+(N>>>13)|0)+(Vt>>>26)|0,Vt&=67108863,r[0]=zi,r[1]=xt,r[2]=Qe,r[3]=Fe,r[4]=Wt,r[5]=Xt,r[6]=_i,r[7]=Oi,r[8]=ki,r[9]=Ki,r[10]=ti,r[11]=be,r[12]=ke,r[13]=ft,r[14]=St,r[15]=ui,r[16]=$t,r[17]=oi,r[18]=Vt,0!==w&&(r[19]=w,I.length++),I};function $(m,h,x){x.negative=h.negative^m.negative,x.length=m.length+h.length;for(var I=0,R=0,g=0;g<x.length-1;g++){var r=R;R=0;for(var w=67108863&I,V=Math.min(g,h.length-1),N=Math.max(0,g-m.length+1);N<=V;N++){var Y=g-N,Xe=(0|m.words[Y])*(0|h.words[N]),dt=67108863&Xe;w=67108863&(dt=dt+w|0),R+=(r=(r=r+(Xe/67108864|0)|0)+(dt>>>26)|0)>>>26,r&=67108863}x.words[g]=w,I=r,r=R}return 0!==I?x.words[g]=I:x.length--,x._strip()}function ae(m,h,x){return $(m,h,x)}function he(m,h){this.x=m,this.y=h}Math.imul||(X=Z),l.prototype.mulTo=function(h,x){var R=this.length+h.length;return 10===this.length&&10===h.length?X(this,h,x):R<63?Z(this,h,x):R<1024?$(this,h,x):ae(this,h,x)},he.prototype.makeRBT=function(h){for(var x=new Array(h),I=l.prototype._countBits(h)-1,R=0;R<h;R++)x[R]=this.revBin(R,I,h);return x},he.prototype.revBin=function(h,x,I){if(0===h||h===I-1)return h;for(var R=0,g=0;g<x;g++)R|=(1&h)<<x-g-1,h>>=1;return R},he.prototype.permute=function(h,x,I,R,g,r){for(var w=0;w<r;w++)R[w]=x[h[w]],g[w]=I[h[w]]},he.prototype.transform=function(h,x,I,R,g,r){this.permute(r,h,x,I,R,g);for(var w=1;w<g;w<<=1)for(var V=w<<1,N=Math.cos(2*Math.PI/V),Y=Math.sin(2*Math.PI/V),Pe=0;Pe<g;Pe+=V)for(var Ce=N,Xe=Y,dt=0;dt<w;dt++){var Ke=I[Pe+dt],ge=R[Pe+dt],$e=I[Pe+dt+w],Oe=R[Pe+dt+w],Me=Ce*$e-Xe*Oe;Oe=Ce*Oe+Xe*$e,$e=Me,I[Pe+dt]=Ke+$e,R[Pe+dt]=ge+Oe,I[Pe+dt+w]=Ke-$e,R[Pe+dt+w]=ge-Oe,dt!==V&&(Me=N*Ce-Y*Xe,Xe=N*Xe+Y*Ce,Ce=Me)}},he.prototype.guessLen13b=function(h,x){var I=1|Math.max(x,h),R=1&I,g=0;for(I=I/2|0;I;I>>>=1)g++;return 1<<g+1+R},he.prototype.conjugate=function(h,x,I){if(!(I<=1))for(var R=0;R<I/2;R++){var g=h[R];h[R]=h[I-R-1],h[I-R-1]=g,g=x[R],x[R]=-x[I-R-1],x[I-R-1]=-g}},he.prototype.normalize13b=function(h,x){for(var I=0,R=0;R<x/2;R++){var g=8192*Math.round(h[2*R+1]/x)+Math.round(h[2*R]/x)+I;h[R]=67108863&g,I=g<67108864?0:g/67108864|0}return h},he.prototype.convert13b=function(h,x,I,R){for(var g=0,r=0;r<x;r++)g+=0|h[r],I[2*r]=8191&g,g>>>=13,I[2*r+1]=8191&g,g>>>=13;for(r=2*x;r<R;++r)I[r]=0;_(0===g),_(0==(-8192&g))},he.prototype.stub=function(h){for(var x=new Array(h),I=0;I<h;I++)x[I]=0;return x},he.prototype.mulp=function(h,x,I){var R=2*this.guessLen13b(h.length,x.length),g=this.makeRBT(R),r=this.stub(R),w=new Array(R),V=new Array(R),N=new Array(R),Y=new Array(R),Pe=new Array(R),Ce=new Array(R),Xe=I.words;Xe.length=R,this.convert13b(h.words,h.length,w,R),this.convert13b(x.words,x.length,Y,R),this.transform(w,r,V,N,R,g),this.transform(Y,r,Pe,Ce,R,g);for(var dt=0;dt<R;dt++){var Ke=V[dt]*Pe[dt]-N[dt]*Ce[dt];N[dt]=V[dt]*Ce[dt]+N[dt]*Pe[dt],V[dt]=Ke}return this.conjugate(V,N,R),this.transform(V,N,Xe,r,R,g),this.conjugate(Xe,r,R),this.normalize13b(Xe,R),I.negative=h.negative^x.negative,I.length=h.length+x.length,I._strip()},l.prototype.mul=function(h){var x=new l(null);return x.words=new Array(this.length+h.length),this.mulTo(h,x)},l.prototype.mulf=function(h){var x=new l(null);return x.words=new Array(this.length+h.length),ae(this,h,x)},l.prototype.imul=function(h){return this.clone().mulTo(h,this)},l.prototype.imuln=function(h){var x=h<0;x&&(h=-h),_("number"==typeof h),_(h<67108864);for(var I=0,R=0;R<this.length;R++){var g=(0|this.words[R])*h,r=(67108863&g)+(67108863&I);I>>=26,I+=g/67108864|0,I+=r>>>26,this.words[R]=67108863&r}return 0!==I&&(this.words[R]=I,this.length++),x?this.ineg():this},l.prototype.muln=function(h){return this.clone().imuln(h)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(h){var x=function W(m){for(var h=new Array(m.bitLength()),x=0;x<h.length;x++){var I=x/26|0,R=x%26;h[x]=m.words[I]>>>R&1}return h}(h);if(0===x.length)return new l(1);for(var I=this,R=0;R<x.length&&0===x[R];R++,I=I.sqr());if(++R<x.length)for(var g=I.sqr();R<x.length;R++,g=g.sqr())0!==x[R]&&(I=I.mul(g));return I},l.prototype.iushln=function(h){_("number"==typeof h&&h>=0);var g,x=h%26,I=(h-x)/26,R=67108863>>>26-x<<26-x;if(0!==x){var r=0;for(g=0;g<this.length;g++){var w=this.words[g]&R,V=(0|this.words[g])-w<<x;this.words[g]=V|r,r=w>>>26-x}r&&(this.words[g]=r,this.length++)}if(0!==I){for(g=this.length-1;g>=0;g--)this.words[g+I]=this.words[g];for(g=0;g<I;g++)this.words[g]=0;this.length+=I}return this._strip()},l.prototype.ishln=function(h){return _(0===this.negative),this.iushln(h)},l.prototype.iushrn=function(h,x,I){var R;_("number"==typeof h&&h>=0),R=x?(x-x%26)/26:0;var g=h%26,r=Math.min((h-g)/26,this.length),w=67108863^67108863>>>g<<g,V=I;if(R-=r,R=Math.max(0,R),V){for(var N=0;N<r;N++)V.words[N]=this.words[N];V.length=r}if(0!==r)if(this.length>r)for(this.length-=r,N=0;N<this.length;N++)this.words[N]=this.words[N+r];else this.words[0]=0,this.length=1;var Y=0;for(N=this.length-1;N>=0&&(0!==Y||N>=R);N--){var Pe=0|this.words[N];this.words[N]=Y<<26-g|Pe>>>g,Y=Pe&w}return V&&0!==Y&&(V.words[V.length++]=Y),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},l.prototype.ishrn=function(h,x,I){return _(0===this.negative),this.iushrn(h,x,I)},l.prototype.shln=function(h){return this.clone().ishln(h)},l.prototype.ushln=function(h){return this.clone().iushln(h)},l.prototype.shrn=function(h){return this.clone().ishrn(h)},l.prototype.ushrn=function(h){return this.clone().iushrn(h)},l.prototype.testn=function(h){_("number"==typeof h&&h>=0);var x=h%26,I=(h-x)/26,R=1<<x;return!(this.length<=I)&&!!(this.words[I]&R)},l.prototype.imaskn=function(h){_("number"==typeof h&&h>=0);var x=h%26,I=(h-x)/26;if(_(0===this.negative,"imaskn works only with positive numbers"),this.length<=I)return this;if(0!==x&&I++,this.length=Math.min(I,this.length),0!==x){var R=67108863^67108863>>>x<<x;this.words[this.length-1]&=R}return this._strip()},l.prototype.maskn=function(h){return this.clone().imaskn(h)},l.prototype.iaddn=function(h){return _("number"==typeof h),_(h<67108864),h<0?this.isubn(-h):0!==this.negative?1===this.length&&(0|this.words[0])<=h?(this.words[0]=h-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(h),this.negative=1,this):this._iaddn(h)},l.prototype._iaddn=function(h){this.words[0]+=h;for(var x=0;x<this.length&&this.words[x]>=67108864;x++)this.words[x]-=67108864,x===this.length-1?this.words[x+1]=1:this.words[x+1]++;return this.length=Math.max(this.length,x+1),this},l.prototype.isubn=function(h){if(_("number"==typeof h),_(h<67108864),h<0)return this.iaddn(-h);if(0!==this.negative)return this.negative=0,this.iaddn(h),this.negative=1,this;if(this.words[0]-=h,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var x=0;x<this.length&&this.words[x]<0;x++)this.words[x]+=67108864,this.words[x+1]-=1;return this._strip()},l.prototype.addn=function(h){return this.clone().iaddn(h)},l.prototype.subn=function(h){return this.clone().isubn(h)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(h,x,I){var g,R=h.length+I;this._expand(R);var r,w=0;for(g=0;g<h.length;g++){r=(0|this.words[g+I])+w;var V=(0|h.words[g])*x;w=((r-=67108863&V)>>26)-(V/67108864|0),this.words[g+I]=67108863&r}for(;g<this.length-I;g++)w=(r=(0|this.words[g+I])+w)>>26,this.words[g+I]=67108863&r;if(0===w)return this._strip();for(_(-1===w),w=0,g=0;g<this.length;g++)w=(r=-(0|this.words[g])+w)>>26,this.words[g]=67108863&r;return this.negative=1,this._strip()},l.prototype._wordDiv=function(h,x){var I=(this.length,h.length),R=this.clone(),g=h,r=0|g.words[g.length-1];0!==(I=26-this._countBits(r))&&(g=g.ushln(I),R.iushln(I),r=0|g.words[g.length-1]);var N,V=R.length-g.length;if("mod"!==x){(N=new l(null)).length=V+1,N.words=new Array(N.length);for(var Y=0;Y<N.length;Y++)N.words[Y]=0}var Pe=R.clone()._ishlnsubmul(g,1,V);0===Pe.negative&&(R=Pe,N&&(N.words[V]=1));for(var Ce=V-1;Ce>=0;Ce--){var Xe=67108864*(0|R.words[g.length+Ce])+(0|R.words[g.length+Ce-1]);for(Xe=Math.min(Xe/r|0,67108863),R._ishlnsubmul(g,Xe,Ce);0!==R.negative;)Xe--,R.negative=0,R._ishlnsubmul(g,1,Ce),R.isZero()||(R.negative^=1);N&&(N.words[Ce]=Xe)}return N&&N._strip(),R._strip(),"div"!==x&&0!==I&&R.iushrn(I),{div:N||null,mod:R}},l.prototype.divmod=function(h,x,I){return _(!h.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===h.negative?(r=this.neg().divmod(h,x),"mod"!==x&&(R=r.div.neg()),"div"!==x&&(g=r.mod.neg(),I&&0!==g.negative&&g.iadd(h)),{div:R,mod:g}):0===this.negative&&0!==h.negative?(r=this.divmod(h.neg(),x),"mod"!==x&&(R=r.div.neg()),{div:R,mod:r.mod}):0!=(this.negative&h.negative)?(r=this.neg().divmod(h.neg(),x),"div"!==x&&(g=r.mod.neg(),I&&0!==g.negative&&g.isub(h)),{div:r.div,mod:g}):h.length>this.length||this.cmp(h)<0?{div:new l(0),mod:this}:1===h.length?"div"===x?{div:this.divn(h.words[0]),mod:null}:"mod"===x?{div:null,mod:new l(this.modrn(h.words[0]))}:{div:this.divn(h.words[0]),mod:new l(this.modrn(h.words[0]))}:this._wordDiv(h,x);var R,g,r},l.prototype.div=function(h){return this.divmod(h,"div",!1).div},l.prototype.mod=function(h){return this.divmod(h,"mod",!1).mod},l.prototype.umod=function(h){return this.divmod(h,"mod",!0).mod},l.prototype.divRound=function(h){var x=this.divmod(h);if(x.mod.isZero())return x.div;var I=0!==x.div.negative?x.mod.isub(h):x.mod,R=h.ushrn(1),g=h.andln(1),r=I.cmp(R);return r<0||1===g&&0===r?x.div:0!==x.div.negative?x.div.isubn(1):x.div.iaddn(1)},l.prototype.modrn=function(h){var x=h<0;x&&(h=-h),_(h<=67108863);for(var I=(1<<26)%h,R=0,g=this.length-1;g>=0;g--)R=(I*R+(0|this.words[g]))%h;return x?-R:R},l.prototype.modn=function(h){return this.modrn(h)},l.prototype.idivn=function(h){var x=h<0;x&&(h=-h),_(h<=67108863);for(var I=0,R=this.length-1;R>=0;R--){var g=(0|this.words[R])+67108864*I;this.words[R]=g/h|0,I=g%h}return this._strip(),x?this.ineg():this},l.prototype.divn=function(h){return this.clone().idivn(h)},l.prototype.egcd=function(h){_(0===h.negative),_(!h.isZero());var x=this,I=h.clone();x=0!==x.negative?x.umod(h):x.clone();for(var R=new l(1),g=new l(0),r=new l(0),w=new l(1),V=0;x.isEven()&&I.isEven();)x.iushrn(1),I.iushrn(1),++V;for(var N=I.clone(),Y=x.clone();!x.isZero();){for(var Pe=0,Ce=1;0==(x.words[0]&Ce)&&Pe<26;++Pe,Ce<<=1);if(Pe>0)for(x.iushrn(Pe);Pe-- >0;)(R.isOdd()||g.isOdd())&&(R.iadd(N),g.isub(Y)),R.iushrn(1),g.iushrn(1);for(var Xe=0,dt=1;0==(I.words[0]&dt)&&Xe<26;++Xe,dt<<=1);if(Xe>0)for(I.iushrn(Xe);Xe-- >0;)(r.isOdd()||w.isOdd())&&(r.iadd(N),w.isub(Y)),r.iushrn(1),w.iushrn(1);x.cmp(I)>=0?(x.isub(I),R.isub(r),g.isub(w)):(I.isub(x),r.isub(R),w.isub(g))}return{a:r,b:w,gcd:I.iushln(V)}},l.prototype._invmp=function(h){_(0===h.negative),_(!h.isZero());var Pe,x=this,I=h.clone();x=0!==x.negative?x.umod(h):x.clone();for(var R=new l(1),g=new l(0),r=I.clone();x.cmpn(1)>0&&I.cmpn(1)>0;){for(var w=0,V=1;0==(x.words[0]&V)&&w<26;++w,V<<=1);if(w>0)for(x.iushrn(w);w-- >0;)R.isOdd()&&R.iadd(r),R.iushrn(1);for(var N=0,Y=1;0==(I.words[0]&Y)&&N<26;++N,Y<<=1);if(N>0)for(I.iushrn(N);N-- >0;)g.isOdd()&&g.iadd(r),g.iushrn(1);x.cmp(I)>=0?(x.isub(I),R.isub(g)):(I.isub(x),g.isub(R))}return(Pe=0===x.cmpn(1)?R:g).cmpn(0)<0&&Pe.iadd(h),Pe},l.prototype.gcd=function(h){if(this.isZero())return h.abs();if(h.isZero())return this.abs();var x=this.clone(),I=h.clone();x.negative=0,I.negative=0;for(var R=0;x.isEven()&&I.isEven();R++)x.iushrn(1),I.iushrn(1);for(;;){for(;x.isEven();)x.iushrn(1);for(;I.isEven();)I.iushrn(1);var g=x.cmp(I);if(g<0){var r=x;x=I,I=r}else if(0===g||0===I.cmpn(1))break;x.isub(I)}return I.iushln(R)},l.prototype.invm=function(h){return this.egcd(h).a.umod(h)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(h){return this.words[0]&h},l.prototype.bincn=function(h){_("number"==typeof h);var x=h%26,I=(h-x)/26,R=1<<x;if(this.length<=I)return this._expand(I+1),this.words[I]|=R,this;for(var g=R,r=I;0!==g&&r<this.length;r++){var w=0|this.words[r];g=(w+=g)>>>26,w&=67108863,this.words[r]=w}return 0!==g&&(this.words[r]=g,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(h){var I,x=h<0;if(0!==this.negative&&!x)return-1;if(0===this.negative&&x)return 1;if(this._strip(),this.length>1)I=1;else{x&&(h=-h),_(h<=67108863,"Number is too big");var R=0|this.words[0];I=R===h?0:R<h?-1:1}return 0!==this.negative?0|-I:I},l.prototype.cmp=function(h){if(0!==this.negative&&0===h.negative)return-1;if(0===this.negative&&0!==h.negative)return 1;var x=this.ucmp(h);return 0!==this.negative?0|-x:x},l.prototype.ucmp=function(h){if(this.length>h.length)return 1;if(this.length<h.length)return-1;for(var x=0,I=this.length-1;I>=0;I--){var R=0|this.words[I],g=0|h.words[I];if(R!==g){R<g?x=-1:R>g&&(x=1);break}}return x},l.prototype.gtn=function(h){return 1===this.cmpn(h)},l.prototype.gt=function(h){return 1===this.cmp(h)},l.prototype.gten=function(h){return this.cmpn(h)>=0},l.prototype.gte=function(h){return this.cmp(h)>=0},l.prototype.ltn=function(h){return-1===this.cmpn(h)},l.prototype.lt=function(h){return-1===this.cmp(h)},l.prototype.lten=function(h){return this.cmpn(h)<=0},l.prototype.lte=function(h){return this.cmp(h)<=0},l.prototype.eqn=function(h){return 0===this.cmpn(h)},l.prototype.eq=function(h){return 0===this.cmp(h)},l.red=function(h){return new i(h)},l.prototype.toRed=function(h){return _(!this.red,"Already a number in reduction context"),_(0===this.negative,"red works only with positives"),h.convertTo(this)._forceRed(h)},l.prototype.fromRed=function(){return _(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(h){return this.red=h,this},l.prototype.forceRed=function(h){return _(!this.red,"Already a number in reduction context"),this._forceRed(h)},l.prototype.redAdd=function(h){return _(this.red,"redAdd works only with red numbers"),this.red.add(this,h)},l.prototype.redIAdd=function(h){return _(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,h)},l.prototype.redSub=function(h){return _(this.red,"redSub works only with red numbers"),this.red.sub(this,h)},l.prototype.redISub=function(h){return _(this.red,"redISub works only with red numbers"),this.red.isub(this,h)},l.prototype.redShl=function(h){return _(this.red,"redShl works only with red numbers"),this.red.shl(this,h)},l.prototype.redMul=function(h){return _(this.red,"redMul works only with red numbers"),this.red._verify2(this,h),this.red.mul(this,h)},l.prototype.redIMul=function(h){return _(this.red,"redMul works only with red numbers"),this.red._verify2(this,h),this.red.imul(this,h)},l.prototype.redSqr=function(){return _(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return _(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return _(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return _(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return _(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(h){return _(this.red&&!h.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,h)};var se={k256:null,p224:null,p192:null,p25519:null};function pe(m,h){this.name=m,this.p=new l(h,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function le(){pe.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function re(){pe.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function fe(){pe.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function T(){pe.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function i(m){if("string"==typeof m){var h=l._prime(m);this.m=h.p,this.prime=h}else _(m.gtn(1),"modulus must be greater than 1"),this.m=m,this.prime=null}function o(m){i.call(this,m),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}pe.prototype._tmp=function(){var h=new l(null);return h.words=new Array(Math.ceil(this.n/13)),h},pe.prototype.ireduce=function(h){var I,x=h;do{this.split(x,this.tmp),I=(x=(x=this.imulK(x)).iadd(this.tmp)).bitLength()}while(I>this.n);var R=I<this.n?-1:x.ucmp(this.p);return 0===R?(x.words[0]=0,x.length=1):R>0?x.isub(this.p):void 0!==x.strip?x.strip():x._strip(),x},pe.prototype.split=function(h,x){h.iushrn(this.n,0,x)},pe.prototype.imulK=function(h){return h.imul(this.k)},O(le,pe),le.prototype.split=function(h,x){for(var I=4194303,R=Math.min(h.length,9),g=0;g<R;g++)x.words[g]=h.words[g];if(x.length=R,h.length<=9)return h.words[0]=0,void(h.length=1);var r=h.words[9];for(x.words[x.length++]=r&I,g=10;g<h.length;g++){var w=0|h.words[g];h.words[g-10]=(w&I)<<4|r>>>22,r=w}r>>>=22,h.words[g-10]=r,0===r&&h.length>10?h.length-=10:h.length-=9},le.prototype.imulK=function(h){h.words[h.length]=0,h.words[h.length+1]=0,h.length+=2;for(var x=0,I=0;I<h.length;I++){var R=0|h.words[I];x+=977*R,h.words[I]=67108863&x,x=64*R+(x/67108864|0)}return 0===h.words[h.length-1]&&(h.length--,0===h.words[h.length-1]&&h.length--),h},O(re,pe),O(fe,pe),O(T,pe),T.prototype.imulK=function(h){for(var x=0,I=0;I<h.length;I++){var R=19*(0|h.words[I])+x,g=67108863&R;R>>>=26,h.words[I]=g,x=R}return 0!==x&&(h.words[h.length++]=x),h},l._prime=function(h){if(se[h])return se[h];var x;if("k256"===h)x=new le;else if("p224"===h)x=new re;else if("p192"===h)x=new fe;else{if("p25519"!==h)throw new Error("Unknown prime "+h);x=new T}return se[h]=x,x},i.prototype._verify1=function(h){_(0===h.negative,"red works only with positives"),_(h.red,"red works only with red numbers")},i.prototype._verify2=function(h,x){_(0==(h.negative|x.negative),"red works only with positives"),_(h.red&&h.red===x.red,"red works only with red numbers")},i.prototype.imod=function(h){return this.prime?this.prime.ireduce(h)._forceRed(this):(L(h,h.umod(this.m)._forceRed(this)),h)},i.prototype.neg=function(h){return h.isZero()?h.clone():this.m.sub(h)._forceRed(this)},i.prototype.add=function(h,x){this._verify2(h,x);var I=h.add(x);return I.cmp(this.m)>=0&&I.isub(this.m),I._forceRed(this)},i.prototype.iadd=function(h,x){this._verify2(h,x);var I=h.iadd(x);return I.cmp(this.m)>=0&&I.isub(this.m),I},i.prototype.sub=function(h,x){this._verify2(h,x);var I=h.sub(x);return I.cmpn(0)<0&&I.iadd(this.m),I._forceRed(this)},i.prototype.isub=function(h,x){this._verify2(h,x);var I=h.isub(x);return I.cmpn(0)<0&&I.iadd(this.m),I},i.prototype.shl=function(h,x){return this._verify1(h),this.imod(h.ushln(x))},i.prototype.imul=function(h,x){return this._verify2(h,x),this.imod(h.imul(x))},i.prototype.mul=function(h,x){return this._verify2(h,x),this.imod(h.mul(x))},i.prototype.isqr=function(h){return this.imul(h,h.clone())},i.prototype.sqr=function(h){return this.mul(h,h)},i.prototype.sqrt=function(h){if(h.isZero())return h.clone();var x=this.m.andln(3);if(_(x%2==1),3===x){var I=this.m.add(new l(1)).iushrn(2);return this.pow(h,I)}for(var R=this.m.subn(1),g=0;!R.isZero()&&0===R.andln(1);)g++,R.iushrn(1);_(!R.isZero());var r=new l(1).toRed(this),w=r.redNeg(),V=this.m.subn(1).iushrn(1),N=this.m.bitLength();for(N=new l(2*N*N).toRed(this);0!==this.pow(N,V).cmp(w);)N.redIAdd(w);for(var Y=this.pow(N,R),Pe=this.pow(h,R.addn(1).iushrn(1)),Ce=this.pow(h,R),Xe=g;0!==Ce.cmp(r);){for(var dt=Ce,Ke=0;0!==dt.cmp(r);Ke++)dt=dt.redSqr();_(Ke<Xe);var ge=this.pow(Y,new l(1).iushln(Xe-Ke-1));Pe=Pe.redMul(ge),Y=ge.redSqr(),Ce=Ce.redMul(Y),Xe=Ke}return Pe},i.prototype.invm=function(h){var x=h._invmp(this.m);return 0!==x.negative?(x.negative=0,this.imod(x).redNeg()):this.imod(x)},i.prototype.pow=function(h,x){if(x.isZero())return new l(1).toRed(this);if(0===x.cmpn(1))return h.clone();var R=new Array(16);R[0]=new l(1).toRed(this),R[1]=h;for(var g=2;g<R.length;g++)R[g]=this.mul(R[g-1],h);var r=R[0],w=0,V=0,N=x.bitLength()%26;for(0===N&&(N=26),g=x.length-1;g>=0;g--){for(var Y=x.words[g],Pe=N-1;Pe>=0;Pe--){var Ce=Y>>Pe&1;(r!==R[0]&&(r=this.sqr(r)),0!==Ce||0!==w)?(w<<=1,w|=Ce,(4===++V||0===g&&0===Pe)&&(r=this.mul(r,R[w]),V=0,w=0)):V=0}N=26}return r},i.prototype.convertTo=function(h){var x=h.umod(this.m);return x===h?x.clone():x},i.prototype.convertFrom=function(h){var x=h.clone();return x.red=null,x},l.mont=function(h){return new o(h)},O(o,i),o.prototype.convertTo=function(h){return this.imod(h.ushln(this.shift))},o.prototype.convertFrom=function(h){var x=this.imod(h.mul(this.rinv));return x.red=null,x},o.prototype.imul=function(h,x){if(h.isZero()||x.isZero())return h.words[0]=0,h.length=1,h;var I=h.imul(x),R=I.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),g=I.isub(R).iushrn(this.shift),r=g;return g.cmp(this.m)>=0?r=g.isub(this.m):g.cmpn(0)<0&&(r=g.iadd(this.m)),r._forceRed(this)},o.prototype.mul=function(h,x){if(h.isZero()||x.isZero())return new l(0)._forceRed(this);var I=h.mul(x),R=I.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),g=I.isub(R).iushrn(this.shift),r=g;return g.cmp(this.m)>=0?r=g.isub(this.m):g.cmpn(0)<0&&(r=g.iadd(this.m)),r._forceRed(this)},o.prototype.invm=function(h){return this.imod(h._invmp(this.m).mul(this.r2))._forceRed(this)}})(Ye=f.nmd(Ye),this)},340:(Ye,J,f)=>{var e;function t(O){this.rand=O}if(Ye.exports=function(l){return e||(e=new t(null)),e.generate(l)},Ye.exports.Rand=t,t.prototype.generate=function(l){return this._rand(l)},t.prototype._rand=function(l){if(this.rand.getBytes)return this.rand.getBytes(l);for(var C=new Uint8Array(l),u=0;u<C.length;u++)C[u]=this.rand.getByte();return C},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?t.prototype._rand=function(l){var C=new Uint8Array(l);return self.crypto.getRandomValues(C),C}:self.msCrypto&&self.msCrypto.getRandomValues?t.prototype._rand=function(l){var C=new Uint8Array(l);return self.msCrypto.getRandomValues(C),C}:"object"==typeof window&&(t.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var _=f(9501);if("function"!=typeof _.randomBytes)throw new Error("Not supported");t.prototype._rand=function(l){return _.randomBytes(l)}}catch{}},7560:(Ye,J,f)=>{var e=f(9708).Buffer;function t(P){e.isBuffer(P)||(P=e.from(P));for(var p=P.length/4|0,L=new Array(p),D=0;D<p;D++)L[D]=P.readUInt32BE(4*D);return L}function _(P){for(;0<P.length;P++)P[0]=0}function O(P,p,L,D,k){for(var he,se,pe,le,M=L[0],z=L[1],A=L[2],W=L[3],Z=P[0]^p[0],X=P[1]^p[1],$=P[2]^p[2],ae=P[3]^p[3],re=4,fe=1;fe<k;fe++)he=M[Z>>>24]^z[X>>>16&255]^A[$>>>8&255]^W[255&ae]^p[re++],se=M[X>>>24]^z[$>>>16&255]^A[ae>>>8&255]^W[255&Z]^p[re++],pe=M[$>>>24]^z[ae>>>16&255]^A[Z>>>8&255]^W[255&X]^p[re++],le=M[ae>>>24]^z[Z>>>16&255]^A[X>>>8&255]^W[255&$]^p[re++],Z=he,X=se,$=pe,ae=le;return he=(D[Z>>>24]<<24|D[X>>>16&255]<<16|D[$>>>8&255]<<8|D[255&ae])^p[re++],se=(D[X>>>24]<<24|D[$>>>16&255]<<16|D[ae>>>8&255]<<8|D[255&Z])^p[re++],pe=(D[$>>>24]<<24|D[ae>>>16&255]<<16|D[Z>>>8&255]<<8|D[255&X])^p[re++],le=(D[ae>>>24]<<24|D[Z>>>16&255]<<16|D[X>>>8&255]<<8|D[255&$])^p[re++],[he>>>=0,se>>>=0,pe>>>=0,le>>>=0]}var l=[0,1,2,4,8,16,32,64,128,27,54],C=function(){for(var P=new Array(256),p=0;p<256;p++)P[p]=p<128?p<<1:p<<1^283;for(var L=[],D=[],k=[[],[],[],[]],M=[[],[],[],[]],z=0,A=0,W=0;W<256;++W){var Z=A^A<<1^A<<2^A<<3^A<<4;Z=Z>>>8^255&Z^99,L[z]=Z,D[Z]=z;var X=P[z],$=P[X],ae=P[$],he=257*P[Z]^16843008*Z;k[0][z]=he<<24|he>>>8,k[1][z]=he<<16|he>>>16,k[2][z]=he<<8|he>>>24,k[3][z]=he,he=16843009*ae^65537*$^257*X^16843008*z,M[0][Z]=he<<24|he>>>8,M[1][Z]=he<<16|he>>>16,M[2][Z]=he<<8|he>>>24,M[3][Z]=he,0===z?z=A=1:(z=X^P[P[P[ae^X]]],A^=P[P[A]])}return{SBOX:L,INV_SBOX:D,SUB_MIX:k,INV_SUB_MIX:M}}();function u(P){this._key=t(P),this._reset()}u.blockSize=16,u.keySize=32,u.prototype.blockSize=u.blockSize,u.prototype.keySize=u.keySize,u.prototype._reset=function(){for(var P=this._key,p=P.length,L=p+6,D=4*(L+1),k=[],M=0;M<p;M++)k[M]=P[M];for(M=p;M<D;M++){var z=k[M-1];M%p==0?(z=z<<8|z>>>24,z=C.SBOX[z>>>24]<<24|C.SBOX[z>>>16&255]<<16|C.SBOX[z>>>8&255]<<8|C.SBOX[255&z],z^=l[M/p|0]<<24):p>6&&M%p==4&&(z=C.SBOX[z>>>24]<<24|C.SBOX[z>>>16&255]<<16|C.SBOX[z>>>8&255]<<8|C.SBOX[255&z]),k[M]=k[M-p]^z}for(var A=[],W=0;W<D;W++){var Z=D-W,X=k[Z-(W%4?0:4)];A[W]=W<4||Z<=4?X:C.INV_SUB_MIX[0][C.SBOX[X>>>24]]^C.INV_SUB_MIX[1][C.SBOX[X>>>16&255]]^C.INV_SUB_MIX[2][C.SBOX[X>>>8&255]]^C.INV_SUB_MIX[3][C.SBOX[255&X]]}this._nRounds=L,this._keySchedule=k,this._invKeySchedule=A},u.prototype.encryptBlockRaw=function(P){return O(P=t(P),this._keySchedule,C.SUB_MIX,C.SBOX,this._nRounds)},u.prototype.encryptBlock=function(P){var p=this.encryptBlockRaw(P),L=e.allocUnsafe(16);return L.writeUInt32BE(p[0],0),L.writeUInt32BE(p[1],4),L.writeUInt32BE(p[2],8),L.writeUInt32BE(p[3],12),L},u.prototype.decryptBlock=function(P){var p=(P=t(P))[1];P[1]=P[3],P[3]=p;var L=O(P,this._invKeySchedule,C.INV_SUB_MIX,C.INV_SBOX,this._nRounds),D=e.allocUnsafe(16);return D.writeUInt32BE(L[0],0),D.writeUInt32BE(L[3],4),D.writeUInt32BE(L[2],8),D.writeUInt32BE(L[1],12),D},u.prototype.scrub=function(){_(this._keySchedule),_(this._invKeySchedule),_(this._key)},Ye.exports.AES=u},7105:(Ye,J,f)=>{var e=f(7560),t=f(9708).Buffer,_=f(3735),O=f(5035),l=f(5045),C=f(7702),u=f(9305);function L(D,k,M,z){_.call(this);var A=t.alloc(4,0);this._cipher=new e.AES(k);var W=this._cipher.encryptBlock(A);this._ghash=new l(W),M=function p(D,k,M){if(12===k.length)return D._finID=t.concat([k,t.from([0,0,0,1])]),t.concat([k,t.from([0,0,0,2])]);var z=new l(M),A=k.length,W=A%16;z.update(k),W&&(W=16-W,z.update(t.alloc(W,0))),z.update(t.alloc(8,0));var Z=8*A,X=t.alloc(8);X.writeUIntBE(Z,0,8),z.update(X),D._finID=z.state;var $=t.from(D._finID);return u($),$}(this,M,W),this._prev=t.from(M),this._cache=t.allocUnsafe(0),this._secCache=t.allocUnsafe(0),this._decrypt=z,this._alen=0,this._len=0,this._mode=D,this._authTag=null,this._called=!1}O(L,_),L.prototype._update=function(D){if(!this._called&&this._alen){var k=16-this._alen%16;k<16&&(k=t.alloc(k,0),this._ghash.update(k))}this._called=!0;var M=this._mode.encrypt(this,D);return this._decrypt?this._ghash.update(D):this._ghash.update(M),this._len+=D.length,M},L.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var D=C(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function P(D,k){var M=0;D.length!==k.length&&M++;for(var z=Math.min(D.length,k.length),A=0;A<z;++A)M+=D[A]^k[A];return M}(D,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=D,this._cipher.scrub()},L.prototype.getAuthTag=function(){if(this._decrypt||!t.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},L.prototype.setAuthTag=function(k){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=k},L.prototype.setAAD=function(k){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(k),this._alen+=k.length},Ye.exports=L},3170:(Ye,J,f)=>{var e=f(9185),t=f(8991),_=f(4946);J.createCipher=J.Cipher=e.createCipher,J.createCipheriv=J.Cipheriv=e.createCipheriv,J.createDecipher=J.Decipher=t.createDecipher,J.createDecipheriv=J.Decipheriv=t.createDecipheriv,J.listCiphers=J.getCiphers=function O(){return Object.keys(_)}},8991:(Ye,J,f)=>{var e=f(7105),t=f(9708).Buffer,_=f(7129),O=f(3217),l=f(3735),C=f(7560),u=f(153);function p(z,A,W){l.call(this),this._cache=new L,this._last=void 0,this._cipher=new C.AES(A),this._prev=t.from(W),this._mode=z,this._autopadding=!0}function L(){this.cache=t.allocUnsafe(0)}function k(z,A,W){var Z=_[z.toLowerCase()];if(!Z)throw new TypeError("invalid suite type");if("string"==typeof W&&(W=t.from(W)),"GCM"!==Z.mode&&W.length!==Z.iv)throw new TypeError("invalid iv length "+W.length);if("string"==typeof A&&(A=t.from(A)),A.length!==Z.key/8)throw new TypeError("invalid key length "+A.length);return"stream"===Z.type?new O(Z.module,A,W,!0):"auth"===Z.type?new e(Z.module,A,W,!0):new p(Z.module,A,W)}f(5035)(p,l),p.prototype._update=function(z){this._cache.add(z);for(var A,W,Z=[];A=this._cache.get(this._autopadding);)W=this._mode.decrypt(this,A),Z.push(W);return t.concat(Z)},p.prototype._final=function(){var z=this._cache.flush();if(this._autopadding)return function D(z){var A=z[15];if(A<1||A>16)throw new Error("unable to decrypt data");for(var W=-1;++W<A;)if(z[W+(16-A)]!==A)throw new Error("unable to decrypt data");if(16!==A)return z.slice(0,16-A)}(this._mode.decrypt(this,z));if(z)throw new Error("data not multiple of block length")},p.prototype.setAutoPadding=function(z){return this._autopadding=!!z,this},L.prototype.add=function(z){this.cache=t.concat([this.cache,z])},L.prototype.get=function(z){var A;if(z){if(this.cache.length>16)return A=this.cache.slice(0,16),this.cache=this.cache.slice(16),A}else if(this.cache.length>=16)return A=this.cache.slice(0,16),this.cache=this.cache.slice(16),A;return null},L.prototype.flush=function(){if(this.cache.length)return this.cache},J.createDecipher=function M(z,A){var W=_[z.toLowerCase()];if(!W)throw new TypeError("invalid suite type");var Z=u(A,!1,W.key,W.iv);return k(z,Z.key,Z.iv)},J.createDecipheriv=k},9185:(Ye,J,f)=>{var e=f(7129),t=f(7105),_=f(9708).Buffer,O=f(3217),l=f(3735),C=f(7560),u=f(153);function p(z,A,W){l.call(this),this._cache=new D,this._cipher=new C.AES(A),this._prev=_.from(W),this._mode=z,this._autopadding=!0}f(5035)(p,l),p.prototype._update=function(z){this._cache.add(z);for(var A,W,Z=[];A=this._cache.get();)W=this._mode.encrypt(this,A),Z.push(W);return _.concat(Z)};var L=_.alloc(16,16);function D(){this.cache=_.allocUnsafe(0)}function k(z,A,W){var Z=e[z.toLowerCase()];if(!Z)throw new TypeError("invalid suite type");if("string"==typeof A&&(A=_.from(A)),A.length!==Z.key/8)throw new TypeError("invalid key length "+A.length);if("string"==typeof W&&(W=_.from(W)),"GCM"!==Z.mode&&W.length!==Z.iv)throw new TypeError("invalid iv length "+W.length);return"stream"===Z.type?new O(Z.module,A,W):"auth"===Z.type?new t(Z.module,A,W):new p(Z.module,A,W)}p.prototype._final=function(){var z=this._cache.flush();if(this._autopadding)return z=this._mode.encrypt(this,z),this._cipher.scrub(),z;if(!z.equals(L))throw this._cipher.scrub(),new Error("data not multiple of block length")},p.prototype.setAutoPadding=function(z){return this._autopadding=!!z,this},D.prototype.add=function(z){this.cache=_.concat([this.cache,z])},D.prototype.get=function(){if(this.cache.length>15){var z=this.cache.slice(0,16);return this.cache=this.cache.slice(16),z}return null},D.prototype.flush=function(){for(var z=16-this.cache.length,A=_.allocUnsafe(z),W=-1;++W<z;)A.writeUInt8(z,W);return _.concat([this.cache,A])},J.createCipheriv=k,J.createCipher=function M(z,A){var W=e[z.toLowerCase()];if(!W)throw new TypeError("invalid suite type");var Z=u(A,!1,W.key,W.iv);return k(z,Z.key,Z.iv)}},5045:(Ye,J,f)=>{var e=f(9708).Buffer,t=e.alloc(16,0);function O(C){var u=e.allocUnsafe(16);return u.writeUInt32BE(C[0]>>>0,0),u.writeUInt32BE(C[1]>>>0,4),u.writeUInt32BE(C[2]>>>0,8),u.writeUInt32BE(C[3]>>>0,12),u}function l(C){this.h=C,this.state=e.alloc(16,0),this.cache=e.allocUnsafe(0)}l.prototype.ghash=function(C){for(var u=-1;++u<C.length;)this.state[u]^=C[u];this._multiply()},l.prototype._multiply=function(){for(var P,L,C=function _(C){return[C.readUInt32BE(0),C.readUInt32BE(4),C.readUInt32BE(8),C.readUInt32BE(12)]}(this.h),u=[0,0,0,0],D=-1;++D<128;){for(0!=(this.state[~~(D/8)]&1<<7-D%8)&&(u[0]^=C[0],u[1]^=C[1],u[2]^=C[2],u[3]^=C[3]),L=0!=(1&C[3]),P=3;P>0;P--)C[P]=C[P]>>>1|(1&C[P-1])<<31;C[0]=C[0]>>>1,L&&(C[0]=C[0]^225<<24)}this.state=O(u)},l.prototype.update=function(C){this.cache=e.concat([this.cache,C]);for(var u;this.cache.length>=16;)u=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(u)},l.prototype.final=function(C,u){return this.cache.length&&this.ghash(e.concat([this.cache,t],16)),this.ghash(O([0,C,0,u])),this.state},Ye.exports=l},9305:Ye=>{Ye.exports=function J(f){for(var t,e=f.length;e--;){if(255!==(t=f.readUInt8(e))){t++,f.writeUInt8(t,e);break}f.writeUInt8(0,e)}}},237:(Ye,J,f)=>{var e=f(7702);J.encrypt=function(t,_){var O=e(_,t._prev);return t._prev=t._cipher.encryptBlock(O),t._prev},J.decrypt=function(t,_){var O=t._prev;t._prev=_;var l=t._cipher.decryptBlock(_);return e(l,O)}},9572:(Ye,J,f)=>{var e=f(9708).Buffer,t=f(7702);function _(O,l,C){var u=l.length,P=t(l,O._cache);return O._cache=O._cache.slice(u),O._prev=e.concat([O._prev,C?l:P]),P}J.encrypt=function(O,l,C){for(var P,u=e.allocUnsafe(0);l.length;){if(0===O._cache.length&&(O._cache=O._cipher.encryptBlock(O._prev),O._prev=e.allocUnsafe(0)),!(O._cache.length<=l.length)){u=e.concat([u,_(O,l,C)]);break}P=O._cache.length,u=e.concat([u,_(O,l.slice(0,P),C)]),l=l.slice(P)}return u}},3989:(Ye,J,f)=>{var e=f(9708).Buffer;function t(O,l,C){for(var D,k,P=-1,L=0;++P<8;)D=l&1<<7-P?128:0,L+=(128&(k=O._cipher.encryptBlock(O._prev)[0]^D))>>P%8,O._prev=_(O._prev,C?D:k);return L}function _(O,l){var C=O.length,u=-1,P=e.allocUnsafe(O.length);for(O=e.concat([O,e.from([l])]);++u<C;)P[u]=O[u]<<1|O[u+1]>>7;return P}J.encrypt=function(O,l,C){for(var u=l.length,P=e.allocUnsafe(u),p=-1;++p<u;)P[p]=t(O,l[p],C);return P}},4164:(Ye,J,f)=>{var e=f(9708).Buffer;function t(_,O,l){var u=_._cipher.encryptBlock(_._prev)[0]^O;return _._prev=e.concat([_._prev.slice(1),e.from([l?O:u])]),u}J.encrypt=function(_,O,l){for(var C=O.length,u=e.allocUnsafe(C),P=-1;++P<C;)u[P]=t(_,O[P],l);return u}},5924:(Ye,J,f)=>{var e=f(7702),t=f(9708).Buffer,_=f(9305);function O(C){var u=C._cipher.encryptBlockRaw(C._prev);return _(C._prev),u}J.encrypt=function(C,u){var P=Math.ceil(u.length/16),p=C._cache.length;C._cache=t.concat([C._cache,t.allocUnsafe(16*P)]);for(var L=0;L<P;L++){var D=O(C),k=p+16*L;C._cache.writeUInt32BE(D[0],k+0),C._cache.writeUInt32BE(D[1],k+4),C._cache.writeUInt32BE(D[2],k+8),C._cache.writeUInt32BE(D[3],k+12)}var M=C._cache.slice(0,u.length);return C._cache=C._cache.slice(u.length),e(u,M)}},323:(Ye,J)=>{J.encrypt=function(f,e){return f._cipher.encryptBlock(e)},J.decrypt=function(f,e){return f._cipher.decryptBlock(e)}},7129:(Ye,J,f)=>{var e={ECB:f(323),CBC:f(237),CFB:f(9572),CFB8:f(4164),CFB1:f(3989),OFB:f(6701),CTR:f(5924),GCM:f(5924)},t=f(4946);for(var _ in t)t[_].module=e[t[_].mode];Ye.exports=t},6701:(Ye,J,f)=>{var e=f(7702);function t(_){return _._prev=_._cipher.encryptBlock(_._prev),_._prev}J.encrypt=function(_,O){for(;_._cache.length<O.length;)_._cache=Buffer.concat([_._cache,t(_)]);var l=_._cache.slice(0,O.length);return _._cache=_._cache.slice(O.length),e(O,l)}},3217:(Ye,J,f)=>{var e=f(7560),t=f(9708).Buffer,_=f(3735);function l(C,u,P,p){_.call(this),this._cipher=new e.AES(u),this._prev=t.from(P),this._cache=t.allocUnsafe(0),this._secCache=t.allocUnsafe(0),this._decrypt=p,this._mode=C}f(5035)(l,_),l.prototype._update=function(C){return this._mode.encrypt(this,C,this._decrypt)},l.prototype._final=function(){this._cipher.scrub()},Ye.exports=l},4791:(Ye,J,f)=>{var e=f(7765),t=f(3170),_=f(7129),O=f(2427),l=f(153);function P(D,k,M){if(D=D.toLowerCase(),_[D])return t.createCipheriv(D,k,M);if(O[D])return new e({key:k,iv:M,mode:D});throw new TypeError("invalid suite type")}function p(D,k,M){if(D=D.toLowerCase(),_[D])return t.createDecipheriv(D,k,M);if(O[D])return new e({key:k,iv:M,mode:D,decrypt:!0});throw new TypeError("invalid suite type")}J.createCipher=J.Cipher=function C(D,k){var M,z;if(D=D.toLowerCase(),_[D])M=_[D].key,z=_[D].iv;else{if(!O[D])throw new TypeError("invalid suite type");M=8*O[D].key,z=O[D].iv}var A=l(k,!1,M,z);return P(D,A.key,A.iv)},J.createCipheriv=J.Cipheriv=P,J.createDecipher=J.Decipher=function u(D,k){var M,z;if(D=D.toLowerCase(),_[D])M=_[D].key,z=_[D].iv;else{if(!O[D])throw new TypeError("invalid suite type");M=8*O[D].key,z=O[D].iv}var A=l(k,!1,M,z);return p(D,A.key,A.iv)},J.createDecipheriv=J.Decipheriv=p,J.listCiphers=J.getCiphers=function L(){return Object.keys(O).concat(t.getCiphers())}},7765:(Ye,J,f)=>{var e=f(3735),t=f(6222),_=f(5035),O=f(9708).Buffer,l={"des-ede3-cbc":t.CBC.instantiate(t.EDE),"des-ede3":t.EDE,"des-ede-cbc":t.CBC.instantiate(t.EDE),"des-ede":t.EDE,"des-cbc":t.CBC.instantiate(t.DES),"des-ecb":t.DES};function C(u){e.call(this);var L,P=u.mode.toLowerCase(),p=l[P];L=u.decrypt?"decrypt":"encrypt";var D=u.key;O.isBuffer(D)||(D=O.from(D)),("des-ede"===P||"des-ede-cbc"===P)&&(D=O.concat([D,D.slice(0,8)]));var k=u.iv;O.isBuffer(k)||(k=O.from(k)),this._des=p.create({key:D,iv:k,type:L})}l.des=l["des-cbc"],l.des3=l["des-ede3-cbc"],Ye.exports=C,_(C,e),C.prototype._update=function(u){return O.from(this._des.update(u))},C.prototype._final=function(){return O.from(this._des.final())}},2427:(Ye,J)=>{J["des-ecb"]={key:8,iv:0},J["des-cbc"]=J.des={key:8,iv:8},J["des-ede3-cbc"]=J.des3={key:24,iv:8},J["des-ede3"]={key:24,iv:0},J["des-ede-cbc"]={key:16,iv:8},J["des-ede"]={key:16,iv:0}},6661:(Ye,J,f)=>{var e=f(6585),t=f(1186);function O(C){var P,u=C.modulus.byteLength();do{P=new e(t(u))}while(P.cmp(C.modulus)>=0||!P.umod(C.prime1)||!P.umod(C.prime2));return P}function l(C,u){var P=function _(C){var u=O(C);return{blinder:u.toRed(e.mont(C.modulus)).redPow(new e(C.publicExponent)).fromRed(),unblinder:u.invm(C.modulus)}}(u),p=u.modulus.byteLength(),L=new e(C).mul(P.blinder).umod(u.modulus),D=L.toRed(e.mont(u.prime1)),k=L.toRed(e.mont(u.prime2)),M=u.coefficient,z=u.prime1,A=u.prime2,W=D.redPow(u.exponent1).fromRed(),Z=k.redPow(u.exponent2).fromRed(),X=W.isub(Z).imul(M).umod(z).imul(A);return Z.iadd(X).imul(P.unblinder).umod(u.modulus).toArrayLike(Buffer,"be",p)}l.getr=O,Ye.exports=l},8043:(Ye,J,f)=>{Ye.exports=f(5207)},2124:(Ye,J,f)=>{var e=f(9708).Buffer,t=f(145),_=f(9697),O=f(5035),l=f(5127),C=f(4596),u=f(5207);function P(k){_.Writable.call(this);var M=u[k];if(!M)throw new Error("Unknown message digest");this._hashType=M.hash,this._hash=t(M.hash),this._tag=M.id,this._signType=M.sign}function p(k){_.Writable.call(this);var M=u[k];if(!M)throw new Error("Unknown message digest");this._hash=t(M.hash),this._tag=M.id,this._signType=M.sign}function L(k){return new P(k)}function D(k){return new p(k)}Object.keys(u).forEach(function(k){u[k].id=e.from(u[k].id,"hex"),u[k.toLowerCase()]=u[k]}),O(P,_.Writable),P.prototype._write=function(M,z,A){this._hash.update(M),A()},P.prototype.update=function(M,z){return"string"==typeof M&&(M=e.from(M,z)),this._hash.update(M),this},P.prototype.sign=function(M,z){this.end();var A=this._hash.digest(),W=l(A,M,this._hashType,this._signType,this._tag);return z?W.toString(z):W},O(p,_.Writable),p.prototype._write=function(M,z,A){this._hash.update(M),A()},p.prototype.update=function(M,z){return"string"==typeof M&&(M=e.from(M,z)),this._hash.update(M),this},p.prototype.verify=function(M,z,A){"string"==typeof z&&(z=e.from(z,A)),this.end();var W=this._hash.digest();return C(z,W,M,this._signType,this._tag)},Ye.exports={Sign:L,Verify:D,createSign:L,createVerify:D}},5127:(Ye,J,f)=>{var e=f(9708).Buffer,t=f(3640),_=f(6661),O=f(2142).ec,l=f(6585),C=f(5752),u=f(7036);function k(Z,X,$,ae){if((Z=e.from(Z.toArray())).length<X.byteLength()){var he=e.alloc(X.byteLength()-Z.length);Z=e.concat([he,Z])}var se=$.length,pe=function z(Z,X){Z=(Z=M(Z,X)).mod(X);var $=e.from(Z.toArray());if($.length<X.byteLength()){var ae=e.alloc(X.byteLength()-$.length);$=e.concat([ae,$])}return $}($,X),le=e.alloc(se);le.fill(1);var re=e.alloc(se);return re=t(ae,re).update(le).update(e.from([0])).update(Z).update(pe).digest(),le=t(ae,re).update(le).digest(),{k:re=t(ae,re).update(le).update(e.from([1])).update(Z).update(pe).digest(),v:le=t(ae,re).update(le).digest()}}function M(Z,X){var $=new l(Z),ae=(Z.length<<3)-X.bitLength();return ae>0&&$.ishrn(ae),$}function A(Z,X,$){var ae,he;do{for(ae=e.alloc(0);8*ae.length<Z.bitLength();)X.v=t($,X.k).update(X.v).digest(),ae=e.concat([ae,X.v]);he=M(ae,Z),X.k=t($,X.k).update(X.v).update(e.from([0])).digest(),X.v=t($,X.k).update(X.v).digest()}while(-1!==he.cmp(Z));return he}function W(Z,X,$,ae){return Z.toRed(l.mont($)).redPow(X).fromRed().mod(ae)}Ye.exports=function P(Z,X,$,ae,he){var se=C(X);if(se.curve){if("ecdsa"!==ae&&"ecdsa/rsa"!==ae)throw new Error("wrong private key type");return function p(Z,X){var $=u[X.curve.join(".")];if(!$)throw new Error("unknown curve "+X.curve.join("."));var se=new O($).keyFromPrivate(X.privateKey).sign(Z);return e.from(se.toDER())}(Z,se)}if("dsa"===se.type){if("dsa"!==ae)throw new Error("wrong private key type");return function L(Z,X,$){for(var re,ae=X.params.priv_key,he=X.params.p,se=X.params.q,pe=X.params.g,le=new l(0),fe=M(Z,se).mod(se),T=!1,i=k(ae,se,Z,$);!1===T;)re=A(se,i,$),le=W(pe,re,he,se),0===(T=re.invm(se).imul(fe.add(ae.mul(le))).mod(se)).cmpn(0)&&(T=!1,le=new l(0));return function D(Z,X){Z=Z.toArray(),X=X.toArray(),128&Z[0]&&(Z=[0].concat(Z)),128&X[0]&&(X=[0].concat(X));var ae=[48,Z.length+X.length+4,2,Z.length];return ae=ae.concat(Z,[2,X.length],X),e.from(ae)}(le,T)}(Z,se,$)}if("rsa"!==ae&&"ecdsa/rsa"!==ae)throw new Error("wrong private key type");Z=e.concat([he,Z]);for(var pe=se.modulus.byteLength(),le=[0,1];Z.length+le.length+1<pe;)le.push(255);le.push(0);for(var re=-1;++re<Z.length;)le.push(Z[re]);return _(le,se)},Ye.exports.getKey=k,Ye.exports.makeKey=A},4596:(Ye,J,f)=>{var e=f(9708).Buffer,t=f(6585),_=f(2142).ec,O=f(5752),l=f(7036);function p(L,D){if(L.cmpn(0)<=0)throw new Error("invalid sig");if(L.cmp(D)>=D)throw new Error("invalid sig")}Ye.exports=function C(L,D,k,M,z){var A=O(k);if("ec"===A.type){if("ecdsa"!==M&&"ecdsa/rsa"!==M)throw new Error("wrong public key type");return function u(L,D,k){var M=l[k.data.algorithm.curve.join(".")];if(!M)throw new Error("unknown curve "+k.data.algorithm.curve.join("."));var z=new _(M),A=k.data.subjectPrivateKey.data;return z.verify(D,L,A)}(L,D,A)}if("dsa"===A.type){if("dsa"!==M)throw new Error("wrong public key type");return function P(L,D,k){var M=k.data.p,z=k.data.q,A=k.data.g,W=k.data.pub_key,Z=O.signature.decode(L,"der"),X=Z.s,$=Z.r;p(X,z),p($,z);var ae=t.mont(M),he=X.invm(z);return 0===A.toRed(ae).redPow(new t(D).mul(he).mod(z)).fromRed().mul(W.toRed(ae).redPow($.mul(he).mod(z)).fromRed()).mod(M).mod(z).cmp($)}(L,D,A)}if("rsa"!==M&&"ecdsa/rsa"!==M)throw new Error("wrong public key type");D=e.concat([z,D]);for(var W=A.modulus.byteLength(),Z=[1],X=0;D.length+Z.length+2<W;)Z.push(255),X++;Z.push(0);for(var $=-1;++$<D.length;)Z.push(D[$]);Z=e.from(Z);var ae=t.mont(A.modulus);L=(L=new t(L).toRed(ae)).redPow(new t(A.publicExponent)),L=e.from(L.fromRed().toArray());var he=X<8?1:0;for(W=Math.min(L.length,Z.length),L.length!==Z.length&&(he=1),$=-1;++$<W;)he|=L[$]^Z[$];return 0===he}},7702:Ye=>{Ye.exports=function(f,e){for(var t=Math.min(f.length,e.length),_=new Buffer(t),O=0;O<t;++O)_[O]=f[O]^e[O];return _}},3195:(Ye,J,f)=>{"use strict";var e=f(2173),t=f(4920),_="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;J.Buffer=u,J.SlowBuffer=function X(ye){return+ye!=ye&&(ye=0),u.alloc(+ye)},J.INSPECT_MAX_BYTES=50;var O=2147483647;function C(ye){if(ye>O)throw new RangeError('The value "'+ye+'" is invalid for option "size"');var we=new Uint8Array(ye);return Object.setPrototypeOf(we,u.prototype),we}function u(ye,we,ie){if("number"==typeof ye){if("string"==typeof we)throw new TypeError('The "string" argument must be of type string. Received type number');return D(ye)}return P(ye,we,ie)}function P(ye,we,ie){if("string"==typeof ye)return function k(ye,we){if(("string"!=typeof we||""===we)&&(we="utf8"),!u.isEncoding(we))throw new TypeError("Unknown encoding: "+we);var ie=0|$(ye,we),Se=C(ie),ne=Se.write(ye,we);return ne!==ie&&(Se=Se.slice(0,ne)),Se}(ye,we);if(ArrayBuffer.isView(ye))return function z(ye){if(Me(ye,Uint8Array)){var we=new Uint8Array(ye);return A(we.buffer,we.byteOffset,we.byteLength)}return M(ye)}(ye);if(null==ye)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ye);if(Me(ye,ArrayBuffer)||ye&&Me(ye.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Me(ye,SharedArrayBuffer)||ye&&Me(ye.buffer,SharedArrayBuffer)))return A(ye,we,ie);if("number"==typeof ye)throw new TypeError('The "value" argument must not be of type number. Received type number');var Se=ye.valueOf&&ye.valueOf();if(null!=Se&&Se!==ye)return u.from(Se,we,ie);var ne=function W(ye){if(u.isBuffer(ye)){var we=0|Z(ye.length),ie=C(we);return 0===ie.length||ye.copy(ie,0,0,we),ie}if(void 0!==ye.length)return"number"!=typeof ye.length||De(ye.length)?C(0):M(ye);if("Buffer"===ye.type&&Array.isArray(ye.data))return M(ye.data)}(ye);if(ne)return ne;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof ye[Symbol.toPrimitive])return u.from(ye[Symbol.toPrimitive]("string"),we,ie);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ye)}function p(ye){if("number"!=typeof ye)throw new TypeError('"size" argument must be of type number');if(ye<0)throw new RangeError('The value "'+ye+'" is invalid for option "size"')}function D(ye){return p(ye),C(ye<0?0:0|Z(ye))}function M(ye){for(var we=ye.length<0?0:0|Z(ye.length),ie=C(we),Se=0;Se<we;Se+=1)ie[Se]=255&ye[Se];return ie}function A(ye,we,ie){if(we<0||ye.byteLength<we)throw new RangeError('"offset" is outside of buffer bounds');if(ye.byteLength<we+(ie||0))throw new RangeError('"length" is outside of buffer bounds');var Se;return Se=void 0===we&&void 0===ie?new Uint8Array(ye):void 0===ie?new Uint8Array(ye,we):new Uint8Array(ye,we,ie),Object.setPrototypeOf(Se,u.prototype),Se}function Z(ye){if(ye>=O)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+O.toString(16)+" bytes");return 0|ye}function $(ye,we){if(u.isBuffer(ye))return ye.length;if(ArrayBuffer.isView(ye)||Me(ye,ArrayBuffer))return ye.byteLength;if("string"!=typeof ye)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof ye);var ie=ye.length,Se=arguments.length>2&&!0===arguments[2];if(!Se&&0===ie)return 0;for(var ne=!1;;)switch(we){case"ascii":case"latin1":case"binary":return ie;case"utf8":case"utf-8":return dt(ye).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*ie;case"hex":return ie>>>1;case"base64":return $e(ye).length;default:if(ne)return Se?-1:dt(ye).length;we=(""+we).toLowerCase(),ne=!0}}function ae(ye,we,ie){var Se=!1;if((void 0===we||we<0)&&(we=0),we>this.length||((void 0===ie||ie>this.length)&&(ie=this.length),ie<=0)||(ie>>>=0)<=(we>>>=0))return"";for(ye||(ye="utf8");;)switch(ye){case"hex":return g(this,we,ie);case"utf8":case"utf-8":return m(this,we,ie);case"ascii":return I(this,we,ie);case"latin1":case"binary":return R(this,we,ie);case"base64":return o(this,we,ie);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r(this,we,ie);default:if(Se)throw new TypeError("Unknown encoding: "+ye);ye=(ye+"").toLowerCase(),Se=!0}}function he(ye,we,ie){var Se=ye[we];ye[we]=ye[ie],ye[ie]=Se}function se(ye,we,ie,Se,ne){if(0===ye.length)return-1;if("string"==typeof ie?(Se=ie,ie=0):ie>2147483647?ie=2147483647:ie<-2147483648&&(ie=-2147483648),De(ie=+ie)&&(ie=ne?0:ye.length-1),ie<0&&(ie=ye.length+ie),ie>=ye.length){if(ne)return-1;ie=ye.length-1}else if(ie<0){if(!ne)return-1;ie=0}if("string"==typeof we&&(we=u.from(we,Se)),u.isBuffer(we))return 0===we.length?-1:pe(ye,we,ie,Se,ne);if("number"==typeof we)return we&=255,"function"==typeof Uint8Array.prototype.indexOf?ne?Uint8Array.prototype.indexOf.call(ye,we,ie):Uint8Array.prototype.lastIndexOf.call(ye,we,ie):pe(ye,[we],ie,Se,ne);throw new TypeError("val must be string, number or Buffer")}function pe(ye,we,ie,Se,ne){var oe,K=1,ee=ye.length,ze=we.length;if(void 0!==Se&&("ucs2"===(Se=String(Se).toLowerCase())||"ucs-2"===Se||"utf16le"===Se||"utf-16le"===Se)){if(ye.length<2||we.length<2)return-1;K=2,ee/=2,ze/=2,ie/=2}function Ve(ii,bt){return 1===K?ii[bt]:ii.readUInt16BE(bt*K)}if(ne){var at=-1;for(oe=ie;oe<ee;oe++)if(Ve(ye,oe)===Ve(we,-1===at?0:oe-at)){if(-1===at&&(at=oe),oe-at+1===ze)return at*K}else-1!==at&&(oe-=oe-at),at=-1}else for(ie+ze>ee&&(ie=ee-ze),oe=ie;oe>=0;oe--){for(var qe=!0,it=0;it<ze;it++)if(Ve(ye,oe+it)!==Ve(we,it)){qe=!1;break}if(qe)return oe}return-1}function le(ye,we,ie,Se){ie=Number(ie)||0;var ne=ye.length-ie;Se?(Se=Number(Se))>ne&&(Se=ne):Se=ne;var K=we.length;Se>K/2&&(Se=K/2);for(var ee=0;ee<Se;++ee){var ze=parseInt(we.substr(2*ee,2),16);if(De(ze))return ee;ye[ie+ee]=ze}return ee}function re(ye,we,ie,Se){return Oe(dt(we,ye.length-ie),ye,ie,Se)}function fe(ye,we,ie,Se){return Oe(function Ke(ye){for(var we=[],ie=0;ie<ye.length;++ie)we.push(255&ye.charCodeAt(ie));return we}(we),ye,ie,Se)}function T(ye,we,ie,Se){return Oe($e(we),ye,ie,Se)}function i(ye,we,ie,Se){return Oe(function ge(ye,we){for(var ie,Se,ne,K=[],ee=0;ee<ye.length&&!((we-=2)<0);++ee)ie=ye.charCodeAt(ee),Se=ie>>8,ne=ie%256,K.push(ne),K.push(Se);return K}(we,ye.length-ie),ye,ie,Se)}function o(ye,we,ie){return 0===we&&ie===ye.length?e.fromByteArray(ye):e.fromByteArray(ye.slice(we,ie))}function m(ye,we,ie){ie=Math.min(ye.length,ie);for(var Se=[],ne=we;ne<ie;){var Ve,oe,at,qe,K=ye[ne],ee=null,ze=K>239?4:K>223?3:K>191?2:1;if(ne+ze<=ie)switch(ze){case 1:K<128&&(ee=K);break;case 2:128==(192&(Ve=ye[ne+1]))&&((qe=(31&K)<<6|63&Ve)>127&&(ee=qe));break;case 3:Ve=ye[ne+1],oe=ye[ne+2],128==(192&Ve)&&128==(192&oe)&&((qe=(15&K)<<12|(63&Ve)<<6|63&oe)>2047&&(qe<55296||qe>57343)&&(ee=qe));break;case 4:Ve=ye[ne+1],oe=ye[ne+2],at=ye[ne+3],128==(192&Ve)&&128==(192&oe)&&128==(192&at)&&((qe=(15&K)<<18|(63&Ve)<<12|(63&oe)<<6|63&at)>65535&&qe<1114112&&(ee=qe))}null===ee?(ee=65533,ze=1):ee>65535&&(ee-=65536,Se.push(ee>>>10&1023|55296),ee=56320|1023&ee),Se.push(ee),ne+=ze}return function x(ye){var we=ye.length;if(we<=h)return String.fromCharCode.apply(String,ye);for(var ie="",Se=0;Se<we;)ie+=String.fromCharCode.apply(String,ye.slice(Se,Se+=h));return ie}(Se)}J.kMaxLength=O,u.TYPED_ARRAY_SUPPORT=function l(){try{var ye=new Uint8Array(1),we={foo:function(){return 42}};return Object.setPrototypeOf(we,Uint8Array.prototype),Object.setPrototypeOf(ye,we),42===ye.foo()}catch{return!1}}(),!u.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(ye,we,ie){return P(ye,we,ie)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(ye,we,ie){return function L(ye,we,ie){return p(ye),ye<=0?C(ye):void 0!==we?"string"==typeof ie?C(ye).fill(we,ie):C(ye).fill(we):C(ye)}(ye,we,ie)},u.allocUnsafe=function(ye){return D(ye)},u.allocUnsafeSlow=function(ye){return D(ye)},u.isBuffer=function(we){return null!=we&&!0===we._isBuffer&&we!==u.prototype},u.compare=function(we,ie){if(Me(we,Uint8Array)&&(we=u.from(we,we.offset,we.byteLength)),Me(ie,Uint8Array)&&(ie=u.from(ie,ie.offset,ie.byteLength)),!u.isBuffer(we)||!u.isBuffer(ie))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(we===ie)return 0;for(var Se=we.length,ne=ie.length,K=0,ee=Math.min(Se,ne);K<ee;++K)if(we[K]!==ie[K]){Se=we[K],ne=ie[K];break}return Se<ne?-1:ne<Se?1:0},u.isEncoding=function(we){switch(String(we).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(we,ie){if(!Array.isArray(we))throw new TypeError('"list" argument must be an Array of Buffers');if(0===we.length)return u.alloc(0);var Se;if(void 0===ie)for(ie=0,Se=0;Se<we.length;++Se)ie+=we[Se].length;var ne=u.allocUnsafe(ie),K=0;for(Se=0;Se<we.length;++Se){var ee=we[Se];if(Me(ee,Uint8Array))K+ee.length>ne.length?u.from(ee).copy(ne,K):Uint8Array.prototype.set.call(ne,ee,K);else{if(!u.isBuffer(ee))throw new TypeError('"list" argument must be an Array of Buffers');ee.copy(ne,K)}K+=ee.length}return ne},u.byteLength=$,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var we=this.length;if(we%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var ie=0;ie<we;ie+=2)he(this,ie,ie+1);return this},u.prototype.swap32=function(){var we=this.length;if(we%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var ie=0;ie<we;ie+=4)he(this,ie,ie+3),he(this,ie+1,ie+2);return this},u.prototype.swap64=function(){var we=this.length;if(we%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var ie=0;ie<we;ie+=8)he(this,ie,ie+7),he(this,ie+1,ie+6),he(this,ie+2,ie+5),he(this,ie+3,ie+4);return this},u.prototype.toString=function(){var we=this.length;return 0===we?"":0===arguments.length?m(this,0,we):ae.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(we){if(!u.isBuffer(we))throw new TypeError("Argument must be a Buffer");return this===we||0===u.compare(this,we)},u.prototype.inspect=function(){var we="",ie=J.INSPECT_MAX_BYTES;return we=this.toString("hex",0,ie).replace(/(.{2})/g,"$1 ").trim(),this.length>ie&&(we+=" ... "),"<Buffer "+we+">"},_&&(u.prototype[_]=u.prototype.inspect),u.prototype.compare=function(we,ie,Se,ne,K){if(Me(we,Uint8Array)&&(we=u.from(we,we.offset,we.byteLength)),!u.isBuffer(we))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof we);if(void 0===ie&&(ie=0),void 0===Se&&(Se=we?we.length:0),void 0===ne&&(ne=0),void 0===K&&(K=this.length),ie<0||Se>we.length||ne<0||K>this.length)throw new RangeError("out of range index");if(ne>=K&&ie>=Se)return 0;if(ne>=K)return-1;if(ie>=Se)return 1;if(this===we)return 0;for(var ee=(K>>>=0)-(ne>>>=0),ze=(Se>>>=0)-(ie>>>=0),Ve=Math.min(ee,ze),oe=this.slice(ne,K),at=we.slice(ie,Se),qe=0;qe<Ve;++qe)if(oe[qe]!==at[qe]){ee=oe[qe],ze=at[qe];break}return ee<ze?-1:ze<ee?1:0},u.prototype.includes=function(we,ie,Se){return-1!==this.indexOf(we,ie,Se)},u.prototype.indexOf=function(we,ie,Se){return se(this,we,ie,Se,!0)},u.prototype.lastIndexOf=function(we,ie,Se){return se(this,we,ie,Se,!1)},u.prototype.write=function(we,ie,Se,ne){if(void 0===ie)ne="utf8",Se=this.length,ie=0;else if(void 0===Se&&"string"==typeof ie)ne=ie,Se=this.length,ie=0;else{if(!isFinite(ie))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");ie>>>=0,isFinite(Se)?(Se>>>=0,void 0===ne&&(ne="utf8")):(ne=Se,Se=void 0)}var K=this.length-ie;if((void 0===Se||Se>K)&&(Se=K),we.length>0&&(Se<0||ie<0)||ie>this.length)throw new RangeError("Attempt to write outside buffer bounds");ne||(ne="utf8");for(var ee=!1;;)switch(ne){case"hex":return le(this,we,ie,Se);case"utf8":case"utf-8":return re(this,we,ie,Se);case"ascii":case"latin1":case"binary":return fe(this,we,ie,Se);case"base64":return T(this,we,ie,Se);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return i(this,we,ie,Se);default:if(ee)throw new TypeError("Unknown encoding: "+ne);ne=(""+ne).toLowerCase(),ee=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var h=4096;function I(ye,we,ie){var Se="";ie=Math.min(ye.length,ie);for(var ne=we;ne<ie;++ne)Se+=String.fromCharCode(127&ye[ne]);return Se}function R(ye,we,ie){var Se="";ie=Math.min(ye.length,ie);for(var ne=we;ne<ie;++ne)Se+=String.fromCharCode(ye[ne]);return Se}function g(ye,we,ie){var Se=ye.length;(!we||we<0)&&(we=0),(!ie||ie<0||ie>Se)&&(ie=Se);for(var ne="",K=we;K<ie;++K)ne+=Ue[ye[K]];return ne}function r(ye,we,ie){for(var Se=ye.slice(we,ie),ne="",K=0;K<Se.length-1;K+=2)ne+=String.fromCharCode(Se[K]+256*Se[K+1]);return ne}function w(ye,we,ie){if(ye%1!=0||ye<0)throw new RangeError("offset is not uint");if(ye+we>ie)throw new RangeError("Trying to access beyond buffer length")}function V(ye,we,ie,Se,ne,K){if(!u.isBuffer(ye))throw new TypeError('"buffer" argument must be a Buffer instance');if(we>ne||we<K)throw new RangeError('"value" argument is out of bounds');if(ie+Se>ye.length)throw new RangeError("Index out of range")}function N(ye,we,ie,Se,ne,K){if(ie+Se>ye.length)throw new RangeError("Index out of range");if(ie<0)throw new RangeError("Index out of range")}function Y(ye,we,ie,Se,ne){return we=+we,ie>>>=0,ne||N(ye,0,ie,4),t.write(ye,we,ie,Se,23,4),ie+4}function Pe(ye,we,ie,Se,ne){return we=+we,ie>>>=0,ne||N(ye,0,ie,8),t.write(ye,we,ie,Se,52,8),ie+8}u.prototype.slice=function(we,ie){var Se=this.length;(we=~~we)<0?(we+=Se)<0&&(we=0):we>Se&&(we=Se),(ie=void 0===ie?Se:~~ie)<0?(ie+=Se)<0&&(ie=0):ie>Se&&(ie=Se),ie<we&&(ie=we);var ne=this.subarray(we,ie);return Object.setPrototypeOf(ne,u.prototype),ne},u.prototype.readUintLE=u.prototype.readUIntLE=function(we,ie,Se){we>>>=0,ie>>>=0,Se||w(we,ie,this.length);for(var ne=this[we],K=1,ee=0;++ee<ie&&(K*=256);)ne+=this[we+ee]*K;return ne},u.prototype.readUintBE=u.prototype.readUIntBE=function(we,ie,Se){we>>>=0,ie>>>=0,Se||w(we,ie,this.length);for(var ne=this[we+--ie],K=1;ie>0&&(K*=256);)ne+=this[we+--ie]*K;return ne},u.prototype.readUint8=u.prototype.readUInt8=function(we,ie){return we>>>=0,ie||w(we,1,this.length),this[we]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(we,ie){return we>>>=0,ie||w(we,2,this.length),this[we]|this[we+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(we,ie){return we>>>=0,ie||w(we,2,this.length),this[we]<<8|this[we+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(we,ie){return we>>>=0,ie||w(we,4,this.length),(this[we]|this[we+1]<<8|this[we+2]<<16)+16777216*this[we+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(we,ie){return we>>>=0,ie||w(we,4,this.length),16777216*this[we]+(this[we+1]<<16|this[we+2]<<8|this[we+3])},u.prototype.readIntLE=function(we,ie,Se){we>>>=0,ie>>>=0,Se||w(we,ie,this.length);for(var ne=this[we],K=1,ee=0;++ee<ie&&(K*=256);)ne+=this[we+ee]*K;return ne>=(K*=128)&&(ne-=Math.pow(2,8*ie)),ne},u.prototype.readIntBE=function(we,ie,Se){we>>>=0,ie>>>=0,Se||w(we,ie,this.length);for(var ne=ie,K=1,ee=this[we+--ne];ne>0&&(K*=256);)ee+=this[we+--ne]*K;return ee>=(K*=128)&&(ee-=Math.pow(2,8*ie)),ee},u.prototype.readInt8=function(we,ie){return we>>>=0,ie||w(we,1,this.length),128&this[we]?-1*(255-this[we]+1):this[we]},u.prototype.readInt16LE=function(we,ie){we>>>=0,ie||w(we,2,this.length);var Se=this[we]|this[we+1]<<8;return 32768&Se?4294901760|Se:Se},u.prototype.readInt16BE=function(we,ie){we>>>=0,ie||w(we,2,this.length);var Se=this[we+1]|this[we]<<8;return 32768&Se?4294901760|Se:Se},u.prototype.readInt32LE=function(we,ie){return we>>>=0,ie||w(we,4,this.length),this[we]|this[we+1]<<8|this[we+2]<<16|this[we+3]<<24},u.prototype.readInt32BE=function(we,ie){return we>>>=0,ie||w(we,4,this.length),this[we]<<24|this[we+1]<<16|this[we+2]<<8|this[we+3]},u.prototype.readFloatLE=function(we,ie){return we>>>=0,ie||w(we,4,this.length),t.read(this,we,!0,23,4)},u.prototype.readFloatBE=function(we,ie){return we>>>=0,ie||w(we,4,this.length),t.read(this,we,!1,23,4)},u.prototype.readDoubleLE=function(we,ie){return we>>>=0,ie||w(we,8,this.length),t.read(this,we,!0,52,8)},u.prototype.readDoubleBE=function(we,ie){return we>>>=0,ie||w(we,8,this.length),t.read(this,we,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(we,ie,Se,ne){(we=+we,ie>>>=0,Se>>>=0,ne)||V(this,we,ie,Se,Math.pow(2,8*Se)-1,0);var ee=1,ze=0;for(this[ie]=255&we;++ze<Se&&(ee*=256);)this[ie+ze]=we/ee&255;return ie+Se},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(we,ie,Se,ne){(we=+we,ie>>>=0,Se>>>=0,ne)||V(this,we,ie,Se,Math.pow(2,8*Se)-1,0);var ee=Se-1,ze=1;for(this[ie+ee]=255&we;--ee>=0&&(ze*=256);)this[ie+ee]=we/ze&255;return ie+Se},u.prototype.writeUint8=u.prototype.writeUInt8=function(we,ie,Se){return we=+we,ie>>>=0,Se||V(this,we,ie,1,255,0),this[ie]=255&we,ie+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(we,ie,Se){return we=+we,ie>>>=0,Se||V(this,we,ie,2,65535,0),this[ie]=255&we,this[ie+1]=we>>>8,ie+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(we,ie,Se){return we=+we,ie>>>=0,Se||V(this,we,ie,2,65535,0),this[ie]=we>>>8,this[ie+1]=255&we,ie+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(we,ie,Se){return we=+we,ie>>>=0,Se||V(this,we,ie,4,4294967295,0),this[ie+3]=we>>>24,this[ie+2]=we>>>16,this[ie+1]=we>>>8,this[ie]=255&we,ie+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(we,ie,Se){return we=+we,ie>>>=0,Se||V(this,we,ie,4,4294967295,0),this[ie]=we>>>24,this[ie+1]=we>>>16,this[ie+2]=we>>>8,this[ie+3]=255&we,ie+4},u.prototype.writeIntLE=function(we,ie,Se,ne){if(we=+we,ie>>>=0,!ne){var K=Math.pow(2,8*Se-1);V(this,we,ie,Se,K-1,-K)}var ee=0,ze=1,Ve=0;for(this[ie]=255&we;++ee<Se&&(ze*=256);)we<0&&0===Ve&&0!==this[ie+ee-1]&&(Ve=1),this[ie+ee]=(we/ze>>0)-Ve&255;return ie+Se},u.prototype.writeIntBE=function(we,ie,Se,ne){if(we=+we,ie>>>=0,!ne){var K=Math.pow(2,8*Se-1);V(this,we,ie,Se,K-1,-K)}var ee=Se-1,ze=1,Ve=0;for(this[ie+ee]=255&we;--ee>=0&&(ze*=256);)we<0&&0===Ve&&0!==this[ie+ee+1]&&(Ve=1),this[ie+ee]=(we/ze>>0)-Ve&255;return ie+Se},u.prototype.writeInt8=function(we,ie,Se){return we=+we,ie>>>=0,Se||V(this,we,ie,1,127,-128),we<0&&(we=255+we+1),this[ie]=255&we,ie+1},u.prototype.writeInt16LE=function(we,ie,Se){return we=+we,ie>>>=0,Se||V(this,we,ie,2,32767,-32768),this[ie]=255&we,this[ie+1]=we>>>8,ie+2},u.prototype.writeInt16BE=function(we,ie,Se){return we=+we,ie>>>=0,Se||V(this,we,ie,2,32767,-32768),this[ie]=we>>>8,this[ie+1]=255&we,ie+2},u.prototype.writeInt32LE=function(we,ie,Se){return we=+we,ie>>>=0,Se||V(this,we,ie,4,2147483647,-2147483648),this[ie]=255&we,this[ie+1]=we>>>8,this[ie+2]=we>>>16,this[ie+3]=we>>>24,ie+4},u.prototype.writeInt32BE=function(we,ie,Se){return we=+we,ie>>>=0,Se||V(this,we,ie,4,2147483647,-2147483648),we<0&&(we=4294967295+we+1),this[ie]=we>>>24,this[ie+1]=we>>>16,this[ie+2]=we>>>8,this[ie+3]=255&we,ie+4},u.prototype.writeFloatLE=function(we,ie,Se){return Y(this,we,ie,!0,Se)},u.prototype.writeFloatBE=function(we,ie,Se){return Y(this,we,ie,!1,Se)},u.prototype.writeDoubleLE=function(we,ie,Se){return Pe(this,we,ie,!0,Se)},u.prototype.writeDoubleBE=function(we,ie,Se){return Pe(this,we,ie,!1,Se)},u.prototype.copy=function(we,ie,Se,ne){if(!u.isBuffer(we))throw new TypeError("argument should be a Buffer");if(Se||(Se=0),!ne&&0!==ne&&(ne=this.length),ie>=we.length&&(ie=we.length),ie||(ie=0),ne>0&&ne<Se&&(ne=Se),ne===Se||0===we.length||0===this.length)return 0;if(ie<0)throw new RangeError("targetStart out of bounds");if(Se<0||Se>=this.length)throw new RangeError("Index out of range");if(ne<0)throw new RangeError("sourceEnd out of bounds");ne>this.length&&(ne=this.length),we.length-ie<ne-Se&&(ne=we.length-ie+Se);var K=ne-Se;return this===we&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(ie,Se,ne):Uint8Array.prototype.set.call(we,this.subarray(Se,ne),ie),K},u.prototype.fill=function(we,ie,Se,ne){if("string"==typeof we){if("string"==typeof ie?(ne=ie,ie=0,Se=this.length):"string"==typeof Se&&(ne=Se,Se=this.length),void 0!==ne&&"string"!=typeof ne)throw new TypeError("encoding must be a string");if("string"==typeof ne&&!u.isEncoding(ne))throw new TypeError("Unknown encoding: "+ne);if(1===we.length){var K=we.charCodeAt(0);("utf8"===ne&&K<128||"latin1"===ne)&&(we=K)}}else"number"==typeof we?we&=255:"boolean"==typeof we&&(we=Number(we));if(ie<0||this.length<ie||this.length<Se)throw new RangeError("Out of range index");if(Se<=ie)return this;var ee;if(ie>>>=0,Se=void 0===Se?this.length:Se>>>0,we||(we=0),"number"==typeof we)for(ee=ie;ee<Se;++ee)this[ee]=we;else{var ze=u.isBuffer(we)?we:u.from(we,ne),Ve=ze.length;if(0===Ve)throw new TypeError('The value "'+we+'" is invalid for argument "value"');for(ee=0;ee<Se-ie;++ee)this[ee+ie]=ze[ee%Ve]}return this};var Ce=/[^+/0-9A-Za-z-_]/g;function dt(ye,we){we=we||1/0;for(var ie,Se=ye.length,ne=null,K=[],ee=0;ee<Se;++ee){if((ie=ye.charCodeAt(ee))>55295&&ie<57344){if(!ne){if(ie>56319){(we-=3)>-1&&K.push(239,191,189);continue}if(ee+1===Se){(we-=3)>-1&&K.push(239,191,189);continue}ne=ie;continue}if(ie<56320){(we-=3)>-1&&K.push(239,191,189),ne=ie;continue}ie=65536+(ne-55296<<10|ie-56320)}else ne&&(we-=3)>-1&&K.push(239,191,189);if(ne=null,ie<128){if((we-=1)<0)break;K.push(ie)}else if(ie<2048){if((we-=2)<0)break;K.push(ie>>6|192,63&ie|128)}else if(ie<65536){if((we-=3)<0)break;K.push(ie>>12|224,ie>>6&63|128,63&ie|128)}else{if(!(ie<1114112))throw new Error("Invalid code point");if((we-=4)<0)break;K.push(ie>>18|240,ie>>12&63|128,ie>>6&63|128,63&ie|128)}}return K}function $e(ye){return e.toByteArray(function Xe(ye){if((ye=(ye=ye.split("=")[0]).trim().replace(Ce,"")).length<2)return"";for(;ye.length%4!=0;)ye+="=";return ye}(ye))}function Oe(ye,we,ie,Se){for(var ne=0;ne<Se&&!(ne+ie>=we.length||ne>=ye.length);++ne)we[ne+ie]=ye[ne];return ne}function Me(ye,we){return ye instanceof we||null!=ye&&null!=ye.constructor&&null!=ye.constructor.name&&ye.constructor.name===we.name}function De(ye){return ye!=ye}var Ue=function(){for(var ye="0123456789abcdef",we=new Array(256),ie=0;ie<16;++ie)for(var Se=16*ie,ne=0;ne<16;++ne)we[Se+ne]=ye[ie]+ye[ne];return we}()},3735:(Ye,J,f)=>{var e=f(9708).Buffer,t=f(574).Transform,_=f(4547).s;function l(C){t.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}f(5035)(l,t),l.prototype.update=function(C,u,P){"string"==typeof C&&(C=e.from(C,u));var p=this._update(C);return this.hashMode?this:(P&&(p=this._toString(p,P)),p)},l.prototype.setAutoPadding=function(){},l.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},l.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},l.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},l.prototype._transform=function(C,u,P){var p;try{this.hashMode?this._update(C):this.push(this._update(C))}catch(L){p=L}finally{P(p)}},l.prototype._flush=function(C){var u;try{this.push(this.__final())}catch(P){u=P}C(u)},l.prototype._finalOrDigest=function(C){var u=this.__final()||e.alloc(0);return C&&(u=this._toString(u,C,!0)),u},l.prototype._toString=function(C,u,P){if(this._decoder||(this._decoder=new _(u),this._encoding=u),this._encoding!==u)throw new Error("can't switch encodings");var p=this._decoder.write(C);return P&&(p+=this._decoder.end()),p},Ye.exports=l},4123:function(Ye){!function(J){"use strict";var f={bytesToHex:function(_){return function e(_){return _.map(function(O){return function t(_,O){return _.length>O?_:Array(O-_.length+1).join("0")+_}(O.toString(16),2)}).join("")}(_)},hexToBytes:function(_){if(_.length%2==1)throw new Error("hexToBytes can't have a string with an odd number of characters.");return 0===_.indexOf("0x")&&(_=_.slice(2)),_.match(/../g).map(function(O){return parseInt(O,16)})}};Ye.exports?Ye.exports=f:J.convertHex=f}(this)},4056:function(Ye){!function(J){"use strict";var f={bytesToString:function(e){return e.map(function(t){return String.fromCharCode(t)}).join("")},stringToBytes:function(e){return e.split("").map(function(t){return t.charCodeAt(0)})}};f.UTF8={bytesToString:function(e){return decodeURIComponent(escape(f.bytesToString(e)))},stringToBytes:function(e){return f.stringToBytes(unescape(encodeURIComponent(e)))}},Ye.exports?Ye.exports=f:J.convertString=f}(this)},9821:(Ye,J,f)=>{var e=f(2142),t=f(854);Ye.exports=function(u){return new O(u)};var _={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function O(C){this.curveType=_[C],this.curveType||(this.curveType={name:C}),this.curve=new e.ec(this.curveType.name),this.keys=void 0}function l(C,u,P){Array.isArray(C)||(C=C.toArray());var p=new Buffer(C);if(P&&p.length<P){var L=new Buffer(P-p.length);L.fill(0),p=Buffer.concat([L,p])}return u?p.toString(u):p}_.p224=_.secp224r1,_.p256=_.secp256r1=_.prime256v1,_.p192=_.secp192r1=_.prime192v1,_.p384=_.secp384r1,_.p521=_.secp521r1,O.prototype.generateKeys=function(C,u){return this.keys=this.curve.genKeyPair(),this.getPublicKey(C,u)},O.prototype.computeSecret=function(C,u,P){return u=u||"utf8",Buffer.isBuffer(C)||(C=new Buffer(C,u)),l(this.curve.keyFromPublic(C).getPublic().mul(this.keys.getPrivate()).getX(),P,this.curveType.byteLength)},O.prototype.getPublicKey=function(C,u){var P=this.keys.getPublic("compressed"===u,!0);return"hybrid"===u&&(P[P.length-1]%2?P[0]=7:P[0]=6),l(P,C)},O.prototype.getPrivateKey=function(C){return l(this.keys.getPrivate(),C)},O.prototype.setPublicKey=function(C,u){return u=u||"utf8",Buffer.isBuffer(C)||(C=new Buffer(C,u)),this.keys._importPublic(C),this},O.prototype.setPrivateKey=function(C,u){u=u||"utf8",Buffer.isBuffer(C)||(C=new Buffer(C,u));var P=new t(C);return P=P.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(P),this}},854:function(Ye,J,f){(function(e,t){"use strict";function _(T,i){if(!T)throw new Error(i||"Assertion failed")}function O(T,i){T.super_=i;var o=function(){};o.prototype=i.prototype,T.prototype=new o,T.prototype.constructor=T}function l(T,i,o){if(l.isBN(T))return T;this.negative=0,this.words=null,this.length=0,this.red=null,null!==T&&(("le"===i||"be"===i)&&(o=i,i=10),this._init(T||0,i||10,o||"be"))}var C;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:f(8623).Buffer}catch{}function u(T,i){var o=T.charCodeAt(i);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function P(T,i,o){var m=u(T,o);return o-1>=i&&(m|=u(T,o-1)<<4),m}function p(T,i,o,m){for(var h=0,x=Math.min(T.length,o),I=i;I<x;I++){var R=T.charCodeAt(I)-48;h*=m,h+=R>=49?R-49+10:R>=17?R-17+10:R}return h}l.isBN=function(i){return i instanceof l||null!==i&&"object"==typeof i&&i.constructor.wordSize===l.wordSize&&Array.isArray(i.words)},l.max=function(i,o){return i.cmp(o)>0?i:o},l.min=function(i,o){return i.cmp(o)<0?i:o},l.prototype._init=function(i,o,m){if("number"==typeof i)return this._initNumber(i,o,m);if("object"==typeof i)return this._initArray(i,o,m);"hex"===o&&(o=16),_(o===(0|o)&&o>=2&&o<=36);var h=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<i.length&&(16===o?this._parseHex(i,h,m):(this._parseBase(i,o,h),"le"===m&&this._initArray(this.toArray(),o,m)))},l.prototype._initNumber=function(i,o,m){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):(_(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===m&&this._initArray(this.toArray(),o,m)},l.prototype._initArray=function(i,o,m){if(_("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 h=0;h<this.length;h++)this.words[h]=0;var x,I,R=0;if("be"===m)for(h=i.length-1,x=0;h>=0;h-=3)I=i[h]|i[h-1]<<8|i[h-2]<<16,this.words[x]|=I<<R&67108863,this.words[x+1]=I>>>26-R&67108863,(R+=24)>=26&&(R-=26,x++);else if("le"===m)for(h=0,x=0;h<i.length;h+=3)I=i[h]|i[h+1]<<8|i[h+2]<<16,this.words[x]|=I<<R&67108863,this.words[x+1]=I>>>26-R&67108863,(R+=24)>=26&&(R-=26,x++);return this.strip()},l.prototype._parseHex=function(i,o,m){this.length=Math.ceil((i.length-o)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var R,x=0,I=0;if("be"===m)for(h=i.length-1;h>=o;h-=2)R=P(i,o,h)<<x,this.words[I]|=67108863&R,x>=18?(x-=18,I+=1,this.words[I]|=R>>>26):x+=8;else for(h=(i.length-o)%2==0?o+1:o;h<i.length;h+=2)R=P(i,o,h)<<x,this.words[I]|=67108863&R,x>=18?(x-=18,I+=1,this.words[I]|=R>>>26):x+=8;this.strip()},l.prototype._parseBase=function(i,o,m){this.words=[0],this.length=1;for(var h=0,x=1;x<=67108863;x*=o)h++;h--,x=x/o|0;for(var I=i.length-m,R=I%h,g=Math.min(I,I-R)+m,r=0,w=m;w<g;w+=h)r=p(i,w,w+h,o),this.imuln(x),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==R){var V=1;for(r=p(i,w,i.length,o),w=0;w<R;w++)V*=o;this.imuln(V),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r)}this.strip()},l.prototype.copy=function(i){i.words=new Array(this.length);for(var o=0;o<this.length;o++)i.words[o]=this.words[o];i.length=this.length,i.negative=this.negative,i.red=this.red},l.prototype.clone=function(){var i=new l(null);return this.copy(i),i},l.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var L=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],D=[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],k=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function z(T,i,o){o.negative=i.negative^T.negative;var m=T.length+i.length|0;o.length=m,m=m-1|0;var h=0|T.words[0],x=0|i.words[0],I=h*x,R=67108863&I,g=I/67108864|0;o.words[0]=R;for(var r=1;r<m;r++){for(var w=g>>>26,V=67108863&g,N=Math.min(r,i.length-1),Y=Math.max(0,r-T.length+1);Y<=N;Y++){var Pe=r-Y|0;w+=(I=(h=0|T.words[Pe])*(x=0|i.words[Y])+V)/67108864|0,V=67108863&I}o.words[r]=0|V,g=0|w}return 0!==g?o.words[r]=0|g:o.length--,o.strip()}l.prototype.toString=function(i,o){var m;if(o=0|o||1,16===(i=i||10)||"hex"===i){m="";for(var h=0,x=0,I=0;I<this.length;I++){var R=this.words[I],g=(16777215&(R<<h|x)).toString(16);m=0!==(x=R>>>24-h&16777215)||I!==this.length-1?L[6-g.length]+g+m:g+m,(h+=2)>=26&&(h-=26,I--)}for(0!==x&&(m=x.toString(16)+m);m.length%o!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}if(i===(0|i)&&i>=2&&i<=36){var r=D[i],w=k[i];m="";var V=this.clone();for(V.negative=0;!V.isZero();){var N=V.modn(w).toString(i);m=(V=V.idivn(w)).isZero()?N+m:L[r-N.length]+N+m}for(this.isZero()&&(m="0"+m);m.length%o!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}_(!1,"Base should be between 2 and 36")},l.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&&_(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-i:i},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(i,o){return _(typeof C<"u"),this.toArrayLike(C,i,o)},l.prototype.toArray=function(i,o){return this.toArrayLike(Array,i,o)},l.prototype.toArrayLike=function(i,o,m){var h=this.byteLength(),x=m||Math.max(1,h);_(h<=x,"byte array longer than desired length"),_(x>0,"Requested array length <= 0"),this.strip();var g,r,I="le"===o,R=new i(x),w=this.clone();if(I){for(r=0;!w.isZero();r++)g=w.andln(255),w.iushrn(8),R[r]=g;for(;r<x;r++)R[r]=0}else{for(r=0;r<x-h;r++)R[r]=0;for(r=0;!w.isZero();r++)g=w.andln(255),w.iushrn(8),R[x-r-1]=g}return R},Math.clz32?l.prototype._countBits=function(i){return 32-Math.clz32(i)}:l.prototype._countBits=function(i){var o=i,m=0;return o>=4096&&(m+=13,o>>>=13),o>=64&&(m+=7,o>>>=7),o>=8&&(m+=4,o>>>=4),o>=2&&(m+=2,o>>>=2),m+o},l.prototype._zeroBits=function(i){if(0===i)return 26;var o=i,m=0;return 0==(8191&o)&&(m+=13,o>>>=13),0==(127&o)&&(m+=7,o>>>=7),0==(15&o)&&(m+=4,o>>>=4),0==(3&o)&&(m+=2,o>>>=2),0==(1&o)&&m++,m},l.prototype.bitLength=function(){var i=this.words[this.length-1],o=this._countBits(i);return 26*(this.length-1)+o},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,o=0;o<this.length;o++){var m=this._zeroBits(this.words[o]);if(i+=m,26!==m)break}return i},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},l.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var o=0;o<i.length;o++)this.words[o]=this.words[o]|i.words[o];return this.strip()},l.prototype.ior=function(i){return _(0==(this.negative|i.negative)),this.iuor(i)},l.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},l.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},l.prototype.iuand=function(i){var o;o=this.length>i.length?i:this;for(var m=0;m<o.length;m++)this.words[m]=this.words[m]&i.words[m];return this.length=o.length,this.strip()},l.prototype.iand=function(i){return _(0==(this.negative|i.negative)),this.iuand(i)},l.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},l.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},l.prototype.iuxor=function(i){var o,m;this.length>i.length?(o=this,m=i):(o=i,m=this);for(var h=0;h<m.length;h++)this.words[h]=o.words[h]^m.words[h];if(this!==o)for(;h<o.length;h++)this.words[h]=o.words[h];return this.length=o.length,this.strip()},l.prototype.ixor=function(i){return _(0==(this.negative|i.negative)),this.iuxor(i)},l.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},l.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},l.prototype.inotn=function(i){_("number"==typeof i&&i>=0);var o=0|Math.ceil(i/26),m=i%26;this._expand(o),m>0&&o--;for(var h=0;h<o;h++)this.words[h]=67108863&~this.words[h];return m>0&&(this.words[h]=~this.words[h]&67108863>>26-m),this.strip()},l.prototype.notn=function(i){return this.clone().inotn(i)},l.prototype.setn=function(i,o){_("number"==typeof i&&i>=0);var m=i/26|0,h=i%26;return this._expand(m+1),this.words[m]=o?this.words[m]|1<<h:this.words[m]&~(1<<h),this.strip()},l.prototype.iadd=function(i){var o,m,h;if(0!==this.negative&&0===i.negative)return this.negative=0,o=this.isub(i),this.negative^=1,this._normSign();if(0===this.negative&&0!==i.negative)return i.negative=0,o=this.isub(i),i.negative=1,o._normSign();this.length>i.length?(m=this,h=i):(m=i,h=this);for(var x=0,I=0;I<h.length;I++)o=(0|m.words[I])+(0|h.words[I])+x,this.words[I]=67108863&o,x=o>>>26;for(;0!==x&&I<m.length;I++)o=(0|m.words[I])+x,this.words[I]=67108863&o,x=o>>>26;if(this.length=m.length,0!==x)this.words[this.length]=x,this.length++;else if(m!==this)for(;I<m.length;I++)this.words[I]=m.words[I];return this},l.prototype.add=function(i){var o;return 0!==i.negative&&0===this.negative?(i.negative=0,o=this.sub(i),i.negative^=1,o):0===i.negative&&0!==this.negative?(this.negative=0,o=i.sub(this),this.negative=1,o):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},l.prototype.isub=function(i){if(0!==i.negative){i.negative=0;var o=this.iadd(i);return i.negative=1,o._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var h,x,m=this.cmp(i);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(h=this,x=i):(h=i,x=this);for(var I=0,R=0;R<x.length;R++)I=(o=(0|h.words[R])-(0|x.words[R])+I)>>26,this.words[R]=67108863&o;for(;0!==I&&R<h.length;R++)I=(o=(0|h.words[R])+I)>>26,this.words[R]=67108863&o;if(0===I&&R<h.length&&h!==this)for(;R<h.length;R++)this.words[R]=h.words[R];return this.length=Math.max(this.length,R),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(i){return this.clone().isub(i)};var A=function(i,o,m){var g,r,w,h=i.words,x=o.words,I=m.words,R=0,V=0|h[0],N=8191&V,Y=V>>>13,Pe=0|h[1],Ce=8191&Pe,Xe=Pe>>>13,dt=0|h[2],Ke=8191&dt,ge=dt>>>13,$e=0|h[3],Oe=8191&$e,Me=$e>>>13,De=0|h[4],Ue=8191&De,ye=De>>>13,we=0|h[5],ie=8191&we,Se=we>>>13,ne=0|h[6],K=8191&ne,ee=ne>>>13,ze=0|h[7],Ve=8191&ze,oe=ze>>>13,at=0|h[8],qe=8191&at,it=at>>>13,ii=0|h[9],bt=8191&ii,st=ii>>>13,Be=0|x[0],rt=8191&Be,Ot=Be>>>13,Gt=0|x[1],kt=8191&Gt,Rt=Gt>>>13,yi=0|x[2],Jt=8191&yi,Zt=yi>>>13,mi=0|x[3],Re=8191&mi,U=mi>>>13,j=0|x[4],ue=8191&j,Ne=j>>>13,wt=0|x[5],Et=8191&wt,Nt=wt>>>13,ot=0|x[6],We=8191&ot,gt=ot>>>13,ri=0|x[7],Pt=8191&ri,Ft=ri>>>13,qt=0|x[8],Te=8191&qt,me=qt>>>13,ct=0|x[9],_t=8191&ct,Lt=ct>>>13;m.negative=i.negative^o.negative,m.length=19;var Li=(R+(g=Math.imul(N,rt))|0)+((8191&(r=(r=Math.imul(N,Ot))+Math.imul(Y,rt)|0))<<13)|0;R=((w=Math.imul(Y,Ot))+(r>>>13)|0)+(Li>>>26)|0,Li&=67108863,g=Math.imul(Ce,rt),r=(r=Math.imul(Ce,Ot))+Math.imul(Xe,rt)|0,w=Math.imul(Xe,Ot);var Ai=(R+(g=g+Math.imul(N,kt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Rt)|0)+Math.imul(Y,kt)|0))<<13)|0;R=((w=w+Math.imul(Y,Rt)|0)+(r>>>13)|0)+(Ai>>>26)|0,Ai&=67108863,g=Math.imul(Ke,rt),r=(r=Math.imul(Ke,Ot))+Math.imul(ge,rt)|0,w=Math.imul(ge,Ot),g=g+Math.imul(Ce,kt)|0,r=(r=r+Math.imul(Ce,Rt)|0)+Math.imul(Xe,kt)|0,w=w+Math.imul(Xe,Rt)|0;var wi=(R+(g=g+Math.imul(N,Jt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Zt)|0)+Math.imul(Y,Jt)|0))<<13)|0;R=((w=w+Math.imul(Y,Zt)|0)+(r>>>13)|0)+(wi>>>26)|0,wi&=67108863,g=Math.imul(Oe,rt),r=(r=Math.imul(Oe,Ot))+Math.imul(Me,rt)|0,w=Math.imul(Me,Ot),g=g+Math.imul(Ke,kt)|0,r=(r=r+Math.imul(Ke,Rt)|0)+Math.imul(ge,kt)|0,w=w+Math.imul(ge,Rt)|0,g=g+Math.imul(Ce,Jt)|0,r=(r=r+Math.imul(Ce,Zt)|0)+Math.imul(Xe,Jt)|0,w=w+Math.imul(Xe,Zt)|0;var zi=(R+(g=g+Math.imul(N,Re)|0)|0)+((8191&(r=(r=r+Math.imul(N,U)|0)+Math.imul(Y,Re)|0))<<13)|0;R=((w=w+Math.imul(Y,U)|0)+(r>>>13)|0)+(zi>>>26)|0,zi&=67108863,g=Math.imul(Ue,rt),r=(r=Math.imul(Ue,Ot))+Math.imul(ye,rt)|0,w=Math.imul(ye,Ot),g=g+Math.imul(Oe,kt)|0,r=(r=r+Math.imul(Oe,Rt)|0)+Math.imul(Me,kt)|0,w=w+Math.imul(Me,Rt)|0,g=g+Math.imul(Ke,Jt)|0,r=(r=r+Math.imul(Ke,Zt)|0)+Math.imul(ge,Jt)|0,w=w+Math.imul(ge,Zt)|0,g=g+Math.imul(Ce,Re)|0,r=(r=r+Math.imul(Ce,U)|0)+Math.imul(Xe,Re)|0,w=w+Math.imul(Xe,U)|0;var xt=(R+(g=g+Math.imul(N,ue)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ne)|0)+Math.imul(Y,ue)|0))<<13)|0;R=((w=w+Math.imul(Y,Ne)|0)+(r>>>13)|0)+(xt>>>26)|0,xt&=67108863,g=Math.imul(ie,rt),r=(r=Math.imul(ie,Ot))+Math.imul(Se,rt)|0,w=Math.imul(Se,Ot),g=g+Math.imul(Ue,kt)|0,r=(r=r+Math.imul(Ue,Rt)|0)+Math.imul(ye,kt)|0,w=w+Math.imul(ye,Rt)|0,g=g+Math.imul(Oe,Jt)|0,r=(r=r+Math.imul(Oe,Zt)|0)+Math.imul(Me,Jt)|0,w=w+Math.imul(Me,Zt)|0,g=g+Math.imul(Ke,Re)|0,r=(r=r+Math.imul(Ke,U)|0)+Math.imul(ge,Re)|0,w=w+Math.imul(ge,U)|0,g=g+Math.imul(Ce,ue)|0,r=(r=r+Math.imul(Ce,Ne)|0)+Math.imul(Xe,ue)|0,w=w+Math.imul(Xe,Ne)|0;var Qe=(R+(g=g+Math.imul(N,Et)|0)|0)+((8191&(r=(r=r+Math.imul(N,Nt)|0)+Math.imul(Y,Et)|0))<<13)|0;R=((w=w+Math.imul(Y,Nt)|0)+(r>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,g=Math.imul(K,rt),r=(r=Math.imul(K,Ot))+Math.imul(ee,rt)|0,w=Math.imul(ee,Ot),g=g+Math.imul(ie,kt)|0,r=(r=r+Math.imul(ie,Rt)|0)+Math.imul(Se,kt)|0,w=w+Math.imul(Se,Rt)|0,g=g+Math.imul(Ue,Jt)|0,r=(r=r+Math.imul(Ue,Zt)|0)+Math.imul(ye,Jt)|0,w=w+Math.imul(ye,Zt)|0,g=g+Math.imul(Oe,Re)|0,r=(r=r+Math.imul(Oe,U)|0)+Math.imul(Me,Re)|0,w=w+Math.imul(Me,U)|0,g=g+Math.imul(Ke,ue)|0,r=(r=r+Math.imul(Ke,Ne)|0)+Math.imul(ge,ue)|0,w=w+Math.imul(ge,Ne)|0,g=g+Math.imul(Ce,Et)|0,r=(r=r+Math.imul(Ce,Nt)|0)+Math.imul(Xe,Et)|0,w=w+Math.imul(Xe,Nt)|0;var Fe=(R+(g=g+Math.imul(N,We)|0)|0)+((8191&(r=(r=r+Math.imul(N,gt)|0)+Math.imul(Y,We)|0))<<13)|0;R=((w=w+Math.imul(Y,gt)|0)+(r>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,g=Math.imul(Ve,rt),r=(r=Math.imul(Ve,Ot))+Math.imul(oe,rt)|0,w=Math.imul(oe,Ot),g=g+Math.imul(K,kt)|0,r=(r=r+Math.imul(K,Rt)|0)+Math.imul(ee,kt)|0,w=w+Math.imul(ee,Rt)|0,g=g+Math.imul(ie,Jt)|0,r=(r=r+Math.imul(ie,Zt)|0)+Math.imul(Se,Jt)|0,w=w+Math.imul(Se,Zt)|0,g=g+Math.imul(Ue,Re)|0,r=(r=r+Math.imul(Ue,U)|0)+Math.imul(ye,Re)|0,w=w+Math.imul(ye,U)|0,g=g+Math.imul(Oe,ue)|0,r=(r=r+Math.imul(Oe,Ne)|0)+Math.imul(Me,ue)|0,w=w+Math.imul(Me,Ne)|0,g=g+Math.imul(Ke,Et)|0,r=(r=r+Math.imul(Ke,Nt)|0)+Math.imul(ge,Et)|0,w=w+Math.imul(ge,Nt)|0,g=g+Math.imul(Ce,We)|0,r=(r=r+Math.imul(Ce,gt)|0)+Math.imul(Xe,We)|0,w=w+Math.imul(Xe,gt)|0;var Wt=(R+(g=g+Math.imul(N,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ft)|0)+Math.imul(Y,Pt)|0))<<13)|0;R=((w=w+Math.imul(Y,Ft)|0)+(r>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,g=Math.imul(qe,rt),r=(r=Math.imul(qe,Ot))+Math.imul(it,rt)|0,w=Math.imul(it,Ot),g=g+Math.imul(Ve,kt)|0,r=(r=r+Math.imul(Ve,Rt)|0)+Math.imul(oe,kt)|0,w=w+Math.imul(oe,Rt)|0,g=g+Math.imul(K,Jt)|0,r=(r=r+Math.imul(K,Zt)|0)+Math.imul(ee,Jt)|0,w=w+Math.imul(ee,Zt)|0,g=g+Math.imul(ie,Re)|0,r=(r=r+Math.imul(ie,U)|0)+Math.imul(Se,Re)|0,w=w+Math.imul(Se,U)|0,g=g+Math.imul(Ue,ue)|0,r=(r=r+Math.imul(Ue,Ne)|0)+Math.imul(ye,ue)|0,w=w+Math.imul(ye,Ne)|0,g=g+Math.imul(Oe,Et)|0,r=(r=r+Math.imul(Oe,Nt)|0)+Math.imul(Me,Et)|0,w=w+Math.imul(Me,Nt)|0,g=g+Math.imul(Ke,We)|0,r=(r=r+Math.imul(Ke,gt)|0)+Math.imul(ge,We)|0,w=w+Math.imul(ge,gt)|0,g=g+Math.imul(Ce,Pt)|0,r=(r=r+Math.imul(Ce,Ft)|0)+Math.imul(Xe,Pt)|0,w=w+Math.imul(Xe,Ft)|0;var Xt=(R+(g=g+Math.imul(N,Te)|0)|0)+((8191&(r=(r=r+Math.imul(N,me)|0)+Math.imul(Y,Te)|0))<<13)|0;R=((w=w+Math.imul(Y,me)|0)+(r>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,g=Math.imul(bt,rt),r=(r=Math.imul(bt,Ot))+Math.imul(st,rt)|0,w=Math.imul(st,Ot),g=g+Math.imul(qe,kt)|0,r=(r=r+Math.imul(qe,Rt)|0)+Math.imul(it,kt)|0,w=w+Math.imul(it,Rt)|0,g=g+Math.imul(Ve,Jt)|0,r=(r=r+Math.imul(Ve,Zt)|0)+Math.imul(oe,Jt)|0,w=w+Math.imul(oe,Zt)|0,g=g+Math.imul(K,Re)|0,r=(r=r+Math.imul(K,U)|0)+Math.imul(ee,Re)|0,w=w+Math.imul(ee,U)|0,g=g+Math.imul(ie,ue)|0,r=(r=r+Math.imul(ie,Ne)|0)+Math.imul(Se,ue)|0,w=w+Math.imul(Se,Ne)|0,g=g+Math.imul(Ue,Et)|0,r=(r=r+Math.imul(Ue,Nt)|0)+Math.imul(ye,Et)|0,w=w+Math.imul(ye,Nt)|0,g=g+Math.imul(Oe,We)|0,r=(r=r+Math.imul(Oe,gt)|0)+Math.imul(Me,We)|0,w=w+Math.imul(Me,gt)|0,g=g+Math.imul(Ke,Pt)|0,r=(r=r+Math.imul(Ke,Ft)|0)+Math.imul(ge,Pt)|0,w=w+Math.imul(ge,Ft)|0,g=g+Math.imul(Ce,Te)|0,r=(r=r+Math.imul(Ce,me)|0)+Math.imul(Xe,Te)|0,w=w+Math.imul(Xe,me)|0;var _i=(R+(g=g+Math.imul(N,_t)|0)|0)+((8191&(r=(r=r+Math.imul(N,Lt)|0)+Math.imul(Y,_t)|0))<<13)|0;R=((w=w+Math.imul(Y,Lt)|0)+(r>>>13)|0)+(_i>>>26)|0,_i&=67108863,g=Math.imul(bt,kt),r=(r=Math.imul(bt,Rt))+Math.imul(st,kt)|0,w=Math.imul(st,Rt),g=g+Math.imul(qe,Jt)|0,r=(r=r+Math.imul(qe,Zt)|0)+Math.imul(it,Jt)|0,w=w+Math.imul(it,Zt)|0,g=g+Math.imul(Ve,Re)|0,r=(r=r+Math.imul(Ve,U)|0)+Math.imul(oe,Re)|0,w=w+Math.imul(oe,U)|0,g=g+Math.imul(K,ue)|0,r=(r=r+Math.imul(K,Ne)|0)+Math.imul(ee,ue)|0,w=w+Math.imul(ee,Ne)|0,g=g+Math.imul(ie,Et)|0,r=(r=r+Math.imul(ie,Nt)|0)+Math.imul(Se,Et)|0,w=w+Math.imul(Se,Nt)|0,g=g+Math.imul(Ue,We)|0,r=(r=r+Math.imul(Ue,gt)|0)+Math.imul(ye,We)|0,w=w+Math.imul(ye,gt)|0,g=g+Math.imul(Oe,Pt)|0,r=(r=r+Math.imul(Oe,Ft)|0)+Math.imul(Me,Pt)|0,w=w+Math.imul(Me,Ft)|0,g=g+Math.imul(Ke,Te)|0,r=(r=r+Math.imul(Ke,me)|0)+Math.imul(ge,Te)|0,w=w+Math.imul(ge,me)|0;var Oi=(R+(g=g+Math.imul(Ce,_t)|0)|0)+((8191&(r=(r=r+Math.imul(Ce,Lt)|0)+Math.imul(Xe,_t)|0))<<13)|0;R=((w=w+Math.imul(Xe,Lt)|0)+(r>>>13)|0)+(Oi>>>26)|0,Oi&=67108863,g=Math.imul(bt,Jt),r=(r=Math.imul(bt,Zt))+Math.imul(st,Jt)|0,w=Math.imul(st,Zt),g=g+Math.imul(qe,Re)|0,r=(r=r+Math.imul(qe,U)|0)+Math.imul(it,Re)|0,w=w+Math.imul(it,U)|0,g=g+Math.imul(Ve,ue)|0,r=(r=r+Math.imul(Ve,Ne)|0)+Math.imul(oe,ue)|0,w=w+Math.imul(oe,Ne)|0,g=g+Math.imul(K,Et)|0,r=(r=r+Math.imul(K,Nt)|0)+Math.imul(ee,Et)|0,w=w+Math.imul(ee,Nt)|0,g=g+Math.imul(ie,We)|0,r=(r=r+Math.imul(ie,gt)|0)+Math.imul(Se,We)|0,w=w+Math.imul(Se,gt)|0,g=g+Math.imul(Ue,Pt)|0,r=(r=r+Math.imul(Ue,Ft)|0)+Math.imul(ye,Pt)|0,w=w+Math.imul(ye,Ft)|0,g=g+Math.imul(Oe,Te)|0,r=(r=r+Math.imul(Oe,me)|0)+Math.imul(Me,Te)|0,w=w+Math.imul(Me,me)|0;var ki=(R+(g=g+Math.imul(Ke,_t)|0)|0)+((8191&(r=(r=r+Math.imul(Ke,Lt)|0)+Math.imul(ge,_t)|0))<<13)|0;R=((w=w+Math.imul(ge,Lt)|0)+(r>>>13)|0)+(ki>>>26)|0,ki&=67108863,g=Math.imul(bt,Re),r=(r=Math.imul(bt,U))+Math.imul(st,Re)|0,w=Math.imul(st,U),g=g+Math.imul(qe,ue)|0,r=(r=r+Math.imul(qe,Ne)|0)+Math.imul(it,ue)|0,w=w+Math.imul(it,Ne)|0,g=g+Math.imul(Ve,Et)|0,r=(r=r+Math.imul(Ve,Nt)|0)+Math.imul(oe,Et)|0,w=w+Math.imul(oe,Nt)|0,g=g+Math.imul(K,We)|0,r=(r=r+Math.imul(K,gt)|0)+Math.imul(ee,We)|0,w=w+Math.imul(ee,gt)|0,g=g+Math.imul(ie,Pt)|0,r=(r=r+Math.imul(ie,Ft)|0)+Math.imul(Se,Pt)|0,w=w+Math.imul(Se,Ft)|0,g=g+Math.imul(Ue,Te)|0,r=(r=r+Math.imul(Ue,me)|0)+Math.imul(ye,Te)|0,w=w+Math.imul(ye,me)|0;var Ki=(R+(g=g+Math.imul(Oe,_t)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,Lt)|0)+Math.imul(Me,_t)|0))<<13)|0;R=((w=w+Math.imul(Me,Lt)|0)+(r>>>13)|0)+(Ki>>>26)|0,Ki&=67108863,g=Math.imul(bt,ue),r=(r=Math.imul(bt,Ne))+Math.imul(st,ue)|0,w=Math.imul(st,Ne),g=g+Math.imul(qe,Et)|0,r=(r=r+Math.imul(qe,Nt)|0)+Math.imul(it,Et)|0,w=w+Math.imul(it,Nt)|0,g=g+Math.imul(Ve,We)|0,r=(r=r+Math.imul(Ve,gt)|0)+Math.imul(oe,We)|0,w=w+Math.imul(oe,gt)|0,g=g+Math.imul(K,Pt)|0,r=(r=r+Math.imul(K,Ft)|0)+Math.imul(ee,Pt)|0,w=w+Math.imul(ee,Ft)|0,g=g+Math.imul(ie,Te)|0,r=(r=r+Math.imul(ie,me)|0)+Math.imul(Se,Te)|0,w=w+Math.imul(Se,me)|0;var ti=(R+(g=g+Math.imul(Ue,_t)|0)|0)+((8191&(r=(r=r+Math.imul(Ue,Lt)|0)+Math.imul(ye,_t)|0))<<13)|0;R=((w=w+Math.imul(ye,Lt)|0)+(r>>>13)|0)+(ti>>>26)|0,ti&=67108863,g=Math.imul(bt,Et),r=(r=Math.imul(bt,Nt))+Math.imul(st,Et)|0,w=Math.imul(st,Nt),g=g+Math.imul(qe,We)|0,r=(r=r+Math.imul(qe,gt)|0)+Math.imul(it,We)|0,w=w+Math.imul(it,gt)|0,g=g+Math.imul(Ve,Pt)|0,r=(r=r+Math.imul(Ve,Ft)|0)+Math.imul(oe,Pt)|0,w=w+Math.imul(oe,Ft)|0,g=g+Math.imul(K,Te)|0,r=(r=r+Math.imul(K,me)|0)+Math.imul(ee,Te)|0,w=w+Math.imul(ee,me)|0;var be=(R+(g=g+Math.imul(ie,_t)|0)|0)+((8191&(r=(r=r+Math.imul(ie,Lt)|0)+Math.imul(Se,_t)|0))<<13)|0;R=((w=w+Math.imul(Se,Lt)|0)+(r>>>13)|0)+(be>>>26)|0,be&=67108863,g=Math.imul(bt,We),r=(r=Math.imul(bt,gt))+Math.imul(st,We)|0,w=Math.imul(st,gt),g=g+Math.imul(qe,Pt)|0,r=(r=r+Math.imul(qe,Ft)|0)+Math.imul(it,Pt)|0,w=w+Math.imul(it,Ft)|0,g=g+Math.imul(Ve,Te)|0,r=(r=r+Math.imul(Ve,me)|0)+Math.imul(oe,Te)|0,w=w+Math.imul(oe,me)|0;var ke=(R+(g=g+Math.imul(K,_t)|0)|0)+((8191&(r=(r=r+Math.imul(K,Lt)|0)+Math.imul(ee,_t)|0))<<13)|0;R=((w=w+Math.imul(ee,Lt)|0)+(r>>>13)|0)+(ke>>>26)|0,ke&=67108863,g=Math.imul(bt,Pt),r=(r=Math.imul(bt,Ft))+Math.imul(st,Pt)|0,w=Math.imul(st,Ft),g=g+Math.imul(qe,Te)|0,r=(r=r+Math.imul(qe,me)|0)+Math.imul(it,Te)|0,w=w+Math.imul(it,me)|0;var ft=(R+(g=g+Math.imul(Ve,_t)|0)|0)+((8191&(r=(r=r+Math.imul(Ve,Lt)|0)+Math.imul(oe,_t)|0))<<13)|0;R=((w=w+Math.imul(oe,Lt)|0)+(r>>>13)|0)+(ft>>>26)|0,ft&=67108863,g=Math.imul(bt,Te),r=(r=Math.imul(bt,me))+Math.imul(st,Te)|0,w=Math.imul(st,me);var St=(R+(g=g+Math.imul(qe,_t)|0)|0)+((8191&(r=(r=r+Math.imul(qe,Lt)|0)+Math.imul(it,_t)|0))<<13)|0;R=((w=w+Math.imul(it,Lt)|0)+(r>>>13)|0)+(St>>>26)|0,St&=67108863;var ui=(R+(g=Math.imul(bt,_t))|0)+((8191&(r=(r=Math.imul(bt,Lt))+Math.imul(st,_t)|0))<<13)|0;return R=((w=Math.imul(st,Lt))+(r>>>13)|0)+(ui>>>26)|0,ui&=67108863,I[0]=Li,I[1]=Ai,I[2]=wi,I[3]=zi,I[4]=xt,I[5]=Qe,I[6]=Fe,I[7]=Wt,I[8]=Xt,I[9]=_i,I[10]=Oi,I[11]=ki,I[12]=Ki,I[13]=ti,I[14]=be,I[15]=ke,I[16]=ft,I[17]=St,I[18]=ui,0!==R&&(I[19]=R,m.length++),m};function Z(T,i,o){return(new X).mulp(T,i,o)}function X(T,i){this.x=T,this.y=i}Math.imul||(A=z),l.prototype.mulTo=function(i,o){var m,h=this.length+i.length;return m=10===this.length&&10===i.length?A(this,i,o):h<63?z(this,i,o):h<1024?function W(T,i,o){o.negative=i.negative^T.negative,o.length=T.length+i.length;for(var m=0,h=0,x=0;x<o.length-1;x++){var I=h;h=0;for(var R=67108863&m,g=Math.min(x,i.length-1),r=Math.max(0,x-T.length+1);r<=g;r++){var w=x-r,Y=(0|T.words[w])*(0|i.words[r]),Pe=67108863&Y;R=67108863&(Pe=Pe+R|0),h+=(I=(I=I+(Y/67108864|0)|0)+(Pe>>>26)|0)>>>26,I&=67108863}o.words[x]=R,m=I,I=h}return 0!==m?o.words[x]=m:o.length--,o.strip()}(this,i,o):Z(this,i,o),m},X.prototype.makeRBT=function(i){for(var o=new Array(i),m=l.prototype._countBits(i)-1,h=0;h<i;h++)o[h]=this.revBin(h,m,i);return o},X.prototype.revBin=function(i,o,m){if(0===i||i===m-1)return i;for(var h=0,x=0;x<o;x++)h|=(1&i)<<o-x-1,i>>=1;return h},X.prototype.permute=function(i,o,m,h,x,I){for(var R=0;R<I;R++)h[R]=o[i[R]],x[R]=m[i[R]]},X.prototype.transform=function(i,o,m,h,x,I){this.permute(I,i,o,m,h,x);for(var R=1;R<x;R<<=1)for(var g=R<<1,r=Math.cos(2*Math.PI/g),w=Math.sin(2*Math.PI/g),V=0;V<x;V+=g)for(var N=r,Y=w,Pe=0;Pe<R;Pe++){var Ce=m[V+Pe],Xe=h[V+Pe],dt=m[V+Pe+R],Ke=h[V+Pe+R],ge=N*dt-Y*Ke;Ke=N*Ke+Y*dt,dt=ge,m[V+Pe]=Ce+dt,h[V+Pe]=Xe+Ke,m[V+Pe+R]=Ce-dt,h[V+Pe+R]=Xe-Ke,Pe!==g&&(ge=r*N-w*Y,Y=r*Y+w*N,N=ge)}},X.prototype.guessLen13b=function(i,o){var m=1|Math.max(o,i),h=1&m,x=0;for(m=m/2|0;m;m>>>=1)x++;return 1<<x+1+h},X.prototype.conjugate=function(i,o,m){if(!(m<=1))for(var h=0;h<m/2;h++){var x=i[h];i[h]=i[m-h-1],i[m-h-1]=x,x=o[h],o[h]=-o[m-h-1],o[m-h-1]=-x}},X.prototype.normalize13b=function(i,o){for(var m=0,h=0;h<o/2;h++){var x=8192*Math.round(i[2*h+1]/o)+Math.round(i[2*h]/o)+m;i[h]=67108863&x,m=x<67108864?0:x/67108864|0}return i},X.prototype.convert13b=function(i,o,m,h){for(var x=0,I=0;I<o;I++)x+=0|i[I],m[2*I]=8191&x,x>>>=13,m[2*I+1]=8191&x,x>>>=13;for(I=2*o;I<h;++I)m[I]=0;_(0===x),_(0==(-8192&x))},X.prototype.stub=function(i){for(var o=new Array(i),m=0;m<i;m++)o[m]=0;return o},X.prototype.mulp=function(i,o,m){var h=2*this.guessLen13b(i.length,o.length),x=this.makeRBT(h),I=this.stub(h),R=new Array(h),g=new Array(h),r=new Array(h),w=new Array(h),V=new Array(h),N=new Array(h),Y=m.words;Y.length=h,this.convert13b(i.words,i.length,R,h),this.convert13b(o.words,o.length,w,h),this.transform(R,I,g,r,h,x),this.transform(w,I,V,N,h,x);for(var Pe=0;Pe<h;Pe++){var Ce=g[Pe]*V[Pe]-r[Pe]*N[Pe];r[Pe]=g[Pe]*N[Pe]+r[Pe]*V[Pe],g[Pe]=Ce}return this.conjugate(g,r,h),this.transform(g,r,Y,I,h,x),this.conjugate(Y,I,h),this.normalize13b(Y,h),m.negative=i.negative^o.negative,m.length=i.length+o.length,m.strip()},l.prototype.mul=function(i){var o=new l(null);return o.words=new Array(this.length+i.length),this.mulTo(i,o)},l.prototype.mulf=function(i){var o=new l(null);return o.words=new Array(this.length+i.length),Z(this,i,o)},l.prototype.imul=function(i){return this.clone().mulTo(i,this)},l.prototype.imuln=function(i){_("number"==typeof i),_(i<67108864);for(var o=0,m=0;m<this.length;m++){var h=(0|this.words[m])*i,x=(67108863&h)+(67108863&o);o>>=26,o+=h/67108864|0,o+=x>>>26,this.words[m]=67108863&x}return 0!==o&&(this.words[m]=o,this.length++),this},l.prototype.muln=function(i){return this.clone().imuln(i)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(i){var o=function M(T){for(var i=new Array(T.bitLength()),o=0;o<i.length;o++){var m=o/26|0,h=o%26;i[o]=(T.words[m]&1<<h)>>>h}return i}(i);if(0===o.length)return new l(1);for(var m=this,h=0;h<o.length&&0===o[h];h++,m=m.sqr());if(++h<o.length)for(var x=m.sqr();h<o.length;h++,x=x.sqr())0!==o[h]&&(m=m.mul(x));return m},l.prototype.iushln=function(i){_("number"==typeof i&&i>=0);var x,o=i%26,m=(i-o)/26,h=67108863>>>26-o<<26-o;if(0!==o){var I=0;for(x=0;x<this.length;x++){var R=this.words[x]&h,g=(0|this.words[x])-R<<o;this.words[x]=g|I,I=R>>>26-o}I&&(this.words[x]=I,this.length++)}if(0!==m){for(x=this.length-1;x>=0;x--)this.words[x+m]=this.words[x];for(x=0;x<m;x++)this.words[x]=0;this.length+=m}return this.strip()},l.prototype.ishln=function(i){return _(0===this.negative),this.iushln(i)},l.prototype.iushrn=function(i,o,m){var h;_("number"==typeof i&&i>=0),h=o?(o-o%26)/26:0;var x=i%26,I=Math.min((i-x)/26,this.length),R=67108863^67108863>>>x<<x,g=m;if(h-=I,h=Math.max(0,h),g){for(var r=0;r<I;r++)g.words[r]=this.words[r];g.length=I}if(0!==I)if(this.length>I)for(this.length-=I,r=0;r<this.length;r++)this.words[r]=this.words[r+I];else this.words[0]=0,this.length=1;var w=0;for(r=this.length-1;r>=0&&(0!==w||r>=h);r--){var V=0|this.words[r];this.words[r]=w<<26-x|V>>>x,w=V&R}return g&&0!==w&&(g.words[g.length++]=w),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(i,o,m){return _(0===this.negative),this.iushrn(i,o,m)},l.prototype.shln=function(i){return this.clone().ishln(i)},l.prototype.ushln=function(i){return this.clone().iushln(i)},l.prototype.shrn=function(i){return this.clone().ishrn(i)},l.prototype.ushrn=function(i){return this.clone().iushrn(i)},l.prototype.testn=function(i){_("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26,h=1<<o;return!(this.length<=m)&&!!(this.words[m]&h)},l.prototype.imaskn=function(i){_("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26;if(_(0===this.negative,"imaskn works only with positive numbers"),this.length<=m)return this;if(0!==o&&m++,this.length=Math.min(m,this.length),0!==o){var h=67108863^67108863>>>o<<o;this.words[this.length-1]&=h}return this.strip()},l.prototype.maskn=function(i){return this.clone().imaskn(i)},l.prototype.iaddn=function(i){return _("number"==typeof i),_(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)},l.prototype._iaddn=function(i){this.words[0]+=i;for(var o=0;o<this.length&&this.words[o]>=67108864;o++)this.words[o]-=67108864,o===this.length-1?this.words[o+1]=1:this.words[o+1]++;return this.length=Math.max(this.length,o+1),this},l.prototype.isubn=function(i){if(_("number"==typeof i),_(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 o=0;o<this.length&&this.words[o]<0;o++)this.words[o]+=67108864,this.words[o+1]-=1;return this.strip()},l.prototype.addn=function(i){return this.clone().iaddn(i)},l.prototype.subn=function(i){return this.clone().isubn(i)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(i,o,m){var x,h=i.length+m;this._expand(h);var I,R=0;for(x=0;x<i.length;x++){I=(0|this.words[x+m])+R;var g=(0|i.words[x])*o;R=((I-=67108863&g)>>26)-(g/67108864|0),this.words[x+m]=67108863&I}for(;x<this.length-m;x++)R=(I=(0|this.words[x+m])+R)>>26,this.words[x+m]=67108863&I;if(0===R)return this.strip();for(_(-1===R),R=0,x=0;x<this.length;x++)R=(I=-(0|this.words[x])+R)>>26,this.words[x]=67108863&I;return this.negative=1,this.strip()},l.prototype._wordDiv=function(i,o){var m=(this.length,i.length),h=this.clone(),x=i,I=0|x.words[x.length-1];0!==(m=26-this._countBits(I))&&(x=x.ushln(m),h.iushln(m),I=0|x.words[x.length-1]);var r,g=h.length-x.length;if("mod"!==o){(r=new l(null)).length=g+1,r.words=new Array(r.length);for(var w=0;w<r.length;w++)r.words[w]=0}var V=h.clone()._ishlnsubmul(x,1,g);0===V.negative&&(h=V,r&&(r.words[g]=1));for(var N=g-1;N>=0;N--){var Y=67108864*(0|h.words[x.length+N])+(0|h.words[x.length+N-1]);for(Y=Math.min(Y/I|0,67108863),h._ishlnsubmul(x,Y,N);0!==h.negative;)Y--,h.negative=0,h._ishlnsubmul(x,1,N),h.isZero()||(h.negative^=1);r&&(r.words[N]=Y)}return r&&r.strip(),h.strip(),"div"!==o&&0!==m&&h.iushrn(m),{div:r||null,mod:h}},l.prototype.divmod=function(i,o,m){return _(!i.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===i.negative?(I=this.neg().divmod(i,o),"mod"!==o&&(h=I.div.neg()),"div"!==o&&(x=I.mod.neg(),m&&0!==x.negative&&x.iadd(i)),{div:h,mod:x}):0===this.negative&&0!==i.negative?(I=this.divmod(i.neg(),o),"mod"!==o&&(h=I.div.neg()),{div:h,mod:I.mod}):0!=(this.negative&i.negative)?(I=this.neg().divmod(i.neg(),o),"div"!==o&&(x=I.mod.neg(),m&&0!==x.negative&&x.isub(i)),{div:I.div,mod:x}):i.length>this.length||this.cmp(i)<0?{div:new l(0),mod:this}:1===i.length?"div"===o?{div:this.divn(i.words[0]),mod:null}:"mod"===o?{div:null,mod:new l(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new l(this.modn(i.words[0]))}:this._wordDiv(i,o);var h,x,I},l.prototype.div=function(i){return this.divmod(i,"div",!1).div},l.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},l.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},l.prototype.divRound=function(i){var o=this.divmod(i);if(o.mod.isZero())return o.div;var m=0!==o.div.negative?o.mod.isub(i):o.mod,h=i.ushrn(1),x=i.andln(1),I=m.cmp(h);return I<0||1===x&&0===I?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},l.prototype.modn=function(i){_(i<=67108863);for(var o=(1<<26)%i,m=0,h=this.length-1;h>=0;h--)m=(o*m+(0|this.words[h]))%i;return m},l.prototype.idivn=function(i){_(i<=67108863);for(var o=0,m=this.length-1;m>=0;m--){var h=(0|this.words[m])+67108864*o;this.words[m]=h/i|0,o=h%i}return this.strip()},l.prototype.divn=function(i){return this.clone().idivn(i)},l.prototype.egcd=function(i){_(0===i.negative),_(!i.isZero());var o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var h=new l(1),x=new l(0),I=new l(0),R=new l(1),g=0;o.isEven()&&m.isEven();)o.iushrn(1),m.iushrn(1),++g;for(var r=m.clone(),w=o.clone();!o.isZero();){for(var V=0,N=1;0==(o.words[0]&N)&&V<26;++V,N<<=1);if(V>0)for(o.iushrn(V);V-- >0;)(h.isOdd()||x.isOdd())&&(h.iadd(r),x.isub(w)),h.iushrn(1),x.iushrn(1);for(var Y=0,Pe=1;0==(m.words[0]&Pe)&&Y<26;++Y,Pe<<=1);if(Y>0)for(m.iushrn(Y);Y-- >0;)(I.isOdd()||R.isOdd())&&(I.iadd(r),R.isub(w)),I.iushrn(1),R.iushrn(1);o.cmp(m)>=0?(o.isub(m),h.isub(I),x.isub(R)):(m.isub(o),I.isub(h),R.isub(x))}return{a:I,b:R,gcd:m.iushln(g)}},l.prototype._invmp=function(i){_(0===i.negative),_(!i.isZero());var V,o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var h=new l(1),x=new l(0),I=m.clone();o.cmpn(1)>0&&m.cmpn(1)>0;){for(var R=0,g=1;0==(o.words[0]&g)&&R<26;++R,g<<=1);if(R>0)for(o.iushrn(R);R-- >0;)h.isOdd()&&h.iadd(I),h.iushrn(1);for(var r=0,w=1;0==(m.words[0]&w)&&r<26;++r,w<<=1);if(r>0)for(m.iushrn(r);r-- >0;)x.isOdd()&&x.iadd(I),x.iushrn(1);o.cmp(m)>=0?(o.isub(m),h.isub(x)):(m.isub(o),x.isub(h))}return(V=0===o.cmpn(1)?h:x).cmpn(0)<0&&V.iadd(i),V},l.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var o=this.clone(),m=i.clone();o.negative=0,m.negative=0;for(var h=0;o.isEven()&&m.isEven();h++)o.iushrn(1),m.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;m.isEven();)m.iushrn(1);var x=o.cmp(m);if(x<0){var I=o;o=m,m=I}else if(0===x||0===m.cmpn(1))break;o.isub(m)}return m.iushln(h)},l.prototype.invm=function(i){return this.egcd(i).a.umod(i)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(i){return this.words[0]&i},l.prototype.bincn=function(i){_("number"==typeof i);var o=i%26,m=(i-o)/26,h=1<<o;if(this.length<=m)return this._expand(m+1),this.words[m]|=h,this;for(var x=h,I=m;0!==x&&I<this.length;I++){var R=0|this.words[I];x=(R+=x)>>>26,R&=67108863,this.words[I]=R}return 0!==x&&(this.words[I]=x,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(i){var m,o=i<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)m=1;else{o&&(i=-i),_(i<=67108863,"Number is too big");var h=0|this.words[0];m=h===i?0:h<i?-1:1}return 0!==this.negative?0|-m:m},l.prototype.cmp=function(i){if(0!==this.negative&&0===i.negative)return-1;if(0===this.negative&&0!==i.negative)return 1;var o=this.ucmp(i);return 0!==this.negative?0|-o:o},l.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var o=0,m=this.length-1;m>=0;m--){var h=0|this.words[m],x=0|i.words[m];if(h!==x){h<x?o=-1:h>x&&(o=1);break}}return o},l.prototype.gtn=function(i){return 1===this.cmpn(i)},l.prototype.gt=function(i){return 1===this.cmp(i)},l.prototype.gten=function(i){return this.cmpn(i)>=0},l.prototype.gte=function(i){return this.cmp(i)>=0},l.prototype.ltn=function(i){return-1===this.cmpn(i)},l.prototype.lt=function(i){return-1===this.cmp(i)},l.prototype.lten=function(i){return this.cmpn(i)<=0},l.prototype.lte=function(i){return this.cmp(i)<=0},l.prototype.eqn=function(i){return 0===this.cmpn(i)},l.prototype.eq=function(i){return 0===this.cmp(i)},l.red=function(i){return new re(i)},l.prototype.toRed=function(i){return _(!this.red,"Already a number in reduction context"),_(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},l.prototype.fromRed=function(){return _(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(i){return this.red=i,this},l.prototype.forceRed=function(i){return _(!this.red,"Already a number in reduction context"),this._forceRed(i)},l.prototype.redAdd=function(i){return _(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},l.prototype.redIAdd=function(i){return _(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},l.prototype.redSub=function(i){return _(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},l.prototype.redISub=function(i){return _(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},l.prototype.redShl=function(i){return _(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},l.prototype.redMul=function(i){return _(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},l.prototype.redIMul=function(i){return _(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},l.prototype.redSqr=function(){return _(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return _(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return _(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return _(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return _(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(i){return _(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 ae(T,i){this.name=T,this.p=new l(i,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function he(){ae.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function se(){ae.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function pe(){ae.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function le(){ae.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function re(T){if("string"==typeof T){var i=l._prime(T);this.m=i.p,this.prime=i}else _(T.gtn(1),"modulus must be greater than 1"),this.m=T,this.prime=null}function fe(T){re.call(this,T),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ae.prototype._tmp=function(){var i=new l(null);return i.words=new Array(Math.ceil(this.n/13)),i},ae.prototype.ireduce=function(i){var m,o=i;do{this.split(o,this.tmp),m=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(m>this.n);var h=m<this.n?-1:o.ucmp(this.p);return 0===h?(o.words[0]=0,o.length=1):h>0?o.isub(this.p):void 0!==o.strip?o.strip():o._strip(),o},ae.prototype.split=function(i,o){i.iushrn(this.n,0,o)},ae.prototype.imulK=function(i){return i.imul(this.k)},O(he,ae),he.prototype.split=function(i,o){for(var m=4194303,h=Math.min(i.length,9),x=0;x<h;x++)o.words[x]=i.words[x];if(o.length=h,i.length<=9)return i.words[0]=0,void(i.length=1);var I=i.words[9];for(o.words[o.length++]=I&m,x=10;x<i.length;x++){var R=0|i.words[x];i.words[x-10]=(R&m)<<4|I>>>22,I=R}I>>>=22,i.words[x-10]=I,0===I&&i.length>10?i.length-=10:i.length-=9},he.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var o=0,m=0;m<i.length;m++){var h=0|i.words[m];o+=977*h,i.words[m]=67108863&o,o=64*h+(o/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},O(se,ae),O(pe,ae),O(le,ae),le.prototype.imulK=function(i){for(var o=0,m=0;m<i.length;m++){var h=19*(0|i.words[m])+o,x=67108863&h;h>>>=26,i.words[m]=x,o=h}return 0!==o&&(i.words[i.length++]=o),i},l._prime=function(i){if($[i])return $[i];var o;if("k256"===i)o=new he;else if("p224"===i)o=new se;else if("p192"===i)o=new pe;else{if("p25519"!==i)throw new Error("Unknown prime "+i);o=new le}return $[i]=o,o},re.prototype._verify1=function(i){_(0===i.negative,"red works only with positives"),_(i.red,"red works only with red numbers")},re.prototype._verify2=function(i,o){_(0==(i.negative|o.negative),"red works only with positives"),_(i.red&&i.red===o.red,"red works only with red numbers")},re.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},re.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},re.prototype.add=function(i,o){this._verify2(i,o);var m=i.add(o);return m.cmp(this.m)>=0&&m.isub(this.m),m._forceRed(this)},re.prototype.iadd=function(i,o){this._verify2(i,o);var m=i.iadd(o);return m.cmp(this.m)>=0&&m.isub(this.m),m},re.prototype.sub=function(i,o){this._verify2(i,o);var m=i.sub(o);return m.cmpn(0)<0&&m.iadd(this.m),m._forceRed(this)},re.prototype.isub=function(i,o){this._verify2(i,o);var m=i.isub(o);return m.cmpn(0)<0&&m.iadd(this.m),m},re.prototype.shl=function(i,o){return this._verify1(i),this.imod(i.ushln(o))},re.prototype.imul=function(i,o){return this._verify2(i,o),this.imod(i.imul(o))},re.prototype.mul=function(i,o){return this._verify2(i,o),this.imod(i.mul(o))},re.prototype.isqr=function(i){return this.imul(i,i.clone())},re.prototype.sqr=function(i){return this.mul(i,i)},re.prototype.sqrt=function(i){if(i.isZero())return i.clone();var o=this.m.andln(3);if(_(o%2==1),3===o){var m=this.m.add(new l(1)).iushrn(2);return this.pow(i,m)}for(var h=this.m.subn(1),x=0;!h.isZero()&&0===h.andln(1);)x++,h.iushrn(1);_(!h.isZero());var I=new l(1).toRed(this),R=I.redNeg(),g=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,g).cmp(R);)r.redIAdd(R);for(var w=this.pow(r,h),V=this.pow(i,h.addn(1).iushrn(1)),N=this.pow(i,h),Y=x;0!==N.cmp(I);){for(var Pe=N,Ce=0;0!==Pe.cmp(I);Ce++)Pe=Pe.redSqr();_(Ce<Y);var Xe=this.pow(w,new l(1).iushln(Y-Ce-1));V=V.redMul(Xe),w=Xe.redSqr(),N=N.redMul(w),Y=Ce}return V},re.prototype.invm=function(i){var o=i._invmp(this.m);return 0!==o.negative?(o.negative=0,this.imod(o).redNeg()):this.imod(o)},re.prototype.pow=function(i,o){if(o.isZero())return new l(1).toRed(this);if(0===o.cmpn(1))return i.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=i;for(var x=2;x<h.length;x++)h[x]=this.mul(h[x-1],i);var I=h[0],R=0,g=0,r=o.bitLength()%26;for(0===r&&(r=26),x=o.length-1;x>=0;x--){for(var w=o.words[x],V=r-1;V>=0;V--){var N=w>>V&1;(I!==h[0]&&(I=this.sqr(I)),0!==N||0!==R)?(R<<=1,R|=N,(4===++g||0===x&&0===V)&&(I=this.mul(I,h[R]),g=0,R=0)):g=0}r=26}return I},re.prototype.convertTo=function(i){var o=i.umod(this.m);return o===i?o.clone():o},re.prototype.convertFrom=function(i){var o=i.clone();return o.red=null,o},l.mont=function(i){return new fe(i)},O(fe,re),fe.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},fe.prototype.convertFrom=function(i){var o=this.imod(i.mul(this.rinv));return o.red=null,o},fe.prototype.imul=function(i,o){if(i.isZero()||o.isZero())return i.words[0]=0,i.length=1,i;var m=i.imul(o),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),x=m.isub(h).iushrn(this.shift),I=x;return x.cmp(this.m)>=0?I=x.isub(this.m):x.cmpn(0)<0&&(I=x.iadd(this.m)),I._forceRed(this)},fe.prototype.mul=function(i,o){if(i.isZero()||o.isZero())return new l(0)._forceRed(this);var m=i.mul(o),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),x=m.isub(h).iushrn(this.shift),I=x;return x.cmp(this.m)>=0?I=x.isub(this.m):x.cmpn(0)<0&&(I=x.iadd(this.m)),I._forceRed(this)},fe.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}})(Ye=f.nmd(Ye),this)},145:(Ye,J,f)=>{"use strict";var e=f(5035),t=f(2617),_=f(5351),O=f(1001),l=f(3735);function C(u){l.call(this,"digest"),this._hash=u}e(C,l),C.prototype._update=function(u){this._hash.update(u)},C.prototype._final=function(){return this._hash.digest()},Ye.exports=function(P){return"md5"===(P=P.toLowerCase())?new t:"rmd160"===P||"ripemd160"===P?new _:new C(O(P))}},2726:(Ye,J,f)=>{var e=f(2617);Ye.exports=function(t){return(new e).update(t).digest()}},3640:(Ye,J,f)=>{"use strict";var e=f(5035),t=f(7531),_=f(3735),O=f(9708).Buffer,l=f(2726),C=f(5351),u=f(1001),P=O.alloc(128);function p(L,D){_.call(this,"digest"),"string"==typeof D&&(D=O.from(D));var k="sha512"===L||"sha384"===L?128:64;(this._alg=L,this._key=D,D.length>k)?D=("rmd160"===L?new C:u(L)).update(D).digest():D.length<k&&(D=O.concat([D,P],k));for(var z=this._ipad=O.allocUnsafe(k),A=this._opad=O.allocUnsafe(k),W=0;W<k;W++)z[W]=54^D[W],A[W]=92^D[W];this._hash="rmd160"===L?new C:u(L),this._hash.update(z)}e(p,_),p.prototype._update=function(L){this._hash.update(L)},p.prototype._final=function(){var L=this._hash.digest();return("rmd160"===this._alg?new C:u(this._alg)).update(this._opad).update(L).digest()},Ye.exports=function(D,k){return"rmd160"===(D=D.toLowerCase())||"ripemd160"===D?new p("rmd160",k):"md5"===D?new t(l,k):new p(D,k)}},7531:(Ye,J,f)=>{"use strict";var e=f(5035),t=f(9708).Buffer,_=f(3735),O=t.alloc(128),l=64;function C(u,P){_.call(this,"digest"),"string"==typeof P&&(P=t.from(P)),this._alg=u,this._key=P,P.length>l?P=u(P):P.length<l&&(P=t.concat([P,O],l));for(var p=this._ipad=t.allocUnsafe(l),L=this._opad=t.allocUnsafe(l),D=0;D<l;D++)p[D]=54^P[D],L[D]=92^P[D];this._hash=[p]}e(C,_),C.prototype._update=function(u){this._hash.push(u)},C.prototype._final=function(){var u=this._alg(t.concat(this._hash));return this._alg(t.concat([this._opad,u]))},Ye.exports=C},9501:(Ye,J,f)=>{"use strict";J.randomBytes=J.rng=J.pseudoRandomBytes=J.prng=f(1186),J.createHash=J.Hash=f(145),J.createHmac=J.Hmac=f(3640);var e=f(8043),t=Object.keys(e),_=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(t);J.getHashes=function(){return _};var O=f(4540);J.pbkdf2=O.pbkdf2,J.pbkdf2Sync=O.pbkdf2Sync;var l=f(4791);J.Cipher=l.Cipher,J.createCipher=l.createCipher,J.Cipheriv=l.Cipheriv,J.createCipheriv=l.createCipheriv,J.Decipher=l.Decipher,J.createDecipher=l.createDecipher,J.Decipheriv=l.Decipheriv,J.createDecipheriv=l.createDecipheriv,J.getCiphers=l.getCiphers,J.listCiphers=l.listCiphers;var C=f(5078);J.DiffieHellmanGroup=C.DiffieHellmanGroup,J.createDiffieHellmanGroup=C.createDiffieHellmanGroup,J.getDiffieHellman=C.getDiffieHellman,J.createDiffieHellman=C.createDiffieHellman,J.DiffieHellman=C.DiffieHellman;var u=f(2124);J.createSign=u.createSign,J.Sign=u.Sign,J.createVerify=u.createVerify,J.Verify=u.Verify,J.createECDH=f(9821);var P=f(1113);J.publicEncrypt=P.publicEncrypt,J.privateEncrypt=P.privateEncrypt,J.publicDecrypt=P.publicDecrypt,J.privateDecrypt=P.privateDecrypt;var p=f(137);J.randomFill=p.randomFill,J.randomFillSync=p.randomFillSync,J.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},J.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}},6222:(Ye,J,f)=>{"use strict";J.utils=f(6272),J.Cipher=f(4040),J.DES=f(7066),J.CBC=f(9297),J.EDE=f(4756)},9297:(Ye,J,f)=>{"use strict";var e=f(3999),t=f(5035),_={};function O(C){e.equal(C.length,8,"Invalid IV length"),this.iv=new Array(8);for(var u=0;u<this.iv.length;u++)this.iv[u]=C[u]}J.instantiate=function l(C){function u(D){C.call(this,D),this._cbcInit()}t(u,C);for(var P=Object.keys(_),p=0;p<P.length;p++){var L=P[p];u.prototype[L]=_[L]}return u.create=function(k){return new u(k)},u},_._cbcInit=function(){var u=new O(this.options.iv);this._cbcState=u},_._update=function(u,P,p,L){var D=this._cbcState,k=this.constructor.super_.prototype,M=D.iv;if("encrypt"===this.type){for(var z=0;z<this.blockSize;z++)M[z]^=u[P+z];k._update.call(this,M,0,p,L);for(z=0;z<this.blockSize;z++)M[z]=p[L+z]}else{k._update.call(this,u,P,p,L);for(z=0;z<this.blockSize;z++)p[L+z]^=M[z];for(z=0;z<this.blockSize;z++)M[z]=u[P+z]}}},4040:(Ye,J,f)=>{"use strict";var e=f(3999);function t(_){this.options=_,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}Ye.exports=t,t.prototype._init=function(){},t.prototype.update=function(O){return 0===O.length?[]:"decrypt"===this.type?this._updateDecrypt(O):this._updateEncrypt(O)},t.prototype._buffer=function(O,l){for(var C=Math.min(this.buffer.length-this.bufferOff,O.length-l),u=0;u<C;u++)this.buffer[this.bufferOff+u]=O[l+u];return this.bufferOff+=C,C},t.prototype._flushBuffer=function(O,l){return this._update(this.buffer,0,O,l),this.bufferOff=0,this.blockSize},t.prototype._updateEncrypt=function(O){var l=0,C=0,u=(this.bufferOff+O.length)/this.blockSize|0,P=new Array(u*this.blockSize);0!==this.bufferOff&&(l+=this._buffer(O,l),this.bufferOff===this.buffer.length&&(C+=this._flushBuffer(P,C)));for(var p=O.length-(O.length-l)%this.blockSize;l<p;l+=this.blockSize)this._update(O,l,P,C),C+=this.blockSize;for(;l<O.length;l++,this.bufferOff++)this.buffer[this.bufferOff]=O[l];return P},t.prototype._updateDecrypt=function(O){for(var l=0,C=0,u=Math.ceil((this.bufferOff+O.length)/this.blockSize)-1,P=new Array(u*this.blockSize);u>0;u--)l+=this._buffer(O,l),C+=this._flushBuffer(P,C);return l+=this._buffer(O,l),P},t.prototype.final=function(O){var l,C;return O&&(l=this.update(O)),C="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),l?l.concat(C):C},t.prototype._pad=function(O,l){if(0===l)return!1;for(;l<O.length;)O[l++]=0;return!0},t.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var O=new Array(this.blockSize);return this._update(this.buffer,0,O,0),O},t.prototype._unpad=function(O){return O},t.prototype._finalDecrypt=function(){e.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var O=new Array(this.blockSize);return this._flushBuffer(O,0),this._unpad(O)}},7066:(Ye,J,f)=>{"use strict";var e=f(3999),t=f(5035),_=f(6272),O=f(4040);function l(){this.tmp=new Array(2),this.keys=null}function C(P){O.call(this,P);var p=new l;this._desState=p,this.deriveKeys(p,P.key)}t(C,O),Ye.exports=C,C.create=function(p){return new C(p)};var u=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];C.prototype.deriveKeys=function(p,L){p.keys=new Array(32),e.equal(L.length,this.blockSize,"Invalid key length");var D=_.readUInt32BE(L,0),k=_.readUInt32BE(L,4);_.pc1(D,k,p.tmp,0),D=p.tmp[0],k=p.tmp[1];for(var M=0;M<p.keys.length;M+=2){var z=u[M>>>1];D=_.r28shl(D,z),k=_.r28shl(k,z),_.pc2(D,k,p.keys,M)}},C.prototype._update=function(p,L,D,k){var M=this._desState,z=_.readUInt32BE(p,L),A=_.readUInt32BE(p,L+4);_.ip(z,A,M.tmp,0),z=M.tmp[0],A=M.tmp[1],"encrypt"===this.type?this._encrypt(M,z,A,M.tmp,0):this._decrypt(M,z,A,M.tmp,0),z=M.tmp[0],A=M.tmp[1],_.writeUInt32BE(D,z,k),_.writeUInt32BE(D,A,k+4)},C.prototype._pad=function(p,L){for(var D=p.length-L,k=L;k<p.length;k++)p[k]=D;return!0},C.prototype._unpad=function(p){for(var L=p[p.length-1],D=p.length-L;D<p.length;D++)e.equal(p[D],L);return p.slice(0,p.length-L)},C.prototype._encrypt=function(p,L,D,k,M){for(var z=L,A=D,W=0;W<p.keys.length;W+=2){var Z=p.keys[W],X=p.keys[W+1];_.expand(A,p.tmp,0),Z^=p.tmp[0],X^=p.tmp[1];var $=_.substitute(Z,X),he=A;A=(z^_.permute($))>>>0,z=he}_.rip(A,z,k,M)},C.prototype._decrypt=function(p,L,D,k,M){for(var z=D,A=L,W=p.keys.length-2;W>=0;W-=2){var Z=p.keys[W],X=p.keys[W+1];_.expand(z,p.tmp,0),Z^=p.tmp[0],X^=p.tmp[1];var $=_.substitute(Z,X),he=z;z=(A^_.permute($))>>>0,A=he}_.rip(z,A,k,M)}},4756:(Ye,J,f)=>{"use strict";var e=f(3999),t=f(5035),_=f(4040),O=f(7066);function l(u,P){e.equal(P.length,24,"Invalid key length");var p=P.slice(0,8),L=P.slice(8,16),D=P.slice(16,24);this.ciphers="encrypt"===u?[O.create({type:"encrypt",key:p}),O.create({type:"decrypt",key:L}),O.create({type:"encrypt",key:D})]:[O.create({type:"decrypt",key:D}),O.create({type:"encrypt",key:L}),O.create({type:"decrypt",key:p})]}function C(u){_.call(this,u);var P=new l(this.type,this.options.key);this._edeState=P}t(C,_),Ye.exports=C,C.create=function(P){return new C(P)},C.prototype._update=function(P,p,L,D){var k=this._edeState;k.ciphers[0]._update(P,p,L,D),k.ciphers[1]._update(L,D,L,D),k.ciphers[2]._update(L,D,L,D)},C.prototype._pad=O.prototype._pad,C.prototype._unpad=O.prototype._unpad},6272:(Ye,J)=>{"use strict";J.readUInt32BE=function(O,l){return(O[0+l]<<24|O[1+l]<<16|O[2+l]<<8|O[3+l])>>>0},J.writeUInt32BE=function(O,l,C){O[0+C]=l>>>24,O[1+C]=l>>>16&255,O[2+C]=l>>>8&255,O[3+C]=255&l},J.ip=function(O,l,C,u){for(var P=0,p=0,L=6;L>=0;L-=2){for(var D=0;D<=24;D+=8)P<<=1,P|=l>>>D+L&1;for(D=0;D<=24;D+=8)P<<=1,P|=O>>>D+L&1}for(L=6;L>=0;L-=2){for(D=1;D<=25;D+=8)p<<=1,p|=l>>>D+L&1;for(D=1;D<=25;D+=8)p<<=1,p|=O>>>D+L&1}C[u+0]=P>>>0,C[u+1]=p>>>0},J.rip=function(O,l,C,u){for(var P=0,p=0,L=0;L<4;L++)for(var D=24;D>=0;D-=8)P<<=1,P|=l>>>D+L&1,P<<=1,P|=O>>>D+L&1;for(L=4;L<8;L++)for(D=24;D>=0;D-=8)p<<=1,p|=l>>>D+L&1,p<<=1,p|=O>>>D+L&1;C[u+0]=P>>>0,C[u+1]=p>>>0},J.pc1=function(O,l,C,u){for(var P=0,p=0,L=7;L>=5;L--){for(var D=0;D<=24;D+=8)P<<=1,P|=l>>D+L&1;for(D=0;D<=24;D+=8)P<<=1,P|=O>>D+L&1}for(D=0;D<=24;D+=8)P<<=1,P|=l>>D+L&1;for(L=1;L<=3;L++){for(D=0;D<=24;D+=8)p<<=1,p|=l>>D+L&1;for(D=0;D<=24;D+=8)p<<=1,p|=O>>D+L&1}for(D=0;D<=24;D+=8)p<<=1,p|=O>>D+L&1;C[u+0]=P>>>0,C[u+1]=p>>>0},J.r28shl=function(O,l){return O<<l&268435455|O>>>28-l};var f=[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];J.pc2=function(O,l,C,u){for(var P=0,p=0,L=f.length>>>1,D=0;D<L;D++)P<<=1,P|=O>>>f[D]&1;for(D=L;D<f.length;D++)p<<=1,p|=l>>>f[D]&1;C[u+0]=P>>>0,C[u+1]=p>>>0},J.expand=function(O,l,C){var u=0,P=0;u=(1&O)<<5|O>>>27;for(var p=23;p>=15;p-=4)u<<=6,u|=O>>>p&63;for(p=11;p>=3;p-=4)P|=O>>>p&63,P<<=6;P|=(31&O)<<1|O>>>31,l[C+0]=u>>>0,l[C+1]=P>>>0};var e=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];J.substitute=function(O,l){for(var C=0,u=0;u<4;u++){C<<=4,C|=e[64*u+(O>>>18-6*u&63)]}for(u=0;u<4;u++){C<<=4,C|=e[256+64*u+(l>>>18-6*u&63)]}return C>>>0};var t=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];J.permute=function(O){for(var l=0,C=0;C<t.length;C++)l<<=1,l|=O>>>t[C]&1;return l>>>0},J.padSplit=function(O,l,C){for(var u=O.toString(2);u.length<l;)u="0"+u;for(var P=[],p=0;p<l;p+=C)P.push(u.slice(p,p+C));return P.join(" ")}},5078:(Ye,J,f)=>{var e=f(2847),t=f(9799),_=f(5648);var l={binary:!0,hex:!0,base64:!0};J.DiffieHellmanGroup=J.createDiffieHellmanGroup=J.getDiffieHellman=function O(u){var P=new Buffer(t[u].prime,"hex"),p=new Buffer(t[u].gen,"hex");return new _(P,p)},J.createDiffieHellman=J.DiffieHellman=function C(u,P,p,L){return Buffer.isBuffer(P)||void 0===l[P]?C(u,"binary",P,p):(P=P||"binary",L=L||"binary",p=p||new Buffer([2]),Buffer.isBuffer(p)||(p=new Buffer(p,L)),"number"==typeof u?new _(e(u,p),p,!0):(Buffer.isBuffer(u)||(u=new Buffer(u,P)),new _(u,p,!0)))}},5648:(Ye,J,f)=>{var e=f(490),_=new(f(7789)),O=new e(24),l=new e(11),C=new e(10),u=new e(3),P=new e(7),p=f(2847),L=f(1186);function D(Z,X){return X=X||"utf8",Buffer.isBuffer(Z)||(Z=new Buffer(Z,X)),this._pub=new e(Z),this}function k(Z,X){return X=X||"utf8",Buffer.isBuffer(Z)||(Z=new Buffer(Z,X)),this._priv=new e(Z),this}Ye.exports=A;var M={};function A(Z,X,$){this.setGenerator(X),this.__prime=new e(Z),this._prime=e.mont(this.__prime),this._primeLen=Z.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,$?(this.setPublicKey=D,this.setPrivateKey=k):this._primeCode=8}function W(Z,X){var $=new Buffer(Z.toArray());return X?$.toString(X):$}Object.defineProperty(A.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function z(Z,X){var $=X.toString("hex"),ae=[$,Z.toString(16)].join("_");if(ae in M)return M[ae];var se,he=0;if(Z.isEven()||!p.simpleSieve||!p.fermatTest(Z)||!_.test(Z))return he+=1,he+="02"===$||"05"===$?8:4,M[ae]=he,he;switch(_.test(Z.shrn(1))||(he+=2),$){case"02":Z.mod(O).cmp(l)&&(he+=8);break;case"05":(se=Z.mod(C)).cmp(u)&&se.cmp(P)&&(he+=8);break;default:he+=4}return M[ae]=he,he}(this.__prime,this.__gen)),this._primeCode}}),A.prototype.generateKeys=function(){return this._priv||(this._priv=new e(L(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},A.prototype.computeSecret=function(Z){var X=(Z=(Z=new e(Z)).toRed(this._prime)).redPow(this._priv).fromRed(),$=new Buffer(X.toArray()),ae=this.getPrime();if($.length<ae.length){var he=new Buffer(ae.length-$.length);he.fill(0),$=Buffer.concat([he,$])}return $},A.prototype.getPublicKey=function(X){return W(this._pub,X)},A.prototype.getPrivateKey=function(X){return W(this._priv,X)},A.prototype.getPrime=function(Z){return W(this.__prime,Z)},A.prototype.getGenerator=function(Z){return W(this._gen,Z)},A.prototype.setGenerator=function(Z,X){return X=X||"utf8",Buffer.isBuffer(Z)||(Z=new Buffer(Z,X)),this.__gen=Z,this._gen=new e(Z),this}},2847:(Ye,J,f)=>{var e=f(1186);Ye.exports=he,he.simpleSieve=$,he.fermatTest=ae;var t=f(490),_=new t(24),l=new(f(7789)),C=new t(1),u=new t(2),P=new t(5),D=(new t(16),new t(8),new t(10)),k=new t(3),z=(new t(7),new t(11)),A=new t(4),Z=(new t(12),null);function $(se){for(var pe=function X(){if(null!==Z)return Z;var pe=[];pe[0]=2;for(var le=1,re=3;re<1048576;re+=2){for(var fe=Math.ceil(Math.sqrt(re)),T=0;T<le&&pe[T]<=fe&&re%pe[T]!=0;T++);le!==T&&pe[T]<=fe||(pe[le++]=re)}return Z=pe,pe}(),le=0;le<pe.length;le++)if(0===se.modn(pe[le]))return 0===se.cmpn(pe[le]);return!0}function ae(se){var pe=t.mont(se);return 0===u.toRed(pe).redPow(se.subn(1)).fromRed().cmpn(1)}function he(se,pe){if(se<16)return new t(2===pe||5===pe?[140,123]:[140,39]);pe=new t(pe);for(var le,re;;){for(le=new t(e(Math.ceil(se/8)));le.bitLength()>se;)le.ishrn(1);if(le.isEven()&&le.iadd(C),le.testn(1)||le.iadd(u),pe.cmp(u)){if(!pe.cmp(P))for(;le.mod(D).cmp(k);)le.iadd(A)}else for(;le.mod(_).cmp(z);)le.iadd(A);if($(re=le.shrn(1))&&$(le)&&ae(re)&&ae(le)&&l.test(re)&&l.test(le))return le}}},490:function(Ye,J,f){(function(e,t){"use strict";function _(T,i){if(!T)throw new Error(i||"Assertion failed")}function O(T,i){T.super_=i;var o=function(){};o.prototype=i.prototype,T.prototype=new o,T.prototype.constructor=T}function l(T,i,o){if(l.isBN(T))return T;this.negative=0,this.words=null,this.length=0,this.red=null,null!==T&&(("le"===i||"be"===i)&&(o=i,i=10),this._init(T||0,i||10,o||"be"))}var C;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:f(7748).Buffer}catch{}function u(T,i){var o=T.charCodeAt(i);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function P(T,i,o){var m=u(T,o);return o-1>=i&&(m|=u(T,o-1)<<4),m}function p(T,i,o,m){for(var h=0,x=Math.min(T.length,o),I=i;I<x;I++){var R=T.charCodeAt(I)-48;h*=m,h+=R>=49?R-49+10:R>=17?R-17+10:R}return h}l.isBN=function(i){return i instanceof l||null!==i&&"object"==typeof i&&i.constructor.wordSize===l.wordSize&&Array.isArray(i.words)},l.max=function(i,o){return i.cmp(o)>0?i:o},l.min=function(i,o){return i.cmp(o)<0?i:o},l.prototype._init=function(i,o,m){if("number"==typeof i)return this._initNumber(i,o,m);if("object"==typeof i)return this._initArray(i,o,m);"hex"===o&&(o=16),_(o===(0|o)&&o>=2&&o<=36);var h=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<i.length&&(16===o?this._parseHex(i,h,m):(this._parseBase(i,o,h),"le"===m&&this._initArray(this.toArray(),o,m)))},l.prototype._initNumber=function(i,o,m){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):(_(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===m&&this._initArray(this.toArray(),o,m)},l.prototype._initArray=function(i,o,m){if(_("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 h=0;h<this.length;h++)this.words[h]=0;var x,I,R=0;if("be"===m)for(h=i.length-1,x=0;h>=0;h-=3)I=i[h]|i[h-1]<<8|i[h-2]<<16,this.words[x]|=I<<R&67108863,this.words[x+1]=I>>>26-R&67108863,(R+=24)>=26&&(R-=26,x++);else if("le"===m)for(h=0,x=0;h<i.length;h+=3)I=i[h]|i[h+1]<<8|i[h+2]<<16,this.words[x]|=I<<R&67108863,this.words[x+1]=I>>>26-R&67108863,(R+=24)>=26&&(R-=26,x++);return this.strip()},l.prototype._parseHex=function(i,o,m){this.length=Math.ceil((i.length-o)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var R,x=0,I=0;if("be"===m)for(h=i.length-1;h>=o;h-=2)R=P(i,o,h)<<x,this.words[I]|=67108863&R,x>=18?(x-=18,I+=1,this.words[I]|=R>>>26):x+=8;else for(h=(i.length-o)%2==0?o+1:o;h<i.length;h+=2)R=P(i,o,h)<<x,this.words[I]|=67108863&R,x>=18?(x-=18,I+=1,this.words[I]|=R>>>26):x+=8;this.strip()},l.prototype._parseBase=function(i,o,m){this.words=[0],this.length=1;for(var h=0,x=1;x<=67108863;x*=o)h++;h--,x=x/o|0;for(var I=i.length-m,R=I%h,g=Math.min(I,I-R)+m,r=0,w=m;w<g;w+=h)r=p(i,w,w+h,o),this.imuln(x),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==R){var V=1;for(r=p(i,w,i.length,o),w=0;w<R;w++)V*=o;this.imuln(V),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r)}this.strip()},l.prototype.copy=function(i){i.words=new Array(this.length);for(var o=0;o<this.length;o++)i.words[o]=this.words[o];i.length=this.length,i.negative=this.negative,i.red=this.red},l.prototype.clone=function(){var i=new l(null);return this.copy(i),i},l.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var L=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],D=[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],k=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function z(T,i,o){o.negative=i.negative^T.negative;var m=T.length+i.length|0;o.length=m,m=m-1|0;var h=0|T.words[0],x=0|i.words[0],I=h*x,R=67108863&I,g=I/67108864|0;o.words[0]=R;for(var r=1;r<m;r++){for(var w=g>>>26,V=67108863&g,N=Math.min(r,i.length-1),Y=Math.max(0,r-T.length+1);Y<=N;Y++){var Pe=r-Y|0;w+=(I=(h=0|T.words[Pe])*(x=0|i.words[Y])+V)/67108864|0,V=67108863&I}o.words[r]=0|V,g=0|w}return 0!==g?o.words[r]=0|g:o.length--,o.strip()}l.prototype.toString=function(i,o){var m;if(o=0|o||1,16===(i=i||10)||"hex"===i){m="";for(var h=0,x=0,I=0;I<this.length;I++){var R=this.words[I],g=(16777215&(R<<h|x)).toString(16);m=0!==(x=R>>>24-h&16777215)||I!==this.length-1?L[6-g.length]+g+m:g+m,(h+=2)>=26&&(h-=26,I--)}for(0!==x&&(m=x.toString(16)+m);m.length%o!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}if(i===(0|i)&&i>=2&&i<=36){var r=D[i],w=k[i];m="";var V=this.clone();for(V.negative=0;!V.isZero();){var N=V.modn(w).toString(i);m=(V=V.idivn(w)).isZero()?N+m:L[r-N.length]+N+m}for(this.isZero()&&(m="0"+m);m.length%o!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}_(!1,"Base should be between 2 and 36")},l.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&&_(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-i:i},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(i,o){return _(typeof C<"u"),this.toArrayLike(C,i,o)},l.prototype.toArray=function(i,o){return this.toArrayLike(Array,i,o)},l.prototype.toArrayLike=function(i,o,m){var h=this.byteLength(),x=m||Math.max(1,h);_(h<=x,"byte array longer than desired length"),_(x>0,"Requested array length <= 0"),this.strip();var g,r,I="le"===o,R=new i(x),w=this.clone();if(I){for(r=0;!w.isZero();r++)g=w.andln(255),w.iushrn(8),R[r]=g;for(;r<x;r++)R[r]=0}else{for(r=0;r<x-h;r++)R[r]=0;for(r=0;!w.isZero();r++)g=w.andln(255),w.iushrn(8),R[x-r-1]=g}return R},Math.clz32?l.prototype._countBits=function(i){return 32-Math.clz32(i)}:l.prototype._countBits=function(i){var o=i,m=0;return o>=4096&&(m+=13,o>>>=13),o>=64&&(m+=7,o>>>=7),o>=8&&(m+=4,o>>>=4),o>=2&&(m+=2,o>>>=2),m+o},l.prototype._zeroBits=function(i){if(0===i)return 26;var o=i,m=0;return 0==(8191&o)&&(m+=13,o>>>=13),0==(127&o)&&(m+=7,o>>>=7),0==(15&o)&&(m+=4,o>>>=4),0==(3&o)&&(m+=2,o>>>=2),0==(1&o)&&m++,m},l.prototype.bitLength=function(){var i=this.words[this.length-1],o=this._countBits(i);return 26*(this.length-1)+o},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,o=0;o<this.length;o++){var m=this._zeroBits(this.words[o]);if(i+=m,26!==m)break}return i},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},l.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var o=0;o<i.length;o++)this.words[o]=this.words[o]|i.words[o];return this.strip()},l.prototype.ior=function(i){return _(0==(this.negative|i.negative)),this.iuor(i)},l.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},l.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},l.prototype.iuand=function(i){var o;o=this.length>i.length?i:this;for(var m=0;m<o.length;m++)this.words[m]=this.words[m]&i.words[m];return this.length=o.length,this.strip()},l.prototype.iand=function(i){return _(0==(this.negative|i.negative)),this.iuand(i)},l.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},l.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},l.prototype.iuxor=function(i){var o,m;this.length>i.length?(o=this,m=i):(o=i,m=this);for(var h=0;h<m.length;h++)this.words[h]=o.words[h]^m.words[h];if(this!==o)for(;h<o.length;h++)this.words[h]=o.words[h];return this.length=o.length,this.strip()},l.prototype.ixor=function(i){return _(0==(this.negative|i.negative)),this.iuxor(i)},l.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},l.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},l.prototype.inotn=function(i){_("number"==typeof i&&i>=0);var o=0|Math.ceil(i/26),m=i%26;this._expand(o),m>0&&o--;for(var h=0;h<o;h++)this.words[h]=67108863&~this.words[h];return m>0&&(this.words[h]=~this.words[h]&67108863>>26-m),this.strip()},l.prototype.notn=function(i){return this.clone().inotn(i)},l.prototype.setn=function(i,o){_("number"==typeof i&&i>=0);var m=i/26|0,h=i%26;return this._expand(m+1),this.words[m]=o?this.words[m]|1<<h:this.words[m]&~(1<<h),this.strip()},l.prototype.iadd=function(i){var o,m,h;if(0!==this.negative&&0===i.negative)return this.negative=0,o=this.isub(i),this.negative^=1,this._normSign();if(0===this.negative&&0!==i.negative)return i.negative=0,o=this.isub(i),i.negative=1,o._normSign();this.length>i.length?(m=this,h=i):(m=i,h=this);for(var x=0,I=0;I<h.length;I++)o=(0|m.words[I])+(0|h.words[I])+x,this.words[I]=67108863&o,x=o>>>26;for(;0!==x&&I<m.length;I++)o=(0|m.words[I])+x,this.words[I]=67108863&o,x=o>>>26;if(this.length=m.length,0!==x)this.words[this.length]=x,this.length++;else if(m!==this)for(;I<m.length;I++)this.words[I]=m.words[I];return this},l.prototype.add=function(i){var o;return 0!==i.negative&&0===this.negative?(i.negative=0,o=this.sub(i),i.negative^=1,o):0===i.negative&&0!==this.negative?(this.negative=0,o=i.sub(this),this.negative=1,o):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},l.prototype.isub=function(i){if(0!==i.negative){i.negative=0;var o=this.iadd(i);return i.negative=1,o._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var h,x,m=this.cmp(i);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(h=this,x=i):(h=i,x=this);for(var I=0,R=0;R<x.length;R++)I=(o=(0|h.words[R])-(0|x.words[R])+I)>>26,this.words[R]=67108863&o;for(;0!==I&&R<h.length;R++)I=(o=(0|h.words[R])+I)>>26,this.words[R]=67108863&o;if(0===I&&R<h.length&&h!==this)for(;R<h.length;R++)this.words[R]=h.words[R];return this.length=Math.max(this.length,R),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(i){return this.clone().isub(i)};var A=function(i,o,m){var g,r,w,h=i.words,x=o.words,I=m.words,R=0,V=0|h[0],N=8191&V,Y=V>>>13,Pe=0|h[1],Ce=8191&Pe,Xe=Pe>>>13,dt=0|h[2],Ke=8191&dt,ge=dt>>>13,$e=0|h[3],Oe=8191&$e,Me=$e>>>13,De=0|h[4],Ue=8191&De,ye=De>>>13,we=0|h[5],ie=8191&we,Se=we>>>13,ne=0|h[6],K=8191&ne,ee=ne>>>13,ze=0|h[7],Ve=8191&ze,oe=ze>>>13,at=0|h[8],qe=8191&at,it=at>>>13,ii=0|h[9],bt=8191&ii,st=ii>>>13,Be=0|x[0],rt=8191&Be,Ot=Be>>>13,Gt=0|x[1],kt=8191&Gt,Rt=Gt>>>13,yi=0|x[2],Jt=8191&yi,Zt=yi>>>13,mi=0|x[3],Re=8191&mi,U=mi>>>13,j=0|x[4],ue=8191&j,Ne=j>>>13,wt=0|x[5],Et=8191&wt,Nt=wt>>>13,ot=0|x[6],We=8191&ot,gt=ot>>>13,ri=0|x[7],Pt=8191&ri,Ft=ri>>>13,qt=0|x[8],Te=8191&qt,me=qt>>>13,ct=0|x[9],_t=8191&ct,Lt=ct>>>13;m.negative=i.negative^o.negative,m.length=19;var Li=(R+(g=Math.imul(N,rt))|0)+((8191&(r=(r=Math.imul(N,Ot))+Math.imul(Y,rt)|0))<<13)|0;R=((w=Math.imul(Y,Ot))+(r>>>13)|0)+(Li>>>26)|0,Li&=67108863,g=Math.imul(Ce,rt),r=(r=Math.imul(Ce,Ot))+Math.imul(Xe,rt)|0,w=Math.imul(Xe,Ot);var Ai=(R+(g=g+Math.imul(N,kt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Rt)|0)+Math.imul(Y,kt)|0))<<13)|0;R=((w=w+Math.imul(Y,Rt)|0)+(r>>>13)|0)+(Ai>>>26)|0,Ai&=67108863,g=Math.imul(Ke,rt),r=(r=Math.imul(Ke,Ot))+Math.imul(ge,rt)|0,w=Math.imul(ge,Ot),g=g+Math.imul(Ce,kt)|0,r=(r=r+Math.imul(Ce,Rt)|0)+Math.imul(Xe,kt)|0,w=w+Math.imul(Xe,Rt)|0;var wi=(R+(g=g+Math.imul(N,Jt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Zt)|0)+Math.imul(Y,Jt)|0))<<13)|0;R=((w=w+Math.imul(Y,Zt)|0)+(r>>>13)|0)+(wi>>>26)|0,wi&=67108863,g=Math.imul(Oe,rt),r=(r=Math.imul(Oe,Ot))+Math.imul(Me,rt)|0,w=Math.imul(Me,Ot),g=g+Math.imul(Ke,kt)|0,r=(r=r+Math.imul(Ke,Rt)|0)+Math.imul(ge,kt)|0,w=w+Math.imul(ge,Rt)|0,g=g+Math.imul(Ce,Jt)|0,r=(r=r+Math.imul(Ce,Zt)|0)+Math.imul(Xe,Jt)|0,w=w+Math.imul(Xe,Zt)|0;var zi=(R+(g=g+Math.imul(N,Re)|0)|0)+((8191&(r=(r=r+Math.imul(N,U)|0)+Math.imul(Y,Re)|0))<<13)|0;R=((w=w+Math.imul(Y,U)|0)+(r>>>13)|0)+(zi>>>26)|0,zi&=67108863,g=Math.imul(Ue,rt),r=(r=Math.imul(Ue,Ot))+Math.imul(ye,rt)|0,w=Math.imul(ye,Ot),g=g+Math.imul(Oe,kt)|0,r=(r=r+Math.imul(Oe,Rt)|0)+Math.imul(Me,kt)|0,w=w+Math.imul(Me,Rt)|0,g=g+Math.imul(Ke,Jt)|0,r=(r=r+Math.imul(Ke,Zt)|0)+Math.imul(ge,Jt)|0,w=w+Math.imul(ge,Zt)|0,g=g+Math.imul(Ce,Re)|0,r=(r=r+Math.imul(Ce,U)|0)+Math.imul(Xe,Re)|0,w=w+Math.imul(Xe,U)|0;var xt=(R+(g=g+Math.imul(N,ue)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ne)|0)+Math.imul(Y,ue)|0))<<13)|0;R=((w=w+Math.imul(Y,Ne)|0)+(r>>>13)|0)+(xt>>>26)|0,xt&=67108863,g=Math.imul(ie,rt),r=(r=Math.imul(ie,Ot))+Math.imul(Se,rt)|0,w=Math.imul(Se,Ot),g=g+Math.imul(Ue,kt)|0,r=(r=r+Math.imul(Ue,Rt)|0)+Math.imul(ye,kt)|0,w=w+Math.imul(ye,Rt)|0,g=g+Math.imul(Oe,Jt)|0,r=(r=r+Math.imul(Oe,Zt)|0)+Math.imul(Me,Jt)|0,w=w+Math.imul(Me,Zt)|0,g=g+Math.imul(Ke,Re)|0,r=(r=r+Math.imul(Ke,U)|0)+Math.imul(ge,Re)|0,w=w+Math.imul(ge,U)|0,g=g+Math.imul(Ce,ue)|0,r=(r=r+Math.imul(Ce,Ne)|0)+Math.imul(Xe,ue)|0,w=w+Math.imul(Xe,Ne)|0;var Qe=(R+(g=g+Math.imul(N,Et)|0)|0)+((8191&(r=(r=r+Math.imul(N,Nt)|0)+Math.imul(Y,Et)|0))<<13)|0;R=((w=w+Math.imul(Y,Nt)|0)+(r>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,g=Math.imul(K,rt),r=(r=Math.imul(K,Ot))+Math.imul(ee,rt)|0,w=Math.imul(ee,Ot),g=g+Math.imul(ie,kt)|0,r=(r=r+Math.imul(ie,Rt)|0)+Math.imul(Se,kt)|0,w=w+Math.imul(Se,Rt)|0,g=g+Math.imul(Ue,Jt)|0,r=(r=r+Math.imul(Ue,Zt)|0)+Math.imul(ye,Jt)|0,w=w+Math.imul(ye,Zt)|0,g=g+Math.imul(Oe,Re)|0,r=(r=r+Math.imul(Oe,U)|0)+Math.imul(Me,Re)|0,w=w+Math.imul(Me,U)|0,g=g+Math.imul(Ke,ue)|0,r=(r=r+Math.imul(Ke,Ne)|0)+Math.imul(ge,ue)|0,w=w+Math.imul(ge,Ne)|0,g=g+Math.imul(Ce,Et)|0,r=(r=r+Math.imul(Ce,Nt)|0)+Math.imul(Xe,Et)|0,w=w+Math.imul(Xe,Nt)|0;var Fe=(R+(g=g+Math.imul(N,We)|0)|0)+((8191&(r=(r=r+Math.imul(N,gt)|0)+Math.imul(Y,We)|0))<<13)|0;R=((w=w+Math.imul(Y,gt)|0)+(r>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,g=Math.imul(Ve,rt),r=(r=Math.imul(Ve,Ot))+Math.imul(oe,rt)|0,w=Math.imul(oe,Ot),g=g+Math.imul(K,kt)|0,r=(r=r+Math.imul(K,Rt)|0)+Math.imul(ee,kt)|0,w=w+Math.imul(ee,Rt)|0,g=g+Math.imul(ie,Jt)|0,r=(r=r+Math.imul(ie,Zt)|0)+Math.imul(Se,Jt)|0,w=w+Math.imul(Se,Zt)|0,g=g+Math.imul(Ue,Re)|0,r=(r=r+Math.imul(Ue,U)|0)+Math.imul(ye,Re)|0,w=w+Math.imul(ye,U)|0,g=g+Math.imul(Oe,ue)|0,r=(r=r+Math.imul(Oe,Ne)|0)+Math.imul(Me,ue)|0,w=w+Math.imul(Me,Ne)|0,g=g+Math.imul(Ke,Et)|0,r=(r=r+Math.imul(Ke,Nt)|0)+Math.imul(ge,Et)|0,w=w+Math.imul(ge,Nt)|0,g=g+Math.imul(Ce,We)|0,r=(r=r+Math.imul(Ce,gt)|0)+Math.imul(Xe,We)|0,w=w+Math.imul(Xe,gt)|0;var Wt=(R+(g=g+Math.imul(N,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ft)|0)+Math.imul(Y,Pt)|0))<<13)|0;R=((w=w+Math.imul(Y,Ft)|0)+(r>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,g=Math.imul(qe,rt),r=(r=Math.imul(qe,Ot))+Math.imul(it,rt)|0,w=Math.imul(it,Ot),g=g+Math.imul(Ve,kt)|0,r=(r=r+Math.imul(Ve,Rt)|0)+Math.imul(oe,kt)|0,w=w+Math.imul(oe,Rt)|0,g=g+Math.imul(K,Jt)|0,r=(r=r+Math.imul(K,Zt)|0)+Math.imul(ee,Jt)|0,w=w+Math.imul(ee,Zt)|0,g=g+Math.imul(ie,Re)|0,r=(r=r+Math.imul(ie,U)|0)+Math.imul(Se,Re)|0,w=w+Math.imul(Se,U)|0,g=g+Math.imul(Ue,ue)|0,r=(r=r+Math.imul(Ue,Ne)|0)+Math.imul(ye,ue)|0,w=w+Math.imul(ye,Ne)|0,g=g+Math.imul(Oe,Et)|0,r=(r=r+Math.imul(Oe,Nt)|0)+Math.imul(Me,Et)|0,w=w+Math.imul(Me,Nt)|0,g=g+Math.imul(Ke,We)|0,r=(r=r+Math.imul(Ke,gt)|0)+Math.imul(ge,We)|0,w=w+Math.imul(ge,gt)|0,g=g+Math.imul(Ce,Pt)|0,r=(r=r+Math.imul(Ce,Ft)|0)+Math.imul(Xe,Pt)|0,w=w+Math.imul(Xe,Ft)|0;var Xt=(R+(g=g+Math.imul(N,Te)|0)|0)+((8191&(r=(r=r+Math.imul(N,me)|0)+Math.imul(Y,Te)|0))<<13)|0;R=((w=w+Math.imul(Y,me)|0)+(r>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,g=Math.imul(bt,rt),r=(r=Math.imul(bt,Ot))+Math.imul(st,rt)|0,w=Math.imul(st,Ot),g=g+Math.imul(qe,kt)|0,r=(r=r+Math.imul(qe,Rt)|0)+Math.imul(it,kt)|0,w=w+Math.imul(it,Rt)|0,g=g+Math.imul(Ve,Jt)|0,r=(r=r+Math.imul(Ve,Zt)|0)+Math.imul(oe,Jt)|0,w=w+Math.imul(oe,Zt)|0,g=g+Math.imul(K,Re)|0,r=(r=r+Math.imul(K,U)|0)+Math.imul(ee,Re)|0,w=w+Math.imul(ee,U)|0,g=g+Math.imul(ie,ue)|0,r=(r=r+Math.imul(ie,Ne)|0)+Math.imul(Se,ue)|0,w=w+Math.imul(Se,Ne)|0,g=g+Math.imul(Ue,Et)|0,r=(r=r+Math.imul(Ue,Nt)|0)+Math.imul(ye,Et)|0,w=w+Math.imul(ye,Nt)|0,g=g+Math.imul(Oe,We)|0,r=(r=r+Math.imul(Oe,gt)|0)+Math.imul(Me,We)|0,w=w+Math.imul(Me,gt)|0,g=g+Math.imul(Ke,Pt)|0,r=(r=r+Math.imul(Ke,Ft)|0)+Math.imul(ge,Pt)|0,w=w+Math.imul(ge,Ft)|0,g=g+Math.imul(Ce,Te)|0,r=(r=r+Math.imul(Ce,me)|0)+Math.imul(Xe,Te)|0,w=w+Math.imul(Xe,me)|0;var _i=(R+(g=g+Math.imul(N,_t)|0)|0)+((8191&(r=(r=r+Math.imul(N,Lt)|0)+Math.imul(Y,_t)|0))<<13)|0;R=((w=w+Math.imul(Y,Lt)|0)+(r>>>13)|0)+(_i>>>26)|0,_i&=67108863,g=Math.imul(bt,kt),r=(r=Math.imul(bt,Rt))+Math.imul(st,kt)|0,w=Math.imul(st,Rt),g=g+Math.imul(qe,Jt)|0,r=(r=r+Math.imul(qe,Zt)|0)+Math.imul(it,Jt)|0,w=w+Math.imul(it,Zt)|0,g=g+Math.imul(Ve,Re)|0,r=(r=r+Math.imul(Ve,U)|0)+Math.imul(oe,Re)|0,w=w+Math.imul(oe,U)|0,g=g+Math.imul(K,ue)|0,r=(r=r+Math.imul(K,Ne)|0)+Math.imul(ee,ue)|0,w=w+Math.imul(ee,Ne)|0,g=g+Math.imul(ie,Et)|0,r=(r=r+Math.imul(ie,Nt)|0)+Math.imul(Se,Et)|0,w=w+Math.imul(Se,Nt)|0,g=g+Math.imul(Ue,We)|0,r=(r=r+Math.imul(Ue,gt)|0)+Math.imul(ye,We)|0,w=w+Math.imul(ye,gt)|0,g=g+Math.imul(Oe,Pt)|0,r=(r=r+Math.imul(Oe,Ft)|0)+Math.imul(Me,Pt)|0,w=w+Math.imul(Me,Ft)|0,g=g+Math.imul(Ke,Te)|0,r=(r=r+Math.imul(Ke,me)|0)+Math.imul(ge,Te)|0,w=w+Math.imul(ge,me)|0;var Oi=(R+(g=g+Math.imul(Ce,_t)|0)|0)+((8191&(r=(r=r+Math.imul(Ce,Lt)|0)+Math.imul(Xe,_t)|0))<<13)|0;R=((w=w+Math.imul(Xe,Lt)|0)+(r>>>13)|0)+(Oi>>>26)|0,Oi&=67108863,g=Math.imul(bt,Jt),r=(r=Math.imul(bt,Zt))+Math.imul(st,Jt)|0,w=Math.imul(st,Zt),g=g+Math.imul(qe,Re)|0,r=(r=r+Math.imul(qe,U)|0)+Math.imul(it,Re)|0,w=w+Math.imul(it,U)|0,g=g+Math.imul(Ve,ue)|0,r=(r=r+Math.imul(Ve,Ne)|0)+Math.imul(oe,ue)|0,w=w+Math.imul(oe,Ne)|0,g=g+Math.imul(K,Et)|0,r=(r=r+Math.imul(K,Nt)|0)+Math.imul(ee,Et)|0,w=w+Math.imul(ee,Nt)|0,g=g+Math.imul(ie,We)|0,r=(r=r+Math.imul(ie,gt)|0)+Math.imul(Se,We)|0,w=w+Math.imul(Se,gt)|0,g=g+Math.imul(Ue,Pt)|0,r=(r=r+Math.imul(Ue,Ft)|0)+Math.imul(ye,Pt)|0,w=w+Math.imul(ye,Ft)|0,g=g+Math.imul(Oe,Te)|0,r=(r=r+Math.imul(Oe,me)|0)+Math.imul(Me,Te)|0,w=w+Math.imul(Me,me)|0;var ki=(R+(g=g+Math.imul(Ke,_t)|0)|0)+((8191&(r=(r=r+Math.imul(Ke,Lt)|0)+Math.imul(ge,_t)|0))<<13)|0;R=((w=w+Math.imul(ge,Lt)|0)+(r>>>13)|0)+(ki>>>26)|0,ki&=67108863,g=Math.imul(bt,Re),r=(r=Math.imul(bt,U))+Math.imul(st,Re)|0,w=Math.imul(st,U),g=g+Math.imul(qe,ue)|0,r=(r=r+Math.imul(qe,Ne)|0)+Math.imul(it,ue)|0,w=w+Math.imul(it,Ne)|0,g=g+Math.imul(Ve,Et)|0,r=(r=r+Math.imul(Ve,Nt)|0)+Math.imul(oe,Et)|0,w=w+Math.imul(oe,Nt)|0,g=g+Math.imul(K,We)|0,r=(r=r+Math.imul(K,gt)|0)+Math.imul(ee,We)|0,w=w+Math.imul(ee,gt)|0,g=g+Math.imul(ie,Pt)|0,r=(r=r+Math.imul(ie,Ft)|0)+Math.imul(Se,Pt)|0,w=w+Math.imul(Se,Ft)|0,g=g+Math.imul(Ue,Te)|0,r=(r=r+Math.imul(Ue,me)|0)+Math.imul(ye,Te)|0,w=w+Math.imul(ye,me)|0;var Ki=(R+(g=g+Math.imul(Oe,_t)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,Lt)|0)+Math.imul(Me,_t)|0))<<13)|0;R=((w=w+Math.imul(Me,Lt)|0)+(r>>>13)|0)+(Ki>>>26)|0,Ki&=67108863,g=Math.imul(bt,ue),r=(r=Math.imul(bt,Ne))+Math.imul(st,ue)|0,w=Math.imul(st,Ne),g=g+Math.imul(qe,Et)|0,r=(r=r+Math.imul(qe,Nt)|0)+Math.imul(it,Et)|0,w=w+Math.imul(it,Nt)|0,g=g+Math.imul(Ve,We)|0,r=(r=r+Math.imul(Ve,gt)|0)+Math.imul(oe,We)|0,w=w+Math.imul(oe,gt)|0,g=g+Math.imul(K,Pt)|0,r=(r=r+Math.imul(K,Ft)|0)+Math.imul(ee,Pt)|0,w=w+Math.imul(ee,Ft)|0,g=g+Math.imul(ie,Te)|0,r=(r=r+Math.imul(ie,me)|0)+Math.imul(Se,Te)|0,w=w+Math.imul(Se,me)|0;var ti=(R+(g=g+Math.imul(Ue,_t)|0)|0)+((8191&(r=(r=r+Math.imul(Ue,Lt)|0)+Math.imul(ye,_t)|0))<<13)|0;R=((w=w+Math.imul(ye,Lt)|0)+(r>>>13)|0)+(ti>>>26)|0,ti&=67108863,g=Math.imul(bt,Et),r=(r=Math.imul(bt,Nt))+Math.imul(st,Et)|0,w=Math.imul(st,Nt),g=g+Math.imul(qe,We)|0,r=(r=r+Math.imul(qe,gt)|0)+Math.imul(it,We)|0,w=w+Math.imul(it,gt)|0,g=g+Math.imul(Ve,Pt)|0,r=(r=r+Math.imul(Ve,Ft)|0)+Math.imul(oe,Pt)|0,w=w+Math.imul(oe,Ft)|0,g=g+Math.imul(K,Te)|0,r=(r=r+Math.imul(K,me)|0)+Math.imul(ee,Te)|0,w=w+Math.imul(ee,me)|0;var be=(R+(g=g+Math.imul(ie,_t)|0)|0)+((8191&(r=(r=r+Math.imul(ie,Lt)|0)+Math.imul(Se,_t)|0))<<13)|0;R=((w=w+Math.imul(Se,Lt)|0)+(r>>>13)|0)+(be>>>26)|0,be&=67108863,g=Math.imul(bt,We),r=(r=Math.imul(bt,gt))+Math.imul(st,We)|0,w=Math.imul(st,gt),g=g+Math.imul(qe,Pt)|0,r=(r=r+Math.imul(qe,Ft)|0)+Math.imul(it,Pt)|0,w=w+Math.imul(it,Ft)|0,g=g+Math.imul(Ve,Te)|0,r=(r=r+Math.imul(Ve,me)|0)+Math.imul(oe,Te)|0,w=w+Math.imul(oe,me)|0;var ke=(R+(g=g+Math.imul(K,_t)|0)|0)+((8191&(r=(r=r+Math.imul(K,Lt)|0)+Math.imul(ee,_t)|0))<<13)|0;R=((w=w+Math.imul(ee,Lt)|0)+(r>>>13)|0)+(ke>>>26)|0,ke&=67108863,g=Math.imul(bt,Pt),r=(r=Math.imul(bt,Ft))+Math.imul(st,Pt)|0,w=Math.imul(st,Ft),g=g+Math.imul(qe,Te)|0,r=(r=r+Math.imul(qe,me)|0)+Math.imul(it,Te)|0,w=w+Math.imul(it,me)|0;var ft=(R+(g=g+Math.imul(Ve,_t)|0)|0)+((8191&(r=(r=r+Math.imul(Ve,Lt)|0)+Math.imul(oe,_t)|0))<<13)|0;R=((w=w+Math.imul(oe,Lt)|0)+(r>>>13)|0)+(ft>>>26)|0,ft&=67108863,g=Math.imul(bt,Te),r=(r=Math.imul(bt,me))+Math.imul(st,Te)|0,w=Math.imul(st,me);var St=(R+(g=g+Math.imul(qe,_t)|0)|0)+((8191&(r=(r=r+Math.imul(qe,Lt)|0)+Math.imul(it,_t)|0))<<13)|0;R=((w=w+Math.imul(it,Lt)|0)+(r>>>13)|0)+(St>>>26)|0,St&=67108863;var ui=(R+(g=Math.imul(bt,_t))|0)+((8191&(r=(r=Math.imul(bt,Lt))+Math.imul(st,_t)|0))<<13)|0;return R=((w=Math.imul(st,Lt))+(r>>>13)|0)+(ui>>>26)|0,ui&=67108863,I[0]=Li,I[1]=Ai,I[2]=wi,I[3]=zi,I[4]=xt,I[5]=Qe,I[6]=Fe,I[7]=Wt,I[8]=Xt,I[9]=_i,I[10]=Oi,I[11]=ki,I[12]=Ki,I[13]=ti,I[14]=be,I[15]=ke,I[16]=ft,I[17]=St,I[18]=ui,0!==R&&(I[19]=R,m.length++),m};function Z(T,i,o){return(new X).mulp(T,i,o)}function X(T,i){this.x=T,this.y=i}Math.imul||(A=z),l.prototype.mulTo=function(i,o){var m,h=this.length+i.length;return m=10===this.length&&10===i.length?A(this,i,o):h<63?z(this,i,o):h<1024?function W(T,i,o){o.negative=i.negative^T.negative,o.length=T.length+i.length;for(var m=0,h=0,x=0;x<o.length-1;x++){var I=h;h=0;for(var R=67108863&m,g=Math.min(x,i.length-1),r=Math.max(0,x-T.length+1);r<=g;r++){var w=x-r,Y=(0|T.words[w])*(0|i.words[r]),Pe=67108863&Y;R=67108863&(Pe=Pe+R|0),h+=(I=(I=I+(Y/67108864|0)|0)+(Pe>>>26)|0)>>>26,I&=67108863}o.words[x]=R,m=I,I=h}return 0!==m?o.words[x]=m:o.length--,o.strip()}(this,i,o):Z(this,i,o),m},X.prototype.makeRBT=function(i){for(var o=new Array(i),m=l.prototype._countBits(i)-1,h=0;h<i;h++)o[h]=this.revBin(h,m,i);return o},X.prototype.revBin=function(i,o,m){if(0===i||i===m-1)return i;for(var h=0,x=0;x<o;x++)h|=(1&i)<<o-x-1,i>>=1;return h},X.prototype.permute=function(i,o,m,h,x,I){for(var R=0;R<I;R++)h[R]=o[i[R]],x[R]=m[i[R]]},X.prototype.transform=function(i,o,m,h,x,I){this.permute(I,i,o,m,h,x);for(var R=1;R<x;R<<=1)for(var g=R<<1,r=Math.cos(2*Math.PI/g),w=Math.sin(2*Math.PI/g),V=0;V<x;V+=g)for(var N=r,Y=w,Pe=0;Pe<R;Pe++){var Ce=m[V+Pe],Xe=h[V+Pe],dt=m[V+Pe+R],Ke=h[V+Pe+R],ge=N*dt-Y*Ke;Ke=N*Ke+Y*dt,dt=ge,m[V+Pe]=Ce+dt,h[V+Pe]=Xe+Ke,m[V+Pe+R]=Ce-dt,h[V+Pe+R]=Xe-Ke,Pe!==g&&(ge=r*N-w*Y,Y=r*Y+w*N,N=ge)}},X.prototype.guessLen13b=function(i,o){var m=1|Math.max(o,i),h=1&m,x=0;for(m=m/2|0;m;m>>>=1)x++;return 1<<x+1+h},X.prototype.conjugate=function(i,o,m){if(!(m<=1))for(var h=0;h<m/2;h++){var x=i[h];i[h]=i[m-h-1],i[m-h-1]=x,x=o[h],o[h]=-o[m-h-1],o[m-h-1]=-x}},X.prototype.normalize13b=function(i,o){for(var m=0,h=0;h<o/2;h++){var x=8192*Math.round(i[2*h+1]/o)+Math.round(i[2*h]/o)+m;i[h]=67108863&x,m=x<67108864?0:x/67108864|0}return i},X.prototype.convert13b=function(i,o,m,h){for(var x=0,I=0;I<o;I++)x+=0|i[I],m[2*I]=8191&x,x>>>=13,m[2*I+1]=8191&x,x>>>=13;for(I=2*o;I<h;++I)m[I]=0;_(0===x),_(0==(-8192&x))},X.prototype.stub=function(i){for(var o=new Array(i),m=0;m<i;m++)o[m]=0;return o},X.prototype.mulp=function(i,o,m){var h=2*this.guessLen13b(i.length,o.length),x=this.makeRBT(h),I=this.stub(h),R=new Array(h),g=new Array(h),r=new Array(h),w=new Array(h),V=new Array(h),N=new Array(h),Y=m.words;Y.length=h,this.convert13b(i.words,i.length,R,h),this.convert13b(o.words,o.length,w,h),this.transform(R,I,g,r,h,x),this.transform(w,I,V,N,h,x);for(var Pe=0;Pe<h;Pe++){var Ce=g[Pe]*V[Pe]-r[Pe]*N[Pe];r[Pe]=g[Pe]*N[Pe]+r[Pe]*V[Pe],g[Pe]=Ce}return this.conjugate(g,r,h),this.transform(g,r,Y,I,h,x),this.conjugate(Y,I,h),this.normalize13b(Y,h),m.negative=i.negative^o.negative,m.length=i.length+o.length,m.strip()},l.prototype.mul=function(i){var o=new l(null);return o.words=new Array(this.length+i.length),this.mulTo(i,o)},l.prototype.mulf=function(i){var o=new l(null);return o.words=new Array(this.length+i.length),Z(this,i,o)},l.prototype.imul=function(i){return this.clone().mulTo(i,this)},l.prototype.imuln=function(i){_("number"==typeof i),_(i<67108864);for(var o=0,m=0;m<this.length;m++){var h=(0|this.words[m])*i,x=(67108863&h)+(67108863&o);o>>=26,o+=h/67108864|0,o+=x>>>26,this.words[m]=67108863&x}return 0!==o&&(this.words[m]=o,this.length++),this},l.prototype.muln=function(i){return this.clone().imuln(i)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(i){var o=function M(T){for(var i=new Array(T.bitLength()),o=0;o<i.length;o++){var m=o/26|0,h=o%26;i[o]=(T.words[m]&1<<h)>>>h}return i}(i);if(0===o.length)return new l(1);for(var m=this,h=0;h<o.length&&0===o[h];h++,m=m.sqr());if(++h<o.length)for(var x=m.sqr();h<o.length;h++,x=x.sqr())0!==o[h]&&(m=m.mul(x));return m},l.prototype.iushln=function(i){_("number"==typeof i&&i>=0);var x,o=i%26,m=(i-o)/26,h=67108863>>>26-o<<26-o;if(0!==o){var I=0;for(x=0;x<this.length;x++){var R=this.words[x]&h,g=(0|this.words[x])-R<<o;this.words[x]=g|I,I=R>>>26-o}I&&(this.words[x]=I,this.length++)}if(0!==m){for(x=this.length-1;x>=0;x--)this.words[x+m]=this.words[x];for(x=0;x<m;x++)this.words[x]=0;this.length+=m}return this.strip()},l.prototype.ishln=function(i){return _(0===this.negative),this.iushln(i)},l.prototype.iushrn=function(i,o,m){var h;_("number"==typeof i&&i>=0),h=o?(o-o%26)/26:0;var x=i%26,I=Math.min((i-x)/26,this.length),R=67108863^67108863>>>x<<x,g=m;if(h-=I,h=Math.max(0,h),g){for(var r=0;r<I;r++)g.words[r]=this.words[r];g.length=I}if(0!==I)if(this.length>I)for(this.length-=I,r=0;r<this.length;r++)this.words[r]=this.words[r+I];else this.words[0]=0,this.length=1;var w=0;for(r=this.length-1;r>=0&&(0!==w||r>=h);r--){var V=0|this.words[r];this.words[r]=w<<26-x|V>>>x,w=V&R}return g&&0!==w&&(g.words[g.length++]=w),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(i,o,m){return _(0===this.negative),this.iushrn(i,o,m)},l.prototype.shln=function(i){return this.clone().ishln(i)},l.prototype.ushln=function(i){return this.clone().iushln(i)},l.prototype.shrn=function(i){return this.clone().ishrn(i)},l.prototype.ushrn=function(i){return this.clone().iushrn(i)},l.prototype.testn=function(i){_("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26,h=1<<o;return!(this.length<=m)&&!!(this.words[m]&h)},l.prototype.imaskn=function(i){_("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26;if(_(0===this.negative,"imaskn works only with positive numbers"),this.length<=m)return this;if(0!==o&&m++,this.length=Math.min(m,this.length),0!==o){var h=67108863^67108863>>>o<<o;this.words[this.length-1]&=h}return this.strip()},l.prototype.maskn=function(i){return this.clone().imaskn(i)},l.prototype.iaddn=function(i){return _("number"==typeof i),_(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)},l.prototype._iaddn=function(i){this.words[0]+=i;for(var o=0;o<this.length&&this.words[o]>=67108864;o++)this.words[o]-=67108864,o===this.length-1?this.words[o+1]=1:this.words[o+1]++;return this.length=Math.max(this.length,o+1),this},l.prototype.isubn=function(i){if(_("number"==typeof i),_(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 o=0;o<this.length&&this.words[o]<0;o++)this.words[o]+=67108864,this.words[o+1]-=1;return this.strip()},l.prototype.addn=function(i){return this.clone().iaddn(i)},l.prototype.subn=function(i){return this.clone().isubn(i)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(i,o,m){var x,h=i.length+m;this._expand(h);var I,R=0;for(x=0;x<i.length;x++){I=(0|this.words[x+m])+R;var g=(0|i.words[x])*o;R=((I-=67108863&g)>>26)-(g/67108864|0),this.words[x+m]=67108863&I}for(;x<this.length-m;x++)R=(I=(0|this.words[x+m])+R)>>26,this.words[x+m]=67108863&I;if(0===R)return this.strip();for(_(-1===R),R=0,x=0;x<this.length;x++)R=(I=-(0|this.words[x])+R)>>26,this.words[x]=67108863&I;return this.negative=1,this.strip()},l.prototype._wordDiv=function(i,o){var m=(this.length,i.length),h=this.clone(),x=i,I=0|x.words[x.length-1];0!==(m=26-this._countBits(I))&&(x=x.ushln(m),h.iushln(m),I=0|x.words[x.length-1]);var r,g=h.length-x.length;if("mod"!==o){(r=new l(null)).length=g+1,r.words=new Array(r.length);for(var w=0;w<r.length;w++)r.words[w]=0}var V=h.clone()._ishlnsubmul(x,1,g);0===V.negative&&(h=V,r&&(r.words[g]=1));for(var N=g-1;N>=0;N--){var Y=67108864*(0|h.words[x.length+N])+(0|h.words[x.length+N-1]);for(Y=Math.min(Y/I|0,67108863),h._ishlnsubmul(x,Y,N);0!==h.negative;)Y--,h.negative=0,h._ishlnsubmul(x,1,N),h.isZero()||(h.negative^=1);r&&(r.words[N]=Y)}return r&&r.strip(),h.strip(),"div"!==o&&0!==m&&h.iushrn(m),{div:r||null,mod:h}},l.prototype.divmod=function(i,o,m){return _(!i.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===i.negative?(I=this.neg().divmod(i,o),"mod"!==o&&(h=I.div.neg()),"div"!==o&&(x=I.mod.neg(),m&&0!==x.negative&&x.iadd(i)),{div:h,mod:x}):0===this.negative&&0!==i.negative?(I=this.divmod(i.neg(),o),"mod"!==o&&(h=I.div.neg()),{div:h,mod:I.mod}):0!=(this.negative&i.negative)?(I=this.neg().divmod(i.neg(),o),"div"!==o&&(x=I.mod.neg(),m&&0!==x.negative&&x.isub(i)),{div:I.div,mod:x}):i.length>this.length||this.cmp(i)<0?{div:new l(0),mod:this}:1===i.length?"div"===o?{div:this.divn(i.words[0]),mod:null}:"mod"===o?{div:null,mod:new l(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new l(this.modn(i.words[0]))}:this._wordDiv(i,o);var h,x,I},l.prototype.div=function(i){return this.divmod(i,"div",!1).div},l.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},l.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},l.prototype.divRound=function(i){var o=this.divmod(i);if(o.mod.isZero())return o.div;var m=0!==o.div.negative?o.mod.isub(i):o.mod,h=i.ushrn(1),x=i.andln(1),I=m.cmp(h);return I<0||1===x&&0===I?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},l.prototype.modn=function(i){_(i<=67108863);for(var o=(1<<26)%i,m=0,h=this.length-1;h>=0;h--)m=(o*m+(0|this.words[h]))%i;return m},l.prototype.idivn=function(i){_(i<=67108863);for(var o=0,m=this.length-1;m>=0;m--){var h=(0|this.words[m])+67108864*o;this.words[m]=h/i|0,o=h%i}return this.strip()},l.prototype.divn=function(i){return this.clone().idivn(i)},l.prototype.egcd=function(i){_(0===i.negative),_(!i.isZero());var o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var h=new l(1),x=new l(0),I=new l(0),R=new l(1),g=0;o.isEven()&&m.isEven();)o.iushrn(1),m.iushrn(1),++g;for(var r=m.clone(),w=o.clone();!o.isZero();){for(var V=0,N=1;0==(o.words[0]&N)&&V<26;++V,N<<=1);if(V>0)for(o.iushrn(V);V-- >0;)(h.isOdd()||x.isOdd())&&(h.iadd(r),x.isub(w)),h.iushrn(1),x.iushrn(1);for(var Y=0,Pe=1;0==(m.words[0]&Pe)&&Y<26;++Y,Pe<<=1);if(Y>0)for(m.iushrn(Y);Y-- >0;)(I.isOdd()||R.isOdd())&&(I.iadd(r),R.isub(w)),I.iushrn(1),R.iushrn(1);o.cmp(m)>=0?(o.isub(m),h.isub(I),x.isub(R)):(m.isub(o),I.isub(h),R.isub(x))}return{a:I,b:R,gcd:m.iushln(g)}},l.prototype._invmp=function(i){_(0===i.negative),_(!i.isZero());var V,o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var h=new l(1),x=new l(0),I=m.clone();o.cmpn(1)>0&&m.cmpn(1)>0;){for(var R=0,g=1;0==(o.words[0]&g)&&R<26;++R,g<<=1);if(R>0)for(o.iushrn(R);R-- >0;)h.isOdd()&&h.iadd(I),h.iushrn(1);for(var r=0,w=1;0==(m.words[0]&w)&&r<26;++r,w<<=1);if(r>0)for(m.iushrn(r);r-- >0;)x.isOdd()&&x.iadd(I),x.iushrn(1);o.cmp(m)>=0?(o.isub(m),h.isub(x)):(m.isub(o),x.isub(h))}return(V=0===o.cmpn(1)?h:x).cmpn(0)<0&&V.iadd(i),V},l.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var o=this.clone(),m=i.clone();o.negative=0,m.negative=0;for(var h=0;o.isEven()&&m.isEven();h++)o.iushrn(1),m.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;m.isEven();)m.iushrn(1);var x=o.cmp(m);if(x<0){var I=o;o=m,m=I}else if(0===x||0===m.cmpn(1))break;o.isub(m)}return m.iushln(h)},l.prototype.invm=function(i){return this.egcd(i).a.umod(i)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(i){return this.words[0]&i},l.prototype.bincn=function(i){_("number"==typeof i);var o=i%26,m=(i-o)/26,h=1<<o;if(this.length<=m)return this._expand(m+1),this.words[m]|=h,this;for(var x=h,I=m;0!==x&&I<this.length;I++){var R=0|this.words[I];x=(R+=x)>>>26,R&=67108863,this.words[I]=R}return 0!==x&&(this.words[I]=x,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(i){var m,o=i<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)m=1;else{o&&(i=-i),_(i<=67108863,"Number is too big");var h=0|this.words[0];m=h===i?0:h<i?-1:1}return 0!==this.negative?0|-m:m},l.prototype.cmp=function(i){if(0!==this.negative&&0===i.negative)return-1;if(0===this.negative&&0!==i.negative)return 1;var o=this.ucmp(i);return 0!==this.negative?0|-o:o},l.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var o=0,m=this.length-1;m>=0;m--){var h=0|this.words[m],x=0|i.words[m];if(h!==x){h<x?o=-1:h>x&&(o=1);break}}return o},l.prototype.gtn=function(i){return 1===this.cmpn(i)},l.prototype.gt=function(i){return 1===this.cmp(i)},l.prototype.gten=function(i){return this.cmpn(i)>=0},l.prototype.gte=function(i){return this.cmp(i)>=0},l.prototype.ltn=function(i){return-1===this.cmpn(i)},l.prototype.lt=function(i){return-1===this.cmp(i)},l.prototype.lten=function(i){return this.cmpn(i)<=0},l.prototype.lte=function(i){return this.cmp(i)<=0},l.prototype.eqn=function(i){return 0===this.cmpn(i)},l.prototype.eq=function(i){return 0===this.cmp(i)},l.red=function(i){return new re(i)},l.prototype.toRed=function(i){return _(!this.red,"Already a number in reduction context"),_(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},l.prototype.fromRed=function(){return _(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(i){return this.red=i,this},l.prototype.forceRed=function(i){return _(!this.red,"Already a number in reduction context"),this._forceRed(i)},l.prototype.redAdd=function(i){return _(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},l.prototype.redIAdd=function(i){return _(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},l.prototype.redSub=function(i){return _(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},l.prototype.redISub=function(i){return _(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},l.prototype.redShl=function(i){return _(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},l.prototype.redMul=function(i){return _(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},l.prototype.redIMul=function(i){return _(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},l.prototype.redSqr=function(){return _(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return _(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return _(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return _(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return _(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(i){return _(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 ae(T,i){this.name=T,this.p=new l(i,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function he(){ae.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function se(){ae.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function pe(){ae.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function le(){ae.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function re(T){if("string"==typeof T){var i=l._prime(T);this.m=i.p,this.prime=i}else _(T.gtn(1),"modulus must be greater than 1"),this.m=T,this.prime=null}function fe(T){re.call(this,T),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ae.prototype._tmp=function(){var i=new l(null);return i.words=new Array(Math.ceil(this.n/13)),i},ae.prototype.ireduce=function(i){var m,o=i;do{this.split(o,this.tmp),m=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(m>this.n);var h=m<this.n?-1:o.ucmp(this.p);return 0===h?(o.words[0]=0,o.length=1):h>0?o.isub(this.p):void 0!==o.strip?o.strip():o._strip(),o},ae.prototype.split=function(i,o){i.iushrn(this.n,0,o)},ae.prototype.imulK=function(i){return i.imul(this.k)},O(he,ae),he.prototype.split=function(i,o){for(var m=4194303,h=Math.min(i.length,9),x=0;x<h;x++)o.words[x]=i.words[x];if(o.length=h,i.length<=9)return i.words[0]=0,void(i.length=1);var I=i.words[9];for(o.words[o.length++]=I&m,x=10;x<i.length;x++){var R=0|i.words[x];i.words[x-10]=(R&m)<<4|I>>>22,I=R}I>>>=22,i.words[x-10]=I,0===I&&i.length>10?i.length-=10:i.length-=9},he.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var o=0,m=0;m<i.length;m++){var h=0|i.words[m];o+=977*h,i.words[m]=67108863&o,o=64*h+(o/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},O(se,ae),O(pe,ae),O(le,ae),le.prototype.imulK=function(i){for(var o=0,m=0;m<i.length;m++){var h=19*(0|i.words[m])+o,x=67108863&h;h>>>=26,i.words[m]=x,o=h}return 0!==o&&(i.words[i.length++]=o),i},l._prime=function(i){if($[i])return $[i];var o;if("k256"===i)o=new he;else if("p224"===i)o=new se;else if("p192"===i)o=new pe;else{if("p25519"!==i)throw new Error("Unknown prime "+i);o=new le}return $[i]=o,o},re.prototype._verify1=function(i){_(0===i.negative,"red works only with positives"),_(i.red,"red works only with red numbers")},re.prototype._verify2=function(i,o){_(0==(i.negative|o.negative),"red works only with positives"),_(i.red&&i.red===o.red,"red works only with red numbers")},re.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},re.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},re.prototype.add=function(i,o){this._verify2(i,o);var m=i.add(o);return m.cmp(this.m)>=0&&m.isub(this.m),m._forceRed(this)},re.prototype.iadd=function(i,o){this._verify2(i,o);var m=i.iadd(o);return m.cmp(this.m)>=0&&m.isub(this.m),m},re.prototype.sub=function(i,o){this._verify2(i,o);var m=i.sub(o);return m.cmpn(0)<0&&m.iadd(this.m),m._forceRed(this)},re.prototype.isub=function(i,o){this._verify2(i,o);var m=i.isub(o);return m.cmpn(0)<0&&m.iadd(this.m),m},re.prototype.shl=function(i,o){return this._verify1(i),this.imod(i.ushln(o))},re.prototype.imul=function(i,o){return this._verify2(i,o),this.imod(i.imul(o))},re.prototype.mul=function(i,o){return this._verify2(i,o),this.imod(i.mul(o))},re.prototype.isqr=function(i){return this.imul(i,i.clone())},re.prototype.sqr=function(i){return this.mul(i,i)},re.prototype.sqrt=function(i){if(i.isZero())return i.clone();var o=this.m.andln(3);if(_(o%2==1),3===o){var m=this.m.add(new l(1)).iushrn(2);return this.pow(i,m)}for(var h=this.m.subn(1),x=0;!h.isZero()&&0===h.andln(1);)x++,h.iushrn(1);_(!h.isZero());var I=new l(1).toRed(this),R=I.redNeg(),g=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,g).cmp(R);)r.redIAdd(R);for(var w=this.pow(r,h),V=this.pow(i,h.addn(1).iushrn(1)),N=this.pow(i,h),Y=x;0!==N.cmp(I);){for(var Pe=N,Ce=0;0!==Pe.cmp(I);Ce++)Pe=Pe.redSqr();_(Ce<Y);var Xe=this.pow(w,new l(1).iushln(Y-Ce-1));V=V.redMul(Xe),w=Xe.redSqr(),N=N.redMul(w),Y=Ce}return V},re.prototype.invm=function(i){var o=i._invmp(this.m);return 0!==o.negative?(o.negative=0,this.imod(o).redNeg()):this.imod(o)},re.prototype.pow=function(i,o){if(o.isZero())return new l(1).toRed(this);if(0===o.cmpn(1))return i.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=i;for(var x=2;x<h.length;x++)h[x]=this.mul(h[x-1],i);var I=h[0],R=0,g=0,r=o.bitLength()%26;for(0===r&&(r=26),x=o.length-1;x>=0;x--){for(var w=o.words[x],V=r-1;V>=0;V--){var N=w>>V&1;(I!==h[0]&&(I=this.sqr(I)),0!==N||0!==R)?(R<<=1,R|=N,(4===++g||0===x&&0===V)&&(I=this.mul(I,h[R]),g=0,R=0)):g=0}r=26}return I},re.prototype.convertTo=function(i){var o=i.umod(this.m);return o===i?o.clone():o},re.prototype.convertFrom=function(i){var o=i.clone();return o.red=null,o},l.mont=function(i){return new fe(i)},O(fe,re),fe.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},fe.prototype.convertFrom=function(i){var o=this.imod(i.mul(this.rinv));return o.red=null,o},fe.prototype.imul=function(i,o){if(i.isZero()||o.isZero())return i.words[0]=0,i.length=1,i;var m=i.imul(o),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),x=m.isub(h).iushrn(this.shift),I=x;return x.cmp(this.m)>=0?I=x.isub(this.m):x.cmpn(0)<0&&(I=x.iadd(this.m)),I._forceRed(this)},fe.prototype.mul=function(i,o){if(i.isZero()||o.isZero())return new l(0)._forceRed(this);var m=i.mul(o),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),x=m.isub(h).iushrn(this.shift),I=x;return x.cmp(this.m)>=0?I=x.isub(this.m):x.cmpn(0)<0&&(I=x.iadd(this.m)),I._forceRed(this)},fe.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}})(Ye=f.nmd(Ye),this)},6348:Ye=>{"use strict";var J={single_source_shortest_paths:function(f,e,t){var _={},O={};O[e]=0;var C,u,P,p,L,k,M,l=J.PriorityQueue.make();for(l.push(e,0);!l.empty();)for(P in u=(C=l.pop()).value,p=C.cost,L=f[u]||{})L.hasOwnProperty(P)&&(k=p+L[P],M=O[P],(typeof O[P]>"u"||M>k)&&(O[P]=k,l.push(P,k),_[P]=u));if(typeof t<"u"&&typeof O[t]>"u"){var A=["Could not find a path from ",e," to ",t,"."].join("");throw new Error(A)}return _},extract_shortest_path_from_predecessor_list:function(f,e){for(var t=[],_=e;_;)t.push(_),f[_],_=f[_];return t.reverse(),t},find_path:function(f,e,t){var _=J.single_source_shortest_paths(f,e,t);return J.extract_shortest_path_from_predecessor_list(_,t)},PriorityQueue:{make:function(f){var _,e=J.PriorityQueue,t={};for(_ in f=f||{},e)e.hasOwnProperty(_)&&(t[_]=e[_]);return t.queue=[],t.sorter=f.sorter||e.default_sorter,t},default_sorter:function(f,e){return f.cost-e.cost},push:function(f,e){var t={value:f,cost:e};this.queue.push(t),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};Ye.exports=J},2142:(Ye,J,f)=>{"use strict";var e=J;e.version=f(8597).i8,e.utils=f(8865),e.rand=f(340),e.curve=f(9503),e.curves=f(7458),e.ec=f(1336),e.eddsa=f(4380)},725:(Ye,J,f)=>{"use strict";var e=f(2451),t=f(8865),_=t.getNAF,O=t.getJSF,l=t.assert;function C(P,p){this.type=P,this.p=new e(p.p,16),this.red=p.prime?e.red(p.prime):e.mont(this.p),this.zero=new e(0).toRed(this.red),this.one=new e(1).toRed(this.red),this.two=new e(2).toRed(this.red),this.n=p.n&&new e(p.n,16),this.g=p.g&&this.pointFromJSON(p.g,p.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 L=this.n&&this.p.div(this.n);!L||L.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function u(P,p){this.curve=P,this.type=p,this.precomputed=null}Ye.exports=C,C.prototype.point=function(){throw new Error("Not implemented")},C.prototype.validate=function(){throw new Error("Not implemented")},C.prototype._fixedNafMul=function(p,L){l(p.precomputed);var D=p._getDoubles(),k=_(L,1,this._bitLength),M=(1<<D.step+1)-(D.step%2==0?2:1);M/=3;var A,W,z=[];for(A=0;A<k.length;A+=D.step){W=0;for(var Z=A+D.step-1;Z>=A;Z--)W=(W<<1)+k[Z];z.push(W)}for(var X=this.jpoint(null,null,null),$=this.jpoint(null,null,null),ae=M;ae>0;ae--){for(A=0;A<z.length;A++)(W=z[A])===ae?$=$.mixedAdd(D.points[A]):W===-ae&&($=$.mixedAdd(D.points[A].neg()));X=X.add($)}return X.toP()},C.prototype._wnafMul=function(p,L){var D=4,k=p._getNAFPoints(D);D=k.wnd;for(var M=k.points,z=_(L,D,this._bitLength),A=this.jpoint(null,null,null),W=z.length-1;W>=0;W--){for(var Z=0;W>=0&&0===z[W];W--)Z++;if(W>=0&&Z++,A=A.dblp(Z),W<0)break;var X=z[W];l(0!==X),A="affine"===p.type?X>0?A.mixedAdd(M[X-1>>1]):A.mixedAdd(M[-X-1>>1].neg()):X>0?A.add(M[X-1>>1]):A.add(M[-X-1>>1].neg())}return"affine"===p.type?A.toP():A},C.prototype._wnafMulAdd=function(p,L,D,k,M){var X,$,ae,z=this._wnafT1,A=this._wnafT2,W=this._wnafT3,Z=0;for(X=0;X<k;X++){var he=(ae=L[X])._getNAFPoints(p);z[X]=he.wnd,A[X]=he.points}for(X=k-1;X>=1;X-=2){var se=X-1,pe=X;if(1===z[se]&&1===z[pe]){var le=[L[se],null,null,L[pe]];0===L[se].y.cmp(L[pe].y)?(le[1]=L[se].add(L[pe]),le[2]=L[se].toJ().mixedAdd(L[pe].neg())):0===L[se].y.cmp(L[pe].y.redNeg())?(le[1]=L[se].toJ().mixedAdd(L[pe]),le[2]=L[se].add(L[pe].neg())):(le[1]=L[se].toJ().mixedAdd(L[pe]),le[2]=L[se].toJ().mixedAdd(L[pe].neg()));var re=[-3,-1,-5,-7,0,7,5,1,3],fe=O(D[se],D[pe]);for(Z=Math.max(fe[0].length,Z),W[se]=new Array(Z),W[pe]=new Array(Z),$=0;$<Z;$++){var T=0|fe[0][$],i=0|fe[1][$];W[se][$]=re[3*(T+1)+(i+1)],W[pe][$]=0,A[se]=le}}else W[se]=_(D[se],z[se],this._bitLength),W[pe]=_(D[pe],z[pe],this._bitLength),Z=Math.max(W[se].length,Z),Z=Math.max(W[pe].length,Z)}var o=this.jpoint(null,null,null),m=this._wnafT4;for(X=Z;X>=0;X--){for(var h=0;X>=0;){var x=!0;for($=0;$<k;$++)m[$]=0|W[$][X],0!==m[$]&&(x=!1);if(!x)break;h++,X--}if(X>=0&&h++,o=o.dblp(h),X<0)break;for($=0;$<k;$++){var I=m[$];0!==I&&(I>0?ae=A[$][I-1>>1]:I<0&&(ae=A[$][-I-1>>1].neg()),o="affine"===ae.type?o.mixedAdd(ae):o.add(ae))}}for(X=0;X<k;X++)A[X]=null;return M?o:o.toP()},C.BasePoint=u,u.prototype.eq=function(){throw new Error("Not implemented")},u.prototype.validate=function(){return this.curve.validate(this)},C.prototype.decodePoint=function(p,L){p=t.toArray(p,L);var D=this.p.byteLength();if((4===p[0]||6===p[0]||7===p[0])&&p.length-1==2*D)return 6===p[0]?l(p[p.length-1]%2==0):7===p[0]&&l(p[p.length-1]%2==1),this.point(p.slice(1,1+D),p.slice(1+D,1+2*D));if((2===p[0]||3===p[0])&&p.length-1===D)return this.pointFromX(p.slice(1,1+D),3===p[0]);throw new Error("Unknown point format")},u.prototype.encodeCompressed=function(p){return this.encode(p,!0)},u.prototype._encode=function(p){var L=this.curve.p.byteLength(),D=this.getX().toArray("be",L);return p?[this.getY().isEven()?2:3].concat(D):[4].concat(D,this.getY().toArray("be",L))},u.prototype.encode=function(p,L){return t.encode(this._encode(L),p)},u.prototype.precompute=function(p){if(this.precomputed)return this;var L={doubles:null,naf:null,beta:null};return L.naf=this._getNAFPoints(8),L.doubles=this._getDoubles(4,p),L.beta=this._getBeta(),this.precomputed=L,this},u.prototype._hasDoubles=function(p){if(!this.precomputed)return!1;var L=this.precomputed.doubles;return!!L&&L.points.length>=Math.ceil((p.bitLength()+1)/L.step)},u.prototype._getDoubles=function(p,L){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var D=[this],k=this,M=0;M<L;M+=p){for(var z=0;z<p;z++)k=k.dbl();D.push(k)}return{step:p,points:D}},u.prototype._getNAFPoints=function(p){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var L=[this],D=(1<<p)-1,k=1===D?null:this.dbl(),M=1;M<D;M++)L[M]=L[M-1].add(k);return{wnd:p,points:L}},u.prototype._getBeta=function(){return null},u.prototype.dblp=function(p){for(var L=this,D=0;D<p;D++)L=L.dbl();return L}},3555:(Ye,J,f)=>{"use strict";var e=f(8865),t=f(2451),_=f(5035),O=f(725),l=e.assert;function C(P){this.twisted=1!=(0|P.a),this.mOneA=this.twisted&&-1==(0|P.a),this.extended=this.mOneA,O.call(this,"edwards",P),this.a=new t(P.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new t(P.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new t(P.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),l(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|P.c)}function u(P,p,L,D,k){O.BasePoint.call(this,P,"projective"),null===p&&null===L&&null===D?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new t(p,16),this.y=new t(L,16),this.z=D?new t(D,16):this.curve.one,this.t=k&&new t(k,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()))))}_(C,O),Ye.exports=C,C.prototype._mulA=function(p){return this.mOneA?p.redNeg():this.a.redMul(p)},C.prototype._mulC=function(p){return this.oneC?p:this.c.redMul(p)},C.prototype.jpoint=function(p,L,D,k){return this.point(p,L,D,k)},C.prototype.pointFromX=function(p,L){(p=new t(p,16)).red||(p=p.toRed(this.red));var D=p.redSqr(),k=this.c2.redSub(this.a.redMul(D)),M=this.one.redSub(this.c2.redMul(this.d).redMul(D)),z=k.redMul(M.redInvm()),A=z.redSqrt();if(0!==A.redSqr().redSub(z).cmp(this.zero))throw new Error("invalid point");var W=A.fromRed().isOdd();return(L&&!W||!L&&W)&&(A=A.redNeg()),this.point(p,A)},C.prototype.pointFromY=function(p,L){(p=new t(p,16)).red||(p=p.toRed(this.red));var D=p.redSqr(),k=D.redSub(this.c2),M=D.redMul(this.d).redMul(this.c2).redSub(this.a),z=k.redMul(M.redInvm());if(0===z.cmp(this.zero)){if(L)throw new Error("invalid point");return this.point(this.zero,p)}var A=z.redSqrt();if(0!==A.redSqr().redSub(z).cmp(this.zero))throw new Error("invalid point");return A.fromRed().isOdd()!==L&&(A=A.redNeg()),this.point(A,p)},C.prototype.validate=function(p){if(p.isInfinity())return!0;p.normalize();var L=p.x.redSqr(),D=p.y.redSqr(),k=L.redMul(this.a).redAdd(D),M=this.c2.redMul(this.one.redAdd(this.d.redMul(L).redMul(D)));return 0===k.cmp(M)},_(u,O.BasePoint),C.prototype.pointFromJSON=function(p){return u.fromJSON(this,p)},C.prototype.point=function(p,L,D,k){return new u(this,p,L,D,k)},u.fromJSON=function(p,L){return new u(p,L[0],L[1],L[2])},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},u.prototype._extDbl=function(){var p=this.x.redSqr(),L=this.y.redSqr(),D=this.z.redSqr();D=D.redIAdd(D);var k=this.curve._mulA(p),M=this.x.redAdd(this.y).redSqr().redISub(p).redISub(L),z=k.redAdd(L),A=z.redSub(D),W=k.redSub(L),Z=M.redMul(A),X=z.redMul(W),$=M.redMul(W),ae=A.redMul(z);return this.curve.point(Z,X,ae,$)},u.prototype._projDbl=function(){var k,M,z,A,W,Z,p=this.x.redAdd(this.y).redSqr(),L=this.x.redSqr(),D=this.y.redSqr();if(this.curve.twisted){var X=(A=this.curve._mulA(L)).redAdd(D);this.zOne?(k=p.redSub(L).redSub(D).redMul(X.redSub(this.curve.two)),M=X.redMul(A.redSub(D)),z=X.redSqr().redSub(X).redSub(X)):(W=this.z.redSqr(),Z=X.redSub(W).redISub(W),k=p.redSub(L).redISub(D).redMul(Z),M=X.redMul(A.redSub(D)),z=X.redMul(Z))}else A=L.redAdd(D),W=this.curve._mulC(this.z).redSqr(),Z=A.redSub(W).redSub(W),k=this.curve._mulC(p.redISub(A)).redMul(Z),M=this.curve._mulC(A).redMul(L.redISub(D)),z=A.redMul(Z);return this.curve.point(k,M,z)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},u.prototype._extAdd=function(p){var L=this.y.redSub(this.x).redMul(p.y.redSub(p.x)),D=this.y.redAdd(this.x).redMul(p.y.redAdd(p.x)),k=this.t.redMul(this.curve.dd).redMul(p.t),M=this.z.redMul(p.z.redAdd(p.z)),z=D.redSub(L),A=M.redSub(k),W=M.redAdd(k),Z=D.redAdd(L),X=z.redMul(A),$=W.redMul(Z),ae=z.redMul(Z),he=A.redMul(W);return this.curve.point(X,$,he,ae)},u.prototype._projAdd=function(p){var $,ae,L=this.z.redMul(p.z),D=L.redSqr(),k=this.x.redMul(p.x),M=this.y.redMul(p.y),z=this.curve.d.redMul(k).redMul(M),A=D.redSub(z),W=D.redAdd(z),Z=this.x.redAdd(this.y).redMul(p.x.redAdd(p.y)).redISub(k).redISub(M),X=L.redMul(A).redMul(Z);return this.curve.twisted?($=L.redMul(W).redMul(M.redSub(this.curve._mulA(k))),ae=A.redMul(W)):($=L.redMul(W).redMul(M.redSub(k)),ae=this.curve._mulC(A).redMul(W)),this.curve.point(X,$,ae)},u.prototype.add=function(p){return this.isInfinity()?p:p.isInfinity()?this:this.curve.extended?this._extAdd(p):this._projAdd(p)},u.prototype.mul=function(p){return this._hasDoubles(p)?this.curve._fixedNafMul(this,p):this.curve._wnafMul(this,p)},u.prototype.mulAdd=function(p,L,D){return this.curve._wnafMulAdd(1,[this,L],[p,D],2,!1)},u.prototype.jmulAdd=function(p,L,D){return this.curve._wnafMulAdd(1,[this,L],[p,D],2,!0)},u.prototype.normalize=function(){if(this.zOne)return this;var p=this.z.redInvm();return this.x=this.x.redMul(p),this.y=this.y.redMul(p),this.t&&(this.t=this.t.redMul(p)),this.z=this.curve.one,this.zOne=!0,this},u.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()},u.prototype.getY=function(){return this.normalize(),this.y.fromRed()},u.prototype.eq=function(p){return this===p||0===this.getX().cmp(p.getX())&&0===this.getY().cmp(p.getY())},u.prototype.eqXToP=function(p){var L=p.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(L))return!0;for(var D=p.clone(),k=this.curve.redN.redMul(this.z);;){if(D.iadd(this.curve.n),D.cmp(this.curve.p)>=0)return!1;if(L.redIAdd(k),0===this.x.cmp(L))return!0}},u.prototype.toP=u.prototype.normalize,u.prototype.mixedAdd=u.prototype.add},9503:(Ye,J,f)=>{"use strict";var e=J;e.base=f(725),e.short=f(4037),e.mont=f(9987),e.edwards=f(3555)},9987:(Ye,J,f)=>{"use strict";var e=f(2451),t=f(5035),_=f(725),O=f(8865);function l(u){_.call(this,"mont",u),this.a=new e(u.a,16).toRed(this.red),this.b=new e(u.b,16).toRed(this.red),this.i4=new e(4).toRed(this.red).redInvm(),this.two=new e(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function C(u,P,p){_.BasePoint.call(this,u,"projective"),null===P&&null===p?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new e(P,16),this.z=new e(p,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}t(l,_),Ye.exports=l,l.prototype.validate=function(P){var p=P.normalize().x,L=p.redSqr(),D=L.redMul(p).redAdd(L.redMul(this.a)).redAdd(p);return 0===D.redSqrt().redSqr().cmp(D)},t(C,_.BasePoint),l.prototype.decodePoint=function(P,p){return this.point(O.toArray(P,p),1)},l.prototype.point=function(P,p){return new C(this,P,p)},l.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,p){return new C(P,p[0],p[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 p=this.x.redAdd(this.z).redSqr(),D=this.x.redSub(this.z).redSqr(),k=p.redSub(D),M=p.redMul(D),z=k.redMul(D.redAdd(this.curve.a24.redMul(k)));return this.curve.point(M,z)},C.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},C.prototype.diffAdd=function(P,p){var L=this.x.redAdd(this.z),D=this.x.redSub(this.z),k=P.x.redAdd(P.z),z=P.x.redSub(P.z).redMul(L),A=k.redMul(D),W=p.z.redMul(z.redAdd(A).redSqr()),Z=p.x.redMul(z.redISub(A).redSqr());return this.curve.point(W,Z)},C.prototype.mul=function(P){for(var p=P.clone(),L=this,D=this.curve.point(null,null),M=[];0!==p.cmpn(0);p.iushrn(1))M.push(p.andln(1));for(var z=M.length-1;z>=0;z--)0===M[z]?(L=L.diffAdd(D,this),D=D.dbl()):(D=L.diffAdd(D,this),L=L.dbl());return D},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()}},4037:(Ye,J,f)=>{"use strict";var e=f(8865),t=f(2451),_=f(5035),O=f(725),l=e.assert;function C(p){O.call(this,"short",p),this.a=new t(p.a,16).toRed(this.red),this.b=new t(p.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(p),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function u(p,L,D,k){O.BasePoint.call(this,p,"affine"),null===L&&null===D?(this.x=null,this.y=null,this.inf=!0):(this.x=new t(L,16),this.y=new t(D,16),k&&(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(p,L,D,k){O.BasePoint.call(this,p,"jacobian"),null===L&&null===D&&null===k?(this.x=this.curve.one,this.y=this.curve.one,this.z=new t(0)):(this.x=new t(L,16),this.y=new t(D,16),this.z=new t(k,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}_(C,O),Ye.exports=C,C.prototype._getEndomorphism=function(L){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var D,k;if(L.beta)D=new t(L.beta,16).toRed(this.red);else{var M=this._getEndoRoots(this.p);D=(D=M[0].cmp(M[1])<0?M[0]:M[1]).toRed(this.red)}if(L.lambda)k=new t(L.lambda,16);else{var z=this._getEndoRoots(this.n);0===this.g.mul(z[0]).x.cmp(this.g.x.redMul(D))?k=z[0]:(k=z[1],l(0===this.g.mul(k).x.cmp(this.g.x.redMul(D))))}return{beta:D,lambda:k,basis:L.basis?L.basis.map(function(W){return{a:new t(W.a,16),b:new t(W.b,16)}}):this._getEndoBasis(k)}}},C.prototype._getEndoRoots=function(L){var D=L===this.p?this.red:t.mont(L),k=new t(2).toRed(D).redInvm(),M=k.redNeg(),z=new t(3).toRed(D).redNeg().redSqrt().redMul(k);return[M.redAdd(z).fromRed(),M.redSub(z).fromRed()]},C.prototype._getEndoBasis=function(L){for(var X,$,ae,he,se,pe,le,fe,T,D=this.n.ushrn(Math.floor(this.n.bitLength()/2)),k=L,M=this.n.clone(),z=new t(1),A=new t(0),W=new t(0),Z=new t(1),re=0;0!==k.cmpn(0);){var i=M.div(k);fe=M.sub(i.mul(k)),T=W.sub(i.mul(z));var o=Z.sub(i.mul(A));if(!ae&&fe.cmp(D)<0)X=le.neg(),$=z,ae=fe.neg(),he=T;else if(ae&&2==++re)break;le=fe,M=k,k=fe,W=z,z=T,Z=A,A=o}se=fe.neg(),pe=T;var m=ae.sqr().add(he.sqr());return se.sqr().add(pe.sqr()).cmp(m)>=0&&(se=X,pe=$),ae.negative&&(ae=ae.neg(),he=he.neg()),se.negative&&(se=se.neg(),pe=pe.neg()),[{a:ae,b:he},{a:se,b:pe}]},C.prototype._endoSplit=function(L){var D=this.endo.basis,k=D[0],M=D[1],z=M.b.mul(L).divRound(this.n),A=k.b.neg().mul(L).divRound(this.n),W=z.mul(k.a),Z=A.mul(M.a),X=z.mul(k.b),$=A.mul(M.b);return{k1:L.sub(W).sub(Z),k2:X.add($).neg()}},C.prototype.pointFromX=function(L,D){(L=new t(L,16)).red||(L=L.toRed(this.red));var k=L.redSqr().redMul(L).redIAdd(L.redMul(this.a)).redIAdd(this.b),M=k.redSqrt();if(0!==M.redSqr().redSub(k).cmp(this.zero))throw new Error("invalid point");var z=M.fromRed().isOdd();return(D&&!z||!D&&z)&&(M=M.redNeg()),this.point(L,M)},C.prototype.validate=function(L){if(L.inf)return!0;var D=L.x,k=L.y,M=this.a.redMul(D),z=D.redSqr().redMul(D).redIAdd(M).redIAdd(this.b);return 0===k.redSqr().redISub(z).cmpn(0)},C.prototype._endoWnafMulAdd=function(L,D,k){for(var M=this._endoWnafT1,z=this._endoWnafT2,A=0;A<L.length;A++){var W=this._endoSplit(D[A]),Z=L[A],X=Z._getBeta();W.k1.negative&&(W.k1.ineg(),Z=Z.neg(!0)),W.k2.negative&&(W.k2.ineg(),X=X.neg(!0)),M[2*A]=Z,M[2*A+1]=X,z[2*A]=W.k1,z[2*A+1]=W.k2}for(var $=this._wnafMulAdd(1,M,z,2*A,k),ae=0;ae<2*A;ae++)M[ae]=null,z[ae]=null;return $},_(u,O.BasePoint),C.prototype.point=function(L,D,k){return new u(this,L,D,k)},C.prototype.pointFromJSON=function(L,D){return u.fromJSON(this,L,D)},u.prototype._getBeta=function(){if(this.curve.endo){var L=this.precomputed;if(L&&L.beta)return L.beta;var D=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(L){var k=this.curve,M=function(z){return k.point(z.x.redMul(k.endo.beta),z.y)};L.beta=D,D.precomputed={beta:null,naf:L.naf&&{wnd:L.naf.wnd,points:L.naf.points.map(M)},doubles:L.doubles&&{step:L.doubles.step,points:L.doubles.points.map(M)}}}return D}},u.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},u.fromJSON=function(L,D,k){"string"==typeof D&&(D=JSON.parse(D));var M=L.point(D[0],D[1],k);if(!D[2])return M;function z(W){return L.point(W[0],W[1],k)}var A=D[2];return M.precomputed={beta:null,doubles:A.doubles&&{step:A.doubles.step,points:[M].concat(A.doubles.points.map(z))},naf:A.naf&&{wnd:A.naf.wnd,points:[M].concat(A.naf.points.map(z))}},M},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return this.inf},u.prototype.add=function(L){if(this.inf)return L;if(L.inf)return this;if(this.eq(L))return this.dbl();if(this.neg().eq(L))return this.curve.point(null,null);if(0===this.x.cmp(L.x))return this.curve.point(null,null);var D=this.y.redSub(L.y);0!==D.cmpn(0)&&(D=D.redMul(this.x.redSub(L.x).redInvm()));var k=D.redSqr().redISub(this.x).redISub(L.x),M=D.redMul(this.x.redSub(k)).redISub(this.y);return this.curve.point(k,M)},u.prototype.dbl=function(){if(this.inf)return this;var L=this.y.redAdd(this.y);if(0===L.cmpn(0))return this.curve.point(null,null);var D=this.curve.a,k=this.x.redSqr(),M=L.redInvm(),z=k.redAdd(k).redIAdd(k).redIAdd(D).redMul(M),A=z.redSqr().redISub(this.x.redAdd(this.x)),W=z.redMul(this.x.redSub(A)).redISub(this.y);return this.curve.point(A,W)},u.prototype.getX=function(){return this.x.fromRed()},u.prototype.getY=function(){return this.y.fromRed()},u.prototype.mul=function(L){return L=new t(L,16),this.isInfinity()?this:this._hasDoubles(L)?this.curve._fixedNafMul(this,L):this.curve.endo?this.curve._endoWnafMulAdd([this],[L]):this.curve._wnafMul(this,L)},u.prototype.mulAdd=function(L,D,k){var M=[this,D],z=[L,k];return this.curve.endo?this.curve._endoWnafMulAdd(M,z):this.curve._wnafMulAdd(1,M,z,2)},u.prototype.jmulAdd=function(L,D,k){var M=[this,D],z=[L,k];return this.curve.endo?this.curve._endoWnafMulAdd(M,z,!0):this.curve._wnafMulAdd(1,M,z,2,!0)},u.prototype.eq=function(L){return this===L||this.inf===L.inf&&(this.inf||0===this.x.cmp(L.x)&&0===this.y.cmp(L.y))},u.prototype.neg=function(L){if(this.inf)return this;var D=this.curve.point(this.x,this.y.redNeg());if(L&&this.precomputed){var k=this.precomputed,M=function(z){return z.neg()};D.precomputed={naf:k.naf&&{wnd:k.naf.wnd,points:k.naf.points.map(M)},doubles:k.doubles&&{step:k.doubles.step,points:k.doubles.points.map(M)}}}return D},u.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},_(P,O.BasePoint),C.prototype.jpoint=function(L,D,k){return new P(this,L,D,k)},P.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var L=this.z.redInvm(),D=L.redSqr(),k=this.x.redMul(D),M=this.y.redMul(D).redMul(L);return this.curve.point(k,M)},P.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},P.prototype.add=function(L){if(this.isInfinity())return L;if(L.isInfinity())return this;var D=L.z.redSqr(),k=this.z.redSqr(),M=this.x.redMul(D),z=L.x.redMul(k),A=this.y.redMul(D.redMul(L.z)),W=L.y.redMul(k.redMul(this.z)),Z=M.redSub(z),X=A.redSub(W);if(0===Z.cmpn(0))return 0!==X.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var $=Z.redSqr(),ae=$.redMul(Z),he=M.redMul($),se=X.redSqr().redIAdd(ae).redISub(he).redISub(he),pe=X.redMul(he.redISub(se)).redISub(A.redMul(ae)),le=this.z.redMul(L.z).redMul(Z);return this.curve.jpoint(se,pe,le)},P.prototype.mixedAdd=function(L){if(this.isInfinity())return L.toJ();if(L.isInfinity())return this;var D=this.z.redSqr(),k=this.x,M=L.x.redMul(D),z=this.y,A=L.y.redMul(D).redMul(this.z),W=k.redSub(M),Z=z.redSub(A);if(0===W.cmpn(0))return 0!==Z.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var X=W.redSqr(),$=X.redMul(W),ae=k.redMul(X),he=Z.redSqr().redIAdd($).redISub(ae).redISub(ae),se=Z.redMul(ae.redISub(he)).redISub(z.redMul($)),pe=this.z.redMul(W);return this.curve.jpoint(he,se,pe)},P.prototype.dblp=function(L){if(0===L)return this;if(this.isInfinity())return this;if(!L)return this.dbl();var D;if(this.curve.zeroA||this.curve.threeA){var k=this;for(D=0;D<L;D++)k=k.dbl();return k}var M=this.curve.a,z=this.curve.tinv,A=this.x,W=this.y,Z=this.z,X=Z.redSqr().redSqr(),$=W.redAdd(W);for(D=0;D<L;D++){var ae=A.redSqr(),he=$.redSqr(),se=he.redSqr(),pe=ae.redAdd(ae).redIAdd(ae).redIAdd(M.redMul(X)),le=A.redMul(he),re=pe.redSqr().redISub(le.redAdd(le)),fe=le.redISub(re),T=pe.redMul(fe);T=T.redIAdd(T).redISub(se);var i=$.redMul(Z);D+1<L&&(X=X.redMul(se)),A=re,Z=i,$=T}return this.curve.jpoint(A,$.redMul(z),Z)},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 L,D,k;if(this.zOne){var M=this.x.redSqr(),z=this.y.redSqr(),A=z.redSqr(),W=this.x.redAdd(z).redSqr().redISub(M).redISub(A);W=W.redIAdd(W);var Z=M.redAdd(M).redIAdd(M),X=Z.redSqr().redISub(W).redISub(W),$=A.redIAdd(A);$=($=$.redIAdd($)).redIAdd($),L=X,D=Z.redMul(W.redISub(X)).redISub($),k=this.y.redAdd(this.y)}else{var ae=this.x.redSqr(),he=this.y.redSqr(),se=he.redSqr(),pe=this.x.redAdd(he).redSqr().redISub(ae).redISub(se);pe=pe.redIAdd(pe);var le=ae.redAdd(ae).redIAdd(ae),re=le.redSqr(),fe=se.redIAdd(se);fe=(fe=fe.redIAdd(fe)).redIAdd(fe),L=re.redISub(pe).redISub(pe),D=le.redMul(pe.redISub(L)).redISub(fe),k=(k=this.y.redMul(this.z)).redIAdd(k)}return this.curve.jpoint(L,D,k)},P.prototype._threeDbl=function(){var L,D,k;if(this.zOne){var M=this.x.redSqr(),z=this.y.redSqr(),A=z.redSqr(),W=this.x.redAdd(z).redSqr().redISub(M).redISub(A);W=W.redIAdd(W);var Z=M.redAdd(M).redIAdd(M).redIAdd(this.curve.a),X=Z.redSqr().redISub(W).redISub(W);L=X;var $=A.redIAdd(A);$=($=$.redIAdd($)).redIAdd($),D=Z.redMul(W.redISub(X)).redISub($),k=this.y.redAdd(this.y)}else{var ae=this.z.redSqr(),he=this.y.redSqr(),se=this.x.redMul(he),pe=this.x.redSub(ae).redMul(this.x.redAdd(ae));pe=pe.redAdd(pe).redIAdd(pe);var le=se.redIAdd(se),re=(le=le.redIAdd(le)).redAdd(le);L=pe.redSqr().redISub(re),k=this.y.redAdd(this.z).redSqr().redISub(he).redISub(ae);var fe=he.redSqr();fe=(fe=(fe=fe.redIAdd(fe)).redIAdd(fe)).redIAdd(fe),D=pe.redMul(le.redISub(L)).redISub(fe)}return this.curve.jpoint(L,D,k)},P.prototype._dbl=function(){var L=this.curve.a,D=this.x,k=this.y,M=this.z,z=M.redSqr().redSqr(),A=D.redSqr(),W=k.redSqr(),Z=A.redAdd(A).redIAdd(A).redIAdd(L.redMul(z)),X=D.redAdd(D),$=(X=X.redIAdd(X)).redMul(W),ae=Z.redSqr().redISub($.redAdd($)),he=$.redISub(ae),se=W.redSqr();se=(se=(se=se.redIAdd(se)).redIAdd(se)).redIAdd(se);var pe=Z.redMul(he).redISub(se),le=k.redAdd(k).redMul(M);return this.curve.jpoint(ae,pe,le)},P.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var L=this.x.redSqr(),D=this.y.redSqr(),k=this.z.redSqr(),M=D.redSqr(),z=L.redAdd(L).redIAdd(L),A=z.redSqr(),W=this.x.redAdd(D).redSqr().redISub(L).redISub(M),Z=(W=(W=(W=W.redIAdd(W)).redAdd(W).redIAdd(W)).redISub(A)).redSqr(),X=M.redIAdd(M);X=(X=(X=X.redIAdd(X)).redIAdd(X)).redIAdd(X);var $=z.redIAdd(W).redSqr().redISub(A).redISub(Z).redISub(X),ae=D.redMul($);ae=(ae=ae.redIAdd(ae)).redIAdd(ae);var he=this.x.redMul(Z).redISub(ae);he=(he=he.redIAdd(he)).redIAdd(he);var se=this.y.redMul($.redMul(X.redISub($)).redISub(W.redMul(Z)));se=(se=(se=se.redIAdd(se)).redIAdd(se)).redIAdd(se);var pe=this.z.redAdd(W).redSqr().redISub(k).redISub(Z);return this.curve.jpoint(he,se,pe)},P.prototype.mul=function(L,D){return L=new t(L,D),this.curve._wnafMul(this,L)},P.prototype.eq=function(L){if("affine"===L.type)return this.eq(L.toJ());if(this===L)return!0;var D=this.z.redSqr(),k=L.z.redSqr();if(0!==this.x.redMul(k).redISub(L.x.redMul(D)).cmpn(0))return!1;var M=D.redMul(this.z),z=k.redMul(L.z);return 0===this.y.redMul(z).redISub(L.y.redMul(M)).cmpn(0)},P.prototype.eqXToP=function(L){var D=this.z.redSqr(),k=L.toRed(this.curve.red).redMul(D);if(0===this.x.cmp(k))return!0;for(var M=L.clone(),z=this.curve.redN.redMul(D);;){if(M.iadd(this.curve.n),M.cmp(this.curve.p)>=0)return!1;if(k.redIAdd(z),0===this.x.cmp(k))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)}},7458:(Ye,J,f)=>{"use strict";var P,e=J,t=f(9281),_=f(9503),l=f(8865).assert;function C(p){"short"===p.type?this.curve=new _.short(p):"edwards"===p.type?this.curve=new _.edwards(p):this.curve=new _.mont(p),this.g=this.curve.g,this.n=this.curve.n,this.hash=p.hash,l(this.g.validate(),"Invalid curve"),l(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function u(p,L){Object.defineProperty(e,p,{configurable:!0,enumerable:!0,get:function(){var D=new C(L);return Object.defineProperty(e,p,{configurable:!0,enumerable:!0,value:D}),D}})}e.PresetCurve=C,u("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:t.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),u("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:t.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),u("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:t.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),u("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:t.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),u("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:t.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),u("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:t.sha256,gRed:!1,g:["9"]}),u("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:t.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{P=f(692)}catch{P=void 0}u("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:t.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",P]})},1336:(Ye,J,f)=>{"use strict";var e=f(2451),t=f(3925),_=f(8865),O=f(7458),l=f(340),C=_.assert,u=f(50),P=f(3545);function p(L){if(!(this instanceof p))return new p(L);"string"==typeof L&&(C(Object.prototype.hasOwnProperty.call(O,L),"Unknown curve "+L),L=O[L]),L instanceof O.PresetCurve&&(L={curve:L}),this.curve=L.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=L.curve.g,this.g.precompute(L.curve.n.bitLength()+1),this.hash=L.hash||L.curve.hash}Ye.exports=p,p.prototype.keyPair=function(D){return new u(this,D)},p.prototype.keyFromPrivate=function(D,k){return u.fromPrivate(this,D,k)},p.prototype.keyFromPublic=function(D,k){return u.fromPublic(this,D,k)},p.prototype.genKeyPair=function(D){D||(D={});for(var k=new t({hash:this.hash,pers:D.pers,persEnc:D.persEnc||"utf8",entropy:D.entropy||l(this.hash.hmacStrength),entropyEnc:D.entropy&&D.entropyEnc||"utf8",nonce:this.n.toArray()}),M=this.n.byteLength(),z=this.n.sub(new e(2));;){var A=new e(k.generate(M));if(!(A.cmp(z)>0))return A.iaddn(1),this.keyFromPrivate(A)}},p.prototype._truncateToN=function(D,k){var M=8*D.byteLength()-this.n.bitLength();return M>0&&(D=D.ushrn(M)),!k&&D.cmp(this.n)>=0?D.sub(this.n):D},p.prototype.sign=function(D,k,M,z){"object"==typeof M&&(z=M,M=null),z||(z={}),k=this.keyFromPrivate(k,M),D=this._truncateToN(new e(D,16));for(var A=this.n.byteLength(),W=k.getPrivate().toArray("be",A),Z=D.toArray("be",A),X=new t({hash:this.hash,entropy:W,nonce:Z,pers:z.pers,persEnc:z.persEnc||"utf8"}),$=this.n.sub(new e(1)),ae=0;;ae++){var he=z.k?z.k(ae):new e(X.generate(this.n.byteLength()));if(!((he=this._truncateToN(he,!0)).cmpn(1)<=0||he.cmp($)>=0)){var se=this.g.mul(he);if(!se.isInfinity()){var pe=se.getX(),le=pe.umod(this.n);if(0!==le.cmpn(0)){var re=he.invm(this.n).mul(le.mul(k.getPrivate()).iadd(D));if(0!==(re=re.umod(this.n)).cmpn(0)){var fe=(se.getY().isOdd()?1:0)|(0!==pe.cmp(le)?2:0);return z.canonical&&re.cmp(this.nh)>0&&(re=this.n.sub(re),fe^=1),new P({r:le,s:re,recoveryParam:fe})}}}}}},p.prototype.verify=function(D,k,M,z){D=this._truncateToN(new e(D,16)),M=this.keyFromPublic(M,z);var A=(k=new P(k,"hex")).r,W=k.s;if(A.cmpn(1)<0||A.cmp(this.n)>=0||W.cmpn(1)<0||W.cmp(this.n)>=0)return!1;var ae,Z=W.invm(this.n),X=Z.mul(D).umod(this.n),$=Z.mul(A).umod(this.n);return this.curve._maxwellTrick?!(ae=this.g.jmulAdd(X,M.getPublic(),$)).isInfinity()&&ae.eqXToP(A):!(ae=this.g.mulAdd(X,M.getPublic(),$)).isInfinity()&&0===ae.getX().umod(this.n).cmp(A)},p.prototype.recoverPubKey=function(L,D,k,M){C((3&k)===k,"The recovery param is more than two bits"),D=new P(D,M);var z=this.n,A=new e(L),W=D.r,Z=D.s,X=1&k,$=k>>1;if(W.cmp(this.curve.p.umod(this.curve.n))>=0&&$)throw new Error("Unable to find sencond key candinate");W=$?this.curve.pointFromX(W.add(this.curve.n),X):this.curve.pointFromX(W,X);var ae=D.r.invm(z),he=z.sub(A).mul(ae).umod(z),se=Z.mul(ae).umod(z);return this.g.mulAdd(he,W,se)},p.prototype.getKeyRecoveryParam=function(L,D,k,M){if(null!==(D=new P(D,M)).recoveryParam)return D.recoveryParam;for(var z=0;z<4;z++){var A;try{A=this.recoverPubKey(L,D,z)}catch{continue}if(A.eq(k))return z}throw new Error("Unable to find valid recovery factor")}},50:(Ye,J,f)=>{"use strict";var e=f(2451),_=f(8865).assert;function O(l,C){this.ec=l,this.priv=null,this.pub=null,C.priv&&this._importPrivate(C.priv,C.privEnc),C.pub&&this._importPublic(C.pub,C.pubEnc)}Ye.exports=O,O.fromPublic=function(C,u,P){return u instanceof O?u:new O(C,{pub:u,pubEnc:P})},O.fromPrivate=function(C,u,P){return u instanceof O?u:new O(C,{priv:u,privEnc:P})},O.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"}},O.prototype.getPublic=function(C,u){return"string"==typeof C&&(u=C,C=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),u?this.pub.encode(u,C):this.pub},O.prototype.getPrivate=function(C){return"hex"===C?this.priv.toString(16,2):this.priv},O.prototype._importPrivate=function(C,u){this.priv=new e(C,u||16),this.priv=this.priv.umod(this.ec.curve.n)},O.prototype._importPublic=function(C,u){if(C.x||C.y)return"mont"===this.ec.curve.type?_(C.x,"Need x coordinate"):("short"===this.ec.curve.type||"edwards"===this.ec.curve.type)&&_(C.x&&C.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(C.x,C.y));this.pub=this.ec.curve.decodePoint(C,u)},O.prototype.derive=function(C){return C.validate()||_(C.validate(),"public point not validated"),C.mul(this.priv).getX()},O.prototype.sign=function(C,u,P){return this.ec.sign(C,this,u,P)},O.prototype.verify=function(C,u){return this.ec.verify(C,u,this)},O.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},3545:(Ye,J,f)=>{"use strict";var e=f(2451),t=f(8865),_=t.assert;function O(p,L){if(p instanceof O)return p;this._importDER(p,L)||(_(p.r&&p.s,"Signature without r or s"),this.r=new e(p.r,16),this.s=new e(p.s,16),void 0===p.recoveryParam?this.recoveryParam=null:this.recoveryParam=p.recoveryParam)}function l(){this.place=0}function C(p,L){var D=p[L.place++];if(!(128&D))return D;var k=15&D;if(0===k||k>4)return!1;for(var M=0,z=0,A=L.place;z<k;z++,A++)M<<=8,M|=p[A],M>>>=0;return!(M<=127)&&(L.place=A,M)}function u(p){for(var L=0,D=p.length-1;!p[L]&&!(128&p[L+1])&&L<D;)L++;return 0===L?p:p.slice(L)}function P(p,L){if(L<128)p.push(L);else{var D=1+(Math.log(L)/Math.LN2>>>3);for(p.push(128|D);--D;)p.push(L>>>(D<<3)&255);p.push(L)}}Ye.exports=O,O.prototype._importDER=function(L,D){L=t.toArray(L,D);var k=new l;if(48!==L[k.place++])return!1;var M=C(L,k);if(!1===M||M+k.place!==L.length||2!==L[k.place++])return!1;var z=C(L,k);if(!1===z)return!1;var A=L.slice(k.place,z+k.place);if(k.place+=z,2!==L[k.place++])return!1;var W=C(L,k);if(!1===W||L.length!==W+k.place)return!1;var Z=L.slice(k.place,W+k.place);if(0===A[0]){if(!(128&A[1]))return!1;A=A.slice(1)}if(0===Z[0]){if(!(128&Z[1]))return!1;Z=Z.slice(1)}return this.r=new e(A),this.s=new e(Z),this.recoveryParam=null,!0},O.prototype.toDER=function(L){var D=this.r.toArray(),k=this.s.toArray();for(128&D[0]&&(D=[0].concat(D)),128&k[0]&&(k=[0].concat(k)),D=u(D),k=u(k);!(k[0]||128&k[1]);)k=k.slice(1);var M=[2];P(M,D.length),(M=M.concat(D)).push(2),P(M,k.length);var z=M.concat(k),A=[48];return P(A,z.length),A=A.concat(z),t.encode(A,L)}},4380:(Ye,J,f)=>{"use strict";var e=f(9281),t=f(7458),_=f(8865),O=_.assert,l=_.parseBytes,C=f(6031),u=f(3134);function P(p){if(O("ed25519"===p,"only tested with ed25519 so far"),!(this instanceof P))return new P(p);p=t[p].curve,this.curve=p,this.g=p.g,this.g.precompute(p.n.bitLength()+1),this.pointClass=p.point().constructor,this.encodingLength=Math.ceil(p.n.bitLength()/8),this.hash=e.sha512}Ye.exports=P,P.prototype.sign=function(L,D){L=l(L);var k=this.keyFromSecret(D),M=this.hashInt(k.messagePrefix(),L),z=this.g.mul(M),A=this.encodePoint(z),W=this.hashInt(A,k.pubBytes(),L).mul(k.priv()),Z=M.add(W).umod(this.curve.n);return this.makeSignature({R:z,S:Z,Rencoded:A})},P.prototype.verify=function(L,D,k){L=l(L),D=this.makeSignature(D);var M=this.keyFromPublic(k),z=this.hashInt(D.Rencoded(),M.pubBytes(),L),A=this.g.mul(D.S());return D.R().add(M.pub().mul(z)).eq(A)},P.prototype.hashInt=function(){for(var L=this.hash(),D=0;D<arguments.length;D++)L.update(arguments[D]);return _.intFromLE(L.digest()).umod(this.curve.n)},P.prototype.keyFromPublic=function(L){return C.fromPublic(this,L)},P.prototype.keyFromSecret=function(L){return C.fromSecret(this,L)},P.prototype.makeSignature=function(L){return L instanceof u?L:new u(this,L)},P.prototype.encodePoint=function(L){var D=L.getY().toArray("le",this.encodingLength);return D[this.encodingLength-1]|=L.getX().isOdd()?128:0,D},P.prototype.decodePoint=function(L){var D=(L=_.parseBytes(L)).length-1,k=L.slice(0,D).concat(-129&L[D]),M=0!=(128&L[D]),z=_.intFromLE(k);return this.curve.pointFromY(z,M)},P.prototype.encodeInt=function(L){return L.toArray("le",this.encodingLength)},P.prototype.decodeInt=function(L){return _.intFromLE(L)},P.prototype.isPoint=function(L){return L instanceof this.pointClass}},6031:(Ye,J,f)=>{"use strict";var e=f(8865),t=e.assert,_=e.parseBytes,O=e.cachedProperty;function l(C,u){this.eddsa=C,this._secret=_(u.secret),C.isPoint(u.pub)?this._pub=u.pub:this._pubBytes=_(u.pub)}l.fromPublic=function(u,P){return P instanceof l?P:new l(u,{pub:P})},l.fromSecret=function(u,P){return P instanceof l?P:new l(u,{secret:P})},l.prototype.secret=function(){return this._secret},O(l,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),O(l,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),O(l,"privBytes",function(){var u=this.eddsa,P=this.hash(),p=u.encodingLength-1,L=P.slice(0,u.encodingLength);return L[0]&=248,L[p]&=127,L[p]|=64,L}),O(l,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),O(l,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),O(l,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),l.prototype.sign=function(u){return t(this._secret,"KeyPair can only verify"),this.eddsa.sign(u,this)},l.prototype.verify=function(u,P){return this.eddsa.verify(u,P,this)},l.prototype.getSecret=function(u){return t(this._secret,"KeyPair is public only"),e.encode(this.secret(),u)},l.prototype.getPublic=function(u){return e.encode(this.pubBytes(),u)},Ye.exports=l},3134:(Ye,J,f)=>{"use strict";var e=f(2451),t=f(8865),_=t.assert,O=t.cachedProperty,l=t.parseBytes;function C(u,P){this.eddsa=u,"object"!=typeof P&&(P=l(P)),Array.isArray(P)&&(P={R:P.slice(0,u.encodingLength),S:P.slice(u.encodingLength)}),_(P.R&&P.S,"Signature without R or S"),u.isPoint(P.R)&&(this._R=P.R),P.S instanceof e&&(this._S=P.S),this._Rencoded=Array.isArray(P.R)?P.R:P.Rencoded,this._Sencoded=Array.isArray(P.S)?P.S:P.Sencoded}O(C,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),O(C,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),O(C,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),O(C,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),C.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},C.prototype.toHex=function(){return t.encode(this.toBytes(),"hex").toUpperCase()},Ye.exports=C},692:Ye=>{Ye.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"]]}}},8865:(Ye,J,f)=>{"use strict";var e=J,t=f(2451),_=f(3999),O=f(4985);e.assert=_,e.toArray=O.toArray,e.zero2=O.zero2,e.toHex=O.toHex,e.encode=O.encode,e.getNAF=function l(L,D,k){var M=new Array(Math.max(L.bitLength(),k)+1);M.fill(0);for(var z=1<<D+1,A=L.clone(),W=0;W<M.length;W++){var Z,X=A.andln(z-1);A.isOdd()?(Z=X>(z>>1)-1?(z>>1)-X:X,A.isubn(Z)):Z=0,M[W]=Z,A.iushrn(1)}return M},e.getJSF=function C(L,D){var k=[[],[]];L=L.clone(),D=D.clone();for(var A,M=0,z=0;L.cmpn(-M)>0||D.cmpn(-z)>0;){var X,$,W=L.andln(3)+M&3,Z=D.andln(3)+z&3;3===W&&(W=-1),3===Z&&(Z=-1),0==(1&W)?X=0:X=3!==(A=L.andln(7)+M&7)&&5!==A||2!==Z?W:-W,k[0].push(X),0==(1&Z)?$=0:$=3!==(A=D.andln(7)+z&7)&&5!==A||2!==W?Z:-Z,k[1].push($),2*M===X+1&&(M=1-M),2*z===$+1&&(z=1-z),L.iushrn(1),D.iushrn(1)}return k},e.cachedProperty=function u(L,D,k){var M="_"+D;L.prototype[D]=function(){return void 0!==this[M]?this[M]:this[M]=k.call(this)}},e.parseBytes=function P(L){return"string"==typeof L?e.toArray(L,"hex"):L},e.intFromLE=function p(L){return new t(L,"hex","le")}},2451:function(Ye,J,f){(function(e,t){"use strict";function _(T,i){if(!T)throw new Error(i||"Assertion failed")}function O(T,i){T.super_=i;var o=function(){};o.prototype=i.prototype,T.prototype=new o,T.prototype.constructor=T}function l(T,i,o){if(l.isBN(T))return T;this.negative=0,this.words=null,this.length=0,this.red=null,null!==T&&(("le"===i||"be"===i)&&(o=i,i=10),this._init(T||0,i||10,o||"be"))}var C;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:f(5568).Buffer}catch{}function u(T,i){var o=T.charCodeAt(i);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function P(T,i,o){var m=u(T,o);return o-1>=i&&(m|=u(T,o-1)<<4),m}function p(T,i,o,m){for(var h=0,x=Math.min(T.length,o),I=i;I<x;I++){var R=T.charCodeAt(I)-48;h*=m,h+=R>=49?R-49+10:R>=17?R-17+10:R}return h}l.isBN=function(i){return i instanceof l||null!==i&&"object"==typeof i&&i.constructor.wordSize===l.wordSize&&Array.isArray(i.words)},l.max=function(i,o){return i.cmp(o)>0?i:o},l.min=function(i,o){return i.cmp(o)<0?i:o},l.prototype._init=function(i,o,m){if("number"==typeof i)return this._initNumber(i,o,m);if("object"==typeof i)return this._initArray(i,o,m);"hex"===o&&(o=16),_(o===(0|o)&&o>=2&&o<=36);var h=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<i.length&&(16===o?this._parseHex(i,h,m):(this._parseBase(i,o,h),"le"===m&&this._initArray(this.toArray(),o,m)))},l.prototype._initNumber=function(i,o,m){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):(_(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===m&&this._initArray(this.toArray(),o,m)},l.prototype._initArray=function(i,o,m){if(_("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 h=0;h<this.length;h++)this.words[h]=0;var x,I,R=0;if("be"===m)for(h=i.length-1,x=0;h>=0;h-=3)I=i[h]|i[h-1]<<8|i[h-2]<<16,this.words[x]|=I<<R&67108863,this.words[x+1]=I>>>26-R&67108863,(R+=24)>=26&&(R-=26,x++);else if("le"===m)for(h=0,x=0;h<i.length;h+=3)I=i[h]|i[h+1]<<8|i[h+2]<<16,this.words[x]|=I<<R&67108863,this.words[x+1]=I>>>26-R&67108863,(R+=24)>=26&&(R-=26,x++);return this.strip()},l.prototype._parseHex=function(i,o,m){this.length=Math.ceil((i.length-o)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var R,x=0,I=0;if("be"===m)for(h=i.length-1;h>=o;h-=2)R=P(i,o,h)<<x,this.words[I]|=67108863&R,x>=18?(x-=18,I+=1,this.words[I]|=R>>>26):x+=8;else for(h=(i.length-o)%2==0?o+1:o;h<i.length;h+=2)R=P(i,o,h)<<x,this.words[I]|=67108863&R,x>=18?(x-=18,I+=1,this.words[I]|=R>>>26):x+=8;this.strip()},l.prototype._parseBase=function(i,o,m){this.words=[0],this.length=1;for(var h=0,x=1;x<=67108863;x*=o)h++;h--,x=x/o|0;for(var I=i.length-m,R=I%h,g=Math.min(I,I-R)+m,r=0,w=m;w<g;w+=h)r=p(i,w,w+h,o),this.imuln(x),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==R){var V=1;for(r=p(i,w,i.length,o),w=0;w<R;w++)V*=o;this.imuln(V),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r)}this.strip()},l.prototype.copy=function(i){i.words=new Array(this.length);for(var o=0;o<this.length;o++)i.words[o]=this.words[o];i.length=this.length,i.negative=this.negative,i.red=this.red},l.prototype.clone=function(){var i=new l(null);return this.copy(i),i},l.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var L=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],D=[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],k=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function z(T,i,o){o.negative=i.negative^T.negative;var m=T.length+i.length|0;o.length=m,m=m-1|0;var h=0|T.words[0],x=0|i.words[0],I=h*x,R=67108863&I,g=I/67108864|0;o.words[0]=R;for(var r=1;r<m;r++){for(var w=g>>>26,V=67108863&g,N=Math.min(r,i.length-1),Y=Math.max(0,r-T.length+1);Y<=N;Y++){var Pe=r-Y|0;w+=(I=(h=0|T.words[Pe])*(x=0|i.words[Y])+V)/67108864|0,V=67108863&I}o.words[r]=0|V,g=0|w}return 0!==g?o.words[r]=0|g:o.length--,o.strip()}l.prototype.toString=function(i,o){var m;if(o=0|o||1,16===(i=i||10)||"hex"===i){m="";for(var h=0,x=0,I=0;I<this.length;I++){var R=this.words[I],g=(16777215&(R<<h|x)).toString(16);m=0!==(x=R>>>24-h&16777215)||I!==this.length-1?L[6-g.length]+g+m:g+m,(h+=2)>=26&&(h-=26,I--)}for(0!==x&&(m=x.toString(16)+m);m.length%o!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}if(i===(0|i)&&i>=2&&i<=36){var r=D[i],w=k[i];m="";var V=this.clone();for(V.negative=0;!V.isZero();){var N=V.modn(w).toString(i);m=(V=V.idivn(w)).isZero()?N+m:L[r-N.length]+N+m}for(this.isZero()&&(m="0"+m);m.length%o!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}_(!1,"Base should be between 2 and 36")},l.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&&_(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-i:i},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(i,o){return _(typeof C<"u"),this.toArrayLike(C,i,o)},l.prototype.toArray=function(i,o){return this.toArrayLike(Array,i,o)},l.prototype.toArrayLike=function(i,o,m){var h=this.byteLength(),x=m||Math.max(1,h);_(h<=x,"byte array longer than desired length"),_(x>0,"Requested array length <= 0"),this.strip();var g,r,I="le"===o,R=new i(x),w=this.clone();if(I){for(r=0;!w.isZero();r++)g=w.andln(255),w.iushrn(8),R[r]=g;for(;r<x;r++)R[r]=0}else{for(r=0;r<x-h;r++)R[r]=0;for(r=0;!w.isZero();r++)g=w.andln(255),w.iushrn(8),R[x-r-1]=g}return R},Math.clz32?l.prototype._countBits=function(i){return 32-Math.clz32(i)}:l.prototype._countBits=function(i){var o=i,m=0;return o>=4096&&(m+=13,o>>>=13),o>=64&&(m+=7,o>>>=7),o>=8&&(m+=4,o>>>=4),o>=2&&(m+=2,o>>>=2),m+o},l.prototype._zeroBits=function(i){if(0===i)return 26;var o=i,m=0;return 0==(8191&o)&&(m+=13,o>>>=13),0==(127&o)&&(m+=7,o>>>=7),0==(15&o)&&(m+=4,o>>>=4),0==(3&o)&&(m+=2,o>>>=2),0==(1&o)&&m++,m},l.prototype.bitLength=function(){var i=this.words[this.length-1],o=this._countBits(i);return 26*(this.length-1)+o},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,o=0;o<this.length;o++){var m=this._zeroBits(this.words[o]);if(i+=m,26!==m)break}return i},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},l.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var o=0;o<i.length;o++)this.words[o]=this.words[o]|i.words[o];return this.strip()},l.prototype.ior=function(i){return _(0==(this.negative|i.negative)),this.iuor(i)},l.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},l.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},l.prototype.iuand=function(i){var o;o=this.length>i.length?i:this;for(var m=0;m<o.length;m++)this.words[m]=this.words[m]&i.words[m];return this.length=o.length,this.strip()},l.prototype.iand=function(i){return _(0==(this.negative|i.negative)),this.iuand(i)},l.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},l.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},l.prototype.iuxor=function(i){var o,m;this.length>i.length?(o=this,m=i):(o=i,m=this);for(var h=0;h<m.length;h++)this.words[h]=o.words[h]^m.words[h];if(this!==o)for(;h<o.length;h++)this.words[h]=o.words[h];return this.length=o.length,this.strip()},l.prototype.ixor=function(i){return _(0==(this.negative|i.negative)),this.iuxor(i)},l.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},l.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},l.prototype.inotn=function(i){_("number"==typeof i&&i>=0);var o=0|Math.ceil(i/26),m=i%26;this._expand(o),m>0&&o--;for(var h=0;h<o;h++)this.words[h]=67108863&~this.words[h];return m>0&&(this.words[h]=~this.words[h]&67108863>>26-m),this.strip()},l.prototype.notn=function(i){return this.clone().inotn(i)},l.prototype.setn=function(i,o){_("number"==typeof i&&i>=0);var m=i/26|0,h=i%26;return this._expand(m+1),this.words[m]=o?this.words[m]|1<<h:this.words[m]&~(1<<h),this.strip()},l.prototype.iadd=function(i){var o,m,h;if(0!==this.negative&&0===i.negative)return this.negative=0,o=this.isub(i),this.negative^=1,this._normSign();if(0===this.negative&&0!==i.negative)return i.negative=0,o=this.isub(i),i.negative=1,o._normSign();this.length>i.length?(m=this,h=i):(m=i,h=this);for(var x=0,I=0;I<h.length;I++)o=(0|m.words[I])+(0|h.words[I])+x,this.words[I]=67108863&o,x=o>>>26;for(;0!==x&&I<m.length;I++)o=(0|m.words[I])+x,this.words[I]=67108863&o,x=o>>>26;if(this.length=m.length,0!==x)this.words[this.length]=x,this.length++;else if(m!==this)for(;I<m.length;I++)this.words[I]=m.words[I];return this},l.prototype.add=function(i){var o;return 0!==i.negative&&0===this.negative?(i.negative=0,o=this.sub(i),i.negative^=1,o):0===i.negative&&0!==this.negative?(this.negative=0,o=i.sub(this),this.negative=1,o):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},l.prototype.isub=function(i){if(0!==i.negative){i.negative=0;var o=this.iadd(i);return i.negative=1,o._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var h,x,m=this.cmp(i);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(h=this,x=i):(h=i,x=this);for(var I=0,R=0;R<x.length;R++)I=(o=(0|h.words[R])-(0|x.words[R])+I)>>26,this.words[R]=67108863&o;for(;0!==I&&R<h.length;R++)I=(o=(0|h.words[R])+I)>>26,this.words[R]=67108863&o;if(0===I&&R<h.length&&h!==this)for(;R<h.length;R++)this.words[R]=h.words[R];return this.length=Math.max(this.length,R),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(i){return this.clone().isub(i)};var A=function(i,o,m){var g,r,w,h=i.words,x=o.words,I=m.words,R=0,V=0|h[0],N=8191&V,Y=V>>>13,Pe=0|h[1],Ce=8191&Pe,Xe=Pe>>>13,dt=0|h[2],Ke=8191&dt,ge=dt>>>13,$e=0|h[3],Oe=8191&$e,Me=$e>>>13,De=0|h[4],Ue=8191&De,ye=De>>>13,we=0|h[5],ie=8191&we,Se=we>>>13,ne=0|h[6],K=8191&ne,ee=ne>>>13,ze=0|h[7],Ve=8191&ze,oe=ze>>>13,at=0|h[8],qe=8191&at,it=at>>>13,ii=0|h[9],bt=8191&ii,st=ii>>>13,Be=0|x[0],rt=8191&Be,Ot=Be>>>13,Gt=0|x[1],kt=8191&Gt,Rt=Gt>>>13,yi=0|x[2],Jt=8191&yi,Zt=yi>>>13,mi=0|x[3],Re=8191&mi,U=mi>>>13,j=0|x[4],ue=8191&j,Ne=j>>>13,wt=0|x[5],Et=8191&wt,Nt=wt>>>13,ot=0|x[6],We=8191&ot,gt=ot>>>13,ri=0|x[7],Pt=8191&ri,Ft=ri>>>13,qt=0|x[8],Te=8191&qt,me=qt>>>13,ct=0|x[9],_t=8191&ct,Lt=ct>>>13;m.negative=i.negative^o.negative,m.length=19;var Li=(R+(g=Math.imul(N,rt))|0)+((8191&(r=(r=Math.imul(N,Ot))+Math.imul(Y,rt)|0))<<13)|0;R=((w=Math.imul(Y,Ot))+(r>>>13)|0)+(Li>>>26)|0,Li&=67108863,g=Math.imul(Ce,rt),r=(r=Math.imul(Ce,Ot))+Math.imul(Xe,rt)|0,w=Math.imul(Xe,Ot);var Ai=(R+(g=g+Math.imul(N,kt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Rt)|0)+Math.imul(Y,kt)|0))<<13)|0;R=((w=w+Math.imul(Y,Rt)|0)+(r>>>13)|0)+(Ai>>>26)|0,Ai&=67108863,g=Math.imul(Ke,rt),r=(r=Math.imul(Ke,Ot))+Math.imul(ge,rt)|0,w=Math.imul(ge,Ot),g=g+Math.imul(Ce,kt)|0,r=(r=r+Math.imul(Ce,Rt)|0)+Math.imul(Xe,kt)|0,w=w+Math.imul(Xe,Rt)|0;var wi=(R+(g=g+Math.imul(N,Jt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Zt)|0)+Math.imul(Y,Jt)|0))<<13)|0;R=((w=w+Math.imul(Y,Zt)|0)+(r>>>13)|0)+(wi>>>26)|0,wi&=67108863,g=Math.imul(Oe,rt),r=(r=Math.imul(Oe,Ot))+Math.imul(Me,rt)|0,w=Math.imul(Me,Ot),g=g+Math.imul(Ke,kt)|0,r=(r=r+Math.imul(Ke,Rt)|0)+Math.imul(ge,kt)|0,w=w+Math.imul(ge,Rt)|0,g=g+Math.imul(Ce,Jt)|0,r=(r=r+Math.imul(Ce,Zt)|0)+Math.imul(Xe,Jt)|0,w=w+Math.imul(Xe,Zt)|0;var zi=(R+(g=g+Math.imul(N,Re)|0)|0)+((8191&(r=(r=r+Math.imul(N,U)|0)+Math.imul(Y,Re)|0))<<13)|0;R=((w=w+Math.imul(Y,U)|0)+(r>>>13)|0)+(zi>>>26)|0,zi&=67108863,g=Math.imul(Ue,rt),r=(r=Math.imul(Ue,Ot))+Math.imul(ye,rt)|0,w=Math.imul(ye,Ot),g=g+Math.imul(Oe,kt)|0,r=(r=r+Math.imul(Oe,Rt)|0)+Math.imul(Me,kt)|0,w=w+Math.imul(Me,Rt)|0,g=g+Math.imul(Ke,Jt)|0,r=(r=r+Math.imul(Ke,Zt)|0)+Math.imul(ge,Jt)|0,w=w+Math.imul(ge,Zt)|0,g=g+Math.imul(Ce,Re)|0,r=(r=r+Math.imul(Ce,U)|0)+Math.imul(Xe,Re)|0,w=w+Math.imul(Xe,U)|0;var xt=(R+(g=g+Math.imul(N,ue)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ne)|0)+Math.imul(Y,ue)|0))<<13)|0;R=((w=w+Math.imul(Y,Ne)|0)+(r>>>13)|0)+(xt>>>26)|0,xt&=67108863,g=Math.imul(ie,rt),r=(r=Math.imul(ie,Ot))+Math.imul(Se,rt)|0,w=Math.imul(Se,Ot),g=g+Math.imul(Ue,kt)|0,r=(r=r+Math.imul(Ue,Rt)|0)+Math.imul(ye,kt)|0,w=w+Math.imul(ye,Rt)|0,g=g+Math.imul(Oe,Jt)|0,r=(r=r+Math.imul(Oe,Zt)|0)+Math.imul(Me,Jt)|0,w=w+Math.imul(Me,Zt)|0,g=g+Math.imul(Ke,Re)|0,r=(r=r+Math.imul(Ke,U)|0)+Math.imul(ge,Re)|0,w=w+Math.imul(ge,U)|0,g=g+Math.imul(Ce,ue)|0,r=(r=r+Math.imul(Ce,Ne)|0)+Math.imul(Xe,ue)|0,w=w+Math.imul(Xe,Ne)|0;var Qe=(R+(g=g+Math.imul(N,Et)|0)|0)+((8191&(r=(r=r+Math.imul(N,Nt)|0)+Math.imul(Y,Et)|0))<<13)|0;R=((w=w+Math.imul(Y,Nt)|0)+(r>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,g=Math.imul(K,rt),r=(r=Math.imul(K,Ot))+Math.imul(ee,rt)|0,w=Math.imul(ee,Ot),g=g+Math.imul(ie,kt)|0,r=(r=r+Math.imul(ie,Rt)|0)+Math.imul(Se,kt)|0,w=w+Math.imul(Se,Rt)|0,g=g+Math.imul(Ue,Jt)|0,r=(r=r+Math.imul(Ue,Zt)|0)+Math.imul(ye,Jt)|0,w=w+Math.imul(ye,Zt)|0,g=g+Math.imul(Oe,Re)|0,r=(r=r+Math.imul(Oe,U)|0)+Math.imul(Me,Re)|0,w=w+Math.imul(Me,U)|0,g=g+Math.imul(Ke,ue)|0,r=(r=r+Math.imul(Ke,Ne)|0)+Math.imul(ge,ue)|0,w=w+Math.imul(ge,Ne)|0,g=g+Math.imul(Ce,Et)|0,r=(r=r+Math.imul(Ce,Nt)|0)+Math.imul(Xe,Et)|0,w=w+Math.imul(Xe,Nt)|0;var Fe=(R+(g=g+Math.imul(N,We)|0)|0)+((8191&(r=(r=r+Math.imul(N,gt)|0)+Math.imul(Y,We)|0))<<13)|0;R=((w=w+Math.imul(Y,gt)|0)+(r>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,g=Math.imul(Ve,rt),r=(r=Math.imul(Ve,Ot))+Math.imul(oe,rt)|0,w=Math.imul(oe,Ot),g=g+Math.imul(K,kt)|0,r=(r=r+Math.imul(K,Rt)|0)+Math.imul(ee,kt)|0,w=w+Math.imul(ee,Rt)|0,g=g+Math.imul(ie,Jt)|0,r=(r=r+Math.imul(ie,Zt)|0)+Math.imul(Se,Jt)|0,w=w+Math.imul(Se,Zt)|0,g=g+Math.imul(Ue,Re)|0,r=(r=r+Math.imul(Ue,U)|0)+Math.imul(ye,Re)|0,w=w+Math.imul(ye,U)|0,g=g+Math.imul(Oe,ue)|0,r=(r=r+Math.imul(Oe,Ne)|0)+Math.imul(Me,ue)|0,w=w+Math.imul(Me,Ne)|0,g=g+Math.imul(Ke,Et)|0,r=(r=r+Math.imul(Ke,Nt)|0)+Math.imul(ge,Et)|0,w=w+Math.imul(ge,Nt)|0,g=g+Math.imul(Ce,We)|0,r=(r=r+Math.imul(Ce,gt)|0)+Math.imul(Xe,We)|0,w=w+Math.imul(Xe,gt)|0;var Wt=(R+(g=g+Math.imul(N,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ft)|0)+Math.imul(Y,Pt)|0))<<13)|0;R=((w=w+Math.imul(Y,Ft)|0)+(r>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,g=Math.imul(qe,rt),r=(r=Math.imul(qe,Ot))+Math.imul(it,rt)|0,w=Math.imul(it,Ot),g=g+Math.imul(Ve,kt)|0,r=(r=r+Math.imul(Ve,Rt)|0)+Math.imul(oe,kt)|0,w=w+Math.imul(oe,Rt)|0,g=g+Math.imul(K,Jt)|0,r=(r=r+Math.imul(K,Zt)|0)+Math.imul(ee,Jt)|0,w=w+Math.imul(ee,Zt)|0,g=g+Math.imul(ie,Re)|0,r=(r=r+Math.imul(ie,U)|0)+Math.imul(Se,Re)|0,w=w+Math.imul(Se,U)|0,g=g+Math.imul(Ue,ue)|0,r=(r=r+Math.imul(Ue,Ne)|0)+Math.imul(ye,ue)|0,w=w+Math.imul(ye,Ne)|0,g=g+Math.imul(Oe,Et)|0,r=(r=r+Math.imul(Oe,Nt)|0)+Math.imul(Me,Et)|0,w=w+Math.imul(Me,Nt)|0,g=g+Math.imul(Ke,We)|0,r=(r=r+Math.imul(Ke,gt)|0)+Math.imul(ge,We)|0,w=w+Math.imul(ge,gt)|0,g=g+Math.imul(Ce,Pt)|0,r=(r=r+Math.imul(Ce,Ft)|0)+Math.imul(Xe,Pt)|0,w=w+Math.imul(Xe,Ft)|0;var Xt=(R+(g=g+Math.imul(N,Te)|0)|0)+((8191&(r=(r=r+Math.imul(N,me)|0)+Math.imul(Y,Te)|0))<<13)|0;R=((w=w+Math.imul(Y,me)|0)+(r>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,g=Math.imul(bt,rt),r=(r=Math.imul(bt,Ot))+Math.imul(st,rt)|0,w=Math.imul(st,Ot),g=g+Math.imul(qe,kt)|0,r=(r=r+Math.imul(qe,Rt)|0)+Math.imul(it,kt)|0,w=w+Math.imul(it,Rt)|0,g=g+Math.imul(Ve,Jt)|0,r=(r=r+Math.imul(Ve,Zt)|0)+Math.imul(oe,Jt)|0,w=w+Math.imul(oe,Zt)|0,g=g+Math.imul(K,Re)|0,r=(r=r+Math.imul(K,U)|0)+Math.imul(ee,Re)|0,w=w+Math.imul(ee,U)|0,g=g+Math.imul(ie,ue)|0,r=(r=r+Math.imul(ie,Ne)|0)+Math.imul(Se,ue)|0,w=w+Math.imul(Se,Ne)|0,g=g+Math.imul(Ue,Et)|0,r=(r=r+Math.imul(Ue,Nt)|0)+Math.imul(ye,Et)|0,w=w+Math.imul(ye,Nt)|0,g=g+Math.imul(Oe,We)|0,r=(r=r+Math.imul(Oe,gt)|0)+Math.imul(Me,We)|0,w=w+Math.imul(Me,gt)|0,g=g+Math.imul(Ke,Pt)|0,r=(r=r+Math.imul(Ke,Ft)|0)+Math.imul(ge,Pt)|0,w=w+Math.imul(ge,Ft)|0,g=g+Math.imul(Ce,Te)|0,r=(r=r+Math.imul(Ce,me)|0)+Math.imul(Xe,Te)|0,w=w+Math.imul(Xe,me)|0;var _i=(R+(g=g+Math.imul(N,_t)|0)|0)+((8191&(r=(r=r+Math.imul(N,Lt)|0)+Math.imul(Y,_t)|0))<<13)|0;R=((w=w+Math.imul(Y,Lt)|0)+(r>>>13)|0)+(_i>>>26)|0,_i&=67108863,g=Math.imul(bt,kt),r=(r=Math.imul(bt,Rt))+Math.imul(st,kt)|0,w=Math.imul(st,Rt),g=g+Math.imul(qe,Jt)|0,r=(r=r+Math.imul(qe,Zt)|0)+Math.imul(it,Jt)|0,w=w+Math.imul(it,Zt)|0,g=g+Math.imul(Ve,Re)|0,r=(r=r+Math.imul(Ve,U)|0)+Math.imul(oe,Re)|0,w=w+Math.imul(oe,U)|0,g=g+Math.imul(K,ue)|0,r=(r=r+Math.imul(K,Ne)|0)+Math.imul(ee,ue)|0,w=w+Math.imul(ee,Ne)|0,g=g+Math.imul(ie,Et)|0,r=(r=r+Math.imul(ie,Nt)|0)+Math.imul(Se,Et)|0,w=w+Math.imul(Se,Nt)|0,g=g+Math.imul(Ue,We)|0,r=(r=r+Math.imul(Ue,gt)|0)+Math.imul(ye,We)|0,w=w+Math.imul(ye,gt)|0,g=g+Math.imul(Oe,Pt)|0,r=(r=r+Math.imul(Oe,Ft)|0)+Math.imul(Me,Pt)|0,w=w+Math.imul(Me,Ft)|0,g=g+Math.imul(Ke,Te)|0,r=(r=r+Math.imul(Ke,me)|0)+Math.imul(ge,Te)|0,w=w+Math.imul(ge,me)|0;var Oi=(R+(g=g+Math.imul(Ce,_t)|0)|0)+((8191&(r=(r=r+Math.imul(Ce,Lt)|0)+Math.imul(Xe,_t)|0))<<13)|0;R=((w=w+Math.imul(Xe,Lt)|0)+(r>>>13)|0)+(Oi>>>26)|0,Oi&=67108863,g=Math.imul(bt,Jt),r=(r=Math.imul(bt,Zt))+Math.imul(st,Jt)|0,w=Math.imul(st,Zt),g=g+Math.imul(qe,Re)|0,r=(r=r+Math.imul(qe,U)|0)+Math.imul(it,Re)|0,w=w+Math.imul(it,U)|0,g=g+Math.imul(Ve,ue)|0,r=(r=r+Math.imul(Ve,Ne)|0)+Math.imul(oe,ue)|0,w=w+Math.imul(oe,Ne)|0,g=g+Math.imul(K,Et)|0,r=(r=r+Math.imul(K,Nt)|0)+Math.imul(ee,Et)|0,w=w+Math.imul(ee,Nt)|0,g=g+Math.imul(ie,We)|0,r=(r=r+Math.imul(ie,gt)|0)+Math.imul(Se,We)|0,w=w+Math.imul(Se,gt)|0,g=g+Math.imul(Ue,Pt)|0,r=(r=r+Math.imul(Ue,Ft)|0)+Math.imul(ye,Pt)|0,w=w+Math.imul(ye,Ft)|0,g=g+Math.imul(Oe,Te)|0,r=(r=r+Math.imul(Oe,me)|0)+Math.imul(Me,Te)|0,w=w+Math.imul(Me,me)|0;var ki=(R+(g=g+Math.imul(Ke,_t)|0)|0)+((8191&(r=(r=r+Math.imul(Ke,Lt)|0)+Math.imul(ge,_t)|0))<<13)|0;R=((w=w+Math.imul(ge,Lt)|0)+(r>>>13)|0)+(ki>>>26)|0,ki&=67108863,g=Math.imul(bt,Re),r=(r=Math.imul(bt,U))+Math.imul(st,Re)|0,w=Math.imul(st,U),g=g+Math.imul(qe,ue)|0,r=(r=r+Math.imul(qe,Ne)|0)+Math.imul(it,ue)|0,w=w+Math.imul(it,Ne)|0,g=g+Math.imul(Ve,Et)|0,r=(r=r+Math.imul(Ve,Nt)|0)+Math.imul(oe,Et)|0,w=w+Math.imul(oe,Nt)|0,g=g+Math.imul(K,We)|0,r=(r=r+Math.imul(K,gt)|0)+Math.imul(ee,We)|0,w=w+Math.imul(ee,gt)|0,g=g+Math.imul(ie,Pt)|0,r=(r=r+Math.imul(ie,Ft)|0)+Math.imul(Se,Pt)|0,w=w+Math.imul(Se,Ft)|0,g=g+Math.imul(Ue,Te)|0,r=(r=r+Math.imul(Ue,me)|0)+Math.imul(ye,Te)|0,w=w+Math.imul(ye,me)|0;var Ki=(R+(g=g+Math.imul(Oe,_t)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,Lt)|0)+Math.imul(Me,_t)|0))<<13)|0;R=((w=w+Math.imul(Me,Lt)|0)+(r>>>13)|0)+(Ki>>>26)|0,Ki&=67108863,g=Math.imul(bt,ue),r=(r=Math.imul(bt,Ne))+Math.imul(st,ue)|0,w=Math.imul(st,Ne),g=g+Math.imul(qe,Et)|0,r=(r=r+Math.imul(qe,Nt)|0)+Math.imul(it,Et)|0,w=w+Math.imul(it,Nt)|0,g=g+Math.imul(Ve,We)|0,r=(r=r+Math.imul(Ve,gt)|0)+Math.imul(oe,We)|0,w=w+Math.imul(oe,gt)|0,g=g+Math.imul(K,Pt)|0,r=(r=r+Math.imul(K,Ft)|0)+Math.imul(ee,Pt)|0,w=w+Math.imul(ee,Ft)|0,g=g+Math.imul(ie,Te)|0,r=(r=r+Math.imul(ie,me)|0)+Math.imul(Se,Te)|0,w=w+Math.imul(Se,me)|0;var ti=(R+(g=g+Math.imul(Ue,_t)|0)|0)+((8191&(r=(r=r+Math.imul(Ue,Lt)|0)+Math.imul(ye,_t)|0))<<13)|0;R=((w=w+Math.imul(ye,Lt)|0)+(r>>>13)|0)+(ti>>>26)|0,ti&=67108863,g=Math.imul(bt,Et),r=(r=Math.imul(bt,Nt))+Math.imul(st,Et)|0,w=Math.imul(st,Nt),g=g+Math.imul(qe,We)|0,r=(r=r+Math.imul(qe,gt)|0)+Math.imul(it,We)|0,w=w+Math.imul(it,gt)|0,g=g+Math.imul(Ve,Pt)|0,r=(r=r+Math.imul(Ve,Ft)|0)+Math.imul(oe,Pt)|0,w=w+Math.imul(oe,Ft)|0,g=g+Math.imul(K,Te)|0,r=(r=r+Math.imul(K,me)|0)+Math.imul(ee,Te)|0,w=w+Math.imul(ee,me)|0;var be=(R+(g=g+Math.imul(ie,_t)|0)|0)+((8191&(r=(r=r+Math.imul(ie,Lt)|0)+Math.imul(Se,_t)|0))<<13)|0;R=((w=w+Math.imul(Se,Lt)|0)+(r>>>13)|0)+(be>>>26)|0,be&=67108863,g=Math.imul(bt,We),r=(r=Math.imul(bt,gt))+Math.imul(st,We)|0,w=Math.imul(st,gt),g=g+Math.imul(qe,Pt)|0,r=(r=r+Math.imul(qe,Ft)|0)+Math.imul(it,Pt)|0,w=w+Math.imul(it,Ft)|0,g=g+Math.imul(Ve,Te)|0,r=(r=r+Math.imul(Ve,me)|0)+Math.imul(oe,Te)|0,w=w+Math.imul(oe,me)|0;var ke=(R+(g=g+Math.imul(K,_t)|0)|0)+((8191&(r=(r=r+Math.imul(K,Lt)|0)+Math.imul(ee,_t)|0))<<13)|0;R=((w=w+Math.imul(ee,Lt)|0)+(r>>>13)|0)+(ke>>>26)|0,ke&=67108863,g=Math.imul(bt,Pt),r=(r=Math.imul(bt,Ft))+Math.imul(st,Pt)|0,w=Math.imul(st,Ft),g=g+Math.imul(qe,Te)|0,r=(r=r+Math.imul(qe,me)|0)+Math.imul(it,Te)|0,w=w+Math.imul(it,me)|0;var ft=(R+(g=g+Math.imul(Ve,_t)|0)|0)+((8191&(r=(r=r+Math.imul(Ve,Lt)|0)+Math.imul(oe,_t)|0))<<13)|0;R=((w=w+Math.imul(oe,Lt)|0)+(r>>>13)|0)+(ft>>>26)|0,ft&=67108863,g=Math.imul(bt,Te),r=(r=Math.imul(bt,me))+Math.imul(st,Te)|0,w=Math.imul(st,me);var St=(R+(g=g+Math.imul(qe,_t)|0)|0)+((8191&(r=(r=r+Math.imul(qe,Lt)|0)+Math.imul(it,_t)|0))<<13)|0;R=((w=w+Math.imul(it,Lt)|0)+(r>>>13)|0)+(St>>>26)|0,St&=67108863;var ui=(R+(g=Math.imul(bt,_t))|0)+((8191&(r=(r=Math.imul(bt,Lt))+Math.imul(st,_t)|0))<<13)|0;return R=((w=Math.imul(st,Lt))+(r>>>13)|0)+(ui>>>26)|0,ui&=67108863,I[0]=Li,I[1]=Ai,I[2]=wi,I[3]=zi,I[4]=xt,I[5]=Qe,I[6]=Fe,I[7]=Wt,I[8]=Xt,I[9]=_i,I[10]=Oi,I[11]=ki,I[12]=Ki,I[13]=ti,I[14]=be,I[15]=ke,I[16]=ft,I[17]=St,I[18]=ui,0!==R&&(I[19]=R,m.length++),m};function Z(T,i,o){return(new X).mulp(T,i,o)}function X(T,i){this.x=T,this.y=i}Math.imul||(A=z),l.prototype.mulTo=function(i,o){var m,h=this.length+i.length;return m=10===this.length&&10===i.length?A(this,i,o):h<63?z(this,i,o):h<1024?function W(T,i,o){o.negative=i.negative^T.negative,o.length=T.length+i.length;for(var m=0,h=0,x=0;x<o.length-1;x++){var I=h;h=0;for(var R=67108863&m,g=Math.min(x,i.length-1),r=Math.max(0,x-T.length+1);r<=g;r++){var w=x-r,Y=(0|T.words[w])*(0|i.words[r]),Pe=67108863&Y;R=67108863&(Pe=Pe+R|0),h+=(I=(I=I+(Y/67108864|0)|0)+(Pe>>>26)|0)>>>26,I&=67108863}o.words[x]=R,m=I,I=h}return 0!==m?o.words[x]=m:o.length--,o.strip()}(this,i,o):Z(this,i,o),m},X.prototype.makeRBT=function(i){for(var o=new Array(i),m=l.prototype._countBits(i)-1,h=0;h<i;h++)o[h]=this.revBin(h,m,i);return o},X.prototype.revBin=function(i,o,m){if(0===i||i===m-1)return i;for(var h=0,x=0;x<o;x++)h|=(1&i)<<o-x-1,i>>=1;return h},X.prototype.permute=function(i,o,m,h,x,I){for(var R=0;R<I;R++)h[R]=o[i[R]],x[R]=m[i[R]]},X.prototype.transform=function(i,o,m,h,x,I){this.permute(I,i,o,m,h,x);for(var R=1;R<x;R<<=1)for(var g=R<<1,r=Math.cos(2*Math.PI/g),w=Math.sin(2*Math.PI/g),V=0;V<x;V+=g)for(var N=r,Y=w,Pe=0;Pe<R;Pe++){var Ce=m[V+Pe],Xe=h[V+Pe],dt=m[V+Pe+R],Ke=h[V+Pe+R],ge=N*dt-Y*Ke;Ke=N*Ke+Y*dt,dt=ge,m[V+Pe]=Ce+dt,h[V+Pe]=Xe+Ke,m[V+Pe+R]=Ce-dt,h[V+Pe+R]=Xe-Ke,Pe!==g&&(ge=r*N-w*Y,Y=r*Y+w*N,N=ge)}},X.prototype.guessLen13b=function(i,o){var m=1|Math.max(o,i),h=1&m,x=0;for(m=m/2|0;m;m>>>=1)x++;return 1<<x+1+h},X.prototype.conjugate=function(i,o,m){if(!(m<=1))for(var h=0;h<m/2;h++){var x=i[h];i[h]=i[m-h-1],i[m-h-1]=x,x=o[h],o[h]=-o[m-h-1],o[m-h-1]=-x}},X.prototype.normalize13b=function(i,o){for(var m=0,h=0;h<o/2;h++){var x=8192*Math.round(i[2*h+1]/o)+Math.round(i[2*h]/o)+m;i[h]=67108863&x,m=x<67108864?0:x/67108864|0}return i},X.prototype.convert13b=function(i,o,m,h){for(var x=0,I=0;I<o;I++)x+=0|i[I],m[2*I]=8191&x,x>>>=13,m[2*I+1]=8191&x,x>>>=13;for(I=2*o;I<h;++I)m[I]=0;_(0===x),_(0==(-8192&x))},X.prototype.stub=function(i){for(var o=new Array(i),m=0;m<i;m++)o[m]=0;return o},X.prototype.mulp=function(i,o,m){var h=2*this.guessLen13b(i.length,o.length),x=this.makeRBT(h),I=this.stub(h),R=new Array(h),g=new Array(h),r=new Array(h),w=new Array(h),V=new Array(h),N=new Array(h),Y=m.words;Y.length=h,this.convert13b(i.words,i.length,R,h),this.convert13b(o.words,o.length,w,h),this.transform(R,I,g,r,h,x),this.transform(w,I,V,N,h,x);for(var Pe=0;Pe<h;Pe++){var Ce=g[Pe]*V[Pe]-r[Pe]*N[Pe];r[Pe]=g[Pe]*N[Pe]+r[Pe]*V[Pe],g[Pe]=Ce}return this.conjugate(g,r,h),this.transform(g,r,Y,I,h,x),this.conjugate(Y,I,h),this.normalize13b(Y,h),m.negative=i.negative^o.negative,m.length=i.length+o.length,m.strip()},l.prototype.mul=function(i){var o=new l(null);return o.words=new Array(this.length+i.length),this.mulTo(i,o)},l.prototype.mulf=function(i){var o=new l(null);return o.words=new Array(this.length+i.length),Z(this,i,o)},l.prototype.imul=function(i){return this.clone().mulTo(i,this)},l.prototype.imuln=function(i){_("number"==typeof i),_(i<67108864);for(var o=0,m=0;m<this.length;m++){var h=(0|this.words[m])*i,x=(67108863&h)+(67108863&o);o>>=26,o+=h/67108864|0,o+=x>>>26,this.words[m]=67108863&x}return 0!==o&&(this.words[m]=o,this.length++),this},l.prototype.muln=function(i){return this.clone().imuln(i)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(i){var o=function M(T){for(var i=new Array(T.bitLength()),o=0;o<i.length;o++){var m=o/26|0,h=o%26;i[o]=(T.words[m]&1<<h)>>>h}return i}(i);if(0===o.length)return new l(1);for(var m=this,h=0;h<o.length&&0===o[h];h++,m=m.sqr());if(++h<o.length)for(var x=m.sqr();h<o.length;h++,x=x.sqr())0!==o[h]&&(m=m.mul(x));return m},l.prototype.iushln=function(i){_("number"==typeof i&&i>=0);var x,o=i%26,m=(i-o)/26,h=67108863>>>26-o<<26-o;if(0!==o){var I=0;for(x=0;x<this.length;x++){var R=this.words[x]&h,g=(0|this.words[x])-R<<o;this.words[x]=g|I,I=R>>>26-o}I&&(this.words[x]=I,this.length++)}if(0!==m){for(x=this.length-1;x>=0;x--)this.words[x+m]=this.words[x];for(x=0;x<m;x++)this.words[x]=0;this.length+=m}return this.strip()},l.prototype.ishln=function(i){return _(0===this.negative),this.iushln(i)},l.prototype.iushrn=function(i,o,m){var h;_("number"==typeof i&&i>=0),h=o?(o-o%26)/26:0;var x=i%26,I=Math.min((i-x)/26,this.length),R=67108863^67108863>>>x<<x,g=m;if(h-=I,h=Math.max(0,h),g){for(var r=0;r<I;r++)g.words[r]=this.words[r];g.length=I}if(0!==I)if(this.length>I)for(this.length-=I,r=0;r<this.length;r++)this.words[r]=this.words[r+I];else this.words[0]=0,this.length=1;var w=0;for(r=this.length-1;r>=0&&(0!==w||r>=h);r--){var V=0|this.words[r];this.words[r]=w<<26-x|V>>>x,w=V&R}return g&&0!==w&&(g.words[g.length++]=w),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(i,o,m){return _(0===this.negative),this.iushrn(i,o,m)},l.prototype.shln=function(i){return this.clone().ishln(i)},l.prototype.ushln=function(i){return this.clone().iushln(i)},l.prototype.shrn=function(i){return this.clone().ishrn(i)},l.prototype.ushrn=function(i){return this.clone().iushrn(i)},l.prototype.testn=function(i){_("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26,h=1<<o;return!(this.length<=m)&&!!(this.words[m]&h)},l.prototype.imaskn=function(i){_("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26;if(_(0===this.negative,"imaskn works only with positive numbers"),this.length<=m)return this;if(0!==o&&m++,this.length=Math.min(m,this.length),0!==o){var h=67108863^67108863>>>o<<o;this.words[this.length-1]&=h}return this.strip()},l.prototype.maskn=function(i){return this.clone().imaskn(i)},l.prototype.iaddn=function(i){return _("number"==typeof i),_(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)},l.prototype._iaddn=function(i){this.words[0]+=i;for(var o=0;o<this.length&&this.words[o]>=67108864;o++)this.words[o]-=67108864,o===this.length-1?this.words[o+1]=1:this.words[o+1]++;return this.length=Math.max(this.length,o+1),this},l.prototype.isubn=function(i){if(_("number"==typeof i),_(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 o=0;o<this.length&&this.words[o]<0;o++)this.words[o]+=67108864,this.words[o+1]-=1;return this.strip()},l.prototype.addn=function(i){return this.clone().iaddn(i)},l.prototype.subn=function(i){return this.clone().isubn(i)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(i,o,m){var x,h=i.length+m;this._expand(h);var I,R=0;for(x=0;x<i.length;x++){I=(0|this.words[x+m])+R;var g=(0|i.words[x])*o;R=((I-=67108863&g)>>26)-(g/67108864|0),this.words[x+m]=67108863&I}for(;x<this.length-m;x++)R=(I=(0|this.words[x+m])+R)>>26,this.words[x+m]=67108863&I;if(0===R)return this.strip();for(_(-1===R),R=0,x=0;x<this.length;x++)R=(I=-(0|this.words[x])+R)>>26,this.words[x]=67108863&I;return this.negative=1,this.strip()},l.prototype._wordDiv=function(i,o){var m=(this.length,i.length),h=this.clone(),x=i,I=0|x.words[x.length-1];0!==(m=26-this._countBits(I))&&(x=x.ushln(m),h.iushln(m),I=0|x.words[x.length-1]);var r,g=h.length-x.length;if("mod"!==o){(r=new l(null)).length=g+1,r.words=new Array(r.length);for(var w=0;w<r.length;w++)r.words[w]=0}var V=h.clone()._ishlnsubmul(x,1,g);0===V.negative&&(h=V,r&&(r.words[g]=1));for(var N=g-1;N>=0;N--){var Y=67108864*(0|h.words[x.length+N])+(0|h.words[x.length+N-1]);for(Y=Math.min(Y/I|0,67108863),h._ishlnsubmul(x,Y,N);0!==h.negative;)Y--,h.negative=0,h._ishlnsubmul(x,1,N),h.isZero()||(h.negative^=1);r&&(r.words[N]=Y)}return r&&r.strip(),h.strip(),"div"!==o&&0!==m&&h.iushrn(m),{div:r||null,mod:h}},l.prototype.divmod=function(i,o,m){return _(!i.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===i.negative?(I=this.neg().divmod(i,o),"mod"!==o&&(h=I.div.neg()),"div"!==o&&(x=I.mod.neg(),m&&0!==x.negative&&x.iadd(i)),{div:h,mod:x}):0===this.negative&&0!==i.negative?(I=this.divmod(i.neg(),o),"mod"!==o&&(h=I.div.neg()),{div:h,mod:I.mod}):0!=(this.negative&i.negative)?(I=this.neg().divmod(i.neg(),o),"div"!==o&&(x=I.mod.neg(),m&&0!==x.negative&&x.isub(i)),{div:I.div,mod:x}):i.length>this.length||this.cmp(i)<0?{div:new l(0),mod:this}:1===i.length?"div"===o?{div:this.divn(i.words[0]),mod:null}:"mod"===o?{div:null,mod:new l(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new l(this.modn(i.words[0]))}:this._wordDiv(i,o);var h,x,I},l.prototype.div=function(i){return this.divmod(i,"div",!1).div},l.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},l.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},l.prototype.divRound=function(i){var o=this.divmod(i);if(o.mod.isZero())return o.div;var m=0!==o.div.negative?o.mod.isub(i):o.mod,h=i.ushrn(1),x=i.andln(1),I=m.cmp(h);return I<0||1===x&&0===I?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},l.prototype.modn=function(i){_(i<=67108863);for(var o=(1<<26)%i,m=0,h=this.length-1;h>=0;h--)m=(o*m+(0|this.words[h]))%i;return m},l.prototype.idivn=function(i){_(i<=67108863);for(var o=0,m=this.length-1;m>=0;m--){var h=(0|this.words[m])+67108864*o;this.words[m]=h/i|0,o=h%i}return this.strip()},l.prototype.divn=function(i){return this.clone().idivn(i)},l.prototype.egcd=function(i){_(0===i.negative),_(!i.isZero());var o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var h=new l(1),x=new l(0),I=new l(0),R=new l(1),g=0;o.isEven()&&m.isEven();)o.iushrn(1),m.iushrn(1),++g;for(var r=m.clone(),w=o.clone();!o.isZero();){for(var V=0,N=1;0==(o.words[0]&N)&&V<26;++V,N<<=1);if(V>0)for(o.iushrn(V);V-- >0;)(h.isOdd()||x.isOdd())&&(h.iadd(r),x.isub(w)),h.iushrn(1),x.iushrn(1);for(var Y=0,Pe=1;0==(m.words[0]&Pe)&&Y<26;++Y,Pe<<=1);if(Y>0)for(m.iushrn(Y);Y-- >0;)(I.isOdd()||R.isOdd())&&(I.iadd(r),R.isub(w)),I.iushrn(1),R.iushrn(1);o.cmp(m)>=0?(o.isub(m),h.isub(I),x.isub(R)):(m.isub(o),I.isub(h),R.isub(x))}return{a:I,b:R,gcd:m.iushln(g)}},l.prototype._invmp=function(i){_(0===i.negative),_(!i.isZero());var V,o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var h=new l(1),x=new l(0),I=m.clone();o.cmpn(1)>0&&m.cmpn(1)>0;){for(var R=0,g=1;0==(o.words[0]&g)&&R<26;++R,g<<=1);if(R>0)for(o.iushrn(R);R-- >0;)h.isOdd()&&h.iadd(I),h.iushrn(1);for(var r=0,w=1;0==(m.words[0]&w)&&r<26;++r,w<<=1);if(r>0)for(m.iushrn(r);r-- >0;)x.isOdd()&&x.iadd(I),x.iushrn(1);o.cmp(m)>=0?(o.isub(m),h.isub(x)):(m.isub(o),x.isub(h))}return(V=0===o.cmpn(1)?h:x).cmpn(0)<0&&V.iadd(i),V},l.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var o=this.clone(),m=i.clone();o.negative=0,m.negative=0;for(var h=0;o.isEven()&&m.isEven();h++)o.iushrn(1),m.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;m.isEven();)m.iushrn(1);var x=o.cmp(m);if(x<0){var I=o;o=m,m=I}else if(0===x||0===m.cmpn(1))break;o.isub(m)}return m.iushln(h)},l.prototype.invm=function(i){return this.egcd(i).a.umod(i)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(i){return this.words[0]&i},l.prototype.bincn=function(i){_("number"==typeof i);var o=i%26,m=(i-o)/26,h=1<<o;if(this.length<=m)return this._expand(m+1),this.words[m]|=h,this;for(var x=h,I=m;0!==x&&I<this.length;I++){var R=0|this.words[I];x=(R+=x)>>>26,R&=67108863,this.words[I]=R}return 0!==x&&(this.words[I]=x,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(i){var m,o=i<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)m=1;else{o&&(i=-i),_(i<=67108863,"Number is too big");var h=0|this.words[0];m=h===i?0:h<i?-1:1}return 0!==this.negative?0|-m:m},l.prototype.cmp=function(i){if(0!==this.negative&&0===i.negative)return-1;if(0===this.negative&&0!==i.negative)return 1;var o=this.ucmp(i);return 0!==this.negative?0|-o:o},l.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var o=0,m=this.length-1;m>=0;m--){var h=0|this.words[m],x=0|i.words[m];if(h!==x){h<x?o=-1:h>x&&(o=1);break}}return o},l.prototype.gtn=function(i){return 1===this.cmpn(i)},l.prototype.gt=function(i){return 1===this.cmp(i)},l.prototype.gten=function(i){return this.cmpn(i)>=0},l.prototype.gte=function(i){return this.cmp(i)>=0},l.prototype.ltn=function(i){return-1===this.cmpn(i)},l.prototype.lt=function(i){return-1===this.cmp(i)},l.prototype.lten=function(i){return this.cmpn(i)<=0},l.prototype.lte=function(i){return this.cmp(i)<=0},l.prototype.eqn=function(i){return 0===this.cmpn(i)},l.prototype.eq=function(i){return 0===this.cmp(i)},l.red=function(i){return new re(i)},l.prototype.toRed=function(i){return _(!this.red,"Already a number in reduction context"),_(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},l.prototype.fromRed=function(){return _(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(i){return this.red=i,this},l.prototype.forceRed=function(i){return _(!this.red,"Already a number in reduction context"),this._forceRed(i)},l.prototype.redAdd=function(i){return _(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},l.prototype.redIAdd=function(i){return _(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},l.prototype.redSub=function(i){return _(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},l.prototype.redISub=function(i){return _(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},l.prototype.redShl=function(i){return _(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},l.prototype.redMul=function(i){return _(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},l.prototype.redIMul=function(i){return _(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},l.prototype.redSqr=function(){return _(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return _(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return _(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return _(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return _(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(i){return _(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 ae(T,i){this.name=T,this.p=new l(i,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function he(){ae.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function se(){ae.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function pe(){ae.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function le(){ae.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function re(T){if("string"==typeof T){var i=l._prime(T);this.m=i.p,this.prime=i}else _(T.gtn(1),"modulus must be greater than 1"),this.m=T,this.prime=null}function fe(T){re.call(this,T),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ae.prototype._tmp=function(){var i=new l(null);return i.words=new Array(Math.ceil(this.n/13)),i},ae.prototype.ireduce=function(i){var m,o=i;do{this.split(o,this.tmp),m=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(m>this.n);var h=m<this.n?-1:o.ucmp(this.p);return 0===h?(o.words[0]=0,o.length=1):h>0?o.isub(this.p):void 0!==o.strip?o.strip():o._strip(),o},ae.prototype.split=function(i,o){i.iushrn(this.n,0,o)},ae.prototype.imulK=function(i){return i.imul(this.k)},O(he,ae),he.prototype.split=function(i,o){for(var m=4194303,h=Math.min(i.length,9),x=0;x<h;x++)o.words[x]=i.words[x];if(o.length=h,i.length<=9)return i.words[0]=0,void(i.length=1);var I=i.words[9];for(o.words[o.length++]=I&m,x=10;x<i.length;x++){var R=0|i.words[x];i.words[x-10]=(R&m)<<4|I>>>22,I=R}I>>>=22,i.words[x-10]=I,0===I&&i.length>10?i.length-=10:i.length-=9},he.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var o=0,m=0;m<i.length;m++){var h=0|i.words[m];o+=977*h,i.words[m]=67108863&o,o=64*h+(o/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},O(se,ae),O(pe,ae),O(le,ae),le.prototype.imulK=function(i){for(var o=0,m=0;m<i.length;m++){var h=19*(0|i.words[m])+o,x=67108863&h;h>>>=26,i.words[m]=x,o=h}return 0!==o&&(i.words[i.length++]=o),i},l._prime=function(i){if($[i])return $[i];var o;if("k256"===i)o=new he;else if("p224"===i)o=new se;else if("p192"===i)o=new pe;else{if("p25519"!==i)throw new Error("Unknown prime "+i);o=new le}return $[i]=o,o},re.prototype._verify1=function(i){_(0===i.negative,"red works only with positives"),_(i.red,"red works only with red numbers")},re.prototype._verify2=function(i,o){_(0==(i.negative|o.negative),"red works only with positives"),_(i.red&&i.red===o.red,"red works only with red numbers")},re.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},re.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},re.prototype.add=function(i,o){this._verify2(i,o);var m=i.add(o);return m.cmp(this.m)>=0&&m.isub(this.m),m._forceRed(this)},re.prototype.iadd=function(i,o){this._verify2(i,o);var m=i.iadd(o);return m.cmp(this.m)>=0&&m.isub(this.m),m},re.prototype.sub=function(i,o){this._verify2(i,o);var m=i.sub(o);return m.cmpn(0)<0&&m.iadd(this.m),m._forceRed(this)},re.prototype.isub=function(i,o){this._verify2(i,o);var m=i.isub(o);return m.cmpn(0)<0&&m.iadd(this.m),m},re.prototype.shl=function(i,o){return this._verify1(i),this.imod(i.ushln(o))},re.prototype.imul=function(i,o){return this._verify2(i,o),this.imod(i.imul(o))},re.prototype.mul=function(i,o){return this._verify2(i,o),this.imod(i.mul(o))},re.prototype.isqr=function(i){return this.imul(i,i.clone())},re.prototype.sqr=function(i){return this.mul(i,i)},re.prototype.sqrt=function(i){if(i.isZero())return i.clone();var o=this.m.andln(3);if(_(o%2==1),3===o){var m=this.m.add(new l(1)).iushrn(2);return this.pow(i,m)}for(var h=this.m.subn(1),x=0;!h.isZero()&&0===h.andln(1);)x++,h.iushrn(1);_(!h.isZero());var I=new l(1).toRed(this),R=I.redNeg(),g=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,g).cmp(R);)r.redIAdd(R);for(var w=this.pow(r,h),V=this.pow(i,h.addn(1).iushrn(1)),N=this.pow(i,h),Y=x;0!==N.cmp(I);){for(var Pe=N,Ce=0;0!==Pe.cmp(I);Ce++)Pe=Pe.redSqr();_(Ce<Y);var Xe=this.pow(w,new l(1).iushln(Y-Ce-1));V=V.redMul(Xe),w=Xe.redSqr(),N=N.redMul(w),Y=Ce}return V},re.prototype.invm=function(i){var o=i._invmp(this.m);return 0!==o.negative?(o.negative=0,this.imod(o).redNeg()):this.imod(o)},re.prototype.pow=function(i,o){if(o.isZero())return new l(1).toRed(this);if(0===o.cmpn(1))return i.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=i;for(var x=2;x<h.length;x++)h[x]=this.mul(h[x-1],i);var I=h[0],R=0,g=0,r=o.bitLength()%26;for(0===r&&(r=26),x=o.length-1;x>=0;x--){for(var w=o.words[x],V=r-1;V>=0;V--){var N=w>>V&1;(I!==h[0]&&(I=this.sqr(I)),0!==N||0!==R)?(R<<=1,R|=N,(4===++g||0===x&&0===V)&&(I=this.mul(I,h[R]),g=0,R=0)):g=0}r=26}return I},re.prototype.convertTo=function(i){var o=i.umod(this.m);return o===i?o.clone():o},re.prototype.convertFrom=function(i){var o=i.clone();return o.red=null,o},l.mont=function(i){return new fe(i)},O(fe,re),fe.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},fe.prototype.convertFrom=function(i){var o=this.imod(i.mul(this.rinv));return o.red=null,o},fe.prototype.imul=function(i,o){if(i.isZero()||o.isZero())return i.words[0]=0,i.length=1,i;var m=i.imul(o),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),x=m.isub(h).iushrn(this.shift),I=x;return x.cmp(this.m)>=0?I=x.isub(this.m):x.cmpn(0)<0&&(I=x.iadd(this.m)),I._forceRed(this)},fe.prototype.mul=function(i,o){if(i.isZero()||o.isZero())return new l(0)._forceRed(this);var m=i.mul(o),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),x=m.isub(h).iushrn(this.shift),I=x;return x.cmp(this.m)>=0?I=x.isub(this.m):x.cmpn(0)<0&&(I=x.iadd(this.m)),I._forceRed(this)},fe.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}})(Ye=f.nmd(Ye),this)},6236:Ye=>{"use strict";Ye.exports=function(f){for(var e=[],t=f.length,_=0;_<t;_++){var O=f.charCodeAt(_);if(O>=55296&&O<=56319&&t>_+1){var l=f.charCodeAt(_+1);l>=56320&&l<=57343&&(O=1024*(O-55296)+l-56320+65536,_+=1)}O<128?e.push(O):O<2048?(e.push(O>>6|192),e.push(63&O|128)):O<55296||O>=57344&&O<65536?(e.push(O>>12|224),e.push(O>>6&63|128),e.push(63&O|128)):O>=65536&&O<=1114111?(e.push(O>>18|240),e.push(O>>12&63|128),e.push(O>>6&63|128),e.push(63&O|128)):e.push(239,191,189)}return new Uint8Array(e).buffer}},3358:Ye=>{"use strict";var e,J="object"==typeof Reflect?Reflect:null,f=J&&"function"==typeof J.apply?J.apply:function(ae,he,se){return Function.prototype.apply.call(ae,he,se)};e=J&&"function"==typeof J.ownKeys?J.ownKeys:Object.getOwnPropertySymbols?function(ae){return Object.getOwnPropertyNames(ae).concat(Object.getOwnPropertySymbols(ae))}:function(ae){return Object.getOwnPropertyNames(ae)};var _=Number.isNaN||function(ae){return ae!=ae};function O(){O.init.call(this)}Ye.exports=O,Ye.exports.once=function W($,ae){return new Promise(function(he,se){function pe(re){$.removeListener(ae,le),se(re)}function le(){"function"==typeof $.removeListener&&$.removeListener("error",pe),he([].slice.call(arguments))}X($,ae,le,{once:!0}),"error"!==ae&&function Z($,ae,he){"function"==typeof $.on&&X($,"error",ae,he)}($,pe,{once:!0})})},O.EventEmitter=O,O.prototype._events=void 0,O.prototype._eventsCount=0,O.prototype._maxListeners=void 0;var l=10;function C($){if("function"!=typeof $)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof $)}function u($){return void 0===$._maxListeners?O.defaultMaxListeners:$._maxListeners}function P($,ae,he,se){var pe,le,re;if(C(he),void 0===(le=$._events)?(le=$._events=Object.create(null),$._eventsCount=0):(void 0!==le.newListener&&($.emit("newListener",ae,he.listener?he.listener:he),le=$._events),re=le[ae]),void 0===re)re=le[ae]=he,++$._eventsCount;else if("function"==typeof re?re=le[ae]=se?[he,re]:[re,he]:se?re.unshift(he):re.push(he),(pe=u($))>0&&re.length>pe&&!re.warned){re.warned=!0;var fe=new Error("Possible EventEmitter memory leak detected. "+re.length+" "+String(ae)+" listeners added. Use emitter.setMaxListeners() to increase limit");fe.name="MaxListenersExceededWarning",fe.emitter=$,fe.type=ae,fe.count=re.length,function t($){console&&console.warn&&console.warn($)}(fe)}return $}function p(){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 L($,ae,he){var se={fired:!1,wrapFn:void 0,target:$,type:ae,listener:he},pe=p.bind(se);return pe.listener=he,se.wrapFn=pe,pe}function D($,ae,he){var se=$._events;if(void 0===se)return[];var pe=se[ae];return void 0===pe?[]:"function"==typeof pe?he?[pe.listener||pe]:[pe]:he?function A($){for(var ae=new Array($.length),he=0;he<ae.length;++he)ae[he]=$[he].listener||$[he];return ae}(pe):M(pe,pe.length)}function k($){var ae=this._events;if(void 0!==ae){var he=ae[$];if("function"==typeof he)return 1;if(void 0!==he)return he.length}return 0}function M($,ae){for(var he=new Array(ae),se=0;se<ae;++se)he[se]=$[se];return he}function X($,ae,he,se){if("function"==typeof $.on)se.once?$.once(ae,he):$.on(ae,he);else{if("function"!=typeof $.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof $);$.addEventListener(ae,function pe(le){se.once&&$.removeEventListener(ae,pe),he(le)})}}Object.defineProperty(O,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function($){if("number"!=typeof $||$<0||_($))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+$+".");l=$}}),O.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},O.prototype.setMaxListeners=function(ae){if("number"!=typeof ae||ae<0||_(ae))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+ae+".");return this._maxListeners=ae,this},O.prototype.getMaxListeners=function(){return u(this)},O.prototype.emit=function(ae){for(var he=[],se=1;se<arguments.length;se++)he.push(arguments[se]);var pe="error"===ae,le=this._events;if(void 0!==le)pe=pe&&void 0===le.error;else if(!pe)return!1;if(pe){var re;if(he.length>0&&(re=he[0]),re instanceof Error)throw re;var fe=new Error("Unhandled error."+(re?" ("+re.message+")":""));throw fe.context=re,fe}var T=le[ae];if(void 0===T)return!1;if("function"==typeof T)f(T,this,he);else{var i=T.length,o=M(T,i);for(se=0;se<i;++se)f(o[se],this,he)}return!0},O.prototype.addListener=function(ae,he){return P(this,ae,he,!1)},O.prototype.on=O.prototype.addListener,O.prototype.prependListener=function(ae,he){return P(this,ae,he,!0)},O.prototype.once=function(ae,he){return C(he),this.on(ae,L(this,ae,he)),this},O.prototype.prependOnceListener=function(ae,he){return C(he),this.prependListener(ae,L(this,ae,he)),this},O.prototype.removeListener=function(ae,he){var se,pe,le,re,fe;if(C(he),void 0===(pe=this._events))return this;if(void 0===(se=pe[ae]))return this;if(se===he||se.listener===he)0==--this._eventsCount?this._events=Object.create(null):(delete pe[ae],pe.removeListener&&this.emit("removeListener",ae,se.listener||he));else if("function"!=typeof se){for(le=-1,re=se.length-1;re>=0;re--)if(se[re]===he||se[re].listener===he){fe=se[re].listener,le=re;break}if(le<0)return this;0===le?se.shift():function z($,ae){for(;ae+1<$.length;ae++)$[ae]=$[ae+1];$.pop()}(se,le),1===se.length&&(pe[ae]=se[0]),void 0!==pe.removeListener&&this.emit("removeListener",ae,fe||he)}return this},O.prototype.off=O.prototype.removeListener,O.prototype.removeAllListeners=function(ae){var he,se,pe;if(void 0===(se=this._events))return this;if(void 0===se.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==se[ae]&&(0==--this._eventsCount?this._events=Object.create(null):delete se[ae]),this;if(0===arguments.length){var re,le=Object.keys(se);for(pe=0;pe<le.length;++pe)"removeListener"!==(re=le[pe])&&this.removeAllListeners(re);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(he=se[ae]))this.removeListener(ae,he);else if(void 0!==he)for(pe=he.length-1;pe>=0;pe--)this.removeListener(ae,he[pe]);return this},O.prototype.listeners=function(ae){return D(this,ae,!0)},O.prototype.rawListeners=function(ae){return D(this,ae,!1)},O.listenerCount=function($,ae){return"function"==typeof $.listenerCount?$.listenerCount(ae):k.call($,ae)},O.prototype.listenerCount=k,O.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]}},153:(Ye,J,f)=>{var e=f(9708).Buffer,t=f(2617);Ye.exports=function _(O,l,C,u){if(e.isBuffer(O)||(O=e.from(O,"binary")),l&&(e.isBuffer(l)||(l=e.from(l,"binary")),8!==l.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var P=C/8,p=e.alloc(P),L=e.alloc(u||0),D=e.alloc(0);P>0||u>0;){var k=new t;k.update(D),k.update(O),l&&k.update(l),D=k.digest();var M=0;if(P>0){var z=p.length-P;M=Math.min(P,D.length),D.copy(p,z,0,M),P-=M}if(M<D.length&&u>0){var A=L.length-u,W=Math.min(u,D.length-M);D.copy(L,A,M,M+W),u-=W}}return D.fill(0),{key:p,iv:L}}},3817:(Ye,J,f)=>{"use strict";var e=f(9708).Buffer,t=f(9697).Transform;function l(C){t.call(this),this._block=e.allocUnsafe(C),this._blockSize=C,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}f(5035)(l,t),l.prototype._transform=function(C,u,P){var p=null;try{this.update(C,u)}catch(L){p=L}P(p)},l.prototype._flush=function(C){var u=null;try{this.push(this.digest())}catch(P){u=P}C(u)},l.prototype.update=function(C,u){if(function O(C,u){if(!e.isBuffer(C)&&"string"!=typeof C)throw new TypeError(u+" must be a string or a buffer")}(C,"Data"),this._finalized)throw new Error("Digest already called");e.isBuffer(C)||(C=e.from(C,u));for(var P=this._block,p=0;this._blockOffset+C.length-p>=this._blockSize;){for(var L=this._blockOffset;L<this._blockSize;)P[L++]=C[p++];this._update(),this._blockOffset=0}for(;p<C.length;)P[this._blockOffset++]=C[p++];for(var D=0,k=8*C.length;k>0;++D)this._length[D]+=k,(k=this._length[D]/4294967296|0)>0&&(this._length[D]-=4294967296*k);return this},l.prototype._update=function(){throw new Error("_update is not implemented")},l.prototype.digest=function(C){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var u=this._digest();void 0!==C&&(u=u.toString(C)),this._block.fill(0),this._blockOffset=0;for(var P=0;P<4;++P)this._length[P]=0;return u},l.prototype._digest=function(){throw new Error("_digest is not implemented")},Ye.exports=l},9281:(Ye,J,f)=>{var e=J;e.utils=f(2764),e.common=f(622),e.sha=f(4131),e.ripemd=f(7968),e.hmac=f(7063),e.sha1=e.sha.sha1,e.sha256=e.sha.sha256,e.sha224=e.sha.sha224,e.sha384=e.sha.sha384,e.sha512=e.sha.sha512,e.ripemd160=e.ripemd.ripemd160},622:(Ye,J,f)=>{"use strict";var e=f(2764),t=f(3999);function _(){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}J.BlockHash=_,_.prototype.update=function(l,C){if(l=e.toArray(l,C),this.pending?this.pending=this.pending.concat(l):this.pending=l,this.pendingTotal+=l.length,this.pending.length>=this._delta8){var u=(l=this.pending).length%this._delta8;this.pending=l.slice(l.length-u,l.length),0===this.pending.length&&(this.pending=null),l=e.join32(l,0,l.length-u,this.endian);for(var P=0;P<l.length;P+=this._delta32)this._update(l,P,P+this._delta32)}return this},_.prototype.digest=function(l){return this.update(this._pad()),t(null===this.pending),this._digest(l)},_.prototype._pad=function(){var l=this.pendingTotal,C=this._delta8,u=C-(l+this.padLength)%C,P=new Array(u+this.padLength);P[0]=128;for(var p=1;p<u;p++)P[p]=0;if(l<<=3,"big"===this.endian){for(var L=8;L<this.padLength;L++)P[p++]=0;P[p++]=0,P[p++]=0,P[p++]=0,P[p++]=0,P[p++]=l>>>24&255,P[p++]=l>>>16&255,P[p++]=l>>>8&255,P[p++]=255&l}else for(P[p++]=255&l,P[p++]=l>>>8&255,P[p++]=l>>>16&255,P[p++]=l>>>24&255,P[p++]=0,P[p++]=0,P[p++]=0,P[p++]=0,L=8;L<this.padLength;L++)P[p++]=0;return P}},7063:(Ye,J,f)=>{"use strict";var e=f(2764),t=f(3999);function _(O,l,C){if(!(this instanceof _))return new _(O,l,C);this.Hash=O,this.blockSize=O.blockSize/8,this.outSize=O.outSize/8,this.inner=null,this.outer=null,this._init(e.toArray(l,C))}Ye.exports=_,_.prototype._init=function(l){l.length>this.blockSize&&(l=(new this.Hash).update(l).digest()),t(l.length<=this.blockSize);for(var C=l.length;C<this.blockSize;C++)l.push(0);for(C=0;C<l.length;C++)l[C]^=54;for(this.inner=(new this.Hash).update(l),C=0;C<l.length;C++)l[C]^=106;this.outer=(new this.Hash).update(l)},_.prototype.update=function(l,C){return this.inner.update(l,C),this},_.prototype.digest=function(l){return this.outer.update(this.inner.digest()),this.outer.digest(l)}},7968:(Ye,J,f)=>{"use strict";var e=f(2764),t=f(622),_=e.rotl32,O=e.sum32,l=e.sum32_3,C=e.sum32_4,u=t.BlockHash;function P(){if(!(this instanceof P))return new P;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function p(W,Z,X,$){return W<=15?Z^X^$:W<=31?Z&X|~Z&$:W<=47?(Z|~X)^$:W<=63?Z&$|X&~$:Z^(X|~$)}function D(W){return W<=15?1352829926:W<=31?1548603684:W<=47?1836072691:W<=63?2053994217:0}e.inherits(P,u),J.ripemd160=P,P.blockSize=512,P.outSize=160,P.hmacStrength=192,P.padLength=64,P.prototype._update=function(Z,X){for(var $=this.h[0],ae=this.h[1],he=this.h[2],se=this.h[3],pe=this.h[4],le=$,re=ae,fe=he,T=se,i=pe,o=0;o<80;o++){var m=O(_(C($,p(o,ae,he,se),Z[k[o]+X],(W=o)<=15?0:W<=31?1518500249:W<=47?1859775393:W<=63?2400959708:2840853838),z[o]),pe);$=pe,pe=se,se=_(he,10),he=ae,ae=m,m=O(_(C(le,p(79-o,re,fe,T),Z[M[o]+X],D(o)),A[o]),i),le=i,i=T,T=_(fe,10),fe=re,re=m}var W;m=l(this.h[1],he,T),this.h[1]=l(this.h[2],se,i),this.h[2]=l(this.h[3],pe,le),this.h[3]=l(this.h[4],$,re),this.h[4]=l(this.h[0],ae,fe),this.h[0]=m},P.prototype._digest=function(Z){return"hex"===Z?e.toHex32(this.h,"little"):e.split32(this.h,"little")};var k=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],M=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],z=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],A=[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]},4131:(Ye,J,f)=>{"use strict";J.sha1=f(4655),J.sha224=f(9912),J.sha256=f(8769),J.sha384=f(5215),J.sha512=f(4664)},4655:(Ye,J,f)=>{"use strict";var e=f(2764),t=f(622),_=f(5590),O=e.rotl32,l=e.sum32,C=e.sum32_5,u=_.ft_1,P=t.BlockHash,p=[1518500249,1859775393,2400959708,3395469782];function L(){if(!(this instanceof L))return new L;P.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}e.inherits(L,P),Ye.exports=L,L.blockSize=512,L.outSize=160,L.hmacStrength=80,L.padLength=64,L.prototype._update=function(k,M){for(var z=this.W,A=0;A<16;A++)z[A]=k[M+A];for(;A<z.length;A++)z[A]=O(z[A-3]^z[A-8]^z[A-14]^z[A-16],1);var W=this.h[0],Z=this.h[1],X=this.h[2],$=this.h[3],ae=this.h[4];for(A=0;A<z.length;A++){var he=~~(A/20),se=C(O(W,5),u(he,Z,X,$),ae,z[A],p[he]);ae=$,$=X,X=O(Z,30),Z=W,W=se}this.h[0]=l(this.h[0],W),this.h[1]=l(this.h[1],Z),this.h[2]=l(this.h[2],X),this.h[3]=l(this.h[3],$),this.h[4]=l(this.h[4],ae)},L.prototype._digest=function(k){return"hex"===k?e.toHex32(this.h,"big"):e.split32(this.h,"big")}},9912:(Ye,J,f)=>{"use strict";var e=f(2764),t=f(8769);function _(){if(!(this instanceof _))return new _;t.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}e.inherits(_,t),Ye.exports=_,_.blockSize=512,_.outSize=224,_.hmacStrength=192,_.padLength=64,_.prototype._digest=function(l){return"hex"===l?e.toHex32(this.h.slice(0,7),"big"):e.split32(this.h.slice(0,7),"big")}},8769:(Ye,J,f)=>{"use strict";var e=f(2764),t=f(622),_=f(5590),O=f(3999),l=e.sum32,C=e.sum32_4,u=e.sum32_5,P=_.ch32,p=_.maj32,L=_.s0_256,D=_.s1_256,k=_.g0_256,M=_.g1_256,z=t.BlockHash,A=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function W(){if(!(this instanceof W))return new W;z.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=A,this.W=new Array(64)}e.inherits(W,z),Ye.exports=W,W.blockSize=512,W.outSize=256,W.hmacStrength=192,W.padLength=64,W.prototype._update=function(X,$){for(var ae=this.W,he=0;he<16;he++)ae[he]=X[$+he];for(;he<ae.length;he++)ae[he]=C(M(ae[he-2]),ae[he-7],k(ae[he-15]),ae[he-16]);var se=this.h[0],pe=this.h[1],le=this.h[2],re=this.h[3],fe=this.h[4],T=this.h[5],i=this.h[6],o=this.h[7];for(O(this.k.length===ae.length),he=0;he<ae.length;he++){var m=u(o,D(fe),P(fe,T,i),this.k[he],ae[he]),h=l(L(se),p(se,pe,le));o=i,i=T,T=fe,fe=l(re,m),re=le,le=pe,pe=se,se=l(m,h)}this.h[0]=l(this.h[0],se),this.h[1]=l(this.h[1],pe),this.h[2]=l(this.h[2],le),this.h[3]=l(this.h[3],re),this.h[4]=l(this.h[4],fe),this.h[5]=l(this.h[5],T),this.h[6]=l(this.h[6],i),this.h[7]=l(this.h[7],o)},W.prototype._digest=function(X){return"hex"===X?e.toHex32(this.h,"big"):e.split32(this.h,"big")}},5215:(Ye,J,f)=>{"use strict";var e=f(2764),t=f(4664);function _(){if(!(this instanceof _))return new _;t.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}e.inherits(_,t),Ye.exports=_,_.blockSize=1024,_.outSize=384,_.hmacStrength=192,_.padLength=128,_.prototype._digest=function(l){return"hex"===l?e.toHex32(this.h.slice(0,12),"big"):e.split32(this.h.slice(0,12),"big")}},4664:(Ye,J,f)=>{"use strict";var e=f(2764),t=f(622),_=f(3999),O=e.rotr64_hi,l=e.rotr64_lo,C=e.shr64_hi,u=e.shr64_lo,P=e.sum64,p=e.sum64_hi,L=e.sum64_lo,D=e.sum64_4_hi,k=e.sum64_4_lo,M=e.sum64_5_hi,z=e.sum64_5_lo,A=t.BlockHash,W=[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 Z(){if(!(this instanceof Z))return new Z;A.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=W,this.W=new Array(160)}function X(m,h,x,I,R){var g=m&x^~m&R;return g<0&&(g+=4294967296),g}function $(m,h,x,I,R,g){var r=h&I^~h&g;return r<0&&(r+=4294967296),r}function ae(m,h,x,I,R){var g=m&x^m&R^x&R;return g<0&&(g+=4294967296),g}function he(m,h,x,I,R,g){var r=h&I^h&g^I&g;return r<0&&(r+=4294967296),r}function se(m,h){var g=O(m,h,28)^O(h,m,2)^O(h,m,7);return g<0&&(g+=4294967296),g}function pe(m,h){var g=l(m,h,28)^l(h,m,2)^l(h,m,7);return g<0&&(g+=4294967296),g}function le(m,h){var g=O(m,h,14)^O(m,h,18)^O(h,m,9);return g<0&&(g+=4294967296),g}function re(m,h){var g=l(m,h,14)^l(m,h,18)^l(h,m,9);return g<0&&(g+=4294967296),g}function fe(m,h){var g=O(m,h,1)^O(m,h,8)^C(m,h,7);return g<0&&(g+=4294967296),g}function T(m,h){var g=l(m,h,1)^l(m,h,8)^u(m,h,7);return g<0&&(g+=4294967296),g}function i(m,h){var g=O(m,h,19)^O(h,m,29)^C(m,h,6);return g<0&&(g+=4294967296),g}function o(m,h){var g=l(m,h,19)^l(h,m,29)^u(m,h,6);return g<0&&(g+=4294967296),g}e.inherits(Z,A),Ye.exports=Z,Z.blockSize=1024,Z.outSize=512,Z.hmacStrength=192,Z.padLength=128,Z.prototype._prepareBlock=function(h,x){for(var I=this.W,R=0;R<32;R++)I[R]=h[x+R];for(;R<I.length;R+=2){var g=i(I[R-4],I[R-3]),r=o(I[R-4],I[R-3]),w=I[R-14],V=I[R-13],N=fe(I[R-30],I[R-29]),Y=T(I[R-30],I[R-29]),Pe=I[R-32],Ce=I[R-31];I[R]=D(g,r,w,V,N,Y,Pe,Ce),I[R+1]=k(g,r,w,V,N,Y,Pe,Ce)}},Z.prototype._update=function(h,x){this._prepareBlock(h,x);var I=this.W,R=this.h[0],g=this.h[1],r=this.h[2],w=this.h[3],V=this.h[4],N=this.h[5],Y=this.h[6],Pe=this.h[7],Ce=this.h[8],Xe=this.h[9],dt=this.h[10],Ke=this.h[11],ge=this.h[12],$e=this.h[13],Oe=this.h[14],Me=this.h[15];_(this.k.length===I.length);for(var De=0;De<I.length;De+=2){var Ue=Oe,ye=Me,we=le(Ce,Xe),ie=re(Ce,Xe),Se=X(Ce,Xe,dt,Ke,ge),ne=$(Ce,Xe,dt,Ke,ge,$e),K=this.k[De],ee=this.k[De+1],ze=I[De],Ve=I[De+1],oe=M(Ue,ye,we,ie,Se,ne,K,ee,ze,Ve),at=z(Ue,ye,we,ie,Se,ne,K,ee,ze,Ve);Ue=se(R,g),ye=pe(R,g),we=ae(R,g,r,w,V),ie=he(R,g,r,w,V,N);var qe=p(Ue,ye,we,ie),it=L(Ue,ye,we,ie);Oe=ge,Me=$e,ge=dt,$e=Ke,dt=Ce,Ke=Xe,Ce=p(Y,Pe,oe,at),Xe=L(Pe,Pe,oe,at),Y=V,Pe=N,V=r,N=w,r=R,w=g,R=p(oe,at,qe,it),g=L(oe,at,qe,it)}P(this.h,0,R,g),P(this.h,2,r,w),P(this.h,4,V,N),P(this.h,6,Y,Pe),P(this.h,8,Ce,Xe),P(this.h,10,dt,Ke),P(this.h,12,ge,$e),P(this.h,14,Oe,Me)},Z.prototype._digest=function(h){return"hex"===h?e.toHex32(this.h,"big"):e.split32(this.h,"big")}},5590:(Ye,J,f)=>{"use strict";var t=f(2764).rotr32;function O(D,k,M){return D&k^~D&M}function l(D,k,M){return D&k^D&M^k&M}function C(D,k,M){return D^k^M}J.ft_1=function _(D,k,M,z){return 0===D?O(k,M,z):1===D||3===D?C(k,M,z):2===D?l(k,M,z):void 0},J.ch32=O,J.maj32=l,J.p32=C,J.s0_256=function u(D){return t(D,2)^t(D,13)^t(D,22)},J.s1_256=function P(D){return t(D,6)^t(D,11)^t(D,25)},J.g0_256=function p(D){return t(D,7)^t(D,18)^D>>>3},J.g1_256=function L(D){return t(D,17)^t(D,19)^D>>>10}},2764:(Ye,J,f)=>{"use strict";var e=f(3999),t=f(5035);function _(o,m){return!(55296!=(64512&o.charCodeAt(m))||m<0||m+1>=o.length)&&56320==(64512&o.charCodeAt(m+1))}function C(o){return(o>>>24|o>>>8&65280|o<<8&16711680|(255&o)<<24)>>>0}function P(o){return 1===o.length?"0"+o:o}function p(o){return 7===o.length?"0"+o:6===o.length?"00"+o:5===o.length?"000"+o:4===o.length?"0000"+o:3===o.length?"00000"+o:2===o.length?"000000"+o:1===o.length?"0000000"+o:o}J.inherits=t,J.toArray=function O(o,m){if(Array.isArray(o))return o.slice();if(!o)return[];var h=[];if("string"==typeof o)if(m){if("hex"===m)for((o=o.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(o="0"+o),I=0;I<o.length;I+=2)h.push(parseInt(o[I]+o[I+1],16))}else for(var x=0,I=0;I<o.length;I++){var R=o.charCodeAt(I);R<128?h[x++]=R:R<2048?(h[x++]=R>>6|192,h[x++]=63&R|128):_(o,I)?(R=65536+((1023&R)<<10)+(1023&o.charCodeAt(++I)),h[x++]=R>>18|240,h[x++]=R>>12&63|128,h[x++]=R>>6&63|128,h[x++]=63&R|128):(h[x++]=R>>12|224,h[x++]=R>>6&63|128,h[x++]=63&R|128)}else for(I=0;I<o.length;I++)h[I]=0|o[I];return h},J.toHex=function l(o){for(var m="",h=0;h<o.length;h++)m+=P(o[h].toString(16));return m},J.htonl=C,J.toHex32=function u(o,m){for(var h="",x=0;x<o.length;x++){var I=o[x];"little"===m&&(I=C(I)),h+=p(I.toString(16))}return h},J.zero2=P,J.zero8=p,J.join32=function L(o,m,h,x){var I=h-m;e(I%4==0);for(var R=new Array(I/4),g=0,r=m;g<R.length;g++,r+=4){var w;w="big"===x?o[r]<<24|o[r+1]<<16|o[r+2]<<8|o[r+3]:o[r+3]<<24|o[r+2]<<16|o[r+1]<<8|o[r],R[g]=w>>>0}return R},J.split32=function D(o,m){for(var h=new Array(4*o.length),x=0,I=0;x<o.length;x++,I+=4){var R=o[x];"big"===m?(h[I]=R>>>24,h[I+1]=R>>>16&255,h[I+2]=R>>>8&255,h[I+3]=255&R):(h[I+3]=R>>>24,h[I+2]=R>>>16&255,h[I+1]=R>>>8&255,h[I]=255&R)}return h},J.rotr32=function k(o,m){return o>>>m|o<<32-m},J.rotl32=function M(o,m){return o<<m|o>>>32-m},J.sum32=function z(o,m){return o+m>>>0},J.sum32_3=function A(o,m,h){return o+m+h>>>0},J.sum32_4=function W(o,m,h,x){return o+m+h+x>>>0},J.sum32_5=function Z(o,m,h,x,I){return o+m+h+x+I>>>0},J.sum64=function X(o,m,h,x){var I=o[m],g=x+o[m+1]>>>0,r=(g<x?1:0)+h+I;o[m]=r>>>0,o[m+1]=g},J.sum64_hi=function $(o,m,h,x){return(m+x>>>0<m?1:0)+o+h>>>0},J.sum64_lo=function ae(o,m,h,x){return m+x>>>0},J.sum64_4_hi=function he(o,m,h,x,I,R,g,r){var w=0,V=m;return w+=(V=V+x>>>0)<m?1:0,w+=(V=V+R>>>0)<R?1:0,o+h+I+g+(w+=(V=V+r>>>0)<r?1:0)>>>0},J.sum64_4_lo=function se(o,m,h,x,I,R,g,r){return m+x+R+r>>>0},J.sum64_5_hi=function pe(o,m,h,x,I,R,g,r,w,V){var N=0,Y=m;return N+=(Y=Y+x>>>0)<m?1:0,N+=(Y=Y+R>>>0)<R?1:0,N+=(Y=Y+r>>>0)<r?1:0,o+h+I+g+w+(N+=(Y=Y+V>>>0)<V?1:0)>>>0},J.sum64_5_lo=function le(o,m,h,x,I,R,g,r,w,V){return m+x+R+r+V>>>0},J.rotr64_hi=function re(o,m,h){return(m<<32-h|o>>>h)>>>0},J.rotr64_lo=function fe(o,m,h){return(o<<32-h|m>>>h)>>>0},J.shr64_hi=function T(o,m,h){return o>>>h},J.shr64_lo=function i(o,m,h){return(o<<32-h|m>>>h)>>>0}},3925:(Ye,J,f)=>{"use strict";var e=f(9281),t=f(4985),_=f(3999);function O(l){if(!(this instanceof O))return new O(l);this.hash=l.hash,this.predResist=!!l.predResist,this.outLen=this.hash.outSize,this.minEntropy=l.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var C=t.toArray(l.entropy,l.entropyEnc||"hex"),u=t.toArray(l.nonce,l.nonceEnc||"hex"),P=t.toArray(l.pers,l.persEnc||"hex");_(C.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(C,u,P)}Ye.exports=O,O.prototype._init=function(C,u,P){var p=C.concat(u).concat(P);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var L=0;L<this.V.length;L++)this.K[L]=0,this.V[L]=1;this._update(p),this._reseed=1,this.reseedInterval=281474976710656},O.prototype._hmac=function(){return new e.hmac(this.hash,this.K)},O.prototype._update=function(C){var u=this._hmac().update(this.V).update([0]);C&&(u=u.update(C)),this.K=u.digest(),this.V=this._hmac().update(this.V).digest(),C&&(this.K=this._hmac().update(this.V).update([1]).update(C).digest(),this.V=this._hmac().update(this.V).digest())},O.prototype.reseed=function(C,u,P,p){"string"!=typeof u&&(p=P,P=u,u=null),C=t.toArray(C,u),P=t.toArray(P,p),_(C.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(C.concat(P||[])),this._reseed=1},O.prototype.generate=function(C,u,P,p){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof u&&(p=P,P=u,u=null),P&&(P=t.toArray(P,p||"hex"),this._update(P));for(var L=[];L.length<C;)this.V=this._hmac().update(this.V).digest(),L=L.concat(this.V);var D=L.slice(0,C);return this._update(P),this._reseed++,t.encode(D,u)}},4920:(Ye,J)=>{J.read=function(f,e,t,_,O){var l,C,u=8*O-_-1,P=(1<<u)-1,p=P>>1,L=-7,D=t?O-1:0,k=t?-1:1,M=f[e+D];for(D+=k,l=M&(1<<-L)-1,M>>=-L,L+=u;L>0;l=256*l+f[e+D],D+=k,L-=8);for(C=l&(1<<-L)-1,l>>=-L,L+=_;L>0;C=256*C+f[e+D],D+=k,L-=8);if(0===l)l=1-p;else{if(l===P)return C?NaN:1/0*(M?-1:1);C+=Math.pow(2,_),l-=p}return(M?-1:1)*C*Math.pow(2,l-_)},J.write=function(f,e,t,_,O,l){var C,u,P,p=8*l-O-1,L=(1<<p)-1,D=L>>1,k=23===O?Math.pow(2,-24)-Math.pow(2,-77):0,M=_?0:l-1,z=_?1:-1,A=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,C=L):(C=Math.floor(Math.log(e)/Math.LN2),e*(P=Math.pow(2,-C))<1&&(C--,P*=2),(e+=C+D>=1?k/P:k*Math.pow(2,1-D))*P>=2&&(C++,P/=2),C+D>=L?(u=0,C=L):C+D>=1?(u=(e*P-1)*Math.pow(2,O),C+=D):(u=e*Math.pow(2,D-1)*Math.pow(2,O),C=0));O>=8;f[t+M]=255&u,M+=z,u/=256,O-=8);for(C=C<<O|u,p+=O;p>0;f[t+M]=255&C,M+=z,C/=256,p-=8);f[t+M-z]|=128*A}},5035:Ye=>{"function"==typeof Object.create?Ye.exports=function(f,e){e&&(f.super_=e,f.prototype=Object.create(e.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}))}:Ye.exports=function(f,e){if(e){f.super_=e;var t=function(){};t.prototype=e.prototype,f.prototype=new t,f.prototype.constructor=f}}},2617:(Ye,J,f)=>{"use strict";var e=f(5035),t=f(3817),_=f(9708).Buffer,O=new Array(16);function l(){t.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function C(D,k){return D<<k|D>>>32-k}function u(D,k,M,z,A,W,Z){return C(D+(k&M|~k&z)+A+W|0,Z)+k|0}function P(D,k,M,z,A,W,Z){return C(D+(k&z|M&~z)+A+W|0,Z)+k|0}function p(D,k,M,z,A,W,Z){return C(D+(k^M^z)+A+W|0,Z)+k|0}function L(D,k,M,z,A,W,Z){return C(D+(M^(k|~z))+A+W|0,Z)+k|0}e(l,t),l.prototype._update=function(){for(var D=O,k=0;k<16;++k)D[k]=this._block.readInt32LE(4*k);var M=this._a,z=this._b,A=this._c,W=this._d;M=u(M,z,A,W,D[0],3614090360,7),W=u(W,M,z,A,D[1],3905402710,12),A=u(A,W,M,z,D[2],606105819,17),z=u(z,A,W,M,D[3],3250441966,22),M=u(M,z,A,W,D[4],4118548399,7),W=u(W,M,z,A,D[5],1200080426,12),A=u(A,W,M,z,D[6],2821735955,17),z=u(z,A,W,M,D[7],4249261313,22),M=u(M,z,A,W,D[8],1770035416,7),W=u(W,M,z,A,D[9],2336552879,12),A=u(A,W,M,z,D[10],4294925233,17),z=u(z,A,W,M,D[11],2304563134,22),M=u(M,z,A,W,D[12],1804603682,7),W=u(W,M,z,A,D[13],4254626195,12),A=u(A,W,M,z,D[14],2792965006,17),M=P(M,z=u(z,A,W,M,D[15],1236535329,22),A,W,D[1],4129170786,5),W=P(W,M,z,A,D[6],3225465664,9),A=P(A,W,M,z,D[11],643717713,14),z=P(z,A,W,M,D[0],3921069994,20),M=P(M,z,A,W,D[5],3593408605,5),W=P(W,M,z,A,D[10],38016083,9),A=P(A,W,M,z,D[15],3634488961,14),z=P(z,A,W,M,D[4],3889429448,20),M=P(M,z,A,W,D[9],568446438,5),W=P(W,M,z,A,D[14],3275163606,9),A=P(A,W,M,z,D[3],4107603335,14),z=P(z,A,W,M,D[8],1163531501,20),M=P(M,z,A,W,D[13],2850285829,5),W=P(W,M,z,A,D[2],4243563512,9),A=P(A,W,M,z,D[7],1735328473,14),M=p(M,z=P(z,A,W,M,D[12],2368359562,20),A,W,D[5],4294588738,4),W=p(W,M,z,A,D[8],2272392833,11),A=p(A,W,M,z,D[11],1839030562,16),z=p(z,A,W,M,D[14],4259657740,23),M=p(M,z,A,W,D[1],2763975236,4),W=p(W,M,z,A,D[4],1272893353,11),A=p(A,W,M,z,D[7],4139469664,16),z=p(z,A,W,M,D[10],3200236656,23),M=p(M,z,A,W,D[13],681279174,4),W=p(W,M,z,A,D[0],3936430074,11),A=p(A,W,M,z,D[3],3572445317,16),z=p(z,A,W,M,D[6],76029189,23),M=p(M,z,A,W,D[9],3654602809,4),W=p(W,M,z,A,D[12],3873151461,11),A=p(A,W,M,z,D[15],530742520,16),M=L(M,z=p(z,A,W,M,D[2],3299628645,23),A,W,D[0],4096336452,6),W=L(W,M,z,A,D[7],1126891415,10),A=L(A,W,M,z,D[14],2878612391,15),z=L(z,A,W,M,D[5],4237533241,21),M=L(M,z,A,W,D[12],1700485571,6),W=L(W,M,z,A,D[3],2399980690,10),A=L(A,W,M,z,D[10],4293915773,15),z=L(z,A,W,M,D[1],2240044497,21),M=L(M,z,A,W,D[8],1873313359,6),W=L(W,M,z,A,D[15],4264355552,10),A=L(A,W,M,z,D[6],2734768916,15),z=L(z,A,W,M,D[13],1309151649,21),M=L(M,z,A,W,D[4],4149444226,6),W=L(W,M,z,A,D[11],3174756917,10),A=L(A,W,M,z,D[2],718787259,15),z=L(z,A,W,M,D[9],3951481745,21),this._a=this._a+M|0,this._b=this._b+z|0,this._c=this._c+A|0,this._d=this._d+W|0},l.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var D=_.allocUnsafe(16);return D.writeInt32LE(this._a,0),D.writeInt32LE(this._b,4),D.writeInt32LE(this._c,8),D.writeInt32LE(this._d,12),D},Ye.exports=l},7789:(Ye,J,f)=>{var e=f(5369),t=f(340);function _(O){this.rand=O||new t.Rand}Ye.exports=_,_.create=function(l){return new _(l)},_.prototype._randbelow=function(l){var C=l.bitLength(),u=Math.ceil(C/8);do{var P=new e(this.rand.generate(u))}while(P.cmp(l)>=0);return P},_.prototype._randrange=function(l,C){var u=C.sub(l);return l.add(this._randbelow(u))},_.prototype.test=function(l,C,u){var P=l.bitLength(),p=e.mont(l),L=new e(1).toRed(p);C||(C=Math.max(1,P/48|0));for(var D=l.subn(1),k=0;!D.testn(k);k++);for(var M=l.shrn(k),z=D.toRed(p);C>0;C--){var W=this._randrange(new e(2),D);u&&u(W);var Z=W.toRed(p).redPow(M);if(0!==Z.cmp(L)&&0!==Z.cmp(z)){for(var X=1;X<k;X++){if(0===(Z=Z.redSqr()).cmp(L))return!1;if(0===Z.cmp(z))break}if(X===k)return!1}}return!0},_.prototype.getDivisor=function(l,C){var u=l.bitLength(),P=e.mont(l),p=new e(1).toRed(P);C||(C=Math.max(1,u/48|0));for(var L=l.subn(1),D=0;!L.testn(D);D++);for(var k=l.shrn(D),M=L.toRed(P);C>0;C--){var z=this._randrange(new e(2),L),A=l.gcd(z);if(0!==A.cmpn(1))return A;var W=z.toRed(P).redPow(k);if(0!==W.cmp(p)&&0!==W.cmp(M)){for(var Z=1;Z<D;Z++){if(0===(W=W.redSqr()).cmp(p))return W.fromRed().subn(1).gcd(l);if(0===W.cmp(M))break}if(Z===D)return(W=W.redSqr()).fromRed().subn(1).gcd(l)}}return!1}},5369:function(Ye,J,f){(function(e,t){"use strict";function _(T,i){if(!T)throw new Error(i||"Assertion failed")}function O(T,i){T.super_=i;var o=function(){};o.prototype=i.prototype,T.prototype=new o,T.prototype.constructor=T}function l(T,i,o){if(l.isBN(T))return T;this.negative=0,this.words=null,this.length=0,this.red=null,null!==T&&(("le"===i||"be"===i)&&(o=i,i=10),this._init(T||0,i||10,o||"be"))}var C;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:f(6619).Buffer}catch{}function u(T,i){var o=T.charCodeAt(i);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function P(T,i,o){var m=u(T,o);return o-1>=i&&(m|=u(T,o-1)<<4),m}function p(T,i,o,m){for(var h=0,x=Math.min(T.length,o),I=i;I<x;I++){var R=T.charCodeAt(I)-48;h*=m,h+=R>=49?R-49+10:R>=17?R-17+10:R}return h}l.isBN=function(i){return i instanceof l||null!==i&&"object"==typeof i&&i.constructor.wordSize===l.wordSize&&Array.isArray(i.words)},l.max=function(i,o){return i.cmp(o)>0?i:o},l.min=function(i,o){return i.cmp(o)<0?i:o},l.prototype._init=function(i,o,m){if("number"==typeof i)return this._initNumber(i,o,m);if("object"==typeof i)return this._initArray(i,o,m);"hex"===o&&(o=16),_(o===(0|o)&&o>=2&&o<=36);var h=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<i.length&&(16===o?this._parseHex(i,h,m):(this._parseBase(i,o,h),"le"===m&&this._initArray(this.toArray(),o,m)))},l.prototype._initNumber=function(i,o,m){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):(_(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===m&&this._initArray(this.toArray(),o,m)},l.prototype._initArray=function(i,o,m){if(_("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 h=0;h<this.length;h++)this.words[h]=0;var x,I,R=0;if("be"===m)for(h=i.length-1,x=0;h>=0;h-=3)I=i[h]|i[h-1]<<8|i[h-2]<<16,this.words[x]|=I<<R&67108863,this.words[x+1]=I>>>26-R&67108863,(R+=24)>=26&&(R-=26,x++);else if("le"===m)for(h=0,x=0;h<i.length;h+=3)I=i[h]|i[h+1]<<8|i[h+2]<<16,this.words[x]|=I<<R&67108863,this.words[x+1]=I>>>26-R&67108863,(R+=24)>=26&&(R-=26,x++);return this.strip()},l.prototype._parseHex=function(i,o,m){this.length=Math.ceil((i.length-o)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var R,x=0,I=0;if("be"===m)for(h=i.length-1;h>=o;h-=2)R=P(i,o,h)<<x,this.words[I]|=67108863&R,x>=18?(x-=18,I+=1,this.words[I]|=R>>>26):x+=8;else for(h=(i.length-o)%2==0?o+1:o;h<i.length;h+=2)R=P(i,o,h)<<x,this.words[I]|=67108863&R,x>=18?(x-=18,I+=1,this.words[I]|=R>>>26):x+=8;this.strip()},l.prototype._parseBase=function(i,o,m){this.words=[0],this.length=1;for(var h=0,x=1;x<=67108863;x*=o)h++;h--,x=x/o|0;for(var I=i.length-m,R=I%h,g=Math.min(I,I-R)+m,r=0,w=m;w<g;w+=h)r=p(i,w,w+h,o),this.imuln(x),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==R){var V=1;for(r=p(i,w,i.length,o),w=0;w<R;w++)V*=o;this.imuln(V),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r)}this.strip()},l.prototype.copy=function(i){i.words=new Array(this.length);for(var o=0;o<this.length;o++)i.words[o]=this.words[o];i.length=this.length,i.negative=this.negative,i.red=this.red},l.prototype.clone=function(){var i=new l(null);return this.copy(i),i},l.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var L=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],D=[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],k=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function z(T,i,o){o.negative=i.negative^T.negative;var m=T.length+i.length|0;o.length=m,m=m-1|0;var h=0|T.words[0],x=0|i.words[0],I=h*x,R=67108863&I,g=I/67108864|0;o.words[0]=R;for(var r=1;r<m;r++){for(var w=g>>>26,V=67108863&g,N=Math.min(r,i.length-1),Y=Math.max(0,r-T.length+1);Y<=N;Y++){var Pe=r-Y|0;w+=(I=(h=0|T.words[Pe])*(x=0|i.words[Y])+V)/67108864|0,V=67108863&I}o.words[r]=0|V,g=0|w}return 0!==g?o.words[r]=0|g:o.length--,o.strip()}l.prototype.toString=function(i,o){var m;if(o=0|o||1,16===(i=i||10)||"hex"===i){m="";for(var h=0,x=0,I=0;I<this.length;I++){var R=this.words[I],g=(16777215&(R<<h|x)).toString(16);m=0!==(x=R>>>24-h&16777215)||I!==this.length-1?L[6-g.length]+g+m:g+m,(h+=2)>=26&&(h-=26,I--)}for(0!==x&&(m=x.toString(16)+m);m.length%o!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}if(i===(0|i)&&i>=2&&i<=36){var r=D[i],w=k[i];m="";var V=this.clone();for(V.negative=0;!V.isZero();){var N=V.modn(w).toString(i);m=(V=V.idivn(w)).isZero()?N+m:L[r-N.length]+N+m}for(this.isZero()&&(m="0"+m);m.length%o!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}_(!1,"Base should be between 2 and 36")},l.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&&_(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-i:i},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(i,o){return _(typeof C<"u"),this.toArrayLike(C,i,o)},l.prototype.toArray=function(i,o){return this.toArrayLike(Array,i,o)},l.prototype.toArrayLike=function(i,o,m){var h=this.byteLength(),x=m||Math.max(1,h);_(h<=x,"byte array longer than desired length"),_(x>0,"Requested array length <= 0"),this.strip();var g,r,I="le"===o,R=new i(x),w=this.clone();if(I){for(r=0;!w.isZero();r++)g=w.andln(255),w.iushrn(8),R[r]=g;for(;r<x;r++)R[r]=0}else{for(r=0;r<x-h;r++)R[r]=0;for(r=0;!w.isZero();r++)g=w.andln(255),w.iushrn(8),R[x-r-1]=g}return R},Math.clz32?l.prototype._countBits=function(i){return 32-Math.clz32(i)}:l.prototype._countBits=function(i){var o=i,m=0;return o>=4096&&(m+=13,o>>>=13),o>=64&&(m+=7,o>>>=7),o>=8&&(m+=4,o>>>=4),o>=2&&(m+=2,o>>>=2),m+o},l.prototype._zeroBits=function(i){if(0===i)return 26;var o=i,m=0;return 0==(8191&o)&&(m+=13,o>>>=13),0==(127&o)&&(m+=7,o>>>=7),0==(15&o)&&(m+=4,o>>>=4),0==(3&o)&&(m+=2,o>>>=2),0==(1&o)&&m++,m},l.prototype.bitLength=function(){var i=this.words[this.length-1],o=this._countBits(i);return 26*(this.length-1)+o},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,o=0;o<this.length;o++){var m=this._zeroBits(this.words[o]);if(i+=m,26!==m)break}return i},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},l.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var o=0;o<i.length;o++)this.words[o]=this.words[o]|i.words[o];return this.strip()},l.prototype.ior=function(i){return _(0==(this.negative|i.negative)),this.iuor(i)},l.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},l.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},l.prototype.iuand=function(i){var o;o=this.length>i.length?i:this;for(var m=0;m<o.length;m++)this.words[m]=this.words[m]&i.words[m];return this.length=o.length,this.strip()},l.prototype.iand=function(i){return _(0==(this.negative|i.negative)),this.iuand(i)},l.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},l.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},l.prototype.iuxor=function(i){var o,m;this.length>i.length?(o=this,m=i):(o=i,m=this);for(var h=0;h<m.length;h++)this.words[h]=o.words[h]^m.words[h];if(this!==o)for(;h<o.length;h++)this.words[h]=o.words[h];return this.length=o.length,this.strip()},l.prototype.ixor=function(i){return _(0==(this.negative|i.negative)),this.iuxor(i)},l.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},l.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},l.prototype.inotn=function(i){_("number"==typeof i&&i>=0);var o=0|Math.ceil(i/26),m=i%26;this._expand(o),m>0&&o--;for(var h=0;h<o;h++)this.words[h]=67108863&~this.words[h];return m>0&&(this.words[h]=~this.words[h]&67108863>>26-m),this.strip()},l.prototype.notn=function(i){return this.clone().inotn(i)},l.prototype.setn=function(i,o){_("number"==typeof i&&i>=0);var m=i/26|0,h=i%26;return this._expand(m+1),this.words[m]=o?this.words[m]|1<<h:this.words[m]&~(1<<h),this.strip()},l.prototype.iadd=function(i){var o,m,h;if(0!==this.negative&&0===i.negative)return this.negative=0,o=this.isub(i),this.negative^=1,this._normSign();if(0===this.negative&&0!==i.negative)return i.negative=0,o=this.isub(i),i.negative=1,o._normSign();this.length>i.length?(m=this,h=i):(m=i,h=this);for(var x=0,I=0;I<h.length;I++)o=(0|m.words[I])+(0|h.words[I])+x,this.words[I]=67108863&o,x=o>>>26;for(;0!==x&&I<m.length;I++)o=(0|m.words[I])+x,this.words[I]=67108863&o,x=o>>>26;if(this.length=m.length,0!==x)this.words[this.length]=x,this.length++;else if(m!==this)for(;I<m.length;I++)this.words[I]=m.words[I];return this},l.prototype.add=function(i){var o;return 0!==i.negative&&0===this.negative?(i.negative=0,o=this.sub(i),i.negative^=1,o):0===i.negative&&0!==this.negative?(this.negative=0,o=i.sub(this),this.negative=1,o):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},l.prototype.isub=function(i){if(0!==i.negative){i.negative=0;var o=this.iadd(i);return i.negative=1,o._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var h,x,m=this.cmp(i);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(h=this,x=i):(h=i,x=this);for(var I=0,R=0;R<x.length;R++)I=(o=(0|h.words[R])-(0|x.words[R])+I)>>26,this.words[R]=67108863&o;for(;0!==I&&R<h.length;R++)I=(o=(0|h.words[R])+I)>>26,this.words[R]=67108863&o;if(0===I&&R<h.length&&h!==this)for(;R<h.length;R++)this.words[R]=h.words[R];return this.length=Math.max(this.length,R),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(i){return this.clone().isub(i)};var A=function(i,o,m){var g,r,w,h=i.words,x=o.words,I=m.words,R=0,V=0|h[0],N=8191&V,Y=V>>>13,Pe=0|h[1],Ce=8191&Pe,Xe=Pe>>>13,dt=0|h[2],Ke=8191&dt,ge=dt>>>13,$e=0|h[3],Oe=8191&$e,Me=$e>>>13,De=0|h[4],Ue=8191&De,ye=De>>>13,we=0|h[5],ie=8191&we,Se=we>>>13,ne=0|h[6],K=8191&ne,ee=ne>>>13,ze=0|h[7],Ve=8191&ze,oe=ze>>>13,at=0|h[8],qe=8191&at,it=at>>>13,ii=0|h[9],bt=8191&ii,st=ii>>>13,Be=0|x[0],rt=8191&Be,Ot=Be>>>13,Gt=0|x[1],kt=8191&Gt,Rt=Gt>>>13,yi=0|x[2],Jt=8191&yi,Zt=yi>>>13,mi=0|x[3],Re=8191&mi,U=mi>>>13,j=0|x[4],ue=8191&j,Ne=j>>>13,wt=0|x[5],Et=8191&wt,Nt=wt>>>13,ot=0|x[6],We=8191&ot,gt=ot>>>13,ri=0|x[7],Pt=8191&ri,Ft=ri>>>13,qt=0|x[8],Te=8191&qt,me=qt>>>13,ct=0|x[9],_t=8191&ct,Lt=ct>>>13;m.negative=i.negative^o.negative,m.length=19;var Li=(R+(g=Math.imul(N,rt))|0)+((8191&(r=(r=Math.imul(N,Ot))+Math.imul(Y,rt)|0))<<13)|0;R=((w=Math.imul(Y,Ot))+(r>>>13)|0)+(Li>>>26)|0,Li&=67108863,g=Math.imul(Ce,rt),r=(r=Math.imul(Ce,Ot))+Math.imul(Xe,rt)|0,w=Math.imul(Xe,Ot);var Ai=(R+(g=g+Math.imul(N,kt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Rt)|0)+Math.imul(Y,kt)|0))<<13)|0;R=((w=w+Math.imul(Y,Rt)|0)+(r>>>13)|0)+(Ai>>>26)|0,Ai&=67108863,g=Math.imul(Ke,rt),r=(r=Math.imul(Ke,Ot))+Math.imul(ge,rt)|0,w=Math.imul(ge,Ot),g=g+Math.imul(Ce,kt)|0,r=(r=r+Math.imul(Ce,Rt)|0)+Math.imul(Xe,kt)|0,w=w+Math.imul(Xe,Rt)|0;var wi=(R+(g=g+Math.imul(N,Jt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Zt)|0)+Math.imul(Y,Jt)|0))<<13)|0;R=((w=w+Math.imul(Y,Zt)|0)+(r>>>13)|0)+(wi>>>26)|0,wi&=67108863,g=Math.imul(Oe,rt),r=(r=Math.imul(Oe,Ot))+Math.imul(Me,rt)|0,w=Math.imul(Me,Ot),g=g+Math.imul(Ke,kt)|0,r=(r=r+Math.imul(Ke,Rt)|0)+Math.imul(ge,kt)|0,w=w+Math.imul(ge,Rt)|0,g=g+Math.imul(Ce,Jt)|0,r=(r=r+Math.imul(Ce,Zt)|0)+Math.imul(Xe,Jt)|0,w=w+Math.imul(Xe,Zt)|0;var zi=(R+(g=g+Math.imul(N,Re)|0)|0)+((8191&(r=(r=r+Math.imul(N,U)|0)+Math.imul(Y,Re)|0))<<13)|0;R=((w=w+Math.imul(Y,U)|0)+(r>>>13)|0)+(zi>>>26)|0,zi&=67108863,g=Math.imul(Ue,rt),r=(r=Math.imul(Ue,Ot))+Math.imul(ye,rt)|0,w=Math.imul(ye,Ot),g=g+Math.imul(Oe,kt)|0,r=(r=r+Math.imul(Oe,Rt)|0)+Math.imul(Me,kt)|0,w=w+Math.imul(Me,Rt)|0,g=g+Math.imul(Ke,Jt)|0,r=(r=r+Math.imul(Ke,Zt)|0)+Math.imul(ge,Jt)|0,w=w+Math.imul(ge,Zt)|0,g=g+Math.imul(Ce,Re)|0,r=(r=r+Math.imul(Ce,U)|0)+Math.imul(Xe,Re)|0,w=w+Math.imul(Xe,U)|0;var xt=(R+(g=g+Math.imul(N,ue)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ne)|0)+Math.imul(Y,ue)|0))<<13)|0;R=((w=w+Math.imul(Y,Ne)|0)+(r>>>13)|0)+(xt>>>26)|0,xt&=67108863,g=Math.imul(ie,rt),r=(r=Math.imul(ie,Ot))+Math.imul(Se,rt)|0,w=Math.imul(Se,Ot),g=g+Math.imul(Ue,kt)|0,r=(r=r+Math.imul(Ue,Rt)|0)+Math.imul(ye,kt)|0,w=w+Math.imul(ye,Rt)|0,g=g+Math.imul(Oe,Jt)|0,r=(r=r+Math.imul(Oe,Zt)|0)+Math.imul(Me,Jt)|0,w=w+Math.imul(Me,Zt)|0,g=g+Math.imul(Ke,Re)|0,r=(r=r+Math.imul(Ke,U)|0)+Math.imul(ge,Re)|0,w=w+Math.imul(ge,U)|0,g=g+Math.imul(Ce,ue)|0,r=(r=r+Math.imul(Ce,Ne)|0)+Math.imul(Xe,ue)|0,w=w+Math.imul(Xe,Ne)|0;var Qe=(R+(g=g+Math.imul(N,Et)|0)|0)+((8191&(r=(r=r+Math.imul(N,Nt)|0)+Math.imul(Y,Et)|0))<<13)|0;R=((w=w+Math.imul(Y,Nt)|0)+(r>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,g=Math.imul(K,rt),r=(r=Math.imul(K,Ot))+Math.imul(ee,rt)|0,w=Math.imul(ee,Ot),g=g+Math.imul(ie,kt)|0,r=(r=r+Math.imul(ie,Rt)|0)+Math.imul(Se,kt)|0,w=w+Math.imul(Se,Rt)|0,g=g+Math.imul(Ue,Jt)|0,r=(r=r+Math.imul(Ue,Zt)|0)+Math.imul(ye,Jt)|0,w=w+Math.imul(ye,Zt)|0,g=g+Math.imul(Oe,Re)|0,r=(r=r+Math.imul(Oe,U)|0)+Math.imul(Me,Re)|0,w=w+Math.imul(Me,U)|0,g=g+Math.imul(Ke,ue)|0,r=(r=r+Math.imul(Ke,Ne)|0)+Math.imul(ge,ue)|0,w=w+Math.imul(ge,Ne)|0,g=g+Math.imul(Ce,Et)|0,r=(r=r+Math.imul(Ce,Nt)|0)+Math.imul(Xe,Et)|0,w=w+Math.imul(Xe,Nt)|0;var Fe=(R+(g=g+Math.imul(N,We)|0)|0)+((8191&(r=(r=r+Math.imul(N,gt)|0)+Math.imul(Y,We)|0))<<13)|0;R=((w=w+Math.imul(Y,gt)|0)+(r>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,g=Math.imul(Ve,rt),r=(r=Math.imul(Ve,Ot))+Math.imul(oe,rt)|0,w=Math.imul(oe,Ot),g=g+Math.imul(K,kt)|0,r=(r=r+Math.imul(K,Rt)|0)+Math.imul(ee,kt)|0,w=w+Math.imul(ee,Rt)|0,g=g+Math.imul(ie,Jt)|0,r=(r=r+Math.imul(ie,Zt)|0)+Math.imul(Se,Jt)|0,w=w+Math.imul(Se,Zt)|0,g=g+Math.imul(Ue,Re)|0,r=(r=r+Math.imul(Ue,U)|0)+Math.imul(ye,Re)|0,w=w+Math.imul(ye,U)|0,g=g+Math.imul(Oe,ue)|0,r=(r=r+Math.imul(Oe,Ne)|0)+Math.imul(Me,ue)|0,w=w+Math.imul(Me,Ne)|0,g=g+Math.imul(Ke,Et)|0,r=(r=r+Math.imul(Ke,Nt)|0)+Math.imul(ge,Et)|0,w=w+Math.imul(ge,Nt)|0,g=g+Math.imul(Ce,We)|0,r=(r=r+Math.imul(Ce,gt)|0)+Math.imul(Xe,We)|0,w=w+Math.imul(Xe,gt)|0;var Wt=(R+(g=g+Math.imul(N,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ft)|0)+Math.imul(Y,Pt)|0))<<13)|0;R=((w=w+Math.imul(Y,Ft)|0)+(r>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,g=Math.imul(qe,rt),r=(r=Math.imul(qe,Ot))+Math.imul(it,rt)|0,w=Math.imul(it,Ot),g=g+Math.imul(Ve,kt)|0,r=(r=r+Math.imul(Ve,Rt)|0)+Math.imul(oe,kt)|0,w=w+Math.imul(oe,Rt)|0,g=g+Math.imul(K,Jt)|0,r=(r=r+Math.imul(K,Zt)|0)+Math.imul(ee,Jt)|0,w=w+Math.imul(ee,Zt)|0,g=g+Math.imul(ie,Re)|0,r=(r=r+Math.imul(ie,U)|0)+Math.imul(Se,Re)|0,w=w+Math.imul(Se,U)|0,g=g+Math.imul(Ue,ue)|0,r=(r=r+Math.imul(Ue,Ne)|0)+Math.imul(ye,ue)|0,w=w+Math.imul(ye,Ne)|0,g=g+Math.imul(Oe,Et)|0,r=(r=r+Math.imul(Oe,Nt)|0)+Math.imul(Me,Et)|0,w=w+Math.imul(Me,Nt)|0,g=g+Math.imul(Ke,We)|0,r=(r=r+Math.imul(Ke,gt)|0)+Math.imul(ge,We)|0,w=w+Math.imul(ge,gt)|0,g=g+Math.imul(Ce,Pt)|0,r=(r=r+Math.imul(Ce,Ft)|0)+Math.imul(Xe,Pt)|0,w=w+Math.imul(Xe,Ft)|0;var Xt=(R+(g=g+Math.imul(N,Te)|0)|0)+((8191&(r=(r=r+Math.imul(N,me)|0)+Math.imul(Y,Te)|0))<<13)|0;R=((w=w+Math.imul(Y,me)|0)+(r>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,g=Math.imul(bt,rt),r=(r=Math.imul(bt,Ot))+Math.imul(st,rt)|0,w=Math.imul(st,Ot),g=g+Math.imul(qe,kt)|0,r=(r=r+Math.imul(qe,Rt)|0)+Math.imul(it,kt)|0,w=w+Math.imul(it,Rt)|0,g=g+Math.imul(Ve,Jt)|0,r=(r=r+Math.imul(Ve,Zt)|0)+Math.imul(oe,Jt)|0,w=w+Math.imul(oe,Zt)|0,g=g+Math.imul(K,Re)|0,r=(r=r+Math.imul(K,U)|0)+Math.imul(ee,Re)|0,w=w+Math.imul(ee,U)|0,g=g+Math.imul(ie,ue)|0,r=(r=r+Math.imul(ie,Ne)|0)+Math.imul(Se,ue)|0,w=w+Math.imul(Se,Ne)|0,g=g+Math.imul(Ue,Et)|0,r=(r=r+Math.imul(Ue,Nt)|0)+Math.imul(ye,Et)|0,w=w+Math.imul(ye,Nt)|0,g=g+Math.imul(Oe,We)|0,r=(r=r+Math.imul(Oe,gt)|0)+Math.imul(Me,We)|0,w=w+Math.imul(Me,gt)|0,g=g+Math.imul(Ke,Pt)|0,r=(r=r+Math.imul(Ke,Ft)|0)+Math.imul(ge,Pt)|0,w=w+Math.imul(ge,Ft)|0,g=g+Math.imul(Ce,Te)|0,r=(r=r+Math.imul(Ce,me)|0)+Math.imul(Xe,Te)|0,w=w+Math.imul(Xe,me)|0;var _i=(R+(g=g+Math.imul(N,_t)|0)|0)+((8191&(r=(r=r+Math.imul(N,Lt)|0)+Math.imul(Y,_t)|0))<<13)|0;R=((w=w+Math.imul(Y,Lt)|0)+(r>>>13)|0)+(_i>>>26)|0,_i&=67108863,g=Math.imul(bt,kt),r=(r=Math.imul(bt,Rt))+Math.imul(st,kt)|0,w=Math.imul(st,Rt),g=g+Math.imul(qe,Jt)|0,r=(r=r+Math.imul(qe,Zt)|0)+Math.imul(it,Jt)|0,w=w+Math.imul(it,Zt)|0,g=g+Math.imul(Ve,Re)|0,r=(r=r+Math.imul(Ve,U)|0)+Math.imul(oe,Re)|0,w=w+Math.imul(oe,U)|0,g=g+Math.imul(K,ue)|0,r=(r=r+Math.imul(K,Ne)|0)+Math.imul(ee,ue)|0,w=w+Math.imul(ee,Ne)|0,g=g+Math.imul(ie,Et)|0,r=(r=r+Math.imul(ie,Nt)|0)+Math.imul(Se,Et)|0,w=w+Math.imul(Se,Nt)|0,g=g+Math.imul(Ue,We)|0,r=(r=r+Math.imul(Ue,gt)|0)+Math.imul(ye,We)|0,w=w+Math.imul(ye,gt)|0,g=g+Math.imul(Oe,Pt)|0,r=(r=r+Math.imul(Oe,Ft)|0)+Math.imul(Me,Pt)|0,w=w+Math.imul(Me,Ft)|0,g=g+Math.imul(Ke,Te)|0,r=(r=r+Math.imul(Ke,me)|0)+Math.imul(ge,Te)|0,w=w+Math.imul(ge,me)|0;var Oi=(R+(g=g+Math.imul(Ce,_t)|0)|0)+((8191&(r=(r=r+Math.imul(Ce,Lt)|0)+Math.imul(Xe,_t)|0))<<13)|0;R=((w=w+Math.imul(Xe,Lt)|0)+(r>>>13)|0)+(Oi>>>26)|0,Oi&=67108863,g=Math.imul(bt,Jt),r=(r=Math.imul(bt,Zt))+Math.imul(st,Jt)|0,w=Math.imul(st,Zt),g=g+Math.imul(qe,Re)|0,r=(r=r+Math.imul(qe,U)|0)+Math.imul(it,Re)|0,w=w+Math.imul(it,U)|0,g=g+Math.imul(Ve,ue)|0,r=(r=r+Math.imul(Ve,Ne)|0)+Math.imul(oe,ue)|0,w=w+Math.imul(oe,Ne)|0,g=g+Math.imul(K,Et)|0,r=(r=r+Math.imul(K,Nt)|0)+Math.imul(ee,Et)|0,w=w+Math.imul(ee,Nt)|0,g=g+Math.imul(ie,We)|0,r=(r=r+Math.imul(ie,gt)|0)+Math.imul(Se,We)|0,w=w+Math.imul(Se,gt)|0,g=g+Math.imul(Ue,Pt)|0,r=(r=r+Math.imul(Ue,Ft)|0)+Math.imul(ye,Pt)|0,w=w+Math.imul(ye,Ft)|0,g=g+Math.imul(Oe,Te)|0,r=(r=r+Math.imul(Oe,me)|0)+Math.imul(Me,Te)|0,w=w+Math.imul(Me,me)|0;var ki=(R+(g=g+Math.imul(Ke,_t)|0)|0)+((8191&(r=(r=r+Math.imul(Ke,Lt)|0)+Math.imul(ge,_t)|0))<<13)|0;R=((w=w+Math.imul(ge,Lt)|0)+(r>>>13)|0)+(ki>>>26)|0,ki&=67108863,g=Math.imul(bt,Re),r=(r=Math.imul(bt,U))+Math.imul(st,Re)|0,w=Math.imul(st,U),g=g+Math.imul(qe,ue)|0,r=(r=r+Math.imul(qe,Ne)|0)+Math.imul(it,ue)|0,w=w+Math.imul(it,Ne)|0,g=g+Math.imul(Ve,Et)|0,r=(r=r+Math.imul(Ve,Nt)|0)+Math.imul(oe,Et)|0,w=w+Math.imul(oe,Nt)|0,g=g+Math.imul(K,We)|0,r=(r=r+Math.imul(K,gt)|0)+Math.imul(ee,We)|0,w=w+Math.imul(ee,gt)|0,g=g+Math.imul(ie,Pt)|0,r=(r=r+Math.imul(ie,Ft)|0)+Math.imul(Se,Pt)|0,w=w+Math.imul(Se,Ft)|0,g=g+Math.imul(Ue,Te)|0,r=(r=r+Math.imul(Ue,me)|0)+Math.imul(ye,Te)|0,w=w+Math.imul(ye,me)|0;var Ki=(R+(g=g+Math.imul(Oe,_t)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,Lt)|0)+Math.imul(Me,_t)|0))<<13)|0;R=((w=w+Math.imul(Me,Lt)|0)+(r>>>13)|0)+(Ki>>>26)|0,Ki&=67108863,g=Math.imul(bt,ue),r=(r=Math.imul(bt,Ne))+Math.imul(st,ue)|0,w=Math.imul(st,Ne),g=g+Math.imul(qe,Et)|0,r=(r=r+Math.imul(qe,Nt)|0)+Math.imul(it,Et)|0,w=w+Math.imul(it,Nt)|0,g=g+Math.imul(Ve,We)|0,r=(r=r+Math.imul(Ve,gt)|0)+Math.imul(oe,We)|0,w=w+Math.imul(oe,gt)|0,g=g+Math.imul(K,Pt)|0,r=(r=r+Math.imul(K,Ft)|0)+Math.imul(ee,Pt)|0,w=w+Math.imul(ee,Ft)|0,g=g+Math.imul(ie,Te)|0,r=(r=r+Math.imul(ie,me)|0)+Math.imul(Se,Te)|0,w=w+Math.imul(Se,me)|0;var ti=(R+(g=g+Math.imul(Ue,_t)|0)|0)+((8191&(r=(r=r+Math.imul(Ue,Lt)|0)+Math.imul(ye,_t)|0))<<13)|0;R=((w=w+Math.imul(ye,Lt)|0)+(r>>>13)|0)+(ti>>>26)|0,ti&=67108863,g=Math.imul(bt,Et),r=(r=Math.imul(bt,Nt))+Math.imul(st,Et)|0,w=Math.imul(st,Nt),g=g+Math.imul(qe,We)|0,r=(r=r+Math.imul(qe,gt)|0)+Math.imul(it,We)|0,w=w+Math.imul(it,gt)|0,g=g+Math.imul(Ve,Pt)|0,r=(r=r+Math.imul(Ve,Ft)|0)+Math.imul(oe,Pt)|0,w=w+Math.imul(oe,Ft)|0,g=g+Math.imul(K,Te)|0,r=(r=r+Math.imul(K,me)|0)+Math.imul(ee,Te)|0,w=w+Math.imul(ee,me)|0;var be=(R+(g=g+Math.imul(ie,_t)|0)|0)+((8191&(r=(r=r+Math.imul(ie,Lt)|0)+Math.imul(Se,_t)|0))<<13)|0;R=((w=w+Math.imul(Se,Lt)|0)+(r>>>13)|0)+(be>>>26)|0,be&=67108863,g=Math.imul(bt,We),r=(r=Math.imul(bt,gt))+Math.imul(st,We)|0,w=Math.imul(st,gt),g=g+Math.imul(qe,Pt)|0,r=(r=r+Math.imul(qe,Ft)|0)+Math.imul(it,Pt)|0,w=w+Math.imul(it,Ft)|0,g=g+Math.imul(Ve,Te)|0,r=(r=r+Math.imul(Ve,me)|0)+Math.imul(oe,Te)|0,w=w+Math.imul(oe,me)|0;var ke=(R+(g=g+Math.imul(K,_t)|0)|0)+((8191&(r=(r=r+Math.imul(K,Lt)|0)+Math.imul(ee,_t)|0))<<13)|0;R=((w=w+Math.imul(ee,Lt)|0)+(r>>>13)|0)+(ke>>>26)|0,ke&=67108863,g=Math.imul(bt,Pt),r=(r=Math.imul(bt,Ft))+Math.imul(st,Pt)|0,w=Math.imul(st,Ft),g=g+Math.imul(qe,Te)|0,r=(r=r+Math.imul(qe,me)|0)+Math.imul(it,Te)|0,w=w+Math.imul(it,me)|0;var ft=(R+(g=g+Math.imul(Ve,_t)|0)|0)+((8191&(r=(r=r+Math.imul(Ve,Lt)|0)+Math.imul(oe,_t)|0))<<13)|0;R=((w=w+Math.imul(oe,Lt)|0)+(r>>>13)|0)+(ft>>>26)|0,ft&=67108863,g=Math.imul(bt,Te),r=(r=Math.imul(bt,me))+Math.imul(st,Te)|0,w=Math.imul(st,me);var St=(R+(g=g+Math.imul(qe,_t)|0)|0)+((8191&(r=(r=r+Math.imul(qe,Lt)|0)+Math.imul(it,_t)|0))<<13)|0;R=((w=w+Math.imul(it,Lt)|0)+(r>>>13)|0)+(St>>>26)|0,St&=67108863;var ui=(R+(g=Math.imul(bt,_t))|0)+((8191&(r=(r=Math.imul(bt,Lt))+Math.imul(st,_t)|0))<<13)|0;return R=((w=Math.imul(st,Lt))+(r>>>13)|0)+(ui>>>26)|0,ui&=67108863,I[0]=Li,I[1]=Ai,I[2]=wi,I[3]=zi,I[4]=xt,I[5]=Qe,I[6]=Fe,I[7]=Wt,I[8]=Xt,I[9]=_i,I[10]=Oi,I[11]=ki,I[12]=Ki,I[13]=ti,I[14]=be,I[15]=ke,I[16]=ft,I[17]=St,I[18]=ui,0!==R&&(I[19]=R,m.length++),m};function Z(T,i,o){return(new X).mulp(T,i,o)}function X(T,i){this.x=T,this.y=i}Math.imul||(A=z),l.prototype.mulTo=function(i,o){var m,h=this.length+i.length;return m=10===this.length&&10===i.length?A(this,i,o):h<63?z(this,i,o):h<1024?function W(T,i,o){o.negative=i.negative^T.negative,o.length=T.length+i.length;for(var m=0,h=0,x=0;x<o.length-1;x++){var I=h;h=0;for(var R=67108863&m,g=Math.min(x,i.length-1),r=Math.max(0,x-T.length+1);r<=g;r++){var w=x-r,Y=(0|T.words[w])*(0|i.words[r]),Pe=67108863&Y;R=67108863&(Pe=Pe+R|0),h+=(I=(I=I+(Y/67108864|0)|0)+(Pe>>>26)|0)>>>26,I&=67108863}o.words[x]=R,m=I,I=h}return 0!==m?o.words[x]=m:o.length--,o.strip()}(this,i,o):Z(this,i,o),m},X.prototype.makeRBT=function(i){for(var o=new Array(i),m=l.prototype._countBits(i)-1,h=0;h<i;h++)o[h]=this.revBin(h,m,i);return o},X.prototype.revBin=function(i,o,m){if(0===i||i===m-1)return i;for(var h=0,x=0;x<o;x++)h|=(1&i)<<o-x-1,i>>=1;return h},X.prototype.permute=function(i,o,m,h,x,I){for(var R=0;R<I;R++)h[R]=o[i[R]],x[R]=m[i[R]]},X.prototype.transform=function(i,o,m,h,x,I){this.permute(I,i,o,m,h,x);for(var R=1;R<x;R<<=1)for(var g=R<<1,r=Math.cos(2*Math.PI/g),w=Math.sin(2*Math.PI/g),V=0;V<x;V+=g)for(var N=r,Y=w,Pe=0;Pe<R;Pe++){var Ce=m[V+Pe],Xe=h[V+Pe],dt=m[V+Pe+R],Ke=h[V+Pe+R],ge=N*dt-Y*Ke;Ke=N*Ke+Y*dt,dt=ge,m[V+Pe]=Ce+dt,h[V+Pe]=Xe+Ke,m[V+Pe+R]=Ce-dt,h[V+Pe+R]=Xe-Ke,Pe!==g&&(ge=r*N-w*Y,Y=r*Y+w*N,N=ge)}},X.prototype.guessLen13b=function(i,o){var m=1|Math.max(o,i),h=1&m,x=0;for(m=m/2|0;m;m>>>=1)x++;return 1<<x+1+h},X.prototype.conjugate=function(i,o,m){if(!(m<=1))for(var h=0;h<m/2;h++){var x=i[h];i[h]=i[m-h-1],i[m-h-1]=x,x=o[h],o[h]=-o[m-h-1],o[m-h-1]=-x}},X.prototype.normalize13b=function(i,o){for(var m=0,h=0;h<o/2;h++){var x=8192*Math.round(i[2*h+1]/o)+Math.round(i[2*h]/o)+m;i[h]=67108863&x,m=x<67108864?0:x/67108864|0}return i},X.prototype.convert13b=function(i,o,m,h){for(var x=0,I=0;I<o;I++)x+=0|i[I],m[2*I]=8191&x,x>>>=13,m[2*I+1]=8191&x,x>>>=13;for(I=2*o;I<h;++I)m[I]=0;_(0===x),_(0==(-8192&x))},X.prototype.stub=function(i){for(var o=new Array(i),m=0;m<i;m++)o[m]=0;return o},X.prototype.mulp=function(i,o,m){var h=2*this.guessLen13b(i.length,o.length),x=this.makeRBT(h),I=this.stub(h),R=new Array(h),g=new Array(h),r=new Array(h),w=new Array(h),V=new Array(h),N=new Array(h),Y=m.words;Y.length=h,this.convert13b(i.words,i.length,R,h),this.convert13b(o.words,o.length,w,h),this.transform(R,I,g,r,h,x),this.transform(w,I,V,N,h,x);for(var Pe=0;Pe<h;Pe++){var Ce=g[Pe]*V[Pe]-r[Pe]*N[Pe];r[Pe]=g[Pe]*N[Pe]+r[Pe]*V[Pe],g[Pe]=Ce}return this.conjugate(g,r,h),this.transform(g,r,Y,I,h,x),this.conjugate(Y,I,h),this.normalize13b(Y,h),m.negative=i.negative^o.negative,m.length=i.length+o.length,m.strip()},l.prototype.mul=function(i){var o=new l(null);return o.words=new Array(this.length+i.length),this.mulTo(i,o)},l.prototype.mulf=function(i){var o=new l(null);return o.words=new Array(this.length+i.length),Z(this,i,o)},l.prototype.imul=function(i){return this.clone().mulTo(i,this)},l.prototype.imuln=function(i){_("number"==typeof i),_(i<67108864);for(var o=0,m=0;m<this.length;m++){var h=(0|this.words[m])*i,x=(67108863&h)+(67108863&o);o>>=26,o+=h/67108864|0,o+=x>>>26,this.words[m]=67108863&x}return 0!==o&&(this.words[m]=o,this.length++),this},l.prototype.muln=function(i){return this.clone().imuln(i)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(i){var o=function M(T){for(var i=new Array(T.bitLength()),o=0;o<i.length;o++){var m=o/26|0,h=o%26;i[o]=(T.words[m]&1<<h)>>>h}return i}(i);if(0===o.length)return new l(1);for(var m=this,h=0;h<o.length&&0===o[h];h++,m=m.sqr());if(++h<o.length)for(var x=m.sqr();h<o.length;h++,x=x.sqr())0!==o[h]&&(m=m.mul(x));return m},l.prototype.iushln=function(i){_("number"==typeof i&&i>=0);var x,o=i%26,m=(i-o)/26,h=67108863>>>26-o<<26-o;if(0!==o){var I=0;for(x=0;x<this.length;x++){var R=this.words[x]&h,g=(0|this.words[x])-R<<o;this.words[x]=g|I,I=R>>>26-o}I&&(this.words[x]=I,this.length++)}if(0!==m){for(x=this.length-1;x>=0;x--)this.words[x+m]=this.words[x];for(x=0;x<m;x++)this.words[x]=0;this.length+=m}return this.strip()},l.prototype.ishln=function(i){return _(0===this.negative),this.iushln(i)},l.prototype.iushrn=function(i,o,m){var h;_("number"==typeof i&&i>=0),h=o?(o-o%26)/26:0;var x=i%26,I=Math.min((i-x)/26,this.length),R=67108863^67108863>>>x<<x,g=m;if(h-=I,h=Math.max(0,h),g){for(var r=0;r<I;r++)g.words[r]=this.words[r];g.length=I}if(0!==I)if(this.length>I)for(this.length-=I,r=0;r<this.length;r++)this.words[r]=this.words[r+I];else this.words[0]=0,this.length=1;var w=0;for(r=this.length-1;r>=0&&(0!==w||r>=h);r--){var V=0|this.words[r];this.words[r]=w<<26-x|V>>>x,w=V&R}return g&&0!==w&&(g.words[g.length++]=w),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(i,o,m){return _(0===this.negative),this.iushrn(i,o,m)},l.prototype.shln=function(i){return this.clone().ishln(i)},l.prototype.ushln=function(i){return this.clone().iushln(i)},l.prototype.shrn=function(i){return this.clone().ishrn(i)},l.prototype.ushrn=function(i){return this.clone().iushrn(i)},l.prototype.testn=function(i){_("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26,h=1<<o;return!(this.length<=m)&&!!(this.words[m]&h)},l.prototype.imaskn=function(i){_("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26;if(_(0===this.negative,"imaskn works only with positive numbers"),this.length<=m)return this;if(0!==o&&m++,this.length=Math.min(m,this.length),0!==o){var h=67108863^67108863>>>o<<o;this.words[this.length-1]&=h}return this.strip()},l.prototype.maskn=function(i){return this.clone().imaskn(i)},l.prototype.iaddn=function(i){return _("number"==typeof i),_(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)},l.prototype._iaddn=function(i){this.words[0]+=i;for(var o=0;o<this.length&&this.words[o]>=67108864;o++)this.words[o]-=67108864,o===this.length-1?this.words[o+1]=1:this.words[o+1]++;return this.length=Math.max(this.length,o+1),this},l.prototype.isubn=function(i){if(_("number"==typeof i),_(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 o=0;o<this.length&&this.words[o]<0;o++)this.words[o]+=67108864,this.words[o+1]-=1;return this.strip()},l.prototype.addn=function(i){return this.clone().iaddn(i)},l.prototype.subn=function(i){return this.clone().isubn(i)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(i,o,m){var x,h=i.length+m;this._expand(h);var I,R=0;for(x=0;x<i.length;x++){I=(0|this.words[x+m])+R;var g=(0|i.words[x])*o;R=((I-=67108863&g)>>26)-(g/67108864|0),this.words[x+m]=67108863&I}for(;x<this.length-m;x++)R=(I=(0|this.words[x+m])+R)>>26,this.words[x+m]=67108863&I;if(0===R)return this.strip();for(_(-1===R),R=0,x=0;x<this.length;x++)R=(I=-(0|this.words[x])+R)>>26,this.words[x]=67108863&I;return this.negative=1,this.strip()},l.prototype._wordDiv=function(i,o){var m=(this.length,i.length),h=this.clone(),x=i,I=0|x.words[x.length-1];0!==(m=26-this._countBits(I))&&(x=x.ushln(m),h.iushln(m),I=0|x.words[x.length-1]);var r,g=h.length-x.length;if("mod"!==o){(r=new l(null)).length=g+1,r.words=new Array(r.length);for(var w=0;w<r.length;w++)r.words[w]=0}var V=h.clone()._ishlnsubmul(x,1,g);0===V.negative&&(h=V,r&&(r.words[g]=1));for(var N=g-1;N>=0;N--){var Y=67108864*(0|h.words[x.length+N])+(0|h.words[x.length+N-1]);for(Y=Math.min(Y/I|0,67108863),h._ishlnsubmul(x,Y,N);0!==h.negative;)Y--,h.negative=0,h._ishlnsubmul(x,1,N),h.isZero()||(h.negative^=1);r&&(r.words[N]=Y)}return r&&r.strip(),h.strip(),"div"!==o&&0!==m&&h.iushrn(m),{div:r||null,mod:h}},l.prototype.divmod=function(i,o,m){return _(!i.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===i.negative?(I=this.neg().divmod(i,o),"mod"!==o&&(h=I.div.neg()),"div"!==o&&(x=I.mod.neg(),m&&0!==x.negative&&x.iadd(i)),{div:h,mod:x}):0===this.negative&&0!==i.negative?(I=this.divmod(i.neg(),o),"mod"!==o&&(h=I.div.neg()),{div:h,mod:I.mod}):0!=(this.negative&i.negative)?(I=this.neg().divmod(i.neg(),o),"div"!==o&&(x=I.mod.neg(),m&&0!==x.negative&&x.isub(i)),{div:I.div,mod:x}):i.length>this.length||this.cmp(i)<0?{div:new l(0),mod:this}:1===i.length?"div"===o?{div:this.divn(i.words[0]),mod:null}:"mod"===o?{div:null,mod:new l(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new l(this.modn(i.words[0]))}:this._wordDiv(i,o);var h,x,I},l.prototype.div=function(i){return this.divmod(i,"div",!1).div},l.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},l.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},l.prototype.divRound=function(i){var o=this.divmod(i);if(o.mod.isZero())return o.div;var m=0!==o.div.negative?o.mod.isub(i):o.mod,h=i.ushrn(1),x=i.andln(1),I=m.cmp(h);return I<0||1===x&&0===I?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},l.prototype.modn=function(i){_(i<=67108863);for(var o=(1<<26)%i,m=0,h=this.length-1;h>=0;h--)m=(o*m+(0|this.words[h]))%i;return m},l.prototype.idivn=function(i){_(i<=67108863);for(var o=0,m=this.length-1;m>=0;m--){var h=(0|this.words[m])+67108864*o;this.words[m]=h/i|0,o=h%i}return this.strip()},l.prototype.divn=function(i){return this.clone().idivn(i)},l.prototype.egcd=function(i){_(0===i.negative),_(!i.isZero());var o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var h=new l(1),x=new l(0),I=new l(0),R=new l(1),g=0;o.isEven()&&m.isEven();)o.iushrn(1),m.iushrn(1),++g;for(var r=m.clone(),w=o.clone();!o.isZero();){for(var V=0,N=1;0==(o.words[0]&N)&&V<26;++V,N<<=1);if(V>0)for(o.iushrn(V);V-- >0;)(h.isOdd()||x.isOdd())&&(h.iadd(r),x.isub(w)),h.iushrn(1),x.iushrn(1);for(var Y=0,Pe=1;0==(m.words[0]&Pe)&&Y<26;++Y,Pe<<=1);if(Y>0)for(m.iushrn(Y);Y-- >0;)(I.isOdd()||R.isOdd())&&(I.iadd(r),R.isub(w)),I.iushrn(1),R.iushrn(1);o.cmp(m)>=0?(o.isub(m),h.isub(I),x.isub(R)):(m.isub(o),I.isub(h),R.isub(x))}return{a:I,b:R,gcd:m.iushln(g)}},l.prototype._invmp=function(i){_(0===i.negative),_(!i.isZero());var V,o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var h=new l(1),x=new l(0),I=m.clone();o.cmpn(1)>0&&m.cmpn(1)>0;){for(var R=0,g=1;0==(o.words[0]&g)&&R<26;++R,g<<=1);if(R>0)for(o.iushrn(R);R-- >0;)h.isOdd()&&h.iadd(I),h.iushrn(1);for(var r=0,w=1;0==(m.words[0]&w)&&r<26;++r,w<<=1);if(r>0)for(m.iushrn(r);r-- >0;)x.isOdd()&&x.iadd(I),x.iushrn(1);o.cmp(m)>=0?(o.isub(m),h.isub(x)):(m.isub(o),x.isub(h))}return(V=0===o.cmpn(1)?h:x).cmpn(0)<0&&V.iadd(i),V},l.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var o=this.clone(),m=i.clone();o.negative=0,m.negative=0;for(var h=0;o.isEven()&&m.isEven();h++)o.iushrn(1),m.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;m.isEven();)m.iushrn(1);var x=o.cmp(m);if(x<0){var I=o;o=m,m=I}else if(0===x||0===m.cmpn(1))break;o.isub(m)}return m.iushln(h)},l.prototype.invm=function(i){return this.egcd(i).a.umod(i)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(i){return this.words[0]&i},l.prototype.bincn=function(i){_("number"==typeof i);var o=i%26,m=(i-o)/26,h=1<<o;if(this.length<=m)return this._expand(m+1),this.words[m]|=h,this;for(var x=h,I=m;0!==x&&I<this.length;I++){var R=0|this.words[I];x=(R+=x)>>>26,R&=67108863,this.words[I]=R}return 0!==x&&(this.words[I]=x,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(i){var m,o=i<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)m=1;else{o&&(i=-i),_(i<=67108863,"Number is too big");var h=0|this.words[0];m=h===i?0:h<i?-1:1}return 0!==this.negative?0|-m:m},l.prototype.cmp=function(i){if(0!==this.negative&&0===i.negative)return-1;if(0===this.negative&&0!==i.negative)return 1;var o=this.ucmp(i);return 0!==this.negative?0|-o:o},l.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var o=0,m=this.length-1;m>=0;m--){var h=0|this.words[m],x=0|i.words[m];if(h!==x){h<x?o=-1:h>x&&(o=1);break}}return o},l.prototype.gtn=function(i){return 1===this.cmpn(i)},l.prototype.gt=function(i){return 1===this.cmp(i)},l.prototype.gten=function(i){return this.cmpn(i)>=0},l.prototype.gte=function(i){return this.cmp(i)>=0},l.prototype.ltn=function(i){return-1===this.cmpn(i)},l.prototype.lt=function(i){return-1===this.cmp(i)},l.prototype.lten=function(i){return this.cmpn(i)<=0},l.prototype.lte=function(i){return this.cmp(i)<=0},l.prototype.eqn=function(i){return 0===this.cmpn(i)},l.prototype.eq=function(i){return 0===this.cmp(i)},l.red=function(i){return new re(i)},l.prototype.toRed=function(i){return _(!this.red,"Already a number in reduction context"),_(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},l.prototype.fromRed=function(){return _(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(i){return this.red=i,this},l.prototype.forceRed=function(i){return _(!this.red,"Already a number in reduction context"),this._forceRed(i)},l.prototype.redAdd=function(i){return _(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},l.prototype.redIAdd=function(i){return _(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},l.prototype.redSub=function(i){return _(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},l.prototype.redISub=function(i){return _(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},l.prototype.redShl=function(i){return _(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},l.prototype.redMul=function(i){return _(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},l.prototype.redIMul=function(i){return _(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},l.prototype.redSqr=function(){return _(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return _(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return _(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return _(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return _(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(i){return _(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 ae(T,i){this.name=T,this.p=new l(i,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function he(){ae.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function se(){ae.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function pe(){ae.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function le(){ae.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function re(T){if("string"==typeof T){var i=l._prime(T);this.m=i.p,this.prime=i}else _(T.gtn(1),"modulus must be greater than 1"),this.m=T,this.prime=null}function fe(T){re.call(this,T),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ae.prototype._tmp=function(){var i=new l(null);return i.words=new Array(Math.ceil(this.n/13)),i},ae.prototype.ireduce=function(i){var m,o=i;do{this.split(o,this.tmp),m=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(m>this.n);var h=m<this.n?-1:o.ucmp(this.p);return 0===h?(o.words[0]=0,o.length=1):h>0?o.isub(this.p):void 0!==o.strip?o.strip():o._strip(),o},ae.prototype.split=function(i,o){i.iushrn(this.n,0,o)},ae.prototype.imulK=function(i){return i.imul(this.k)},O(he,ae),he.prototype.split=function(i,o){for(var m=4194303,h=Math.min(i.length,9),x=0;x<h;x++)o.words[x]=i.words[x];if(o.length=h,i.length<=9)return i.words[0]=0,void(i.length=1);var I=i.words[9];for(o.words[o.length++]=I&m,x=10;x<i.length;x++){var R=0|i.words[x];i.words[x-10]=(R&m)<<4|I>>>22,I=R}I>>>=22,i.words[x-10]=I,0===I&&i.length>10?i.length-=10:i.length-=9},he.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var o=0,m=0;m<i.length;m++){var h=0|i.words[m];o+=977*h,i.words[m]=67108863&o,o=64*h+(o/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},O(se,ae),O(pe,ae),O(le,ae),le.prototype.imulK=function(i){for(var o=0,m=0;m<i.length;m++){var h=19*(0|i.words[m])+o,x=67108863&h;h>>>=26,i.words[m]=x,o=h}return 0!==o&&(i.words[i.length++]=o),i},l._prime=function(i){if($[i])return $[i];var o;if("k256"===i)o=new he;else if("p224"===i)o=new se;else if("p192"===i)o=new pe;else{if("p25519"!==i)throw new Error("Unknown prime "+i);o=new le}return $[i]=o,o},re.prototype._verify1=function(i){_(0===i.negative,"red works only with positives"),_(i.red,"red works only with red numbers")},re.prototype._verify2=function(i,o){_(0==(i.negative|o.negative),"red works only with positives"),_(i.red&&i.red===o.red,"red works only with red numbers")},re.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},re.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},re.prototype.add=function(i,o){this._verify2(i,o);var m=i.add(o);return m.cmp(this.m)>=0&&m.isub(this.m),m._forceRed(this)},re.prototype.iadd=function(i,o){this._verify2(i,o);var m=i.iadd(o);return m.cmp(this.m)>=0&&m.isub(this.m),m},re.prototype.sub=function(i,o){this._verify2(i,o);var m=i.sub(o);return m.cmpn(0)<0&&m.iadd(this.m),m._forceRed(this)},re.prototype.isub=function(i,o){this._verify2(i,o);var m=i.isub(o);return m.cmpn(0)<0&&m.iadd(this.m),m},re.prototype.shl=function(i,o){return this._verify1(i),this.imod(i.ushln(o))},re.prototype.imul=function(i,o){return this._verify2(i,o),this.imod(i.imul(o))},re.prototype.mul=function(i,o){return this._verify2(i,o),this.imod(i.mul(o))},re.prototype.isqr=function(i){return this.imul(i,i.clone())},re.prototype.sqr=function(i){return this.mul(i,i)},re.prototype.sqrt=function(i){if(i.isZero())return i.clone();var o=this.m.andln(3);if(_(o%2==1),3===o){var m=this.m.add(new l(1)).iushrn(2);return this.pow(i,m)}for(var h=this.m.subn(1),x=0;!h.isZero()&&0===h.andln(1);)x++,h.iushrn(1);_(!h.isZero());var I=new l(1).toRed(this),R=I.redNeg(),g=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,g).cmp(R);)r.redIAdd(R);for(var w=this.pow(r,h),V=this.pow(i,h.addn(1).iushrn(1)),N=this.pow(i,h),Y=x;0!==N.cmp(I);){for(var Pe=N,Ce=0;0!==Pe.cmp(I);Ce++)Pe=Pe.redSqr();_(Ce<Y);var Xe=this.pow(w,new l(1).iushln(Y-Ce-1));V=V.redMul(Xe),w=Xe.redSqr(),N=N.redMul(w),Y=Ce}return V},re.prototype.invm=function(i){var o=i._invmp(this.m);return 0!==o.negative?(o.negative=0,this.imod(o).redNeg()):this.imod(o)},re.prototype.pow=function(i,o){if(o.isZero())return new l(1).toRed(this);if(0===o.cmpn(1))return i.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=i;for(var x=2;x<h.length;x++)h[x]=this.mul(h[x-1],i);var I=h[0],R=0,g=0,r=o.bitLength()%26;for(0===r&&(r=26),x=o.length-1;x>=0;x--){for(var w=o.words[x],V=r-1;V>=0;V--){var N=w>>V&1;(I!==h[0]&&(I=this.sqr(I)),0!==N||0!==R)?(R<<=1,R|=N,(4===++g||0===x&&0===V)&&(I=this.mul(I,h[R]),g=0,R=0)):g=0}r=26}return I},re.prototype.convertTo=function(i){var o=i.umod(this.m);return o===i?o.clone():o},re.prototype.convertFrom=function(i){var o=i.clone();return o.red=null,o},l.mont=function(i){return new fe(i)},O(fe,re),fe.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},fe.prototype.convertFrom=function(i){var o=this.imod(i.mul(this.rinv));return o.red=null,o},fe.prototype.imul=function(i,o){if(i.isZero()||o.isZero())return i.words[0]=0,i.length=1,i;var m=i.imul(o),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),x=m.isub(h).iushrn(this.shift),I=x;return x.cmp(this.m)>=0?I=x.isub(this.m):x.cmpn(0)<0&&(I=x.iadd(this.m)),I._forceRed(this)},fe.prototype.mul=function(i,o){if(i.isZero()||o.isZero())return new l(0)._forceRed(this);var m=i.mul(o),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),x=m.isub(h).iushrn(this.shift),I=x;return x.cmp(this.m)>=0?I=x.isub(this.m):x.cmpn(0)<0&&(I=x.iadd(this.m)),I._forceRed(this)},fe.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}})(Ye=f.nmd(Ye),this)},3999:Ye=>{function J(f,e){if(!f)throw new Error(e||"Assertion failed")}Ye.exports=J,J.equal=function(e,t,_){if(e!=t)throw new Error(_||"Assertion failed: "+e+" != "+t)}},4985:(Ye,J)=>{"use strict";var f=J;function t(O){return 1===O.length?"0"+O:O}function _(O){for(var l="",C=0;C<O.length;C++)l+=t(O[C].toString(16));return l}f.toArray=function e(O,l){if(Array.isArray(O))return O.slice();if(!O)return[];var C=[];if("string"!=typeof O){for(var u=0;u<O.length;u++)C[u]=0|O[u];return C}if("hex"===l){(O=O.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(O="0"+O);for(u=0;u<O.length;u+=2)C.push(parseInt(O[u]+O[u+1],16))}else for(u=0;u<O.length;u++){var P=O.charCodeAt(u),p=P>>8,L=255&P;p?C.push(p,L):C.push(L)}return C},f.zero2=t,f.toHex=_,f.encode=function(l,C){return"hex"===C?_(l):l}},74:(Ye,J,f)=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0});var e=f(9614);Object.keys(e).forEach(function(t){"default"!==t&&Object.defineProperty(J,t,{enumerable:!0,get:function(){return e[t]}})})},2675:(Ye,J,f)=>{"use strict";var e=f(7183);J.certificate=f(6053);var t=e.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});J.RSAPrivateKey=t;var _=e.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});J.RSAPublicKey=_;var O=e.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(l),this.key("subjectPublicKey").bitstr())});J.PublicKey=O;var l=e.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),C=e.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(l),this.key("subjectPrivateKey").octstr())});J.PrivateKey=C;var u=e.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});J.EncryptedPrivateKey=u;var P=e.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});J.DSAPrivateKey=P,J.DSAparam=e.define("DSAparam",function(){this.int()});var p=e.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(L),this.key("publicKey").optional().explicit(1).bitstr())});J.ECPrivateKey=p;var L=e.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});J.signature=e.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},6053:(Ye,J,f)=>{"use strict";var e=f(7183),t=e.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),_=e.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),O=e.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),l=e.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(O),this.key("subjectPublicKey").bitstr())}),C=e.define("RelativeDistinguishedName",function(){this.setof(_)}),u=e.define("RDNSequence",function(){this.seqof(C)}),P=e.define("Name",function(){this.choice({rdnSequence:this.use(u)})}),p=e.define("Validity",function(){this.seq().obj(this.key("notBefore").use(t),this.key("notAfter").use(t))}),L=e.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),D=e.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(O),this.key("issuer").use(P),this.key("validity").use(p),this.key("subject").use(P),this.key("subjectPublicKeyInfo").use(l),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(L).optional())}),k=e.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(D),this.key("signatureAlgorithm").use(O),this.key("signatureValue").bitstr())});Ye.exports=k},520:(Ye,J,f)=>{var e=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,t=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,_=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,O=f(153),l=f(3170),C=f(9708).Buffer;Ye.exports=function(u,P){var D,p=u.toString(),L=p.match(e);if(L){var M="aes"+L[1],z=C.from(L[2],"hex"),A=C.from(L[3].replace(/[\r\n]/g,""),"base64"),W=O(P,z.slice(0,8),parseInt(L[1],10)).key,Z=[],X=l.createDecipheriv(M,W,z);Z.push(X.update(A)),Z.push(X.final()),D=C.concat(Z)}else{var k=p.match(_);D=C.from(k[2].replace(/[\r\n]/g,""),"base64")}return{tag:p.match(t)[1],data:D}}},5752:(Ye,J,f)=>{var e=f(2675),t=f(2562),_=f(520),O=f(3170),l=f(4540),C=f(9708).Buffer;function u(p){var L;"object"==typeof p&&!C.isBuffer(p)&&(L=p.passphrase,p=p.key),"string"==typeof p&&(p=C.from(p));var z,A,D=_(p,L),k=D.tag,M=D.data;switch(k){case"CERTIFICATE":A=e.certificate.decode(M,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(A||(A=e.PublicKey.decode(M,"der")),z=A.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return e.RSAPublicKey.decode(A.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return A.subjectPrivateKey=A.subjectPublicKey,{type:"ec",data:A};case"1.2.840.10040.4.1":return A.algorithm.params.pub_key=e.DSAparam.decode(A.subjectPublicKey.data,"der"),{type:"dsa",data:A.algorithm.params};default:throw new Error("unknown key id "+z)}case"ENCRYPTED PRIVATE KEY":M=function P(p,L){var D=p.algorithm.decrypt.kde.kdeparams.salt,k=parseInt(p.algorithm.decrypt.kde.kdeparams.iters.toString(),10),M=t[p.algorithm.decrypt.cipher.algo.join(".")],z=p.algorithm.decrypt.cipher.iv,A=p.subjectPrivateKey,W=parseInt(M.split("-")[1],10)/8,Z=l.pbkdf2Sync(L,D,k,W,"sha1"),X=O.createDecipheriv(M,Z,z),$=[];return $.push(X.update(A)),$.push(X.final()),C.concat($)}(M=e.EncryptedPrivateKey.decode(M,"der"),L);case"PRIVATE KEY":switch(z=(A=e.PrivateKey.decode(M,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return e.RSAPrivateKey.decode(A.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:A.algorithm.curve,privateKey:e.ECPrivateKey.decode(A.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return A.algorithm.params.priv_key=e.DSAparam.decode(A.subjectPrivateKey,"der"),{type:"dsa",params:A.algorithm.params};default:throw new Error("unknown key id "+z)}case"RSA PUBLIC KEY":return e.RSAPublicKey.decode(M,"der");case"RSA PRIVATE KEY":return e.RSAPrivateKey.decode(M,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:e.DSAPrivateKey.decode(M,"der")};case"EC PRIVATE KEY":return{curve:(M=e.ECPrivateKey.decode(M,"der")).parameters.value,privateKey:M.privateKey};default:throw new Error("unknown key type "+k)}}Ye.exports=u,u.signature=e.signature},4540:(Ye,J,f)=>{J.pbkdf2=f(8460),J.pbkdf2Sync=f(2351)},8460:(Ye,J,f)=>{var C,D,e=f(9708).Buffer,t=f(4842),_=f(6910),O=f(2351),l=f(815),u=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"},p=[];function k(){return D||(D=global.process&&global.process.nextTick?global.process.nextTick:global.queueMicrotask?global.queueMicrotask:global.setImmediate?global.setImmediate:global.setTimeout)}function M(A,W,Z,X,$){return u.importKey("raw",A,{name:"PBKDF2"},!1,["deriveBits"]).then(function(ae){return u.deriveBits({name:"PBKDF2",salt:W,iterations:Z,hash:{name:$}},ae,X<<3)}).then(function(ae){return e.from(ae)})}Ye.exports=function(A,W,Z,X,$,ae){"function"==typeof $&&(ae=$,$=void 0);var he=P[($=$||"sha1").toLowerCase()];if(he&&"function"==typeof global.Promise){if(t(Z,X),A=l(A,_,"Password"),W=l(W,_,"Salt"),"function"!=typeof ae)throw new Error("No callback provided to pbkdf2");!function z(A,W){A.then(function(Z){k()(function(){W(null,Z)})},function(Z){k()(function(){W(Z)})})}(function L(A){if(global.process&&!global.process.browser||!u||!u.importKey||!u.deriveBits)return Promise.resolve(!1);if(void 0!==p[A])return p[A];var W=M(C=C||e.alloc(8),C,10,128,A).then(function(){return!0}).catch(function(){return!1});return p[A]=W,W}(he).then(function(se){return se?M(A,W,Z,X,he):O(A,W,Z,X,$)}),ae)}else k()(function(){var se;try{se=O(A,W,Z,X,$)}catch(pe){return ae(pe)}ae(null,se)})}},6910:Ye=>{var J;if(global.process&&global.process.browser)J="utf-8";else if(global.process&&global.process.version){J=parseInt(process.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary"}else J="utf-8";Ye.exports=J},4842:Ye=>{var J=Math.pow(2,30)-1;Ye.exports=function(f,e){if("number"!=typeof f)throw new TypeError("Iterations not a number");if(f<0)throw new TypeError("Bad iterations");if("number"!=typeof e)throw new TypeError("Key length not a number");if(e<0||e>J||e!=e)throw new TypeError("Bad key length")}},2351:(Ye,J,f)=>{var e=f(2726),t=f(5351),_=f(1001),O=f(9708).Buffer,l=f(4842),C=f(6910),u=f(815),P=O.alloc(128),p={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function L(M,z,A){var W=function D(M){function z(W){return _(M).update(W).digest()}function A(W){return(new t).update(W).digest()}return"rmd160"===M||"ripemd160"===M?A:"md5"===M?e:z}(M),Z="sha512"===M||"sha384"===M?128:64;z.length>Z?z=W(z):z.length<Z&&(z=O.concat([z,P],Z));for(var X=O.allocUnsafe(Z+p[M]),$=O.allocUnsafe(Z+p[M]),ae=0;ae<Z;ae++)X[ae]=54^z[ae],$[ae]=92^z[ae];var he=O.allocUnsafe(Z+A+4);X.copy(he,0,0,Z),this.ipad1=he,this.ipad2=X,this.opad=$,this.alg=M,this.blocksize=Z,this.hash=W,this.size=p[M]}L.prototype.run=function(M,z){return M.copy(z,this.blocksize),this.hash(z).copy(this.opad,this.blocksize),this.hash(this.opad)},Ye.exports=function k(M,z,A,W,Z){l(A,W);var X=new L(Z=Z||"sha1",M=u(M,C,"Password"),(z=u(z,C,"Salt")).length),$=O.allocUnsafe(W),ae=O.allocUnsafe(z.length+4);z.copy(ae,0,0,z.length);for(var he=0,se=p[Z],pe=Math.ceil(W/se),le=1;le<=pe;le++){ae.writeUInt32BE(le,z.length);for(var re=X.run(ae,X.ipad1),fe=re,T=1;T<A;T++){fe=X.run(fe,X.ipad2);for(var i=0;i<se;i++)re[i]^=fe[i]}re.copy($,he),he+=se}return $}},815:(Ye,J,f)=>{var e=f(9708).Buffer;Ye.exports=function(t,_,O){if(e.isBuffer(t))return t;if("string"==typeof t)return e.from(t,_);if(ArrayBuffer.isView(t))return e.from(t.buffer);throw new TypeError(O+" must be a string, a Buffer, a typed array or a DataView")}},1113:(Ye,J,f)=>{J.publicEncrypt=f(3653),J.privateDecrypt=f(9674),J.privateEncrypt=function(t,_){return J.publicEncrypt(t,_,!0)},J.publicDecrypt=function(t,_){return J.privateDecrypt(t,_,!0)}},2096:(Ye,J,f)=>{var e=f(145),t=f(9708).Buffer;function _(O){var l=t.allocUnsafe(4);return l.writeUInt32BE(O,0),l}Ye.exports=function(O,l){for(var P,C=t.alloc(0),u=0;C.length<l;)P=_(u++),C=t.concat([C,e("sha1").update(O).update(P).digest()]);return C.slice(0,l)}},6807:function(Ye,J,f){(function(e,t){"use strict";function _(T,i){if(!T)throw new Error(i||"Assertion failed")}function O(T,i){T.super_=i;var o=function(){};o.prototype=i.prototype,T.prototype=new o,T.prototype.constructor=T}function l(T,i,o){if(l.isBN(T))return T;this.negative=0,this.words=null,this.length=0,this.red=null,null!==T&&(("le"===i||"be"===i)&&(o=i,i=10),this._init(T||0,i||10,o||"be"))}var C;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:f(7108).Buffer}catch{}function u(T,i){var o=T.charCodeAt(i);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function P(T,i,o){var m=u(T,o);return o-1>=i&&(m|=u(T,o-1)<<4),m}function p(T,i,o,m){for(var h=0,x=Math.min(T.length,o),I=i;I<x;I++){var R=T.charCodeAt(I)-48;h*=m,h+=R>=49?R-49+10:R>=17?R-17+10:R}return h}l.isBN=function(i){return i instanceof l||null!==i&&"object"==typeof i&&i.constructor.wordSize===l.wordSize&&Array.isArray(i.words)},l.max=function(i,o){return i.cmp(o)>0?i:o},l.min=function(i,o){return i.cmp(o)<0?i:o},l.prototype._init=function(i,o,m){if("number"==typeof i)return this._initNumber(i,o,m);if("object"==typeof i)return this._initArray(i,o,m);"hex"===o&&(o=16),_(o===(0|o)&&o>=2&&o<=36);var h=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<i.length&&(16===o?this._parseHex(i,h,m):(this._parseBase(i,o,h),"le"===m&&this._initArray(this.toArray(),o,m)))},l.prototype._initNumber=function(i,o,m){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):(_(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===m&&this._initArray(this.toArray(),o,m)},l.prototype._initArray=function(i,o,m){if(_("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 h=0;h<this.length;h++)this.words[h]=0;var x,I,R=0;if("be"===m)for(h=i.length-1,x=0;h>=0;h-=3)I=i[h]|i[h-1]<<8|i[h-2]<<16,this.words[x]|=I<<R&67108863,this.words[x+1]=I>>>26-R&67108863,(R+=24)>=26&&(R-=26,x++);else if("le"===m)for(h=0,x=0;h<i.length;h+=3)I=i[h]|i[h+1]<<8|i[h+2]<<16,this.words[x]|=I<<R&67108863,this.words[x+1]=I>>>26-R&67108863,(R+=24)>=26&&(R-=26,x++);return this.strip()},l.prototype._parseHex=function(i,o,m){this.length=Math.ceil((i.length-o)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var R,x=0,I=0;if("be"===m)for(h=i.length-1;h>=o;h-=2)R=P(i,o,h)<<x,this.words[I]|=67108863&R,x>=18?(x-=18,I+=1,this.words[I]|=R>>>26):x+=8;else for(h=(i.length-o)%2==0?o+1:o;h<i.length;h+=2)R=P(i,o,h)<<x,this.words[I]|=67108863&R,x>=18?(x-=18,I+=1,this.words[I]|=R>>>26):x+=8;this.strip()},l.prototype._parseBase=function(i,o,m){this.words=[0],this.length=1;for(var h=0,x=1;x<=67108863;x*=o)h++;h--,x=x/o|0;for(var I=i.length-m,R=I%h,g=Math.min(I,I-R)+m,r=0,w=m;w<g;w+=h)r=p(i,w,w+h,o),this.imuln(x),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==R){var V=1;for(r=p(i,w,i.length,o),w=0;w<R;w++)V*=o;this.imuln(V),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r)}this.strip()},l.prototype.copy=function(i){i.words=new Array(this.length);for(var o=0;o<this.length;o++)i.words[o]=this.words[o];i.length=this.length,i.negative=this.negative,i.red=this.red},l.prototype.clone=function(){var i=new l(null);return this.copy(i),i},l.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var L=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],D=[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],k=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function z(T,i,o){o.negative=i.negative^T.negative;var m=T.length+i.length|0;o.length=m,m=m-1|0;var h=0|T.words[0],x=0|i.words[0],I=h*x,R=67108863&I,g=I/67108864|0;o.words[0]=R;for(var r=1;r<m;r++){for(var w=g>>>26,V=67108863&g,N=Math.min(r,i.length-1),Y=Math.max(0,r-T.length+1);Y<=N;Y++){var Pe=r-Y|0;w+=(I=(h=0|T.words[Pe])*(x=0|i.words[Y])+V)/67108864|0,V=67108863&I}o.words[r]=0|V,g=0|w}return 0!==g?o.words[r]=0|g:o.length--,o.strip()}l.prototype.toString=function(i,o){var m;if(o=0|o||1,16===(i=i||10)||"hex"===i){m="";for(var h=0,x=0,I=0;I<this.length;I++){var R=this.words[I],g=(16777215&(R<<h|x)).toString(16);m=0!==(x=R>>>24-h&16777215)||I!==this.length-1?L[6-g.length]+g+m:g+m,(h+=2)>=26&&(h-=26,I--)}for(0!==x&&(m=x.toString(16)+m);m.length%o!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}if(i===(0|i)&&i>=2&&i<=36){var r=D[i],w=k[i];m="";var V=this.clone();for(V.negative=0;!V.isZero();){var N=V.modn(w).toString(i);m=(V=V.idivn(w)).isZero()?N+m:L[r-N.length]+N+m}for(this.isZero()&&(m="0"+m);m.length%o!=0;)m="0"+m;return 0!==this.negative&&(m="-"+m),m}_(!1,"Base should be between 2 and 36")},l.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&&_(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-i:i},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(i,o){return _(typeof C<"u"),this.toArrayLike(C,i,o)},l.prototype.toArray=function(i,o){return this.toArrayLike(Array,i,o)},l.prototype.toArrayLike=function(i,o,m){var h=this.byteLength(),x=m||Math.max(1,h);_(h<=x,"byte array longer than desired length"),_(x>0,"Requested array length <= 0"),this.strip();var g,r,I="le"===o,R=new i(x),w=this.clone();if(I){for(r=0;!w.isZero();r++)g=w.andln(255),w.iushrn(8),R[r]=g;for(;r<x;r++)R[r]=0}else{for(r=0;r<x-h;r++)R[r]=0;for(r=0;!w.isZero();r++)g=w.andln(255),w.iushrn(8),R[x-r-1]=g}return R},Math.clz32?l.prototype._countBits=function(i){return 32-Math.clz32(i)}:l.prototype._countBits=function(i){var o=i,m=0;return o>=4096&&(m+=13,o>>>=13),o>=64&&(m+=7,o>>>=7),o>=8&&(m+=4,o>>>=4),o>=2&&(m+=2,o>>>=2),m+o},l.prototype._zeroBits=function(i){if(0===i)return 26;var o=i,m=0;return 0==(8191&o)&&(m+=13,o>>>=13),0==(127&o)&&(m+=7,o>>>=7),0==(15&o)&&(m+=4,o>>>=4),0==(3&o)&&(m+=2,o>>>=2),0==(1&o)&&m++,m},l.prototype.bitLength=function(){var i=this.words[this.length-1],o=this._countBits(i);return 26*(this.length-1)+o},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,o=0;o<this.length;o++){var m=this._zeroBits(this.words[o]);if(i+=m,26!==m)break}return i},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},l.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var o=0;o<i.length;o++)this.words[o]=this.words[o]|i.words[o];return this.strip()},l.prototype.ior=function(i){return _(0==(this.negative|i.negative)),this.iuor(i)},l.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},l.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},l.prototype.iuand=function(i){var o;o=this.length>i.length?i:this;for(var m=0;m<o.length;m++)this.words[m]=this.words[m]&i.words[m];return this.length=o.length,this.strip()},l.prototype.iand=function(i){return _(0==(this.negative|i.negative)),this.iuand(i)},l.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},l.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},l.prototype.iuxor=function(i){var o,m;this.length>i.length?(o=this,m=i):(o=i,m=this);for(var h=0;h<m.length;h++)this.words[h]=o.words[h]^m.words[h];if(this!==o)for(;h<o.length;h++)this.words[h]=o.words[h];return this.length=o.length,this.strip()},l.prototype.ixor=function(i){return _(0==(this.negative|i.negative)),this.iuxor(i)},l.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},l.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},l.prototype.inotn=function(i){_("number"==typeof i&&i>=0);var o=0|Math.ceil(i/26),m=i%26;this._expand(o),m>0&&o--;for(var h=0;h<o;h++)this.words[h]=67108863&~this.words[h];return m>0&&(this.words[h]=~this.words[h]&67108863>>26-m),this.strip()},l.prototype.notn=function(i){return this.clone().inotn(i)},l.prototype.setn=function(i,o){_("number"==typeof i&&i>=0);var m=i/26|0,h=i%26;return this._expand(m+1),this.words[m]=o?this.words[m]|1<<h:this.words[m]&~(1<<h),this.strip()},l.prototype.iadd=function(i){var o,m,h;if(0!==this.negative&&0===i.negative)return this.negative=0,o=this.isub(i),this.negative^=1,this._normSign();if(0===this.negative&&0!==i.negative)return i.negative=0,o=this.isub(i),i.negative=1,o._normSign();this.length>i.length?(m=this,h=i):(m=i,h=this);for(var x=0,I=0;I<h.length;I++)o=(0|m.words[I])+(0|h.words[I])+x,this.words[I]=67108863&o,x=o>>>26;for(;0!==x&&I<m.length;I++)o=(0|m.words[I])+x,this.words[I]=67108863&o,x=o>>>26;if(this.length=m.length,0!==x)this.words[this.length]=x,this.length++;else if(m!==this)for(;I<m.length;I++)this.words[I]=m.words[I];return this},l.prototype.add=function(i){var o;return 0!==i.negative&&0===this.negative?(i.negative=0,o=this.sub(i),i.negative^=1,o):0===i.negative&&0!==this.negative?(this.negative=0,o=i.sub(this),this.negative=1,o):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},l.prototype.isub=function(i){if(0!==i.negative){i.negative=0;var o=this.iadd(i);return i.negative=1,o._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var h,x,m=this.cmp(i);if(0===m)return this.negative=0,this.length=1,this.words[0]=0,this;m>0?(h=this,x=i):(h=i,x=this);for(var I=0,R=0;R<x.length;R++)I=(o=(0|h.words[R])-(0|x.words[R])+I)>>26,this.words[R]=67108863&o;for(;0!==I&&R<h.length;R++)I=(o=(0|h.words[R])+I)>>26,this.words[R]=67108863&o;if(0===I&&R<h.length&&h!==this)for(;R<h.length;R++)this.words[R]=h.words[R];return this.length=Math.max(this.length,R),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(i){return this.clone().isub(i)};var A=function(i,o,m){var g,r,w,h=i.words,x=o.words,I=m.words,R=0,V=0|h[0],N=8191&V,Y=V>>>13,Pe=0|h[1],Ce=8191&Pe,Xe=Pe>>>13,dt=0|h[2],Ke=8191&dt,ge=dt>>>13,$e=0|h[3],Oe=8191&$e,Me=$e>>>13,De=0|h[4],Ue=8191&De,ye=De>>>13,we=0|h[5],ie=8191&we,Se=we>>>13,ne=0|h[6],K=8191&ne,ee=ne>>>13,ze=0|h[7],Ve=8191&ze,oe=ze>>>13,at=0|h[8],qe=8191&at,it=at>>>13,ii=0|h[9],bt=8191&ii,st=ii>>>13,Be=0|x[0],rt=8191&Be,Ot=Be>>>13,Gt=0|x[1],kt=8191&Gt,Rt=Gt>>>13,yi=0|x[2],Jt=8191&yi,Zt=yi>>>13,mi=0|x[3],Re=8191&mi,U=mi>>>13,j=0|x[4],ue=8191&j,Ne=j>>>13,wt=0|x[5],Et=8191&wt,Nt=wt>>>13,ot=0|x[6],We=8191&ot,gt=ot>>>13,ri=0|x[7],Pt=8191&ri,Ft=ri>>>13,qt=0|x[8],Te=8191&qt,me=qt>>>13,ct=0|x[9],_t=8191&ct,Lt=ct>>>13;m.negative=i.negative^o.negative,m.length=19;var Li=(R+(g=Math.imul(N,rt))|0)+((8191&(r=(r=Math.imul(N,Ot))+Math.imul(Y,rt)|0))<<13)|0;R=((w=Math.imul(Y,Ot))+(r>>>13)|0)+(Li>>>26)|0,Li&=67108863,g=Math.imul(Ce,rt),r=(r=Math.imul(Ce,Ot))+Math.imul(Xe,rt)|0,w=Math.imul(Xe,Ot);var Ai=(R+(g=g+Math.imul(N,kt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Rt)|0)+Math.imul(Y,kt)|0))<<13)|0;R=((w=w+Math.imul(Y,Rt)|0)+(r>>>13)|0)+(Ai>>>26)|0,Ai&=67108863,g=Math.imul(Ke,rt),r=(r=Math.imul(Ke,Ot))+Math.imul(ge,rt)|0,w=Math.imul(ge,Ot),g=g+Math.imul(Ce,kt)|0,r=(r=r+Math.imul(Ce,Rt)|0)+Math.imul(Xe,kt)|0,w=w+Math.imul(Xe,Rt)|0;var wi=(R+(g=g+Math.imul(N,Jt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Zt)|0)+Math.imul(Y,Jt)|0))<<13)|0;R=((w=w+Math.imul(Y,Zt)|0)+(r>>>13)|0)+(wi>>>26)|0,wi&=67108863,g=Math.imul(Oe,rt),r=(r=Math.imul(Oe,Ot))+Math.imul(Me,rt)|0,w=Math.imul(Me,Ot),g=g+Math.imul(Ke,kt)|0,r=(r=r+Math.imul(Ke,Rt)|0)+Math.imul(ge,kt)|0,w=w+Math.imul(ge,Rt)|0,g=g+Math.imul(Ce,Jt)|0,r=(r=r+Math.imul(Ce,Zt)|0)+Math.imul(Xe,Jt)|0,w=w+Math.imul(Xe,Zt)|0;var zi=(R+(g=g+Math.imul(N,Re)|0)|0)+((8191&(r=(r=r+Math.imul(N,U)|0)+Math.imul(Y,Re)|0))<<13)|0;R=((w=w+Math.imul(Y,U)|0)+(r>>>13)|0)+(zi>>>26)|0,zi&=67108863,g=Math.imul(Ue,rt),r=(r=Math.imul(Ue,Ot))+Math.imul(ye,rt)|0,w=Math.imul(ye,Ot),g=g+Math.imul(Oe,kt)|0,r=(r=r+Math.imul(Oe,Rt)|0)+Math.imul(Me,kt)|0,w=w+Math.imul(Me,Rt)|0,g=g+Math.imul(Ke,Jt)|0,r=(r=r+Math.imul(Ke,Zt)|0)+Math.imul(ge,Jt)|0,w=w+Math.imul(ge,Zt)|0,g=g+Math.imul(Ce,Re)|0,r=(r=r+Math.imul(Ce,U)|0)+Math.imul(Xe,Re)|0,w=w+Math.imul(Xe,U)|0;var xt=(R+(g=g+Math.imul(N,ue)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ne)|0)+Math.imul(Y,ue)|0))<<13)|0;R=((w=w+Math.imul(Y,Ne)|0)+(r>>>13)|0)+(xt>>>26)|0,xt&=67108863,g=Math.imul(ie,rt),r=(r=Math.imul(ie,Ot))+Math.imul(Se,rt)|0,w=Math.imul(Se,Ot),g=g+Math.imul(Ue,kt)|0,r=(r=r+Math.imul(Ue,Rt)|0)+Math.imul(ye,kt)|0,w=w+Math.imul(ye,Rt)|0,g=g+Math.imul(Oe,Jt)|0,r=(r=r+Math.imul(Oe,Zt)|0)+Math.imul(Me,Jt)|0,w=w+Math.imul(Me,Zt)|0,g=g+Math.imul(Ke,Re)|0,r=(r=r+Math.imul(Ke,U)|0)+Math.imul(ge,Re)|0,w=w+Math.imul(ge,U)|0,g=g+Math.imul(Ce,ue)|0,r=(r=r+Math.imul(Ce,Ne)|0)+Math.imul(Xe,ue)|0,w=w+Math.imul(Xe,Ne)|0;var Qe=(R+(g=g+Math.imul(N,Et)|0)|0)+((8191&(r=(r=r+Math.imul(N,Nt)|0)+Math.imul(Y,Et)|0))<<13)|0;R=((w=w+Math.imul(Y,Nt)|0)+(r>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,g=Math.imul(K,rt),r=(r=Math.imul(K,Ot))+Math.imul(ee,rt)|0,w=Math.imul(ee,Ot),g=g+Math.imul(ie,kt)|0,r=(r=r+Math.imul(ie,Rt)|0)+Math.imul(Se,kt)|0,w=w+Math.imul(Se,Rt)|0,g=g+Math.imul(Ue,Jt)|0,r=(r=r+Math.imul(Ue,Zt)|0)+Math.imul(ye,Jt)|0,w=w+Math.imul(ye,Zt)|0,g=g+Math.imul(Oe,Re)|0,r=(r=r+Math.imul(Oe,U)|0)+Math.imul(Me,Re)|0,w=w+Math.imul(Me,U)|0,g=g+Math.imul(Ke,ue)|0,r=(r=r+Math.imul(Ke,Ne)|0)+Math.imul(ge,ue)|0,w=w+Math.imul(ge,Ne)|0,g=g+Math.imul(Ce,Et)|0,r=(r=r+Math.imul(Ce,Nt)|0)+Math.imul(Xe,Et)|0,w=w+Math.imul(Xe,Nt)|0;var Fe=(R+(g=g+Math.imul(N,We)|0)|0)+((8191&(r=(r=r+Math.imul(N,gt)|0)+Math.imul(Y,We)|0))<<13)|0;R=((w=w+Math.imul(Y,gt)|0)+(r>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,g=Math.imul(Ve,rt),r=(r=Math.imul(Ve,Ot))+Math.imul(oe,rt)|0,w=Math.imul(oe,Ot),g=g+Math.imul(K,kt)|0,r=(r=r+Math.imul(K,Rt)|0)+Math.imul(ee,kt)|0,w=w+Math.imul(ee,Rt)|0,g=g+Math.imul(ie,Jt)|0,r=(r=r+Math.imul(ie,Zt)|0)+Math.imul(Se,Jt)|0,w=w+Math.imul(Se,Zt)|0,g=g+Math.imul(Ue,Re)|0,r=(r=r+Math.imul(Ue,U)|0)+Math.imul(ye,Re)|0,w=w+Math.imul(ye,U)|0,g=g+Math.imul(Oe,ue)|0,r=(r=r+Math.imul(Oe,Ne)|0)+Math.imul(Me,ue)|0,w=w+Math.imul(Me,Ne)|0,g=g+Math.imul(Ke,Et)|0,r=(r=r+Math.imul(Ke,Nt)|0)+Math.imul(ge,Et)|0,w=w+Math.imul(ge,Nt)|0,g=g+Math.imul(Ce,We)|0,r=(r=r+Math.imul(Ce,gt)|0)+Math.imul(Xe,We)|0,w=w+Math.imul(Xe,gt)|0;var Wt=(R+(g=g+Math.imul(N,Pt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ft)|0)+Math.imul(Y,Pt)|0))<<13)|0;R=((w=w+Math.imul(Y,Ft)|0)+(r>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,g=Math.imul(qe,rt),r=(r=Math.imul(qe,Ot))+Math.imul(it,rt)|0,w=Math.imul(it,Ot),g=g+Math.imul(Ve,kt)|0,r=(r=r+Math.imul(Ve,Rt)|0)+Math.imul(oe,kt)|0,w=w+Math.imul(oe,Rt)|0,g=g+Math.imul(K,Jt)|0,r=(r=r+Math.imul(K,Zt)|0)+Math.imul(ee,Jt)|0,w=w+Math.imul(ee,Zt)|0,g=g+Math.imul(ie,Re)|0,r=(r=r+Math.imul(ie,U)|0)+Math.imul(Se,Re)|0,w=w+Math.imul(Se,U)|0,g=g+Math.imul(Ue,ue)|0,r=(r=r+Math.imul(Ue,Ne)|0)+Math.imul(ye,ue)|0,w=w+Math.imul(ye,Ne)|0,g=g+Math.imul(Oe,Et)|0,r=(r=r+Math.imul(Oe,Nt)|0)+Math.imul(Me,Et)|0,w=w+Math.imul(Me,Nt)|0,g=g+Math.imul(Ke,We)|0,r=(r=r+Math.imul(Ke,gt)|0)+Math.imul(ge,We)|0,w=w+Math.imul(ge,gt)|0,g=g+Math.imul(Ce,Pt)|0,r=(r=r+Math.imul(Ce,Ft)|0)+Math.imul(Xe,Pt)|0,w=w+Math.imul(Xe,Ft)|0;var Xt=(R+(g=g+Math.imul(N,Te)|0)|0)+((8191&(r=(r=r+Math.imul(N,me)|0)+Math.imul(Y,Te)|0))<<13)|0;R=((w=w+Math.imul(Y,me)|0)+(r>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,g=Math.imul(bt,rt),r=(r=Math.imul(bt,Ot))+Math.imul(st,rt)|0,w=Math.imul(st,Ot),g=g+Math.imul(qe,kt)|0,r=(r=r+Math.imul(qe,Rt)|0)+Math.imul(it,kt)|0,w=w+Math.imul(it,Rt)|0,g=g+Math.imul(Ve,Jt)|0,r=(r=r+Math.imul(Ve,Zt)|0)+Math.imul(oe,Jt)|0,w=w+Math.imul(oe,Zt)|0,g=g+Math.imul(K,Re)|0,r=(r=r+Math.imul(K,U)|0)+Math.imul(ee,Re)|0,w=w+Math.imul(ee,U)|0,g=g+Math.imul(ie,ue)|0,r=(r=r+Math.imul(ie,Ne)|0)+Math.imul(Se,ue)|0,w=w+Math.imul(Se,Ne)|0,g=g+Math.imul(Ue,Et)|0,r=(r=r+Math.imul(Ue,Nt)|0)+Math.imul(ye,Et)|0,w=w+Math.imul(ye,Nt)|0,g=g+Math.imul(Oe,We)|0,r=(r=r+Math.imul(Oe,gt)|0)+Math.imul(Me,We)|0,w=w+Math.imul(Me,gt)|0,g=g+Math.imul(Ke,Pt)|0,r=(r=r+Math.imul(Ke,Ft)|0)+Math.imul(ge,Pt)|0,w=w+Math.imul(ge,Ft)|0,g=g+Math.imul(Ce,Te)|0,r=(r=r+Math.imul(Ce,me)|0)+Math.imul(Xe,Te)|0,w=w+Math.imul(Xe,me)|0;var _i=(R+(g=g+Math.imul(N,_t)|0)|0)+((8191&(r=(r=r+Math.imul(N,Lt)|0)+Math.imul(Y,_t)|0))<<13)|0;R=((w=w+Math.imul(Y,Lt)|0)+(r>>>13)|0)+(_i>>>26)|0,_i&=67108863,g=Math.imul(bt,kt),r=(r=Math.imul(bt,Rt))+Math.imul(st,kt)|0,w=Math.imul(st,Rt),g=g+Math.imul(qe,Jt)|0,r=(r=r+Math.imul(qe,Zt)|0)+Math.imul(it,Jt)|0,w=w+Math.imul(it,Zt)|0,g=g+Math.imul(Ve,Re)|0,r=(r=r+Math.imul(Ve,U)|0)+Math.imul(oe,Re)|0,w=w+Math.imul(oe,U)|0,g=g+Math.imul(K,ue)|0,r=(r=r+Math.imul(K,Ne)|0)+Math.imul(ee,ue)|0,w=w+Math.imul(ee,Ne)|0,g=g+Math.imul(ie,Et)|0,r=(r=r+Math.imul(ie,Nt)|0)+Math.imul(Se,Et)|0,w=w+Math.imul(Se,Nt)|0,g=g+Math.imul(Ue,We)|0,r=(r=r+Math.imul(Ue,gt)|0)+Math.imul(ye,We)|0,w=w+Math.imul(ye,gt)|0,g=g+Math.imul(Oe,Pt)|0,r=(r=r+Math.imul(Oe,Ft)|0)+Math.imul(Me,Pt)|0,w=w+Math.imul(Me,Ft)|0,g=g+Math.imul(Ke,Te)|0,r=(r=r+Math.imul(Ke,me)|0)+Math.imul(ge,Te)|0,w=w+Math.imul(ge,me)|0;var Oi=(R+(g=g+Math.imul(Ce,_t)|0)|0)+((8191&(r=(r=r+Math.imul(Ce,Lt)|0)+Math.imul(Xe,_t)|0))<<13)|0;R=((w=w+Math.imul(Xe,Lt)|0)+(r>>>13)|0)+(Oi>>>26)|0,Oi&=67108863,g=Math.imul(bt,Jt),r=(r=Math.imul(bt,Zt))+Math.imul(st,Jt)|0,w=Math.imul(st,Zt),g=g+Math.imul(qe,Re)|0,r=(r=r+Math.imul(qe,U)|0)+Math.imul(it,Re)|0,w=w+Math.imul(it,U)|0,g=g+Math.imul(Ve,ue)|0,r=(r=r+Math.imul(Ve,Ne)|0)+Math.imul(oe,ue)|0,w=w+Math.imul(oe,Ne)|0,g=g+Math.imul(K,Et)|0,r=(r=r+Math.imul(K,Nt)|0)+Math.imul(ee,Et)|0,w=w+Math.imul(ee,Nt)|0,g=g+Math.imul(ie,We)|0,r=(r=r+Math.imul(ie,gt)|0)+Math.imul(Se,We)|0,w=w+Math.imul(Se,gt)|0,g=g+Math.imul(Ue,Pt)|0,r=(r=r+Math.imul(Ue,Ft)|0)+Math.imul(ye,Pt)|0,w=w+Math.imul(ye,Ft)|0,g=g+Math.imul(Oe,Te)|0,r=(r=r+Math.imul(Oe,me)|0)+Math.imul(Me,Te)|0,w=w+Math.imul(Me,me)|0;var ki=(R+(g=g+Math.imul(Ke,_t)|0)|0)+((8191&(r=(r=r+Math.imul(Ke,Lt)|0)+Math.imul(ge,_t)|0))<<13)|0;R=((w=w+Math.imul(ge,Lt)|0)+(r>>>13)|0)+(ki>>>26)|0,ki&=67108863,g=Math.imul(bt,Re),r=(r=Math.imul(bt,U))+Math.imul(st,Re)|0,w=Math.imul(st,U),g=g+Math.imul(qe,ue)|0,r=(r=r+Math.imul(qe,Ne)|0)+Math.imul(it,ue)|0,w=w+Math.imul(it,Ne)|0,g=g+Math.imul(Ve,Et)|0,r=(r=r+Math.imul(Ve,Nt)|0)+Math.imul(oe,Et)|0,w=w+Math.imul(oe,Nt)|0,g=g+Math.imul(K,We)|0,r=(r=r+Math.imul(K,gt)|0)+Math.imul(ee,We)|0,w=w+Math.imul(ee,gt)|0,g=g+Math.imul(ie,Pt)|0,r=(r=r+Math.imul(ie,Ft)|0)+Math.imul(Se,Pt)|0,w=w+Math.imul(Se,Ft)|0,g=g+Math.imul(Ue,Te)|0,r=(r=r+Math.imul(Ue,me)|0)+Math.imul(ye,Te)|0,w=w+Math.imul(ye,me)|0;var Ki=(R+(g=g+Math.imul(Oe,_t)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,Lt)|0)+Math.imul(Me,_t)|0))<<13)|0;R=((w=w+Math.imul(Me,Lt)|0)+(r>>>13)|0)+(Ki>>>26)|0,Ki&=67108863,g=Math.imul(bt,ue),r=(r=Math.imul(bt,Ne))+Math.imul(st,ue)|0,w=Math.imul(st,Ne),g=g+Math.imul(qe,Et)|0,r=(r=r+Math.imul(qe,Nt)|0)+Math.imul(it,Et)|0,w=w+Math.imul(it,Nt)|0,g=g+Math.imul(Ve,We)|0,r=(r=r+Math.imul(Ve,gt)|0)+Math.imul(oe,We)|0,w=w+Math.imul(oe,gt)|0,g=g+Math.imul(K,Pt)|0,r=(r=r+Math.imul(K,Ft)|0)+Math.imul(ee,Pt)|0,w=w+Math.imul(ee,Ft)|0,g=g+Math.imul(ie,Te)|0,r=(r=r+Math.imul(ie,me)|0)+Math.imul(Se,Te)|0,w=w+Math.imul(Se,me)|0;var ti=(R+(g=g+Math.imul(Ue,_t)|0)|0)+((8191&(r=(r=r+Math.imul(Ue,Lt)|0)+Math.imul(ye,_t)|0))<<13)|0;R=((w=w+Math.imul(ye,Lt)|0)+(r>>>13)|0)+(ti>>>26)|0,ti&=67108863,g=Math.imul(bt,Et),r=(r=Math.imul(bt,Nt))+Math.imul(st,Et)|0,w=Math.imul(st,Nt),g=g+Math.imul(qe,We)|0,r=(r=r+Math.imul(qe,gt)|0)+Math.imul(it,We)|0,w=w+Math.imul(it,gt)|0,g=g+Math.imul(Ve,Pt)|0,r=(r=r+Math.imul(Ve,Ft)|0)+Math.imul(oe,Pt)|0,w=w+Math.imul(oe,Ft)|0,g=g+Math.imul(K,Te)|0,r=(r=r+Math.imul(K,me)|0)+Math.imul(ee,Te)|0,w=w+Math.imul(ee,me)|0;var be=(R+(g=g+Math.imul(ie,_t)|0)|0)+((8191&(r=(r=r+Math.imul(ie,Lt)|0)+Math.imul(Se,_t)|0))<<13)|0;R=((w=w+Math.imul(Se,Lt)|0)+(r>>>13)|0)+(be>>>26)|0,be&=67108863,g=Math.imul(bt,We),r=(r=Math.imul(bt,gt))+Math.imul(st,We)|0,w=Math.imul(st,gt),g=g+Math.imul(qe,Pt)|0,r=(r=r+Math.imul(qe,Ft)|0)+Math.imul(it,Pt)|0,w=w+Math.imul(it,Ft)|0,g=g+Math.imul(Ve,Te)|0,r=(r=r+Math.imul(Ve,me)|0)+Math.imul(oe,Te)|0,w=w+Math.imul(oe,me)|0;var ke=(R+(g=g+Math.imul(K,_t)|0)|0)+((8191&(r=(r=r+Math.imul(K,Lt)|0)+Math.imul(ee,_t)|0))<<13)|0;R=((w=w+Math.imul(ee,Lt)|0)+(r>>>13)|0)+(ke>>>26)|0,ke&=67108863,g=Math.imul(bt,Pt),r=(r=Math.imul(bt,Ft))+Math.imul(st,Pt)|0,w=Math.imul(st,Ft),g=g+Math.imul(qe,Te)|0,r=(r=r+Math.imul(qe,me)|0)+Math.imul(it,Te)|0,w=w+Math.imul(it,me)|0;var ft=(R+(g=g+Math.imul(Ve,_t)|0)|0)+((8191&(r=(r=r+Math.imul(Ve,Lt)|0)+Math.imul(oe,_t)|0))<<13)|0;R=((w=w+Math.imul(oe,Lt)|0)+(r>>>13)|0)+(ft>>>26)|0,ft&=67108863,g=Math.imul(bt,Te),r=(r=Math.imul(bt,me))+Math.imul(st,Te)|0,w=Math.imul(st,me);var St=(R+(g=g+Math.imul(qe,_t)|0)|0)+((8191&(r=(r=r+Math.imul(qe,Lt)|0)+Math.imul(it,_t)|0))<<13)|0;R=((w=w+Math.imul(it,Lt)|0)+(r>>>13)|0)+(St>>>26)|0,St&=67108863;var ui=(R+(g=Math.imul(bt,_t))|0)+((8191&(r=(r=Math.imul(bt,Lt))+Math.imul(st,_t)|0))<<13)|0;return R=((w=Math.imul(st,Lt))+(r>>>13)|0)+(ui>>>26)|0,ui&=67108863,I[0]=Li,I[1]=Ai,I[2]=wi,I[3]=zi,I[4]=xt,I[5]=Qe,I[6]=Fe,I[7]=Wt,I[8]=Xt,I[9]=_i,I[10]=Oi,I[11]=ki,I[12]=Ki,I[13]=ti,I[14]=be,I[15]=ke,I[16]=ft,I[17]=St,I[18]=ui,0!==R&&(I[19]=R,m.length++),m};function Z(T,i,o){return(new X).mulp(T,i,o)}function X(T,i){this.x=T,this.y=i}Math.imul||(A=z),l.prototype.mulTo=function(i,o){var m,h=this.length+i.length;return m=10===this.length&&10===i.length?A(this,i,o):h<63?z(this,i,o):h<1024?function W(T,i,o){o.negative=i.negative^T.negative,o.length=T.length+i.length;for(var m=0,h=0,x=0;x<o.length-1;x++){var I=h;h=0;for(var R=67108863&m,g=Math.min(x,i.length-1),r=Math.max(0,x-T.length+1);r<=g;r++){var w=x-r,Y=(0|T.words[w])*(0|i.words[r]),Pe=67108863&Y;R=67108863&(Pe=Pe+R|0),h+=(I=(I=I+(Y/67108864|0)|0)+(Pe>>>26)|0)>>>26,I&=67108863}o.words[x]=R,m=I,I=h}return 0!==m?o.words[x]=m:o.length--,o.strip()}(this,i,o):Z(this,i,o),m},X.prototype.makeRBT=function(i){for(var o=new Array(i),m=l.prototype._countBits(i)-1,h=0;h<i;h++)o[h]=this.revBin(h,m,i);return o},X.prototype.revBin=function(i,o,m){if(0===i||i===m-1)return i;for(var h=0,x=0;x<o;x++)h|=(1&i)<<o-x-1,i>>=1;return h},X.prototype.permute=function(i,o,m,h,x,I){for(var R=0;R<I;R++)h[R]=o[i[R]],x[R]=m[i[R]]},X.prototype.transform=function(i,o,m,h,x,I){this.permute(I,i,o,m,h,x);for(var R=1;R<x;R<<=1)for(var g=R<<1,r=Math.cos(2*Math.PI/g),w=Math.sin(2*Math.PI/g),V=0;V<x;V+=g)for(var N=r,Y=w,Pe=0;Pe<R;Pe++){var Ce=m[V+Pe],Xe=h[V+Pe],dt=m[V+Pe+R],Ke=h[V+Pe+R],ge=N*dt-Y*Ke;Ke=N*Ke+Y*dt,dt=ge,m[V+Pe]=Ce+dt,h[V+Pe]=Xe+Ke,m[V+Pe+R]=Ce-dt,h[V+Pe+R]=Xe-Ke,Pe!==g&&(ge=r*N-w*Y,Y=r*Y+w*N,N=ge)}},X.prototype.guessLen13b=function(i,o){var m=1|Math.max(o,i),h=1&m,x=0;for(m=m/2|0;m;m>>>=1)x++;return 1<<x+1+h},X.prototype.conjugate=function(i,o,m){if(!(m<=1))for(var h=0;h<m/2;h++){var x=i[h];i[h]=i[m-h-1],i[m-h-1]=x,x=o[h],o[h]=-o[m-h-1],o[m-h-1]=-x}},X.prototype.normalize13b=function(i,o){for(var m=0,h=0;h<o/2;h++){var x=8192*Math.round(i[2*h+1]/o)+Math.round(i[2*h]/o)+m;i[h]=67108863&x,m=x<67108864?0:x/67108864|0}return i},X.prototype.convert13b=function(i,o,m,h){for(var x=0,I=0;I<o;I++)x+=0|i[I],m[2*I]=8191&x,x>>>=13,m[2*I+1]=8191&x,x>>>=13;for(I=2*o;I<h;++I)m[I]=0;_(0===x),_(0==(-8192&x))},X.prototype.stub=function(i){for(var o=new Array(i),m=0;m<i;m++)o[m]=0;return o},X.prototype.mulp=function(i,o,m){var h=2*this.guessLen13b(i.length,o.length),x=this.makeRBT(h),I=this.stub(h),R=new Array(h),g=new Array(h),r=new Array(h),w=new Array(h),V=new Array(h),N=new Array(h),Y=m.words;Y.length=h,this.convert13b(i.words,i.length,R,h),this.convert13b(o.words,o.length,w,h),this.transform(R,I,g,r,h,x),this.transform(w,I,V,N,h,x);for(var Pe=0;Pe<h;Pe++){var Ce=g[Pe]*V[Pe]-r[Pe]*N[Pe];r[Pe]=g[Pe]*N[Pe]+r[Pe]*V[Pe],g[Pe]=Ce}return this.conjugate(g,r,h),this.transform(g,r,Y,I,h,x),this.conjugate(Y,I,h),this.normalize13b(Y,h),m.negative=i.negative^o.negative,m.length=i.length+o.length,m.strip()},l.prototype.mul=function(i){var o=new l(null);return o.words=new Array(this.length+i.length),this.mulTo(i,o)},l.prototype.mulf=function(i){var o=new l(null);return o.words=new Array(this.length+i.length),Z(this,i,o)},l.prototype.imul=function(i){return this.clone().mulTo(i,this)},l.prototype.imuln=function(i){_("number"==typeof i),_(i<67108864);for(var o=0,m=0;m<this.length;m++){var h=(0|this.words[m])*i,x=(67108863&h)+(67108863&o);o>>=26,o+=h/67108864|0,o+=x>>>26,this.words[m]=67108863&x}return 0!==o&&(this.words[m]=o,this.length++),this},l.prototype.muln=function(i){return this.clone().imuln(i)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(i){var o=function M(T){for(var i=new Array(T.bitLength()),o=0;o<i.length;o++){var m=o/26|0,h=o%26;i[o]=(T.words[m]&1<<h)>>>h}return i}(i);if(0===o.length)return new l(1);for(var m=this,h=0;h<o.length&&0===o[h];h++,m=m.sqr());if(++h<o.length)for(var x=m.sqr();h<o.length;h++,x=x.sqr())0!==o[h]&&(m=m.mul(x));return m},l.prototype.iushln=function(i){_("number"==typeof i&&i>=0);var x,o=i%26,m=(i-o)/26,h=67108863>>>26-o<<26-o;if(0!==o){var I=0;for(x=0;x<this.length;x++){var R=this.words[x]&h,g=(0|this.words[x])-R<<o;this.words[x]=g|I,I=R>>>26-o}I&&(this.words[x]=I,this.length++)}if(0!==m){for(x=this.length-1;x>=0;x--)this.words[x+m]=this.words[x];for(x=0;x<m;x++)this.words[x]=0;this.length+=m}return this.strip()},l.prototype.ishln=function(i){return _(0===this.negative),this.iushln(i)},l.prototype.iushrn=function(i,o,m){var h;_("number"==typeof i&&i>=0),h=o?(o-o%26)/26:0;var x=i%26,I=Math.min((i-x)/26,this.length),R=67108863^67108863>>>x<<x,g=m;if(h-=I,h=Math.max(0,h),g){for(var r=0;r<I;r++)g.words[r]=this.words[r];g.length=I}if(0!==I)if(this.length>I)for(this.length-=I,r=0;r<this.length;r++)this.words[r]=this.words[r+I];else this.words[0]=0,this.length=1;var w=0;for(r=this.length-1;r>=0&&(0!==w||r>=h);r--){var V=0|this.words[r];this.words[r]=w<<26-x|V>>>x,w=V&R}return g&&0!==w&&(g.words[g.length++]=w),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(i,o,m){return _(0===this.negative),this.iushrn(i,o,m)},l.prototype.shln=function(i){return this.clone().ishln(i)},l.prototype.ushln=function(i){return this.clone().iushln(i)},l.prototype.shrn=function(i){return this.clone().ishrn(i)},l.prototype.ushrn=function(i){return this.clone().iushrn(i)},l.prototype.testn=function(i){_("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26,h=1<<o;return!(this.length<=m)&&!!(this.words[m]&h)},l.prototype.imaskn=function(i){_("number"==typeof i&&i>=0);var o=i%26,m=(i-o)/26;if(_(0===this.negative,"imaskn works only with positive numbers"),this.length<=m)return this;if(0!==o&&m++,this.length=Math.min(m,this.length),0!==o){var h=67108863^67108863>>>o<<o;this.words[this.length-1]&=h}return this.strip()},l.prototype.maskn=function(i){return this.clone().imaskn(i)},l.prototype.iaddn=function(i){return _("number"==typeof i),_(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)},l.prototype._iaddn=function(i){this.words[0]+=i;for(var o=0;o<this.length&&this.words[o]>=67108864;o++)this.words[o]-=67108864,o===this.length-1?this.words[o+1]=1:this.words[o+1]++;return this.length=Math.max(this.length,o+1),this},l.prototype.isubn=function(i){if(_("number"==typeof i),_(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 o=0;o<this.length&&this.words[o]<0;o++)this.words[o]+=67108864,this.words[o+1]-=1;return this.strip()},l.prototype.addn=function(i){return this.clone().iaddn(i)},l.prototype.subn=function(i){return this.clone().isubn(i)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(i,o,m){var x,h=i.length+m;this._expand(h);var I,R=0;for(x=0;x<i.length;x++){I=(0|this.words[x+m])+R;var g=(0|i.words[x])*o;R=((I-=67108863&g)>>26)-(g/67108864|0),this.words[x+m]=67108863&I}for(;x<this.length-m;x++)R=(I=(0|this.words[x+m])+R)>>26,this.words[x+m]=67108863&I;if(0===R)return this.strip();for(_(-1===R),R=0,x=0;x<this.length;x++)R=(I=-(0|this.words[x])+R)>>26,this.words[x]=67108863&I;return this.negative=1,this.strip()},l.prototype._wordDiv=function(i,o){var m=(this.length,i.length),h=this.clone(),x=i,I=0|x.words[x.length-1];0!==(m=26-this._countBits(I))&&(x=x.ushln(m),h.iushln(m),I=0|x.words[x.length-1]);var r,g=h.length-x.length;if("mod"!==o){(r=new l(null)).length=g+1,r.words=new Array(r.length);for(var w=0;w<r.length;w++)r.words[w]=0}var V=h.clone()._ishlnsubmul(x,1,g);0===V.negative&&(h=V,r&&(r.words[g]=1));for(var N=g-1;N>=0;N--){var Y=67108864*(0|h.words[x.length+N])+(0|h.words[x.length+N-1]);for(Y=Math.min(Y/I|0,67108863),h._ishlnsubmul(x,Y,N);0!==h.negative;)Y--,h.negative=0,h._ishlnsubmul(x,1,N),h.isZero()||(h.negative^=1);r&&(r.words[N]=Y)}return r&&r.strip(),h.strip(),"div"!==o&&0!==m&&h.iushrn(m),{div:r||null,mod:h}},l.prototype.divmod=function(i,o,m){return _(!i.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===i.negative?(I=this.neg().divmod(i,o),"mod"!==o&&(h=I.div.neg()),"div"!==o&&(x=I.mod.neg(),m&&0!==x.negative&&x.iadd(i)),{div:h,mod:x}):0===this.negative&&0!==i.negative?(I=this.divmod(i.neg(),o),"mod"!==o&&(h=I.div.neg()),{div:h,mod:I.mod}):0!=(this.negative&i.negative)?(I=this.neg().divmod(i.neg(),o),"div"!==o&&(x=I.mod.neg(),m&&0!==x.negative&&x.isub(i)),{div:I.div,mod:x}):i.length>this.length||this.cmp(i)<0?{div:new l(0),mod:this}:1===i.length?"div"===o?{div:this.divn(i.words[0]),mod:null}:"mod"===o?{div:null,mod:new l(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new l(this.modn(i.words[0]))}:this._wordDiv(i,o);var h,x,I},l.prototype.div=function(i){return this.divmod(i,"div",!1).div},l.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},l.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},l.prototype.divRound=function(i){var o=this.divmod(i);if(o.mod.isZero())return o.div;var m=0!==o.div.negative?o.mod.isub(i):o.mod,h=i.ushrn(1),x=i.andln(1),I=m.cmp(h);return I<0||1===x&&0===I?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},l.prototype.modn=function(i){_(i<=67108863);for(var o=(1<<26)%i,m=0,h=this.length-1;h>=0;h--)m=(o*m+(0|this.words[h]))%i;return m},l.prototype.idivn=function(i){_(i<=67108863);for(var o=0,m=this.length-1;m>=0;m--){var h=(0|this.words[m])+67108864*o;this.words[m]=h/i|0,o=h%i}return this.strip()},l.prototype.divn=function(i){return this.clone().idivn(i)},l.prototype.egcd=function(i){_(0===i.negative),_(!i.isZero());var o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var h=new l(1),x=new l(0),I=new l(0),R=new l(1),g=0;o.isEven()&&m.isEven();)o.iushrn(1),m.iushrn(1),++g;for(var r=m.clone(),w=o.clone();!o.isZero();){for(var V=0,N=1;0==(o.words[0]&N)&&V<26;++V,N<<=1);if(V>0)for(o.iushrn(V);V-- >0;)(h.isOdd()||x.isOdd())&&(h.iadd(r),x.isub(w)),h.iushrn(1),x.iushrn(1);for(var Y=0,Pe=1;0==(m.words[0]&Pe)&&Y<26;++Y,Pe<<=1);if(Y>0)for(m.iushrn(Y);Y-- >0;)(I.isOdd()||R.isOdd())&&(I.iadd(r),R.isub(w)),I.iushrn(1),R.iushrn(1);o.cmp(m)>=0?(o.isub(m),h.isub(I),x.isub(R)):(m.isub(o),I.isub(h),R.isub(x))}return{a:I,b:R,gcd:m.iushln(g)}},l.prototype._invmp=function(i){_(0===i.negative),_(!i.isZero());var V,o=this,m=i.clone();o=0!==o.negative?o.umod(i):o.clone();for(var h=new l(1),x=new l(0),I=m.clone();o.cmpn(1)>0&&m.cmpn(1)>0;){for(var R=0,g=1;0==(o.words[0]&g)&&R<26;++R,g<<=1);if(R>0)for(o.iushrn(R);R-- >0;)h.isOdd()&&h.iadd(I),h.iushrn(1);for(var r=0,w=1;0==(m.words[0]&w)&&r<26;++r,w<<=1);if(r>0)for(m.iushrn(r);r-- >0;)x.isOdd()&&x.iadd(I),x.iushrn(1);o.cmp(m)>=0?(o.isub(m),h.isub(x)):(m.isub(o),x.isub(h))}return(V=0===o.cmpn(1)?h:x).cmpn(0)<0&&V.iadd(i),V},l.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var o=this.clone(),m=i.clone();o.negative=0,m.negative=0;for(var h=0;o.isEven()&&m.isEven();h++)o.iushrn(1),m.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;m.isEven();)m.iushrn(1);var x=o.cmp(m);if(x<0){var I=o;o=m,m=I}else if(0===x||0===m.cmpn(1))break;o.isub(m)}return m.iushln(h)},l.prototype.invm=function(i){return this.egcd(i).a.umod(i)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(i){return this.words[0]&i},l.prototype.bincn=function(i){_("number"==typeof i);var o=i%26,m=(i-o)/26,h=1<<o;if(this.length<=m)return this._expand(m+1),this.words[m]|=h,this;for(var x=h,I=m;0!==x&&I<this.length;I++){var R=0|this.words[I];x=(R+=x)>>>26,R&=67108863,this.words[I]=R}return 0!==x&&(this.words[I]=x,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(i){var m,o=i<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)m=1;else{o&&(i=-i),_(i<=67108863,"Number is too big");var h=0|this.words[0];m=h===i?0:h<i?-1:1}return 0!==this.negative?0|-m:m},l.prototype.cmp=function(i){if(0!==this.negative&&0===i.negative)return-1;if(0===this.negative&&0!==i.negative)return 1;var o=this.ucmp(i);return 0!==this.negative?0|-o:o},l.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var o=0,m=this.length-1;m>=0;m--){var h=0|this.words[m],x=0|i.words[m];if(h!==x){h<x?o=-1:h>x&&(o=1);break}}return o},l.prototype.gtn=function(i){return 1===this.cmpn(i)},l.prototype.gt=function(i){return 1===this.cmp(i)},l.prototype.gten=function(i){return this.cmpn(i)>=0},l.prototype.gte=function(i){return this.cmp(i)>=0},l.prototype.ltn=function(i){return-1===this.cmpn(i)},l.prototype.lt=function(i){return-1===this.cmp(i)},l.prototype.lten=function(i){return this.cmpn(i)<=0},l.prototype.lte=function(i){return this.cmp(i)<=0},l.prototype.eqn=function(i){return 0===this.cmpn(i)},l.prototype.eq=function(i){return 0===this.cmp(i)},l.red=function(i){return new re(i)},l.prototype.toRed=function(i){return _(!this.red,"Already a number in reduction context"),_(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},l.prototype.fromRed=function(){return _(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(i){return this.red=i,this},l.prototype.forceRed=function(i){return _(!this.red,"Already a number in reduction context"),this._forceRed(i)},l.prototype.redAdd=function(i){return _(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},l.prototype.redIAdd=function(i){return _(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},l.prototype.redSub=function(i){return _(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},l.prototype.redISub=function(i){return _(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},l.prototype.redShl=function(i){return _(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},l.prototype.redMul=function(i){return _(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},l.prototype.redIMul=function(i){return _(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},l.prototype.redSqr=function(){return _(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return _(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return _(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return _(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return _(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(i){return _(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 ae(T,i){this.name=T,this.p=new l(i,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function he(){ae.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function se(){ae.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function pe(){ae.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function le(){ae.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function re(T){if("string"==typeof T){var i=l._prime(T);this.m=i.p,this.prime=i}else _(T.gtn(1),"modulus must be greater than 1"),this.m=T,this.prime=null}function fe(T){re.call(this,T),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ae.prototype._tmp=function(){var i=new l(null);return i.words=new Array(Math.ceil(this.n/13)),i},ae.prototype.ireduce=function(i){var m,o=i;do{this.split(o,this.tmp),m=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(m>this.n);var h=m<this.n?-1:o.ucmp(this.p);return 0===h?(o.words[0]=0,o.length=1):h>0?o.isub(this.p):void 0!==o.strip?o.strip():o._strip(),o},ae.prototype.split=function(i,o){i.iushrn(this.n,0,o)},ae.prototype.imulK=function(i){return i.imul(this.k)},O(he,ae),he.prototype.split=function(i,o){for(var m=4194303,h=Math.min(i.length,9),x=0;x<h;x++)o.words[x]=i.words[x];if(o.length=h,i.length<=9)return i.words[0]=0,void(i.length=1);var I=i.words[9];for(o.words[o.length++]=I&m,x=10;x<i.length;x++){var R=0|i.words[x];i.words[x-10]=(R&m)<<4|I>>>22,I=R}I>>>=22,i.words[x-10]=I,0===I&&i.length>10?i.length-=10:i.length-=9},he.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var o=0,m=0;m<i.length;m++){var h=0|i.words[m];o+=977*h,i.words[m]=67108863&o,o=64*h+(o/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},O(se,ae),O(pe,ae),O(le,ae),le.prototype.imulK=function(i){for(var o=0,m=0;m<i.length;m++){var h=19*(0|i.words[m])+o,x=67108863&h;h>>>=26,i.words[m]=x,o=h}return 0!==o&&(i.words[i.length++]=o),i},l._prime=function(i){if($[i])return $[i];var o;if("k256"===i)o=new he;else if("p224"===i)o=new se;else if("p192"===i)o=new pe;else{if("p25519"!==i)throw new Error("Unknown prime "+i);o=new le}return $[i]=o,o},re.prototype._verify1=function(i){_(0===i.negative,"red works only with positives"),_(i.red,"red works only with red numbers")},re.prototype._verify2=function(i,o){_(0==(i.negative|o.negative),"red works only with positives"),_(i.red&&i.red===o.red,"red works only with red numbers")},re.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},re.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},re.prototype.add=function(i,o){this._verify2(i,o);var m=i.add(o);return m.cmp(this.m)>=0&&m.isub(this.m),m._forceRed(this)},re.prototype.iadd=function(i,o){this._verify2(i,o);var m=i.iadd(o);return m.cmp(this.m)>=0&&m.isub(this.m),m},re.prototype.sub=function(i,o){this._verify2(i,o);var m=i.sub(o);return m.cmpn(0)<0&&m.iadd(this.m),m._forceRed(this)},re.prototype.isub=function(i,o){this._verify2(i,o);var m=i.isub(o);return m.cmpn(0)<0&&m.iadd(this.m),m},re.prototype.shl=function(i,o){return this._verify1(i),this.imod(i.ushln(o))},re.prototype.imul=function(i,o){return this._verify2(i,o),this.imod(i.imul(o))},re.prototype.mul=function(i,o){return this._verify2(i,o),this.imod(i.mul(o))},re.prototype.isqr=function(i){return this.imul(i,i.clone())},re.prototype.sqr=function(i){return this.mul(i,i)},re.prototype.sqrt=function(i){if(i.isZero())return i.clone();var o=this.m.andln(3);if(_(o%2==1),3===o){var m=this.m.add(new l(1)).iushrn(2);return this.pow(i,m)}for(var h=this.m.subn(1),x=0;!h.isZero()&&0===h.andln(1);)x++,h.iushrn(1);_(!h.isZero());var I=new l(1).toRed(this),R=I.redNeg(),g=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,g).cmp(R);)r.redIAdd(R);for(var w=this.pow(r,h),V=this.pow(i,h.addn(1).iushrn(1)),N=this.pow(i,h),Y=x;0!==N.cmp(I);){for(var Pe=N,Ce=0;0!==Pe.cmp(I);Ce++)Pe=Pe.redSqr();_(Ce<Y);var Xe=this.pow(w,new l(1).iushln(Y-Ce-1));V=V.redMul(Xe),w=Xe.redSqr(),N=N.redMul(w),Y=Ce}return V},re.prototype.invm=function(i){var o=i._invmp(this.m);return 0!==o.negative?(o.negative=0,this.imod(o).redNeg()):this.imod(o)},re.prototype.pow=function(i,o){if(o.isZero())return new l(1).toRed(this);if(0===o.cmpn(1))return i.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=i;for(var x=2;x<h.length;x++)h[x]=this.mul(h[x-1],i);var I=h[0],R=0,g=0,r=o.bitLength()%26;for(0===r&&(r=26),x=o.length-1;x>=0;x--){for(var w=o.words[x],V=r-1;V>=0;V--){var N=w>>V&1;(I!==h[0]&&(I=this.sqr(I)),0!==N||0!==R)?(R<<=1,R|=N,(4===++g||0===x&&0===V)&&(I=this.mul(I,h[R]),g=0,R=0)):g=0}r=26}return I},re.prototype.convertTo=function(i){var o=i.umod(this.m);return o===i?o.clone():o},re.prototype.convertFrom=function(i){var o=i.clone();return o.red=null,o},l.mont=function(i){return new fe(i)},O(fe,re),fe.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},fe.prototype.convertFrom=function(i){var o=this.imod(i.mul(this.rinv));return o.red=null,o},fe.prototype.imul=function(i,o){if(i.isZero()||o.isZero())return i.words[0]=0,i.length=1,i;var m=i.imul(o),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),x=m.isub(h).iushrn(this.shift),I=x;return x.cmp(this.m)>=0?I=x.isub(this.m):x.cmpn(0)<0&&(I=x.iadd(this.m)),I._forceRed(this)},fe.prototype.mul=function(i,o){if(i.isZero()||o.isZero())return new l(0)._forceRed(this);var m=i.mul(o),h=m.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),x=m.isub(h).iushrn(this.shift),I=x;return x.cmp(this.m)>=0?I=x.isub(this.m):x.cmpn(0)<0&&(I=x.iadd(this.m)),I._forceRed(this)},fe.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}})(Ye=f.nmd(Ye),this)},9674:(Ye,J,f)=>{var e=f(5752),t=f(2096),_=f(464),O=f(6807),l=f(6661),C=f(145),u=f(630),P=f(9708).Buffer;Ye.exports=function(M,z,A){var W;W=M.padding?M.padding:A?1:4;var $,Z=e(M),X=Z.modulus.byteLength();if(z.length>X||new O(z).cmp(Z.modulus)>=0)throw new Error("decryption error");$=A?u(new O(z),Z):l(z,Z);var ae=P.alloc(X-$.length);if($=P.concat([ae,$],X),4===W)return function p(k,M){var z=k.modulus.byteLength(),A=C("sha1").update(P.alloc(0)).digest(),W=A.length;if(0!==M[0])throw new Error("decryption error");var Z=M.slice(1,W+1),X=M.slice(W+1),$=_(Z,t(X,W)),ae=_(X,t($,z-W-1));if(function D(k,M){k=P.from(k),M=P.from(M);var z=0,A=k.length;k.length!==M.length&&(z++,A=Math.min(k.length,M.length));for(var W=-1;++W<A;)z+=k[W]^M[W];return z}(A,ae.slice(0,W)))throw new Error("decryption error");for(var he=W;0===ae[he];)he++;if(1!==ae[he++])throw new Error("decryption error");return ae.slice(he)}(Z,$);if(1===W)return function L(k,M,z){for(var A=M.slice(0,2),W=2,Z=0;0!==M[W++];)if(W>=M.length){Z++;break}var X=M.slice(2,W-1);if(("0002"!==A.toString("hex")&&!z||"0001"!==A.toString("hex")&&z)&&Z++,X.length<8&&Z++,Z)throw new Error("decryption error");return M.slice(W)}(0,$,A);if(3===W)return $;throw new Error("unknown padding")}},3653:(Ye,J,f)=>{var e=f(5752),t=f(1186),_=f(145),O=f(2096),l=f(464),C=f(6807),u=f(630),P=f(6661),p=f(9708).Buffer;Ye.exports=function(z,A,W){var Z;Z=z.padding?z.padding:W?1:4;var $,X=e(z);if(4===Z)$=function L(M,z){var A=M.modulus.byteLength(),W=z.length,Z=_("sha1").update(p.alloc(0)).digest(),X=Z.length,$=2*X;if(W>A-$-2)throw new Error("message too long");var ae=p.alloc(A-W-$-2),he=A-X-1,se=t(X),pe=l(p.concat([Z,ae,p.alloc(1,1),z],he),O(se,he)),le=l(se,O(pe,X));return new C(p.concat([p.alloc(1),le,pe],A))}(X,A);else if(1===Z)$=function D(M,z,A){var X,W=z.length,Z=M.modulus.byteLength();if(W>Z-11)throw new Error("message too long");return X=A?p.alloc(Z-W-3,255):function k(M){for(var X,z=p.allocUnsafe(M),A=0,W=t(2*M),Z=0;A<M;)Z===W.length&&(W=t(2*M),Z=0),(X=W[Z++])&&(z[A++]=X);return z}(Z-W-3),new C(p.concat([p.from([0,A?1:2]),X,p.alloc(1),z],Z))}(X,A,W);else{if(3!==Z)throw new Error("unknown padding");if(($=new C(A)).cmp(X.modulus)>=0)throw new Error("data too long for modulus")}return W?P($,X):u($,X)}},630:(Ye,J,f)=>{var e=f(6807),t=f(9708).Buffer;Ye.exports=function _(O,l){return t.from(O.toRed(e.mont(l.modulus)).redPow(new e(l.publicExponent)).fromRed().toArray())}},464:Ye=>{Ye.exports=function(f,e){for(var t=f.length,_=-1;++_<t;)f[_]^=e[_];return f}},5646:(Ye,J,f)=>{const e=f(5704),t=f(9102),_=f(9326),O=f(226);function l(C,u,P,p,L){const D=[].slice.call(arguments,1),k=D.length,M="function"==typeof D[k-1];if(!M&&!e())throw new Error("Callback required as last argument");if(!M){if(k<1)throw new Error("Too few arguments provided");return 1===k?(P=u,u=p=void 0):2===k&&!u.getContext&&(p=P,P=u,u=void 0),new Promise(function(z,A){try{const W=t.create(P,p);z(C(W,u,p))}catch(W){A(W)}})}if(k<2)throw new Error("Too few arguments provided");2===k?(L=P,P=u,u=p=void 0):3===k&&(u.getContext&&typeof L>"u"?(L=p,p=void 0):(L=p,p=P,P=u,u=void 0));try{const z=t.create(P,p);L(null,C(z,u,p))}catch(z){L(z)}}J.create=t.create,J.toCanvas=l.bind(null,_.render),J.toDataURL=l.bind(null,_.renderToDataURL),J.toString=l.bind(null,function(C,u,P){return O.render(C,P)})},5704:Ye=>{Ye.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},8298:(Ye,J,f)=>{const e=f(2230).getSymbolSize;J.getRowColCoords=function(_){if(1===_)return[];const O=Math.floor(_/7)+2,l=e(_),C=145===l?26:2*Math.ceil((l-13)/(2*O-2)),u=[l-7];for(let P=1;P<O-1;P++)u[P]=u[P-1]-C;return u.push(6),u.reverse()},J.getPositions=function(_){const O=[],l=J.getRowColCoords(_),C=l.length;for(let u=0;u<C;u++)for(let P=0;P<C;P++)0===u&&0===P||0===u&&P===C-1||u===C-1&&0===P||O.push([l[u],l[P]]);return O}},9321:(Ye,J,f)=>{const e=f(4059),t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function _(O){this.mode=e.ALPHANUMERIC,this.data=O}_.getBitsLength=function(l){return 11*Math.floor(l/2)+l%2*6},_.prototype.getLength=function(){return this.data.length},_.prototype.getBitsLength=function(){return _.getBitsLength(this.data.length)},_.prototype.write=function(l){let C;for(C=0;C+2<=this.data.length;C+=2){let u=45*t.indexOf(this.data[C]);u+=t.indexOf(this.data[C+1]),l.put(u,11)}this.data.length%2&&l.put(t.indexOf(this.data[C]),6)},Ye.exports=_},7701:Ye=>{function J(){this.buffer=[],this.length=0}J.prototype={get:function(f){const e=Math.floor(f/8);return 1==(this.buffer[e]>>>7-f%8&1)},put:function(f,e){for(let t=0;t<e;t++)this.putBit(1==(f>>>e-t-1&1))},getLengthInBits:function(){return this.length},putBit:function(f){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),f&&(this.buffer[e]|=128>>>this.length%8),this.length++}},Ye.exports=J},9088:Ye=>{function J(f){if(!f||f<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=f,this.data=new Uint8Array(f*f),this.reservedBit=new Uint8Array(f*f)}J.prototype.set=function(f,e,t,_){const O=f*this.size+e;this.data[O]=t,_&&(this.reservedBit[O]=!0)},J.prototype.get=function(f,e){return this.data[f*this.size+e]},J.prototype.xor=function(f,e,t){this.data[f*this.size+e]^=t},J.prototype.isReserved=function(f,e){return this.reservedBit[f*this.size+e]},Ye.exports=J},6323:(Ye,J,f)=>{const e=f(6236),t=f(4059);function _(O){this.mode=t.BYTE,"string"==typeof O&&(O=e(O)),this.data=new Uint8Array(O)}_.getBitsLength=function(l){return 8*l},_.prototype.getLength=function(){return this.data.length},_.prototype.getBitsLength=function(){return _.getBitsLength(this.data.length)},_.prototype.write=function(O){for(let l=0,C=this.data.length;l<C;l++)O.put(this.data[l],8)},Ye.exports=_},1690:(Ye,J,f)=>{const e=f(5448),t=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],_=[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];J.getBlocksCount=function(l,C){switch(C){case e.L:return t[4*(l-1)+0];case e.M:return t[4*(l-1)+1];case e.Q:return t[4*(l-1)+2];case e.H:return t[4*(l-1)+3];default:return}},J.getTotalCodewordsCount=function(l,C){switch(C){case e.L:return _[4*(l-1)+0];case e.M:return _[4*(l-1)+1];case e.Q:return _[4*(l-1)+2];case e.H:return _[4*(l-1)+3];default:return}}},5448:(Ye,J)=>{J.L={bit:1},J.M={bit:0},J.Q={bit:3},J.H={bit:2},J.isValid=function(t){return t&&typeof t.bit<"u"&&t.bit>=0&&t.bit<4},J.from=function(t,_){if(J.isValid(t))return t;try{return function f(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return J.L;case"m":case"medium":return J.M;case"q":case"quartile":return J.Q;case"h":case"high":return J.H;default:throw new Error("Unknown EC Level: "+e)}}(t)}catch{return _}}},2903:(Ye,J,f)=>{const e=f(2230).getSymbolSize;J.getPositions=function(O){const l=e(O);return[[0,0],[l-7,0],[0,l-7]]}},6327:(Ye,J,f)=>{const e=f(2230),O=e.getBCHDigit(1335);J.getEncodedBits=function(C,u){const P=C.bit<<3|u;let p=P<<10;for(;e.getBCHDigit(p)-O>=0;)p^=1335<<e.getBCHDigit(p)-O;return 21522^(P<<10|p)}},9240:(Ye,J)=>{const f=new Uint8Array(512),e=new Uint8Array(256);(function(){let _=1;for(let O=0;O<255;O++)f[O]=_,e[_]=O,_<<=1,256&_&&(_^=285);for(let O=255;O<512;O++)f[O]=f[O-255]})(),J.log=function(_){if(_<1)throw new Error("log("+_+")");return e[_]},J.exp=function(_){return f[_]},J.mul=function(_,O){return 0===_||0===O?0:f[e[_]+e[O]]}},5134:(Ye,J,f)=>{const e=f(4059),t=f(2230);function _(O){this.mode=e.KANJI,this.data=O}_.getBitsLength=function(l){return 13*l},_.prototype.getLength=function(){return this.data.length},_.prototype.getBitsLength=function(){return _.getBitsLength(this.data.length)},_.prototype.write=function(O){let l;for(l=0;l<this.data.length;l++){let C=t.toSJIS(this.data[l]);if(C>=33088&&C<=40956)C-=33088;else{if(!(C>=57408&&C<=60351))throw new Error("Invalid SJIS character: "+this.data[l]+"\nMake sure your charset is UTF-8");C-=49472}C=192*(C>>>8&255)+(255&C),O.put(C,13)}},Ye.exports=_},6485:(Ye,J)=>{J.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const f_N1=3,f_N2=3,f_N3=40,f_N4=10;function e(t,_,O){switch(t){case J.Patterns.PATTERN000:return(_+O)%2==0;case J.Patterns.PATTERN001:return _%2==0;case J.Patterns.PATTERN010:return O%3==0;case J.Patterns.PATTERN011:return(_+O)%3==0;case J.Patterns.PATTERN100:return(Math.floor(_/2)+Math.floor(O/3))%2==0;case J.Patterns.PATTERN101:return _*O%2+_*O%3==0;case J.Patterns.PATTERN110:return(_*O%2+_*O%3)%2==0;case J.Patterns.PATTERN111:return(_*O%3+(_+O)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}}J.isValid=function(_){return null!=_&&""!==_&&!isNaN(_)&&_>=0&&_<=7},J.from=function(_){return J.isValid(_)?parseInt(_,10):void 0},J.getPenaltyN1=function(_){const O=_.size;let l=0,C=0,u=0,P=null,p=null;for(let L=0;L<O;L++){C=u=0,P=p=null;for(let D=0;D<O;D++){let k=_.get(L,D);k===P?C++:(C>=5&&(l+=f_N1+(C-5)),P=k,C=1),k=_.get(D,L),k===p?u++:(u>=5&&(l+=f_N1+(u-5)),p=k,u=1)}C>=5&&(l+=f_N1+(C-5)),u>=5&&(l+=f_N1+(u-5))}return l},J.getPenaltyN2=function(_){const O=_.size;let l=0;for(let C=0;C<O-1;C++)for(let u=0;u<O-1;u++){const P=_.get(C,u)+_.get(C,u+1)+_.get(C+1,u)+_.get(C+1,u+1);(4===P||0===P)&&l++}return l*f_N2},J.getPenaltyN3=function(_){const O=_.size;let l=0,C=0,u=0;for(let P=0;P<O;P++){C=u=0;for(let p=0;p<O;p++)C=C<<1&2047|_.get(P,p),p>=10&&(1488===C||93===C)&&l++,u=u<<1&2047|_.get(p,P),p>=10&&(1488===u||93===u)&&l++}return l*f_N3},J.getPenaltyN4=function(_){let O=0;const l=_.data.length;for(let u=0;u<l;u++)O+=_.data[u];return Math.abs(Math.ceil(100*O/l/5)-10)*f_N4},J.applyMask=function(_,O){const l=O.size;for(let C=0;C<l;C++)for(let u=0;u<l;u++)O.isReserved(u,C)||O.xor(u,C,e(_,u,C))},J.getBestMask=function(_,O){const l=Object.keys(J.Patterns).length;let C=0,u=1/0;for(let P=0;P<l;P++){O(P),J.applyMask(P,_);const p=J.getPenaltyN1(_)+J.getPenaltyN2(_)+J.getPenaltyN3(_)+J.getPenaltyN4(_);J.applyMask(P,_),p<u&&(u=p,C=P)}return C}},4059:(Ye,J,f)=>{const e=f(6859),t=f(7526);J.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},J.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},J.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},J.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},J.MIXED={bit:-1},J.getCharCountIndicator=function(l,C){if(!l.ccBits)throw new Error("Invalid mode: "+l);if(!e.isValid(C))throw new Error("Invalid version: "+C);return C>=1&&C<10?l.ccBits[0]:C<27?l.ccBits[1]:l.ccBits[2]},J.getBestModeForData=function(l){return t.testNumeric(l)?J.NUMERIC:t.testAlphanumeric(l)?J.ALPHANUMERIC:t.testKanji(l)?J.KANJI:J.BYTE},J.toString=function(l){if(l&&l.id)return l.id;throw new Error("Invalid mode")},J.isValid=function(l){return l&&l.bit&&l.ccBits},J.from=function(l,C){if(J.isValid(l))return l;try{return function _(O){if("string"!=typeof O)throw new Error("Param is not a string");switch(O.toLowerCase()){case"numeric":return J.NUMERIC;case"alphanumeric":return J.ALPHANUMERIC;case"kanji":return J.KANJI;case"byte":return J.BYTE;default:throw new Error("Unknown mode: "+O)}}(l)}catch{return C}}},9782:(Ye,J,f)=>{const e=f(4059);function t(_){this.mode=e.NUMERIC,this.data=_.toString()}t.getBitsLength=function(O){return 10*Math.floor(O/3)+(O%3?O%3*3+1:0)},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(O){let l,C,u;for(l=0;l+3<=this.data.length;l+=3)C=this.data.substr(l,3),u=parseInt(C,10),O.put(u,10);const P=this.data.length-l;P>0&&(C=this.data.substr(l),u=parseInt(C,10),O.put(u,3*P+1))},Ye.exports=t},1845:(Ye,J,f)=>{const e=f(9240);J.mul=function(_,O){const l=new Uint8Array(_.length+O.length-1);for(let C=0;C<_.length;C++)for(let u=0;u<O.length;u++)l[C+u]^=e.mul(_[C],O[u]);return l},J.mod=function(_,O){let l=new Uint8Array(_);for(;l.length-O.length>=0;){const C=l[0];for(let P=0;P<O.length;P++)l[P]^=e.mul(O[P],C);let u=0;for(;u<l.length&&0===l[u];)u++;l=l.slice(u)}return l},J.generateECPolynomial=function(_){let O=new Uint8Array([1]);for(let l=0;l<_;l++)O=J.mul(O,new Uint8Array([1,e.exp(l)]));return O}},9102:(Ye,J,f)=>{const e=f(2230),t=f(5448),_=f(7701),O=f(9088),l=f(8298),C=f(2903),u=f(6485),P=f(1690),p=f(3035),L=f(8421),D=f(6327),k=f(4059),M=f(2149);function X(pe,le,re){const fe=pe.size,T=D.getEncodedBits(le,re);let i,o;for(i=0;i<15;i++)o=1==(T>>i&1),i<6?pe.set(i,8,o,!0):i<8?pe.set(i+1,8,o,!0):pe.set(fe-15+i,8,o,!0),i<8?pe.set(8,fe-i-1,o,!0):i<9?pe.set(8,15-i-1+1,o,!0):pe.set(8,15-i-1,o,!0);pe.set(fe-8,8,1,!0)}function ae(pe,le,re){const fe=new _;re.forEach(function(h){fe.put(h.mode.bit,4),fe.put(h.getLength(),k.getCharCountIndicator(h.mode,pe)),h.write(fe)});const o=8*(e.getSymbolTotalCodewords(pe)-P.getTotalCodewordsCount(pe,le));for(fe.getLengthInBits()+4<=o&&fe.put(0,4);fe.getLengthInBits()%8!=0;)fe.putBit(0);const m=(o-fe.getLengthInBits())/8;for(let h=0;h<m;h++)fe.put(h%2?17:236,8);return function he(pe,le,re){const fe=e.getSymbolTotalCodewords(le),T=P.getTotalCodewordsCount(le,re),i=fe-T,o=P.getBlocksCount(le,re),h=o-fe%o,x=Math.floor(fe/o),I=Math.floor(i/o),R=I+1,g=x-I,r=new p(g);let w=0;const V=new Array(o),N=new Array(o);let Y=0;const Pe=new Uint8Array(pe.buffer);for(let ge=0;ge<o;ge++){const $e=ge<h?I:R;V[ge]=Pe.slice(w,w+$e),N[ge]=r.encode(V[ge]),w+=$e,Y=Math.max(Y,$e)}const Ce=new Uint8Array(fe);let dt,Ke,Xe=0;for(dt=0;dt<Y;dt++)for(Ke=0;Ke<o;Ke++)dt<V[Ke].length&&(Ce[Xe++]=V[Ke][dt]);for(dt=0;dt<g;dt++)for(Ke=0;Ke<o;Ke++)Ce[Xe++]=N[Ke][dt];return Ce}(fe,pe,le)}function se(pe,le,re,fe){let T;if(Array.isArray(pe))T=M.fromArray(pe);else{if("string"!=typeof pe)throw new Error("Invalid data");{let x=le;if(!x){const I=M.rawSplit(pe);x=L.getBestVersionForData(I,re)}T=M.fromString(pe,x||40)}}const i=L.getBestVersionForData(T,re);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 o=ae(le,re,T),m=e.getSymbolSize(le),h=new O(m);return function z(pe,le){const re=pe.size,fe=C.getPositions(le);for(let T=0;T<fe.length;T++){const i=fe[T][0],o=fe[T][1];for(let m=-1;m<=7;m++)if(!(i+m<=-1||re<=i+m))for(let h=-1;h<=7;h++)o+h<=-1||re<=o+h||(m>=0&&m<=6&&(0===h||6===h)||h>=0&&h<=6&&(0===m||6===m)||m>=2&&m<=4&&h>=2&&h<=4?pe.set(i+m,o+h,!0,!0):pe.set(i+m,o+h,!1,!0))}}(h,le),function A(pe){const le=pe.size;for(let re=8;re<le-8;re++){const fe=re%2==0;pe.set(re,6,fe,!0),pe.set(6,re,fe,!0)}}(h),function W(pe,le){const re=l.getPositions(le);for(let fe=0;fe<re.length;fe++){const T=re[fe][0],i=re[fe][1];for(let o=-2;o<=2;o++)for(let m=-2;m<=2;m++)-2===o||2===o||-2===m||2===m||0===o&&0===m?pe.set(T+o,i+m,!0,!0):pe.set(T+o,i+m,!1,!0)}}(h,le),X(h,re,0),le>=7&&function Z(pe,le){const re=pe.size,fe=L.getEncodedBits(le);let T,i,o;for(let m=0;m<18;m++)T=Math.floor(m/3),i=m%3+re-8-3,o=1==(fe>>m&1),pe.set(T,i,o,!0),pe.set(i,T,o,!0)}(h,le),function $(pe,le){const re=pe.size;let fe=-1,T=re-1,i=7,o=0;for(let m=re-1;m>0;m-=2)for(6===m&&m--;;){for(let h=0;h<2;h++)if(!pe.isReserved(T,m-h)){let x=!1;o<le.length&&(x=1==(le[o]>>>i&1)),pe.set(T,m-h,x),i--,-1===i&&(o++,i=7)}if(T+=fe,T<0||re<=T){T-=fe,fe=-fe;break}}}(h,o),isNaN(fe)&&(fe=u.getBestMask(h,X.bind(null,h,re))),u.applyMask(fe,h),X(h,re,fe),{modules:h,version:le,errorCorrectionLevel:re,maskPattern:fe,segments:T}}J.create=function(le,re){if(typeof le>"u"||""===le)throw new Error("No input text");let T,i,fe=t.M;return typeof re<"u"&&(fe=t.from(re.errorCorrectionLevel,t.M),T=L.from(re.version),i=u.from(re.maskPattern),re.toSJISFunc&&e.setToSJISFunction(re.toSJISFunc)),se(le,T,fe,i)}},3035:(Ye,J,f)=>{const e=f(1845);function t(_){this.genPoly=void 0,this.degree=_,this.degree&&this.initialize(this.degree)}t.prototype.initialize=function(O){this.degree=O,this.genPoly=e.generateECPolynomial(this.degree)},t.prototype.encode=function(O){if(!this.genPoly)throw new Error("Encoder not initialized");const l=new Uint8Array(O.length+this.degree);l.set(O);const C=e.mod(l,this.genPoly),u=this.degree-C.length;if(u>0){const P=new Uint8Array(this.degree);return P.set(C,u),P}return C},Ye.exports=t},7526:(Ye,J)=>{const f="[0-9]+";let t="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";t=t.replace(/u/g,"\\u");const _="(?:(?![A-Z0-9 $%*+\\-./:]|"+t+")(?:.|[\r\n]))+";J.KANJI=new RegExp(t,"g"),J.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),J.BYTE=new RegExp(_,"g"),J.NUMERIC=new RegExp(f,"g"),J.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const O=new RegExp("^"+t+"$"),l=new RegExp("^"+f+"$"),C=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");J.testKanji=function(P){return O.test(P)},J.testNumeric=function(P){return l.test(P)},J.testAlphanumeric=function(P){return C.test(P)}},2149:(Ye,J,f)=>{const e=f(4059),t=f(9782),_=f(9321),O=f(6323),l=f(5134),C=f(7526),u=f(2230),P=f(6348);function p(Z){return unescape(encodeURIComponent(Z)).length}function L(Z,X,$){const ae=[];let he;for(;null!==(he=Z.exec($));)ae.push({data:he[0],index:he.index,mode:X,length:he[0].length});return ae}function D(Z){const X=L(C.NUMERIC,e.NUMERIC,Z),$=L(C.ALPHANUMERIC,e.ALPHANUMERIC,Z);let ae,he;return u.isKanjiModeEnabled()?(ae=L(C.BYTE,e.BYTE,Z),he=L(C.KANJI,e.KANJI,Z)):(ae=L(C.BYTE_KANJI,e.BYTE,Z),he=[]),X.concat($,ae,he).sort(function(pe,le){return pe.index-le.index}).map(function(pe){return{data:pe.data,mode:pe.mode,length:pe.length}})}function k(Z,X){switch(X){case e.NUMERIC:return t.getBitsLength(Z);case e.ALPHANUMERIC:return _.getBitsLength(Z);case e.KANJI:return l.getBitsLength(Z);case e.BYTE:return O.getBitsLength(Z)}}function W(Z,X){let $;const ae=e.getBestModeForData(Z);if($=e.from(X,ae),$!==e.BYTE&&$.bit<ae.bit)throw new Error('"'+Z+'" cannot be encoded with mode '+e.toString($)+".\n Suggested mode is: "+e.toString(ae));switch($===e.KANJI&&!u.isKanjiModeEnabled()&&($=e.BYTE),$){case e.NUMERIC:return new t(Z);case e.ALPHANUMERIC:return new _(Z);case e.KANJI:return new l(Z);case e.BYTE:return new O(Z)}}J.fromArray=function(X){return X.reduce(function($,ae){return"string"==typeof ae?$.push(W(ae,null)):ae.data&&$.push(W(ae.data,ae.mode)),$},[])},J.fromString=function(X,$){const he=function z(Z){const X=[];for(let $=0;$<Z.length;$++){const ae=Z[$];switch(ae.mode){case e.NUMERIC:X.push([ae,{data:ae.data,mode:e.ALPHANUMERIC,length:ae.length},{data:ae.data,mode:e.BYTE,length:ae.length}]);break;case e.ALPHANUMERIC:X.push([ae,{data:ae.data,mode:e.BYTE,length:ae.length}]);break;case e.KANJI:X.push([ae,{data:ae.data,mode:e.BYTE,length:p(ae.data)}]);break;case e.BYTE:X.push([{data:ae.data,mode:e.BYTE,length:p(ae.data)}])}}return X}(D(X,u.isKanjiModeEnabled())),se=function A(Z,X){const $={},ae={start:{}};let he=["start"];for(let se=0;se<Z.length;se++){const pe=Z[se],le=[];for(let re=0;re<pe.length;re++){const fe=pe[re],T=""+se+re;le.push(T),$[T]={node:fe,lastCount:0},ae[T]={};for(let i=0;i<he.length;i++){const o=he[i];$[o]&&$[o].node.mode===fe.mode?(ae[o][T]=k($[o].lastCount+fe.length,fe.mode)-k($[o].lastCount,fe.mode),$[o].lastCount+=fe.length):($[o]&&($[o].lastCount=fe.length),ae[o][T]=k(fe.length,fe.mode)+4+e.getCharCountIndicator(fe.mode,X))}}he=le}for(let se=0;se<he.length;se++)ae[he[se]].end=0;return{map:ae,table:$}}(he,$),pe=P.find_path(se.map,"start","end"),le=[];for(let re=1;re<pe.length-1;re++)le.push(se.table[pe[re]].node);return J.fromArray(function M(Z){return Z.reduce(function(X,$){const ae=X.length-1>=0?X[X.length-1]:null;return ae&&ae.mode===$.mode?(X[X.length-1].data+=$.data,X):(X.push($),X)},[])}(le))},J.rawSplit=function(X){return J.fromArray(D(X,u.isKanjiModeEnabled()))}},2230:(Ye,J)=>{let f;const e=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];J.getSymbolSize=function(_){if(!_)throw new Error('"version" cannot be null or undefined');if(_<1||_>40)throw new Error('"version" should be in range from 1 to 40');return 4*_+17},J.getSymbolTotalCodewords=function(_){return e[_]},J.getBCHDigit=function(t){let _=0;for(;0!==t;)_++,t>>>=1;return _},J.setToSJISFunction=function(_){if("function"!=typeof _)throw new Error('"toSJISFunc" is not a valid function.');f=_},J.isKanjiModeEnabled=function(){return typeof f<"u"},J.toSJIS=function(_){return f(_)}},6859:(Ye,J)=>{J.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},8421:(Ye,J,f)=>{const e=f(2230),t=f(1690),_=f(5448),O=f(4059),l=f(6859),u=e.getBCHDigit(7973);function p(k,M){return O.getCharCountIndicator(k,M)+4}function L(k,M){let z=0;return k.forEach(function(A){const W=p(A.mode,M);z+=W+A.getBitsLength()}),z}J.from=function(M,z){return l.isValid(M)?parseInt(M,10):z},J.getCapacity=function(M,z,A){if(!l.isValid(M))throw new Error("Invalid QR Code version");typeof A>"u"&&(A=O.BYTE);const X=8*(e.getSymbolTotalCodewords(M)-t.getTotalCodewordsCount(M,z));if(A===O.MIXED)return X;const $=X-p(A,M);switch(A){case O.NUMERIC:return Math.floor($/10*3);case O.ALPHANUMERIC:return Math.floor($/11*2);case O.KANJI:return Math.floor($/13);case O.BYTE:default:return Math.floor($/8)}},J.getBestVersionForData=function(M,z){let A;const W=_.from(z,_.M);if(Array.isArray(M)){if(M.length>1)return function D(k,M){for(let z=1;z<=40;z++)if(L(k,z)<=J.getCapacity(z,M,O.MIXED))return z}(M,W);if(0===M.length)return 1;A=M[0]}else A=M;return function P(k,M,z){for(let A=1;A<=40;A++)if(M<=J.getCapacity(A,z,k))return A}(A.mode,A.getLength(),W)},J.getEncodedBits=function(M){if(!l.isValid(M)||M<7)throw new Error("Invalid QR Code version");let z=M<<12;for(;e.getBCHDigit(z)-u>=0;)z^=7973<<e.getBCHDigit(z)-u;return M<<12|z}},9326:(Ye,J,f)=>{const e=f(3239);J.render=function(l,C,u){let P=u,p=C;typeof P>"u"&&(!C||!C.getContext)&&(P=C,C=void 0),C||(p=function _(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}()),P=e.getOptions(P);const L=e.getImageWidth(l.modules.size,P),D=p.getContext("2d"),k=D.createImageData(L,L);return e.qrToImageData(k.data,l,P),function t(O,l,C){O.clearRect(0,0,l.width,l.height),l.style||(l.style={}),l.height=C,l.width=C,l.style.height=C+"px",l.style.width=C+"px"}(D,p,L),D.putImageData(k,0,0),p},J.renderToDataURL=function(l,C,u){let P=u;typeof P>"u"&&(!C||!C.getContext)&&(P=C,C=void 0),P||(P={});const p=J.render(l,C,P),L=P.type||"image/png",D=P.rendererOpts||{};return p.toDataURL(L,D.quality)}},226:(Ye,J,f)=>{const e=f(3239);function t(l,C){const u=l.a/255,P=C+'="'+l.hex+'"';return u<1?P+" "+C+'-opacity="'+u.toFixed(2).slice(1)+'"':P}function _(l,C,u){let P=l+C;return typeof u<"u"&&(P+=" "+u),P}J.render=function(C,u,P){const p=e.getOptions(u),L=C.modules.size,D=C.modules.data,k=L+2*p.margin,M=p.color.light.a?"<path "+t(p.color.light,"fill")+' d="M0 0h'+k+"v"+k+'H0z"/>':"",z="<path "+t(p.color.dark,"stroke")+' d="'+function O(l,C,u){let P="",p=0,L=!1,D=0;for(let k=0;k<l.length;k++){const M=Math.floor(k%C),z=Math.floor(k/C);!M&&!L&&(L=!0),l[k]?(D++,k>0&&M>0&&l[k-1]||(P+=L?_("M",M+u,.5+z+u):_("m",p,0),p=0,L=!1),M+1<C&&l[k+1]||(P+=_("h",D),D=0)):p++}return P}(D,L,p.margin)+'"/>',A='viewBox="0 0 '+k+" "+k+'"',Z='<svg xmlns="http://www.w3.org/2000/svg" '+(p.width?'width="'+p.width+'" height="'+p.width+'" ':"")+A+' shape-rendering="crispEdges">'+M+z+"</svg>\n";return"function"==typeof P&&P(null,Z),Z}},3239:(Ye,J)=>{function f(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw new Error("Color should be defined as hex string");let t=e.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw new Error("Invalid hex color: "+e);(3===t.length||4===t.length)&&(t=Array.prototype.concat.apply([],t.map(function(O){return[O,O]}))),6===t.length&&t.push("F","F");const _=parseInt(t.join(""),16);return{r:_>>24&255,g:_>>16&255,b:_>>8&255,a:255&_,hex:"#"+t.slice(0,6).join("")}}J.getOptions=function(t){t||(t={}),t.color||(t.color={});const _=typeof t.margin>"u"||null===t.margin||t.margin<0?4:t.margin,O=t.width&&t.width>=21?t.width:void 0,l=t.scale||4;return{width:O,scale:O?4:l,margin:_,color:{dark:f(t.color.dark||"#000000ff"),light:f(t.color.light||"#ffffffff")},type:t.type,rendererOpts:t.rendererOpts||{}}},J.getScale=function(t,_){return _.width&&_.width>=t+2*_.margin?_.width/(t+2*_.margin):_.scale},J.getImageWidth=function(t,_){const O=J.getScale(t,_);return Math.floor((t+2*_.margin)*O)},J.qrToImageData=function(t,_,O){const l=_.modules.size,C=_.modules.data,u=J.getScale(l,O),P=Math.floor((l+2*O.margin)*u),p=O.margin*u,L=[O.color.light,O.color.dark];for(let D=0;D<P;D++)for(let k=0;k<P;k++){let M=4*(D*P+k),z=O.color.light;if(D>=p&&k>=p&&D<P-p&&k<P-p){z=L[C[Math.floor((D-p)/u)*l+Math.floor((k-p)/u)]?1:0]}t[M++]=z.r,t[M++]=z.g,t[M++]=z.b,t[M]=z.a}}},1186:(Ye,J,f)=>{"use strict";var e=65536;var O=f(9708).Buffer,l=global.crypto||global.msCrypto;l&&l.getRandomValues?Ye.exports=function C(u,P){if(u>4294967295)throw new RangeError("requested too many random bytes");var p=O.allocUnsafe(u);if(u>0)if(u>e)for(var L=0;L<u;L+=e)l.getRandomValues(p.slice(L,L+e));else l.getRandomValues(p);return"function"==typeof P?process.nextTick(function(){P(null,p)}):p}:Ye.exports=function _(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}},137:(Ye,J,f)=>{"use strict";function e(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var t=f(9708),_=f(1186),O=t.Buffer,l=t.kMaxLength,C=global.crypto||global.msCrypto,u=Math.pow(2,32)-1;function P(M,z){if("number"!=typeof M||M!=M)throw new TypeError("offset must be a number");if(M>u||M<0)throw new TypeError("offset must be a uint32");if(M>l||M>z)throw new RangeError("offset out of range")}function p(M,z,A){if("number"!=typeof M||M!=M)throw new TypeError("size must be a number");if(M>u||M<0)throw new TypeError("size must be a uint32");if(M+z>A||M>l)throw new RangeError("buffer too small")}function D(M,z,A,W){if(process.browser){var Z=M.buffer,X=new Uint8Array(Z,z,A);return C.getRandomValues(X),W?void process.nextTick(function(){W(null,M)}):M}if(!W)return _(A).copy(M,z),M;_(A,function(ae,he){if(ae)return W(ae);he.copy(M,z),W(null,M)})}C&&C.getRandomValues||!process.browser?(J.randomFill=function L(M,z,A,W){if(!(O.isBuffer(M)||M instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof z)W=z,z=0,A=M.length;else if("function"==typeof A)W=A,A=M.length-z;else if("function"!=typeof W)throw new TypeError('"cb" argument must be a function');return P(z,M.length),p(A,z,M.length),D(M,z,A,W)},J.randomFillSync=function k(M,z,A){if(typeof z>"u"&&(z=0),!(O.isBuffer(M)||M instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return P(z,M.length),void 0===A&&(A=M.length-z),p(A,z,M.length),D(M,z,A)}):(J.randomFill=e,J.randomFillSync=e)},7446:Ye=>{"use strict";var f={};function e(C,u,P){P||(P=Error);var L=function(D){function k(M,z,A){return D.call(this,function p(D,k,M){return"string"==typeof u?u:u(D,k,M)}(M,z,A))||this}return function J(C,u){C.prototype=Object.create(u.prototype),C.prototype.constructor=C,C.__proto__=u}(k,D),k}(P);L.prototype.name=P.name,L.prototype.code=C,f[C]=L}function t(C,u){if(Array.isArray(C)){var P=C.length;return C=C.map(function(p){return String(p)}),P>2?"one of ".concat(u," ").concat(C.slice(0,P-1).join(", "),", or ")+C[P-1]:2===P?"one of ".concat(u," ").concat(C[0]," or ").concat(C[1]):"of ".concat(u," ").concat(C[0])}return"of ".concat(u," ").concat(String(C))}e("ERR_INVALID_OPT_VALUE",function(C,u){return'The value "'+u+'" is invalid for option "'+C+'"'},TypeError),e("ERR_INVALID_ARG_TYPE",function(C,u,P){var p,L;if("string"==typeof u&&function _(C,u,P){return C.substr(!P||P<0?0:+P,u.length)===u}(u,"not ")?(p="must not be",u=u.replace(/^not /,"")):p="must be",function O(C,u,P){return(void 0===P||P>C.length)&&(P=C.length),C.substring(P-u.length,P)===u}(C," argument"))L="The ".concat(C," ").concat(p," ").concat(t(u,"type"));else{var D=function l(C,u,P){return"number"!=typeof P&&(P=0),!(P+u.length>C.length)&&-1!==C.indexOf(u,P)}(C,".")?"property":"argument";L='The "'.concat(C,'" ').concat(D," ").concat(p," ").concat(t(u,"type"))}return L+=". Received type ".concat(typeof P)},TypeError),e("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),e("ERR_METHOD_NOT_IMPLEMENTED",function(C){return"The "+C+" method is not implemented"}),e("ERR_STREAM_PREMATURE_CLOSE","Premature close"),e("ERR_STREAM_DESTROYED",function(C){return"Cannot call "+C+" after a stream was destroyed"}),e("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),e("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),e("ERR_STREAM_WRITE_AFTER_END","write after end"),e("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),e("ERR_UNKNOWN_ENCODING",function(C){return"Unknown encoding: "+C},TypeError),e("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),Ye.exports.q=f},9800:(Ye,J,f)=>{"use strict";var e=Object.keys||function(L){var D=[];for(var k in L)D.push(k);return D};Ye.exports=u;var t=f(1396),_=f(1120);f(5035)(u,t);for(var O=e(_.prototype),l=0;l<O.length;l++){var C=O[l];u.prototype[C]||(u.prototype[C]=_.prototype[C])}function u(L){if(!(this instanceof u))return new u(L);t.call(this,L),_.call(this,L),this.allowHalfOpen=!0,L&&(!1===L.readable&&(this.readable=!1),!1===L.writable&&(this.writable=!1),!1===L.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",P)))}function P(){this._writableState.ended||process.nextTick(p,this)}function p(L){L.end()}Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(u.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(D){void 0===this._readableState||void 0===this._writableState||(this._readableState.destroyed=D,this._writableState.destroyed=D)}})},1908:(Ye,J,f)=>{"use strict";Ye.exports=t;var e=f(8157);function t(_){if(!(this instanceof t))return new t(_);e.call(this,_)}f(5035)(t,e),t.prototype._transform=function(_,O,l){l(null,_)}},1396:(Ye,J,f)=>{"use strict";var e;Ye.exports=T,T.ReadableState=fe;f(3358).EventEmitter;var _=function(De,Ue){return De.listeners(Ue).length},O=f(8431),l=f(3195).Buffer,C=global.Uint8Array||function(){};var L,p=f(4616);L=p&&p.debuglog?p.debuglog("stream"):function(){};var ae,he,se,D=f(350),k=f(5923),z=f(1561).getHighWaterMark,A=f(7446).q,W=A.ERR_INVALID_ARG_TYPE,Z=A.ERR_STREAM_PUSH_AFTER_EOF,X=A.ERR_METHOD_NOT_IMPLEMENTED,$=A.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;f(5035)(T,O);var pe=k.errorOrDestroy,le=["error","close","destroy","pause","resume"];function fe(Me,De,Ue){e=e||f(9800),Me=Me||{},"boolean"!=typeof Ue&&(Ue=De instanceof e),this.objectMode=!!Me.objectMode,Ue&&(this.objectMode=this.objectMode||!!Me.readableObjectMode),this.highWaterMark=z(this,Me,"readableHighWaterMark",Ue),this.buffer=new D,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!==Me.emitClose,this.autoDestroy=!!Me.autoDestroy,this.destroyed=!1,this.defaultEncoding=Me.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Me.encoding&&(ae||(ae=f(4547).s),this.decoder=new ae(Me.encoding),this.encoding=Me.encoding)}function T(Me){if(e=e||f(9800),!(this instanceof T))return new T(Me);var De=this instanceof e;this._readableState=new fe(Me,this,De),this.readable=!0,Me&&("function"==typeof Me.read&&(this._read=Me.read),"function"==typeof Me.destroy&&(this._destroy=Me.destroy)),O.call(this)}function i(Me,De,Ue,ye,we){L("readableAddChunk",De);var Se,ie=Me._readableState;if(null===De)ie.reading=!1,function R(Me,De){if(L("onEofChunk"),!De.ended){if(De.decoder){var Ue=De.decoder.end();Ue&&Ue.length&&(De.buffer.push(Ue),De.length+=De.objectMode?1:Ue.length)}De.ended=!0,De.sync?g(Me):(De.needReadable=!1,De.emittedReadable||(De.emittedReadable=!0,r(Me)))}}(Me,ie);else if(we||(Se=function m(Me,De){var Ue;return!function P(Me){return l.isBuffer(Me)||Me instanceof C}(De)&&"string"!=typeof De&&void 0!==De&&!Me.objectMode&&(Ue=new W("chunk",["string","Buffer","Uint8Array"],De)),Ue}(ie,De)),Se)pe(Me,Se);else if(ie.objectMode||De&&De.length>0)if("string"!=typeof De&&!ie.objectMode&&Object.getPrototypeOf(De)!==l.prototype&&(De=function u(Me){return l.from(Me)}(De)),ye)ie.endEmitted?pe(Me,new $):o(Me,ie,De,!0);else if(ie.ended)pe(Me,new Z);else{if(ie.destroyed)return!1;ie.reading=!1,ie.decoder&&!Ue?(De=ie.decoder.write(De),ie.objectMode||0!==De.length?o(Me,ie,De,!1):w(Me,ie)):o(Me,ie,De,!1)}else ye||(ie.reading=!1,w(Me,ie));return!ie.ended&&(ie.length<ie.highWaterMark||0===ie.length)}function o(Me,De,Ue,ye){De.flowing&&0===De.length&&!De.sync?(De.awaitDrain=0,Me.emit("data",Ue)):(De.length+=De.objectMode?1:Ue.length,ye?De.buffer.unshift(Ue):De.buffer.push(Ue),De.needReadable&&g(Me)),w(Me,De)}Object.defineProperty(T.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(De){!this._readableState||(this._readableState.destroyed=De)}}),T.prototype.destroy=k.destroy,T.prototype._undestroy=k.undestroy,T.prototype._destroy=function(Me,De){De(Me)},T.prototype.push=function(Me,De){var ye,Ue=this._readableState;return Ue.objectMode?ye=!0:"string"==typeof Me&&((De=De||Ue.defaultEncoding)!==Ue.encoding&&(Me=l.from(Me,De),De=""),ye=!0),i(this,Me,De,!1,ye)},T.prototype.unshift=function(Me){return i(this,Me,null,!0,!1)},T.prototype.isPaused=function(){return!1===this._readableState.flowing},T.prototype.setEncoding=function(Me){ae||(ae=f(4547).s);var De=new ae(Me);this._readableState.decoder=De,this._readableState.encoding=this._readableState.decoder.encoding;for(var Ue=this._readableState.buffer.head,ye="";null!==Ue;)ye+=De.write(Ue.data),Ue=Ue.next;return this._readableState.buffer.clear(),""!==ye&&this._readableState.buffer.push(ye),this._readableState.length=ye.length,this};var h=1073741824;function I(Me,De){return Me<=0||0===De.length&&De.ended?0:De.objectMode?1:Me!=Me?De.flowing&&De.length?De.buffer.head.data.length:De.length:(Me>De.highWaterMark&&(De.highWaterMark=function x(Me){return Me>=h?Me=h:(Me--,Me|=Me>>>1,Me|=Me>>>2,Me|=Me>>>4,Me|=Me>>>8,Me|=Me>>>16,Me++),Me}(Me)),Me<=De.length?Me:De.ended?De.length:(De.needReadable=!0,0))}function g(Me){var De=Me._readableState;L("emitReadable",De.needReadable,De.emittedReadable),De.needReadable=!1,De.emittedReadable||(L("emitReadable",De.flowing),De.emittedReadable=!0,process.nextTick(r,Me))}function r(Me){var De=Me._readableState;L("emitReadable_",De.destroyed,De.length,De.ended),!De.destroyed&&(De.length||De.ended)&&(Me.emit("readable"),De.emittedReadable=!1),De.needReadable=!De.flowing&&!De.ended&&De.length<=De.highWaterMark,dt(Me)}function w(Me,De){De.readingMore||(De.readingMore=!0,process.nextTick(V,Me,De))}function V(Me,De){for(;!De.reading&&!De.ended&&(De.length<De.highWaterMark||De.flowing&&0===De.length);){var Ue=De.length;if(L("maybeReadMore read 0"),Me.read(0),Ue===De.length)break}De.readingMore=!1}function Y(Me){var De=Me._readableState;De.readableListening=Me.listenerCount("readable")>0,De.resumeScheduled&&!De.paused?De.flowing=!0:Me.listenerCount("data")>0&&Me.resume()}function Pe(Me){L("readable nexttick read 0"),Me.read(0)}function Xe(Me,De){L("resume",De.reading),De.reading||Me.read(0),De.resumeScheduled=!1,Me.emit("resume"),dt(Me),De.flowing&&!De.reading&&Me.read(0)}function dt(Me){var De=Me._readableState;for(L("flow",De.flowing);De.flowing&&null!==Me.read(););}function Ke(Me,De){return 0===De.length?null:(De.objectMode?Ue=De.buffer.shift():!Me||Me>=De.length?(Ue=De.decoder?De.buffer.join(""):1===De.buffer.length?De.buffer.first():De.buffer.concat(De.length),De.buffer.clear()):Ue=De.buffer.consume(Me,De.decoder),Ue);var Ue}function ge(Me){var De=Me._readableState;L("endReadable",De.endEmitted),De.endEmitted||(De.ended=!0,process.nextTick($e,De,Me))}function $e(Me,De){if(L("endReadableNT",Me.endEmitted,Me.length),!Me.endEmitted&&0===Me.length&&(Me.endEmitted=!0,De.readable=!1,De.emit("end"),Me.autoDestroy)){var Ue=De._writableState;(!Ue||Ue.autoDestroy&&Ue.finished)&&De.destroy()}}function Oe(Me,De){for(var Ue=0,ye=Me.length;Ue<ye;Ue++)if(Me[Ue]===De)return Ue;return-1}T.prototype.read=function(Me){L("read",Me),Me=parseInt(Me,10);var De=this._readableState,Ue=Me;if(0!==Me&&(De.emittedReadable=!1),0===Me&&De.needReadable&&((0!==De.highWaterMark?De.length>=De.highWaterMark:De.length>0)||De.ended))return L("read: emitReadable",De.length,De.ended),0===De.length&&De.ended?ge(this):g(this),null;if(0===(Me=I(Me,De))&&De.ended)return 0===De.length&&ge(this),null;var we,ye=De.needReadable;return L("need readable",ye),(0===De.length||De.length-Me<De.highWaterMark)&&L("length less than watermark",ye=!0),De.ended||De.reading?L("reading or ended",ye=!1):ye&&(L("do read"),De.reading=!0,De.sync=!0,0===De.length&&(De.needReadable=!0),this._read(De.highWaterMark),De.sync=!1,De.reading||(Me=I(Ue,De))),null===(we=Me>0?Ke(Me,De):null)?(De.needReadable=De.length<=De.highWaterMark,Me=0):(De.length-=Me,De.awaitDrain=0),0===De.length&&(De.ended||(De.needReadable=!0),Ue!==Me&&De.ended&&ge(this)),null!==we&&this.emit("data",we),we},T.prototype._read=function(Me){pe(this,new X("_read()"))},T.prototype.pipe=function(Me,De){var Ue=this,ye=this._readableState;switch(ye.pipesCount){case 0:ye.pipes=Me;break;case 1:ye.pipes=[ye.pipes,Me];break;default:ye.pipes.push(Me)}ye.pipesCount+=1,L("pipe count=%d opts=%j",ye.pipesCount,De);var ie=(!De||!1!==De.end)&&Me!==process.stdout&&Me!==process.stderr?ne:it;function Se(ii,bt){L("onunpipe"),ii===Ue&&bt&&!1===bt.hasUnpiped&&(bt.hasUnpiped=!0,function ze(){L("cleanup"),Me.removeListener("close",at),Me.removeListener("finish",qe),Me.removeListener("drain",K),Me.removeListener("error",oe),Me.removeListener("unpipe",Se),Ue.removeListener("end",ne),Ue.removeListener("end",it),Ue.removeListener("data",Ve),ee=!0,ye.awaitDrain&&(!Me._writableState||Me._writableState.needDrain)&&K()}())}function ne(){L("onend"),Me.end()}ye.endEmitted?process.nextTick(ie):Ue.once("end",ie),Me.on("unpipe",Se);var K=function N(Me){return function(){var Ue=Me._readableState;L("pipeOnDrain",Ue.awaitDrain),Ue.awaitDrain&&Ue.awaitDrain--,0===Ue.awaitDrain&&_(Me,"data")&&(Ue.flowing=!0,dt(Me))}}(Ue);Me.on("drain",K);var ee=!1;function Ve(ii){L("ondata");var bt=Me.write(ii);L("dest.write",bt),!1===bt&&((1===ye.pipesCount&&ye.pipes===Me||ye.pipesCount>1&&-1!==Oe(ye.pipes,Me))&&!ee&&(L("false write response, pause",ye.awaitDrain),ye.awaitDrain++),Ue.pause())}function oe(ii){L("onerror",ii),it(),Me.removeListener("error",oe),0===_(Me,"error")&&pe(Me,ii)}function at(){Me.removeListener("finish",qe),it()}function qe(){L("onfinish"),Me.removeListener("close",at),it()}function it(){L("unpipe"),Ue.unpipe(Me)}return Ue.on("data",Ve),function re(Me,De,Ue){if("function"==typeof Me.prependListener)return Me.prependListener(De,Ue);Me._events&&Me._events[De]?Array.isArray(Me._events[De])?Me._events[De].unshift(Ue):Me._events[De]=[Ue,Me._events[De]]:Me.on(De,Ue)}(Me,"error",oe),Me.once("close",at),Me.once("finish",qe),Me.emit("pipe",Ue),ye.flowing||(L("pipe resume"),Ue.resume()),Me},T.prototype.unpipe=function(Me){var De=this._readableState,Ue={hasUnpiped:!1};if(0===De.pipesCount)return this;if(1===De.pipesCount)return Me&&Me!==De.pipes||(Me||(Me=De.pipes),De.pipes=null,De.pipesCount=0,De.flowing=!1,Me&&Me.emit("unpipe",this,Ue)),this;if(!Me){var ye=De.pipes,we=De.pipesCount;De.pipes=null,De.pipesCount=0,De.flowing=!1;for(var ie=0;ie<we;ie++)ye[ie].emit("unpipe",this,{hasUnpiped:!1});return this}var Se=Oe(De.pipes,Me);return-1===Se||(De.pipes.splice(Se,1),De.pipesCount-=1,1===De.pipesCount&&(De.pipes=De.pipes[0]),Me.emit("unpipe",this,Ue)),this},T.prototype.on=function(Me,De){var Ue=O.prototype.on.call(this,Me,De),ye=this._readableState;return"data"===Me?(ye.readableListening=this.listenerCount("readable")>0,!1!==ye.flowing&&this.resume()):"readable"===Me&&!ye.endEmitted&&!ye.readableListening&&(ye.readableListening=ye.needReadable=!0,ye.flowing=!1,ye.emittedReadable=!1,L("on readable",ye.length,ye.reading),ye.length?g(this):ye.reading||process.nextTick(Pe,this)),Ue},T.prototype.addListener=T.prototype.on,T.prototype.removeListener=function(Me,De){var Ue=O.prototype.removeListener.call(this,Me,De);return"readable"===Me&&process.nextTick(Y,this),Ue},T.prototype.removeAllListeners=function(Me){var De=O.prototype.removeAllListeners.apply(this,arguments);return("readable"===Me||void 0===Me)&&process.nextTick(Y,this),De},T.prototype.resume=function(){var Me=this._readableState;return Me.flowing||(L("resume"),Me.flowing=!Me.readableListening,function Ce(Me,De){De.resumeScheduled||(De.resumeScheduled=!0,process.nextTick(Xe,Me,De))}(this,Me)),Me.paused=!1,this},T.prototype.pause=function(){return L("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(L("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},T.prototype.wrap=function(Me){var De=this,Ue=this._readableState,ye=!1;for(var we in Me.on("end",function(){if(L("wrapped end"),Ue.decoder&&!Ue.ended){var Se=Ue.decoder.end();Se&&Se.length&&De.push(Se)}De.push(null)}),Me.on("data",function(Se){(L("wrapped data"),Ue.decoder&&(Se=Ue.decoder.write(Se)),Ue.objectMode&&null==Se||!(Ue.objectMode||Se&&Se.length))||(De.push(Se)||(ye=!0,Me.pause()))}),Me)void 0===this[we]&&"function"==typeof Me[we]&&(this[we]=function(ne){return function(){return Me[ne].apply(Me,arguments)}}(we));for(var ie=0;ie<le.length;ie++)Me.on(le[ie],this.emit.bind(this,le[ie]));return this._read=function(Se){L("wrapped _read",Se),ye&&(ye=!1,Me.resume())},this},"function"==typeof Symbol&&(T.prototype[Symbol.asyncIterator]=function(){return void 0===he&&(he=f(2325)),he(this)}),Object.defineProperty(T.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(T.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(T.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(De){this._readableState&&(this._readableState.flowing=De)}}),T._fromList=Ke,Object.defineProperty(T.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(T.from=function(Me,De){return void 0===se&&(se=f(6757)),se(T,Me,De)})},8157:(Ye,J,f)=>{"use strict";Ye.exports=P;var e=f(7446).q,t=e.ERR_METHOD_NOT_IMPLEMENTED,_=e.ERR_MULTIPLE_CALLBACK,O=e.ERR_TRANSFORM_ALREADY_TRANSFORMING,l=e.ERR_TRANSFORM_WITH_LENGTH_0,C=f(9800);function u(D,k){var M=this._transformState;M.transforming=!1;var z=M.writecb;if(null===z)return this.emit("error",new _);M.writechunk=null,M.writecb=null,null!=k&&this.push(k),z(D);var A=this._readableState;A.reading=!1,(A.needReadable||A.length<A.highWaterMark)&&this._read(A.highWaterMark)}function P(D){if(!(this instanceof P))return new P(D);C.call(this,D),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,D&&("function"==typeof D.transform&&(this._transform=D.transform),"function"==typeof D.flush&&(this._flush=D.flush)),this.on("prefinish",p)}function p(){var D=this;"function"!=typeof this._flush||this._readableState.destroyed?L(this,null,null):this._flush(function(k,M){L(D,k,M)})}function L(D,k,M){if(k)return D.emit("error",k);if(null!=M&&D.push(M),D._writableState.length)throw new l;if(D._transformState.transforming)throw new O;return D.push(null)}f(5035)(P,C),P.prototype.push=function(D,k){return this._transformState.needTransform=!1,C.prototype.push.call(this,D,k)},P.prototype._transform=function(D,k,M){M(new t("_transform()"))},P.prototype._write=function(D,k,M){var z=this._transformState;if(z.writecb=M,z.writechunk=D,z.writeencoding=k,!z.transforming){var A=this._readableState;(z.needTransform||A.needReadable||A.length<A.highWaterMark)&&this._read(A.highWaterMark)}},P.prototype._read=function(D){var k=this._transformState;null===k.writechunk||k.transforming?k.needTransform=!0:(k.transforming=!0,this._transform(k.writechunk,k.writeencoding,k.afterTransform))},P.prototype._destroy=function(D,k){C.prototype._destroy.call(this,D,function(M){k(M)})}},1120:(Ye,J,f)=>{"use strict";function t(dt){var Ke=this;this.next=null,this.entry=null,this.finish=function(){!function Xe(dt,Ke,ge){var $e=dt.entry;for(dt.entry=null;$e;){var Oe=$e.callback;Ke.pendingcb--,Oe(ge),$e=$e.next}Ke.corkedRequestsFree.next=dt}(Ke,dt)}}var _;Ye.exports=fe,fe.WritableState=le;var O={deprecate:f(8059)},l=f(8431),C=f(3195).Buffer,u=global.Uint8Array||function(){};var re,L=f(5923),k=f(1561).getHighWaterMark,M=f(7446).q,z=M.ERR_INVALID_ARG_TYPE,A=M.ERR_METHOD_NOT_IMPLEMENTED,W=M.ERR_MULTIPLE_CALLBACK,Z=M.ERR_STREAM_CANNOT_PIPE,X=M.ERR_STREAM_DESTROYED,$=M.ERR_STREAM_NULL_VALUES,ae=M.ERR_STREAM_WRITE_AFTER_END,he=M.ERR_UNKNOWN_ENCODING,se=L.errorOrDestroy;function pe(){}function le(dt,Ke,ge){_=_||f(9800),dt=dt||{},"boolean"!=typeof ge&&(ge=Ke instanceof _),this.objectMode=!!dt.objectMode,ge&&(this.objectMode=this.objectMode||!!dt.writableObjectMode),this.highWaterMark=k(this,dt,"writableHighWaterMark",ge),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var $e=!1===dt.decodeStrings;this.decodeStrings=!$e,this.defaultEncoding=dt.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Oe){!function R(dt,Ke){var ge=dt._writableState,$e=ge.sync,Oe=ge.writecb;if("function"!=typeof Oe)throw new W;if(function I(dt){dt.writing=!1,dt.writecb=null,dt.length-=dt.writelen,dt.writelen=0}(ge),Ke)!function x(dt,Ke,ge,$e,Oe){--Ke.pendingcb,ge?(process.nextTick(Oe,$e),process.nextTick(Pe,dt,Ke),dt._writableState.errorEmitted=!0,se(dt,$e)):(Oe($e),dt._writableState.errorEmitted=!0,se(dt,$e),Pe(dt,Ke))}(dt,ge,$e,Ke,Oe);else{var Me=V(ge)||dt.destroyed;!Me&&!ge.corked&&!ge.bufferProcessing&&ge.bufferedRequest&&w(dt,ge),$e?process.nextTick(g,dt,ge,Me,Oe):g(dt,ge,Me,Oe)}}(Ke,Oe)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==dt.emitClose,this.autoDestroy=!!dt.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new t(this)}function fe(dt){var Ke=this instanceof(_=_||f(9800));if(!Ke&&!re.call(fe,this))return new fe(dt);this._writableState=new le(dt,this,Ke),this.writable=!0,dt&&("function"==typeof dt.write&&(this._write=dt.write),"function"==typeof dt.writev&&(this._writev=dt.writev),"function"==typeof dt.destroy&&(this._destroy=dt.destroy),"function"==typeof dt.final&&(this._final=dt.final)),l.call(this)}function h(dt,Ke,ge,$e,Oe,Me,De){Ke.writelen=$e,Ke.writecb=De,Ke.writing=!0,Ke.sync=!0,Ke.destroyed?Ke.onwrite(new X("write")):ge?dt._writev(Oe,Ke.onwrite):dt._write(Oe,Me,Ke.onwrite),Ke.sync=!1}function g(dt,Ke,ge,$e){ge||function r(dt,Ke){0===Ke.length&&Ke.needDrain&&(Ke.needDrain=!1,dt.emit("drain"))}(dt,Ke),Ke.pendingcb--,$e(),Pe(dt,Ke)}function w(dt,Ke){Ke.bufferProcessing=!0;var ge=Ke.bufferedRequest;if(dt._writev&&ge&&ge.next){var $e=Ke.bufferedRequestCount,Oe=new Array($e),Me=Ke.corkedRequestsFree;Me.entry=ge;for(var De=0,Ue=!0;ge;)Oe[De]=ge,ge.isBuf||(Ue=!1),ge=ge.next,De+=1;Oe.allBuffers=Ue,h(dt,Ke,!0,Ke.length,Oe,"",Me.finish),Ke.pendingcb++,Ke.lastBufferedRequest=null,Me.next?(Ke.corkedRequestsFree=Me.next,Me.next=null):Ke.corkedRequestsFree=new t(Ke),Ke.bufferedRequestCount=0}else{for(;ge;){var ye=ge.chunk,we=ge.encoding,ie=ge.callback;if(h(dt,Ke,!1,Ke.objectMode?1:ye.length,ye,we,ie),ge=ge.next,Ke.bufferedRequestCount--,Ke.writing)break}null===ge&&(Ke.lastBufferedRequest=null)}Ke.bufferedRequest=ge,Ke.bufferProcessing=!1}function V(dt){return dt.ending&&0===dt.length&&null===dt.bufferedRequest&&!dt.finished&&!dt.writing}function N(dt,Ke){dt._final(function(ge){Ke.pendingcb--,ge&&se(dt,ge),Ke.prefinished=!0,dt.emit("prefinish"),Pe(dt,Ke)})}function Pe(dt,Ke){var ge=V(Ke);if(ge&&(function Y(dt,Ke){!Ke.prefinished&&!Ke.finalCalled&&("function"!=typeof dt._final||Ke.destroyed?(Ke.prefinished=!0,dt.emit("prefinish")):(Ke.pendingcb++,Ke.finalCalled=!0,process.nextTick(N,dt,Ke)))}(dt,Ke),0===Ke.pendingcb&&(Ke.finished=!0,dt.emit("finish"),Ke.autoDestroy))){var $e=dt._readableState;(!$e||$e.autoDestroy&&$e.endEmitted)&&dt.destroy()}return ge}f(5035)(fe,l),le.prototype.getBuffer=function(){for(var Ke=this.bufferedRequest,ge=[];Ke;)ge.push(Ke),Ke=Ke.next;return ge},function(){try{Object.defineProperty(le.prototype,"buffer",{get:O.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]?(re=Function.prototype[Symbol.hasInstance],Object.defineProperty(fe,Symbol.hasInstance,{value:function(Ke){return!!re.call(this,Ke)||this===fe&&(Ke&&Ke._writableState instanceof le)}})):re=function(Ke){return Ke instanceof this},fe.prototype.pipe=function(){se(this,new Z)},fe.prototype.write=function(dt,Ke,ge){var $e=this._writableState,Oe=!1,Me=!$e.objectMode&&function p(dt){return C.isBuffer(dt)||dt instanceof u}(dt);return Me&&!C.isBuffer(dt)&&(dt=function P(dt){return C.from(dt)}(dt)),"function"==typeof Ke&&(ge=Ke,Ke=null),Me?Ke="buffer":Ke||(Ke=$e.defaultEncoding),"function"!=typeof ge&&(ge=pe),$e.ending?function T(dt,Ke){var ge=new ae;se(dt,ge),process.nextTick(Ke,ge)}(this,ge):(Me||function i(dt,Ke,ge,$e){var Oe;return null===ge?Oe=new $:"string"!=typeof ge&&!Ke.objectMode&&(Oe=new z("chunk",["string","Buffer"],ge)),!Oe||(se(dt,Oe),process.nextTick($e,Oe),!1)}(this,$e,dt,ge))&&($e.pendingcb++,Oe=function m(dt,Ke,ge,$e,Oe,Me){if(!ge){var De=function o(dt,Ke,ge){return!dt.objectMode&&!1!==dt.decodeStrings&&"string"==typeof Ke&&(Ke=C.from(Ke,ge)),Ke}(Ke,$e,Oe);$e!==De&&(ge=!0,Oe="buffer",$e=De)}var Ue=Ke.objectMode?1:$e.length;Ke.length+=Ue;var ye=Ke.length<Ke.highWaterMark;if(ye||(Ke.needDrain=!0),Ke.writing||Ke.corked){var we=Ke.lastBufferedRequest;Ke.lastBufferedRequest={chunk:$e,encoding:Oe,isBuf:ge,callback:Me,next:null},we?we.next=Ke.lastBufferedRequest:Ke.bufferedRequest=Ke.lastBufferedRequest,Ke.bufferedRequestCount+=1}else h(dt,Ke,!1,Ue,$e,Oe,Me);return ye}(this,$e,Me,dt,Ke,ge)),Oe},fe.prototype.cork=function(){this._writableState.corked++},fe.prototype.uncork=function(){var dt=this._writableState;dt.corked&&(dt.corked--,!dt.writing&&!dt.corked&&!dt.bufferProcessing&&dt.bufferedRequest&&w(this,dt))},fe.prototype.setDefaultEncoding=function(Ke){if("string"==typeof Ke&&(Ke=Ke.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Ke+"").toLowerCase())>-1))throw new he(Ke);return this._writableState.defaultEncoding=Ke,this},Object.defineProperty(fe.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(fe.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),fe.prototype._write=function(dt,Ke,ge){ge(new A("_write()"))},fe.prototype._writev=null,fe.prototype.end=function(dt,Ke,ge){var $e=this._writableState;return"function"==typeof dt?(ge=dt,dt=null,Ke=null):"function"==typeof Ke&&(ge=Ke,Ke=null),null!=dt&&this.write(dt,Ke),$e.corked&&($e.corked=1,this.uncork()),$e.ending||function Ce(dt,Ke,ge){Ke.ending=!0,Pe(dt,Ke),ge&&(Ke.finished?process.nextTick(ge):dt.once("finish",ge)),Ke.ended=!0,dt.writable=!1}(this,$e,ge),this},Object.defineProperty(fe.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(fe.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(Ke){!this._writableState||(this._writableState.destroyed=Ke)}}),fe.prototype.destroy=L.destroy,fe.prototype._undestroy=L.undestroy,fe.prototype._destroy=function(dt,Ke){Ke(dt)}},2325:(Ye,J,f)=>{"use strict";var e;function t(X,$,ae){return $ in X?Object.defineProperty(X,$,{value:ae,enumerable:!0,configurable:!0,writable:!0}):X[$]=ae,X}var _=f(7722),O=Symbol("lastResolve"),l=Symbol("lastReject"),C=Symbol("error"),u=Symbol("ended"),P=Symbol("lastPromise"),p=Symbol("handlePromise"),L=Symbol("stream");function D(X,$){return{value:X,done:$}}function k(X){var $=X[O];if(null!==$){var ae=X[L].read();null!==ae&&(X[P]=null,X[O]=null,X[l]=null,$(D(ae,!1)))}}function M(X){process.nextTick(k,X)}var A=Object.getPrototypeOf(function(){}),W=Object.setPrototypeOf((t(e={get stream(){return this[L]},next:function(){var $=this,ae=this[C];if(null!==ae)return Promise.reject(ae);if(this[u])return Promise.resolve(D(void 0,!0));if(this[L].destroyed)return new Promise(function(le,re){process.nextTick(function(){$[C]?re($[C]):le(D(void 0,!0))})});var se,he=this[P];if(he)se=new Promise(function z(X,$){return function(ae,he){X.then(function(){$[u]?ae(D(void 0,!0)):$[p](ae,he)},he)}}(he,this));else{var pe=this[L].read();if(null!==pe)return Promise.resolve(D(pe,!1));se=new Promise(this[p])}return this[P]=se,se}},Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var $=this;return new Promise(function(ae,he){$[L].destroy(null,function(se){se?he(se):ae(D(void 0,!0))})})}),e),A);Ye.exports=function($){var ae,he=Object.create(W,(t(ae={},L,{value:$,writable:!0}),t(ae,O,{value:null,writable:!0}),t(ae,l,{value:null,writable:!0}),t(ae,C,{value:null,writable:!0}),t(ae,u,{value:$._readableState.endEmitted,writable:!0}),t(ae,p,{value:function(pe,le){var re=he[L].read();re?(he[P]=null,he[O]=null,he[l]=null,pe(D(re,!1))):(he[O]=pe,he[l]=le)},writable:!0}),ae));return he[P]=null,_($,function(se){if(se&&"ERR_STREAM_PREMATURE_CLOSE"!==se.code){var pe=he[l];return null!==pe&&(he[P]=null,he[O]=null,he[l]=null,pe(se)),void(he[C]=se)}var le=he[O];null!==le&&(he[P]=null,he[O]=null,he[l]=null,le(D(void 0,!0))),he[u]=!0}),$.on("readable",M.bind(null,he)),he}},350:(Ye,J,f)=>{"use strict";function e(M,z){var A=Object.keys(M);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(M);z&&(W=W.filter(function(Z){return Object.getOwnPropertyDescriptor(M,Z).enumerable})),A.push.apply(A,W)}return A}function _(M,z,A){return z in M?Object.defineProperty(M,z,{value:A,enumerable:!0,configurable:!0,writable:!0}):M[z]=A,M}function l(M,z){for(var A=0;A<z.length;A++){var W=z[A];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(M,W.key,W)}}var P=f(3195).Buffer,L=f(2361).inspect,D=L&&L.custom||"inspect";function k(M,z,A){P.prototype.copy.call(M,z,A)}Ye.exports=function(){function M(){(function O(M,z){if(!(M instanceof z))throw new TypeError("Cannot call a class as a function")})(this,M),this.head=null,this.tail=null,this.length=0}return function C(M,z,A){return z&&l(M.prototype,z),A&&l(M,A),M}(M,[{key:"push",value:function(A){var W={data:A,next:null};this.length>0?this.tail.next=W:this.head=W,this.tail=W,++this.length}},{key:"unshift",value:function(A){var W={data:A,next:this.head};0===this.length&&(this.tail=W),this.head=W,++this.length}},{key:"shift",value:function(){if(0!==this.length){var A=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,A}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(A){if(0===this.length)return"";for(var W=this.head,Z=""+W.data;W=W.next;)Z+=A+W.data;return Z}},{key:"concat",value:function(A){if(0===this.length)return P.alloc(0);for(var W=P.allocUnsafe(A>>>0),Z=this.head,X=0;Z;)k(Z.data,W,X),X+=Z.data.length,Z=Z.next;return W}},{key:"consume",value:function(A,W){var Z;return A<this.head.data.length?(Z=this.head.data.slice(0,A),this.head.data=this.head.data.slice(A)):Z=A===this.head.data.length?this.shift():W?this._getString(A):this._getBuffer(A),Z}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(A){var W=this.head,Z=1,X=W.data;for(A-=X.length;W=W.next;){var $=W.data,ae=A>$.length?$.length:A;if(ae===$.length?X+=$:X+=$.slice(0,A),0===(A-=ae)){ae===$.length?(++Z,W.next?this.head=W.next:this.head=this.tail=null):(this.head=W,W.data=$.slice(ae));break}++Z}return this.length-=Z,X}},{key:"_getBuffer",value:function(A){var W=P.allocUnsafe(A),Z=this.head,X=1;for(Z.data.copy(W),A-=Z.data.length;Z=Z.next;){var $=Z.data,ae=A>$.length?$.length:A;if($.copy(W,W.length-A,0,ae),0===(A-=ae)){ae===$.length?(++X,Z.next?this.head=Z.next:this.head=this.tail=null):(this.head=Z,Z.data=$.slice(ae));break}++X}return this.length-=X,W}},{key:D,value:function(A,W){return L(this,function t(M){for(var z=1;z<arguments.length;z++){var A=null!=arguments[z]?arguments[z]:{};z%2?e(Object(A),!0).forEach(function(W){_(M,W,A[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(M,Object.getOwnPropertyDescriptors(A)):e(Object(A)).forEach(function(W){Object.defineProperty(M,W,Object.getOwnPropertyDescriptor(A,W))})}return M}({},W,{depth:0,customInspect:!1}))}}]),M}()},5923:Ye=>{"use strict";function f(l,C){_(l,C),e(l)}function e(l){l._writableState&&!l._writableState.emitClose||l._readableState&&!l._readableState.emitClose||l.emit("close")}function _(l,C){l.emit("error",C)}Ye.exports={destroy:function J(l,C){var u=this,P=this._readableState&&this._readableState.destroyed,p=this._writableState&&this._writableState.destroyed;return P||p?(C?C(l):l&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(_,this,l)):process.nextTick(_,this,l)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(l||null,function(L){!C&&L?u._writableState?u._writableState.errorEmitted?process.nextTick(e,u):(u._writableState.errorEmitted=!0,process.nextTick(f,u,L)):process.nextTick(f,u,L):C?(process.nextTick(e,u),C(L)):process.nextTick(e,u)}),this)},undestroy:function t(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function O(l,C){var u=l._readableState,P=l._writableState;u&&u.autoDestroy||P&&P.autoDestroy?l.destroy(C):l.emit("error",C)}}},7722:(Ye,J,f)=>{"use strict";var e=f(7446).q.ERR_STREAM_PREMATURE_CLOSE;function _(){}Ye.exports=function l(C,u,P){if("function"==typeof u)return l(C,null,u);u||(u={}),P=function t(C){var u=!1;return function(){if(!u){u=!0;for(var P=arguments.length,p=new Array(P),L=0;L<P;L++)p[L]=arguments[L];C.apply(this,p)}}}(P||_);var p=u.readable||!1!==u.readable&&C.readable,L=u.writable||!1!==u.writable&&C.writable,D=function(){C.writable||M()},k=C._writableState&&C._writableState.finished,M=function(){L=!1,k=!0,p||P.call(C)},z=C._readableState&&C._readableState.endEmitted,A=function(){p=!1,z=!0,L||P.call(C)},W=function(ae){P.call(C,ae)},Z=function(){var ae;return p&&!z?((!C._readableState||!C._readableState.ended)&&(ae=new e),P.call(C,ae)):L&&!k?((!C._writableState||!C._writableState.ended)&&(ae=new e),P.call(C,ae)):void 0},X=function(){C.req.on("finish",M)};return function O(C){return C.setHeader&&"function"==typeof C.abort}(C)?(C.on("complete",M),C.on("abort",Z),C.req?X():C.on("request",X)):L&&!C._writableState&&(C.on("end",D),C.on("close",D)),C.on("end",A),C.on("finish",M),!1!==u.error&&C.on("error",W),C.on("close",Z),function(){C.removeListener("complete",M),C.removeListener("abort",Z),C.removeListener("request",X),C.req&&C.req.removeListener("finish",M),C.removeListener("end",D),C.removeListener("close",D),C.removeListener("finish",M),C.removeListener("end",A),C.removeListener("error",W),C.removeListener("close",Z)}}},6757:Ye=>{Ye.exports=function(){throw new Error("Readable.from is not available in the browser")}},8096:(Ye,J,f)=>{"use strict";var e;var _=f(7446).q,O=_.ERR_MISSING_ARGS,l=_.ERR_STREAM_DESTROYED;function C(M){if(M)throw M}function P(M,z,A,W){W=function t(M){var z=!1;return function(){z||(z=!0,M.apply(void 0,arguments))}}(W);var Z=!1;M.on("close",function(){Z=!0}),void 0===e&&(e=f(7722)),e(M,{readable:z,writable:A},function($){if($)return W($);Z=!0,W()});var X=!1;return function($){if(!Z&&!X){if(X=!0,function u(M){return M.setHeader&&"function"==typeof M.abort}(M))return M.abort();if("function"==typeof M.destroy)return M.destroy();W($||new l("pipe"))}}}function p(M){M()}function L(M,z){return M.pipe(z)}function D(M){return M.length&&"function"==typeof M[M.length-1]?M.pop():C}Ye.exports=function k(){for(var M=arguments.length,z=new Array(M),A=0;A<M;A++)z[A]=arguments[A];var W=D(z);if(Array.isArray(z[0])&&(z=z[0]),z.length<2)throw new O("streams");var Z,X=z.map(function($,ae){var he=ae<z.length-1;return P($,he,ae>0,function(pe){Z||(Z=pe),pe&&X.forEach(p),!he&&(X.forEach(p),W(Z))})});return z.reduce(L)}},1561:(Ye,J,f)=>{"use strict";var e=f(7446).q.ERR_INVALID_OPT_VALUE;Ye.exports={getHighWaterMark:function _(O,l,C,u){var P=function t(O,l,C){return null!=O.highWaterMark?O.highWaterMark:l?O[C]:null}(l,u,C);if(null!=P){if(!isFinite(P)||Math.floor(P)!==P||P<0)throw new e(u?C:"highWaterMark",P);return Math.floor(P)}return O.objectMode?16:16384}}},8431:(Ye,J,f)=>{Ye.exports=f(3358).EventEmitter},9697:(Ye,J,f)=>{(J=Ye.exports=f(1396)).Stream=J,J.Readable=J,J.Writable=f(1120),J.Duplex=f(9800),J.Transform=f(8157),J.PassThrough=f(1908),J.finished=f(7722),J.pipeline=f(8096)},4229:Ye=>{"use strict";function J(t){return t instanceof Buffer?Buffer.from(t):new t.constructor(t.buffer.slice(),t.byteOffset,t.length)}Ye.exports=function f(t){return(t=t||{}).circles?function e(t){var _=[],O=[];return t.proto?function u(P){if("object"!=typeof P||null===P)return P;if(P instanceof Date)return new Date(P);if(Array.isArray(P))return l(P,u);if(P instanceof Map)return new Map(l(Array.from(P),u));if(P instanceof Set)return new Set(l(Array.from(P),u));var p={};for(var L in _.push(P),O.push(p),P){var D=P[L];if("object"!=typeof D||null===D)p[L]=D;else if(D instanceof Date)p[L]=new Date(D);else if(D instanceof Map)p[L]=new Map(l(Array.from(D),u));else if(D instanceof Set)p[L]=new Set(l(Array.from(D),u));else if(ArrayBuffer.isView(D))p[L]=J(D);else{var k=_.indexOf(D);p[L]=-1!==k?O[k]:u(D)}}return _.pop(),O.pop(),p}:function C(P){if("object"!=typeof P||null===P)return P;if(P instanceof Date)return new Date(P);if(Array.isArray(P))return l(P,C);if(P instanceof Map)return new Map(l(Array.from(P),C));if(P instanceof Set)return new Set(l(Array.from(P),C));var p={};for(var L in _.push(P),O.push(p),P)if(!1!==Object.hasOwnProperty.call(P,L)){var D=P[L];if("object"!=typeof D||null===D)p[L]=D;else if(D instanceof Date)p[L]=new Date(D);else if(D instanceof Map)p[L]=new Map(l(Array.from(D),C));else if(D instanceof Set)p[L]=new Set(l(Array.from(D),C));else if(ArrayBuffer.isView(D))p[L]=J(D);else{var k=_.indexOf(D);p[L]=-1!==k?O[k]:C(D)}}return _.pop(),O.pop(),p};function l(P,p){for(var L=Object.keys(P),D=new Array(L.length),k=0;k<L.length;k++){var M=L[k],z=P[M];if("object"!=typeof z||null===z)D[M]=z;else if(z instanceof Date)D[M]=new Date(z);else if(ArrayBuffer.isView(z))D[M]=J(z);else{var A=_.indexOf(z);D[M]=-1!==A?O[A]:p(z)}}return D}}(t):t.proto?function l(C){if("object"!=typeof C||null===C)return C;if(C instanceof Date)return new Date(C);if(Array.isArray(C))return _(C,l);if(C instanceof Map)return new Map(_(Array.from(C),l));if(C instanceof Set)return new Set(_(Array.from(C),l));var u={};for(var P in C){var p=C[P];"object"!=typeof p||null===p?u[P]=p:p instanceof Date?u[P]=new Date(p):p instanceof Map?u[P]=new Map(_(Array.from(p),l)):p instanceof Set?u[P]=new Set(_(Array.from(p),l)):ArrayBuffer.isView(p)?u[P]=J(p):u[P]=l(p)}return u}:function O(C){if("object"!=typeof C||null===C)return C;if(C instanceof Date)return new Date(C);if(Array.isArray(C))return _(C,O);if(C instanceof Map)return new Map(_(Array.from(C),O));if(C instanceof Set)return new Set(_(Array.from(C),O));var u={};for(var P in C)if(!1!==Object.hasOwnProperty.call(C,P)){var p=C[P];"object"!=typeof p||null===p?u[P]=p:p instanceof Date?u[P]=new Date(p):p instanceof Map?u[P]=new Map(_(Array.from(p),O)):p instanceof Set?u[P]=new Set(_(Array.from(p),O)):ArrayBuffer.isView(p)?u[P]=J(p):u[P]=O(p)}return u};function _(C,u){for(var P=Object.keys(C),p=new Array(P.length),L=0;L<P.length;L++){var D=P[L],k=C[D];"object"!=typeof k||null===k?p[D]=k:k instanceof Date?p[D]=new Date(k):ArrayBuffer.isView(k)?p[D]=J(k):p[D]=u(k)}return p}}},5351:(Ye,J,f)=>{"use strict";var e=f(3195).Buffer,t=f(5035),_=f(3817),O=new Array(16),l=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],C=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],u=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],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],p=[0,1518500249,1859775393,2400959708,2840853838],L=[1352829926,1548603684,1836072691,2053994217,0];function D(){_.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function k(X,$){return X<<$|X>>>32-$}function M(X,$,ae,he,se,pe,le,re){return k(X+($^ae^he)+pe+le|0,re)+se|0}function z(X,$,ae,he,se,pe,le,re){return k(X+($&ae|~$&he)+pe+le|0,re)+se|0}function A(X,$,ae,he,se,pe,le,re){return k(X+(($|~ae)^he)+pe+le|0,re)+se|0}function W(X,$,ae,he,se,pe,le,re){return k(X+($&he|ae&~he)+pe+le|0,re)+se|0}function Z(X,$,ae,he,se,pe,le,re){return k(X+($^(ae|~he))+pe+le|0,re)+se|0}t(D,_),D.prototype._update=function(){for(var X=O,$=0;$<16;++$)X[$]=this._block.readInt32LE(4*$);for(var ae=0|this._a,he=0|this._b,se=0|this._c,pe=0|this._d,le=0|this._e,re=0|this._a,fe=0|this._b,T=0|this._c,i=0|this._d,o=0|this._e,m=0;m<80;m+=1){var h,x;m<16?(h=M(ae,he,se,pe,le,X[l[m]],p[0],u[m]),x=Z(re,fe,T,i,o,X[C[m]],L[0],P[m])):m<32?(h=z(ae,he,se,pe,le,X[l[m]],p[1],u[m]),x=W(re,fe,T,i,o,X[C[m]],L[1],P[m])):m<48?(h=A(ae,he,se,pe,le,X[l[m]],p[2],u[m]),x=A(re,fe,T,i,o,X[C[m]],L[2],P[m])):m<64?(h=W(ae,he,se,pe,le,X[l[m]],p[3],u[m]),x=z(re,fe,T,i,o,X[C[m]],L[3],P[m])):(h=Z(ae,he,se,pe,le,X[l[m]],p[4],u[m]),x=M(re,fe,T,i,o,X[C[m]],L[4],P[m])),ae=le,le=pe,pe=k(se,10),se=he,he=h,re=o,o=i,i=k(T,10),T=fe,fe=x}var I=this._b+se+i|0;this._b=this._c+pe+o|0,this._c=this._d+le+re|0,this._d=this._e+ae+fe|0,this._e=this._a+he+T|0,this._a=I},D.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var X=e.alloc?e.alloc(20):new e(20);return X.writeInt32LE(this._a,0),X.writeInt32LE(this._b,4),X.writeInt32LE(this._c,8),X.writeInt32LE(this._d,12),X.writeInt32LE(this._e,16),X},Ye.exports=D},6317:(Ye,J,f)=>{"use strict";f.d(J,{X:()=>t});var e=f(253);class t extends e.x{constructor(O){super(),this._value=O}get value(){return this.getValue()}_subscribe(O){const l=super._subscribe(O);return!l.closed&&O.next(this._value),l}getValue(){const{hasError:O,thrownError:l,_value:C}=this;if(O)throw l;return this._throwIfClosed(),C}next(O){super.next(this._value=O)}}},833:(Ye,J,f)=>{"use strict";f.d(J,{y:()=>P});var e=f(5463),t=f(7714),_=f(4585),O=f(629),l=f(9057),C=f(2971),u=f(2309);class P{constructor(M){M&&(this._subscribe=M)}lift(M){const z=new P;return z.source=this,z.operator=M,z}subscribe(M,z,A){const W=function D(k){return k&&k instanceof e.Lv||function L(k){return k&&(0,C.m)(k.next)&&(0,C.m)(k.error)&&(0,C.m)(k.complete)}(k)&&(0,t.Nn)(k)}(M)?M:new e.Hp(M,z,A);return(0,u.x)(()=>{const{operator:Z,source:X}=this;W.add(Z?Z.call(W,X):X?this._subscribe(W):this._trySubscribe(W))}),W}_trySubscribe(M){try{return this._subscribe(M)}catch(z){M.error(z)}}forEach(M,z){return new(z=p(z))((A,W)=>{const Z=new e.Hp({next:X=>{try{M(X)}catch($){W($),Z.unsubscribe()}},error:W,complete:A});this.subscribe(Z)})}_subscribe(M){var z;return null===(z=this.source)||void 0===z?void 0:z.subscribe(M)}[_.L](){return this}pipe(...M){return(0,O.U)(M)(this)}toPromise(M){return new(M=p(M))((z,A)=>{let W;this.subscribe(Z=>W=Z,Z=>A(Z),()=>z(W))})}}function p(k){var M;return null!==(M=k??l.v.Promise)&&void 0!==M?M:Promise}P.create=k=>new P(k)},6067:(Ye,J,f)=>{"use strict";f.d(J,{t:()=>_});var e=f(253),t=f(7654);class _ extends e.x{constructor(l=1/0,C=1/0,u=t.l){super(),this._bufferSize=l,this._windowTime=C,this._timestampProvider=u,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=C===1/0,this._bufferSize=Math.max(1,l),this._windowTime=Math.max(1,C)}next(l){const{isStopped:C,_buffer:u,_infiniteTimeWindow:P,_timestampProvider:p,_windowTime:L}=this;C||(u.push(l),!P&&u.push(p.now()+L)),this._trimBuffer(),super.next(l)}_subscribe(l){this._throwIfClosed(),this._trimBuffer();const C=this._innerSubscribe(l),{_infiniteTimeWindow:u,_buffer:P}=this,p=P.slice();for(let L=0;L<p.length&&!l.closed;L+=u?1:2)l.next(p[L]);return this._checkFinalizedStatuses(l),C}_trimBuffer(){const{_bufferSize:l,_timestampProvider:C,_buffer:u,_infiniteTimeWindow:P}=this,p=(P?1:2)*l;if(l<1/0&&p<u.length&&u.splice(0,u.length-p),!P){const L=C.now();let D=0;for(let k=1;k<u.length&&u[k]<=L;k+=2)D=k;D&&u.splice(0,D+1)}}}},253:(Ye,J,f)=>{"use strict";f.d(J,{u:()=>P,x:()=>u});var e=f(833),t=f(7714);const O=(0,f(7543).d)(p=>function(){p(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var l=f(9663),C=f(2309);class u extends e.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(L){const D=new P(this,this);return D.operator=L,D}_throwIfClosed(){if(this.closed)throw new O}next(L){(0,C.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const D of this.currentObservers)D.next(L)}})}error(L){(0,C.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=L;const{observers:D}=this;for(;D.length;)D.shift().error(L)}})}complete(){(0,C.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:L}=this;for(;L.length;)L.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var L;return(null===(L=this.observers)||void 0===L?void 0:L.length)>0}_trySubscribe(L){return this._throwIfClosed(),super._trySubscribe(L)}_subscribe(L){return this._throwIfClosed(),this._checkFinalizedStatuses(L),this._innerSubscribe(L)}_innerSubscribe(L){const{hasError:D,isStopped:k,observers:M}=this;return D||k?t.Lc:(this.currentObservers=null,M.push(L),new t.w0(()=>{this.currentObservers=null,(0,l.P)(M,L)}))}_checkFinalizedStatuses(L){const{hasError:D,thrownError:k,isStopped:M}=this;D?L.error(k):M&&L.complete()}asObservable(){const L=new e.y;return L.source=this,L}}u.create=(p,L)=>new P(p,L);class P extends u{constructor(L,D){super(),this.destination=L,this.source=D}next(L){var D,k;null===(k=null===(D=this.destination)||void 0===D?void 0:D.next)||void 0===k||k.call(D,L)}error(L){var D,k;null===(k=null===(D=this.destination)||void 0===D?void 0:D.error)||void 0===k||k.call(D,L)}complete(){var L,D;null===(D=null===(L=this.destination)||void 0===L?void 0:L.complete)||void 0===D||D.call(L)}_subscribe(L){var D,k;return null!==(k=null===(D=this.source)||void 0===D?void 0:D.subscribe(L))&&void 0!==k?k:t.Lc}}},5463:(Ye,J,f)=>{"use strict";f.d(J,{Hp:()=>W,Lv:()=>k});var e=f(2971),t=f(7714),_=f(9057),O=f(4709),l=f(9635);const C=p("C",void 0,void 0);function p(he,se,pe){return{kind:he,value:se,error:pe}}var L=f(3542),D=f(2309);class k extends t.w0{constructor(se){super(),this.isStopped=!1,se?(this.destination=se,(0,t.Nn)(se)&&se.add(this)):this.destination=ae}static create(se,pe,le){return new W(se,pe,le)}next(se){this.isStopped?$(function P(he){return p("N",he,void 0)}(se),this):this._next(se)}error(se){this.isStopped?$(function u(he){return p("E",void 0,he)}(se),this):(this.isStopped=!0,this._error(se))}complete(){this.isStopped?$(C,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(se){this.destination.next(se)}_error(se){try{this.destination.error(se)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const M=Function.prototype.bind;function z(he,se){return M.call(he,se)}class A{constructor(se){this.partialObserver=se}next(se){const{partialObserver:pe}=this;if(pe.next)try{pe.next(se)}catch(le){Z(le)}}error(se){const{partialObserver:pe}=this;if(pe.error)try{pe.error(se)}catch(le){Z(le)}else Z(se)}complete(){const{partialObserver:se}=this;if(se.complete)try{se.complete()}catch(pe){Z(pe)}}}class W extends k{constructor(se,pe,le){let re;if(super(),(0,e.m)(se)||!se)re={next:se??void 0,error:pe??void 0,complete:le??void 0};else{let fe;this&&_.v.useDeprecatedNextContext?(fe=Object.create(se),fe.unsubscribe=()=>this.unsubscribe(),re={next:se.next&&z(se.next,fe),error:se.error&&z(se.error,fe),complete:se.complete&&z(se.complete,fe)}):re=se}this.destination=new A(re)}}function Z(he){_.v.useDeprecatedSynchronousErrorHandling?(0,D.O)(he):(0,O.h)(he)}function $(he,se){const{onStoppedNotification:pe}=_.v;pe&&L.z.setTimeout(()=>pe(he,se))}const ae={closed:!0,next:l.Z,error:function X(he){throw he},complete:l.Z}},7714:(Ye,J,f)=>{"use strict";f.d(J,{Lc:()=>C,w0:()=>l,Nn:()=>u});var e=f(2971);const _=(0,f(7543).d)(p=>function(D){p(this),this.message=D?`${D.length} errors occurred during unsubscription:\n${D.map((k,M)=>`${M+1}) ${k.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=D});var O=f(9663);class l{constructor(L){this.initialTeardown=L,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let L;if(!this.closed){this.closed=!0;const{_parentage:D}=this;if(D)if(this._parentage=null,Array.isArray(D))for(const z of D)z.remove(this);else D.remove(this);const{initialTeardown:k}=this;if((0,e.m)(k))try{k()}catch(z){L=z instanceof _?z.errors:[z]}const{_finalizers:M}=this;if(M){this._finalizers=null;for(const z of M)try{P(z)}catch(A){L=L??[],A instanceof _?L=[...L,...A.errors]:L.push(A)}}if(L)throw new _(L)}}add(L){var D;if(L&&L!==this)if(this.closed)P(L);else{if(L instanceof l){if(L.closed||L._hasParent(this))return;L._addParent(this)}(this._finalizers=null!==(D=this._finalizers)&&void 0!==D?D:[]).push(L)}}_hasParent(L){const{_parentage:D}=this;return D===L||Array.isArray(D)&&D.includes(L)}_addParent(L){const{_parentage:D}=this;this._parentage=Array.isArray(D)?(D.push(L),D):D?[D,L]:L}_removeParent(L){const{_parentage:D}=this;D===L?this._parentage=null:Array.isArray(D)&&(0,O.P)(D,L)}remove(L){const{_finalizers:D}=this;D&&(0,O.P)(D,L),L instanceof l&&L._removeParent(this)}}l.EMPTY=(()=>{const p=new l;return p.closed=!0,p})();const C=l.EMPTY;function u(p){return p instanceof l||p&&"closed"in p&&(0,e.m)(p.remove)&&(0,e.m)(p.add)&&(0,e.m)(p.unsubscribe)}function P(p){(0,e.m)(p)?p():p.unsubscribe()}},9057:(Ye,J,f)=>{"use strict";f.d(J,{v:()=>e});const e={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3932:(Ye,J,f)=>{"use strict";f.d(J,{c:()=>C});var e=f(833),t=f(7714),_=f(6074),O=f(3945),l=f(1944);class C extends e.y{constructor(P,p){super(),this.source=P,this.subjectFactory=p,this._subject=null,this._refCount=0,this._connection=null,(0,l.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 t.w0;const p=this.getSubject();P.add(this.source.subscribe((0,O.x)(p,void 0,()=>{this._teardown(),p.complete()},L=>{this._teardown(),p.error(L)},()=>this._teardown()))),P.closed&&(this._connection=null,P=t.w0.EMPTY)}return P}refCount(){return(0,_.x)()(this)}}},6562:(Ye,J,f)=>{"use strict";f.d(J,{a:()=>L});var e=f(833),t=f(5756),_=f(7400),O=f(9173),l=f(8385),C=f(420),u=f(1054),P=f(3945),p=f(1817);function L(...M){const z=(0,C.yG)(M),A=(0,C.jO)(M),{args:W,keys:Z}=(0,t.D)(M);if(0===W.length)return(0,_.D)([],z);const X=new e.y(function D(M,z,A=O.y){return W=>{k(z,()=>{const{length:Z}=M,X=new Array(Z);let $=Z,ae=Z;for(let he=0;he<Z;he++)k(z,()=>{const se=(0,_.D)(M[he],z);let pe=!1;se.subscribe((0,P.x)(W,le=>{X[he]=le,pe||(pe=!0,ae--),ae||W.next(A(X.slice()))},()=>{--$||W.complete()}))},W)},W)}}(W,z,Z?$=>(0,u.n)(Z,$):O.y));return A?X.pipe((0,l.Z)(A)):X}function k(M,z,A){M?(0,p.f)(A,M,z):z()}},9319:(Ye,J,f)=>{"use strict";f.d(J,{z:()=>l});var e=f(1308);var _=f(420),O=f(7400);function l(...C){return function t(){return(0,e.J)(1)}()((0,O.D)(C,(0,_.yG)(C)))}},1954:(Ye,J,f)=>{"use strict";f.d(J,{P:()=>_});var e=f(833),t=f(4987);function _(O){return new e.y(l=>{(0,t.Xf)(O()).subscribe(l)})}},591:(Ye,J,f)=>{"use strict";f.d(J,{E:()=>t});const t=new(f(833).y)(l=>l.complete())},1640:(Ye,J,f)=>{"use strict";f.d(J,{D:()=>P});var e=f(833),t=f(5756),_=f(4987),O=f(420),l=f(3945),C=f(8385),u=f(1054);function P(...p){const L=(0,O.jO)(p),{args:D,keys:k}=(0,t.D)(p),M=new e.y(z=>{const{length:A}=D;if(!A)return void z.complete();const W=new Array(A);let Z=A,X=A;for(let $=0;$<A;$++){let ae=!1;(0,_.Xf)(D[$]).subscribe((0,l.x)(z,he=>{ae||(ae=!0,X--),W[$]=he},()=>Z--,void 0,()=>{(!Z||!ae)&&(X||z.next(k?(0,u.n)(k,W):W),z.complete())}))}});return L?M.pipe((0,C.Z)(L)):M}},7400:(Ye,J,f)=>{"use strict";f.d(J,{D:()=>pe});var e=f(4987),t=f(8728),_=f(1944);function O(le,re=0){return(0,_.e)((fe,T)=>{T.add(le.schedule(()=>fe.subscribe(T),re))})}var u=f(833);var p=f(7321),L=f(2971),D=f(1817);function M(le,re){if(!le)throw new Error("Iterable cannot be null");return new u.y(fe=>{(0,D.f)(fe,re,()=>{const T=le[Symbol.asyncIterator]();(0,D.f)(fe,re,()=>{T.next().then(i=>{i.done?fe.complete():fe.next(i.value)})},0,!0)})})}var z=f(1331),A=f(9548),W=f(9806),Z=f(3433),X=f(470),$=f(7785),ae=f(181);function se(le,re){if(null!=le){if((0,z.c)(le))return function l(le,re){return(0,e.Xf)(le).pipe(O(re),(0,t.Q)(re))}(le,re);if((0,W.z)(le))return function P(le,re){return new u.y(fe=>{let T=0;return re.schedule(function(){T===le.length?fe.complete():(fe.next(le[T++]),fe.closed||this.schedule())})})}(le,re);if((0,A.t)(le))return function C(le,re){return(0,e.Xf)(le).pipe(O(re),(0,t.Q)(re))}(le,re);if((0,X.D)(le))return M(le,re);if((0,Z.T)(le))return function k(le,re){return new u.y(fe=>{let T;return(0,D.f)(fe,re,()=>{T=le[p.h](),(0,D.f)(fe,re,()=>{let i,o;try{({value:i,done:o}=T.next())}catch(m){return void fe.error(m)}o?fe.complete():fe.next(i)},0,!0)}),()=>(0,L.m)(T?.return)&&T.return()})}(le,re);if((0,ae.L)(le))return function he(le,re){return M((0,ae.Q)(le),re)}(le,re)}throw(0,$.z)(le)}function pe(le,re){return re?se(le,re):(0,e.Xf)(le)}},3280:(Ye,J,f)=>{"use strict";f.d(J,{R:()=>L});var e=f(4987),t=f(833),_=f(9525),O=f(9806),l=f(2971),C=f(8385);const u=["addListener","removeListener"],P=["addEventListener","removeEventListener"],p=["on","off"];function L(A,W,Z,X){if((0,l.m)(Z)&&(X=Z,Z=void 0),X)return L(A,W,Z).pipe((0,C.Z)(X));const[$,ae]=function z(A){return(0,l.m)(A.addEventListener)&&(0,l.m)(A.removeEventListener)}(A)?P.map(he=>se=>A[he](W,se,Z)):function k(A){return(0,l.m)(A.addListener)&&(0,l.m)(A.removeListener)}(A)?u.map(D(A,W)):function M(A){return(0,l.m)(A.on)&&(0,l.m)(A.off)}(A)?p.map(D(A,W)):[];if(!$&&(0,O.z)(A))return(0,_.z)(he=>L(he,W,Z))((0,e.Xf)(A));if(!$)throw new TypeError("Invalid event target");return new t.y(he=>{const se=(...pe)=>he.next(1<pe.length?pe:pe[0]);return $(se),()=>ae(se)})}function D(A,W){return Z=>X=>A[Z](W,X)}},4987:(Ye,J,f)=>{"use strict";f.d(J,{Xf:()=>M});var e=f(4929),t=f(9806),_=f(9548),O=f(833),l=f(1331),C=f(470),u=f(7785),P=f(3433),p=f(181),L=f(2971),D=f(4709),k=f(4585);function M(he){if(he instanceof O.y)return he;if(null!=he){if((0,l.c)(he))return function z(he){return new O.y(se=>{const pe=he[k.L]();if((0,L.m)(pe.subscribe))return pe.subscribe(se);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(he);if((0,t.z)(he))return function A(he){return new O.y(se=>{for(let pe=0;pe<he.length&&!se.closed;pe++)se.next(he[pe]);se.complete()})}(he);if((0,_.t)(he))return function W(he){return new O.y(se=>{he.then(pe=>{se.closed||(se.next(pe),se.complete())},pe=>se.error(pe)).then(null,D.h)})}(he);if((0,C.D)(he))return X(he);if((0,P.T)(he))return function Z(he){return new O.y(se=>{for(const pe of he)if(se.next(pe),se.closed)return;se.complete()})}(he);if((0,p.L)(he))return function $(he){return X((0,p.Q)(he))}(he)}throw(0,u.z)(he)}function X(he){return new O.y(se=>{(function ae(he,se){var pe,le,re,fe;return(0,e.mG)(this,void 0,void 0,function*(){try{for(pe=(0,e.KL)(he);!(le=yield pe.next()).done;){const T=le.value;if(se.next(T),se.closed)return}}catch(T){re={error:T}}finally{try{le&&!le.done&&(fe=pe.return)&&(yield fe.call(pe))}finally{if(re)throw re.error}}se.complete()})})(he,se).catch(pe=>se.error(pe))})}},6646:(Ye,J,f)=>{"use strict";f.d(J,{T:()=>C});var e=f(1308),t=f(4987),_=f(591),O=f(420),l=f(7400);function C(...u){const P=(0,O.yG)(u),p=(0,O._6)(u,1/0),L=u;return L.length?1===L.length?(0,t.Xf)(L[0]):(0,e.J)(p)((0,l.D)(L,P)):_.E}},745:(Ye,J,f)=>{"use strict";f.d(J,{of:()=>_});var e=f(420),t=f(7400);function _(...O){const l=(0,e.yG)(O);return(0,t.D)(O,l)}},5474:(Ye,J,f)=>{"use strict";f.d(J,{_:()=>_});var e=f(833),t=f(2971);function _(O,l){const C=(0,t.m)(O)?O:()=>O,u=P=>P.error(C());return new e.y(l?P=>l.schedule(u,0,P):u)}},8947:(Ye,J,f)=>{"use strict";f.d(J,{H:()=>l});var e=f(833),t=f(6936),_=f(9867),O=f(7885);function l(C=0,u,P=t.P){let p=-1;return null!=u&&((0,_.K)(u)?P=u:p=u),new e.y(L=>{let D=(0,O.q)(C)?+C-P.now():C;D<0&&(D=0);let k=0;return P.schedule(function(){L.closed||(L.next(k++),0<=p?this.schedule(void 0,p):L.complete())},D)})}},3945:(Ye,J,f)=>{"use strict";f.d(J,{Q:()=>_,x:()=>t});var e=f(5463);function t(O,l,C,u,P){return new _(O,l,C,u,P)}class _ extends e.Lv{constructor(l,C,u,P,p,L){super(l),this.onFinalize=p,this.shouldUnsubscribe=L,this._next=C?function(D){try{C(D)}catch(k){l.error(k)}}:super._next,this._error=P?function(D){try{P(D)}catch(k){l.error(k)}finally{this.unsubscribe()}}:super._error,this._complete=u?function(){try{u()}catch(D){l.error(D)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var l;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:C}=this;super.unsubscribe(),!C&&(null===(l=this.onFinalize)||void 0===l||l.call(this))}}}},9211:(Ye,J,f)=>{"use strict";f.d(J,{e:()=>u});var e=f(6936),t=f(1944),_=f(4987),O=f(3945);var C=f(8947);function u(P,p=e.z){return function l(P){return(0,t.e)((p,L)=>{let D=!1,k=null,M=null,z=!1;const A=()=>{if(M?.unsubscribe(),M=null,D){D=!1;const Z=k;k=null,L.next(Z)}z&&L.complete()},W=()=>{M=null,z&&L.complete()};p.subscribe((0,O.x)(L,Z=>{D=!0,k=Z,M||(0,_.Xf)(P(Z)).subscribe(M=(0,O.x)(L,A,W))},()=>{z=!0,(!D||!M||M.closed)&&L.complete()}))})}(()=>(0,C.H)(P,p))}},3158:(Ye,J,f)=>{"use strict";f.d(J,{K:()=>O});var e=f(4987),t=f(3945),_=f(1944);function O(l){return(0,_.e)((C,u)=>{let L,P=null,p=!1;P=C.subscribe((0,t.x)(u,void 0,void 0,D=>{L=(0,e.Xf)(l(D,O(l)(C))),P?(P.unsubscribe(),P=null,L.subscribe(u)):p=!0})),p&&(P.unsubscribe(),P=null,L.subscribe(u))})}},3853:(Ye,J,f)=>{"use strict";f.d(J,{b:()=>_});var e=f(9525),t=f(2971);function _(O,l){return(0,t.m)(l)?(0,e.z)(O,l,1):(0,e.z)(O,1)}},1989:(Ye,J,f)=>{"use strict";f.d(J,{b:()=>O});var e=f(6936),t=f(1944),_=f(3945);function O(l,C=e.z){return(0,t.e)((u,P)=>{let p=null,L=null,D=null;const k=()=>{if(p){p.unsubscribe(),p=null;const z=L;L=null,P.next(z)}};function M(){const z=D+l,A=C.now();if(A<z)return p=this.schedule(void 0,z-A),void P.add(p);k()}u.subscribe((0,_.x)(P,z=>{L=z,D=C.now(),p||(p=C.schedule(M,l),P.add(p))},()=>{k(),P.complete()},void 0,()=>{L=p=null}))})}},4744:(Ye,J,f)=>{"use strict";f.d(J,{d:()=>_});var e=f(1944),t=f(3945);function _(O){return(0,e.e)((l,C)=>{let u=!1;l.subscribe((0,t.x)(C,P=>{u=!0,C.next(P)},()=>{u||C.next(O),C.complete()}))})}},6234:(Ye,J,f)=>{"use strict";f.d(J,{g:()=>p});var e=f(6936),t=f(9319),_=f(9295),O=f(23),l=f(73),C=f(9525);function u(L,D){return D?k=>(0,t.z)(D.pipe((0,_.q)(1),(0,O.l)()),k.pipe(u(L))):(0,C.z)((k,M)=>L(k,M).pipe((0,_.q)(1),(0,l.h)(k)))}var P=f(8947);function p(L,D=e.z){const k=(0,P.H)(L,D);return u(()=>k)}},8977:(Ye,J,f)=>{"use strict";f.d(J,{x:()=>O});var e=f(9173),t=f(1944),_=f(3945);function O(C,u=e.y){return C=C??l,(0,t.e)((P,p)=>{let L,D=!0;P.subscribe((0,_.x)(p,k=>{const M=u(k);(D||!C(L,M))&&(D=!1,L=M,p.next(k))}))})}function l(C,u){return C===u}},116:(Ye,J,f)=>{"use strict";f.d(J,{h:()=>_});var e=f(1944),t=f(3945);function _(O,l){return(0,e.e)((C,u)=>{let P=0;C.subscribe((0,t.x)(u,p=>O.call(l,p,P++)&&u.next(p)))})}},2313:(Ye,J,f)=>{"use strict";f.d(J,{x:()=>t});var e=f(1944);function t(_){return(0,e.e)((O,l)=>{try{O.subscribe(l)}finally{l.add(_)}})}},155:(Ye,J,f)=>{"use strict";f.d(J,{P:()=>u});var e=f(4423),t=f(116),_=f(9295),O=f(4744),l=f(7354),C=f(9173);function u(P,p){const L=arguments.length>=2;return D=>D.pipe(P?(0,t.h)((k,M)=>P(k,M,D)):C.y,(0,_.q)(1),L?(0,O.d)(p):(0,l.T)(()=>new e.K))}},23:(Ye,J,f)=>{"use strict";f.d(J,{l:()=>O});var e=f(1944),t=f(3945),_=f(9635);function O(){return(0,e.e)((l,C)=>{l.subscribe((0,t.x)(C,_.Z))})}},635:(Ye,J,f)=>{"use strict";f.d(J,{U:()=>_});var e=f(1944),t=f(3945);function _(O,l){return(0,e.e)((C,u)=>{let P=0;C.subscribe((0,t.x)(u,p=>{u.next(O.call(l,p,P++))}))})}},73:(Ye,J,f)=>{"use strict";f.d(J,{h:()=>t});var e=f(635);function t(_){return(0,e.U)(()=>_)}},1308:(Ye,J,f)=>{"use strict";f.d(J,{J:()=>_});var e=f(9525),t=f(9173);function _(O=1/0){return(0,e.z)(t.y,O)}},9525:(Ye,J,f)=>{"use strict";f.d(J,{z:()=>P});var e=f(635),t=f(4987),_=f(1944),O=f(1817),l=f(3945);var u=f(2971);function P(p,L,D=1/0){return(0,u.m)(L)?P((k,M)=>(0,e.U)((z,A)=>L(k,z,M,A))((0,t.Xf)(p(k,M))),D):("number"==typeof L&&(D=L),(0,_.e)((k,M)=>function C(p,L,D,k,M,z,A,W){const Z=[];let X=0,$=0,ae=!1;const he=()=>{ae&&!Z.length&&!X&&L.complete()},se=le=>X<k?pe(le):Z.push(le),pe=le=>{z&&L.next(le),X++;let re=!1;(0,t.Xf)(D(le,$++)).subscribe((0,l.x)(L,fe=>{M?.(fe),z?se(fe):L.next(fe)},()=>{re=!0},void 0,()=>{if(re)try{for(X--;Z.length&&X<k;){const fe=Z.shift();A?(0,O.f)(L,A,()=>pe(fe)):pe(fe)}he()}catch(fe){L.error(fe)}}))};return p.subscribe((0,l.x)(L,se,()=>{ae=!0,he()})),()=>{W?.()}}(k,M,p,D)))}},8728:(Ye,J,f)=>{"use strict";f.d(J,{Q:()=>O});var e=f(1817),t=f(1944),_=f(3945);function O(l,C=0){return(0,t.e)((u,P)=>{u.subscribe((0,_.x)(P,p=>(0,e.f)(P,l,()=>P.next(p),C),()=>(0,e.f)(P,l,()=>P.complete(),C),p=>(0,e.f)(P,l,()=>P.error(p),C)))})}},6074:(Ye,J,f)=>{"use strict";f.d(J,{x:()=>_});var e=f(1944),t=f(3945);function _(){return(0,e.e)((O,l)=>{let C=null;O._refCount++;const u=(0,t.x)(l,void 0,void 0,void 0,()=>{if(!O||O._refCount<=0||0<--O._refCount)return void(C=null);const P=O._connection,p=C;C=null,P&&(!p||P===p)&&P.unsubscribe(),l.unsubscribe()});O.subscribe(u),u.closed||(C=O.connect())})}},4351:(Ye,J,f)=>{"use strict";f.d(J,{R:()=>O});var e=f(1944),t=f(3945);function _(l,C,u,P,p){return(L,D)=>{let k=u,M=C,z=0;L.subscribe((0,t.x)(D,A=>{const W=z++;M=k?l(M,A,W):(k=!0,A),P&&D.next(M)},p&&(()=>{k&&D.next(M),D.complete()})))}}function O(l,C){return(0,e.e)(_(l,C,arguments.length>=2,!0))}},1203:(Ye,J,f)=>{"use strict";f.d(J,{B:()=>l});var e=f(4987),t=f(253),_=f(5463),O=f(1944);function l(u={}){const{connector:P=(()=>new t.x),resetOnError:p=!0,resetOnComplete:L=!0,resetOnRefCountZero:D=!0}=u;return k=>{let M,z,A,W=0,Z=!1,X=!1;const $=()=>{z?.unsubscribe(),z=void 0},ae=()=>{$(),M=A=void 0,Z=X=!1},he=()=>{const se=M;ae(),se?.unsubscribe()};return(0,O.e)((se,pe)=>{W++,!X&&!Z&&$();const le=A=A??P();pe.add(()=>{W--,0===W&&!X&&!Z&&(z=C(he,D))}),le.subscribe(pe),!M&&W>0&&(M=new _.Hp({next:re=>le.next(re),error:re=>{X=!0,$(),z=C(ae,p,re),le.error(re)},complete:()=>{Z=!0,$(),z=C(ae,L),le.complete()}}),(0,e.Xf)(se).subscribe(M))})(k)}}function C(u,P,...p){if(!0===P)return void u();if(!1===P)return;const L=new _.Hp({next:()=>{L.unsubscribe(),u()}});return P(...p).subscribe(L)}},7260:(Ye,J,f)=>{"use strict";f.d(J,{T:()=>t});var e=f(116);function t(_){return(0,e.h)((O,l)=>_<=l)}},4874:(Ye,J,f)=>{"use strict";f.d(J,{O:()=>O});var e=f(9319),t=f(420),_=f(1944);function O(...l){const C=(0,t.yG)(l);return(0,_.e)((u,P)=>{(C?(0,e.z)(l,u,C):(0,e.z)(l,u)).subscribe(P)})}},2673:(Ye,J,f)=>{"use strict";f.d(J,{w:()=>O});var e=f(4987),t=f(1944),_=f(3945);function O(l,C){return(0,t.e)((u,P)=>{let p=null,L=0,D=!1;const k=()=>D&&!p&&P.complete();u.subscribe((0,_.x)(P,M=>{p?.unsubscribe();let z=0;const A=L++;(0,e.Xf)(l(M,A)).subscribe(p=(0,_.x)(P,W=>P.next(C?C(M,W,A,z++):W),()=>{p=null,k()}))},()=>{D=!0,k()}))})}},9295:(Ye,J,f)=>{"use strict";f.d(J,{q:()=>O});var e=f(591),t=f(1944),_=f(3945);function O(l){return l<=0?()=>e.E:(0,t.e)((C,u)=>{let P=0;C.subscribe((0,_.x)(u,p=>{++P<=l&&(u.next(p),l<=P&&u.complete())}))})}},8951:(Ye,J,f)=>{"use strict";f.d(J,{R:()=>l});var e=f(1944),t=f(3945),_=f(4987),O=f(9635);function l(C){return(0,e.e)((u,P)=>{(0,_.Xf)(C).subscribe((0,t.x)(P,()=>P.complete(),O.Z)),!P.closed&&u.subscribe(P)})}},2566:(Ye,J,f)=>{"use strict";f.d(J,{o:()=>_});var e=f(1944),t=f(3945);function _(O,l=!1){return(0,e.e)((C,u)=>{let P=0;C.subscribe((0,t.x)(u,p=>{const L=O(p,P++);(L||l)&&u.next(p),!L&&u.complete()}))})}},9337:(Ye,J,f)=>{"use strict";f.d(J,{b:()=>l});var e=f(2971),t=f(1944),_=f(3945),O=f(9173);function l(C,u,P){const p=(0,e.m)(C)||u||P?{next:C,error:u,complete:P}:C;return p?(0,t.e)((L,D)=>{var k;null===(k=p.subscribe)||void 0===k||k.call(p);let M=!0;L.subscribe((0,_.x)(D,z=>{var A;null===(A=p.next)||void 0===A||A.call(p,z),D.next(z)},()=>{var z;M=!1,null===(z=p.complete)||void 0===z||z.call(p),D.complete()},z=>{var A;M=!1,null===(A=p.error)||void 0===A||A.call(p,z),D.error(z)},()=>{var z,A;M&&(null===(z=p.unsubscribe)||void 0===z||z.call(p)),null===(A=p.finalize)||void 0===A||A.call(p)}))}):O.y}},7354:(Ye,J,f)=>{"use strict";f.d(J,{T:()=>O});var e=f(4423),t=f(1944),_=f(3945);function O(C=l){return(0,t.e)((u,P)=>{let p=!1;u.subscribe((0,_.x)(P,L=>{p=!0,P.next(L)},()=>p?P.complete():P.error(C())))})}function l(){return new e.K}},7580:(Ye,J,f)=>{"use strict";f.d(J,{V:()=>p});var e=f(6936),t=f(7885),_=f(1944),O=f(4987),l=f(7543),C=f(3945),u=f(1817);const P=(0,l.d)(D=>function(M=null){D(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=M});function p(D,k){const{first:M,each:z,with:A=L,scheduler:W=k??e.z,meta:Z=null}=(0,t.q)(D)?{first:D}:"number"==typeof D?{each:D}:D;if(null==M&&null==z)throw new TypeError("No timeout provided.");return(0,_.e)((X,$)=>{let ae,he,se=null,pe=0;const le=re=>{he=(0,u.f)($,W,()=>{try{ae.unsubscribe(),(0,O.Xf)(A({meta:Z,lastValue:se,seen:pe})).subscribe($)}catch(fe){$.error(fe)}},re)};ae=X.subscribe((0,C.x)($,re=>{he?.unsubscribe(),pe++,$.next(se=re),z>0&&le(z)},void 0,void 0,()=>{he?.closed||he?.unsubscribe(),se=null})),!pe&&le(null!=M?"number"==typeof M?M:+M-W.now():z)})}function L(D){throw new P(D)}},538:(Ye,J,f)=>{"use strict";f.d(J,{M:()=>u});var e=f(1944),t=f(3945),_=f(4987),O=f(9173),l=f(9635),C=f(420);function u(...P){const p=(0,C.jO)(P);return(0,e.e)((L,D)=>{const k=P.length,M=new Array(k);let z=P.map(()=>!1),A=!1;for(let W=0;W<k;W++)(0,_.Xf)(P[W]).subscribe((0,t.x)(D,Z=>{M[W]=Z,!A&&!z[W]&&(z[W]=!0,(A=z.every(O.y))&&(z=null))},l.Z));L.subscribe((0,t.x)(D,W=>{if(A){const Z=[W,...M];D.next(p?p(...Z):Z)}}))})}},5417:(Ye,J,f)=>{"use strict";f.d(J,{o:()=>l});var e=f(7714);class t extends e.w0{constructor(u,P){super()}schedule(u,P=0){return this}}const _={setInterval(C,u,...P){const{delegate:p}=_;return p?.setInterval?p.setInterval(C,u,...P):setInterval(C,u,...P)},clearInterval(C){const{delegate:u}=_;return(u?.clearInterval||clearInterval)(C)},delegate:void 0};var O=f(9663);class l extends t{constructor(u,P){super(u,P),this.scheduler=u,this.work=P,this.pending=!1}schedule(u,P=0){var p;if(this.closed)return this;this.state=u;const L=this.id,D=this.scheduler;return null!=L&&(this.id=this.recycleAsyncId(D,L,P)),this.pending=!0,this.delay=P,this.id=null!==(p=this.id)&&void 0!==p?p:this.requestAsyncId(D,this.id,P),this}requestAsyncId(u,P,p=0){return _.setInterval(u.flush.bind(u,this),p)}recycleAsyncId(u,P,p=0){if(null!=p&&this.delay===p&&!1===this.pending)return P;null!=P&&_.clearInterval(P)}execute(u,P){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const p=this._execute(u,P);if(p)return p;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(u,P){let L,p=!1;try{this.work(u)}catch(D){p=!0,L=D||new Error("Scheduled action threw falsy error")}if(p)return this.unsubscribe(),L}unsubscribe(){if(!this.closed){const{id:u,scheduler:P}=this,{actions:p}=P;this.work=this.state=this.scheduler=null,this.pending=!1,(0,O.P)(p,this),null!=u&&(this.id=this.recycleAsyncId(P,u,null)),this.delay=null,super.unsubscribe()}}}},1010:(Ye,J,f)=>{"use strict";f.d(J,{v:()=>_});var e=f(7654);class t{constructor(l,C=t.now){this.schedulerActionCtor=l,this.now=C}schedule(l,C=0,u){return new this.schedulerActionCtor(this,l).schedule(u,C)}}t.now=e.l.now;class _ extends t{constructor(l,C=t.now){super(l,C),this.actions=[],this._active=!1}flush(l){const{actions:C}=this;if(this._active)return void C.push(l);let u;this._active=!0;do{if(u=l.execute(l.state,l.delay))break}while(l=C.shift());if(this._active=!1,u){for(;l=C.shift();)l.unsubscribe();throw u}}}},3888:(Ye,J,f)=>{"use strict";f.d(J,{E:()=>z});var e=f(5417);let _,t=1;const O={};function l(W){return W in O&&(delete O[W],!0)}const C={setImmediate(W){const Z=t++;return O[Z]=!0,_||(_=Promise.resolve()),_.then(()=>l(Z)&&W()),Z},clearImmediate(W){l(W)}},{setImmediate:P,clearImmediate:p}=C,L={setImmediate(...W){const{delegate:Z}=L;return(Z?.setImmediate||P)(...W)},clearImmediate(W){const{delegate:Z}=L;return(Z?.clearImmediate||p)(W)},delegate:void 0};class D extends e.o{constructor(Z,X){super(Z,X),this.scheduler=Z,this.work=X}requestAsyncId(Z,X,$=0){return null!==$&&$>0?super.requestAsyncId(Z,X,$):(Z.actions.push(this),Z._scheduled||(Z._scheduled=L.setImmediate(Z.flush.bind(Z,void 0))))}recycleAsyncId(Z,X,$=0){var ae;if(null!=$?$>0:this.delay>0)return super.recycleAsyncId(Z,X,$);const{actions:he}=Z;null!=X&&(null===(ae=he[he.length-1])||void 0===ae?void 0:ae.id)!==X&&(L.clearImmediate(X),Z._scheduled=void 0)}}var k=f(1010);class M extends k.v{flush(Z){this._active=!0;const X=this._scheduled;this._scheduled=void 0;const{actions:$}=this;let ae;Z=Z||$.shift();do{if(ae=Z.execute(Z.state,Z.delay))break}while((Z=$[0])&&Z.id===X&&$.shift());if(this._active=!1,ae){for(;(Z=$[0])&&Z.id===X&&$.shift();)Z.unsubscribe();throw ae}}}const z=new M(D)},6936:(Ye,J,f)=>{"use strict";f.d(J,{P:()=>O,z:()=>_});var e=f(5417);const _=new(f(1010).v)(e.o),O=_},7654:(Ye,J,f)=>{"use strict";f.d(J,{l:()=>e});const e={now:()=>(e.delegate||Date).now(),delegate:void 0}},4915:(Ye,J,f)=>{"use strict";f.d(J,{N:()=>l});var e=f(5417);class t extends e.o{constructor(P,p){super(P,p),this.scheduler=P,this.work=p}schedule(P,p=0){return p>0?super.schedule(P,p):(this.delay=p,this.state=P,this.scheduler.flush(this),this)}execute(P,p){return p>0||this.closed?super.execute(P,p):this._execute(P,p)}requestAsyncId(P,p,L=0){return null!=L&&L>0||null==L&&this.delay>0?super.requestAsyncId(P,p,L):(P.flush(this),0)}}var _=f(1010);class O extends _.v{}const l=new O(t)},3542:(Ye,J,f)=>{"use strict";f.d(J,{z:()=>e});const e={setTimeout(t,_,...O){const{delegate:l}=e;return l?.setTimeout?l.setTimeout(t,_,...O):setTimeout(t,_,...O)},clearTimeout(t){const{delegate:_}=e;return(_?.clearTimeout||clearTimeout)(t)},delegate:void 0}},7321:(Ye,J,f)=>{"use strict";f.d(J,{h:()=>t});const t=function e(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4585:(Ye,J,f)=>{"use strict";f.d(J,{L:()=>e});const e="function"==typeof Symbol&&Symbol.observable||"@@observable"},4423:(Ye,J,f)=>{"use strict";f.d(J,{K:()=>t});const t=(0,f(7543).d)(_=>function(){_(this),this.name="EmptyError",this.message="no elements in sequence"})},420:(Ye,J,f)=>{"use strict";f.d(J,{_6:()=>C,jO:()=>O,yG:()=>l});var e=f(2971),t=f(9867);function _(u){return u[u.length-1]}function O(u){return(0,e.m)(_(u))?u.pop():void 0}function l(u){return(0,t.K)(_(u))?u.pop():void 0}function C(u,P){return"number"==typeof _(u)?u.pop():P}},5756:(Ye,J,f)=>{"use strict";f.d(J,{D:()=>l});const{isArray:e}=Array,{getPrototypeOf:t,prototype:_,keys:O}=Object;function l(u){if(1===u.length){const P=u[0];if(e(P))return{args:P,keys:null};if(function C(u){return u&&"object"==typeof u&&t(u)===_}(P)){const p=O(P);return{args:p.map(L=>P[L]),keys:p}}}return{args:u,keys:null}}},9663:(Ye,J,f)=>{"use strict";function e(t,_){if(t){const O=t.indexOf(_);0<=O&&t.splice(O,1)}}f.d(J,{P:()=>e})},7543:(Ye,J,f)=>{"use strict";function e(t){const O=t(l=>{Error.call(l),l.stack=(new Error).stack});return O.prototype=Object.create(Error.prototype),O.prototype.constructor=O,O}f.d(J,{d:()=>e})},1054:(Ye,J,f)=>{"use strict";function e(t,_){return t.reduce((O,l,C)=>(O[l]=_[C],O),{})}f.d(J,{n:()=>e})},2309:(Ye,J,f)=>{"use strict";f.d(J,{O:()=>O,x:()=>_});var e=f(9057);let t=null;function _(l){if(e.v.useDeprecatedSynchronousErrorHandling){const C=!t;if(C&&(t={errorThrown:!1,error:null}),l(),C){const{errorThrown:u,error:P}=t;if(t=null,u)throw P}}else l()}function O(l){e.v.useDeprecatedSynchronousErrorHandling&&t&&(t.errorThrown=!0,t.error=l)}},1817:(Ye,J,f)=>{"use strict";function e(t,_,O,l=0,C=!1){const u=_.schedule(function(){O(),C?t.add(this.schedule(null,l)):this.unsubscribe()},l);if(t.add(u),!C)return u}f.d(J,{f:()=>e})},9173:(Ye,J,f)=>{"use strict";function e(t){return t}f.d(J,{y:()=>e})},9806:(Ye,J,f)=>{"use strict";f.d(J,{z:()=>e});const e=t=>t&&"number"==typeof t.length&&"function"!=typeof t},470:(Ye,J,f)=>{"use strict";f.d(J,{D:()=>t});var e=f(2971);function t(_){return Symbol.asyncIterator&&(0,e.m)(_?.[Symbol.asyncIterator])}},7885:(Ye,J,f)=>{"use strict";function e(t){return t instanceof Date&&!isNaN(t)}f.d(J,{q:()=>e})},2971:(Ye,J,f)=>{"use strict";function e(t){return"function"==typeof t}f.d(J,{m:()=>e})},1331:(Ye,J,f)=>{"use strict";f.d(J,{c:()=>_});var e=f(4585),t=f(2971);function _(O){return(0,t.m)(O[e.L])}},3433:(Ye,J,f)=>{"use strict";f.d(J,{T:()=>_});var e=f(7321),t=f(2971);function _(O){return(0,t.m)(O?.[e.h])}},4437:(Ye,J,f)=>{"use strict";f.d(J,{b:()=>_});var e=f(833),t=f(2971);function _(O){return!!O&&(O instanceof e.y||(0,t.m)(O.lift)&&(0,t.m)(O.subscribe))}},9548:(Ye,J,f)=>{"use strict";f.d(J,{t:()=>t});var e=f(2971);function t(_){return(0,e.m)(_?.then)}},181:(Ye,J,f)=>{"use strict";f.d(J,{L:()=>O,Q:()=>_});var e=f(4929),t=f(2971);function _(l){return(0,e.FC)(this,arguments,function*(){const u=l.getReader();try{for(;;){const{value:P,done:p}=yield(0,e.qq)(u.read());if(p)return yield(0,e.qq)(void 0);yield yield(0,e.qq)(P)}}finally{u.releaseLock()}})}function O(l){return(0,t.m)(l?.getReader)}},9867:(Ye,J,f)=>{"use strict";f.d(J,{K:()=>t});var e=f(2971);function t(_){return _&&(0,e.m)(_.schedule)}},1944:(Ye,J,f)=>{"use strict";f.d(J,{A:()=>t,e:()=>_});var e=f(2971);function t(O){return(0,e.m)(O?.lift)}function _(O){return l=>{if(t(l))return l.lift(function(C){try{return O(C,this)}catch(u){this.error(u)}});throw new TypeError("Unable to lift unknown Observable type")}}},8385:(Ye,J,f)=>{"use strict";f.d(J,{Z:()=>O});var e=f(635);const{isArray:t}=Array;function O(l){return(0,e.U)(C=>function _(l,C){return t(C)?l(...C):l(C)}(l,C))}},9635:(Ye,J,f)=>{"use strict";function e(){}f.d(J,{Z:()=>e})},629:(Ye,J,f)=>{"use strict";f.d(J,{U:()=>_,z:()=>t});var e=f(9173);function t(...O){return _(O)}function _(O){return 0===O.length?e.y:1===O.length?O[0]:function(C){return O.reduce((u,P)=>P(u),C)}}},4709:(Ye,J,f)=>{"use strict";f.d(J,{h:()=>_});var e=f(9057),t=f(3542);function _(O){t.z.setTimeout(()=>{const{onUnhandledError:l}=e.v;if(!l)throw O;l(O)})}},7785:(Ye,J,f)=>{"use strict";function e(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}f.d(J,{z:()=>e})},9708:(Ye,J,f)=>{var e=f(3195),t=e.Buffer;function _(l,C){for(var u in l)C[u]=l[u]}function O(l,C,u){return t(l,C,u)}t.from&&t.alloc&&t.allocUnsafe&&t.allocUnsafeSlow?Ye.exports=e:(_(e,J),J.Buffer=O),O.prototype=Object.create(t.prototype),_(t,O),O.from=function(l,C,u){if("number"==typeof l)throw new TypeError("Argument must not be a number");return t(l,C,u)},O.alloc=function(l,C,u){if("number"!=typeof l)throw new TypeError("Argument must be a number");var P=t(l);return void 0!==C?"string"==typeof u?P.fill(C,u):P.fill(C):P.fill(0),P},O.allocUnsafe=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return t(l)},O.allocUnsafeSlow=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return e.SlowBuffer(l)}},4421:(Ye,J,f)=>{"use strict";var O,e=f(3195),t=e.Buffer,_={};for(O in e)!e.hasOwnProperty(O)||"SlowBuffer"===O||"Buffer"===O||(_[O]=e[O]);var l=_.Buffer={};for(O in t)!t.hasOwnProperty(O)||"allocUnsafe"===O||"allocUnsafeSlow"===O||(l[O]=t[O]);if(_.Buffer.prototype=t.prototype,(!l.from||l.from===Uint8Array.from)&&(l.from=function(C,u,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 t(C,u,P)}),l.alloc||(l.alloc=function(C,u,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 p=t(C);return u&&0!==u.length?"string"==typeof P?p.fill(u,P):p.fill(u):p.fill(0),p}),!_.kStringMaxLength)try{_.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch{}_.constants||(_.constants={MAX_LENGTH:_.kMaxLength},_.kStringMaxLength&&(_.constants.MAX_STRING_LENGTH=_.kStringMaxLength)),Ye.exports=_},2443:(Ye,J,f)=>{var e=f(9708).Buffer;function t(_,O){this._block=e.alloc(_),this._finalSize=O,this._blockSize=_,this._len=0}t.prototype.update=function(_,O){"string"==typeof _&&(O=O||"utf8",_=e.from(_,O));for(var l=this._block,C=this._blockSize,u=_.length,P=this._len,p=0;p<u;){for(var L=P%C,D=Math.min(u-p,C-L),k=0;k<D;k++)l[L+k]=_[p+k];p+=D,(P+=D)%C==0&&this._update(l)}return this._len+=u,this},t.prototype.digest=function(_){var O=this._len%this._blockSize;this._block[O]=128,this._block.fill(0,O+1),O>=this._finalSize&&(this._update(this._block),this._block.fill(0));var l=8*this._len;if(l<=4294967295)this._block.writeUInt32BE(l,this._blockSize-4);else{var C=(4294967295&l)>>>0,u=(l-C)/4294967296;this._block.writeUInt32BE(u,this._blockSize-8),this._block.writeUInt32BE(C,this._blockSize-4)}this._update(this._block);var P=this._hash();return _?P.toString(_):P},t.prototype._update=function(){throw new Error("_update must be implemented by subclass")},Ye.exports=t},1001:(Ye,J,f)=>{var e=Ye.exports=function(_){_=_.toLowerCase();var O=e[_];if(!O)throw new Error(_+" is not supported (we accept pull requests)");return new O};e.sha=f(6216),e.sha1=f(442),e.sha224=f(3843),e.sha256=f(4507),e.sha384=f(8660),e.sha512=f(3544)},6216:(Ye,J,f)=>{var e=f(5035),t=f(2443),_=f(9708).Buffer,O=[1518500249,1859775393,-1894007588,-899497514],l=new Array(80);function C(){this.init(),this._w=l,t.call(this,64,56)}function u(L){return L<<5|L>>>27}function P(L){return L<<30|L>>>2}function p(L,D,k,M){return 0===L?D&k|~D&M:2===L?D&k|D&M|k&M:D^k^M}e(C,t),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(L){for(var D=this._w,k=0|this._a,M=0|this._b,z=0|this._c,A=0|this._d,W=0|this._e,Z=0;Z<16;++Z)D[Z]=L.readInt32BE(4*Z);for(;Z<80;++Z)D[Z]=D[Z-3]^D[Z-8]^D[Z-14]^D[Z-16];for(var X=0;X<80;++X){var $=~~(X/20),ae=u(k)+p($,M,z,A)+W+D[X]+O[$]|0;W=A,A=z,z=P(M),M=k,k=ae}this._a=k+this._a|0,this._b=M+this._b|0,this._c=z+this._c|0,this._d=A+this._d|0,this._e=W+this._e|0},C.prototype._hash=function(){var L=_.allocUnsafe(20);return L.writeInt32BE(0|this._a,0),L.writeInt32BE(0|this._b,4),L.writeInt32BE(0|this._c,8),L.writeInt32BE(0|this._d,12),L.writeInt32BE(0|this._e,16),L},Ye.exports=C},442:(Ye,J,f)=>{var e=f(5035),t=f(2443),_=f(9708).Buffer,O=[1518500249,1859775393,-1894007588,-899497514],l=new Array(80);function C(){this.init(),this._w=l,t.call(this,64,56)}function u(D){return D<<1|D>>>31}function P(D){return D<<5|D>>>27}function p(D){return D<<30|D>>>2}function L(D,k,M,z){return 0===D?k&M|~k&z:2===D?k&M|k&z|M&z:k^M^z}e(C,t),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(D){for(var k=this._w,M=0|this._a,z=0|this._b,A=0|this._c,W=0|this._d,Z=0|this._e,X=0;X<16;++X)k[X]=D.readInt32BE(4*X);for(;X<80;++X)k[X]=u(k[X-3]^k[X-8]^k[X-14]^k[X-16]);for(var $=0;$<80;++$){var ae=~~($/20),he=P(M)+L(ae,z,A,W)+Z+k[$]+O[ae]|0;Z=W,W=A,A=p(z),z=M,M=he}this._a=M+this._a|0,this._b=z+this._b|0,this._c=A+this._c|0,this._d=W+this._d|0,this._e=Z+this._e|0},C.prototype._hash=function(){var D=_.allocUnsafe(20);return D.writeInt32BE(0|this._a,0),D.writeInt32BE(0|this._b,4),D.writeInt32BE(0|this._c,8),D.writeInt32BE(0|this._d,12),D.writeInt32BE(0|this._e,16),D},Ye.exports=C},3843:(Ye,J,f)=>{var e=f(5035),t=f(4507),_=f(2443),O=f(9708).Buffer,l=new Array(64);function C(){this.init(),this._w=l,_.call(this,64,56)}e(C,t),C.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},C.prototype._hash=function(){var u=O.allocUnsafe(28);return u.writeInt32BE(this._a,0),u.writeInt32BE(this._b,4),u.writeInt32BE(this._c,8),u.writeInt32BE(this._d,12),u.writeInt32BE(this._e,16),u.writeInt32BE(this._f,20),u.writeInt32BE(this._g,24),u},Ye.exports=C},4507:(Ye,J,f)=>{var e=f(5035),t=f(2443),_=f(9708).Buffer,O=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],l=new Array(64);function C(){this.init(),this._w=l,t.call(this,64,56)}function u(M,z,A){return A^M&(z^A)}function P(M,z,A){return M&z|A&(M|z)}function p(M){return(M>>>2|M<<30)^(M>>>13|M<<19)^(M>>>22|M<<10)}function L(M){return(M>>>6|M<<26)^(M>>>11|M<<21)^(M>>>25|M<<7)}function D(M){return(M>>>7|M<<25)^(M>>>18|M<<14)^M>>>3}function k(M){return(M>>>17|M<<15)^(M>>>19|M<<13)^M>>>10}e(C,t),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(M){for(var z=this._w,A=0|this._a,W=0|this._b,Z=0|this._c,X=0|this._d,$=0|this._e,ae=0|this._f,he=0|this._g,se=0|this._h,pe=0;pe<16;++pe)z[pe]=M.readInt32BE(4*pe);for(;pe<64;++pe)z[pe]=k(z[pe-2])+z[pe-7]+D(z[pe-15])+z[pe-16]|0;for(var le=0;le<64;++le){var re=se+L($)+u($,ae,he)+O[le]+z[le]|0,fe=p(A)+P(A,W,Z)|0;se=he,he=ae,ae=$,$=X+re|0,X=Z,Z=W,W=A,A=re+fe|0}this._a=A+this._a|0,this._b=W+this._b|0,this._c=Z+this._c|0,this._d=X+this._d|0,this._e=$+this._e|0,this._f=ae+this._f|0,this._g=he+this._g|0,this._h=se+this._h|0},C.prototype._hash=function(){var M=_.allocUnsafe(32);return M.writeInt32BE(this._a,0),M.writeInt32BE(this._b,4),M.writeInt32BE(this._c,8),M.writeInt32BE(this._d,12),M.writeInt32BE(this._e,16),M.writeInt32BE(this._f,20),M.writeInt32BE(this._g,24),M.writeInt32BE(this._h,28),M},Ye.exports=C},8660:(Ye,J,f)=>{var e=f(5035),t=f(3544),_=f(2443),O=f(9708).Buffer,l=new Array(160);function C(){this.init(),this._w=l,_.call(this,128,112)}e(C,t),C.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},C.prototype._hash=function(){var u=O.allocUnsafe(48);function P(p,L,D){u.writeInt32BE(p,D),u.writeInt32BE(L,D+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),u},Ye.exports=C},3544:(Ye,J,f)=>{var e=f(5035),t=f(2443),_=f(9708).Buffer,O=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],l=new Array(160);function C(){this.init(),this._w=l,t.call(this,128,112)}function u(W,Z,X){return X^W&(Z^X)}function P(W,Z,X){return W&Z|X&(W|Z)}function p(W,Z){return(W>>>28|Z<<4)^(Z>>>2|W<<30)^(Z>>>7|W<<25)}function L(W,Z){return(W>>>14|Z<<18)^(W>>>18|Z<<14)^(Z>>>9|W<<23)}function D(W,Z){return(W>>>1|Z<<31)^(W>>>8|Z<<24)^W>>>7}function k(W,Z){return(W>>>1|Z<<31)^(W>>>8|Z<<24)^(W>>>7|Z<<25)}function M(W,Z){return(W>>>19|Z<<13)^(Z>>>29|W<<3)^W>>>6}function z(W,Z){return(W>>>19|Z<<13)^(Z>>>29|W<<3)^(W>>>6|Z<<26)}function A(W,Z){return W>>>0<Z>>>0?1:0}e(C,t),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(W){for(var Z=this._w,X=0|this._ah,$=0|this._bh,ae=0|this._ch,he=0|this._dh,se=0|this._eh,pe=0|this._fh,le=0|this._gh,re=0|this._hh,fe=0|this._al,T=0|this._bl,i=0|this._cl,o=0|this._dl,m=0|this._el,h=0|this._fl,x=0|this._gl,I=0|this._hl,R=0;R<32;R+=2)Z[R]=W.readInt32BE(4*R),Z[R+1]=W.readInt32BE(4*R+4);for(;R<160;R+=2){var g=Z[R-30],r=Z[R-30+1],w=D(g,r),V=k(r,g),N=M(g=Z[R-4],r=Z[R-4+1]),Y=z(r,g),Pe=Z[R-14],Ce=Z[R-14+1],Xe=Z[R-32],dt=Z[R-32+1],Ke=V+Ce|0,ge=w+Pe+A(Ke,V)|0;ge=(ge=ge+N+A(Ke=Ke+Y|0,Y)|0)+Xe+A(Ke=Ke+dt|0,dt)|0,Z[R]=ge,Z[R+1]=Ke}for(var $e=0;$e<160;$e+=2){ge=Z[$e],Ke=Z[$e+1];var Oe=P(X,$,ae),Me=P(fe,T,i),De=p(X,fe),Ue=p(fe,X),ye=L(se,m),we=L(m,se),ie=O[$e],Se=O[$e+1],ne=u(se,pe,le),K=u(m,h,x),ee=I+we|0,ze=re+ye+A(ee,I)|0;ze=(ze=(ze=ze+ne+A(ee=ee+K|0,K)|0)+ie+A(ee=ee+Se|0,Se)|0)+ge+A(ee=ee+Ke|0,Ke)|0;var Ve=Ue+Me|0,oe=De+Oe+A(Ve,Ue)|0;re=le,I=x,le=pe,x=h,pe=se,h=m,se=he+ze+A(m=o+ee|0,o)|0,he=ae,o=i,ae=$,i=T,$=X,T=fe,X=ze+oe+A(fe=ee+Ve|0,ee)|0}this._al=this._al+fe|0,this._bl=this._bl+T|0,this._cl=this._cl+i|0,this._dl=this._dl+o|0,this._el=this._el+m|0,this._fl=this._fl+h|0,this._gl=this._gl+x|0,this._hl=this._hl+I|0,this._ah=this._ah+X+A(this._al,fe)|0,this._bh=this._bh+$+A(this._bl,T)|0,this._ch=this._ch+ae+A(this._cl,i)|0,this._dh=this._dh+he+A(this._dl,o)|0,this._eh=this._eh+se+A(this._el,m)|0,this._fh=this._fh+pe+A(this._fl,h)|0,this._gh=this._gh+le+A(this._gl,x)|0,this._hh=this._hh+re+A(this._hl,I)|0},C.prototype._hash=function(){var W=_.allocUnsafe(64);function Z(X,$,ae){W.writeInt32BE(X,ae),W.writeInt32BE($,ae+4)}return Z(this._ah,this._al,0),Z(this._bh,this._bl,8),Z(this._ch,this._cl,16),Z(this._dh,this._dl,24),Z(this._eh,this._el,32),Z(this._fh,this._fl,40),Z(this._gh,this._gl,48),Z(this._hh,this._hl,56),W},Ye.exports=C},9591:function(Ye,J,f){!function(e){"use strict";var t={};Ye.exports?(t.bytesToHex=f(4123).bytesToHex,t.convertString=f(4056),Ye.exports=P):(t.bytesToHex=e.convertHex.bytesToHex,t.convertString=e.convertString,e.sha256=P);var _=[];!function(){function p(M){for(var z=Math.sqrt(M),A=2;A<=z;A++)if(!(M%A))return!1;return!0}for(var D=2,k=0;k<64;)p(D)&&(_[k]=4294967296*((M=Math.pow(D,1/3))-(0|M))|0,k++),D++;var M}();var C=[],u=function(p,L,D){for(var k=p[0],M=p[1],z=p[2],A=p[3],W=p[4],Z=p[5],X=p[6],$=p[7],ae=0;ae<64;ae++){if(ae<16)C[ae]=0|L[D+ae];else{var he=C[ae-15],se=(he<<25|he>>>7)^(he<<14|he>>>18)^he>>>3,pe=C[ae-2],le=(pe<<15|pe>>>17)^(pe<<13|pe>>>19)^pe>>>10;C[ae]=se+C[ae-7]+le+C[ae-16]}var fe=k&M^k&z^M&z,T=(k<<30|k>>>2)^(k<<19|k>>>13)^(k<<10|k>>>22),o=$+((W<<26|W>>>6)^(W<<21|W>>>11)^(W<<7|W>>>25))+(W&Z^~W&X)+_[ae]+C[ae];$=X,X=Z,Z=W,W=A+o|0,A=z,z=M,M=k,k=o+(T+fe)|0}p[0]=p[0]+k|0,p[1]=p[1]+M|0,p[2]=p[2]+z|0,p[3]=p[3]+A|0,p[4]=p[4]+W|0,p[5]=p[5]+Z|0,p[6]=p[6]+X|0,p[7]=p[7]+$|0};function P(p,L){p.constructor===String&&(p=t.convertString.UTF8.stringToBytes(p));var D=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],k=function(p){for(var L=[],D=0,k=0;D<p.length;D++,k+=8)L[k>>>5]|=p[D]<<24-k%32;return L}(p),M=8*p.length;k[M>>5]|=128<<24-M%32,k[15+(M+64>>9<<4)]=M;for(var z=0;z<k.length;z+=16)u(D,k,z);var A=function(p){for(var L=[],D=0;D<32*p.length;D+=8)L.push(p[D>>>5]>>>24-D%32&255);return L}(D);return L&&L.asBytes?A:L&&L.asString?t.convertString.bytesToString(A):t.bytesToHex(A)}P.x2=function(p,L){return P(P(p,{asBytes:!0}),L)}}(this)},574:(Ye,J,f)=>{Ye.exports=_;var e=f(3358).EventEmitter;function _(){e.call(this)}f(5035)(_,e),_.Readable=f(1396),_.Writable=f(1120),_.Duplex=f(9800),_.Transform=f(8157),_.PassThrough=f(1908),_.finished=f(7722),_.pipeline=f(8096),_.Stream=_,_.prototype.pipe=function(O,l){var C=this;function u(z){O.writable&&!1===O.write(z)&&C.pause&&C.pause()}function P(){C.readable&&C.resume&&C.resume()}C.on("data",u),O.on("drain",P),!O._isStdio&&(!l||!1!==l.end)&&(C.on("end",L),C.on("close",D));var p=!1;function L(){p||(p=!0,O.end())}function D(){p||(p=!0,"function"==typeof O.destroy&&O.destroy())}function k(z){if(M(),0===e.listenerCount(this,"error"))throw z}function M(){C.removeListener("data",u),O.removeListener("drain",P),C.removeListener("end",L),C.removeListener("close",D),C.removeListener("error",k),O.removeListener("error",k),C.removeListener("end",M),C.removeListener("close",M),O.removeListener("close",M)}return C.on("error",k),O.on("error",k),C.on("end",M),C.on("close",M),O.on("close",M),O.emit("pipe",C),O}},4547:(Ye,J,f)=>{"use strict";var e=f(9708).Buffer,t=e.isEncoding||function(X){switch((X=""+X)&&X.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function l(X){var $;switch(this.encoding=function O(X){var $=function _(X){if(!X)return"utf8";for(var $;;)switch(X){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 X;default:if($)return;X=(""+X).toLowerCase(),$=!0}}(X);if("string"!=typeof $&&(e.isEncoding===t||!t(X)))throw new Error("Unknown encoding: "+X);return $||X}(X),this.encoding){case"utf16le":this.text=k,this.end=M,$=4;break;case"utf8":this.fillLast=p,$=4;break;case"base64":this.text=z,this.end=A,$=3;break;default:return this.write=W,void(this.end=Z)}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe($)}function C(X){return X<=127?0:X>>5==6?2:X>>4==14?3:X>>3==30?4:X>>6==2?-1:-2}function p(X){var $=this.lastTotal-this.lastNeed,ae=function P(X,$,ae){if(128!=(192&$[0]))return X.lastNeed=0,"\ufffd";if(X.lastNeed>1&&$.length>1){if(128!=(192&$[1]))return X.lastNeed=1,"\ufffd";if(X.lastNeed>2&&$.length>2&&128!=(192&$[2]))return X.lastNeed=2,"\ufffd"}}(this,X);return void 0!==ae?ae:this.lastNeed<=X.length?(X.copy(this.lastChar,$,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(X.copy(this.lastChar,$,0,X.length),void(this.lastNeed-=X.length))}function k(X,$){if((X.length-$)%2==0){var ae=X.toString("utf16le",$);if(ae){var he=ae.charCodeAt(ae.length-1);if(he>=55296&&he<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=X[X.length-2],this.lastChar[1]=X[X.length-1],ae.slice(0,-1)}return ae}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=X[X.length-1],X.toString("utf16le",$,X.length-1)}function M(X){var $=X&&X.length?this.write(X):"";if(this.lastNeed){var ae=this.lastTotal-this.lastNeed;return $+this.lastChar.toString("utf16le",0,ae)}return $}function z(X,$){var ae=(X.length-$)%3;return 0===ae?X.toString("base64",$):(this.lastNeed=3-ae,this.lastTotal=3,1===ae?this.lastChar[0]=X[X.length-1]:(this.lastChar[0]=X[X.length-2],this.lastChar[1]=X[X.length-1]),X.toString("base64",$,X.length-ae))}function A(X){var $=X&&X.length?this.write(X):"";return this.lastNeed?$+this.lastChar.toString("base64",0,3-this.lastNeed):$}function W(X){return X.toString(this.encoding)}function Z(X){return X&&X.length?this.write(X):""}J.s=l,l.prototype.write=function(X){if(0===X.length)return"";var $,ae;if(this.lastNeed){if(void 0===($=this.fillLast(X)))return"";ae=this.lastNeed,this.lastNeed=0}else ae=0;return ae<X.length?$?$+this.text(X,ae):this.text(X,ae):$||""},l.prototype.end=function D(X){var $=X&&X.length?this.write(X):"";return this.lastNeed?$+"\ufffd":$},l.prototype.text=function L(X,$){var ae=function u(X,$,ae){var he=$.length-1;if(he<ae)return 0;var se=C($[he]);return se>=0?(se>0&&(X.lastNeed=se-1),se):--he<ae||-2===se?0:(se=C($[he]))>=0?(se>0&&(X.lastNeed=se-2),se):--he<ae||-2===se?0:(se=C($[he]))>=0?(se>0&&(2===se?se=0:X.lastNeed=se-3),se):0}(this,X,$);if(!this.lastNeed)return X.toString("utf8",$);this.lastTotal=ae;var he=X.length-(ae-this.lastNeed);return X.copy(this.lastChar,0,he),X.toString("utf8",$,he)},l.prototype.fillLast=function(X){if(this.lastNeed<=X.length)return X.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);X.copy(this.lastChar,this.lastTotal-this.lastNeed,0,X.length),this.lastNeed-=X.length}},917:(Ye,J,f)=>{var e=f(1546);J.encode=e.encode,J.decode=e.decode},1546:(Ye,J)=>{"use strict";var e=[255,255,26,27,28,29,30,31,255,255,255,255,255,255,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255];J.encode=function(_){Buffer.isBuffer(_)||(_=new Buffer(_));for(var O=0,l=0,C=0,u=0,P=new Buffer(8*function t(_){var O=Math.floor(_.length/5);return _.length%5==0?O:O+1}(_));O<_.length;){var p=_[O];C>3?(u=(u=p&255>>C)<<(C=(C+5)%8)|(O+1<_.length?_[O+1]:0)>>8-C,O++):(u=p>>8-(C+5)&31,0===(C=(C+5)%8)&&O++),P[l]="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567".charCodeAt(u),l++}for(O=l;O<P.length;O++)P[O]=61;return P},J.decode=function(_){var C,O=0,l=0,u=0;Buffer.isBuffer(_)||(_=new Buffer(_));for(var P=new Buffer(Math.ceil(5*_.length/8)),p=0;p<_.length&&61!==_[p];p++){var L=_[p]-48;if(!(L<e.length))throw new Error("Invalid input - it is not base32 encoded string");l=e[L],O<=3?0===(O=(O+5)%8)?(C|=l,P[u]=C,u++,C=0):C|=255&l<<8-O:(C|=255&l>>>(O=(O+5)%8),P[u]=C,u++,C=255&l<<8-O)}return P.slice(0,u)}},8059:Ye=>{function f(e){try{if(!global.localStorage)return!1}catch{return!1}var t=global.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}Ye.exports=function J(e,t){if(f("noDeprecation"))return e;var _=!1;return function O(){if(!_){if(f("throwDeprecation"))throw new Error(t);f("traceDeprecation")?console.trace(t):console.warn(t),_=!0}return e.apply(this,arguments)}}},4929:(Ye,J,f)=>{"use strict";f.d(J,{FC:()=>X,KL:()=>ae,gn:()=>l,mG:()=>P,qq:()=>Z});function l(i,o,m,h){var R,x=arguments.length,I=x<3?o:null===h?h=Object.getOwnPropertyDescriptor(o,m):h;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)I=Reflect.decorate(i,o,m,h);else for(var g=i.length-1;g>=0;g--)(R=i[g])&&(I=(x<3?R(I):x>3?R(o,m,I):R(o,m))||I);return x>3&&I&&Object.defineProperty(o,m,I),I}function P(i,o,m,h){return new(m||(m=Promise))(function(I,R){function g(V){try{w(h.next(V))}catch(N){R(N)}}function r(V){try{w(h.throw(V))}catch(N){R(N)}}function w(V){V.done?I(V.value):function x(I){return I instanceof m?I:new m(function(R){R(I)})}(V.value).then(g,r)}w((h=h.apply(i,o||[])).next())})}Object.create;function k(i){var o="function"==typeof Symbol&&Symbol.iterator,m=o&&i[o],h=0;if(m)return m.call(i);if(i&&"number"==typeof i.length)return{next:function(){return i&&h>=i.length&&(i=void 0),{value:i&&i[h++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")}function Z(i){return this instanceof Z?(this.v=i,this):new Z(i)}function X(i,o,m){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var x,h=m.apply(i,o||[]),I=[];return x={},R("next"),R("throw"),R("return"),x[Symbol.asyncIterator]=function(){return this},x;function R(Y){h[Y]&&(x[Y]=function(Pe){return new Promise(function(Ce,Xe){I.push([Y,Pe,Ce,Xe])>1||g(Y,Pe)})})}function g(Y,Pe){try{!function r(Y){Y.value instanceof Z?Promise.resolve(Y.value.v).then(w,V):N(I[0][2],Y)}(h[Y](Pe))}catch(Ce){N(I[0][3],Ce)}}function w(Y){g("next",Y)}function V(Y){g("throw",Y)}function N(Y,Pe){Y(Pe),I.shift(),I.length&&g(I[0][0],I[0][1])}}function ae(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var m,o=i[Symbol.asyncIterator];return o?o.call(i):(i=k(i),m={},h("next"),h("throw"),h("return"),m[Symbol.asyncIterator]=function(){return this},m);function h(I){m[I]=i[I]&&function(R){return new Promise(function(g,r){(function x(I,R,g,r){Promise.resolve(r).then(function(w){I({value:w,done:g})},R)})(g,r,(R=i[I](R)).done,R.value)})}}}Object.create},950:()=>{},6601:()=>{},8623:()=>{},7748:()=>{},5568:()=>{},6619:()=>{},7108:()=>{},2361:()=>{},4616:()=>{},4851:(Ye,J,f)=>{"use strict";f.d(J,{F4:()=>L,IO:()=>A,LC:()=>t,SB:()=>p,X$:()=>O,ZE:()=>$,ZN:()=>X,_j:()=>e,eR:()=>D,jt:()=>l,k1:()=>ae,l3:()=>_,oB:()=>P,pV:()=>M,ru:()=>C,vP:()=>u});class e{}class t{}const _="*";function O(he,se){return{type:7,name:he,definitions:se,options:{}}}function l(he,se=null){return{type:4,styles:se,timings:he}}function C(he,se=null){return{type:3,steps:he,options:se}}function u(he,se=null){return{type:2,steps:he,options:se}}function P(he){return{type:6,styles:he,offset:null}}function p(he,se,pe){return{type:0,name:he,styles:se,options:pe}}function L(he){return{type:5,steps:he}}function D(he,se,pe=null){return{type:1,expr:he,animation:se,options:pe}}function M(he=null){return{type:9,options:he}}function A(he,se,pe=null){return{type:11,selector:he,animation:se,options:pe}}function Z(he){Promise.resolve().then(he)}class X{constructor(se=0,pe=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=se+pe}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(se=>se()),this._onDoneFns=[])}onStart(se){this._originalOnStartFns.push(se),this._onStartFns.push(se)}onDone(se){this._originalOnDoneFns.push(se),this._onDoneFns.push(se)}onDestroy(se){this._onDestroyFns.push(se)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Z(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(se=>se()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(se=>se()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(se){this._position=this.totalTime?se*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(se){const pe="start"==se?this._onStartFns:this._onDoneFns;pe.forEach(le=>le()),pe.length=0}}class ${constructor(se){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=se;let pe=0,le=0,re=0;const fe=this.players.length;0==fe?Z(()=>this._onFinish()):this.players.forEach(T=>{T.onDone(()=>{++pe==fe&&this._onFinish()}),T.onDestroy(()=>{++le==fe&&this._onDestroy()}),T.onStart(()=>{++re==fe&&this._onStart()})}),this.totalTime=this.players.reduce((T,i)=>Math.max(T,i.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(se=>se()),this._onDoneFns=[])}init(){this.players.forEach(se=>se.init())}onStart(se){this._onStartFns.push(se)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(se=>se()),this._onStartFns=[])}onDone(se){this._onDoneFns.push(se)}onDestroy(se){this._onDestroyFns.push(se)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(se=>se.play())}pause(){this.players.forEach(se=>se.pause())}restart(){this.players.forEach(se=>se.restart())}finish(){this._onFinish(),this.players.forEach(se=>se.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(se=>se.destroy()),this._onDestroyFns.forEach(se=>se()),this._onDestroyFns=[])}reset(){this.players.forEach(se=>se.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(se){const pe=se*this.totalTime;this.players.forEach(le=>{const re=le.totalTime?Math.min(1,pe/le.totalTime):1;le.setPosition(re)})}getPosition(){const se=this.players.reduce((pe,le)=>null===pe||le.totalTime>pe.totalTime?le:pe,null);return null!=se?se.getPosition():0}beforeDestroy(){this.players.forEach(se=>{se.beforeDestroy&&se.beforeDestroy()})}triggerCallback(se){const pe="start"==se?this._onStartFns:this._onDoneFns;pe.forEach(le=>le()),pe.length=0}}const ae="!"},4218:(Ye,J,f)=>{"use strict";f.d(J,{$s:()=>i,Em:()=>I,Kd:()=>st,X6:()=>ne,ic:()=>g,kH:()=>kt,mK:()=>De,qV:()=>Me,qm:()=>Zt,rt:()=>mi,s1:()=>x,tE:()=>Gt,yG:()=>K});var e=f(4666),t=f(2560),_=f(9107),O=f(253),l=f(7714),C=f(6317),u=f(745),P=f(8456),p=f(9337),L=f(1989),D=f(116),k=f(635),M=f(9295),z=f(7260),A=f(8977),W=f(8951),Z=f(8971),X=f(3773),$=f(3278);function pe(Re,U){return(Re.getAttribute(U)||"").match(/\S+/g)||[]}const re="cdk-describedby-message",fe="cdk-describedby-host";let T=0;class i{constructor(U,j){this._platform=j,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+T++,this._document=U,this._id=(0,t.f3M)(t.AFp)+"-"+T++}describe(U,j,ue){if(!this._canBeDescribed(U,j))return;const Ne=o(j,ue);"string"!=typeof j?(m(j,this._id),this._messageRegistry.set(Ne,{messageElement:j,referenceCount:0})):this._messageRegistry.has(Ne)||this._createMessageElement(j,ue),this._isElementDescribedByMessage(U,Ne)||this._addMessageReference(U,Ne)}removeDescription(U,j,ue){if(!j||!this._isElementNode(U))return;const Ne=o(j,ue);if(this._isElementDescribedByMessage(U,Ne)&&this._removeMessageReference(U,Ne),"string"==typeof j){const wt=this._messageRegistry.get(Ne);wt&&0===wt.referenceCount&&this._deleteMessageElement(Ne)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const U=this._document.querySelectorAll(`[${fe}="${this._id}"]`);for(let j=0;j<U.length;j++)this._removeCdkDescribedByReferenceIds(U[j]),U[j].removeAttribute(fe);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(U,j){const ue=this._document.createElement("div");m(ue,this._id),ue.textContent=U,j&&ue.setAttribute("role",j),this._createMessagesContainer(),this._messagesContainer.appendChild(ue),this._messageRegistry.set(o(U,j),{messageElement:ue,referenceCount:0})}_deleteMessageElement(U){this._messageRegistry.get(U)?.messageElement?.remove(),this._messageRegistry.delete(U)}_createMessagesContainer(){if(this._messagesContainer)return;const U="cdk-describedby-message-container",j=this._document.querySelectorAll(`.${U}[platform="server"]`);for(let Ne=0;Ne<j.length;Ne++)j[Ne].remove();const ue=this._document.createElement("div");ue.style.visibility="hidden",ue.classList.add(U),ue.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&ue.setAttribute("platform","server"),this._document.body.appendChild(ue),this._messagesContainer=ue}_removeCdkDescribedByReferenceIds(U){const j=pe(U,"aria-describedby").filter(ue=>0!=ue.indexOf(re));U.setAttribute("aria-describedby",j.join(" "))}_addMessageReference(U,j){const ue=this._messageRegistry.get(j);(function he(Re,U,j){const ue=pe(Re,U);ue.some(Ne=>Ne.trim()==j.trim())||(ue.push(j.trim()),Re.setAttribute(U,ue.join(" ")))})(U,"aria-describedby",ue.messageElement.id),U.setAttribute(fe,this._id),ue.referenceCount++}_removeMessageReference(U,j){const ue=this._messageRegistry.get(j);ue.referenceCount--,function se(Re,U,j){const Ne=pe(Re,U).filter(wt=>wt!=j.trim());Ne.length?Re.setAttribute(U,Ne.join(" ")):Re.removeAttribute(U)}(U,"aria-describedby",ue.messageElement.id),U.removeAttribute(fe)}_isElementDescribedByMessage(U,j){const ue=pe(U,"aria-describedby"),Ne=this._messageRegistry.get(j),wt=Ne&&Ne.messageElement.id;return!!wt&&-1!=ue.indexOf(wt)}_canBeDescribed(U,j){if(!this._isElementNode(U))return!1;if(j&&"object"==typeof j)return!0;const ue=null==j?"":`${j}`.trim(),Ne=U.getAttribute("aria-label");return!!ue&&(!Ne||Ne.trim()!==ue)}_isElementNode(U){return U.nodeType===this._document.ELEMENT_NODE}}function o(Re,U){return"string"==typeof Re?`${U||""}/${Re}`:Re}function m(Re,U){Re.id||(Re.id=`${re}-${U}-${T++}`)}i.\u0275fac=function(U){return new(U||i)(t.LFG(e.K0),t.LFG(_.t4))},i.\u0275prov=t.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"});class h{constructor(U){this._items=U,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new O.x,this._typeaheadSubscription=l.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=j=>j.disabled,this._pressedLetters=[],this.tabOut=new O.x,this.change=new O.x,U instanceof t.n_E&&(this._itemChangesSubscription=U.changes.subscribe(j=>{if(this._activeItem){const Ne=j.toArray().indexOf(this._activeItem);Ne>-1&&Ne!==this._activeItemIndex&&(this._activeItemIndex=Ne)}}))}skipPredicate(U){return this._skipPredicateFn=U,this}withWrap(U=!0){return this._wrap=U,this}withVerticalOrientation(U=!0){return this._vertical=U,this}withHorizontalOrientation(U){return this._horizontal=U,this}withAllowedModifierKeys(U){return this._allowedModifierKeys=U,this}withTypeAhead(U=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,p.b)(j=>this._pressedLetters.push(j)),(0,L.b)(U),(0,D.h)(()=>this._pressedLetters.length>0),(0,k.U)(()=>this._pressedLetters.join(""))).subscribe(j=>{const ue=this._getItemsArray();for(let Ne=1;Ne<ue.length+1;Ne++){const wt=(this._activeItemIndex+Ne)%ue.length,Et=ue[wt];if(!this._skipPredicateFn(Et)&&0===Et.getLabel().toUpperCase().trim().indexOf(j)){this.setActiveItem(wt);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(U=!0){return this._homeAndEnd=U,this}withPageUpDown(U=!0,j=10){return this._pageUpAndDown={enabled:U,delta:j},this}setActiveItem(U){const j=this._activeItem;this.updateActiveItem(U),this._activeItem!==j&&this.change.next(this._activeItemIndex)}onKeydown(U){const j=U.keyCode,Ne=["altKey","ctrlKey","metaKey","shiftKey"].every(wt=>!U[wt]||this._allowedModifierKeys.indexOf(wt)>-1);switch(j){case P.Mf:return void this.tabOut.next();case P.JH:if(this._vertical&&Ne){this.setNextItemActive();break}return;case P.LH:if(this._vertical&&Ne){this.setPreviousItemActive();break}return;case P.SV:if(this._horizontal&&Ne){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case P.oh:if(this._horizontal&&Ne){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case P.Sd:if(this._homeAndEnd&&Ne){this.setFirstItemActive();break}return;case P.uR:if(this._homeAndEnd&&Ne){this.setLastItemActive();break}return;case P.Ku:if(this._pageUpAndDown.enabled&&Ne){const wt=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(wt>0?wt:0,1);break}return;case P.VM:if(this._pageUpAndDown.enabled&&Ne){const wt=this._activeItemIndex+this._pageUpAndDown.delta,Et=this._getItemsArray().length;this._setActiveItemByIndex(wt<Et?wt:Et-1,-1);break}return;default:return void((Ne||(0,P.Vb)(U,"shiftKey"))&&(U.key&&1===U.key.length?this._letterKeyStream.next(U.key.toLocaleUpperCase()):(j>=P.A&&j<=P.Z||j>=P.xE&&j<=P.aO)&&this._letterKeyStream.next(String.fromCharCode(j))))}this._pressedLetters=[],U.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(U){const j=this._getItemsArray(),ue="number"==typeof U?U:j.indexOf(U),Ne=j[ue];this._activeItem=Ne??null,this._activeItemIndex=ue}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(U){this._wrap?this._setActiveInWrapMode(U):this._setActiveInDefaultMode(U)}_setActiveInWrapMode(U){const j=this._getItemsArray();for(let ue=1;ue<=j.length;ue++){const Ne=(this._activeItemIndex+U*ue+j.length)%j.length,wt=j[Ne];if(!this._skipPredicateFn(wt))return void this.setActiveItem(Ne)}}_setActiveInDefaultMode(U){this._setActiveItemByIndex(this._activeItemIndex+U,U)}_setActiveItemByIndex(U,j){const ue=this._getItemsArray();if(ue[U]){for(;this._skipPredicateFn(ue[U]);)if(!ue[U+=j])return;this.setActiveItem(U)}}_getItemsArray(){return this._items instanceof t.n_E?this._items.toArray():this._items}}class x extends h{setActiveItem(U){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(U),this.activeItem&&this.activeItem.setActiveStyles()}}class I extends h{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(U){return this._origin=U,this}setActiveItem(U){super.setActiveItem(U),this.activeItem&&this.activeItem.focus(this._origin)}}class g{constructor(U){this._platform=U}isDisabled(U){return U.hasAttribute("disabled")}isVisible(U){return function w(Re){return!!(Re.offsetWidth||Re.offsetHeight||"function"==typeof Re.getClientRects&&Re.getClientRects().length)}(U)&&"visible"===getComputedStyle(U).visibility}isTabbable(U){if(!this._platform.isBrowser)return!1;const j=function r(Re){try{return Re.frameElement}catch{return null}}(function $e(Re){return Re.ownerDocument&&Re.ownerDocument.defaultView||window}(U));if(j&&(-1===dt(j)||!this.isVisible(j)))return!1;let ue=U.nodeName.toLowerCase(),Ne=dt(U);return U.hasAttribute("contenteditable")?-1!==Ne:!("iframe"===ue||"object"===ue||this._platform.WEBKIT&&this._platform.IOS&&!function Ke(Re){let U=Re.nodeName.toLowerCase(),j="input"===U&&Re.type;return"text"===j||"password"===j||"select"===U||"textarea"===U}(U))&&("audio"===ue?!!U.hasAttribute("controls")&&-1!==Ne:"video"===ue?-1!==Ne&&(null!==Ne||(this._platform.FIREFOX||U.hasAttribute("controls"))):U.tabIndex>=0)}isFocusable(U,j){return function ge(Re){return!function N(Re){return function Pe(Re){return"input"==Re.nodeName.toLowerCase()}(Re)&&"hidden"==Re.type}(Re)&&(function V(Re){let U=Re.nodeName.toLowerCase();return"input"===U||"select"===U||"button"===U||"textarea"===U}(Re)||function Y(Re){return function Ce(Re){return"a"==Re.nodeName.toLowerCase()}(Re)&&Re.hasAttribute("href")}(Re)||Re.hasAttribute("contenteditable")||Xe(Re))}(U)&&!this.isDisabled(U)&&(j?.ignoreVisibility||this.isVisible(U))}}function Xe(Re){if(!Re.hasAttribute("tabindex")||void 0===Re.tabIndex)return!1;let U=Re.getAttribute("tabindex");return!(!U||isNaN(parseInt(U,10)))}function dt(Re){if(!Xe(Re))return null;const U=parseInt(Re.getAttribute("tabindex")||"",10);return isNaN(U)?-1:U}g.\u0275fac=function(U){return new(U||g)(t.LFG(_.t4))},g.\u0275prov=t.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"});class Oe{constructor(U,j,ue,Ne,wt=!1){this._element=U,this._checker=j,this._ngZone=ue,this._document=Ne,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,wt||this.attachAnchors()}get enabled(){return this._enabled}set enabled(U){this._enabled=U,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(U,this._startAnchor),this._toggleAnchorTabIndex(U,this._endAnchor))}destroy(){const U=this._startAnchor,j=this._endAnchor;U&&(U.removeEventListener("focus",this.startAnchorListener),U.remove()),j&&(j.removeEventListener("focus",this.endAnchorListener),j.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(U){return new Promise(j=>{this._executeOnStable(()=>j(this.focusInitialElement(U)))})}focusFirstTabbableElementWhenReady(U){return new Promise(j=>{this._executeOnStable(()=>j(this.focusFirstTabbableElement(U)))})}focusLastTabbableElementWhenReady(U){return new Promise(j=>{this._executeOnStable(()=>j(this.focusLastTabbableElement(U)))})}_getRegionBoundary(U){const j=this._element.querySelectorAll(`[cdk-focus-region-${U}], [cdkFocusRegion${U}], [cdk-focus-${U}]`);return"start"==U?j.length?j[0]:this._getFirstTabbableElement(this._element):j.length?j[j.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(U){const j=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(j){if(!this._checker.isFocusable(j)){const ue=this._getFirstTabbableElement(j);return ue?.focus(U),!!ue}return j.focus(U),!0}return this.focusFirstTabbableElement(U)}focusFirstTabbableElement(U){const j=this._getRegionBoundary("start");return j&&j.focus(U),!!j}focusLastTabbableElement(U){const j=this._getRegionBoundary("end");return j&&j.focus(U),!!j}hasAttached(){return this._hasAttached}_getFirstTabbableElement(U){if(this._checker.isFocusable(U)&&this._checker.isTabbable(U))return U;const j=U.children;for(let ue=0;ue<j.length;ue++){const Ne=j[ue].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(j[ue]):null;if(Ne)return Ne}return null}_getLastTabbableElement(U){if(this._checker.isFocusable(U)&&this._checker.isTabbable(U))return U;const j=U.children;for(let ue=j.length-1;ue>=0;ue--){const Ne=j[ue].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(j[ue]):null;if(Ne)return Ne}return null}_createAnchor(){const U=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,U),U.classList.add("cdk-visually-hidden"),U.classList.add("cdk-focus-trap-anchor"),U.setAttribute("aria-hidden","true"),U}_toggleAnchorTabIndex(U,j){U?j.setAttribute("tabindex","0"):j.removeAttribute("tabindex")}toggleAnchors(U){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(U,this._startAnchor),this._toggleAnchorTabIndex(U,this._endAnchor))}_executeOnStable(U){this._ngZone.isStable?U():this._ngZone.onStable.pipe((0,M.q)(1)).subscribe(U)}}class Me{constructor(U,j,ue){this._checker=U,this._ngZone=j,this._document=ue}create(U,j=!1){return new Oe(U,this._checker,this._ngZone,this._document,j)}}Me.\u0275fac=function(U){return new(U||Me)(t.LFG(g),t.LFG(t.R0b),t.LFG(e.K0))},Me.\u0275prov=t.Yz7({token:Me,factory:Me.\u0275fac,providedIn:"root"});class De{constructor(U,j,ue){this._elementRef=U,this._focusTrapFactory=j,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(U){this.focusTrap.enabled=(0,Z.Ig)(U)}get autoCapture(){return this._autoCapture}set autoCapture(U){this._autoCapture=(0,Z.Ig)(U)}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(U){const j=U.autoCapture;j&&!j.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,_.ht)(),this.focusTrap.focusInitialElementWhenReady()}}De.\u0275fac=function(U){return new(U||De)(t.Y36(t.SBq),t.Y36(Me),t.Y36(e.K0))},De.\u0275dir=t.lG2({type:De,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[t.TTD]});class Ue extends Oe{constructor(U,j,ue,Ne,wt,Et,Nt){super(U,j,ue,Ne,Nt.defer),this._focusTrapManager=wt,this._inertStrategy=Et,this._focusTrapManager.register(this)}get enabled(){return this._enabled}set enabled(U){this._enabled=U,this._enabled?this._focusTrapManager.register(this):this._focusTrapManager.deregister(this)}destroy(){this._focusTrapManager.deregister(this),super.destroy()}_enable(){this._inertStrategy.preventFocus(this),this.toggleAnchors(!0)}_disable(){this._inertStrategy.allowFocus(this),this.toggleAnchors(!1)}}const ye=new t.OlP("FOCUS_TRAP_INERT_STRATEGY");class we{constructor(){this._listener=null}preventFocus(U){this._listener&&U._document.removeEventListener("focus",this._listener,!0),this._listener=j=>this._trapFocus(U,j),U._ngZone.runOutsideAngular(()=>{U._document.addEventListener("focus",this._listener,!0)})}allowFocus(U){!this._listener||(U._document.removeEventListener("focus",this._listener,!0),this._listener=null)}_trapFocus(U,j){const ue=j.target,Ne=U._element;ue&&!Ne.contains(ue)&&!ue.closest?.("div.cdk-overlay-pane")&&setTimeout(()=>{U.enabled&&!Ne.contains(U._document.activeElement)&&U.focusFirstTabbableElement()})}}class ie{constructor(){this._focusTrapStack=[]}register(U){this._focusTrapStack=this._focusTrapStack.filter(ue=>ue!==U);let j=this._focusTrapStack;j.length&&j[j.length-1]._disable(),j.push(U),U._enable()}deregister(U){U._disable();const j=this._focusTrapStack,ue=j.indexOf(U);-1!==ue&&(j.splice(ue,1),j.length&&j[j.length-1]._enable())}}ie.\u0275fac=function(U){return new(U||ie)},ie.\u0275prov=t.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"});class Se{constructor(U,j,ue,Ne,wt){this._checker=U,this._ngZone=j,this._focusTrapManager=ue,this._document=Ne,this._inertStrategy=wt||new we}create(U,j={defer:!1}){let ue;return ue="boolean"==typeof j?{defer:j}:j,new Ue(U,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,ue)}}function ne(Re){return 0===Re.buttons||0===Re.offsetX&&0===Re.offsetY}function K(Re){const U=Re.touches&&Re.touches[0]||Re.changedTouches&&Re.changedTouches[0];return!(!U||-1!==U.identifier||null!=U.radiusX&&1!==U.radiusX||null!=U.radiusY&&1!==U.radiusY)}Se.\u0275fac=function(U){return new(U||Se)(t.LFG(g),t.LFG(t.R0b),t.LFG(ie),t.LFG(e.K0),t.LFG(ye,8))},Se.\u0275prov=t.Yz7({token:Se,factory:Se.\u0275fac,providedIn:"root"});const ee=new t.OlP("cdk-input-modality-detector-options"),ze={ignoreKeys:[P.zL,P.jx,P.b2,P.MW,P.JU]},oe=(0,_.i$)({passive:!0,capture:!0});class at{constructor(U,j,ue,Ne){this._platform=U,this._mostRecentTarget=null,this._modality=new C.X(null),this._lastTouchMs=0,this._onKeydown=wt=>{this._options?.ignoreKeys?.some(Et=>Et===wt.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,_.sA)(wt))},this._onMousedown=wt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(ne(wt)?"keyboard":"mouse"),this._mostRecentTarget=(0,_.sA)(wt))},this._onTouchstart=wt=>{K(wt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,_.sA)(wt))},this._options={...ze,...Ne},this.modalityDetected=this._modality.pipe((0,z.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,A.x)()),U.isBrowser&&j.runOutsideAngular(()=>{ue.addEventListener("keydown",this._onKeydown,oe),ue.addEventListener("mousedown",this._onMousedown,oe),ue.addEventListener("touchstart",this._onTouchstart,oe)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,oe),document.removeEventListener("mousedown",this._onMousedown,oe),document.removeEventListener("touchstart",this._onTouchstart,oe))}}at.\u0275fac=function(U){return new(U||at)(t.LFG(_.t4),t.LFG(t.R0b),t.LFG(e.K0),t.LFG(ee,8))},at.\u0275prov=t.Yz7({token:at,factory:at.\u0275fac,providedIn:"root"});const qe=new t.OlP("liveAnnouncerElement",{providedIn:"root",factory:function it(){return null}});const ii=new t.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let bt=0;class st{constructor(U,j,ue,Ne){this._ngZone=j,this._defaultOptions=Ne,this._document=ue,this._liveElement=U||this._createLiveElement()}announce(U,...j){const ue=this._defaultOptions;let Ne,wt;return 1===j.length&&"number"==typeof j[0]?wt=j[0]:[Ne,wt]=j,this.clear(),clearTimeout(this._previousTimeout),Ne||(Ne=ue&&ue.politeness?ue.politeness:"polite"),null==wt&&ue&&(wt=ue.duration),this._liveElement.setAttribute("aria-live",Ne),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Et=>this._currentResolve=Et)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=U,"number"==typeof wt&&(this._previousTimeout=setTimeout(()=>this.clear(),wt)),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 U="cdk-live-announcer-element",j=this._document.getElementsByClassName(U),ue=this._document.createElement("div");for(let Ne=0;Ne<j.length;Ne++)j[Ne].remove();return ue.classList.add(U),ue.classList.add("cdk-visually-hidden"),ue.setAttribute("aria-atomic","true"),ue.setAttribute("aria-live","polite"),ue.id="cdk-live-announcer-"+bt++,this._document.body.appendChild(ue),ue}_exposeAnnouncerToModals(U){const j=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let ue=0;ue<j.length;ue++){const Ne=j[ue],wt=Ne.getAttribute("aria-owns");wt?-1===wt.indexOf(U)&&Ne.setAttribute("aria-owns",wt+" "+U):Ne.setAttribute("aria-owns",U)}}}st.\u0275fac=function(U){return new(U||st)(t.LFG(qe,8),t.LFG(t.R0b),t.LFG(e.K0),t.LFG(ii,8))},st.\u0275prov=t.Yz7({token:st,factory:st.\u0275fac,providedIn:"root"});class Be{constructor(U,j,ue,Ne){this._elementRef=U,this._liveAnnouncer=j,this._contentObserver=ue,this._ngZone=Ne,this._politeness="polite"}get politeness(){return this._politeness}set politeness(U){this._politeness="off"===U||"assertive"===U?U:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const j=this._elementRef.nativeElement.textContent;j!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(j,this._politeness,this.duration),this._previousAnnouncedText=j)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}Be.\u0275fac=function(U){return new(U||Be)(t.Y36(t.SBq),t.Y36(st),t.Y36(X.yq),t.Y36(t.R0b))},Be.\u0275dir=t.lG2({type:Be,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"],duration:["cdkAriaLiveDuration","duration"]},exportAs:["cdkAriaLive"]});const rt=new t.OlP("cdk-focus-monitor-default-options"),Ot=(0,_.i$)({passive:!0,capture:!0});class Gt{constructor(U,j,ue,Ne,wt){this._ngZone=U,this._platform=j,this._inputModalityDetector=ue,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 O.x,this._rootNodeFocusAndBlurListener=Et=>{for(let ot=(0,_.sA)(Et);ot;ot=ot.parentElement)"focus"===Et.type?this._onFocus(Et,ot):this._onBlur(Et,ot)},this._document=Ne,this._detectionMode=wt?.detectionMode||0}monitor(U,j=!1){const ue=(0,Z.fI)(U);if(!this._platform.isBrowser||1!==ue.nodeType)return(0,u.of)(null);const Ne=(0,_.kV)(ue)||this._getDocument(),wt=this._elementInfo.get(ue);if(wt)return j&&(wt.checkChildren=!0),wt.subject;const Et={checkChildren:j,subject:new O.x,rootNode:Ne};return this._elementInfo.set(ue,Et),this._registerGlobalListeners(Et),Et.subject}stopMonitoring(U){const j=(0,Z.fI)(U),ue=this._elementInfo.get(j);ue&&(ue.subject.complete(),this._setClasses(j),this._elementInfo.delete(j),this._removeGlobalListeners(ue))}focusVia(U,j,ue){const Ne=(0,Z.fI)(U);Ne===this._getDocument().activeElement?this._getClosestElementsInfo(Ne).forEach(([Et,Nt])=>this._originChanged(Et,j,Nt)):(this._setOrigin(j),"function"==typeof Ne.focus&&Ne.focus(ue))}ngOnDestroy(){this._elementInfo.forEach((U,j)=>this.stopMonitoring(j))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(U){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(U)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:U&&this._isLastInteractionFromInputLabel(U)?"mouse":"program"}_shouldBeAttributedToTouch(U){return 1===this._detectionMode||!!U?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(U,j){U.classList.toggle("cdk-focused",!!j),U.classList.toggle("cdk-touch-focused","touch"===j),U.classList.toggle("cdk-keyboard-focused","keyboard"===j),U.classList.toggle("cdk-mouse-focused","mouse"===j),U.classList.toggle("cdk-program-focused","program"===j)}_setOrigin(U,j=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=U,this._originFromTouchInteraction="touch"===U&&j,0===this._detectionMode){clearTimeout(this._originTimeoutId);const ue=this._originFromTouchInteraction?650:1;this._originTimeoutId=setTimeout(()=>this._origin=null,ue)}})}_onFocus(U,j){const ue=this._elementInfo.get(j),Ne=(0,_.sA)(U);!ue||!ue.checkChildren&&j!==Ne||this._originChanged(j,this._getFocusOrigin(Ne),ue)}_onBlur(U,j){const ue=this._elementInfo.get(j);!ue||ue.checkChildren&&U.relatedTarget instanceof Node&&j.contains(U.relatedTarget)||(this._setClasses(j),this._emitOrigin(ue,null))}_emitOrigin(U,j){U.subject.observers.length&&this._ngZone.run(()=>U.subject.next(j))}_registerGlobalListeners(U){if(!this._platform.isBrowser)return;const j=U.rootNode,ue=this._rootNodeFocusListenerCount.get(j)||0;ue||this._ngZone.runOutsideAngular(()=>{j.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ot),j.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ot)}),this._rootNodeFocusListenerCount.set(j,ue+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,W.R)(this._stopInputModalityDetector)).subscribe(Ne=>{this._setOrigin(Ne,!0)}))}_removeGlobalListeners(U){const j=U.rootNode;if(this._rootNodeFocusListenerCount.has(j)){const ue=this._rootNodeFocusListenerCount.get(j);ue>1?this._rootNodeFocusListenerCount.set(j,ue-1):(j.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ot),j.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ot),this._rootNodeFocusListenerCount.delete(j))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(U,j,ue){this._setClasses(U,j),this._emitOrigin(ue,j),this._lastFocusOrigin=j}_getClosestElementsInfo(U){const j=[];return this._elementInfo.forEach((ue,Ne)=>{(Ne===U||ue.checkChildren&&Ne.contains(U))&&j.push([Ne,ue])}),j}_isLastInteractionFromInputLabel(U){const{_mostRecentTarget:j,mostRecentModality:ue}=this._inputModalityDetector;if("mouse"!==ue||!j||j===U||"INPUT"!==U.nodeName&&"TEXTAREA"!==U.nodeName||U.disabled)return!1;const Ne=U.labels;if(Ne)for(let wt=0;wt<Ne.length;wt++)if(Ne[wt].contains(j))return!0;return!1}}Gt.\u0275fac=function(U){return new(U||Gt)(t.LFG(t.R0b),t.LFG(_.t4),t.LFG(at),t.LFG(e.K0,8),t.LFG(rt,8))},Gt.\u0275prov=t.Yz7({token:Gt,factory:Gt.\u0275fac,providedIn:"root"});class kt{constructor(U,j){this._elementRef=U,this._focusMonitor=j,this._focusOrigin=null,this.cdkFocusChange=new t.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const U=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(U,1===U.nodeType&&U.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(j=>{this._focusOrigin=j,this.cdkFocusChange.emit(j)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}kt.\u0275fac=function(U){return new(U||kt)(t.Y36(t.SBq),t.Y36(Gt))},kt.\u0275dir=t.lG2({type:kt,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]});const Rt="cdk-high-contrast-black-on-white",yi="cdk-high-contrast-white-on-black",Jt="cdk-high-contrast-active";class Zt{constructor(U,j){this._platform=U,this._document=j,this._breakpointSubscription=(0,t.f3M)($.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const U=this._document.createElement("div");U.style.backgroundColor="rgb(1,2,3)",U.style.position="absolute",this._document.body.appendChild(U);const j=this._document.defaultView||window,ue=j&&j.getComputedStyle?j.getComputedStyle(U):null,Ne=(ue&&ue.backgroundColor||"").replace(/ /g,"");switch(U.remove(),Ne){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 U=this._document.body.classList;U.remove(Jt,Rt,yi),this._hasCheckedHighContrastMode=!0;const j=this.getHighContrastMode();1===j?U.add(Jt,Rt):2===j&&U.add(Jt,yi)}}}Zt.\u0275fac=function(U){return new(U||Zt)(t.LFG(_.t4),t.LFG(e.K0))},Zt.\u0275prov=t.Yz7({token:Zt,factory:Zt.\u0275fac,providedIn:"root"});class mi{constructor(U){U._applyBodyHighContrastModeCssClasses()}}mi.\u0275fac=function(U){return new(U||mi)(t.LFG(Zt))},mi.\u0275mod=t.oAB({type:mi}),mi.\u0275inj=t.cJS({imports:[X.Q8]})},2867:(Ye,J,f)=>{"use strict";f.d(J,{Is:()=>u,vT:()=>p});var e=f(2560),t=f(4666);const _=new e.OlP("cdk-dir-doc",{providedIn:"root",factory:function O(){return(0,e.f3M)(t.K0)}});const l=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function C(L){const D=L?.toLowerCase()||"";return"auto"===D&&typeof navigator<"u"&&navigator?.language?l.test(navigator.language)?"rtl":"ltr":"rtl"===D?"rtl":"ltr"}class u{constructor(D){if(this.value="ltr",this.change=new e.vpe,D){const k=D.body?D.body.dir:null,M=D.documentElement?D.documentElement.dir:null;this.value=C(k||M||"ltr")}}ngOnDestroy(){this.change.complete()}}u.\u0275fac=function(D){return new(D||u)(e.LFG(_,8))},u.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"});class P{constructor(){this._dir="ltr",this._isInitialized=!1,this.change=new e.vpe}get dir(){return this._dir}set dir(D){const k=this._dir;this._dir=C(D),this._rawDir=D,k!==this._dir&&this._isInitialized&&this.change.emit(this._dir)}get value(){return this.dir}ngAfterContentInit(){this._isInitialized=!0}ngOnDestroy(){this.change.complete()}}P.\u0275fac=function(D){return new(D||P)},P.\u0275dir=e.lG2({type:P,selectors:[["","dir",""]],hostVars:1,hostBindings:function(D,k){2&D&&e.uIk("dir",k._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],features:[e._Bn([{provide:u,useExisting:P}])]});class p{}p.\u0275fac=function(D){return new(D||p)},p.\u0275mod=e.oAB({type:p}),p.\u0275inj=e.cJS({})},8971:(Ye,J,f)=>{"use strict";f.d(J,{Eq:()=>l,HM:()=>C,Ig:()=>t,du:()=>P,fI:()=>u,su:()=>_,t6:()=>O});var e=f(2560);function t(p){return null!=p&&"false"!=`${p}`}function _(p,L=0){return O(p)?Number(p):L}function O(p){return!isNaN(parseFloat(p))&&!isNaN(Number(p))}function l(p){return Array.isArray(p)?p:[p]}function C(p){return null==p?"":"string"==typeof p?p:`${p}px`}function u(p){return p instanceof e.SBq?p.nativeElement:p}function P(p,L=/\s+/){const D=[];if(null!=p){const k=Array.isArray(p)?p:`${p}`.split(L);for(const M of k){const z=`${M}`.trim();z&&D.push(z)}}return D}},1755:(Ye,J,f)=>{"use strict";f.d(J,{A8:()=>M,Ov:()=>D,P3:()=>P,Z9:()=>u,eX:()=>L,k:()=>z,o2:()=>C,yy:()=>p});var e=f(3932),t=f(4437),_=f(745),O=f(253),l=f(2560);class C{}function u(A){return A&&"function"==typeof A.connect&&!(A instanceof e.c)}class P extends C{constructor(W){super(),this._data=W}connect(){return(0,t.b)(this._data)?this._data:(0,_.of)(this._data)}disconnect(){}}class p{applyChanges(W,Z,X,$,ae){W.forEachOperation((he,se,pe)=>{let le,re;if(null==he.previousIndex){const fe=X(he,se,pe);le=Z.createEmbeddedView(fe.templateRef,fe.context,fe.index),re=1}else null==pe?(Z.remove(se),re=3):(le=Z.get(se),Z.move(le,pe),re=2);ae&&ae({context:le?.context,operation:re,record:he})})}detach(){}}class L{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(W,Z,X,$,ae){W.forEachOperation((he,se,pe)=>{let le,re;if(null==he.previousIndex){const fe=()=>X(he,se,pe);le=this._insertView(fe,pe,Z,$(he)),re=le?1:0}else null==pe?(this._detachAndCacheView(se,Z),re=3):(le=this._moveView(se,pe,Z,$(he)),re=2);ae&&ae({context:le?.context,operation:re,record:he})})}detach(){for(const W of this._viewCache)W.destroy();this._viewCache=[]}_insertView(W,Z,X,$){const ae=this._insertViewFromCache(Z,X);if(ae)return void(ae.context.$implicit=$);const he=W();return X.createEmbeddedView(he.templateRef,he.context,he.index)}_detachAndCacheView(W,Z){const X=Z.detach(W);this._maybeCacheView(X,Z)}_moveView(W,Z,X,$){const ae=X.get(W);return X.move(ae,Z),ae.context.$implicit=$,ae}_maybeCacheView(W,Z){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(W);else{const X=Z.indexOf(W);-1===X?W.destroy():Z.remove(X)}}_insertViewFromCache(W,Z){const X=this._viewCache.pop();return X&&Z.insert(X,W),X||null}}class D{constructor(W=!1,Z,X=!0,$){this._multiple=W,this._emitChanges=X,this.compareWith=$,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new O.x,Z&&Z.length&&(W?Z.forEach(ae=>this._markSelected(ae)):this._markSelected(Z[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...W){this._verifyValueAssignment(W),W.forEach(X=>this._markSelected(X));const Z=this._hasQueuedChanges();return this._emitChangeEvent(),Z}deselect(...W){this._verifyValueAssignment(W),W.forEach(X=>this._unmarkSelected(X));const Z=this._hasQueuedChanges();return this._emitChangeEvent(),Z}setSelection(...W){this._verifyValueAssignment(W);const Z=this.selected,X=new Set(W);W.forEach(ae=>this._markSelected(ae)),Z.filter(ae=>!X.has(ae)).forEach(ae=>this._unmarkSelected(ae));const $=this._hasQueuedChanges();return this._emitChangeEvent(),$}toggle(W){return this.isSelected(W)?this.deselect(W):this.select(W)}clear(W=!0){this._unmarkAll();const Z=this._hasQueuedChanges();return W&&this._emitChangeEvent(),Z}isSelected(W){if(this.compareWith){for(const Z of this._selection)if(this.compareWith(Z,W))return!0;return!1}return this._selection.has(W)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(W){this._multiple&&this.selected&&this._selected.sort(W)}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(W){this.isSelected(W)||(this._multiple||this._unmarkAll(),this.isSelected(W)||this._selection.add(W),this._emitChanges&&this._selectedToEmit.push(W))}_unmarkSelected(W){this.isSelected(W)&&(this._selection.delete(W),this._emitChanges&&this._deselectedToEmit.push(W))}_unmarkAll(){this.isEmpty()||this._selection.forEach(W=>this._unmarkSelected(W))}_verifyValueAssignment(W){W.length>1&&this._multiple}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}}class M{constructor(){this._listeners=[]}notify(W,Z){for(let X of this._listeners)X(W,Z)}listen(W){return this._listeners.push(W),()=>{this._listeners=this._listeners.filter(Z=>W!==Z)}}ngOnDestroy(){this._listeners=[]}}M.\u0275fac=function(W){return new(W||M)},M.\u0275prov=l.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"});const z=new l.OlP("_ViewRepeater")},8456:(Ye,J,f)=>{"use strict";f.d(J,{A:()=>N,JH:()=>ae,JU:()=>C,K5:()=>l,Ku:()=>M,LH:()=>X,L_:()=>k,MW:()=>ii,Mf:()=>_,SV:()=>$,Sd:()=>W,VM:()=>z,Vb:()=>Wi,Z:()=>it,ZH:()=>t,aO:()=>R,b2:()=>Vt,hY:()=>D,jx:()=>u,oh:()=>Z,uR:()=>A,xE:()=>re,yY:()=>le,zL:()=>P});const t=8,_=9,l=13,C=16,u=17,P=18,D=27,k=32,M=33,z=34,A=35,W=36,Z=37,X=38,$=39,ae=40,le=46,re=48,R=57,N=65,it=90,ii=91,Vt=224;function Wi(Qi,...vn){return vn.length?vn.some(ga=>Qi[ga]):Qi.altKey||Qi.shiftKey||Qi.ctrlKey||Qi.metaKey}},3278:(Ye,J,f)=>{"use strict";f.d(J,{Yg:()=>ae,u3:()=>se,xu:()=>z});var e=f(2560),t=f(8971),_=f(253),O=f(6562),l=f(9319),C=f(833),u=f(9295),P=f(7260),p=f(1989),L=f(635),D=f(4874),k=f(8951),M=f(9107);class z{}z.\u0275fac=function(le){return new(le||z)},z.\u0275mod=e.oAB({type:z}),z.\u0275inj=e.cJS({});const A=new Set;let W;class Z{constructor(le){this._platform=le,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):$}matchMedia(le){return(this._platform.WEBKIT||this._platform.BLINK)&&function X(pe){if(!A.has(pe))try{W||(W=document.createElement("style"),W.setAttribute("type","text/css"),document.head.appendChild(W)),W.sheet&&(W.sheet.insertRule(`@media ${pe} {body{ }}`,0),A.add(pe))}catch(le){console.error(le)}}(le),this._matchMedia(le)}}function $(pe){return{matches:"all"===pe||""===pe,media:pe,addListener:()=>{},removeListener:()=>{}}}Z.\u0275fac=function(le){return new(le||Z)(e.LFG(M.t4))},Z.\u0275prov=e.Yz7({token:Z,factory:Z.\u0275fac,providedIn:"root"});class ae{constructor(le,re){this._mediaMatcher=le,this._zone=re,this._queries=new Map,this._destroySubject=new _.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(le){return he((0,t.Eq)(le)).some(fe=>this._registerQuery(fe).mql.matches)}observe(le){const fe=he((0,t.Eq)(le)).map(i=>this._registerQuery(i).observable);let T=(0,O.a)(fe);return T=(0,l.z)(T.pipe((0,u.q)(1)),T.pipe((0,P.T)(1),(0,p.b)(0))),T.pipe((0,L.U)(i=>{const o={matches:!1,breakpoints:{}};return i.forEach(({matches:m,query:h})=>{o.matches=o.matches||m,o.breakpoints[h]=m}),o}))}_registerQuery(le){if(this._queries.has(le))return this._queries.get(le);const re=this._mediaMatcher.matchMedia(le),T={observable:new C.y(i=>{const o=m=>this._zone.run(()=>i.next(m));return re.addListener(o),()=>{re.removeListener(o)}}).pipe((0,D.O)(re),(0,L.U)(({matches:i})=>({query:le,matches:i})),(0,k.R)(this._destroySubject)),mql:re};return this._queries.set(le,T),T}}function he(pe){return pe.map(le=>le.split(",")).reduce((le,re)=>le.concat(re)).map(le=>le.trim())}ae.\u0275fac=function(le){return new(le||ae)(e.LFG(Z),e.LFG(e.R0b))},ae.\u0275prov=e.Yz7({token:ae,factory:ae.\u0275fac,providedIn:"root"});const se={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)"}},3773:(Ye,J,f)=>{"use strict";f.d(J,{Q8:()=>p,wD:()=>P,yq:()=>u});var e=f(8971),t=f(2560),_=f(833),O=f(253),l=f(1989);class C{create(D){return typeof MutationObserver>"u"?null:new MutationObserver(D)}}C.\u0275fac=function(D){return new(D||C)},C.\u0275prov=t.Yz7({token:C,factory:C.\u0275fac,providedIn:"root"});class u{constructor(D){this._mutationObserverFactory=D,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((D,k)=>this._cleanupObserver(k))}observe(D){const k=(0,e.fI)(D);return new _.y(M=>{const A=this._observeElement(k).subscribe(M);return()=>{A.unsubscribe(),this._unobserveElement(k)}})}_observeElement(D){if(this._observedElements.has(D))this._observedElements.get(D).count++;else{const k=new O.x,M=this._mutationObserverFactory.create(z=>k.next(z));M&&M.observe(D,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(D,{observer:M,stream:k,count:1})}return this._observedElements.get(D).stream}_unobserveElement(D){this._observedElements.has(D)&&(this._observedElements.get(D).count--,this._observedElements.get(D).count||this._cleanupObserver(D))}_cleanupObserver(D){if(this._observedElements.has(D)){const{observer:k,stream:M}=this._observedElements.get(D);k&&k.disconnect(),M.complete(),this._observedElements.delete(D)}}}u.\u0275fac=function(D){return new(D||u)(t.LFG(C))},u.\u0275prov=t.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"});class P{constructor(D,k,M){this._contentObserver=D,this._elementRef=k,this._ngZone=M,this.event=new t.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(D){this._disabled=(0,e.Ig)(D),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(D){this._debounce=(0,e.su)(D),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const D=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?D.pipe((0,l.b)(this.debounce)):D).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}P.\u0275fac=function(D){return new(D||P)(t.Y36(u),t.Y36(t.SBq),t.Y36(t.R0b))},P.\u0275dir=t.lG2({type:P,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]});class p{}p.\u0275fac=function(D){return new(D||p)},p.\u0275mod=t.oAB({type:p}),p.\u0275inj=t.cJS({providers:[C]})},5895:(Ye,J,f)=>{"use strict";f.d(J,{Iu:()=>R,U8:()=>ie,X_:()=>le,Xj:()=>I,_G:()=>w,aV:()=>$e,pI:()=>Ue,xu:()=>De});var e=f(1494),t=f(4666),_=f(2560),O=f(8971),l=f(9107),C=f(2867),u=f(7520),P=f(253),p=f(7714),L=f(6646),D=f(9295),k=f(8951),M=f(2566),z=f(8456);const A=(0,l.Mq)();class W{constructor(K,ee){this._viewportRuler=K,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=ee}attach(){}enable(){if(this._canBeEnabled()){const K=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=K.style.left||"",this._previousHTMLStyles.top=K.style.top||"",K.style.left=(0,O.HM)(-this._previousScrollPosition.left),K.style.top=(0,O.HM)(-this._previousScrollPosition.top),K.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const K=this._document.documentElement,ee=this._document.body,ze=K.style,Ve=ee.style,oe=ze.scrollBehavior||"",at=Ve.scrollBehavior||"";this._isEnabled=!1,ze.left=this._previousHTMLStyles.left,ze.top=this._previousHTMLStyles.top,K.classList.remove("cdk-global-scrollblock"),A&&(ze.scrollBehavior=Ve.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),A&&(ze.scrollBehavior=oe,Ve.scrollBehavior=at)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const ee=this._document.body,ze=this._viewportRuler.getViewportSize();return ee.scrollHeight>ze.height||ee.scrollWidth>ze.width}}class X{constructor(K,ee,ze,Ve){this._scrollDispatcher=K,this._ngZone=ee,this._viewportRuler=ze,this._config=Ve,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(K){this._overlayRef,this._overlayRef=K}enable(){if(this._scrollSubscription)return;const K=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=K.subscribe(()=>{const ee=this._viewportRuler.getViewportScrollPosition().top;Math.abs(ee-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=K.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class ${enable(){}disable(){}attach(){}}function ae(ne,K){return K.some(ee=>{const ze=ne.bottom<ee.top,Ve=ne.top>ee.bottom,oe=ne.right<ee.left,at=ne.left>ee.right;return ze||Ve||oe||at})}function he(ne,K){return K.some(ee=>{const ze=ne.top<ee.top,Ve=ne.bottom>ee.bottom,oe=ne.left<ee.left,at=ne.right>ee.right;return ze||Ve||oe||at})}class se{constructor(K,ee,ze,Ve){this._scrollDispatcher=K,this._viewportRuler=ee,this._ngZone=ze,this._config=Ve,this._scrollSubscription=null}attach(K){this._overlayRef,this._overlayRef=K}enable(){if(!this._scrollSubscription){const K=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(K).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const ee=this._overlayRef.overlayElement.getBoundingClientRect(),{width:ze,height:Ve}=this._viewportRuler.getViewportSize();ae(ee,[{width:ze,height:Ve,bottom:Ve,right:ze,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}}class pe{constructor(K,ee,ze,Ve){this._scrollDispatcher=K,this._viewportRuler=ee,this._ngZone=ze,this.noop=()=>new $,this.close=oe=>new X(this._scrollDispatcher,this._ngZone,this._viewportRuler,oe),this.block=()=>new W(this._viewportRuler,this._document),this.reposition=oe=>new se(this._scrollDispatcher,this._viewportRuler,this._ngZone,oe),this._document=Ve}}pe.\u0275fac=function(K){return new(K||pe)(_.LFG(e.mF),_.LFG(e.rL),_.LFG(_.R0b),_.LFG(t.K0))},pe.\u0275prov=_.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"});class le{constructor(K){if(this.scrollStrategy=new $,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,K){const ee=Object.keys(K);for(const ze of ee)void 0!==K[ze]&&(this[ze]=K[ze])}}}class T{constructor(K,ee){this.connectionPair=K,this.scrollableViewProperties=ee}}class m{constructor(K){this._attachedOverlays=[],this._document=K}ngOnDestroy(){this.detach()}add(K){this.remove(K),this._attachedOverlays.push(K)}remove(K){const ee=this._attachedOverlays.indexOf(K);ee>-1&&this._attachedOverlays.splice(ee,1),0===this._attachedOverlays.length&&this.detach()}}m.\u0275fac=function(K){return new(K||m)(_.LFG(t.K0))},m.\u0275prov=_.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"});class h extends m{constructor(K,ee){super(K),this._ngZone=ee,this._keydownListener=ze=>{const Ve=this._attachedOverlays;for(let oe=Ve.length-1;oe>-1;oe--)if(Ve[oe]._keydownEvents.observers.length>0){const at=Ve[oe]._keydownEvents;this._ngZone?this._ngZone.run(()=>at.next(ze)):at.next(ze);break}}}add(K){super.add(K),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)}}h.\u0275fac=function(K){return new(K||h)(_.LFG(t.K0),_.LFG(_.R0b,8))},h.\u0275prov=_.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"});class x extends m{constructor(K,ee,ze){super(K),this._platform=ee,this._ngZone=ze,this._cursorStyleIsSet=!1,this._pointerDownListener=Ve=>{this._pointerDownEventTarget=(0,l.sA)(Ve)},this._clickListener=Ve=>{const oe=(0,l.sA)(Ve),at="click"===Ve.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:oe;this._pointerDownEventTarget=null;const qe=this._attachedOverlays.slice();for(let it=qe.length-1;it>-1;it--){const ii=qe[it];if(ii._outsidePointerEvents.observers.length<1||!ii.hasAttached())continue;if(ii.overlayElement.contains(oe)||ii.overlayElement.contains(at))break;const bt=ii._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>bt.next(Ve)):bt.next(Ve)}}}add(K){if(super.add(K),!this._isAttached){const ee=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(ee)):this._addEventListeners(ee),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=ee.style.cursor,ee.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const K=this._document.body;K.removeEventListener("pointerdown",this._pointerDownListener,!0),K.removeEventListener("click",this._clickListener,!0),K.removeEventListener("auxclick",this._clickListener,!0),K.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(K.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(K){K.addEventListener("pointerdown",this._pointerDownListener,!0),K.addEventListener("click",this._clickListener,!0),K.addEventListener("auxclick",this._clickListener,!0),K.addEventListener("contextmenu",this._clickListener,!0)}}x.\u0275fac=function(K){return new(K||x)(_.LFG(t.K0),_.LFG(l.t4),_.LFG(_.R0b,8))},x.\u0275prov=_.Yz7({token:x,factory:x.\u0275fac,providedIn:"root"});class I{constructor(K,ee){this._platform=ee,this._document=K}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const K="cdk-overlay-container";if(this._platform.isBrowser||(0,l.Oy)()){const ze=this._document.querySelectorAll(`.${K}[platform="server"], .${K}[platform="test"]`);for(let Ve=0;Ve<ze.length;Ve++)ze[Ve].remove()}const ee=this._document.createElement("div");ee.classList.add(K),(0,l.Oy)()?ee.setAttribute("platform","test"):this._platform.isBrowser||ee.setAttribute("platform","server"),this._document.body.appendChild(ee),this._containerElement=ee}}I.\u0275fac=function(K){return new(K||I)(_.LFG(t.K0),_.LFG(l.t4))},I.\u0275prov=_.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"});class R{constructor(K,ee,ze,Ve,oe,at,qe,it,ii,bt=!1){this._portalOutlet=K,this._host=ee,this._pane=ze,this._config=Ve,this._ngZone=oe,this._keyboardDispatcher=at,this._document=qe,this._location=it,this._outsideClickDispatcher=ii,this._animationsDisabled=bt,this._backdropElement=null,this._backdropClick=new P.x,this._attachments=new P.x,this._detachments=new P.x,this._locationChanges=p.w0.EMPTY,this._backdropClickHandler=st=>this._backdropClick.next(st),this._backdropTransitionendHandler=st=>{this._disposeBackdrop(st.target)},this._keydownEvents=new P.x,this._outsidePointerEvents=new P.x,Ve.scrollStrategy&&(this._scrollStrategy=Ve.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Ve.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(K){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const ee=this._portalOutlet.attach(K);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,D.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 ee?.onDestroy&&ee.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),ee}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const K=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),K}dispose(){const K=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,K&&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(K){K!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=K,this.hasAttached()&&(K.attach(this),this.updatePosition()))}updateSize(K){this._config={...this._config,...K},this._updateElementSize()}setDirection(K){this._config={...this._config,direction:K},this._updateElementDirection()}addPanelClass(K){this._pane&&this._toggleClasses(this._pane,K,!0)}removePanelClass(K){this._pane&&this._toggleClasses(this._pane,K,!1)}getDirection(){const K=this._config.direction;return K?"string"==typeof K?K:K.value:"ltr"}updateScrollStrategy(K){K!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=K,this.hasAttached()&&(K.attach(this),K.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const K=this._pane.style;K.width=(0,O.HM)(this._config.width),K.height=(0,O.HM)(this._config.height),K.minWidth=(0,O.HM)(this._config.minWidth),K.minHeight=(0,O.HM)(this._config.minHeight),K.maxWidth=(0,O.HM)(this._config.maxWidth),K.maxHeight=(0,O.HM)(this._config.maxHeight)}_togglePointerEvents(K){this._pane.style.pointerEvents=K?"":"none"}_attachBackdrop(){const K="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(K)})}):this._backdropElement.classList.add(K)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const K=this._backdropElement;if(K){if(this._animationsDisabled)return void this._disposeBackdrop(K);K.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{K.addEventListener("transitionend",this._backdropTransitionendHandler)}),K.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(K)},500))}}_toggleClasses(K,ee,ze){const Ve=(0,O.Eq)(ee||[]).filter(oe=>!!oe);Ve.length&&(ze?K.classList.add(...Ve):K.classList.remove(...Ve))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const K=this._ngZone.onStable.pipe((0,k.R)((0,L.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()),K.unsubscribe())})})}_disposeScrollStrategy(){const K=this._scrollStrategy;K&&(K.disable(),K.detach&&K.detach())}_disposeBackdrop(K){K&&(K.removeEventListener("click",this._backdropClickHandler),K.removeEventListener("transitionend",this._backdropTransitionendHandler),K.remove(),this._backdropElement===K&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const g="cdk-overlay-connected-position-bounding-box",r=/([A-Za-z%]+)$/;class w{constructor(K,ee,ze,Ve,oe){this._viewportRuler=ee,this._document=ze,this._platform=Ve,this._overlayContainer=oe,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=p.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(K)}get positions(){return this._preferredPositions}attach(K){this._overlayRef&&this._overlayRef,this._validatePositions(),K.hostElement.classList.add(g),this._overlayRef=K,this._boundingBox=K.hostElement,this._pane=K.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 K=this._originRect,ee=this._overlayRect,ze=this._viewportRect,Ve=this._containerRect,oe=[];let at;for(let qe of this._preferredPositions){let it=this._getOriginPoint(K,Ve,qe),ii=this._getOverlayPoint(it,ee,qe),bt=this._getOverlayFit(ii,ee,ze,qe);if(bt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(qe,it);this._canFitWithFlexibleDimensions(bt,ii,ze)?oe.push({position:qe,origin:it,overlayRect:ee,boundingBoxRect:this._calculateBoundingBoxRect(it,qe)}):(!at||at.overlayFit.visibleArea<bt.visibleArea)&&(at={overlayFit:bt,overlayPoint:ii,originPoint:it,position:qe,overlayRect:ee})}if(oe.length){let qe=null,it=-1;for(const ii of oe){const bt=ii.boundingBoxRect.width*ii.boundingBoxRect.height*(ii.position.weight||1);bt>it&&(it=bt,qe=ii)}return this._isPushed=!1,void this._applyPosition(qe.position,qe.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&&V(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(g),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const K=this._lastPosition;if(K){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const ee=this._getOriginPoint(this._originRect,this._containerRect,K);this._applyPosition(K,ee)}else this.apply()}withScrollableContainers(K){return this._scrollables=K,this}withPositions(K){return this._preferredPositions=K,-1===K.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(K){return this._viewportMargin=K,this}withFlexibleDimensions(K=!0){return this._hasFlexibleDimensions=K,this}withGrowAfterOpen(K=!0){return this._growAfterOpen=K,this}withPush(K=!0){return this._canPush=K,this}withLockedPosition(K=!0){return this._positionLocked=K,this}setOrigin(K){return this._origin=K,this}withDefaultOffsetX(K){return this._offsetX=K,this}withDefaultOffsetY(K){return this._offsetY=K,this}withTransformOriginOn(K){return this._transformOriginSelector=K,this}_getOriginPoint(K,ee,ze){let Ve,oe;if("center"==ze.originX)Ve=K.left+K.width/2;else{const at=this._isRtl()?K.right:K.left,qe=this._isRtl()?K.left:K.right;Ve="start"==ze.originX?at:qe}return ee.left<0&&(Ve-=ee.left),oe="center"==ze.originY?K.top+K.height/2:"top"==ze.originY?K.top:K.bottom,ee.top<0&&(oe-=ee.top),{x:Ve,y:oe}}_getOverlayPoint(K,ee,ze){let Ve,oe;return Ve="center"==ze.overlayX?-ee.width/2:"start"===ze.overlayX?this._isRtl()?-ee.width:0:this._isRtl()?0:-ee.width,oe="center"==ze.overlayY?-ee.height/2:"top"==ze.overlayY?0:-ee.height,{x:K.x+Ve,y:K.y+oe}}_getOverlayFit(K,ee,ze,Ve){const oe=Y(ee);let{x:at,y:qe}=K,it=this._getOffset(Ve,"x"),ii=this._getOffset(Ve,"y");it&&(at+=it),ii&&(qe+=ii);let bt=0-at,st=at+oe.width-ze.width,Be=0-qe,rt=qe+oe.height-ze.height,Ot=this._subtractOverflows(oe.width,bt,st),Gt=this._subtractOverflows(oe.height,Be,rt),kt=Ot*Gt;return{visibleArea:kt,isCompletelyWithinViewport:oe.width*oe.height===kt,fitsInViewportVertically:Gt===oe.height,fitsInViewportHorizontally:Ot==oe.width}}_canFitWithFlexibleDimensions(K,ee,ze){if(this._hasFlexibleDimensions){const Ve=ze.bottom-ee.y,oe=ze.right-ee.x,at=N(this._overlayRef.getConfig().minHeight),qe=N(this._overlayRef.getConfig().minWidth),it=K.fitsInViewportVertically||null!=at&&at<=Ve,ii=K.fitsInViewportHorizontally||null!=qe&&qe<=oe;return it&&ii}return!1}_pushOverlayOnScreen(K,ee,ze){if(this._previousPushAmount&&this._positionLocked)return{x:K.x+this._previousPushAmount.x,y:K.y+this._previousPushAmount.y};const Ve=Y(ee),oe=this._viewportRect,at=Math.max(K.x+Ve.width-oe.width,0),qe=Math.max(K.y+Ve.height-oe.height,0),it=Math.max(oe.top-ze.top-K.y,0),ii=Math.max(oe.left-ze.left-K.x,0);let bt=0,st=0;return bt=Ve.width<=oe.width?ii||-at:K.x<this._viewportMargin?oe.left-ze.left-K.x:0,st=Ve.height<=oe.height?it||-qe:K.y<this._viewportMargin?oe.top-ze.top-K.y:0,this._previousPushAmount={x:bt,y:st},{x:K.x+bt,y:K.y+st}}_applyPosition(K,ee){if(this._setTransformOrigin(K),this._setOverlayElementStyles(ee,K),this._setBoundingBoxStyles(ee,K),K.panelClass&&this._addPanelClasses(K.panelClass),this._lastPosition=K,this._positionChanges.observers.length){const ze=this._getScrollVisibility(),Ve=new T(K,ze);this._positionChanges.next(Ve)}this._isInitialRender=!1}_setTransformOrigin(K){if(!this._transformOriginSelector)return;const ee=this._boundingBox.querySelectorAll(this._transformOriginSelector);let ze,Ve=K.overlayY;ze="center"===K.overlayX?"center":this._isRtl()?"start"===K.overlayX?"right":"left":"start"===K.overlayX?"left":"right";for(let oe=0;oe<ee.length;oe++)ee[oe].style.transformOrigin=`${ze} ${Ve}`}_calculateBoundingBoxRect(K,ee){const ze=this._viewportRect,Ve=this._isRtl();let oe,at,qe;if("top"===ee.overlayY)at=K.y,oe=ze.height-at+this._viewportMargin;else if("bottom"===ee.overlayY)qe=ze.height-K.y+2*this._viewportMargin,oe=ze.height-qe+this._viewportMargin;else{const rt=Math.min(ze.bottom-K.y+ze.top,K.y),Ot=this._lastBoundingBoxSize.height;oe=2*rt,at=K.y-rt,oe>Ot&&!this._isInitialRender&&!this._growAfterOpen&&(at=K.y-Ot/2)}const it="start"===ee.overlayX&&!Ve||"end"===ee.overlayX&&Ve;let bt,st,Be;if("end"===ee.overlayX&&!Ve||"start"===ee.overlayX&&Ve)Be=ze.width-K.x+this._viewportMargin,bt=K.x-this._viewportMargin;else if(it)st=K.x,bt=ze.right-K.x;else{const rt=Math.min(ze.right-K.x+ze.left,K.x),Ot=this._lastBoundingBoxSize.width;bt=2*rt,st=K.x-rt,bt>Ot&&!this._isInitialRender&&!this._growAfterOpen&&(st=K.x-Ot/2)}return{top:at,left:st,bottom:qe,right:Be,width:bt,height:oe}}_setBoundingBoxStyles(K,ee){const ze=this._calculateBoundingBoxRect(K,ee);!this._isInitialRender&&!this._growAfterOpen&&(ze.height=Math.min(ze.height,this._lastBoundingBoxSize.height),ze.width=Math.min(ze.width,this._lastBoundingBoxSize.width));const Ve={};if(this._hasExactPosition())Ve.top=Ve.left="0",Ve.bottom=Ve.right=Ve.maxHeight=Ve.maxWidth="",Ve.width=Ve.height="100%";else{const oe=this._overlayRef.getConfig().maxHeight,at=this._overlayRef.getConfig().maxWidth;Ve.height=(0,O.HM)(ze.height),Ve.top=(0,O.HM)(ze.top),Ve.bottom=(0,O.HM)(ze.bottom),Ve.width=(0,O.HM)(ze.width),Ve.left=(0,O.HM)(ze.left),Ve.right=(0,O.HM)(ze.right),"center"===ee.overlayX?Ve.alignItems="center":Ve.alignItems="end"===ee.overlayX?"flex-end":"flex-start","center"===ee.overlayY?Ve.justifyContent="center":Ve.justifyContent="bottom"===ee.overlayY?"flex-end":"flex-start",oe&&(Ve.maxHeight=(0,O.HM)(oe)),at&&(Ve.maxWidth=(0,O.HM)(at))}this._lastBoundingBoxSize=ze,V(this._boundingBox.style,Ve)}_resetBoundingBoxStyles(){V(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){V(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(K,ee){const ze={},Ve=this._hasExactPosition(),oe=this._hasFlexibleDimensions,at=this._overlayRef.getConfig();if(Ve){const bt=this._viewportRuler.getViewportScrollPosition();V(ze,this._getExactOverlayY(ee,K,bt)),V(ze,this._getExactOverlayX(ee,K,bt))}else ze.position="static";let qe="",it=this._getOffset(ee,"x"),ii=this._getOffset(ee,"y");it&&(qe+=`translateX(${it}px) `),ii&&(qe+=`translateY(${ii}px)`),ze.transform=qe.trim(),at.maxHeight&&(Ve?ze.maxHeight=(0,O.HM)(at.maxHeight):oe&&(ze.maxHeight="")),at.maxWidth&&(Ve?ze.maxWidth=(0,O.HM)(at.maxWidth):oe&&(ze.maxWidth="")),V(this._pane.style,ze)}_getExactOverlayY(K,ee,ze){let Ve={top:"",bottom:""},oe=this._getOverlayPoint(ee,this._overlayRect,K);if(this._isPushed&&(oe=this._pushOverlayOnScreen(oe,this._overlayRect,ze)),"bottom"===K.overlayY){const at=this._document.documentElement.clientHeight;Ve.bottom=at-(oe.y+this._overlayRect.height)+"px"}else Ve.top=(0,O.HM)(oe.y);return Ve}_getExactOverlayX(K,ee,ze){let at,Ve={left:"",right:""},oe=this._getOverlayPoint(ee,this._overlayRect,K);if(this._isPushed&&(oe=this._pushOverlayOnScreen(oe,this._overlayRect,ze)),at=this._isRtl()?"end"===K.overlayX?"left":"right":"end"===K.overlayX?"right":"left","right"===at){const qe=this._document.documentElement.clientWidth;Ve.right=qe-(oe.x+this._overlayRect.width)+"px"}else Ve.left=(0,O.HM)(oe.x);return Ve}_getScrollVisibility(){const K=this._getOriginRect(),ee=this._pane.getBoundingClientRect(),ze=this._scrollables.map(Ve=>Ve.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:he(K,ze),isOriginOutsideView:ae(K,ze),isOverlayClipped:he(ee,ze),isOverlayOutsideView:ae(ee,ze)}}_subtractOverflows(K,...ee){return ee.reduce((ze,Ve)=>ze-Math.max(Ve,0),K)}_getNarrowedViewportRect(){const K=this._document.documentElement.clientWidth,ee=this._document.documentElement.clientHeight,ze=this._viewportRuler.getViewportScrollPosition();return{top:ze.top+this._viewportMargin,left:ze.left+this._viewportMargin,right:ze.left+K-this._viewportMargin,bottom:ze.top+ee-this._viewportMargin,width:K-2*this._viewportMargin,height:ee-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(K,ee){return"x"===ee?null==K.offsetX?this._offsetX:K.offsetX:null==K.offsetY?this._offsetY:K.offsetY}_validatePositions(){}_addPanelClasses(K){this._pane&&(0,O.Eq)(K).forEach(ee=>{""!==ee&&-1===this._appliedPanelClasses.indexOf(ee)&&(this._appliedPanelClasses.push(ee),this._pane.classList.add(ee))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(K=>{this._pane.classList.remove(K)}),this._appliedPanelClasses=[])}_getOriginRect(){const K=this._origin;if(K instanceof _.SBq)return K.nativeElement.getBoundingClientRect();if(K instanceof Element)return K.getBoundingClientRect();const ee=K.width||0,ze=K.height||0;return{top:K.y,bottom:K.y+ze,left:K.x,right:K.x+ee,height:ze,width:ee}}}function V(ne,K){for(let ee in K)K.hasOwnProperty(ee)&&(ne[ee]=K[ee]);return ne}function N(ne){if("number"!=typeof ne&&null!=ne){const[K,ee]=ne.split(r);return ee&&"px"!==ee?null:parseFloat(K)}return ne||null}function Y(ne){return{top:Math.floor(ne.top),right:Math.floor(ne.right),bottom:Math.floor(ne.bottom),left:Math.floor(ne.left),width:Math.floor(ne.width),height:Math.floor(ne.height)}}const Xe="cdk-global-overlay-wrapper";class dt{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(K){const ee=K.getConfig();this._overlayRef=K,this._width&&!ee.width&&K.updateSize({width:this._width}),this._height&&!ee.height&&K.updateSize({height:this._height}),K.hostElement.classList.add(Xe),this._isDisposed=!1}top(K=""){return this._bottomOffset="",this._topOffset=K,this._alignItems="flex-start",this}left(K=""){return this._xOffset=K,this._xPosition="left",this}bottom(K=""){return this._topOffset="",this._bottomOffset=K,this._alignItems="flex-end",this}right(K=""){return this._xOffset=K,this._xPosition="right",this}start(K=""){return this._xOffset=K,this._xPosition="start",this}end(K=""){return this._xOffset=K,this._xPosition="end",this}width(K=""){return this._overlayRef?this._overlayRef.updateSize({width:K}):this._width=K,this}height(K=""){return this._overlayRef?this._overlayRef.updateSize({height:K}):this._height=K,this}centerHorizontally(K=""){return this.left(K),this._xPosition="center",this}centerVertically(K=""){return this.top(K),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const K=this._overlayRef.overlayElement.style,ee=this._overlayRef.hostElement.style,ze=this._overlayRef.getConfig(),{width:Ve,height:oe,maxWidth:at,maxHeight:qe}=ze,it=!("100%"!==Ve&&"100vw"!==Ve||at&&"100%"!==at&&"100vw"!==at),ii=!("100%"!==oe&&"100vh"!==oe||qe&&"100%"!==qe&&"100vh"!==qe),bt=this._xPosition,st=this._xOffset,Be="rtl"===this._overlayRef.getConfig().direction;let rt="",Ot="",Gt="";it?Gt="flex-start":"center"===bt?(Gt="center",Be?Ot=st:rt=st):Be?"left"===bt||"end"===bt?(Gt="flex-end",rt=st):("right"===bt||"start"===bt)&&(Gt="flex-start",Ot=st):"left"===bt||"start"===bt?(Gt="flex-start",rt=st):("right"===bt||"end"===bt)&&(Gt="flex-end",Ot=st),K.position=this._cssPosition,K.marginLeft=it?"0":rt,K.marginTop=ii?"0":this._topOffset,K.marginBottom=this._bottomOffset,K.marginRight=it?"0":Ot,ee.justifyContent=Gt,ee.alignItems=ii?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const K=this._overlayRef.overlayElement.style,ee=this._overlayRef.hostElement,ze=ee.style;ee.classList.remove(Xe),ze.justifyContent=ze.alignItems=K.marginTop=K.marginBottom=K.marginLeft=K.marginRight=K.position="",this._overlayRef=null,this._isDisposed=!0}}class Ke{constructor(K,ee,ze,Ve){this._viewportRuler=K,this._document=ee,this._platform=ze,this._overlayContainer=Ve}global(){return new dt}flexibleConnectedTo(K){return new w(K,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}Ke.\u0275fac=function(K){return new(K||Ke)(_.LFG(e.rL),_.LFG(t.K0),_.LFG(l.t4),_.LFG(I))},Ke.\u0275prov=_.Yz7({token:Ke,factory:Ke.\u0275fac,providedIn:"root"});let ge=0;class $e{constructor(K,ee,ze,Ve,oe,at,qe,it,ii,bt,st,Be){this.scrollStrategies=K,this._overlayContainer=ee,this._componentFactoryResolver=ze,this._positionBuilder=Ve,this._keyboardDispatcher=oe,this._injector=at,this._ngZone=qe,this._document=it,this._directionality=ii,this._location=bt,this._outsideClickDispatcher=st,this._animationsModuleType=Be}create(K){const ee=this._createHostElement(),ze=this._createPaneElement(ee),Ve=this._createPortalOutlet(ze),oe=new le(K);return oe.direction=oe.direction||this._directionality.value,new R(Ve,ee,ze,oe,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(K){const ee=this._document.createElement("div");return ee.id="cdk-overlay-"+ge++,ee.classList.add("cdk-overlay-pane"),K.appendChild(ee),ee}_createHostElement(){const K=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(K),K}_createPortalOutlet(K){return this._appRef||(this._appRef=this._injector.get(_.z2F)),new u.u0(K,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}$e.\u0275fac=function(K){return new(K||$e)(_.LFG(pe),_.LFG(I),_.LFG(_._Vd),_.LFG(Ke),_.LFG(h),_.LFG(_.zs3),_.LFG(_.R0b),_.LFG(t.K0),_.LFG(C.Is),_.LFG(t.Ye),_.LFG(x),_.LFG(_.QbO,8))},$e.\u0275prov=_.Yz7({token:$e,factory:$e.\u0275fac,providedIn:"root"});const Oe=[{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"}],Me=new _.OlP("cdk-connected-overlay-scroll-strategy");class De{constructor(K){this.elementRef=K}}De.\u0275fac=function(K){return new(K||De)(_.Y36(_.SBq))},De.\u0275dir=_.lG2({type:De,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]});class Ue{constructor(K,ee,ze,Ve,oe){this._overlay=K,this._dir=oe,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=p.w0.EMPTY,this._attachSubscription=p.w0.EMPTY,this._detachSubscription=p.w0.EMPTY,this._positionSubscription=p.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new _.vpe,this.positionChange=new _.vpe,this.attach=new _.vpe,this.detach=new _.vpe,this.overlayKeydown=new _.vpe,this.overlayOutsideClick=new _.vpe,this._templatePortal=new u.UE(ee,ze),this._scrollStrategyFactory=Ve,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(K){this._offsetX=K,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(K){this._offsetY=K,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(K){this._hasBackdrop=(0,O.Ig)(K)}get lockPosition(){return this._lockPosition}set lockPosition(K){this._lockPosition=(0,O.Ig)(K)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(K){this._flexibleDimensions=(0,O.Ig)(K)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(K){this._growAfterOpen=(0,O.Ig)(K)}get push(){return this._push}set push(K){this._push=(0,O.Ig)(K)}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(K){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),K.origin&&this.open&&this._position.apply()),K.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Oe);const K=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=K.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=K.detachments().subscribe(()=>this.detach.emit()),K.keydownEvents().subscribe(ee=>{this.overlayKeydown.next(ee),ee.keyCode===z.hY&&!this.disableClose&&!(0,z.Vb)(ee)&&(ee.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(ee=>{this.overlayOutsideClick.next(ee)})}_buildConfig(){const K=this._position=this.positionStrategy||this._createPositionStrategy(),ee=new le({direction:this._dir,positionStrategy:K,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(ee.width=this.width),(this.height||0===this.height)&&(ee.height=this.height),(this.minWidth||0===this.minWidth)&&(ee.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(ee.minHeight=this.minHeight),this.backdropClass&&(ee.backdropClass=this.backdropClass),this.panelClass&&(ee.panelClass=this.panelClass),ee}_updatePositionStrategy(K){const ee=this.positions.map(ze=>({originX:ze.originX,originY:ze.originY,overlayX:ze.overlayX,overlayY:ze.overlayY,offsetX:ze.offsetX||this.offsetX,offsetY:ze.offsetY||this.offsetY,panelClass:ze.panelClass||void 0}));return K.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(ee).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const K=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(K),K}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof De?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(K=>{this.backdropClick.emit(K)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,M.o)(()=>this.positionChange.observers.length>0)).subscribe(K=>{this.positionChange.emit(K),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}Ue.\u0275fac=function(K){return new(K||Ue)(_.Y36($e),_.Y36(_.Rgc),_.Y36(_.s_b),_.Y36(Me),_.Y36(C.Is,8))},Ue.\u0275dir=_.lG2({type:Ue,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[_.TTD]});const we={provide:Me,deps:[$e],useFactory:function ye(ne){return()=>ne.scrollStrategies.reposition()}};class ie{}ie.\u0275fac=function(K){return new(K||ie)},ie.\u0275mod=_.oAB({type:ie}),ie.\u0275inj=_.cJS({providers:[$e,we],imports:[C.vT,u.eL,e.Cl,e.Cl]});class Se extends I{constructor(K,ee){super(K,ee)}ngOnDestroy(){super.ngOnDestroy(),this._fullScreenEventName&&this._fullScreenListener&&this._document.removeEventListener(this._fullScreenEventName,this._fullScreenListener)}_createContainer(){super._createContainer(),this._adjustParentForFullscreenChange(),this._addFullscreenChangeListener(()=>this._adjustParentForFullscreenChange())}_adjustParentForFullscreenChange(){this._containerElement&&(this.getFullscreenElement()||this._document.body).appendChild(this._containerElement)}_addFullscreenChangeListener(K){const ee=this._getEventName();ee&&(this._fullScreenListener&&this._document.removeEventListener(ee,this._fullScreenListener),this._document.addEventListener(ee,K),this._fullScreenListener=K)}_getEventName(){if(!this._fullScreenEventName){const K=this._document;K.fullscreenEnabled?this._fullScreenEventName="fullscreenchange":K.webkitFullscreenEnabled?this._fullScreenEventName="webkitfullscreenchange":K.mozFullScreenEnabled?this._fullScreenEventName="mozfullscreenchange":K.msFullscreenEnabled&&(this._fullScreenEventName="MSFullscreenChange")}return this._fullScreenEventName}getFullscreenElement(){const K=this._document;return K.fullscreenElement||K.webkitFullscreenElement||K.mozFullScreenElement||K.msFullscreenElement||null}}Se.\u0275fac=function(K){return new(K||Se)(_.LFG(t.K0),_.LFG(l.t4))},Se.\u0275prov=_.Yz7({token:Se,factory:Se.\u0275fac,providedIn:"root"})},9107:(Ye,J,f)=>{"use strict";f.d(J,{Mq:()=>z,Oy:()=>he,_i:()=>A,ht:()=>$,i$:()=>D,kV:()=>X,qK:()=>P,sA:()=>ae,t4:()=>O});var e=f(2560),t=f(4666);let _,C;try{_=typeof Intl<"u"&&Intl.v8BreakIterator}catch{_=!1}class O{constructor(pe){this._platformId=pe,this.isBrowser=this._platformId?(0,t.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&&!_)&&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}}O.\u0275fac=function(pe){return new(pe||O)(e.LFG(e.Lbi))},O.\u0275prov=e.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"});class l{}l.\u0275fac=function(pe){return new(pe||l)},l.\u0275mod=e.oAB({type:l}),l.\u0275inj=e.cJS({});const u=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function P(){if(C)return C;if("object"!=typeof document||!document)return C=new Set(u),C;let se=document.createElement("input");return C=new Set(u.filter(pe=>(se.setAttribute("type",pe),se.type===pe))),C}let p,k,M,W;function D(se){return function L(){if(null==p&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>p=!0}))}finally{p=p||!1}return p}()?se:!!se.capture}function z(){if(null==M){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return M=!1,M;if("scrollBehavior"in document.documentElement.style)M=!0;else{const se=Element.prototype.scrollTo;M=!!se&&!/\{\s*\[native code\]\s*\}/.test(se.toString())}}return M}function A(){if("object"!=typeof document||!document)return 0;if(null==k){const se=document.createElement("div"),pe=se.style;se.dir="rtl",pe.width="1px",pe.overflow="auto",pe.visibility="hidden",pe.pointerEvents="none",pe.position="absolute";const le=document.createElement("div"),re=le.style;re.width="2px",re.height="1px",se.appendChild(le),document.body.appendChild(se),k=0,0===se.scrollLeft&&(se.scrollLeft=1,k=0===se.scrollLeft?1:2),se.remove()}return k}function X(se){if(function Z(){if(null==W){const se=typeof document<"u"?document.head:null;W=!(!se||!se.createShadowRoot&&!se.attachShadow)}return W}()){const pe=se.getRootNode?se.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&pe instanceof ShadowRoot)return pe}return null}function $(){let se=typeof document<"u"&&document?document.activeElement:null;for(;se&&se.shadowRoot;){const pe=se.shadowRoot.activeElement;if(pe===se)break;se=pe}return se}function ae(se){return se.composedPath?se.composedPath()[0]:se.target}function he(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},7520:(Ye,J,f)=>{"use strict";f.d(J,{C5:()=>L,Pl:()=>$,UE:()=>D,eL:()=>he,en:()=>M,ig:()=>Z,u0:()=>A});var e=f(2560),t=f(4666);class p{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 L extends p{constructor(le,re,fe,T,i){super(),this.component=le,this.viewContainerRef=re,this.injector=fe,this.componentFactoryResolver=T,this.projectableNodes=i}}class D extends p{constructor(le,re,fe,T){super(),this.templateRef=le,this.viewContainerRef=re,this.context=fe,this.injector=T}get origin(){return this.templateRef.elementRef}attach(le,re=this.context){return this.context=re,super.attach(le)}detach(){return this.context=void 0,super.detach()}}class k extends p{constructor(le){super(),this.element=le instanceof e.SBq?le.nativeElement:le}}class M{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(le){return le instanceof L?(this._attachedPortal=le,this.attachComponentPortal(le)):le instanceof D?(this._attachedPortal=le,this.attachTemplatePortal(le)):this.attachDomPortal&&le instanceof k?(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 A extends M{constructor(le,re,fe,T,i){super(),this.outletElement=le,this._componentFactoryResolver=re,this._appRef=fe,this._defaultInjector=T,this.attachDomPortal=o=>{this._document;const m=o.element;m.parentNode;const h=this._document.createComment("dom-portal");m.parentNode.insertBefore(h,m),this.outletElement.appendChild(m),this._attachedPortal=o,super.setDisposeFn(()=>{h.parentNode&&h.parentNode.replaceChild(m,h)})},this._document=i}attachComponentPortal(le){const fe=(le.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(le.component);let T;return le.viewContainerRef?(T=le.viewContainerRef.createComponent(fe,le.viewContainerRef.length,le.injector||le.viewContainerRef.injector,le.projectableNodes||void 0),this.setDisposeFn(()=>T.destroy())):(T=fe.create(le.injector||this._defaultInjector||e.zs3.NULL),this._appRef.attachView(T.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(T.hostView),T.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(T)),this._attachedPortal=le,T}attachTemplatePortal(le){let re=le.viewContainerRef,fe=re.createEmbeddedView(le.templateRef,le.context,{injector:le.injector});return fe.rootNodes.forEach(T=>this.outletElement.appendChild(T)),fe.detectChanges(),this.setDisposeFn(()=>{let T=re.indexOf(fe);-1!==T&&re.remove(T)}),this._attachedPortal=le,fe}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(le){return le.hostView.rootNodes[0]}}class Z extends D{constructor(le,re){super(le,re)}}Z.\u0275fac=function(le){return new(le||Z)(e.Y36(e.Rgc),e.Y36(e.s_b))},Z.\u0275dir=e.lG2({type:Z,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[e.qOj]});class X extends Z{}X.\u0275fac=function(){let pe;return function(re){return(pe||(pe=e.n5z(X)))(re||X)}}(),X.\u0275dir=e.lG2({type:X,selectors:[["","cdk-portal",""],["","portal",""]],exportAs:["cdkPortal"],features:[e._Bn([{provide:Z,useExisting:X}]),e.qOj]});class $ extends M{constructor(le,re,fe){super(),this._componentFactoryResolver=le,this._viewContainerRef=re,this._isInitialized=!1,this.attached=new e.vpe,this.attachDomPortal=T=>{this._document;const i=T.element;i.parentNode;const o=this._document.createComment("dom-portal");T.setAttachedHost(this),i.parentNode.insertBefore(o,i),this._getRootNode().appendChild(i),this._attachedPortal=T,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(i,o)})},this._document=fe}get portal(){return this._attachedPortal}set portal(le){this.hasAttached()&&!le&&!this._isInitialized||(this.hasAttached()&&super.detach(),le&&super.attach(le),this._attachedPortal=le||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(le){le.setAttachedHost(this);const re=null!=le.viewContainerRef?le.viewContainerRef:this._viewContainerRef,T=(le.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(le.component),i=re.createComponent(T,re.length,le.injector||re.injector,le.projectableNodes||void 0);return re!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn(()=>i.destroy()),this._attachedPortal=le,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(le){le.setAttachedHost(this);const re=this._viewContainerRef.createEmbeddedView(le.templateRef,le.context,{injector:le.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=le,this._attachedRef=re,this.attached.emit(re),re}_getRootNode(){const le=this._viewContainerRef.element.nativeElement;return le.nodeType===le.ELEMENT_NODE?le:le.parentNode}}$.\u0275fac=function(le){return new(le||$)(e.Y36(e._Vd),e.Y36(e.s_b),e.Y36(t.K0))},$.\u0275dir=e.lG2({type:$,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[e.qOj]});class ae extends ${}ae.\u0275fac=function(){let pe;return function(re){return(pe||(pe=e.n5z(ae)))(re||ae)}}(),ae.\u0275dir=e.lG2({type:ae,selectors:[["","cdkPortalHost",""],["","portalHost",""]],inputs:{portal:["cdkPortalHost","portal"]},exportAs:["cdkPortalHost"],features:[e._Bn([{provide:$,useExisting:ae}]),e.qOj]});class he{}he.\u0275fac=function(le){return new(le||he)},he.\u0275mod=e.oAB({type:he}),he.\u0275inj=e.cJS({})},1494:(Ye,J,f)=>{"use strict";f.d(J,{PQ:()=>Pe,ZD:()=>we,mF:()=>Y,Cl:()=>ie,rL:()=>Xe});var e=f(8971),t=f(2560),_=f(253),O=f(745),l=f(833),C=f(3280),u=f(5417),P=f(7714);const p={schedule(Se){let ne=requestAnimationFrame,K=cancelAnimationFrame;const{delegate:ee}=p;ee&&(ne=ee.requestAnimationFrame,K=ee.cancelAnimationFrame);const ze=ne(Ve=>{K=void 0,Se(Ve)});return new P.w0(()=>K?.(ze))},requestAnimationFrame(...Se){const{delegate:ne}=p;return(ne?.requestAnimationFrame||requestAnimationFrame)(...Se)},cancelAnimationFrame(...Se){const{delegate:ne}=p;return(ne?.cancelAnimationFrame||cancelAnimationFrame)(...Se)},delegate:void 0};class L extends u.o{constructor(ne,K){super(ne,K),this.scheduler=ne,this.work=K}requestAsyncId(ne,K,ee=0){return null!==ee&&ee>0?super.requestAsyncId(ne,K,ee):(ne.actions.push(this),ne._scheduled||(ne._scheduled=p.requestAnimationFrame(()=>ne.flush(void 0))))}recycleAsyncId(ne,K,ee=0){var ze;if(null!=ee?ee>0:this.delay>0)return super.recycleAsyncId(ne,K,ee);const{actions:Ve}=ne;null!=K&&(null===(ze=Ve[Ve.length-1])||void 0===ze?void 0:ze.id)!==K&&(p.cancelAnimationFrame(K),ne._scheduled=void 0)}}var D=f(1010);class k extends D.v{flush(ne){this._active=!0;const K=this._scheduled;this._scheduled=void 0;const{actions:ee}=this;let ze;ne=ne||ee.shift();do{if(ze=ne.execute(ne.state,ne.delay))break}while((ne=ee[0])&&ne.id===K&&ee.shift());if(this._active=!1,ze){for(;(ne=ee[0])&&ne.id===K&&ee.shift();)ne.unsubscribe();throw ze}}}const M=new k(L);var A=f(3888),W=f(4437),Z=f(8977),X=f(9211),$=f(116),ae=f(8951),he=f(4874),se=f(1944),pe=f(3945);var re=f(2673),fe=f(6067),T=f(1203);var o=f(9107),m=f(4666),h=f(2867),x=f(1755);const I=["contentWrapper"],g=new t.OlP("VIRTUAL_SCROLL_STRATEGY");class r{constructor(ne,K,ee){this._scrolledIndexChange=new _.x,this.scrolledIndexChange=this._scrolledIndexChange.pipe((0,Z.x)()),this._viewport=null,this._itemSize=ne,this._minBufferPx=K,this._maxBufferPx=ee}attach(ne){this._viewport=ne,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(ne,K,ee){this._itemSize=ne,this._minBufferPx=K,this._maxBufferPx=ee,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(ne,K){this._viewport&&this._viewport.scrollToOffset(ne*this._itemSize,K)}_updateTotalContentSize(){!this._viewport||this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;const ne=this._viewport.getRenderedRange(),K={start:ne.start,end:ne.end},ee=this._viewport.getViewportSize(),ze=this._viewport.getDataLength();let Ve=this._viewport.measureScrollOffset(),oe=this._itemSize>0?Ve/this._itemSize:0;if(K.end>ze){const qe=Math.ceil(ee/this._itemSize),it=Math.max(0,Math.min(oe,ze-qe));oe!=it&&(oe=it,Ve=it*this._itemSize,K.start=Math.floor(oe)),K.end=Math.max(0,Math.min(ze,K.start+qe))}const at=Ve-K.start*this._itemSize;if(at<this._minBufferPx&&0!=K.start){const qe=Math.ceil((this._maxBufferPx-at)/this._itemSize);K.start=Math.max(0,K.start-qe),K.end=Math.min(ze,Math.ceil(oe+(ee+this._minBufferPx)/this._itemSize))}else{const qe=K.end*this._itemSize-(Ve+ee);if(qe<this._minBufferPx&&K.end!=ze){const it=Math.ceil((this._maxBufferPx-qe)/this._itemSize);it>0&&(K.end=Math.min(ze,K.end+it),K.start=Math.max(0,Math.floor(oe-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(K),this._viewport.setRenderedContentOffset(this._itemSize*K.start),this._scrolledIndexChange.next(Math.floor(oe))}}class V{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new r(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(ne){this._itemSize=(0,e.su)(ne)}get minBufferPx(){return this._minBufferPx}set minBufferPx(ne){this._minBufferPx=(0,e.su)(ne)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(ne){this._maxBufferPx=(0,e.su)(ne)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}V.\u0275fac=function(ne){return new(ne||V)},V.\u0275dir=t.lG2({type:V,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[t._Bn([{provide:g,useFactory:function w(Se){return Se._scrollStrategy},deps:[(0,t.Gpc)(()=>V)]}]),t.TTD]});class Y{constructor(ne,K,ee){this._ngZone=ne,this._platform=K,this._scrolled=new _.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=ee}register(ne){this.scrollContainers.has(ne)||this.scrollContainers.set(ne,ne.elementScrolled().subscribe(()=>this._scrolled.next(ne)))}deregister(ne){const K=this.scrollContainers.get(ne);K&&(K.unsubscribe(),this.scrollContainers.delete(ne))}scrolled(ne=20){return this._platform.isBrowser?new l.y(K=>{this._globalSubscription||this._addGlobalListener();const ee=ne>0?this._scrolled.pipe((0,X.e)(ne)).subscribe(K):this._scrolled.subscribe(K);return this._scrolledCount++,()=>{ee.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,O.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((ne,K)=>this.deregister(K)),this._scrolled.complete()}ancestorScrolled(ne,K){const ee=this.getAncestorScrollContainers(ne);return this.scrolled(K).pipe((0,$.h)(ze=>!ze||ee.indexOf(ze)>-1))}getAncestorScrollContainers(ne){const K=[];return this.scrollContainers.forEach((ee,ze)=>{this._scrollableContainsElement(ze,ne)&&K.push(ze)}),K}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(ne,K){let ee=(0,e.fI)(K),ze=ne.getElementRef().nativeElement;do{if(ee==ze)return!0}while(ee=ee.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const ne=this._getWindow();return(0,C.R)(ne.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}Y.\u0275fac=function(ne){return new(ne||Y)(t.LFG(t.R0b),t.LFG(o.t4),t.LFG(m.K0,8))},Y.\u0275prov=t.Yz7({token:Y,factory:Y.\u0275fac,providedIn:"root"});class Pe{constructor(ne,K,ee,ze){this.elementRef=ne,this.scrollDispatcher=K,this.ngZone=ee,this.dir=ze,this._destroyed=new _.x,this._elementScrolled=new l.y(Ve=>this.ngZone.runOutsideAngular(()=>(0,C.R)(this.elementRef.nativeElement,"scroll").pipe((0,ae.R)(this._destroyed)).subscribe(Ve)))}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(ne){const K=this.elementRef.nativeElement,ee=this.dir&&"rtl"==this.dir.value;null==ne.left&&(ne.left=ee?ne.end:ne.start),null==ne.right&&(ne.right=ee?ne.start:ne.end),null!=ne.bottom&&(ne.top=K.scrollHeight-K.clientHeight-ne.bottom),ee&&0!=(0,o._i)()?(null!=ne.left&&(ne.right=K.scrollWidth-K.clientWidth-ne.left),2==(0,o._i)()?ne.left=ne.right:1==(0,o._i)()&&(ne.left=ne.right?-ne.right:ne.right)):null!=ne.right&&(ne.left=K.scrollWidth-K.clientWidth-ne.right),this._applyScrollToOptions(ne)}_applyScrollToOptions(ne){const K=this.elementRef.nativeElement;(0,o.Mq)()?K.scrollTo(ne):(null!=ne.top&&(K.scrollTop=ne.top),null!=ne.left&&(K.scrollLeft=ne.left))}measureScrollOffset(ne){const K="left",ze=this.elementRef.nativeElement;if("top"==ne)return ze.scrollTop;if("bottom"==ne)return ze.scrollHeight-ze.clientHeight-ze.scrollTop;const Ve=this.dir&&"rtl"==this.dir.value;return"start"==ne?ne=Ve?"right":K:"end"==ne&&(ne=Ve?K:"right"),Ve&&2==(0,o._i)()?ne==K?ze.scrollWidth-ze.clientWidth-ze.scrollLeft:ze.scrollLeft:Ve&&1==(0,o._i)()?ne==K?ze.scrollLeft+ze.scrollWidth-ze.clientWidth:-ze.scrollLeft:ne==K?ze.scrollLeft:ze.scrollWidth-ze.clientWidth-ze.scrollLeft}}Pe.\u0275fac=function(ne){return new(ne||Pe)(t.Y36(t.SBq),t.Y36(Y),t.Y36(t.R0b),t.Y36(h.Is,8))},Pe.\u0275dir=t.lG2({type:Pe,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]});class Xe{constructor(ne,K,ee){this._platform=ne,this._change=new _.x,this._changeListener=ze=>{this._change.next(ze)},this._document=ee,K.runOutsideAngular(()=>{if(ne.isBrowser){const ze=this._getWindow();ze.addEventListener("resize",this._changeListener),ze.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const ne=this._getWindow();ne.removeEventListener("resize",this._changeListener),ne.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const ne={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),ne}getViewportRect(){const ne=this.getViewportScrollPosition(),{width:K,height:ee}=this.getViewportSize();return{top:ne.top,left:ne.left,bottom:ne.top+ee,right:ne.left+K,height:ee,width:K}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const ne=this._document,K=this._getWindow(),ee=ne.documentElement,ze=ee.getBoundingClientRect();return{top:-ze.top||ne.body.scrollTop||K.scrollY||ee.scrollTop||0,left:-ze.left||ne.body.scrollLeft||K.scrollX||ee.scrollLeft||0}}change(ne=20){return ne>0?this._change.pipe((0,X.e)(ne)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const ne=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:ne.innerWidth,height:ne.innerHeight}:{width:0,height:0}}}Xe.\u0275fac=function(ne){return new(ne||Xe)(t.LFG(o.t4),t.LFG(t.R0b),t.LFG(m.K0,8))},Xe.\u0275prov=t.Yz7({token:Xe,factory:Xe.\u0275fac,providedIn:"root"});const dt=new t.OlP("VIRTUAL_SCROLLABLE");class Ke extends Pe{constructor(ne,K,ee,ze){super(ne,K,ee,ze)}measureViewportSize(ne){const K=this.elementRef.nativeElement;return"horizontal"===ne?K.clientWidth:K.clientHeight}}Ke.\u0275fac=function(ne){return new(ne||Ke)(t.Y36(t.SBq),t.Y36(Y),t.Y36(t.R0b),t.Y36(h.Is,8))},Ke.\u0275dir=t.lG2({type:Ke,features:[t.qOj]});const $e=typeof requestAnimationFrame<"u"?M:A.E;class Oe extends Ke{constructor(ne,K,ee,ze,Ve,oe,at,qe){super(ne,oe,ee,Ve),this.elementRef=ne,this._changeDetectorRef=K,this._scrollStrategy=ze,this.scrollable=qe,this._platform=(0,t.f3M)(o.t4),this._detachedSubject=new _.x,this._renderedRangeSubject=new _.x,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new l.y(it=>this._scrollStrategy.scrolledIndexChange.subscribe(ii=>Promise.resolve().then(()=>this.ngZone.run(()=>it.next(ii))))),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=at.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}get orientation(){return this._orientation}set orientation(ne){this._orientation!==ne&&(this._orientation=ne,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(ne){this._appendOnly=(0,e.Ig)(ne)}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,he.O)(null),(0,X.e)(0,$e)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(ne){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=ne,this._forOf.dataStream.pipe((0,ae.R)(this._detachedSubject)).subscribe(K=>{const ee=K.length;ee!==this._dataLength&&(this._dataLength=ee,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(ne){return this.getElementRef().nativeElement.getBoundingClientRect()[ne]}setTotalContentSize(ne){this._totalContentSize!==ne&&(this._totalContentSize=ne,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(ne){(function ge(Se,ne){return Se.start==ne.start&&Se.end==ne.end})(this._renderedRange,ne)||(this.appendOnly&&(ne={start:0,end:Math.max(this._renderedRange.end,ne.end)}),this._renderedRangeSubject.next(this._renderedRange=ne),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(ne,K="to-start"){ne=this.appendOnly&&"to-start"===K?0:ne;const ee=this.dir&&"rtl"==this.dir.value,ze="horizontal"==this.orientation,Ve=ze?"X":"Y";let at=`translate${Ve}(${Number((ze&&ee?-1:1)*ne)}px)`;this._renderedContentOffset=ne,"to-end"===K&&(at+=` translate${Ve}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=at&&(this._renderedContentTransform=at,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(ne,K="auto"){const ee={behavior:K};"horizontal"===this.orientation?ee.start=ne:ee.top=ne,this.scrollable.scrollTo(ee)}scrollToIndex(ne,K="auto"){this._scrollStrategy.scrollToIndex(ne,K)}measureScrollOffset(ne){let K;return K=this.scrollable==this?ee=>super.measureScrollOffset(ee):ee=>this.scrollable.measureScrollOffset(ee),Math.max(0,K(ne??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(ne){let K;const Ve="rtl"==this.dir?.value;K="start"==ne?Ve?"right":"left":"end"==ne?Ve?"left":"right":ne||("horizontal"===this.orientation?"left":"top");const oe=this.scrollable.measureBoundingClientRectWithScrollOffset(K);return this.elementRef.nativeElement.getBoundingClientRect()[K]-oe}measureRenderedContentSize(){const ne=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?ne.offsetWidth:ne.offsetHeight}measureRangeSize(ne){return this._forOf?this._forOf.measureRangeSize(ne,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(ne){ne&&this._runAfterChangeDetection.push(ne),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 ne=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const K of ne)K()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}function Me(Se,ne,K){const ee=K;if(!ee.getBoundingClientRect)return 0;const ze=ee.getBoundingClientRect();return"horizontal"===Se?"start"===ne?ze.left:ze.right:"start"===ne?ze.top:ze.bottom}Oe.\u0275fac=function(ne){return new(ne||Oe)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(t.R0b),t.Y36(g,8),t.Y36(h.Is,8),t.Y36(Y),t.Y36(Xe),t.Y36(dt,8))},Oe.\u0275cmp=t.Xpm({type:Oe,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(ne,K){if(1&ne&&t.Gf(I,7),2&ne){let ee;t.iGM(ee=t.CRH())&&(K._contentWrapper=ee.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(ne,K){2&ne&&t.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===K.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==K.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[t._Bn([{provide:Pe,useFactory:(Se,ne)=>Se||ne,deps:[[new t.FiY,new t.tBr(dt)],Oe]}]),t.qOj],ngContentSelectors:["*"],decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(ne,K){1&ne&&(t.F$t(),t.TgZ(0,"div",0,1),t.Hsn(2),t.qZA(),t._UZ(3,"div",2)),2&ne&&(t.xp6(3),t.Udp("width",K._totalContentWidth)("height",K._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});class De{constructor(ne,K,ee,ze,Ve,oe){this._viewContainerRef=ne,this._template=K,this._differs=ee,this._viewRepeater=ze,this._viewport=Ve,this.viewChange=new _.x,this._dataSourceChanges=new _.x,this.dataStream=this._dataSourceChanges.pipe((0,he.O)(null),function le(){return(0,se.e)((Se,ne)=>{let K,ee=!1;Se.subscribe((0,pe.x)(ne,ze=>{const Ve=K;K=ze,ee&&ne.next([Ve,ze]),ee=!0}))})}(),(0,re.w)(([at,qe])=>this._changeDataSource(at,qe)),function i(Se,ne,K){let ee,ze=!1;return Se&&"object"==typeof Se?({bufferSize:ee=1/0,windowTime:ne=1/0,refCount:ze=!1,scheduler:K}=Se):ee=Se??1/0,(0,T.B)({connector:()=>new fe.t(ee,ne,K),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:ze})}(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new _.x,this.dataStream.subscribe(at=>{this._data=at,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe((0,ae.R)(this._destroyed)).subscribe(at=>{this._renderedRange=at,this.viewChange.observers.length&&oe.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(ne){this._cdkVirtualForOf=ne,(0,x.Z9)(ne)?this._dataSourceChanges.next(ne):this._dataSourceChanges.next(new x.P3((0,W.b)(ne)?ne:Array.from(ne||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(ne){this._needsUpdate=!0,this._cdkVirtualForTrackBy=ne?(K,ee)=>ne(K+(this._renderedRange?this._renderedRange.start:0),ee):void 0}set cdkVirtualForTemplate(ne){ne&&(this._needsUpdate=!0,this._template=ne)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(ne){this._viewRepeater.viewCacheSize=(0,e.su)(ne)}measureRangeSize(ne,K){if(ne.start>=ne.end)return 0;ne.start<this._renderedRange.start||(ne.end,this._renderedRange.end);const ee=ne.start-this._renderedRange.start,ze=ne.end-ne.start;let Ve,oe;for(let at=0;at<ze;at++){const qe=this._viewContainerRef.get(at+ee);if(qe&&qe.rootNodes.length){Ve=oe=qe.rootNodes[0];break}}for(let at=ze-1;at>-1;at--){const qe=this._viewContainerRef.get(at+ee);if(qe&&qe.rootNodes.length){oe=qe.rootNodes[qe.rootNodes.length-1];break}}return Ve&&oe?Me(K,"end",oe)-Me(K,"start",Ve):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const ne=this._differ.diff(this._renderedItems);ne?this._applyChanges(ne):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){!this._renderedRange||(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((ne,K)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(ne,K):K)),this._needsUpdate=!0)}_changeDataSource(ne,K){return ne&&ne.disconnect(this),this._needsUpdate=!0,K?K.connect(this):(0,O.of)()}_updateContext(){const ne=this._data.length;let K=this._viewContainerRef.length;for(;K--;){const ee=this._viewContainerRef.get(K);ee.context.index=this._renderedRange.start+K,ee.context.count=ne,this._updateComputedContextProperties(ee.context),ee.detectChanges()}}_applyChanges(ne){this._viewRepeater.applyChanges(ne,this._viewContainerRef,(ze,Ve,oe)=>this._getEmbeddedViewArgs(ze,oe),ze=>ze.item),ne.forEachIdentityChange(ze=>{this._viewContainerRef.get(ze.currentIndex).context.$implicit=ze.item});const K=this._data.length;let ee=this._viewContainerRef.length;for(;ee--;){const ze=this._viewContainerRef.get(ee);ze.context.index=this._renderedRange.start+ee,ze.context.count=K,this._updateComputedContextProperties(ze.context)}}_updateComputedContextProperties(ne){ne.first=0===ne.index,ne.last=ne.index===ne.count-1,ne.even=ne.index%2==0,ne.odd=!ne.even}_getEmbeddedViewArgs(ne,K){return{templateRef:this._template,context:{$implicit:ne.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:K}}}De.\u0275fac=function(ne){return new(ne||De)(t.Y36(t.s_b),t.Y36(t.Rgc),t.Y36(t.ZZ4),t.Y36(x.k),t.Y36(Oe,4),t.Y36(t.R0b))},De.\u0275dir=t.lG2({type:De,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[t._Bn([{provide:x.k,useClass:x.eX}])]});class Ue extends Ke{constructor(ne,K,ee,ze){super(ne,K,ee,ze)}measureBoundingClientRectWithScrollOffset(ne){return this.getElementRef().nativeElement.getBoundingClientRect()[ne]-this.measureScrollOffset(ne)}}Ue.\u0275fac=function(ne){return new(ne||Ue)(t.Y36(t.SBq),t.Y36(Y),t.Y36(t.R0b),t.Y36(h.Is,8))},Ue.\u0275dir=t.lG2({type:Ue,selectors:[["","cdkVirtualScrollingElement",""]],hostAttrs:[1,"cdk-virtual-scrollable"],features:[t._Bn([{provide:dt,useExisting:Ue}]),t.qOj]});class ye extends Ke{constructor(ne,K,ee){super(new t.SBq(document.documentElement),ne,K,ee),this._elementScrolled=new l.y(ze=>this.ngZone.runOutsideAngular(()=>(0,C.R)(document,"scroll").pipe((0,ae.R)(this._destroyed)).subscribe(ze)))}measureBoundingClientRectWithScrollOffset(ne){return this.getElementRef().nativeElement.getBoundingClientRect()[ne]}}ye.\u0275fac=function(ne){return new(ne||ye)(t.Y36(Y),t.Y36(t.R0b),t.Y36(h.Is,8))},ye.\u0275dir=t.lG2({type:ye,selectors:[["cdk-virtual-scroll-viewport","scrollWindow",""]],features:[t._Bn([{provide:dt,useExisting:ye}]),t.qOj]});class we{}we.\u0275fac=function(ne){return new(ne||we)},we.\u0275mod=t.oAB({type:we}),we.\u0275inj=t.cJS({});class ie{}ie.\u0275fac=function(ne){return new(ne||ie)},ie.\u0275mod=t.oAB({type:ie}),ie.\u0275inj=t.cJS({imports:[h.vT,we,h.vT,we]})},1861:(Ye,J,f)=>{"use strict";f.d(J,{B8:()=>ae,KL:()=>M,U5:()=>pe,be:()=>$,gx:()=>X,po:()=>se,st:()=>he,u6:()=>z});var e=f(4218),t=f(2867),_=f(8971),O=f(8456),l=f(2560),C=f(9107),u=f(253),P=f(745),p=f(4874),L=f(8951);function D(le,re){1&le&&l.Hsn(0)}class M{constructor(re){this._elementRef=re}focus(){this._elementRef.nativeElement.focus()}}M.\u0275fac=function(re){return new(re||M)(l.Y36(l.SBq))},M.\u0275dir=l.lG2({type:M,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]});class z{constructor(re){this.template=re}}z.\u0275fac=function(re){return new(re||z)(l.Y36(l.Rgc))},z.\u0275dir=l.lG2({type:z,selectors:[["","cdkStepLabel",""]]});let A=0;const Z_NUMBER="number",Z_EDIT="edit",Z_DONE="done",Z_ERROR="error",X=new l.OlP("STEPPER_GLOBAL_OPTIONS");class ${constructor(re,fe){this._stepper=re,this.interacted=!1,this.interactedStream=new l.vpe,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=fe||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}get editable(){return this._editable}set editable(re){this._editable=(0,_.Ig)(re)}get optional(){return this._optional}set optional(re){this._optional=(0,_.Ig)(re)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(re){this._completedOverride=(0,_.Ig)(re)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(re){this._customError=(0,_.Ig)(re)}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??null!=this._customError}}$.\u0275fac=function(re){return new(re||$)(l.Y36((0,l.Gpc)(()=>ae)),l.Y36(X,8))},$.\u0275cmp=l.Xpm({type:$,selectors:[["cdk-step"]],contentQueries:function(re,fe,T){if(1&re&&l.Suo(T,z,5),2&re){let i;l.iGM(i=l.CRH())&&(fe.stepLabel=i.first)}},viewQuery:function(re,fe){if(1&re&&l.Gf(l.Rgc,7),2&re){let T;l.iGM(T=l.CRH())&&(fe.content=T.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:[l.TTD],ngContentSelectors:["*"],decls:1,vars:0,template:function(re,fe){1&re&&(l.F$t(),l.YNc(0,D,1,0,"ng-template"))},encapsulation:2,changeDetection:0});class ae{constructor(re,fe,T){this._dir=re,this._changeDetectorRef=fe,this._elementRef=T,this._destroyed=new u.x,this.steps=new l.n_E,this._sortedHeaders=new l.n_E,this._linear=!1,this._selectedIndex=0,this.selectionChange=new l.vpe,this._orientation="horizontal",this._groupId=A++}get linear(){return this._linear}set linear(re){this._linear=(0,_.Ig)(re)}get selectedIndex(){return this._selectedIndex}set selectedIndex(re){const fe=(0,_.su)(re);this.steps&&this._steps?(this._isValidIndex(fe),this.selected?._markAsInteracted(),this._selectedIndex!==fe&&!this._anyControlsInvalidOrPending(fe)&&(fe>=this._selectedIndex||this.steps.toArray()[fe].editable)&&this._updateSelectedItemIndex(fe)):this._selectedIndex=fe}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(re){this.selectedIndex=re&&this.steps?this.steps.toArray().indexOf(re):-1}get orientation(){return this._orientation}set orientation(re){this._orientation=re,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===re)}ngAfterContentInit(){this._steps.changes.pipe((0,p.O)(this._steps),(0,L.R)(this._destroyed)).subscribe(re=>{this.steps.reset(re.filter(fe=>fe._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe((0,p.O)(this._stepHeader),(0,L.R)(this._destroyed)).subscribe(re=>{this._sortedHeaders.reset(re.toArray().sort((fe,T)=>fe._elementRef.nativeElement.compareDocumentPosition(T._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new e.Em(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,P.of)()).pipe((0,p.O)(this._layoutDirection()),(0,L.R)(this._destroyed)).subscribe(re=>this._keyManager.withHorizontalOrientation(re)),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(re=>re.reset()),this._stateChanged()}_getStepLabelId(re){return`cdk-step-label-${this._groupId}-${re}`}_getStepContentId(re){return`cdk-step-content-${this._groupId}-${re}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(re){const fe=re-this._selectedIndex;return fe<0?"rtl"===this._layoutDirection()?"next":"previous":fe>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(re,fe=Z_NUMBER){const T=this.steps.toArray()[re],i=this._isCurrentStep(re);return T._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(T,i):this._getGuidelineLogic(T,i,fe)}_getDefaultIndicatorLogic(re,fe){return re._showError()&&re.hasError&&!fe?Z_ERROR:!re.completed||fe?Z_NUMBER:re.editable?Z_EDIT:Z_DONE}_getGuidelineLogic(re,fe,T=Z_NUMBER){return re._showError()&&re.hasError&&!fe?Z_ERROR:re.completed&&!fe?Z_DONE:re.completed&&fe?T:re.editable&&fe?Z_EDIT:T}_isCurrentStep(re){return this._selectedIndex===re}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(re){const fe=this.steps.toArray();this.selectionChange.emit({selectedIndex:re,previouslySelectedIndex:this._selectedIndex,selectedStep:fe[re],previouslySelectedStep:fe[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(re):this._keyManager.updateActiveItem(re),this._selectedIndex=re,this._stateChanged()}_onKeydown(re){const fe=(0,O.Vb)(re),T=re.keyCode,i=this._keyManager;null==i.activeItemIndex||fe||T!==O.L_&&T!==O.K5?i.onKeydown(re):(this.selectedIndex=i.activeItemIndex,re.preventDefault())}_anyControlsInvalidOrPending(re){return!!(this._linear&&re>=0)&&this.steps.toArray().slice(0,re).some(fe=>{const T=fe.stepControl;return(T?T.invalid||T.pending||!fe.interacted:!fe.completed)&&!fe.optional&&!fe._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const re=this._elementRef.nativeElement,fe=(0,C.ht)();return re===fe||re.contains(fe)}_isValidIndex(re){return re>-1&&(!this.steps||re<this.steps.length)}}ae.\u0275fac=function(re){return new(re||ae)(l.Y36(t.Is,8),l.Y36(l.sBO),l.Y36(l.SBq))},ae.\u0275dir=l.lG2({type:ae,selectors:[["","cdkStepper",""]],contentQueries:function(re,fe,T){if(1&re&&(l.Suo(T,$,5),l.Suo(T,M,5)),2&re){let i;l.iGM(i=l.CRH())&&(fe._steps=i),l.iGM(i=l.CRH())&&(fe._stepHeader=i)}},inputs:{linear:"linear",selectedIndex:"selectedIndex",selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange"},exportAs:["cdkStepper"]});class he{constructor(re){this._stepper=re,this.type="submit"}}he.\u0275fac=function(re){return new(re||he)(l.Y36(ae))},he.\u0275dir=l.lG2({type:he,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(re,fe){1&re&&l.NdJ("click",function(){return fe._stepper.next()}),2&re&&l.Ikx("type",fe.type)},inputs:{type:"type"}});class se{constructor(re){this._stepper=re,this.type="button"}}se.\u0275fac=function(re){return new(re||se)(l.Y36(ae))},se.\u0275dir=l.lG2({type:se,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(re,fe){1&re&&l.NdJ("click",function(){return fe._stepper.previous()}),2&re&&l.Ikx("type",fe.type)},inputs:{type:"type"}});class pe{}pe.\u0275fac=function(re){return new(re||pe)},pe.\u0275mod=l.oAB({type:pe}),pe.\u0275inj=l.cJS({imports:[t.vT]})},5183:(Ye,J,f)=>{"use strict";f.d(J,{HI:()=>A,Hs:()=>re,Ud:()=>h,VY:()=>z,XJ:()=>m,Xx:()=>i,_0:()=>le,cu:()=>W,nZ:()=>I,rO:()=>X});var e=f(1755),t=f(4437),_=f(253),O=f(6317),l=f(745),C=f(9295),u=f(116),P=f(8951),p=f(2560),L=f(8971),D=f(2867);class k{constructor(){this.expansionModel=new e.Ov(!0)}toggle(g){this.expansionModel.toggle(this._trackByValue(g))}expand(g){this.expansionModel.select(this._trackByValue(g))}collapse(g){this.expansionModel.deselect(this._trackByValue(g))}isExpanded(g){return this.expansionModel.isSelected(this._trackByValue(g))}toggleDescendants(g){this.expansionModel.isSelected(this._trackByValue(g))?this.collapseDescendants(g):this.expandDescendants(g)}collapseAll(){this.expansionModel.clear()}expandDescendants(g){let r=[g];r.push(...this.getDescendants(g)),this.expansionModel.select(...r.map(w=>this._trackByValue(w)))}collapseDescendants(g){let r=[g];r.push(...this.getDescendants(g)),this.expansionModel.deselect(...r.map(w=>this._trackByValue(w)))}_trackByValue(g){return this.trackBy?this.trackBy(g):g}}class z extends k{constructor(g,r){super(),this.getChildren=g,this.options=r,this.options&&(this.trackBy=this.options.trackBy)}expandAll(){this.expansionModel.clear();const g=this.dataNodes.reduce((r,w)=>[...r,...this.getDescendants(w),w],[]);this.expansionModel.select(...g.map(r=>this._trackByValue(r)))}getDescendants(g){const r=[];return this._getDescendants(r,g),r.splice(1)}_getDescendants(g,r){g.push(r);const w=this.getChildren(r);Array.isArray(w)?w.forEach(V=>this._getDescendants(g,V)):(0,t.b)(w)&&w.pipe((0,C.q)(1),(0,u.h)(Boolean)).subscribe(V=>{for(const N of V)this._getDescendants(g,N)})}}const A=new p.OlP("CDK_TREE_NODE_OUTLET_NODE");class W{constructor(g,r){this.viewContainer=g,this._node=r}}W.\u0275fac=function(g){return new(g||W)(p.Y36(p.s_b),p.Y36(A,8))},W.\u0275dir=p.lG2({type:W,selectors:[["","cdkTreeNodeOutlet",""]]});class Z{constructor(g){this.$implicit=g}}class X{constructor(g){this.template=g}}X.\u0275fac=function(g){return new(g||X)(p.Y36(p.Rgc))},X.\u0275dir=p.lG2({type:X,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}});class le{constructor(g,r){this._differs=g,this._changeDetectorRef=r,this._onDestroy=new _.x,this._levels=new Map,this.viewChange=new O.X({start:0,end:Number.MAX_VALUE})}get dataSource(){return this._dataSource}set dataSource(g){this._dataSource!==g&&this._switchDataSource(g)}ngOnInit(){this._dataDiffer=this._differs.find([]).create(this.trackBy),this.treeControl}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 g=this._nodeDefs.filter(r=>!r.when);g.length,this._defaultNodeDef=g[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(g){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),g||this._nodeOutlet.viewContainer.clear(),this._dataSource=g,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let g;(0,e.Z9)(this._dataSource)?g=this._dataSource.connect(this):(0,t.b)(this._dataSource)?g=this._dataSource:Array.isArray(this._dataSource)&&(g=(0,l.of)(this._dataSource)),g&&(this._dataSubscription=g.pipe((0,P.R)(this._onDestroy)).subscribe(r=>this.renderNodeChanges(r)))}renderNodeChanges(g,r=this._dataDiffer,w=this._nodeOutlet.viewContainer,V){const N=r.diff(g);!N||(N.forEachOperation((Y,Pe,Ce)=>{if(null==Y.previousIndex)this.insertNode(g[Ce],Ce,w,V);else if(null==Ce)w.remove(Pe),this._levels.delete(Y.item);else{const Xe=w.get(Pe);w.move(Xe,Ce)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(g,r){if(1===this._nodeDefs.length)return this._nodeDefs.first;return this._nodeDefs.find(V=>V.when&&V.when(r,g))||this._defaultNodeDef}insertNode(g,r,w,V){const N=this._getNodeDef(g,r),Y=new Z(g);this.treeControl.getLevel?Y.level=this.treeControl.getLevel(g):typeof V<"u"&&this._levels.has(V)?Y.level=this._levels.get(V)+1:Y.level=0,this._levels.set(g,Y.level),(w||this._nodeOutlet.viewContainer).createEmbeddedView(N.template,Y,r),re.mostRecentTreeNode&&(re.mostRecentTreeNode.data=g)}}le.\u0275fac=function(g){return new(g||le)(p.Y36(p.ZZ4),p.Y36(p.sBO))},le.\u0275cmp=p.Xpm({type:le,selectors:[["cdk-tree"]],contentQueries:function(g,r,w){if(1&g&&p.Suo(w,X,5),2&g){let V;p.iGM(V=p.CRH())&&(r._nodeDefs=V)}},viewQuery:function(g,r){if(1&g&&p.Gf(W,7),2&g){let w;p.iGM(w=p.CRH())&&(r._nodeOutlet=w.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(g,r){1&g&&p.GkF(0,0)},dependencies:[W],encapsulation:2});class re{constructor(g,r){this._elementRef=g,this._tree=r,this._destroyed=new _.x,this._dataChanges=new _.x,re.mostRecentTreeNode=this,this.role="treeitem"}get role(){return"treeitem"}set role(g){this._elementRef.nativeElement.setAttribute("role",g)}get data(){return this._data}set data(g){g!==this._data&&(this._data=g,this._setRoleFromData(),this._dataChanges.next())}get isExpanded(){return this._tree.treeControl.isExpanded(this._data)}get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}ngOnInit(){this._parentNodeAriaLevel=function fe(R){let g=R.parentElement;for(;g&&!T(g);)g=g.parentElement;return g?g.classList.contains("cdk-nested-tree-node")?(0,L.su)(g.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngOnDestroy(){re.mostRecentTreeNode===this&&(re.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){!this._tree.treeControl.isExpandable&&this._tree.treeControl.getChildren,this.role="treeitem"}}function T(R){const g=R.classList;return!(!g?.contains("cdk-nested-tree-node")&&!g?.contains("cdk-tree"))}re.mostRecentTreeNode=null,re.\u0275fac=function(g){return new(g||re)(p.Y36(p.SBq),p.Y36(le))},re.\u0275dir=p.lG2({type:re,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(g,r){2&g&&p.uIk("aria-expanded",r.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"]});class i extends re{constructor(g,r,w){super(g,r),this._differs=w}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy),this._tree.treeControl.getChildren;const g=this._tree.treeControl.getChildren(this.data);Array.isArray(g)?this.updateChildrenNodes(g):(0,t.b)(g)&&g.pipe((0,P.R)(this._destroyed)).subscribe(r=>this.updateChildrenNodes(r)),this.nodeOutlet.changes.pipe((0,P.R)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){super.ngOnInit()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(g){const r=this._getNodeOutlet();if(g&&(this._children=g),r&&this._children){const w=r.viewContainer;this._tree.renderNodeChanges(this._children,this._dataDiffer,w,this._data)}else this._dataDiffer.diff([])}_clear(){const g=this._getNodeOutlet();g&&(g.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const g=this.nodeOutlet;return g&&g.find(r=>!r._node||r._node===this)}}i.\u0275fac=function(g){return new(g||i)(p.Y36(p.SBq),p.Y36(le),p.Y36(p.ZZ4))},i.\u0275dir=p.lG2({type:i,selectors:[["cdk-nested-tree-node"]],contentQueries:function(g,r,w){if(1&g&&p.Suo(w,W,5),2&g){let V;p.iGM(V=p.CRH())&&(r.nodeOutlet=V)}},hostAttrs:[1,"cdk-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cdkNestedTreeNode"],features:[p._Bn([{provide:re,useExisting:i},{provide:A,useExisting:i}]),p.qOj]});const o=/([A-Za-z%]+)$/;class m{constructor(g,r,w,V){this._treeNode=g,this._tree=r,this._element=w,this._dir=V,this._destroyed=new _.x,this.indentUnits="px",this._indent=40,this._setPadding(),V&&V.change.pipe((0,P.R)(this._destroyed)).subscribe(()=>this._setPadding(!0)),g._dataChanges.subscribe(()=>this._setPadding())}get level(){return this._level}set level(g){this._setLevelInput(g)}get indent(){return this._indent}set indent(g){this._setIndentInput(g)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const g=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,r=null==this._level?g:this._level;return"number"==typeof r?`${r*this._indent}${this.indentUnits}`:null}_setPadding(g=!1){const r=this._paddingIndent();if(r!==this._currentPadding||g){const w=this._element.nativeElement,V=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",N="paddingLeft"===V?"paddingRight":"paddingLeft";w.style[V]=r||"",w.style[N]="",this._currentPadding=r}}_setLevelInput(g){this._level=(0,L.su)(g,null),this._setPadding()}_setIndentInput(g){let r=g,w="px";if("string"==typeof g){const V=g.split(o);r=V[0],w=V[1]||w}this.indentUnits=w,this._indent=(0,L.su)(r),this._setPadding()}}m.\u0275fac=function(g){return new(g||m)(p.Y36(re),p.Y36(le),p.Y36(p.SBq),p.Y36(D.Is,8))},m.\u0275dir=p.lG2({type:m,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}});class h{constructor(g,r){this._tree=g,this._treeNode=r,this._recursive=!1}get recursive(){return this._recursive}set recursive(g){this._recursive=(0,L.Ig)(g)}_toggle(g){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),g.stopPropagation()}}h.\u0275fac=function(g){return new(g||h)(p.Y36(le),p.Y36(re))},h.\u0275dir=p.lG2({type:h,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(g,r){1&g&&p.NdJ("click",function(V){return r._toggle(V)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}});class I{}I.\u0275fac=function(g){return new(g||I)},I.\u0275mod=p.oAB({type:I}),I.\u0275inj=p.cJS({})},4666:(Ye,J,f)=>{"use strict";f.d(J,{Do:()=>$,ED:()=>Qa,EM:()=>hr,HT:()=>O,JF:()=>xr,JJ:()=>oo,K0:()=>C,Mx:()=>be,NF:()=>br,Nd:()=>Wa,O5:()=>Qi,OU:()=>rr,Ov:()=>An,PC:()=>pi,PM:()=>yr,RF:()=>Xn,S$:()=>W,Ts:()=>la,V_:()=>p,Ye:()=>ae,b0:()=>X,bD:()=>dr,ez:()=>or,gd:()=>ja,i8:()=>na,mk:()=>ke,n9:()=>Qn,q:()=>_,rS:()=>jn,sg:()=>oi,tP:()=>Di,uU:()=>Ta,w_:()=>l});var e=f(2560);let t=null;function _(){return t}function O(Ge){t||(t=Ge)}class l{}const C=new e.OlP("DocumentToken");class u{historyGo(ve){throw new Error("Not implemented")}}u.\u0275fac=function(ve){return new(ve||u)},u.\u0275prov=e.Yz7({token:u,factory:function(){return function P(){return(0,e.LFG)(L)}()},providedIn:"platform"});const p=new e.OlP("Location Initialized");class L extends u{constructor(ve){super(),this._doc=ve,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return _().getBaseHref(this._doc)}onPopState(ve){const nt=_().getGlobalEventTarget(this._doc,"window");return nt.addEventListener("popstate",ve,!1),()=>nt.removeEventListener("popstate",ve)}onHashChange(ve){const nt=_().getGlobalEventTarget(this._doc,"window");return nt.addEventListener("hashchange",ve,!1),()=>nt.removeEventListener("hashchange",ve)}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(ve){this.location.pathname=ve}pushState(ve,nt,Bt){D()?this._history.pushState(ve,nt,Bt):this.location.hash=Bt}replaceState(ve,nt,Bt){D()?this._history.replaceState(ve,nt,Bt):this.location.hash=Bt}forward(){this._history.forward()}back(){this._history.back()}historyGo(ve=0){this._history.go(ve)}getState(){return this._history.state}}function D(){return!!window.history.pushState}function M(Ge,ve){if(0==Ge.length)return ve;if(0==ve.length)return Ge;let nt=0;return Ge.endsWith("/")&&nt++,ve.startsWith("/")&&nt++,2==nt?Ge+ve.substring(1):1==nt?Ge+ve:Ge+"/"+ve}function z(Ge){const ve=Ge.match(/#|\?|$/),nt=ve&&ve.index||Ge.length,Bt=nt-("/"===Ge[nt-1]?1:0);return Ge.slice(0,Bt)+Ge.slice(nt)}function A(Ge){return Ge&&"?"!==Ge[0]?"?"+Ge:Ge}L.\u0275fac=function(ve){return new(ve||L)(e.LFG(C))},L.\u0275prov=e.Yz7({token:L,factory:function(){return function k(){return new L((0,e.LFG)(C))}()},providedIn:"platform"});class W{historyGo(ve){throw new Error("Not implemented")}}W.\u0275fac=function(ve){return new(ve||W)},W.\u0275prov=e.Yz7({token:W,factory:function(){return(0,e.f3M)(X)},providedIn:"root"});const Z=new e.OlP("appBaseHref");class X extends W{constructor(ve,nt){super(),this._platformLocation=ve,this._removeListenerFns=[],this._baseHref=nt??this._platformLocation.getBaseHrefFromDOM()??(0,e.f3M)(C).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(ve){this._removeListenerFns.push(this._platformLocation.onPopState(ve),this._platformLocation.onHashChange(ve))}getBaseHref(){return this._baseHref}prepareExternalUrl(ve){return M(this._baseHref,ve)}path(ve=!1){const nt=this._platformLocation.pathname+A(this._platformLocation.search),Bt=this._platformLocation.hash;return Bt&&ve?`${nt}${Bt}`:nt}pushState(ve,nt,Bt,di){const He=this.prepareExternalUrl(Bt+A(di));this._platformLocation.pushState(ve,nt,He)}replaceState(ve,nt,Bt,di){const He=this.prepareExternalUrl(Bt+A(di));this._platformLocation.replaceState(ve,nt,He)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(ve=0){this._platformLocation.historyGo?.(ve)}}X.\u0275fac=function(ve){return new(ve||X)(e.LFG(u),e.LFG(Z,8))},X.\u0275prov=e.Yz7({token:X,factory:X.\u0275fac,providedIn:"root"});class $ extends W{constructor(ve,nt){super(),this._platformLocation=ve,this._baseHref="",this._removeListenerFns=[],null!=nt&&(this._baseHref=nt)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(ve){this._removeListenerFns.push(this._platformLocation.onPopState(ve),this._platformLocation.onHashChange(ve))}getBaseHref(){return this._baseHref}path(ve=!1){let nt=this._platformLocation.hash;return null==nt&&(nt="#"),nt.length>0?nt.substring(1):nt}prepareExternalUrl(ve){const nt=M(this._baseHref,ve);return nt.length>0?"#"+nt:nt}pushState(ve,nt,Bt,di){let He=this.prepareExternalUrl(Bt+A(di));0==He.length&&(He=this._platformLocation.pathname),this._platformLocation.pushState(ve,nt,He)}replaceState(ve,nt,Bt,di){let He=this.prepareExternalUrl(Bt+A(di));0==He.length&&(He=this._platformLocation.pathname),this._platformLocation.replaceState(ve,nt,He)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(ve=0){this._platformLocation.historyGo?.(ve)}}$.\u0275fac=function(ve){return new(ve||$)(e.LFG(u),e.LFG(Z,8))},$.\u0275prov=e.Yz7({token:$,factory:$.\u0275fac});class ae{constructor(ve){this._subject=new e.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=ve;const nt=this._locationStrategy.getBaseHref();this._basePath=function le(Ge){if(/^(https?:)?\/\//.test(Ge)){const[,ve]=Ge.split(/\/\/[^\/]+/);return ve}return Ge}(z(pe(nt))),this._locationStrategy.onPopState(Bt=>{this._subject.emit({url:this.path(!0),pop:!0,state:Bt.state,type:Bt.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(ve=!1){return this.normalize(this._locationStrategy.path(ve))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(ve,nt=""){return this.path()==this.normalize(ve+A(nt))}normalize(ve){return ae.stripTrailingSlash(function se(Ge,ve){return Ge&&ve.startsWith(Ge)?ve.substring(Ge.length):ve}(this._basePath,pe(ve)))}prepareExternalUrl(ve){return ve&&"/"!==ve[0]&&(ve="/"+ve),this._locationStrategy.prepareExternalUrl(ve)}go(ve,nt="",Bt=null){this._locationStrategy.pushState(Bt,"",ve,nt),this._notifyUrlChangeListeners(this.prepareExternalUrl(ve+A(nt)),Bt)}replaceState(ve,nt="",Bt=null){this._locationStrategy.replaceState(Bt,"",ve,nt),this._notifyUrlChangeListeners(this.prepareExternalUrl(ve+A(nt)),Bt)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(ve=0){this._locationStrategy.historyGo?.(ve)}onUrlChange(ve){return this._urlChangeListeners.push(ve),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(nt=>{this._notifyUrlChangeListeners(nt.url,nt.state)})),()=>{const nt=this._urlChangeListeners.indexOf(ve);this._urlChangeListeners.splice(nt,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(ve="",nt){this._urlChangeListeners.forEach(Bt=>Bt(ve,nt))}subscribe(ve,nt,Bt){return this._subject.subscribe({next:ve,error:nt,complete:Bt})}}function pe(Ge){return Ge.replace(/\/index.html$/,"")}ae.normalizeQueryParams=A,ae.joinWithSlash=M,ae.stripTrailingSlash=z,ae.\u0275fac=function(ve){return new(ve||ae)(e.LFG(W))},ae.\u0275prov=e.Yz7({token:ae,factory:function(){return function he(){return new ae((0,e.LFG)(W))}()},providedIn:"root"});const re={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var fe,Ge,T,i,o,m,h,x;function Y(Ge,ve){return ie((0,e.cg1)(Ge)[e.wAp.DateFormat],ve)}function Pe(Ge,ve){return ie((0,e.cg1)(Ge)[e.wAp.TimeFormat],ve)}function Ce(Ge,ve){return ie((0,e.cg1)(Ge)[e.wAp.DateTimeFormat],ve)}function Xe(Ge,ve){const nt=(0,e.cg1)(Ge),Bt=nt[e.wAp.NumberSymbols][ve];if(typeof Bt>"u"){if(ve===h.CurrencyDecimal)return nt[e.wAp.NumberSymbols][h.Decimal];if(ve===h.CurrencyGroup)return nt[e.wAp.NumberSymbols][h.Group]}return Bt}function dt(Ge,ve){return(0,e.cg1)(Ge)[e.wAp.NumberFormats][ve]}(Ge=fe||(fe={}))[Ge.Decimal=0]="Decimal",Ge[Ge.Percent=1]="Percent",Ge[Ge.Currency=2]="Currency",Ge[Ge.Scientific=3]="Scientific",function(Ge){Ge[Ge.Zero=0]="Zero",Ge[Ge.One=1]="One",Ge[Ge.Two=2]="Two",Ge[Ge.Few=3]="Few",Ge[Ge.Many=4]="Many",Ge[Ge.Other=5]="Other"}(T||(T={})),function(Ge){Ge[Ge.Format=0]="Format",Ge[Ge.Standalone=1]="Standalone"}(i||(i={})),function(Ge){Ge[Ge.Narrow=0]="Narrow",Ge[Ge.Abbreviated=1]="Abbreviated",Ge[Ge.Wide=2]="Wide",Ge[Ge.Short=3]="Short"}(o||(o={})),function(Ge){Ge[Ge.Short=0]="Short",Ge[Ge.Medium=1]="Medium",Ge[Ge.Long=2]="Long",Ge[Ge.Full=3]="Full"}(m||(m={})),function(Ge){Ge[Ge.Decimal=0]="Decimal",Ge[Ge.Group=1]="Group",Ge[Ge.List=2]="List",Ge[Ge.PercentSign=3]="PercentSign",Ge[Ge.PlusSign=4]="PlusSign",Ge[Ge.MinusSign=5]="MinusSign",Ge[Ge.Exponential=6]="Exponential",Ge[Ge.SuperscriptingExponent=7]="SuperscriptingExponent",Ge[Ge.PerMille=8]="PerMille",Ge[Ge.Infinity=9]="Infinity",Ge[Ge.NaN=10]="NaN",Ge[Ge.TimeSeparator=11]="TimeSeparator",Ge[Ge.CurrencyDecimal=12]="CurrencyDecimal",Ge[Ge.CurrencyGroup=13]="CurrencyGroup"}(h||(h={})),function(Ge){Ge[Ge.Sunday=0]="Sunday",Ge[Ge.Monday=1]="Monday",Ge[Ge.Tuesday=2]="Tuesday",Ge[Ge.Wednesday=3]="Wednesday",Ge[Ge.Thursday=4]="Thursday",Ge[Ge.Friday=5]="Friday",Ge[Ge.Saturday=6]="Saturday"}(x||(x={}));const Me=e.kL8;function De(Ge){if(!Ge[e.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${Ge[e.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function ie(Ge,ve){for(let nt=ve;nt>-1;nt--)if(typeof Ge[nt]<"u")return Ge[nt];throw new Error("Locale data API: locale data undefined")}function Se(Ge){const[ve,nt]=Ge.split(":");return{hours:+ve,minutes:+nt}}function ne(Ge,ve,nt="en"){const Bt=function Oe(Ge){return(0,e.cg1)(Ge)[e.wAp.Currencies]}(nt)[Ge]||re[Ge]||[],di=Bt[1];return"narrow"===ve&&"string"==typeof di?di:Bt[0]||Ge}const ze=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ve={},oe=/((?:[^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,qe,it;function ii(Ge,ve,nt,Bt){let di=function We(Ge){if(ri(Ge))return Ge;if("number"==typeof Ge&&!isNaN(Ge))return new Date(Ge);if("string"==typeof Ge){if(Ge=Ge.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(Ge)){const[di,He=1,tt=1]=Ge.split("-").map(vt=>+vt);return bt(di,He-1,tt)}const nt=parseFloat(Ge);if(!isNaN(Ge-nt))return new Date(nt);let Bt;if(Bt=Ge.match(ze))return function gt(Ge){const ve=new Date(0);let nt=0,Bt=0;const di=Ge[8]?ve.setUTCFullYear:ve.setFullYear,He=Ge[8]?ve.setUTCHours:ve.setHours;Ge[9]&&(nt=Number(Ge[9]+Ge[10]),Bt=Number(Ge[9]+Ge[11])),di.call(ve,Number(Ge[1]),Number(Ge[2])-1,Number(Ge[3]));const tt=Number(Ge[4]||0)-nt,vt=Number(Ge[5]||0)-Bt,Ht=Number(Ge[6]||0),Je=Math.floor(1e3*parseFloat("0."+(Ge[7]||0)));return He.call(ve,tt,vt,Ht,Je),ve}(Bt)}const ve=new Date(Ge);if(!ri(ve))throw new Error(`Unable to convert "${Ge}" into a date`);return ve}(Ge);ve=st(nt,ve)||ve;let vt,tt=[];for(;ve;){if(vt=oe.exec(ve),!vt){tt.push(ve);break}{tt=tt.concat(vt.slice(1));const Yt=tt.pop();if(!Yt)break;ve=Yt}}let Ht=di.getTimezoneOffset();Bt&&(Ht=Et(Bt,Ht),di=function ot(Ge,ve,nt){const Bt=nt?-1:1,di=Ge.getTimezoneOffset(),He=Et(ve,di);return function Nt(Ge,ve){return(Ge=new Date(Ge.getTime())).setMinutes(Ge.getMinutes()+ve),Ge}(Ge,Bt*(He-di))}(di,Bt,!0));let Je="";return tt.forEach(Yt=>{const si=function wt(Ge){if(Ne[Ge])return Ne[Ge];let ve;switch(Ge){case"G":case"GG":case"GGG":ve=Rt(it.Eras,o.Abbreviated);break;case"GGGG":ve=Rt(it.Eras,o.Wide);break;case"GGGGG":ve=Rt(it.Eras,o.Narrow);break;case"y":ve=Gt(qe.FullYear,1,0,!1,!0);break;case"yy":ve=Gt(qe.FullYear,2,0,!0,!0);break;case"yyy":ve=Gt(qe.FullYear,3,0,!1,!0);break;case"yyyy":ve=Gt(qe.FullYear,4,0,!1,!0);break;case"Y":ve=ue(1);break;case"YY":ve=ue(2,!0);break;case"YYY":ve=ue(3);break;case"YYYY":ve=ue(4);break;case"M":case"L":ve=Gt(qe.Month,1,1);break;case"MM":case"LL":ve=Gt(qe.Month,2,1);break;case"MMM":ve=Rt(it.Months,o.Abbreviated);break;case"MMMM":ve=Rt(it.Months,o.Wide);break;case"MMMMM":ve=Rt(it.Months,o.Narrow);break;case"LLL":ve=Rt(it.Months,o.Abbreviated,i.Standalone);break;case"LLLL":ve=Rt(it.Months,o.Wide,i.Standalone);break;case"LLLLL":ve=Rt(it.Months,o.Narrow,i.Standalone);break;case"w":ve=j(1);break;case"ww":ve=j(2);break;case"W":ve=j(1,!0);break;case"d":ve=Gt(qe.Date,1);break;case"dd":ve=Gt(qe.Date,2);break;case"c":case"cc":ve=Gt(qe.Day,1);break;case"ccc":ve=Rt(it.Days,o.Abbreviated,i.Standalone);break;case"cccc":ve=Rt(it.Days,o.Wide,i.Standalone);break;case"ccccc":ve=Rt(it.Days,o.Narrow,i.Standalone);break;case"cccccc":ve=Rt(it.Days,o.Short,i.Standalone);break;case"E":case"EE":case"EEE":ve=Rt(it.Days,o.Abbreviated);break;case"EEEE":ve=Rt(it.Days,o.Wide);break;case"EEEEE":ve=Rt(it.Days,o.Narrow);break;case"EEEEEE":ve=Rt(it.Days,o.Short);break;case"a":case"aa":case"aaa":ve=Rt(it.DayPeriods,o.Abbreviated);break;case"aaaa":ve=Rt(it.DayPeriods,o.Wide);break;case"aaaaa":ve=Rt(it.DayPeriods,o.Narrow);break;case"b":case"bb":case"bbb":ve=Rt(it.DayPeriods,o.Abbreviated,i.Standalone,!0);break;case"bbbb":ve=Rt(it.DayPeriods,o.Wide,i.Standalone,!0);break;case"bbbbb":ve=Rt(it.DayPeriods,o.Narrow,i.Standalone,!0);break;case"B":case"BB":case"BBB":ve=Rt(it.DayPeriods,o.Abbreviated,i.Format,!0);break;case"BBBB":ve=Rt(it.DayPeriods,o.Wide,i.Format,!0);break;case"BBBBB":ve=Rt(it.DayPeriods,o.Narrow,i.Format,!0);break;case"h":ve=Gt(qe.Hours,1,-12);break;case"hh":ve=Gt(qe.Hours,2,-12);break;case"H":ve=Gt(qe.Hours,1);break;case"HH":ve=Gt(qe.Hours,2);break;case"m":ve=Gt(qe.Minutes,1);break;case"mm":ve=Gt(qe.Minutes,2);break;case"s":ve=Gt(qe.Seconds,1);break;case"ss":ve=Gt(qe.Seconds,2);break;case"S":ve=Gt(qe.FractionalSeconds,1);break;case"SS":ve=Gt(qe.FractionalSeconds,2);break;case"SSS":ve=Gt(qe.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":ve=Jt(at.Short);break;case"ZZZZZ":ve=Jt(at.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":ve=Jt(at.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":ve=Jt(at.Long);break;default:return null}return Ne[Ge]=ve,ve}(Yt);Je+=si?si(di,nt,Ht):"''"===Yt?"'":Yt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Je}function bt(Ge,ve,nt){const Bt=new Date(0);return Bt.setFullYear(Ge,ve,nt),Bt.setHours(0,0,0),Bt}function st(Ge,ve){const nt=function I(Ge){return(0,e.cg1)(Ge)[e.wAp.LocaleId]}(Ge);if(Ve[nt]=Ve[nt]||{},Ve[nt][ve])return Ve[nt][ve];let Bt="";switch(ve){case"shortDate":Bt=Y(Ge,m.Short);break;case"mediumDate":Bt=Y(Ge,m.Medium);break;case"longDate":Bt=Y(Ge,m.Long);break;case"fullDate":Bt=Y(Ge,m.Full);break;case"shortTime":Bt=Pe(Ge,m.Short);break;case"mediumTime":Bt=Pe(Ge,m.Medium);break;case"longTime":Bt=Pe(Ge,m.Long);break;case"fullTime":Bt=Pe(Ge,m.Full);break;case"short":const di=st(Ge,"shortTime"),He=st(Ge,"shortDate");Bt=Be(Ce(Ge,m.Short),[di,He]);break;case"medium":const tt=st(Ge,"mediumTime"),vt=st(Ge,"mediumDate");Bt=Be(Ce(Ge,m.Medium),[tt,vt]);break;case"long":const Ht=st(Ge,"longTime"),Je=st(Ge,"longDate");Bt=Be(Ce(Ge,m.Long),[Ht,Je]);break;case"full":const Yt=st(Ge,"fullTime"),si=st(Ge,"fullDate");Bt=Be(Ce(Ge,m.Full),[Yt,si])}return Bt&&(Ve[nt][ve]=Bt),Bt}function Be(Ge,ve){return ve&&(Ge=Ge.replace(/\{([^}]+)}/g,function(nt,Bt){return null!=ve&&Bt in ve?ve[Bt]:nt})),Ge}function rt(Ge,ve,nt="-",Bt,di){let He="";(Ge<0||di&&Ge<=0)&&(di?Ge=1-Ge:(Ge=-Ge,He=nt));let tt=String(Ge);for(;tt.length<ve;)tt="0"+tt;return Bt&&(tt=tt.slice(tt.length-ve)),He+tt}function Gt(Ge,ve,nt=0,Bt=!1,di=!1){return function(He,tt){let vt=function kt(Ge,ve){switch(Ge){case qe.FullYear:return ve.getFullYear();case qe.Month:return ve.getMonth();case qe.Date:return ve.getDate();case qe.Hours:return ve.getHours();case qe.Minutes:return ve.getMinutes();case qe.Seconds:return ve.getSeconds();case qe.FractionalSeconds:return ve.getMilliseconds();case qe.Day:return ve.getDay();default:throw new Error(`Unknown DateType value "${Ge}".`)}}(Ge,He);if((nt>0||vt>-nt)&&(vt+=nt),Ge===qe.Hours)0===vt&&-12===nt&&(vt=12);else if(Ge===qe.FractionalSeconds)return function Ot(Ge,ve){return rt(Ge,3).substring(0,ve)}(vt,ve);const Ht=Xe(tt,h.MinusSign);return rt(vt,ve,Ht,Bt,di)}}function Rt(Ge,ve,nt=i.Format,Bt=!1){return function(di,He){return function yi(Ge,ve,nt,Bt,di,He){switch(nt){case it.Months:return function r(Ge,ve,nt){const Bt=(0,e.cg1)(Ge),He=ie([Bt[e.wAp.MonthsFormat],Bt[e.wAp.MonthsStandalone]],ve);return ie(He,nt)}(ve,di,Bt)[Ge.getMonth()];case it.Days:return function g(Ge,ve,nt){const Bt=(0,e.cg1)(Ge),He=ie([Bt[e.wAp.DaysFormat],Bt[e.wAp.DaysStandalone]],ve);return ie(He,nt)}(ve,di,Bt)[Ge.getDay()];case it.DayPeriods:const tt=Ge.getHours(),vt=Ge.getMinutes();if(He){const Je=function Ue(Ge){const ve=(0,e.cg1)(Ge);return De(ve),(ve[e.wAp.ExtraData][2]||[]).map(Bt=>"string"==typeof Bt?Se(Bt):[Se(Bt[0]),Se(Bt[1])])}(ve),Yt=function ye(Ge,ve,nt){const Bt=(0,e.cg1)(Ge);De(Bt);const He=ie([Bt[e.wAp.ExtraData][0],Bt[e.wAp.ExtraData][1]],ve)||[];return ie(He,nt)||[]}(ve,di,Bt),si=Je.findIndex(ai=>{if(Array.isArray(ai)){const[Ci,Ii]=ai,Ji=tt>=Ci.hours&&vt>=Ci.minutes,on=tt<Ii.hours||tt===Ii.hours&&vt<Ii.minutes;if(Ci.hours<Ii.hours){if(Ji&&on)return!0}else if(Ji||on)return!0}else if(ai.hours===tt&&ai.minutes===vt)return!0;return!1});if(-1!==si)return Yt[si]}return function R(Ge,ve,nt){const Bt=(0,e.cg1)(Ge),He=ie([Bt[e.wAp.DayPeriodsFormat],Bt[e.wAp.DayPeriodsStandalone]],ve);return ie(He,nt)}(ve,di,Bt)[tt<12?0:1];case it.Eras:return function w(Ge,ve){return ie((0,e.cg1)(Ge)[e.wAp.Eras],ve)}(ve,Bt)[Ge.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${nt}`)}}(di,He,Ge,ve,nt,Bt)}}function Jt(Ge){return function(ve,nt,Bt){const di=-1*Bt,He=Xe(nt,h.MinusSign),tt=di>0?Math.floor(di/60):Math.ceil(di/60);switch(Ge){case at.Short:return(di>=0?"+":"")+rt(tt,2,He)+rt(Math.abs(di%60),2,He);case at.ShortGMT:return"GMT"+(di>=0?"+":"")+rt(tt,1,He);case at.Long:return"GMT"+(di>=0?"+":"")+rt(tt,2,He)+":"+rt(Math.abs(di%60),2,He);case at.Extended:return 0===Bt?"Z":(di>=0?"+":"")+rt(tt,2,He)+":"+rt(Math.abs(di%60),2,He);default:throw new Error(`Unknown zone width "${Ge}"`)}}}!function(Ge){Ge[Ge.Short=0]="Short",Ge[Ge.ShortGMT=1]="ShortGMT",Ge[Ge.Long=2]="Long",Ge[Ge.Extended=3]="Extended"}(at||(at={})),function(Ge){Ge[Ge.FullYear=0]="FullYear",Ge[Ge.Month=1]="Month",Ge[Ge.Date=2]="Date",Ge[Ge.Hours=3]="Hours",Ge[Ge.Minutes=4]="Minutes",Ge[Ge.Seconds=5]="Seconds",Ge[Ge.FractionalSeconds=6]="FractionalSeconds",Ge[Ge.Day=7]="Day"}(qe||(qe={})),function(Ge){Ge[Ge.DayPeriods=0]="DayPeriods",Ge[Ge.Days=1]="Days",Ge[Ge.Months=2]="Months",Ge[Ge.Eras=3]="Eras"}(it||(it={}));function U(Ge){return bt(Ge.getFullYear(),Ge.getMonth(),Ge.getDate()+(4-Ge.getDay()))}function j(Ge,ve=!1){return function(nt,Bt){let di;if(ve){const He=new Date(nt.getFullYear(),nt.getMonth(),1).getDay()-1,tt=nt.getDate();di=1+Math.floor((tt+He)/7)}else{const He=U(nt),tt=function Re(Ge){const ve=bt(Ge,0,1).getDay();return bt(Ge,0,1+(ve<=4?4:11)-ve)}(He.getFullYear()),vt=He.getTime()-tt.getTime();di=1+Math.round(vt/6048e5)}return rt(di,Ge,Xe(Bt,h.MinusSign))}}function ue(Ge,ve=!1){return function(nt,Bt){return rt(U(nt).getFullYear(),Ge,Xe(Bt,h.MinusSign),ve)}}const Ne={};function Et(Ge,ve){Ge=Ge.replace(/:/g,"");const nt=Date.parse("Jan 01, 1970 00:00:00 "+Ge)/6e4;return isNaN(nt)?ve:nt}function ri(Ge){return Ge instanceof Date&&!isNaN(Ge.valueOf())}const Pt=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Ai(Ge,ve,nt,Bt,di,He,tt=!1){let vt="",Ht=!1;if(isFinite(Ge)){let Je=function Wt(Ge){let Bt,di,He,tt,vt,ve=Math.abs(Ge)+"",nt=0;for((di=ve.indexOf("."))>-1&&(ve=ve.replace(".","")),(He=ve.search(/e/i))>0?(di<0&&(di=He),di+=+ve.slice(He+1),ve=ve.substring(0,He)):di<0&&(di=ve.length),He=0;"0"===ve.charAt(He);He++);if(He===(vt=ve.length))Bt=[0],di=1;else{for(vt--;"0"===ve.charAt(vt);)vt--;for(di-=He,Bt=[],tt=0;He<=vt;He++,tt++)Bt[tt]=Number(ve.charAt(He))}return di>22&&(Bt=Bt.splice(0,21),nt=di-1,di=1),{digits:Bt,exponent:nt,integerLen:di}}(Ge);tt&&(Je=function Fe(Ge){if(0===Ge.digits[0])return Ge;const ve=Ge.digits.length-Ge.integerLen;return Ge.exponent?Ge.exponent+=2:(0===ve?Ge.digits.push(0,0):1===ve&&Ge.digits.push(0),Ge.integerLen+=2),Ge}(Je));let Yt=ve.minInt,si=ve.minFrac,ai=ve.maxFrac;if(He){const Tn=He.match(Pt);if(null===Tn)throw new Error(`${He} is not a valid digit info`);const Xa=Tn[1],Pa=Tn[3],fr=Tn[5];null!=Xa&&(Yt=_i(Xa)),null!=Pa&&(si=_i(Pa)),null!=fr?ai=_i(fr):null!=Pa&&si>ai&&(ai=si)}!function Xt(Ge,ve,nt){if(ve>nt)throw new Error(`The minimum number of digits after fraction (${ve}) is higher than the maximum (${nt}).`);let Bt=Ge.digits,di=Bt.length-Ge.integerLen;const He=Math.min(Math.max(ve,di),nt);let tt=He+Ge.integerLen,vt=Bt[tt];if(tt>0){Bt.splice(Math.max(Ge.integerLen,tt));for(let si=tt;si<Bt.length;si++)Bt[si]=0}else{di=Math.max(0,di),Ge.integerLen=1,Bt.length=Math.max(1,tt=He+1),Bt[0]=0;for(let si=1;si<tt;si++)Bt[si]=0}if(vt>=5)if(tt-1<0){for(let si=0;si>tt;si--)Bt.unshift(0),Ge.integerLen++;Bt.unshift(1),Ge.integerLen++}else Bt[tt-1]++;for(;di<Math.max(0,He);di++)Bt.push(0);let Ht=0!==He;const Je=ve+Ge.integerLen,Yt=Bt.reduceRight(function(si,ai,Ci,Ii){return ai+=si,Ii[Ci]=ai<10?ai:ai-10,Ht&&(0===Ii[Ci]&&Ci>=Je?Ii.pop():Ht=!1),ai>=10?1:0},0);Yt&&(Bt.unshift(Yt),Ge.integerLen++)}(Je,si,ai);let Ci=Je.digits,Ii=Je.integerLen;const Ji=Je.exponent;let on=[];for(Ht=Ci.every(Tn=>!Tn);Ii<Yt;Ii++)Ci.unshift(0);for(;Ii<0;Ii++)Ci.unshift(0);Ii>0?on=Ci.splice(Ii,Ci.length):(on=Ci,Ci=[0]);const un=[];for(Ci.length>=ve.lgSize&&un.unshift(Ci.splice(-ve.lgSize,Ci.length).join(""));Ci.length>ve.gSize;)un.unshift(Ci.splice(-ve.gSize,Ci.length).join(""));Ci.length&&un.unshift(Ci.join("")),vt=un.join(Xe(nt,Bt)),on.length&&(vt+=Xe(nt,di)+on.join("")),Ji&&(vt+=Xe(nt,h.Exponential)+"+"+Ji)}else vt=Xe(nt,h.Infinity);return vt=Ge<0&&!Ht?ve.negPre+vt+ve.negSuf:ve.posPre+vt+ve.posSuf,vt}function wi(Ge,ve,nt,Bt,di){const tt=Qe(dt(ve,fe.Currency),Xe(ve,h.MinusSign));return tt.minFrac=function ee(Ge){let ve;const nt=re[Ge];return nt&&(ve=nt[2]),"number"==typeof ve?ve:2}(Bt),tt.maxFrac=tt.minFrac,Ai(Ge,tt,ve,h.CurrencyGroup,h.CurrencyDecimal,di).replace("\xa4",nt).replace("\xa4","").trim()}function Qe(Ge,ve="-"){const nt={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},Bt=Ge.split(";"),di=Bt[0],He=Bt[1],tt=-1!==di.indexOf(".")?di.split("."):[di.substring(0,di.lastIndexOf("0")+1),di.substring(di.lastIndexOf("0")+1)],vt=tt[0],Ht=tt[1]||"";nt.posPre=vt.substring(0,vt.indexOf("#"));for(let Yt=0;Yt<Ht.length;Yt++){const si=Ht.charAt(Yt);"0"===si?nt.minFrac=nt.maxFrac=Yt+1:"#"===si?nt.maxFrac=Yt+1:nt.posSuf+=si}const Je=vt.split(",");if(nt.gSize=Je[1]?Je[1].length:0,nt.lgSize=Je[2]||Je[1]?(Je[2]||Je[1]).length:0,He){const Yt=di.length-nt.posPre.length-nt.posSuf.length,si=He.indexOf("#");nt.negPre=He.substring(0,si).replace(/'/g,""),nt.negSuf=He.slice(si+Yt).replace(/'/g,"")}else nt.negPre=ve+nt.posPre,nt.negSuf=nt.posSuf;return nt}function _i(Ge){const ve=parseInt(Ge);if(isNaN(ve))throw new Error("Invalid integer literal when parsing "+Ge);return ve}class Oi{}function ki(Ge,ve,nt,Bt){let di=`=${Ge}`;if(ve.indexOf(di)>-1||(di=nt.getPluralCategory(Ge,Bt),ve.indexOf(di)>-1))return di;if(ve.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${Ge}"`)}Oi.\u0275fac=function(ve){return new(ve||Oi)},Oi.\u0275prov=e.Yz7({token:Oi,factory:function(ve){let nt=null;return ve?nt=new ve:(Bt=e.LFG(e.soG),nt=new Ki(Bt)),nt;var Bt},providedIn:"root"});class Ki extends Oi{constructor(ve){super(),this.locale=ve}getPluralCategory(ve,nt){switch(Me(nt||this.locale)(ve)){case T.Zero:return"zero";case T.One:return"one";case T.Two:return"two";case T.Few:return"few";case T.Many:return"many";default:return"other"}}}function be(Ge,ve){ve=encodeURIComponent(ve);for(const nt of Ge.split(";")){const Bt=nt.indexOf("="),[di,He]=-1==Bt?[nt,""]:[nt.slice(0,Bt),nt.slice(Bt+1)];if(di.trim()===ve)return decodeURIComponent(He)}return null}Ki.\u0275fac=function(ve){return new(ve||Ki)(e.LFG(e.soG))},Ki.\u0275prov=e.Yz7({token:Ki,factory:Ki.\u0275fac});class ke{constructor(ve,nt,Bt,di){this._iterableDiffers=ve,this._keyValueDiffers=nt,this._ngEl=Bt,this._renderer=di,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(ve){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof ve?ve.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(ve){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof ve?ve.split(/\s+/):ve,this._rawClass&&((0,e.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const ve=this._iterableDiffer.diff(this._rawClass);ve&&this._applyIterableChanges(ve)}else if(this._keyValueDiffer){const ve=this._keyValueDiffer.diff(this._rawClass);ve&&this._applyKeyValueChanges(ve)}}_applyKeyValueChanges(ve){ve.forEachAddedItem(nt=>this._toggleClass(nt.key,nt.currentValue)),ve.forEachChangedItem(nt=>this._toggleClass(nt.key,nt.currentValue)),ve.forEachRemovedItem(nt=>{nt.previousValue&&this._toggleClass(nt.key,!1)})}_applyIterableChanges(ve){ve.forEachAddedItem(nt=>{if("string"!=typeof nt.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,e.AaK)(nt.item)}`);this._toggleClass(nt.item,!0)}),ve.forEachRemovedItem(nt=>this._toggleClass(nt.item,!1))}_applyClasses(ve){ve&&(Array.isArray(ve)||ve instanceof Set?ve.forEach(nt=>this._toggleClass(nt,!0)):Object.keys(ve).forEach(nt=>this._toggleClass(nt,!!ve[nt])))}_removeClasses(ve){ve&&(Array.isArray(ve)||ve instanceof Set?ve.forEach(nt=>this._toggleClass(nt,!1)):Object.keys(ve).forEach(nt=>this._toggleClass(nt,!1)))}_toggleClass(ve,nt){(ve=ve.trim())&&ve.split(/\s+/g).forEach(Bt=>{nt?this._renderer.addClass(this._ngEl.nativeElement,Bt):this._renderer.removeClass(this._ngEl.nativeElement,Bt)})}}ke.\u0275fac=function(ve){return new(ve||ke)(e.Y36(e.ZZ4),e.Y36(e.aQg),e.Y36(e.SBq),e.Y36(e.Qsj))},ke.\u0275dir=e.lG2({type:ke,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0});class ft{constructor(ve){this._viewContainerRef=ve,this.ngComponentOutlet=null}ngOnChanges(ve){const{_viewContainerRef:nt,ngComponentOutletNgModule:Bt,ngComponentOutletNgModuleFactory:di}=this;if(nt.clear(),this._componentRef=void 0,this.ngComponentOutlet){const He=this.ngComponentOutletInjector||nt.parentInjector;(ve.ngComponentOutletNgModule||ve.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),this._moduleRef=Bt?(0,e.Lck)(Bt,St(He)):di?di.create(St(He)):void 0),this._componentRef=nt.createComponent(this.ngComponentOutlet,{index:nt.length,injector:He,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}function St(Ge){return Ge.get(e.h0i).injector}ft.\u0275fac=function(ve){return new(ve||ft)(e.Y36(e.s_b))},ft.\u0275dir=e.lG2({type:ft,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[e.TTD]});class $t{constructor(ve,nt,Bt,di){this.$implicit=ve,this.ngForOf=nt,this.index=Bt,this.count=di}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}}class oi{constructor(ve,nt,Bt){this._viewContainer=ve,this._template=nt,this._differs=Bt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(ve){this._ngForOf=ve,this._ngForOfDirty=!0}set ngForTrackBy(ve){this._trackByFn=ve}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(ve){ve&&(this._template=ve)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const ve=this._ngForOf;!this._differ&&ve&&(this._differ=this._differs.find(ve).create(this.ngForTrackBy))}if(this._differ){const ve=this._differ.diff(this._ngForOf);ve&&this._applyChanges(ve)}}_applyChanges(ve){const nt=this._viewContainer;ve.forEachOperation((Bt,di,He)=>{if(null==Bt.previousIndex)nt.createEmbeddedView(this._template,new $t(Bt.item,this._ngForOf,-1,-1),null===He?void 0:He);else if(null==He)nt.remove(null===di?void 0:di);else if(null!==di){const tt=nt.get(di);nt.move(tt,He),Vt(tt,Bt)}});for(let Bt=0,di=nt.length;Bt<di;Bt++){const tt=nt.get(Bt).context;tt.index=Bt,tt.count=di,tt.ngForOf=this._ngForOf}ve.forEachIdentityChange(Bt=>{Vt(nt.get(Bt.currentIndex),Bt)})}static ngTemplateContextGuard(ve,nt){return!0}}function Vt(Ge,ve){Ge.context.$implicit=ve.item}oi.\u0275fac=function(ve){return new(ve||oi)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(e.ZZ4))},oi.\u0275dir=e.lG2({type:oi,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});class Qi{constructor(ve,nt){this._viewContainer=ve,this._context=new vn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=nt}set ngIf(ve){this._context.$implicit=this._context.ngIf=ve,this._updateView()}set ngIfThen(ve){ga("ngIfThen",ve),this._thenTemplateRef=ve,this._thenViewRef=null,this._updateView()}set ngIfElse(ve){ga("ngIfElse",ve),this._elseTemplateRef=ve,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(ve,nt){return!0}}Qi.\u0275fac=function(ve){return new(ve||Qi)(e.Y36(e.s_b),e.Y36(e.Rgc))},Qi.\u0275dir=e.lG2({type:Qi,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});class vn{constructor(){this.$implicit=null,this.ngIf=null}}function ga(Ge,ve){if(ve&&!ve.createEmbeddedView)throw new Error(`${Ge} must be a TemplateRef, but received '${(0,e.AaK)(ve)}'.`)}class gn{constructor(ve,nt){this._viewContainerRef=ve,this._templateRef=nt,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(ve){ve&&!this._created?this.create():!ve&&this._created&&this.destroy()}}class Xn{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(ve){this._ngSwitch=ve,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(ve){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(ve)}_matchCase(ve){const nt=ve==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||nt,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),nt}_updateDefaultCases(ve){if(this._defaultViews&&ve!==this._defaultUsed){this._defaultUsed=ve;for(let nt=0;nt<this._defaultViews.length;nt++)this._defaultViews[nt].enforceState(ve)}}}Xn.\u0275fac=function(ve){return new(ve||Xn)},Xn.\u0275dir=e.lG2({type:Xn,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});class Qn{constructor(ve,nt,Bt){this.ngSwitch=Bt,Bt._addCase(),this._view=new gn(ve,nt)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}Qn.\u0275fac=function(ve){return new(ve||Qn)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(Xn,9))},Qn.\u0275dir=e.lG2({type:Qn,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});class Qa{constructor(ve,nt,Bt){Bt._addDefault(new gn(ve,nt))}}Qa.\u0275fac=function(ve){return new(ve||Qa)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(Xn,9))},Qa.\u0275dir=e.lG2({type:Qa,selectors:[["","ngSwitchDefault",""]],standalone:!0});class At{constructor(ve){this._localization=ve,this._caseViews={}}set ngPlural(ve){this._switchValue=ve,this._updateView()}addCase(ve,nt){this._caseViews[ve]=nt}_updateView(){this._clearViews();const ve=Object.keys(this._caseViews),nt=ki(this._switchValue,ve,this._localization);this._activateView(this._caseViews[nt])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(ve){ve&&(this._activeView=ve,this._activeView.create())}}At.\u0275fac=function(ve){return new(ve||At)(e.Y36(Oi))},At.\u0275dir=e.lG2({type:At,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0});class Kt{constructor(ve,nt,Bt,di){this.value=ve;const He=!isNaN(Number(ve));di.addCase(He?`=${ve}`:ve,new gn(Bt,nt))}}Kt.\u0275fac=function(ve){return new(ve||Kt)(e.$8M("ngPluralCase"),e.Y36(e.Rgc),e.Y36(e.s_b),e.Y36(At,1))},Kt.\u0275dir=e.lG2({type:Kt,selectors:[["","ngPluralCase",""]],standalone:!0});class pi{constructor(ve,nt,Bt){this._ngEl=ve,this._differs=nt,this._renderer=Bt,this._ngStyle=null,this._differ=null}set ngStyle(ve){this._ngStyle=ve,!this._differ&&ve&&(this._differ=this._differs.find(ve).create())}ngDoCheck(){if(this._differ){const ve=this._differ.diff(this._ngStyle);ve&&this._applyChanges(ve)}}_setStyle(ve,nt){const[Bt,di]=ve.split("."),He=-1===Bt.indexOf("-")?void 0:e.JOm.DashCase;null!=nt?this._renderer.setStyle(this._ngEl.nativeElement,Bt,di?`${nt}${di}`:nt,He):this._renderer.removeStyle(this._ngEl.nativeElement,Bt,He)}_applyChanges(ve){ve.forEachRemovedItem(nt=>this._setStyle(nt.key,null)),ve.forEachAddedItem(nt=>this._setStyle(nt.key,nt.currentValue)),ve.forEachChangedItem(nt=>this._setStyle(nt.key,nt.currentValue))}}pi.\u0275fac=function(ve){return new(ve||pi)(e.Y36(e.SBq),e.Y36(e.aQg),e.Y36(e.Qsj))},pi.\u0275dir=e.lG2({type:pi,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});class Di{constructor(ve){this._viewContainerRef=ve,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(ve){if(ve.ngTemplateOutlet||ve.ngTemplateOutletInjector){const nt=this._viewContainerRef;if(this._viewRef&&nt.remove(nt.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:Bt,ngTemplateOutletContext:di,ngTemplateOutletInjector:He}=this;this._viewRef=nt.createEmbeddedView(Bt,di,He?{injector:He}:void 0)}else this._viewRef=null}else this._viewRef&&ve.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}Di.\u0275fac=function(ve){return new(ve||Di)(e.Y36(e.s_b))},Di.\u0275dir=e.lG2({type:Di,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[e.TTD]});function Fi(Ge,ve){return new e.vHH(2100,!1)}const kn=new class pa{createSubscription(ve,nt){return ve.then(nt,Bt=>{throw Bt})}dispose(ve){}},sa=new class sn{createSubscription(ve,nt){return ve.subscribe({next:nt,error:Bt=>{throw Bt}})}dispose(ve){ve.unsubscribe()}};class An{constructor(ve){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=ve}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(ve){return this._obj?ve!==this._obj?(this._dispose(),this.transform(ve)):this._latestValue:(ve&&this._subscribe(ve),this._latestValue)}_subscribe(ve){this._obj=ve,this._strategy=this._selectStrategy(ve),this._subscription=this._strategy.createSubscription(ve,nt=>this._updateLatestValue(ve,nt))}_selectStrategy(ve){if((0,e.QGY)(ve))return kn;if((0,e.F4k)(ve))return sa;throw Fi()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(ve,nt){ve===this._obj&&(this._latestValue=nt,this._ref.markForCheck())}}An.\u0275fac=function(ve){return new(ve||An)(e.Y36(e.sBO,16))},An.\u0275pipe=e.Yjl({name:"async",type:An,pure:!1,standalone:!0});class na{transform(ve){if(null==ve)return null;if("string"!=typeof ve)throw Fi();return ve.toLowerCase()}}na.\u0275fac=function(ve){return new(ve||na)},na.\u0275pipe=e.Yjl({name:"lowercase",type:na,pure:!0,standalone:!0});const Fa=/(?:[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;class jn{transform(ve){if(null==ve)return null;if("string"!=typeof ve)throw Fi();return ve.replace(Fa,nt=>nt[0].toUpperCase()+nt.slice(1).toLowerCase())}}jn.\u0275fac=function(ve){return new(ve||jn)},jn.\u0275pipe=e.Yjl({name:"titlecase",type:jn,pure:!0,standalone:!0});class ja{transform(ve){if(null==ve)return null;if("string"!=typeof ve)throw Fi();return ve.toUpperCase()}}ja.\u0275fac=function(ve){return new(ve||ja)},ja.\u0275pipe=e.Yjl({name:"uppercase",type:ja,pure:!0,standalone:!0});const Va=new e.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),Vr=new e.OlP("DATE_PIPE_DEFAULT_OPTIONS");class Ta{constructor(ve,nt,Bt){this.locale=ve,this.defaultTimezone=nt,this.defaultOptions=Bt}transform(ve,nt,Bt,di){if(null==ve||""===ve||ve!=ve)return null;try{const He=nt??this.defaultOptions?.dateFormat??"mediumDate",tt=Bt??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return ii(ve,He,di||this.locale,tt)}catch(He){throw Fi(0,He.message)}}}Ta.\u0275fac=function(ve){return new(ve||Ta)(e.Y36(e.soG,16),e.Y36(Va,24),e.Y36(Vr,24))},Ta.\u0275pipe=e.Yjl({name:"date",type:Ta,pure:!0,standalone:!0});const vr=/#/g;class Zn{constructor(ve){this._localization=ve}transform(ve,nt,Bt){if(null==ve)return"";if("object"!=typeof nt||null===nt)throw Fi();return nt[ki(ve,Object.keys(nt),this._localization,Bt)].replace(vr,ve.toString())}}Zn.\u0275fac=function(ve){return new(ve||Zn)(e.Y36(Oi,16))},Zn.\u0275pipe=e.Yjl({name:"i18nPlural",type:Zn,pure:!0,standalone:!0});class Aa{transform(ve,nt){if(null==ve)return"";if("object"!=typeof nt||"string"!=typeof ve)throw Fi();return nt.hasOwnProperty(ve)?nt[ve]:nt.hasOwnProperty("other")?nt.other:""}}Aa.\u0275fac=function(ve){return new(ve||Aa)},Aa.\u0275pipe=e.Yjl({name:"i18nSelect",type:Aa,pure:!0,standalone:!0});class la{transform(ve){return JSON.stringify(ve,null,2)}}la.\u0275fac=function(ve){return new(ve||la)},la.\u0275pipe=e.Yjl({name:"json",type:la,pure:!1,standalone:!0});class Wa{constructor(ve){this.differs=ve,this.keyValues=[],this.compareFn=es}transform(ve,nt=es){if(!ve||!(ve instanceof Map)&&"object"!=typeof ve)return null;this.differ||(this.differ=this.differs.find(ve).create());const Bt=this.differ.diff(ve),di=nt!==this.compareFn;return Bt&&(this.keyValues=[],Bt.forEachItem(He=>{this.keyValues.push(function ms(Ge,ve){return{key:Ge,value:ve}}(He.key,He.currentValue))})),(Bt||di)&&(this.keyValues.sort(nt),this.compareFn=nt),this.keyValues}}function es(Ge,ve){const nt=Ge.key,Bt=ve.key;if(nt===Bt)return 0;if(void 0===nt)return 1;if(void 0===Bt)return-1;if(null===nt)return 1;if(null===Bt)return-1;if("string"==typeof nt&&"string"==typeof Bt)return nt<Bt?-1:1;if("number"==typeof nt&&"number"==typeof Bt)return nt-Bt;if("boolean"==typeof nt&&"boolean"==typeof Bt)return nt<Bt?-1:1;const di=String(nt),He=String(Bt);return di==He?0:di<He?-1:1}Wa.\u0275fac=function(ve){return new(ve||Wa)(e.Y36(e.aQg,16))},Wa.\u0275pipe=e.Yjl({name:"keyvalue",type:Wa,pure:!1,standalone:!0});class oo{constructor(ve){this._locale=ve}transform(ve,nt,Bt){if(!Ka(ve))return null;Bt=Bt||this._locale;try{return function xt(Ge,ve,nt){return Ai(Ge,Qe(dt(ve,fe.Decimal),Xe(ve,h.MinusSign)),ve,h.Group,h.Decimal,nt)}(Ao(ve),Bt,nt)}catch(di){throw Fi(0,di.message)}}}oo.\u0275fac=function(ve){return new(ve||oo)(e.Y36(e.soG,16))},oo.\u0275pipe=e.Yjl({name:"number",type:oo,pure:!0,standalone:!0});class Jn{constructor(ve){this._locale=ve}transform(ve,nt,Bt){if(!Ka(ve))return null;Bt=Bt||this._locale;try{return function zi(Ge,ve,nt){return Ai(Ge,Qe(dt(ve,fe.Percent),Xe(ve,h.MinusSign)),ve,h.Group,h.Decimal,nt,!0).replace(new RegExp("%","g"),Xe(ve,h.PercentSign))}(Ao(ve),Bt,nt)}catch(di){throw Fi(0,di.message)}}}Jn.\u0275fac=function(ve){return new(ve||Jn)(e.Y36(e.soG,16))},Jn.\u0275pipe=e.Yjl({name:"percent",type:Jn,pure:!0,standalone:!0});class qr{constructor(ve,nt="USD"){this._locale=ve,this._defaultCurrencyCode=nt}transform(ve,nt=this._defaultCurrencyCode,Bt="symbol",di,He){if(!Ka(ve))return null;He=He||this._locale,"boolean"==typeof Bt&&(Bt=Bt?"symbol":"code");let tt=nt||this._defaultCurrencyCode;"code"!==Bt&&(tt="symbol"===Bt||"symbol-narrow"===Bt?ne(tt,"symbol"===Bt?"wide":"narrow",He):Bt);try{return wi(Ao(ve),He,tt,nt,di)}catch(vt){throw Fi(0,vt.message)}}}function Ka(Ge){return!(null==Ge||""===Ge||Ge!=Ge)}function Ao(Ge){if("string"==typeof Ge&&!isNaN(Number(Ge)-parseFloat(Ge)))return Number(Ge);if("number"!=typeof Ge)throw new Error(`${Ge} is not a number`);return Ge}qr.\u0275fac=function(ve){return new(ve||qr)(e.Y36(e.soG,16),e.Y36(e.EJc,16))},qr.\u0275pipe=e.Yjl({name:"currency",type:qr,pure:!0,standalone:!0});class rr{transform(ve,nt,Bt){if(null==ve)return null;if(!this.supports(ve))throw Fi();return ve.slice(nt,Bt)}supports(ve){return"string"==typeof ve||Array.isArray(ve)}}rr.\u0275fac=function(ve){return new(ve||rr)},rr.\u0275pipe=e.Yjl({name:"slice",type:rr,pure:!1,standalone:!0});class or{}or.\u0275fac=function(ve){return new(ve||or)},or.\u0275mod=e.oAB({type:or}),or.\u0275inj=e.cJS({});const dr="browser";function br(Ge){return Ge===dr}function yr(Ge){return"server"===Ge}new e.GfV("15.0.3");class hr{}hr.\u0275prov=(0,e.Yz7)({token:hr,providedIn:"root",factory:()=>new ho((0,e.LFG)(C),window)});class ho{constructor(ve,nt){this.document=ve,this.window=nt,this.offset=()=>[0,0]}setOffset(ve){Array.isArray(ve)?this.offset=()=>ve:this.offset=ve}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(ve){this.supportsScrolling()&&this.window.scrollTo(ve[0],ve[1])}scrollToAnchor(ve){if(!this.supportsScrolling())return;const nt=function Ho(Ge,ve){const nt=Ge.getElementById(ve)||Ge.getElementsByName(ve)[0];if(nt)return nt;if("function"==typeof Ge.createTreeWalker&&Ge.body&&(Ge.body.createShadowRoot||Ge.body.attachShadow)){const Bt=Ge.createTreeWalker(Ge.body,NodeFilter.SHOW_ELEMENT);let di=Bt.currentNode;for(;di;){const He=di.shadowRoot;if(He){const tt=He.getElementById(ve)||He.querySelector(`[name="${ve}"]`);if(tt)return tt}di=Bt.nextNode()}}return null}(this.document,ve);nt&&(this.scrollToElement(nt),nt.focus())}setHistoryScrollRestoration(ve){if(this.supportScrollRestoration()){const nt=this.window.history;nt&&nt.scrollRestoration&&(nt.scrollRestoration=ve)}}scrollToElement(ve){const nt=ve.getBoundingClientRect(),Bt=nt.left+this.window.pageXOffset,di=nt.top+this.window.pageYOffset,He=this.offset();this.window.scrollTo(Bt-He[0],di-He[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const ve=ur(this.window.history)||ur(Object.getPrototypeOf(this.window.history));return!(!ve||!ve.writable&&!ve.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function ur(Ge){return Object.getOwnPropertyDescriptor(Ge,"scrollRestoration")}class xr{}function da(Ge,ve){return Rr(Ge)?new URL(Ge):new URL(Ge,ve.location.href)}function Rr(Ge){return/^https?:\/\//.test(Ge)}function sr(Ge){return Rr(Ge)?new URL(Ge).hostname:Ge}function Io(Ge){return Ge.startsWith("/")?Ge.slice(1):Ge}const $n=Ge=>Ge.src,qn=new e.OlP("ImageLoader",{providedIn:"root",factory:()=>$n});function Tr(Ge,ve){return function(Bt){return function fs(Ge){if("string"!=typeof Ge||""===Ge.trim())return!1;try{return new URL(Ge),!0}catch{return!1}}(Bt)||function cr(Ge,ve){throw new e.vHH(2959,!1)}(),Bt=function ya(Ge){return Ge.endsWith("/")?Ge.slice(0,-1):Ge}(Bt),[{provide:qn,useValue:tt=>(Rr(tt.src)&&function xa(Ge,ve){throw new e.vHH(2959,!1)}(0,tt.src),Ge(Bt,{...tt,src:Io(tt.src)}))}]}}Tr(function tr(Ge,ve){let nt="format=auto";return ve.width&&(nt+=`,width=${ve.width}`),`${Ge}/cdn-cgi/image/${nt}/${ve.src}`});Tr(function bi(Ge,ve){let nt="f_auto,q_auto";return ve.width&&(nt+=`,w_${ve.width}`),`${Ge}/image/upload/${nt}/${ve.src}`});Tr(function Br(Ge,ve){let nt="tr:q-auto";return ve.width&&(nt+=`,w-${ve.width}`),`${Ge}/${nt}/${ve.src}`});Tr(function Ni(Ge,ve){const nt=new URL(`${Ge}/${ve.src}`);return nt.searchParams.set("auto","format"),ve.width&&nt.searchParams.set("w",ve.width.toString()),nt.href});function In(Ge,ve=!0){return`The NgOptimizedImage directive ${ve?`(activated on an <img> element with the \`ngSrc="${Ge}"\`) `:""}has detected that`}function pr(Ge){throw new e.vHH(2958,`Unexpected invocation of the ${Ge} in the prod mode. Please make sure that the prod mode is enabled for production builds.`)}class Pi{constructor(){this.images=new Map,this.alreadyWarned=new Set,this.window=null,this.observer=null,pr("LCP checker");const ve=(0,e.f3M)(C).defaultView;typeof ve<"u"&&typeof PerformanceObserver<"u"&&(this.window=ve,this.observer=this.initPerformanceObserver())}initPerformanceObserver(){const ve=new PerformanceObserver(nt=>{const Bt=nt.getEntries();if(0===Bt.length)return;const He=Bt[Bt.length-1].element?.src??"";He.startsWith("data:")||He.startsWith("blob:")||this.images.get(He)&&!this.alreadyWarned.has(He)&&(this.alreadyWarned.add(He),function Wn(Ge){const ve=In(Ge);console.warn((0,e.kuF)(2955,`${ve} this image is the Largest Contentful Paint (LCP) element but was not marked "priority". This image should be marked "priority" in order to prioritize its loading. To fix this, add the "priority" attribute.`))}(He))});return ve.observe({type:"largest-contentful-paint",buffered:!0}),ve}registerImage(ve,nt){!this.observer||this.images.set(da(ve,this.window).href,nt)}unregisterImage(ve){!this.observer||this.images.delete(da(ve,this.window).href)}ngOnDestroy(){!this.observer||(this.observer.disconnect(),this.images.clear(),this.alreadyWarned.clear())}}Pi.\u0275fac=function(ve){return new(ve||Pi)},Pi.\u0275prov=e.Yz7({token:Pi,factory:Pi.\u0275fac,providedIn:"root"});const ts=new Set(["localhost","127.0.0.1","0.0.0.0"]),sc=new e.OlP("PRECONNECT_CHECK_BLOCKLIST");class za{constructor(){this.document=(0,e.f3M)(C),this.preconnectLinks=null,this.alreadySeen=new Set,this.window=null,this.blocklist=new Set(ts),pr("preconnect link checker");const ve=this.document.defaultView;typeof ve<"u"&&(this.window=ve);const nt=(0,e.f3M)(sc,{optional:!0});nt&&this.populateBlocklist(nt)}populateBlocklist(ve){Array.isArray(ve)?is(ve,nt=>{this.blocklist.add(sr(nt))}):this.blocklist.add(sr(ve))}assertPreconnect(ve,nt){if(!this.window)return;const Bt=da(ve,this.window);this.blocklist.has(Bt.hostname)||this.alreadySeen.has(Bt.origin)||(this.alreadySeen.add(Bt.origin),this.preconnectLinks||(this.preconnectLinks=this.queryPreconnectLinks()),this.preconnectLinks.has(Bt.origin)||console.warn((0,e.kuF)(2956,`${In(nt)} there is no preconnect tag present for this image. Preconnecting to the origin(s) that serve priority images ensures that these images are delivered as soon as possible. To fix this, please add the following element into the <head> of the document:\n <link rel="preconnect" href="${Bt.origin}">`)))}queryPreconnectLinks(){const ve=new Set,Bt=Array.from(this.document.querySelectorAll("link[rel=preconnect]"));for(let di of Bt){const He=da(di.href,this.window);ve.add(He.origin)}return ve}ngOnDestroy(){this.preconnectLinks?.clear(),this.alreadySeen.clear()}}function is(Ge,ve){for(let nt of Ge)Array.isArray(nt)?is(nt,ve):ve(nt)}za.\u0275fac=function(ve){return new(ve||za)},za.\u0275prov=e.Yz7({token:za,factory:za.\u0275fac,providedIn:"root"});const Ar=new e.OlP("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});class lr{constructor(){this.preloadedImages=(0,e.f3M)(Ar),this.document=(0,e.f3M)(C)}createPreloadLinkTag(ve,nt,Bt,di){if(this.preloadedImages.has(nt))return;this.preloadedImages.add(nt);const He=ve.createElement("link");ve.setAttribute(He,"as","image"),ve.setAttribute(He,"href",nt),ve.setAttribute(He,"rel","preload"),ve.setAttribute(He,"fetchpriority","high"),di&&ve.setAttribute(He,"imageSizes",di),Bt&&ve.setAttribute(He,"imageSrcset",Bt),ve.appendChild(this.document.head,He)}}lr.\u0275fac=function(ve){return new(ve||lr)},lr.\u0275prov=e.Yz7({token:lr,factory:lr.\u0275fac,providedIn:"root"});const Xr=/^((\s*\d+w\s*(,|$)){1,})$/,Ri=[1,2],Es={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840]},Vs=new e.OlP("ImageConfig",{providedIn:"root",factory:()=>Es});class os{constructor(){this.imageLoader=(0,e.f3M)(qn),this.config=function cl(Ge){let ve={};return Ge.breakpoints&&(ve.breakpoints=Ge.breakpoints.sort((nt,Bt)=>nt-Bt)),Object.assign({},Es,Ge,ve)}((0,e.f3M)(Vs)),this.renderer=(0,e.f3M)(e.Qsj),this.imgElement=(0,e.f3M)(e.SBq).nativeElement,this.injector=(0,e.f3M)(e.zs3),this.isServer=yr((0,e.f3M)(e.Lbi)),this.preloadLinkChecker=(0,e.f3M)(lr),this.lcpObserver=null,this._renderedSrc=null,this._priority=!1,this._disableOptimizedSrcset=!1,this._fill=!1}set width(ve){this._width=_s(ve)}get width(){return this._width}set height(ve){this._height=_s(ve)}get height(){return this._height}set priority(ve){this._priority=Ws(ve)}get priority(){return this._priority}set disableOptimizedSrcset(ve){this._disableOptimizedSrcset=Ws(ve)}get disableOptimizedSrcset(){return this._disableOptimizedSrcset}set fill(ve){this._fill=Ws(ve)}get fill(){return this._fill}ngOnInit(){this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||(this.sizes="100vw"):(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority());const ve=this.getRewrittenSrc();let nt;this.setHostAttribute("src",ve),this.sizes&&this.setHostAttribute("sizes",this.sizes),this.ngSrcset?nt=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(nt=this.getAutomaticSrcset()),nt&&this.setHostAttribute("srcset",nt),this.isServer&&this.priority&&this.preloadLinkChecker.createPreloadLinkTag(this.renderer,ve,nt,this.sizes)}ngOnChanges(ve){}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){const ve={src:this.ngSrc};this._renderedSrc=this.imageLoader(ve)}return this._renderedSrc}getRewrittenSrcset(){const ve=Xr.test(this.ngSrcset);return this.ngSrcset.split(",").filter(Bt=>""!==Bt).map(Bt=>{Bt=Bt.trim();const di=ve?parseFloat(Bt):parseFloat(Bt)*this.width;return`${this.imageLoader({src:this.ngSrc,width:di})} ${Bt}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:ve}=this.config;let nt=ve;return"100vw"===this.sizes?.trim()&&(nt=ve.filter(di=>di>=640)),nt.map(di=>`${this.imageLoader({src:this.ngSrc,width:di})} ${di}w`).join(", ")}getFixedSrcset(){return Ri.map(nt=>`${this.imageLoader({src:this.ngSrc,width:this.width*nt})} ${nt}x`).join(", ")}shouldGenerateAutomaticSrcset(){return!this._disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==$n&&!(this.width>1920||this.height>1080)}ngOnDestroy(){}setHostAttribute(ve,nt){this.renderer.setAttribute(this.imgElement,ve,nt)}}function _s(Ge){return"string"==typeof Ge?parseInt(Ge,10):Ge}function Ws(Ge){return null!=Ge&&"false"!=`${Ge}`}os.\u0275fac=function(ve){return new(ve||os)},os.\u0275dir=e.lG2({type:os,selectors:[["img","ngSrc",""]],hostVars:8,hostBindings:function(ve,nt){2&ve&&e.Udp("position",nt.fill?"absolute":null)("width",nt.fill?"100%":null)("height",nt.fill?"100%":null)("inset",nt.fill?"0px":null)},inputs:{ngSrc:"ngSrc",ngSrcset:"ngSrcset",sizes:"sizes",width:"width",height:"height",loading:"loading",priority:"priority",disableOptimizedSrcset:"disableOptimizedSrcset",fill:"fill",src:"src",srcset:"srcset"},standalone:!0,features:[e.TTD]})},8987:(Ye,J,f)=>{"use strict";f.d(J,{JF:()=>Jt,LE:()=>X,TP:()=>w,eN:()=>I});var e=f(4666),t=f(2560),_=f(745),O=f(833),l=f(3853),C=f(116),u=f(635);class P{}class p{}class L{constructor(U){this.normalizedNames=new Map,this.lazyUpdate=null,U?this.lazyInit="string"==typeof U?()=>{this.headers=new Map,U.split("\n").forEach(j=>{const ue=j.indexOf(":");if(ue>0){const Ne=j.slice(0,ue),wt=Ne.toLowerCase(),Et=j.slice(ue+1).trim();this.maybeSetNormalizedName(Ne,wt),this.headers.has(wt)?this.headers.get(wt).push(Et):this.headers.set(wt,[Et])}})}:()=>{this.headers=new Map,Object.keys(U).forEach(j=>{let ue=U[j];const Ne=j.toLowerCase();"string"==typeof ue&&(ue=[ue]),ue.length>0&&(this.headers.set(Ne,ue),this.maybeSetNormalizedName(j,Ne))})}:this.headers=new Map}has(U){return this.init(),this.headers.has(U.toLowerCase())}get(U){this.init();const j=this.headers.get(U.toLowerCase());return j&&j.length>0?j[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(U){return this.init(),this.headers.get(U.toLowerCase())||null}append(U,j){return this.clone({name:U,value:j,op:"a"})}set(U,j){return this.clone({name:U,value:j,op:"s"})}delete(U,j){return this.clone({name:U,value:j,op:"d"})}maybeSetNormalizedName(U,j){this.normalizedNames.has(j)||this.normalizedNames.set(j,U)}init(){this.lazyInit&&(this.lazyInit instanceof L?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(U=>this.applyUpdate(U)),this.lazyUpdate=null))}copyFrom(U){U.init(),Array.from(U.headers.keys()).forEach(j=>{this.headers.set(j,U.headers.get(j)),this.normalizedNames.set(j,U.normalizedNames.get(j))})}clone(U){const j=new L;return j.lazyInit=this.lazyInit&&this.lazyInit instanceof L?this.lazyInit:this,j.lazyUpdate=(this.lazyUpdate||[]).concat([U]),j}applyUpdate(U){const j=U.name.toLowerCase();switch(U.op){case"a":case"s":let ue=U.value;if("string"==typeof ue&&(ue=[ue]),0===ue.length)return;this.maybeSetNormalizedName(U.name,j);const Ne=("a"===U.op?this.headers.get(j):void 0)||[];Ne.push(...ue),this.headers.set(j,Ne);break;case"d":const wt=U.value;if(wt){let Et=this.headers.get(j);if(!Et)return;Et=Et.filter(Nt=>-1===wt.indexOf(Nt)),0===Et.length?(this.headers.delete(j),this.normalizedNames.delete(j)):this.headers.set(j,Et)}else this.headers.delete(j),this.normalizedNames.delete(j)}}forEach(U){this.init(),Array.from(this.normalizedNames.keys()).forEach(j=>U(this.normalizedNames.get(j),this.headers.get(j)))}}class k{encodeKey(U){return W(U)}encodeValue(U){return W(U)}decodeKey(U){return decodeURIComponent(U)}decodeValue(U){return decodeURIComponent(U)}}const z=/%(\d[a-f0-9])/gi,A={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function W(Re){return encodeURIComponent(Re).replace(z,(U,j)=>A[j]??U)}function Z(Re){return`${Re}`}class X{constructor(U={}){if(this.updates=null,this.cloneFrom=null,this.encoder=U.encoder||new k,U.fromString){if(U.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function M(Re,U){const j=new Map;return Re.length>0&&Re.replace(/^\?/,"").split("&").forEach(Ne=>{const wt=Ne.indexOf("="),[Et,Nt]=-1==wt?[U.decodeKey(Ne),""]:[U.decodeKey(Ne.slice(0,wt)),U.decodeValue(Ne.slice(wt+1))],ot=j.get(Et)||[];ot.push(Nt),j.set(Et,ot)}),j}(U.fromString,this.encoder)}else U.fromObject?(this.map=new Map,Object.keys(U.fromObject).forEach(j=>{const ue=U.fromObject[j],Ne=Array.isArray(ue)?ue.map(Z):[Z(ue)];this.map.set(j,Ne)})):this.map=null}has(U){return this.init(),this.map.has(U)}get(U){this.init();const j=this.map.get(U);return j?j[0]:null}getAll(U){return this.init(),this.map.get(U)||null}keys(){return this.init(),Array.from(this.map.keys())}append(U,j){return this.clone({param:U,value:j,op:"a"})}appendAll(U){const j=[];return Object.keys(U).forEach(ue=>{const Ne=U[ue];Array.isArray(Ne)?Ne.forEach(wt=>{j.push({param:ue,value:wt,op:"a"})}):j.push({param:ue,value:Ne,op:"a"})}),this.clone(j)}set(U,j){return this.clone({param:U,value:j,op:"s"})}delete(U,j){return this.clone({param:U,value:j,op:"d"})}toString(){return this.init(),this.keys().map(U=>{const j=this.encoder.encodeKey(U);return this.map.get(U).map(ue=>j+"="+this.encoder.encodeValue(ue)).join("&")}).filter(U=>""!==U).join("&")}clone(U){const j=new X({encoder:this.encoder});return j.cloneFrom=this.cloneFrom||this,j.updates=(this.updates||[]).concat(U),j}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(U=>this.map.set(U,this.cloneFrom.map.get(U))),this.updates.forEach(U=>{switch(U.op){case"a":case"s":const j=("a"===U.op?this.map.get(U.param):void 0)||[];j.push(Z(U.value)),this.map.set(U.param,j);break;case"d":if(void 0===U.value){this.map.delete(U.param);break}{let ue=this.map.get(U.param)||[];const Ne=ue.indexOf(Z(U.value));-1!==Ne&&ue.splice(Ne,1),ue.length>0?this.map.set(U.param,ue):this.map.delete(U.param)}}}),this.cloneFrom=this.updates=null)}}class ae{constructor(){this.map=new Map}set(U,j){return this.map.set(U,j),this}get(U){return this.map.has(U)||this.map.set(U,U.defaultValue()),this.map.get(U)}delete(U){return this.map.delete(U),this}has(U){return this.map.has(U)}keys(){return this.map.keys()}}function se(Re){return typeof ArrayBuffer<"u"&&Re instanceof ArrayBuffer}function pe(Re){return typeof Blob<"u"&&Re instanceof Blob}function le(Re){return typeof FormData<"u"&&Re instanceof FormData}class fe{constructor(U,j,ue,Ne){let wt;if(this.url=j,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=U.toUpperCase(),function he(Re){switch(Re){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Ne?(this.body=void 0!==ue?ue:null,wt=Ne):wt=ue,wt&&(this.reportProgress=!!wt.reportProgress,this.withCredentials=!!wt.withCredentials,wt.responseType&&(this.responseType=wt.responseType),wt.headers&&(this.headers=wt.headers),wt.context&&(this.context=wt.context),wt.params&&(this.params=wt.params)),this.headers||(this.headers=new L),this.context||(this.context=new ae),this.params){const Et=this.params.toString();if(0===Et.length)this.urlWithParams=j;else{const Nt=j.indexOf("?"),ot=-1===Nt?"?":Nt<j.length-1?"&":"";this.urlWithParams=j+ot+Et}}else this.params=new X,this.urlWithParams=j}serializeBody(){return null===this.body?null:se(this.body)||pe(this.body)||le(this.body)||function re(Re){return typeof URLSearchParams<"u"&&Re instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof X?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:pe(this.body)?this.body.type||null:se(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof X?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(U={}){const j=U.method||this.method,ue=U.url||this.url,Ne=U.responseType||this.responseType,wt=void 0!==U.body?U.body:this.body,Et=void 0!==U.withCredentials?U.withCredentials:this.withCredentials,Nt=void 0!==U.reportProgress?U.reportProgress:this.reportProgress;let ot=U.headers||this.headers,We=U.params||this.params;const gt=U.context??this.context;return void 0!==U.setHeaders&&(ot=Object.keys(U.setHeaders).reduce((ri,Pt)=>ri.set(Pt,U.setHeaders[Pt]),ot)),U.setParams&&(We=Object.keys(U.setParams).reduce((ri,Pt)=>ri.set(Pt,U.setParams[Pt]),We)),new fe(j,ue,wt,{params:We,headers:ot,context:gt,reportProgress:Nt,responseType:Ne,withCredentials:Et})}}var T,Re;(Re=T||(T={}))[Re.Sent=0]="Sent",Re[Re.UploadProgress=1]="UploadProgress",Re[Re.ResponseHeader=2]="ResponseHeader",Re[Re.DownloadProgress=3]="DownloadProgress",Re[Re.Response=4]="Response",Re[Re.User=5]="User";class i{constructor(U,j=200,ue="OK"){this.headers=U.headers||new L,this.status=void 0!==U.status?U.status:j,this.statusText=U.statusText||ue,this.url=U.url||null,this.ok=this.status>=200&&this.status<300}}class o extends i{constructor(U={}){super(U),this.type=T.ResponseHeader}clone(U={}){return new o({headers:U.headers||this.headers,status:void 0!==U.status?U.status:this.status,statusText:U.statusText||this.statusText,url:U.url||this.url||void 0})}}class m extends i{constructor(U={}){super(U),this.type=T.Response,this.body=void 0!==U.body?U.body:null}clone(U={}){return new m({body:void 0!==U.body?U.body:this.body,headers:U.headers||this.headers,status:void 0!==U.status?U.status:this.status,statusText:U.statusText||this.statusText,url:U.url||this.url||void 0})}}class h extends i{constructor(U){super(U,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${U.url||"(unknown url)"}`:this.message=`Http failure response for ${U.url||"(unknown url)"}: ${U.status} ${U.statusText}`,this.error=U.error||null}}function x(Re,U){return{body:U,headers:Re.headers,context:Re.context,observe:Re.observe,params:Re.params,reportProgress:Re.reportProgress,responseType:Re.responseType,withCredentials:Re.withCredentials}}class I{constructor(U){this.handler=U}request(U,j,ue={}){let Ne;if(U instanceof fe)Ne=U;else{let Nt,ot;Nt=ue.headers instanceof L?ue.headers:new L(ue.headers),ue.params&&(ot=ue.params instanceof X?ue.params:new X({fromObject:ue.params})),Ne=new fe(U,j,void 0!==ue.body?ue.body:null,{headers:Nt,context:ue.context,params:ot,reportProgress:ue.reportProgress,responseType:ue.responseType||"json",withCredentials:ue.withCredentials})}const wt=(0,_.of)(Ne).pipe((0,l.b)(Nt=>this.handler.handle(Nt)));if(U instanceof fe||"events"===ue.observe)return wt;const Et=wt.pipe((0,C.h)(Nt=>Nt instanceof m));switch(ue.observe||"body"){case"body":switch(Ne.responseType){case"arraybuffer":return Et.pipe((0,u.U)(Nt=>{if(null!==Nt.body&&!(Nt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Nt.body}));case"blob":return Et.pipe((0,u.U)(Nt=>{if(null!==Nt.body&&!(Nt.body instanceof Blob))throw new Error("Response is not a Blob.");return Nt.body}));case"text":return Et.pipe((0,u.U)(Nt=>{if(null!==Nt.body&&"string"!=typeof Nt.body)throw new Error("Response is not a string.");return Nt.body}));default:return Et.pipe((0,u.U)(Nt=>Nt.body))}case"response":return Et;default:throw new Error(`Unreachable: unhandled observe type ${ue.observe}}`)}}delete(U,j={}){return this.request("DELETE",U,j)}get(U,j={}){return this.request("GET",U,j)}head(U,j={}){return this.request("HEAD",U,j)}jsonp(U,j){return this.request("JSONP",U,{params:(new X).append(j,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(U,j={}){return this.request("OPTIONS",U,j)}patch(U,j,ue={}){return this.request("PATCH",U,x(ue,j))}post(U,j,ue={}){return this.request("POST",U,x(ue,j))}put(U,j,ue={}){return this.request("PUT",U,x(ue,j))}}function R(Re,U){return U(Re)}function g(Re,U){return(j,ue)=>U.intercept(j,{handle:Ne=>Re(Ne,ue)})}I.\u0275fac=function(U){return new(U||I)(t.LFG(P))},I.\u0275prov=t.Yz7({token:I,factory:I.\u0275fac});const w=new t.OlP("HTTP_INTERCEPTORS"),V=new t.OlP("HTTP_INTERCEPTOR_FNS");function N(){let Re=null;return(U,j)=>(null===Re&&(Re=((0,t.f3M)(w,{optional:!0})??[]).reduceRight(g,R)),Re(U,j))}class Y extends P{constructor(U,j){super(),this.backend=U,this.injector=j,this.chain=null}handle(U){if(null===this.chain){const j=Array.from(new Set(this.injector.get(V)));this.chain=j.reduceRight((ue,Ne)=>function r(Re,U,j){return(ue,Ne)=>j.runInContext(()=>U(ue,wt=>Re(wt,Ne)))}(ue,Ne,this.injector),R)}return this.chain(U,j=>this.backend.handle(j))}}Y.\u0275fac=function(U){return new(U||Y)(t.LFG(p),t.LFG(t.lqb))},Y.\u0275prov=t.Yz7({token:Y,factory:Y.\u0275fac});let Ce,Pe=0;class $e{}function Oe(){return"object"==typeof window?window:{}}class Me{constructor(U,j){this.callbackMap=U,this.document=j,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+Pe++}handle(U){if("JSONP"!==U.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==U.responseType)throw new Error("JSONP requests must use Json response type.");if(U.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new O.y(j=>{const ue=this.nextCallback(),Ne=U.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${ue}$1`),wt=this.document.createElement("script");wt.src=Ne;let Et=null,Nt=!1;this.callbackMap[ue]=ri=>{delete this.callbackMap[ue],Et=ri,Nt=!0};const ot=()=>{wt.parentNode&&wt.parentNode.removeChild(wt),delete this.callbackMap[ue]};return wt.addEventListener("load",ri=>{this.resolvedPromise.then(()=>{ot(),Nt?(j.next(new m({body:Et,status:200,statusText:"OK",url:Ne})),j.complete()):j.error(new h({url:Ne,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),wt.addEventListener("error",ri=>{ot(),j.error(new h({error:ri,status:0,statusText:"JSONP Error",url:Ne}))}),this.document.body.appendChild(wt),j.next({type:T.Sent}),()=>{Nt||this.removeListeners(wt),ot()}})}removeListeners(U){Ce||(Ce=this.document.implementation.createHTMLDocument()),Ce.adoptNode(U)}}function De(Re,U){return"JSONP"===Re.method?(0,t.f3M)(Me).handle(Re):U(Re)}Me.\u0275fac=function(U){return new(U||Me)(t.LFG($e),t.LFG(e.K0))},Me.\u0275prov=t.Yz7({token:Me,factory:Me.\u0275fac});class Ue{constructor(U){this.injector=U}intercept(U,j){return this.injector.runInContext(()=>De(U,ue=>j.handle(ue)))}}Ue.\u0275fac=function(U){return new(U||Ue)(t.LFG(t.lqb))},Ue.\u0275prov=t.Yz7({token:Ue,factory:Ue.\u0275fac});const ye=/^\)\]\}',?\n/;class ie{constructor(U){this.xhrFactory=U}handle(U){if("JSONP"===U.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new O.y(j=>{const ue=this.xhrFactory.build();if(ue.open(U.method,U.urlWithParams),U.withCredentials&&(ue.withCredentials=!0),U.headers.forEach((Pt,Ft)=>ue.setRequestHeader(Pt,Ft.join(","))),U.headers.has("Accept")||ue.setRequestHeader("Accept","application/json, text/plain, */*"),!U.headers.has("Content-Type")){const Pt=U.detectContentTypeHeader();null!==Pt&&ue.setRequestHeader("Content-Type",Pt)}if(U.responseType){const Pt=U.responseType.toLowerCase();ue.responseType="json"!==Pt?Pt:"text"}const Ne=U.serializeBody();let wt=null;const Et=()=>{if(null!==wt)return wt;const Pt=ue.statusText||"OK",Ft=new L(ue.getAllResponseHeaders()),qt=function we(Re){return"responseURL"in Re&&Re.responseURL?Re.responseURL:/^X-Request-URL:/m.test(Re.getAllResponseHeaders())?Re.getResponseHeader("X-Request-URL"):null}(ue)||U.url;return wt=new o({headers:Ft,status:ue.status,statusText:Pt,url:qt}),wt},Nt=()=>{let{headers:Pt,status:Ft,statusText:qt,url:Te}=Et(),me=null;204!==Ft&&(me=typeof ue.response>"u"?ue.responseText:ue.response),0===Ft&&(Ft=me?200:0);let ct=Ft>=200&&Ft<300;if("json"===U.responseType&&"string"==typeof me){const _t=me;me=me.replace(ye,"");try{me=""!==me?JSON.parse(me):null}catch(Lt){me=_t,ct&&(ct=!1,me={error:Lt,text:me})}}ct?(j.next(new m({body:me,headers:Pt,status:Ft,statusText:qt,url:Te||void 0})),j.complete()):j.error(new h({error:me,headers:Pt,status:Ft,statusText:qt,url:Te||void 0}))},ot=Pt=>{const{url:Ft}=Et(),qt=new h({error:Pt,status:ue.status||0,statusText:ue.statusText||"Unknown Error",url:Ft||void 0});j.error(qt)};let We=!1;const gt=Pt=>{We||(j.next(Et()),We=!0);let Ft={type:T.DownloadProgress,loaded:Pt.loaded};Pt.lengthComputable&&(Ft.total=Pt.total),"text"===U.responseType&&!!ue.responseText&&(Ft.partialText=ue.responseText),j.next(Ft)},ri=Pt=>{let Ft={type:T.UploadProgress,loaded:Pt.loaded};Pt.lengthComputable&&(Ft.total=Pt.total),j.next(Ft)};return ue.addEventListener("load",Nt),ue.addEventListener("error",ot),ue.addEventListener("timeout",ot),ue.addEventListener("abort",ot),U.reportProgress&&(ue.addEventListener("progress",gt),null!==Ne&&ue.upload&&ue.upload.addEventListener("progress",ri)),ue.send(Ne),j.next({type:T.Sent}),()=>{ue.removeEventListener("error",ot),ue.removeEventListener("abort",ot),ue.removeEventListener("load",Nt),ue.removeEventListener("timeout",ot),U.reportProgress&&(ue.removeEventListener("progress",gt),null!==Ne&&ue.upload&&ue.upload.removeEventListener("progress",ri)),ue.readyState!==ue.DONE&&ue.abort()}})}}ie.\u0275fac=function(U){return new(U||ie)(t.LFG(e.JF))},ie.\u0275prov=t.Yz7({token:ie,factory:ie.\u0275fac});const Se=new t.OlP("XSRF_ENABLED"),ne="XSRF-TOKEN",K=new t.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>ne}),ee="X-XSRF-TOKEN",ze=new t.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>ee});class Ve{}class oe{constructor(U,j,ue){this.doc=U,this.platform=j,this.cookieName=ue,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const U=this.doc.cookie||"";return U!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,e.Mx)(U,this.cookieName),this.lastCookieString=U),this.lastToken}}function at(Re,U){const j=Re.url.toLowerCase();if(!(0,t.f3M)(Se)||"GET"===Re.method||"HEAD"===Re.method||j.startsWith("http://")||j.startsWith("https://"))return U(Re);const ue=(0,t.f3M)(Ve).getToken(),Ne=(0,t.f3M)(ze);return null!=ue&&!Re.headers.has(Ne)&&(Re=Re.clone({headers:Re.headers.set(Ne,ue)})),U(Re)}oe.\u0275fac=function(U){return new(U||oe)(t.LFG(e.K0),t.LFG(t.Lbi),t.LFG(K))},oe.\u0275prov=t.Yz7({token:oe,factory:oe.\u0275fac});class qe{constructor(U){this.injector=U}intercept(U,j){return this.injector.runInContext(()=>at(U,ue=>j.handle(ue)))}}var it;function ii(Re,U){return{\u0275kind:Re,\u0275providers:U}}qe.\u0275fac=function(U){return new(U||qe)(t.LFG(t.lqb))},qe.\u0275prov=t.Yz7({token:qe,factory:qe.\u0275fac}),function(Re){Re[Re.Interceptors=0]="Interceptors",Re[Re.LegacyInterceptors=1]="LegacyInterceptors",Re[Re.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Re[Re.NoXsrfProtection=3]="NoXsrfProtection",Re[Re.JsonpSupport=4]="JsonpSupport",Re[Re.RequestsMadeViaParent=5]="RequestsMadeViaParent"}(it||(it={}));const Be=new t.OlP("LEGACY_INTERCEPTOR_FN");function Ot({cookieName:Re,headerName:U}){const j=[];return void 0!==Re&&j.push({provide:K,useValue:Re}),void 0!==U&&j.push({provide:ze,useValue:U}),ii(it.CustomXsrfConfiguration,j)}class yi{static disable(){return{ngModule:yi,providers:[ii(it.NoXsrfProtection,[{provide:Se,useValue:!1}]).\u0275providers]}}static withOptions(U={}){return{ngModule:yi,providers:Ot(U).\u0275providers}}}yi.\u0275fac=function(U){return new(U||yi)},yi.\u0275mod=t.oAB({type:yi}),yi.\u0275inj=t.cJS({providers:[qe,{provide:w,useExisting:qe,multi:!0},{provide:Ve,useClass:oe},Ot({cookieName:ne,headerName:ee}).\u0275providers,{provide:Se,useValue:!0}]});class Jt{}Jt.\u0275fac=function(U){return new(U||Jt)},Jt.\u0275mod=t.oAB({type:Jt}),Jt.\u0275inj=t.cJS({providers:[function bt(...Re){const U=[I,ie,Y,{provide:P,useExisting:Y},{provide:p,useExisting:ie},{provide:V,useValue:at,multi:!0},{provide:Se,useValue:!0},{provide:Ve,useClass:oe}];for(const j of Re)U.push(...j.\u0275providers);return(0,t.MR2)(U)}(function rt(){return ii(it.LegacyInterceptors,[{provide:Be,useFactory:N},{provide:V,useExisting:Be,multi:!0}])}(),Ot({cookieName:ne,headerName:ee}))]});class Zt{}Zt.\u0275fac=function(U){return new(U||Zt)},Zt.\u0275mod=t.oAB({type:Zt}),Zt.\u0275inj=t.cJS({providers:[function kt(){return ii(it.JsonpSupport,[Me,{provide:$e,useFactory:Oe},{provide:V,useValue:De,multi:!0}])}().\u0275providers]})},2560:(Ye,J,f)=>{"use strict";f.d(J,{$8M:()=>Yl,$Z:()=>Dc,AA_:()=>Pu,AFp:()=>kg,ALo:()=>sh,AaK:()=>P,AcB:()=>Z1,AsE:()=>im,BQk:()=>Y0,CHM:()=>ts,CRH:()=>Mn,CZH:()=>z1,CqO:()=>r3,D6c:()=>a8,DdM:()=>a4,Dn7:()=>lh,DyG:()=>Ct,E6H:()=>Lg,EJc:()=>O6,EiD:()=>_0,EpF:()=>a3,F$t:()=>d3,F4k:()=>Ap,FYo:()=>L0,FiY:()=>Vc,G48:()=>t6,GSi:()=>ap,Gf:()=>yn,GfV:()=>Xh,GkF:()=>Dp,Gpc:()=>D,Gre:()=>P3,HOy:()=>Kp,Hsn:()=>Op,IIB:()=>Og,Ikx:()=>nm,JOm:()=>Kc,JVY:()=>o0,JZr:()=>W,Jf7:()=>C2,KtG:()=>sc,L6J:()=>T6,L6k:()=>zm,LAX:()=>Um,LFG:()=>Zt,LVF:()=>A6,Lbi:()=>L6,Lck:()=>xu,MAs:()=>n3,MGl:()=>q0,MMx:()=>I1,MR2:()=>qd,NdJ:()=>Ip,O4$:()=>Ko,OlP:()=>Ga,Oqu:()=>em,P3R:()=>qm,PXZ:()=>V6,PiD:()=>gc,Q6J:()=>Mp,QGY:()=>Tp,QP$:()=>ti,QbO:()=>Bg,Qsj:()=>jo,R0b:()=>Rc,RDi:()=>e0,Rgc:()=>y,SBq:()=>Co,Sil:()=>vm,Suo:()=>Dn,TTD:()=>ho,TgZ:()=>G0,Tol:()=>M3,Udp:()=>zp,VKq:()=>k1,W1O:()=>Ma,WFA:()=>Lp,WLB:()=>ih,X6Q:()=>Z6,XFs:()=>ne,Xek:()=>Ag,Xpm:()=>Ai,Xts:()=>Wh,Y36:()=>Fs,YKP:()=>q2,YNc:()=>i3,Yjl:()=>_i,Yz7:()=>Xe,Z0I:()=>$e,ZZ4:()=>Kl,_Bn:()=>i4,_UZ:()=>Ep,_Vd:()=>fa,_c5:()=>u6,_uU:()=>L3,aQ5:()=>Y1,aQg:()=>Pd,ahi:()=>hl,c2e:()=>gm,cJS:()=>Ke,cg1:()=>am,d8E:()=>jp,dDg:()=>bm,dqk:()=>at,eBb:()=>Hm,eFA:()=>qg,ekj:()=>Hp,eoX:()=>Lu,f3M:()=>Re,g9A:()=>Rg,h0i:()=>ol,hGG:()=>xm,hYB:()=>Sp,hij:()=>tm,i9L:()=>Ae,iGM:()=>wa,ifc:()=>ri,ip1:()=>Sg,jDz:()=>X2,kEZ:()=>sl,kL8:()=>Y3,kcU:()=>$r,kuF:()=>X,lG2:()=>Xt,lcZ:()=>B1,lnq:()=>Wp,lqb:()=>El,lri:()=>Kg,mCW:()=>h2,n4l:()=>ot,n5z:()=>W1,n_E:()=>n,oAB:()=>Qe,oJD:()=>Vh,oxw:()=>Q0,pB0:()=>s0,pfw:()=>D6,q3G:()=>wc,qLn:()=>Qc,qOj:()=>gp,qZA:()=>B2,qzn:()=>Ls,rWj:()=>Gg,r_U:()=>E6,s9C:()=>j0,sBO:()=>i6,sIi:()=>uu,s_b:()=>ht,soG:()=>u4,tBr:()=>ql,tb:()=>N_,tp0:()=>vc,uIk:()=>zr,vHH:()=>Z,vR:()=>Qs,vpe:()=>d,wA2:()=>Ig,wAp:()=>xd,xi3:()=>N1,xp6:()=>s1,ynx:()=>Z0,z2F:()=>V1,z3N:()=>Cc,zSh:()=>hd,zlt:()=>fm,zs3:()=>qo});var e=f(253),t=f(7714),_=f(833),O=f(6646),l=f(1203);function C(s){for(let c in s)if(s[c]===C)return c;throw Error("Could not find renamed property on target object.")}function u(s,c){for(const v in c)c.hasOwnProperty(v)&&!s.hasOwnProperty(v)&&(s[v]=c[v])}function P(s){if("string"==typeof s)return s;if(Array.isArray(s))return"["+s.map(P).join(", ")+"]";if(null==s)return""+s;if(s.overriddenName)return`${s.overriddenName}`;if(s.name)return`${s.name}`;const c=s.toString();if(null==c)return""+c;const v=c.indexOf("\n");return-1===v?c:c.substring(0,v)}function p(s,c){return null==s||""===s?null===c?"":c:null==c||""===c?s:s+" "+c}const L=C({__forward_ref__:C});function D(s){return s.__forward_ref__=D,s.toString=function(){return P(this())},s}function k(s){return M(s)?s():s}function M(s){return"function"==typeof s&&s.hasOwnProperty(L)&&s.__forward_ref__===D}function z(s){return s&&!!s.\u0275providers}const W="https://g.co/ng/security#xss";class Z extends Error{constructor(c,v){super(X(c,v)),this.code=c}}function X(s,c){return`NG0${Math.abs(s)}${c?": "+c.trim():""}`}function $(s){return"string"==typeof s?s:null==s?"":String(s)}function ae(s){return"function"==typeof s?s.name||s.toString():"object"==typeof s&&null!=s&&"function"==typeof s.type?s.type.name||s.type.toString():$(s)}function le(s,c){throw new Z(-201,!1)}function o(s,c,v){s!=c&&N(v,s,c,"==")}function V(s,c){null==s&&N(c,s,null,"!=")}function N(s,c,v,S){throw new Error(`ASSERTION ERROR: ${s}`+(null==S?"":` [Expected=> ${v} ${S} ${c} <=Actual]`))}function Xe(s){return{token:s.token,providedIn:s.providedIn||null,factory:s.factory,value:void 0}}function Ke(s){return{providers:s.providers||[],imports:s.imports||[]}}function ge(s){return Oe(s,ye)||Oe(s,ie)}function $e(s){return null!==ge(s)}function Oe(s,c){return s.hasOwnProperty(c)?s[c]:null}function Ue(s){return s&&(s.hasOwnProperty(we)||s.hasOwnProperty(Se))?s[we]:null}const ye=C({\u0275prov:C}),we=C({\u0275inj:C}),ie=C({ngInjectableDef:C}),Se=C({ngInjectorDef:C});var ne,s;let K;function ze(s){const c=K;return K=s,c}function Ve(s,c,v){const S=ge(s);return S&&"root"==S.providedIn?void 0===S.value?S.value=S.factory():S.value:v&ne.Optional?null:void 0!==c?c:void le(P(s))}(s=ne||(ne={}))[s.Default=0]="Default",s[s.Host=1]="Host",s[s.Self=2]="Self",s[s.SkipSelf=4]="SkipSelf",s[s.Optional=8]="Optional";const at=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)();const bt={},st="__NG_DI_FLAG__",Be="ngTempTokenPath",Ot=/\n/gm,kt="__source";let Rt;function yi(s){const c=Rt;return Rt=s,c}function Jt(s,c=ne.Default){if(void 0===Rt)throw new Z(-203,!1);return null===Rt?Ve(s,void 0,c):Rt.get(s,c&ne.Optional?null:void 0,c)}function Zt(s,c=ne.Default){return(function ee(){return K}()||Jt)(k(s),c)}function mi(s){throw new Z(202,!1)}function Re(s,c=ne.Default){return Zt(s,U(c))}function U(s){return typeof s>"u"||"number"==typeof s?s:0|(s.optional&&8)|(s.host&&1)|(s.self&&2)|(s.skipSelf&&4)}function j(s){const c=[];for(let v=0;v<s.length;v++){const S=k(s[v]);if(Array.isArray(S)){if(0===S.length)throw new Z(900,!1);let F,G=ne.Default;for(let ce=0;ce<S.length;ce++){const Le=S[ce],Ze=Ne(Le);"number"==typeof Ze?-1===Ze?F=Le.token:G|=Ze:F=Le}c.push(Zt(F,G))}else c.push(Zt(S))}return c}function ue(s,c){return s[st]=c,s.prototype[st]=c,s}function Ne(s){return s[st]}function wt(s,c,v,S){const F=s[Be];throw c[kt]&&F.unshift(c[kt]),s.message=function Et(s,c,v,S=null){s=s&&"\n"===s.charAt(0)&&"\u0275"==s.charAt(1)?s.slice(2):s;let F=P(c);if(Array.isArray(c))F=c.map(P).join(" -> ");else if("object"==typeof c){let G=[];for(let ce in c)if(c.hasOwnProperty(ce)){let Le=c[ce];G.push(ce+":"+("string"==typeof Le?JSON.stringify(Le):P(Le)))}F=`{${G.join(", ")}}`}return`${v}${S?"("+S+")":""}[${F}]: ${s.replace(Ot,"\n ")}`}("\n"+s.message,F,v,S),s.ngTokenPath=F,s[Be]=null,s}function Nt(s){return{toString:s}.toString()}var ot,We,ri;!function(s){s[s.OnPush=0]="OnPush",s[s.Default=1]="Default"}(ot||(ot={})),function(s){s[s.CheckOnce=0]="CheckOnce",s[s.Checked=1]="Checked",s[s.CheckAlways=2]="CheckAlways",s[s.Detached=3]="Detached",s[s.Errored=4]="Errored",s[s.Destroyed=5]="Destroyed"}(We||(We={})),function(s){s[s.Emulated=0]="Emulated",s[s.None=2]="None",s[s.ShadowDom=3]="ShadowDom"}(ri||(ri={}));const Pt={},Ft=[],qt=C({\u0275cmp:C}),Te=C({\u0275dir:C}),me=C({\u0275pipe:C}),ct=C({\u0275mod:C}),_t=C({\u0275fac:C}),Lt=C({__NG_ELEMENT_ID__:C});let Li=0;function Ai(s){return Nt(()=>{const c=s.type,v=!0===s.standalone,S={},F={type:c,providersResolver:null,decls:s.decls,vars:s.vars,factory:null,template:s.template||null,consts:s.consts||null,ngContentSelectors:s.ngContentSelectors,hostBindings:s.hostBindings||null,hostVars:s.hostVars||0,hostAttrs:s.hostAttrs||null,contentQueries:s.contentQueries||null,declaredInputs:S,inputs:null,outputs:null,exportAs:s.exportAs||null,onPush:s.changeDetection===ot.OnPush,directiveDefs:null,pipeDefs:null,standalone:v,dependencies:v&&s.dependencies||null,getStandaloneInjector:null,selectors:s.selectors||Ft,viewQuery:s.viewQuery||null,features:s.features||null,data:s.data||{},encapsulation:s.encapsulation||ri.Emulated,id:"c"+Li++,styles:s.styles||Ft,_:null,setInput:null,schemas:s.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},G=s.dependencies,ce=s.features;return F.inputs=Wt(s.inputs,S),F.outputs=Wt(s.outputs),ce&&ce.forEach(Le=>Le(F)),F.directiveDefs=G?()=>("function"==typeof G?G():G).map(zi).filter(xt):null,F.pipeDefs=G?()=>("function"==typeof G?G():G).map(Ki).filter(xt):null,F})}function wi(s,c,v){const S=s.\u0275cmp;S.directiveDefs=()=>("function"==typeof c?c():c).map(zi),S.pipeDefs=()=>("function"==typeof v?v():v).map(Ki)}function zi(s){return Oi(s)||ki(s)}function xt(s){return null!==s}function Qe(s){return Nt(()=>({type:s.type,bootstrap:s.bootstrap||Ft,declarations:s.declarations||Ft,imports:s.imports||Ft,exports:s.exports||Ft,transitiveCompileScopes:null,schemas:s.schemas||null,id:s.id||null}))}function Fe(s,c){return Nt(()=>{const v=be(s,!0);v.declarations=c.declarations||Ft,v.imports=c.imports||Ft,v.exports=c.exports||Ft})}function Wt(s,c){if(null==s)return Pt;const v={};for(const S in s)if(s.hasOwnProperty(S)){let F=s[S],G=F;Array.isArray(F)&&(G=F[1],F=F[0]),v[F]=S,c&&(c[F]=G)}return v}const Xt=Ai;function _i(s){return{type:s.type,name:s.name,factory:null,pure:!1!==s.pure,standalone:!0===s.standalone,onDestroy:s.type.prototype.ngOnDestroy||null}}function Oi(s){return s[qt]||null}function ki(s){return s[Te]||null}function Ki(s){return s[me]||null}function ti(s){const c=Oi(s)||ki(s)||Ki(s);return null!==c&&c.standalone}function be(s,c){const v=s[ct]||null;if(!v&&!0===c)throw new Error(`Type ${P(s)} does not have '\u0275mod' property.`);return v}function ta(s){return Array.isArray(s)&&"object"==typeof s[1]}function Va(s){return Array.isArray(s)&&!0===s[1]}function Vr(s){return 0!=(4&s.flags)}function Ta(s){return s.componentOffset>-1}function vr(s){return 1==(1&s.flags)}function Zn(s){return null!==s.template}function Aa(s){return 0!=(256&s[2])}function Dr(s,c){return s.hasOwnProperty(_t)?s[_t]:null}class hr{constructor(c,v,S){this.previousValue=c,this.currentValue=v,this.firstChange=S}isFirstChange(){return this.firstChange}}function ho(){return ur}function ur(s){return s.type.prototype.ngOnChanges&&(s.setInput=mr),Ho}function Ho(){const s=da(this),c=s?.current;if(c){const v=s.previous;if(v===Pt)s.previous=c;else for(let S in c)v[S]=c[S];s.current=null,this.ngOnChanges(c)}}function mr(s,c,v,S){const F=this.declaredInputs[v],G=da(s)||function Rr(s,c){return s[xr]=c}(s,{previous:Pt,current:null}),ce=G.current||(G.current={}),Le=G.previous,Ze=Le[F];ce[F]=new hr(Ze&&Ze.currentValue,c,Le===Pt),s[S]=c}ho.ngInherit=!0;const xr="__ngSimpleChanges__";function da(s){return s[xr]||null}let sr=null;const ya=function(s,c,v){sr?.(s,c,v)};function qn(s){for(;Array.isArray(s);)s=s[0];return s}function cr(s,c){return qn(c[s])}function xa(s,c){return qn(c[s.index])}function tr(s,c){return s.data[c]}function aa(s,c){return s[c]}function li(s,c){const v=c[s];return ta(v)?v:v[0]}function Dt(s){return 64==(64&s[2])}function Hi(s,c){return null==c?null:s[c]}function Bn(s){s[18]=0}function Zi(s,c){s[5]+=c;let v=s,S=s[3];for(;null!==S&&(1===c&&1===v[5]||-1===c&&0===v[5]);)S[5]+=c,v=S,S=S[3]}const hn={lFrame:Ks(null),bindingsEnabled:!0};function Ni(){return hn.bindingsEnabled}function In(){hn.bindingsEnabled=!0}function pr(){hn.bindingsEnabled=!1}function Pi(){return hn.lFrame.lView}function Wn(){return hn.lFrame.tView}function ts(s){return hn.lFrame.contextLView=s,s[8]}function sc(s){return hn.lFrame.contextLView=null,s}function za(){let s=is();for(;null!==s&&64===s.type;)s=s.parent;return s}function is(){return hn.lFrame.currentTNode}function Uo(){const s=hn.lFrame,c=s.currentTNode;return s.isParent?c:c.parent}function Ar(s,c){const v=hn.lFrame;v.currentTNode=s,v.isParent=c}function lr(){return hn.lFrame.isParent}function Vo(){hn.lFrame.isParent=!1}function Rn(){const s=hn.lFrame;let c=s.bindingRootIndex;return-1===c&&(c=s.bindingRootIndex=s.tView.bindingStartIndex),c}function Ri(){return hn.lFrame.bindingIndex}function Jr(s){return hn.lFrame.bindingIndex=s}function ns(){return hn.lFrame.bindingIndex++}function Vi(s){const c=hn.lFrame,v=c.bindingIndex;return c.bindingIndex=c.bindingIndex+s,v}function rs(s){hn.lFrame.inI18n=s}function Us(s,c){const v=hn.lFrame;v.bindingIndex=v.bindingRootIndex=s,Vs(c)}function Vs(s){hn.lFrame.currentDirectiveIndex=s}function os(s){const c=hn.lFrame.currentDirectiveIndex;return-1===c?null:s[c]}function _s(){return hn.lFrame.currentQueryIndex}function Ws(s){hn.lFrame.currentQueryIndex=s}function cl(s){const c=s[1];return 2===c.type?c.declTNode:1===c.type?s[6]:null}function ll(s,c,v){if(v&ne.SkipSelf){let F=c,G=s;for(;(F=F.parent,null===F&&!(v&ne.Host))&&(F=cl(G),!(null===F||(G=G[15],10&F.type))););if(null===F)return!1;c=F,s=G}const S=hn.lFrame=cc();return S.currentTNode=c,S.lView=s,!0}function Nc(s){const c=cc(),v=s[1];hn.lFrame=c,c.currentTNode=v.firstChild,c.lView=s,c.tView=v,c.contextLView=s,c.bindingIndex=v.bindingStartIndex,c.inI18n=!1}function cc(){const s=hn.lFrame,c=null===s?null:s.child;return null===c?Ks(s):c}function Ks(s){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:s,child:null,inI18n:!1};return null!==s&&(s.child=c),c}function Ss(){const s=hn.lFrame;return hn.lFrame=s.parent,s.currentTNode=null,s.lView=null,s}const qa=Ss;function Wo(){const s=Ss();s.isParent=!0,s.tView=null,s.selectedIndex=-1,s.contextLView=null,s.elementDepthCount=0,s.currentDirectiveIndex=-1,s.currentNamespace=null,s.bindingRootIndex=-1,s.bindingIndex=-1,s.currentQueryIndex=0}function Ds(s){return(hn.lFrame.contextLView=function cn(s,c){for(;s>0;)c=c[15],s--;return c}(s,hn.lFrame.contextLView))[8]}function ir(){return hn.lFrame.selectedIndex}function Fr(s){hn.lFrame.selectedIndex=s}function ra(){const s=hn.lFrame;return tr(s.tView,s.selectedIndex)}function Ko(){hn.lFrame.currentNamespace="svg"}function ss(){hn.lFrame.currentNamespace="math"}function $r(){!function Hn(){hn.lFrame.currentNamespace=null}()}function ve(s,c){for(let v=c.directiveStart,S=c.directiveEnd;v<S;v++){const G=s.data[v].type.prototype,{ngAfterContentInit:ce,ngAfterContentChecked:Le,ngAfterViewInit:Ze,ngAfterViewChecked:ut,ngOnDestroy:It}=G;ce&&(s.contentHooks||(s.contentHooks=[])).push(-v,ce),Le&&((s.contentHooks||(s.contentHooks=[])).push(v,Le),(s.contentCheckHooks||(s.contentCheckHooks=[])).push(v,Le)),Ze&&(s.viewHooks||(s.viewHooks=[])).push(-v,Ze),ut&&((s.viewHooks||(s.viewHooks=[])).push(v,ut),(s.viewCheckHooks||(s.viewCheckHooks=[])).push(v,ut)),null!=It&&(s.destroyHooks||(s.destroyHooks=[])).push(v,It)}}function nt(s,c,v){He(s,c,3,v)}function Bt(s,c,v,S){(3&s[2])===v&&He(s,c,v,S)}function di(s,c){let v=s[2];(3&v)===c&&(v&=2047,v+=1,s[2]=v)}function He(s,c,v,S){const F=void 0!==S?65535&s[18]:0,G=S??-1,ce=c.length-1;let Le=0;for(let Ze=F;Ze<ce;Ze++)if("number"==typeof c[Ze+1]){if(Le=c[Ze],null!=S&&Le>=S)break}else c[Ze]<0&&(s[18]+=65536),(Le<G||-1==G)&&(tt(s,v,c,Ze),s[18]=(4294901760&s[18])+Ze+2),Ze++}function tt(s,c,v,S){const F=v[S]<0,G=v[S+1],Le=s[F?-v[S]:v[S]];if(F){if(s[2]>>11<s[18]>>16&&(3&s[2])===c){s[2]+=2048,ya(4,Le,G);try{G.call(Le)}finally{ya(5,Le,G)}}}else{ya(4,Le,G);try{G.call(Le)}finally{ya(5,Le,G)}}}class Ht{constructor(c,v,S){this.factory=c,this.resolving=!1,this.canSeeViewProviders=v,this.injectImpl=S}}function un(s,c,v){let S=0;for(;S<v.length;){const F=v[S];if("number"==typeof F){if(0!==F)break;S++;const G=v[S++],ce=v[S++],Le=v[S++];s.setAttribute(c,ce,Le,G)}else{const G=F,ce=v[++S];Xa(G)?s.setProperty(c,G,ce):s.setAttribute(c,G,ce),S++}}return S}function Tn(s){return 3===s||4===s||6===s}function Xa(s){return 64===s.charCodeAt(0)}function Pa(s,c){if(null!==c&&0!==c.length)if(null===s||0===s.length)s=c.slice();else{let v=-1;for(let S=0;S<c.length;S++){const F=c[S];"number"==typeof F?v=F:0===v||fr(s,v,F,null,-1===v||2===v?c[++S]:null)}}return s}function fr(s,c,v,S,F){let G=0,ce=s.length;if(-1===c)ce=-1;else for(;G<s.length;){const Le=s[G++];if("number"==typeof Le){if(Le===c){ce=-1;break}if(Le>c){ce=G-1;break}}}for(;G<s.length;){const Le=s[G];if("number"==typeof Le)break;if(Le===v){if(null===S)return void(null!==F&&(s[G+1]=F));if(S===s[G+1])return void(s[G+2]=F)}G++,null!==S&&G++,null!==F&&G++}-1!==ce&&(s.splice(ce,0,c),G=ce+1),s.splice(G++,0,v),null!==S&&s.splice(G++,0,S),null!==F&&s.splice(G++,0,F)}function _r(s){return-1!==s}function Ha(s){return 32767&s}function Kr(s,c){let v=function Ia(s){return s>>16}(s),S=c;for(;v>0;)S=S[15],v--;return S}let Ja=!0;function Go(s){const c=Ja;return Ja=s,c}let Rd=0;const eo={};function Gl(s,c){const v=Fc(s,c);if(-1!==v)return v;const S=c[1];S.firstCreatePass&&(s.injectorIndex=c.length,Zl(S.data,s),Zl(c,null),Zl(S.blueprint,null));const F=Gs(s,c),G=s.injectorIndex;if(_r(F)){const ce=Ha(F),Le=Kr(F,c),Ze=Le[1].data;for(let ut=0;ut<8;ut++)c[G+ut]=Le[ce+ut]|Ze[ce+ut]}return c[G+8]=F,G}function Zl(s,c){s.push(0,0,0,0,0,0,0,0,c)}function Fc(s,c){return-1===s.injectorIndex||s.parent&&s.parent.injectorIndex===s.injectorIndex||null===c[s.injectorIndex+8]?-1:s.injectorIndex}function Gs(s,c){if(s.parent&&-1!==s.parent.injectorIndex)return s.parent.injectorIndex;let v=0,S=null,F=c;for(;null!==F;){if(S=Fd(F),null===S)return-1;if(v++,F=F[15],-1!==S.injectorIndex)return S.injectorIndex|v<<16}return-1}function Zs(s,c,v){!function lc(s,c,v){let S;"string"==typeof v?S=v.charCodeAt(0)||0:v.hasOwnProperty(Lt)&&(S=v[Lt]),null==S&&(S=v[Lt]=Rd++);const F=255&S,G=1<<F;c.data[s+(F>>5)]|=G}(s,c,v)}function dc(s,c,v){if(v&ne.Optional||void 0!==s)return s;le()}function hc(s,c,v,S){if(v&ne.Optional&&void 0===S&&(S=null),0==(v&(ne.Self|ne.Host))){const F=s[9],G=ze(void 0);try{return F?F.get(c,S,v&ne.Optional):Ve(c,S,v&ne.Optional)}finally{ze(G)}}return dc(S,0,v)}function hh(s,c,v,S=ne.Default,F){if(null!==s){if(1024&c[2]){const ce=function K1(s,c,v,S,F){let G=s,ce=c;for(;null!==G&&null!==ce&&1024&ce[2]&&!(256&ce[2]);){const Le=Bd(G,ce,v,S|ne.Self,eo);if(Le!==eo)return Le;let Ze=G.parent;if(!Ze){const ut=ce[21];if(ut){const It=ut.get(v,eo,S);if(It!==eo)return It}Ze=Fd(ce),ce=ce[15]}G=Ze}return F}(s,c,v,S,eo);if(ce!==eo)return ce}const G=Bd(s,c,v,S,eo);if(G!==eo)return G}return hc(c,v,S,F)}function Bd(s,c,v,S,F){const G=function uh(s){if("string"==typeof s)return s.charCodeAt(0)||0;const c=s.hasOwnProperty(Lt)?s[Lt]:void 0;return"number"==typeof c?c>=0?255&c:Ts:c}(v);if("function"==typeof G){if(!ll(c,s,S))return S&ne.Host?dc(F,0,S):hc(c,v,S,F);try{const ce=G(S);if(null!=ce||S&ne.Optional)return ce;le()}finally{qa()}}else if("number"==typeof G){let ce=null,Le=Fc(s,c),Ze=-1,ut=S&ne.Host?c[16][6]:null;for((-1===Le||S&ne.SkipSelf)&&(Ze=-1===Le?Gs(s,c):c[Le+8],-1!==Ze&&fc(S,!1)?(ce=c[1],Le=Ha(Ze),c=Kr(Ze,c)):Le=-1);-1!==Le;){const It=c[1];if(mh(G,Le,It.data)){const jt=uc(Le,c,v,ce,S,ut);if(jt!==eo)return jt}Ze=c[Le+8],-1!==Ze&&fc(S,c[1].data[Le+8]===ut)&&mh(G,Le,c)?(ce=It,Le=Ha(Ze),c=Kr(Ze,c)):Le=-1}}return F}function uc(s,c,v,S,F,G){const ce=c[1],Le=ce.data[s+8],It=mc(Le,ce,v,null==S?Ta(Le)&&Ja:S!=ce&&0!=(3&Le.type),F&ne.Host&&G===Le);return null!==It?pc(c,ce,It,Le):eo}function mc(s,c,v,S,F){const G=s.providerIndexes,ce=c.data,Le=1048575&G,Ze=s.directiveStart,ut=s.directiveEnd,It=G>>20,fi=F?Le+It:ut;for(let Mi=S?Le:Le+It;Mi<fi;Mi++){const Bi=ce[Mi];if(Mi<Ze&&v===Bi||Mi>=Ze&&Bi.type===v)return Mi}if(F){const Mi=ce[Ze];if(Mi&&Zn(Mi)&&Mi.type===v)return Ze}return null}function pc(s,c,v,S){let F=s[v];const G=c.data;if(function Je(s){return s instanceof Ht}(F)){const ce=F;ce.resolving&&function he(s,c){const v=c?`. Dependency path: ${c.join(" > ")} > ${s}`:"";throw new Z(-200,`Circular dependency in DI detected for ${s}${v}`)}(ae(G[v]));const Le=Go(ce.canSeeViewProviders);ce.resolving=!0;const Ze=ce.injectImpl?ze(ce.injectImpl):null;ll(s,S,ne.Default);try{F=s[v]=ce.factory(void 0,G,s,S),c.firstCreatePass&&v>=S.directiveStart&&function Ge(s,c,v){const{ngOnChanges:S,ngOnInit:F,ngDoCheck:G}=c.type.prototype;if(S){const ce=ur(c);(v.preOrderHooks||(v.preOrderHooks=[])).push(s,ce),(v.preOrderCheckHooks||(v.preOrderCheckHooks=[])).push(s,ce)}F&&(v.preOrderHooks||(v.preOrderHooks=[])).push(0-s,F),G&&((v.preOrderHooks||(v.preOrderHooks=[])).push(s,G),(v.preOrderCheckHooks||(v.preOrderCheckHooks=[])).push(s,G))}(v,G[v],c)}finally{null!==Ze&&ze(Ze),Go(Le),ce.resolving=!1,qa()}}return F}function mh(s,c,v){const S=1<<s;return!!(v[c+(s>>5)]&S)}function fc(s,c){return!(s&ne.Self||s&ne.Host&&c)}class Yo{constructor(c,v){this._tNode=c,this._lView=v}get(c,v,S){return hh(this._tNode,this._lView,c,U(S),v)}}function Ts(){return new Yo(za(),Pi())}function W1(s){return Nt(()=>{const c=s.prototype.constructor,v=c[_t]||Nd(c),S=Object.prototype;let F=Object.getPrototypeOf(s.prototype).constructor;for(;F&&F!==S;){const G=F[_t]||Nd(F);if(G&&G!==v)return G;F=Object.getPrototypeOf(F)}return G=>new G})}function Nd(s){return M(s)?()=>{const c=Nd(k(s));return c&&c()}:Dr(s)}function Fd(s){const c=s[1],v=c.type;return 2===v?c.declTNode:1===v?s[6]:null}function Yl(s){return function dl(s,c){if("class"===c)return s.classes;if("style"===c)return s.styles;const v=s.attrs;if(v){const S=v.length;let F=0;for(;F<S;){const G=v[F];if(Tn(G))break;if(0===G)F+=2;else if("number"==typeof G)for(F++;F<S&&"string"==typeof v[F];)F++;else{if(G===c)return v[F+1];F+=2}}}return null}(za(),s)}const ks="__annotations__",bo="__parameters__",zc="__prop__metadata__";function Hc(s,c,v,S,F){return Nt(()=>{const G=zd(c);function ce(...Le){if(this instanceof ce)return G.call(this,...Le),this;const Ze=new ce(...Le);return function(It){return F&&F(It,...Le),(It.hasOwnProperty(ks)?It[ks]:Object.defineProperty(It,ks,{value:[]})[ks]).push(Ze),S&&S(It),It}}return v&&(ce.prototype=Object.create(v.prototype)),ce.prototype.ngMetadataName=s,ce.annotationCls=ce,ce})}function zd(s){return function(...v){if(s){const S=s(...v);for(const F in S)this[F]=S[F]}}}function _c(s,c,v){return Nt(()=>{const S=zd(c);function F(...G){if(this instanceof F)return S.apply(this,G),this;const ce=new F(...G);return Le.annotation=ce,Le;function Le(Ze,ut,It){const jt=Ze.hasOwnProperty(bo)?Ze[bo]:Object.defineProperty(Ze,bo,{value:[]})[bo];for(;jt.length<=It;)jt.push(null);return(jt[It]=jt[It]||[]).push(ce),Ze}}return v&&(F.prototype=Object.create(v.prototype)),F.prototype.ngMetadataName=s,F.annotationCls=F,F})}function uo(s,c,v,S){return Nt(()=>{const F=zd(c);function G(...ce){if(this instanceof G)return F.apply(this,ce),this;const Le=new G(...ce);return function Ze(ut,It){const jt=ut.constructor,fi=jt.hasOwnProperty(zc)?jt[zc]:Object.defineProperty(jt,zc,{value:{}})[zc];fi[It]=fi.hasOwnProperty(It)&&fi[It]||[],fi[It].unshift(Le),S&&S(ut,It,...ce)}}return v&&(G.prototype=Object.create(v.prototype)),G.prototype.ngMetadataName=s,G.annotationCls=G,G})}const hl=_c("Attribute",s=>({attributeName:s,__NG_ELEMENT_ID__:()=>Yl(s)}));class Ga{constructor(c,v){this._desc=c,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof v?this.__NG_ELEMENT_ID__=v:void 0!==v&&(this.\u0275prov=Xe({token:this,providedIn:v.providedIn||"root",factory:v.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}new Ga("AnalyzeForEntryComponents");class Ys{}const Z1=uo("ContentChildren",(s,c={})=>({selector:s,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:true,...c}),Ys),Y1=uo("ContentChild",(s,c={})=>({selector:s,first:!0,isViewQuery:!1,descendants:!0,...c}),Ys),Qs=uo("ViewChildren",(s,c={})=>({selector:s,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:true,...c}),Ys),Ae=uo("ViewChild",(s,c)=>({selector:s,first:!0,isViewQuery:!0,descendants:!0,...c}),Ys);var te,Ee,et;function lt(s){const c=at.ng;if(c&&c.\u0275compilerFacade)return c.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}!function(s){s[s.Directive=0]="Directive",s[s.Component=1]="Component",s[s.Injectable=2]="Injectable",s[s.Pipe=3]="Pipe",s[s.NgModule=4]="NgModule"}(te||(te={})),function(s){s[s.Directive=0]="Directive",s[s.Pipe=1]="Pipe",s[s.NgModule=2]="NgModule"}(Ee||(Ee={})),function(s){s[s.Emulated=0]="Emulated",s[s.None=2]="None",s[s.ShadowDom=3]="ShadowDom"}(et||(et={}));const Ct=Function;function Qt(s){return"function"==typeof s}function Ui(s){return s.flat(Number.POSITIVE_INFINITY)}function an(s,c){s.forEach(v=>Array.isArray(v)?an(v,c):c(v))}function pn(s,c,v){c>=s.length?s.push(v):s.splice(c,0,v)}function En(s,c){return c>=s.length-1?s.pop():s.splice(c,1)[0]}function Nn(s,c){const v=[];for(let S=0;S<s;S++)v.push(c);return v}function Lr(s,c,v){let S=js(s,c);return S>=0?s[1|S]=v:(S=~S,function La(s,c,v,S){let F=s.length;if(F==c)s.push(v,S);else if(1===F)s.push(S,s[0]),s[0]=v;else{for(F--,s.push(s[F-1],s[F]);F>c;){const G=F-2;s[F]=s[G],F--}s[c]=v,s[c+1]=S}}(s,S,c,v)),S}function As(s,c){const v=js(s,c);if(v>=0)return s[1|v]}function js(s,c){return xo(s,c,1)}function xo(s,c,v){let S=0,F=s.length>>v;for(;F!==S;){const G=S+(F-S>>1),ce=s[G<<v];if(c===ce)return G<<v;ce>c?F=G:S=G+1}return~(F<<v)}const ku=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,ph=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Uc=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,jl=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class Is{constructor(c){this._reflect=c||at.Reflect}factory(c){return(...v)=>new c(...v)}_zipTypesAndAnnotations(c,v){let S;S=Nn(typeof c>"u"?v.length:c.length);for(let F=0;F<S.length;F++)typeof c>"u"?S[F]=[]:c[F]&&c[F]!=Object?S[F]=[c[F]]:S[F]=[],v&&null!=v[F]&&(S[F]=S[F].concat(v[F]));return S}_ownParameters(c,v){if(function fh(s){return ku.test(s)||jl.test(s)||ph.test(s)&&!Uc.test(s)}(c.toString()))return null;if(c.parameters&&c.parameters!==v.parameters)return c.parameters;const F=c.ctorParameters;if(F&&F!==v.ctorParameters){const Le="function"==typeof F?F():F,Ze=Le.map(It=>It&&It.type),ut=Le.map(It=>It&&Hd(It.decorators));return this._zipTypesAndAnnotations(Ze,ut)}const G=c.hasOwnProperty(bo)&&c[bo],ce=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",c);return ce||G?this._zipTypesAndAnnotations(ce,G):Nn(c.length)}parameters(c){if(!Qt(c))return[];const v=qs(c);let S=this._ownParameters(c,v);return!S&&v!==Object&&(S=this.parameters(v)),S||[]}_ownAnnotations(c,v){if(c.annotations&&c.annotations!==v.annotations){let S=c.annotations;return"function"==typeof S&&S.annotations&&(S=S.annotations),S}return c.decorators&&c.decorators!==v.decorators?Hd(c.decorators):c.hasOwnProperty(ks)?c[ks]:null}annotations(c){if(!Qt(c))return[];const v=qs(c),S=this._ownAnnotations(c,v)||[];return(v!==Object?this.annotations(v):[]).concat(S)}_ownPropMetadata(c,v){if(c.propMetadata&&c.propMetadata!==v.propMetadata){let S=c.propMetadata;return"function"==typeof S&&S.propMetadata&&(S=S.propMetadata),S}if(c.propDecorators&&c.propDecorators!==v.propDecorators){const S=c.propDecorators,F={};return Object.keys(S).forEach(G=>{F[G]=Hd(S[G])}),F}return c.hasOwnProperty(zc)?c[zc]:null}propMetadata(c){if(!Qt(c))return{};const v=qs(c),S={};if(v!==Object){const G=this.propMetadata(v);Object.keys(G).forEach(ce=>{S[ce]=G[ce]})}const F=this._ownPropMetadata(c,v);return F&&Object.keys(F).forEach(G=>{const ce=[];S.hasOwnProperty(G)&&ce.push(...S[G]),ce.push(...F[G]),S[G]=ce}),S}ownPropMetadata(c){return Qt(c)&&this._ownPropMetadata(c,qs(c))||{}}hasLifecycleHook(c,v){return c instanceof Ct&&v in c.prototype}}function Hd(s){return s?s.map(c=>new(0,c.type.annotationCls)(...c.args?c.args:[])):[]}function qs(s){const c=s.prototype?Object.getPrototypeOf(s.prototype):null;return(c?c.constructor:null)||Object}const ql=ue(_c("Inject",s=>({token:s})),-1),Vc=ue(_c("Optional"),8),gc=ue(_c("Self"),2),vc=ue(_c("SkipSelf"),4),Pu=ue(_c("Host"),1);let Ru=null;function ul(){return Ru=Ru||new Is}function Q1(s){return Cm(ul().parameters(s))}function Cm(s){return s.map(c=>function Bu(s){const c={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(s)&&s.length>0)for(let v=0;v<s.length;v++){const S=s[v];if(void 0===S)continue;const F=Object.getPrototypeOf(S);if(S instanceof Vc||"Optional"===F.ngMetadataName)c.optional=!0;else if(S instanceof vc||"SkipSelf"===F.ngMetadataName)c.skipSelf=!0;else if(S instanceof gc||"Self"===F.ngMetadataName)c.self=!0;else if(S instanceof Pu||"Host"===F.ngMetadataName)c.host=!0;else if(S instanceof ql)c.token=S.token;else if(S instanceof hl){if(void 0===S.attributeName)throw new Z(204,!1);c.attribute=S.attributeName}else c.token=S}else void 0===s||Array.isArray(s)&&0===s.length?c.token=null:c.token=s;return c}(c))}let Xl=new Map;const ml=new Set;function Fu(s){return!!(s.templateUrl&&!s.hasOwnProperty("template")||s.styleUrls&&s.styleUrls.length)}const $l=new Map;let Xs=!0;function Js(s,c){(function gs(s,c,v){if(c&&c!==v&&Xs)throw new Error(`Duplicate module registered for ${s} - ${P(c)} vs ${P(c.name)}`)})(c,$l.get(c)||null,s),$l.set(c,s)}var Kc;!function(s){s[s.Important=1]="Important",s[s.DashCase=2]="DashCase"}(Kc||(Kc={}));const ff=/^>|^->|<!--|-->|--!>|<!-$/g,Gc=/(<|>)/;function Vd(s){return s.replace(ff,c=>c.replace(Gc,"\u200b$1\u200b"))}const Ch=new Map;let Hu=0;const e2="__ngContext__";function Lo(s,c){ta(c)?(s[e2]=c[20],function Dm(s){Ch.set(s[20],s)}(c)):s[e2]=c}let Gu;function t2(s,c){return Gu(s,c)}function Wd(s){const c=s[3];return Va(c)?c[3]:c}function nd(s){return Th(s[13])}function _l(s){return Th(s[4])}function Th(s){for(;null!==s&&!Va(s);)s=s[4];return s}function Bs(s,c,v,S,F){if(null!=S){let G,ce=!1;Va(S)?G=S:ta(S)&&(ce=!0,S=S[0]);const Le=qn(S);0===s&&null!==v?null==F?vl(c,v,Le):gl(c,v,Le,F||null,!0):1===s&&null!==v?gl(c,v,Le,F||null,!0):2===s?Lh(c,Le,ce):3===s&&c.destroyNode(Le),null!=G&&function Sm(s,c,v,S,F){const G=v[7],ce=qn(v);G!==ce&&Bs(c,s,S,G,F);for(let Le=10;Le<v.length;Le++){const Ze=v[Le];Zd(Ze[1],Ze,s,c,S,G)}}(c,s,G,v,F)}}function n2(s,c){return s.createText(c)}function Kd(s,c,v){s.setValue(c,v)}function cs(s,c){return s.createComment(Vd(c))}function a2(s,c,v){return s.createElement(c,v)}function Cf(s,c,v,S){const F=10+S,G=v.length;S>0&&(v[F-1][4]=c),S<G-10?(c[4]=v[F],pn(v,10+S,c)):(v.push(c),c[4]=null),c[3]=v;const ce=c[17];null!==ce&&v!==ce&&function ad(s,c){const v=s[9],F=c[3][3][16];c[16]!==F&&(s[2]=!0),null===v?s[9]=[c]:v.push(c)}(ce,c);const Le=c[19];null!==Le&&Le.insertView(s),c[2]|=64}function rd(s,c){const v=s[9],S=v.indexOf(c),F=c[3];512&c[2]&&(c[2]&=-513,Zi(F,-1)),v.splice(S,1)}function Ah(s,c){if(s.length<=10)return;const v=10+c,S=s[v];if(S){const F=S[17];null!==F&&F!==s&&rd(F,S),c>0&&(s[v-1][4]=S[4]);const G=En(s,10+c);!function Zc(s,c){Zd(s,c,c[11],2,null,null),c[0]=null,c[6]=null}(S[1],S);const ce=G[19];null!==ce&&ce.detachView(G[1]),S[3]=null,S[4]=null,S[2]&=-65}return S}function r2(s,c){if(!(128&c[2])){const v=c[11];v.destroyNode&&Zd(s,c,v,3,null,null),function xf(s){let c=s[13];if(!c)return bs(s[1],s);for(;c;){let v=null;if(ta(c))v=c[13];else{const S=c[10];S&&(v=S)}if(!v){for(;c&&!c[4]&&c!==s;)ta(c)&&bs(c[1],c),c=c[3];null===c&&(c=s),ta(c)&&bs(c[1],c),v=c&&c[4]}c=v}}(c)}}function bs(s,c){if(!(128&c[2])){c[2]&=-65,c[2]|=128,function Ih(s,c){let v;if(null!=s&&null!=(v=s.destroyHooks))for(let S=0;S<v.length;S+=2){const F=c[v[S]];if(!(F instanceof Ht)){const G=v[S+1];if(Array.isArray(G))for(let ce=0;ce<G.length;ce+=2){const Le=F[G[ce]],Ze=G[ce+1];ya(4,Le,Ze);try{Ze.call(Le)}finally{ya(5,Le,Ze)}}else{ya(4,F,G);try{G.call(F)}finally{ya(5,F,G)}}}}}(s,c),function wf(s,c){const v=s.cleanup,S=c[7];let F=-1;if(null!==v)for(let G=0;G<v.length-1;G+=2)if("string"==typeof v[G]){const ce=v[G+3];ce>=0?S[F=ce]():S[F=-ce].unsubscribe(),G+=2}else{const ce=S[F=v[G+1]];v[G].call(ce)}if(null!==S){for(let G=F+1;G<S.length;G++){(0,S[G])()}c[7]=null}}(s,c),1===c[1].type&&c[11].destroy();const v=c[17];if(null!==v&&Va(c[3])){v!==c[3]&&rd(v,c);const S=c[19];null!==S&&S.detachView(s)}!function _f(s){Ch.delete(s[20])}(c)}}function Om(s,c,v){return Zu(s,c.parent,v)}function Zu(s,c,v){let S=c;for(;null!==S&&40&S.type;)S=(c=S).parent;if(null===S)return v[0];{const{componentOffset:F}=S;if(F>-1){const{encapsulation:G}=s.data[S.directiveStart+F];if(G===ri.None||G===ri.Emulated)return null}return xa(S,v)}}function gl(s,c,v,S,F){s.insertBefore(c,v,S,F)}function vl(s,c,v){s.appendChild(c,v)}function o2(s,c,v,S,F){null!==S?gl(s,c,v,S,F):vl(s,c,v)}function s2(s,c){return s.parentNode(c)}function to(s,c,v){return yl(s,c,v)}function Qu(s,c,v){return 40&s.type?xa(s,v):null}let va,Yd,d2,Qd,yl=Qu;function ju(s,c){yl=s,va=c}function Yc(s,c,v,S){const F=Om(s,S,c),G=c[11],Le=to(S.parent||c[6],S,c);if(null!=F)if(Array.isArray(v))for(let Ze=0;Ze<v.length;Ze++)o2(G,F,v[Ze],Le,!1);else o2(G,F,v,Le,!1);void 0!==va&&va(G,S,c,v,F)}function xc(s,c){if(null!==c){const v=c.type;if(3&v)return xa(c,s);if(4&v)return c2(-1,s[c.index]);if(8&v){const S=c.child;if(null!==S)return xc(s,S);{const F=s[c.index];return Va(F)?c2(-1,F):qn(F)}}if(32&v)return t2(c,s)()||qn(s[c.index]);{const S=qu(s,c);if(null!==S){if(Array.isArray(S))return S[0];return xc(Wd(s[16]),S)}return xc(s,c.next)}}return null}function qu(s,c){if(null!==c){const S=s[16][6],F=c.projection;return S.projection[F]}return null}function c2(s,c){const v=10+s+1;if(v<c.length){const S=c[v],F=S[1].firstChild;if(null!==F)return xc(S,F)}return c[7]}function Lh(s,c,v){const S=s2(s,c);S&&function bl(s,c,v,S){s.removeChild(c,v,S)}(s,S,c,v)}function Oh(s,c,v,S,F,G,ce){for(;null!=v;){const Le=S[v.index],Ze=v.type;if(ce&&0===c&&(Le&&Lo(qn(Le),S),v.flags|=2),32!=(32&v.flags))if(8&Ze)Oh(s,c,v.child,S,F,G,!1),Bs(c,s,F,Le,G);else if(32&Ze){const ut=t2(v,S);let It;for(;It=ut();)Bs(c,s,F,It,G);Bs(c,s,F,Le,G)}else 16&Ze?Sh(s,c,S,v,F,G):Bs(c,s,F,Le,G);v=ce?v.projectionNext:v.next}}function Zd(s,c,v,S,F,G){Oh(v,S,s.firstChild,c,F,G,!1)}function Sh(s,c,v,S,F,G){const ce=v[16],Ze=ce[6].projection[S.projection];if(Array.isArray(Ze))for(let ut=0;ut<Ze.length;ut++){Bs(c,s,F,Ze[ut],G)}else{Oh(s,c,Ze,ce[3],F,G,!0)}}function kh(s,c,v){""===v?s.removeAttribute(c,"class"):s.setAttribute(c,"class",v)}function Ph(s,c,v){const{mergedAttrs:S,classes:F,styles:G}=v;null!==S&&un(s,c,S),null!==F&&kh(s,c,F),null!==G&&function Ju(s,c,v){s.setAttribute(c,"style",v)}(s,c,G)}function l2(){if(void 0===Yd&&(Yd=null,at.trustedTypes))try{Yd=at.trustedTypes.createPolicy("angular",{createHTML:s=>s,createScript:s=>s,createScriptURL:s=>s})}catch{}return Yd}function xl(s){return l2()?.createHTML(s)||s}function Rm(s,c,v){const S=Pi(),F=ra(),G=xa(F,S);if(2===F.type&&"iframe"===c.toLowerCase()){const ce=G;ce.src="",ce.srcdoc=xl(""),Lh(S[11],ce);throw new Z(-910,!1)}return s}function e0(s){d2=s}function t0(){return void 0!==d2?d2:typeof document<"u"?document:void 0}function Rh(){if(void 0===Qd&&(Qd=null,at.trustedTypes))try{Qd=at.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:s=>s,createScript:s=>s,createScriptURL:s=>s})}catch{}return Qd}function Bh(s){return Rh()?.createHTML(s)||s}function i0(s){return Rh()?.createScript(s)||s}function Cl(s){return Rh()?.createScriptURL(s)||s}class wl{constructor(c){this.changingThisBreaksApplicationSecurity=c}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${W})`}}class n0 extends wl{getTypeName(){return"HTML"}}class Bm extends wl{getTypeName(){return"Style"}}class a0 extends wl{getTypeName(){return"Script"}}class r0 extends wl{getTypeName(){return"URL"}}class Nm extends wl{getTypeName(){return"ResourceURL"}}function Cc(s){return s instanceof wl?s.changingThisBreaksApplicationSecurity:s}function Ls(s,c){const v=function Fm(s){return s instanceof wl&&s.getTypeName()||null}(s);if(null!=v&&v!==c){if("ResourceURL"===v&&"URL"===c)return!0;throw new Error(`Required a safe ${c}, got a ${v} (see ${W})`)}return v===c}function o0(s){return new n0(s)}function zm(s){return new Bm(s)}function Hm(s){return new a0(s)}function Um(s){return new r0(s)}function s0(s){return new Nm(s)}function c0(s){const c=new Wm(s);return function l0(){try{return!!(new window.DOMParser).parseFromString(xl(""),"text/html")}catch{return!1}}()?new Vm(c):c}class Vm{constructor(c){this.inertDocumentHelper=c}getInertBodyElement(c){c="<body><remove></remove>"+c;try{const v=(new window.DOMParser).parseFromString(xl(c),"text/html").body;return null===v?this.inertDocumentHelper.getInertBodyElement(c):(v.removeChild(v.firstChild),v)}catch{return null}}}class Wm{constructor(c){if(this.defaultDoc=c,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const v=this.inertDocument.createElement("html");this.inertDocument.appendChild(v);const S=this.inertDocument.createElement("body");v.appendChild(S)}}getInertBodyElement(c){const v=this.inertDocument.createElement("template");if("content"in v)return v.innerHTML=xl(c),v;const S=this.inertDocument.createElement("body");return S.innerHTML=xl(c),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(S),S}stripCustomNsAttrs(c){const v=c.attributes;for(let F=v.length-1;0<F;F--){const ce=v.item(F).name;("xmlns:ns1"===ce||0===ce.indexOf("ns1:"))&&c.removeAttribute(ce)}let S=c.firstChild;for(;S;)S.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(S),S=S.nextSibling}}const d0=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function h2(s){return(s=String(s)).match(d0)?s:"unsafe:"+s}function $s(s){const c={};for(const v of s.split(","))c[v]=!0;return c}function jd(...s){const c={};for(const v of s)for(const S in v)v.hasOwnProperty(S)&&(c[S]=!0);return c}const h0=$s("area,br,col,hr,img,wbr"),u0=$s("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),u2=$s("rp,rt"),Km=jd(u2,u0),Nh=jd(u0,$s("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")),Gm=jd(u2,$s("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")),Fh=jd(h0,Nh,Gm,Km),m2=$s("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Zm=$s("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"),Ym=$s("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"),zh=jd(m2,Zm,Ym),m0=$s("script,style,template");class p0{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(c){let v=c.firstChild,S=!0;for(;v;)if(v.nodeType===Node.ELEMENT_NODE?S=this.startElement(v):v.nodeType===Node.TEXT_NODE?this.chars(v.nodeValue):this.sanitizedSomething=!0,S&&v.firstChild)v=v.firstChild;else for(;v;){v.nodeType===Node.ELEMENT_NODE&&this.endElement(v);let F=this.checkClobberedElement(v,v.nextSibling);if(F){v=F;break}v=this.checkClobberedElement(v,v.parentNode)}return this.buf.join("")}startElement(c){const v=c.nodeName.toLowerCase();if(!Fh.hasOwnProperty(v))return this.sanitizedSomething=!0,!m0.hasOwnProperty(v);this.buf.push("<"),this.buf.push(v);const S=c.attributes;for(let F=0;F<S.length;F++){const G=S.item(F),ce=G.name,Le=ce.toLowerCase();if(!zh.hasOwnProperty(Le)){this.sanitizedSomething=!0;continue}let Ze=G.value;m2[Le]&&(Ze=h2(Ze)),this.buf.push(" ",ce,'="',Hh(Ze),'"')}return this.buf.push(">"),!0}endElement(c){const v=c.nodeName.toLowerCase();Fh.hasOwnProperty(v)&&!h0.hasOwnProperty(v)&&(this.buf.push("</"),this.buf.push(v),this.buf.push(">"))}chars(c){this.buf.push(Hh(c))}checkClobberedElement(c,v){if(v&&(c.compareDocumentPosition(v)&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 v}}const f0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,od=/([^\#-~ |!])/g;function Hh(s){return s.replace(/&/g,"&amp;").replace(f0,function(c){return"&#"+(1024*(c.charCodeAt(0)-55296)+(c.charCodeAt(1)-56320)+65536)+";"}).replace(od,function(c){return"&#"+c.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let p2;function _0(s,c){let v=null;try{p2=p2||c0(s);let S=c?String(c):"";v=p2.getInertBodyElement(S);let F=5,G=S;do{if(0===F)throw new Error("Failed to sanitize html because the input is unstable");F--,S=G,G=v.innerHTML,v=p2.getInertBodyElement(S)}while(S!==G);return xl((new p0).sanitizeChildren(Uh(v)||v))}finally{if(v){const S=Uh(v)||v;for(;S.firstChild;)S.removeChild(S.firstChild)}}}function Uh(s){return"content"in s&&function g0(s){return s.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===s.nodeName}(s)?s.content:null}var wc;function Vh(s){const c=Ml();return c?Bh(c.sanitize(wc.HTML,s)||""):Ls(s,"HTML")?Bh(Cc(s)):_0(t0(),$(s))}function sd(s){const c=Ml();return c?c.sanitize(wc.STYLE,s)||"":Ls(s,"Style")?Cc(s):$(s)}function v0(s){const c=Ml();return c?c.sanitize(wc.URL,s)||"":Ls(s,"URL")?Cc(s):h2($(s))}function b0(s){const c=Ml();if(c)return Cl(c.sanitize(wc.RESOURCE_URL,s)||"");if(Ls(s,"ResourceURL"))return Cl(Cc(s));throw new Z(904,!1)}function f2(s){const c=Ml();if(c)return i0(c.sanitize(wc.SCRIPT,s)||"");if(Ls(s,"Script"))return i0(Cc(s));throw new Z(905,!1)}function Qm(s){return xl(s[0])}function jm(s){return function $u(s){return l2()?.createScriptURL(s)||s}(s[0])}function qm(s,c,v){return function Ef(s,c){return"src"===c&&("embed"===s||"frame"===s||"iframe"===s||"media"===s||"script"===s)||"href"===c&&("base"===s||"link"===s)?b0:v0}(c,v)(s)}function Ml(){const s=Pi();return s&&s[12]}!function(s){s[s.NONE=0]="NONE",s[s.HTML=1]="HTML",s[s.STYLE=2]="STYLE",s[s.SCRIPT=3]="SCRIPT",s[s.URL=4]="URL",s[s.RESOURCE_URL=5]="RESOURCE_URL"}(wc||(wc={}));const Wh=new Ga("ENVIRONMENT_INITIALIZER"),cd=new Ga("INJECTOR",-1),y0=new Ga("INJECTOR_DEF_TYPES");class _2{get(c,v=bt){if(v===bt){const S=new Error(`NullInjectorError: No provider for ${P(c)}!`);throw S.name="NullInjectorError",S}return v}}function qd(s){return{\u0275providers:s}}function Kh(...s){return{\u0275providers:ld(!0,s),\u0275fromNgModule:!0}}function ld(s,...c){const v=[],S=new Set;let F;return an(c,G=>{const ce=G;Gh(ce,v,[],S)&&(F||(F=[]),F.push(ce))}),void 0!==F&&x0(F,v),v}function x0(s,c){for(let v=0;v<s.length;v++){const{ngModule:S,providers:F}=s[v];Xd(F,G=>{c.push(G)})}}function Gh(s,c,v,S){if(!(s=k(s)))return!1;let F=null,G=Ue(s);const ce=!G&&Oi(s);if(G||ce){if(ce&&!ce.standalone)return!1;F=s}else{const Ze=s.ngModule;if(G=Ue(Ze),!G)return!1;F=Ze}const Le=S.has(F);if(ce){if(Le)return!1;if(S.add(F),ce.dependencies){const Ze="function"==typeof ce.dependencies?ce.dependencies():ce.dependencies;for(const ut of Ze)Gh(ut,c,v,S)}}else{if(!G)return!1;{if(null!=G.imports&&!Le){let ut;S.add(F);try{an(G.imports,It=>{Gh(It,c,v,S)&&(ut||(ut=[]),ut.push(It))})}finally{}void 0!==ut&&x0(ut,c)}if(!Le){const ut=Dr(F)||(()=>new F);c.push({provide:F,useFactory:ut,deps:Ft},{provide:y0,useValue:F,multi:!0},{provide:Wh,useValue:()=>Zt(F),multi:!0})}const Ze=G.providers;if(null!=Ze&&!Le){Xd(Ze,It=>{c.push(It)})}}}return F!==s&&void 0!==s.providers}function Xd(s,c){for(let v of s)z(v)&&(v=v.\u0275providers),Array.isArray(v)?Xd(v,c):c(v)}const dd=C({provide:String,useValue:C});function ar(s){return null!==s&&"object"==typeof s&&dd in s}function Zh(s){return!(!s||!s.useExisting)}function Jd(s){return!(!s||!s.useFactory)}function Mc(s){return"function"==typeof s}const hd=new Ga("Set Injector scope."),Ec={},Xm={};let v2;function $d(){return void 0===v2&&(v2=new _2),v2}class El{}class Yh extends El{constructor(c,v,S,F){super(),this.parent=v,this.source=S,this.scopes=F,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,e1(c,ce=>this.processProvider(ce)),this.records.set(cd,Dl(void 0,this)),F.has("environment")&&this.records.set(El,Dl(void 0,this));const G=this.records.get(hd);null!=G&&"string"==typeof G.value&&this.scopes.add(G.value),this.injectorDefTypes=new Set(this.get(y0.multi,Ft,ne.Self))}get destroyed(){return this._destroyed}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 v=yi(this),S=ze(void 0);try{return c()}finally{yi(v),ze(S)}}get(c,v=bt,S=ne.Default){this.assertNotDestroyed(),S=U(S);const F=yi(this),G=ze(void 0);try{if(!(S&ne.SkipSelf)){let Le=this.records.get(c);if(void 0===Le){const Ze=function b2(s){return"function"==typeof s||"object"==typeof s&&s instanceof Ga}(c)&&ge(c);Le=Ze&&this.injectableDefInScope(Ze)?Dl(Qh(c),Ec):null,this.records.set(c,Le)}if(null!=Le)return this.hydrate(c,Le)}const ce=S&ne.Self?$d():this.parent;return v=S&ne.Optional&&v===bt?null:v,ce.get(c,v)}catch(ce){if("NullInjectorError"===ce.name){if((ce[Be]=ce[Be]||[]).unshift(P(c)),F)throw ce;return wt(ce,c,"R3InjectorError",this.source)}throw ce}finally{ze(G),yi(F)}}resolveInjectorInitializers(){const c=yi(this),v=ze(void 0);try{const S=this.get(Wh.multi,Ft,ne.Self);for(const F of S)F()}finally{yi(c),ze(v)}}toString(){const c=[],v=this.records;for(const S of v.keys())c.push(P(S));return`R3Injector[${c.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Z(205,!1)}processProvider(c){let v=Mc(c=k(c))?c:k(c&&c.provide);const S=function M0(s){if(ar(s))return Dl(void 0,s.useValue);return Dl(jh(s),Ec)}(c);if(Mc(c)||!0!==c.multi){this.records.get(v)}else{let F=this.records.get(v);F||(F=Dl(void 0,Ec,!0),F.factory=()=>j(F.multi),this.records.set(v,F)),v=c,F.multi.push(c)}this.records.set(v,S)}hydrate(c,v){return v.value===Ec&&(v.value=Xm,v.value=v.factory()),"object"==typeof v.value&&v.value&&function Jm(s){return null!==s&&"object"==typeof s&&"function"==typeof s.ngOnDestroy}(v.value)&&this._ngOnDestroyHooks.add(v.value),v.value}injectableDefInScope(c){if(!c.providedIn)return!1;const v=k(c.providedIn);return"string"==typeof v?"any"===v||this.scopes.has(v):this.injectorDefTypes.has(v)}}function Qh(s){const c=ge(s),v=null!==c?c.factory:Dr(s);if(null!==v)return v;if(s instanceof Ga)throw new Z(204,!1);if(s instanceof Function)return function w0(s){const c=s.length;if(c>0){Nn(c,"?");throw new Z(204,!1)}const v=function Me(s){const c=s&&(s[ye]||s[ie]);if(c){const v=function De(s){if(s.hasOwnProperty("name"))return s.name;const c=(""+s).match(/^function\s*([^\s(]+)/);return null===c?"":c[1]}(s);return console.warn(`DEPRECATED: DI is instantiating a token "${v}" 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 "${v}" class.`),c}return null}(s);return null!==v?()=>v.factory(s):()=>new s}(s);throw new Z(204,!1)}function jh(s,c,v){let S;if(Mc(s)){const F=k(s);return Dr(F)||Qh(F)}if(ar(s))S=()=>k(s.useValue);else if(Jd(s))S=()=>s.useFactory(...j(s.deps||[]));else if(Zh(s))S=()=>Zt(k(s.useExisting));else{const F=k(s&&(s.useClass||s.provide));if(!function E0(s){return!!s.deps}(s))return Dr(F)||Qh(F);S=()=>new F(...j(s.deps))}return S}function Dl(s,c,v=!1){return{factory:s,value:c,multi:v?[]:void 0}}function e1(s,c){for(const v of s)Array.isArray(v)?e1(v,c):v&&z(v)?e1(v.\u0275providers,c):c(v)}class ud{}class D0{}const A0="ngComponent";class $m{resolveComponentFactory(c){throw function T0(s){const c=Error(`No component factory found for ${P(s)}. Did you add it to @NgModule.entryComponents?`);return c[A0]=s,c}(c)}}class fa{}function ec(s,c){return new Co(xa(s,c))}fa.NULL=new $m;class Co{constructor(c){this.nativeElement=c}}function wo(s){return s instanceof Co?s.nativeElement:s}Co.__NG_ELEMENT_ID__=function I0(){return ec(za(),Pi())};class L0{}class jo{}jo.__NG_ELEMENT_ID__=()=>function y2(){const s=Pi(),v=li(za().index,s);return(ta(v)?v:s)[11]}();class Tl{}Tl.\u0275prov=Xe({token:Tl,providedIn:"root",factory:()=>null});class Xh{constructor(c){this.full=c,this.major=c.split(".")[0],this.minor=c.split(".")[1],this.patch=c.split(".").slice(2).join(".")}}const t1=new Xh("15.0.3"),md={},Jh="ngOriginalError";function i1(s){return s[Jh]}class Qc{constructor(){this._console=console}handleError(c){const v=this._findOriginalError(c);this._console.error("ERROR",c),v&&this._console.error("ORIGINAL ERROR",v)}_findOriginalError(c){let v=c&&i1(c);for(;v&&i1(v);)v=i1(v);return v||null}}function C2(s){return s.ownerDocument.defaultView}function Tf(s){return s.ownerDocument}function n1(s){return s.ownerDocument.body}function tc(s){return s instanceof Function?s():s}function Mo(s,c,v){let S=s.length;for(;;){const F=s.indexOf(c,v);if(-1===F)return F;if(0===F||s.charCodeAt(F-1)<=32){const G=c.length;if(F+G===S||s.charCodeAt(F+G)<=32)return F}v=F+1}}const jc="ng-template";function r1(s,c,v){let S=0;for(;S<s.length;){let F=s[S++];if(v&&"class"===F){if(F=s[S],-1!==Mo(F.toLowerCase(),c,0))return!0}else if(1===F){for(;S<s.length&&"string"==typeof(F=s[S++]);)if(F.toLowerCase()===c)return!0;return!1}}return!1}function w2(s){return 4===s.type&&s.value!==jc}function ic(s,c,v){return c===(4!==s.type||v?s.value:jc)}function fd(s,c,v){let S=4;const F=s.attrs||[],G=function tp(s){for(let c=0;c<s.length;c++){if(Tn(s[c]))return c}return s.length}(F);let ce=!1;for(let Le=0;Le<c.length;Le++){const Ze=c[Le];if("number"!=typeof Ze){if(!ce)if(4&S){if(S=2|1&S,""!==Ze&&!ic(s,Ze,v)||""===Ze&&1===c.length){if(gr(S))return!1;ce=!0}}else{const ut=8&S?Ze:c[++Le];if(8&S&&null!==s.attrs){if(!r1(s.attrs,ut,v)){if(gr(S))return!1;ce=!0}continue}const jt=_d(8&S?"class":Ze,F,w2(s),v);if(-1===jt){if(gr(S))return!1;ce=!0;continue}if(""!==ut){let fi;fi=jt>G?"":F[jt+1].toLowerCase();const Mi=8&S?fi:null;if(Mi&&-1!==Mo(Mi,ut,0)||2&S&&ut!==fi){if(gr(S))return!1;ce=!0}}}}else{if(!ce&&!gr(S)&&!gr(Ze))return!1;if(ce&&gr(Ze))continue;ce=!1,S=Ze|1&S}}return gr(S)||ce}function gr(s){return 0==(1&s)}function _d(s,c,v,S){if(null===c)return-1;let F=0;if(S||!v){let G=!1;for(;F<c.length;){const ce=c[F];if(ce===s)return F;if(3===ce||6===ce)G=!0;else{if(1===ce||2===ce){let Le=c[++F];for(;"string"==typeof Le;)Le=c[++F];continue}if(4===ce)break;if(0===ce){F+=4;continue}}F+=G?1:2}return-1}return function eu(s,c){let v=s.indexOf(4);if(v>-1)for(v++;v<s.length;){const S=s[v];if("number"==typeof S)return-1;if(S===c)return v;v++}return-1}(c,s)}function o1(s,c,v=!1){for(let S=0;S<c.length;S++)if(fd(s,c[S],v))return!0;return!1}function ip(s,c){e:for(let v=0;v<c.length;v++){const S=c[v];if(s.length===S.length){for(let F=0;F<s.length;F++)if(s[F]!==S[F])continue e;return!0}}return!1}function gd(s,c){return s?":not("+c.trim()+")":c}function vd(s){let c=s[0],v=1,S=2,F="",G=!1;for(;v<s.length;){let ce=s[v];if("string"==typeof ce)if(2&S){const Le=s[++v];F+="["+ce+(Le.length>0?'="'+Le+'"':"")+"]"}else 8&S?F+="."+ce:4&S&&(F+=" "+ce);else""!==F&&!gr(ce)&&(c+=gd(G,F),F=""),S=ce,G=G||!gr(S);v++}return""!==F&&(c+=gd(G,F)),c}const Kn={};function s1(s){c1(Wn(),Pi(),ir()+s,!1)}function c1(s,c,v,S){if(!S)if(3==(3&c[2])){const G=s.preOrderCheckHooks;null!==G&&nt(c,G,v)}else{const G=s.preOrderHooks;null!==G&&Bt(c,G,0,v)}Fr(v)}const iu={\u0275\u0275defineInjectable:Xe,\u0275\u0275defineInjector:Ke,\u0275\u0275inject:Zt,\u0275\u0275invalidFactoryDep:mi,resolveForwardRef:k};function nu(s,c){let v=null,S=null;s.hasOwnProperty(ye)||Object.defineProperty(s,ye,{get:()=>(null===v&&(v=lt().compileInjectable(iu,`ng:///${s.name}/\u0275prov.js`,function R0(s,c){const v=c||{providedIn:null},S={name:s.name,type:s,typeArgumentCount:0,providedIn:v.providedIn};return(ru(v)||E2(v))&&void 0!==v.deps&&(S.deps=Cm(v.deps)),ru(v)?S.useClass=v.useClass:function P0(s){return au in s}(v)?S.useValue=v.useValue:E2(v)?S.useFactory=v.useFactory:function D2(s){return void 0!==s.useExisting}(v)&&(S.useExisting=v.useExisting),S}(s,c))),v)}),s.hasOwnProperty(_t)||Object.defineProperty(s,_t,{get:()=>{if(null===S){const F=lt();S=F.compileFactory(iu,`ng:///${s.name}/\u0275fac.js`,{name:s.name,type:s,typeArgumentCount:0,deps:Q1(s),target:F.FactoryTarget.Injectable})}return S},configurable:!0})}const au=C({provide:String,useValue:C});function ru(s){return void 0!==s.useClass}function E2(s){return void 0!==s.useFactory}const ap=Hc("Injectable",void 0,void 0,void 0,(s,c)=>nu(s,c));function T2(s,c=null,v=null,S){const F=B0(s,c,v,S);return F.resolveInjectorInitializers(),F}function B0(s,c=null,v=null,S,F=new Set){const G=[v||Ft,Kh(s)];return S=S||("object"==typeof s?void 0:P(s)),new Yh(G,c||$d(),S||null,F)}class qo{static create(c,v){if(Array.isArray(c))return T2({name:""},v,c,"");{const S=c.name??"";return T2({name:S},c.parent,c.providers,S)}}}function l1(s){return s.length>1?" ("+function rp(s){const c=[];for(let v=0;v<s.length;++v){if(c.indexOf(s[v])>-1)return c.push(s[v]),c;c.push(s[v])}return c}(s.slice().reverse()).map(S=>P(S.token)).join(" -> ")+")":""}function nc(s,c,v,S){const F=[c],G=v(F),ce=S?function O0(s,c){const v=`${s} caused by: ${c instanceof Error?c.message:c}`,S=Error(v);return S[Jh]=c,S}(G,S):Error(G);return ce.addKey=H,ce.keys=F,ce.injectors=[s],ce.constructResolvingMessage=v,ce[Jh]=S,ce}function H(s,c){this.injectors.push(s),this.keys.push(c),this.message=this.constructResolvingMessage(this.keys)}function pt(s,c){const v=[];for(let S=0,F=c.length;S<F;S++){const G=c[S];G&&0!=G.length?v.push(G.map(P).join(" ")):v.push("?")}return Error("Cannot resolve all parameters for '"+P(s)+"'("+v.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+P(s)+"' is decorated with Injectable.")}function ni(s,c){return Error(`Cannot mix multi providers and regular providers, got: ${s} ${c}`)}qo.THROW_IF_NOT_FOUND=bt,qo.NULL=new _2,qo.\u0275prov=Xe({token:qo,providedIn:"any",factory:()=>Zt(cd)}),qo.__NG_ELEMENT_ID__=-1;class hi{constructor(c,v){if(this.token=c,this.id=v,!c)throw new Z(208,!1);this.displayName=P(this.token)}static get(c){return ln.get(k(c))}static get numberOfKeys(){return ln.numberOfKeys}}const ln=new class Ti{constructor(){this._allKeys=new Map}get(c){if(c instanceof hi)return c;if(this._allKeys.has(c))return this._allKeys.get(c);const v=new hi(c,hi.numberOfKeys);return this._allKeys.set(c,v),v}get numberOfKeys(){return this._allKeys.size}};class Gi{constructor(c,v,S){this.key=c,this.optional=v,this.visibility=S}static fromKey(c){return new Gi(c,!1,null)}}const Ln=[];class Fn{constructor(c,v,S){this.key=c,this.resolvedFactories=v,this.multiProvider=S,this.resolvedFactory=this.resolvedFactories[0]}}class wn{constructor(c,v){this.factory=c,this.dependencies=v}}function Pn(s){let c,v;if(s.useClass){const S=k(s.useClass);c=ul().factory(S),v=qc(S)}else s.useExisting?(c=S=>S,v=[Gi.fromKey(hi.get(s.useExisting))]):s.useFactory?(c=s.useFactory,v=function io(s,c){if(c){const v=c.map(S=>[S]);return c.map(S=>Ns(s,S,v))}return qc(s)}(s.useFactory,s.deps)):(c=()=>s.useValue,v=Ln);return new wn(c,v)}function ca(s){return new Fn(hi.get(s.provide),[Pn(s)],s.multi||!1)}function Oa(s){const S=function mo(s,c){for(let v=0;v<s.length;v++){const S=s[v],F=c.get(S.key.id);if(F){if(S.multiProvider!==F.multiProvider)throw ni(F,S);if(S.multiProvider)for(let G=0;G<S.resolvedFactories.length;G++)F.resolvedFactories.push(S.resolvedFactories[G]);else c.set(S.key.id,S)}else{let G;G=S.multiProvider?new Fn(S.key,S.resolvedFactories.slice(),S.multiProvider):S,c.set(S.key.id,G)}}return c}(Oo(s,[]).map(ca),new Map);return Array.from(S.values())}function Oo(s,c){return s.forEach(v=>{if(v instanceof Ct)c.push({provide:v,useClass:v});else if(v&&"object"==typeof v&&void 0!==v.provide)c.push(v);else{if(!Array.isArray(v))throw function xe(s){return Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${s}`)}(v);Oo(v,c)}}),c}function qc(s){const c=ul().parameters(s);if(!c)return[];if(c.some(v=>null==v))throw pt(s,c);return c.map(v=>Ns(s,v,c))}function Ns(s,c,v){let S=null,F=!1;if(!Array.isArray(c))return po(c instanceof ql?c.token:c,F,null);let G=null;for(let ce=0;ce<c.length;++ce){const Le=c[ce];Le instanceof Ct?S=Le:Le instanceof ql?S=Le.token:Le instanceof Vc?F=!0:Le instanceof gc||Le instanceof vc?G=Le:Le instanceof Ga&&(S=Le)}if(S=k(S),null!=S)return po(S,F,G);throw pt(s,v)}function po(s,c,v){return new Gi(hi.get(s),c,v)}const ls={};class So{static resolve(c){return Oa(c)}static resolveAndCreate(c,v){const S=So.resolve(c);return So.fromResolvedProviders(S,v)}static fromResolvedProviders(c,v){return new ko(c,v)}}class ko{constructor(c,v){this._constructionCounter=0,this._providers=c,this.parent=v||null;const S=c.length;this.keyIds=[],this.objs=[];for(let F=0;F<S;F++)this.keyIds[F]=c[F].key.id,this.objs[F]=ls}get(c,v=bt){return this._getByKey(hi.get(c),null,v)}resolveAndCreateChild(c){const v=So.resolve(c);return this.createChildFromResolved(v)}createChildFromResolved(c){const v=new ko(c);return v.parent=this,v}resolveAndInstantiate(c){return this.instantiateResolved(So.resolve([c])[0])}instantiateResolved(c){return this._instantiateProvider(c)}getProviderAtIndex(c){if(c<0||c>=this._providers.length)throw function Ut(s){return Error(`Index ${s} is out-of-bounds.`)}(c);return this._providers[c]}_new(c){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw function b(s,c){return nc(s,c,function(v){return`Cannot instantiate cyclic dependency!${l1(v)}`})}(this,c.key);return this._instantiateProvider(c)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(c){if(c.multiProvider){const v=[];for(let S=0;S<c.resolvedFactories.length;++S)v[S]=this._instantiate(c,c.resolvedFactories[S]);return v}return this._instantiate(c,c.resolvedFactories[0])}_instantiate(c,v){const S=v.factory;let F,G;try{F=v.dependencies.map(ce=>this._getByReflectiveDependency(ce))}catch(ce){throw ce.addKey&&ce.addKey(this,c.key),ce}try{G=S(...F)}catch(ce){throw function Q(s,c,v,S){return nc(s,S,function(F){const G=P(F[0].token);return`${c.message}: Error during instantiation of ${G}!${l1(F)}.`},c)}(this,ce,ce.stack,c.key)}return G}_getByReflectiveDependency(c){return this._getByKey(c.key,c.visibility,c.optional?null:bt)}_getByKey(c,v,S){return c===ko.INJECTOR_KEY?this:v instanceof gc?this._getByKeySelf(c,S):this._getByKeyDefault(c,S,v)}_getObjByKeyId(c){for(let v=0;v<this.keyIds.length;v++)if(this.keyIds[v]===c)return this.objs[v]===ls&&(this.objs[v]=this._new(this._providers[v])),this.objs[v];return ls}_throwOrNull(c,v){if(v!==bt)return v;throw function E(s,c){return nc(s,c,function(v){return`No provider for ${P(v[0].token)}!${l1(v)}`})}(this,c)}_getByKeySelf(c,v){const S=this._getObjByKeyId(c.id);return S!==ls?S:this._throwOrNull(c,v)}_getByKeyDefault(c,v,S){let F;for(F=S instanceof vc?this.parent:this;F instanceof ko;){const G=F,ce=G._getObjByKeyId(c.id);if(ce!==ls)return ce;F=G.parent}return null!==F?F.get(c.token,v):this._throwOrNull(c,v)}get displayName(){return`ReflectiveInjector(providers: [${function d1(s,c){const v=[];for(let S=0;S<s._providers.length;++S)v[S]=c(s.getProviderAtIndex(S));return v}(this,v=>' "'+v.key.displayName+'" ').join(", ")}])`}toString(){return this.displayName}}function Fs(s,c=ne.Default){const v=Pi();if(null===v)return Zt(s,c);return hh(za(),v,k(s),c)}function Dc(){throw new Error("invalid")}function A2(s,c){const v=s.contentQueries;if(null!==v)for(let S=0;S<v.length;S+=2){const F=v[S],G=v[S+1];if(-1!==G){const ce=s.data[G];Ws(F),ce.contentQueries(2,c[G],G)}}}function Sn(s,c,v,S,F,G,ce,Le,Ze,ut,It){const jt=c.blueprint.slice();return jt[0]=F,jt[2]=76|S,(null!==It||s&&1024&s[2])&&(jt[2]|=1024),Bn(jt),jt[3]=jt[15]=s,jt[8]=v,jt[10]=ce||s&&s[10],jt[11]=Le||s&&s[11],jt[12]=Ze||s&&s[12]||null,jt[9]=ut||s&&s[9]||null,jt[6]=G,jt[20]=function id(){return Hu++}(),jt[21]=It,jt[16]=2==c.type?s[16]:jt,jt}function Gn(s,c,v,S,F){let G=s.data[c];if(null===G)G=Za(s,c,v,S,F),function as(){return hn.lFrame.inI18n}()&&(G.flags|=32);else if(64&G.type){G.type=v,G.value=S,G.attrs=F;const ce=Uo();G.injectorIndex=null===ce?-1:ce.injectorIndex}return Ar(G,!0),G}function Za(s,c,v,S,F){const G=is(),ce=lr(),Le=ce?G:G&&G.parent,Ze=s.data[c]=function If(s,c,v,S,F,G){let ce=c?c.injectorIndex:-1;return{type:v,index:S,insertBeforeIndex:null,injectorIndex:ce,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,providerIndexes:0,value:F,attrs:G,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:c,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,Le,v,c,S,F);return null===s.firstChild&&(s.firstChild=Ze),null!==G&&(ce?null==G.child&&null!==Ze.parent&&(G.child=Ze):null===G.next&&(G.next=Ze)),Ze}function Jo(s,c,v,S){if(0===v)return-1;const F=c.length;for(let G=0;G<v;G++)c.push(S),s.blueprint.push(S),s.data.push(null);return F}function Po(s,c,v){Nc(c);try{const S=s.viewQuery;null!==S&&z0(1,S,v);const F=s.template;null!==F&&_a(s,c,F,1,v),s.firstCreatePass&&(s.firstCreatePass=!1),s.staticContentQueries&&A2(s,c),s.staticViewQueries&&z0(2,s.viewQuery,v);const G=s.components;null!==G&&function On(s,c){for(let v=0;v<c.length;v++)up(s,c[v])}(c,G)}catch(S){throw s.firstCreatePass&&(s.incompleteFirstPass=!0,s.firstCreatePass=!1),S}finally{c[2]&=-5,Wo()}}function zs(s,c,v,S){const F=c[2];if(128==(128&F))return;Nc(c);try{Bn(c),Jr(s.bindingStartIndex),null!==v&&_a(s,c,v,2,S);const ce=3==(3&F);if(ce){const ut=s.preOrderCheckHooks;null!==ut&&nt(c,ut,null)}else{const ut=s.preOrderHooks;null!==ut&&Bt(c,ut,0,null),di(c,0)}if(function Ff(s){for(let c=nd(s);null!==c;c=_l(c)){if(!c[2])continue;const v=c[9];for(let S=0;S<v.length;S++){const F=v[S],G=F[3];0==(512&F[2])&&Zi(G,1),F[2]|=512}}}(c),function Nf(s){for(let c=nd(s);null!==c;c=_l(c))for(let v=10;v<c.length;v++){const S=c[v],F=S[1];Dt(S)&&zs(F,S,F.template,S[8])}}(c),null!==s.contentQueries&&A2(s,c),ce){const ut=s.contentCheckHooks;null!==ut&&nt(c,ut)}else{const ut=s.contentHooks;null!==ut&&Bt(c,ut,1),di(c,1)}!function Xo(s,c){const v=s.hostBindingOpCodes;if(null!==v)try{for(let S=0;S<v.length;S++){const F=v[S];if(F<0)Fr(~F);else{const G=F,ce=v[++S],Le=v[++S];Us(ce,G),Le(2,c[G])}}}finally{Fr(-1)}}(s,c);const Le=s.components;null!==Le&&function xn(s,c){for(let v=0;v<c.length;v++)A4(s,c[v])}(c,Le);const Ze=s.viewQuery;if(null!==Ze&&z0(2,Ze,S),ce){const ut=s.viewCheckHooks;null!==ut&&nt(c,ut)}else{const ut=s.viewHooks;null!==ut&&Bt(c,ut,2),di(c,2)}!0===s.firstUpdatePass&&(s.firstUpdatePass=!1),c[2]&=-41,512&c[2]&&(c[2]&=-513,Zi(c[3],-1))}finally{Wo()}}function _a(s,c,v,S,F){const G=ir(),ce=2&S;try{Fr(-1),ce&&c.length>22&&c1(s,c,22,!1),ya(ce?2:0,F),v(S,F)}finally{Fr(G),ya(ce?3:1,F)}}function h1(s,c,v){if(Vr(c)){const S=c.directiveStart,F=c.directiveEnd;for(let G=S;G<F;G++){const ce=s.data[G];ce.contentQueries&&ce.contentQueries(1,v[G],G)}}}function bd(s,c,v){!Ni()||(function w4(s,c,v,S){const F=v.directiveStart,G=v.directiveEnd;Ta(v)&&function T4(s,c,v){const S=xa(c,s),F=Tc(v),G=s[10],ce=N0(s,Sn(s,F,null,v.onPush?32:16,S,c,G,G.createRenderer(S,v),null,null,null));s[c.index]=ce}(c,v,s.data[F+v.componentOffset]),s.firstCreatePass||Gl(v,c),Lo(S,c);const ce=v.initialInputs;for(let Le=F;Le<G;Le++){const Ze=s.data[Le],ut=pc(c,s,Le,v);if(Lo(ut,c),null!==ce&&Rf(c,Le-F,ut,Ze,v,ce),Zn(Ze)){li(v.index,c)[8]=pc(c,s,Le,v)}}}(s,c,v,xa(v,c)),64==(64&v.flags)&&Sf(s,c,v))}function Yr(s,c,v=xa){const S=c.localNames;if(null!==S){let F=c.index+1;for(let G=0;G<S.length;G+=2){const ce=S[G+1],Le=-1===ce?v(c,s):s[ce];s[F++]=Le}}}function Tc(s){const c=s.tView;return null===c||c.incompleteFirstPass?s.tView=ds(1,null,s.template,s.decls,s.vars,s.directiveDefs,s.pipeDefs,s.viewQuery,s.schemas,s.consts):c}function ds(s,c,v,S,F,G,ce,Le,Ze,ut){const It=22+S,jt=It+F,fi=function u1(s,c){const v=[];for(let S=0;S<c;S++)v.push(S<s?null:Kn);return v}(It,jt),Mi="function"==typeof ut?ut():ut;return fi[1]={type:s,blueprint:fi,template:v,queries:null,viewQuery:Le,declTNode:c,data:fi.slice().fill(null,It),bindingStartIndex:It,expandoStartIndex:jt,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 ce?ce():ce,firstChild:null,schemas:Ze,consts:Mi,incompleteFirstPass:!1}}function Af(s,c,v,S){const F=pp(c);null===v?F.push(S):(F.push(v),s.firstCreatePass&&zf(s).push(S,F.length-1))}function b4(s,c,v,S){for(let F in s)if(s.hasOwnProperty(F)){v=null===v?{}:v;const G=s[F];null===S?su(v,c,F,G):S.hasOwnProperty(F)&&su(v,c,S[F],G)}return v}function su(s,c,v,S){s.hasOwnProperty(v)?s[v].push(c,S):s[v]=[c,S]}function ys(s,c,v,S,F,G,ce,Le){const Ze=xa(c,v);let It,ut=c.inputs;!Le&&null!=ut&&(It=ut[S])?(du(s,v,It,S,F),Ta(c)&&Lf(v,c.index)):3&c.type?(S=function lu(s){return"class"===s?"className":"for"===s?"htmlFor":"formaction"===s?"formAction":"innerHtml"===s?"innerHTML":"readonly"===s?"readOnly":"tabindex"===s?"tabIndex":s}(S),F=null!=ce?ce(F,c.value||"",S):F,G.setProperty(Ze,S,F)):c.type}function Lf(s,c){const v=li(c,s);16&v[2]||(v[2]|=32)}function op(s,c,v,S){let F=!1;if(Ni()){const G=null===S?null:{"":-1},ce=function kf(s,c){const v=s.directiveRegistry;let S=null,F=null;if(v)for(let G=0;G<v.length;G++){const ce=v[G];if(o1(c,ce.selectors,!1))if(S||(S=[]),Zn(ce))if(null!==ce.findHostDirectiveDefs){const Le=[];F=F||new Map,ce.findHostDirectiveDefs(ce,Le,F),S.unshift(...Le,ce);cp(s,c,Le.length)}else S.unshift(ce),cp(s,c,0);else F=F||new Map,ce.findHostDirectiveDefs?.(ce,S,F),S.push(ce)}return null===S?null:[S,F]}(s,v);let Le,Ze;null===ce?Le=Ze=null:[Le,Ze]=ce,null!==Le&&(F=!0,sp(s,c,v,Le,G,Ze)),G&&function E4(s,c,v){if(c){const S=s.localNames=[];for(let F=0;F<c.length;F+=2){const G=v[c[F+1]];if(null==G)throw new Z(-301,!1);S.push(c[F],G)}}}(v,S,G)}return v.mergedAttrs=Pa(v.mergedAttrs,v.attrs),F}function sp(s,c,v,S,F,G){for(let ut=0;ut<S.length;ut++)Zs(Gl(v,c),s,S[ut].type);!function D4(s,c,v){s.flags|=1,s.directiveStart=c,s.directiveEnd=c+v,s.providerIndexes=c}(v,s.data.length,S.length);for(let ut=0;ut<S.length;ut++){const It=S[ut];It.providersResolver&&It.providersResolver(It)}let ce=!1,Le=!1,Ze=Jo(s,c,S.length,null);for(let ut=0;ut<S.length;ut++){const It=S[ut];v.mergedAttrs=Pa(v.mergedAttrs,It.hostAttrs),Pf(s,v,c,Ze,It),lp(Ze,It,F),null!==It.contentQueries&&(v.flags|=4),(null!==It.hostBindings||null!==It.hostAttrs||0!==It.hostVars)&&(v.flags|=64);const jt=It.type.prototype;!ce&&(jt.ngOnChanges||jt.ngOnInit||jt.ngDoCheck)&&((s.preOrderHooks||(s.preOrderHooks=[])).push(v.index),ce=!0),!Le&&(jt.ngOnChanges||jt.ngDoCheck)&&((s.preOrderCheckHooks||(s.preOrderCheckHooks=[])).push(v.index),Le=!0),Ze++}!function cu(s,c,v){const S=c.directiveStart,F=c.directiveEnd,G=s.data,ce=c.attrs,Le=[];let Ze=null,ut=null;for(let It=S;It<F;It++){const jt=G[It],fi=v?v.get(jt):null,Mi=fi?fi.inputs:null,Bi=fi?fi.outputs:null;Ze=b4(jt.inputs,It,Ze,Mi),ut=b4(jt.outputs,It,ut,Bi);const rn=null===Ze||null===ce||w2(c)?null:Bf(Ze,It,ce);Le.push(rn)}null!==Ze&&(Ze.hasOwnProperty("class")&&(c.flags|=8),Ze.hasOwnProperty("style")&&(c.flags|=16)),c.initialInputs=Le,c.inputs=Ze,c.outputs=ut}(s,v,G)}function Sf(s,c,v){const S=v.directiveStart,F=v.directiveEnd,G=v.index,ce=function Es(){return hn.lFrame.currentDirectiveIndex}();try{Fr(G);for(let Le=S;Le<F;Le++){const Ze=s.data[Le],ut=c[Le];Vs(Le),(null!==Ze.hostBindings||0!==Ze.hostVars||null!==Ze.hostAttrs)&&M4(Ze,ut)}}finally{Fr(-1),Vs(ce)}}function M4(s,c){null!==s.hostBindings&&s.hostBindings(1,c)}function cp(s,c,v){c.componentOffset=v,(s.components||(s.components=[])).push(c.index)}function lp(s,c,v){if(v){if(c.exportAs)for(let S=0;S<c.exportAs.length;S++)v[c.exportAs[S]]=s;Zn(c)&&(v[""]=s)}}function Pf(s,c,v,S,F){s.data[S]=F;const G=F.factory||(F.factory=Dr(F.type)),ce=new Ht(G,Zn(F),Fs);s.blueprint[S]=ce,v[S]=ce,function C4(s,c,v,S,F){const G=F.hostBindings;if(G){let ce=s.hostBindingOpCodes;null===ce&&(ce=s.hostBindingOpCodes=[]);const Le=~c.index;(function Of(s){let c=s.length;for(;c>0;){const v=s[--c];if("number"==typeof v&&v<0)return v}return 0})(ce)!=Le&&ce.push(Le),ce.push(v,S,G)}}(s,c,S,Jo(s,v,F.hostVars,Kn),F)}function Ac(s,c,v,S,F,G){const ce=xa(s,c);dp(c[11],ce,G,s.value,v,S,F)}function dp(s,c,v,S,F,G,ce){if(null==G)s.removeAttribute(c,F,v);else{const Le=null==ce?$(G):ce(G,S||"",F);s.setAttribute(c,F,Le,v)}}function Rf(s,c,v,S,F,G){const ce=G[c];if(null!==ce){const Le=S.setInput;for(let Ze=0;Ze<ce.length;){const ut=ce[Ze++],It=ce[Ze++],jt=ce[Ze++];null!==Le?S.setInput(v,jt,ut,It):v[It]=jt}}}function Bf(s,c,v){let S=null,F=0;for(;F<v.length;){const G=v[F];if(0!==G)if(5!==G){if("number"==typeof G)break;if(s.hasOwnProperty(G)){null===S&&(S=[]);const ce=s[G];for(let Le=0;Le<ce.length;Le+=2)if(ce[Le]===c){S.push(G,ce[Le+1],v[F+1]);break}}F+=2}else F+=2;else F+=4}return S}function I2(s,c,v,S){return[s,!0,!1,c,null,0,S,v,null,null]}function A4(s,c){const v=li(c,s);if(Dt(v)){const S=v[1];48&v[2]?zs(S,v,S.template,v[8]):v[5]>0&&hp(v)}}function hp(s){for(let S=nd(s);null!==S;S=_l(S))for(let F=10;F<S.length;F++){const G=S[F];if(Dt(G))if(512&G[2]){const ce=G[1];zs(ce,G,ce.template,G[8])}else G[5]>0&&hp(G)}const v=s[1].components;if(null!==v)for(let S=0;S<v.length;S++){const F=li(v[S],s);Dt(F)&&F[5]>0&&hp(F)}}function up(s,c){const v=li(c,s),S=v[1];(function I4(s,c){for(let v=c.length;v<s.blueprint.length;v++)c.push(s.blueprint[v])})(S,v),Po(S,v,v[8])}function N0(s,c){return s[13]?s[14][4]=c:s[13]=c,s[14]=c,c}function mp(s){for(;s;){s[2]|=32;const c=Wd(s);if(Aa(s)&&!c)return s;s=c}return null}function F0(s,c,v,S=!0){const F=c[10];F.begin&&F.begin();try{zs(s,c,s.template,v)}catch(ce){throw S&&Hf(c,ce),ce}finally{F.end&&F.end()}}function z0(s,c,v){Ws(0),c(s,v)}function pp(s){return s[7]||(s[7]=[])}function zf(s){return s.cleanup||(s.cleanup=[])}function fp(s,c,v){return(null===s||Zn(s))&&(v=function Tr(s){for(;Array.isArray(s);){if("object"==typeof s[1])return s;s=s[0]}return null}(v[c.index])),v[11]}function Hf(s,c){const v=s[9],S=v?v.get(Qc,null):null;S&&S.handleError(c)}function du(s,c,v,S,F){for(let G=0;G<v.length;){const ce=v[G++],Le=v[G++],Ze=c[ce],ut=s.data[ce];null!==ut.setInput?ut.setInput(Ze,F,S,Le):Ze[Le]=F}}function Ol(s,c,v){const S=cr(c,s);Kd(s[11],S,v)}function H0(s,c,v){let S=v?s.styles:null,F=v?s.classes:null,G=0;if(null!==c)for(let ce=0;ce<c.length;ce++){const Le=c[ce];if("number"==typeof Le)G=Le;else if(1==G)F=p(F,Le);else if(2==G){S=p(S,Le+": "+c[++ce]+";")}}v?s.styles=S:s.stylesWithoutHost=S,v?s.classes=F:s.classesWithoutHost=F}function U0(s,c,v,S,F=!1){for(;null!==v;){const G=c[v.index];if(null!==G&&S.push(qn(G)),Va(G))for(let Le=10;Le<G.length;Le++){const Ze=G[Le],ut=Ze[1].firstChild;null!==ut&&U0(Ze[1],Ze,ut,S)}const ce=v.type;if(8&ce)U0(s,c,v.child,S);else if(32&ce){const Le=t2(v,c);let Ze;for(;Ze=Le();)S.push(Ze)}else if(16&ce){const Le=qu(c,v);if(Array.isArray(Le))S.push(...Le);else{const Ze=Wd(c[16]);U0(Ze[1],Ze,Le,S,!0)}}v=F?v.projectionNext:v.next}return S}ko.INJECTOR_KEY=hi.get(qo);class L2{constructor(c,v){this._lView=c,this._cdRefInjectingView=v,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const c=this._lView,v=c[1];return U0(v,c,v.firstChild,[])}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(Va(c)){const v=c[8],S=v?v.indexOf(this):-1;S>-1&&(Ah(c,S),En(v,S))}this._attachedToViewContainer=!1}r2(this._lView[1],this._lView)}onDestroy(c){Af(this._lView[1],this._lView,null,c)}markForCheck(){mp(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){F0(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Z(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function yf(s,c){Zd(s,c,c[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(c){if(this._attachedToViewContainer)throw new Z(902,!1);this._appRef=c}}class L4 extends L2{constructor(c){super(c),this._view=c}detectChanges(){const c=this._view;F0(c[1],c,c[8],!1)}checkNoChanges(){}get context(){return null}}class _p extends fa{constructor(c){super(),this.ngModule=c}resolveComponentFactory(c){const v=Oi(c);return new hu(v,this.ngModule)}}function Uf(s){const c=[];for(let v in s)if(s.hasOwnProperty(v)){const S=s[v];c.push({propName:S,templateName:v})}return c}class Vf{constructor(c,v){this.injector=c,this.parentInjector=v}get(c,v,S){S=U(S);const F=this.injector.get(c,md,S);return F!==md||v===md?F:this.parentInjector.get(c,v,S)}}class hu extends D0{constructor(c,v){super(),this.componentDef=c,this.ngModule=v,this.componentType=c.type,this.selector=function np(s){return s.map(vd).join(",")}(c.selectors),this.ngContentSelectors=c.ngContentSelectors?c.ngContentSelectors:[],this.isBoundToModule=!!v}get inputs(){return Uf(this.componentDef.inputs)}get outputs(){return Uf(this.componentDef.outputs)}create(c,v,S,F){let G=(F=F||this.ngModule)instanceof El?F:F?.injector;G&&null!==this.componentDef.getStandaloneInjector&&(G=this.componentDef.getStandaloneInjector(G)||G);const ce=G?new Vf(c,G):c,Le=ce.get(L0,null);if(null===Le)throw new Z(407,!1);const Ze=ce.get(Tl,null),ut=Le.createRenderer(null,this.componentDef),It=this.componentDef.selectors[0][0]||"div",jt=S?function ou(s,c,v){const S=v===ri.ShadowDom;return s.selectRootElement(c,S)}(ut,S,this.componentDef.encapsulation):a2(ut,It,function O4(s){const c=s.toLowerCase();return"svg"===c?"svg":"math"===c?"math":null}(It)),fi=this.componentDef.onPush?288:272,Mi=ds(0,null,null,1,0,null,null,null,null,null),Bi=Sn(null,Mi,null,fi,null,null,Le,ut,Ze,ce,null);let rn,mn;Nc(Bi);try{const Cn=this.componentDef;let zn,Yi=null;Cn.findHostDirectiveDefs?(zn=[],Yi=new Map,Cn.findHostDirectiveDefs(Cn,zn,Yi),zn.push(Cn)):zn=[Cn];const ea=function k4(s,c){const v=s[1],S=22;return s[S]=c,Gn(v,S,2,"#host",null)}(Bi,jt),jr=function P4(s,c,v,S,F,G,ce,Le){const Ze=F[1];!function R4(s,c,v,S){for(const F of s)c.mergedAttrs=Pa(c.mergedAttrs,F.hostAttrs);null!==c.mergedAttrs&&(H0(c,c.mergedAttrs,!0),null!==v&&Ph(S,v,c))}(S,s,c,ce);const ut=G.createRenderer(c,v),It=Sn(F,Tc(v),null,v.onPush?32:16,F[s.index],s,G,ut,Le||null,null,null);return Ze.firstCreatePass&&cp(Ze,s,S.length-1),N0(F,It),F[s.index]=It}(ea,jt,Cn,zn,Bi,Le,ut);mn=tr(Mi,22),jt&&function N4(s,c,v,S){if(S)un(s,v,["ng-version",t1.full]);else{const{attrs:F,classes:G}=function tu(s){const c=[],v=[];let S=1,F=2;for(;S<s.length;){let G=s[S];if("string"==typeof G)2===F?""!==G&&c.push(G,s[++S]):8===F&&v.push(G);else{if(!gr(F))break;F=G}S++}return{attrs:c,classes:v}}(c.selectors[0]);F&&un(s,v,F),G&&G.length>0&&kh(s,v,G.join(" "))}}(ut,Cn,jt,S),void 0!==v&&function Wf(s,c,v){const S=s.projection=[];for(let F=0;F<c.length;F++){const G=v[F];S.push(null!=G?Array.from(G):null)}}(mn,this.ngContentSelectors,v),rn=function B4(s,c,v,S,F,G){const ce=za(),Le=F[1],Ze=xa(ce,F);sp(Le,F,ce,v,null,S);for(let It=0;It<v.length;It++){Lo(pc(F,Le,ce.directiveStart+It,ce),F)}Sf(Le,F,ce),Ze&&Lo(Ze,F);const ut=pc(F,Le,ce.directiveStart+ce.componentOffset,ce);if(s[8]=F[8]=ut,null!==G)for(const It of G)It(ut,c);return h1(Le,ce,s),ut}(jr,Cn,zn,Yi,Bi,[F4]),Po(Mi,Bi,null)}finally{Wo()}return new S4(this.componentType,rn,ec(mn,Bi),Bi,mn)}}class S4 extends ud{constructor(c,v,S,F,G){super(),this.location=S,this._rootLView=F,this._tNode=G,this.instance=v,this.hostView=this.changeDetectorRef=new L4(F),this.componentType=c}setInput(c,v){const S=this._tNode.inputs;let F;if(null!==S&&(F=S[c])){const G=this._rootLView;du(G[1],G,F,c,v),Lf(G,this._tNode.index)}}get injector(){return new Yo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(c){this.hostView.onDestroy(c)}}function F4(){const s=za();ve(Pi()[1],s)}function Kf(s){return Object.getPrototypeOf(s.prototype).constructor}function gp(s){let c=Kf(s.type),v=!0;const S=[s];for(;c;){let F;if(Zn(s))F=c.\u0275cmp||c.\u0275dir;else{if(c.\u0275cmp)throw new Z(903,!1);F=c.\u0275dir}if(F){if(v){S.push(F);const ce=s;ce.inputs=vp(s.inputs),ce.declaredInputs=vp(s.declaredInputs),ce.outputs=vp(s.outputs);const Le=F.hostBindings;Le&&H4(s,Le);const Ze=F.viewQuery,ut=F.contentQueries;if(Ze&&Zf(s,Ze),ut&&z4(s,ut),u(s.inputs,F.inputs),u(s.declaredInputs,F.declaredInputs),u(s.outputs,F.outputs),Zn(F)&&F.data.animation){const It=s.data;It.animation=(It.animation||[]).concat(F.data.animation)}}const G=F.features;if(G)for(let ce=0;ce<G.length;ce++){const Le=G[ce];Le&&Le.ngInherit&&Le(s),Le===gp&&(v=!1)}}c=Object.getPrototypeOf(c)}!function Gf(s){let c=0,v=null;for(let S=s.length-1;S>=0;S--){const F=s[S];F.hostVars=c+=F.hostVars,F.hostAttrs=Pa(F.hostAttrs,v=Pa(v,F.hostAttrs))}}(S)}function vp(s){return s===Pt?{}:s===Ft?[]:s}function Zf(s,c){const v=s.viewQuery;s.viewQuery=v?(S,F)=>{c(S,F),v(S,F)}:c}function z4(s,c){const v=s.contentQueries;s.contentQueries=v?(S,F,G)=>{c(S,F,G),v(S,F,G)}:c}function H4(s,c){const v=s.hostBindings;s.hostBindings=v?(S,F)=>{c(S,F),v(S,F)}:c}const U4=["providersResolver"],V4=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function Yf(s){let v,c=Kf(s.type);v=Zn(s)?c.\u0275cmp:c.\u0275dir;const S=s;for(const F of U4)S[F]=v[F];if(Zn(v))for(const F of V4)S[F]=v[F]}function W4(s){return c=>{c.findHostDirectiveDefs=bp,c.hostDirectives=(Array.isArray(s)?s:s()).map(v=>"function"==typeof v?{directive:k(v),inputs:Pt,outputs:Pt}:{directive:k(v.directive),inputs:Qf(v.inputs),outputs:Qf(v.outputs)})}}function bp(s,c,v){if(null!==s.hostDirectives)for(const S of s.hostDirectives){const F=ki(S.directive);K4(F.declaredInputs,S.inputs),bp(F,c,v),v.set(F,S),c.push(F)}}function Qf(s){if(void 0===s||0===s.length)return Pt;const c={};for(let v=0;v<s.length;v+=2)c[s[v]]=s[v+1];return c}function K4(s,c){for(const v in c)if(c.hasOwnProperty(v)){const S=c[v],F=s[v];s[S]=F}}let V0=null;function Sl(){if(!V0){const s=at.Symbol;if(s&&s.iterator)V0=s.iterator;else{const c=Object.getOwnPropertyNames(Map.prototype);for(let v=0;v<c.length;++v){const S=c[v];"entries"!==S&&"size"!==S&&Map.prototype[S]===Map.prototype.entries&&(V0=S)}}}return V0}function uu(s){return!!xp(s)&&(Array.isArray(s)||!(s instanceof Map)&&Sl()in s)}function xp(s){return null!==s&&("function"==typeof s||"object"==typeof s)}function Xc(s,c,v){return s[c]=v}function mu(s,c){return s[c]}function $o(s,c,v){const S=s[c];return!Object.is(S,v)&&(s[c]=v,!0)}function m1(s,c,v,S){const F=$o(s,c,v);return $o(s,c+1,S)||F}function W0(s,c,v,S,F){const G=m1(s,c,v,S);return $o(s,c+2,F)||G}function Hs(s,c,v,S,F,G){const ce=m1(s,c,v,S);return m1(s,c+2,F,G)||ce}function zr(s,c,v,S){const F=Pi();if($o(F,ns(),c)){Wn();Ac(ra(),F,s,c,v,S)}return zr}function Jc(s,c){let v=!1,S=Ri();for(let G=1;G<c.length;G+=2)v=$o(s,S++,c[G])||v;if(Jr(S),!v)return Kn;let F=c[0];for(let G=1;G<c.length;G+=2)F+=$(c[G])+c[G+1];return F}function O2(s,c,v,S){return $o(s,ns(),v)?c+$(v)+S:Kn}function S2(s,c,v,S,F,G){const Le=m1(s,Ri(),v,F);return Vi(2),Le?c+$(v)+S+$(F)+G:Kn}function k2(s,c,v,S,F,G,ce,Le){const ut=W0(s,Ri(),v,F,ce);return Vi(3),ut?c+$(v)+S+$(F)+G+$(ce)+Le:Kn}function P2(s,c,v,S,F,G,ce,Le,Ze,ut){const jt=Hs(s,Ri(),v,F,ce,Ze);return Vi(4),jt?c+$(v)+S+$(F)+G+$(ce)+Le+$(Ze)+ut:Kn}function R2(s,c,v,S,F,G,ce,Le,Ze,ut,It,jt){const fi=Ri();let Mi=Hs(s,fi,v,F,ce,Ze);return Mi=$o(s,fi+4,It)||Mi,Vi(5),Mi?c+$(v)+S+$(F)+G+$(ce)+Le+$(Ze)+ut+$(It)+jt:Kn}function p1(s,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi){const Bi=Ri();let rn=Hs(s,Bi,v,F,ce,Ze);return rn=m1(s,Bi+4,It,fi)||rn,Vi(6),rn?c+$(v)+S+$(F)+G+$(ce)+Le+$(Ze)+ut+$(It)+jt+$(fi)+Mi:Kn}function Ra(s,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi,Bi,rn){const mn=Ri();let Cn=Hs(s,mn,v,F,ce,Ze);return Cn=W0(s,mn+4,It,fi,Bi)||Cn,Vi(7),Cn?c+$(v)+S+$(F)+G+$(ce)+Le+$(Ze)+ut+$(It)+jt+$(fi)+Mi+$(Bi)+rn:Kn}function f1(s,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi,Bi,rn,mn,Cn){const zn=Ri();let Yi=Hs(s,zn,v,F,ce,Ze);return Yi=Hs(s,zn+4,It,fi,Bi,mn)||Yi,Vi(8),Yi?c+$(v)+S+$(F)+G+$(ce)+Le+$(Ze)+ut+$(It)+jt+$(fi)+Mi+$(Bi)+rn+$(mn)+Cn:Kn}function Cp(s,c,v,S,F,G){const ce=Pi(),Le=O2(ce,c,v,S);if(Le!==Kn){Ac(ra(),ce,s,Le,F,G)}return Cp}function qf(s,c,v,S,F,G,ce,Le){const Ze=Pi(),ut=S2(Ze,c,v,S,F,G);if(ut!==Kn){Ac(ra(),Ze,s,ut,ce,Le)}return qf}function Xf(s,c,v,S,F,G,ce,Le,Ze,ut){const It=Pi(),jt=k2(It,c,v,S,F,G,ce,Le);if(jt!==Kn){Ac(ra(),It,s,jt,Ze,ut)}return Xf}function Jf(s,c,v,S,F,G,ce,Le,Ze,ut,It,jt){const fi=Pi(),Mi=P2(fi,c,v,S,F,G,ce,Le,Ze,ut);if(Mi!==Kn){Ac(ra(),fi,s,Mi,It,jt)}return Jf}function wp(s,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi){const Bi=Pi(),rn=R2(Bi,c,v,S,F,G,ce,Le,Ze,ut,It,jt);if(rn!==Kn){Ac(ra(),Bi,s,rn,fi,Mi)}return wp}function $f(s,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi,Bi,rn){const mn=Pi(),Cn=p1(mn,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi);if(Cn!==Kn){Ac(ra(),mn,s,Cn,Bi,rn)}return $f}function e3(s,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi,Bi,rn,mn,Cn){const zn=Pi(),Yi=Ra(zn,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi,Bi,rn);if(Yi!==Kn){Ac(ra(),zn,s,Yi,mn,Cn)}return e3}function Sr(s,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi,Bi,rn,mn,Cn,zn,Yi){const ea=Pi(),jr=f1(ea,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi,Bi,rn,mn,Cn);if(jr!==Kn){Ac(ra(),ea,s,jr,zn,Yi)}return Sr}function t3(s,c,v,S){const F=Pi(),G=Jc(F,c);if(G!==Kn){Ac(ra(),F,s,G,v,S)}return t3}function i3(s,c,v,S,F,G,ce,Le){const Ze=Pi(),ut=Wn(),It=s+22,jt=ut.firstCreatePass?function Q4(s,c,v,S,F,G,ce,Le,Ze){const ut=c.consts,It=Gn(c,s,4,ce||null,Hi(ut,Le));op(c,v,It,Hi(ut,Ze)),ve(c,It);const jt=It.tViews=ds(2,It,S,F,G,c.directiveRegistry,c.pipeRegistry,null,c.schemas,ut);return null!==c.queries&&(c.queries.template(c,It),jt.queries=c.queries.embeddedTView(It)),It}(It,ut,Ze,c,v,S,F,G,ce):ut.data[It];Ar(jt,!1);const fi=Ze[11].createComment("");Yc(ut,Ze,fi,jt),Lo(fi,Ze),N0(Ze,Ze[It]=I2(fi,Ze,fi,jt)),vr(jt)&&bd(ut,Ze,jt),null!=ce&&Yr(Ze,jt,Le)}function n3(s){return aa(function Xr(){return hn.lFrame.contextLView}(),22+s)}function Mp(s,c,v){const S=Pi();if($o(S,ns(),c)){ys(Wn(),ra(),S,s,c,S[11],v,!1)}return Mp}function K0(s,c,v,S,F){const ce=F?"class":"style";du(s,v,c.inputs[ce],ce,S)}function G0(s,c,v,S){const F=Pi(),G=Wn(),ce=22+s,Le=F[11],Ze=F[ce]=a2(Le,c,function $i(){return hn.lFrame.currentNamespace}()),ut=G.firstCreatePass?function q4(s,c,v,S,F,G,ce){const Le=c.consts,ut=Gn(c,s,2,F,Hi(Le,G));return op(c,v,ut,Hi(Le,ce)),null!==ut.attrs&&H0(ut,ut.attrs,!1),null!==ut.mergedAttrs&&H0(ut,ut.mergedAttrs,!0),null!==c.queries&&c.queries.elementStart(c,ut),ut}(ce,G,F,0,c,v,S):G.data[ce];return Ar(ut,!0),Ph(Le,Ze,ut),32!=(32&ut.flags)&&Yc(G,F,Ze,ut),0===function _e(){return hn.lFrame.elementDepthCount}()&&Lo(Ze,F),function mt(){hn.lFrame.elementDepthCount++}(),vr(ut)&&(bd(G,F,ut),h1(G,ut,F)),null!==S&&Yr(F,ut),G0}function B2(){let s=za();lr()?Vo():(s=s.parent,Ar(s,!1));const c=s;!function ci(){hn.lFrame.elementDepthCount--}();const v=Wn();return v.firstCreatePass&&(ve(v,s),Vr(s)&&v.queries.elementEnd(s)),null!=c.classesWithoutHost&&function Ci(s){return 0!=(8&s.flags)}(c)&&K0(v,c,Pi(),c.classesWithoutHost,!0),null!=c.stylesWithoutHost&&function Ii(s){return 0!=(16&s.flags)}(c)&&K0(v,c,Pi(),c.stylesWithoutHost,!1),B2}function Ep(s,c,v,S){return G0(s,c,v,S),B2(),Ep}function Z0(s,c,v){const S=Pi(),F=Wn(),G=s+22,ce=F.firstCreatePass?function X4(s,c,v,S,F){const G=c.consts,ce=Hi(G,S),Le=Gn(c,s,8,"ng-container",ce);return null!==ce&&H0(Le,ce,!0),op(c,v,Le,Hi(G,F)),null!==c.queries&&c.queries.elementStart(c,Le),Le}(G,F,S,c,v):F.data[G];Ar(ce,!0);const Le=S[G]=S[11].createComment("");return Yc(F,S,Le,ce),Lo(Le,S),vr(ce)&&(bd(F,S,ce),h1(F,ce,S)),null!=v&&Yr(S,ce),Z0}function Y0(){let s=za();const c=Wn();return lr()?Vo():(s=s.parent,Ar(s,!1)),c.firstCreatePass&&(ve(c,s),Vr(s)&&c.queries.elementEnd(s)),Y0}function Dp(s,c,v){return Z0(s,c,v),Y0(),Dp}function a3(){return Pi()}function Tp(s){return!!s&&"function"==typeof s.then}function Ap(s){return!!s&&"function"==typeof s.subscribe}const r3=Ap;function Ip(s,c,v,S){const F=Pi(),G=Wn(),ce=za();return s3(G,F,F[11],ce,s,c,S),Ip}function Lp(s,c){const v=za(),S=Pi(),F=Wn();return s3(F,S,fp(os(F.data),v,S),v,s,c),Lp}function s3(s,c,v,S,F,G,ce){const Le=vr(S),ut=s.firstCreatePass&&zf(s),It=c[8],jt=pp(c);let fi=!0;if(3&S.type||ce){const rn=xa(S,c),mn=ce?ce(rn):rn,Cn=jt.length,zn=ce?ea=>ce(qn(ea[S.index])):S.index;let Yi=null;if(!ce&&Le&&(Yi=function o3(s,c,v,S){const F=s.cleanup;if(null!=F)for(let G=0;G<F.length-1;G+=2){const ce=F[G];if(ce===v&&F[G+1]===S){const Le=c[7],Ze=F[G+2];return Le.length>Ze?Le[Ze]:null}"string"==typeof ce&&(G+=2)}return null}(s,c,F,S.index)),null!==Yi){(Yi.__ngLastListenerFn__||Yi).__ngNextListenerFn__=G,Yi.__ngLastListenerFn__=G,fi=!1}else{G=l3(S,c,It,G,!1);const ea=v.listen(mn,F,G);jt.push(G,ea),ut&&ut.push(F,zn,Cn,Cn+1)}}else G=l3(S,c,It,G,!1);const Mi=S.outputs;let Bi;if(fi&&null!==Mi&&(Bi=Mi[F])){const rn=Bi.length;if(rn)for(let mn=0;mn<rn;mn+=2){const Cn=Bi[mn],zn=Bi[mn+1],jr=c[Cn][zn].subscribe(G),vo=jt.length;jt.push(G,jr),ut&&ut.push(F,S.index,vo,-(vo+1))}}}function c3(s,c,v,S){try{return ya(6,c,v),!1!==v(S)}catch(F){return Hf(s,F),!1}finally{ya(7,c,v)}}function l3(s,c,v,S,F){return function G(ce){if(ce===Function)return S;mp(s.componentOffset>-1?li(s.index,c):c);let Ze=c3(c,v,S,ce),ut=G.__ngNextListenerFn__;for(;ut;)Ze=c3(c,v,ut,ce)&&Ze,ut=ut.__ngNextListenerFn__;return F&&!1===Ze&&(ce.preventDefault(),ce.returnValue=!1),Ze}}function Q0(s=1){return Ds(s)}function J4(s,c){let v=null;const S=function M2(s){const c=s.attrs;if(null!=c){const v=c.indexOf(5);if(0==(1&v))return c[v+1]}return null}(s);for(let F=0;F<c.length;F++){const G=c[F];if("*"!==G){if(null===S?o1(s,G,!0):ip(S,G))return F}else v=F}return v}function d3(s){const c=Pi()[16][6];if(!c.projection){const v=s?s.length:1,S=c.projection=Nn(v,null),F=S.slice();let G=c.child;for(;null!==G;){const ce=s?J4(G,s):0;null!==ce&&(F[ce]?F[ce].projectionNext=G:S[ce]=G,F[ce]=G),G=G.next}}}function Op(s,c=0,v){const S=Pi(),F=Wn(),G=Gn(F,22+s,16,null,v||null);null===G.projection&&(G.projection=c),Vo(),32!=(32&G.flags)&&function Xu(s,c,v){Sh(c[11],0,c,v,Om(s,v,c),to(v.parent||c[6],v,c))}(F,S,G)}function j0(s,c,v){return q0(s,"",c,"",v),j0}function q0(s,c,v,S,F){const G=Pi(),ce=O2(G,c,v,S);if(ce!==Kn){ys(Wn(),ra(),G,s,ce,G[11],F,!1)}return q0}function Sp(s,c,v,S,F,G,ce){const Le=Pi(),Ze=S2(Le,c,v,S,F,G);if(Ze!==Kn){ys(Wn(),ra(),Le,s,Ze,Le[11],ce,!1)}return Sp}function kp(s,c,v,S,F,G,ce,Le,Ze){const ut=Pi(),It=k2(ut,c,v,S,F,G,ce,Le);if(It!==Kn){ys(Wn(),ra(),ut,s,It,ut[11],Ze,!1)}return kp}function h3(s,c,v,S,F,G,ce,Le,Ze,ut,It){const jt=Pi(),fi=P2(jt,c,v,S,F,G,ce,Le,Ze,ut);if(fi!==Kn){ys(Wn(),ra(),jt,s,fi,jt[11],It,!1)}return h3}function u3(s,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi){const Mi=Pi(),Bi=R2(Mi,c,v,S,F,G,ce,Le,Ze,ut,It,jt);if(Bi!==Kn){ys(Wn(),ra(),Mi,s,Bi,Mi[11],fi,!1)}return u3}function Pp(s,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi,Bi){const rn=Pi(),mn=p1(rn,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi);if(mn!==Kn){ys(Wn(),ra(),rn,s,mn,rn[11],Bi,!1)}return Pp}function m3(s,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi,Bi,rn,mn){const Cn=Pi(),zn=Ra(Cn,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi,Bi,rn);if(zn!==Kn){ys(Wn(),ra(),Cn,s,zn,Cn[11],mn,!1)}return m3}function p3(s,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi,Bi,rn,mn,Cn,zn){const Yi=Pi(),ea=f1(Yi,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi,Bi,rn,mn,Cn);if(ea!==Kn){ys(Wn(),ra(),Yi,s,ea,Yi[11],zn,!1)}return p3}function f3(s,c,v){const S=Pi(),F=Jc(S,c);if(F!==Kn){ys(Wn(),ra(),S,s,F,S[11],v,!1)}return f3}function pu(s,c){return s<<17|c<<2}function kl(s){return s>>17&32767}function Rp(s){return 2|s}function _1(s){return(131068&s)>>2}function X0(s,c){return-131069&s|c<<2}function Bp(s){return 1|s}function t_(s,c,v,S,F,G){let ce=G?c.classBindings:c.styleBindings,Le=kl(ce),Ze=_1(ce);s[S]=v;let It,ut=!1;if(Array.isArray(v)){const jt=v;It=jt[1],(null===It||js(jt,It)>0)&&(ut=!0)}else It=v;if(F)if(0!==Ze){const fi=kl(s[Le+1]);s[S+1]=pu(fi,Le),0!==fi&&(s[fi+1]=X0(s[fi+1],S)),s[Le+1]=function e_(s,c){return 131071&s|c<<17}(s[Le+1],S)}else s[S+1]=pu(Le,0),0!==Le&&(s[Le+1]=X0(s[Le+1],S)),Le=S;else s[S+1]=pu(Ze,0),0===Le?Le=S:s[Ze+1]=X0(s[Ze+1],S),Ze=S;ut&&(s[S+1]=Rp(s[S+1])),v3(s,It,S,!0,G),v3(s,It,S,!1,G),function g3(s,c,v,S,F){const G=F?s.residualClasses:s.residualStyles;null!=G&&"string"==typeof c&&js(G,c)>=0&&(v[S+1]=Bp(v[S+1]))}(c,It,s,S,G),ce=pu(Le,Ze),G?c.classBindings=ce:c.styleBindings=ce}function v3(s,c,v,S,F){const G=s[v+1],ce=null===c;let Le=S?kl(G):_1(G),Ze=!1;for(;0!==Le&&(!1===Ze||ce);){const ut=s[Le],It=s[Le+1];i_(ut,c)&&(Ze=!0,s[Le+1]=S?Bp(It):Rp(It)),Le=S?kl(It):_1(It)}Ze&&(s[v+1]=S?Rp(G):Bp(G))}function i_(s,c){return null===s||null==c||(Array.isArray(s)?s[1]:s)===c||!(!Array.isArray(s)||"string"!=typeof c)&&js(s,c)>=0}const Eo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Np(s){return s.substring(Eo.key,Eo.keyEnd)}function n_(s){return s.substring(Eo.value,Eo.valueEnd)}function y3(s,c){const v=Eo.textEnd;return v===c?-1:(c=Eo.keyEnd=function C3(s,c,v){for(;c<v&&s.charCodeAt(c)>32;)c++;return c}(s,Eo.key=c,v),N2(s,c,v))}function Fp(s,c){const v=Eo.textEnd;let S=Eo.key=N2(s,c,v);return v===S?-1:(S=Eo.keyEnd=function r_(s,c,v){let S;for(;c<v&&(45===(S=s.charCodeAt(c))||95===S||(-33&S)>=65&&(-33&S)<=90||S>=48&&S<=57);)c++;return c}(s,S,v),S=w3(s,S,v,58),S=Eo.value=N2(s,S,v),S=Eo.valueEnd=function o_(s,c,v){let S=-1,F=-1,G=-1,ce=c,Le=ce;for(;ce<v;){const Ze=s.charCodeAt(ce++);if(59===Ze)return Le;34===Ze||39===Ze?Le=ce=fu(s,Ze,ce,v):c===ce-4&&85===G&&82===F&&76===S&&40===Ze?Le=ce=fu(s,41,ce,v):Ze>32&&(Le=ce),G=F,F=S,S=-33&Ze}return Le}(s,S,v),w3(s,S,v,59))}function x3(s){Eo.key=0,Eo.keyEnd=0,Eo.value=0,Eo.valueEnd=0,Eo.textEnd=s.length}function N2(s,c,v){for(;c<v&&s.charCodeAt(c)<=32;)c++;return c}function w3(s,c,v,S){return(c=N2(s,c,v))<v&&c++,c}function fu(s,c,v,S){let F=-1,G=v;for(;G<S;){const ce=s.charCodeAt(G++);if(ce==c&&92!==F)return G;F=92==ce&&92===F?0:ce}throw new Error}function zp(s,c,v){return Ic(s,c,v,!1),zp}function Hp(s,c){return Ic(s,c,null,!0),Hp}function $c(s){Lc(A3,s_,s,!1)}function s_(s,c){for(let v=function a_(s){return x3(s),Fp(s,N2(s,0,Eo.textEnd))}(c);v>=0;v=Fp(c,v))A3(s,Np(c),n_(c))}function M3(s){Lc(Lr,el,s,!0)}function el(s,c){for(let v=function b3(s){return x3(s),y3(s,N2(s,0,Eo.textEnd))}(c);v>=0;v=y3(c,v))Lr(s,Np(c),!0)}function Ic(s,c,v,S){const F=Pi(),G=Wn(),ce=Vi(2);if(G.firstUpdatePass&&D3(G,s,ce,S),c!==Kn&&$o(F,ce,c)){I3(G,G.data[ir()],F,F[11],s,F[ce+1]=function m_(s,c){return null==s||("string"==typeof c?s+=c:"object"==typeof s&&(s=P(Cc(s)))),s}(c,v),S,ce)}}function Lc(s,c,v,S){const F=Wn(),G=Vi(2);F.firstUpdatePass&&D3(F,null,G,S);const ce=Pi();if(v!==Kn&&$o(ce,G,v)){const Le=F.data[ir()];if(Vp(Le,S)&&!E3(F,G)){let Ze=S?Le.classesWithoutHost:Le.stylesWithoutHost;null!==Ze&&(v=p(Ze,v||"")),K0(F,Le,ce,v,S)}else!function u_(s,c,v,S,F,G,ce,Le){F===Kn&&(F=Ft);let Ze=0,ut=0,It=0<F.length?F[0]:null,jt=0<G.length?G[0]:null;for(;null!==It||null!==jt;){const fi=Ze<F.length?F[Ze+1]:void 0,Mi=ut<G.length?G[ut+1]:void 0;let rn,Bi=null;It===jt?(Ze+=2,ut+=2,fi!==Mi&&(Bi=jt,rn=Mi)):null===jt||null!==It&&It<jt?(Ze+=2,Bi=It):(ut+=2,Bi=jt,rn=Mi),null!==Bi&&I3(s,c,v,S,Bi,rn,ce,Le),It=Ze<F.length?F[Ze]:null,jt=ut<G.length?G[ut]:null}}(F,Le,ce,ce[11],ce[G+1],ce[G+1]=function h_(s,c,v){if(null==v||""===v)return Ft;const S=[],F=Cc(v);if(Array.isArray(F))for(let G=0;G<F.length;G++)s(S,F[G],!0);else if("object"==typeof F)for(const G in F)F.hasOwnProperty(G)&&s(S,G,F[G]);else"string"==typeof F&&c(S,F);return S}(s,c,v),S,G)}}function E3(s,c){return c>=s.expandoStartIndex}function D3(s,c,v,S){const F=s.data;if(null===F[v+1]){const G=F[ir()],ce=E3(s,v);Vp(G,S)&&null===c&&!ce&&(c=!1),c=function c_(s,c,v,S){const F=os(s);let G=S?c.residualClasses:c.residualStyles;if(null===F)0===(S?c.classBindings:c.styleBindings)&&(v=_u(v=J0(null,s,c,v,S),c.attrs,S),G=null);else{const ce=c.directiveStylingLast;if(-1===ce||s[ce]!==F)if(v=J0(F,s,c,v,S),null===G){let Ze=function T3(s,c,v){const S=v?c.classBindings:c.styleBindings;if(0!==_1(S))return s[kl(S)]}(s,c,S);void 0!==Ze&&Array.isArray(Ze)&&(Ze=J0(null,s,c,Ze[1],S),Ze=_u(Ze,c.attrs,S),function l_(s,c,v,S){const F=v?c.classBindings:c.styleBindings;s[kl(F)]=S}(s,c,S,Ze))}else G=function d_(s,c,v){let S;const F=c.directiveEnd;for(let G=1+c.directiveStylingLast;G<F;G++){S=_u(S,s[G].hostAttrs,v)}return _u(S,c.attrs,v)}(s,c,S)}return void 0!==G&&(S?c.residualClasses=G:c.residualStyles=G),v}(F,G,c,S),t_(F,G,c,v,ce,S)}}function J0(s,c,v,S,F){let G=null;const ce=v.directiveEnd;let Le=v.directiveStylingLast;for(-1===Le?Le=v.directiveStart:Le++;Le<ce&&(G=c[Le],S=_u(S,G.hostAttrs,F),G!==s);)Le++;return null!==s&&(v.directiveStylingLast=Le),S}function _u(s,c,v){const S=v?1:2;let F=-1;if(null!==c)for(let G=0;G<c.length;G++){const ce=c[G];"number"==typeof ce?F=ce:F===S&&(Array.isArray(s)||(s=void 0===s?[]:["",s]),Lr(s,ce,!!v||c[++G]))}return void 0===s?null:s}function A3(s,c,v){Lr(s,c,Cc(v))}function I3(s,c,v,S,F,G,ce,Le){if(!(3&c.type))return;const Ze=s.data,ut=Ze[Le+1],It=function _3(s){return 1==(1&s)}(ut)?Up(Ze,c,v,F,_1(ut),ce):void 0;if(!$0(It)){$0(G)||function $4(s){return 2==(2&s)}(ut)&&(G=Up(Ze,null,v,F,Le,ce));!function km(s,c,v,S,F){if(c)F?s.addClass(v,S):s.removeClass(v,S);else{let G=-1===S.indexOf("-")?void 0:Kc.DashCase;null==F?s.removeStyle(v,S,G):("string"==typeof F&&F.endsWith("!important")&&(F=F.slice(0,-10),G|=Kc.Important),s.setStyle(v,S,F,G))}}(S,ce,cr(ir(),v),F,G)}}function Up(s,c,v,S,F,G){const ce=null===c;let Le;for(;F>0;){const Ze=s[F],ut=Array.isArray(Ze),It=ut?Ze[1]:Ze,jt=null===It;let fi=v[F+1];fi===Kn&&(fi=jt?Ft:void 0);let Mi=jt?As(fi,S):It===S?fi:void 0;if(ut&&!$0(Mi)&&(Mi=As(Ze,S)),$0(Mi)&&(Le=Mi,ce))return Le;const Bi=s[F+1];F=ce?kl(Bi):_1(Bi)}if(null!==c){let Ze=G?c.residualClasses:c.residualStyles;null!=Ze&&(Le=As(Ze,S))}return Le}function $0(s){return void 0!==s}function Vp(s,c){return 0!=(s.flags&(c?8:16))}function L3(s,c=""){const v=Pi(),S=Wn(),F=s+22,G=S.firstCreatePass?Gn(S,F,1,c,null):S.data[F],ce=v[F]=n2(v[11],c);Yc(S,v,ce,G),Ar(G,!1)}function em(s){return tm("",s,""),em}function tm(s,c,v){const S=Pi(),F=O2(S,s,c,v);return F!==Kn&&Ol(S,ir(),F),tm}function im(s,c,v,S,F){const G=Pi(),ce=S2(G,s,c,v,S,F);return ce!==Kn&&Ol(G,ir(),ce),im}function Wp(s,c,v,S,F,G,ce){const Le=Pi(),Ze=k2(Le,s,c,v,S,F,G,ce);return Ze!==Kn&&Ol(Le,ir(),Ze),Wp}function Kp(s,c,v,S,F,G,ce,Le,Ze){const ut=Pi(),It=P2(ut,s,c,v,S,F,G,ce,Le,Ze);return It!==Kn&&Ol(ut,ir(),It),Kp}function Gp(s,c,v,S,F,G,ce,Le,Ze,ut,It){const jt=Pi(),fi=R2(jt,s,c,v,S,F,G,ce,Le,Ze,ut,It);return fi!==Kn&&Ol(jt,ir(),fi),Gp}function O3(s,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi){const Mi=Pi(),Bi=p1(Mi,s,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi);return Bi!==Kn&&Ol(Mi,ir(),Bi),O3}function S3(s,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi,Bi){const rn=Pi(),mn=Ra(rn,s,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi,Bi);return mn!==Kn&&Ol(rn,ir(),mn),S3}function Zp(s,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi,Bi,rn,mn){const Cn=Pi(),zn=f1(Cn,s,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi,Bi,rn,mn);return zn!==Kn&&Ol(Cn,ir(),zn),Zp}function k3(s){const c=Pi(),v=Jc(c,s);return v!==Kn&&Ol(c,ir(),v),k3}function P3(s,c,v){Lc(Lr,el,O2(Pi(),s,c,v),!0)}function p_(s,c,v,S,F){Lc(Lr,el,S2(Pi(),s,c,v,S,F),!0)}function R3(s,c,v,S,F,G,ce){Lc(Lr,el,k2(Pi(),s,c,v,S,F,G,ce),!0)}function f_(s,c,v,S,F,G,ce,Le,Ze){Lc(Lr,el,P2(Pi(),s,c,v,S,F,G,ce,Le,Ze),!0)}function __(s,c,v,S,F,G,ce,Le,Ze,ut,It){Lc(Lr,el,R2(Pi(),s,c,v,S,F,G,ce,Le,Ze,ut,It),!0)}function B3(s,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi){Lc(Lr,el,p1(Pi(),s,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi),!0)}function g_(s,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi,Bi){Lc(Lr,el,Ra(Pi(),s,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi,Bi),!0)}function v_(s,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi,Bi,rn,mn){Lc(Lr,el,f1(Pi(),s,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi,Bi,rn,mn),!0)}function b_(s){Lc(Lr,el,Jc(Pi(),s),!0)}function y_(s,c,v){$c(O2(Pi(),s,c,v))}function N3(s,c,v,S,F){$c(S2(Pi(),s,c,v,S,F))}function x_(s,c,v,S,F,G,ce){$c(k2(Pi(),s,c,v,S,F,G,ce))}function C_(s,c,v,S,F,G,ce,Le,Ze){$c(P2(Pi(),s,c,v,S,F,G,ce,Le,Ze))}function F3(s,c,v,S,F,G,ce,Le,Ze,ut,It){$c(R2(Pi(),s,c,v,S,F,G,ce,Le,Ze,ut,It))}function w_(s,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi){$c(p1(Pi(),s,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi))}function M_(s,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi,Bi){$c(Ra(Pi(),s,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi,Bi))}function E_(s,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi,Bi,rn,mn){$c(f1(Pi(),s,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi,Bi,rn,mn))}function D_(s){$c(Jc(Pi(),s))}function z3(s,c,v,S,F){return Ic(s,O2(Pi(),c,v,S),F,!1),z3}function Yp(s,c,v,S,F,G,ce){return Ic(s,S2(Pi(),c,v,S,F,G),ce,!1),Yp}function H3(s,c,v,S,F,G,ce,Le,Ze){return Ic(s,k2(Pi(),c,v,S,F,G,ce,Le),Ze,!1),H3}function U3(s,c,v,S,F,G,ce,Le,Ze,ut,It){return Ic(s,P2(Pi(),c,v,S,F,G,ce,Le,Ze,ut),It,!1),U3}function V3(s,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi){return Ic(s,R2(Pi(),c,v,S,F,G,ce,Le,Ze,ut,It,jt),fi,!1),V3}function Qp(s,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi,Bi){return Ic(s,p1(Pi(),c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi),Bi,!1),Qp}function W3(s,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi,Bi,rn,mn){return Ic(s,Ra(Pi(),c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi,Bi,rn),mn,!1),W3}function K3(s,c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi,Bi,rn,mn,Cn,zn){return Ic(s,f1(Pi(),c,v,S,F,G,ce,Le,Ze,ut,It,jt,fi,Mi,Bi,rn,mn,Cn),zn,!1),K3}function G3(s,c,v){return Ic(s,Jc(Pi(),c),v,!1),G3}function nm(s,c,v){const S=Pi();if($o(S,ns(),c)){ys(Wn(),ra(),S,s,c,S[11],v,!0)}return nm}function jp(s,c,v){const S=Pi();if($o(S,ns(),c)){const G=Wn(),ce=ra();ys(G,ce,S,s,c,fp(os(G.data),ce,S),v,!0)}return jp}const yd=void 0;var Z3=["en",[["a","p"],["AM","PM"],yd],[["AM","PM"],yd,yd],[["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"]],yd,[["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"]],yd,[["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}",yd,"{1} 'at' {0}",yd],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function T_(s){const v=Math.floor(Math.abs(s)),S=s.toString().replace(/^[^.]*\.?/,"").length;return 1===v&&0===S?1:5}];let F2={};function am(s){const c=function Q3(s){return s.toLowerCase().replace(/_/g,"-")}(s);let v=qp(c);if(v)return v;const S=c.split("-")[0];if(v=qp(S),v)return v;if("en"===S)return Z3;throw new Z(701,!1)}function Y3(s){return am(s)[xd.PluralCase]}function qp(s){return s in F2||(F2[s]=at.ng&&at.ng.common&&at.ng.common.locales&&at.ng.common.locales[s]),F2[s]}var xd;!function(s){s[s.LocaleId=0]="LocaleId",s[s.DayPeriodsFormat=1]="DayPeriodsFormat",s[s.DayPeriodsStandalone=2]="DayPeriodsStandalone",s[s.DaysFormat=3]="DaysFormat",s[s.DaysStandalone=4]="DaysStandalone",s[s.MonthsFormat=5]="MonthsFormat",s[s.MonthsStandalone=6]="MonthsStandalone",s[s.Eras=7]="Eras",s[s.FirstDayOfWeek=8]="FirstDayOfWeek",s[s.WeekendRange=9]="WeekendRange",s[s.DateFormat=10]="DateFormat",s[s.TimeFormat=11]="TimeFormat",s[s.DateTimeFormat=12]="DateTimeFormat",s[s.NumberSymbols=13]="NumberSymbols",s[s.NumberFormats=14]="NumberFormats",s[s.CurrencyCode=15]="CurrencyCode",s[s.CurrencySymbol=16]="CurrencySymbol",s[s.CurrencyName=17]="CurrencyName",s[s.Currencies=18]="Currencies",s[s.Directionality=19]="Directionality",s[s.PluralCase=20]="PluralCase",s[s.ExtraData=21]="ExtraData"}(xd||(xd={}));const A_=["zero","one","two","few","many"];const z2="en-US",rm={marker:"element"},om={marker:"ICU"};var hs;!function(s){s[s.SHIFT=2]="SHIFT",s[s.APPEND_EAGERLY=1]="APPEND_EAGERLY",s[s.COMMENT=2]="COMMENT"}(hs||(hs={}));let Xp=z2;function Jp(s){V(s,"Expected localeId to be defined"),"string"==typeof s&&(Xp=s.toLowerCase().replace(/_/g,"-"))}function Pl(s,c,v){const S=c.insertBeforeIndex,F=Array.isArray(S)?S[0]:S;return null===F?Qu(s,0,v):qn(v[F])}function $p(s,c,v,S,F){const G=c.insertBeforeIndex;if(Array.isArray(G)){let ce=S,Le=null;if(3&c.type||(Le=ce,ce=F),null!==ce&&-1===c.componentOffset)for(let Ze=1;Ze<G.length;Ze++){gl(s,ce,v[G[Ze]],Le,!1)}}}function ef(s,c){if(s.push(c),s.length>1)for(let v=s.length-2;v>=0;v--){const S=s[v];Os(S)||H2(S,c)&&null===L_(S)&&O_(S,c.index)}}function Os(s){return!(64&s.type)}function H2(s,c){return Os(c)||s.index>c.index}function L_(s){const c=s.insertBeforeIndex;return Array.isArray(c)?c[0]:c}function O_(s,c){const v=s.insertBeforeIndex;Array.isArray(v)?v[0]=c:(ju(Pl,$p),s.insertBeforeIndex=c)}function Ro(s,c){const v=s.data[c];return null===v||"string"==typeof v?null:v.hasOwnProperty("currentCaseLViewIndex")?v:v.value}function U2(s,c,v){const S=Za(s,v,64,null,null);return ef(c,S),S}function Ei(s,c){const v=c[s.currentCaseLViewIndex];return null===v?v:v<0?~v:v}function wd(s){return s>>>17}function Do(s){return(131070&s)>>>1}let tl=0,Ba=0;function $a(s,c,v,S){const F=v[11];let ce,G=null;for(let Le=0;Le<c.length;Le++){const Ze=c[Le];if("string"==typeof Ze){const ut=c[++Le];null===v[ut]&&(v[ut]=n2(F,Ze))}else if("number"==typeof Ze)switch(1&Ze){case 0:const ut=wd(Ze);let It,jt;if(null===G&&(G=ut,ce=s2(F,S)),ut===G?(It=S,jt=ce):(It=null,jt=qn(v[ut])),null!==jt){const rn=Do(Ze);gl(F,jt,v[rn],It,!1);const Cn=Ro(s,rn);if(null!==Cn&&"object"==typeof Cn){const zn=Ei(Cn,v);null!==zn&&$a(s,Cn.create[zn],v,v[Cn.anchorIdx])}}break;case 1:const fi=Ze>>>1,Mi=c[++Le],Bi=c[++Le];dp(F,cr(fi,v),null,null,Mi,Bi,null)}else switch(Ze){case om:const ut=c[++Le],It=c[++Le];if(null===v[It]){Lo(v[It]=cs(F,ut),v)}break;case rm:const jt=c[++Le],fi=c[++Le];if(null===v[fi]){Lo(v[fi]=a2(F,jt,null),v)}}}}function fo(s,c,v,S,F){for(let G=0;G<v.length;G++){const ce=v[G],Le=v[++G];if(ce&F){let Ze="";for(let ut=G+1;ut<=G+Le;ut++){const It=v[ut];if("string"==typeof It)Ze+=It;else if("number"==typeof It)if(It<0)Ze+=$(c[S-It]);else{const jt=It>>>2;switch(3&It){case 1:const fi=v[++ut],Mi=v[++ut],Bi=s.data[jt];"string"==typeof Bi?dp(c[11],c[jt],null,Bi,fi,Ze,Mi):ys(s,Bi,c,fi,Ze,c[11],Mi,!1);break;case 0:const rn=c[jt];null!==rn&&Kd(c[11],rn,Ze);break;case 2:Md(s,Ro(s,jt),c,Ze);break;case 3:Rl(s,Ro(s,jt),S,c)}}}}else{const Ze=v[G+1];if(Ze>0&&3==(3&Ze)){const It=Ro(s,Ze>>>2);c[It.currentCaseLViewIndex]<0&&Rl(s,It,S,c)}}G+=Le}}function Rl(s,c,v,S){let F=S[c.currentCaseLViewIndex];if(null!==F){let G=tl;F<0&&(F=S[c.currentCaseLViewIndex]=~F,G=-1),fo(s,S,c.update[F],v,G)}}function Md(s,c,v,S){const F=function xs(s,c){let v=s.cases.indexOf(c);if(-1===v)switch(s.type){case 1:{const S=function I_(s,c){const v=Y3(c)(parseInt(s,10)),S=A_[v];return void 0!==S?S:"other"}(c,function Un(){return Xp}());v=s.cases.indexOf(S),-1===v&&"other"!==S&&(v=s.cases.indexOf("other"));break}case 0:v=s.cases.indexOf("other")}return-1===v?null:v}(c,S);if(Ei(c,v)!==F&&(cm(s,c,v),v[c.currentCaseLViewIndex]=null===F?null:~F,null!==F)){const ce=v[c.anchorIdx];ce&&$a(s,c.create[F],v,ce)}}function cm(s,c,v){let S=Ei(c,v);if(null!==S){const F=c.remove[S];for(let G=0;G<F.length;G++){const ce=F[G];if(ce>0){const Le=cr(ce,v);null!==Le&&Lh(v[11],Le)}else cm(s,Ro(s,~ce),v)}}}function v1(){const s=[];let v,S,c=-1;function G(Le,Ze){c=0;const ut=Ei(Le,Ze);S=null!==ut?Le.remove[ut]:Ft}function ce(){if(c<S.length){const Le=S[c++];if(Le>0)return v[Le];{s.push(c,S);const Ze=~Le;return G(v[1].data[Ze],v),ce()}}return 0===s.length?null:(S=s.pop(),c=s.pop(),ce())}return function F(Le,Ze){for(v=Ze;s.length;)s.pop();return G(Le.value,Ze),ce}}const To=/\ufffd(\d+):?\d*\ufffd/gi,b1=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,X3=/\ufffd(\d+)\ufffd/,No=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,ac=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,Oc=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,y1=/\uE500/g;function K2(s,c,v,S,F,G){const ce=Uo(),Le=[],Ze=[],ut=[[]];F=function nf(s,c){if(function $3(s){return-1===s}(c))return nl(s);{const v=s.indexOf(`:${c}\ufffd`)+2+c.toString().length,S=s.search(new RegExp(`\ufffd\\/\\*\\d+:${c}\ufffd`));return nl(s.substring(v,S))}}(F,G);const It=function Bl(s){return s.replace(y1," ")}(F).split(Oc);for(let jt=0;jt<It.length;jt++){let fi=It[jt];if(0==(1&jt)){const Mi=kc(fi);for(let Bi=0;Bi<Mi.length;Bi++){let rn=Mi[Bi];if(0==(1&Bi)){const mn=rn;""!==mn&&Dd(s,ce,ut[0],Le,Ze,v,mn)}else{const mn=rn;if("object"!=typeof mn)throw new Error(`Unable to parse ICU expression in "${F}" message.`);af(s,v,Ze,c,mn,G2(s,ce,ut[0],v,Le,"",!0).index)}}}else{const Mi=47===fi.charCodeAt(0),rn=(fi.charCodeAt(Mi?1:0),22+Number.parseInt(fi.substring(Mi?2:1)));if(Mi)ut.shift(),Ar(Uo(),!1);else{const mn=U2(s,ut[0],rn);ut.unshift([]),Ar(mn,!0)}}}s.data[S]={create:Le,update:Ze}}function G2(s,c,v,S,F,G,ce){const Le=Jo(s,S,1,null);let Ze=Le<<hs.SHIFT,ut=Uo();c===ut&&(ut=null),null===ut&&(Ze|=hs.APPEND_EAGERLY),ce&&(Ze|=hs.COMMENT,function Dh(s){void 0===Gu&&(Gu=s())}(v1)),F.push(Ze,null===G?"":G);const It=Za(s,Le,ce?32:1,null===G?"":G,null);ef(v,It);const jt=It.index;return Ar(It,!1),null!==ut&&c!==ut&&function Cr(s,c){let v=s.insertBeforeIndex;null===v?(ju(Pl,$p),v=s.insertBeforeIndex=[null,c]):(o(Array.isArray(v),!0,"Expecting array here"),v.push(c))}(ut,jt),It}function Dd(s,c,v,S,F,G,ce){const Le=ce.match(To),Ze=G2(s,c,v,G,S,Le?null:ce,!1);Le&&Sc(F,ce,Ze.index,null,0,null)}function Sc(s,c,v,S,F,G){const ce=s.length,Le=ce+1;s.push(null,null);const Ze=ce+2,ut=c.split(To);let It=0;for(let jt=0;jt<ut.length;jt++){const fi=ut[jt];if(1&jt){const Mi=F+parseInt(fi,10);s.push(-1-Mi),It|=tf(Mi)}else""!==fi&&s.push(fi)}return s.push(v<<2|(S?1:0)),S&&s.push(S,G),s[ce]=It,s[Le]=s.length-Ze,It}function J3(s){let c=0;for(let v=0;v<s.length;v++){const S=s[v];"number"==typeof S&&S<0&&c++}return c}function tf(s){return 1<<Math.min(s,31)}function nl(s){let c,G,v="",S=0,F=!1;for(;null!==(c=ac.exec(s));)F?c[0]===`\ufffd/*${G}\ufffd`&&(S=c.index,F=!1):(v+=s.substring(S,c.index+c[0].length),G=c[1],F=!0);return v+=s.slice(S),v}function af(s,c,v,S,F,G){let ce=0;const Le={type:F.type,currentCaseLViewIndex:Jo(s,c,1,null),anchorIdx:G,cases:[],create:[],remove:[],update:[]};(function kr(s,c,v){s.push(tf(c.mainBinding),2,-1-c.mainBinding,v<<2|2)})(v,F,G),function Cd(s,c,v){const S=s.data[c];null===S?s.data[c]=v:S.value=v}(s,G,Le);const Ze=F.values;for(let ut=0;ut<Ze.length;ut++){const It=Ze[ut],jt=[];for(let fi=0;fi<It.length;fi++){const Mi=It[fi];if("string"!=typeof Mi){const Bi=jt.push(Mi)-1;It[fi]=`\x3c!--\ufffd${Bi}\ufffd--\x3e`}}ce=Nl(s,Le,c,v,S,F.cases[ut],It.join(""),jt)|ce}ce&&function t4(s,c,v){s.push(c,1,v<<2|3)}(v,ce,G)}function lm(s){const c=[],v=[];let S=1,F=0;const G=kc(s=s.replace(No,function(ce,Le,Ze){return S="select"===Ze?0:1,F=parseInt(Le.slice(1),10),""}));for(let ce=0;ce<G.length;){let Le=G[ce++].trim();1===S&&(Le=Le.replace(/\s*(?:=)?(\w+)\s*/,"$1")),Le.length&&c.push(Le);const Ze=kc(G[ce++]);c.length>v.length&&v.push(Ze)}return{type:S,mainBinding:F,cases:c,values:v}}function kc(s){if(!s)return[];let c=0;const v=[],S=[],F=/[{}]/g;let G;for(F.lastIndex=0;G=F.exec(s);){const Le=G.index;if("}"==G[0]){if(v.pop(),0==v.length){const Ze=s.substring(c,Le);No.test(Ze)?S.push(lm(Ze)):S.push(Ze),c=Le+1}}else{if(0==v.length){const Ze=s.substring(c,Le);S.push(Ze),c=Le+1}v.push("{")}}const ce=s.substring(c);return S.push(ce),S}function Nl(s,c,v,S,F,G,ce,Le){const Ze=[],ut=[],It=[];c.cases.push(G),c.create.push(Ze),c.remove.push(ut),c.update.push(It);const fi=c0(t0()).getInertBodyElement(ce),Mi=Uh(fi)||fi;return Mi?C1(s,c,v,S,Ze,ut,It,Mi,F,Le,0):0}function C1(s,c,v,S,F,G,ce,Le,Ze,ut,It){let jt=0,fi=Le.firstChild;for(;fi;){const Mi=Jo(s,v,1,null);switch(fi.nodeType){case Node.ELEMENT_NODE:const Bi=fi,rn=Bi.tagName.toLowerCase();if(Fh.hasOwnProperty(rn)){wr(F,rm,rn,Ze,Mi),s.data[Mi]=rn;const Yi=Bi.attributes;for(let ea=0;ea<Yi.length;ea++){const jr=Yi.item(ea),vo=jr.name.toLowerCase();jr.value.match(To)?zh.hasOwnProperty(vo)&&(m2[vo]?Sc(ce,jr.value,Mi,jr.name,0,h2):Sc(ce,jr.value,Mi,jr.name,0,null)):dm(F,Mi,jr)}jt=C1(s,c,v,S,F,G,ce,fi,Mi,ut,It+1)|jt,e4(G,Mi,It)}break;case Node.TEXT_NODE:const mn=fi.textContent||"",Cn=mn.match(To);wr(F,null,Cn?"":mn,Ze,Mi),e4(G,Mi,It),Cn&&(jt=Sc(ce,mn,Mi,null,0,null)|jt);break;case Node.COMMENT_NODE:const zn=X3.exec(fi.textContent||"");if(zn){const ea=ut[parseInt(zn[1],10)];wr(F,om,"",Ze,Mi),af(s,v,S,Ze,ea,Mi),Fo(G,Mi,It)}}fi=fi.nextSibling}return jt}function e4(s,c,v){0===v&&s.push(c)}function Fo(s,c,v){0===v&&(s.push(~c),s.push(c))}function wr(s,c,v,S,F){null!==c&&s.push(c),s.push(v,F,function g1(s,c,v){return s|c<<17|v<<1}(0,S,F))}function dm(s,c,v){s.push(c<<1|1,v.name,v.value)}const ug=/\[(\ufffd.+?\ufffd?)\]/,rf=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,sf=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,cf=/{([A-Z0-9_]+)}/g,w1=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,vu=/\/\*/,Z2=/\d+\:(\d+)/;function M1(s,c,v=-1){const S=Wn(),F=Pi(),G=22+s,ce=Hi(S.consts,c),Le=Uo();S.firstCreatePass&&K2(S,null===Le?0:Le.index,F,G,ce,v);const Ze=S.data[G],It=Zu(S,Le===F[6]?null:Le,F),jt=Le&&8&Le.type?F[Le.index]:null;(function q3(s,c,v,S){const F=s[11];for(let G=0;G<c.length;G++){const ce=c[G++],Le=c[G],Ze=(ce&hs.COMMENT)===hs.COMMENT,ut=(ce&hs.APPEND_EAGERLY)===hs.APPEND_EAGERLY,It=ce>>>hs.SHIFT;let jt=s[It];null===jt&&(jt=s[It]=Ze?F.createComment(Le):n2(F,Le)),ut&&null!==v&&gl(F,v,jt,S,!1)}})(F,Ze.create,It,jt),rs(!0)}function rl(){rs(!1)}function go(s,c,v){M1(s,c,v),rl()}function rc(s,c){const v=Wn();!function x1(s,c,v){const F=za().index,G=[];if(s.firstCreatePass&&null===s.data[c]){for(let ce=0;ce<v.length;ce+=2){const Le=v[ce],Ze=v[ce+1];if(""!==Ze){if(b1.test(Ze))throw new Error(`ICU expressions are not supported in attributes. Message: "${Ze}".`);Sc(G,Ze,F,Le,J3(G),null)}}s.data[c]=G}}(v,s+22,Hi(v.consts,c))}function E1(s){return function V2(s){s&&(tl|=1<<Math.min(Ba,31)),Ba++}($o(Pi(),ns(),s)),E1}function Td(s){!function sm(s,c,v){if(Ba>0){const S=s.data[v];fo(s,c,Array.isArray(S)?S:S.update,Ri()-Ba-1,tl)}tl=0,Ba=0}(Wn(),Pi(),s+22)}function Y2(s,c={}){return function bu(s,c={}){let v=s;if(ug.test(s)){const S={},F=[0];v=v.replace(rf,(G,ce,Le)=>{const Ze=ce||Le,ut=S[Ze]||[];if(ut.length||(Ze.split("|").forEach(rn=>{const mn=rn.match(Z2),Cn=mn?parseInt(mn[1],10):0,zn=vu.test(rn);ut.push([Cn,zn,rn])}),S[Ze]=ut),!ut.length)throw new Error(`i18n postprocess: unmatched placeholder - ${Ze}`);const It=F[F.length-1];let jt=0;for(let rn=0;rn<ut.length;rn++)if(ut[rn][0]===It){jt=rn;break}const[fi,Mi,Bi]=ut[jt];return Mi?F.pop():It!==fi&&F.push(fi),ut.splice(jt,1),Bi})}return Object.keys(c).length&&(v=v.replace(sf,(S,F,G,ce,Le,Ze)=>c.hasOwnProperty(G)?`${F}${c[G]}${Ze}`:S),v=v.replace(cf,(S,F)=>c.hasOwnProperty(F)?c[F]:S),v=v.replace(w1,(S,F)=>{if(c.hasOwnProperty(F)){const G=c[F];if(!G.length)throw new Error(`i18n postprocess: unmatched ICU - ${S} with key: ${F}`);return G.shift()}return S})),v}(s,c)}function Fl(s,c,v,S,F){if(s=k(s),Array.isArray(s))for(let G=0;G<s.length;G++)Fl(s[G],c,v,S,F);else{const G=Wn(),ce=Pi();let Le=Mc(s)?s:k(s.provide),Ze=jh(s);const ut=za(),It=1048575&ut.providerIndexes,jt=ut.directiveStart,fi=ut.providerIndexes>>20;if(Mc(s)||!s.multi){const Mi=new Ht(Ze,F,Fs),Bi=Ad(Le,c,F?It:It+fi,jt);-1===Bi?(Zs(Gl(ut,ce),G,Le),D1(G,s,c.length),c.push(Le),ut.directiveStart++,ut.directiveEnd++,F&&(ut.providerIndexes+=1048576),v.push(Mi),ce.push(Mi)):(v[Bi]=Mi,ce[Bi]=Mi)}else{const Mi=Ad(Le,c,It+fi,jt),Bi=Ad(Le,c,It,It+fi),rn=Mi>=0&&v[Mi],mn=Bi>=0&&v[Bi];if(F&&!mn||!F&&!rn){Zs(Gl(ut,ce),G,Le);const Cn=function A1(s,c,v,S,F){const G=new Ht(s,v,Fs);return G.multi=[],G.index=c,G.componentProviders=0,zl(G,F,S&&!v),G}(F?j2:Q2,v.length,F,S,Ze);!F&&mn&&(v[Bi].providerFactory=Cn),D1(G,s,c.length,0),c.push(Le),ut.directiveStart++,ut.directiveEnd++,F&&(ut.providerIndexes+=1048576),v.push(Cn),ce.push(Cn)}else{D1(G,s,Mi>-1?Mi:Bi,zl(v[F?Bi:Mi],Ze,!F&&S))}!F&&S&&mn&&v[Bi].componentProviders++}}}function D1(s,c,v,S){const F=Mc(c),G=function C0(s){return!!s.useClass}(c);if(F||G){const Ze=(G?k(c.useClass):c).prototype.ngOnDestroy;if(Ze){const ut=s.destroyHooks||(s.destroyHooks=[]);if(!F&&c.multi){const It=ut.indexOf(v);-1===It?ut.push(v,[S,Ze]):ut[It+1].push(S,Ze)}else ut.push(v,Ze)}}}function zl(s,c,v){return v&&s.componentProviders++,s.multi.push(c)-1}function Ad(s,c,v,S){for(let F=v;F<S;F++)if(c[F]===s)return F;return-1}function Q2(s,c,v,S){return T1(this.multi,[])}function j2(s,c,v,S){const F=this.multi;let G;if(this.providerFactory){const ce=this.providerFactory.componentProviders,Le=pc(v,v[1],this.providerFactory.index,S);G=Le.slice(0,ce),T1(F,G);for(let Ze=ce;Ze<Le.length;Ze++)G.push(Le[Ze])}else G=[],T1(F,G);return G}function T1(s,c){for(let v=0;v<s.length;v++){const S=s[v];c.push(S())}return c}function i4(s,c=[]){return v=>{v.providersResolver=(S,F)=>function yu(s,c,v){const S=Wn();if(S.firstCreatePass){const F=Zn(s);Fl(v,S.data,S.blueprint,F,!0),Fl(c,S.data,S.blueprint,F,!1)}}(S,F?F(s):s,c)}}class ol{}class q2{}function xu(s,c){return new lf(s,c??null)}class lf extends ol{constructor(c,v){super(),this._parent=v,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new _p(this);const S=be(c);this._bootstrapComponents=tc(S.bootstrap),this._r3Injector=B0(c,v,[{provide:ol,useValue:this},{provide:fa,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(v=>v()),this.destroyCbs=null}onDestroy(c){this.destroyCbs.push(c)}}class hm extends q2{constructor(c){super(),this.moduleType=c}create(c){return new lf(this.moduleType,c)}}class wu extends ol{constructor(c,v,S){super(),this.componentFactoryResolver=new _p(this),this.instance=null;const F=new Yh([...c,{provide:ol,useValue:this},{provide:fa,useValue:this.componentFactoryResolver}],v||$d(),S,new Set(["environment"]));this.injector=F,F.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(c){this.injector.onDestroy(c)}}function I1(s,c,v=null){return new wu(s,c,v).injector}class Hl{constructor(c){this._injector=c,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(c){if(!c.standalone)return null;if(!this.cachedInjectors.has(c.id)){const v=ld(0,c.type),S=v.length>0?I1([v],this._injector,`Standalone[${c.type.name}]`):null;this.cachedInjectors.set(c.id,S)}return this.cachedInjectors.get(c.id)}ngOnDestroy(){try{for(const c of this.cachedInjectors.values())null!==c&&c.destroy()}finally{this.cachedInjectors.clear()}}}function X2(s){s.getStandaloneInjector=c=>c.get(Hl).getOrCreateStandaloneInjector(s)}function fm(s,c,v,S){return Nt(()=>{const F=s;null!==c&&(F.hasOwnProperty("decorators")&&void 0!==F.decorators?F.decorators.push(...c):F.decorators=c),null!==v&&(F.ctorParameters=v),null!==S&&(F.hasOwnProperty("propDecorators")&&void 0!==F.propDecorators?F.propDecorators={...F.propDecorators,...S}:F.propDecorators=S)})}function a4(s,c,v){const S=Rn()+s,F=Pi();return F[S]===Kn?Xc(F,S,v?c.call(v):c()):mu(F,S)}function k1(s,c,v,S){return ah(Pi(),Rn(),s,c,v,S)}function ih(s,c,v,S,F){return rh(Pi(),Rn(),s,c,v,S,F)}function sl(s,c,v,S,F,G){return P1(Pi(),Rn(),s,c,v,S,F,G)}function nh(s,c,v,S,F,G,ce){return oh(Pi(),Rn(),s,c,v,S,F,G,ce)}function df(s,c,v,S,F,G,ce,Le){const Ze=Rn()+s,ut=Pi(),It=Hs(ut,Ze,v,S,F,G);return $o(ut,Ze+4,ce)||It?Xc(ut,Ze+5,Le?c.call(Le,v,S,F,G,ce):c(v,S,F,G,ce)):mu(ut,Ze+5)}function r4(s,c,v,S,F,G,ce,Le,Ze){const ut=Rn()+s,It=Pi(),jt=Hs(It,ut,v,S,F,G);return m1(It,ut+4,ce,Le)||jt?Xc(It,ut+6,Ze?c.call(Ze,v,S,F,G,ce,Le):c(v,S,F,G,ce,Le)):mu(It,ut+6)}function Du(s,c,v,S,F,G,ce,Le,Ze,ut){const It=Rn()+s,jt=Pi();let fi=Hs(jt,It,v,S,F,G);return W0(jt,It+4,ce,Le,Ze)||fi?Xc(jt,It+7,ut?c.call(ut,v,S,F,G,ce,Le,Ze):c(v,S,F,G,ce,Le,Ze)):mu(jt,It+7)}function mg(s,c,v,S,F,G,ce,Le,Ze,ut,It){const jt=Rn()+s,fi=Pi(),Mi=Hs(fi,jt,v,S,F,G);return Hs(fi,jt+4,ce,Le,Ze,ut)||Mi?Xc(fi,jt+8,It?c.call(It,v,S,F,G,ce,Le,Ze,ut):c(v,S,F,G,ce,Le,Ze,ut)):mu(fi,jt+8)}function o4(s,c,v,S){return Sd(Pi(),Rn(),s,c,v,S)}function Tu(s,c){const v=s[c];return v===Kn?void 0:v}function ah(s,c,v,S,F,G){const ce=c+v;return $o(s,ce,F)?Xc(s,ce+1,G?S.call(G,F):S(F)):Tu(s,ce+1)}function rh(s,c,v,S,F,G,ce){const Le=c+v;return m1(s,Le,F,G)?Xc(s,Le+2,ce?S.call(ce,F,G):S(F,G)):Tu(s,Le+2)}function P1(s,c,v,S,F,G,ce,Le){const Ze=c+v;return W0(s,Ze,F,G,ce)?Xc(s,Ze+3,Le?S.call(Le,F,G,ce):S(F,G,ce)):Tu(s,Ze+3)}function oh(s,c,v,S,F,G,ce,Le,Ze){const ut=c+v;return Hs(s,ut,F,G,ce,Le)?Xc(s,ut+4,Ze?S.call(Ze,F,G,ce,Le):S(F,G,ce,Le)):Tu(s,ut+4)}function Sd(s,c,v,S,F,G){let ce=c+v,Le=!1;for(let Ze=0;Ze<F.length;Ze++)$o(s,ce++,F[Ze])&&(Le=!0);return Le?Xc(s,ce,S.apply(G,F)):Tu(s,ce)}function sh(s,c){const v=Wn();let S;const F=s+22;v.firstCreatePass?(S=function ch(s,c){if(c)for(let v=c.length-1;v>=0;v--){const S=c[v];if(s===S.name)return S}}(c,v.pipeRegistry),v.data[F]=S,S.onDestroy&&(v.destroyHooks||(v.destroyHooks=[])).push(F,S.onDestroy)):S=v.data[F];const G=S.factory||(S.factory=Dr(S.type)),ce=ze(Fs);try{const Le=Go(!1),Ze=G();return Go(Le),function j4(s,c,v,S){v>=s.data.length&&(s.data[v]=null,s.blueprint[v]=null),c[v]=S}(v,Pi(),F,Ze),Ze}finally{ze(ce)}}function B1(s,c,v){const S=s+22,F=Pi(),G=aa(F,S);return Iu(F,S)?ah(F,Rn(),c,G.transform,v,G):G.transform(v)}function N1(s,c,v,S){const F=s+22,G=Pi(),ce=aa(G,F);return Iu(G,F)?rh(G,Rn(),c,ce.transform,v,S,ce):ce.transform(v,S)}function lh(s,c,v,S,F){const G=s+22,ce=Pi(),Le=aa(ce,G);return Iu(ce,G)?P1(ce,Rn(),c,Le.transform,v,S,F,Le):Le.transform(v,S,F)}function Au(s,c,v,S,F,G){const ce=s+22,Le=Pi(),Ze=aa(Le,ce);return Iu(Le,ce)?oh(Le,Rn(),c,Ze.transform,v,S,F,G,Ze):Ze.transform(v,S,F,G)}function dh(s,c,v){const S=s+22,F=Pi(),G=aa(F,S);return Iu(F,S)?Sd(F,Rn(),c,G.transform,v,G):G.transform.apply(G,v)}function Iu(s,c){return s[1].data[c].pure}Hl.\u0275prov=Xe({token:Hl,providedIn:"environment",factory:()=>new Hl(Zt(El))});class F1 extends e.x{constructor(c=!1){super(),this.__isAsync=c}emit(c){super.next(c)}subscribe(c,v,S){let F=c,G=v||(()=>null),ce=S;if(c&&"object"==typeof c){const Ze=c;F=Ze.next?.bind(Ze),G=Ze.error?.bind(Ze),ce=Ze.complete?.bind(Ze)}this.__isAsync&&(G=s4(G),F&&(F=s4(F)),ce&&(ce=s4(ce)));const Le=super.subscribe({next:F,error:G,complete:ce});return c instanceof t.w0&&c.add(Le),Le}}function s4(s){return c=>{setTimeout(s,void 0,c)}}const d=F1;function a(){return this._results[Sl()]()}class n{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 v=Sl(),S=n.prototype;S[v]||(S[v]=a)}get changes(){return this._changes||(this._changes=new d)}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,v){return this._results.reduce(c,v)}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,v){const S=this;S.dirty=!1;const F=Ui(c);(this._changesDetected=!function xi(s,c,v){if(s.length!==c.length)return!1;for(let S=0;S<s.length;S++){let F=s[S],G=c[S];if(v&&(F=v(F),G=v(G)),G!==F)return!1}return!0}(S._results,F,v))&&(S._results=F,S.length=F.length,S.last=F[this.length-1],S.first=F[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class y{}y.__NG_ELEMENT_ID__=function de(){return Ie(za(),Pi())};const B=y,q=class extends B{constructor(c,v,S){super(),this._declarationLView=c,this._declarationTContainer=v,this.elementRef=S}createEmbeddedView(c,v){const S=this._declarationTContainer.tViews,F=Sn(this._declarationLView,S,c,16,null,S.declTNode,null,null,null,null,v||null),G=this._declarationLView[this._declarationTContainer.index];F[17]=G;const ce=this._declarationLView[19];return null!==ce&&(F[19]=ce.createEmbeddedView(S)),Po(S,F,c),new L2(F)}};function Ie(s,c){return 4&s.type?new q(c,s,ec(s,c)):null}class ht{}ht.__NG_ELEMENT_ID__=function yt(){return Si(za(),Pi())};const Tt=ht,ei=class extends Tt{constructor(c,v,S){super(),this._lContainer=c,this._hostTNode=v,this._hostLView=S}get element(){return ec(this._hostTNode,this._hostLView)}get injector(){return new Yo(this._hostTNode,this._hostLView)}get parentInjector(){const c=Gs(this._hostTNode,this._hostLView);if(_r(c)){const v=Kr(c,this._hostLView),S=Ha(c),F=v[1].data[S+8];return new Yo(F,v)}return new Yo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(c){const v=zt(this._lContainer);return null!==v&&v[c]||null}get length(){return this._lContainer.length-10}createEmbeddedView(c,v,S){let F,G;"number"==typeof S?F=S:null!=S&&(F=S.index,G=S.injector);const ce=c.createEmbeddedView(v||{},G);return this.insert(ce,F),ce}createComponent(c,v,S,F,G){const ce=c&&!Qt(c);let Le;if(ce)Le=v;else{const jt=v||{};Le=jt.index,S=jt.injector,F=jt.projectableNodes,G=jt.environmentInjector||jt.ngModuleRef}const Ze=ce?c:new hu(Oi(c)),ut=S||this.parentInjector;if(!G&&null==Ze.ngModule){const fi=(ce?ut:this.parentInjector).get(El,null);fi&&(G=fi)}const It=Ze.create(ut,F,void 0,G);return this.insert(It.hostView,Le),It}insert(c,v){const S=c._lView,F=S[1];if(function bi(s){return Va(s[3])}(S)){const It=this.indexOf(c);if(-1!==It)this.detach(It);else{const jt=S[3],fi=new ei(jt,jt[6],jt[3]);fi.detach(fi.indexOf(c))}}const G=this._adjustIndex(v),ce=this._lContainer;Cf(F,S,ce,G);const Le=c2(G,ce),Ze=S[11],ut=s2(Ze,ce[7]);return null!==ut&&function bf(s,c,v,S,F,G){S[0]=F,S[6]=c,Zd(s,S,v,1,F,G)}(F,ce[6],Ze,S,ut,Le),c.attachToViewContainerRef(),pn(vi(ce),G,c),c}move(c,v){return this.insert(c,v)}indexOf(c){const v=zt(this._lContainer);return null!==v?v.indexOf(c):-1}remove(c){const v=this._adjustIndex(c,-1),S=Ah(this._lContainer,v);S&&(En(vi(this._lContainer),v),r2(S[1],S))}detach(c){const v=this._adjustIndex(c,-1),S=Ah(this._lContainer,v);return S&&null!=En(vi(this._lContainer),v)?new L2(S):null}_adjustIndex(c,v=0){return c??this.length+v}};function zt(s){return s[8]}function vi(s){return s[8]||(s[8]=[])}function Si(s,c){let v;const S=c[s.index];if(Va(S))v=S;else{let F;if(8&s.type)F=qn(S);else{const G=c[11];F=G.createComment("");const ce=xa(s,c);gl(G,s2(G,ce),F,function Yu(s,c){return s.nextSibling(c)}(G,ce),!1)}c[s.index]=v=I2(S,c,F,s),N0(c,v)}return new ei(v,s,c)}class qi{constructor(c){this.queryList=c,this.matches=null}clone(){return new qi(this.queryList)}setDirty(){this.queryList.setDirty()}}class gi{constructor(c=[]){this.queries=c}createEmbeddedView(c){const v=c.queries;if(null!==v){const S=null!==c.contentQueries?c.contentQueries[0]:v.length,F=[];for(let G=0;G<S;G++){const ce=v.getByIndex(G),Le=this.queries[ce.indexInDeclarationView];F.push(Le.clone())}return new gi(F)}return null}insertView(c){this.dirtyQueriesWithMatches(c)}detachView(c){this.dirtyQueriesWithMatches(c)}dirtyQueriesWithMatches(c){for(let v=0;v<this.queries.length;v++)null!==ao(c,v).matches&&this.queries[v].setDirty()}}class Xi{constructor(c,v,S=null){this.predicate=c,this.flags=v,this.read=S}}class nn{constructor(c=[]){this.queries=c}elementStart(c,v){for(let S=0;S<this.queries.length;S++)this.queries[S].elementStart(c,v)}elementEnd(c){for(let v=0;v<this.queries.length;v++)this.queries[v].elementEnd(c)}embeddedTView(c){let v=null;for(let S=0;S<this.length;S++){const F=null!==v?v.length:0,G=this.getByIndex(S).embeddedTView(c,F);G&&(G.indexInDeclarationView=S,null!==v?v.push(G):v=[G])}return null!==v?new nn(v):null}template(c,v){for(let S=0;S<this.queries.length;S++)this.queries[S].template(c,v)}getByIndex(c){return this.queries[c]}get length(){return this.queries.length}track(c){this.queries.push(c)}}class en{constructor(c,v=-1){this.metadata=c,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=v}elementStart(c,v){this.isApplyingToNode(v)&&this.matchTNode(c,v)}elementEnd(c){this._declarationNodeIndex===c.index&&(this._appliesToNextNode=!1)}template(c,v){this.elementStart(c,v)}embeddedTView(c,v){return this.isApplyingToNode(c)?(this.crossesNgTemplate=!0,this.addMatch(-c.index,v),new en(this.metadata)):null}isApplyingToNode(c){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const v=this._declarationNodeIndex;let S=c.parent;for(;null!==S&&8&S.type&&S.index!==v;)S=S.parent;return v===(null!==S?S.index:-1)}return this._appliesToNextNode}matchTNode(c,v){const S=this.metadata.predicate;if(Array.isArray(S))for(let F=0;F<S.length;F++){const G=S[F];this.matchTNodeWithReadOption(c,v,fn(v,G)),this.matchTNodeWithReadOption(c,v,mc(v,c,G,!1,!1))}else S===y?4&v.type&&this.matchTNodeWithReadOption(c,v,-1):this.matchTNodeWithReadOption(c,v,mc(v,c,S,!1,!1))}matchTNodeWithReadOption(c,v,S){if(null!==S){const F=this.metadata.read;if(null!==F)if(F===Co||F===ht||F===y&&4&v.type)this.addMatch(v.index,-2);else{const G=mc(v,c,F,!1,!1);null!==G&&this.addMatch(v.index,G)}else this.addMatch(v.index,S)}}addMatch(c,v){null===this.matches?this.matches=[c,v]:this.matches.push(c,v)}}function fn(s,c){const v=s.localNames;if(null!==v)for(let S=0;S<v.length;S+=2)if(v[S]===c)return v[S+1];return null}function dn(s,c,v,S){return-1===v?function bn(s,c){return 11&s.type?ec(s,c):4&s.type?Ie(s,c):null}(c,s):-2===v?function Sa(s,c,v){if(v===Co)return ec(c,s);if(v===y)return Ie(c,s);if(v===ht)return Si(c,s)}(s,c,S):pc(s,s[1],v,c)}function ua(s,c,v,S){const F=c[19].queries[S];if(null===F.matches){const G=s.data,ce=v.matches,Le=[];for(let Ze=0;Ze<ce.length;Ze+=2){const ut=ce[Ze];if(ut<0)Le.push(null);else{const It=G[ut];Le.push(dn(c,It,ce[Ze+1],v.metadata.read))}}F.matches=Le}return F.matches}function Ya(s,c,v,S){const F=s.queries.getByIndex(v),G=F.matches;if(null!==G){const ce=ua(s,c,F,v);for(let Le=0;Le<G.length;Le+=2){const Ze=G[Le];if(Ze>0)S.push(ce[Le/2]);else{const ut=G[Le+1],It=c[-Ze];for(let jt=10;jt<It.length;jt++){const fi=It[jt];fi[17]===fi[3]&&Ya(fi[1],fi,ut,S)}if(null!==It[9]){const jt=It[9];for(let fi=0;fi<jt.length;fi++){const Mi=jt[fi];Ya(Mi[1],Mi,ut,S)}}}}}return S}function wa(s){const c=Pi(),v=Wn(),S=_s();Ws(S+1);const F=ao(v,S);if(s.dirty&&function je(s){return 4==(4&s[2])}(c)===(2==(2&F.metadata.flags))){if(null===F.matches)s.reset([]);else{const G=F.crossesNgTemplate?Ya(v,c,S,[]):ua(v,c,F,S);s.reset(G,wo),s.notifyOnChanges()}return!0}return!1}function yn(s,c,v){const S=Wn();S.firstCreatePass&&(Na(S,new Xi(s,c,v),-1),2==(2&c)&&(S.staticViewQueries=!0)),Qr(S,Pi(),c)}function Dn(s,c,v,S){const F=Wn();if(F.firstCreatePass){const G=za();Na(F,new Xi(c,v,S),G.index),function Ua(s,c){const v=s.contentQueries||(s.contentQueries=[]),S=v.length?v[v.length-1]:-1;c!==S&&v.push(s.queries.length-1,c)}(F,s),2==(2&v)&&(F.staticContentQueries=!0)}Qr(F,Pi(),v)}function Mn(){return function Da(s,c){return s[19].queries[c].queryList}(Pi(),_s())}function Qr(s,c,v){const S=new n(4==(4&v));Af(s,c,S,S.destroy),null===c[19]&&(c[19]=new gi),c[19].queries.push(new qi(S))}function Na(s,c,v){null===s.queries&&(s.queries=new nn),s.queries.track(new en(c,v))}function ao(s,c){return s.queries.getByIndex(c)}function Ma(s,c){return Ie(s,c)}const ma={\u0275\u0275attribute:zr,\u0275\u0275attributeInterpolate1:Cp,\u0275\u0275attributeInterpolate2:qf,\u0275\u0275attributeInterpolate3:Xf,\u0275\u0275attributeInterpolate4:Jf,\u0275\u0275attributeInterpolate5:wp,\u0275\u0275attributeInterpolate6:$f,\u0275\u0275attributeInterpolate7:e3,\u0275\u0275attributeInterpolate8:Sr,\u0275\u0275attributeInterpolateV:t3,\u0275\u0275defineComponent:Ai,\u0275\u0275defineDirective:Xt,\u0275\u0275defineInjectable:Xe,\u0275\u0275defineInjector:Ke,\u0275\u0275defineNgModule:Qe,\u0275\u0275definePipe:_i,\u0275\u0275directiveInject:Fs,\u0275\u0275getInheritedFactory:W1,\u0275\u0275inject:Zt,\u0275\u0275injectAttribute:Yl,\u0275\u0275invalidFactory:Dc,\u0275\u0275invalidFactoryDep:mi,\u0275\u0275templateRefExtractor:Ma,\u0275\u0275resetView:sc,\u0275\u0275HostDirectivesFeature:W4,\u0275\u0275NgOnChangesFeature:ho,\u0275\u0275ProvidersFeature:i4,\u0275\u0275CopyDefinitionFeature:Yf,\u0275\u0275InheritDefinitionFeature:gp,\u0275\u0275StandaloneFeature:X2,\u0275\u0275nextContext:Q0,\u0275\u0275namespaceHTML:$r,\u0275\u0275namespaceMathML:ss,\u0275\u0275namespaceSVG:Ko,\u0275\u0275enableBindings:In,\u0275\u0275disableBindings:pr,\u0275\u0275elementStart:G0,\u0275\u0275elementEnd:B2,\u0275\u0275element:Ep,\u0275\u0275elementContainerStart:Z0,\u0275\u0275elementContainerEnd:Y0,\u0275\u0275elementContainer:Dp,\u0275\u0275pureFunction0:a4,\u0275\u0275pureFunction1:k1,\u0275\u0275pureFunction2:ih,\u0275\u0275pureFunction3:sl,\u0275\u0275pureFunction4:nh,\u0275\u0275pureFunction5:df,\u0275\u0275pureFunction6:r4,\u0275\u0275pureFunction7:Du,\u0275\u0275pureFunction8:mg,\u0275\u0275pureFunctionV:o4,\u0275\u0275getCurrentView:a3,\u0275\u0275restoreView:ts,\u0275\u0275listener:Ip,\u0275\u0275projection:Op,\u0275\u0275syntheticHostProperty:jp,\u0275\u0275syntheticHostListener:Lp,\u0275\u0275pipeBind1:B1,\u0275\u0275pipeBind2:N1,\u0275\u0275pipeBind3:lh,\u0275\u0275pipeBind4:Au,\u0275\u0275pipeBindV:dh,\u0275\u0275projectionDef:d3,\u0275\u0275hostProperty:nm,\u0275\u0275property:Mp,\u0275\u0275propertyInterpolate:j0,\u0275\u0275propertyInterpolate1:q0,\u0275\u0275propertyInterpolate2:Sp,\u0275\u0275propertyInterpolate3:kp,\u0275\u0275propertyInterpolate4:h3,\u0275\u0275propertyInterpolate5:u3,\u0275\u0275propertyInterpolate6:Pp,\u0275\u0275propertyInterpolate7:m3,\u0275\u0275propertyInterpolate8:p3,\u0275\u0275propertyInterpolateV:f3,\u0275\u0275pipe:sh,\u0275\u0275queryRefresh:wa,\u0275\u0275viewQuery:yn,\u0275\u0275loadQuery:Mn,\u0275\u0275contentQuery:Dn,\u0275\u0275reference:n3,\u0275\u0275classMap:M3,\u0275\u0275classMapInterpolate1:P3,\u0275\u0275classMapInterpolate2:p_,\u0275\u0275classMapInterpolate3:R3,\u0275\u0275classMapInterpolate4:f_,\u0275\u0275classMapInterpolate5:__,\u0275\u0275classMapInterpolate6:B3,\u0275\u0275classMapInterpolate7:g_,\u0275\u0275classMapInterpolate8:v_,\u0275\u0275classMapInterpolateV:b_,\u0275\u0275styleMap:$c,\u0275\u0275styleMapInterpolate1:y_,\u0275\u0275styleMapInterpolate2:N3,\u0275\u0275styleMapInterpolate3:x_,\u0275\u0275styleMapInterpolate4:C_,\u0275\u0275styleMapInterpolate5:F3,\u0275\u0275styleMapInterpolate6:w_,\u0275\u0275styleMapInterpolate7:M_,\u0275\u0275styleMapInterpolate8:E_,\u0275\u0275styleMapInterpolateV:D_,\u0275\u0275styleProp:zp,\u0275\u0275stylePropInterpolate1:z3,\u0275\u0275stylePropInterpolate2:Yp,\u0275\u0275stylePropInterpolate3:H3,\u0275\u0275stylePropInterpolate4:U3,\u0275\u0275stylePropInterpolate5:V3,\u0275\u0275stylePropInterpolate6:Qp,\u0275\u0275stylePropInterpolate7:W3,\u0275\u0275stylePropInterpolate8:K3,\u0275\u0275stylePropInterpolateV:G3,\u0275\u0275classProp:Hp,\u0275\u0275advance:s1,\u0275\u0275template:i3,\u0275\u0275text:L3,\u0275\u0275textInterpolate:em,\u0275\u0275textInterpolate1:tm,\u0275\u0275textInterpolate2:im,\u0275\u0275textInterpolate3:Wp,\u0275\u0275textInterpolate4:Kp,\u0275\u0275textInterpolate5:Gp,\u0275\u0275textInterpolate6:O3,\u0275\u0275textInterpolate7:S3,\u0275\u0275textInterpolate8:Zp,\u0275\u0275textInterpolateV:k3,\u0275\u0275i18n:go,\u0275\u0275i18nAttributes:rc,\u0275\u0275i18nExp:E1,\u0275\u0275i18nStart:M1,\u0275\u0275i18nEnd:rl,\u0275\u0275i18nApply:Td,\u0275\u0275i18nPostprocess:Y2,\u0275\u0275resolveWindow:C2,\u0275\u0275resolveDocument:Tf,\u0275\u0275resolveBody:n1,\u0275\u0275setComponentScope:wi,\u0275\u0275setNgModuleScope:Fe,\u0275\u0275registerNgModuleType:Js,\u0275\u0275sanitizeHtml:Vh,\u0275\u0275sanitizeStyle:sd,\u0275\u0275sanitizeResourceUrl:b0,\u0275\u0275sanitizeScript:f2,\u0275\u0275sanitizeUrl:v0,\u0275\u0275sanitizeUrlOrResourceUrl:qm,\u0275\u0275trustConstantHtml:Qm,\u0275\u0275trustConstantResourceUrl:jm,\u0275\u0275validateIframeAttribute:Rm,forwardRef:D,resolveForwardRef:k};let ka=null;function Ms(s){return void 0!==s.ngModule}function ro(s){return!!be(s)}const oc=[];let Vn=!1;function tn(s){return Array.isArray(s)?s.every(tn):!!k(s)}function Hr(s,c={}){(function er(s,c,v=!1){const S=Ui(c.declarations||Ft);let F=null;Object.defineProperty(s,ct,{configurable:!0,get:()=>(null===F&&(F=lt().compileNgModule(ma,`ng:///${s.name}/\u0275mod.js`,{type:s,bootstrap:Ui(c.bootstrap||Ft).map(k),declarations:S.map(k),imports:Ui(c.imports||Ft).map(k).map(_g),exports:Ui(c.exports||Ft).map(k).map(_g),schemas:c.schemas?Ui(c.schemas):null,id:c.id||null}),F.schemas||(F.schemas=[])),F)});let G=null;Object.defineProperty(s,_t,{get:()=>{if(null===G){const Le=lt();G=Le.compileFactory(ma,`ng:///${s.name}/\u0275fac.js`,{name:s.name,type:s,deps:Q1(s),target:Le.FactoryTarget.NgModule,typeArgumentCount:0})}return G},configurable:!1});let ce=null;Object.defineProperty(s,we,{get:()=>{if(null===ce){const Le={name:s.name,type:s,providers:c.providers||Ft,imports:[(c.imports||Ft).map(k),(c.exports||Ft).map(k)]};ce=lt().compileInjector(ma,`ng:///${s.name}/\u0275inj.js`,Le)}return ce},configurable:!1})})(s,c),void 0!==c.id&&Js(s,c.id),function _n(s,c){oc.push({moduleType:s,ngModule:c})}(s,c)}function v6(s,c){const v=Ui(c.declarations||Ft),S=_m(s);v.forEach(F=>{if((F=k(F)).hasOwnProperty(qt)){S_(Oi(F),S)}else!F.hasOwnProperty(Te)&&!F.hasOwnProperty(me)&&(F.ngSelectorScope=s)})}function S_(s,c){s.directiveDefs=()=>Array.from(c.compilation.directives).map(v=>v.hasOwnProperty(qt)?Oi(v):ki(v)).filter(v=>!!v),s.pipeDefs=()=>Array.from(c.compilation.pipes).map(v=>Ki(v)),s.schemas=c.schemas,s.tView=null}function _m(s){if(ro(s))return function fg(s){const c=be(s,!0);if(null!==c.transitiveCompileScopes)return c.transitiveCompileScopes;const v={schemas:c.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return tc(c.imports).forEach(S=>{const F=_m(S);F.exported.directives.forEach(G=>v.compilation.directives.add(G)),F.exported.pipes.forEach(G=>v.compilation.pipes.add(G))}),tc(c.declarations).forEach(S=>{Ki(S)?v.compilation.pipes.add(S):v.compilation.directives.add(S)}),tc(c.exports).forEach(S=>{const F=S;if(ro(F)){const G=_m(F);G.exported.directives.forEach(ce=>{v.compilation.directives.add(ce),v.exported.directives.add(ce)}),G.exported.pipes.forEach(ce=>{v.compilation.pipes.add(ce),v.exported.pipes.add(ce)})}else Ki(F)?v.exported.pipes.add(F):v.exported.directives.add(F)}),c.transitiveCompileScopes=v,v}(s);if(ti(s)){if(null!==(Oi(s)||ki(s)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([s]),pipes:new Set}};if(null!==Ki(s))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set([s])}}}throw new Error(`${s.name} does not have a module def (\u0275mod property)`)}function _g(s){return Ms(s)?s.ngModule:s}let k_=0;function P_(s,c){let v=null;(function j1(s,c){Fu(c)&&(Xl.set(s,c),ml.add(s))})(s,c),B_(s,c),Object.defineProperty(s,qt,{get:()=>{if(null===v){const S=lt();if(Fu(c)){const ut=[`Component '${s.name}' is not resolved:`];throw c.templateUrl&&ut.push(` - templateUrl: ${c.templateUrl}`),c.styleUrls&&c.styleUrls.length&&ut.push(` - styleUrls: ${JSON.stringify(c.styleUrls)}`),ut.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(ut.join("\n"))}const F=function Ul(){return ka}();let G=c.preserveWhitespaces;void 0===G&&(G=null!==F&&void 0!==F.preserveWhitespaces&&F.preserveWhitespaces);let ce=c.encapsulation;void 0===ce&&(ce=null!==F&&void 0!==F.defaultEncapsulation?F.defaultEncapsulation:ri.Emulated);const Le=c.templateUrl||`ng:///${s.name}/template.html`,Ze={...vg(s,c),typeSourceSpan:S.createParseSourceSpan("Component",s.name,Le),template:c.template||"",preserveWhitespaces:G,styles:c.styles||Ft,animations:c.animations,declarations:[],changeDetection:c.changeDetection,encapsulation:ce,interpolation:c.interpolation,viewProviders:c.viewProviders||null,isStandalone:!!c.standalone};k_++;try{if(Ze.usesInheritance&&bg(s),v=S.compileComponent(ma,Le,Ze),c.standalone){const ut=Ui(c.imports||Ft),{directiveDefs:It,pipeDefs:jt}=function gg(s,c){let v=null,S=null;return{directiveDefs:()=>{if(null===v){v=[Oi(s)];const ce=new Set;for(const Le of c){const Ze=k(Le);if(!ce.has(Ze))if(ce.add(Ze),be(Ze)){const ut=_m(Ze);for(const It of ut.exported.directives){const jt=Oi(It)||ki(It);jt&&!ce.has(It)&&(ce.add(It),v.push(jt))}}else{const ut=Oi(Ze)||ki(Ze);ut&&v.push(ut)}}}return v},pipeDefs:()=>{if(null===S){S=[];const ce=new Set;for(const Le of c){const Ze=k(Le);if(!ce.has(Ze))if(ce.add(Ze),be(Ze)){const ut=_m(Ze);for(const It of ut.exported.pipes){const jt=Ki(It);jt&&!ce.has(It)&&(ce.add(It),S.push(jt))}}else{const ut=Ki(Ze);ut&&S.push(ut)}}}return S}}}(s,ut);v.directiveDefs=It,v.pipeDefs=jt,v.dependencies=()=>ut.map(k)}}finally{k_--}if(0===k_&&function ba(){if(!Vn){Vn=!0;try{for(let s=oc.length-1;s>=0;s--){const{moduleType:c,ngModule:v}=oc[s];v.declarations&&v.declarations.every(tn)&&(oc.splice(s,1),v6(c,v))}}finally{Vn=!1}}}(),function y6(s){return void 0!==s.ngSelectorScope}(s)){const ut=_m(s.ngSelectorScope);S_(v,ut)}if(c.schemas){if(!c.standalone)throw new Error(`The 'schemas' was specified for the ${ae(s)} but is only valid on a component that is standalone.`);v.schemas=c.schemas}else c.standalone&&(v.schemas=[])}return v},configurable:!1})}function c4(s,c){let v=null;B_(s,c||{}),Object.defineProperty(s,Te,{get:()=>{if(null===v){const S=R_(s,c||{});v=lt().compileDirective(ma,S.sourceMapUrl,S.metadata)}return v},configurable:!1})}function R_(s,c){const v=s&&s.name,S=`ng:///${v}/\u0275dir.js`,F=lt(),G=vg(s,c);return G.typeSourceSpan=F.createParseSourceSpan("Directive",v,S),G.usesInheritance&&bg(s),{metadata:G,sourceMapUrl:S}}function B_(s,c){let v=null;Object.defineProperty(s,_t,{get:()=>{if(null===v){const S=R_(s,c),F=lt();v=F.compileFactory(ma,`ng:///${s.name}/\u0275fac.js`,{name:S.metadata.name,type:S.metadata.type,typeArgumentCount:0,deps:Q1(s),target:F.FactoryTarget.Directive})}return v},configurable:!1})}function x6(s){return Object.getPrototypeOf(s.prototype)===Object.prototype}function vg(s,c){const v=ul(),S=v.ownPropMetadata(s);return{name:s.name,type:s,selector:void 0!==c.selector?c.selector:null,host:c.host||Pt,propMetadata:S,inputs:c.inputs||Ft,outputs:c.outputs||Ft,queries:xg(s,S,wg),lifecycle:{usesOnChanges:v.hasLifecycleHook(s,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!x6(s),exportAs:Cg(c.exportAs),providers:c.providers||null,viewQueries:xg(s,S,Mg),isStandalone:!!c.standalone,hostDirectives:c.hostDirectives?.map(F=>"function"==typeof F?{directive:F}:F)||null}}function bg(s){const c=Object.prototype;let v=Object.getPrototypeOf(s.prototype).constructor;for(;v&&v!==c;)!ki(v)&&!Oi(v)&&l4(v)&&c4(v,null),v=Object.getPrototypeOf(v)}function yg(s){return"string"==typeof s?Dg(s):k(s)}function C6(s,c){return{propertyName:s,predicate:yg(c.selector),descendants:c.descendants,first:c.first,read:c.read?c.read:null,static:!!c.static,emitDistinctChangesOnly:!!c.emitDistinctChangesOnly}}function xg(s,c,v){const S=[];for(const F in c)if(c.hasOwnProperty(F)){const G=c[F];G.forEach(ce=>{if(v(ce)){if(!ce.selector)throw new Error(`Can't construct a query for the property "${F}" of "${ae(s)}" since the query selector wasn't defined.`);if(G.some(Eg))throw new Error("Cannot combine @Input decorators with query decorators");S.push(C6(F,ce))}})}return S}function Cg(s){return void 0===s?null:Dg(s)}function wg(s){const c=s.ngMetadataName;return"ContentChild"===c||"ContentChildren"===c}function Mg(s){const c=s.ngMetadataName;return"ViewChild"===c||"ViewChildren"===c}function Eg(s){return"Input"===s.ngMetadataName}function Dg(s){return s.split(",").map(c=>c.trim())}const w6=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function l4(s){const c=ul();if(w6.some(S=>c.hasLifecycleHook(s,S)))return!0;const v=c.propMetadata(s);for(const S in v){const F=v[S];for(let G=0;G<F.length;G++){const ce=F[G],Le=ce.ngMetadataName;if(Eg(ce)||wg(ce)||Mg(ce)||"Output"===Le||"HostBinding"===Le||"HostListener"===Le)return!0}}return!1}function Tg(s,c){return{type:s,name:s.name,pipeName:c.name,pure:void 0===c.pure||c.pure,isStandalone:!!c.standalone}}const Ag=Hc("Directive",(s={})=>s,void 0,void 0,(s,c)=>c4(s,c)),Ig=Hc("Component",(s={})=>({changeDetection:ot.Default,...s}),Ag,void 0,(s,c)=>P_(s,c)),Lg=Hc("Pipe",s=>({pure:!0,...s}),void 0,void 0,(s,c)=>function M6(s,c){let v=null,S=null;Object.defineProperty(s,_t,{get:()=>{if(null===S){const F=Tg(s,c),G=lt(F.type);S=G.compileFactory(ma,`ng:///${F.name}/\u0275fac.js`,{name:F.name,type:F.type,typeArgumentCount:0,deps:Q1(s),target:G.FactoryTarget.Pipe})}return S},configurable:!1}),Object.defineProperty(s,me,{get:()=>{if(null===v){const F=Tg(s,c);v=lt(F.type).compilePipe(ma,`ng:///${F.name}/\u0275pipe.js`,F)}return v},configurable:!1})}(s,c)),Og=uo("Input",s=>({bindingPropertyName:s})),E6=uo("Output",s=>({bindingPropertyName:s})),D6=uo("HostBinding",s=>({hostPropertyName:s})),T6=uo("HostListener",(s,c)=>({eventName:s,args:c})),A6=Hc("NgModule",s=>s,void 0,void 0,(s,c)=>Hr(s,c));function d4(...s){}const Sg=new Ga("Application Initializer");class z1{constructor(c){this.appInits=c,this.resolve=d4,this.reject=d4,this.initialized=!1,this.done=!1,this.donePromise=new Promise((v,S)=>{this.resolve=v,this.reject=S})}runInitializers(){if(this.initialized)return;const c=[],v=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let S=0;S<this.appInits.length;S++){const F=this.appInits[S]();if(Tp(F))c.push(F);else if(r3(F)){const G=new Promise((ce,Le)=>{F.subscribe({complete:ce,error:Le})});c.push(G)}}Promise.all(c).then(()=>{v()}).catch(S=>{this.reject(S)}),0===c.length&&v(),this.initialized=!0}}z1.\u0275fac=function(c){return new(c||z1)(Zt(Sg,8))},z1.\u0275prov=Xe({token:z1,factory:z1.\u0275fac,providedIn:"root"});const kg=new Ga("AppId",{providedIn:"root",factory:Pg});function Pg(){return`${h4()}${h4()}${h4()}`}function h4(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Rg=new Ga("Platform Initializer"),L6=new Ga("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),N_=new Ga("appBootstrapListener"),Bg=(new Ga("Application Packages Root URL"),new Ga("AnimationModuleType"));class gm{log(c){console.log(c)}warn(c){console.warn(c)}}gm.\u0275fac=function(c){return new(c||gm)},gm.\u0275prov=Xe({token:gm,factory:gm.\u0275fac,providedIn:"platform"});const u4=new Ga("LocaleId",{providedIn:"root",factory:()=>Re(u4,ne.Optional|ne.SkipSelf)||function Ng(){return typeof $localize<"u"&&$localize.locale||z2}()}),O6=new Ga("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});new Ga("Translations"),new Ga("TranslationsFormat");var Fg;!function(s){s[s.Error=0]="Error",s[s.Warning=1]="Warning",s[s.Ignore=2]="Ignore"}(Fg||(Fg={}));class S6{constructor(c,v){this.ngModuleFactory=c,this.componentFactories=v}}class vm{compileModuleSync(c){return new hm(c)}compileModuleAsync(c){return Promise.resolve(this.compileModuleSync(c))}compileModuleAndAllComponentsSync(c){const v=this.compileModuleSync(c),F=tc(be(c).declarations).reduce((G,ce)=>{const Le=Oi(ce);return Le&&G.push(new hu(Le)),G},[]);return new S6(v,F)}compileModuleAndAllComponentsAsync(c){return Promise.resolve(this.compileModuleAndAllComponentsSync(c))}clearCache(){}clearCacheFor(c){}getModuleId(c){}}vm.\u0275fac=function(c){return new(c||vm)},vm.\u0275prov=Xe({token:vm,factory:vm.\u0275fac,providedIn:"root"});new Ga("compilerOptions");const Hg=Promise.resolve(0);function F_(s){typeof Zone>"u"?Hg.then(()=>{s&&s.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",s)}class Rc{constructor({enableLongStackTrace:c=!1,shouldCoalesceEventChangeDetection:v=!1,shouldCoalesceRunChangeDetection:S=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new d(!1),this.onMicrotaskEmpty=new d(!1),this.onStable=new d(!1),this.onError=new d(!1),typeof Zone>"u")throw new Z(908,!1);Zone.assertZonePatched();const F=this;F._nesting=0,F._outer=F._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(F._inner=F._inner.fork(new Zone.TaskTrackingZoneSpec)),c&&Zone.longStackTraceZoneSpec&&(F._inner=F._inner.fork(Zone.longStackTraceZoneSpec)),F.shouldCoalesceEventChangeDetection=!S&&v,F.shouldCoalesceRunChangeDetection=S,F.lastRequestAnimationFrameId=-1,F.nativeRequestAnimationFrame=function B6(){let s=at.requestAnimationFrame,c=at.cancelAnimationFrame;if(typeof Zone<"u"&&s&&c){const v=s[Zone.__symbol__("OriginalDelegate")];v&&(s=v);const S=c[Zone.__symbol__("OriginalDelegate")];S&&(c=S)}return{nativeRequestAnimationFrame:s,nativeCancelAnimationFrame:c}}().nativeRequestAnimationFrame,function z6(s){const c=()=>{!function F6(s){s.isCheckStableRunning||-1!==s.lastRequestAnimationFrameId||(s.lastRequestAnimationFrameId=s.nativeRequestAnimationFrame.call(at,()=>{s.fakeTopEventTask||(s.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{s.lastRequestAnimationFrameId=-1,m4(s),s.isCheckStableRunning=!0,z_(s),s.isCheckStableRunning=!1},void 0,()=>{},()=>{})),s.fakeTopEventTask.invoke()}),m4(s))}(s)};s._inner=s._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(v,S,F,G,ce,Le)=>{try{return Ug(s),v.invokeTask(F,G,ce,Le)}finally{(s.shouldCoalesceEventChangeDetection&&"eventTask"===G.type||s.shouldCoalesceRunChangeDetection)&&c(),Vg(s)}},onInvoke:(v,S,F,G,ce,Le,Ze)=>{try{return Ug(s),v.invoke(F,G,ce,Le,Ze)}finally{s.shouldCoalesceRunChangeDetection&&c(),Vg(s)}},onHasTask:(v,S,F,G)=>{v.hasTask(F,G),S===F&&("microTask"==G.change?(s._hasPendingMicrotasks=G.microTask,m4(s),z_(s)):"macroTask"==G.change&&(s.hasPendingMacrotasks=G.macroTask))},onHandleError:(v,S,F,G)=>(v.handleError(F,G),s.runOutsideAngular(()=>s.onError.emit(G)),!1)})}(F)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Rc.isInAngularZone())throw new Z(909,!1)}static assertNotInAngularZone(){if(Rc.isInAngularZone())throw new Z(909,!1)}run(c,v,S){return this._inner.run(c,v,S)}runTask(c,v,S,F){const G=this._inner,ce=G.scheduleEventTask("NgZoneEvent: "+F,c,N6,d4,d4);try{return G.runTask(ce,v,S)}finally{G.cancelTask(ce)}}runGuarded(c,v,S){return this._inner.runGuarded(c,v,S)}runOutsideAngular(c){return this._outer.run(c)}}const N6={};function z_(s){if(0==s._nesting&&!s.hasPendingMicrotasks&&!s.isStable)try{s._nesting++,s.onMicrotaskEmpty.emit(null)}finally{if(s._nesting--,!s.hasPendingMicrotasks)try{s.runOutsideAngular(()=>s.onStable.emit(null))}finally{s.isStable=!0}}}function m4(s){s._hasPendingMicrotasks||(s.shouldCoalesceEventChangeDetection||s.shouldCoalesceRunChangeDetection)&&-1!==s.lastRequestAnimationFrameId?s.hasPendingMicrotasks=!0:s.hasPendingMicrotasks=!1}function Ug(s){s._nesting++,s.isStable&&(s.isStable=!1,s.onUnstable.emit(null))}function Vg(s){s._nesting--,z_(s)}class Wg{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new d,this.onMicrotaskEmpty=new d,this.onStable=new d,this.onError=new d}run(c,v,S){return c.apply(v,S)}runGuarded(c,v,S){return c.apply(v,S)}runOutsideAngular(c){return c()}runTask(c,v,S,F){return c.apply(v,S)}}const Kg=new Ga(""),Gg=new Ga("");class bm{constructor(c,v,S){this._ngZone=c,this.registry=v,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,H_||(function H6(s){H_=s}(S),S.addToWindow(v)),this._watchAngularEvents(),c.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:()=>{Rc.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 c=this._callbacks.pop();clearTimeout(c.timeoutId),c.doneCb(this._didWork)}this._didWork=!1});else{let c=this.getPendingTasks();this._callbacks=this._callbacks.filter(v=>!v.updateCb||!v.updateCb(c)||(clearTimeout(v.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(c=>({source:c.source,creationLocation:c.creationLocation,data:c.data})):[]}addCallback(c,v,S){let F=-1;v&&v>0&&(F=setTimeout(()=>{this._callbacks=this._callbacks.filter(G=>G.timeoutId!==F),c(this._didWork,this.getPendingTasks())},v)),this._callbacks.push({doneCb:c,timeoutId:F,updateCb:S})}whenStable(c,v,S){if(S&&!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(c,v,S),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(c){this.registry.registerApplication(c,this)}unregisterApplication(c){this.registry.unregisterApplication(c)}findProviders(c,v,S){return[]}}bm.\u0275fac=function(c){return new(c||bm)(Zt(Rc),Zt(Lu),Zt(Gg))},bm.\u0275prov=Xe({token:bm,factory:bm.\u0275fac});class Lu{constructor(){this._applications=new Map}registerApplication(c,v){this._applications.set(c,v)}unregisterApplication(c){this._applications.delete(c)}unregisterAllApplications(){this._applications.clear()}getTestability(c){return this._applications.get(c)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(c,v=!0){return H_?.findTestabilityInTree(this,c,v)??null}}let H_;Lu.\u0275fac=function(c){return new(c||Lu)},Lu.\u0275prov=Xe({token:Lu,factory:Lu.\u0275fac,providedIn:"platform"});let H1=null;const Zg=new Ga("AllowMultipleToken"),U_=new Ga("PlatformDestroyListeners"),U1=!1;class V6{constructor(c,v){this.name=c,this.token=v}}function jg(s){const c=s.get(Rg,null);c&&c.forEach(v=>v())}function qg(s,c,v=[]){const S=`Platform: ${c}`,F=new Ga(S);return(G=[])=>{let ce=W_();if(!ce||ce.injector.get(Zg,!1)){const Le=[...v,...G,{provide:F,useValue:!0}];s?s(Le):function Qg(s){if(H1&&!H1.get(Zg,!1))throw new Z(400,!1);H1=s;const c=s.get(Ou);return jg(s),c}(V_(Le,S))}return function K6(s){const c=W_();if(!c)throw new Z(401,!1);return c}()}}function V_(s=[],c){return qo.create({name:c,providers:[{provide:hd,useValue:"platform"},{provide:U_,useValue:new Set([()=>H1=null])},...s]})}function W_(){return H1?.get(Ou)??null}class Ou{constructor(c){this._injector=c,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(c,v){const S=Jg(v?.ngZone,Xg(v)),F=[{provide:Rc,useValue:S}];return S.run(()=>{const G=qo.create({providers:F,parent:this.injector,name:c.moduleType.name}),ce=c.create(G),Le=ce.injector.get(Qc,null);if(!Le)throw new Z(402,!1);return S.runOutsideAngular(()=>{const Ze=S.onError.subscribe({next:ut=>{Le.handleError(ut)}});ce.onDestroy(()=>{p4(this._modules,ce),Ze.unsubscribe()})}),$g(Le,S,()=>{const Ze=ce.injector.get(z1);return Ze.runInitializers(),Ze.donePromise.then(()=>(Jp(ce.injector.get(u4,z2)||z2),this._moduleDoBootstrap(ce),ce))})})}bootstrapModule(c,v=[]){const S=K_({},v);return function Yg(s,c,v){const S=new hm(v);return Promise.resolve(S)}(this.injector,0,c).then(F=>this.bootstrapModuleFactory(F,S))}_moduleDoBootstrap(c){const v=c.injector.get(V1);if(c._bootstrapComponents.length>0)c._bootstrapComponents.forEach(S=>v.bootstrap(S));else{if(!c.instance.ngDoBootstrap)throw new Z(403,!1);c.instance.ngDoBootstrap(v)}this._modules.push(c)}onDestroy(c){this._destroyListeners.push(c)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Z(404,!1);this._modules.slice().forEach(v=>v.destroy()),this._destroyListeners.forEach(v=>v());const c=this._injector.get(U_,null);c&&(c.forEach(v=>v()),c.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}function Xg(s){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!s||!s.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!s||!s.ngZoneRunCoalescing)||!1}}function Jg(s,c){let v;return v="noop"===s?new Wg:("zone.js"===s?void 0:s)||new Rc(c),v}function $g(s,c,v){try{const S=v();return Tp(S)?S.catch(F=>{throw c.runOutsideAngular(()=>s.handleError(F)),F}):S}catch(S){throw c.runOutsideAngular(()=>s.handleError(S)),S}}function K_(s,c){return s=Array.isArray(c)?c.reduce(K_,s):{...s,...c}}Ou.\u0275fac=function(c){return new(c||Ou)(Zt(qo))},Ou.\u0275prov=Xe({token:Ou,factory:Ou.\u0275fac,providedIn:"platform"});class V1{constructor(c,v,S){this._zone=c,this._injector=v,this._exceptionHandler=S,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 F=new _.y(ce=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{ce.next(this._stable),ce.complete()})}),G=new _.y(ce=>{let Le;this._zone.runOutsideAngular(()=>{Le=this._zone.onStable.subscribe(()=>{Rc.assertNotInAngularZone(),F_(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,ce.next(!0))})})});const Ze=this._zone.onUnstable.subscribe(()=>{Rc.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{ce.next(!1)}))});return()=>{Le.unsubscribe(),Ze.unsubscribe()}});this.isStable=(0,O.T)(F,G.pipe((0,l.B)()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(c,v){const S=c instanceof D0;if(!this._injector.get(z1).done){!S&&ti(c);throw new Z(405,U1)}let G;G=S?c:this._injector.get(fa).resolveComponentFactory(c),this.componentTypes.push(G.componentType);const ce=function U6(s){return s.isBoundToModule}(G)?void 0:this._injector.get(ol),Le=v||G.selector,Ze=G.create(qo.NULL,[],Le,ce),ut=Ze.location.nativeElement,It=Ze.injector.get(Kg,null);return It?.registerApplication(ut),Ze.onDestroy(()=>{this.detachView(Ze.hostView),p4(this.components,Ze),It?.unregisterApplication(ut)}),this._loadComponent(Ze),Ze}tick(){if(this._runningTick)throw new Z(101,!1);try{this._runningTick=!0;for(let c of this._views)c.detectChanges()}catch(c){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(c))}finally{this._runningTick=!1}}attachView(c){const v=c;this._views.push(v),v.attachToAppRef(this)}detachView(c){const v=c;p4(this._views,v),v.detachFromAppRef()}_loadComponent(c){this.attachView(c.hostView),this.tick(),this.components.push(c),this._injector.get(N_,[]).concat(this._bootstrapListeners).forEach(S=>S(c))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(c=>c()),this._views.slice().forEach(c=>c.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(c){return this._destroyListeners.push(c),()=>p4(this._destroyListeners,c)}destroy(){if(this._destroyed)throw new Z(406,!1);const c=this._injector;c.destroy&&!c.destroyed&&c.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}function p4(s,c){const v=s.indexOf(c);v>-1&&s.splice(v,1)}function Z6(){return!1}function t6(){}V1.\u0275fac=function(c){return new(c||V1)(Zt(Rc),Zt(El),Zt(Qc))},V1.\u0275prov=Xe({token:V1,factory:V1.\u0275fac,providedIn:"root"});class i6{}i6.__NG_ELEMENT_ID__=function Z_(s){return function Q6(s,c,v){if(Ta(s)&&!v){const S=li(s.index,c);return new L2(S,S)}if(47&s.type){const S=c[16];return new L2(S,c)}return null}(za(),Pi(),16==(16&s))};class a6{constructor(){}supports(c){return uu(c)}create(c){return new e8(c)}}const $6=(s,c)=>c;class e8{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||$6}forEachItem(c){let v;for(v=this._itHead;null!==v;v=v._next)c(v)}forEachOperation(c){let v=this._itHead,S=this._removalsHead,F=0,G=null;for(;v||S;){const ce=!S||v&&v.currentIndex<g4(S,F,G)?v:S,Le=g4(ce,F,G),Ze=ce.currentIndex;if(ce===S)F--,S=S._nextRemoved;else if(v=v._next,null==ce.previousIndex)F++;else{G||(G=[]);const ut=Le-F,It=Ze-F;if(ut!=It){for(let fi=0;fi<ut;fi++){const Mi=fi<G.length?G[fi]:G[fi]=0,Bi=Mi+fi;It<=Bi&&Bi<ut&&(G[fi]=Mi+1)}G[ce.previousIndex]=It-ut}}Le!==Ze&&c(ce,Le,Ze)}}forEachPreviousItem(c){let v;for(v=this._previousItHead;null!==v;v=v._nextPrevious)c(v)}forEachAddedItem(c){let v;for(v=this._additionsHead;null!==v;v=v._nextAdded)c(v)}forEachMovedItem(c){let v;for(v=this._movesHead;null!==v;v=v._nextMoved)c(v)}forEachRemovedItem(c){let v;for(v=this._removalsHead;null!==v;v=v._nextRemoved)c(v)}forEachIdentityChange(c){let v;for(v=this._identityChangesHead;null!==v;v=v._nextIdentityChange)c(v)}diff(c){if(null==c&&(c=[]),!uu(c))throw new Z(900,!1);return this.check(c)?this:null}onDestroy(){}check(c){this._reset();let F,G,ce,v=this._itHead,S=!1;if(Array.isArray(c)){this.length=c.length;for(let Le=0;Le<this.length;Le++)G=c[Le],ce=this._trackByFn(Le,G),null!==v&&Object.is(v.trackById,ce)?(S&&(v=this._verifyReinsertion(v,G,ce,Le)),Object.is(v.item,G)||this._addIdentityChange(v,G)):(v=this._mismatch(v,G,ce,Le),S=!0),v=v._next}else F=0,function jf(s,c){if(Array.isArray(s))for(let v=0;v<s.length;v++)c(s[v]);else{const v=s[Sl()]();let S;for(;!(S=v.next()).done;)c(S.value)}}(c,Le=>{ce=this._trackByFn(F,Le),null!==v&&Object.is(v.trackById,ce)?(S&&(v=this._verifyReinsertion(v,Le,ce,F)),Object.is(v.item,Le)||this._addIdentityChange(v,Le)):(v=this._mismatch(v,Le,ce,F),S=!0),v=v._next,F++}),this.length=F;return this._truncate(v),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,v,S,F){let G;return null===c?G=this._itTail:(G=c._prev,this._remove(c)),null!==(c=null===this._unlinkedRecords?null:this._unlinkedRecords.get(S,null))?(Object.is(c.item,v)||this._addIdentityChange(c,v),this._reinsertAfter(c,G,F)):null!==(c=null===this._linkedRecords?null:this._linkedRecords.get(S,F))?(Object.is(c.item,v)||this._addIdentityChange(c,v),this._moveAfter(c,G,F)):c=this._addAfter(new t8(v,S),G,F),c}_verifyReinsertion(c,v,S,F){let G=null===this._unlinkedRecords?null:this._unlinkedRecords.get(S,null);return null!==G?c=this._reinsertAfter(G,c._prev,F):c.currentIndex!=F&&(c.currentIndex=F,this._addToMoves(c,F)),c}_truncate(c){for(;null!==c;){const v=c._next;this._addToRemovals(this._unlink(c)),c=v}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,v,S){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(c);const F=c._prevRemoved,G=c._nextRemoved;return null===F?this._removalsHead=G:F._nextRemoved=G,null===G?this._removalsTail=F:G._prevRemoved=F,this._insertAfter(c,v,S),this._addToMoves(c,S),c}_moveAfter(c,v,S){return this._unlink(c),this._insertAfter(c,v,S),this._addToMoves(c,S),c}_addAfter(c,v,S){return this._insertAfter(c,v,S),null===this._additionsTail?this._additionsTail=this._additionsHead=c:this._additionsTail=this._additionsTail._nextAdded=c,c}_insertAfter(c,v,S){const F=null===v?this._itHead:v._next;return c._next=F,c._prev=v,null===F?this._itTail=c:F._prev=c,null===v?this._itHead=c:v._next=c,null===this._linkedRecords&&(this._linkedRecords=new o6),this._linkedRecords.put(c),c.currentIndex=S,c}_remove(c){return this._addToRemovals(this._unlink(c))}_unlink(c){null!==this._linkedRecords&&this._linkedRecords.remove(c);const v=c._prev,S=c._next;return null===v?this._itHead=S:v._next=S,null===S?this._itTail=v:S._prev=v,c}_addToMoves(c,v){return c.previousIndex===v||(null===this._movesTail?this._movesTail=this._movesHead=c:this._movesTail=this._movesTail._nextMoved=c),c}_addToRemovals(c){return null===this._unlinkedRecords&&(this._unlinkedRecords=new o6),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,v){return c.item=v,null===this._identityChangesTail?this._identityChangesTail=this._identityChangesHead=c:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=c,c}}class t8{constructor(c,v){this.item=c,this.trackById=v,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 r6{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,v){let S;for(S=this._head;null!==S;S=S._nextDup)if((null===v||v<=S.currentIndex)&&Object.is(S.trackById,c))return S;return null}remove(c){const v=c._prevDup,S=c._nextDup;return null===v?this._head=S:v._nextDup=S,null===S?this._tail=v:S._prevDup=v,null===this._head}}class o6{constructor(){this.map=new Map}put(c){const v=c.trackById;let S=this.map.get(v);S||(S=new r6,this.map.set(v,S)),S.add(c)}get(c,v){const S=c,F=this.map.get(S);return F?F.get(c,v):null}remove(c){const v=c.trackById;return this.map.get(v).remove(c)&&this.map.delete(v),c}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function g4(s,c,v){const S=s.previousIndex;if(null===S)return S;let F=0;return v&&S<v.length&&(F=v[S]),S+c+F}class s6{constructor(){}supports(c){return c instanceof Map||xp(c)}create(){return new i8}}class i8{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 v;for(v=this._mapHead;null!==v;v=v._next)c(v)}forEachPreviousItem(c){let v;for(v=this._previousMapHead;null!==v;v=v._nextPrevious)c(v)}forEachChangedItem(c){let v;for(v=this._changesHead;null!==v;v=v._nextChanged)c(v)}forEachAddedItem(c){let v;for(v=this._additionsHead;null!==v;v=v._nextAdded)c(v)}forEachRemovedItem(c){let v;for(v=this._removalsHead;null!==v;v=v._nextRemoved)c(v)}diff(c){if(c){if(!(c instanceof Map||xp(c)))throw new Z(900,!1)}else c=new Map;return this.check(c)?this:null}onDestroy(){}check(c){this._reset();let v=this._mapHead;if(this._appendAfter=null,this._forEach(c,(S,F)=>{if(v&&v.key===F)this._maybeAddToChanges(v,S),this._appendAfter=v,v=v._next;else{const G=this._getOrCreateRecordForKey(F,S);v=this._insertBeforeOrAppend(v,G)}}),v){v._prev&&(v._prev._next=null),this._removalsHead=v;for(let S=v;null!==S;S=S._nextRemoved)S===this._mapHead&&(this._mapHead=null),this._records.delete(S.key),S._nextRemoved=S._next,S.previousValue=S.currentValue,S.currentValue=null,S._prev=null,S._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(c,v){if(c){const S=c._prev;return v._next=c,v._prev=S,c._prev=v,S&&(S._next=v),c===this._mapHead&&(this._mapHead=v),this._appendAfter=c,c}return this._appendAfter?(this._appendAfter._next=v,v._prev=this._appendAfter):this._mapHead=v,this._appendAfter=v,null}_getOrCreateRecordForKey(c,v){if(this._records.has(c)){const F=this._records.get(c);this._maybeAddToChanges(F,v);const G=F._prev,ce=F._next;return G&&(G._next=ce),ce&&(ce._prev=G),F._next=null,F._prev=null,F}const S=new c6(c);return this._records.set(c,S),S.currentValue=v,this._addToAdditions(S),S}_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,v){Object.is(v,c.currentValue)||(c.previousValue=c.currentValue,c.currentValue=v,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,v){c instanceof Map?c.forEach(v):Object.keys(c).forEach(S=>v(c[S],S))}}class c6{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 l6(){return new Kl([new a6])}class Kl{constructor(c){this.factories=c}static create(c,v){if(null!=v){const S=v.factories.slice();c=c.concat(S)}return new Kl(c)}static extend(c){return{provide:Kl,useFactory:v=>Kl.create(c,v||l6()),deps:[[Kl,new vc,new Vc]]}}find(c){const v=this.factories.find(S=>S.supports(c));if(null!=v)return v;throw new Z(901,!1)}}function d6(){return new Pd([new s6])}Kl.\u0275prov=Xe({token:Kl,providedIn:"root",factory:l6});class Pd{constructor(c){this.factories=c}static create(c,v){if(v){const S=v.factories.slice();c=c.concat(S)}return new Pd(c)}static extend(c){return{provide:Pd,useFactory:v=>Pd.create(c,v||d6()),deps:[[Pd,new vc,new Vc]]}}find(c){const v=this.factories.find(S=>S.supports(c));if(v)return v;throw new Z(901,!1)}}Pd.\u0275prov=Xe({token:Pd,providedIn:"root",factory:d6});const n8=[new s6],h6=[new a6],u6=(new Kl(h6),new Pd(n8),qg(null,"core",[]));class xm{constructor(c){}}function a8(s){return"boolean"==typeof s?s:null!=s&&"false"!==s}xm.\u0275fac=function(c){return new(c||xm)(Zt(V1))},xm.\u0275mod=Qe({type:xm}),xm.\u0275inj=Ke({})},7200:(Ye,J,f)=>{"use strict";function e(L){for(let D in L){let k=L[D]??"";switch(D){case"display":L.display="flex"===k?["-webkit-flex","flex"]:"inline-flex"===k?["-webkit-inline-flex","inline-flex"]:k;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":L["-webkit-"+D]=k;break;case"flex-direction":L["-webkit-flex-direction"]=k,L["flex-direction"]=k;break;case"order":L.order=L["-webkit-"+D]=isNaN(+k)?"0":k}}return L}f.d(J,{Ar:()=>O,GK:()=>e,iQ:()=>_,kt:()=>p,tj:()=>C});const t="inline",_=["row","column","row-reverse","column-reverse"];function O(L){let[D,k,M]=l(L);return function P(L,D=null,k=!1){return{display:k?"inline-flex":"flex","box-sizing":"border-box","flex-direction":L,"flex-wrap":D||null}}(D,k,M)}function l(L){L=L?.toLowerCase()??"";let[D,k,M]=L.split(" ");return _.find(z=>z===D)||(D=_[0]),k===t&&(k=M!==t?M:"",M=t),[D,u(k),!!M]}function C(L){let[D]=l(L);return D.indexOf("row")>-1}function u(L){if(L)switch(L.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":L="wrap-reverse";break;case"no":case"none":case"nowrap":L="nowrap";break;default:L="wrap"}return L}function p(L,...D){if(null==L)throw TypeError("Cannot convert undefined or null to object");for(let k of D)if(null!=k)for(let M in k)k.hasOwnProperty(M)&&(L[M]=k[M]);return L}},4658:(Ye,J,f)=>{"use strict";f.d(J,{Bs:()=>i,FL:()=>Re,IR:()=>se,Ot:()=>Jt,QI:()=>m,RK:()=>h,WU:()=>fe,g5:()=>re,iR:()=>bt,wY:()=>T,yB:()=>it});var e=f(2560),t=f(4666),_=f(6317),O=f(833),l=f(6646),C=f(253),u=f(3888),P=f(745),p=f(3280),L=f(7200),D=f(116),k=f(9337),M=f(1989),z=f(2673),A=f(635),W=f(8977),Z=f(8951),X=f(9295);const ae={provide:e.tb,useFactory:function $(U,j){return()=>{if((0,t.NF)(j)){const ue=Array.from(U.querySelectorAll(`[class*=${he}]`)),Ne=/\bflex-layout-.+?\b/g;ue.forEach(wt=>{wt.classList.contains(`${he}ssr`)&&wt.parentNode?wt.parentNode.removeChild(wt):wt.className.replace(Ne,"")})}}},deps:[t.K0,e.Lbi],multi:!0},he="flex-layout-";class se{}se.\u0275fac=function(j){return new(j||se)},se.\u0275mod=e.oAB({type:se}),se.\u0275inj=e.cJS({providers:[ae]});class pe{constructor(j=!1,ue="all",Ne="",wt="",Et=0){this.matches=j,this.mediaQuery=ue,this.mqAlias=Ne,this.suffix=wt,this.priority=Et,this.property=""}clone(){return new pe(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}class le{constructor(){this.stylesheet=new Map}addStyleToElement(j,ue,Ne){const wt=this.stylesheet.get(j);wt?wt.set(ue,Ne):this.stylesheet.set(j,new Map([[ue,Ne]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(j,ue){const Ne=this.stylesheet.get(j);let wt="";if(Ne){const Et=Ne.get(ue);("number"==typeof Et||"string"==typeof Et)&&(wt=Et+"")}return wt}}le.\u0275fac=function(j){return new(j||le)},le.\u0275prov=e.Yz7({token:le,factory:le.\u0275fac,providedIn:"root"});const re={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},fe=new e.OlP("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>re}),T=new e.OlP("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),i=new e.OlP("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function o(U,j){return U=U?.clone()??new pe,j&&(U.mqAlias=j.alias,U.mediaQuery=j.mediaQuery,U.suffix=j.suffix,U.priority=j.priority),U}class m{constructor(){this.shouldCache=!0}sideEffect(j,ue,Ne){}}class h{constructor(j,ue,Ne,wt){this._serverStylesheet=j,this._serverModuleLoaded=ue,this._platformId=Ne,this.layoutConfig=wt}applyStyleToElement(j,ue,Ne=null){let wt={};"string"==typeof ue&&(wt[ue]=Ne,ue=wt),wt=this.layoutConfig.disableVendorPrefixes?ue:(0,L.GK)(ue),this._applyMultiValueStyleToElement(wt,j)}applyStyleToElements(j,ue=[]){const Ne=this.layoutConfig.disableVendorPrefixes?j:(0,L.GK)(j);ue.forEach(wt=>{this._applyMultiValueStyleToElement(Ne,wt)})}getFlowDirection(j){const ue="flex-direction";let Ne=this.lookupStyle(j,ue);return[Ne||"row",this.lookupInlineStyle(j,ue)||(0,t.PM)(this._platformId)&&this._serverModuleLoaded?Ne:""]}hasWrap(j){return"wrap"===this.lookupStyle(j,"flex-wrap")}lookupAttributeValue(j,ue){return j.getAttribute(ue)??""}lookupInlineStyle(j,ue){return(0,t.NF)(this._platformId)?j.style.getPropertyValue(ue):function x(U,j){return g(U)[j]??""}(j,ue)}lookupStyle(j,ue,Ne=!1){let wt="";return j&&((wt=this.lookupInlineStyle(j,ue))||((0,t.NF)(this._platformId)?Ne||(wt=getComputedStyle(j).getPropertyValue(ue)):this._serverModuleLoaded&&(wt=this._serverStylesheet.getStyleForElement(j,ue)))),wt?wt.trim():""}_applyMultiValueStyleToElement(j,ue){Object.keys(j).sort().forEach(Ne=>{const wt=j[Ne],Et=Array.isArray(wt)?wt:[wt];Et.sort();for(let Nt of Et)Nt=Nt?Nt+"":"",(0,t.NF)(this._platformId)||!this._serverModuleLoaded?(0,t.NF)(this._platformId)?ue.style.setProperty(Ne,Nt):I(ue,Ne,Nt):this._serverStylesheet.addStyleToElement(ue,Ne,Nt)})}}function I(U,j,ue){j=j.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const Ne=g(U);Ne[j]=ue??"",function R(U,j){let ue="";for(const Ne in j)j[Ne]&&(ue+=`${Ne}:${j[Ne]};`);U.setAttribute("style",ue)}(U,Ne)}function g(U){const j={},ue=U.getAttribute("style");if(ue){const Ne=ue.split(/;+/g);for(let wt=0;wt<Ne.length;wt++){const Et=Ne[wt].trim();if(Et.length>0){const Nt=Et.indexOf(":");if(-1===Nt)throw new Error(`Invalid CSS style: ${Et}`);j[Et.substr(0,Nt).trim()]=Et.substr(Nt+1).trim()}}}return j}function r(U,j){const ue=U&&U.priority||0;return(j&&j.priority||0)-ue}function w(U,j){return(U.priority||0)-(j.priority||0)}h.\u0275fac=function(j){return new(j||h)(e.LFG(le),e.LFG(T),e.LFG(e.Lbi),e.LFG(fe))},h.\u0275prov=e.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"});class V{constructor(j,ue,Ne){this._zone=j,this._platformId=ue,this._document=Ne,this.source=new _.X(new pe(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const j=[];return this.registry.forEach((ue,Ne)=>{ue.matches&&j.push(Ne)}),j}isActive(j){return this.registry.get(j)?.matches??this.registerQuery(j).some(Ne=>Ne.matches)}observe(j,ue=!1){if(j&&j.length){const Ne=this._observable$.pipe((0,D.h)(Et=>!ue||j.indexOf(Et.mediaQuery)>-1)),wt=new O.y(Et=>{const Nt=this.registerQuery(j);if(Nt.length){const ot=Nt.pop();Nt.forEach(We=>{Et.next(We)}),this.source.next(ot)}Et.complete()});return(0,l.T)(wt,Ne)}return this._observable$}registerQuery(j){const ue=Array.isArray(j)?j:[j],Ne=[];return function Y(U,j){const ue=U.filter(Ne=>!N[Ne]);if(ue.length>0){const Ne=ue.join(", ");try{const wt=j.createElement("style");if(wt.setAttribute("type","text/css"),!wt.styleSheet){const Et=`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${Ne} {.fx-query-test{ }}\n`;wt.appendChild(j.createTextNode(Et))}j.head.appendChild(wt),ue.forEach(Et=>N[Et]=wt)}catch(wt){console.error(wt)}}}(ue,this._document),ue.forEach(wt=>{const Et=ot=>{this._zone.run(()=>this.source.next(new pe(ot.matches,wt)))};let Nt=this.registry.get(wt);Nt||(Nt=this.buildMQL(wt),Nt.addListener(Et),this.pendingRemoveListenerFns.push(()=>Nt.removeListener(Et)),this.registry.set(wt,Nt)),Nt.matches&&Ne.push(new pe(!0,wt))}),Ne}ngOnDestroy(){let j;for(;j=this.pendingRemoveListenerFns.pop();)j()}buildMQL(j){return function Ce(U,j){return j&&window.matchMedia("all").addListener?window.matchMedia(U):function Pe(U){const j=new EventTarget;return j.matches="all"===U||""===U,j.media=U,j.addListener=()=>{},j.removeListener=()=>{},j.addEventListener=()=>{},j.dispatchEvent=()=>!1,j.onchange=null,j}(U)}(j,(0,t.NF)(this._platformId))}}V.\u0275fac=function(j){return new(j||V)(e.LFG(e.R0b),e.LFG(e.Lbi),e.LFG(t.K0))},V.\u0275prov=e.Yz7({token:V,factory:V.\u0275fac,providedIn:"root"});const N={};const Xe=[{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}],dt="(orientation: portrait) and (max-width: 599.98px)",Ke="(orientation: landscape) and (max-width: 959.98px)",ge="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",$e="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",Oe="(orientation: portrait) and (min-width: 840px)",Me="(orientation: landscape) and (min-width: 1280px)",De={HANDSET:`${dt}, ${Ke}`,TABLET:`${ge} , ${$e}`,WEB:`${Oe}, ${Me} `,HANDSET_PORTRAIT:`${dt}`,TABLET_PORTRAIT:`${ge} `,WEB_PORTRAIT:`${Oe}`,HANDSET_LANDSCAPE:`${Ke}`,TABLET_LANDSCAPE:`${$e}`,WEB_LANDSCAPE:`${Me}`},Ue=[{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}],ye=/(\.|-|_)/g;function we(U){let j=U.length>0?U.charAt(0):"",ue=U.length>1?U.slice(1):"";return j.toUpperCase()+ue}function Se(U){return U.forEach(j=>{j.suffix||(j.suffix=function ie(U){return U.replace(ye,"|").split("|").map(we).join("")}(j.alias),j.overlapping=!!j.overlapping)}),U}const K=new e.OlP("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const U=(0,e.f3M)(i),j=(0,e.f3M)(fe),ue=[].concat.apply([],(U||[]).map(wt=>Array.isArray(wt)?wt:[wt]));return function ne(U,j=[]){const ue={};return U.forEach(Ne=>{ue[Ne.alias]=Ne}),j.forEach(Ne=>{ue[Ne.alias]?(0,L.kt)(ue[Ne.alias],Ne):ue[Ne.alias]=Ne}),Se(Object.keys(ue).map(Ne=>ue[Ne]))}((j.disableDefaultBps?[]:Xe).concat(j.addOrientationBps?Ue:[]),ue)}});class ee{constructor(j){this.findByMap=new Map,this.items=[...j].sort(w)}findByAlias(j){return j?this.findWithPredicate(j,ue=>ue.alias===j):null}findByQuery(j){return this.findWithPredicate(j,ue=>ue.mediaQuery===j)}get overlappings(){return this.items.filter(j=>j.overlapping)}get aliases(){return this.items.map(j=>j.alias)}get suffixes(){return this.items.map(j=>j?.suffix??"")}findWithPredicate(j,ue){let Ne=this.findByMap.get(j);return Ne||(Ne=this.items.find(ue)??null,this.findByMap.set(j,Ne)),Ne??null}}ee.\u0275fac=function(j){return new(j||ee)(e.LFG(K))},ee.\u0275prov=e.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"});const ze="print",Ve={alias:ze,mediaQuery:ze,priority:1e3};class oe{constructor(j,ue,Ne){this.breakpoints=j,this.layoutConfig=ue,this._document=Ne,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new at,this.deactivations=[]}withPrintQuery(j){return[...j,ze]}isPrintEvent(j){return j.mediaQuery.startsWith(ze)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(j=>this.breakpoints.findByAlias(j)).filter(j=>null!==j)}getEventBreakpoints({mediaQuery:j}){const ue=this.breakpoints.findByQuery(j);return(ue?[...this.printBreakPoints,ue]:this.printBreakPoints).sort(r)}updateEvent(j){let ue=this.breakpoints.findByQuery(j.mediaQuery);return this.isPrintEvent(j)&&(ue=this.getEventBreakpoints(j)[0],j.mediaQuery=ue?.mediaQuery??""),o(j,ue)}registerBeforeAfterPrintHooks(j){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const ue=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(j,this.getEventBreakpoints(new pe(!0,ze))),j.updateStyles())},Ne=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(j),j.updateStyles())};this._document.defaultView.addEventListener("beforeprint",ue),this._document.defaultView.addEventListener("afterprint",Ne),this.beforePrintEventListeners.push(ue),this.afterPrintEventListeners.push(Ne)}interceptEvents(j){return ue=>{this.isPrintEvent(ue)?ue.matches&&!this.isPrinting?(this.startPrinting(j,this.getEventBreakpoints(ue)),j.updateStyles()):!ue.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(j),j.updateStyles()):this.collectActivations(j,ue)}}blockPropagation(){return j=>!(this.isPrinting||this.isPrintEvent(j))}startPrinting(j,ue){this.isPrinting=!0,this.formerActivations=j.activatedBreakpoints,j.activatedBreakpoints=this.queue.addPrintBreakpoints(ue)}stopPrinting(j){j.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(j,ue){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!ue.matches){const Ne=this.breakpoints.findByQuery(ue.mediaQuery);if(Ne){const wt=this.formerActivations&&this.formerActivations.includes(Ne),Et=!this.formerActivations&&j.activatedBreakpoints.includes(Ne);(wt||Et)&&(this.deactivations.push(Ne),this.deactivations.sort(r))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(j=>this._document.defaultView.removeEventListener("beforeprint",j)),this.afterPrintEventListeners.forEach(j=>this._document.defaultView.removeEventListener("afterprint",j)))}}oe.\u0275fac=function(j){return new(j||oe)(e.LFG(ee),e.LFG(fe),e.LFG(t.K0))},oe.\u0275prov=e.Yz7({token:oe,factory:oe.\u0275fac,providedIn:"root"});class at{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(j){return j.push(Ve),j.sort(r),j.forEach(ue=>this.addBreakpoint(ue)),this.printBreakpoints}addBreakpoint(j){j&&void 0===this.printBreakpoints.find(Ne=>Ne.mediaQuery===j.mediaQuery)&&(this.printBreakpoints=function qe(U){return U?.mediaQuery.startsWith(ze)??!1}(j)?[j,...this.printBreakpoints]:[...this.printBreakpoints,j])}clear(){this.printBreakpoints=[]}}class it{constructor(j,ue,Ne){this.matchMedia=j,this.breakpoints=ue,this.hook=Ne,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(j){this._activatedBreakpoints=[...j]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(j){this._useFallbacks=j}onMediaChange(j){const ue=this.findByQuery(j.mediaQuery);if(ue){j=o(j,ue);const Ne=this.activatedBreakpoints.indexOf(ue);j.matches&&-1===Ne?(this._activatedBreakpoints.push(ue),this._activatedBreakpoints.sort(r),this.updateStyles()):!j.matches&&-1!==Ne&&(this._activatedBreakpoints.splice(Ne,1),this._activatedBreakpoints.sort(r),this.updateStyles())}}init(j,ue,Ne,wt,Et=[]){ii(this.updateMap,j,ue,Ne),ii(this.clearMap,j,ue,wt),this.buildElementKeyMap(j,ue),this.watchExtraTriggers(j,ue,Et)}getValue(j,ue,Ne){const wt=this.elementMap.get(j);if(wt){const Et=void 0!==Ne?wt.get(Ne):this.getActivatedValues(wt,ue);if(Et)return Et.get(ue)}}hasValue(j,ue){const Ne=this.elementMap.get(j);if(Ne){const wt=this.getActivatedValues(Ne,ue);if(wt)return void 0!==wt.get(ue)||!1}return!1}setValue(j,ue,Ne,wt){let Et=this.elementMap.get(j);if(Et){const ot=(Et.get(wt)??new Map).set(ue,Ne);Et.set(wt,ot),this.elementMap.set(j,Et)}else Et=(new Map).set(wt,(new Map).set(ue,Ne)),this.elementMap.set(j,Et);const Nt=this.getValue(j,ue);void 0!==Nt&&this.updateElement(j,ue,Nt)}trackValue(j,ue){return this.subject.asObservable().pipe((0,D.h)(Ne=>Ne.element===j&&Ne.key===ue))}updateStyles(){this.elementMap.forEach((j,ue)=>{const Ne=new Set(this.elementKeyMap.get(ue));let wt=this.getActivatedValues(j);wt&&wt.forEach((Et,Nt)=>{this.updateElement(ue,Nt,Et),Ne.delete(Nt)}),Ne.forEach(Et=>{if(wt=this.getActivatedValues(j,Et),wt){const Nt=wt.get(Et);this.updateElement(ue,Et,Nt)}else this.clearElement(ue,Et)})})}clearElement(j,ue){const Ne=this.clearMap.get(j);if(Ne){const wt=Ne.get(ue);wt&&(wt(),this.subject.next({element:j,key:ue,value:""}))}}updateElement(j,ue,Ne){const wt=this.updateMap.get(j);if(wt){const Et=wt.get(ue);Et&&(Et(Ne),this.subject.next({element:j,key:ue,value:Ne}))}}releaseElement(j){const ue=this.watcherMap.get(j);ue&&(ue.forEach(wt=>wt.unsubscribe()),this.watcherMap.delete(j));const Ne=this.elementMap.get(j);Ne&&(Ne.forEach((wt,Et)=>Ne.delete(Et)),this.elementMap.delete(j))}triggerUpdate(j,ue){const Ne=this.elementMap.get(j);if(Ne){const wt=this.getActivatedValues(Ne,ue);wt&&(ue?this.updateElement(j,ue,wt.get(ue)):wt.forEach((Et,Nt)=>this.updateElement(j,Nt,Et)))}}buildElementKeyMap(j,ue){let Ne=this.elementKeyMap.get(j);Ne||(Ne=new Set,this.elementKeyMap.set(j,Ne)),Ne.add(ue)}watchExtraTriggers(j,ue,Ne){if(Ne&&Ne.length){let wt=this.watcherMap.get(j);if(wt||(wt=new Map,this.watcherMap.set(j,wt)),!wt.get(ue)){const Nt=(0,l.T)(...Ne).subscribe(()=>{const ot=this.getValue(j,ue);this.updateElement(j,ue,ot)});wt.set(ue,Nt)}}}findByQuery(j){return this.breakpoints.findByQuery(j)}getActivatedValues(j,ue){for(let wt=0;wt<this.activatedBreakpoints.length;wt++){const Et=this.activatedBreakpoints[wt],Nt=j.get(Et.alias);if(Nt&&(void 0===ue||Nt.has(ue)&&null!=Nt.get(ue)))return Nt}if(!this._useFallbacks)return;const Ne=j.get("");return void 0===ue||Ne&&Ne.has(ue)?Ne:void 0}observeActivations(){const j=this.breakpoints.items.map(ue=>ue.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(j)).pipe((0,k.b)(this.hook.interceptEvents(this)),(0,D.h)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}function ii(U,j,ue,Ne){if(void 0!==Ne){const wt=U.get(j)??new Map;wt.set(ue,Ne),U.set(j,wt)}}it.\u0275fac=function(j){return new(j||it)(e.LFG(V),e.LFG(ee),e.LFG(oe))},it.\u0275prov=e.Yz7({token:it,factory:it.\u0275fac,providedIn:"root"});class bt{constructor(j,ue,Ne,wt){this.elementRef=j,this.styleBuilder=ue,this.styler=Ne,this.marshal=wt,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(j){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,j,this.marshal.activatedAlias)}ngOnChanges(j){Object.keys(j).forEach(ue=>{if(-1!==this.inputs.indexOf(ue)){const Ne=ue.split(".").slice(1).join("."),wt=j[ue].currentValue;this.setValue(wt,Ne)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(j=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),j)}addStyles(j,ue){const Ne=this.styleBuilder,wt=Ne.shouldCache;let Et=this.styleCache.get(j);(!Et||!wt)&&(Et=Ne.buildStyles(j,ue),wt&&this.styleCache.set(j,Et)),this.mru={...Et},this.applyStyleToElement(Et),Ne.sideEffect(j,Et,ue)}clearStyles(){Object.keys(this.mru).forEach(j=>{this.mru[j]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(j,ue=!1){if(j){const[Ne,wt]=this.styler.getFlowDirection(j);if(!wt&&ue){const Et=(0,L.Ar)(Ne),Nt=[j];this.styler.applyStyleToElements(Et,Nt)}return Ne.trim()}return"row"}hasWrap(j){return this.styler.hasWrap(j)}applyStyleToElement(j,ue,Ne=this.nativeElement){this.styler.applyStyleToElement(Ne,j,ue)}setValue(j,ue){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,j,ue)}updateWithValue(j){this.currentValue!==j&&(this.addStyles(j),this.currentValue=j)}}bt.\u0275fac=function(j){return new(j||bt)(e.Y36(e.SBq),e.Y36(m),e.Y36(h),e.Y36(it))},bt.\u0275dir=e.lG2({type:bt,features:[e.TTD]});class st extends V{constructor(j,ue,Ne,wt){super(j,ue,Ne),this._breakpoints=wt,this.autoRegisterQueries=!0,this.useOverlaps=!1}clearAll(){this.registry.forEach(j=>{j.destroy()}),this.registry.clear(),this.useOverlaps=!1}activate(j,ue=this.useOverlaps){return j=this._validateQuery(j),(ue||!this.isActive(j))&&(this._deactivateAll(),this._registerMediaQuery(j),this._activateWithOverlaps(j,ue)),this.hasActivated}_validateQuery(j){return this._breakpoints.findByAlias(j)?.mediaQuery??j}_activateWithOverlaps(j,ue){if(ue){const wt=this._breakpoints.findByQuery(j)?.alias??"unknown";switch(wt){case"lg":this._activateByAlias(["lt-xl"]);break;case"md":this._activateByAlias(["lt-xl","lt-lg"]);break;case"sm":this._activateByAlias(["lt-xl","lt-lg","lt-md"]);break;case"xs":this._activateByAlias(["lt-xl","lt-lg","lt-md","lt-sm"])}switch(wt){case"xl":this._activateByAlias(["gt-lg","gt-md","gt-sm","gt-xs"]);break;case"lg":this._activateByAlias(["gt-md","gt-sm","gt-xs"]);break;case"md":this._activateByAlias(["gt-sm","gt-xs"]);break;case"sm":this._activateByAlias(["gt-xs"])}}return this._activateByQuery(j)}_activateByAlias(j){j.forEach(Ne=>{const wt=this._breakpoints.findByAlias(Ne);this._activateByQuery(wt?.mediaQuery??Ne)})}_activateByQuery(j){!this.registry.has(j)&&this.autoRegisterQueries&&this._registerMediaQuery(j);const ue=this.registry.get(j);return ue&&!this.isActive(j)&&this.registry.set(j,ue.activate()),this.hasActivated}_deactivateAll(){return this.registry.forEach(j=>{j.deactivate()}),this}_registerMediaQuery(j){!this.registry.has(j)&&this.autoRegisterQueries&&this.registerQuery(j)}buildMQL(j){return new Be(j)}get hasActivated(){return this.activations.length>0}}st.\u0275fac=function(j){return new(j||st)(e.LFG(e.R0b),e.LFG(e.Lbi),e.LFG(t.K0),e.LFG(ee))},st.\u0275prov=e.Yz7({token:st,factory:st.\u0275fac});class Be extends EventTarget{constructor(j){super(),this._mediaQuery=j,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(j=>{j.call(this,{matches:this.matches,media:this.media})})),this}deactivate(){return this._isActive&&(this._isActive=!1,this._listeners.forEach(j=>{j.call(this,{matches:this.matches,media:this.media})})),this}addListener(j){-1===this._listeners.indexOf(j)&&this._listeners.push(j),this._isActive&&j.call(this,{matches:this.matches,media:this.media})}removeListener(j){}dispatchEvent(j){return!1}}class Gt{constructor(j,ue,Ne){this.breakpoints=j,this.matchMedia=ue,this.hook=Ne,this.filterOverlaps=!1,this.destroyed$=new C.x,this._media$=this.watchActivations()}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}asObservable(){return this._media$}isActive(j){return function Rt(U){return U.flatMap(j=>j.split(",")).map(j=>j.trim())}(function Ot(U){return Array.isArray(U)?U:[U]}(j)).some(Ne=>{const wt=function kt(U,j){return(j.findByAlias(U)??j.findByQuery(U))?.mediaQuery??null}(Ne,this.breakpoints);return null!==wt&&this.matchMedia.isActive(wt)})}watchActivations(){const j=this.breakpoints.items.map(ue=>ue.mediaQuery);return this.buildObservable(j)}buildObservable(j){return this.matchMedia.observe(this.hook.withPrintQuery(j)).pipe((0,D.h)(Et=>Et.matches),(0,M.b)(0,u.E),(0,z.w)(Et=>(0,P.of)(this.findAllActivations())),(0,A.U)(Et=>this.filterOverlaps?Et.filter(Nt=>this.breakpoints.findByQuery(Nt.mediaQuery)?.overlapping??!0):Et),(0,D.h)(Et=>Et.filter(ot=>ot.mediaQuery.length>0).length>0),(0,W.x)((Et,Nt)=>{if(Et.length!==Nt.length)return!1;const ot=Et.map(ri=>ri.mediaQuery),We=new Set(Nt.map(ri=>ri.mediaQuery));return 0===new Set(ot.filter(ri=>!We.has(ri))).size}),(0,Z.R)(this.destroyed$))}findAllActivations(){return this.matchMedia.activations.map(Ne=>new pe(!0,Ne)).map(Ne=>this.hook.isPrintEvent(Ne)?this.hook.updateEvent(Ne):Ne).map(Ne=>o(Ne,this.breakpoints.findByQuery(Ne.mediaQuery))).sort(r)}}Gt.\u0275fac=function(j){return new(j||Gt)(e.LFG(ee),e.LFG(V),e.LFG(oe))},Gt.\u0275prov=e.Yz7({token:Gt,factory:Gt.\u0275fac,providedIn:"root"});class yi{constructor(j,ue,Ne,wt,Et){this.breakpoints=j,this.matchMedia=ue,this.layoutConfig=Ne,this._platformId=wt,this._document=Et,this.hasCachedRegistryMatches=!1,this.originalActivations=[],this.originalRegistry=new Map}activate(j){j=j.map(ue=>ue.trim()),this.saveActivations(),this.deactivateAll(),this.setActivations(j),this.prepareAutoRestore()}restore(){if(this.hasCachedRegistryMatches){const j=Ne=>Ne.mediaQuery,ue=this.originalActivations.map(j);try{this.deactivateAll(),this.restoreRegistryMatches(),this.setActivations(ue)}finally{this.originalActivations=[],this.resizeSubscription&&this.resizeSubscription.unsubscribe()}}}prepareAutoRestore(){if((0,t.NF)(this._platformId)&&this._document&&this.layoutConfig.mediaTriggerAutoRestore){const Ne=(0,p.R)(window,"resize").pipe((0,X.q)(1));this.resizeSubscription=Ne.subscribe(this.restore.bind(this))}}deactivateAll(){const j=this.currentActivations;this.forceRegistryMatches(j,!1),this.simulateMediaChanges(j,!1)}saveActivations(){if(!this.hasCachedRegistryMatches){const j=Ne=>new pe(!0,Ne),ue=Ne=>o(Ne,this.breakpoints.findByQuery(Ne.mediaQuery));this.originalActivations=this.currentActivations.map(j).map(ue).sort(r),this.cacheRegistryMatches()}}setActivations(j){this.originalRegistry&&this.forceRegistryMatches(j,!0),this.simulateMediaChanges(j)}simulateMediaChanges(j,ue=!0){j.map(Et=>{const Nt=this.breakpoints,ot=Nt.findByAlias(Et)||Nt.findByQuery(Et);return ot?ot.mediaQuery:Et}).forEach(Et=>this.emitChangeEvent(ue,Et))}forceRegistryMatches(j,ue){const Ne=new Map;j.forEach(wt=>{Ne.set(wt,{matches:ue})}),this.matchMedia.registry=Ne}cacheRegistryMatches(){const j=this.originalRegistry;j.clear(),this.matchMedia.registry.forEach((ue,Ne)=>{j.set(Ne,ue)}),this.hasCachedRegistryMatches=!0}restoreRegistryMatches(){const j=this.matchMedia.registry;j.clear(),this.originalRegistry.forEach((ue,Ne)=>{j.set(Ne,ue)}),this.originalRegistry.clear(),this.hasCachedRegistryMatches=!1}emitChangeEvent(j,ue){this.matchMedia.source.next(new pe(j,ue))}get currentActivations(){return this.matchMedia.activations}}function Jt(U,j="1",ue="1"){let Ne=[j,ue,U],wt=U.indexOf("calc");if(wt>0){Ne[2]=Zt(U.substring(wt).trim());let Et=U.substr(0,wt).trim().split(" ");2==Et.length&&(Ne[0]=Et[0],Ne[1]=Et[1])}else if(0==wt)Ne[2]=Zt(U.trim());else{let Et=U.split(" ");Ne=3===Et.length?Et:[j,ue,U]}return Ne}function Zt(U){return U.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}yi.\u0275fac=function(j){return new(j||yi)(e.LFG(ee),e.LFG(V),e.LFG(fe),e.LFG(e.Lbi),e.LFG(t.K0))},yi.\u0275prov=e.Yz7({token:yi,factory:yi.\u0275fac,providedIn:"root"});function Re(U,j){if(void 0===j)return U;const ue=Ne=>{const wt=+Ne.slice(0,-"x".length);return U.endsWith("x")&&!isNaN(wt)?`${wt*j.value}${j.unit}`:U};return U.includes(" ")?U.split(" ").map(ue).join(" "):ue(U)}},3704:(Ye,J,f)=>{"use strict";f.d(J,{Zl:()=>I,aT:()=>r,oO:()=>W});var e=f(2560),t=f(4658),_=f(4666),O=f(8971),l=f(8951),C=f(4497);class u extends t.QI{buildStyles(V){return{content:V?`url(${V})`:""}}}u.\u0275fac=function(){let w;return function(N){return(w||(w=e.n5z(u)))(N||u)}}(),u.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"});class P extends t.iR{constructor(V,N,Y,Pe,Ce,Xe){super(V,N,Y,Pe),this.platformId=Ce,this.serverModuleLoaded=Xe,this.DIRECTIVE_KEY="img-src",this.defaultSrc="",this.styleCache=p,this.init(),this.setValue(this.nativeElement.getAttribute("src")||"",""),(0,_.PM)(this.platformId)&&this.serverModuleLoaded&&this.nativeElement.setAttribute("src","")}set src(V){this.defaultSrc=V,this.setValue(this.defaultSrc,"")}updateWithValue(V){const N=V||this.defaultSrc;(0,_.PM)(this.platformId)&&this.serverModuleLoaded?this.addStyles(N):this.nativeElement.setAttribute("src",N)}}P.\u0275fac=function(V){return new(V||P)(e.Y36(e.SBq),e.Y36(u),e.Y36(t.RK),e.Y36(t.yB),e.Y36(e.Lbi),e.Y36(t.wY))},P.\u0275dir=e.lG2({type:P,inputs:{src:"src"},features:[e.qOj]});const p=new Map,L=["src.xs","src.sm","src.md","src.lg","src.xl","src.lt-sm","src.lt-md","src.lt-lg","src.lt-xl","src.gt-xs","src.gt-sm","src.gt-md","src.gt-lg"];class k extends P{constructor(){super(...arguments),this.inputs=L}}k.\u0275fac=function(){let w;return function(N){return(w||(w=e.n5z(k)))(N||k)}}(),k.\u0275dir=e.lG2({type:k,selectors:[["img","src.xs",""],["img","src.sm",""],["img","src.md",""],["img","src.lg",""],["img","src.xl",""],["img","src.lt-sm",""],["img","src.lt-md",""],["img","src.lt-lg",""],["img","src.lt-xl",""],["img","src.gt-xs",""],["img","src.gt-sm",""],["img","src.gt-md",""],["img","src.gt-lg",""]],inputs:{"src.xs":"src.xs","src.sm":"src.sm","src.md":"src.md","src.lg":"src.lg","src.xl":"src.xl","src.lt-sm":"src.lt-sm","src.lt-md":"src.lt-md","src.lt-lg":"src.lt-lg","src.lt-xl":"src.lt-xl","src.gt-xs":"src.gt-xs","src.gt-sm":"src.gt-sm","src.gt-md":"src.gt-md","src.gt-lg":"src.gt-lg"},features:[e.qOj]});class M extends t.iR{constructor(V,N,Y,Pe,Ce,Xe,dt){super(V,null,N,Y),this.ngClassInstance=dt,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new _.mk(Pe,Ce,V,Xe)),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()}}M.\u0275fac=function(V){return new(V||M)(e.Y36(e.SBq),e.Y36(t.RK),e.Y36(t.yB),e.Y36(e.ZZ4),e.Y36(e.aQg),e.Y36(e.Qsj),e.Y36(_.mk,10))},M.\u0275dir=e.lG2({type:M,inputs:{klass:["class","klass"]},features:[e.qOj]});const z=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"];class W extends M{constructor(){super(...arguments),this.inputs=z}}W.\u0275fac=function(){let w;return function(N){return(w||(w=e.n5z(W)))(N||W)}}(),W.\u0275dir=e.lG2({type:W,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},features:[e.qOj]});class Z extends t.QI{buildStyles(V,N){return{display:"true"===V?N.display||(N.isServer?"initial":""):"none"}}}Z.\u0275fac=function(){let w;return function(N){return(w||(w=e.n5z(Z)))(N||Z)}}(),Z.\u0275prov=e.Yz7({token:Z,factory:Z.\u0275fac,providedIn:"root"});class X extends t.iR{constructor(V,N,Y,Pe,Ce,Xe,dt){super(V,N,Y,Pe),this.layoutConfig=Ce,this.platformId=Xe,this.serverModuleLoaded=dt,this.DIRECTIVE_KEY="show-hide",this.display="",this.hasLayout=!1,this.hasFlexChild=!1}ngAfterViewInit(){this.trackExtraTriggers();const V=Array.from(this.nativeElement.children);for(let Y=0;Y<V.length;Y++)if(this.marshal.hasValue(V[Y],"flex")){this.hasFlexChild=!0;break}$.has(this.nativeElement)?this.display=$.get(this.nativeElement):(this.display=this.getDisplayStyle(),$.set(this.nativeElement,this.display)),this.init();const N=this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY,"");void 0===N||""===N?this.setValue(!0,""):this.triggerUpdate()}ngOnChanges(V){Object.keys(V).forEach(N=>{if(-1!==this.inputs.indexOf(N)){const Y=N.split("."),Pe=Y.slice(1).join("."),Ce=V[N].currentValue;let Xe=""===Ce||0!==Ce&&(0,O.Ig)(Ce);"fxHide"===Y[0]&&(Xe=!Xe),this.setValue(Xe,Pe)}})}trackExtraTriggers(){this.hasLayout=this.marshal.hasValue(this.nativeElement,"layout"),["layout","layout-align"].forEach(V=>{this.marshal.trackValue(this.nativeElement,V).pipe((0,l.R)(this.destroySubject)).subscribe(this.triggerUpdate.bind(this))})}getDisplayStyle(){return this.hasLayout||this.hasFlexChild&&this.layoutConfig.addFlexToParent?"flex":this.styler.lookupStyle(this.nativeElement,"display",!0)}updateWithValue(V=!0){if(""===V)return;const N=(0,_.PM)(this.platformId);this.addStyles(V?"true":"false",{display:this.display,isServer:N}),N&&this.serverModuleLoaded&&this.nativeElement.style.setProperty("display",""),this.marshal.triggerUpdate(this.parentElement,"layout-gap")}}X.\u0275fac=function(V){return new(V||X)(e.Y36(e.SBq),e.Y36(Z),e.Y36(t.RK),e.Y36(t.yB),e.Y36(t.WU),e.Y36(e.Lbi),e.Y36(t.wY))},X.\u0275dir=e.lG2({type:X,features:[e.qOj,e.TTD]});const $=new WeakMap,ae=["fxShow","fxShow.print","fxShow.xs","fxShow.sm","fxShow.md","fxShow.lg","fxShow.xl","fxShow.lt-sm","fxShow.lt-md","fxShow.lt-lg","fxShow.lt-xl","fxShow.gt-xs","fxShow.gt-sm","fxShow.gt-md","fxShow.gt-lg","fxHide","fxHide.print","fxHide.xs","fxHide.sm","fxHide.md","fxHide.lg","fxHide.xl","fxHide.lt-sm","fxHide.lt-md","fxHide.lt-lg","fxHide.lt-xl","fxHide.gt-xs","fxHide.gt-sm","fxHide.gt-md","fxHide.gt-lg"];class se extends X{constructor(){super(...arguments),this.inputs=ae}}se.\u0275fac=function(){let w;return function(N){return(w||(w=e.n5z(se)))(N||se)}}(),se.\u0275dir=e.lG2({type:se,selectors:[["","fxShow",""],["","fxShow.print",""],["","fxShow.xs",""],["","fxShow.sm",""],["","fxShow.md",""],["","fxShow.lg",""],["","fxShow.xl",""],["","fxShow.lt-sm",""],["","fxShow.lt-md",""],["","fxShow.lt-lg",""],["","fxShow.lt-xl",""],["","fxShow.gt-xs",""],["","fxShow.gt-sm",""],["","fxShow.gt-md",""],["","fxShow.gt-lg",""],["","fxHide",""],["","fxHide.print",""],["","fxHide.xs",""],["","fxHide.sm",""],["","fxHide.md",""],["","fxHide.lg",""],["","fxHide.xl",""],["","fxHide.lt-sm",""],["","fxHide.lt-md",""],["","fxHide.lt-lg",""],["","fxHide.lt-xl",""],["","fxHide.gt-xs",""],["","fxHide.gt-sm",""],["","fxHide.gt-md",""],["","fxHide.gt-lg",""]],inputs:{fxShow:"fxShow","fxShow.print":"fxShow.print","fxShow.xs":"fxShow.xs","fxShow.sm":"fxShow.sm","fxShow.md":"fxShow.md","fxShow.lg":"fxShow.lg","fxShow.xl":"fxShow.xl","fxShow.lt-sm":"fxShow.lt-sm","fxShow.lt-md":"fxShow.lt-md","fxShow.lt-lg":"fxShow.lt-lg","fxShow.lt-xl":"fxShow.lt-xl","fxShow.gt-xs":"fxShow.gt-xs","fxShow.gt-sm":"fxShow.gt-sm","fxShow.gt-md":"fxShow.gt-md","fxShow.gt-lg":"fxShow.gt-lg",fxHide:"fxHide","fxHide.print":"fxHide.print","fxHide.xs":"fxHide.xs","fxHide.sm":"fxHide.sm","fxHide.md":"fxHide.md","fxHide.lg":"fxHide.lg","fxHide.xl":"fxHide.xl","fxHide.lt-sm":"fxHide.lt-sm","fxHide.lt-md":"fxHide.lt-md","fxHide.lt-lg":"fxHide.lt-lg","fxHide.lt-xl":"fxHide.lt-xl","fxHide.gt-xs":"fxHide.gt-xs","fxHide.gt-sm":"fxHide.gt-sm","fxHide.gt-md":"fxHide.gt-md","fxHide.gt-lg":"fxHide.gt-lg"},features:[e.qOj]});class pe{constructor(V,N,Y=!0){this.key=V,this.value=N,this.key=Y?V.replace(/['"]/g,"").trim():V.trim(),this.value=Y?N.replace(/['"]/g,"").trim():N.trim(),this.value=this.value.replace(/;/,"")}}function le(w){let V=typeof w;return"object"===V?w.constructor===Array?"array":w.constructor===Set?"set":"object":V}function T(w,V){let N=[];return"set"===le(w)?w.forEach(Y=>N.push(Y)):Object.keys(w).forEach(Y=>{N.push(`${Y}:${w[Y]}`)}),function fe(w,V){return w.map(i).filter(Y=>!!Y).map(Y=>(V&&(Y.value=V(Y.value)),Y)).reduce(o,{})}(N,V)}function i(w){const[V,...N]=w.split(":");return new pe(V,N.join(":"))}function o(w,V){return V.key&&(w[V.key]=V.value),w}class m extends t.iR{constructor(V,N,Y,Pe,Ce,Xe,dt,Ke,ge){super(V,null,N,Y),this.sanitizer=Pe,this.ngStyleInstance=dt,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new _.PC(V,Ce,Xe)),this.init();const $e=this.nativeElement.getAttribute("style")??"";this.fallbackStyles=this.buildStyleMap($e),this.isServer=Ke&&(0,_.PM)(ge)}updateWithValue(V){const N=this.buildStyleMap(V);this.ngStyleInstance.ngStyle={...this.fallbackStyles,...N},this.isServer&&this.applyStyleToElement(N),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(V){const N=Y=>this.sanitizer.sanitize(e.q3G.STYLE,Y)??"";if(V)switch(le(V)){case"string":return R(function re(w,V=";"){return String(w).trim().split(V).map(N=>N.trim()).filter(N=>""!==N)}(V),N);case"array":return R(V,N);default:return T(V,N)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}m.\u0275fac=function(V){return new(V||m)(e.Y36(e.SBq),e.Y36(t.RK),e.Y36(t.yB),e.Y36(C.H7),e.Y36(e.aQg),e.Y36(e.Qsj),e.Y36(_.PC,10),e.Y36(t.wY),e.Y36(e.Lbi))},m.\u0275dir=e.lG2({type:m,features:[e.qOj]});const h=["ngStyle","ngStyle.xs","ngStyle.sm","ngStyle.md","ngStyle.lg","ngStyle.xl","ngStyle.lt-sm","ngStyle.lt-md","ngStyle.lt-lg","ngStyle.lt-xl","ngStyle.gt-xs","ngStyle.gt-sm","ngStyle.gt-md","ngStyle.gt-lg"];class I extends m{constructor(){super(...arguments),this.inputs=h}}function R(w,V){return w.map(i).filter(Y=>!!Y).map(Y=>(V&&(Y.value=V(Y.value)),Y)).reduce(o,{})}I.\u0275fac=function(){let w;return function(N){return(w||(w=e.n5z(I)))(N||I)}}(),I.\u0275dir=e.lG2({type:I,selectors:[["","ngStyle",""],["","ngStyle.xs",""],["","ngStyle.sm",""],["","ngStyle.md",""],["","ngStyle.lg",""],["","ngStyle.xl",""],["","ngStyle.lt-sm",""],["","ngStyle.lt-md",""],["","ngStyle.lt-lg",""],["","ngStyle.lt-xl",""],["","ngStyle.gt-xs",""],["","ngStyle.gt-sm",""],["","ngStyle.gt-md",""],["","ngStyle.gt-lg",""]],inputs:{ngStyle:"ngStyle","ngStyle.xs":"ngStyle.xs","ngStyle.sm":"ngStyle.sm","ngStyle.md":"ngStyle.md","ngStyle.lg":"ngStyle.lg","ngStyle.xl":"ngStyle.xl","ngStyle.lt-sm":"ngStyle.lt-sm","ngStyle.lt-md":"ngStyle.lt-md","ngStyle.lt-lg":"ngStyle.lt-lg","ngStyle.lt-xl":"ngStyle.lt-xl","ngStyle.gt-xs":"ngStyle.gt-xs","ngStyle.gt-sm":"ngStyle.gt-sm","ngStyle.gt-md":"ngStyle.gt-md","ngStyle.gt-lg":"ngStyle.gt-lg"},features:[e.qOj]});class r{}r.\u0275fac=function(V){return new(V||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[t.IR]})},6722:(Ye,J,f)=>{"use strict";f.d(J,{Wh:()=>bt,ae:()=>Zt,xw:()=>D,yH:()=>x});var e=f(2560),t=f(2867),_=f(4658),O=f(7200),l=f(253),C=f(8951);class u extends _.QI{buildStyles(Re,{display:U}){const j=(0,O.Ar)(Re);return{...j,display:"none"===U?U:j.display}}}u.\u0275fac=function(){let mi;return function(U){return(mi||(mi=e.n5z(u)))(U||u)}}(),u.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"});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"];class L extends _.iR{constructor(Re,U,j,ue,Ne){super(Re,j,U,ue),this._config=Ne,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(Re){const j=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=k.get(j)??new Map,k.set(j,this.styleCache),this.currentValue!==Re&&(this.addStyles(Re,{display:j}),this.currentValue=Re)}}L.\u0275fac=function(Re){return new(Re||L)(e.Y36(e.SBq),e.Y36(_.RK),e.Y36(u),e.Y36(_.yB),e.Y36(_.WU))},L.\u0275dir=e.lG2({type:L,features:[e.qOj]});class D extends L{constructor(){super(...arguments),this.inputs=P}}D.\u0275fac=function(){let mi;return function(U){return(mi||(mi=e.n5z(D)))(U||D)}}(),D.\u0275dir=e.lG2({type:D,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[e.qOj]});const k=new Map,M={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null};class z extends _.QI{constructor(Re,U){super(),this._styler=Re,this._config=U}buildStyles(Re,U){return Re.endsWith(pe)?(Re=Re.slice(0,Re.indexOf(pe)),function re(mi,Re){const[U,j]=mi.split(" "),Ne=ot=>`-${ot}`;let wt="0px",Et=Ne(j??U),Nt="0px";return"rtl"===Re?Nt=Ne(U):wt=Ne(U),{margin:`0px ${wt} ${Et} ${Nt}`}}(Re=(0,_.FL)(Re,this._config.multiplier),U.directionality)):{}}sideEffect(Re,U,j){const ue=j.items;if(Re.endsWith(pe)){Re=Re.slice(0,Re.indexOf(pe));const Ne=function le(mi,Re){const[U,j]=mi.split(" ");let Ne="0px",Et="0px";return"rtl"===Re?Et=U:Ne=U,{padding:`0px ${Ne} ${j??U} ${Et}`}}(Re=(0,_.FL)(Re,this._config.multiplier),j.directionality);this._styler.applyStyleToElements(Ne,j.items)}else{Re=(0,_.FL)(Re,this._config.multiplier),Re=this.addFallbackUnit(Re);const Ne=ue.pop(),wt=function T(mi,Re){const U=fe(Re.directionality,Re.layout),j={...M};return j[U]=mi,j}(Re,j);this._styler.applyStyleToElements(wt,ue),this._styler.applyStyleToElements(M,[Ne])}}addFallbackUnit(Re){return isNaN(+Re)?Re:`${Re}${this._config.defaultUnit}`}}z.\u0275fac=function(Re){return new(Re||z)(e.LFG(_.RK),e.LFG(_.WU))},z.\u0275prov=e.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"});const A=["fxLayoutGap","fxLayoutGap.xs","fxLayoutGap.sm","fxLayoutGap.md","fxLayoutGap.lg","fxLayoutGap.xl","fxLayoutGap.lt-sm","fxLayoutGap.lt-md","fxLayoutGap.lt-lg","fxLayoutGap.lt-xl","fxLayoutGap.gt-xs","fxLayoutGap.gt-sm","fxLayoutGap.gt-md","fxLayoutGap.gt-lg"];class Z extends _.iR{constructor(Re,U,j,ue,Ne,wt){super(Re,Ne,ue,wt),this.zone=U,this.directionality=j,this.styleUtils=ue,this.layout="row",this.DIRECTIVE_KEY="layout-gap",this.observerSubject=new l.x;const Et=[this.directionality.change,this.observerSubject.asObservable()];this.init(Et),this.marshal.trackValue(this.nativeElement,"layout").pipe((0,C.R)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}get childrenNodes(){const Re=this.nativeElement.children,U=[];for(let j=Re.length;j--;)U[j]=Re[j];return U}ngAfterContentInit(){this.buildChildObservable(),this.triggerUpdate()}ngOnDestroy(){super.ngOnDestroy(),this.observer&&this.observer.disconnect()}onLayoutChange(Re){const j=Re.value.split(" ");this.layout=j[0],O.iQ.find(ue=>ue===this.layout)||(this.layout="row"),this.triggerUpdate()}updateWithValue(Re){const U=this.childrenNodes.filter(j=>1===j.nodeType&&this.willDisplay(j)).sort((j,ue)=>{const Ne=+this.styler.lookupStyle(j,"order"),wt=+this.styler.lookupStyle(ue,"order");return isNaN(Ne)||isNaN(wt)||Ne===wt?0:Ne>wt?1:-1});if(U.length>0){const j=this.directionality.value,ue=this.layout;"row"===ue&&"rtl"===j?this.styleCache=$:"row"===ue&&"rtl"!==j?this.styleCache=he:"column"===ue&&"rtl"===j?this.styleCache=ae:"column"===ue&&"rtl"!==j&&(this.styleCache=se),this.addStyles(Re,{directionality:j,items:U,layout:ue})}}clearStyles(){const Re=Object.keys(this.mru).length>0,U=Re?"padding":fe(this.directionality.value,this.layout);Re&&super.clearStyles(),this.styleUtils.applyStyleToElements({[U]:""},this.childrenNodes)}willDisplay(Re){const U=this.marshal.getValue(Re,"show-hide");return!0===U||void 0===U&&"none"!==this.styleUtils.lookupStyle(Re,"display")}buildChildObservable(){this.zone.runOutsideAngular(()=>{typeof MutationObserver<"u"&&(this.observer=new MutationObserver(Re=>{Re.some(j=>j.addedNodes&&j.addedNodes.length>0||j.removedNodes&&j.removedNodes.length>0)&&this.observerSubject.next()}),this.observer.observe(this.nativeElement,{childList:!0}))})}}Z.\u0275fac=function(Re){return new(Re||Z)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(t.Is),e.Y36(_.RK),e.Y36(z),e.Y36(_.yB))},Z.\u0275dir=e.lG2({type:Z,features:[e.qOj]});class X extends Z{constructor(){super(...arguments),this.inputs=A}}X.\u0275fac=function(){let mi;return function(U){return(mi||(mi=e.n5z(X)))(U||X)}}(),X.\u0275dir=e.lG2({type:X,selectors:[["","fxLayoutGap",""],["","fxLayoutGap.xs",""],["","fxLayoutGap.sm",""],["","fxLayoutGap.md",""],["","fxLayoutGap.lg",""],["","fxLayoutGap.xl",""],["","fxLayoutGap.lt-sm",""],["","fxLayoutGap.lt-md",""],["","fxLayoutGap.lt-lg",""],["","fxLayoutGap.lt-xl",""],["","fxLayoutGap.gt-xs",""],["","fxLayoutGap.gt-sm",""],["","fxLayoutGap.gt-md",""],["","fxLayoutGap.gt-lg",""]],inputs:{fxLayoutGap:"fxLayoutGap","fxLayoutGap.xs":"fxLayoutGap.xs","fxLayoutGap.sm":"fxLayoutGap.sm","fxLayoutGap.md":"fxLayoutGap.md","fxLayoutGap.lg":"fxLayoutGap.lg","fxLayoutGap.xl":"fxLayoutGap.xl","fxLayoutGap.lt-sm":"fxLayoutGap.lt-sm","fxLayoutGap.lt-md":"fxLayoutGap.lt-md","fxLayoutGap.lt-lg":"fxLayoutGap.lt-lg","fxLayoutGap.lt-xl":"fxLayoutGap.lt-xl","fxLayoutGap.gt-xs":"fxLayoutGap.gt-xs","fxLayoutGap.gt-sm":"fxLayoutGap.gt-sm","fxLayoutGap.gt-md":"fxLayoutGap.gt-md","fxLayoutGap.gt-lg":"fxLayoutGap.gt-lg"},features:[e.qOj]});const $=new Map,ae=new Map,he=new Map,se=new Map,pe=" grid";function fe(mi,Re){switch(Re){case"column":return"margin-bottom";case"column-reverse":return"margin-top";case"row":default:return"rtl"===mi?"margin-left":"margin-right";case"row-reverse":return"rtl"===mi?"margin-right":"margin-left"}}class i extends _.QI{constructor(Re){super(),this.layoutConfig=Re}buildStyles(Re,U){let[j,ue,...Ne]=Re.split(" "),wt=Ne.join(" ");const Et=U.direction.indexOf("column")>-1?"column":"row",Nt=(0,O.tj)(Et)?"max-width":"max-height",ot=(0,O.tj)(Et)?"min-width":"min-height",We=String(wt).indexOf("calc")>-1,gt=We||"auto"===wt,ri=String(wt).indexOf("%")>-1&&!We,Pt=String(wt).indexOf("px")>-1||String(wt).indexOf("rem")>-1||String(wt).indexOf("em")>-1||String(wt).indexOf("vw")>-1||String(wt).indexOf("vh")>-1;let Ft=We||Pt;j="0"==j?0:j,ue="0"==ue?0:ue;const qt=!j&&!ue;let Te={};const me={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(wt||""){case"":const ct=!1!==this.layoutConfig.useColumnBasisZero;wt="row"===Et?"0%":ct?"0.000000001px":"auto";break;case"initial":case"nogrow":j=0,wt="auto";break;case"grow":wt="100%";break;case"noshrink":ue=0,wt="auto";break;case"auto":break;case"none":j=0,ue=0,wt="auto";break;default:!Ft&&!ri&&!isNaN(wt)&&(wt+="%"),"0%"===wt&&(Ft=!0),"0px"===wt&&(wt="0%"),Te=We?(0,O.kt)(me,{"flex-grow":j,"flex-shrink":ue,"flex-basis":Ft?wt:"100%"}):(0,O.kt)(me,{flex:`${j} ${ue} ${Ft?wt:"100%"}`})}return Te.flex||Te["flex-grow"]||(Te=We?(0,O.kt)(me,{"flex-grow":j,"flex-shrink":ue,"flex-basis":wt}):(0,O.kt)(me,{flex:`${j} ${ue} ${wt}`})),"0%"!==wt&&"0px"!==wt&&"0.000000001px"!==wt&&"auto"!==wt&&(Te[ot]=qt||Ft&&j?wt:null,Te[Nt]=qt||!gt&&ue?wt:null),Te[ot]||Te[Nt]?U.hasWrap&&(Te[We?"flex-basis":"flex"]=Te[Nt]?We?Te[Nt]:`${j} ${ue} ${Te[Nt]}`:We?Te[ot]:`${j} ${ue} ${Te[ot]}`):Te=We?(0,O.kt)(me,{"flex-grow":j,"flex-shrink":ue,"flex-basis":wt}):(0,O.kt)(me,{flex:`${j} ${ue} ${wt}`}),(0,O.kt)(Te,{"box-sizing":"border-box"})}}i.\u0275fac=function(Re){return new(Re||i)(e.LFG(_.WU))},i.\u0275prov=e.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"});const o=["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"];class h extends _.iR{constructor(Re,U,j,ue,Ne){super(Re,ue,U,Ne),this.layoutConfig=j,this.marshal=Ne,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(Re){this.flexShrink=Re||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(Re){this.flexGrow=Re||"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(Re){const j=Re.value.split(" ");this.direction=j[0],this.wrap=void 0!==j[1]&&"wrap"===j[1],this.triggerUpdate()}updateWithValue(Re){const U=!1!==this.layoutConfig.addFlexToParent;void 0===this.direction&&(this.direction=this.getFlexFlowDirection(this.parentElement,U)),void 0===this.wrap&&(this.wrap=this.hasWrap(this.parentElement));const j=this.direction,ue=j.startsWith("row"),Ne=this.wrap;ue&&Ne?this.styleCache=g:ue&&!Ne?this.styleCache=I:!ue&&Ne?this.styleCache=r:!ue&&!Ne&&(this.styleCache=R);const wt=String(Re).replace(";",""),Et=(0,_.Ot)(wt,this.flexGrow,this.flexShrink);this.addStyles(Et.join(" "),{direction:j,hasWrap:Ne})}triggerReflow(){const Re=this.activatedValue;if(void 0!==Re){const U=(0,_.Ot)(Re+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,U.join(" "))}}}h.\u0275fac=function(Re){return new(Re||h)(e.Y36(e.SBq),e.Y36(_.RK),e.Y36(_.WU),e.Y36(i),e.Y36(_.yB))},h.\u0275dir=e.lG2({type:h,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[e.qOj]});class x extends h{constructor(){super(...arguments),this.inputs=o}}x.\u0275fac=function(){let mi;return function(U){return(mi||(mi=e.n5z(x)))(U||x)}}(),x.\u0275dir=e.lG2({type:x,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[e.qOj]});const I=new Map,R=new Map,g=new Map,r=new Map;class w extends _.QI{buildStyles(Re){return{order:Re&&parseInt(Re,10)||""}}}w.\u0275fac=function(){let mi;return function(U){return(mi||(mi=e.n5z(w)))(U||w)}}(),w.\u0275prov=e.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"});const V=["fxFlexOrder","fxFlexOrder.xs","fxFlexOrder.sm","fxFlexOrder.md","fxFlexOrder.lg","fxFlexOrder.xl","fxFlexOrder.lt-sm","fxFlexOrder.lt-md","fxFlexOrder.lt-lg","fxFlexOrder.lt-xl","fxFlexOrder.gt-xs","fxFlexOrder.gt-sm","fxFlexOrder.gt-md","fxFlexOrder.gt-lg"];class Y extends _.iR{constructor(Re,U,j,ue){super(Re,j,U,ue),this.DIRECTIVE_KEY="flex-order",this.styleCache=Pe,this.init()}}Y.\u0275fac=function(Re){return new(Re||Y)(e.Y36(e.SBq),e.Y36(_.RK),e.Y36(w),e.Y36(_.yB))},Y.\u0275dir=e.lG2({type:Y,features:[e.qOj]});const Pe=new Map;class Ce extends Y{constructor(){super(...arguments),this.inputs=V}}Ce.\u0275fac=function(){let mi;return function(U){return(mi||(mi=e.n5z(Ce)))(U||Ce)}}(),Ce.\u0275dir=e.lG2({type:Ce,selectors:[["","fxFlexOrder",""],["","fxFlexOrder.xs",""],["","fxFlexOrder.sm",""],["","fxFlexOrder.md",""],["","fxFlexOrder.lg",""],["","fxFlexOrder.xl",""],["","fxFlexOrder.lt-sm",""],["","fxFlexOrder.lt-md",""],["","fxFlexOrder.lt-lg",""],["","fxFlexOrder.lt-xl",""],["","fxFlexOrder.gt-xs",""],["","fxFlexOrder.gt-sm",""],["","fxFlexOrder.gt-md",""],["","fxFlexOrder.gt-lg",""]],inputs:{fxFlexOrder:"fxFlexOrder","fxFlexOrder.xs":"fxFlexOrder.xs","fxFlexOrder.sm":"fxFlexOrder.sm","fxFlexOrder.md":"fxFlexOrder.md","fxFlexOrder.lg":"fxFlexOrder.lg","fxFlexOrder.xl":"fxFlexOrder.xl","fxFlexOrder.lt-sm":"fxFlexOrder.lt-sm","fxFlexOrder.lt-md":"fxFlexOrder.lt-md","fxFlexOrder.lt-lg":"fxFlexOrder.lt-lg","fxFlexOrder.lt-xl":"fxFlexOrder.lt-xl","fxFlexOrder.gt-xs":"fxFlexOrder.gt-xs","fxFlexOrder.gt-sm":"fxFlexOrder.gt-sm","fxFlexOrder.gt-md":"fxFlexOrder.gt-md","fxFlexOrder.gt-lg":"fxFlexOrder.gt-lg"},features:[e.qOj]});class Xe extends _.QI{constructor(Re){super(),this._config=Re}buildStyles(Re,U){Re||(Re="0"),Re=(0,_.FL)(Re,this._config.multiplier);const j=String(Re).indexOf("%")>-1;!(String(Re).indexOf("px")>-1)&&!j&&!isNaN(+Re)&&(Re=`${Re}%`);const Ne=U.isRtl?"margin-right":"margin-left";return(0,O.tj)(U.layout)?{[Ne]:Re}:{"margin-top":Re}}}Xe.\u0275fac=function(Re){return new(Re||Xe)(e.LFG(_.WU))},Xe.\u0275prov=e.Yz7({token:Xe,factory:Xe.\u0275fac,providedIn:"root"});const dt=["fxFlexOffset","fxFlexOffset.xs","fxFlexOffset.sm","fxFlexOffset.md","fxFlexOffset.lg","fxFlexOffset.xl","fxFlexOffset.lt-sm","fxFlexOffset.lt-md","fxFlexOffset.lt-lg","fxFlexOffset.lt-xl","fxFlexOffset.gt-xs","fxFlexOffset.gt-sm","fxFlexOffset.gt-md","fxFlexOffset.gt-lg"];class ge extends _.iR{constructor(Re,U,j,ue,Ne){super(Re,j,Ne,ue),this.directionality=U,this.DIRECTIVE_KEY="flex-offset",this.init([this.directionality.change]),this.parentElement&&this.marshal.trackValue(this.parentElement,"layout-gap").pipe((0,C.R)(this.destroySubject)).subscribe(this.triggerUpdate.bind(this))}updateWithValue(Re=""){const U=this.getFlexFlowDirection(this.parentElement,!0),j="rtl"===this.directionality.value;"row"===U&&j?this.styleCache=Oe:"row"!==U||j?"column"===U&&j?this.styleCache=Me:"column"===U&&!j&&(this.styleCache=Ue):this.styleCache=De,this.addStyles(Re+"",{layout:U,isRtl:j})}}ge.\u0275fac=function(Re){return new(Re||ge)(e.Y36(e.SBq),e.Y36(t.Is),e.Y36(Xe),e.Y36(_.yB),e.Y36(_.RK))},ge.\u0275dir=e.lG2({type:ge,features:[e.qOj]});class $e extends ge{constructor(){super(...arguments),this.inputs=dt}}$e.\u0275fac=function(){let mi;return function(U){return(mi||(mi=e.n5z($e)))(U||$e)}}(),$e.\u0275dir=e.lG2({type:$e,selectors:[["","fxFlexOffset",""],["","fxFlexOffset.xs",""],["","fxFlexOffset.sm",""],["","fxFlexOffset.md",""],["","fxFlexOffset.lg",""],["","fxFlexOffset.xl",""],["","fxFlexOffset.lt-sm",""],["","fxFlexOffset.lt-md",""],["","fxFlexOffset.lt-lg",""],["","fxFlexOffset.lt-xl",""],["","fxFlexOffset.gt-xs",""],["","fxFlexOffset.gt-sm",""],["","fxFlexOffset.gt-md",""],["","fxFlexOffset.gt-lg",""]],inputs:{fxFlexOffset:"fxFlexOffset","fxFlexOffset.xs":"fxFlexOffset.xs","fxFlexOffset.sm":"fxFlexOffset.sm","fxFlexOffset.md":"fxFlexOffset.md","fxFlexOffset.lg":"fxFlexOffset.lg","fxFlexOffset.xl":"fxFlexOffset.xl","fxFlexOffset.lt-sm":"fxFlexOffset.lt-sm","fxFlexOffset.lt-md":"fxFlexOffset.lt-md","fxFlexOffset.lt-lg":"fxFlexOffset.lt-lg","fxFlexOffset.lt-xl":"fxFlexOffset.lt-xl","fxFlexOffset.gt-xs":"fxFlexOffset.gt-xs","fxFlexOffset.gt-sm":"fxFlexOffset.gt-sm","fxFlexOffset.gt-md":"fxFlexOffset.gt-md","fxFlexOffset.gt-lg":"fxFlexOffset.gt-lg"},features:[e.qOj]});const Oe=new Map,Me=new Map,De=new Map,Ue=new Map;class ye extends _.QI{buildStyles(Re){const U={};switch(Re=Re||"stretch"){case"start":U["align-self"]="flex-start";break;case"end":U["align-self"]="flex-end";break;default:U["align-self"]=Re}return U}}ye.\u0275fac=function(){let mi;return function(U){return(mi||(mi=e.n5z(ye)))(U||ye)}}(),ye.\u0275prov=e.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"});const we=["fxFlexAlign","fxFlexAlign.xs","fxFlexAlign.sm","fxFlexAlign.md","fxFlexAlign.lg","fxFlexAlign.xl","fxFlexAlign.lt-sm","fxFlexAlign.lt-md","fxFlexAlign.lt-lg","fxFlexAlign.lt-xl","fxFlexAlign.gt-xs","fxFlexAlign.gt-sm","fxFlexAlign.gt-md","fxFlexAlign.gt-lg"];class Se extends _.iR{constructor(Re,U,j,ue){super(Re,j,U,ue),this.DIRECTIVE_KEY="flex-align",this.styleCache=ne,this.init()}}Se.\u0275fac=function(Re){return new(Re||Se)(e.Y36(e.SBq),e.Y36(_.RK),e.Y36(ye),e.Y36(_.yB))},Se.\u0275dir=e.lG2({type:Se,features:[e.qOj]});const ne=new Map;class K extends Se{constructor(){super(...arguments),this.inputs=we}}K.\u0275fac=function(){let mi;return function(U){return(mi||(mi=e.n5z(K)))(U||K)}}(),K.\u0275dir=e.lG2({type:K,selectors:[["","fxFlexAlign",""],["","fxFlexAlign.xs",""],["","fxFlexAlign.sm",""],["","fxFlexAlign.md",""],["","fxFlexAlign.lg",""],["","fxFlexAlign.xl",""],["","fxFlexAlign.lt-sm",""],["","fxFlexAlign.lt-md",""],["","fxFlexAlign.lt-lg",""],["","fxFlexAlign.lt-xl",""],["","fxFlexAlign.gt-xs",""],["","fxFlexAlign.gt-sm",""],["","fxFlexAlign.gt-md",""],["","fxFlexAlign.gt-lg",""]],inputs:{fxFlexAlign:"fxFlexAlign","fxFlexAlign.xs":"fxFlexAlign.xs","fxFlexAlign.sm":"fxFlexAlign.sm","fxFlexAlign.md":"fxFlexAlign.md","fxFlexAlign.lg":"fxFlexAlign.lg","fxFlexAlign.xl":"fxFlexAlign.xl","fxFlexAlign.lt-sm":"fxFlexAlign.lt-sm","fxFlexAlign.lt-md":"fxFlexAlign.lt-md","fxFlexAlign.lt-lg":"fxFlexAlign.lt-lg","fxFlexAlign.lt-xl":"fxFlexAlign.lt-xl","fxFlexAlign.gt-xs":"fxFlexAlign.gt-xs","fxFlexAlign.gt-sm":"fxFlexAlign.gt-sm","fxFlexAlign.gt-md":"fxFlexAlign.gt-md","fxFlexAlign.gt-lg":"fxFlexAlign.gt-lg"},features:[e.qOj]});const ee={margin:0,width:"100%",height:"100%","min-width":"100%","min-height":"100%"};class ze extends _.QI{buildStyles(Re){return ee}}ze.\u0275fac=function(){let mi;return function(U){return(mi||(mi=e.n5z(ze)))(U||ze)}}(),ze.\u0275prov=e.Yz7({token:ze,factory:ze.\u0275fac,providedIn:"root"});class Ve extends _.iR{constructor(Re,U,j,ue){super(Re,j,U,ue),this.styleCache=oe,this.addStyles("")}}Ve.\u0275fac=function(Re){return new(Re||Ve)(e.Y36(e.SBq),e.Y36(_.RK),e.Y36(ze),e.Y36(_.yB))},Ve.\u0275dir=e.lG2({type:Ve,selectors:[["","fxFill",""],["","fxFlexFill",""]],features:[e.qOj]});const oe=new Map;class at extends _.QI{buildStyles(Re,U){const j={},[ue,Ne]=Re.split(" ");switch(ue){case"center":j["justify-content"]="center";break;case"space-around":j["justify-content"]="space-around";break;case"space-between":j["justify-content"]="space-between";break;case"space-evenly":j["justify-content"]="space-evenly";break;case"end":case"flex-end":j["justify-content"]="flex-end";break;default:j["justify-content"]="flex-start"}switch(Ne){case"start":case"flex-start":j["align-items"]=j["align-content"]="flex-start";break;case"center":j["align-items"]=j["align-content"]="center";break;case"end":case"flex-end":j["align-items"]=j["align-content"]="flex-end";break;case"space-between":j["align-content"]="space-between",j["align-items"]="stretch";break;case"space-around":j["align-content"]="space-around",j["align-items"]="stretch";break;case"baseline":j["align-content"]="stretch",j["align-items"]="baseline";break;default:j["align-items"]=j["align-content"]="stretch"}return(0,O.kt)(j,{display:U.inline?"inline-flex":"flex","flex-direction":U.layout,"box-sizing":"border-box","max-width":"stretch"===Ne?(0,O.tj)(U.layout)?null:"100%":null,"max-height":"stretch"===Ne&&(0,O.tj)(U.layout)?"100%":null})}}at.\u0275fac=function(){let mi;return function(U){return(mi||(mi=e.n5z(at)))(U||at)}}(),at.\u0275prov=e.Yz7({token:at,factory:at.\u0275fac,providedIn:"root"});const qe=["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"];class ii extends _.iR{constructor(Re,U,j,ue){super(Re,j,U,ue),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(Re){const U=this.layout||"row",j=this.inline;"row"===U&&j?this.styleCache=Gt:"row"!==U||j?"row-reverse"===U&&j?this.styleCache=Rt:"row-reverse"!==U||j?"column"===U&&j?this.styleCache=kt:"column"!==U||j?"column-reverse"===U&&j?this.styleCache=yi:"column-reverse"===U&&!j&&(this.styleCache=Ot):this.styleCache=Be:this.styleCache=rt:this.styleCache=st,this.addStyles(Re,{layout:U,inline:j})}onLayoutChange(Re){const U=Re.value.split(" ");this.layout=U[0],this.inline=Re.value.includes("inline"),O.iQ.find(j=>j===this.layout)||(this.layout="row"),this.triggerUpdate()}}ii.\u0275fac=function(Re){return new(Re||ii)(e.Y36(e.SBq),e.Y36(_.RK),e.Y36(at),e.Y36(_.yB))},ii.\u0275dir=e.lG2({type:ii,features:[e.qOj]});class bt extends ii{constructor(){super(...arguments),this.inputs=qe}}bt.\u0275fac=function(){let mi;return function(U){return(mi||(mi=e.n5z(bt)))(U||bt)}}(),bt.\u0275dir=e.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:[e.qOj]});const st=new Map,Be=new Map,rt=new Map,Ot=new Map,Gt=new Map,kt=new Map,Rt=new Map,yi=new Map;class Zt{}Zt.\u0275fac=function(Re){return new(Re||Zt)},Zt.\u0275mod=e.oAB({type:Zt}),Zt.\u0275inj=e.cJS({imports:[_.IR,t.vT]})},2508:(Ye,J,f)=>{"use strict";f.d(J,{Cf:()=>X,F:()=>Vt,Fd:()=>hr,Fj:()=>z,JJ:()=>ie,JL:()=>Se,JU:()=>P,On:()=>Fi,Q7:()=>xr,QS:()=>hn,UX:()=>li,Zs:()=>da,_Y:()=>sn,a5:()=>De,gN:()=>Me,kI:()=>he,oH:()=>Ta,p4:()=>ga,qQ:()=>ur,sg:()=>Zn,u:()=>Jn,u5:()=>aa,wV:()=>kn});var e=f(2560),t=f(4666),_=f(7400),O=f(1640),l=f(635);class C{constructor(_e,mt){this._renderer=_e,this._elementRef=mt,this.onChange=ci=>{},this.onTouched=()=>{}}setProperty(_e,mt){this._renderer.setProperty(this._elementRef.nativeElement,_e,mt)}registerOnTouched(_e){this.onTouched=_e}registerOnChange(_e){this.onChange=_e}setDisabledState(_e){this.setProperty("disabled",_e)}}C.\u0275fac=function(_e){return new(_e||C)(e.Y36(e.Qsj),e.Y36(e.SBq))},C.\u0275dir=e.lG2({type:C});class u extends C{}u.\u0275fac=function(){let Mt;return function(mt){return(Mt||(Mt=e.n5z(u)))(mt||u)}}(),u.\u0275dir=e.lG2({type:u,features:[e.qOj]});const P=new e.OlP("NgValueAccessor"),p={provide:P,useExisting:(0,e.Gpc)(()=>L),multi:!0};class L extends u{writeValue(_e){this.setProperty("checked",_e)}}L.\u0275fac=function(){let Mt;return function(mt){return(Mt||(Mt=e.n5z(L)))(mt||L)}}(),L.\u0275dir=e.lG2({type:L,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(_e,mt){1&_e&&e.NdJ("change",function(Ni){return mt.onChange(Ni.target.checked)})("blur",function(){return mt.onTouched()})},features:[e._Bn([p]),e.qOj]});const D={provide:P,useExisting:(0,e.Gpc)(()=>z),multi:!0};const M=new e.OlP("CompositionEventMode");class z extends C{constructor(_e,mt,ci){super(_e,mt),this._compositionMode=ci,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function k(){const Mt=(0,t.q)()?(0,t.q)().getUserAgent():"";return/android (\d+)/.test(Mt.toLowerCase())}())}writeValue(_e){const mt=_e??"";this.setProperty("value",mt)}_handleInput(_e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(_e)}_compositionStart(){this._composing=!0}_compositionEnd(_e){this._composing=!1,this._compositionMode&&this.onChange(_e)}}z.\u0275fac=function(_e){return new(_e||z)(e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(M,8))},z.\u0275dir=e.lG2({type:z,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(_e,mt){1&_e&&e.NdJ("input",function(Ni){return mt._handleInput(Ni.target.value)})("blur",function(){return mt.onTouched()})("compositionstart",function(){return mt._compositionStart()})("compositionend",function(Ni){return mt._compositionEnd(Ni.target.value)})},features:[e._Bn([D]),e.qOj]});function W(Mt){return null==Mt||("string"==typeof Mt||Array.isArray(Mt))&&0===Mt.length}function Z(Mt){return null!=Mt&&"number"==typeof Mt.length}const X=new e.OlP("NgValidators"),$=new e.OlP("NgAsyncValidators"),ae=/^(?=.{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 he{static min(_e){return se(_e)}static max(_e){return pe(_e)}static required(_e){return le(_e)}static requiredTrue(_e){return re(_e)}static email(_e){return fe(_e)}static minLength(_e){return T(_e)}static maxLength(_e){return i(_e)}static pattern(_e){return o(_e)}static nullValidator(_e){return null}static compose(_e){return w(_e)}static composeAsync(_e){return N(_e)}}function se(Mt){return _e=>{if(W(_e.value)||W(Mt))return null;const mt=parseFloat(_e.value);return!isNaN(mt)&&mt<Mt?{min:{min:Mt,actual:_e.value}}:null}}function pe(Mt){return _e=>{if(W(_e.value)||W(Mt))return null;const mt=parseFloat(_e.value);return!isNaN(mt)&&mt>Mt?{max:{max:Mt,actual:_e.value}}:null}}function le(Mt){return W(Mt.value)?{required:!0}:null}function re(Mt){return!0===Mt.value?null:{required:!0}}function fe(Mt){return W(Mt.value)||ae.test(Mt.value)?null:{email:!0}}function T(Mt){return _e=>W(_e.value)||!Z(_e.value)?null:_e.value.length<Mt?{minlength:{requiredLength:Mt,actualLength:_e.value.length}}:null}function i(Mt){return _e=>Z(_e.value)&&_e.value.length>Mt?{maxlength:{requiredLength:Mt,actualLength:_e.value.length}}:null}function o(Mt){if(!Mt)return m;let _e,mt;return"string"==typeof Mt?(mt="","^"!==Mt.charAt(0)&&(mt+="^"),mt+=Mt,"$"!==Mt.charAt(Mt.length-1)&&(mt+="$"),_e=new RegExp(mt)):(mt=Mt.toString(),_e=Mt),ci=>{if(W(ci.value))return null;const Ni=ci.value;return _e.test(Ni)?null:{pattern:{requiredPattern:mt,actualValue:Ni}}}}function m(Mt){return null}function h(Mt){return null!=Mt}function x(Mt){const _e=(0,e.QGY)(Mt)?(0,_.D)(Mt):Mt;return _e}function I(Mt){let _e={};return Mt.forEach(mt=>{_e=null!=mt?{..._e,...mt}:_e}),0===Object.keys(_e).length?null:_e}function R(Mt,_e){return _e.map(mt=>mt(Mt))}function r(Mt){return Mt.map(_e=>function g(Mt){return!Mt.validate}(_e)?_e:mt=>_e.validate(mt))}function w(Mt){if(!Mt)return null;const _e=Mt.filter(h);return 0==_e.length?null:function(mt){return I(R(mt,_e))}}function V(Mt){return null!=Mt?w(r(Mt)):null}function N(Mt){if(!Mt)return null;const _e=Mt.filter(h);return 0==_e.length?null:function(mt){const ci=R(mt,_e).map(x);return(0,O.D)(ci).pipe((0,l.U)(I))}}function Y(Mt){return null!=Mt?N(r(Mt)):null}function Pe(Mt,_e){return null===Mt?[_e]:Array.isArray(Mt)?[...Mt,_e]:[Mt,_e]}function Ce(Mt){return Mt._rawValidators}function Xe(Mt){return Mt._rawAsyncValidators}function dt(Mt){return Mt?Array.isArray(Mt)?Mt:[Mt]:[]}function Ke(Mt,_e){return Array.isArray(Mt)?Mt.includes(_e):Mt===_e}function ge(Mt,_e){const mt=dt(_e);return dt(Mt).forEach(Ni=>{Ke(mt,Ni)||mt.push(Ni)}),mt}function $e(Mt,_e){return dt(_e).filter(mt=>!Ke(Mt,mt))}class Oe{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(_e){this._rawValidators=_e||[],this._composedValidatorFn=V(this._rawValidators)}_setAsyncValidators(_e){this._rawAsyncValidators=_e||[],this._composedAsyncValidatorFn=Y(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(_e){this._onDestroyCallbacks.push(_e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(_e=>_e()),this._onDestroyCallbacks=[]}reset(_e){this.control&&this.control.reset(_e)}hasError(_e,mt){return!!this.control&&this.control.hasError(_e,mt)}getError(_e,mt){return this.control?this.control.getError(_e,mt):null}}class Me extends Oe{get formDirective(){return null}get path(){return null}}class De extends Oe{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ue{constructor(_e){this._cd=_e}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}}class ie extends Ue{constructor(_e){super(_e)}}ie.\u0275fac=function(_e){return new(_e||ie)(e.Y36(De,2))},ie.\u0275dir=e.lG2({type:ie,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(_e,mt){2&_e&&e.ekj("ng-untouched",mt.isUntouched)("ng-touched",mt.isTouched)("ng-pristine",mt.isPristine)("ng-dirty",mt.isDirty)("ng-valid",mt.isValid)("ng-invalid",mt.isInvalid)("ng-pending",mt.isPending)},features:[e.qOj]});class Se extends Ue{constructor(_e){super(_e)}}Se.\u0275fac=function(_e){return new(_e||Se)(e.Y36(Me,10))},Se.\u0275dir=e.lG2({type:Se,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(_e,mt){2&_e&&e.ekj("ng-untouched",mt.isUntouched)("ng-touched",mt.isTouched)("ng-pristine",mt.isPristine)("ng-dirty",mt.isDirty)("ng-valid",mt.isValid)("ng-invalid",mt.isInvalid)("ng-pending",mt.isPending)("ng-submitted",mt.isSubmitted)},features:[e.qOj]});const yi="VALID",Jt="INVALID",Zt="PENDING",mi="DISABLED";function Re(Mt){return(Ne(Mt)?Mt.validators:Mt)||null}function j(Mt,_e){return(Ne(_e)?_e.asyncValidators:Mt)||null}function Ne(Mt){return null!=Mt&&!Array.isArray(Mt)&&"object"==typeof Mt}function wt(Mt,_e,mt){const ci=Mt.controls;if(!(_e?Object.keys(ci):ci).length)throw new e.vHH(1e3,"");if(!ci[mt])throw new e.vHH(1001,"")}function Et(Mt,_e,mt){Mt._forEachChild((ci,Ni)=>{if(void 0===mt[Ni])throw new e.vHH(1002,"")})}class Nt{constructor(_e,mt){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(_e),this._assignAsyncValidators(mt)}get validator(){return this._composedValidatorFn}set validator(_e){this._rawValidators=this._composedValidatorFn=_e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(_e){this._rawAsyncValidators=this._composedAsyncValidatorFn=_e}get parent(){return this._parent}get valid(){return this.status===yi}get invalid(){return this.status===Jt}get pending(){return this.status==Zt}get disabled(){return this.status===mi}get enabled(){return this.status!==mi}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(_e){this._assignValidators(_e)}setAsyncValidators(_e){this._assignAsyncValidators(_e)}addValidators(_e){this.setValidators(ge(_e,this._rawValidators))}addAsyncValidators(_e){this.setAsyncValidators(ge(_e,this._rawAsyncValidators))}removeValidators(_e){this.setValidators($e(_e,this._rawValidators))}removeAsyncValidators(_e){this.setAsyncValidators($e(_e,this._rawAsyncValidators))}hasValidator(_e){return Ke(this._rawValidators,_e)}hasAsyncValidator(_e){return Ke(this._rawAsyncValidators,_e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(_e={}){this.touched=!0,this._parent&&!_e.onlySelf&&this._parent.markAsTouched(_e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(_e=>_e.markAllAsTouched())}markAsUntouched(_e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(mt=>{mt.markAsUntouched({onlySelf:!0})}),this._parent&&!_e.onlySelf&&this._parent._updateTouched(_e)}markAsDirty(_e={}){this.pristine=!1,this._parent&&!_e.onlySelf&&this._parent.markAsDirty(_e)}markAsPristine(_e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(mt=>{mt.markAsPristine({onlySelf:!0})}),this._parent&&!_e.onlySelf&&this._parent._updatePristine(_e)}markAsPending(_e={}){this.status=Zt,!1!==_e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!_e.onlySelf&&this._parent.markAsPending(_e)}disable(_e={}){const mt=this._parentMarkedDirty(_e.onlySelf);this.status=mi,this.errors=null,this._forEachChild(ci=>{ci.disable({..._e,onlySelf:!0})}),this._updateValue(),!1!==_e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({..._e,skipPristineCheck:mt}),this._onDisabledChange.forEach(ci=>ci(!0))}enable(_e={}){const mt=this._parentMarkedDirty(_e.onlySelf);this.status=yi,this._forEachChild(ci=>{ci.enable({..._e,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:_e.emitEvent}),this._updateAncestors({..._e,skipPristineCheck:mt}),this._onDisabledChange.forEach(ci=>ci(!1))}_updateAncestors(_e){this._parent&&!_e.onlySelf&&(this._parent.updateValueAndValidity(_e),_e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(_e){this._parent=_e}getRawValue(){return this.value}updateValueAndValidity(_e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===yi||this.status===Zt)&&this._runAsyncValidator(_e.emitEvent)),!1!==_e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!_e.onlySelf&&this._parent.updateValueAndValidity(_e)}_updateTreeValidity(_e={emitEvent:!0}){this._forEachChild(mt=>mt._updateTreeValidity(_e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:_e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?mi:yi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(_e){if(this.asyncValidator){this.status=Zt,this._hasOwnPendingAsyncValidator=!0;const mt=x(this.asyncValidator(this));this._asyncValidationSubscription=mt.subscribe(ci=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(ci,{emitEvent:_e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(_e,mt={}){this.errors=_e,this._updateControlsErrors(!1!==mt.emitEvent)}get(_e){let mt=_e;return null==mt||(Array.isArray(mt)||(mt=mt.split(".")),0===mt.length)?null:mt.reduce((ci,Ni)=>ci&&ci._find(Ni),this)}getError(_e,mt){const ci=mt?this.get(mt):this;return ci&&ci.errors?ci.errors[_e]:null}hasError(_e,mt){return!!this.getError(_e,mt)}get root(){let _e=this;for(;_e._parent;)_e=_e._parent;return _e}_updateControlsErrors(_e){this.status=this._calculateStatus(),_e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(_e)}_initObservables(){this.valueChanges=new e.vpe,this.statusChanges=new e.vpe}_calculateStatus(){return this._allControlsDisabled()?mi:this.errors?Jt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Zt)?Zt:this._anyControlsHaveStatus(Jt)?Jt:yi}_anyControlsHaveStatus(_e){return this._anyControls(mt=>mt.status===_e)}_anyControlsDirty(){return this._anyControls(_e=>_e.dirty)}_anyControlsTouched(){return this._anyControls(_e=>_e.touched)}_updatePristine(_e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!_e.onlySelf&&this._parent._updatePristine(_e)}_updateTouched(_e={}){this.touched=this._anyControlsTouched(),this._parent&&!_e.onlySelf&&this._parent._updateTouched(_e)}_registerOnCollectionChange(_e){this._onCollectionChange=_e}_setUpdateStrategy(_e){Ne(_e)&&null!=_e.updateOn&&(this._updateOn=_e.updateOn)}_parentMarkedDirty(_e){const mt=this._parent&&this._parent.dirty;return!_e&&!!mt&&!this._parent._anyControlsDirty()}_find(_e){return null}_assignValidators(_e){this._rawValidators=Array.isArray(_e)?_e.slice():_e,this._composedValidatorFn=function U(Mt){return Array.isArray(Mt)?V(Mt):Mt||null}(this._rawValidators)}_assignAsyncValidators(_e){this._rawAsyncValidators=Array.isArray(_e)?_e.slice():_e,this._composedAsyncValidatorFn=function ue(Mt){return Array.isArray(Mt)?Y(Mt):Mt||null}(this._rawAsyncValidators)}}class ot extends Nt{constructor(_e,mt,ci){super(Re(mt),j(ci,mt)),this.controls=_e,this._initObservables(),this._setUpdateStrategy(mt),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(_e,mt){return this.controls[_e]?this.controls[_e]:(this.controls[_e]=mt,mt.setParent(this),mt._registerOnCollectionChange(this._onCollectionChange),mt)}addControl(_e,mt,ci={}){this.registerControl(_e,mt),this.updateValueAndValidity({emitEvent:ci.emitEvent}),this._onCollectionChange()}removeControl(_e,mt={}){this.controls[_e]&&this.controls[_e]._registerOnCollectionChange(()=>{}),delete this.controls[_e],this.updateValueAndValidity({emitEvent:mt.emitEvent}),this._onCollectionChange()}setControl(_e,mt,ci={}){this.controls[_e]&&this.controls[_e]._registerOnCollectionChange(()=>{}),delete this.controls[_e],mt&&this.registerControl(_e,mt),this.updateValueAndValidity({emitEvent:ci.emitEvent}),this._onCollectionChange()}contains(_e){return this.controls.hasOwnProperty(_e)&&this.controls[_e].enabled}setValue(_e,mt={}){Et(this,0,_e),Object.keys(_e).forEach(ci=>{wt(this,!0,ci),this.controls[ci].setValue(_e[ci],{onlySelf:!0,emitEvent:mt.emitEvent})}),this.updateValueAndValidity(mt)}patchValue(_e,mt={}){null!=_e&&(Object.keys(_e).forEach(ci=>{const Ni=this.controls[ci];Ni&&Ni.patchValue(_e[ci],{onlySelf:!0,emitEvent:mt.emitEvent})}),this.updateValueAndValidity(mt))}reset(_e={},mt={}){this._forEachChild((ci,Ni)=>{ci.reset(_e[Ni],{onlySelf:!0,emitEvent:mt.emitEvent})}),this._updatePristine(mt),this._updateTouched(mt),this.updateValueAndValidity(mt)}getRawValue(){return this._reduceChildren({},(_e,mt,ci)=>(_e[ci]=mt.getRawValue(),_e))}_syncPendingControls(){let _e=this._reduceChildren(!1,(mt,ci)=>!!ci._syncPendingControls()||mt);return _e&&this.updateValueAndValidity({onlySelf:!0}),_e}_forEachChild(_e){Object.keys(this.controls).forEach(mt=>{const ci=this.controls[mt];ci&&_e(ci,mt)})}_setUpControls(){this._forEachChild(_e=>{_e.setParent(this),_e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(_e){for(const[mt,ci]of Object.entries(this.controls))if(this.contains(mt)&&_e(ci))return!0;return!1}_reduceValue(){return this._reduceChildren({},(mt,ci,Ni)=>((ci.enabled||this.disabled)&&(mt[Ni]=ci.value),mt))}_reduceChildren(_e,mt){let ci=_e;return this._forEachChild((Ni,In)=>{ci=mt(ci,Ni,In)}),ci}_allControlsDisabled(){for(const _e of Object.keys(this.controls))if(this.controls[_e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(_e){return this.controls.hasOwnProperty(_e)?this.controls[_e]:null}}class ri extends ot{}const Ft=new e.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>qt}),qt="always";function Te(Mt,_e){return[..._e.path,Mt]}function me(Mt,_e,mt=qt){Li(Mt,_e),_e.valueAccessor.writeValue(Mt.value),(Mt.disabled||"always"===mt)&&_e.valueAccessor.setDisabledState?.(Mt.disabled),function wi(Mt,_e){_e.valueAccessor.registerOnChange(mt=>{Mt._pendingValue=mt,Mt._pendingChange=!0,Mt._pendingDirty=!0,"change"===Mt.updateOn&&xt(Mt,_e)})}(Mt,_e),function Qe(Mt,_e){const mt=(ci,Ni)=>{_e.valueAccessor.writeValue(ci),Ni&&_e.viewToModelUpdate(ci)};Mt.registerOnChange(mt),_e._registerOnDestroy(()=>{Mt._unregisterOnChange(mt)})}(Mt,_e),function zi(Mt,_e){_e.valueAccessor.registerOnTouched(()=>{Mt._pendingTouched=!0,"blur"===Mt.updateOn&&Mt._pendingChange&&xt(Mt,_e),"submit"!==Mt.updateOn&&Mt.markAsTouched()})}(Mt,_e),function Lt(Mt,_e){if(_e.valueAccessor.setDisabledState){const mt=ci=>{_e.valueAccessor.setDisabledState(ci)};Mt.registerOnDisabledChange(mt),_e._registerOnDestroy(()=>{Mt._unregisterOnDisabledChange(mt)})}}(Mt,_e)}function ct(Mt,_e,mt=!0){const ci=()=>{};_e.valueAccessor&&(_e.valueAccessor.registerOnChange(ci),_e.valueAccessor.registerOnTouched(ci)),Ai(Mt,_e),Mt&&(_e._invokeOnDestroyCallbacks(),Mt._registerOnCollectionChange(()=>{}))}function _t(Mt,_e){Mt.forEach(mt=>{mt.registerOnValidatorChange&&mt.registerOnValidatorChange(_e)})}function Li(Mt,_e){const mt=Ce(Mt);null!==_e.validator?Mt.setValidators(Pe(mt,_e.validator)):"function"==typeof mt&&Mt.setValidators([mt]);const ci=Xe(Mt);null!==_e.asyncValidator?Mt.setAsyncValidators(Pe(ci,_e.asyncValidator)):"function"==typeof ci&&Mt.setAsyncValidators([ci]);const Ni=()=>Mt.updateValueAndValidity();_t(_e._rawValidators,Ni),_t(_e._rawAsyncValidators,Ni)}function Ai(Mt,_e){let mt=!1;if(null!==Mt){if(null!==_e.validator){const Ni=Ce(Mt);if(Array.isArray(Ni)&&Ni.length>0){const In=Ni.filter(pr=>pr!==_e.validator);In.length!==Ni.length&&(mt=!0,Mt.setValidators(In))}}if(null!==_e.asyncValidator){const Ni=Xe(Mt);if(Array.isArray(Ni)&&Ni.length>0){const In=Ni.filter(pr=>pr!==_e.asyncValidator);In.length!==Ni.length&&(mt=!0,Mt.setAsyncValidators(In))}}}const ci=()=>{};return _t(_e._rawValidators,ci),_t(_e._rawAsyncValidators,ci),mt}function xt(Mt,_e){Mt._pendingDirty&&Mt.markAsDirty(),Mt.setValue(Mt._pendingValue,{emitModelToViewChange:!1}),_e.viewToModelUpdate(Mt._pendingValue),Mt._pendingChange=!1}function Fe(Mt,_e){Li(Mt,_e)}function ti(Mt,_e){if(!Mt.hasOwnProperty("model"))return!1;const mt=Mt.model;return!!mt.isFirstChange()||!Object.is(_e,mt.currentValue)}function ke(Mt,_e){Mt._syncPendingControls(),_e.forEach(mt=>{const ci=mt.control;"submit"===ci.updateOn&&ci._pendingChange&&(mt.viewToModelUpdate(ci._pendingValue),ci._pendingChange=!1)})}function ft(Mt,_e){if(!_e)return null;let mt,ci,Ni;return Array.isArray(_e),_e.forEach(In=>{In.constructor===z?mt=In:function be(Mt){return Object.getPrototypeOf(Mt.constructor)===u}(In)?ci=In:Ni=In}),Ni||ci||mt||null}const $t={provide:Me,useExisting:(0,e.Gpc)(()=>Vt)},oi=Promise.resolve();class Vt extends Me{constructor(_e,mt,ci){super(),this.callSetDisabledState=ci,this.submitted=!1,this._directives=new Set,this.ngSubmit=new e.vpe,this.form=new ot({},V(_e),Y(mt))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(_e){oi.then(()=>{const mt=this._findContainer(_e.path);_e.control=mt.registerControl(_e.name,_e.control),me(_e.control,_e,this.callSetDisabledState),_e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(_e)})}getControl(_e){return this.form.get(_e.path)}removeControl(_e){oi.then(()=>{const mt=this._findContainer(_e.path);mt&&mt.removeControl(_e.name),this._directives.delete(_e)})}addFormGroup(_e){oi.then(()=>{const mt=this._findContainer(_e.path),ci=new ot({});Fe(ci,_e),mt.registerControl(_e.name,ci),ci.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(_e){oi.then(()=>{const mt=this._findContainer(_e.path);mt&&mt.removeControl(_e.name)})}getFormGroup(_e){return this.form.get(_e.path)}updateModel(_e,mt){oi.then(()=>{this.form.get(_e.path).setValue(mt)})}setValue(_e){this.control.setValue(_e)}onSubmit(_e){return this.submitted=!0,ke(this.form,this._directives),this.ngSubmit.emit(_e),"dialog"===_e?.target?.method}onReset(){this.resetForm()}resetForm(_e){this.form.reset(_e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(_e){return _e.pop(),_e.length?this.form.get(_e):this.form}}function Wi(Mt,_e){const mt=Mt.indexOf(_e);mt>-1&&Mt.splice(mt,1)}function Qi(Mt){return"object"==typeof Mt&&null!==Mt&&2===Object.keys(Mt).length&&"value"in Mt&&"disabled"in Mt}Vt.\u0275fac=function(_e){return new(_e||Vt)(e.Y36(X,10),e.Y36($,10),e.Y36(Ft,8))},Vt.\u0275dir=e.lG2({type:Vt,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(_e,mt){1&_e&&e.NdJ("submit",function(Ni){return mt.onSubmit(Ni)})("reset",function(){return mt.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([$t]),e.qOj]});const vn=class extends Nt{constructor(_e=null,mt,ci){super(Re(mt),j(ci,mt)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(_e),this._setUpdateStrategy(mt),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ne(mt)&&(mt.nonNullable||mt.initialValueIsDefault)&&(Qi(_e)?this.defaultValue=_e.value:this.defaultValue=_e)}setValue(_e,mt={}){this.value=this._pendingValue=_e,this._onChange.length&&!1!==mt.emitModelToViewChange&&this._onChange.forEach(ci=>ci(this.value,!1!==mt.emitViewToModelChange)),this.updateValueAndValidity(mt)}patchValue(_e,mt={}){this.setValue(_e,mt)}reset(_e=this.defaultValue,mt={}){this._applyFormState(_e),this.markAsPristine(mt),this.markAsUntouched(mt),this.setValue(this.value,mt),this._pendingChange=!1}_updateValue(){}_anyControls(_e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(_e){this._onChange.push(_e)}_unregisterOnChange(_e){Wi(this._onChange,_e)}registerOnDisabledChange(_e){this._onDisabledChange.push(_e)}_unregisterOnDisabledChange(_e){Wi(this._onDisabledChange,_e)}_forEachChild(_e){}_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(_e){Qi(_e)?(this.value=this._pendingValue=_e.value,_e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=_e}},ga=vn;class Xn extends Me{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Te(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}Xn.\u0275fac=function(){let Mt;return function(mt){return(Mt||(Mt=e.n5z(Xn)))(mt||Xn)}}(),Xn.\u0275dir=e.lG2({type:Xn,features:[e.qOj]});const Kt={provide:Me,useExisting:(0,e.Gpc)(()=>pi)};class pi extends Xn{constructor(_e,mt,ci){super(),this._parent=_e,this._setValidators(mt),this._setAsyncValidators(ci)}_checkParentType(){!(this._parent instanceof pi)&&this._parent}}pi.\u0275fac=function(_e){return new(_e||pi)(e.Y36(Me,5),e.Y36(X,10),e.Y36($,10))},pi.\u0275dir=e.lG2({type:pi,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[e._Bn([Kt]),e.qOj]});const Di={provide:De,useExisting:(0,e.Gpc)(()=>Fi)},ji=Promise.resolve();class Fi extends De{constructor(_e,mt,ci,Ni,In,pr){super(),this._changeDetectorRef=In,this.callSetDisabledState=pr,this.control=new vn,this._registered=!1,this.update=new e.vpe,this._parent=_e,this._setValidators(mt),this._setAsyncValidators(ci),this.valueAccessor=ft(0,Ni)}ngOnChanges(_e){if(this._checkForErrors(),!this._registered||"name"in _e){if(this._registered&&(this._checkName(),this.formDirective)){const mt=_e.name.previousValue;this.formDirective.removeControl({name:mt,path:this._getPath(mt)})}this._setUpControl()}"isDisabled"in _e&&this._updateDisabled(_e),ti(_e,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(_e){this.viewModel=_e,this.update.emit(_e)}_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(){me(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()&&this.name}_updateValue(_e){ji.then(()=>{this.control.setValue(_e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(_e){const mt=_e.isDisabled.currentValue,ci=0!==mt&&(0,e.D6c)(mt);ji.then(()=>{ci&&!this.control.disabled?this.control.disable():!ci&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(_e){return this._parent?Te(_e,this._parent):[_e]}}Fi.\u0275fac=function(_e){return new(_e||Fi)(e.Y36(Me,9),e.Y36(X,10),e.Y36($,10),e.Y36(P,10),e.Y36(e.sBO,8),e.Y36(Ft,8))},Fi.\u0275dir=e.lG2({type:Fi,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[e._Bn([Di]),e.qOj,e.TTD]});class sn{}sn.\u0275fac=function(_e){return new(_e||sn)},sn.\u0275dir=e.lG2({type:sn,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});const pa={provide:P,useExisting:(0,e.Gpc)(()=>kn),multi:!0};class kn extends u{writeValue(_e){const mt=_e??"";this.setProperty("value",mt)}registerOnChange(_e){this.onChange=mt=>{_e(""==mt?null:parseFloat(mt))}}}kn.\u0275fac=function(){let Mt;return function(mt){return(Mt||(Mt=e.n5z(kn)))(mt||kn)}}(),kn.\u0275dir=e.lG2({type:kn,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(_e,mt){1&_e&&e.NdJ("input",function(Ni){return mt.onChange(Ni.target.value)})("blur",function(){return mt.onTouched()})},features:[e._Bn([pa]),e.qOj]});const sa={provide:P,useExisting:(0,e.Gpc)(()=>jn),multi:!0};class na{}na.\u0275fac=function(_e){return new(_e||na)},na.\u0275mod=e.oAB({type:na}),na.\u0275inj=e.cJS({});class Fa{constructor(){this._accessors=[]}add(_e,mt){this._accessors.push([_e,mt])}remove(_e){for(let mt=this._accessors.length-1;mt>=0;--mt)if(this._accessors[mt][1]===_e)return void this._accessors.splice(mt,1)}select(_e){this._accessors.forEach(mt=>{this._isSameGroup(mt,_e)&&mt[1]!==_e&&mt[1].fireUncheck(_e.value)})}_isSameGroup(_e,mt){return!!_e[0].control&&(_e[0]._parent===mt._control._parent&&_e[1].name===mt.name)}}Fa.\u0275fac=function(_e){return new(_e||Fa)},Fa.\u0275prov=e.Yz7({token:Fa,factory:Fa.\u0275fac,providedIn:na});class jn extends u{constructor(_e,mt,ci,Ni){super(_e,mt),this._registry=ci,this._injector=Ni,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(De),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(_e){this._state=_e===this.value,this.setProperty("checked",this._state)}registerOnChange(_e){this._fn=_e,this.onChange=()=>{_e(this.value),this._registry.select(this)}}fireUncheck(_e){this.writeValue(_e)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}}jn.\u0275fac=function(_e){return new(_e||jn)(e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(Fa),e.Y36(e.zs3))},jn.\u0275dir=e.lG2({type:jn,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(_e,mt){1&_e&&e.NdJ("change",function(){return mt.onChange()})("blur",function(){return mt.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[e._Bn([sa]),e.qOj]});const ja={provide:P,useExisting:(0,e.Gpc)(()=>ta),multi:!0};class ta extends u{writeValue(_e){this.setProperty("value",parseFloat(_e))}registerOnChange(_e){this.onChange=mt=>{_e(""==mt?null:parseFloat(mt))}}}ta.\u0275fac=function(){let Mt;return function(mt){return(Mt||(Mt=e.n5z(ta)))(mt||ta)}}(),ta.\u0275dir=e.lG2({type:ta,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(_e,mt){1&_e&&e.NdJ("change",function(Ni){return mt.onChange(Ni.target.value)})("input",function(Ni){return mt.onChange(Ni.target.value)})("blur",function(){return mt.onTouched()})},features:[e._Bn([ja]),e.qOj]});const Va=new e.OlP("NgModelWithFormControlWarning"),Vr={provide:De,useExisting:(0,e.Gpc)(()=>Ta)};class Ta extends De{constructor(_e,mt,ci,Ni,In){super(),this._ngModelWarningConfig=Ni,this.callSetDisabledState=In,this.update=new e.vpe,this._ngModelWarningSent=!1,this._setValidators(_e),this._setAsyncValidators(mt),this.valueAccessor=ft(0,ci)}set isDisabled(_e){}ngOnChanges(_e){if(this._isControlChanged(_e)){const mt=_e.form.previousValue;mt&&ct(mt,this,!1),me(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}ti(_e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&ct(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(_e){this.viewModel=_e,this.update.emit(_e)}_isControlChanged(_e){return _e.hasOwnProperty("form")}}Ta._ngModelWarningSentOnce=!1,Ta.\u0275fac=function(_e){return new(_e||Ta)(e.Y36(X,10),e.Y36($,10),e.Y36(P,10),e.Y36(Va,8),e.Y36(Ft,8))},Ta.\u0275dir=e.lG2({type:Ta,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[e._Bn([Vr]),e.qOj,e.TTD]});const vr={provide:Me,useExisting:(0,e.Gpc)(()=>Zn)};class Zn extends Me{constructor(_e,mt,ci){super(),this.callSetDisabledState=ci,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new e.vpe,this._setValidators(_e),this._setAsyncValidators(mt)}ngOnChanges(_e){this._checkFormPresent(),_e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ai(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(_e){const mt=this.form.get(_e.path);return me(mt,_e,this.callSetDisabledState),mt.updateValueAndValidity({emitEvent:!1}),this.directives.push(_e),mt}getControl(_e){return this.form.get(_e.path)}removeControl(_e){ct(_e.control||null,_e,!1),function St(Mt,_e){const mt=Mt.indexOf(_e);mt>-1&&Mt.splice(mt,1)}(this.directives,_e)}addFormGroup(_e){this._setUpFormContainer(_e)}removeFormGroup(_e){this._cleanUpFormContainer(_e)}getFormGroup(_e){return this.form.get(_e.path)}addFormArray(_e){this._setUpFormContainer(_e)}removeFormArray(_e){this._cleanUpFormContainer(_e)}getFormArray(_e){return this.form.get(_e.path)}updateModel(_e,mt){this.form.get(_e.path).setValue(mt)}onSubmit(_e){return this.submitted=!0,ke(this.form,this.directives),this.ngSubmit.emit(_e),"dialog"===_e?.target?.method}onReset(){this.resetForm()}resetForm(_e){this.form.reset(_e),this.submitted=!1}_updateDomValue(){this.directives.forEach(_e=>{const mt=_e.control,ci=this.form.get(_e.path);mt!==ci&&(ct(mt||null,_e),ci instanceof vn&&(me(ci,_e,this.callSetDisabledState),_e.control=ci))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(_e){const mt=this.form.get(_e.path);Fe(mt,_e),mt.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(_e){if(this.form){const mt=this.form.get(_e.path);mt&&function Wt(Mt,_e){return Ai(Mt,_e)}(mt,_e)&&mt.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Li(this.form,this),this._oldForm&&Ai(this._oldForm,this)}_checkFormPresent(){this.form}}Zn.\u0275fac=function(_e){return new(_e||Zn)(e.Y36(X,10),e.Y36($,10),e.Y36(Ft,8))},Zn.\u0275dir=e.lG2({type:Zn,selectors:[["","formGroup",""]],hostBindings:function(_e,mt){1&_e&&e.NdJ("submit",function(Ni){return mt.onSubmit(Ni)})("reset",function(){return mt.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([vr]),e.qOj,e.TTD]});const Aa={provide:Me,useExisting:(0,e.Gpc)(()=>la)};class la extends Xn{constructor(_e,mt,ci){super(),this._parent=_e,this._setValidators(mt),this._setAsyncValidators(ci)}_checkParentType(){es(this._parent)}}la.\u0275fac=function(_e){return new(_e||la)(e.Y36(Me,13),e.Y36(X,10),e.Y36($,10))},la.\u0275dir=e.lG2({type:la,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[e._Bn([Aa]),e.qOj]});const ms={provide:Me,useExisting:(0,e.Gpc)(()=>Wa)};class Wa extends Me{constructor(_e,mt,ci){super(),this._parent=_e,this._setValidators(mt),this._setAsyncValidators(ci)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Te(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){es(this._parent)}}function es(Mt){return!(Mt instanceof la||Mt instanceof Zn||Mt instanceof Wa)}Wa.\u0275fac=function(_e){return new(_e||Wa)(e.Y36(Me,13),e.Y36(X,10),e.Y36($,10))},Wa.\u0275dir=e.lG2({type:Wa,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[e._Bn([ms]),e.qOj]});const oo={provide:De,useExisting:(0,e.Gpc)(()=>Jn)};class Jn extends De{constructor(_e,mt,ci,Ni,In){super(),this._ngModelWarningConfig=In,this._added=!1,this.update=new e.vpe,this._ngModelWarningSent=!1,this._parent=_e,this._setValidators(mt),this._setAsyncValidators(ci),this.valueAccessor=ft(0,Ni)}set isDisabled(_e){}ngOnChanges(_e){this._added||this._setUpControl(),ti(_e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(_e){this.viewModel=_e,this.update.emit(_e)}get path(){return Te(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}}Jn._ngModelWarningSentOnce=!1,Jn.\u0275fac=function(_e){return new(_e||Jn)(e.Y36(Me,13),e.Y36(X,10),e.Y36($,10),e.Y36(P,10),e.Y36(Va,8))},Jn.\u0275dir=e.lG2({type:Jn,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[e._Bn([oo]),e.qOj,e.TTD]});const qr={provide:P,useExisting:(0,e.Gpc)(()=>rr),multi:!0};function Ka(Mt,_e){return null==Mt?`${_e}`:(_e&&"object"==typeof _e&&(_e="Object"),`${Mt}: ${_e}`.slice(0,50))}class rr extends u{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(_e){this._compareWith=_e}writeValue(_e){this.value=_e;const ci=Ka(this._getOptionId(_e),_e);this.setProperty("value",ci)}registerOnChange(_e){this.onChange=mt=>{this.value=this._getOptionValue(mt),_e(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(_e){for(const mt of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(mt),_e))return mt;return null}_getOptionValue(_e){const mt=function Ao(Mt){return Mt.split(":")[0]}(_e);return this._optionMap.has(mt)?this._optionMap.get(mt):_e}}rr.\u0275fac=function(){let Mt;return function(mt){return(Mt||(Mt=e.n5z(rr)))(mt||rr)}}(),rr.\u0275dir=e.lG2({type:rr,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(_e,mt){1&_e&&e.NdJ("change",function(Ni){return mt.onChange(Ni.target.value)})("blur",function(){return mt.onTouched()})},inputs:{compareWith:"compareWith"},features:[e._Bn([qr]),e.qOj]});class Pr{constructor(_e,mt,ci){this._element=_e,this._renderer=mt,this._select=ci,this._select&&(this.id=this._select._registerOption())}set ngValue(_e){null!=this._select&&(this._select._optionMap.set(this.id,_e),this._setElementValue(Ka(this.id,_e)),this._select.writeValue(this._select.value))}set value(_e){this._setElementValue(_e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(_e){this._renderer.setProperty(this._element.nativeElement,"value",_e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}Pr.\u0275fac=function(_e){return new(_e||Pr)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(rr,9))},Pr.\u0275dir=e.lG2({type:Pr,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});const or={provide:P,useExisting:(0,e.Gpc)(()=>co),multi:!0};function dr(Mt,_e){return null==Mt?`${_e}`:("string"==typeof _e&&(_e=`'${_e}'`),_e&&"object"==typeof _e&&(_e="Object"),`${Mt}: ${_e}`.slice(0,50))}class co extends u{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(_e){this._compareWith=_e}writeValue(_e){let mt;if(this.value=_e,Array.isArray(_e)){const ci=_e.map(Ni=>this._getOptionId(Ni));mt=(Ni,In)=>{Ni._setSelected(ci.indexOf(In.toString())>-1)}}else mt=(ci,Ni)=>{ci._setSelected(!1)};this._optionMap.forEach(mt)}registerOnChange(_e){this.onChange=mt=>{const ci=[],Ni=mt.selectedOptions;if(void 0!==Ni){const In=Ni;for(let pr=0;pr<In.length;pr++){const Pi=In[pr],Wn=this._getOptionValue(Pi.value);ci.push(Wn)}}else{const In=mt.options;for(let pr=0;pr<In.length;pr++){const Pi=In[pr];if(Pi.selected){const Wn=this._getOptionValue(Pi.value);ci.push(Wn)}}}this.value=ci,_e(ci)}}_registerOption(_e){const mt=(this._idCounter++).toString();return this._optionMap.set(mt,_e),mt}_getOptionId(_e){for(const mt of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(mt)._value,_e))return mt;return null}_getOptionValue(_e){const mt=function so(Mt){return Mt.split(":")[0]}(_e);return this._optionMap.has(mt)?this._optionMap.get(mt)._value:_e}}co.\u0275fac=function(){let Mt;return function(mt){return(Mt||(Mt=e.n5z(co)))(mt||co)}}(),co.\u0275dir=e.lG2({type:co,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(_e,mt){1&_e&&e.NdJ("change",function(Ni){return mt.onChange(Ni.target)})("blur",function(){return mt.onTouched()})},inputs:{compareWith:"compareWith"},features:[e._Bn([or]),e.qOj]});class br{constructor(_e,mt,ci){this._element=_e,this._renderer=mt,this._select=ci,this._select&&(this.id=this._select._registerOption(this))}set ngValue(_e){null!=this._select&&(this._value=_e,this._setElementValue(dr(this.id,_e)),this._select.writeValue(this._select.value))}set value(_e){this._select?(this._value=_e,this._setElementValue(dr(this.id,_e)),this._select.writeValue(this._select.value)):this._setElementValue(_e)}_setElementValue(_e){this._renderer.setProperty(this._element.nativeElement,"value",_e)}_setSelected(_e){this._renderer.setProperty(this._element.nativeElement,"selected",_e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}function yr(Mt){return"number"==typeof Mt?Mt:parseInt(Mt,10)}function lo(Mt){return"number"==typeof Mt?Mt:parseFloat(Mt)}br.\u0275fac=function(_e){return new(_e||br)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(co,9))},br.\u0275dir=e.lG2({type:br,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});class ia{constructor(){this._validator=m}ngOnChanges(_e){if(this.inputName in _e){const mt=this.normalizeInput(_e[this.inputName].currentValue);this._enabled=this.enabled(mt),this._validator=this._enabled?this.createValidator(mt):m,this._onChange&&this._onChange()}}validate(_e){return this._validator(_e)}registerOnValidatorChange(_e){this._onChange=_e}enabled(_e){return null!=_e}}ia.\u0275fac=function(_e){return new(_e||ia)},ia.\u0275dir=e.lG2({type:ia,features:[e.TTD]});const Dr={provide:X,useExisting:(0,e.Gpc)(()=>hr),multi:!0};class hr extends ia{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=_e=>lo(_e),this.createValidator=_e=>pe(_e)}}hr.\u0275fac=function(){let Mt;return function(mt){return(Mt||(Mt=e.n5z(hr)))(mt||hr)}}(),hr.\u0275dir=e.lG2({type:hr,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(_e,mt){2&_e&&e.uIk("max",mt._enabled?mt.max:null)},inputs:{max:"max"},features:[e._Bn([Dr]),e.qOj]});const ho={provide:X,useExisting:(0,e.Gpc)(()=>ur),multi:!0};class ur extends ia{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=_e=>lo(_e),this.createValidator=_e=>se(_e)}}ur.\u0275fac=function(){let Mt;return function(mt){return(Mt||(Mt=e.n5z(ur)))(mt||ur)}}(),ur.\u0275dir=e.lG2({type:ur,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(_e,mt){2&_e&&e.uIk("min",mt._enabled?mt.min:null)},inputs:{min:"min"},features:[e._Bn([ho]),e.qOj]});const Ho={provide:X,useExisting:(0,e.Gpc)(()=>xr),multi:!0},mr={provide:X,useExisting:(0,e.Gpc)(()=>da),multi:!0};class xr extends ia{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e.D6c,this.createValidator=_e=>le}enabled(_e){return _e}}xr.\u0275fac=function(){let Mt;return function(mt){return(Mt||(Mt=e.n5z(xr)))(mt||xr)}}(),xr.\u0275dir=e.lG2({type:xr,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(_e,mt){2&_e&&e.uIk("required",mt._enabled?"":null)},inputs:{required:"required"},features:[e._Bn([Ho]),e.qOj]});class da extends xr{constructor(){super(...arguments),this.createValidator=_e=>re}}da.\u0275fac=function(){let Mt;return function(mt){return(Mt||(Mt=e.n5z(da)))(mt||da)}}(),da.\u0275dir=e.lG2({type:da,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(_e,mt){2&_e&&e.uIk("required",mt._enabled?"":null)},features:[e._Bn([mr]),e.qOj]});const Rr={provide:X,useExisting:(0,e.Gpc)(()=>sr),multi:!0};class sr extends ia{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=e.D6c,this.createValidator=_e=>fe}enabled(_e){return _e}}sr.\u0275fac=function(){let Mt;return function(mt){return(Mt||(Mt=e.n5z(sr)))(mt||sr)}}(),sr.\u0275dir=e.lG2({type:sr,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[e._Bn([Rr]),e.qOj]});const fs={provide:X,useExisting:(0,e.Gpc)(()=>ya),multi:!0};class ya extends ia{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=_e=>yr(_e),this.createValidator=_e=>T(_e)}}ya.\u0275fac=function(){let Mt;return function(mt){return(Mt||(Mt=e.n5z(ya)))(mt||ya)}}(),ya.\u0275dir=e.lG2({type:ya,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(_e,mt){2&_e&&e.uIk("minlength",mt._enabled?mt.minlength:null)},inputs:{minlength:"minlength"},features:[e._Bn([fs]),e.qOj]});const Io={provide:X,useExisting:(0,e.Gpc)(()=>$n),multi:!0};class $n extends ia{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=_e=>yr(_e),this.createValidator=_e=>i(_e)}}$n.\u0275fac=function(){let Mt;return function(mt){return(Mt||(Mt=e.n5z($n)))(mt||$n)}}(),$n.\u0275dir=e.lG2({type:$n,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(_e,mt){2&_e&&e.uIk("maxlength",mt._enabled?mt.maxlength:null)},inputs:{maxlength:"maxlength"},features:[e._Bn([Io]),e.qOj]});const qn={provide:X,useExisting:(0,e.Gpc)(()=>Tr),multi:!0};class Tr extends ia{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=_e=>_e,this.createValidator=_e=>o(_e)}}Tr.\u0275fac=function(){let Mt;return function(mt){return(Mt||(Mt=e.n5z(Tr)))(mt||Tr)}}(),Tr.\u0275dir=e.lG2({type:Tr,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(_e,mt){2&_e&&e.uIk("pattern",mt._enabled?mt.pattern:null)},inputs:{pattern:"pattern"},features:[e._Bn([qn]),e.qOj]});class tr{}tr.\u0275fac=function(_e){return new(_e||tr)},tr.\u0275mod=e.oAB({type:tr}),tr.\u0275inj=e.cJS({imports:[na]});class aa{static withConfig(_e){return{ngModule:aa,providers:[{provide:Ft,useValue:_e.callSetDisabledState??qt}]}}}aa.\u0275fac=function(_e){return new(_e||aa)},aa.\u0275mod=e.oAB({type:aa}),aa.\u0275inj=e.cJS({imports:[tr]});class li{static withConfig(_e){return{ngModule:li,providers:[{provide:Va,useValue:_e.warnOnNgModelWithFormControl??"always"},{provide:Ft,useValue:_e.callSetDisabledState??qt}]}}}li.\u0275fac=function(_e){return new(_e||li)},li.\u0275mod=e.oAB({type:li}),li.\u0275inj=e.cJS({imports:[tr]});class je extends Nt{constructor(_e,mt,ci){super(Re(mt),j(ci,mt)),this.controls=_e,this._initObservables(),this._setUpdateStrategy(mt),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(_e){return this.controls[this._adjustIndex(_e)]}push(_e,mt={}){this.controls.push(_e),this._registerControl(_e),this.updateValueAndValidity({emitEvent:mt.emitEvent}),this._onCollectionChange()}insert(_e,mt,ci={}){this.controls.splice(_e,0,mt),this._registerControl(mt),this.updateValueAndValidity({emitEvent:ci.emitEvent})}removeAt(_e,mt={}){let ci=this._adjustIndex(_e);ci<0&&(ci=0),this.controls[ci]&&this.controls[ci]._registerOnCollectionChange(()=>{}),this.controls.splice(ci,1),this.updateValueAndValidity({emitEvent:mt.emitEvent})}setControl(_e,mt,ci={}){let Ni=this._adjustIndex(_e);Ni<0&&(Ni=0),this.controls[Ni]&&this.controls[Ni]._registerOnCollectionChange(()=>{}),this.controls.splice(Ni,1),mt&&(this.controls.splice(Ni,0,mt),this._registerControl(mt)),this.updateValueAndValidity({emitEvent:ci.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(_e,mt={}){Et(this,0,_e),_e.forEach((ci,Ni)=>{wt(this,!1,Ni),this.at(Ni).setValue(ci,{onlySelf:!0,emitEvent:mt.emitEvent})}),this.updateValueAndValidity(mt)}patchValue(_e,mt={}){null!=_e&&(_e.forEach((ci,Ni)=>{this.at(Ni)&&this.at(Ni).patchValue(ci,{onlySelf:!0,emitEvent:mt.emitEvent})}),this.updateValueAndValidity(mt))}reset(_e=[],mt={}){this._forEachChild((ci,Ni)=>{ci.reset(_e[Ni],{onlySelf:!0,emitEvent:mt.emitEvent})}),this._updatePristine(mt),this._updateTouched(mt),this.updateValueAndValidity(mt)}getRawValue(){return this.controls.map(_e=>_e.getRawValue())}clear(_e={}){this.controls.length<1||(this._forEachChild(mt=>mt._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:_e.emitEvent}))}_adjustIndex(_e){return _e<0?_e+this.length:_e}_syncPendingControls(){let _e=this.controls.reduce((mt,ci)=>!!ci._syncPendingControls()||mt,!1);return _e&&this.updateValueAndValidity({onlySelf:!0}),_e}_forEachChild(_e){this.controls.forEach((mt,ci)=>{_e(mt,ci)})}_updateValue(){this.value=this.controls.filter(_e=>_e.enabled||this.disabled).map(_e=>_e.value)}_anyControls(_e){return this.controls.some(mt=>mt.enabled&&_e(mt))}_setUpControls(){this._forEachChild(_e=>this._registerControl(_e))}_allControlsDisabled(){for(const _e of this.controls)if(_e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(_e){_e.setParent(this),_e._registerOnCollectionChange(this._onCollectionChange)}_find(_e){return this.at(_e)??null}}function Hi(Mt){return!!Mt&&(void 0!==Mt.asyncValidators||void 0!==Mt.validators||void 0!==Mt.updateOn)}class Bn{constructor(){this.useNonNullable=!1}get nonNullable(){const _e=new Bn;return _e.useNonNullable=!0,_e}group(_e,mt=null){const ci=this._reduceControls(_e);let Ni={};return Hi(mt)?Ni=mt:null!==mt&&(Ni.validators=mt.validator,Ni.asyncValidators=mt.asyncValidator),new ot(ci,Ni)}record(_e,mt=null){const ci=this._reduceControls(_e);return new ri(ci,mt)}control(_e,mt,ci){let Ni={};return this.useNonNullable?(Hi(mt)?Ni=mt:(Ni.validators=mt,Ni.asyncValidators=ci),new vn(_e,{...Ni,nonNullable:!0})):new vn(_e,mt,ci)}array(_e,mt,ci){const Ni=_e.map(In=>this._createControl(In));return new je(Ni,mt,ci)}_reduceControls(_e){const mt={};return Object.keys(_e).forEach(ci=>{mt[ci]=this._createControl(_e[ci])}),mt}_createControl(_e){if(_e instanceof vn)return _e;if(_e instanceof Nt)return _e;if(Array.isArray(_e)){const mt=_e[0],ci=_e.length>1?_e[1]:null,Ni=_e.length>2?_e[2]:null;return this.control(mt,ci,Ni)}return this.control(_e)}}Bn.\u0275fac=function(_e){return new(_e||Bn)},Bn.\u0275prov=e.Yz7({token:Bn,factory:Bn.\u0275fac,providedIn:li});class Zi{}Zi.\u0275fac=function(_e){return new(_e||Zi)},Zi.\u0275prov=e.Yz7({token:Zi,factory:function(){return(0,e.f3M)(Bn).nonNullable},providedIn:li});class hn extends Bn{group(_e,mt=null){return super.group(_e,mt)}control(_e,mt,ci){return super.control(_e,mt,ci)}array(_e,mt,ci){return super.array(_e,mt,ci)}}hn.\u0275fac=function(){let Mt;return function(mt){return(Mt||(Mt=e.n5z(hn)))(mt||hn)}}(),hn.\u0275prov=e.Yz7({token:hn,factory:hn.\u0275fac,providedIn:li});new e.GfV("15.0.3")},8550:(Ye,J,f)=>{"use strict";f.d(J,{Bb:()=>Oe,XC:()=>V,ZL:()=>$e});var e=f(2560),t=f(207),_=f(4666),O=f(1494),l=f(5895),C=f(4218),u=f(8971),P=f(9107),p=f(4851),L=f(7714),D=f(253),k=f(1954),M=f(6646),z=f(745),A=f(3280),W=f(2867),Z=f(8456),X=f(7520),$=f(2508),ae=f(5074),he=f(4874),se=f(2673),pe=f(9295),le=f(116),re=f(635),fe=f(9337),T=f(6234);const i=["panel"];function o(Me,De){if(1&Me&&(e.TgZ(0,"div",0,1),e.Hsn(2),e.qZA()),2&Me){const Ue=De.id,ye=e.oxw();e.Q6J("id",ye.id)("ngClass",ye._classList)("@panelAnimation",ye.isOpen?"visible":"hidden"),e.uIk("aria-label",ye.ariaLabel||null)("aria-labelledby",ye._getPanelAriaLabelledby(Ue))}}const h=(0,p.X$)("panelAnimation",[(0,p.SB)("void, hidden",(0,p.oB)({opacity:0,transform:"scaleY(0.8)"})),(0,p.eR)(":enter, hidden => visible",[(0,p.ru)([(0,p.jt)("0.03s linear",(0,p.oB)({opacity:1})),(0,p.jt)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,p.oB)({transform:"scaleY(1)"}))])]),(0,p.eR)(":leave, visible => hidden",[(0,p.jt)("0.075s linear",(0,p.oB)({opacity:0}))])]);let x=0;class I{constructor(De,Ue){this.source=De,this.option=Ue}}const R=(0,t.Kr)(class{}),g=new e.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function r(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1}}});class w extends R{constructor(De,Ue,ye,we){super(),this._changeDetectorRef=De,this._elementRef=Ue,this._activeOptionChanges=L.w0.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new e.vpe,this.opened=new e.vpe,this.closed=new e.vpe,this.optionActivated=new e.vpe,this._classList={},this.id="mat-autocomplete-"+x++,this.inertGroups=we?.SAFARI||!1,this._autoActiveFirstOption=!!ye.autoActiveFirstOption,this._autoSelectActiveOption=!!ye.autoSelectActiveOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(De){this._autoActiveFirstOption=(0,u.Ig)(De)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(De){this._autoSelectActiveOption=(0,u.Ig)(De)}set classList(De){De&&De.length?this._classList=(0,u.du)(De).reduce((Ue,ye)=>(Ue[ye]=!0,Ue),{}):this._classList={},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new C.s1(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(De=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[De]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(De){this.panel&&(this.panel.nativeElement.scrollTop=De)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(De){const Ue=new I(this,De);this.optionSelected.emit(Ue)}_getPanelAriaLabelledby(De){if(this.ariaLabel)return null;const Ue=De?De+" ":"";return this.ariaLabelledby?Ue+this.ariaLabelledby:De}_setVisibilityClasses(De){De[this._visibleClass]=this.showPanel,De[this._hiddenClass]=!this.showPanel}}w.\u0275fac=function(De){return new(De||w)(e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(g),e.Y36(P.t4))},w.\u0275dir=e.lG2({type:w,viewQuery:function(De,Ue){if(1&De&&(e.Gf(e.Rgc,7),e.Gf(i,5)),2&De){let ye;e.iGM(ye=e.CRH())&&(Ue.template=ye.first),e.iGM(ye=e.CRH())&&(Ue.panel=ye.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[e.qOj]});class V extends w{constructor(){super(...arguments),this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden"}}V.\u0275fac=function(){let Me;return function(Ue){return(Me||(Me=e.n5z(V)))(Ue||V)}}(),V.\u0275cmp=e.Xpm({type:V,selectors:[["mat-autocomplete"]],contentQueries:function(De,Ue,ye){if(1&De&&(e.Suo(ye,t.K7,5),e.Suo(ye,t.ey,5)),2&De){let we;e.iGM(we=e.CRH())&&(Ue.optionGroups=we),e.iGM(we=e.CRH())&&(Ue.options=we)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[e._Bn([{provide:t.HF,useExisting:V}]),e.qOj],ngContentSelectors:["*"],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(De,Ue){1&De&&(e.F$t(),e.YNc(0,o,3,5,"ng-template"))},dependencies:[_.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:[h]},changeDetection:0});class N{constructor(De){this.elementRef=De}}N.\u0275fac=function(De){return new(De||N)(e.Y36(e.SBq))},N.\u0275dir=e.lG2({type:N});class Y extends N{}Y.\u0275fac=function(){let Me;return function(Ue){return(Me||(Me=e.n5z(Y)))(Ue||Y)}}(),Y.\u0275dir=e.lG2({type:Y,selectors:[["","matAutocompleteOrigin",""]],exportAs:["matAutocompleteOrigin"],features:[e.qOj]});const Pe={provide:$.JU,useExisting:(0,e.Gpc)(()=>$e),multi:!0};const Xe=new e.OlP("mat-autocomplete-scroll-strategy");const Ke={provide:Xe,deps:[l.aV],useFactory:function dt(Me){return()=>Me.scrollStrategies.reposition()}};class ge{constructor(De,Ue,ye,we,ie,Se,ne,K,ee,ze,Ve){this._element=De,this._overlay=Ue,this._viewContainerRef=ye,this._zone=we,this._changeDetectorRef=ie,this._dir=ne,this._formField=K,this._document=ee,this._viewportRuler=ze,this._defaults=Ve,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=L.w0.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new D.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,k.P)(()=>{const oe=this.autocomplete?this.autocomplete.options:null;return oe?oe.changes.pipe((0,he.O)(oe),(0,se.w)(()=>(0,M.T)(...oe.map(at=>at.onSelectionChange)))):this._zone.onStable.pipe((0,pe.q)(1),(0,se.w)(()=>this.optionSelections))}),this._scrollStrategy=Se}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(De){this._autocompleteDisabled=(0,u.Ig)(De)}ngAfterViewInit(){const De=this._getWindow();typeof De<"u"&&this._zone.runOutsideAngular(()=>De.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(De){De.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const De=this._getWindow();typeof De<"u"&&De.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,M.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,le.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,le.h)(()=>this._overlayAttached)):(0,z.of)()).pipe((0,re.U)(De=>De instanceof t.rN?De:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,M.T)((0,A.R)(this._document,"click"),(0,A.R)(this._document,"auxclick"),(0,A.R)(this._document,"touchend")).pipe((0,le.h)(De=>{const Ue=(0,P.sA)(De),ye=this._formField?this._formField._elementRef.nativeElement:null,we=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&Ue!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!ye||!ye.contains(Ue))&&(!we||!we.contains(Ue))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(Ue)}))}writeValue(De){Promise.resolve(null).then(()=>this._assignOptionValue(De))}registerOnChange(De){this._onChange=De}registerOnTouched(De){this._onTouched=De}setDisabledState(De){this._element.nativeElement.disabled=De}_handleKeydown(De){const Ue=De.keyCode,ye=(0,Z.Vb)(De);if(Ue===Z.hY&&!ye&&De.preventDefault(),this.activeOption&&Ue===Z.K5&&this.panelOpen&&!ye)this.activeOption._selectViaInteraction(),this._resetActiveItem(),De.preventDefault();else if(this.autocomplete){const we=this.autocomplete._keyManager.activeItem,ie=Ue===Z.LH||Ue===Z.JH;Ue===Z.Mf||ie&&!ye&&this.panelOpen?this.autocomplete._keyManager.onKeydown(De):ie&&this._canOpen()&&this.openPanel(),(ie||this.autocomplete._keyManager.activeItem!==we)&&(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(De){let Ue=De.target,ye=Ue.value;"number"===Ue.type&&(ye=""==ye?null:parseFloat(ye)),this._previousValue!==ye&&(this._previousValue=ye,this._pendingAutoselectedOption=null,this._onChange(ye),this._canOpen()&&this._document.activeElement===De.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(De=!1){this._formField&&"auto"===this._formField.floatLabel&&(De?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const De=this._zone.onStable.pipe((0,pe.q)(1)),Ue=this.autocomplete.options.changes.pipe((0,fe.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,T.g)(0));return(0,M.T)(De,Ue).pipe((0,se.w)(()=>(this._zone.run(()=>{const ye=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),ye!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,pe.q)(1)).subscribe(ye=>this._setValueAndClose(ye))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(De){const Ue=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(De):De;this._updateNativeInputValue(Ue??"")}_updateNativeInputValue(De){this._formField?this._formField._control.value=De:this._element.nativeElement.value=De,this._previousValue=De}_setValueAndClose(De){const Ue=De?De.source:this._pendingAutoselectedOption;Ue&&(this._clearPreviousSelectedOption(Ue),this._assignOptionValue(Ue.value),this._onChange(Ue.value),this.autocomplete._emitSelectEvent(Ue),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(De){this.autocomplete.options.forEach(Ue=>{Ue!==De&&Ue.selected&&Ue.deselect()})}_attachOverlay(){this.autocomplete;let De=this._overlayRef;De?(this._positionStrategy.setOrigin(this._getConnectedElement()),De.updateSize({width:this._getPanelWidth()})):(this._portal=new X.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),De=this._overlay.create(this._getOverlayConfig()),this._overlayRef=De,this._handleOverlayEvents(De),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&De&&De.updateSize({width:this._getPanelWidth()})})),De&&!De.hasAttached()&&(De.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const Ue=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&Ue!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){return new l.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const De=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(De),this._positionStrategy=De,De}_setStrategyPositions(De){const Ue=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],ye=this._aboveClass,we=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:ye},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:ye}];let ie;ie="above"===this.position?we:"below"===this.position?Ue:[...Ue,...we],De.withPositions(ie)}_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 De=this.autocomplete;De.autoActiveFirstOption?De._keyManager.setFirstItemActive():De._keyManager.setActiveItem(-1)}_canOpen(){const De=this._element.nativeElement;return!De.readOnly&&!De.disabled&&!this._autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(De){const Ue=this.autocomplete,ye=(0,t.CB)(De,Ue.options,Ue.optionGroups);if(0===De&&1===ye)Ue._setScrollTop(0);else if(Ue.panel){const we=Ue.options.toArray()[De];if(we){const ie=we._getHostElement(),Se=(0,t.jH)(ie.offsetTop,ie.offsetHeight,Ue._getScrollTop(),Ue.panel.nativeElement.offsetHeight);Ue._setScrollTop(Se)}}}_handleOverlayEvents(De){De.keydownEvents().subscribe(Ue=>{(Ue.keyCode===Z.hY&&!(0,Z.Vb)(Ue)||Ue.keyCode===Z.LH&&(0,Z.Vb)(Ue,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),Ue.stopPropagation(),Ue.preventDefault())}),De.outsidePointerEvents().subscribe()}}ge.\u0275fac=function(De){return new(De||ge)(e.Y36(e.SBq),e.Y36(l.aV),e.Y36(e.s_b),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(Xe),e.Y36(W.Is,8),e.Y36(ae.G_,9),e.Y36(_.K0,8),e.Y36(O.rL),e.Y36(g,8))},ge.\u0275dir=e.lG2({type:ge,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[e.TTD]});class $e extends ge{constructor(){super(...arguments),this._aboveClass="mat-mdc-autocomplete-panel-above"}}$e.\u0275fac=function(){let Me;return function(Ue){return(Me||(Me=e.n5z($e)))(Ue||$e)}}(),$e.\u0275dir=e.lG2({type:$e,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(De,Ue){1&De&&e.NdJ("focusin",function(){return Ue._handleFocus()})("blur",function(){return Ue._onTouched()})("input",function(we){return Ue._handleInput(we)})("keydown",function(we){return Ue._handleKeydown(we)})("click",function(){return Ue._handleClick()}),2&De&&e.uIk("autocomplete",Ue.autocompleteAttribute)("role",Ue.autocompleteDisabled?null:"combobox")("aria-autocomplete",Ue.autocompleteDisabled?null:"list")("aria-activedescendant",Ue.panelOpen&&Ue.activeOption?Ue.activeOption.id:null)("aria-expanded",Ue.autocompleteDisabled?null:Ue.panelOpen.toString())("aria-owns",Ue.autocompleteDisabled||!Ue.panelOpen||null==Ue.autocomplete?null:Ue.autocomplete.id)("aria-haspopup",Ue.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[e._Bn([Pe]),e.qOj]});class Oe{}Oe.\u0275fac=function(De){return new(De||Oe)},Oe.\u0275mod=e.oAB({type:Oe}),Oe.\u0275inj=e.cJS({providers:[Ke],imports:[l.U8,t.Ng,t.BQ,_.ez,O.ZD,t.Ng,t.BQ]})},3335:(Ye,J,f)=>{"use strict";f.d(J,{g:()=>p,k:()=>P});var e=f(2560),t=f(207),_=f(4218),O=f(8971);let l=0;const C=(0,t.Id)(class{}),u="mat-badge-content";class P extends C{constructor(D,k,M,z,A){super(),this._ngZone=D,this._elementRef=k,this._ariaDescriber=M,this._renderer=z,this._animationMode=A,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=l++,this._isInitialized=!1}get color(){return this._color}set color(D){this._setColor(D),this._color=D}get overlap(){return this._overlap}set overlap(D){this._overlap=(0,O.Ig)(D)}get content(){return this._content}set content(D){this._updateRenderedContent(D)}get description(){return this._description}set description(D){this._updateHostAriaDescription(D)}get hidden(){return this._hidden}set hidden(D){this._hidden=(0,O.Ig)(D)}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 D=this._renderer.createElement("span"),k="mat-badge-active";return D.setAttribute("id",`mat-badge-content-${this._id}`),D.setAttribute("aria-hidden","true"),D.classList.add(u),"NoopAnimations"===this._animationMode&&D.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(D),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{D.classList.add(k)})}):D.classList.add(k),D}_updateRenderedContent(D){const k=`${D??""}`.trim();this._isInitialized&&k&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=k),this._content=k}_updateHostAriaDescription(D){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),D&&this._ariaDescriber.describe(this._elementRef.nativeElement,D),this._description=D}_setColor(D){const k=this._elementRef.nativeElement.classList;k.remove(`mat-badge-${this._color}`),D&&k.add(`mat-badge-${D}`)}_clearExistingBadges(){const D=this._elementRef.nativeElement.querySelectorAll(`:scope > .${u}`);for(const k of Array.from(D))k!==this._badgeElement&&k.remove()}}P.\u0275fac=function(D){return new(D||P)(e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(_.$s),e.Y36(e.Qsj),e.Y36(e.QbO,8))},P.\u0275dir=e.lG2({type:P,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(D,k){2&D&&e.ekj("mat-badge-overlap",k.overlap)("mat-badge-above",k.isAbove())("mat-badge-below",!k.isAbove())("mat-badge-before",!k.isAfter())("mat-badge-after",k.isAfter())("mat-badge-small","small"===k.size)("mat-badge-medium","medium"===k.size)("mat-badge-large","large"===k.size)("mat-badge-hidden",k.hidden||!k.content)("mat-badge-disabled",k.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden"]},features:[e.qOj]});class p{}p.\u0275fac=function(D){return new(D||p)},p.\u0275mod=e.oAB({type:p}),p.\u0275inj=e.cJS({imports:[_.rt,t.BQ,t.BQ]})},4522:(Ye,J,f)=>{"use strict";f.d(J,{RK:()=>g,lW:()=>re,nh:()=>x,ot:()=>w});var e=f(9107),t=f(2560),_=f(4218),O=f(207),l=f(8971);const C=["mat-button",""],u=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],P=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],L=".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}",D=["mat-fab",""],k=["mat-mini-fab",""],M='.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%}',z=["mat-icon-button",""],$=[{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"]}],ae=(0,O.pj)((0,O.Id)((0,O.Kr)(class{constructor(V){this._elementRef=V}})));class he extends ae{constructor(N,Y,Pe,Ce){super(N),this._platform=Y,this._ngZone=Pe,this._animationMode=Ce,this._focusMonitor=(0,t.f3M)(_.tE),this._isFab=!1;const Xe=N.nativeElement.classList;for(const dt of $)this._hasHostAttributes(dt.selector)&&dt.mdcClasses.forEach(Ke=>{Xe.add(Ke)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(N="program",Y){N?this._focusMonitor.focusVia(this._elementRef.nativeElement,N,Y):this._elementRef.nativeElement.focus(Y)}_hasHostAttributes(...N){return N.some(Y=>this._elementRef.nativeElement.hasAttribute(Y))}_isRippleDisabled(){return this.disableRipple||this.disabled}}he.\u0275fac=function(N){t.$Z()},he.\u0275dir=t.lG2({type:he,viewQuery:function(N,Y){if(1&N&&t.Gf(O.wG,5),2&N){let Pe;t.iGM(Pe=t.CRH())&&(Y.ripple=Pe.first)}},features:[t.qOj]});class le extends he{constructor(N,Y,Pe,Ce){super(N,Y,Pe,Ce),this._haltDisabledEvents=Xe=>{this.disabled&&(Xe.preventDefault(),Xe.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}le.\u0275fac=function(N){t.$Z()},le.\u0275dir=t.lG2({type:le,features:[t.qOj]});class re extends he{constructor(N,Y,Pe,Ce){super(N,Y,Pe,Ce)}}re.\u0275fac=function(N){return new(N||re)(t.Y36(t.SBq),t.Y36(e.t4),t.Y36(t.R0b),t.Y36(t.QbO,8))},re.\u0275cmp=t.Xpm({type:re,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(N,Y){2&N&&(t.uIk("disabled",Y.disabled||null),t.ekj("_mat-animation-noopable","NoopAnimations"===Y._animationMode)("mat-unthemed",!Y.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[t.qOj],attrs:C,ngContentSelectors:P,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(N,Y){1&N&&(t.F$t(u),t._UZ(0,"span",0),t.Hsn(1),t.TgZ(2,"span",1),t.Hsn(3,1),t.qZA(),t.Hsn(4,2),t._UZ(5,"span",2)(6,"span",3)(7,"span",4)),2&N&&(t.ekj("mdc-button__ripple",!Y._isFab)("mdc-fab__ripple",Y._isFab),t.xp6(6),t.Q6J("matRippleDisabled",Y._isRippleDisabled())("matRippleTrigger",Y._elementRef.nativeElement))},dependencies:[O.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});class fe extends le{constructor(N,Y,Pe,Ce){super(N,Y,Pe,Ce)}}fe.\u0275fac=function(N){return new(N||fe)(t.Y36(t.SBq),t.Y36(e.t4),t.Y36(t.R0b),t.Y36(t.QbO,8))},fe.\u0275cmp=t.Xpm({type:fe,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:9,hostBindings:function(N,Y){2&N&&(t.uIk("disabled",Y.disabled||null)("tabindex",Y.disabled?-1:Y.tabIndex)("aria-disabled",Y.disabled.toString()),t.ekj("_mat-animation-noopable","NoopAnimations"===Y._animationMode)("mat-unthemed",!Y.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[t.qOj],attrs:C,ngContentSelectors:P,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(N,Y){1&N&&(t.F$t(u),t._UZ(0,"span",0),t.Hsn(1),t.TgZ(2,"span",1),t.Hsn(3,1),t.qZA(),t.Hsn(4,2),t._UZ(5,"span",2)(6,"span",3)(7,"span",4)),2&N&&(t.ekj("mdc-button__ripple",!Y._isFab)("mdc-fab__ripple",Y._isFab),t.xp6(6),t.Q6J("matRippleDisabled",Y._isRippleDisabled())("matRippleTrigger",Y._elementRef.nativeElement))},dependencies:[O.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)}',L],encapsulation:2,changeDetection:0});const T=new t.OlP("mat-mdc-fab-default-options",{providedIn:"root",factory:i});function i(){return{color:"accent"}}const o={color:"accent"};class h extends he{constructor(N,Y,Pe,Ce,Xe){super(N,Y,Pe,Ce),this._options=Xe,this._isFab=!0,this._options=this._options||o,this.color=this.defaultColor=this._options.color||o.color}get extended(){return this._extended}set extended(N){this._extended=(0,l.Ig)(N)}}h.\u0275fac=function(N){return new(N||h)(t.Y36(t.SBq),t.Y36(e.t4),t.Y36(t.R0b),t.Y36(t.QbO,8),t.Y36(T,8))},h.\u0275cmp=t.Xpm({type:h,selectors:[["button","mat-fab",""]],hostVars:11,hostBindings:function(N,Y){2&N&&(t.uIk("disabled",Y.disabled||null),t.ekj("_mat-animation-noopable","NoopAnimations"===Y._animationMode)("mat-unthemed",!Y.color)("mat-mdc-button-base",!0)("mdc-fab--extended",Y.extended)("mat-mdc-extended-fab",Y.extended))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",extended:"extended"},exportAs:["matButton"],features:[t.qOj],attrs:D,ngContentSelectors:P,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(N,Y){1&N&&(t.F$t(u),t._UZ(0,"span",0),t.Hsn(1),t.TgZ(2,"span",1),t.Hsn(3,1),t.qZA(),t.Hsn(4,2),t._UZ(5,"span",2)(6,"span",3)(7,"span",4)),2&N&&(t.ekj("mdc-button__ripple",!Y._isFab)("mdc-fab__ripple",Y._isFab),t.xp6(6),t.Q6J("matRippleDisabled",Y._isRippleDisabled())("matRippleTrigger",Y._elementRef.nativeElement))},dependencies:[O.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});class x extends he{constructor(N,Y,Pe,Ce,Xe){super(N,Y,Pe,Ce),this._options=Xe,this._isFab=!0,this._options=this._options||o,this.color=this.defaultColor=this._options.color||o.color}}x.\u0275fac=function(N){return new(N||x)(t.Y36(t.SBq),t.Y36(e.t4),t.Y36(t.R0b),t.Y36(t.QbO,8),t.Y36(T,8))},x.\u0275cmp=t.Xpm({type:x,selectors:[["button","mat-mini-fab",""]],hostVars:7,hostBindings:function(N,Y){2&N&&(t.uIk("disabled",Y.disabled||null),t.ekj("_mat-animation-noopable","NoopAnimations"===Y._animationMode)("mat-unthemed",!Y.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[t.qOj],attrs:k,ngContentSelectors:P,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(N,Y){1&N&&(t.F$t(u),t._UZ(0,"span",0),t.Hsn(1),t.TgZ(2,"span",1),t.Hsn(3,1),t.qZA(),t.Hsn(4,2),t._UZ(5,"span",2)(6,"span",3)(7,"span",4)),2&N&&(t.ekj("mdc-button__ripple",!Y._isFab)("mdc-fab__ripple",Y._isFab),t.xp6(6),t.Q6J("matRippleDisabled",Y._isRippleDisabled())("matRippleTrigger",Y._elementRef.nativeElement))},dependencies:[O.wG],styles:[M],encapsulation:2,changeDetection:0});class I extends fe{constructor(N,Y,Pe,Ce,Xe){super(N,Y,Pe,Ce),this._options=Xe,this._isFab=!0,this._options=this._options||o,this.color=this.defaultColor=this._options.color||o.color}get extended(){return this._extended}set extended(N){this._extended=(0,l.Ig)(N)}}I.\u0275fac=function(N){return new(N||I)(t.Y36(t.SBq),t.Y36(e.t4),t.Y36(t.R0b),t.Y36(t.QbO,8),t.Y36(T,8))},I.\u0275cmp=t.Xpm({type:I,selectors:[["a","mat-fab",""]],hostVars:13,hostBindings:function(N,Y){2&N&&(t.uIk("disabled",Y.disabled||null)("tabindex",Y.disabled?-1:Y.tabIndex)("aria-disabled",Y.disabled.toString()),t.ekj("_mat-animation-noopable","NoopAnimations"===Y._animationMode)("mat-unthemed",!Y.color)("mat-mdc-button-base",!0)("mdc-fab--extended",Y.extended)("mat-mdc-extended-fab",Y.extended))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",extended:"extended"},exportAs:["matButton","matAnchor"],features:[t.qOj],attrs:D,ngContentSelectors:P,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(N,Y){1&N&&(t.F$t(u),t._UZ(0,"span",0),t.Hsn(1),t.TgZ(2,"span",1),t.Hsn(3,1),t.qZA(),t.Hsn(4,2),t._UZ(5,"span",2)(6,"span",3)(7,"span",4)),2&N&&(t.ekj("mdc-button__ripple",!Y._isFab)("mdc-fab__ripple",Y._isFab),t.xp6(6),t.Q6J("matRippleDisabled",Y._isRippleDisabled())("matRippleTrigger",Y._elementRef.nativeElement))},dependencies:[O.wG],styles:[M],encapsulation:2,changeDetection:0});class R extends fe{constructor(N,Y,Pe,Ce,Xe){super(N,Y,Pe,Ce),this._options=Xe,this._isFab=!0,this._options=this._options||o,this.color=this.defaultColor=this._options.color||o.color}}R.\u0275fac=function(N){return new(N||R)(t.Y36(t.SBq),t.Y36(e.t4),t.Y36(t.R0b),t.Y36(t.QbO,8),t.Y36(T,8))},R.\u0275cmp=t.Xpm({type:R,selectors:[["a","mat-mini-fab",""]],hostVars:9,hostBindings:function(N,Y){2&N&&(t.uIk("disabled",Y.disabled||null)("tabindex",Y.disabled?-1:Y.tabIndex)("aria-disabled",Y.disabled.toString()),t.ekj("_mat-animation-noopable","NoopAnimations"===Y._animationMode)("mat-unthemed",!Y.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[t.qOj],attrs:k,ngContentSelectors:P,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(N,Y){1&N&&(t.F$t(u),t._UZ(0,"span",0),t.Hsn(1),t.TgZ(2,"span",1),t.Hsn(3,1),t.qZA(),t.Hsn(4,2),t._UZ(5,"span",2)(6,"span",3)(7,"span",4)),2&N&&(t.ekj("mdc-button__ripple",!Y._isFab)("mdc-fab__ripple",Y._isFab),t.xp6(6),t.Q6J("matRippleDisabled",Y._isRippleDisabled())("matRippleTrigger",Y._elementRef.nativeElement))},dependencies:[O.wG],styles:[M],encapsulation:2,changeDetection:0});class g extends he{constructor(N,Y,Pe,Ce){super(N,Y,Pe,Ce)}}g.\u0275fac=function(N){return new(N||g)(t.Y36(t.SBq),t.Y36(e.t4),t.Y36(t.R0b),t.Y36(t.QbO,8))},g.\u0275cmp=t.Xpm({type:g,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(N,Y){2&N&&(t.uIk("disabled",Y.disabled||null),t.ekj("_mat-animation-noopable","NoopAnimations"===Y._animationMode)("mat-unthemed",!Y.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[t.qOj],attrs:z,ngContentSelectors:["*"],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(N,Y){1&N&&(t.F$t(),t._UZ(0,"span",0),t.Hsn(1),t._UZ(2,"span",1)(3,"span",2)(4,"span",3)),2&N&&(t.xp6(3),t.Q6J("matRippleDisabled",Y._isRippleDisabled())("matRippleCentered",!0)("matRippleTrigger",Y._elementRef.nativeElement))},dependencies:[O.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}',L],encapsulation:2,changeDetection:0});class r extends le{constructor(N,Y,Pe,Ce){super(N,Y,Pe,Ce)}}r.\u0275fac=function(N){return new(N||r)(t.Y36(t.SBq),t.Y36(e.t4),t.Y36(t.R0b),t.Y36(t.QbO,8))},r.\u0275cmp=t.Xpm({type:r,selectors:[["a","mat-icon-button",""]],hostVars:9,hostBindings:function(N,Y){2&N&&(t.uIk("disabled",Y.disabled||null)("tabindex",Y.disabled?-1:Y.tabIndex)("aria-disabled",Y.disabled.toString()),t.ekj("_mat-animation-noopable","NoopAnimations"===Y._animationMode)("mat-unthemed",!Y.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[t.qOj],attrs:z,ngContentSelectors:P,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(N,Y){1&N&&(t.F$t(u),t._UZ(0,"span",0),t.Hsn(1),t.TgZ(2,"span",1),t.Hsn(3,1),t.qZA(),t.Hsn(4,2),t._UZ(5,"span",2)(6,"span",3)(7,"span",4)),2&N&&(t.ekj("mdc-button__ripple",!Y._isFab)("mdc-fab__ripple",Y._isFab),t.xp6(6),t.Q6J("matRippleDisabled",Y._isRippleDisabled())("matRippleTrigger",Y._elementRef.nativeElement))},dependencies:[O.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}',L],encapsulation:2,changeDetection:0});class w{}w.\u0275fac=function(N){return new(N||w)},w.\u0275mod=t.oAB({type:w}),w.\u0275inj=t.cJS({imports:[O.BQ,O.si,O.BQ]})},2156:(Ye,J,f)=>{"use strict";f.d(J,{$j:()=>z,QW:()=>re,a8:()=>L,dk:()=>W,dn:()=>M,n5:()=>D});var e=f(2560),t=f(4666),_=f(207);const l=[[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],[["","mat-card-image",""],["","matCardImage",""],["","mat-card-sm-image",""],["","matCardImageSmall",""],["","mat-card-md-image",""],["","matCardImageMedium",""],["","mat-card-lg-image",""],["","matCardImageLarge",""],["","mat-card-xl-image",""],["","matCardImageXLarge",""]],"*"],C=["mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","[mat-card-image], [matCardImage],\n [mat-card-sm-image], [matCardImageSmall],\n [mat-card-md-image], [matCardImageMedium],\n [mat-card-lg-image], [matCardImageLarge],\n [mat-card-xl-image], [matCardImageXLarge]","*"],u=[[["","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]","*"],p=new e.OlP("MAT_CARD_CONFIG");class L{constructor(T){this.appearance=T?.appearance||"raised"}}L.\u0275fac=function(T){return new(T||L)(e.Y36(p,8))},L.\u0275cmp=e.Xpm({type:L,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(T,i){2&T&&e.ekj("mat-mdc-card-outlined","outlined"===i.appearance)("mdc-card--outlined","outlined"===i.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:["*"],decls:1,vars:0,template:function(T,i){1&T&&(e.F$t(),e.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});class D{}D.\u0275fac=function(T){return new(T||D)},D.\u0275dir=e.lG2({type:D,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]});class k{}k.\u0275fac=function(T){return new(T||k)},k.\u0275cmp=e.Xpm({type:k,selectors:[["mat-card-title-group"]],hostAttrs:[1,"mat-mdc-card-title-group"],ngContentSelectors:C,decls:4,vars:0,template:function(T,i){1&T&&(e.F$t(l),e.TgZ(0,"div"),e.Hsn(1),e.qZA(),e.Hsn(2,1),e.Hsn(3,2))},encapsulation:2,changeDetection:0});class M{}M.\u0275fac=function(T){return new(T||M)},M.\u0275dir=e.lG2({type:M,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]});class z{}z.\u0275fac=function(T){return new(T||z)},z.\u0275dir=e.lG2({type:z,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]});class A{constructor(){this.align="start"}}A.\u0275fac=function(T){return new(T||A)},A.\u0275dir=e.lG2({type:A,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(T,i){2&T&&e.ekj("mat-mdc-card-actions-align-end","end"===i.align)},inputs:{align:"align"},exportAs:["matCardActions"]});class W{}W.\u0275fac=function(T){return new(T||W)},W.\u0275cmp=e.Xpm({type:W,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(T,i){1&T&&(e.F$t(u),e.Hsn(0),e.TgZ(1,"div",0),e.Hsn(2,1),e.qZA(),e.Hsn(3,2))},encapsulation:2,changeDetection:0});class Z{}Z.\u0275fac=function(T){return new(T||Z)},Z.\u0275dir=e.lG2({type:Z,selectors:[["mat-card-footer"]],hostAttrs:[1,"mat-mdc-card-footer"]});class X{}X.\u0275fac=function(T){return new(T||X)},X.\u0275dir=e.lG2({type:X,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-mdc-card-image","mdc-card__media"]});class ${}$.\u0275fac=function(T){return new(T||$)},$.\u0275dir=e.lG2({type:$,selectors:[["","mat-card-sm-image",""],["","matCardImageSmall",""]],hostAttrs:[1,"mat-mdc-card-sm-image","mdc-card__media"]});class ae{}ae.\u0275fac=function(T){return new(T||ae)},ae.\u0275dir=e.lG2({type:ae,selectors:[["","mat-card-md-image",""],["","matCardImageMedium",""]],hostAttrs:[1,"mat-mdc-card-md-image","mdc-card__media"]});class he{}he.\u0275fac=function(T){return new(T||he)},he.\u0275dir=e.lG2({type:he,selectors:[["","mat-card-lg-image",""],["","matCardImageLarge",""]],hostAttrs:[1,"mat-mdc-card-lg-image","mdc-card__media"]});class se{}se.\u0275fac=function(T){return new(T||se)},se.\u0275dir=e.lG2({type:se,selectors:[["","mat-card-xl-image",""],["","matCardImageXLarge",""]],hostAttrs:[1,"mat-mdc-card-xl-image","mdc-card__media"]});class pe{}pe.\u0275fac=function(T){return new(T||pe)},pe.\u0275dir=e.lG2({type:pe,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-mdc-card-avatar"]});class re{}re.\u0275fac=function(T){return new(T||re)},re.\u0275mod=e.oAB({type:re}),re.\u0275inj=e.cJS({imports:[_.BQ,t.ez,_.BQ]})},4792:(Ye,J,f)=>{"use strict";f.d(J,{oG:()=>W,p9:()=>ae});var e=f(2560),t=f(2508),_=f(207),O=f(8971);const l=["input"],C=["label"],P=new e.OlP("mat-checkbox-default-options",{providedIn:"root",factory:p});function p(){return{color:"accent",clickAction:"check-indeterminate"}}const L={provide:t.JU,useExisting:(0,e.Gpc)(()=>W),multi:!0};class D{}let k=0;const M={color:"accent",clickAction:"check-indeterminate"},z=(0,_.sb)((0,_.pj)((0,_.Kr)((0,_.Id)(class{constructor(he){this._elementRef=he}}))));class A extends z{constructor(se,pe,le,re,fe,T,i){super(pe),this._changeDetectorRef=le,this._ngZone=re,this._animationMode=T,this._options=i,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new e.vpe,this.indeterminateChange=new e.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||M,this.color=this.defaultColor=this._options.color||M.color,this.tabIndex=parseInt(fe)||0,this.id=this._uniqueId=`${se}${++k}`}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(se){this._required=(0,O.Ig)(se)}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(se){const pe=(0,O.Ig)(se);pe!=this.checked&&(this._checked=pe,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(se){const pe=(0,O.Ig)(se);pe!==this.disabled&&(this._disabled=pe,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(se){const pe=se!=this._indeterminate;this._indeterminate=(0,O.Ig)(se),pe&&(this._indeterminate?this._transitionCheckState(3):this._transitionCheckState(this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(se){this.checked=!!se}registerOnChange(se){this._controlValueAccessorChangeFn=se}registerOnTouched(se){this._onTouched=se}setDisabledState(se){this.disabled=se}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(se){let pe=this._currentCheckState,le=this._getAnimationTargetElement();if(pe!==se&&le&&(this._currentAnimationClass&&le.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(pe,se),this._currentCheckState=se,this._currentAnimationClass.length>0)){le.classList.add(this._currentAnimationClass);const re=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{le.classList.remove(re)},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 se=this._options?.clickAction;this.disabled||"noop"===se?!this.disabled&&"noop"===se&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==se&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(se){se.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(se,pe){if("NoopAnimations"===this._animationMode)return"";switch(se){case 0:if(1===pe)return this._animationClasses.uncheckedToChecked;if(3==pe)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===pe?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===pe?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===pe?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(se){const pe=this._inputElement;pe&&(pe.nativeElement.indeterminate=se)}}A.\u0275fac=function(se){e.$Z()},A.\u0275dir=e.lG2({type:A,viewQuery:function(se,pe){if(1&se&&(e.Gf(l,5),e.Gf(C,5),e.Gf(_.wG,5)),2&se){let le;e.iGM(le=e.CRH())&&(pe._inputElement=le.first),e.iGM(le=e.CRH())&&(pe._labelElement=le.first),e.iGM(le=e.CRH())&&(pe.ripple=le.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:[e.qOj]});class W extends A{constructor(se,pe,le,re,fe,T){super("mat-mdc-checkbox-",se,pe,le,re,fe,T),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(se){const pe=new D;return pe.source=this,pe.checked=se,pe}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_onInputClick(){super._handleInputClick()}_preventBubblingFromLabel(se){se.target&&this._labelElement.nativeElement.contains(se.target)&&se.stopPropagation()}}W.\u0275fac=function(se){return new(se||W)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.$8M("tabindex"),e.Y36(e.QbO,8),e.Y36(P,8))},W.\u0275cmp=e.Xpm({type:W,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(se,pe){2&se&&(e.Ikx("id",pe.id),e.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),e.ekj("_mat-animation-noopable","NoopAnimations"===pe._animationMode)("mdc-checkbox--disabled",pe.disabled)("mat-mdc-checkbox-disabled",pe.disabled)("mat-mdc-checkbox-checked",pe.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[e._Bn([L]),e.qOj],ngContentSelectors:["*"],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(se,pe){if(1&se&&(e.F$t(),e.TgZ(0,"div",0),e.NdJ("click",function(re){return pe._preventBubblingFromLabel(re)}),e.TgZ(1,"div",1,2)(3,"div",3),e.NdJ("click",function(){return pe._onInputClick()}),e.qZA(),e.TgZ(4,"input",4,5),e.NdJ("blur",function(){return pe._onBlur()})("click",function(){return pe._onInputClick()})("change",function(re){return pe._onInteractionEvent(re)}),e.qZA(),e._UZ(6,"div",6),e.TgZ(7,"div",7),e.O4$(),e.TgZ(8,"svg",8),e._UZ(9,"path",9),e.qZA(),e.kcU(),e._UZ(10,"div",10),e.qZA(),e._UZ(11,"div",11),e.qZA(),e.TgZ(12,"label",12,13),e.Hsn(14),e.qZA()()),2&se){const le=e.MAs(2);e.ekj("mdc-form-field--align-end","before"==pe.labelPosition),e.xp6(4),e.ekj("mdc-checkbox--selected",pe.checked),e.Q6J("checked",pe.checked)("disabled",pe.disabled)("id",pe.inputId)("required",pe.required)("tabIndex",pe.tabIndex),e.uIk("aria-checked",pe._getAriaChecked())("aria-label",pe.ariaLabel||null)("aria-labelledby",pe.ariaLabelledby)("aria-describedby",pe.ariaDescribedby)("name",pe.name)("value",pe.value),e.xp6(7),e.Q6J("matRippleTrigger",le)("matRippleDisabled",pe.disableRipple||pe.disabled)("matRippleCentered",!0),e.xp6(1),e.Q6J("for",pe.inputId)}},dependencies:[_.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});const Z={provide:t.Cf,useExisting:(0,e.Gpc)(()=>X),multi:!0};class X extends t.Zs{}X.\u0275fac=function(){let he;return function(pe){return(he||(he=e.n5z(X)))(pe||X)}}(),X.\u0275dir=e.lG2({type:X,selectors:[["mat-checkbox","required","","formControlName",""],["mat-checkbox","required","","formControl",""],["mat-checkbox","required","","ngModel",""]],features:[e._Bn([Z]),e.qOj]});class ${}$.\u0275fac=function(se){return new(se||$)},$.\u0275mod=e.oAB({type:$}),$.\u0275inj=e.cJS({});class ae{}ae.\u0275fac=function(se){return new(se||ae)},ae.\u0275mod=e.oAB({type:ae}),ae.\u0275inj=e.cJS({imports:[_.BQ,_.si,$,_.BQ,$]})},1169:(Ye,J,f)=>{"use strict";f.d(J,{HS:()=>Oe,Hi:()=>bt});var e=f(8971),t=f(2560),_=f(4666),O=f(207),l=f(4218),C=f(253),u=f(6646),P=f(9295),p=f(8951),L=f(4874),D=f(2673),k=f(8456),M=f(2867),z=f(2508),A=f(5074);function W(st,Be){1&st&&(t.TgZ(0,"span",8),t.Hsn(1,1),t.qZA())}function Z(st,Be){1&st&&(t.TgZ(0,"span",9),t.Hsn(1,2),t.qZA())}const X=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]];function ae(st,Be){1&st&&(t.TgZ(0,"span",11),t.Hsn(1,2),t.qZA())}const he=[[["mat-chip-avatar"],["","matChipAvatar",""]],"*",[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],pe='.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__graphic{height:24px;width:24px;font-size:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__icon--primary{height:24px;width:24px;font-size:24px}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 14px 14px 14px 14px)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size, 28px);width:var(--mdc-chip-with-avatar-avatar-size, 28px);font-size:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width, 1px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-outline-width, 1px)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--selected) .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-unselected-outline-width, 1px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size, 18px);width:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, currentColor)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{width:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}';function le(st,Be){if(1&st&&(t.ynx(0),t._UZ(1,"span",8)(2,"span",9),t.BQk()),2&st){const rt=t.oxw();t.xp6(1),t.Q6J("matRippleDisabled",rt._isRippleDisabled())("matRippleCentered",rt._isRippleCentered)("matRippleTrigger",rt._elementRef.nativeElement)}}function re(st,Be){1&st&&(t.TgZ(0,"span",10),t.Hsn(1),t.qZA())}function fe(st,Be){1&st&&(t.ynx(0),t.Hsn(1,1),t.BQk())}function T(st,Be){1&st&&t.Hsn(0,2,["*ngIf","contentEditInput; else defaultMatChipEditInput"])}function i(st,Be){1&st&&t._UZ(0,"span",13)}function o(st,Be){if(1&st&&(t.ynx(0),t.YNc(1,T,1,0,"ng-content",11),t.YNc(2,i,1,0,"ng-template",null,12,t.W1O),t.BQk()),2&st){const rt=t.MAs(3),Ot=t.oxw();t.xp6(1),t.Q6J("ngIf",Ot.contentEditInput)("ngIfElse",rt)}}function m(st,Be){1&st&&(t.TgZ(0,"span",14),t.Hsn(1,3),t.qZA())}const h=[[["mat-chip-avatar"],["","matChipAvatar",""]],"*",[["","matChipEditInput",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],I=["*"],R=".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}",g=new t.OlP("mat-chips-default-options"),r=new t.OlP("MatChipAvatar"),w=new t.OlP("MatChipTrailingIcon"),V=new t.OlP("MatChipRemove"),N=new t.OlP("MatChip");const Pe=(0,O.sb)(class Y{},-1);class Ce extends Pe{constructor(Be,rt){super(),this._elementRef=Be,this._parentChip=rt,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===Be.nativeElement.nodeName&&Be.nativeElement.setAttribute("type","button")}get disabled(){return this._disabled||this._parentChip.disabled}set disabled(Be){this._disabled=(0,e.Ig)(Be)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}focus(){this._elementRef.nativeElement.focus()}_handleClick(Be){!this.disabled&&this.isInteractive&&this._isPrimary&&(Be.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(Be){(Be.keyCode===k.K5||Be.keyCode===k.L_)&&!this.disabled&&this.isInteractive&&this._isPrimary&&(Be.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}}Ce.\u0275fac=function(Be){return new(Be||Ce)(t.Y36(t.SBq),t.Y36(N))},Ce.\u0275dir=t.lG2({type:Ce,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(Be,rt){1&Be&&t.NdJ("click",function(Gt){return rt._handleClick(Gt)})("keydown",function(Gt){return rt._handleKeydown(Gt)}),2&Be&&(t.uIk("tabindex",rt._getTabindex())("disabled",rt._getDisabledAttribute())("aria-disabled",rt.disabled),t.ekj("mdc-evolution-chip__action--primary",rt._isPrimary)("mdc-evolution-chip__action--presentational",!rt.isInteractive)("mdc-evolution-chip__action--trailing",!rt._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[t.qOj]});class Xe{}Xe.\u0275fac=function(Be){return new(Be||Xe)},Xe.\u0275dir=t.lG2({type:Xe,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:["role","img",1,"mat-mdc-chip-avatar","mdc-evolution-chip__icon","mdc-evolution-chip__icon--primary"],features:[t._Bn([{provide:r,useExisting:Xe}])]});class dt extends Ce{constructor(){super(...arguments),this.isInteractive=!1,this._isPrimary=!1}}dt.\u0275fac=function(){let st;return function(rt){return(st||(st=t.n5z(dt)))(rt||dt)}}(),dt.\u0275dir=t.lG2({type:dt,selectors:[["mat-chip-trailing-icon"],["","matChipTrailingIcon",""]],hostAttrs:["aria-hidden","true",1,"mat-mdc-chip-trailing-icon","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],features:[t._Bn([{provide:w,useExisting:dt}]),t.qOj]});class Ke extends Ce{constructor(){super(...arguments),this._isPrimary=!1}_handleClick(Be){this.disabled||(Be.stopPropagation(),Be.preventDefault(),this._parentChip.remove())}_handleKeydown(Be){(Be.keyCode===k.K5||Be.keyCode===k.L_)&&!this.disabled&&(Be.stopPropagation(),Be.preventDefault(),this._parentChip.remove())}}Ke.\u0275fac=function(){let st;return function(rt){return(st||(st=t.n5z(Ke)))(rt||Ke)}}(),Ke.\u0275dir=t.lG2({type:Ke,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-mdc-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(Be,rt){2&Be&&t.uIk("aria-hidden",null)},features:[t._Bn([{provide:V,useExisting:Ke}]),t.qOj]});let ge=0;const $e=(0,O.sb)((0,O.pj)((0,O.Kr)((0,O.Id)(class{constructor(st){this._elementRef=st}})),"primary"),-1);class Oe extends $e{constructor(Be,rt,Ot,Gt,kt,Rt,yi,Jt){super(rt),this._changeDetectorRef=Be,this._ngZone=Ot,this._focusMonitor=Gt,this._globalRippleOptions=yi,this._isRippleCentered=!1,this._onFocus=new C.x,this._onBlur=new C.x,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+ge++,this.ariaLabel=null,this._removable=!0,this._highlighted=!1,this.removed=new t.vpe,this.destroyed=new t.vpe,this.basicChipAttrName="mat-basic-chip";const Zt=rt.nativeElement;this._document=kt,this._animationsDisabled="NoopAnimations"===Rt,this._isBasicChip=Zt.hasAttribute(this.basicChipAttrName)||Zt.tagName.toLowerCase()===this.basicChipAttrName,null!=Jt&&(this.tabIndex=parseInt(Jt)??this.defaultTabIndex),this._monitorFocus()}_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(Be){this._value=Be}get removable(){return this._removable}set removable(Be){this._removable=(0,e.Ig)(Be)}get highlighted(){return this._highlighted}set highlighted(Be){this._highlighted=(0,e.Ig)(Be)}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(Be){(Be.keyCode===k.ZH||Be.keyCode===k.yY)&&(Be.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(Be){return this._getActions().find(rt=>{const Ot=rt._elementRef.nativeElement;return Ot===Be||Ot.contains(Be)})}_getActions(){const Be=[];return this.primaryAction&&Be.push(this.primaryAction),this.removeIcon&&Be.push(this.removeIcon),this.trailingIcon&&Be.push(this.trailingIcon),Be}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(Be=>{const rt=null!==Be;rt!==this._hasFocusInternal&&(this._hasFocusInternal=rt,rt?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe((0,P.q)(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}}Oe.\u0275fac=function(Be){return new(Be||Oe)(t.Y36(t.sBO),t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(l.tE),t.Y36(_.K0),t.Y36(t.QbO,8),t.Y36(O.Y2,8),t.$8M("tabindex"))},Oe.\u0275cmp=t.Xpm({type:Oe,selectors:[["mat-basic-chip"],["mat-chip"]],contentQueries:function(Be,rt,Ot){if(1&Be&&(t.Suo(Ot,r,5),t.Suo(Ot,w,5),t.Suo(Ot,V,5)),2&Be){let Gt;t.iGM(Gt=t.CRH())&&(rt.leadingIcon=Gt.first),t.iGM(Gt=t.CRH())&&(rt.trailingIcon=Gt.first),t.iGM(Gt=t.CRH())&&(rt.removeIcon=Gt.first)}},viewQuery:function(Be,rt){if(1&Be&&(t.Gf(O.wG,5),t.Gf(Ce,5)),2&Be){let Ot;t.iGM(Ot=t.CRH())&&(rt.ripple=Ot.first),t.iGM(Ot=t.CRH())&&(rt.primaryAction=Ot.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(Be,rt){1&Be&&t.NdJ("keydown",function(Gt){return rt._handleKeydown(Gt)}),2&Be&&(t.Ikx("id",rt.id),t.uIk("role",rt.role)("tabindex",rt.role?rt.tabIndex:null)("aria-label",rt.ariaLabel),t.ekj("mdc-evolution-chip",!rt._isBasicChip)("mdc-evolution-chip--disabled",rt.disabled)("mdc-evolution-chip--with-trailing-action",rt._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",rt.leadingIcon)("mdc-evolution-chip--with-primary-icon",rt.leadingIcon)("mdc-evolution-chip--with-avatar",rt.leadingIcon)("mat-mdc-chip-with-avatar",rt.leadingIcon)("mat-mdc-chip-highlighted",rt.highlighted)("mat-mdc-chip-disabled",rt.disabled)("mat-mdc-basic-chip",rt._isBasicChip)("mat-mdc-standard-chip",!rt._isBasicChip)("mat-mdc-chip-with-trailing-icon",rt._hasTrailingIcon())("_mat-animation-noopable",rt._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[t._Bn([{provide:N,useExisting:Oe}]),t.qOj],ngContentSelectors:["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],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(Be,rt){1&Be&&(t.F$t(X),t._UZ(0,"span",0)(1,"span",1),t.TgZ(2,"span",2)(3,"div",3),t.YNc(4,W,2,0,"span",4),t.TgZ(5,"span",5),t.Hsn(6),t._UZ(7,"span",6),t.qZA()()(),t.YNc(8,Z,2,0,"span",7)),2&Be&&(t.Q6J("matRippleDisabled",rt._isRippleDisabled())("matRippleCentered",rt._isRippleCentered)("matRippleTrigger",rt._elementRef.nativeElement),t.xp6(3),t.Q6J("isInteractive",!1),t.xp6(1),t.Q6J("ngIf",rt.leadingIcon),t.xp6(4),t.Q6J("ngIf",rt._hasTrailingIcon()))},dependencies:[_.O5,O.wG,Ce],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__graphic{height:24px;width:24px;font-size:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__icon--primary{height:24px;width:24px;font-size:24px}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 14px 14px 14px 14px)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size, 28px);width:var(--mdc-chip-with-avatar-avatar-size, 28px);font-size:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width, 1px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-outline-width, 1px)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--selected) .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-unselected-outline-width, 1px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size, 18px);width:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, currentColor)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{width:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});class De extends Oe{constructor(){super(...arguments),this.chipListSelectable=!0,this._chipListMultiple=!1,this._selectable=!0,this._selected=!1,this.basicChipAttrName="mat-basic-chip-option",this.selectionChange=new t.vpe}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(Be){this._selectable=(0,e.Ig)(Be),this._changeDetectorRef.markForCheck()}get selected(){return this._selected}set selected(Be){this._setSelectedState((0,e.Ig)(Be),!1,!0)}get ariaSelected(){return this.selectable?this.selected.toString():null}ngOnInit(){this.role="presentation"}select(){this._setSelectedState(!0,!1,!0)}deselect(){this._setSelectedState(!1,!1,!0)}selectViaInteraction(){this._setSelectedState(!0,!0,!0)}toggleSelected(Be=!1){return this._setSelectedState(!this.selected,Be,!0),this.selected}_handlePrimaryActionInteraction(){this.selectable&&!this.disabled&&this.toggleSelected(!0)}_setSelectedState(Be,rt,Ot){Be!==this.selected&&(this._selected=Be,Ot&&this.selectionChange.emit({source:this,isUserInput:rt,selected:this.selected}),this._changeDetectorRef.markForCheck())}}De.\u0275fac=function(){let st;return function(rt){return(st||(st=t.n5z(De)))(rt||De)}}(),De.\u0275cmp=t.Xpm({type:De,selectors:[["mat-basic-chip-option"],["mat-chip-option"]],hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-option","mdc-evolution-chip","mdc-evolution-chip--filter","mdc-evolution-chip--selectable","mdc-evolution-chip--with-primary-graphic"],hostVars:28,hostBindings:function(Be,rt){2&Be&&(t.Ikx("id",rt.id),t.uIk("tabindex",null)("aria-label",null)("role",rt.role),t.ekj("mat-mdc-chip-selected",rt.selected)("mat-mdc-chip-multiple",rt._chipListMultiple)("mat-mdc-chip-disabled",rt.disabled)("mat-mdc-chip-with-avatar",rt.leadingIcon)("mdc-evolution-chip--disabled",rt.disabled)("mdc-evolution-chip--selected",rt.selected)("mdc-evolution-chip--selecting",!rt._animationsDisabled)("mdc-evolution-chip--with-trailing-action",rt._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",rt.leadingIcon)("mdc-evolution-chip--with-avatar",rt.leadingIcon)("mat-mdc-chip-highlighted",rt.highlighted)("mat-mdc-chip-with-trailing-icon",rt._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",selectable:"selectable",selected:"selected"},outputs:{selectionChange:"selectionChange"},features:[t._Bn([{provide:Oe,useExisting:De},{provide:N,useExisting:De}]),t.qOj],ngContentSelectors:["mat-chip-avatar, [matChipAvatar]","*","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],decls:13,vars:8,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","","role","option",3,"tabIndex","_allowFocusWhenDisabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false",1,"mdc-evolution-chip__checkmark-svg"],["fill","none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"],[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__cell","mdc-evolution-chip__cell--trailing"]],template:function(Be,rt){1&Be&&(t.F$t(he),t._UZ(0,"span",0)(1,"span",1),t.TgZ(2,"span",2)(3,"button",3)(4,"span",4),t.Hsn(5),t.TgZ(6,"span",5),t.O4$(),t.TgZ(7,"svg",6),t._UZ(8,"path",7),t.qZA()()(),t.kcU(),t.TgZ(9,"span",8),t.Hsn(10,1),t._UZ(11,"span",9),t.qZA()()(),t.YNc(12,ae,2,0,"span",10)),2&Be&&(t.Q6J("matRippleDisabled",rt._isRippleDisabled())("matRippleCentered",rt._isRippleCentered)("matRippleTrigger",rt._elementRef.nativeElement),t.xp6(3),t.Q6J("tabIndex",rt.tabIndex)("_allowFocusWhenDisabled",!0),t.uIk("aria-selected",rt.ariaSelected)("aria-label",rt.ariaLabel),t.xp6(9),t.Q6J("ngIf",rt._hasTrailingIcon()))},dependencies:[_.O5,O.wG,Ce],styles:[pe],encapsulation:2,changeDetection:0});class Ue{constructor(Be,rt){this._elementRef=Be,this._document=rt}initialize(Be){this.getNativeElement().focus(),this.setValue(Be)}getNativeElement(){return this._elementRef.nativeElement}setValue(Be){this.getNativeElement().textContent=Be,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){const Be=this._document.createRange();Be.selectNodeContents(this.getNativeElement()),Be.collapse(!1);const rt=window.getSelection();rt.removeAllRanges(),rt.addRange(Be)}}Ue.\u0275fac=function(Be){return new(Be||Ue)(t.Y36(t.SBq),t.Y36(_.K0))},Ue.\u0275dir=t.lG2({type:Ue,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"]});class ye extends Oe{constructor(Be,rt,Ot,Gt,kt,Rt,yi,Jt){super(Be,rt,Ot,Gt,kt,Rt,yi,Jt),this.basicChipAttrName="mat-basic-chip-row",this._editStartPending=!1,this.editable=!1,this.edited=new t.vpe,this._isEditing=!1,this.role="row",this._onBlur.pipe((0,p.R)(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_mousedown(Be){this._isEditing||(this.disabled||this.focus(),Be.preventDefault())}_handleKeydown(Be){Be.keyCode!==k.K5||this.disabled?this._isEditing?Be.stopPropagation():super._handleKeydown(Be):this._isEditing?(Be.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(Be)}_doubleclick(Be){!this.disabled&&this.editable&&this._startEditing(Be)}_startEditing(Be){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(Be.target)===this.removeIcon)return;const rt=this.value;this._isEditing=!0,this._editStartPending=!0,setTimeout(()=>{this._getEditInput().initialize(rt),this._editStartPending=!1})}_onEditFinish(){this._isEditing=!1,this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_getEditInput(){return this.contentEditInput||this.defaultEditInput}}ye.\u0275fac=function(Be){return new(Be||ye)(t.Y36(t.sBO),t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(l.tE),t.Y36(_.K0),t.Y36(t.QbO,8),t.Y36(O.Y2,8),t.$8M("tabindex"))},ye.\u0275cmp=t.Xpm({type:ye,selectors:[["mat-chip-row"],["mat-basic-chip-row"]],contentQueries:function(Be,rt,Ot){if(1&Be&&t.Suo(Ot,Ue,5),2&Be){let Gt;t.iGM(Gt=t.CRH())&&(rt.contentEditInput=Gt.first)}},viewQuery:function(Be,rt){if(1&Be&&t.Gf(Ue,5),2&Be){let Ot;t.iGM(Ot=t.CRH())&&(rt.defaultEditInput=Ot.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:26,hostBindings:function(Be,rt){1&Be&&t.NdJ("mousedown",function(Gt){return rt._mousedown(Gt)})("dblclick",function(Gt){return rt._doubleclick(Gt)}),2&Be&&(t.Ikx("id",rt.id),t.uIk("tabindex",null)("aria-label",null)("role",rt.role),t.ekj("mat-mdc-chip-with-avatar",rt.leadingIcon)("mat-mdc-chip-disabled",rt.disabled)("mat-mdc-chip-editing",rt._isEditing)("mat-mdc-chip-editable",rt.editable)("mdc-evolution-chip--disabled",rt.disabled)("mdc-evolution-chip--with-trailing-action",rt._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",rt.leadingIcon)("mdc-evolution-chip--with-primary-icon",rt.leadingIcon)("mdc-evolution-chip--with-avatar",rt.leadingIcon)("mat-mdc-chip-highlighted",rt.highlighted)("mat-mdc-chip-with-trailing-icon",rt._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",editable:"editable"},outputs:{edited:"edited"},features:[t._Bn([{provide:Oe,useExisting:ye},{provide:N,useExisting:ye}]),t.qOj],ngContentSelectors:["mat-chip-avatar, [matChipAvatar]","*","[matChipEditInput]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],decls:9,vars:10,consts:[[4,"ngIf"],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"tabIndex","disabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label",3,"ngSwitch"],[4,"ngSwitchCase"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing","role","gridcell",4,"ngIf"],["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[4,"ngIf","ngIfElse"],["defaultMatChipEditInput",""],["matChipEditInput",""],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(Be,rt){1&Be&&(t.F$t(h),t.YNc(0,le,3,3,"ng-container",0),t.TgZ(1,"span",1)(2,"span",2),t.YNc(3,re,2,0,"span",3),t.TgZ(4,"span",4),t.YNc(5,fe,2,0,"ng-container",5),t.YNc(6,o,4,2,"ng-container",5),t._UZ(7,"span",6),t.qZA()()(),t.YNc(8,m,2,0,"span",7)),2&Be&&(t.Q6J("ngIf",!rt._isEditing),t.xp6(2),t.Q6J("tabIndex",rt.tabIndex)("disabled",rt.disabled),t.uIk("role",rt.editable?"button":null)("aria-label",rt.ariaLabel),t.xp6(1),t.Q6J("ngIf",rt.leadingIcon),t.xp6(1),t.Q6J("ngSwitch",rt._isEditing),t.xp6(1),t.Q6J("ngSwitchCase",!1),t.xp6(1),t.Q6J("ngSwitchCase",!0),t.xp6(2),t.Q6J("ngIf",rt._hasTrailingIcon()))},dependencies:[_.O5,_.RF,_.n9,O.wG,Ce,Ue],styles:[pe],encapsulation:2,changeDetection:0});const ie=(0,O.sb)(class we{constructor(Be){}});class Se extends ie{constructor(Be,rt,Ot){super(Be),this._elementRef=Be,this._changeDetectorRef=rt,this._dir=Ot,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new C.x,this._defaultRole="presentation",this._disabled=!1,this._explicitRole=null,this._chipActions=new t.n_E}get chipFocusChanges(){return this._getChipStream(Be=>Be._onFocus)}get chipDestroyedChanges(){return this._getChipStream(Be=>Be.destroyed)}get disabled(){return this._disabled}set disabled(Be){this._disabled=(0,e.Ig)(Be),this._syncChipsState()}get empty(){return 0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(Be){this._explicitRole=Be}get focused(){return this._hasFocusedChip()}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(Be=>Be._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(Be=>{Be.disabled=this._disabled,Be._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(Be){this._originatesFromChip(Be)&&this._keyManager.onKeydown(Be)}_isValidIndex(Be){return Be>=0&&Be<this._chips.length}_allowFocusEscape(){const Be=this.tabIndex;-1!==this.tabIndex&&(this.tabIndex=-1,Promise.resolve().then(()=>{this.tabIndex=Be,this._changeDetectorRef.markForCheck()}))}_getChipStream(Be){return this._chips.changes.pipe((0,L.O)(null),(0,D.w)(()=>(0,u.T)(...this._chips.map(Be))))}_originatesFromChip(Be){let rt=Be.target;for(;rt&&rt!==this._elementRef.nativeElement;){if(rt.classList&&rt.classList.contains("mdc-evolution-chip"))return!0;rt=rt.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe((0,L.O)(this._chips)).subscribe(Be=>{const rt=[];Be.forEach(Ot=>Ot._getActions().forEach(Gt=>rt.push(Gt))),this._chipActions.reset(rt),this._chipActions.notifyOnChanges()}),this._keyManager=new l.Em(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(Be=>this._skipPredicate(Be)),this.chipFocusChanges.pipe((0,p.R)(this._destroyed)).subscribe(({chip:Be})=>{const rt=Be._getSourceAction(document.activeElement);rt&&this._keyManager.updateActiveItem(rt)}),this._dir?.change.pipe((0,p.R)(this._destroyed)).subscribe(Be=>this._keyManager.withHorizontalOrientation(Be))}_skipPredicate(Be){return!Be.isInteractive||Be.disabled}_trackChipSetChanges(){this._chips.changes.pipe((0,L.O)(null),(0,p.R)(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe((0,p.R)(this._destroyed)).subscribe(Be=>{const Ot=this._chips.toArray().indexOf(Be.chip);this._isValidIndex(Ot)&&Be.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=Ot)})}_redirectDestroyedChipFocus(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){const Be=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),rt=this._chips.toArray()[Be];rt.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():rt.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}}Se.\u0275fac=function(Be){return new(Be||Se)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(M.Is,8))},Se.\u0275cmp=t.Xpm({type:Se,selectors:[["mat-chip-set"]],contentQueries:function(Be,rt,Ot){if(1&Be&&t.Suo(Ot,Oe,5),2&Be){let Gt;t.iGM(Gt=t.CRH())&&(rt._chips=Gt)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(Be,rt){1&Be&&t.NdJ("keydown",function(Gt){return rt._handleKeydown(Gt)}),2&Be&&t.uIk("role",rt.role)},inputs:{disabled:"disabled",role:"role"},features:[t.qOj],ngContentSelectors:I,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(Be,rt){1&Be&&(t.F$t(),t.TgZ(0,"span",0),t.Hsn(1),t.qZA())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0});class ne{constructor(Be,rt){this.source=Be,this.value=rt}}const K={provide:z.JU,useExisting:(0,t.Gpc)(()=>ee),multi:!0};class ee extends Se{constructor(){super(...arguments),this._onTouched=()=>{},this._onChange=()=>{},this._defaultRole="listbox",this._multiple=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.compareWith=(Be,rt)=>Be===rt,this._required=!1,this.change=new t.vpe}get multiple(){return this._multiple}set multiple(Be){this._multiple=(0,e.Ig)(Be),this._syncListboxProperties()}get selected(){const Be=this._chips.toArray().filter(rt=>rt.selected);return this.multiple?Be:Be[0]}get selectable(){return this._selectable}set selectable(Be){this._selectable=(0,e.Ig)(Be),this._syncListboxProperties()}get required(){return this._required}set required(Be){this._required=(0,e.Ig)(Be)}get chipSelectionChanges(){return this._getChipStream(Be=>Be.selectionChange)}get chipBlurChanges(){return this._getChipStream(Be=>Be._onBlur)}get value(){return this._value}set value(Be){this.writeValue(Be),this._value=Be}ngAfterContentInit(){void 0!==this._pendingInitialValue&&Promise.resolve().then(()=>{this._setSelectionByValue(this._pendingInitialValue,!1),this._pendingInitialValue=void 0}),this._chips.changes.pipe((0,L.O)(null),(0,p.R)(this._destroyed)).subscribe(()=>{this._syncListboxProperties()}),this.chipBlurChanges.pipe((0,p.R)(this._destroyed)).subscribe(()=>this._blur()),this.chipSelectionChanges.pipe((0,p.R)(this._destroyed)).subscribe(Be=>{this.multiple||this._chips.forEach(rt=>{rt!==Be.source&&rt._setSelectedState(!1,!1,!1)}),Be.isUserInput&&this._propagateChanges()})}focus(){if(this.disabled)return;const Be=this._getFirstSelectedChip();Be&&!Be.disabled?Be.focus():this._chips.length>0?this._keyManager.setFirstItemActive():this._elementRef.nativeElement.focus()}writeValue(Be){this._chips?this._setSelectionByValue(Be,!1):null!=Be&&(this._pendingInitialValue=Be)}registerOnChange(Be){this._onChange=Be}registerOnTouched(Be){this._onTouched=Be}setDisabledState(Be){this.disabled=Be}_setSelectionByValue(Be,rt=!0){this._clearSelection(),Array.isArray(Be)?Be.forEach(Ot=>this._selectValue(Ot,rt)):this._selectValue(Be,rt)}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_keydown(Be){Be.keyCode===k.Mf&&super._allowFocusEscape()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck()}_propagateChanges(){let Be=null;Be=Array.isArray(this.selected)?this.selected.map(rt=>rt.value):this.selected?this.selected.value:void 0,this._value=Be,this.change.emit(new ne(this,Be)),this._onChange(Be),this._changeDetectorRef.markForCheck()}_clearSelection(Be){this._chips.forEach(rt=>{rt!==Be&&rt.deselect()})}_selectValue(Be,rt){const Ot=this._chips.find(Gt=>null!=Gt.value&&this.compareWith(Gt.value,Be));return Ot&&(rt?Ot.selectViaInteraction():Ot.select()),Ot}_syncListboxProperties(){this._chips&&Promise.resolve().then(()=>{this._chips.forEach(Be=>{Be._chipListMultiple=this.multiple,Be.chipListSelectable=this._selectable,Be._changeDetectorRef.markForCheck()})})}_getFirstSelectedChip(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected}_skipPredicate(Be){return!Be.isInteractive}}ee.\u0275fac=function(){let st;return function(rt){return(st||(st=t.n5z(ee)))(rt||ee)}}(),ee.\u0275cmp=t.Xpm({type:ee,selectors:[["mat-chip-listbox"]],contentQueries:function(Be,rt,Ot){if(1&Be&&t.Suo(Ot,De,5),2&Be){let Gt;t.iGM(Gt=t.CRH())&&(rt._chips=Gt)}},hostAttrs:[1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:11,hostBindings:function(Be,rt){1&Be&&t.NdJ("focus",function(){return rt.focus()})("blur",function(){return rt._blur()})("keydown",function(Gt){return rt._keydown(Gt)}),2&Be&&(t.Ikx("tabIndex",rt.empty?-1:rt.tabIndex),t.uIk("role",rt.role)("aria-describedby",rt._ariaDescribedby||null)("aria-required",rt.role?rt.required:null)("aria-disabled",rt.disabled.toString())("aria-multiselectable",rt.multiple)("aria-orientation",rt.ariaOrientation),t.ekj("mat-mdc-chip-list-disabled",rt.disabled)("mat-mdc-chip-list-required",rt.required))},inputs:{tabIndex:"tabIndex",multiple:"multiple",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",compareWith:"compareWith",required:"required",value:"value"},outputs:{change:"change"},features:[t._Bn([K]),t.qOj],ngContentSelectors:I,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(Be,rt){1&Be&&(t.F$t(),t.TgZ(0,"span",0),t.Hsn(1),t.qZA())},styles:[R],encapsulation:2,changeDetection:0});class ze{constructor(Be,rt){this.source=Be,this.value=rt}}const oe=(0,O.FD)(class Ve extends Se{constructor(Be,rt,Ot,Gt,kt,Rt,yi){super(Be,rt,Ot),this._defaultErrorStateMatcher=Gt,this._parentForm=kt,this._parentFormGroup=Rt,this.ngControl=yi,this.stateChanges=new C.x}});class at extends oe{constructor(Be,rt,Ot,Gt,kt,Rt,yi){super(Be,rt,Ot,Rt,Gt,kt,yi),this.controlType="mat-chip-grid",this._defaultRole="grid",this._ariaDescribedbyIds=[],this._onTouched=()=>{},this._onChange=()=>{},this._value=[],this.change=new t.vpe,this.valueChange=new t.vpe,this.ngControl&&(this.ngControl.valueAccessor=this)}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(Be){this._disabled=(0,e.Ig)(Be),this._syncChipsState()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||0===this._chips.length)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(Be){this._placeholder=Be,this.stateChanges.next()}get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(z.kI.required)??!1}set required(Be){this._required=(0,e.Ig)(Be),this.stateChanges.next()}get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(Be){this._value=Be}get chipBlurChanges(){return this._getChipStream(Be=>Be._onBlur)}ngAfterContentInit(){this.chipBlurChanges.pipe((0,p.R)(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),(0,u.T)(this.chipFocusChanges,this._chips.changes).pipe((0,p.R)(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit(),this._chipInput}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(Be){this._chipInput=Be,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(Be){!this.disabled&&!this._originatesFromChip(Be)&&this.focus()}focus(){this.disabled||this._chipInput.focused||(!this._chips.length||this._chips.first.disabled?Promise.resolve().then(()=>this._chipInput.focus()):this._chips.length&&this._keyManager.setFirstItemActive(),this.stateChanges.next())}setDescribedByIds(Be){this._ariaDescribedbyIds=Be,this._chipInput?.setDescribedByIds(Be)}writeValue(Be){this._value=Be}registerOnChange(Be){this._onChange=Be}registerOnTouched(Be){this._onTouched=Be}setDisabledState(Be){this.disabled=Be,this.stateChanges.next()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(Be){Be.keyCode===k.Mf?this._chipInput.focused&&(0,k.Vb)(Be,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(Be.preventDefault(),this._keyManager.activeItem?this._keyManager.setActiveItem(this._keyManager.activeItem):this._focusLastChip()):super._allowFocusEscape():this._chipInput.focused||super._handleKeydown(Be),this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){const Be=this._chips.length?this._chips.toArray().map(rt=>rt.value):[];this._value=Be,this.change.emit(new ze(this,Be)),this.valueChange.emit(Be),this._onChange(Be),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}}at.\u0275fac=function(Be){return new(Be||at)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(M.Is,8),t.Y36(z.F,8),t.Y36(z.sg,8),t.Y36(O.rD),t.Y36(z.a5,10))},at.\u0275cmp=t.Xpm({type:at,selectors:[["mat-chip-grid"]],contentQueries:function(Be,rt,Ot){if(1&Be&&t.Suo(Ot,ye,5),2&Be){let Gt;t.iGM(Gt=t.CRH())&&(rt._chips=Gt)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(Be,rt){1&Be&&t.NdJ("focus",function(){return rt.focus()})("blur",function(){return rt._blur()}),2&Be&&(t.Ikx("tabIndex",rt._chips&&0===rt._chips.length?-1:rt.tabIndex),t.uIk("role",rt.role)("aria-disabled",rt.disabled.toString())("aria-invalid",rt.errorState),t.ekj("mat-mdc-chip-list-disabled",rt.disabled)("mat-mdc-chip-list-invalid",rt.errorState)("mat-mdc-chip-list-required",rt.required))},inputs:{tabIndex:"tabIndex",disabled:"disabled",placeholder:"placeholder",required:"required",value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},features:[t._Bn([{provide:A.Eo,useExisting:at}]),t.qOj],ngContentSelectors:I,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(Be,rt){1&Be&&(t.F$t(),t.TgZ(0,"span",0),t.Hsn(1),t.qZA())},styles:[R],encapsulation:2,changeDetection:0});let qe=0;class it{constructor(Be,rt,Ot){this._elementRef=Be,this._defaultOptions=rt,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new t.vpe,this.placeholder="",this.id="mat-mdc-chip-list-input-"+qe++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement,Ot&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}set chipGrid(Be){Be&&(this._chipGrid=Be,this._chipGrid.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(Be){this._addOnBlur=(0,e.Ig)(Be)}get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(Be){this._disabled=(0,e.Ig)(Be)}get empty(){return!this.inputElement.value}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(Be){if(Be){if(Be.keyCode===k.ZH&&this._focusLastChipOnBackspace)return this._chipGrid._focusLastChip(),void Be.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(Be)}_keyup(Be){!this._focusLastChipOnBackspace&&Be.keyCode===k.ZH&&this.empty&&(this._focusLastChipOnBackspace=!0,Be.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipGrid.stateChanges.next()}_emitChipEnd(Be){(!Be||this._isSeparatorKey(Be))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),Be?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}setDescribedByIds(Be){const rt=this._elementRef.nativeElement;Be.length?rt.setAttribute("aria-describedby",Be.join(" ")):rt.removeAttribute("aria-describedby")}_isSeparatorKey(Be){return!(0,k.Vb)(Be)&&new Set(this.separatorKeyCodes).has(Be.keyCode)}}it.\u0275fac=function(Be){return new(Be||it)(t.Y36(t.SBq),t.Y36(g),t.Y36(A.G_,8))},it.\u0275dir=t.lG2({type:it,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:6,hostBindings:function(Be,rt){1&Be&&t.NdJ("keydown",function(Gt){return rt._keydown(Gt)})("keyup",function(Gt){return rt._keyup(Gt)})("blur",function(){return rt._blur()})("focus",function(){return rt._focus()})("input",function(){return rt._onInput()}),2&Be&&(t.Ikx("id",rt.id),t.uIk("disabled",rt.disabled||null)("placeholder",rt.placeholder||null)("aria-invalid",rt._chipGrid&&rt._chipGrid.ngControl?rt._chipGrid.ngControl.invalid:null)("aria-required",rt._chipGrid&&rt._chipGrid.required||null)("required",rt._chipGrid&&rt._chipGrid.required||null))},inputs:{chipGrid:["matChipInputFor","chipGrid"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[t.TTD]});class bt{}bt.\u0275fac=function(Be){return new(Be||bt)},bt.\u0275mod=t.oAB({type:bt}),bt.\u0275inj=t.cJS({providers:[O.rD,{provide:g,useValue:{separatorKeyCodes:[k.K5]}}],imports:[O.BQ,_.ez,O.si,O.BQ]})},207:(Ye,J,f)=>{"use strict";f.d(J,{yN:()=>ae,mZ:()=>he,_A:()=>r,rD:()=>Ke,sG:()=>w,Ad:()=>R,K7:()=>rt,HF:()=>ii,Y2:()=>Ve,BQ:()=>le,X2:()=>ge,uc:()=>Me,XK:()=>Xe,ey:()=>yi,Ng:()=>mi,rN:()=>kt,us:()=>it,wG:()=>oe,si:()=>at,LF:()=>Y,IR:()=>ee,CB:()=>Jt,jH:()=>Zt,pj:()=>o,Kr:()=>m,Id:()=>i,FD:()=>x,dB:()=>I,sb:()=>h,E0:()=>$e});var e=f(2560),t=f(4218),_=f(2867);new e.GfV("15.0.2");var l=f(4666),C=f(9107),u=f(8971),P=f(833),p=f(253),L=f(4874),D=f(8456);const k=["*",[["mat-option"],["ng-container"]]],z=["text"];function A(Re,U){if(1&Re&&e._UZ(0,"mat-pseudo-checkbox",5),2&Re){const j=e.oxw();e.Q6J("state",j.selected?"checked":"unchecked")("disabled",j.disabled)}}function W(Re,U){if(1&Re&&(e.TgZ(0,"span",6),e._uU(1),e.qZA()),2&Re){const j=e.oxw();e.xp6(1),e.hij("(",j.group.label,")")}}const Z=[[["mat-icon"]],"*"];new e.GfV("15.0.2");class ae{}ae.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",ae.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",ae.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",ae.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)";class he{}he.COMPLEX="375ms",he.ENTERING="225ms",he.EXITING="195ms";const pe=new e.OlP("mat-sanity-checks",{providedIn:"root",factory:function se(){return!0}});class le{constructor(U,j,ue){this._sanityChecks=j,this._document=ue,this._hasDoneGlobalChecks=!1,U._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(U){return!(0,C.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[U])}}function i(Re){return class extends Re{constructor(...U){super(...U),this._disabled=!1}get disabled(){return this._disabled}set disabled(U){this._disabled=(0,u.Ig)(U)}}}function o(Re,U){return class extends Re{constructor(...j){super(...j),this.defaultColor=U,this.color=U}get color(){return this._color}set color(j){const ue=j||this.defaultColor;ue!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),ue&&this._elementRef.nativeElement.classList.add(`mat-${ue}`),this._color=ue)}}}function m(Re){return class extends Re{constructor(...U){super(...U),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(U){this._disableRipple=(0,u.Ig)(U)}}}function h(Re,U=0){return class extends Re{constructor(...j){super(...j),this._tabIndex=U,this.defaultTabIndex=U}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(j){this._tabIndex=null!=j?(0,u.su)(j):this.defaultTabIndex}}}function x(Re){return class extends Re{constructor(...U){super(...U),this.errorState=!1}updateErrorState(){const U=this.errorState,j=this._parentFormGroup||this._parentForm,ue=this.errorStateMatcher||this._defaultErrorStateMatcher,Ne=this.ngControl?this.ngControl.control:null,wt=ue.isErrorState(Ne,j);wt!==U&&(this.errorState=wt,this.stateChanges.next())}}}function I(Re){return class extends Re{constructor(...U){super(...U),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new P.y(j=>{this._isInitialized?this._notifySubscriber(j):this._pendingSubscribers.push(j)})}_markInitialized(){this._isInitialized,this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(U){U.next(),U.complete()}}}le.\u0275fac=function(U){return new(U||le)(e.LFG(t.qm),e.LFG(pe,8),e.LFG(l.K0))},le.\u0275mod=e.oAB({type:le}),le.\u0275inj=e.cJS({imports:[_.vT,_.vT]});const R=new e.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function g(){return(0,e.f3M)(e.soG)}});class r{constructor(){this._localeChanges=new p.x,this.localeChanges=this._localeChanges}getValidDateOrNull(U){return this.isDateInstance(U)&&this.isValid(U)?U:null}deserialize(U){return null==U||this.isDateInstance(U)&&this.isValid(U)?U:this.invalid()}setLocale(U){this.locale=U,this._localeChanges.next()}compareDate(U,j){return this.getYear(U)-this.getYear(j)||this.getMonth(U)-this.getMonth(j)||this.getDate(U)-this.getDate(j)}sameDate(U,j){if(U&&j){let ue=this.isValid(U),Ne=this.isValid(j);return ue&&Ne?!this.compareDate(U,j):ue==Ne}return U==j}clampDate(U,j,ue){return j&&this.compareDate(U,j)<0?j:ue&&this.compareDate(U,ue)>0?ue:U}}const w=new e.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 N(Re,U){const j=Array(Re);for(let ue=0;ue<Re;ue++)j[ue]=U(ue);return j}class Y extends r{constructor(U,j){super(),this.useUtcForDisplay=!1,super.setLocale(U)}getYear(U){return U.getFullYear()}getMonth(U){return U.getMonth()}getDate(U){return U.getDate()}getDayOfWeek(U){return U.getDay()}getMonthNames(U){const j=new Intl.DateTimeFormat(this.locale,{month:U,timeZone:"utc"});return N(12,ue=>this._format(j,new Date(2017,ue,1)))}getDateNames(){const U=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return N(31,j=>this._format(U,new Date(2017,0,j+1)))}getDayOfWeekNames(U){const j=new Intl.DateTimeFormat(this.locale,{weekday:U,timeZone:"utc"});return N(7,ue=>this._format(j,new Date(2017,0,ue+1)))}getYearName(U){const j=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(j,U)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(U){return this.getDate(this._createDateWithOverflow(this.getYear(U),this.getMonth(U)+1,0))}clone(U){return new Date(U.getTime())}createDate(U,j,ue){let Ne=this._createDateWithOverflow(U,j,ue);return Ne.getMonth(),Ne}today(){return new Date}parse(U,j){return"number"==typeof U?new Date(U):U?new Date(Date.parse(U)):null}format(U,j){if(!this.isValid(U))throw Error("NativeDateAdapter: Cannot format invalid date.");const ue=new Intl.DateTimeFormat(this.locale,{...j,timeZone:"utc"});return this._format(ue,U)}addCalendarYears(U,j){return this.addCalendarMonths(U,12*j)}addCalendarMonths(U,j){let ue=this._createDateWithOverflow(this.getYear(U),this.getMonth(U)+j,this.getDate(U));return this.getMonth(ue)!=((this.getMonth(U)+j)%12+12)%12&&(ue=this._createDateWithOverflow(this.getYear(ue),this.getMonth(ue),0)),ue}addCalendarDays(U,j){return this._createDateWithOverflow(this.getYear(U),this.getMonth(U),this.getDate(U)+j)}toIso8601(U){return[U.getUTCFullYear(),this._2digit(U.getUTCMonth()+1),this._2digit(U.getUTCDate())].join("-")}deserialize(U){if("string"==typeof U){if(!U)return null;if(V.test(U)){let j=new Date(U);if(this.isValid(j))return j}}return super.deserialize(U)}isDateInstance(U){return U instanceof Date}isValid(U){return!isNaN(U.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(U,j,ue){const Ne=new Date;return Ne.setFullYear(U,j,ue),Ne.setHours(0,0,0,0),Ne}_2digit(U){return("00"+U).slice(-2)}_format(U,j){const ue=new Date;return ue.setUTCFullYear(j.getFullYear(),j.getMonth(),j.getDate()),ue.setUTCHours(j.getHours(),j.getMinutes(),j.getSeconds(),j.getMilliseconds()),U.format(ue)}}Y.\u0275fac=function(U){return new(U||Y)(e.LFG(R,8),e.LFG(C.t4))},Y.\u0275prov=e.Yz7({token:Y,factory:Y.\u0275fac});class Ce{}Ce.\u0275fac=function(U){return new(U||Ce)},Ce.\u0275mod=e.oAB({type:Ce}),Ce.\u0275inj=e.cJS({providers:[{provide:r,useClass:Y}]});class Xe{}Xe.\u0275fac=function(U){return new(U||Xe)},Xe.\u0275mod=e.oAB({type:Xe}),Xe.\u0275inj=e.cJS({providers:[{provide:w,useValue:{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"}}}}],imports:[Ce]});class dt{isErrorState(U,j){return!!(U&&U.invalid&&(U.dirty||j&&j.submitted))}}dt.\u0275fac=function(U){return new(U||dt)},dt.\u0275prov=e.Yz7({token:dt,factory:dt.\u0275fac});class Ke{isErrorState(U,j){return!!(U&&U.invalid&&(U.touched||j&&j.submitted))}}Ke.\u0275fac=function(U){return new(U||Ke)},Ke.\u0275prov=e.Yz7({token:Ke,factory:Ke.\u0275fac,providedIn:"root"});class ge{}function $e(Re,U,j="mat"){Re.changes.pipe((0,L.O)(Re)).subscribe(({length:ue})=>{Oe(U,`${j}-2-line`,!1),Oe(U,`${j}-3-line`,!1),Oe(U,`${j}-multi-line`,!1),2===ue||3===ue?Oe(U,`${j}-${ue}-line`,!0):ue>3&&Oe(U,`${j}-multi-line`,!0)})}function Oe(Re,U,j){Re.nativeElement.classList.toggle(U,j)}ge.\u0275fac=function(U){return new(U||ge)},ge.\u0275dir=e.lG2({type:ge,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]});class Me{}Me.\u0275fac=function(U){return new(U||Me)},Me.\u0275mod=e.oAB({type:Me}),Me.\u0275inj=e.cJS({imports:[le,le]});class De{constructor(U,j,ue,Ne=!1){this._renderer=U,this.element=j,this.config=ue,this._animationForciblyDisabledThroughCss=Ne,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Ue=(0,C.i$)({passive:!0,capture:!0});const we={enterDuration:225,exitDuration:150},Se=(0,C.i$)({passive:!0,capture:!0}),ne=["mousedown","touchstart"],K=["mouseup","mouseleave","touchend","touchcancel"];class ee{constructor(U,j,ue,Ne){this._target=U,this._ngZone=j,this._platform=Ne,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,Ne.isBrowser&&(this._containerElement=(0,u.fI)(ue))}fadeInRipple(U,j,ue={}){const Ne=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),wt={...we,...ue.animation};ue.centered&&(U=Ne.left+Ne.width/2,j=Ne.top+Ne.height/2);const Et=ue.radius||function ze(Re,U,j){const ue=Math.max(Math.abs(Re-j.left),Math.abs(Re-j.right)),Ne=Math.max(Math.abs(U-j.top),Math.abs(U-j.bottom));return Math.sqrt(ue*ue+Ne*Ne)}(U,j,Ne),Nt=U-Ne.left,ot=j-Ne.top,We=wt.enterDuration,gt=document.createElement("div");gt.classList.add("mat-ripple-element"),gt.style.left=Nt-Et+"px",gt.style.top=ot-Et+"px",gt.style.height=2*Et+"px",gt.style.width=2*Et+"px",null!=ue.color&&(gt.style.backgroundColor=ue.color),gt.style.transitionDuration=`${We}ms`,this._containerElement.appendChild(gt);const ri=window.getComputedStyle(gt),Pt=ri.transitionProperty,Ft=ri.transitionDuration,qt="none"===Pt||"0s"===Ft||"0s, 0s"===Ft||0===Ne.width&&0===Ne.height,Te=new De(this,gt,ue,qt);gt.style.transform="scale3d(1, 1, 1)",Te.state=0,ue.persistent||(this._mostRecentTransientRipple=Te);let me=null;return!qt&&(We||wt.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const ct=()=>this._finishRippleTransition(Te),_t=()=>this._destroyRipple(Te);gt.addEventListener("transitionend",ct),gt.addEventListener("transitioncancel",_t),me={onTransitionEnd:ct,onTransitionCancel:_t}}),this._activeRipples.set(Te,me),(qt||!We)&&this._finishRippleTransition(Te),Te}fadeOutRipple(U){if(2===U.state||3===U.state)return;const j=U.element,ue={...we,...U.config.animation};j.style.transitionDuration=`${ue.exitDuration}ms`,j.style.opacity="0",U.state=2,(U._animationForciblyDisabledThroughCss||!ue.exitDuration)&&this._finishRippleTransition(U)}fadeOutAll(){this._getActiveRipples().forEach(U=>U.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(U=>{U.config.persistent||U.fadeOut()})}setupTriggerEvents(U){const j=(0,u.fI)(U);!this._platform.isBrowser||!j||j===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=j,ne.forEach(ue=>{ee._eventManager.addHandler(this._ngZone,ue,j,this)}))}handleEvent(U){"mousedown"===U.type?this._onMousedown(U):"touchstart"===U.type?this._onTouchStart(U):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{K.forEach(j=>{this._triggerElement.addEventListener(j,this,Se)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(U){0===U.state?this._startFadeOutTransition(U):2===U.state&&this._destroyRipple(U)}_startFadeOutTransition(U){const j=U===this._mostRecentTransientRipple,{persistent:ue}=U.config;U.state=1,!ue&&(!j||!this._isPointerDown)&&U.fadeOut()}_destroyRipple(U){const j=this._activeRipples.get(U)??null;this._activeRipples.delete(U),this._activeRipples.size||(this._containerRect=null),U===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),U.state=3,null!==j&&(U.element.removeEventListener("transitionend",j.onTransitionEnd),U.element.removeEventListener("transitioncancel",j.onTransitionCancel)),U.element.remove()}_onMousedown(U){const j=(0,t.X6)(U),ue=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!j&&!ue&&(this._isPointerDown=!0,this.fadeInRipple(U.clientX,U.clientY,this._target.rippleConfig))}_onTouchStart(U){if(!this._target.rippleDisabled&&!(0,t.yG)(U)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const j=U.changedTouches;for(let ue=0;ue<j.length;ue++)this.fadeInRipple(j[ue].clientX,j[ue].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._getActiveRipples().forEach(U=>{const j=1===U.state||U.config.terminateOnPointerUp&&0===U.state;!U.config.persistent&&j&&U.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const U=this._triggerElement;U&&(ne.forEach(j=>ee._eventManager.removeHandler(j,U,this)),this._pointerUpEventsRegistered&&K.forEach(j=>U.removeEventListener(j,this,Se)))}}ee._eventManager=new class ye{constructor(){this._events=new Map,this._delegateEventHandler=U=>{const j=(0,C.sA)(U);j&&this._events.get(U.type)?.forEach((ue,Ne)=>{(Ne===j||Ne.contains(j))&&ue.forEach(wt=>wt.handleEvent(U))})}}addHandler(U,j,ue,Ne){const wt=this._events.get(j);if(wt){const Et=wt.get(ue);Et?Et.add(Ne):wt.set(ue,new Set([Ne]))}else this._events.set(j,new Map([[ue,new Set([Ne])]])),U.runOutsideAngular(()=>{document.addEventListener(j,this._delegateEventHandler,Ue)})}removeHandler(U,j,ue){const Ne=this._events.get(U);if(!Ne)return;const wt=Ne.get(j);!wt||(wt.delete(ue),0===wt.size&&Ne.delete(j),0===Ne.size&&(this._events.delete(U),document.removeEventListener(U,this._delegateEventHandler,Ue)))}};const Ve=new e.OlP("mat-ripple-global-options");class oe{constructor(U,j,ue,Ne,wt){this._elementRef=U,this._animationMode=wt,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Ne||{},this._rippleRenderer=new ee(this,j,U,ue)}get disabled(){return this._disabled}set disabled(U){U&&this.fadeOutAllNonPersistent(),this._disabled=U,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(U){this._trigger=U,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(U,j=0,ue){return"number"==typeof U?this._rippleRenderer.fadeInRipple(U,j,{...this.rippleConfig,...ue}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...U})}}oe.\u0275fac=function(U){return new(U||oe)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(C.t4),e.Y36(Ve,8),e.Y36(e.QbO,8))},oe.\u0275dir=e.lG2({type:oe,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(U,j){2&U&&e.ekj("mat-ripple-unbounded",j.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"]});class at{}at.\u0275fac=function(U){return new(U||at)},at.\u0275mod=e.oAB({type:at}),at.\u0275inj=e.cJS({imports:[le,le]});class qe{constructor(U){this._animationMode=U,this.state="unchecked",this.disabled=!1}}qe.\u0275fac=function(U){return new(U||qe)(e.Y36(e.QbO,8))},qe.\u0275cmp=e.Xpm({type:qe,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(U,j){2&U&&e.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===j.state)("mat-pseudo-checkbox-checked","checked"===j.state)("mat-pseudo-checkbox-disabled",j.disabled)("_mat-animation-noopable","NoopAnimations"===j._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(U,j){},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});class it{}it.\u0275fac=function(U){return new(U||it)},it.\u0275mod=e.oAB({type:it}),it.\u0275inj=e.cJS({imports:[le]});const ii=new e.OlP("MAT_OPTION_PARENT_COMPONENT"),bt=i(class{});let st=0;class Be extends bt{constructor(U){super(),this._labelId="mat-optgroup-label-"+st++,this._inert=U?.inertGroups??!1}}Be.\u0275fac=function(U){return new(U||Be)(e.Y36(ii,8))},Be.\u0275dir=e.lG2({type:Be,inputs:{label:"label"},features:[e.qOj]});const rt=new e.OlP("MatOptgroup");class Ot extends Be{}Ot.\u0275fac=function(){let Re;return function(j){return(Re||(Re=e.n5z(Ot)))(j||Ot)}}(),Ot.\u0275cmp=e.Xpm({type:Ot,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-mdc-optgroup"],hostVars:3,hostBindings:function(U,j){2&U&&e.uIk("role",j._inert?null:"group")("aria-disabled",j._inert?null:j.disabled.toString())("aria-labelledby",j._inert?null:j._labelId)},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[e._Bn([{provide:rt,useExisting:Ot}]),e.qOj],ngContentSelectors:["*","mat-option, ng-container"],decls:5,vars:4,consts:[["aria-hidden","true",1,"mat-mdc-optgroup-label",3,"id"],[1,"mdc-list-item__primary-text"]],template:function(U,j){1&U&&(e.F$t(k),e.TgZ(0,"span",0)(1,"span",1),e._uU(2),e.Hsn(3),e.qZA()(),e.Hsn(4,1)),2&U&&(e.ekj("mdc-list-item--disabled",j.disabled),e.Q6J("id",j._labelId),e.xp6(2),e.hij("",j.label," "))},styles:[".mat-mdc-optgroup-label{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;min-height:48px}.mat-mdc-optgroup-label:focus{outline:none}[dir=rtl] .mat-mdc-optgroup-label,.mat-mdc-optgroup-label[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-optgroup-label.mdc-list-item--disabled{opacity:.38}.mat-mdc-optgroup-label .mdc-list-item__primary-text{white-space:normal}"],encapsulation:2,changeDetection:0});let Gt=0;class kt{constructor(U,j=!1){this.source=U,this.isUserInput=j}}class Rt{constructor(U,j,ue,Ne){this._element=U,this._changeDetectorRef=j,this._parent=ue,this.group=Ne,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Gt++,this.onSelectionChange=new e.vpe,this._stateChanges=new p.x}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(U){this._disabled=(0,u.Ig)(U)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(U,j){const ue=this._getHostElement();"function"==typeof ue.focus&&ue.focus(j)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(U){(U.keyCode===D.K5||U.keyCode===D.L_)&&!(0,D.Vb)(U)&&(this._selectViaInteraction(),U.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 U=this.viewValue;U!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=U)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(U=!1){this.onSelectionChange.emit(new kt(this,U))}}Rt.\u0275fac=function(U){e.$Z()},Rt.\u0275dir=e.lG2({type:Rt,viewQuery:function(U,j){if(1&U&&e.Gf(z,7),2&U){let ue;e.iGM(ue=e.CRH())&&(j._text=ue.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}});class yi extends Rt{constructor(U,j,ue,Ne){super(U,j,ue,Ne)}}function Jt(Re,U,j){if(j.length){let ue=U.toArray(),Ne=j.toArray(),wt=0;for(let Et=0;Et<Re+1;Et++)ue[Et].group&&ue[Et].group===Ne[wt]&&wt++;return wt}return 0}function Zt(Re,U,j,ue){return Re<j?Re:Re+U>j+ue?Math.max(0,Re-ue+U):j}yi.\u0275fac=function(U){return new(U||yi)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(ii,8),e.Y36(rt,8))},yi.\u0275cmp=e.Xpm({type:yi,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mat-mdc-focus-indicator","mdc-list-item"],hostVars:12,hostBindings:function(U,j){1&U&&e.NdJ("click",function(){return j._selectViaInteraction()})("keydown",function(Ne){return j._handleKeydown(Ne)}),2&U&&(e.Ikx("id",j.id),e.uIk("tabindex",j._getTabIndex())("aria-selected",j._getAriaSelected())("aria-disabled",j.disabled.toString()),e.ekj("mdc-list-item--selected",j.selected)("mat-mdc-option-multiple",j.multiple)("mat-mdc-option-active",j.active)("mdc-list-item--disabled",j.disabled))},exportAs:["matOption"],features:[e.qOj],ngContentSelectors:["mat-icon","*"],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(U,j){1&U&&(e.F$t(Z),e.YNc(0,A,1,2,"mat-pseudo-checkbox",0),e.Hsn(1),e.TgZ(2,"span",1,2),e.Hsn(4,1),e.qZA(),e.YNc(5,W,2,1,"span",3),e._UZ(6,"div",4)),2&U&&(e.Q6J("ngIf",j.multiple),e.xp6(5),e.Q6J("ngIf",j.group&&j.group._inert),e.xp6(1),e.Q6J("matRippleTrigger",j._getHostElement())("matRippleDisabled",j.disabled||j.disableRipple))},dependencies:[oe,l.O5,qe],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});class mi{}mi.\u0275fac=function(U){return new(U||mi)},mi.\u0275mod=e.oAB({type:mi}),mi.\u0275inj=e.cJS({imports:[at,l.ez,le,it]})},2298:(Ye,J,f)=>{"use strict";f.d(J,{FA:()=>Ki,Mq:()=>Nt,hl:()=>Ft,nW:()=>Te});var e=f(4218),t=f(5895),_=f(7520),O=f(4666),l=f(2560),C=f(4522),u=f(1494),P=f(207),p=f(253),L=f(7714),D=f(6646),k=f(745),M=f(8456),z=f(2867),A=f(9295),W=f(4874),Z=f(116),X=f(8971),$=f(9107),ae=f(4851),he=f(2508),se=f(5074),pe=f(1267);function re(ti,be){if(1&ti&&(l.TgZ(0,"tr",3)(1,"td",4),l._uU(2),l.qZA()()),2&ti){const ke=l.oxw();l.xp6(1),l.Udp("padding-top",ke._cellPadding)("padding-bottom",ke._cellPadding),l.uIk("colspan",ke.numCols),l.xp6(1),l.hij(" ",ke.label," ")}}function fe(ti,be){if(1&ti&&(l.TgZ(0,"td",4),l._uU(1),l.qZA()),2&ti){const ke=l.oxw(2);l.Udp("padding-top",ke._cellPadding)("padding-bottom",ke._cellPadding),l.uIk("colspan",ke._firstRowOffset),l.xp6(1),l.hij(" ",ke._firstRowOffset>=ke.labelMinRequiredCells?ke.label:""," ")}}function T(ti,be){if(1&ti){const ke=l.EpF();l.TgZ(0,"td",8)(1,"button",9),l.NdJ("click",function(St){const $t=l.CHM(ke).$implicit,oi=l.oxw(2);return l.KtG(oi._cellClicked($t,St))})("focus",function(St){const $t=l.CHM(ke).$implicit,oi=l.oxw(2);return l.KtG(oi._emitActiveDateChange($t,St))}),l.TgZ(2,"div",10),l._uU(3),l.qZA(),l._UZ(4,"div",11),l.qZA()()}if(2&ti){const ke=be.$implicit,ft=be.index,St=l.oxw().index,ui=l.oxw();l.Udp("width",ui._cellWidth)("padding-top",ui._cellPadding)("padding-bottom",ui._cellPadding),l.uIk("data-mat-row",St)("data-mat-col",ft),l.xp6(1),l.ekj("mat-calendar-body-disabled",!ke.enabled)("mat-calendar-body-active",ui._isActiveCell(St,ft))("mat-calendar-body-range-start",ui._isRangeStart(ke.compareValue))("mat-calendar-body-range-end",ui._isRangeEnd(ke.compareValue))("mat-calendar-body-in-range",ui._isInRange(ke.compareValue))("mat-calendar-body-comparison-bridge-start",ui._isComparisonBridgeStart(ke.compareValue,St,ft))("mat-calendar-body-comparison-bridge-end",ui._isComparisonBridgeEnd(ke.compareValue,St,ft))("mat-calendar-body-comparison-start",ui._isComparisonStart(ke.compareValue))("mat-calendar-body-comparison-end",ui._isComparisonEnd(ke.compareValue))("mat-calendar-body-in-comparison-range",ui._isInComparisonRange(ke.compareValue))("mat-calendar-body-preview-start",ui._isPreviewStart(ke.compareValue))("mat-calendar-body-preview-end",ui._isPreviewEnd(ke.compareValue))("mat-calendar-body-in-preview",ui._isInPreview(ke.compareValue)),l.Q6J("ngClass",ke.cssClasses)("tabindex",ui._isActiveCell(St,ft)?0:-1),l.uIk("aria-label",ke.ariaLabel)("aria-disabled",!ke.enabled||null)("aria-pressed",ui._isSelected(ke.compareValue))("aria-current",ui.todayValue===ke.compareValue?"date":null)("aria-describedby",ui._getDescribedby(ke.compareValue)),l.xp6(1),l.ekj("mat-calendar-body-selected",ui._isSelected(ke.compareValue))("mat-calendar-body-comparison-identical",ui._isComparisonIdentical(ke.compareValue))("mat-calendar-body-today",ui.todayValue===ke.compareValue),l.xp6(1),l.hij(" ",ke.displayValue," ")}}function i(ti,be){if(1&ti&&(l.TgZ(0,"tr",5),l.YNc(1,fe,2,6,"td",6),l.YNc(2,T,5,48,"td",7),l.qZA()),2&ti){const ke=be.$implicit,ft=be.index,St=l.oxw();l.xp6(1),l.Q6J("ngIf",0===ft&&St._firstRowOffset),l.xp6(1),l.Q6J("ngForOf",ke)}}function o(ti,be){if(1&ti&&(l.TgZ(0,"th",5)(1,"span",6),l._uU(2),l.qZA(),l.TgZ(3,"span",7),l._uU(4),l.qZA()()),2&ti){const ke=be.$implicit;l.xp6(2),l.Oqu(ke.long),l.xp6(2),l.Oqu(ke.narrow)}}const m=["*"];function h(ti,be){}function x(ti,be){if(1&ti){const ke=l.EpF();l.TgZ(0,"mat-month-view",5),l.NdJ("activeDateChange",function(St){l.CHM(ke);const ui=l.oxw();return l.KtG(ui.activeDate=St)})("_userSelection",function(St){l.CHM(ke);const ui=l.oxw();return l.KtG(ui._dateSelected(St))}),l.qZA()}if(2&ti){const ke=l.oxw();l.Q6J("activeDate",ke.activeDate)("selected",ke.selected)("dateFilter",ke.dateFilter)("maxDate",ke.maxDate)("minDate",ke.minDate)("dateClass",ke.dateClass)("comparisonStart",ke.comparisonStart)("comparisonEnd",ke.comparisonEnd)("startDateAccessibleName",ke.startDateAccessibleName)("endDateAccessibleName",ke.endDateAccessibleName)}}function I(ti,be){if(1&ti){const ke=l.EpF();l.TgZ(0,"mat-year-view",6),l.NdJ("activeDateChange",function(St){l.CHM(ke);const ui=l.oxw();return l.KtG(ui.activeDate=St)})("monthSelected",function(St){l.CHM(ke);const ui=l.oxw();return l.KtG(ui._monthSelectedInYearView(St))})("selectedChange",function(St){l.CHM(ke);const ui=l.oxw();return l.KtG(ui._goToDateInView(St,"month"))}),l.qZA()}if(2&ti){const ke=l.oxw();l.Q6J("activeDate",ke.activeDate)("selected",ke.selected)("dateFilter",ke.dateFilter)("maxDate",ke.maxDate)("minDate",ke.minDate)("dateClass",ke.dateClass)}}function R(ti,be){if(1&ti){const ke=l.EpF();l.TgZ(0,"mat-multi-year-view",7),l.NdJ("activeDateChange",function(St){l.CHM(ke);const ui=l.oxw();return l.KtG(ui.activeDate=St)})("yearSelected",function(St){l.CHM(ke);const ui=l.oxw();return l.KtG(ui._yearSelectedInMultiYearView(St))})("selectedChange",function(St){l.CHM(ke);const ui=l.oxw();return l.KtG(ui._goToDateInView(St,"year"))}),l.qZA()}if(2&ti){const ke=l.oxw();l.Q6J("activeDate",ke.activeDate)("selected",ke.selected)("dateFilter",ke.dateFilter)("maxDate",ke.maxDate)("minDate",ke.minDate)("dateClass",ke.dateClass)}}function g(ti,be){}const r=["button"];function w(ti,be){1&ti&&(l.O4$(),l.TgZ(0,"svg",3),l._UZ(1,"path",4),l.qZA())}const V=[[["","matDatepickerToggleIcon",""]]],Y=[[["input","matStartDate",""]],[["input","matEndDate",""]]];function Ce(ti,be){1&ti&&(l.TgZ(0,"div",0),l.Hsn(1),l.qZA())}class dt{constructor(){this.changes=new p.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(be,ke){return`${be} \u2013 ${ke}`}formatYearRangeLabel(be,ke){return`${be} to ${ke}`}}dt.\u0275fac=function(be){return new(be||dt)},dt.\u0275prov=l.Yz7({token:dt,factory:dt.\u0275fac,providedIn:"root"});class Ke{constructor(be,ke,ft,St,ui={},$t=be,oi){this.value=be,this.displayValue=ke,this.ariaLabel=ft,this.enabled=St,this.cssClasses=ui,this.compareValue=$t,this.rawValue=oi}}let ge=1;class $e{constructor(be,ke){this._elementRef=be,this._ngZone=ke,this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new l.vpe,this.previewChange=new l.vpe,this.activeDateChange=new l.vpe,this._enterHandler=ft=>{if(this._skipNextFocus&&"focus"===ft.type)this._skipNextFocus=!1;else if(ft.target&&this.isRange){const St=this._getCellFromElement(ft.target);St&&this._ngZone.run(()=>this.previewChange.emit({value:St.enabled?St:null,event:ft}))}},this._leaveHandler=ft=>{null!==this.previewEnd&&this.isRange&&ft.target&&this._getCellFromElement(ft.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:ft}))},this._id="mat-calendar-body-"+ge++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,ke.runOutsideAngular(()=>{const ft=be.nativeElement;ft.addEventListener("mouseenter",this._enterHandler,!0),ft.addEventListener("focus",this._enterHandler,!0),ft.addEventListener("mouseleave",this._leaveHandler,!0),ft.addEventListener("blur",this._leaveHandler,!0)})}ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}_cellClicked(be,ke){be.enabled&&this.selectedValueChange.emit({value:be.value,event:ke})}_emitActiveDateChange(be,ke){be.enabled&&this.activeDateChange.emit({value:be.value,event:ke})}_isSelected(be){return this.startValue===be||this.endValue===be}ngOnChanges(be){const ke=be.numCols,{rows:ft,numCols:St}=this;(be.rows||ke)&&(this._firstRowOffset=ft&&ft.length&&ft[0].length?St-ft[0].length:0),(be.cellAspectRatio||ke||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/St+"%"),(ke||!this._cellWidth)&&(this._cellWidth=100/St+"%")}ngOnDestroy(){const be=this._elementRef.nativeElement;be.removeEventListener("mouseenter",this._enterHandler,!0),be.removeEventListener("focus",this._enterHandler,!0),be.removeEventListener("mouseleave",this._leaveHandler,!0),be.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(be,ke){let ft=be*this.numCols+ke;return be&&(ft-=this._firstRowOffset),ft==this.activeCell}_focusActiveCell(be=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,A.q)(1)).subscribe(()=>{setTimeout(()=>{const ke=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");ke&&(be||(this._skipNextFocus=!0),ke.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(be){return Me(be,this.startValue,this.endValue)}_isRangeEnd(be){return De(be,this.startValue,this.endValue)}_isInRange(be){return Ue(be,this.startValue,this.endValue,this.isRange)}_isComparisonStart(be){return Me(be,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(be,ke,ft){if(!this._isComparisonStart(be)||this._isRangeStart(be)||!this._isInRange(be))return!1;let St=this.rows[ke][ft-1];if(!St){const ui=this.rows[ke-1];St=ui&&ui[ui.length-1]}return St&&!this._isRangeEnd(St.compareValue)}_isComparisonBridgeEnd(be,ke,ft){if(!this._isComparisonEnd(be)||this._isRangeEnd(be)||!this._isInRange(be))return!1;let St=this.rows[ke][ft+1];if(!St){const ui=this.rows[ke+1];St=ui&&ui[0]}return St&&!this._isRangeStart(St.compareValue)}_isComparisonEnd(be){return De(be,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(be){return Ue(be,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(be){return this.comparisonStart===this.comparisonEnd&&be===this.comparisonStart}_isPreviewStart(be){return Me(be,this.previewStart,this.previewEnd)}_isPreviewEnd(be){return De(be,this.previewStart,this.previewEnd)}_isInPreview(be){return Ue(be,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(be){return this.isRange?this.startValue===be&&this.endValue===be?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===be?this._startDateLabelId:this.endValue===be?this._endDateLabelId:null:null}_getCellFromElement(be){let ke;if(Oe(be)?ke=be:Oe(be.parentNode)&&(ke=be.parentNode),ke){const ft=ke.getAttribute("data-mat-row"),St=ke.getAttribute("data-mat-col");if(ft&&St)return this.rows[parseInt(ft)][parseInt(St)]}return null}}function Oe(ti){return"TD"===ti.nodeName}function Me(ti,be,ke){return null!==ke&&be!==ke&&ti<ke&&ti===be}function De(ti,be,ke){return null!==be&&be!==ke&&ti>=be&&ti===ke}function Ue(ti,be,ke,ft){return ft&&null!==be&&null!==ke&&be!==ke&&ti>=be&&ti<=ke}$e.\u0275fac=function(be){return new(be||$e)(l.Y36(l.SBq),l.Y36(l.R0b))},$e.\u0275cmp=l.Xpm({type:$e,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange"},exportAs:["matCalendarBody"],features:[l.TTD],attrs:["mat-calendar-body",""],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(be,ke){1&be&&(l.YNc(0,re,3,6,"tr",0),l.YNc(1,i,3,2,"tr",1),l.TgZ(2,"label",2),l._uU(3),l.qZA(),l.TgZ(4,"label",2),l._uU(5),l.qZA()),2&be&&(l.Q6J("ngIf",ke._firstRowOffset<ke.labelMinRequiredCells),l.xp6(1),l.Q6J("ngForOf",ke.rows),l.xp6(1),l.Q6J("id",ke._startDateLabelId),l.xp6(1),l.hij(" ",ke.startDateAccessibleName,"\n"),l.xp6(1),l.Q6J("id",ke._endDateLabelId),l.xp6(1),l.hij(" ",ke.endDateAccessibleName,"\n"))},dependencies:[O.mk,O.sg,O.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});class ye{constructor(be,ke){this.start=be,this.end=ke}}class we{constructor(be,ke){this.selection=be,this._adapter=ke,this._selectionChanged=new p.x,this.selectionChanged=this._selectionChanged,this.selection=be}updateSelection(be,ke){const ft=this.selection;this.selection=be,this._selectionChanged.next({selection:be,source:ke,oldValue:ft})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(be){return this._adapter.isDateInstance(be)&&this._adapter.isValid(be)}}we.\u0275fac=function(be){l.$Z()},we.\u0275prov=l.Yz7({token:we,factory:we.\u0275fac});class ie extends we{constructor(be){super(null,be)}add(be){super.updateSelection(be,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const be=new ie(this._adapter);return be.updateSelection(this.selection,this),be}}ie.\u0275fac=function(be){return new(be||ie)(l.LFG(P._A))},ie.\u0275prov=l.Yz7({token:ie,factory:ie.\u0275fac});class Se extends we{constructor(be){super(new ye(null,null),be)}add(be){let{start:ke,end:ft}=this.selection;null==ke?ke=be:null==ft?ft=be:(ke=be,ft=null),super.updateSelection(new ye(ke,ft),this)}isValid(){const{start:be,end:ke}=this.selection;return null==be&&null==ke||(null!=be&&null!=ke?this._isValidDateInstance(be)&&this._isValidDateInstance(ke)&&this._adapter.compareDate(be,ke)<=0:(null==be||this._isValidDateInstance(be))&&(null==ke||this._isValidDateInstance(ke)))}isComplete(){return null!=this.selection.start&&null!=this.selection.end}clone(){const be=new Se(this._adapter);return be.updateSelection(this.selection,this),be}}Se.\u0275fac=function(be){return new(be||Se)(l.LFG(P._A))},Se.\u0275prov=l.Yz7({token:Se,factory:Se.\u0275fac});const K={provide:we,deps:[[new l.FiY,new l.tp0,we],P._A],useFactory:function ne(ti,be){return ti||new ie(be)}};const ze={provide:we,deps:[[new l.FiY,new l.tp0,we],P._A],useFactory:function ee(ti,be){return ti||new Se(be)}},Ve=new l.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");class oe{constructor(be){this._dateAdapter=be}selectionFinished(be,ke){let{start:ft,end:St}=ke;return null==ft?ft=be:null==St&&be&&this._dateAdapter.compareDate(be,ft)>=0?St=be:(ft=be,St=null),new ye(ft,St)}createPreview(be,ke){let ft=null,St=null;return ke.start&&!ke.end&&be&&(ft=ke.start,St=be),new ye(ft,St)}}oe.\u0275fac=function(be){return new(be||oe)(l.LFG(P._A))},oe.\u0275prov=l.Yz7({token:oe,factory:oe.\u0275fac});const qe={provide:Ve,deps:[[new l.FiY,new l.tp0,Ve],P._A],useFactory:function at(ti,be){return ti||new oe(be)}};class ii{constructor(be,ke,ft,St,ui){this._changeDetectorRef=be,this._dateFormats=ke,this._dateAdapter=ft,this._dir=St,this._rangeStrategy=ui,this._rerenderSubscription=L.w0.EMPTY,this.selectedChange=new l.vpe,this._userSelection=new l.vpe,this.activeDateChange=new l.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(be){const ke=this._activeDate,ft=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(be))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ft,this.minDate,this.maxDate),this._hasSameMonthAndYear(ke,this._activeDate)||this._init()}get selected(){return this._selected}set selected(be){this._selected=be instanceof ye?be:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(be)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(be){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(be))}get maxDate(){return this._maxDate}set maxDate(be){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(be))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,W.O)(null)).subscribe(()=>this._init())}ngOnChanges(be){const ke=be.comparisonStart||be.comparisonEnd;ke&&!ke.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(be){const ke=be.value,ft=this._getDateFromDayOfMonth(ke);let St,ui;this._selected instanceof ye?(St=this._getDateInCurrentMonth(this._selected.start),ui=this._getDateInCurrentMonth(this._selected.end)):St=ui=this._getDateInCurrentMonth(this._selected),(St!==ke||ui!==ke)&&this.selectedChange.emit(ft),this._userSelection.emit({value:ft,event:be.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_updateActiveDate(be){const ke=be.value,ft=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(ke),this._dateAdapter.compareDate(ft,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(be){const ke=this._activeDate,ft=this._isRtl();switch(be.keyCode){case M.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,ft?1:-1);break;case M.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,ft?-1:1);break;case M.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case M.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case M.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case M.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case M.Ku:this.activeDate=be.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case M.VM:this.activeDate=be.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case M.K5:case M.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&be.preventDefault());case M.hY:return void(null!=this._previewEnd&&!(0,M.Vb)(be)&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:be}),be.preventDefault(),be.stopPropagation()));default:return}this._dateAdapter.compareDate(ke,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),be.preventDefault()}_handleCalendarBodyKeyup(be){(be.keyCode===M.L_||be.keyCode===M.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:be}),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 be=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(be)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(be){this._matCalendarBody._focusActiveCell(be)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:be,value:ke}){if(this._rangeStrategy){const ft=ke?ke.rawValue:null,St=this._rangeStrategy.createPreview(ft,this.selected,be);this._previewStart=this._getCellCompareValue(St.start),this._previewEnd=this._getCellCompareValue(St.end),this._changeDetectorRef.detectChanges()}}_getDateFromDayOfMonth(be){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),be)}_initWeekdays(){const be=this._dateAdapter.getFirstDayOfWeek(),ke=this._dateAdapter.getDayOfWeekNames("narrow");let St=this._dateAdapter.getDayOfWeekNames("long").map((ui,$t)=>({long:ui,narrow:ke[$t]}));this._weekdays=St.slice(be).concat(St.slice(0,be))}_createWeekCells(){const be=this._dateAdapter.getNumDaysInMonth(this.activeDate),ke=this._dateAdapter.getDateNames();this._weeks=[[]];for(let ft=0,St=this._firstWeekOffset;ft<be;ft++,St++){7==St&&(this._weeks.push([]),St=0);const ui=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),ft+1),$t=this._shouldEnableDate(ui),oi=this._dateAdapter.format(ui,this._dateFormats.display.dateA11yLabel),Vt=this.dateClass?this.dateClass(ui,"month"):void 0;this._weeks[this._weeks.length-1].push(new Ke(ft+1,ke[ft],oi,$t,Vt,this._getCellCompareValue(ui),ui))}}_shouldEnableDate(be){return!!be&&(!this.minDate||this._dateAdapter.compareDate(be,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(be,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(be))}_getDateInCurrentMonth(be){return be&&this._hasSameMonthAndYear(be,this.activeDate)?this._dateAdapter.getDate(be):null}_hasSameMonthAndYear(be,ke){return!(!be||!ke||this._dateAdapter.getMonth(be)!=this._dateAdapter.getMonth(ke)||this._dateAdapter.getYear(be)!=this._dateAdapter.getYear(ke))}_getCellCompareValue(be){if(be){const ke=this._dateAdapter.getYear(be),ft=this._dateAdapter.getMonth(be),St=this._dateAdapter.getDate(be);return new Date(ke,ft,St).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(be){be instanceof ye?(this._rangeStart=this._getCellCompareValue(be.start),this._rangeEnd=this._getCellCompareValue(be.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(be),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(be){return!this.dateFilter||this.dateFilter(be)}}ii.\u0275fac=function(be){return new(be||ii)(l.Y36(l.sBO),l.Y36(P.sG,8),l.Y36(P._A,8),l.Y36(z.Is,8),l.Y36(Ve,8))},ii.\u0275cmp=l.Xpm({type:ii,selectors:[["mat-month-view"]],viewQuery:function(be,ke){if(1&be&&l.Gf($e,5),2&be){let ft;l.iGM(ft=l.CRH())&&(ke._matCalendarBody=ft.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[l.TTD],decls:7,vars:15,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName","selectedValueChange","activeDateChange","previewChange","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(be,ke){1&be&&(l.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),l.YNc(3,o,5,2,"th",2),l.qZA(),l.TgZ(4,"tr"),l._UZ(5,"th",3),l.qZA()(),l.TgZ(6,"tbody",4),l.NdJ("selectedValueChange",function(St){return ke._dateSelected(St)})("activeDateChange",function(St){return ke._updateActiveDate(St)})("previewChange",function(St){return ke._previewChanged(St)})("keyup",function(St){return ke._handleCalendarBodyKeyup(St)})("keydown",function(St){return ke._handleCalendarBodyKeydown(St)}),l.qZA()()),2&be&&(l.xp6(3),l.Q6J("ngForOf",ke._weekdays),l.xp6(3),l.Q6J("label",ke._monthLabel)("rows",ke._weeks)("todayValue",ke._todayDate)("startValue",ke._rangeStart)("endValue",ke._rangeEnd)("comparisonStart",ke._comparisonRangeStart)("comparisonEnd",ke._comparisonRangeEnd)("previewStart",ke._previewStart)("previewEnd",ke._previewEnd)("isRange",ke._isRange)("labelMinRequiredCells",3)("activeCell",ke._dateAdapter.getDate(ke.activeDate)-1)("startDateAccessibleName",ke.startDateAccessibleName)("endDateAccessibleName",ke.endDateAccessibleName))},dependencies:[O.sg,$e],encapsulation:2,changeDetection:0});class Be{constructor(be,ke,ft){this._changeDetectorRef=be,this._dateAdapter=ke,this._dir=ft,this._rerenderSubscription=L.w0.EMPTY,this.selectedChange=new l.vpe,this.yearSelected=new l.vpe,this.activeDateChange=new l.vpe,this._dateAdapter,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(be){let ke=this._activeDate;const ft=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(be))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ft,this.minDate,this.maxDate),rt(this._dateAdapter,ke,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(be){this._selected=be instanceof ye?be:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(be)),this._setSelectedYear(be)}get minDate(){return this._minDate}set minDate(be){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(be))}get maxDate(){return this._maxDate}set maxDate(be){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(be))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,W.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const ke=this._dateAdapter.getYear(this._activeDate)-Ot(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let ft=0,St=[];ft<24;ft++)St.push(ke+ft),4==St.length&&(this._years.push(St.map(ui=>this._createCellForYear(ui))),St=[]);this._changeDetectorRef.markForCheck()}_yearSelected(be){const ke=be.value,ft=this._dateAdapter.createDate(ke,0,1),St=this._getDateFromYear(ke);this.yearSelected.emit(ft),this.selectedChange.emit(St)}_updateActiveDate(be){const ke=be.value,ft=this._activeDate;this.activeDate=this._getDateFromYear(ke),this._dateAdapter.compareDate(ft,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(be){const ke=this._activeDate,ft=this._isRtl();switch(be.keyCode){case M.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ft?1:-1);break;case M.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ft?-1:1);break;case M.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case M.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case M.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Ot(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case M.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-Ot(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case M.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,be.altKey?-240:-24);break;case M.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,be.altKey?240:24);break;case M.K5:case M.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(ke,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),be.preventDefault()}_handleCalendarBodyKeyup(be){(be.keyCode===M.L_||be.keyCode===M.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:be}),this._selectionKeyPressed=!1)}_getActiveCell(){return Ot(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(be){const ke=this._dateAdapter.getMonth(this.activeDate),ft=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(be,ke,1));return this._dateAdapter.createDate(be,ke,Math.min(this._dateAdapter.getDate(this.activeDate),ft))}_createCellForYear(be){const ke=this._dateAdapter.createDate(be,0,1),ft=this._dateAdapter.getYearName(ke),St=this.dateClass?this.dateClass(ke,"multi-year"):void 0;return new Ke(be,ft,ft,this._shouldEnableYear(be),St)}_shouldEnableYear(be){if(null==be||this.maxDate&&be>this._dateAdapter.getYear(this.maxDate)||this.minDate&&be<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let ft=this._dateAdapter.createDate(be,0,1);this._dateAdapter.getYear(ft)==be;ft=this._dateAdapter.addCalendarDays(ft,1))if(this.dateFilter(ft))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(be){if(this._selectedYear=null,be instanceof ye){const ke=be.start||be.end;ke&&(this._selectedYear=this._dateAdapter.getYear(ke))}else be&&(this._selectedYear=this._dateAdapter.getYear(be))}}function rt(ti,be,ke,ft,St){const ui=ti.getYear(be),$t=ti.getYear(ke),oi=Gt(ti,ft,St);return Math.floor((ui-oi)/24)===Math.floor(($t-oi)/24)}function Ot(ti,be,ke,ft){return function kt(ti,be){return(ti%be+be)%be}(ti.getYear(be)-Gt(ti,ke,ft),24)}function Gt(ti,be,ke){let ft=0;return ke?ft=ti.getYear(ke)-24+1:be&&(ft=ti.getYear(be)),ft}Be.\u0275fac=function(be){return new(be||Be)(l.Y36(l.sBO),l.Y36(P._A,8),l.Y36(z.Is,8))},Be.\u0275cmp=l.Xpm({type:Be,selectors:[["mat-multi-year-view"]],viewQuery:function(be,ke){if(1&be&&l.Gf($e,5),2&be){let ft;l.iGM(ft=l.CRH())&&(ke._matCalendarBody=ft.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(be,ke){1&be&&(l.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),l._UZ(3,"th",2),l.qZA()(),l.TgZ(4,"tbody",3),l.NdJ("selectedValueChange",function(St){return ke._yearSelected(St)})("activeDateChange",function(St){return ke._updateActiveDate(St)})("keyup",function(St){return ke._handleCalendarBodyKeyup(St)})("keydown",function(St){return ke._handleCalendarBodyKeydown(St)}),l.qZA()()),2&be&&(l.xp6(4),l.Q6J("rows",ke._years)("todayValue",ke._todayYear)("startValue",ke._selectedYear)("endValue",ke._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",ke._getActiveCell()))},dependencies:[$e],encapsulation:2,changeDetection:0});class Rt{constructor(be,ke,ft,St){this._changeDetectorRef=be,this._dateFormats=ke,this._dateAdapter=ft,this._dir=St,this._rerenderSubscription=L.w0.EMPTY,this.selectedChange=new l.vpe,this.monthSelected=new l.vpe,this.activeDateChange=new l.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(be){let ke=this._activeDate;const ft=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(be))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ft,this.minDate,this.maxDate),this._dateAdapter.getYear(ke)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(be){this._selected=be instanceof ye?be:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(be)),this._setSelectedMonth(be)}get minDate(){return this._minDate}set minDate(be){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(be))}get maxDate(){return this._maxDate}set maxDate(be){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(be))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,W.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(be){const ke=be.value,ft=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),ke,1);this.monthSelected.emit(ft);const St=this._getDateFromMonth(ke);this.selectedChange.emit(St)}_updateActiveDate(be){const ke=be.value,ft=this._activeDate;this.activeDate=this._getDateFromMonth(ke),this._dateAdapter.compareDate(ft,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(be){const ke=this._activeDate,ft=this._isRtl();switch(be.keyCode){case M.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,ft?1:-1);break;case M.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,ft?-1:1);break;case M.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case M.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case M.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case M.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case M.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,be.altKey?-10:-1);break;case M.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,be.altKey?10:1);break;case M.K5:case M.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(ke,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),be.preventDefault()}_handleCalendarBodyKeyup(be){(be.keyCode===M.L_||be.keyCode===M.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:be}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let be=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(ke=>ke.map(ft=>this._createCellForMonth(ft,be[ft]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(be){return be&&this._dateAdapter.getYear(be)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(be):null}_getDateFromMonth(be){const ke=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),be,1),ft=this._dateAdapter.getNumDaysInMonth(ke);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),be,Math.min(this._dateAdapter.getDate(this.activeDate),ft))}_createCellForMonth(be,ke){const ft=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),be,1),St=this._dateAdapter.format(ft,this._dateFormats.display.monthYearA11yLabel),ui=this.dateClass?this.dateClass(ft,"year"):void 0;return new Ke(be,ke.toLocaleUpperCase(),St,this._shouldEnableMonth(be),ui)}_shouldEnableMonth(be){const ke=this._dateAdapter.getYear(this.activeDate);if(null==be||this._isYearAndMonthAfterMaxDate(ke,be)||this._isYearAndMonthBeforeMinDate(ke,be))return!1;if(!this.dateFilter)return!0;for(let St=this._dateAdapter.createDate(ke,be,1);this._dateAdapter.getMonth(St)==be;St=this._dateAdapter.addCalendarDays(St,1))if(this.dateFilter(St))return!0;return!1}_isYearAndMonthAfterMaxDate(be,ke){if(this.maxDate){const ft=this._dateAdapter.getYear(this.maxDate),St=this._dateAdapter.getMonth(this.maxDate);return be>ft||be===ft&&ke>St}return!1}_isYearAndMonthBeforeMinDate(be,ke){if(this.minDate){const ft=this._dateAdapter.getYear(this.minDate),St=this._dateAdapter.getMonth(this.minDate);return be<ft||be===ft&&ke<St}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(be){this._selectedMonth=be instanceof ye?this._getMonthInCurrentYear(be.start)||this._getMonthInCurrentYear(be.end):this._getMonthInCurrentYear(be)}}Rt.\u0275fac=function(be){return new(be||Rt)(l.Y36(l.sBO),l.Y36(P.sG,8),l.Y36(P._A,8),l.Y36(z.Is,8))},Rt.\u0275cmp=l.Xpm({type:Rt,selectors:[["mat-year-view"]],viewQuery:function(be,ke){if(1&be&&l.Gf($e,5),2&be){let ft;l.iGM(ft=l.CRH())&&(ke._matCalendarBody=ft.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(be,ke){1&be&&(l.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),l._UZ(3,"th",2),l.qZA()(),l.TgZ(4,"tbody",3),l.NdJ("selectedValueChange",function(St){return ke._monthSelected(St)})("activeDateChange",function(St){return ke._updateActiveDate(St)})("keyup",function(St){return ke._handleCalendarBodyKeyup(St)})("keydown",function(St){return ke._handleCalendarBodyKeydown(St)}),l.qZA()()),2&be&&(l.xp6(4),l.Q6J("label",ke._yearLabel)("rows",ke._months)("todayValue",ke._todayMonth)("startValue",ke._selectedMonth)("endValue",ke._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",ke._dateAdapter.getMonth(ke.activeDate)))},dependencies:[$e],encapsulation:2,changeDetection:0});let yi=1;class Jt{constructor(be,ke,ft,St,ui){this._intl=be,this.calendar=ke,this._dateAdapter=ft,this._dateFormats=St,this._id="mat-calendar-header-"+yi++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>ui.markForCheck())}get periodButtonText(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||(!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate))}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(be,ke){return"month"==this.calendar.currentView?this._dateAdapter.getYear(be)==this._dateAdapter.getYear(ke)&&this._dateAdapter.getMonth(be)==this._dateAdapter.getMonth(ke):"year"==this.calendar.currentView?this._dateAdapter.getYear(be)==this._dateAdapter.getYear(ke):rt(this._dateAdapter,be,ke,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const ke=this._dateAdapter.getYear(this.calendar.activeDate)-Ot(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),ft=ke+24-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(ke,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(ft,0,1))]}}Jt.\u0275fac=function(be){return new(be||Jt)(l.Y36(dt),l.Y36((0,l.Gpc)(()=>Zt)),l.Y36(P._A,8),l.Y36(P.sG,8),l.Y36(l.sBO))},Jt.\u0275cmp=l.Xpm({type:Jt,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:m,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(be,ke){1&be&&(l.F$t(),l.TgZ(0,"div",0)(1,"div",1)(2,"button",2),l.NdJ("click",function(){return ke.currentPeriodClicked()}),l.TgZ(3,"span",3),l._uU(4),l.qZA(),l.O4$(),l.TgZ(5,"svg",4),l._UZ(6,"polygon",5),l.qZA()(),l.kcU(),l._UZ(7,"div",6),l.Hsn(8),l.TgZ(9,"button",7),l.NdJ("click",function(){return ke.previousClicked()}),l.qZA(),l.TgZ(10,"button",8),l.NdJ("click",function(){return ke.nextClicked()}),l.qZA()()(),l.TgZ(11,"label",9),l._uU(12),l.qZA()),2&be&&(l.xp6(2),l.uIk("aria-label",ke.periodButtonLabel)("aria-describedby",ke._periodButtonLabelId),l.xp6(2),l.Oqu(ke.periodButtonText),l.xp6(1),l.ekj("mat-calendar-invert","month"!==ke.calendar.currentView),l.xp6(4),l.Q6J("disabled",!ke.previousEnabled()),l.uIk("aria-label",ke.prevButtonLabel),l.xp6(1),l.Q6J("disabled",!ke.nextEnabled()),l.uIk("aria-label",ke.nextButtonLabel),l.xp6(1),l.Q6J("id",ke._periodButtonLabelId),l.xp6(1),l.Oqu(ke.periodButtonDescription))},dependencies:[C.lW,C.RK],encapsulation:2,changeDetection:0});class Zt{constructor(be,ke,ft,St){this._dateAdapter=ke,this._dateFormats=ft,this._changeDetectorRef=St,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new l.vpe,this.yearSelected=new l.vpe,this.monthSelected=new l.vpe,this.viewChanged=new l.vpe(!0),this._userSelection=new l.vpe,this.stateChanges=new p.x,this._intlChanges=be.changes.subscribe(()=>{St.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(be){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(be))}get selected(){return this._selected}set selected(be){this._selected=be instanceof ye?be:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(be))}get minDate(){return this._minDate}set minDate(be){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(be))}get maxDate(){return this._maxDate}set maxDate(be){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(be))}get activeDate(){return this._clampedActiveDate}set activeDate(be){this._clampedActiveDate=this._dateAdapter.clampDate(be,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(be){const ke=this._currentView!==be?be:null;this._currentView=be,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),ke&&this.viewChanged.emit(ke)}ngAfterContentInit(){this._calendarHeaderPortal=new _.C5(this.headerComponent||Jt),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(be){const ke=be.minDate&&!this._dateAdapter.sameDate(be.minDate.previousValue,be.minDate.currentValue)?be.minDate:void 0,ft=be.maxDate&&!this._dateAdapter.sameDate(be.maxDate.previousValue,be.maxDate.currentValue)?be.maxDate:void 0,St=ke||ft||be.dateFilter;if(St&&!St.firstChange){const ui=this._getCurrentViewComponent();ui&&(this._changeDetectorRef.detectChanges(),ui._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(be){const ke=be.value;(this.selected instanceof ye||ke&&!this._dateAdapter.sameDate(ke,this.selected))&&this.selectedChange.emit(ke),this._userSelection.emit(be)}_yearSelectedInMultiYearView(be){this.yearSelected.emit(be)}_monthSelectedInYearView(be){this.monthSelected.emit(be)}_goToDateInView(be,ke){this.activeDate=be,this.currentView=ke}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}Zt.\u0275fac=function(be){return new(be||Zt)(l.Y36(dt),l.Y36(P._A,8),l.Y36(P.sG,8),l.Y36(l.sBO))},Zt.\u0275cmp=l.Xpm({type:Zt,selectors:[["mat-calendar"]],viewQuery:function(be,ke){if(1&be&&(l.Gf(ii,5),l.Gf(Rt,5),l.Gf(Be,5)),2&be){let ft;l.iGM(ft=l.CRH())&&(ke.monthView=ft.first),l.iGM(ft=l.CRH())&&(ke.yearView=ft.first),l.iGM(ft=l.CRH())&&(ke.multiYearView=ft.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[l._Bn([K]),l.TTD],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(be,ke){1&be&&(l.YNc(0,h,0,0,"ng-template",0),l.TgZ(1,"div",1),l.YNc(2,x,1,10,"mat-month-view",2),l.YNc(3,I,1,6,"mat-year-view",3),l.YNc(4,R,1,6,"mat-multi-year-view",4),l.qZA()),2&be&&(l.Q6J("cdkPortalOutlet",ke._calendarHeaderPortal),l.xp6(1),l.Q6J("ngSwitch",ke.currentView),l.xp6(1),l.Q6J("ngSwitchCase","month"),l.xp6(1),l.Q6J("ngSwitchCase","year"),l.xp6(1),l.Q6J("ngSwitchCase","multi-year"))},dependencies:[O.RF,O.n9,e.kH,_.Pl,ii,Rt,Be],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});const mi={transformPanel:(0,ae.X$)("transformPanel",[(0,ae.eR)("void => enter-dropdown",(0,ae.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ae.F4)([(0,ae.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,ae.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,ae.eR)("void => enter-dialog",(0,ae.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,ae.F4)([(0,ae.oB)({opacity:0,transform:"scale(0.7)"}),(0,ae.oB)({transform:"none",opacity:1})]))),(0,ae.eR)("* => void",(0,ae.jt)("100ms linear",(0,ae.oB)({opacity:0})))]),fadeInCalendar:(0,ae.X$)("fadeInCalendar",[(0,ae.SB)("void",(0,ae.oB)({opacity:0})),(0,ae.SB)("enter",(0,ae.oB)({opacity:1})),(0,ae.eR)("void => *",(0,ae.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let Re=0;const U=new l.OlP("mat-datepicker-scroll-strategy");const ue={provide:U,deps:[t.aV],useFactory:function j(ti){return()=>ti.scrollStrategies.reposition()}},Ne=(0,P.pj)(class{constructor(ti){this._elementRef=ti}});class wt extends Ne{constructor(be,ke,ft,St,ui,$t){super(be),this._changeDetectorRef=ke,this._globalModel=ft,this._dateAdapter=St,this._rangeSelectionStrategy=ui,this._subscriptions=new L.w0,this._animationDone=new p.x,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=$t.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(be){const ke=this._model.selection,ft=be.value,St=ke instanceof ye;if(St&&this._rangeSelectionStrategy){const ui=this._rangeSelectionStrategy.selectionFinished(ft,ke,be.event);this._model.updateSelection(ui,this)}else ft&&(St||!this._dateAdapter.sameDate(ft,ke))&&this._model.add(ft);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(be){this._isAnimating="start"===be.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(be,ke){this._model=be?this._globalModel.clone():this._globalModel,this._actionsPortal=be,ke&&this._changeDetectorRef.detectChanges()}}wt.\u0275fac=function(be){return new(be||wt)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(we),l.Y36(P._A),l.Y36(Ve,8),l.Y36(dt))},wt.\u0275cmp=l.Xpm({type:wt,selectors:[["mat-datepicker-content"]],viewQuery:function(be,ke){if(1&be&&l.Gf(Zt,5),2&be){let ft;l.iGM(ft=l.CRH())&&(ke._calendar=ft.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(be,ke){1&be&&l.WFA("@transformPanel.start",function(St){return ke._handleAnimationEvent(St)})("@transformPanel.done",function(St){return ke._handleAnimationEvent(St)}),2&be&&(l.d8E("@transformPanel",ke._animationState),l.ekj("mat-datepicker-content-touch",ke.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[l.qOj],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","yearSelected","monthSelected","viewChanged","_userSelection"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(be,ke){if(1&be&&(l.TgZ(0,"div",0)(1,"mat-calendar",1),l.NdJ("yearSelected",function(St){return ke.datepicker._selectYear(St)})("monthSelected",function(St){return ke.datepicker._selectMonth(St)})("viewChanged",function(St){return ke.datepicker._viewChanged(St)})("_userSelection",function(St){return ke._handleUserSelection(St)}),l.qZA(),l.YNc(2,g,0,0,"ng-template",2),l.TgZ(3,"button",3),l.NdJ("focus",function(){return ke._closeButtonFocused=!0})("blur",function(){return ke._closeButtonFocused=!1})("click",function(){return ke.datepicker.close()}),l._uU(4),l.qZA()()),2&be){let ft;l.ekj("mat-datepicker-content-container-with-custom-header",ke.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",ke._actionsPortal),l.uIk("aria-modal",!0)("aria-labelledby",null!==(ft=ke._dialogLabelId)&&void 0!==ft?ft:void 0),l.xp6(1),l.Q6J("id",ke.datepicker.id)("ngClass",ke.datepicker.panelClass)("startAt",ke.datepicker.startAt)("startView",ke.datepicker.startView)("minDate",ke.datepicker._getMinDate())("maxDate",ke.datepicker._getMaxDate())("dateFilter",ke.datepicker._getDateFilter())("headerComponent",ke.datepicker.calendarHeaderComponent)("selected",ke._getSelected())("dateClass",ke.datepicker.dateClass)("comparisonStart",ke.comparisonStart)("comparisonEnd",ke.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",ke.startDateAccessibleName)("endDateAccessibleName",ke.endDateAccessibleName),l.xp6(1),l.Q6J("cdkPortalOutlet",ke._actionsPortal),l.xp6(1),l.ekj("cdk-visually-hidden",!ke._closeButtonFocused),l.Q6J("color",ke.color||"primary"),l.xp6(1),l.Oqu(ke._closeButtonText)}},dependencies:[O.mk,C.lW,e.mK,_.Pl,Zt],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[mi.transformPanel,mi.fadeInCalendar]},changeDetection:0});class Et{constructor(be,ke,ft,St,ui,$t,oi){this._overlay=be,this._ngZone=ke,this._viewContainerRef=ft,this._dateAdapter=ui,this._dir=$t,this._model=oi,this._inputStateChanges=L.w0.EMPTY,this._document=(0,l.f3M)(O.K0),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new l.vpe,this.monthSelected=new l.vpe,this.viewChanged=new l.vpe(!0),this.openedStream=new l.vpe,this.closedStream=new l.vpe,this._opened=!1,this.id="mat-datepicker-"+Re++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new p.x,this._dateAdapter,this._scrollStrategy=St}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(be){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(be))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(be){this._color=be}get touchUi(){return this._touchUi}set touchUi(be){this._touchUi=(0,X.Ig)(be)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(be){const ke=(0,X.Ig)(be);ke!==this._disabled&&(this._disabled=ke,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(be){this._restoreFocus=(0,X.Ig)(be)}get panelClass(){return this._panelClass}set panelClass(be){this._panelClass=(0,X.du)(be)}get opened(){return this._opened}set opened(be){(0,X.Ig)(be)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}ngOnChanges(be){const ke=be.xPosition||be.yPosition;if(ke&&!ke.firstChange&&this._overlayRef){const ft=this._overlayRef.getConfig().positionStrategy;ft instanceof t._G&&(this._setConnectedPositions(ft),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(be){this._model.add(be)}_selectYear(be){this.yearSelected.emit(be)}_selectMonth(be){this.monthSelected.emit(be)}_viewChanged(be){this.viewChanged.emit(be)}registerInput(be){return this.datepickerInput,this._inputStateChanges.unsubscribe(),this.datepickerInput=be,this._inputStateChanges=be.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(be){this._actionsPortal,this._actionsPortal=be,this._componentRef?.instance._assignActions(be,!0)}removeActions(be){be===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this.datepickerInput,this._focusedElementBeforeOpen=(0,$.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const be=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,ke=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:ft,location:St}=this._componentRef;ft._startExitAnimation(),ft._animationDone.pipe((0,A.q)(1)).subscribe(()=>{const ui=this._document.activeElement;be&&(!ui||ui===this._document.activeElement||St.nativeElement.contains(ui))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}be?setTimeout(ke):ke()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(be){be.datepicker=this,be.color=this.color,be._dialogLabelId=this.datepickerInput.getOverlayLabelId(),be._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const be=this.touchUi,ke=new _.C5(wt,this._viewContainerRef),ft=this._overlayRef=this._overlay.create(new t.X_({positionStrategy:be?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[be?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:be?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(be?"dialog":"popup")}));this._getCloseStream(ft).subscribe(St=>{St&&St.preventDefault(),this.close()}),ft.keydownEvents().subscribe(St=>{const ui=St.keyCode;(ui===M.LH||ui===M.JH||ui===M.oh||ui===M.SV||ui===M.Ku||ui===M.VM)&&St.preventDefault()}),this._componentRef=ft.attach(ke),this._forwardContentValues(this._componentRef.instance),be||this._ngZone.onStable.pipe((0,A.q)(1)).subscribe(()=>ft.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const be=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(be)}_setConnectedPositions(be){const ke="end"===this.xPosition?"end":"start",ft="start"===ke?"end":"start",St="above"===this.yPosition?"bottom":"top",ui="top"===St?"bottom":"top";return be.withPositions([{originX:ke,originY:ui,overlayX:ke,overlayY:St},{originX:ke,originY:St,overlayX:ke,overlayY:ui},{originX:ft,originY:ui,overlayX:ft,overlayY:St},{originX:ft,originY:St,overlayX:ft,overlayY:ui}])}_getCloseStream(be){return(0,D.T)(be.backdropClick(),be.detachments(),be.keydownEvents().pipe((0,Z.h)(ke=>ke.keyCode===M.hY&&!(0,M.Vb)(ke)||this.datepickerInput&&(0,M.Vb)(ke,"altKey")&&ke.keyCode===M.LH)))}}Et.\u0275fac=function(be){return new(be||Et)(l.Y36(t.aV),l.Y36(l.R0b),l.Y36(l.s_b),l.Y36(U),l.Y36(P._A,8),l.Y36(z.Is,8),l.Y36(we))},Et.\u0275dir=l.lG2({type:Et,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:[l.TTD]});class Nt extends Et{}Nt.\u0275fac=function(){let ti;return function(ke){return(ti||(ti=l.n5z(Nt)))(ke||Nt)}}(),Nt.\u0275cmp=l.Xpm({type:Nt,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[l._Bn([K,{provide:Et,useExisting:Nt}]),l.qOj],decls:0,vars:0,template:function(be,ke){},encapsulation:2,changeDetection:0});class ot{constructor(be,ke){this.target=be,this.targetElement=ke,this.value=this.target.value}}class We{constructor(be,ke,ft){this._elementRef=be,this._dateAdapter=ke,this._dateFormats=ft,this.dateChange=new l.vpe,this.dateInput=new l.vpe,this.stateChanges=new p.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=L.w0.EMPTY,this._localeSubscription=L.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=St=>{const ui=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(St.value));return!ui||this._matchesFilter(ui)?null:{matDatepickerFilter:!0}},this._minValidator=St=>{const ui=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(St.value)),$t=this._getMinDate();return!$t||!ui||this._dateAdapter.compareDate($t,ui)<=0?null:{matDatepickerMin:{min:$t,actual:ui}}},this._maxValidator=St=>{const ui=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(St.value)),$t=this._getMaxDate();return!$t||!ui||this._dateAdapter.compareDate($t,ui)>=0?null:{matDatepickerMax:{max:$t,actual:ui}}},this._lastValueValid=!1,this._localeSubscription=ke.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(be){this._assignValueProgrammatically(be)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(be){const ke=(0,X.Ig)(be),ft=this._elementRef.nativeElement;this._disabled!==ke&&(this._disabled=ke,this.stateChanges.next(void 0)),ke&&this._isInitialized&&ft.blur&&ft.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(be){this._model=be,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(ke=>{if(this._shouldHandleChangeEvent(ke)){const ft=this._getValueFromModel(ke.selection);this._lastValueValid=this._isValidValue(ft),this._cvaOnChange(ft),this._onTouched(),this._formatValue(ft),this.dateInput.emit(new ot(this,this._elementRef.nativeElement)),this.dateChange.emit(new ot(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(be){gt(be,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(be){this._validatorOnChange=be}validate(be){return this._validator?this._validator(be):null}writeValue(be){this._assignValueProgrammatically(be)}registerOnChange(be){this._cvaOnChange=be}registerOnTouched(be){this._onTouched=be}setDisabledState(be){this.disabled=be}_onKeydown(be){be.altKey&&be.keyCode===M.JH&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),be.preventDefault())}_onInput(be){const ke=this._lastValueValid;let ft=this._dateAdapter.parse(be,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(ft),ft=this._dateAdapter.getValidDateOrNull(ft);const St=!this._dateAdapter.sameDate(ft,this.value);!ft||St?this._cvaOnChange(ft):(be&&!this.value&&this._cvaOnChange(ft),ke!==this._lastValueValid&&this._validatorOnChange()),St&&(this._assignValue(ft),this.dateInput.emit(new ot(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new ot(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(be){this._elementRef.nativeElement.value=null!=be?this._dateAdapter.format(be,this._dateFormats.display.dateInput):""}_assignValue(be){this._model?(this._assignValueToModel(be),this._pendingValue=null):this._pendingValue=be}_isValidValue(be){return!be||this._dateAdapter.isValid(be)}_parentDisabled(){return!1}_assignValueProgrammatically(be){be=this._dateAdapter.deserialize(be),this._lastValueValid=this._isValidValue(be),be=this._dateAdapter.getValidDateOrNull(be),this._assignValue(be),this._formatValue(be)}_matchesFilter(be){const ke=this._getDateFilter();return!ke||ke(be)}}function gt(ti,be){const ke=Object.keys(ti);for(let ft of ke){const{previousValue:St,currentValue:ui}=ti[ft];if(!be.isDateInstance(St)||!be.isDateInstance(ui))return!0;if(!be.sameDate(St,ui))return!0}return!1}We.\u0275fac=function(be){return new(be||We)(l.Y36(l.SBq),l.Y36(P._A,8),l.Y36(P.sG,8))},We.\u0275dir=l.lG2({type:We,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[l.TTD]});const ri={provide:he.JU,useExisting:(0,l.Gpc)(()=>Ft),multi:!0},Pt={provide:he.Cf,useExisting:(0,l.Gpc)(()=>Ft),multi:!0};class Ft extends We{constructor(be,ke,ft,St){super(be,ke,ft),this._formField=St,this._closedSubscription=L.w0.EMPTY,this._validator=he.kI.compose(super._getValidators())}set matDatepicker(be){be&&(this._datepicker=be,this._closedSubscription=be.closedStream.subscribe(()=>this._onTouched()),this._registerModel(be.registerInput(this)))}get min(){return this._min}set min(be){const ke=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(be));this._dateAdapter.sameDate(ke,this._min)||(this._min=ke,this._validatorOnChange())}get max(){return this._max}set max(be){const ke=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(be));this._dateAdapter.sameDate(ke,this._max)||(this._max=ke,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(be){const ke=this._matchesFilter(this.value);this._dateFilter=be,this._matchesFilter(this.value)!==ke&&this._validatorOnChange()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(be){return be}_assignValueToModel(be){this._model&&this._model.updateSelection(be,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(be){return be.source!==this}}Ft.\u0275fac=function(be){return new(be||Ft)(l.Y36(l.SBq),l.Y36(P._A,8),l.Y36(P.sG,8),l.Y36(se.G_,8))},Ft.\u0275dir=l.lG2({type:Ft,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(be,ke){1&be&&l.NdJ("input",function(St){return ke._onInput(St.target.value)})("change",function(){return ke._onChange()})("blur",function(){return ke._onBlur()})("keydown",function(St){return ke._onKeydown(St)}),2&be&&(l.Ikx("disabled",ke.disabled),l.uIk("aria-haspopup",ke._datepicker?"dialog":null)("aria-owns",(null==ke._datepicker?null:ke._datepicker.opened)&&ke._datepicker.id||null)("min",ke.min?ke._dateAdapter.toIso8601(ke.min):null)("max",ke.max?ke._dateAdapter.toIso8601(ke.max):null)("data-mat-calendar",ke._datepicker?ke._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[l._Bn([ri,Pt,{provide:pe.Jk,useExisting:Ft}]),l.qOj]});class qt{}qt.\u0275fac=function(be){return new(be||qt)},qt.\u0275dir=l.lG2({type:qt,selectors:[["","matDatepickerToggleIcon",""]]});class Te{constructor(be,ke,ft){this._intl=be,this._changeDetectorRef=ke,this._stateChanges=L.w0.EMPTY;const St=Number(ft);this.tabIndex=St||0===St?St:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(be){this._disabled=(0,X.Ig)(be)}ngOnChanges(be){be.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(be){this.datepicker&&!this.disabled&&(this.datepicker.open(),be.stopPropagation())}_watchStateChanges(){const be=this.datepicker?this.datepicker.stateChanges:(0,k.of)(),ke=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,k.of)(),ft=this.datepicker?(0,D.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,k.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,D.T)(this._intl.changes,be,ke,ft).subscribe(()=>this._changeDetectorRef.markForCheck())}}function me(ti){return Li(ti,!0)}function ct(ti){return ti.nodeType===Node.ELEMENT_NODE}function Li(ti,be){if(ct(ti)&&be){const ft=(ti.getAttribute?.("aria-labelledby")?.split(/\s+/g)||[]).reduce((St,ui)=>{const $t=document.getElementById(ui);return $t&&St.push($t),St},[]);if(ft.length)return ft.map(St=>Li(St,!1)).join(" ")}if(ct(ti)){const ke=ti.getAttribute("aria-label")?.trim();if(ke)return ke}if(function _t(ti){return"INPUT"===ti.nodeName}(ti)||function Lt(ti){return"TEXTAREA"===ti.nodeName}(ti)){if(ti.labels?.length)return Array.from(ti.labels).map(St=>Li(St,!1)).join(" ");const ke=ti.getAttribute("placeholder")?.trim();if(ke)return ke;const ft=ti.getAttribute("title")?.trim();if(ft)return ft}return(ti.textContent||"").replace(/\s+/g," ").trim()}Te.\u0275fac=function(be){return new(be||Te)(l.Y36(dt),l.Y36(l.sBO),l.$8M("tabindex"))},Te.\u0275cmp=l.Xpm({type:Te,selectors:[["mat-datepicker-toggle"]],contentQueries:function(be,ke,ft){if(1&be&&l.Suo(ft,qt,5),2&be){let St;l.iGM(St=l.CRH())&&(ke._customIcon=St.first)}},viewQuery:function(be,ke){if(1&be&&l.Gf(r,5),2&be){let ft;l.iGM(ft=l.CRH())&&(ke._button=ft.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(be,ke){1&be&&l.NdJ("click",function(St){return ke._open(St)}),2&be&&(l.uIk("tabindex",null)("data-mat-calendar",ke.datepicker?ke.datepicker.id:null),l.ekj("mat-datepicker-toggle-active",ke.datepicker&&ke.datepicker.opened)("mat-accent",ke.datepicker&&"accent"===ke.datepicker.color)("mat-warn",ke.datepicker&&"warn"===ke.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[l.TTD],ngContentSelectors:["[matDatepickerToggleIcon]"],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(be,ke){1&be&&(l.F$t(V),l.TgZ(0,"button",0,1),l.YNc(2,w,2,0,"svg",2),l.Hsn(3),l.qZA()),2&be&&(l.Q6J("disabled",ke.disabled)("disableRipple",ke.disableRipple),l.uIk("aria-haspopup",ke.datepicker?"dialog":null)("aria-label",ke.ariaLabel||ke._intl.openCalendarLabel)("tabindex",ke.disabled?-1:ke.tabIndex),l.xp6(2),l.Q6J("ngIf",!ke._customIcon))},dependencies:[O.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});const Ai=new l.OlP("MAT_DATE_RANGE_INPUT_PARENT");class wi extends We{constructor(be,ke,ft,St,ui,$t,oi,Vt){super(ke,oi,Vt),this._rangeInput=be,this._elementRef=ke,this._defaultErrorStateMatcher=ft,this._injector=St,this._parentForm=ui,this._parentFormGroup=$t,this._dir=(0,l.f3M)(z.Is,{optional:!0})}ngOnInit(){const be=this._injector.get(he.a5,null,{optional:!0,self:!0});be&&(this.ngControl=be)}ngDoCheck(){this.ngControl&&this.updateErrorState()}isEmpty(){return 0===this._elementRef.nativeElement.value.length}_getPlaceholder(){return this._elementRef.nativeElement.placeholder}focus(){this._elementRef.nativeElement.focus()}getMirrorValue(){const be=this._elementRef.nativeElement,ke=be.value;return ke.length>0?ke:be.placeholder}_onInput(be){super._onInput(be),this._rangeInput._handleChildValueChange()}_openPopup(){this._rangeInput._openDatepicker()}_getMinDate(){return this._rangeInput.min}_getMaxDate(){return this._rangeInput.max}_getDateFilter(){return this._rangeInput.dateFilter}_parentDisabled(){return this._rangeInput._groupDisabled}_shouldHandleChangeEvent({source:be}){return be!==this._rangeInput._startInput&&be!==this._rangeInput._endInput}_assignValueProgrammatically(be){super._assignValueProgrammatically(be),(this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput)?._validatorOnChange()}_getAccessibleName(){return me(this._elementRef.nativeElement)}}wi.\u0275fac=function(be){return new(be||wi)(l.Y36(Ai),l.Y36(l.SBq),l.Y36(P.rD),l.Y36(l.zs3),l.Y36(he.F,8),l.Y36(he.sg,8),l.Y36(P._A,8),l.Y36(P.sG,8))},wi.\u0275dir=l.lG2({type:wi,features:[l.qOj]});const zi=(0,P.FD)(wi);class xt extends zi{constructor(be,ke,ft,St,ui,$t,oi,Vt){super(be,ke,ft,St,ui,$t,oi,Vt),this._startValidator=Wi=>{const Qi=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Wi.value)),vn=this._model?this._model.selection.end:null;return!Qi||!vn||this._dateAdapter.compareDate(Qi,vn)<=0?null:{matStartDateInvalid:{end:vn,actual:Qi}}},this._validator=he.kI.compose([...super._getValidators(),this._startValidator])}_getValueFromModel(be){return be.start}_shouldHandleChangeEvent(be){return!!super._shouldHandleChangeEvent(be)&&(be.oldValue?.start?!be.selection.start||!!this._dateAdapter.compareDate(be.oldValue.start,be.selection.start):!!be.selection.start)}_assignValueToModel(be){if(this._model){const ke=new ye(be,this._model.selection.end);this._model.updateSelection(ke,this)}}_formatValue(be){super._formatValue(be),this._rangeInput._handleChildValueChange()}_onKeydown(be){const ke=this._rangeInput._endInput,ft=this._elementRef.nativeElement,St="rtl"!==this._dir?.value;(be.keyCode===M.SV&&St||be.keyCode===M.oh&&!St)&&ft.selectionStart===ft.value.length&&ft.selectionEnd===ft.value.length?(be.preventDefault(),ke._elementRef.nativeElement.setSelectionRange(0,0),ke.focus()):super._onKeydown(be)}}xt.\u0275fac=function(be){return new(be||xt)(l.Y36(Ai),l.Y36(l.SBq),l.Y36(P.rD),l.Y36(l.zs3),l.Y36(he.F,8),l.Y36(he.sg,8),l.Y36(P._A,8),l.Y36(P.sG,8))},xt.\u0275dir=l.lG2({type:xt,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(be,ke){1&be&&l.NdJ("input",function(St){return ke._onInput(St.target.value)})("change",function(){return ke._onChange()})("keydown",function(St){return ke._onKeydown(St)})("blur",function(){return ke._onBlur()}),2&be&&(l.Ikx("disabled",ke.disabled),l.uIk("aria-haspopup",ke._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==ke._rangeInput.rangePicker?null:ke._rangeInput.rangePicker.opened)&&ke._rangeInput.rangePicker.id||null)("min",ke._getMinDate()?ke._dateAdapter.toIso8601(ke._getMinDate()):null)("max",ke._getMaxDate()?ke._dateAdapter.toIso8601(ke._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[l._Bn([{provide:he.JU,useExisting:xt,multi:!0},{provide:he.Cf,useExisting:xt,multi:!0}]),l.qOj]});class Qe extends zi{constructor(be,ke,ft,St,ui,$t,oi,Vt){super(be,ke,ft,St,ui,$t,oi,Vt),this._endValidator=Wi=>{const Qi=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Wi.value)),vn=this._model?this._model.selection.start:null;return!Qi||!vn||this._dateAdapter.compareDate(Qi,vn)>=0?null:{matEndDateInvalid:{start:vn,actual:Qi}}},this._validator=he.kI.compose([...super._getValidators(),this._endValidator])}_getValueFromModel(be){return be.end}_shouldHandleChangeEvent(be){return!!super._shouldHandleChangeEvent(be)&&(be.oldValue?.end?!be.selection.end||!!this._dateAdapter.compareDate(be.oldValue.end,be.selection.end):!!be.selection.end)}_assignValueToModel(be){if(this._model){const ke=new ye(this._model.selection.start,be);this._model.updateSelection(ke,this)}}_onKeydown(be){const ke=this._rangeInput._startInput,ft=this._elementRef.nativeElement,St="rtl"!==this._dir?.value;if(be.keyCode!==M.ZH||ft.value)if((be.keyCode===M.oh&&St||be.keyCode===M.SV&&!St)&&0===ft.selectionStart&&0===ft.selectionEnd){be.preventDefault();const ui=ke._elementRef.nativeElement.value.length;ke._elementRef.nativeElement.setSelectionRange(ui,ui),ke.focus()}else super._onKeydown(be);else ke.focus()}}Qe.\u0275fac=function(be){return new(be||Qe)(l.Y36(Ai),l.Y36(l.SBq),l.Y36(P.rD),l.Y36(l.zs3),l.Y36(he.F,8),l.Y36(he.sg,8),l.Y36(P._A,8),l.Y36(P.sG,8))},Qe.\u0275dir=l.lG2({type:Qe,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(be,ke){1&be&&l.NdJ("input",function(St){return ke._onInput(St.target.value)})("change",function(){return ke._onChange()})("keydown",function(St){return ke._onKeydown(St)})("blur",function(){return ke._onBlur()}),2&be&&(l.Ikx("disabled",ke.disabled),l.uIk("aria-haspopup",ke._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==ke._rangeInput.rangePicker?null:ke._rangeInput.rangePicker.opened)&&ke._rangeInput.rangePicker.id||null)("min",ke._getMinDate()?ke._dateAdapter.toIso8601(ke._getMinDate()):null)("max",ke._getMaxDate()?ke._dateAdapter.toIso8601(ke._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[l._Bn([{provide:he.JU,useExisting:Qe,multi:!0},{provide:he.Cf,useExisting:Qe,multi:!0}]),l.qOj]});let Fe=0;class Wt{constructor(be,ke,ft,St,ui){if(this._changeDetectorRef=be,this._elementRef=ke,this._dateAdapter=St,this._formField=ui,this._closedSubscription=L.w0.EMPTY,this.id="mat-date-range-input-"+Fe++,this.focused=!1,this.controlType="mat-date-range-input",this._groupDisabled=!1,this._ariaDescribedBy=null,this.separator="\u2013",this.comparisonStart=null,this.comparisonEnd=null,this.stateChanges=new p.x,ui?._elementRef.nativeElement.classList.contains("mat-mdc-form-field")){const $t=ke.nativeElement.classList;$t.add("mat-mdc-input-element"),$t.add("mat-mdc-form-field-input-control")}this.ngControl=ft}get value(){return this._model?this._model.selection:null}get shouldLabelFloat(){return this.focused||!this.empty}get placeholder(){const be=this._startInput?._getPlaceholder()||"",ke=this._endInput?._getPlaceholder()||"";return be||ke?`${be} ${this.separator} ${ke}`:""}get rangePicker(){return this._rangePicker}set rangePicker(be){be&&(this._model=be.registerInput(this),this._rangePicker=be,this._closedSubscription.unsubscribe(),this._closedSubscription=be.closedStream.subscribe(()=>{this._startInput?._onTouched(),this._endInput?._onTouched()}),this._registerModel(this._model))}get required(){return!!this._required}set required(be){this._required=(0,X.Ig)(be)}get dateFilter(){return this._dateFilter}set dateFilter(be){const ke=this._startInput,ft=this._endInput,St=ke&&ke._matchesFilter(ke.value),ui=ft&&ft._matchesFilter(ke.value);this._dateFilter=be,ke&&ke._matchesFilter(ke.value)!==St&&ke._validatorOnChange(),ft&&ft._matchesFilter(ft.value)!==ui&&ft._validatorOnChange()}get min(){return this._min}set min(be){const ke=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(be));this._dateAdapter.sameDate(ke,this._min)||(this._min=ke,this._revalidate())}get max(){return this._max}set max(be){const ke=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(be));this._dateAdapter.sameDate(ke,this._max)||(this._max=ke,this._revalidate())}get disabled(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled}set disabled(be){const ke=(0,X.Ig)(be);ke!==this._groupDisabled&&(this._groupDisabled=ke,this.stateChanges.next(void 0))}get errorState(){return!(!this._startInput||!this._endInput)&&(this._startInput.errorState||this._endInput.errorState)}get empty(){const be=!!this._startInput&&this._startInput.isEmpty(),ke=!!this._endInput&&this._endInput.isEmpty();return be&&ke}setDescribedByIds(be){this._ariaDescribedBy=be.length?be.join(" "):null}onContainerClick(){!this.focused&&!this.disabled&&(this._model&&this._model.selection.start?this._endInput.focus():this._startInput.focus())}ngAfterContentInit(){this._model&&this._registerModel(this._model),(0,D.T)(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(be){gt(be,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._closedSubscription.unsubscribe(),this.stateChanges.complete()}getStartValue(){return this.value?this.value.start:null}getThemePalette(){return this._formField?this._formField.color:void 0}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():null}_getInputMirrorValue(be){const ke="start"===be?this._startInput:this._endInput;return ke?ke.getMirrorValue():""}_shouldHidePlaceholders(){return!!this._startInput&&!this._startInput.isEmpty()}_handleChildValueChange(){this.stateChanges.next(void 0),this._changeDetectorRef.markForCheck()}_openDatepicker(){this._rangePicker&&this._rangePicker.open()}_shouldHideSeparator(){return(!this._formField||this._formField.getLabelId()&&!this._formField._shouldLabelFloat())&&this.empty}_getAriaLabelledby(){const be=this._formField;return be&&be._hasFloatingLabel()?be._labelId:null}_getStartDateAccessibleName(){return this._startInput._getAccessibleName()}_getEndDateAccessibleName(){return this._endInput._getAccessibleName()}_updateFocus(be){this.focused=null!==be,this.stateChanges.next()}_revalidate(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}_registerModel(be){this._startInput&&this._startInput._registerModel(be),this._endInput&&this._endInput._registerModel(be)}}Wt.\u0275fac=function(be){return new(be||Wt)(l.Y36(l.sBO),l.Y36(l.SBq),l.Y36(he.gN,10),l.Y36(P._A,8),l.Y36(se.G_,8))},Wt.\u0275cmp=l.Xpm({type:Wt,selectors:[["mat-date-range-input"]],contentQueries:function(be,ke,ft){if(1&be&&(l.Suo(ft,xt,5),l.Suo(ft,Qe,5)),2&be){let St;l.iGM(St=l.CRH())&&(ke._startInput=St.first),l.iGM(St=l.CRH())&&(ke._endInput=St.first)}},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(be,ke){2&be&&(l.uIk("id",ke.id)("aria-labelledby",ke._getAriaLabelledby())("aria-describedby",ke._ariaDescribedBy)("data-mat-calendar",ke.rangePicker?ke.rangePicker.id:null),l.ekj("mat-date-range-input-hide-placeholders",ke._shouldHidePlaceholders())("mat-date-range-input-required",ke.required))},inputs:{rangePicker:"rangePicker",required:"required",dateFilter:"dateFilter",min:"min",max:"max",disabled:"disabled",separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},exportAs:["matDateRangeInput"],features:[l._Bn([{provide:se.Eo,useExisting:Wt},{provide:Ai,useExisting:Wt}]),l.TTD],ngContentSelectors:["input[matStartDate]","input[matEndDate]"],decls:11,vars:5,consts:[["cdkMonitorSubtreeFocus","",1,"mat-date-range-input-container",3,"cdkFocusChange"],[1,"mat-date-range-input-wrapper"],["aria-hidden","true",1,"mat-date-range-input-mirror"],[1,"mat-date-range-input-separator"],[1,"mat-date-range-input-wrapper","mat-date-range-input-end-wrapper"]],template:function(be,ke){1&be&&(l.F$t(Y),l.TgZ(0,"div",0),l.NdJ("cdkFocusChange",function(St){return ke._updateFocus(St)}),l.TgZ(1,"div",1),l.Hsn(2),l.TgZ(3,"span",2),l._uU(4),l.qZA()(),l.TgZ(5,"span",3),l._uU(6),l.qZA(),l.TgZ(7,"div",4),l.Hsn(8,1),l.TgZ(9,"span",2),l._uU(10),l.qZA()()()),2&be&&(l.xp6(4),l.Oqu(ke._getInputMirrorValue("start")),l.xp6(1),l.ekj("mat-date-range-input-separator-hidden",ke._shouldHideSeparator()),l.xp6(1),l.Oqu(ke.separator),l.xp6(4),l.Oqu(ke._getInputMirrorValue("end")))},dependencies:[e.kH],styles:[".mat-date-range-input{display:block;width:100%}.mat-date-range-input-container{display:flex;align-items:center}.mat-date-range-input-separator{transition:opacity 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);margin:0 4px}._mat-animation-noopable .mat-date-range-input-separator{transition:none}.mat-date-range-input-separator-hidden{-webkit-user-select:none;user-select:none;opacity:0;transition:none}.mat-date-range-input-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-end-wrapper{flex-grow:1}.mat-date-range-input-inner{position:absolute;top:0;left:0;font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;vertical-align:bottom;text-align:inherit;-webkit-appearance:none;width:100%;height:100%}.mat-date-range-input-inner:-moz-ui-invalid{box-shadow:none}.mat-date-range-input-inner::placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-moz-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-webkit-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner:-ms-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-date-range-input-inner::placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-moz-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner:-ms-input-placeholder{transition:none}.mat-date-range-input-mirror{-webkit-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-mdc-form-field-type-mat-date-range-input .mat-mdc-form-field-infix{width:200px}"],encapsulation:2,changeDetection:0});class Xt extends Et{_forwardContentValues(be){super._forwardContentValues(be);const ke=this.datepickerInput;ke&&(be.comparisonStart=ke.comparisonStart,be.comparisonEnd=ke.comparisonEnd,be.startDateAccessibleName=ke._getStartDateAccessibleName(),be.endDateAccessibleName=ke._getEndDateAccessibleName())}}Xt.\u0275fac=function(){let ti;return function(ke){return(ti||(ti=l.n5z(Xt)))(ke||Xt)}}(),Xt.\u0275cmp=l.Xpm({type:Xt,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[l._Bn([ze,qe,{provide:Et,useExisting:Xt}]),l.qOj],decls:0,vars:0,template:function(be,ke){},encapsulation:2,changeDetection:0});class _i{constructor(be){this._datepicker=be}_applySelection(){this._datepicker._applyPendingSelection(),this._datepicker.close()}}_i.\u0275fac=function(be){return new(be||_i)(l.Y36(Et))},_i.\u0275dir=l.lG2({type:_i,selectors:[["","matDatepickerApply",""],["","matDateRangePickerApply",""]],hostBindings:function(be,ke){1&be&&l.NdJ("click",function(){return ke._applySelection()})}});class Oi{constructor(be){this._datepicker=be}}Oi.\u0275fac=function(be){return new(be||Oi)(l.Y36(Et))},Oi.\u0275dir=l.lG2({type:Oi,selectors:[["","matDatepickerCancel",""],["","matDateRangePickerCancel",""]],hostBindings:function(be,ke){1&be&&l.NdJ("click",function(){return ke._datepicker.close()})}});class ki{constructor(be,ke){this._datepicker=be,this._viewContainerRef=ke}ngAfterViewInit(){this._portal=new _.UE(this._template,this._viewContainerRef),this._datepicker.registerActions(this._portal)}ngOnDestroy(){this._datepicker.removeActions(this._portal),this._portal&&this._portal.isAttached&&this._portal?.detach()}}ki.\u0275fac=function(be){return new(be||ki)(l.Y36(Et),l.Y36(l.s_b))},ki.\u0275cmp=l.Xpm({type:ki,selectors:[["mat-datepicker-actions"],["mat-date-range-picker-actions"]],viewQuery:function(be,ke){if(1&be&&l.Gf(l.Rgc,5),2&be){let ft;l.iGM(ft=l.CRH())&&(ke._template=ft.first)}},ngContentSelectors:m,decls:1,vars:0,consts:[[1,"mat-datepicker-actions"]],template:function(be,ke){1&be&&(l.F$t(),l.YNc(0,Ce,2,0,"ng-template"))},styles:[".mat-datepicker-actions{display:flex;justify-content:flex-end;align-items:center;padding:0 8px 8px 8px}.mat-datepicker-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0});class Ki{}Ki.\u0275fac=function(be){return new(be||Ki)},Ki.\u0275mod=l.oAB({type:Ki}),Ki.\u0275inj=l.cJS({providers:[dt,ue],imports:[O.ez,C.ot,t.U8,e.rt,_.eL,P.BQ,u.ZD]})},4481:(Ye,J,f)=>{"use strict";f.d(J,{WI:()=>dt,Bq:()=>Ke,uw:()=>ye,ZT:()=>ie,Is:()=>ze,so:()=>Ce});var e=f(5895),t=f(4666),_=f(2560),O=f(4218),l_CLOSING="mdc-dialog--closing",l_OPEN="mdc-dialog--open",l_OPENING="mdc-dialog--opening",u_DIALOG_ANIMATION_CLOSE_TIME_MS=(["textarea",".mdc-menu .mdc-list-item",".mdc-menu .mdc-deprecated-list-item"].join(", "),75),u_DIALOG_ANIMATION_OPEN_TIME_MS=150,P=f(9107),p=f(7520),L=f(8456),D=f(253),k=f(1954),M=f(745),z=f(2867),A=f(4874);function W(at,qe){}class Z{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0}}class $ extends p.en{constructor(qe,it,ii,bt,st,Be,rt,Ot){super(),this._elementRef=qe,this._focusTrapFactory=it,this._config=bt,this._interactivityChecker=st,this._ngZone=Be,this._overlayRef=rt,this._focusMonitor=Ot,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=Gt=>{this._portalOutlet.hasAttached();const kt=this._portalOutlet.attachDomPortal(Gt);return this._contentAttached(),kt},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=ii}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(qe){this._portalOutlet.hasAttached();const it=this._portalOutlet.attachComponentPortal(qe);return this._contentAttached(),it}attachTemplatePortal(qe){this._portalOutlet.hasAttached();const it=this._portalOutlet.attachTemplatePortal(qe);return this._contentAttached(),it}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(qe,it){this._interactivityChecker.isFocusable(qe)||(qe.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const ii=()=>{qe.removeEventListener("blur",ii),qe.removeEventListener("mousedown",ii),qe.removeAttribute("tabindex")};qe.addEventListener("blur",ii),qe.addEventListener("mousedown",ii)})),qe.focus(it)}_focusByCssSelector(qe,it){let ii=this._elementRef.nativeElement.querySelector(qe);ii&&this._forceFocus(ii,it)}_trapFocus(){const qe=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||qe.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(it=>{it||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 qe=this._config.restoreFocus;let it=null;if("string"==typeof qe?it=this._document.querySelector(qe):"boolean"==typeof qe?it=qe?this._elementFocusedBeforeDialogWasOpened:null:qe&&(it=qe),this._config.restoreFocus&&it&&"function"==typeof it.focus){const ii=(0,P.ht)(),bt=this._elementRef.nativeElement;(!ii||ii===this._document.body||ii===bt||bt.contains(ii))&&(this._focusMonitor?(this._focusMonitor.focusVia(it,this._closeInteractionType),this._closeInteractionType=null):it.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const qe=this._elementRef.nativeElement,it=(0,P.ht)();return qe===it||qe.contains(it)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,P.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}$.\u0275fac=function(qe){return new(qe||$)(_.Y36(_.SBq),_.Y36(O.qV),_.Y36(t.K0,8),_.Y36(Z),_.Y36(O.ic),_.Y36(_.R0b),_.Y36(e.Iu),_.Y36(O.tE))},$.\u0275cmp=_.Xpm({type:$,selectors:[["cdk-dialog-container"]],viewQuery:function(qe,it){if(1&qe&&_.Gf(p.Pl,7),2&qe){let ii;_.iGM(ii=_.CRH())&&(it._portalOutlet=ii.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(qe,it){2&qe&&_.uIk("id",it._config.id||null)("role",it._config.role)("aria-modal",it._config.ariaModal)("aria-labelledby",it._config.ariaLabel?null:it._ariaLabelledBy)("aria-label",it._config.ariaLabel)("aria-describedby",it._config.ariaDescribedBy||null)},features:[_.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(qe,it){1&qe&&_.YNc(0,W,0,0,"ng-template",0)},dependencies:[p.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2});class ae{constructor(qe,it){this.overlayRef=qe,this.config=it,this.closed=new D.x,this.disableClose=it.disableClose,this.backdropClick=qe.backdropClick(),this.keydownEvents=qe.keydownEvents(),this.outsidePointerEvents=qe.outsidePointerEvents(),this.id=it.id,this.keydownEvents.subscribe(ii=>{ii.keyCode===L.hY&&!this.disableClose&&!(0,L.Vb)(ii)&&(ii.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(qe,it){if(this.containerInstance){const ii=this.closed;this.containerInstance._closeInteractionType=it?.focusOrigin||"program",this.overlayRef.dispose(),ii.next(qe),ii.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(qe="",it=""){return this.overlayRef.updateSize({width:qe,height:it}),this}addPanelClass(qe){return this.overlayRef.addPanelClass(qe),this}removePanelClass(qe){return this.overlayRef.removePanelClass(qe),this}}const he=new _.OlP("DialogScrollStrategy"),se=new _.OlP("DialogData"),pe=new _.OlP("DefaultDialogConfig");const re={provide:he,deps:[e.aV],useFactory:function le(at){return()=>at.scrollStrategies.block()}};let fe=0;class T{constructor(qe,it,ii,bt,st,Be){this._overlay=qe,this._injector=it,this._defaultOptions=ii,this._parentDialog=bt,this._overlayContainer=st,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new D.x,this._afterOpenedAtThisLevel=new D.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,k.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,A.O)(void 0))),this._scrollStrategy=Be}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(qe,it){(it={...this._defaultOptions||new Z,...it}).id=it.id||"cdk-dialog-"+fe++,it.id&&this.getDialogById(it.id);const bt=this._getOverlayConfig(it),st=this._overlay.create(bt),Be=new ae(st,it),rt=this._attachContainer(st,Be,it);return Be.containerInstance=rt,this._attachDialogContent(qe,Be,rt,it),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Be),Be.closed.subscribe(()=>this._removeOpenDialog(Be,!0)),this.afterOpened.next(Be),Be}closeAll(){i(this.openDialogs,qe=>qe.close())}getDialogById(qe){return this.openDialogs.find(it=>it.id===qe)}ngOnDestroy(){i(this._openDialogsAtThisLevel,qe=>{!1===qe.config.closeOnDestroy&&this._removeOpenDialog(qe,!1)}),i(this._openDialogsAtThisLevel,qe=>qe.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(qe){const it=new e.X_({positionStrategy:qe.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:qe.scrollStrategy||this._scrollStrategy(),panelClass:qe.panelClass,hasBackdrop:qe.hasBackdrop,direction:qe.direction,minWidth:qe.minWidth,minHeight:qe.minHeight,maxWidth:qe.maxWidth,maxHeight:qe.maxHeight,width:qe.width,height:qe.height,disposeOnNavigation:qe.closeOnNavigation});return qe.backdropClass&&(it.backdropClass=qe.backdropClass),it}_attachContainer(qe,it,ii){const bt=ii.injector||ii.viewContainerRef?.injector,st=[{provide:Z,useValue:ii},{provide:ae,useValue:it},{provide:e.Iu,useValue:qe}];let Be;ii.container?"function"==typeof ii.container?Be=ii.container:(Be=ii.container.type,st.push(...ii.container.providers(ii))):Be=$;const rt=new p.C5(Be,ii.viewContainerRef,_.zs3.create({parent:bt||this._injector,providers:st}),ii.componentFactoryResolver);return qe.attach(rt).instance}_attachDialogContent(qe,it,ii,bt){if(qe instanceof _.Rgc){const st=this._createInjector(bt,it,ii,void 0);let Be={$implicit:bt.data,dialogRef:it};bt.templateContext&&(Be={...Be,..."function"==typeof bt.templateContext?bt.templateContext():bt.templateContext}),ii.attachTemplatePortal(new p.UE(qe,null,Be,st))}else{const st=this._createInjector(bt,it,ii,this._injector),Be=ii.attachComponentPortal(new p.C5(qe,bt.viewContainerRef,st,bt.componentFactoryResolver));it.componentInstance=Be.instance}}_createInjector(qe,it,ii,bt){const st=qe.injector||qe.viewContainerRef?.injector,Be=[{provide:se,useValue:qe.data},{provide:ae,useValue:it}];return qe.providers&&("function"==typeof qe.providers?Be.push(...qe.providers(it,qe,ii)):Be.push(...qe.providers)),qe.direction&&(!st||!st.get(z.Is,null,{optional:!0}))&&Be.push({provide:z.Is,useValue:{value:qe.direction,change:(0,M.of)()}}),_.zs3.create({parent:st||bt,providers:Be})}_removeOpenDialog(qe,it){const ii=this.openDialogs.indexOf(qe);ii>-1&&(this.openDialogs.splice(ii,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((bt,st)=>{bt?st.setAttribute("aria-hidden",bt):st.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),it&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const qe=this._overlayContainer.getContainerElement();if(qe.parentElement){const it=qe.parentElement.children;for(let ii=it.length-1;ii>-1;ii--){const bt=it[ii];bt!==qe&&"SCRIPT"!==bt.nodeName&&"STYLE"!==bt.nodeName&&!bt.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(bt,bt.getAttribute("aria-hidden")),bt.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const qe=this._parentDialog;return qe?qe._getAfterAllClosed():this._afterAllClosedAtThisLevel}}function i(at,qe){let it=at.length;for(;it--;)qe(at[it])}T.\u0275fac=function(qe){return new(qe||T)(_.LFG(e.aV),_.LFG(_.zs3),_.LFG(pe,8),_.LFG(T,12),_.LFG(e.Xj),_.LFG(he))},T.\u0275prov=_.Yz7({token:T,factory:T.\u0275fac});class o{}o.\u0275fac=function(qe){return new(qe||o)},o.\u0275mod=_.oAB({type:o}),o.\u0275inj=_.cJS({providers:[T,re],imports:[e.U8,p.eL,O.rt,p.eL]});var m=f(8971),h=f(6646),x=f(116),I=f(9295),R=f(207),g=f(4851);function r(at,qe){}class w{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}}class V extends ${constructor(qe,it,ii,bt,st,Be,rt,Ot){super(qe,it,ii,bt,st,Be,rt,Ot),this._animationStateChanged=new _.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(qe){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:qe})}}V.\u0275fac=function(qe){return new(qe||V)(_.Y36(_.SBq),_.Y36(O.qV),_.Y36(t.K0,8),_.Y36(w),_.Y36(O.ic),_.Y36(_.R0b),_.Y36(e.Iu),_.Y36(O.tE))},V.\u0275cmp=_.Xpm({type:V,selectors:[["ng-component"]],features:[_.qOj],decls:0,vars:0,template:function(qe,it){},encapsulation:2});const N="--mat-dialog-transition-duration";function Y(at){return null==at?null:"number"==typeof at?at:at.endsWith("ms")?(0,m.su)(at.substring(0,at.length-2)):at.endsWith("s")?1e3*(0,m.su)(at.substring(0,at.length-1)):"0"===at?0:null}class Pe extends V{constructor(qe,it,ii,bt,st,Be,rt,Ot,Gt){super(qe,it,ii,bt,st,Be,rt,Gt),this._animationMode=Ot,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._openAnimationDuration=this._animationsEnabled?Y(this._config.enterAnimationDuration)??u_DIALOG_ANIMATION_OPEN_TIME_MS:0,this._closeAnimationDuration=this._animationsEnabled?Y(this._config.exitAnimationDuration)??u_DIALOG_ANIMATION_CLOSE_TIME_MS:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._openAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._closeAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._openAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(N,`${this._openAnimationDuration}ms`),this._hostElement.classList.add(l_OPENING),this._hostElement.classList.add(l_OPEN),this._waitForAnimationToComplete(this._openAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(l_OPEN),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._closeAnimationDuration}),this._hostElement.classList.remove(l_OPEN),this._animationsEnabled?(this._hostElement.style.setProperty(N,`${this._openAnimationDuration}ms`),this._hostElement.classList.add(l_CLOSING),this._waitForAnimationToComplete(this._closeAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(l_OPENING),this._hostElement.classList.remove(l_CLOSING)}_waitForAnimationToComplete(qe,it){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(it,qe)}}Pe.\u0275fac=function(qe){return new(qe||Pe)(_.Y36(_.SBq),_.Y36(O.qV),_.Y36(t.K0,8),_.Y36(w),_.Y36(O.ic),_.Y36(_.R0b),_.Y36(e.Iu),_.Y36(_.QbO,8),_.Y36(O.tE))},Pe.\u0275cmp=_.Xpm({type:Pe,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(qe,it){2&qe&&(_.Ikx("id",it._config.id),_.uIk("aria-modal",it._config.ariaModal)("role",it._config.role)("aria-labelledby",it._config.ariaLabel?null:it._ariaLabelledBy)("aria-label",it._config.ariaLabel)("aria-describedby",it._config.ariaDescribedBy||null),_.ekj("_mat-animation-noopable",!it._animationsEnabled))},features:[_.qOj],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(qe,it){1&qe&&(_.TgZ(0,"div",0)(1,"div",1),_.YNc(2,r,0,0,"ng-template",2),_.qZA()())},dependencies:[p.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});class Ce{constructor(qe,it,ii){this._ref=qe,this._containerInstance=ii,this._afterOpened=new D.x,this._beforeClosed=new D.x,this._state=0,this.disableClose=it.disableClose,this.id=qe.id,ii._animationStateChanged.pipe((0,x.h)(bt=>"opened"===bt.state),(0,I.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),ii._animationStateChanged.pipe((0,x.h)(bt=>"closed"===bt.state),(0,I.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),qe.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,h.T)(this.backdropClick(),this.keydownEvents().pipe((0,x.h)(bt=>bt.keyCode===L.hY&&!this.disableClose&&!(0,L.Vb)(bt)))).subscribe(bt=>{this.disableClose||(bt.preventDefault(),Xe(this,"keydown"===bt.type?"keyboard":"mouse"))})}close(qe){this._result=qe,this._containerInstance._animationStateChanged.pipe((0,x.h)(it=>"closing"===it.state),(0,I.q)(1)).subscribe(it=>{this._beforeClosed.next(qe),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),it.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(qe){let it=this._ref.config.positionStrategy;return qe&&(qe.left||qe.right)?qe.left?it.left(qe.left):it.right(qe.right):it.centerHorizontally(),qe&&(qe.top||qe.bottom)?qe.top?it.top(qe.top):it.bottom(qe.bottom):it.centerVertically(),this._ref.updatePosition(),this}updateSize(qe="",it=""){return this._ref.updateSize(qe,it),this}addPanelClass(qe){return this._ref.addPanelClass(qe),this}removePanelClass(qe){return this._ref.removePanelClass(qe),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function Xe(at,qe,it){return at._closeInteractionType=qe,at.close(it)}const dt=new _.OlP("MatMdcDialogData"),Ke=new _.OlP("mat-mdc-dialog-default-options"),ge=new _.OlP("mat-mdc-dialog-scroll-strategy");const Oe={provide:ge,deps:[e.aV],useFactory:function $e(at){return()=>at.scrollStrategies.block()}};let De=0;class Ue{constructor(qe,it,ii,bt,st,Be,rt,Ot,Gt,kt){this._overlay=qe,this._defaultOptions=ii,this._parentDialog=bt,this._dialogRefConstructor=rt,this._dialogContainerType=Ot,this._dialogDataToken=Gt,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new D.x,this._afterOpenedAtThisLevel=new D.x,this._idPrefix="mat-dialog-",this.dialogConfigClass=w,this.afterAllClosed=(0,k.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,A.O)(void 0))),this._scrollStrategy=Be,this._dialog=it.get(T)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const qe=this._parentDialog;return qe?qe._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(qe,it){let ii;(it={...this._defaultOptions||new w,...it}).id=it.id||`${this._idPrefix}${De++}`,it.scrollStrategy=it.scrollStrategy||this._scrollStrategy();const bt=this._dialog.open(qe,{...it,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:it},{provide:Z,useValue:it}]},templateContext:()=>({dialogRef:ii}),providers:(st,Be,rt)=>(ii=new this._dialogRefConstructor(st,it,rt),ii.updatePosition(it?.position),[{provide:this._dialogContainerType,useValue:rt},{provide:this._dialogDataToken,useValue:Be.data},{provide:this._dialogRefConstructor,useValue:ii}])});return ii.componentInstance=bt.componentInstance,this.openDialogs.push(ii),this.afterOpened.next(ii),ii.afterClosed().subscribe(()=>{const st=this.openDialogs.indexOf(ii);st>-1&&(this.openDialogs.splice(st,1),this.openDialogs.length||this._getAfterAllClosed().next())}),ii}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(qe){return this.openDialogs.find(it=>it.id===qe)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(qe){let it=qe.length;for(;it--;)qe[it].close()}}Ue.\u0275fac=function(qe){_.$Z()},Ue.\u0275prov=_.Yz7({token:Ue,factory:Ue.\u0275fac});class ye extends Ue{constructor(qe,it,ii,bt,st,Be,rt,Ot){super(qe,it,bt,Be,rt,st,Ce,Pe,dt,Ot),this._idPrefix="mat-mdc-dialog-"}}ye.\u0275fac=function(qe){return new(qe||ye)(_.LFG(e.aV),_.LFG(_.zs3),_.LFG(t.Ye,8),_.LFG(Ke,8),_.LFG(ge),_.LFG(ye,12),_.LFG(e.Xj),_.LFG(_.QbO,8))},ye.\u0275prov=_.Yz7({token:ye,factory:ye.\u0275fac});let we=0;class ie{constructor(qe,it,ii){this.dialogRef=qe,this._elementRef=it,this._dialog=ii,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=ee(this._elementRef,this._dialog.openDialogs))}ngOnChanges(qe){const it=qe._matDialogClose||qe._matDialogCloseResult;it&&(this.dialogResult=it.currentValue)}_onButtonClick(qe){Xe(this.dialogRef,0===qe.screenX&&0===qe.screenY?"keyboard":"mouse",this.dialogResult)}}ie.\u0275fac=function(qe){return new(qe||ie)(_.Y36(Ce,8),_.Y36(_.SBq),_.Y36(ye))},ie.\u0275dir=_.lG2({type:ie,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(qe,it){1&qe&&_.NdJ("click",function(bt){return it._onButtonClick(bt)}),2&qe&&_.uIk("aria-label",it.ariaLabel||null)("type",it.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[_.TTD]});class Se{constructor(qe,it,ii){this._dialogRef=qe,this._elementRef=it,this._dialog=ii,this.id="mat-mdc-dialog-title-"+we++}ngOnInit(){this._dialogRef||(this._dialogRef=ee(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const qe=this._dialogRef._containerInstance;qe&&!qe._ariaLabelledBy&&(qe._ariaLabelledBy=this.id)})}}Se.\u0275fac=function(qe){return new(qe||Se)(_.Y36(Ce,8),_.Y36(_.SBq),_.Y36(ye))},Se.\u0275dir=_.lG2({type:Se,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(qe,it){2&qe&&_.Ikx("id",it.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]});class ne{}ne.\u0275fac=function(qe){return new(qe||ne)},ne.\u0275dir=_.lG2({type:ne,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]});class K{constructor(){this.align="start"}}function ee(at,qe){let it=at.nativeElement.parentElement;for(;it&&!it.classList.contains("mat-mdc-dialog-container");)it=it.parentElement;return it?qe.find(ii=>ii.id===it.id):null}K.\u0275fac=function(qe){return new(qe||K)},K.\u0275dir=_.lG2({type:K,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function(qe,it){2&qe&&_.ekj("mat-mdc-dialog-actions-align-center","center"===it.align)("mat-mdc-dialog-actions-align-end","end"===it.align)},inputs:{align:"align"}});class ze{}ze.\u0275fac=function(qe){return new(qe||ze)},ze.\u0275mod=_.oAB({type:ze}),ze.\u0275inj=_.cJS({providers:[ye,Oe],imports:[o,e.U8,p.eL,R.BQ,R.BQ]});const Ve={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}};(0,g.X$)("dialogContainer",[(0,g.SB)("void, exit",(0,g.oB)({opacity:0,transform:"scale(0.7)"})),(0,g.SB)("enter",(0,g.oB)({transform:"none"})),(0,g.eR)("* => enter",(0,g.ru)([(0,g.jt)("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",(0,g.oB)({transform:"none",opacity:1})),(0,g.IO)("@*",(0,g.pV)(),{optional:!0})]),Ve),(0,g.eR)("* => void, * => exit",(0,g.ru)([(0,g.jt)("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",(0,g.oB)({opacity:0})),(0,g.IO)("@*",(0,g.pV)(),{optional:!0})]),Ve)])},1528:(Ye,J,f)=>{"use strict";f.d(J,{d:()=>O,t:()=>l});var e=f(2560),t=f(8971),_=f(207);class O{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(u){this._vertical=(0,t.Ig)(u)}get inset(){return this._inset}set inset(u){this._inset=(0,t.Ig)(u)}}O.\u0275fac=function(u){return new(u||O)},O.\u0275cmp=e.Xpm({type:O,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(u,P){2&u&&(e.uIk("aria-orientation",P.vertical?"vertical":"horizontal"),e.ekj("mat-divider-vertical",P.vertical)("mat-divider-horizontal",!P.vertical)("mat-divider-inset",P.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(u,P){},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});class l{}l.\u0275fac=function(u){return new(u||l)},l.\u0275mod=e.oAB({type:l}),l.\u0275inj=e.cJS({imports:[_.BQ,_.BQ]})},3012:(Ye,J,f)=>{"use strict";f.d(J,{pp:()=>Ke,To:()=>ge,ib:()=>V,u4:()=>Xe,yz:()=>Ce,yK:()=>dt});var e=f(2560),t=f(1755),_=f(8971),O=f(253),l=f(7714);let C=0;const u=new e.OlP("CdkAccordion");class P{constructor(){this._stateChanges=new O.x,this._openCloseAllActions=new O.x,this.id="cdk-accordion-"+C++,this._multi=!1}get multi(){return this._multi}set multi(Oe){this._multi=(0,_.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()}}P.\u0275fac=function(Oe){return new(Oe||P)},P.\u0275dir=e.lG2({type:P,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[e._Bn([{provide:u,useExisting:P}]),e.TTD]});let p=0;class L{constructor(Oe,Me,De){this.accordion=Oe,this._changeDetectorRef=Me,this._expansionDispatcher=De,this._openCloseAllSubscription=l.w0.EMPTY,this.closed=new e.vpe,this.opened=new e.vpe,this.destroyed=new e.vpe,this.expandedChange=new e.vpe,this.id="cdk-accordion-child-"+p++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=De.listen((Ue,ye)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===ye&&this.id!==Ue&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(Oe){if(Oe=(0,_.Ig)(Oe),this._expanded!==Oe){if(this._expanded=Oe,this.expandedChange.emit(Oe),Oe){this.opened.emit();const Me=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,Me)}else this.closed.emit();this._changeDetectorRef.markForCheck()}}get disabled(){return this._disabled}set disabled(Oe){this._disabled=(0,_.Ig)(Oe)}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)})}}L.\u0275fac=function(Oe){return new(Oe||L)(e.Y36(u,12),e.Y36(e.sBO),e.Y36(t.A8))},L.\u0275dir=e.lG2({type:L,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[e._Bn([{provide:u,useValue:void 0}])]});class D{}D.\u0275fac=function(Oe){return new(Oe||D)},D.\u0275mod=e.oAB({type:D}),D.\u0275inj=e.cJS({});var k=f(7520),M=f(4666),z=f(207),A=f(4218),W=f(8977),Z=f(4874),X=f(116),$=f(9295),ae=f(8456),he=f(591),se=f(6646),pe=f(4851);const le=["body"];function re($e,Oe){}const fe=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]];function i($e,Oe){if(1&$e&&e._UZ(0,"span",2),2&$e){const Me=e.oxw();e.Q6J("@indicatorRotate",Me._getExpandedState())}}const o=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],h=new e.OlP("MAT_ACCORDION"),x="225ms cubic-bezier(0.4,0.0,0.2,1)",I={indicatorRotate:(0,pe.X$)("indicatorRotate",[(0,pe.SB)("collapsed, void",(0,pe.oB)({transform:"rotate(0deg)"})),(0,pe.SB)("expanded",(0,pe.oB)({transform:"rotate(180deg)"})),(0,pe.eR)("expanded <=> collapsed, void => collapsed",(0,pe.jt)(x))]),bodyExpansion:(0,pe.X$)("bodyExpansion",[(0,pe.SB)("collapsed, void",(0,pe.oB)({height:"0px",visibility:"hidden"})),(0,pe.SB)("expanded",(0,pe.oB)({height:"*",visibility:"visible"})),(0,pe.eR)("expanded <=> collapsed, void => collapsed",(0,pe.jt)(x))])},R=new e.OlP("MAT_EXPANSION_PANEL");class g{constructor(Oe,Me){this._template=Oe,this._expansionPanel=Me}}g.\u0275fac=function(Oe){return new(Oe||g)(e.Y36(e.Rgc),e.Y36(R,8))},g.\u0275dir=e.lG2({type:g,selectors:[["ng-template","matExpansionPanelContent",""]]});let r=0;const w=new e.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");class V extends L{constructor(Oe,Me,De,Ue,ye,we,ie){super(Oe,Me,De),this._viewContainerRef=Ue,this._animationMode=we,this._hideToggle=!1,this.afterExpand=new e.vpe,this.afterCollapse=new e.vpe,this._inputChanges=new O.x,this._headerId="mat-expansion-panel-header-"+r++,this._bodyAnimationDone=new O.x,this.accordion=Oe,this._document=ye,this._bodyAnimationDone.pipe((0,W.x)((Se,ne)=>Se.fromState===ne.fromState&&Se.toState===ne.toState)).subscribe(Se=>{"void"!==Se.fromState&&("expanded"===Se.toState?this.afterExpand.emit():"collapsed"===Se.toState&&this.afterCollapse.emit())}),ie&&(this.hideToggle=ie.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(Oe){this._hideToggle=(0,_.Ig)(Oe)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(Oe){this._togglePosition=Oe}_hasSpacing(){return!!this.accordion&&(this.expanded&&"default"===this.accordion.displayMode)}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe((0,Z.O)(null),(0,X.h)(()=>this.expanded&&!this._portal),(0,$.q)(1)).subscribe(()=>{this._portal=new k.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,Me=this._body.nativeElement;return Oe===Me||Me.contains(Oe)}return!1}}V.\u0275fac=function(Oe){return new(Oe||V)(e.Y36(h,12),e.Y36(e.sBO),e.Y36(t.A8),e.Y36(e.s_b),e.Y36(M.K0),e.Y36(e.QbO,8),e.Y36(w,8))},V.\u0275cmp=e.Xpm({type:V,selectors:[["mat-expansion-panel"]],contentQueries:function(Oe,Me,De){if(1&Oe&&e.Suo(De,g,5),2&Oe){let Ue;e.iGM(Ue=e.CRH())&&(Me._lazyContent=Ue.first)}},viewQuery:function(Oe,Me){if(1&Oe&&e.Gf(le,5),2&Oe){let De;e.iGM(De=e.CRH())&&(Me._body=De.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(Oe,Me){2&Oe&&e.ekj("mat-expanded",Me.expanded)("_mat-animation-noopable","NoopAnimations"===Me._animationMode)("mat-expansion-panel-spacing",Me._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[e._Bn([{provide:h,useValue:void 0},{provide:R,useExisting:V}]),e.qOj,e.TTD],ngContentSelectors:["mat-expansion-panel-header","*","mat-action-row"],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,Me){1&Oe&&(e.F$t(fe),e.Hsn(0),e.TgZ(1,"div",0,1),e.NdJ("@bodyExpansion.done",function(Ue){return Me._bodyAnimationDone.next(Ue)}),e.TgZ(3,"div",2),e.Hsn(4,1),e.YNc(5,re,0,0,"ng-template",3),e.qZA(),e.Hsn(6,2),e.qZA()),2&Oe&&(e.xp6(1),e.Q6J("@bodyExpansion",Me._getExpandedState())("id",Me.id),e.uIk("aria-labelledby",Me._headerId),e.xp6(4),e.Q6J("cdkPortalOutlet",Me._portal))},dependencies:[k.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:[I.bodyExpansion]},changeDetection:0});class N{}N.\u0275fac=function(Oe){return new(Oe||N)},N.\u0275dir=e.lG2({type:N,selectors:[["mat-action-row"]],hostAttrs:[1,"mat-action-row"]});const Pe=(0,z.sb)(class Y{});class Ce extends Pe{constructor(Oe,Me,De,Ue,ye,we,ie){super(),this.panel=Oe,this._element=Me,this._focusMonitor=De,this._changeDetectorRef=Ue,this._animationMode=we,this._parentChangeSubscription=l.w0.EMPTY;const Se=Oe.accordion?Oe.accordion._stateChanges.pipe((0,X.h)(ne=>!(!ne.hideToggle&&!ne.togglePosition))):he.E;this.tabIndex=parseInt(ie||"")||0,this._parentChangeSubscription=(0,se.T)(Oe.opened,Oe.closed,Se,Oe._inputChanges.pipe((0,X.h)(ne=>!!(ne.hideToggle||ne.disabled||ne.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),Oe.closed.pipe((0,X.h)(()=>Oe._containsFocus())).subscribe(()=>De.focusVia(Me,"program")),ye&&(this.expandedHeight=ye.expandedHeight,this.collapsedHeight=ye.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const Oe=this._isExpanded();return Oe&&this.expandedHeight?this.expandedHeight:!Oe&&this.collapsedHeight?this.collapsedHeight:null}_keydown(Oe){switch(Oe.keyCode){case ae.L_:case ae.K5:(0,ae.Vb)(Oe)||(Oe.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(Oe))}}focus(Oe,Me){Oe?this._focusMonitor.focusVia(this._element,Oe,Me):this._element.nativeElement.focus(Me)}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)}}Ce.\u0275fac=function(Oe){return new(Oe||Ce)(e.Y36(V,1),e.Y36(e.SBq),e.Y36(A.tE),e.Y36(e.sBO),e.Y36(w,8),e.Y36(e.QbO,8),e.$8M("tabindex"))},Ce.\u0275cmp=e.Xpm({type:Ce,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(Oe,Me){1&Oe&&e.NdJ("click",function(){return Me._toggle()})("keydown",function(Ue){return Me._keydown(Ue)}),2&Oe&&(e.uIk("id",Me.panel._headerId)("tabindex",Me.tabIndex)("aria-controls",Me._getPanelId())("aria-expanded",Me._isExpanded())("aria-disabled",Me.panel.disabled),e.Udp("height",Me._getHeaderHeight()),e.ekj("mat-expanded",Me._isExpanded())("mat-expansion-toggle-indicator-after","after"===Me._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===Me._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===Me._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[e.qOj],ngContentSelectors:["mat-panel-title","mat-panel-description","*"],decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(Oe,Me){1&Oe&&(e.F$t(o),e.TgZ(0,"span",0),e.Hsn(1),e.Hsn(2,1),e.Hsn(3,2),e.qZA(),e.YNc(4,i,1,1,"span",1)),2&Oe&&(e.ekj("mat-content-hide-toggle",!Me._showToggle()),e.xp6(4),e.Q6J("ngIf",Me._showToggle()))},dependencies:[M.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:[I.indicatorRotate]},changeDetection:0});class Xe{}Xe.\u0275fac=function(Oe){return new(Oe||Xe)},Xe.\u0275dir=e.lG2({type:Xe,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]});class dt{}dt.\u0275fac=function(Oe){return new(Oe||dt)},dt.\u0275dir=e.lG2({type:dt,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]});class Ke extends P{constructor(){super(...arguments),this._ownHeaders=new e.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(Oe){this._hideToggle=(0,_.Ig)(Oe)}ngAfterContentInit(){this._headers.changes.pipe((0,Z.O)(this._headers)).subscribe(Oe=>{this._ownHeaders.reset(Oe.filter(Me=>Me.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new A.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()}}Ke.\u0275fac=function(){let $e;return function(Me){return($e||($e=e.n5z(Ke)))(Me||Ke)}}(),Ke.\u0275dir=e.lG2({type:Ke,selectors:[["mat-accordion"]],contentQueries:function(Oe,Me,De){if(1&Oe&&e.Suo(De,Ce,5),2&Oe){let Ue;e.iGM(Ue=e.CRH())&&(Me._headers=Ue)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(Oe,Me){2&Oe&&e.ekj("mat-accordion-multi",Me.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[e._Bn([{provide:h,useExisting:Ke}]),e.qOj]});class ge{}ge.\u0275fac=function(Oe){return new(Oe||ge)},ge.\u0275mod=e.oAB({type:ge}),ge.\u0275inj=e.cJS({imports:[M.ez,z.BQ,D,k.eL]})},5074:(Ye,J,f)=>{"use strict";f.d(J,{Eo:()=>we,G_:()=>K,KE:()=>it,R9:()=>Ke,TO:()=>N,bx:()=>Pe,hX:()=>r,lN:()=>ii});var e=f(2560),t=f(2867),_=f(9107),O=f(253),l=f(6646),C=f(8951),u=f(4666),P=f(8971),p=f(4851),L=f(3773),D=f(207);const z=["textField"],A=["iconPrefixContainer"],W=["textPrefixContainer"];function Z(bt,st){1&bt&&e._UZ(0,"span",19)}function X(bt,st){if(1&bt){const Be=e.EpF();e.TgZ(0,"label",17),e.NdJ("cdkObserveContent",function(){e.CHM(Be);const Ot=e.oxw(2);return e.KtG(Ot._refreshOutlineNotchWidth())}),e.Hsn(1,1),e.YNc(2,Z,1,0,"span",18),e.qZA()}if(2&bt){const Be=e.oxw(2);e.Q6J("floating",Be._shouldLabelFloat())("cdkObserveContentDisabled",!Be._hasOutline())("id",Be._labelId),e.uIk("for",Be._control.id)("aria-owns",Be._control.id),e.xp6(2),e.Q6J("ngIf",!Be.hideRequiredMarker&&Be._control.required)}}function $(bt,st){if(1&bt&&e.YNc(0,X,3,6,"label",16),2&bt){const Be=e.oxw();e.Q6J("ngIf",Be._hasFloatingLabel())}}function ae(bt,st){1&bt&&e._UZ(0,"div",20)}function he(bt,st){}function se(bt,st){if(1&bt&&e.YNc(0,he,0,0,"ng-template",22),2&bt){e.oxw(2);const Be=e.MAs(1);e.Q6J("ngTemplateOutlet",Be)}}function pe(bt,st){if(1&bt&&(e.TgZ(0,"div",21),e.YNc(1,se,1,1,"ng-template",9),e.qZA()),2&bt){const Be=e.oxw();e.Q6J("matFormFieldNotchedOutlineOpen",Be._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",Be._labelWidth),e.xp6(1),e.Q6J("ngIf",!Be._forceDisplayInfixLabel())}}function le(bt,st){1&bt&&(e.TgZ(0,"div",23,24),e.Hsn(2,2),e.qZA())}function re(bt,st){1&bt&&(e.TgZ(0,"div",25,26),e.Hsn(2,3),e.qZA())}function fe(bt,st){}function T(bt,st){if(1&bt&&e.YNc(0,fe,0,0,"ng-template",22),2&bt){e.oxw();const Be=e.MAs(1);e.Q6J("ngTemplateOutlet",Be)}}function i(bt,st){1&bt&&(e.TgZ(0,"div",27),e.Hsn(1,4),e.qZA())}function o(bt,st){1&bt&&(e.TgZ(0,"div",28),e.Hsn(1,5),e.qZA())}function m(bt,st){1&bt&&e._UZ(0,"div",29)}function h(bt,st){if(1&bt&&(e.TgZ(0,"div",30),e.Hsn(1,6),e.qZA()),2&bt){const Be=e.oxw();e.Q6J("@transitionMessages",Be._subscriptAnimationState)}}function x(bt,st){if(1&bt&&(e.TgZ(0,"mat-hint",34),e._uU(1),e.qZA()),2&bt){const Be=e.oxw(2);e.Q6J("id",Be._hintLabelId),e.xp6(1),e.Oqu(Be.hintLabel)}}function I(bt,st){if(1&bt&&(e.TgZ(0,"div",31),e.YNc(1,x,2,2,"mat-hint",32),e.Hsn(2,7),e._UZ(3,"div",33),e.Hsn(4,8),e.qZA()),2&bt){const Be=e.oxw();e.Q6J("@transitionMessages",Be._subscriptAnimationState),e.xp6(1),e.Q6J("ngIf",Be.hintLabel)}}const R=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]];class r{}r.\u0275fac=function(st){return new(st||r)},r.\u0275dir=e.lG2({type:r,selectors:[["mat-label"]]});let w=0;const V=new e.OlP("MatError");class N{constructor(st,Be){this.id="mat-mdc-error-"+w++,st||Be.nativeElement.setAttribute("aria-live","polite")}}N.\u0275fac=function(st){return new(st||N)(e.$8M("aria-live"),e.Y36(e.SBq))},N.\u0275dir=e.lG2({type:N,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(st,Be){2&st&&e.Ikx("id",Be.id)},inputs:{id:"id"},features:[e._Bn([{provide:V,useExisting:N}])]});let Y=0;class Pe{constructor(){this.align="start",this.id="mat-mdc-hint-"+Y++}}Pe.\u0275fac=function(st){return new(st||Pe)},Pe.\u0275dir=e.lG2({type:Pe,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(st,Be){2&st&&(e.Ikx("id",Be.id),e.uIk("align",null),e.ekj("mat-mdc-form-field-hint-end","end"===Be.align))},inputs:{align:"align",id:"id"}});const Ce=new e.OlP("MatPrefix");class Xe{constructor(){this._isText=!1}set _isTextSelector(st){this._isText=!0}}Xe.\u0275fac=function(st){return new(st||Xe)},Xe.\u0275dir=e.lG2({type:Xe,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:["matTextPrefix","_isTextSelector"]},features:[e._Bn([{provide:Ce,useExisting:Xe}])]});const dt=new e.OlP("MatSuffix");class Ke{constructor(){this._isText=!1}set _isTextSelector(st){this._isText=!0}}Ke.\u0275fac=function(st){return new(st||Ke)},Ke.\u0275dir=e.lG2({type:Ke,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[e._Bn([{provide:dt,useExisting:Ke}])]});class ge{constructor(st){this._elementRef=st,this.floating=!1}getWidth(){return function $e(bt){const st=bt;if(null!==st.offsetParent)return st.scrollWidth;const Be=st.cloneNode(!0);Be.style.setProperty("position","absolute"),Be.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(Be);const rt=Be.scrollWidth;return Be.remove(),rt}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}}ge.\u0275fac=function(st){return new(st||ge)(e.Y36(e.SBq))},ge.\u0275dir=e.lG2({type:ge,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(st,Be){2&st&&e.ekj("mdc-floating-label--float-above",Be.floating)},inputs:{floating:"floating"}});const Oe="mdc-line-ripple--active",Me="mdc-line-ripple--deactivating";class De{constructor(st,Be){this._elementRef=st,this._handleTransitionEnd=rt=>{const Ot=this._elementRef.nativeElement.classList,Gt=Ot.contains(Me);"opacity"===rt.propertyName&&Gt&&Ot.remove(Oe,Me)},Be.runOutsideAngular(()=>{st.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const st=this._elementRef.nativeElement.classList;st.remove(Me),st.add(Oe)}deactivate(){this._elementRef.nativeElement.classList.add(Me)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}De.\u0275fac=function(st){return new(st||De)(e.Y36(e.SBq),e.Y36(e.R0b))},De.\u0275dir=e.lG2({type:De,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]});class Ue{constructor(st,Be){this._elementRef=st,this._ngZone=Be,this.labelWidth=0,this.open=!1}ngAfterViewInit(){const st=this._elementRef.nativeElement.querySelector(".mdc-floating-label");st?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(st.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>st.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}}Ue.\u0275fac=function(st){return new(st||Ue)(e.Y36(e.SBq),e.Y36(e.R0b))},Ue.\u0275cmp=e.Xpm({type:Ue,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(st,Be){2&st&&e.ekj("mdc-notched-outline--notched",Be.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:["matFormFieldNotchedOutline",""],ngContentSelectors:["*"],decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(st,Be){1&st&&(e.F$t(),e._UZ(0,"div",0),e.TgZ(1,"div",1),e.Hsn(2),e.qZA(),e._UZ(3,"div",2)),2&st&&(e.xp6(1),e.Udp("width",Be._getNotchWidth()))},encapsulation:2,changeDetection:0});const ye={transitionMessages:(0,p.X$)("transitionMessages",[(0,p.SB)("enter",(0,p.oB)({opacity:1,transform:"translateY(0%)"})),(0,p.eR)("void => enter",[(0,p.oB)({opacity:0,transform:"translateY(-5px)"}),(0,p.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};class we{}we.\u0275fac=function(st){return new(st||we)},we.\u0275dir=e.lG2({type:we});const K=new e.OlP("MatFormField"),ee=new e.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let ze=0;class it{constructor(st,Be,rt,Ot,Gt,kt,Rt,yi){this._elementRef=st,this._changeDetectorRef=Be,this._ngZone=rt,this._dir=Ot,this._platform=Gt,this._defaults=kt,this._animationMode=Rt,this._document=yi,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-"+ze++,this._hintLabelId="mat-mdc-hint-"+ze++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new O.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,kt&&(kt.appearance&&(this.appearance=kt.appearance),this._hideRequiredMarker=Boolean(kt?.hideRequiredMarker),kt.color&&(this.color=kt.color))}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(st){this._hideRequiredMarker=(0,P.Ig)(st)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(st){st!==this._floatLabel&&(this._floatLabel=st,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(st){const Be=this._appearance,rt=st||this._defaults?.appearance||"fill";this._appearance=rt,"outline"===this._appearance&&this._appearance!==Be&&(this._refreshOutlineNotchWidth(),this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(st){this._subscriptSizing=st||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(st){this._hintLabel=st,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(st){this._explicitFormFieldControl=st}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 st=this._control;st.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${st.controlType}`),st.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),st.ngControl&&st.ngControl.valueChanges&&st.ngControl.valueChanges.pipe((0,C.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(st=>!st._isText),this._hasTextPrefix=!!this._prefixChildren.find(st=>st._isText),this._hasIconSuffix=!!this._suffixChildren.find(st=>!st._isText),this._hasTextSuffix=!!this._suffixChildren.find(st=>st._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,l.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(){this._control}_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(st){const Be=this._control?this._control.ngControl:null;return Be&&Be[st]}_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(){this._hintChildren}_syncDescribedByIds(){if(this._control){let st=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&st.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const Be=this._hintChildren?this._hintChildren.find(Ot=>"start"===Ot.align):null,rt=this._hintChildren?this._hintChildren.find(Ot=>"end"===Ot.align):null;Be?st.push(Be.id):this._hintLabel&&st.push(this._hintLabelId),rt&&st.push(rt.id)}else this._errorChildren&&st.push(...this._errorChildren.map(Be=>Be.id));this._control.setDescribedByIds(st)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const st=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(st.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const Be=this._iconPrefixContainer?.nativeElement,rt=this._textPrefixContainer?.nativeElement,Ot=Be?.getBoundingClientRect().width??0,Gt=rt?.getBoundingClientRect().width??0,Jt=`calc(${"rtl"===this._dir.value?"-1":"1"} * (${`${Ot+Gt}px`} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;st.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(${Jt})\n )`}_isAttachedToDom(){const st=this._elementRef.nativeElement;if(st.getRootNode){const Be=st.getRootNode();return Be&&Be!==st}return document.documentElement.contains(st)}}it.\u0275fac=function(st){return new(st||it)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(t.Is),e.Y36(_.t4),e.Y36(ee,8),e.Y36(e.QbO,8),e.Y36(u.K0))},it.\u0275cmp=e.Xpm({type:it,selectors:[["mat-form-field"]],contentQueries:function(st,Be,rt){if(1&st&&(e.Suo(rt,r,5),e.Suo(rt,r,7),e.Suo(rt,we,5),e.Suo(rt,Ce,5),e.Suo(rt,dt,5),e.Suo(rt,V,5),e.Suo(rt,Pe,5)),2&st){let Ot;e.iGM(Ot=e.CRH())&&(Be._labelChildNonStatic=Ot.first),e.iGM(Ot=e.CRH())&&(Be._labelChildStatic=Ot.first),e.iGM(Ot=e.CRH())&&(Be._formFieldControl=Ot.first),e.iGM(Ot=e.CRH())&&(Be._prefixChildren=Ot),e.iGM(Ot=e.CRH())&&(Be._suffixChildren=Ot),e.iGM(Ot=e.CRH())&&(Be._errorChildren=Ot),e.iGM(Ot=e.CRH())&&(Be._hintChildren=Ot)}},viewQuery:function(st,Be){if(1&st&&(e.Gf(z,5),e.Gf(A,5),e.Gf(W,5),e.Gf(ge,5),e.Gf(Ue,5),e.Gf(De,5)),2&st){let rt;e.iGM(rt=e.CRH())&&(Be._textField=rt.first),e.iGM(rt=e.CRH())&&(Be._iconPrefixContainer=rt.first),e.iGM(rt=e.CRH())&&(Be._textPrefixContainer=rt.first),e.iGM(rt=e.CRH())&&(Be._floatingLabel=rt.first),e.iGM(rt=e.CRH())&&(Be._notchedOutline=rt.first),e.iGM(rt=e.CRH())&&(Be._lineRipple=rt.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(st,Be){2&st&&e.ekj("mat-mdc-form-field-label-always-float",Be._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",Be._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",Be._hasIconSuffix)("mat-form-field-invalid",Be._control.errorState)("mat-form-field-disabled",Be._control.disabled)("mat-form-field-autofilled",Be._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===Be._animationMode)("mat-form-field-appearance-fill","fill"==Be.appearance)("mat-form-field-appearance-outline","outline"==Be.appearance)("mat-form-field-hide-placeholder",Be._hasFloatingLabel()&&!Be._shouldLabelFloat())("mat-focused",Be._control.focused)("mat-primary","accent"!==Be.color&&"warn"!==Be.color)("mat-accent","accent"===Be.color)("mat-warn","warn"===Be.color)("ng-untouched",Be._shouldForward("untouched"))("ng-touched",Be._shouldForward("touched"))("ng-pristine",Be._shouldForward("pristine"))("ng-dirty",Be._shouldForward("dirty"))("ng-valid",Be._shouldForward("valid"))("ng-invalid",Be._shouldForward("invalid"))("ng-pending",Be._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[e._Bn([{provide:K,useExisting:it}])],ngContentSelectors:["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"],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(st,Be){1&st&&(e.F$t(R),e.YNc(0,$,1,1,"ng-template",null,0,e.W1O),e.TgZ(2,"div",1,2),e.NdJ("click",function(Ot){return Be._control.onContainerClick&&Be._control.onContainerClick(Ot)}),e.YNc(4,ae,1,0,"div",3),e.TgZ(5,"div",4),e.YNc(6,pe,2,3,"div",5),e.YNc(7,le,3,0,"div",6),e.YNc(8,re,3,0,"div",7),e.TgZ(9,"div",8),e.YNc(10,T,1,1,"ng-template",9),e.Hsn(11),e.qZA(),e.YNc(12,i,2,0,"div",10),e.YNc(13,o,2,0,"div",11),e.qZA(),e.YNc(14,m,1,0,"div",12),e.qZA(),e.TgZ(15,"div",13),e.YNc(16,h,2,1,"div",14),e.YNc(17,I,5,2,"div",15),e.qZA()),2&st&&(e.xp6(2),e.ekj("mdc-text-field--filled",!Be._hasOutline())("mdc-text-field--outlined",Be._hasOutline())("mdc-text-field--no-label",!Be._hasFloatingLabel())("mdc-text-field--disabled",Be._control.disabled)("mdc-text-field--invalid",Be._control.errorState),e.xp6(2),e.Q6J("ngIf",!Be._hasOutline()&&!Be._control.disabled),e.xp6(2),e.Q6J("ngIf",Be._hasOutline()),e.xp6(1),e.Q6J("ngIf",Be._hasIconPrefix),e.xp6(1),e.Q6J("ngIf",Be._hasTextPrefix),e.xp6(2),e.Q6J("ngIf",!Be._hasOutline()||Be._forceDisplayInfixLabel()),e.xp6(2),e.Q6J("ngIf",Be._hasTextSuffix),e.xp6(1),e.Q6J("ngIf",Be._hasIconSuffix),e.xp6(1),e.Q6J("ngIf",!Be._hasOutline()),e.xp6(1),e.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===Be.subscriptSizing),e.Q6J("ngSwitch",Be._getDisplayedMessages()),e.xp6(1),e.Q6J("ngSwitchCase","error"),e.xp6(1),e.Q6J("ngSwitchCase","hint"))},dependencies:[u.O5,u.tP,u.RF,u.n9,L.wD,Pe,ge,Ue,De],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required::after,.mdc-floating-label--required[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0}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:[ye.transitionMessages]},changeDetection:0});class ii{}ii.\u0275fac=function(st){return new(st||ii)},ii.\u0275mod=e.oAB({type:ii}),ii.\u0275inj=e.cJS({imports:[D.BQ,u.ez,L.Q8,D.BQ]})},2642:(Ye,J,f)=>{"use strict";f.d(J,{DX:()=>k,Il:()=>re,N6:()=>fe});var e=f(2560),t=f(207),_=f(8971),O=f(2867);const l=["*"],C=[[["","mat-grid-avatar",""],["","matGridAvatar",""]],[["","mat-line",""],["","matLine",""]],"*"];class p{constructor(){this.columnIndex=0,this.rowIndex=0}get rowCount(){return this.rowIndex+1}get rowspan(){const o=Math.max(...this.tracker);return o>1?this.rowCount+o-1:this.rowCount}update(o,m){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(o),this.tracker.fill(0,0,this.tracker.length),this.positions=m.map(h=>this._trackTile(h))}_trackTile(o){const m=this._findMatchingGap(o.colspan);return this._markTilePosition(m,o),this.columnIndex=m+o.colspan,new L(this.rowIndex,m)}_findMatchingGap(o){this.tracker.length;let m=-1,h=-1;do{this.columnIndex+o>this.tracker.length?(this._nextRow(),m=this.tracker.indexOf(0,this.columnIndex),h=this._findGapEndIndex(m)):(m=this.tracker.indexOf(0,this.columnIndex),-1!=m?(h=this._findGapEndIndex(m),this.columnIndex=m+1):(this._nextRow(),m=this.tracker.indexOf(0,this.columnIndex),h=this._findGapEndIndex(m)))}while(h-m<o||0==h);return Math.max(m,0)}_nextRow(){this.columnIndex=0,this.rowIndex++;for(let o=0;o<this.tracker.length;o++)this.tracker[o]=Math.max(0,this.tracker[o]-1)}_findGapEndIndex(o){for(let m=o+1;m<this.tracker.length;m++)if(0!=this.tracker[m])return m;return this.tracker.length}_markTilePosition(o,m){for(let h=0;h<m.colspan;h++)this.tracker[o+h]=m.rowspan}}class L{constructor(o,m){this.row=o,this.col=m}}const D=new e.OlP("MAT_GRID_LIST");class k{constructor(o,m){this._element=o,this._gridList=m,this._rowspan=1,this._colspan=1}get rowspan(){return this._rowspan}set rowspan(o){this._rowspan=Math.round((0,_.su)(o))}get colspan(){return this._colspan}set colspan(o){this._colspan=Math.round((0,_.su)(o))}_setStyle(o,m){this._element.nativeElement.style[o]=m}}k.\u0275fac=function(o){return new(o||k)(e.Y36(e.SBq),e.Y36(D,8))},k.\u0275cmp=e.Xpm({type:k,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(o,m){2&o&&e.uIk("rowspan",m.rowspan)("colspan",m.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],ngContentSelectors:l,decls:2,vars:0,consts:[[1,"mat-grid-tile-content"]],template:function(o,m){1&o&&(e.F$t(),e.TgZ(0,"div",0),e.Hsn(1),e.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});class M{constructor(o){this._element=o}ngAfterContentInit(){(0,t.E0)(this._lines,this._element)}}M.\u0275fac=function(o){return new(o||M)(e.Y36(e.SBq))},M.\u0275cmp=e.Xpm({type:M,selectors:[["mat-grid-tile-header"],["mat-grid-tile-footer"]],contentQueries:function(o,m,h){if(1&o&&e.Suo(h,t.X2,5),2&o){let x;e.iGM(x=e.CRH())&&(m._lines=x)}},ngContentSelectors:["[mat-grid-avatar], [matGridAvatar]","[mat-line], [matLine]","*"],decls:4,vars:0,consts:[[1,"mat-grid-list-text"]],template:function(o,m){1&o&&(e.F$t(C),e.Hsn(0),e.TgZ(1,"div",0),e.Hsn(2,1),e.qZA(),e.Hsn(3,2))},encapsulation:2,changeDetection:0});class z{}z.\u0275fac=function(o){return new(o||z)},z.\u0275dir=e.lG2({type:z,selectors:[["","mat-grid-avatar",""],["","matGridAvatar",""]],hostAttrs:[1,"mat-grid-avatar"]});class A{}A.\u0275fac=function(o){return new(o||A)},A.\u0275dir=e.lG2({type:A,selectors:[["mat-grid-tile-header"]],hostAttrs:[1,"mat-grid-tile-header"]});class W{}W.\u0275fac=function(o){return new(o||W)},W.\u0275dir=e.lG2({type:W,selectors:[["mat-grid-tile-footer"]],hostAttrs:[1,"mat-grid-tile-footer"]});const Z=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/;class X{constructor(){this._rows=0,this._rowspan=0}init(o,m,h,x){this._gutterSize=pe(o),this._rows=m.rowCount,this._rowspan=m.rowspan,this._cols=h,this._direction=x}getBaseTileSize(o,m){return`(${o}% - (${this._gutterSize} * ${m}))`}getTilePosition(o,m){return 0===m?"0":se(`(${o} + ${this._gutterSize}) * ${m}`)}getTileSize(o,m){return`(${o} * ${m}) + (${m-1} * ${this._gutterSize})`}setStyle(o,m,h){let x=100/this._cols,I=(this._cols-1)/this._cols;this.setColStyles(o,h,x,I),this.setRowStyles(o,m,x,I)}setColStyles(o,m,h,x){let I=this.getBaseTileSize(h,x),R="rtl"===this._direction?"right":"left";o._setStyle(R,this.getTilePosition(I,m)),o._setStyle("width",se(this.getTileSize(I,o.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(o){return`${this._rowspan} * ${this.getTileSize(o,1)}`}getComputedHeight(){return null}}class $ extends X{constructor(o){super(),this.fixedRowHeight=o}init(o,m,h,x){super.init(o,m,h,x),this.fixedRowHeight=pe(this.fixedRowHeight),Z.test(this.fixedRowHeight)}setRowStyles(o,m){o._setStyle("top",this.getTilePosition(this.fixedRowHeight,m)),o._setStyle("height",se(this.getTileSize(this.fixedRowHeight,o.rowspan)))}getComputedHeight(){return["height",se(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(o){o._setListStyle(["height",null]),o._tiles&&o._tiles.forEach(m=>{m._setStyle("top",null),m._setStyle("height",null)})}}class ae extends X{constructor(o){super(),this._parseRatio(o)}setRowStyles(o,m,h,x){let I=h/this.rowHeightRatio;this.baseTileHeight=this.getBaseTileSize(I,x),o._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,m)),o._setStyle("paddingTop",se(this.getTileSize(this.baseTileHeight,o.rowspan)))}getComputedHeight(){return["paddingBottom",se(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(o){o._setListStyle(["paddingBottom",null]),o._tiles.forEach(m=>{m._setStyle("marginTop",null),m._setStyle("paddingTop",null)})}_parseRatio(o){const m=o.split(":");m.length,this.rowHeightRatio=parseFloat(m[0])/parseFloat(m[1])}}class he extends X{setRowStyles(o,m){let h=100/this._rowspan,x=(this._rows-1)/this._rows,I=this.getBaseTileSize(h,x);o._setStyle("top",this.getTilePosition(I,m)),o._setStyle("height",se(this.getTileSize(I,o.rowspan)))}reset(o){o._tiles&&o._tiles.forEach(m=>{m._setStyle("top",null),m._setStyle("height",null)})}}function se(i){return`calc(${i})`}function pe(i){return i.match(/([A-Za-z%]+)$/)?i:`${i}px`}class re{constructor(o,m){this._element=o,this._dir=m,this._gutter="1px"}get cols(){return this._cols}set cols(o){this._cols=Math.max(1,Math.round((0,_.su)(o)))}get gutterSize(){return this._gutter}set gutterSize(o){this._gutter=`${o??""}`}get rowHeight(){return this._rowHeight}set rowHeight(o){const m=`${o??""}`;m!==this._rowHeight&&(this._rowHeight=m,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){this.cols}_checkRowHeight(){this._rowHeight||this._setTileStyler("1:1")}_setTileStyler(o){this._tileStyler&&this._tileStyler.reset(this),"fit"===o?this._tileStyler=new he:o&&o.indexOf(":")>-1?this._tileStyler=new ae(o):this._tileStyler=new $(o)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new p);const o=this._tileCoordinator,m=this._tiles.filter(x=>!x._gridList||x._gridList===this),h=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,m),this._tileStyler.init(this.gutterSize,o,this.cols,h),m.forEach((x,I)=>{const R=o.positions[I];this._tileStyler.setStyle(x,R.row,R.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(o){o&&(this._element.nativeElement.style[o[0]]=o[1])}}re.\u0275fac=function(o){return new(o||re)(e.Y36(e.SBq),e.Y36(O.Is,8))},re.\u0275cmp=e.Xpm({type:re,selectors:[["mat-grid-list"]],contentQueries:function(o,m,h){if(1&o&&e.Suo(h,k,5),2&o){let x;e.iGM(x=e.CRH())&&(m._tiles=x)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(o,m){2&o&&e.uIk("cols",m.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],features:[e._Bn([{provide:D,useExisting:re}])],ngContentSelectors:l,decls:2,vars:0,template:function(o,m){1&o&&(e.F$t(),e.TgZ(0,"div"),e.Hsn(1),e.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});class fe{}fe.\u0275fac=function(o){return new(o||fe)},fe.\u0275mod=e.oAB({type:fe}),fe.\u0275inj=e.cJS({imports:[t.uc,t.BQ,t.uc,t.BQ]})},7822:(Ye,J,f)=>{"use strict";f.d(J,{Hw:()=>N,Ps:()=>Y});var e=f(2560),t=f(207),_=f(8971),O=f(4666),l=f(745),C=f(5474),u=f(1640),P=f(7714),p=f(9337),L=f(635),D=f(3158),k=f(2313),M=f(1203),z=f(9295),A=f(8987),W=f(4497);let X;function ae(Pe){return function $(){if(void 0===X&&(X=null,typeof window<"u")){const Pe=window;void 0!==Pe.trustedTypes&&(X=Pe.trustedTypes.createPolicy("angular#components",{createHTML:Ce=>Ce}))}return X}()?.createHTML(Pe)||Pe}function he(Pe){return Error(`Unable to find icon with the name "${Pe}"`)}function pe(Pe){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${Pe}".`)}function le(Pe){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${Pe}".`)}class re{constructor(Ce,Xe,dt){this.url=Ce,this.svgText=Xe,this.options=dt}}class fe{constructor(Ce,Xe,dt,Ke){this._httpClient=Ce,this._sanitizer=Xe,this._errorHandler=Ke,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=dt}addSvgIcon(Ce,Xe,dt){return this.addSvgIconInNamespace("",Ce,Xe,dt)}addSvgIconLiteral(Ce,Xe,dt){return this.addSvgIconLiteralInNamespace("",Ce,Xe,dt)}addSvgIconInNamespace(Ce,Xe,dt,Ke){return this._addSvgIconConfig(Ce,Xe,new re(dt,null,Ke))}addSvgIconResolver(Ce){return this._resolvers.push(Ce),this}addSvgIconLiteralInNamespace(Ce,Xe,dt,Ke){const ge=this._sanitizer.sanitize(e.q3G.HTML,dt);if(!ge)throw le(dt);const $e=ae(ge);return this._addSvgIconConfig(Ce,Xe,new re("",$e,Ke))}addSvgIconSet(Ce,Xe){return this.addSvgIconSetInNamespace("",Ce,Xe)}addSvgIconSetLiteral(Ce,Xe){return this.addSvgIconSetLiteralInNamespace("",Ce,Xe)}addSvgIconSetInNamespace(Ce,Xe,dt){return this._addSvgIconSetConfig(Ce,new re(Xe,null,dt))}addSvgIconSetLiteralInNamespace(Ce,Xe,dt){const Ke=this._sanitizer.sanitize(e.q3G.HTML,Xe);if(!Ke)throw le(Xe);const ge=ae(Ke);return this._addSvgIconSetConfig(Ce,new re("",ge,dt))}registerFontClassAlias(Ce,Xe=Ce){return this._fontCssClassesByAlias.set(Ce,Xe),this}classNameForFontAlias(Ce){return this._fontCssClassesByAlias.get(Ce)||Ce}setDefaultFontSetClass(...Ce){return this._defaultFontSetClass=Ce,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Ce){const Xe=this._sanitizer.sanitize(e.q3G.RESOURCE_URL,Ce);if(!Xe)throw pe(Ce);const dt=this._cachedIconsByUrl.get(Xe);return dt?(0,l.of)(o(dt)):this._loadSvgIconFromConfig(new re(Ce,null)).pipe((0,p.b)(Ke=>this._cachedIconsByUrl.set(Xe,Ke)),(0,L.U)(Ke=>o(Ke)))}getNamedSvgIcon(Ce,Xe=""){const dt=m(Xe,Ce);let Ke=this._svgIconConfigs.get(dt);if(Ke)return this._getSvgFromConfig(Ke);if(Ke=this._getIconConfigFromResolvers(Xe,Ce),Ke)return this._svgIconConfigs.set(dt,Ke),this._getSvgFromConfig(Ke);const ge=this._iconSetConfigs.get(Xe);return ge?this._getSvgFromIconSetConfigs(Ce,ge):(0,C._)(he(dt))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Ce){return Ce.svgText?(0,l.of)(o(this._svgElementFromConfig(Ce))):this._loadSvgIconFromConfig(Ce).pipe((0,L.U)(Xe=>o(Xe)))}_getSvgFromIconSetConfigs(Ce,Xe){const dt=this._extractIconWithNameFromAnySet(Ce,Xe);if(dt)return(0,l.of)(dt);const Ke=Xe.filter(ge=>!ge.svgText).map(ge=>this._loadSvgIconSetFromConfig(ge).pipe((0,D.K)($e=>{const Me=`Loading icon set URL: ${this._sanitizer.sanitize(e.q3G.RESOURCE_URL,ge.url)} failed: ${$e.message}`;return this._errorHandler.handleError(new Error(Me)),(0,l.of)(null)})));return(0,u.D)(Ke).pipe((0,L.U)(()=>{const ge=this._extractIconWithNameFromAnySet(Ce,Xe);if(!ge)throw he(Ce);return ge}))}_extractIconWithNameFromAnySet(Ce,Xe){for(let dt=Xe.length-1;dt>=0;dt--){const Ke=Xe[dt];if(Ke.svgText&&Ke.svgText.toString().indexOf(Ce)>-1){const ge=this._svgElementFromConfig(Ke),$e=this._extractSvgIconFromSet(ge,Ce,Ke.options);if($e)return $e}}return null}_loadSvgIconFromConfig(Ce){return this._fetchIcon(Ce).pipe((0,p.b)(Xe=>Ce.svgText=Xe),(0,L.U)(()=>this._svgElementFromConfig(Ce)))}_loadSvgIconSetFromConfig(Ce){return Ce.svgText?(0,l.of)(null):this._fetchIcon(Ce).pipe((0,p.b)(Xe=>Ce.svgText=Xe))}_extractSvgIconFromSet(Ce,Xe,dt){const Ke=Ce.querySelector(`[id="${Xe}"]`);if(!Ke)return null;const ge=Ke.cloneNode(!0);if(ge.removeAttribute("id"),"svg"===ge.nodeName.toLowerCase())return this._setSvgAttributes(ge,dt);if("symbol"===ge.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(ge),dt);const $e=this._svgElementFromString(ae("<svg></svg>"));return $e.appendChild(ge),this._setSvgAttributes($e,dt)}_svgElementFromString(Ce){const Xe=this._document.createElement("DIV");Xe.innerHTML=Ce;const dt=Xe.querySelector("svg");if(!dt)throw Error("<svg> tag not found");return dt}_toSvgElement(Ce){const Xe=this._svgElementFromString(ae("<svg></svg>")),dt=Ce.attributes;for(let Ke=0;Ke<dt.length;Ke++){const{name:ge,value:$e}=dt[Ke];"id"!==ge&&Xe.setAttribute(ge,$e)}for(let Ke=0;Ke<Ce.childNodes.length;Ke++)Ce.childNodes[Ke].nodeType===this._document.ELEMENT_NODE&&Xe.appendChild(Ce.childNodes[Ke].cloneNode(!0));return Xe}_setSvgAttributes(Ce,Xe){return Ce.setAttribute("fit",""),Ce.setAttribute("height","100%"),Ce.setAttribute("width","100%"),Ce.setAttribute("preserveAspectRatio","xMidYMid meet"),Ce.setAttribute("focusable","false"),Xe&&Xe.viewBox&&Ce.setAttribute("viewBox",Xe.viewBox),Ce}_fetchIcon(Ce){const{url:Xe,options:dt}=Ce,Ke=dt?.withCredentials??!1;if(!this._httpClient)throw function se(){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==Xe)throw Error(`Cannot fetch icon from URL "${Xe}".`);const ge=this._sanitizer.sanitize(e.q3G.RESOURCE_URL,Xe);if(!ge)throw pe(Xe);const $e=this._inProgressUrlFetches.get(ge);if($e)return $e;const Oe=this._httpClient.get(ge,{responseType:"text",withCredentials:Ke}).pipe((0,L.U)(Me=>ae(Me)),(0,k.x)(()=>this._inProgressUrlFetches.delete(ge)),(0,M.B)());return this._inProgressUrlFetches.set(ge,Oe),Oe}_addSvgIconConfig(Ce,Xe,dt){return this._svgIconConfigs.set(m(Ce,Xe),dt),this}_addSvgIconSetConfig(Ce,Xe){const dt=this._iconSetConfigs.get(Ce);return dt?dt.push(Xe):this._iconSetConfigs.set(Ce,[Xe]),this}_svgElementFromConfig(Ce){if(!Ce.svgElement){const Xe=this._svgElementFromString(Ce.svgText);this._setSvgAttributes(Xe,Ce.options),Ce.svgElement=Xe}return Ce.svgElement}_getIconConfigFromResolvers(Ce,Xe){for(let dt=0;dt<this._resolvers.length;dt++){const Ke=this._resolvers[dt](Xe,Ce);if(Ke)return(Pe=Ke).url&&Pe.options?new re(Ke.url,null,Ke.options):new re(Ke,null)}var Pe}}fe.\u0275fac=function(Ce){return new(Ce||fe)(e.LFG(A.eN,8),e.LFG(W.H7),e.LFG(O.K0,8),e.LFG(e.qLn))},fe.\u0275prov=e.Yz7({token:fe,factory:fe.\u0275fac,providedIn:"root"});new e.FiY,new e.tp0,new e.FiY,A.eN,W.H7,e.qLn,new e.FiY,O.K0;function o(Pe){return Pe.cloneNode(!0)}function m(Pe,Ce){return Pe+":"+Ce}const x=(0,t.pj)(class{constructor(Pe){this._elementRef=Pe}}),I=new e.OlP("MAT_ICON_DEFAULT_OPTIONS"),R=new e.OlP("mat-icon-location",{providedIn:"root",factory:function g(){const Pe=(0,e.f3M)(O.K0),Ce=Pe?Pe.location:null;return{getPathname:()=>Ce?Ce.pathname+Ce.search:""}}});const r=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],w=r.map(Pe=>`[${Pe}]`).join(", "),V=/^url\(['"]?#(.*?)['"]?\)$/;class N extends x{constructor(Ce,Xe,dt,Ke,ge,$e){super(Ce),this._iconRegistry=Xe,this._location=Ke,this._errorHandler=ge,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=P.w0.EMPTY,$e&&($e.color&&(this.color=this.defaultColor=$e.color),$e.fontSet&&(this.fontSet=$e.fontSet)),dt||Ce.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(Ce){this._inline=(0,_.Ig)(Ce)}get svgIcon(){return this._svgIcon}set svgIcon(Ce){Ce!==this._svgIcon&&(Ce?this._updateSvgIcon(Ce):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Ce)}get fontSet(){return this._fontSet}set fontSet(Ce){const Xe=this._cleanupFontValue(Ce);Xe!==this._fontSet&&(this._fontSet=Xe,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Ce){const Xe=this._cleanupFontValue(Ce);Xe!==this._fontIcon&&(this._fontIcon=Xe,this._updateFontIconClasses())}_splitIconName(Ce){if(!Ce)return["",""];const Xe=Ce.split(":");switch(Xe.length){case 1:return["",Xe[0]];case 2:return Xe;default:throw Error(`Invalid icon name: "${Ce}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Ce=this._elementsWithExternalReferences;if(Ce&&Ce.size){const Xe=this._location.getPathname();Xe!==this._previousPath&&(this._previousPath=Xe,this._prependPathToReferences(Xe))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(Ce){this._clearSvgElement();const Xe=this._location.getPathname();this._previousPath=Xe,this._cacheChildrenWithExternalReferences(Ce),this._prependPathToReferences(Xe),this._elementRef.nativeElement.appendChild(Ce)}_clearSvgElement(){const Ce=this._elementRef.nativeElement;let Xe=Ce.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();Xe--;){const dt=Ce.childNodes[Xe];(1!==dt.nodeType||"svg"===dt.nodeName.toLowerCase())&&dt.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const Ce=this._elementRef.nativeElement,Xe=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(dt=>dt.length>0);this._previousFontSetClass.forEach(dt=>Ce.classList.remove(dt)),Xe.forEach(dt=>Ce.classList.add(dt)),this._previousFontSetClass=Xe,this.fontIcon!==this._previousFontIconClass&&!Xe.includes("mat-ligature-font")&&(this._previousFontIconClass&&Ce.classList.remove(this._previousFontIconClass),this.fontIcon&&Ce.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(Ce){return"string"==typeof Ce?Ce.trim().split(" ")[0]:Ce}_prependPathToReferences(Ce){const Xe=this._elementsWithExternalReferences;Xe&&Xe.forEach((dt,Ke)=>{dt.forEach(ge=>{Ke.setAttribute(ge.name,`url('${Ce}#${ge.value}')`)})})}_cacheChildrenWithExternalReferences(Ce){const Xe=Ce.querySelectorAll(w),dt=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Ke=0;Ke<Xe.length;Ke++)r.forEach(ge=>{const $e=Xe[Ke],Oe=$e.getAttribute(ge),Me=Oe?Oe.match(V):null;if(Me){let De=dt.get($e);De||(De=[],dt.set($e,De)),De.push({name:ge,value:Me[1]})}})}_updateSvgIcon(Ce){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Ce){const[Xe,dt]=this._splitIconName(Ce);Xe&&(this._svgNamespace=Xe),dt&&(this._svgName=dt),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(dt,Xe).pipe((0,z.q)(1)).subscribe(Ke=>this._setSvgElement(Ke),Ke=>{const ge=`Error retrieving icon ${Xe}:${dt}! ${Ke.message}`;this._errorHandler.handleError(new Error(ge))})}}}N.\u0275fac=function(Ce){return new(Ce||N)(e.Y36(e.SBq),e.Y36(fe),e.$8M("aria-hidden"),e.Y36(R),e.Y36(e.qLn),e.Y36(I,8))},N.\u0275cmp=e.Xpm({type:N,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(Ce,Xe){2&Ce&&(e.uIk("data-mat-icon-type",Xe._usingFontIcon()?"font":"svg")("data-mat-icon-name",Xe._svgName||Xe.fontIcon)("data-mat-icon-namespace",Xe._svgNamespace||Xe.fontSet)("fontIcon",Xe._usingFontIcon()?Xe.fontIcon:null),e.ekj("mat-icon-inline",Xe.inline)("mat-icon-no-color","primary"!==Xe.color&&"accent"!==Xe.color&&"warn"!==Xe.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[e.qOj],ngContentSelectors:["*"],decls:1,vars:0,template:function(Ce,Xe){1&Ce&&(e.F$t(),e.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});class Y{}Y.\u0275fac=function(Ce){return new(Ce||Y)},Y.\u0275mod=e.oAB({type:Y}),Y.\u0275inj=e.cJS({imports:[t.BQ,t.BQ]})},1267:(Ye,J,f)=>{"use strict";f.d(J,{Jk:()=>$,Nt:()=>pe,c:()=>le});var e=f(8971),t=f(9107),_=f(2560),O=f(591),l=f(253),C=f(3280),u=f(9211),P=f(8951),p=f(4666);const L=(0,t.i$)({passive:!0});class D{constructor(fe,T){this._platform=fe,this._ngZone=T,this._monitoredElements=new Map}monitor(fe){if(!this._platform.isBrowser)return O.E;const T=(0,e.fI)(fe),i=this._monitoredElements.get(T);if(i)return i.subject;const o=new l.x,m="cdk-text-field-autofilled",h=x=>{"cdk-text-field-autofill-start"!==x.animationName||T.classList.contains(m)?"cdk-text-field-autofill-end"===x.animationName&&T.classList.contains(m)&&(T.classList.remove(m),this._ngZone.run(()=>o.next({target:x.target,isAutofilled:!1}))):(T.classList.add(m),this._ngZone.run(()=>o.next({target:x.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{T.addEventListener("animationstart",h,L),T.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(T,{subject:o,unlisten:()=>{T.removeEventListener("animationstart",h,L)}}),o}stopMonitoring(fe){const T=(0,e.fI)(fe),i=this._monitoredElements.get(T);i&&(i.unlisten(),i.subject.complete(),T.classList.remove("cdk-text-field-autofill-monitored"),T.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(T))}ngOnDestroy(){this._monitoredElements.forEach((fe,T)=>this.stopMonitoring(T))}}D.\u0275fac=function(fe){return new(fe||D)(_.LFG(t.t4),_.LFG(_.R0b))},D.\u0275prov=_.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"});class k{constructor(fe,T){this._elementRef=fe,this._autofillMonitor=T,this.cdkAutofill=new _.vpe}ngOnInit(){this._autofillMonitor.monitor(this._elementRef).subscribe(fe=>this.cdkAutofill.emit(fe))}ngOnDestroy(){this._autofillMonitor.stopMonitoring(this._elementRef)}}k.\u0275fac=function(fe){return new(fe||k)(_.Y36(_.SBq),_.Y36(D))},k.\u0275dir=_.lG2({type:k,selectors:[["","cdkAutofill",""]],outputs:{cdkAutofill:"cdkAutofill"}});class M{constructor(fe,T,i,o){this._elementRef=fe,this._platform=T,this._ngZone=i,this._destroyed=new l.x,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=m=>{this._hasFocus="focus"===m.type},this._document=o,this._textareaElement=this._elementRef.nativeElement}get minRows(){return this._minRows}set minRows(fe){this._minRows=(0,e.su)(fe),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(fe){this._maxRows=(0,e.su)(fe),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(fe){fe=(0,e.Ig)(fe),this._enabled!==fe&&((this._enabled=fe)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(fe){this._cachedPlaceholderHeight=void 0,fe?this._textareaElement.setAttribute("placeholder",fe):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_setMinHeight(){const fe=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;fe&&(this._textareaElement.style.minHeight=fe)}_setMaxHeight(){const fe=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;fe&&(this._textareaElement.style.maxHeight=fe)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const fe=this._getWindow();(0,C.R)(fe,"resize").pipe((0,u.e)(16),(0,P.R)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let fe=this._textareaElement.cloneNode(!1);fe.rows=1,fe.style.position="absolute",fe.style.visibility="hidden",fe.style.border="none",fe.style.padding="0",fe.style.height="",fe.style.minHeight="",fe.style.maxHeight="",fe.style.overflow="hidden",this._textareaElement.parentNode.appendChild(fe),this._cachedLineHeight=fe.clientHeight,fe.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const fe=this._textareaElement,T=fe.style.marginBottom||"",i=this._platform.FIREFOX,o=i&&this._hasFocus,m=i?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";o&&(fe.style.marginBottom=`${fe.clientHeight}px`),fe.classList.add(m);const h=fe.scrollHeight-4;return fe.classList.remove(m),o&&(fe.style.marginBottom=T),h}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const fe=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=fe}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(fe=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const T=this._elementRef.nativeElement,i=T.value;if(!fe&&this._minRows===this._previousMinRows&&i===this._previousValue)return;const o=this._measureScrollHeight(),m=Math.max(o,this._cachedPlaceholderHeight||0);T.style.height=`${m}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(T)):setTimeout(()=>this._scrollToCaretPosition(T))}),this._previousValue=i,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(fe){const{selectionStart:T,selectionEnd:i}=fe;!this._destroyed.isStopped&&this._hasFocus&&fe.setSelectionRange(T,i)}}M.\u0275fac=function(fe){return new(fe||M)(_.Y36(_.SBq),_.Y36(t.t4),_.Y36(_.R0b),_.Y36(p.K0,8))},M.\u0275dir=_.lG2({type:M,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(fe,T){1&fe&&_.NdJ("input",function(){return T._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]});class z{}z.\u0275fac=function(fe){return new(fe||z)},z.\u0275mod=_.oAB({type:z}),z.\u0275inj=_.cJS({});var A=f(2508),W=f(207),Z=f(5074);const $=new _.OlP("MAT_INPUT_VALUE_ACCESSOR"),ae=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let he=0;const se=(0,W.FD)(class{constructor(re,fe,T,i){this._defaultErrorStateMatcher=re,this._parentForm=fe,this._parentFormGroup=T,this.ngControl=i,this.stateChanges=new l.x}});class pe extends se{constructor(fe,T,i,o,m,h,x,I,R,g){super(h,o,m,i),this._elementRef=fe,this._platform=T,this._autofillMonitor=I,this._formField=g,this._uid="mat-input-"+he++,this.focused=!1,this.stateChanges=new l.x,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(V=>(0,t.qK)().has(V)),this._iOSKeyupListener=V=>{const N=V.target;!N.value&&0===N.selectionStart&&0===N.selectionEnd&&(N.setSelectionRange(1,1),N.setSelectionRange(0,0))};const r=this._elementRef.nativeElement,w=r.nodeName.toLowerCase();this._inputValueAccessor=x||r,this._previousNativeValue=this.value,this.id=this.id,T.IOS&&R.runOutsideAngular(()=>{fe.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===w,this._isTextarea="textarea"===w,this._isInFormField=!!g,this._isNativeSelect&&(this.controlType=r.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this._disabled}set disabled(fe){this._disabled=(0,e.Ig)(fe),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(fe){this._id=fe||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(A.kI.required)??!1}set required(fe){this._required=(0,e.Ig)(fe)}get type(){return this._type}set type(fe){this._type=fe||"text",this._validateType(),!this._isTextarea&&(0,t.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(fe){fe!==this.value&&(this._inputValueAccessor.value=fe,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(fe){this._readonly=(0,e.Ig)(fe)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(fe=>{this.autofilled=fe.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(fe){this._elementRef.nativeElement.focus(fe)}_focusChanged(fe){fe!==this.focused&&(this.focused=fe,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const fe=this._elementRef.nativeElement.value;this._previousNativeValue!==fe&&(this._previousNativeValue=fe,this.stateChanges.next())}_dirtyCheckPlaceholder(){const fe=this._getPlaceholder();if(fe!==this._previousPlaceholder){const T=this._elementRef.nativeElement;this._previousPlaceholder=fe,fe?T.setAttribute("placeholder",fe):T.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){ae.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let fe=this._elementRef.nativeElement.validity;return fe&&fe.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const fe=this._elementRef.nativeElement,T=fe.options[0];return this.focused||fe.multiple||!this.empty||!!(fe.selectedIndex>-1&&T&&T.label)}return this.focused||!this.empty}setDescribedByIds(fe){fe.length?this._elementRef.nativeElement.setAttribute("aria-describedby",fe.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const fe=this._elementRef.nativeElement;return this._isNativeSelect&&(fe.multiple||fe.size>1)}}pe.\u0275fac=function(fe){return new(fe||pe)(_.Y36(_.SBq),_.Y36(t.t4),_.Y36(A.a5,10),_.Y36(A.F,8),_.Y36(A.sg,8),_.Y36(W.rD),_.Y36($,10),_.Y36(D),_.Y36(_.R0b),_.Y36(Z.G_,8))},pe.\u0275dir=_.lG2({type:pe,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(fe,T){1&fe&&_.NdJ("focus",function(){return T._focusChanged(!0)})("blur",function(){return T._focusChanged(!1)})("input",function(){return T._onInput()}),2&fe&&(_.Ikx("id",T.id)("disabled",T.disabled)("required",T.required),_.uIk("name",T.name||null)("readonly",T.readonly&&!T._isNativeSelect||null)("aria-invalid",T.empty&&T.required?null:T.errorState)("aria-required",T.required)("id",T.id),_.ekj("mat-input-server",T._isServer)("mat-mdc-form-field-textarea-control",T._isInFormField&&T._isTextarea)("mat-mdc-form-field-input-control",T._isInFormField)("mdc-text-field__input",T._isInFormField)("mat-mdc-native-select-inline",T._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:[_._Bn([{provide:Z.Eo,useExisting:pe}]),_.qOj,_.TTD]});class le{}le.\u0275fac=function(fe){return new(fe||le)},le.\u0275mod=_.oAB({type:le}),le.\u0275inj=_.cJS({imports:[W.BQ,Z.lN,Z.lN,z,W.BQ]})},6517:(Ye,J,f)=>{"use strict";f.d(J,{Tg:()=>$e,i$:()=>ge,ie:()=>ne});var e=f(2560),t=f(8971),_=f(9107),O=f(207),l=f(7714),C=f(6646),u=f(253),P=f(3773),p=f(4666),L=f(1528),D=f(4218),k=f(1755),M=f(8456),z=f(2508),A=f(8951);const W=["*"],Z='.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}',X=["unscopedContent"],$=["text"],ae=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]];function se(K,ee){1&K&&e.Hsn(0,4)}function pe(K,ee){if(1&K&&(e.TgZ(0,"div",9),e._UZ(1,"input",10),e.TgZ(2,"div",11),e.O4$(),e.TgZ(3,"svg",12),e._UZ(4,"path",13),e.qZA(),e.kcU(),e._UZ(5,"div",14),e.qZA()()),2&K){const ze=e.oxw();e.ekj("mdc-checkbox--disabled",ze.disabled),e.xp6(1),e.Q6J("checked",ze.selected)("disabled",ze.disabled)}}function le(K,ee){}function re(K,ee){if(1&K&&(e.TgZ(0,"span",15),e.YNc(1,le,0,0,"ng-template",16),e.qZA()),2&K){e.oxw();const ze=e.MAs(3);e.xp6(1),e.Q6J("ngTemplateOutlet",ze)}}function fe(K,ee){}function T(K,ee){if(1&K&&e.YNc(0,fe,0,0,"ng-template",16),2&K){e.oxw();const ze=e.MAs(1);e.Q6J("ngTemplateOutlet",ze)}}function i(K,ee){}function o(K,ee){if(1&K&&(e.TgZ(0,"span",17),e.YNc(1,i,0,0,"ng-template",16),e.qZA()),2&K){e.oxw();const ze=e.MAs(3);e.xp6(1),e.Q6J("ngTemplateOutlet",ze)}}function m(K,ee){}function h(K,ee){if(1&K&&e.YNc(0,m,0,0,"ng-template",16),2&K){e.oxw();const ze=e.MAs(1);e.Q6J("ngTemplateOutlet",ze)}}const x=[[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["mat-divider"]],[["","matListItemAvatar",""],["","matListItemIcon",""]]],R=new e.OlP("ListOption");class g{constructor(ee){this._elementRef=ee}}g.\u0275fac=function(ee){return new(ee||g)(e.Y36(e.SBq))},g.\u0275dir=e.lG2({type:g,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]});class r{constructor(ee){this._elementRef=ee}}r.\u0275fac=function(ee){return new(ee||r)(e.Y36(e.SBq))},r.\u0275dir=e.lG2({type:r,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]});class w{}w.\u0275fac=function(ee){return new(ee||w)},w.\u0275dir=e.lG2({type:w,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]});class V{constructor(ee){this._listOption=ee}_isAlignedAtStart(){return!this._listOption||"after"===this._listOption?._getCheckboxPosition()}}V.\u0275fac=function(ee){return new(ee||V)(e.Y36(R,8))},V.\u0275dir=e.lG2({type:V,hostVars:4,hostBindings:function(ee,ze){2&ee&&e.ekj("mdc-list-item__start",ze._isAlignedAtStart())("mdc-list-item__end",!ze._isAlignedAtStart())}});class N extends V{}N.\u0275fac=function(){let K;return function(ze){return(K||(K=e.n5z(N)))(ze||N)}}(),N.\u0275dir=e.lG2({type:N,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[e.qOj]});class Y extends V{}Y.\u0275fac=function(){let K;return function(ze){return(K||(K=e.n5z(Y)))(ze||Y)}}(),Y.\u0275dir=e.lG2({type:Y,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[e.qOj]});class Pe{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1}get disableRipple(){return this._disableRipple}set disableRipple(ee){this._disableRipple=(0,t.Ig)(ee)}get disabled(){return this._disabled}set disabled(ee){this._disabled=(0,t.Ig)(ee)}}Pe.\u0275fac=function(ee){return new(ee||Pe)},Pe.\u0275dir=e.lG2({type:Pe,hostVars:1,hostBindings:function(ee,ze){2&ee&&e.uIk("aria-disabled",ze.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}});class Ce{constructor(ee,ze,Ve,oe,at,qe){this._elementRef=ee,this._ngZone=ze,this._listBase=Ve,this._platform=oe,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new l.w0,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=at||{},this._hostElement=this._elementRef.nativeElement,this._noopAnimations="NoopAnimations"===qe,Ve&&!Ve._isNonInteractive&&this._initInteractiveListItem(),"button"===this._hostElement.nodeName.toLowerCase()&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}set lines(ee){this._explicitLines=(0,t.su)(ee,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(ee){this._disableRipple=(0,t.Ig)(ee)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(ee){this._disabled=(0,t.Ig)(ee)}get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),null!==this._rippleRenderer&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!(!this._avatars.length&&!this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new O.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(ee){if(!this._lines||!this._titles||!this._unscopedContent)return;ee&&this._checkDomForUnscopedTextContent();const ze=this._explicitLines??this._inferLinesFromContent(),Ve=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",ze<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",ze<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",2===ze),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",3===ze),this._hasUnscopedTextContent){const oe=0===this._titles.length&&1===ze;Ve.classList.toggle("mdc-list-item__primary-text",oe),Ve.classList.toggle("mdc-list-item__secondary-text",!oe)}else Ve.classList.remove("mdc-list-item__primary-text"),Ve.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let ee=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(ee+=1),ee}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(ee=>ee.nodeType!==ee.COMMENT_NODE).some(ee=>!(!ee.textContent||!ee.textContent.trim()))}}Ce.\u0275fac=function(ee){return new(ee||Ce)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(Pe,8),e.Y36(_.t4),e.Y36(O.Y2,8),e.Y36(e.QbO,8))},Ce.\u0275dir=e.lG2({type:Ce,contentQueries:function(ee,ze,Ve){if(1&ee&&(e.Suo(Ve,N,4),e.Suo(Ve,Y,4)),2&ee){let oe;e.iGM(oe=e.CRH())&&(ze._avatars=oe),e.iGM(oe=e.CRH())&&(ze._icons=oe)}},hostVars:3,hostBindings:function(ee,ze){2&ee&&(e.uIk("aria-disabled",ze.disabled),e.ekj("mdc-list-item--disabled",ze.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}});class dt extends Pe{constructor(){super(...arguments),this._isNonInteractive=!1}}dt.\u0275fac=function(){let K;return function(ze){return(K||(K=e.n5z(dt)))(ze||dt)}}(),dt.\u0275cmp=e.Xpm({type:dt,selectors:[["mat-action-list"]],hostAttrs:["role","group",1,"mat-mdc-action-list","mat-mdc-list-base","mdc-list"],exportAs:["matActionList"],features:[e._Bn([{provide:Pe,useExisting:dt}]),e.qOj],ngContentSelectors:W,decls:1,vars:0,template:function(ee,ze){1&ee&&(e.F$t(),e.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});new e.OlP("MatList");class ge extends Pe{}ge.\u0275fac=function(){let K;return function(ze){return(K||(K=e.n5z(ge)))(ze||ge)}}(),ge.\u0275cmp=e.Xpm({type:ge,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],features:[e._Bn([{provide:Pe,useExisting:ge}]),e.qOj],ngContentSelectors:W,decls:1,vars:0,template:function(ee,ze){1&ee&&(e.F$t(),e.Hsn(0))},styles:[Z],encapsulation:2,changeDetection:0});class $e extends Ce{constructor(ee,ze,Ve,oe,at,qe){super(ee,ze,Ve,oe,at,qe),this._activated=!1}get activated(){return this._activated}set activated(ee){this._activated=(0,t.Ig)(ee)}_getAriaCurrent(){return"A"===this._hostElement.nodeName&&this._activated?"page":null}}$e.\u0275fac=function(ee){return new(ee||$e)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(Pe,8),e.Y36(_.t4),e.Y36(O.Y2,8),e.Y36(e.QbO,8))},$e.\u0275cmp=e.Xpm({type:$e,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(ee,ze,Ve){if(1&ee&&(e.Suo(Ve,r,5),e.Suo(Ve,g,5),e.Suo(Ve,w,5)),2&ee){let oe;e.iGM(oe=e.CRH())&&(ze._lines=oe),e.iGM(oe=e.CRH())&&(ze._titles=oe),e.iGM(oe=e.CRH())&&(ze._meta=oe)}},viewQuery:function(ee,ze){if(1&ee&&(e.Gf(X,5),e.Gf($,5)),2&ee){let Ve;e.iGM(Ve=e.CRH())&&(ze._unscopedContent=Ve.first),e.iGM(Ve=e.CRH())&&(ze._itemText=Ve.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:11,hostBindings:function(ee,ze){2&ee&&(e.uIk("aria-current",ze._getAriaCurrent()),e.ekj("mdc-list-item--activated",ze.activated)("mdc-list-item--with-leading-avatar",0!==ze._avatars.length)("mdc-list-item--with-leading-icon",0!==ze._icons.length)("mdc-list-item--with-trailing-meta",0!==ze._meta.length)("_mat-animation-noopable",ze._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[e.qOj],ngContentSelectors:["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"],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(ee,ze){1&ee&&(e.F$t(ae),e.Hsn(0),e.TgZ(1,"span",0),e.Hsn(2,1),e.Hsn(3,2),e.TgZ(4,"span",1,2),e.NdJ("cdkObserveContent",function(){return ze._updateItemLines(!0)}),e.Hsn(6,3),e.qZA()(),e.Hsn(7,4),e.Hsn(8,5),e._UZ(9,"div",3))},dependencies:[P.wD],encapsulation:2,changeDetection:0});const Oe=new e.OlP("SelectionList");class Me extends Ce{constructor(ee,ze,Ve,oe,at,qe,it){super(ee,ze,Ve,oe,qe,it),this._selectionList=Ve,this._changeDetectorRef=at,this.selectedChange=new e.vpe,this.checkboxPosition="after",this._selected=!1,this._inputsInitialized=!1}get color(){return this._color||this._selectionList.color}set color(ee){this._color=ee}get value(){return this._value}set value(ee){this.selected&&ee!==this.value&&this._inputsInitialized&&(this.selected=!1),this._value=ee}get selected(){return this._selectionList.selectedOptions.isSelected(this)}set selected(ee){const ze=(0,t.Ig)(ee);ze!==this._selected&&(this._setSelected(ze),(ze||this._selectionList.multiple)&&this._selectionList._reportValueChange())}ngOnInit(){const ee=this._selectionList;ee._value&&ee._value.some(Ve=>ee.compareWith(this._value,Ve))&&this._setSelected(!0);const ze=this._selected;Promise.resolve().then(()=>{(this._selected||ze)&&(this.selected=!0,this._changeDetectorRef.markForCheck())}),this._inputsInitialized=!0}ngOnDestroy(){super.ngOnDestroy(),this.selected&&Promise.resolve().then(()=>{this.selected=!1})}toggle(){this.selected=!this.selected}focus(){this._hostElement.focus()}getLabel(){return(this._titles?.get(0)?._elementRef.nativeElement||this._unscopedContent?.nativeElement)?.textContent||""}_hasCheckboxAt(ee){return this._selectionList.multiple&&this._getCheckboxPosition()===ee}_hasIconsOrAvatarsAt(ee){return this._hasProjected("icons",ee)||this._hasProjected("avatars",ee)}_hasProjected(ee,ze){return this._getCheckboxPosition()!==ze&&("avatars"===ee?0!==this._avatars.length:0!==this._icons.length)}_handleBlur(){this._selectionList._onTouched()}_getCheckboxPosition(){return this.checkboxPosition||"after"}_setSelected(ee){return ee!==this._selected&&(this._selected=ee,ee?this._selectionList.selectedOptions.select(this):this._selectionList.selectedOptions.deselect(this),this.selectedChange.emit(ee),this._changeDetectorRef.markForCheck(),!0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_toggleOnInteraction(){this.disabled||(this._selectionList.multiple?(this.selected=!this.selected,this._selectionList._emitChangeEvent([this])):this.selected||(this.selected=!0,this._selectionList._emitChangeEvent([this])))}_setTabindex(ee){this._hostElement.setAttribute("tabindex",ee+"")}}Me.\u0275fac=function(ee){return new(ee||Me)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(Oe),e.Y36(_.t4),e.Y36(e.sBO),e.Y36(O.Y2,8),e.Y36(e.QbO,8))},Me.\u0275cmp=e.Xpm({type:Me,selectors:[["mat-list-option"]],contentQueries:function(ee,ze,Ve){if(1&ee&&(e.Suo(Ve,r,5),e.Suo(Ve,g,5)),2&ee){let oe;e.iGM(oe=e.CRH())&&(ze._lines=oe),e.iGM(oe=e.CRH())&&(ze._titles=oe)}},viewQuery:function(ee,ze){if(1&ee&&e.Gf(X,5),2&ee){let Ve;e.iGM(Ve=e.CRH())&&(ze._unscopedContent=Ve.first)}},hostAttrs:["role","option",1,"mat-mdc-list-item","mat-mdc-list-option","mdc-list-item"],hostVars:21,hostBindings:function(ee,ze){1&ee&&e.NdJ("blur",function(){return ze._handleBlur()})("click",function(){return ze._toggleOnInteraction()}),2&ee&&(e.uIk("aria-selected",ze.selected),e.ekj("mdc-list-item--selected",ze.selected&&!ze._selectionList.multiple)("mdc-list-item--with-leading-avatar",ze._hasProjected("avatars","before"))("mdc-list-item--with-leading-icon",ze._hasProjected("icons","before"))("mdc-list-item--with-trailing-icon",ze._hasProjected("icons","after"))("mat-mdc-list-option-with-trailing-avatar",ze._hasProjected("avatars","after"))("mdc-list-item--with-leading-checkbox",ze._hasCheckboxAt("before"))("mdc-list-item--with-trailing-checkbox",ze._hasCheckboxAt("after"))("mat-accent","primary"!==ze.color&&"warn"!==ze.color)("mat-warn","warn"===ze.color)("_mat-animation-noopable",ze._noopAnimations))},inputs:{checkboxPosition:"checkboxPosition",color:"color",value:"value",selected:"selected"},outputs:{selectedChange:"selectedChange"},exportAs:["matListOption"],features:[e._Bn([{provide:Ce,useExisting:Me},{provide:R,useExisting:Me}]),e.qOj],ngContentSelectors:["[matListItemTitle]","[matListItemLine]","*","mat-divider","[matListItemAvatar],[matListItemIcon]"],decls:16,vars:4,consts:[["icons",""],["checkbox",""],["class","mdc-list-item__start mat-mdc-list-option-checkbox-before",4,"ngIf"],[3,"ngIf"],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],["unscopedContent",""],["class","mdc-list-item__end",4,"ngIf"],[1,"mat-mdc-focus-indicator"],[1,"mdc-checkbox"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","disabled"],[1,"mdc-checkbox__background"],["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"],[1,"mdc-list-item__start","mat-mdc-list-option-checkbox-before"],[3,"ngTemplateOutlet"],[1,"mdc-list-item__end"]],template:function(ee,ze){1&ee&&(e.F$t(x),e.YNc(0,se,1,0,"ng-template",null,0,e.W1O),e.YNc(2,pe,6,4,"ng-template",null,1,e.W1O),e.YNc(4,re,2,1,"span",2),e.YNc(5,T,1,1,"ng-template",3),e.TgZ(6,"span",4),e.Hsn(7),e.Hsn(8,1),e.TgZ(9,"span",5,6),e.NdJ("cdkObserveContent",function(){return ze._updateItemLines(!0)}),e.Hsn(11,2),e.qZA()(),e.YNc(12,o,2,1,"span",7),e.YNc(13,h,1,1,"ng-template",3),e.Hsn(14,3),e._UZ(15,"div",8)),2&ee&&(e.xp6(4),e.Q6J("ngIf",ze._hasCheckboxAt("before")),e.xp6(1),e.Q6J("ngIf",ze._hasIconsOrAvatarsAt("before")),e.xp6(7),e.Q6J("ngIf",ze._hasCheckboxAt("after")),e.xp6(1),e.Q6J("ngIf",ze._hasIconsOrAvatarsAt("after")))},dependencies:[P.wD,p.O5,p.tP],styles:['.mat-mdc-list-option-with-trailing-avatar.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mat-mdc-list-option-with-trailing-avatar.mdc-list-item,.mat-mdc-list-option-with-trailing-avatar.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end,.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{width:40px;height:40px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{border-radius:50%}.mat-mdc-list-option .mdc-touch-target-wrapper{display:inline}.mat-mdc-list-option .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}.mat-mdc-list-option .mdc-checkbox[hidden]{display:none}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mat-mdc-list-option .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){.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mat-mdc-list-option .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){.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-list-option .mdc-checkbox__mixedmark{margin:0 1px}}.mat-mdc-list-option .mdc-checkbox--disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .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}.mat-mdc-list-option .mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0}.mdc-checkbox--upgraded .mat-mdc-list-option .mdc-checkbox__checkmark{opacity:1}.mat-mdc-list-option .mdc-checkbox__checkmark-path{stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mat-mdc-list-option .mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mat-mdc-list-option .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mat-mdc-list-option .mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-list-option .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)}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{opacity:1}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@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}}@media all and (-ms-high-contrast: none){.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox .mdc-checkbox__focus-ring{display:none}}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__background{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)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__mixedmark{transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .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)}.mat-mdc-list-option:not(._mat-animation-noopable) .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)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mat-mdc-list-option .mdc-checkbox{padding:calc((40px - 18px) / 2);padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);margin:calc((40px - 40px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.38);border-color:var(--mdc-checkbox-disabled-unselected-icon-color, rgba(0, 0, 0, 0.38));background-color:transparent}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:rgba(0, 0, 0, 0.38);background-color:var(--mdc-checkbox-disabled-selected-icon-color, rgba(0, 0, 0, 0.38))}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#018786;border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:#018786;background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:#018786;border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:#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:#018786;border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:#018786;background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .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-list-option .mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .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-list-option .mdc-checkbox .mdc-checkbox__background{top:calc((40px - 18px) / 2);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);left:calc((40px - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control{top:calc((40px - 40px) / 2);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);right:calc((40px - 40px) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);left:calc((40px - 40px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);width:40px;width:var(--mdc-checkbox-state-layer-size, 40px);height:40px;height:var(--mdc-checkbox-state-layer-size, 40px)}.mat-mdc-list-option .mdc-checkbox__native-control{display:none}.cdk-high-contrast-active .mat-mdc-list-option.mdc-list-item--selected::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 .mat-mdc-list-option.mdc-list-item--selected [dir=rtl]::after{right:auto;left:16px}'],encapsulation:2,changeDetection:0});class De{}De.\u0275fac=function(ee){return new(ee||De)},De.\u0275dir=e.lG2({type:De,selectors:[["","mat-subheader",""],["","matSubheader",""]],hostAttrs:[1,"mat-mdc-subheader","mdc-list-group__subheader"]});new e.OlP("MatNavList");class ye extends Pe{constructor(){super(...arguments),this._isNonInteractive=!1}}ye.\u0275fac=function(){let K;return function(ze){return(K||(K=e.n5z(ye)))(ze||ye)}}(),ye.\u0275cmp=e.Xpm({type:ye,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-mdc-nav-list","mat-mdc-list-base","mdc-list"],exportAs:["matNavList"],features:[e._Bn([{provide:Pe,useExisting:ye}]),e.qOj],ngContentSelectors:W,decls:1,vars:0,template:function(ee,ze){1&ee&&(e.F$t(),e.Hsn(0))},styles:[Z],encapsulation:2,changeDetection:0});const we={provide:z.JU,useExisting:(0,e.Gpc)(()=>Se),multi:!0};class ie{constructor(ee,ze){this.source=ee,this.options=ze}}class Se extends Pe{constructor(ee,ze){super(),this._element=ee,this._ngZone=ze,this._initialized=!1,this._destroyed=new u.x,this._onChange=Ve=>{},this.selectionChange=new e.vpe,this.color="accent",this.compareWith=(Ve,oe)=>Ve===oe,this._multiple=!0,this.selectedOptions=new k.Ov(this._multiple),this._onTouched=()=>{},this._selectionListDisabled=!1,this._handleFocusout=()=>{setTimeout(()=>{this._containsFocus()||this._resetActiveOption()})},this._handleFocusin=Ve=>{if(this.disabled)return;const oe=this._items.toArray().findIndex(at=>at._elementRef.nativeElement.contains(Ve.target));oe>-1?this._setActiveOption(oe):this._resetActiveOption()},this._isNonInteractive=!1}get multiple(){return this._multiple}set multiple(ee){const ze=(0,t.Ig)(ee);ze!==this._multiple&&(this._multiple=ze,this.selectedOptions=new k.Ov(this._multiple,this.selectedOptions.selected))}ngAfterViewInit(){this._initialized=!0,this._setupRovingTabindex(),this._ngZone.runOutsideAngular(()=>{this._element.nativeElement.addEventListener("focusin",this._handleFocusin),this._element.nativeElement.addEventListener("focusout",this._handleFocusout)}),this._value&&this._setOptionsFromValues(this._value),this._watchForSelectionChange()}ngOnChanges(ee){const ze=ee.disabled,Ve=ee.disableRipple;(Ve&&!Ve.firstChange||ze&&!ze.firstChange)&&this._markOptionsForCheck()}ngOnDestroy(){this._keyManager?.destroy(),this._element.nativeElement.removeEventListener("focusin",this._handleFocusin),this._element.nativeElement.removeEventListener("focusout",this._handleFocusout),this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0}focus(ee){this._element.nativeElement.focus(ee)}selectAll(){return this._setAllOptionsSelected(!0)}deselectAll(){return this._setAllOptionsSelected(!1)}_reportValueChange(){if(this.options&&!this._isDestroyed){const ee=this._getSelectedOptionValues();this._onChange(ee),this._value=ee}}_emitChangeEvent(ee){this.selectionChange.emit(new ie(this,ee))}writeValue(ee){this._value=ee,this.options&&this._setOptionsFromValues(ee||[])}setDisabledState(ee){this.disabled=ee}get disabled(){return this._selectionListDisabled}set disabled(ee){this._selectionListDisabled=(0,t.Ig)(ee),this._selectionListDisabled&&this._keyManager?.setActiveItem(-1)}registerOnChange(ee){this._onChange=ee}registerOnTouched(ee){this._onTouched=ee}_watchForSelectionChange(){this.selectedOptions.changed.pipe((0,A.R)(this._destroyed)).subscribe(ee=>{for(let ze of ee.added)ze.selected=!0;for(let ze of ee.removed)ze.selected=!1;this._containsFocus()||this._resetActiveOption()})}_setOptionsFromValues(ee){this.options.forEach(ze=>ze._setSelected(!1)),ee.forEach(ze=>{const Ve=this.options.find(oe=>!oe.selected&&this.compareWith(oe.value,ze));Ve&&Ve._setSelected(!0)})}_getSelectedOptionValues(){return this.options.filter(ee=>ee.selected).map(ee=>ee.value)}_markOptionsForCheck(){this.options&&this.options.forEach(ee=>ee._markForCheck())}_setAllOptionsSelected(ee,ze){const Ve=[];return this.options.forEach(oe=>{(!ze||!oe.disabled)&&oe._setSelected(ee)&&Ve.push(oe)}),Ve.length&&this._reportValueChange(),Ve}get options(){return this._items}_handleKeydown(ee){const ze=this._keyManager.activeItem;if(ee.keyCode!==M.K5&&ee.keyCode!==M.L_||this._keyManager.isTyping()||!ze||ze.disabled)if(ee.keyCode===M.A&&this.multiple&&!this._keyManager.isTyping()&&(0,M.Vb)(ee,"ctrlKey")){const Ve=this.options.some(oe=>!oe.disabled&&!oe.selected);ee.preventDefault(),this._emitChangeEvent(this._setAllOptionsSelected(Ve,!0))}else this._keyManager.onKeydown(ee);else ee.preventDefault(),ze._toggleOnInteraction()}_setupRovingTabindex(){this._keyManager=new D.Em(this._items).withHomeAndEnd().withTypeAhead().withWrap().skipPredicate(()=>this.disabled),this._resetActiveOption(),this._keyManager.change.subscribe(ee=>this._setActiveOption(ee)),this._items.changes.pipe((0,A.R)(this._destroyed)).subscribe(()=>{const ee=this._keyManager.activeItem;(!ee||!this._items.toArray().indexOf(ee))&&this._resetActiveOption()})}_setActiveOption(ee){this._items.forEach((ze,Ve)=>ze._setTabindex(Ve===ee?0:-1)),this._keyManager.updateActiveItem(ee)}_resetActiveOption(){if(this.disabled)return void this._setActiveOption(-1);const ee=this._items.find(ze=>ze.selected&&!ze.disabled)||this._items.first;this._setActiveOption(ee?this._items.toArray().indexOf(ee):-1)}_containsFocus(){const ee=(0,_.ht)();return ee&&this._element.nativeElement.contains(ee)}}Se.\u0275fac=function(ee){return new(ee||Se)(e.Y36(e.SBq),e.Y36(e.R0b))},Se.\u0275cmp=e.Xpm({type:Se,selectors:[["mat-selection-list"]],contentQueries:function(ee,ze,Ve){if(1&ee&&e.Suo(Ve,Me,5),2&ee){let oe;e.iGM(oe=e.CRH())&&(ze._items=oe)}},hostAttrs:["role","listbox",1,"mat-mdc-selection-list","mat-mdc-list-base","mdc-list"],hostVars:1,hostBindings:function(ee,ze){1&ee&&e.NdJ("keydown",function(oe){return ze._handleKeydown(oe)}),2&ee&&e.uIk("aria-multiselectable",ze.multiple)},inputs:{color:"color",compareWith:"compareWith",multiple:"multiple",disabled:"disabled"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],features:[e._Bn([we,{provide:Pe,useExisting:Se},{provide:Oe,useExisting:Se}]),e.qOj,e.TTD],ngContentSelectors:W,decls:1,vars:0,template:function(ee,ze){1&ee&&(e.F$t(),e.Hsn(0))},styles:[Z],encapsulation:2,changeDetection:0});class ne{}ne.\u0275fac=function(ee){return new(ee||ne)},ne.\u0275mod=e.oAB({type:ne}),ne.\u0275inj=e.cJS({imports:[P.Q8,p.ez,O.BQ,O.si,O.us,L.t]})},8589:(Ye,J,f)=>{"use strict";f.d(J,{OP:()=>x,Tx:()=>ie,VK:()=>ge,p6:()=>we});var e=f(2560),t=f(4218),_=f(8971),O=f(8456),l=f(253),C=f(6646),u=f(7714),P=f(745),p=f(3888),L=f(4874),D=f(2673),k=f(9295),M=f(8951),z=f(116),A=f(6234),W=f(207),Z=f(4666),X=f(7520),$=f(4851),ae=f(2867),he=f(5895),se=f(9107),pe=f(1494);function re(Se,ne){1&Se&&(e.O4$(),e.TgZ(0,"svg",3),e._UZ(1,"polygon",4),e.qZA())}const fe=[[["mat-icon"]],"*"];function i(Se,ne){if(1&Se){const K=e.EpF();e.TgZ(0,"div",0),e.NdJ("keydown",function(ze){e.CHM(K);const Ve=e.oxw();return e.KtG(Ve._handleKeydown(ze))})("click",function(){e.CHM(K);const ze=e.oxw();return e.KtG(ze.closed.emit("click"))})("@transformMenu.start",function(ze){e.CHM(K);const Ve=e.oxw();return e.KtG(Ve._onAnimationStart(ze))})("@transformMenu.done",function(ze){e.CHM(K);const Ve=e.oxw();return e.KtG(Ve._onAnimationDone(ze))}),e.TgZ(1,"div",1),e.Hsn(2),e.qZA()()}if(2&Se){const K=e.oxw();e.Q6J("id",K.panelId)("ngClass",K._classList)("@transformMenu",K._panelAnimationState),e.uIk("aria-label",K.ariaLabel||null)("aria-labelledby",K.ariaLabelledby||null)("aria-describedby",K.ariaDescribedby||null)}}const m=new e.OlP("MAT_MENU_PANEL"),h=(0,W.Kr)((0,W.Id)(class{}));class x extends h{constructor(ne,K,ee,ze,Ve){super(),this._elementRef=ne,this._document=K,this._focusMonitor=ee,this._parentMenu=ze,this._changeDetectorRef=Ve,this.role="menuitem",this._hovered=new l.x,this._focused=new l.x,this._highlighted=!1,this._triggersSubmenu=!1,ze?.addItem?.(this)}focus(ne,K){this._focusMonitor&&ne?this._focusMonitor.focusVia(this._getHostElement(),ne,K):this._getHostElement().focus(K),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(ne){this.disabled&&(ne.preventDefault(),ne.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const ne=this._elementRef.nativeElement.cloneNode(!0),K=ne.querySelectorAll("mat-icon, .material-icons");for(let ee=0;ee<K.length;ee++)K[ee].remove();return ne.textContent?.trim()||""}_setHighlighted(ne){this._highlighted=ne,this._changeDetectorRef?.markForCheck()}_setTriggersSubmenu(ne){this._triggersSubmenu=ne,this._changeDetectorRef?.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}}x.\u0275fac=function(ne){return new(ne||x)(e.Y36(e.SBq),e.Y36(Z.K0),e.Y36(t.tE),e.Y36(m,8),e.Y36(e.sBO))},x.\u0275cmp=e.Xpm({type:x,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator","mdc-list-item"],hostVars:8,hostBindings:function(ne,K){1&ne&&e.NdJ("click",function(ze){return K._checkDisabled(ze)})("mouseenter",function(){return K._handleMouseEnter()}),2&ne&&(e.uIk("role",K.role)("tabindex",K._getTabIndex())("aria-disabled",K.disabled)("disabled",K.disabled||null),e.ekj("mat-mdc-menu-item-highlighted",K._highlighted)("mat-mdc-menu-item-submenu-trigger",K._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[e.qOj],attrs:["mat-menu-item",""],ngContentSelectors:["mat-icon","*"],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(ne,K){1&ne&&(e.F$t(fe),e.Hsn(0),e.TgZ(1,"span",0),e.Hsn(2,1),e.qZA(),e._UZ(3,"div",1),e.YNc(4,re,2,0,"svg",2)),2&ne&&(e.xp6(3),e.Q6J("matRippleDisabled",K.disableRipple||K.disabled)("matRippleTrigger",K._getHostElement()),e.xp6(1),e.Q6J("ngIf",K._triggersSubmenu))},dependencies:[Z.O5,W.wG],encapsulation:2,changeDetection:0});const r=new e.OlP("MatMenuContent");class w{constructor(ne,K,ee,ze,Ve,oe,at){this._template=ne,this._componentFactoryResolver=K,this._appRef=ee,this._injector=ze,this._viewContainerRef=Ve,this._document=oe,this._changeDetectorRef=at,this._attached=new l.x}attach(ne={}){this._portal||(this._portal=new X.UE(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new X.u0(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const K=this._template.elementRef.nativeElement;K.parentNode.insertBefore(this._outlet.outletElement,K),this._changeDetectorRef?.markForCheck(),this._portal.attach(this._outlet,ne),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}w.\u0275fac=function(ne){return new(ne||w)(e.Y36(e.Rgc),e.Y36(e._Vd),e.Y36(e.z2F),e.Y36(e.zs3),e.Y36(e.s_b),e.Y36(Z.K0),e.Y36(e.sBO))},w.\u0275dir=e.lG2({type:w});class V extends w{}V.\u0275fac=function(){let Se;return function(K){return(Se||(Se=e.n5z(V)))(K||V)}}(),V.\u0275dir=e.lG2({type:V,selectors:[["ng-template","matMenuContent",""]],features:[e._Bn([{provide:r,useExisting:V}]),e.qOj]});const N={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)")])])};N.fadeInItems,N.transformMenu;let Ce=0;const Xe=new e.OlP("mat-menu-default-options",{providedIn:"root",factory:function dt(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});class Ke{constructor(ne,K,ee,ze){this._elementRef=ne,this._ngZone=K,this._defaultOptions=ee,this._changeDetectorRef=ze,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new e.n_E,this._classList={},this._panelAnimationState="void",this._animationDone=new l.x,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new e.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+Ce++}get xPosition(){return this._xPosition}set xPosition(ne){this._xPosition=ne,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(ne){this._yPosition=ne,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(ne){this._overlapTrigger=(0,_.Ig)(ne)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(ne){this._hasBackdrop=(0,_.Ig)(ne)}set panelClass(ne){const K=this._previousPanelClass;K&&K.length&&K.split(" ").forEach(ee=>{this._classList[ee]=!1}),this._previousPanelClass=ne,ne&&ne.length&&(ne.split(" ").forEach(ee=>{this._classList[ee]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(ne){this.panelClass=ne}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new t.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,L.O)(this._directDescendantItems),(0,D.w)(ne=>(0,C.T)(...ne.map(K=>K._focused)))).subscribe(ne=>this._keyManager.updateActiveItem(ne)),this._directDescendantItems.changes.subscribe(ne=>{const K=this._keyManager;if("enter"===this._panelAnimationState&&K.activeItem?._hasFocus()){const ee=ne.toArray(),ze=Math.max(0,Math.min(ee.length-1,K.activeItemIndex||0));ee[ze]&&!ee[ze].disabled?K.setActiveItem(ze):K.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,L.O)(this._directDescendantItems),(0,D.w)(K=>(0,C.T)(...K.map(ee=>ee._hovered))))}addItem(ne){}removeItem(ne){}_handleKeydown(ne){const K=ne.keyCode,ee=this._keyManager;switch(K){case O.hY:(0,O.Vb)(ne)||(ne.preventDefault(),this.closed.emit("keydown"));break;case O.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case O.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(K===O.LH||K===O.JH)&&ee.setFocusOrigin("keyboard"),void ee.onKeydown(ne)}ne.stopPropagation()}focusFirstItem(ne="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,k.q)(1)).subscribe(()=>{let K=null;if(this._directDescendantItems.length&&(K=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!K||!K.contains(document.activeElement)){const ee=this._keyManager;ee.setFocusOrigin(ne).setFirstItemActive(),!ee.activeItem&&K&&K.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(ne){const K=Math.min(this._baseElevation+ne,24),ee=`${this._elevationPrefix}${K}`,ze=Object.keys(this._classList).find(Ve=>Ve.startsWith(this._elevationPrefix));(!ze||ze===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[ee]=!0,this._previousElevation=ee)}setPositionClasses(ne=this.xPosition,K=this.yPosition){const ee=this._classList;ee["mat-menu-before"]="before"===ne,ee["mat-menu-after"]="after"===ne,ee["mat-menu-above"]="above"===K,ee["mat-menu-below"]="below"===K,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(ne){this._animationDone.next(ne),this._isAnimating=!1}_onAnimationStart(ne){this._isAnimating=!0,"enter"===ne.toState&&0===this._keyManager.activeItemIndex&&(ne.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,L.O)(this._allItems)).subscribe(ne=>{this._directDescendantItems.reset(ne.filter(K=>K._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}Ke.\u0275fac=function(ne){return new(ne||Ke)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(Xe),e.Y36(e.sBO))},Ke.\u0275dir=e.lG2({type:Ke,contentQueries:function(ne,K,ee){if(1&ne&&(e.Suo(ee,r,5),e.Suo(ee,x,5),e.Suo(ee,x,4)),2&ne){let ze;e.iGM(ze=e.CRH())&&(K.lazyContent=ze.first),e.iGM(ze=e.CRH())&&(K._allItems=ze),e.iGM(ze=e.CRH())&&(K.items=ze)}},viewQuery:function(ne,K){if(1&ne&&e.Gf(e.Rgc,5),2&ne){let ee;e.iGM(ee=e.CRH())&&(K.templateRef=ee.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"}});class ge extends Ke{constructor(ne,K,ee,ze){super(ne,K,ee,ze),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}}ge.\u0275fac=function(ne){return new(ne||ge)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(Xe),e.Y36(e.sBO))},ge.\u0275cmp=e.Xpm({type:ge,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(ne,K){2&ne&&e.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[e._Bn([{provide:m,useExisting:ge}]),e.qOj],ngContentSelectors:["*"],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(ne,K){1&ne&&(e.F$t(),e.YNc(0,i,3,6,"ng-template"))},dependencies:[Z.mk],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;position:relative}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item.mdc-list-item{align-items:center}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item .mdc-list-item__primary-text{white-space:normal}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[N.transformMenu,N.fadeInItems]},changeDetection:0});const $e=new e.OlP("mat-menu-scroll-strategy");const Me={provide:$e,deps:[he.aV],useFactory:function Oe(Se){return()=>Se.scrollStrategies.reposition()}},De=(0,se.i$)({passive:!0});class ye{constructor(ne,K,ee,ze,Ve,oe,at,qe,it){this._overlay=ne,this._element=K,this._viewContainerRef=ee,this._menuItemInstance=oe,this._dir=at,this._focusMonitor=qe,this._ngZone=it,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=u.w0.EMPTY,this._hoverSubscription=u.w0.EMPTY,this._menuCloseSubscription=u.w0.EMPTY,this._handleTouchStart=ii=>{(0,t.yG)(ii)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new e.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new e.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=ze,this._parentMaterialMenu=Ve instanceof Ke?Ve:void 0,K.nativeElement.addEventListener("touchstart",this._handleTouchStart,De)}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(ne){this.menu=ne}get menu(){return this._menu}set menu(ne){ne!==this._menu&&(this._menu=ne,this._menuCloseSubscription.unsubscribe(),ne&&(this._parentMaterialMenu,this._menuCloseSubscription=ne.close.subscribe(K=>{this._destroyMenu(K),("click"===K||"tab"===K)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(K)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,De),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 ne=this.menu;if(this._menuOpen||!ne)return;const K=this._createOverlay(ne),ee=K.getConfig(),ze=ee.positionStrategy;this._setPosition(ne,ze),ee.hasBackdrop=null==ne.hasBackdrop?!this.triggersSubmenu():ne.hasBackdrop,K.attach(this._getPortal(ne)),ne.lazyContent&&ne.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(ne),ne instanceof Ke&&(ne._startAnimation(),ne._directDescendantItems.changes.pipe((0,M.R)(ne.close)).subscribe(()=>{ze.withLockedPosition(!1).reapplyLastPosition(),ze.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(ne,K){this._focusMonitor&&ne?this._focusMonitor.focusVia(this._element,ne,K):this._element.nativeElement.focus(K)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(ne){if(!this._overlayRef||!this.menuOpen)return;const K=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===ne||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,K instanceof Ke?(K._resetAnimation(),K.lazyContent?K._animationDone.pipe((0,z.h)(ee=>"void"===ee.toState),(0,k.q)(1),(0,M.R)(K.lazyContent._attached)).subscribe({next:()=>K.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),K?.lazyContent?.detach())}_initMenu(ne){ne.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,ne.direction=this.dir,this._setMenuElevation(ne),ne.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(ne){if(ne.setElevation){let K=0,ee=ne.parentMenu;for(;ee;)K++,ee=ee.parentMenu;ne.setElevation(K)}}_setIsMenuOpen(ne){this._menuOpen=ne,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(ne)}_createOverlay(ne){if(!this._overlayRef){const K=this._getOverlayConfig(ne);this._subscribeToPositions(ne,K.positionStrategy),this._overlayRef=this._overlay.create(K),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(ne){return new he.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:ne.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:ne.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(ne,K){ne.setPositionClasses&&K.positionChanges.subscribe(ee=>{const ze="start"===ee.connectionPair.overlayX?"after":"before",Ve="top"===ee.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>ne.setPositionClasses(ze,Ve)):ne.setPositionClasses(ze,Ve)})}_setPosition(ne,K){let[ee,ze]="before"===ne.xPosition?["end","start"]:["start","end"],[Ve,oe]="above"===ne.yPosition?["bottom","top"]:["top","bottom"],[at,qe]=[Ve,oe],[it,ii]=[ee,ze],bt=0;if(this.triggersSubmenu()){if(ii=ee="before"===ne.xPosition?"start":"end",ze=it="end"===ee?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const st=this._parentMaterialMenu.items.first;this._parentInnerPadding=st?st._getHostElement().offsetTop:0}bt="bottom"===Ve?this._parentInnerPadding:-this._parentInnerPadding}}else ne.overlapTrigger||(at="top"===Ve?"bottom":"top",qe="top"===oe?"bottom":"top");K.withPositions([{originX:ee,originY:at,overlayX:it,overlayY:Ve,offsetY:bt},{originX:ze,originY:at,overlayX:ii,overlayY:Ve,offsetY:bt},{originX:ee,originY:qe,overlayX:it,overlayY:oe,offsetY:-bt},{originX:ze,originY:qe,overlayX:ii,overlayY:oe,offsetY:-bt}])}_menuClosingActions(){const ne=this._overlayRef.backdropClick(),K=this._overlayRef.detachments(),ee=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,P.of)(),ze=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,z.h)(Ve=>Ve!==this._menuItemInstance),(0,z.h)(()=>this._menuOpen)):(0,P.of)();return(0,C.T)(ne,ee,ze,K)}_handleMousedown(ne){(0,t.X6)(ne)||(this._openedBy=0===ne.button?"mouse":void 0,this.triggersSubmenu()&&ne.preventDefault())}_handleKeydown(ne){const K=ne.keyCode;(K===O.K5||K===O.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(K===O.SV&&"ltr"===this.dir||K===O.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(ne){this.triggersSubmenu()?(ne.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,z.h)(ne=>ne===this._menuItemInstance&&!ne.disabled),(0,A.g)(0,p.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Ke&&this.menu._isAnimating?this.menu._animationDone.pipe((0,k.q)(1),(0,A.g)(0,p.E),(0,M.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(ne){return(!this._portal||this._portal.templateRef!==ne.templateRef)&&(this._portal=new X.UE(ne.templateRef,this._viewContainerRef)),this._portal}}ye.\u0275fac=function(ne){return new(ne||ye)(e.Y36(he.aV),e.Y36(e.SBq),e.Y36(e.s_b),e.Y36($e),e.Y36(m,8),e.Y36(x,10),e.Y36(ae.Is,8),e.Y36(t.tE),e.Y36(e.R0b))},ye.\u0275dir=e.lG2({type:ye,hostVars:3,hostBindings:function(ne,K){1&ne&&e.NdJ("click",function(ze){return K._handleClick(ze)})("mousedown",function(ze){return K._handleMousedown(ze)})("keydown",function(ze){return K._handleKeydown(ze)}),2&ne&&e.uIk("aria-haspopup",K.menu?"menu":null)("aria-expanded",K.menuOpen)("aria-controls",K.menuOpen?K.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"}});class we extends ye{}we.\u0275fac=function(){let Se;return function(K){return(Se||(Se=e.n5z(we)))(K||we)}}(),we.\u0275dir=e.lG2({type:we,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[e.qOj]});class ie{}ie.\u0275fac=function(ne){return new(ne||ie)},ie.\u0275mod=e.oAB({type:ie}),ie.\u0275inj=e.cJS({providers:[Me],imports:[Z.ez,W.si,W.BQ,he.U8,pe.ZD,W.BQ]})},6060:(Ye,J,f)=>{"use strict";f.d(J,{NW:()=>re,TU:()=>fe,ye:()=>W});var e=f(4666),t=f(2560),_=f(253),O=f(4522),l=f(7371),C=f(6896),u=f(207),P=f(8971),p=f(5074);function L(T,i){if(1&T&&(t.TgZ(0,"mat-option",19),t._uU(1),t.qZA()),2&T){const o=i.$implicit;t.Q6J("value",o),t.xp6(1),t.hij(" ",o," ")}}function D(T,i){if(1&T){const o=t.EpF();t.TgZ(0,"mat-form-field",16)(1,"mat-select",17),t.NdJ("selectionChange",function(h){t.CHM(o);const x=t.oxw(2);return t.KtG(x._changePageSize(h.value))}),t.YNc(2,L,2,2,"mat-option",18),t.qZA()()}if(2&T){const o=t.oxw(2);t.Q6J("appearance",o._formFieldAppearance)("color",o.color),t.xp6(1),t.Q6J("value",o.pageSize)("disabled",o.disabled)("aria-labelledby",o._pageSizeLabelId)("panelClass",o.selectConfig.panelClass||"")("disableOptionCentering",o.selectConfig.disableOptionCentering),t.xp6(1),t.Q6J("ngForOf",o._displayedPageSizeOptions)}}function k(T,i){if(1&T&&(t.TgZ(0,"div",20),t._uU(1),t.qZA()),2&T){const o=t.oxw(2);t.xp6(1),t.Oqu(o.pageSize)}}function M(T,i){if(1&T&&(t.TgZ(0,"div",12)(1,"div",13),t._uU(2),t.qZA(),t.YNc(3,D,3,8,"mat-form-field",14),t.YNc(4,k,2,1,"div",15),t.qZA()),2&T){const o=t.oxw();t.xp6(1),t.s9C("id",o._pageSizeLabelId),t.xp6(1),t.hij(" ",o._intl.itemsPerPageLabel," "),t.xp6(1),t.Q6J("ngIf",o._displayedPageSizeOptions.length>1),t.xp6(1),t.Q6J("ngIf",o._displayedPageSizeOptions.length<=1)}}function z(T,i){if(1&T){const o=t.EpF();t.TgZ(0,"button",21),t.NdJ("click",function(){t.CHM(o);const h=t.oxw();return t.KtG(h.firstPage())}),t.O4$(),t.TgZ(1,"svg",7),t._UZ(2,"path",22),t.qZA()()}if(2&T){const o=t.oxw();t.Q6J("matTooltip",o._intl.firstPageLabel)("matTooltipDisabled",o._previousButtonsDisabled())("matTooltipPosition","above")("disabled",o._previousButtonsDisabled()),t.uIk("aria-label",o._intl.firstPageLabel)}}function A(T,i){if(1&T){const o=t.EpF();t.O4$(),t.kcU(),t.TgZ(0,"button",23),t.NdJ("click",function(){t.CHM(o);const h=t.oxw();return t.KtG(h.lastPage())}),t.O4$(),t.TgZ(1,"svg",7),t._UZ(2,"path",24),t.qZA()()}if(2&T){const o=t.oxw();t.Q6J("matTooltip",o._intl.lastPageLabel)("matTooltipDisabled",o._nextButtonsDisabled())("matTooltipPosition","above")("disabled",o._nextButtonsDisabled()),t.uIk("aria-label",o._intl.lastPageLabel)}}class W{constructor(){this.changes=new _.x,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(i,o,m)=>{if(0==m||0==o)return`0 of ${m}`;const h=i*o;return`${h+1} \u2013 ${h<(m=Math.max(m,0))?Math.min(h+o,m):h+o} of ${m}`}}}W.\u0275fac=function(i){return new(i||W)},W.\u0275prov=t.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"});const X={provide:W,deps:[[new t.FiY,new t.tp0,W]],useFactory:function Z(T){return T||new W}};const he=new t.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),se=(0,u.Id)((0,u.dB)(class{}));class pe extends se{constructor(i,o,m){if(super(),this._intl=i,this._changeDetectorRef=o,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.selectConfig={},this.page=new t.vpe,this._intlChanges=i.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),m){const{pageSize:h,pageSizeOptions:x,hidePageSize:I,showFirstLastButtons:R}=m;null!=h&&(this._pageSize=h),null!=x&&(this._pageSizeOptions=x),null!=I&&(this._hidePageSize=I),null!=R&&(this._showFirstLastButtons=R)}}get pageIndex(){return this._pageIndex}set pageIndex(i){this._pageIndex=Math.max((0,P.su)(i),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(i){this._length=(0,P.su)(i),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(i){this._pageSize=Math.max((0,P.su)(i),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(i){this._pageSizeOptions=(i||[]).map(o=>(0,P.su)(o)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(i){this._hidePageSize=(0,P.Ig)(i)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(i){this._showFirstLastButtons=(0,P.Ig)(i)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const i=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(i)}previousPage(){if(!this.hasPreviousPage())return;const i=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(i)}firstPage(){if(!this.hasPreviousPage())return;const i=this.pageIndex;this.pageIndex=0,this._emitPageEvent(i)}lastPage(){if(!this.hasNextPage())return;const i=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(i)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const i=this.getNumberOfPages()-1;return this.pageIndex<i&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(i){const o=this.pageIndex*this.pageSize,m=this.pageIndex;this.pageIndex=Math.floor(o/i)||0,this.pageSize=i,this._emitPageEvent(m)}_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((i,o)=>i-o),this._changeDetectorRef.markForCheck())}_emitPageEvent(i){this.page.emit({previousPageIndex:i,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}pe.\u0275fac=function(i){t.$Z()},pe.\u0275dir=t.lG2({type:pe,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[t.qOj]});let le=0;class re extends pe{constructor(i,o,m){super(i,o,m),this._pageSizeLabelId="mat-paginator-page-size-label-"+le++,this._formFieldAppearance=m?.formFieldAppearance||"outline"}}re.\u0275fac=function(i){return new(i||re)(t.Y36(W),t.Y36(t.sBO),t.Y36(he,8))},re.\u0275cmp=t.Xpm({type:re,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[t.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(i,o){1&i&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,M,5,4,"div",2),t.TgZ(3,"div",3)(4,"div",4),t._uU(5),t.qZA(),t.YNc(6,z,3,5,"button",5),t.TgZ(7,"button",6),t.NdJ("click",function(){return o.previousPage()}),t.O4$(),t.TgZ(8,"svg",7),t._UZ(9,"path",8),t.qZA()(),t.kcU(),t.TgZ(10,"button",9),t.NdJ("click",function(){return o.nextPage()}),t.O4$(),t.TgZ(11,"svg",7),t._UZ(12,"path",10),t.qZA()(),t.YNc(13,A,3,5,"button",11),t.qZA()()()),2&i&&(t.xp6(2),t.Q6J("ngIf",!o.hidePageSize),t.xp6(3),t.hij(" ",o._intl.getRangeLabel(o.pageIndex,o.pageSize,o.length)," "),t.xp6(1),t.Q6J("ngIf",o.showFirstLastButtons),t.xp6(1),t.Q6J("matTooltip",o._intl.previousPageLabel)("matTooltipDisabled",o._previousButtonsDisabled())("matTooltipPosition","above")("disabled",o._previousButtonsDisabled()),t.uIk("aria-label",o._intl.previousPageLabel),t.xp6(3),t.Q6J("matTooltip",o._intl.nextPageLabel)("matTooltipDisabled",o._nextButtonsDisabled())("matTooltipPosition","above")("disabled",o._nextButtonsDisabled()),t.uIk("aria-label",o._intl.nextPageLabel),t.xp6(3),t.Q6J("ngIf",o.showFirstLastButtons))},dependencies:[e.sg,e.O5,O.RK,p.KE,l.gD,u.ey,C.gM],styles:[".mat-mdc-paginator{display:block}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.cdk-high-contrast-active .mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.cdk-high-contrast-active .mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0});class fe{}fe.\u0275fac=function(i){return new(i||fe)},fe.\u0275mod=t.oAB({type:fe}),fe.\u0275inj=t.cJS({providers:[X],imports:[e.ez,O.ot,l.LD,C.AV]})},1294:(Ye,J,f)=>{"use strict";f.d(J,{Cv:()=>D,pW:()=>p});var e=f(2560),t=f(4666),_=f(207),O=f(8971);const l=new e.OlP("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");new e.OlP("mat-progress-bar-location",{providedIn:"root",factory:function u(){const k=(0,e.f3M)(t.K0),M=k?k.location:null;return{getPathname:()=>M?M.pathname+M.search:""}}});const P=(0,_.pj)(class{constructor(k){this._elementRef=k}},"primary");class p extends P{constructor(M,z,A,W,Z){super(M),this._ngZone=z,this._changeDetectorRef=A,this._animationMode=W,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new e.vpe,this._mode="determinate",this._transitionendHandler=X=>{0===this.animationEnd.observers.length||!X.target||!X.target.classList.contains("mdc-linear-progress__primary-bar")||("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation="NoopAnimations"===W,Z&&(Z.color&&(this.color=this.defaultColor=Z.color),this.mode=Z.mode||this.mode)}get value(){return this._value}set value(M){this._value=L((0,O.su)(M)),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(M){this._bufferValue=L((0,O.su)(M)),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(M){this._mode=M,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}}function L(k,M=0,z=100){return Math.max(M,Math.min(z,k))}p.\u0275fac=function(M){return new(M||p)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(e.QbO,8),e.Y36(l,8))},p.\u0275cmp=e.Xpm({type:p,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(M,z){2&M&&(e.uIk("aria-valuenow",z._isIndeterminate()?null:z.value)("mode",z.mode),e.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:[e.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(M,z){1&M&&(e.TgZ(0,"div",0),e._UZ(1,"div",1)(2,"div",2),e.qZA(),e.TgZ(3,"div",3),e._UZ(4,"span",4),e.qZA(),e.TgZ(5,"div",5),e._UZ(6,"span",4),e.qZA()),2&M&&(e.xp6(1),e.Udp("flex-basis",z._getBufferBarFlexBasis()),e.xp6(2),e.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});class D{}D.\u0275fac=function(M){return new(M||D)},D.\u0275mod=e.oAB({type:D}),D.\u0275inj=e.cJS({imports:[_.BQ]})},1708:(Ye,J,f)=>{"use strict";f.d(J,{Cq:()=>z,Ou:()=>k});var e=f(2560),t=f(207),_=f(8971),O=f(4666);const l=["determinateSpinner"];function C(A,W){if(1&A&&(e.O4$(),e.TgZ(0,"svg",11),e._UZ(1,"circle",12),e.qZA()),2&A){const Z=e.oxw();e.uIk("viewBox",Z._viewBox()),e.xp6(1),e.Udp("stroke-dasharray",Z._strokeCircumference(),"px")("stroke-dashoffset",Z._strokeCircumference()/2,"px")("stroke-width",Z._circleStrokeWidth(),"%"),e.uIk("r",Z._circleRadius())}}const u=(0,t.pj)(class{constructor(A){this._elementRef=A}},"primary"),P=new e.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function p(){return{diameter:L}}});const L=100;class k extends u{constructor(W,Z,X){super(W),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=L,this._noopAnimations="NoopAnimations"===Z&&!!X&&!X._forceAnimations,X&&(X.color&&(this.color=this.defaultColor=X.color),X.diameter&&(this.diameter=X.diameter),X.strokeWidth&&(this.strokeWidth=X.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(W){this._value=Math.max(0,Math.min(100,(0,_.su)(W)))}get diameter(){return this._diameter}set diameter(W){this._diameter=(0,_.su)(W)}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(W){this._strokeWidth=(0,_.su)(W)}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const W=2*this._circleRadius()+this.strokeWidth;return`0 0 ${W} ${W}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}}k.\u0275fac=function(W){return new(W||k)(e.Y36(e.SBq),e.Y36(e.QbO,8),e.Y36(P))},k.\u0275cmp=e.Xpm({type:k,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(W,Z){if(1&W&&e.Gf(l,5),2&W){let X;e.iGM(X=e.CRH())&&(Z._determinateCircle=X.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:12,hostBindings:function(W,Z){2&W&&(e.uIk("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===Z.mode?Z.value:null)("mode",Z.mode),e.Udp("width",Z.diameter,"px")("height",Z.diameter,"px"),e.ekj("_mat-animation-noopable",Z._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===Z.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[e.qOj],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(W,Z){if(1&W&&(e.YNc(0,C,2,8,"ng-template",null,0,e.W1O),e.TgZ(2,"div",1,2),e.O4$(),e.TgZ(4,"svg",3),e._UZ(5,"circle",4),e.qZA()(),e.kcU(),e.TgZ(6,"div",5)(7,"div",6)(8,"div",7),e.GkF(9,8),e.qZA(),e.TgZ(10,"div",9),e.GkF(11,8),e.qZA(),e.TgZ(12,"div",10),e.GkF(13,8),e.qZA()()()),2&W){const X=e.MAs(1);e.xp6(4),e.uIk("viewBox",Z._viewBox()),e.xp6(1),e.Udp("stroke-dasharray",Z._strokeCircumference(),"px")("stroke-dashoffset",Z._strokeDashOffset(),"px")("stroke-width",Z._circleStrokeWidth(),"%"),e.uIk("r",Z._circleRadius()),e.xp6(4),e.Q6J("ngTemplateOutlet",X),e.xp6(2),e.Q6J("ngTemplateOutlet",X),e.xp6(2),e.Q6J("ngTemplateOutlet",X)}},dependencies:[O.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});class z{}z.\u0275fac=function(W){return new(W||z)},z.\u0275mod=e.oAB({type:z}),z.\u0275inj=e.cJS({imports:[O.ez,t.BQ]})},2922:(Ye,J,f)=>{"use strict";f.d(J,{Fk:()=>se,U0:()=>he,VQ:()=>ae});var e=f(2560),t=f(207),_=f(4218),O=f(8971),l=f(1755),C=f(2508),u=f(4666);const P=["input"];let L=0;class D{constructor(le,re){this.source=le,this.value=re}}const k={provide:C.JU,useExisting:(0,e.Gpc)(()=>ae),multi:!0},M=new e.OlP("MatRadioGroup"),z=new e.OlP("mat-radio-default-options",{providedIn:"root",factory:function A(){return{color:"accent"}}});class W{constructor(le){this._changeDetector=le,this._value=null,this._name="mat-radio-group-"+L++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new e.vpe}get name(){return this._name}set name(le){this._name=le,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(le){this._labelPosition="before"===le?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(le){this._value!==le&&(this._value=le,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(le){this._selected=le,this.value=le?le.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(le){this._disabled=(0,O.Ig)(le),this._markRadiosForCheck()}get required(){return this._required}set required(le){this._required=(0,O.Ig)(le),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(le=>{le.name=this.name,le._markForCheck()})}_updateSelectedRadioFromValue(){const le=null!==this._selected&&this._selected.value===this._value;this._radios&&!le&&(this._selected=null,this._radios.forEach(re=>{re.checked=this.value===re.value,re.checked&&(this._selected=re)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new D(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(le=>le._markForCheck())}writeValue(le){this.value=le,this._changeDetector.markForCheck()}registerOnChange(le){this._controlValueAccessorChangeFn=le}registerOnTouched(le){this.onTouched=le}setDisabledState(le){this.disabled=le,this._changeDetector.markForCheck()}}W.\u0275fac=function(le){return new(le||W)(e.Y36(e.sBO))},W.\u0275dir=e.lG2({type:W,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}});const X=(0,t.Kr)((0,t.sb)(class Z{constructor(le){this._elementRef=le}}));class $ extends X{constructor(le,re,fe,T,i,o,m,h){super(re),this._changeDetector=fe,this._focusMonitor=T,this._radioDispatcher=i,this._providerOverride=m,this._uniqueId="mat-radio-"+ ++L,this.id=this._uniqueId,this.change=new e.vpe,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=le,this._noopAnimations="NoopAnimations"===o,h&&(this.tabIndex=(0,O.su)(h,0))}get checked(){return this._checked}set checked(le){const re=(0,O.Ig)(le);this._checked!==re&&(this._checked=re,re&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!re&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),re&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(le){this._value!==le&&(this._value=le,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===le),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(le){this._labelPosition=le}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(le){this._setDisabled((0,O.Ig)(le))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(le){this._required=(0,O.Ig)(le)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(le){this._color=le}get inputId(){return`${this.id||this._uniqueId}-input`}focus(le,re){re?this._focusMonitor.focusVia(this._inputElement,re,le):this._inputElement.nativeElement.focus(le)}_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((le,re)=>{le!==this.id&&re===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(le=>{!le&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new D(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(le){le.stopPropagation()}_onInputInteraction(le){if(le.stopPropagation(),!this.checked&&!this.disabled){const re=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),re&&this.radioGroup._emitChangeEvent())}}_setDisabled(le){this._disabled!==le&&(this._disabled=le,this._changeDetector.markForCheck())}_updateTabIndex(){const le=this.radioGroup;let re;if(re=le&&le.selected&&!this.disabled?le.selected===this?this.tabIndex:-1:this.tabIndex,re!==this._previousTabIndex){const fe=this._inputElement?.nativeElement;fe&&(fe.setAttribute("tabindex",re+""),this._previousTabIndex=re)}}}$.\u0275fac=function(le){e.$Z()},$.\u0275dir=e.lG2({type:$,viewQuery:function(le,re){if(1&le&&e.Gf(P,5),2&le){let fe;e.iGM(fe=e.CRH())&&(re._inputElement=fe.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:[e.qOj]});class ae extends W{}ae.\u0275fac=function(){let pe;return function(re){return(pe||(pe=e.n5z(ae)))(re||ae)}}(),ae.\u0275dir=e.lG2({type:ae,selectors:[["mat-radio-group"]],contentQueries:function(le,re,fe){if(1&le&&e.Suo(fe,he,5),2&le){let T;e.iGM(T=e.CRH())&&(re._radios=T)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],exportAs:["matRadioGroup"],features:[e._Bn([k,{provide:M,useExisting:ae}]),e.qOj]});class he extends ${constructor(le,re,fe,T,i,o,m,h){super(le,re,fe,T,i,o,m,h)}}he.\u0275fac=function(le){return new(le||he)(e.Y36(M,8),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(_.tE),e.Y36(l.A8),e.Y36(e.QbO,8),e.Y36(z,8),e.$8M("tabindex"))},he.\u0275cmp=e.Xpm({type:he,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-mdc-radio-button"],hostVars:15,hostBindings:function(le,re){1&le&&e.NdJ("focus",function(){return re._inputElement.nativeElement.focus()}),2&le&&(e.uIk("id",re.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),e.ekj("mat-primary","primary"===re.color)("mat-accent","accent"===re.color)("mat-warn","warn"===re.color)("mat-mdc-radio-checked",re.checked)("_mat-animation-noopable",re._noopAnimations))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[e.qOj],ngContentSelectors:["*"],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(le,re){if(1&le&&(e.F$t(),e.TgZ(0,"div",0,1)(2,"div",2)(3,"div",3),e.NdJ("click",function(T){return re._onInputInteraction(T)}),e.qZA(),e.TgZ(4,"input",4,5),e.NdJ("change",function(T){return re._onInputInteraction(T)}),e.qZA(),e.TgZ(6,"div",6),e._UZ(7,"div",7)(8,"div",8),e.qZA(),e.TgZ(9,"div",9),e._UZ(10,"div",10),e.qZA()(),e.TgZ(11,"label",11),e.Hsn(12),e.qZA()()),2&le){const fe=e.MAs(1);e.ekj("mdc-form-field--align-end","before"==re.labelPosition),e.xp6(2),e.ekj("mdc-radio--disabled",re.disabled),e.xp6(2),e.Q6J("id",re.inputId)("checked",re.checked)("disabled",re.disabled)("required",re.required),e.uIk("name",re.name)("value",re.value)("aria-label",re.ariaLabel)("aria-labelledby",re.ariaLabelledby)("aria-describedby",re.ariaDescribedby),e.xp6(5),e.Q6J("matRippleTrigger",fe)("matRippleDisabled",re._isRippleDisabled())("matRippleCentered",!0),e.xp6(2),e.Q6J("for",re.inputId)}},dependencies:[t.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});class se{}se.\u0275fac=function(le){return new(le||se)},se.\u0275mod=e.oAB({type:se}),se.\u0275inj=e.cJS({imports:[t.BQ,u.ez,t.si,t.BQ]})},7371:(Ye,J,f)=>{"use strict";f.d(J,{$L:()=>ge,LD:()=>Oe,PG:()=>Y,gD:()=>$e});var e=f(5895),t=f(4666),_=f(2560),O=f(207),l=f(5074),C=f(1494),u=f(4218),P=f(2867),p=f(8971),L=f(1755),D=f(8456),k=f(2508),M=f(253),z=f(1954),A=f(6646),W=f(4874),Z=f(2673),X=f(9295),$=f(116),ae=f(635),he=f(8977),se=f(8951),pe=f(4851);const le=["trigger"],re=["panel"];function fe(Me,De){if(1&Me&&(_.TgZ(0,"span",10),_._uU(1),_.qZA()),2&Me){const Ue=_.oxw();_.xp6(1),_.Oqu(Ue.placeholder)}}function T(Me,De){if(1&Me&&(_.TgZ(0,"span",14),_._uU(1),_.qZA()),2&Me){const Ue=_.oxw(2);_.xp6(1),_.Oqu(Ue.triggerValue)}}function i(Me,De){1&Me&&_.Hsn(0,0,["*ngSwitchCase","true"])}function o(Me,De){if(1&Me&&(_.TgZ(0,"span",11),_.YNc(1,T,2,1,"span",12),_.YNc(2,i,1,0,"ng-content",13),_.qZA()),2&Me){const Ue=_.oxw();_.Q6J("ngSwitch",!!Ue.customTrigger),_.xp6(2),_.Q6J("ngSwitchCase",!0)}}function m(Me,De){if(1&Me){const Ue=_.EpF();_.O4$(),_.kcU(),_.TgZ(0,"div",15,16),_.NdJ("@transformPanel.done",function(we){_.CHM(Ue);const ie=_.oxw();return _.KtG(ie._panelDoneAnimatingStream.next(we.toState))})("keydown",function(we){_.CHM(Ue);const ie=_.oxw();return _.KtG(ie._handleKeydown(we))}),_.Hsn(2,1),_.qZA()}if(2&Me){const Ue=_.oxw();_.Gre("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",Ue._getPanelTheme(),""),_.Q6J("ngClass",Ue.panelClass)("@transformPanel","showing"),_.uIk("id",Ue.id+"-panel")("aria-multiselectable",Ue.multiple)("aria-label",Ue.ariaLabel||null)("aria-labelledby",Ue._getPanelAriaLabelledby())}}const h=[[["mat-select-trigger"]],"*"],I={transformPanelWrap:(0,pe.X$)("transformPanelWrap",[(0,pe.eR)("* => void",(0,pe.IO)("@transformPanel",[(0,pe.pV)()],{optional:!0}))]),transformPanel:(0,pe.X$)("transformPanel",[(0,pe.SB)("void",(0,pe.oB)({opacity:0,transform:"scale(1, 0.8)"})),(0,pe.eR)("void => showing",(0,pe.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,pe.oB)({opacity:1,transform:"scale(1, 1)"}))),(0,pe.eR)("* => void",(0,pe.jt)("100ms linear",(0,pe.oB)({opacity:0})))])};let w=0;const V=new _.OlP("mat-select-scroll-strategy");const Y=new _.OlP("MAT_SELECT_CONFIG"),Pe={provide:V,deps:[e.aV],useFactory:function N(Me){return()=>Me.scrollStrategies.reposition()}},Ce=new _.OlP("MatSelectTrigger");class Xe{constructor(De,Ue){this.source=De,this.value=Ue}}const dt=(0,O.Kr)((0,O.sb)((0,O.Id)((0,O.FD)(class{constructor(Me,De,Ue,ye,we){this._elementRef=Me,this._defaultErrorStateMatcher=De,this._parentForm=Ue,this._parentFormGroup=ye,this.ngControl=we,this.stateChanges=new M.x}}))));class Ke extends dt{constructor(De,Ue,ye,we,ie,Se,ne,K,ee,ze,Ve,oe,at,qe){super(ie,we,ne,K,ze),this._viewportRuler=De,this._changeDetectorRef=Ue,this._ngZone=ye,this._dir=Se,this._parentFormField=ee,this._liveAnnouncer=at,this._defaultOptions=qe,this._panelOpen=!1,this._compareWith=(it,ii)=>it===ii,this._uid="mat-select-"+w++,this._triggerAriaLabelledBy=null,this._destroy=new M.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+w++,this._panelDoneAnimatingStream=new M.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,z.P)(()=>{const it=this.options;return it?it.changes.pipe((0,W.O)(it),(0,Z.w)(()=>(0,A.T)(...it.map(ii=>ii.onSelectionChange)))):this._ngZone.onStable.pipe((0,X.q)(1),(0,Z.w)(()=>this.optionSelectionChanges))}),this.openedChange=new _.vpe,this._openedStream=this.openedChange.pipe((0,$.h)(it=>it),(0,ae.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,$.h)(it=>!it),(0,ae.U)(()=>{})),this.selectionChange=new _.vpe,this.valueChange=new _.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=qe?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=qe.typeaheadDebounceInterval),this._scrollStrategyFactory=oe,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(Ve)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(De){this._placeholder=De,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(k.kI.required)??!1}set required(De){this._required=(0,p.Ig)(De),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(De){this._selectionModel,this._multiple=(0,p.Ig)(De)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(De){this._disableOptionCentering=(0,p.Ig)(De)}get compareWith(){return this._compareWith}set compareWith(De){this._compareWith=De,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(De){this._assignValue(De)&&this._onChange(De)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(De){this._typeaheadDebounceInterval=(0,p.su)(De)}get id(){return this._id}set id(De){this._id=De||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new L.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,he.x)(),(0,se.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,se.R)(this._destroy)).subscribe(De=>{De.added.forEach(Ue=>Ue.select()),De.removed.forEach(Ue=>Ue.deselect())}),this.options.changes.pipe((0,W.O)(null),(0,se.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const De=this._getTriggerAriaLabelledby(),Ue=this.ngControl;if(De!==this._triggerAriaLabelledBy){const ye=this._elementRef.nativeElement;this._triggerAriaLabelledBy=De,De?ye.setAttribute("aria-labelledby",De):ye.removeAttribute("aria-labelledby")}Ue&&(this._previousControl!==Ue.control&&(void 0!==this._previousControl&&null!==Ue.disabled&&Ue.disabled!==this.disabled&&(this.disabled=Ue.disabled),this._previousControl=Ue.control),this.updateErrorState())}ngOnChanges(De){(De.disabled||De.userAriaDescribedBy)&&this.stateChanges.next(),De.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(De){this._assignValue(De)}registerOnChange(De){this._onChange=De}registerOnTouched(De){this._onTouched=De}setDisabledState(De){this.disabled=De,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 De=this._selectionModel.selected.map(Ue=>Ue.viewValue);return this._isRtl()&&De.reverse(),De.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(De){this.disabled||(this.panelOpen?this._handleOpenKeydown(De):this._handleClosedKeydown(De))}_handleClosedKeydown(De){const Ue=De.keyCode,ye=Ue===D.JH||Ue===D.LH||Ue===D.oh||Ue===D.SV,we=Ue===D.K5||Ue===D.L_,ie=this._keyManager;if(!ie.isTyping()&&we&&!(0,D.Vb)(De)||(this.multiple||De.altKey)&&ye)De.preventDefault(),this.open();else if(!this.multiple){const Se=this.selected;ie.onKeydown(De);const ne=this.selected;ne&&Se!==ne&&this._liveAnnouncer.announce(ne.viewValue,1e4)}}_handleOpenKeydown(De){const Ue=this._keyManager,ye=De.keyCode,we=ye===D.JH||ye===D.LH,ie=Ue.isTyping();if(we&&De.altKey)De.preventDefault(),this.close();else if(ie||ye!==D.K5&&ye!==D.L_||!Ue.activeItem||(0,D.Vb)(De))if(!ie&&this._multiple&&ye===D.A&&De.ctrlKey){De.preventDefault();const Se=this.options.some(ne=>!ne.disabled&&!ne.selected);this.options.forEach(ne=>{ne.disabled||(Se?ne.select():ne.deselect())})}else{const Se=Ue.activeItemIndex;Ue.onKeydown(De),this._multiple&&we&&De.shiftKey&&Ue.activeItem&&Ue.activeItemIndex!==Se&&Ue.activeItem._selectViaInteraction()}else De.preventDefault(),Ue.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,X.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(De){if(this._selectionModel.selected.forEach(Ue=>Ue.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&De)Array.isArray(De),De.forEach(Ue=>this._selectOptionByValue(Ue)),this._sortValues();else{const Ue=this._selectOptionByValue(De);Ue?this._keyManager.updateActiveItem(Ue):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(De){const Ue=this.options.find(ye=>{if(this._selectionModel.isSelected(ye))return!1;try{return null!=ye.value&&this._compareWith(ye.value,De)}catch{return!1}});return Ue&&this._selectionModel.select(Ue),Ue}_assignValue(De){return!!(De!==this._value||this._multiple&&Array.isArray(De))&&(this.options&&this._setSelectionByValue(De),this._value=De,!0)}_initKeyManager(){this._keyManager=new u.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const De=(0,A.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,se.R)(De)).subscribe(Ue=>{this._onSelect(Ue.source,Ue.isUserInput),Ue.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,A.T)(...this.options.map(Ue=>Ue._stateChanges)).pipe((0,se.R)(De)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(De,Ue){const ye=this._selectionModel.isSelected(De);null!=De.value||this._multiple?(ye!==De.selected&&(De.selected?this._selectionModel.select(De):this._selectionModel.deselect(De)),Ue&&this._keyManager.setActiveItem(De),this.multiple&&(this._sortValues(),Ue&&this.focus())):(De.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(De.value)),ye!==this._selectionModel.isSelected(De)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const De=this.options.toArray();this._selectionModel.sort((Ue,ye)=>this.sortComparator?this.sortComparator(Ue,ye,De):De.indexOf(Ue)-De.indexOf(ye)),this.stateChanges.next()}}_propagateChanges(De){let Ue=null;Ue=this.multiple?this.selected.map(ye=>ye.value):this.selected?this.selected.value:De,this._value=Ue,this.valueChange.emit(Ue),this._onChange(Ue),this.selectionChange.emit(this._getChangeEvent(Ue)),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(De){this._elementRef.nativeElement.focus(De)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const De=this._parentFormField?.getLabelId(),Ue=De?De+" ":"";return this.ariaLabelledby?Ue+this.ariaLabelledby:De}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const De=this._parentFormField?.getLabelId();let Ue=(De?De+" ":"")+this._valueId;return this.ariaLabelledby&&(Ue+=" "+this.ariaLabelledby),Ue}_panelDoneAnimating(De){this.openedChange.emit(De)}setDescribedByIds(De){De.length?this._elementRef.nativeElement.setAttribute("aria-describedby",De.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}Ke.\u0275fac=function(De){return new(De||Ke)(_.Y36(C.rL),_.Y36(_.sBO),_.Y36(_.R0b),_.Y36(O.rD),_.Y36(_.SBq),_.Y36(P.Is,8),_.Y36(k.F,8),_.Y36(k.sg,8),_.Y36(l.G_,8),_.Y36(k.a5,10),_.$8M("tabindex"),_.Y36(V),_.Y36(u.Kd),_.Y36(Y,8))},Ke.\u0275dir=_.lG2({type:Ke,viewQuery:function(De,Ue){if(1&De&&(_.Gf(le,5),_.Gf(re,5),_.Gf(e.pI,5)),2&De){let ye;_.iGM(ye=_.CRH())&&(Ue.trigger=ye.first),_.iGM(ye=_.CRH())&&(Ue.panel=ye.first),_.iGM(ye=_.CRH())&&(Ue._overlayDir=ye.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[_.qOj,_.TTD]});class ge{}ge.\u0275fac=function(De){return new(De||ge)},ge.\u0275dir=_.lG2({type:ge,selectors:[["mat-select-trigger"]],features:[_._Bn([{provide:Ce,useExisting:ge}])]});class $e extends Ke{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,se.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(De){const Ue=this.options.toArray()[De];if(Ue){const ye=this.panel.nativeElement,we=(0,O.CB)(De,this.options,this.optionGroups),ie=Ue._getHostElement();ye.scrollTop=0===De&&1===we?0:(0,O.jH)(ie.offsetTop,ie.offsetHeight,ye.scrollTop,ye.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(De){return new Xe(this,De)}_getOverlayWidth(){return(this._preferredOverlayOrigin instanceof e.xu?this._preferredOverlayOrigin.elementRef:this._preferredOverlayOrigin||this._elementRef).nativeElement.getBoundingClientRect().width}}$e.\u0275fac=function(){let Me;return function(Ue){return(Me||(Me=_.n5z($e)))(Ue||$e)}}(),$e.\u0275cmp=_.Xpm({type:$e,selectors:[["mat-select"]],contentQueries:function(De,Ue,ye){if(1&De&&(_.Suo(ye,Ce,5),_.Suo(ye,O.ey,5),_.Suo(ye,O.K7,5)),2&De){let we;_.iGM(we=_.CRH())&&(Ue.customTrigger=we.first),_.iGM(we=_.CRH())&&(Ue.options=we),_.iGM(we=_.CRH())&&(Ue.optionGroups=we)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(De,Ue){1&De&&_.NdJ("keydown",function(we){return Ue._handleKeydown(we)})("focus",function(){return Ue._onFocus()})("blur",function(){return Ue._onBlur()}),2&De&&(_.uIk("id",Ue.id)("tabindex",Ue.tabIndex)("aria-controls",Ue.panelOpen?Ue.id+"-panel":null)("aria-expanded",Ue.panelOpen)("aria-label",Ue.ariaLabel||null)("aria-required",Ue.required.toString())("aria-disabled",Ue.disabled.toString())("aria-invalid",Ue.errorState)("aria-activedescendant",Ue._getAriaActiveDescendant()),_.ekj("mat-mdc-select-disabled",Ue.disabled)("mat-mdc-select-invalid",Ue.errorState)("mat-mdc-select-required",Ue.required)("mat-mdc-select-empty",Ue.empty)("mat-mdc-select-multiple",Ue.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[_._Bn([{provide:l.Eo,useExisting:$e},{provide:O.HF,useExisting:$e}]),_.qOj],ngContentSelectors:["mat-select-trigger","*"],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(De,Ue){if(1&De&&(_.F$t(h),_.TgZ(0,"div",0,1),_.NdJ("click",function(){return Ue.toggle()}),_.TgZ(3,"div",2),_.YNc(4,fe,2,1,"span",3),_.YNc(5,o,3,2,"span",4),_.qZA(),_.TgZ(6,"div",5)(7,"div",6),_.O4$(),_.TgZ(8,"svg",7),_._UZ(9,"path",8),_.qZA()()()(),_.YNc(10,m,3,9,"ng-template",9),_.NdJ("backdropClick",function(){return Ue.close()})("attach",function(){return Ue._onAttached()})("detach",function(){return Ue.close()})),2&De){const ye=_.MAs(1);_.uIk("aria-owns",Ue.panelOpen?Ue.id+"-panel":null),_.xp6(3),_.Q6J("ngSwitch",Ue.empty),_.uIk("id",Ue._valueId),_.xp6(1),_.Q6J("ngSwitchCase",!0),_.xp6(1),_.Q6J("ngSwitchCase",!1),_.xp6(5),_.Q6J("cdkConnectedOverlayPanelClass",Ue._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",Ue._scrollStrategy)("cdkConnectedOverlayOrigin",Ue._preferredOverlayOrigin||ye)("cdkConnectedOverlayOpen",Ue.panelOpen)("cdkConnectedOverlayPositions",Ue._positions)("cdkConnectedOverlayWidth",Ue._overlayWidth)}},dependencies:[t.mk,t.RF,t.n9,t.ED,e.pI,e.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:[I.transformPanel]},changeDetection:0});class Oe{}Oe.\u0275fac=function(De){return new(De||Oe)},Oe.\u0275mod=_.oAB({type:Oe}),Oe.\u0275inj=_.cJS({providers:[Pe],imports:[t.ez,e.U8,O.Ng,O.BQ,C.ZD,l.lN,O.Ng,O.BQ]})},6643:(Ye,J,f)=>{"use strict";f.d(J,{JX:()=>Ce,Rh:()=>Pe,SJ:()=>dt,TM:()=>Xe});var e=f(1494),t=f(4666),_=f(2560),O=f(207),l=f(4218),C=f(2867),u=f(8971),P=f(8456),p=f(9107),L=f(253),D=f(3280),k=f(6646),M=f(116),z=f(635),A=f(73),W=f(8951),Z=f(8977),X=f(9295),$=f(4874),ae=f(1989),he=f(4851);const se=["*"],pe=["content"];function le(Ke,ge){if(1&Ke){const $e=_.EpF();_.TgZ(0,"div",2),_.NdJ("click",function(){_.CHM($e);const Me=_.oxw();return _.KtG(Me._onBackdropClicked())}),_.qZA()}if(2&Ke){const $e=_.oxw();_.ekj("mat-drawer-shown",$e._isShowingBackdrop())}}function re(Ke,ge){1&Ke&&(_.TgZ(0,"mat-drawer-content"),_.Hsn(1,2),_.qZA())}const fe=[[["mat-drawer"]],[["mat-drawer-content"]],"*"];function i(Ke,ge){if(1&Ke){const $e=_.EpF();_.TgZ(0,"div",2),_.NdJ("click",function(){_.CHM($e);const Me=_.oxw();return _.KtG(Me._onBackdropClicked())}),_.qZA()}if(2&Ke){const $e=_.oxw();_.ekj("mat-drawer-shown",$e._isShowingBackdrop())}}function o(Ke,ge){1&Ke&&(_.TgZ(0,"mat-sidenav-content"),_.Hsn(1,2),_.qZA())}const m=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],I={transformDrawer:(0,he.X$)("transform",[(0,he.SB)("open, open-instant",(0,he.oB)({transform:"none",visibility:"visible"})),(0,he.SB)("void",(0,he.oB)({"box-shadow":"none",visibility:"hidden"})),(0,he.eR)("void => open-instant",(0,he.jt)("0ms")),(0,he.eR)("void <=> open, open-instant => void",(0,he.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])};const g=new _.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function w(){return!1}}),r=new _.OlP("MAT_DRAWER_CONTAINER");class V extends e.PQ{constructor(ge,$e,Oe,Me,De){super(Oe,Me,De),this._changeDetectorRef=ge,this._container=$e}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}V.\u0275fac=function(ge){return new(ge||V)(_.Y36(_.sBO),_.Y36((0,_.Gpc)(()=>Y)),_.Y36(_.SBq),_.Y36(e.mF),_.Y36(_.R0b))},V.\u0275cmp=_.Xpm({type:V,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(ge,$e){2&ge&&_.Udp("margin-left",$e._container._contentMargins.left,"px")("margin-right",$e._container._contentMargins.right,"px")},features:[_._Bn([{provide:e.PQ,useExisting:V}]),_.qOj],ngContentSelectors:se,decls:1,vars:0,template:function(ge,$e){1&ge&&(_.F$t(),_.Hsn(0))},encapsulation:2,changeDetection:0});class N{constructor(ge,$e,Oe,Me,De,Ue,ye,we){this._elementRef=ge,this._focusTrapFactory=$e,this._focusMonitor=Oe,this._platform=Me,this._ngZone=De,this._interactivityChecker=Ue,this._doc=ye,this._container=we,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new L.x,this._animationEnd=new L.x,this._animationState="void",this.openedChange=new _.vpe(!0),this._openedStream=this.openedChange.pipe((0,M.h)(ie=>ie),(0,z.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,M.h)(ie=>ie.fromState!==ie.toState&&0===ie.toState.indexOf("open")),(0,A.h)(void 0)),this._closedStream=this.openedChange.pipe((0,M.h)(ie=>!ie),(0,z.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,M.h)(ie=>ie.fromState!==ie.toState&&"void"===ie.toState),(0,A.h)(void 0)),this._destroyed=new L.x,this.onPositionChanged=new _.vpe,this._modeChanged=new L.x,this.openedChange.subscribe(ie=>{ie?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,D.R)(this._elementRef.nativeElement,"keydown").pipe((0,M.h)(ie=>ie.keyCode===P.hY&&!this.disableClose&&!(0,P.Vb)(ie)),(0,W.R)(this._destroyed)).subscribe(ie=>this._ngZone.run(()=>{this.close(),ie.stopPropagation(),ie.preventDefault()}))}),this._animationEnd.pipe((0,Z.x)((ie,Se)=>ie.fromState===Se.fromState&&ie.toState===Se.toState)).subscribe(ie=>{const{fromState:Se,toState:ne}=ie;(0===ne.indexOf("open")&&"void"===Se||"void"===ne&&0===Se.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(ge){(ge="end"===ge?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(ge),this._position=ge,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(ge){this._mode=ge,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(ge){this._disableClose=(0,u.Ig)(ge)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(ge){("true"===ge||"false"===ge||null==ge)&&(ge=(0,u.Ig)(ge)),this._autoFocus=ge}get opened(){return this._opened}set opened(ge){this.toggle((0,u.Ig)(ge))}_forceFocus(ge,$e){this._interactivityChecker.isFocusable(ge)||(ge.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Oe=()=>{ge.removeEventListener("blur",Oe),ge.removeEventListener("mousedown",Oe),ge.removeAttribute("tabindex")};ge.addEventListener("blur",Oe),ge.addEventListener("mousedown",Oe)})),ge.focus($e)}_focusByCssSelector(ge,$e){let Oe=this._elementRef.nativeElement.querySelector(ge);Oe&&this._forceFocus(Oe,$e)}_takeFocus(){if(!this._focusTrap)return;const ge=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then($e=>{!$e&&"function"==typeof this._elementRef.nativeElement.focus&&ge.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(ge){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,ge):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const ge=this._doc.activeElement;return!!ge&&this._elementRef.nativeElement.contains(ge)}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(ge){return this.toggle(!0,ge)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(ge=!this.opened,$e){ge&&$e&&(this._openedVia=$e);const Oe=this._setOpen(ge,!ge&&this._isFocusWithinDrawer(),this._openedVia||"program");return ge||(this._openedVia=null),Oe}_setOpen(ge,$e,Oe){return this._opened=ge,ge?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",$e&&this._restoreFocus(Oe)),this._updateFocusTrapState(),new Promise(Me=>{this.openedChange.pipe((0,X.q)(1)).subscribe(De=>Me(De?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(ge){const $e=this._elementRef.nativeElement,Oe=$e.parentNode;"end"===ge?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),Oe.insertBefore(this._anchor,$e)),Oe.appendChild($e)):this._anchor&&this._anchor.parentNode.insertBefore($e,this._anchor)}}N.\u0275fac=function(ge){return new(ge||N)(_.Y36(_.SBq),_.Y36(l.qV),_.Y36(l.tE),_.Y36(p.t4),_.Y36(_.R0b),_.Y36(l.ic),_.Y36(t.K0,8),_.Y36(r,8))},N.\u0275cmp=_.Xpm({type:N,selectors:[["mat-drawer"]],viewQuery:function(ge,$e){if(1&ge&&_.Gf(pe,5),2&ge){let Oe;_.iGM(Oe=_.CRH())&&($e._content=Oe.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(ge,$e){1&ge&&_.WFA("@transform.start",function(Me){return $e._animationStarted.next(Me)})("@transform.done",function(Me){return $e._animationEnd.next(Me)}),2&ge&&(_.uIk("align",null),_.d8E("@transform",$e._animationState),_.ekj("mat-drawer-end","end"===$e.position)("mat-drawer-over","over"===$e.mode)("mat-drawer-push","push"===$e.mode)("mat-drawer-side","side"===$e.mode)("mat-drawer-opened",$e.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:se,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(ge,$e){1&ge&&(_.F$t(),_.TgZ(0,"div",0,1),_.Hsn(2),_.qZA())},dependencies:[e.PQ],encapsulation:2,data:{animation:[I.transformDrawer]},changeDetection:0});class Y{constructor(ge,$e,Oe,Me,De,Ue=!1,ye){this._dir=ge,this._element=$e,this._ngZone=Oe,this._changeDetectorRef=Me,this._animationMode=ye,this._drawers=new _.n_E,this.backdropClick=new _.vpe,this._destroyed=new L.x,this._doCheckSubject=new L.x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new L.x,ge&&ge.change.pipe((0,W.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),De.change().pipe((0,W.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=Ue}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(ge){this._autosize=(0,u.Ig)(ge)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(ge){this._backdropOverride=null==ge?null:(0,u.Ig)(ge)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe((0,$.O)(this._allDrawers),(0,W.R)(this._destroyed)).subscribe(ge=>{this._drawers.reset(ge.filter($e=>!$e._container||$e._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,$.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(ge=>{this._watchDrawerToggle(ge),this._watchDrawerPosition(ge),this._watchDrawerMode(ge)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,ae.b)(10),(0,W.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(ge=>ge.open())}close(){this._drawers.forEach(ge=>ge.close())}updateContentMargins(){let ge=0,$e=0;if(this._left&&this._left.opened)if("side"==this._left.mode)ge+=this._left._getWidth();else if("push"==this._left.mode){const Oe=this._left._getWidth();ge+=Oe,$e-=Oe}if(this._right&&this._right.opened)if("side"==this._right.mode)$e+=this._right._getWidth();else if("push"==this._right.mode){const Oe=this._right._getWidth();$e+=Oe,ge-=Oe}ge=ge||null,$e=$e||null,(ge!==this._contentMargins.left||$e!==this._contentMargins.right)&&(this._contentMargins={left:ge,right:$e},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(ge){ge._animationStarted.pipe((0,M.h)($e=>$e.fromState!==$e.toState),(0,W.R)(this._drawers.changes)).subscribe($e=>{"open-instant"!==$e.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==ge.mode&&ge.openedChange.pipe((0,W.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(ge.opened))}_watchDrawerPosition(ge){!ge||ge.onPositionChanged.pipe((0,W.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,X.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(ge){ge&&ge._modeChanged.pipe((0,W.R)((0,k.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(ge){const $e=this._element.nativeElement.classList,Oe="mat-drawer-container-has-open";ge?$e.add(Oe):$e.remove(Oe)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(ge=>{"end"==ge.position?(this._end,this._end=ge):(this._start,this._start=ge)}),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(ge=>ge&&!ge.disableClose&&this._canHaveBackdrop(ge)).forEach(ge=>ge._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(ge){return"side"!==ge.mode||!!this._backdropOverride}_isDrawerOpen(ge){return null!=ge&&ge.opened}}Y.\u0275fac=function(ge){return new(ge||Y)(_.Y36(C.Is,8),_.Y36(_.SBq),_.Y36(_.R0b),_.Y36(_.sBO),_.Y36(e.rL),_.Y36(g),_.Y36(_.QbO,8))},Y.\u0275cmp=_.Xpm({type:Y,selectors:[["mat-drawer-container"]],contentQueries:function(ge,$e,Oe){if(1&ge&&(_.Suo(Oe,V,5),_.Suo(Oe,N,5)),2&ge){let Me;_.iGM(Me=_.CRH())&&($e._content=Me.first),_.iGM(Me=_.CRH())&&($e._allDrawers=Me)}},viewQuery:function(ge,$e){if(1&ge&&_.Gf(V,5),2&ge){let Oe;_.iGM(Oe=_.CRH())&&($e._userContent=Oe.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(ge,$e){2&ge&&_.ekj("mat-drawer-container-explicit-backdrop",$e._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[_._Bn([{provide:r,useExisting:Y}])],ngContentSelectors:["mat-drawer","mat-drawer-content","*"],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(ge,$e){1&ge&&(_.F$t(fe),_.YNc(0,le,1,2,"div",0),_.Hsn(1),_.Hsn(2,1),_.YNc(3,re,2,0,"mat-drawer-content",1)),2&ge&&(_.Q6J("ngIf",$e.hasBackdrop),_.xp6(3),_.Q6J("ngIf",!$e._content))},dependencies:[t.O5,V],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0});class Pe extends V{constructor(ge,$e,Oe,Me,De){super(ge,$e,Oe,Me,De)}}Pe.\u0275fac=function(ge){return new(ge||Pe)(_.Y36(_.sBO),_.Y36((0,_.Gpc)(()=>Xe)),_.Y36(_.SBq),_.Y36(e.mF),_.Y36(_.R0b))},Pe.\u0275cmp=_.Xpm({type:Pe,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(ge,$e){2&ge&&_.Udp("margin-left",$e._container._contentMargins.left,"px")("margin-right",$e._container._contentMargins.right,"px")},features:[_._Bn([{provide:e.PQ,useExisting:Pe}]),_.qOj],ngContentSelectors:se,decls:1,vars:0,template:function(ge,$e){1&ge&&(_.F$t(),_.Hsn(0))},encapsulation:2,changeDetection:0});class Ce extends N{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(ge){this._fixedInViewport=(0,u.Ig)(ge)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(ge){this._fixedTopGap=(0,u.su)(ge)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(ge){this._fixedBottomGap=(0,u.su)(ge)}}Ce.\u0275fac=function(){let Ke;return function($e){return(Ke||(Ke=_.n5z(Ce)))($e||Ce)}}(),Ce.\u0275cmp=_.Xpm({type:Ce,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(ge,$e){2&ge&&(_.uIk("align",null),_.Udp("top",$e.fixedInViewport?$e.fixedTopGap:null,"px")("bottom",$e.fixedInViewport?$e.fixedBottomGap:null,"px"),_.ekj("mat-drawer-end","end"===$e.position)("mat-drawer-over","over"===$e.mode)("mat-drawer-push","push"===$e.mode)("mat-drawer-side","side"===$e.mode)("mat-drawer-opened",$e.opened)("mat-sidenav-fixed",$e.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[_.qOj],ngContentSelectors:se,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(ge,$e){1&ge&&(_.F$t(),_.TgZ(0,"div",0,1),_.Hsn(2),_.qZA())},dependencies:[e.PQ],encapsulation:2,data:{animation:[I.transformDrawer]},changeDetection:0});class Xe extends Y{}Xe.\u0275fac=function(){let Ke;return function($e){return(Ke||(Ke=_.n5z(Xe)))($e||Xe)}}(),Xe.\u0275cmp=_.Xpm({type:Xe,selectors:[["mat-sidenav-container"]],contentQueries:function(ge,$e,Oe){if(1&ge&&(_.Suo(Oe,Pe,5),_.Suo(Oe,Ce,5)),2&ge){let Me;_.iGM(Me=_.CRH())&&($e._content=Me.first),_.iGM(Me=_.CRH())&&($e._allDrawers=Me)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(ge,$e){2&ge&&_.ekj("mat-drawer-container-explicit-backdrop",$e._backdropOverride)},exportAs:["matSidenavContainer"],features:[_._Bn([{provide:r,useExisting:Xe}]),_.qOj],ngContentSelectors:["mat-sidenav","mat-sidenav-content","*"],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(ge,$e){1&ge&&(_.F$t(m),_.YNc(0,i,1,2,"div",0),_.Hsn(1),_.Hsn(2,1),_.YNc(3,o,2,0,"mat-sidenav-content",1)),2&ge&&(_.Q6J("ngIf",$e.hasBackdrop),_.xp6(3),_.Q6J("ngIf",!$e._content))},dependencies:[t.O5,Pe],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});class dt{}dt.\u0275fac=function(ge){return new(ge||dt)},dt.\u0275mod=_.oAB({type:dt}),dt.\u0275inj=_.cJS({imports:[t.ez,O.BQ,e.ZD,e.ZD,O.BQ]})},4714:(Ye,J,f)=>{"use strict";f.d(J,{Rr:()=>A,rP:()=>$});var e=f(2560),t=f(2508),_=f(4218),O=f(207),l=f(8971),C=f(4666);const u=["switch"],p=new e.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})}),L={provide:t.JU,useExisting:(0,e.Gpc)(()=>A),multi:!0};class D{constructor(he,se){this.source=he,this.checked=se}}let k=0;const M=(0,O.sb)((0,O.pj)((0,O.Kr)((0,O.Id)(class{constructor(ae){this._elementRef=ae}}))));class z extends M{constructor(he,se,pe,le,re,fe,T){super(he),this._focusMonitor=se,this._changeDetectorRef=pe,this.defaults=re,this._onChange=i=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new e.vpe,this.toggleChange=new e.vpe,this.tabIndex=parseInt(le)||0,this.color=this.defaultColor=re.color||"accent",this._noopAnimations="NoopAnimations"===fe,this.id=this._uniqueId=`${T}${++k}`}get required(){return this._required}set required(he){this._required=(0,l.Ig)(he)}get checked(){return this._checked}set checked(he){this._checked=(0,l.Ig)(he),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}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))}}z.\u0275fac=function(he){e.$Z()},z.\u0275dir=e.lG2({type:z,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:[e.qOj]});class A extends z{constructor(he,se,pe,le,re,fe){super(he,se,pe,le,re,fe,"mat-mdc-slide-toggle-"),this._labelId=this._uniqueId+"-label"}get buttonId(){return`${this.id||this._uniqueId}-button`}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new D(this,this.checked)))}focus(){this._switchElement.nativeElement.focus()}_createChangeEvent(he){return new D(this,he)}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}}A.\u0275fac=function(he){return new(he||A)(e.Y36(e.SBq),e.Y36(_.tE),e.Y36(e.sBO),e.$8M("tabindex"),e.Y36(p),e.Y36(e.QbO,8))},A.\u0275cmp=e.Xpm({type:A,selectors:[["mat-slide-toggle"]],viewQuery:function(he,se){if(1&he&&e.Gf(u,5),2&he){let pe;e.iGM(pe=e.CRH())&&(se._switchElement=pe.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:11,hostBindings:function(he,se){2&he&&(e.Ikx("id",se.id),e.uIk("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),e.ekj("mat-mdc-slide-toggle-focused",se._focused)("mat-mdc-slide-toggle-checked",se.checked)("_mat-animation-noopable",se._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[e._Bn([L]),e.qOj],ngContentSelectors:["*"],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,se){if(1&he&&(e.F$t(),e.TgZ(0,"div",0)(1,"button",1,2),e.NdJ("click",function(){return se._handleClick()}),e._UZ(3,"div",3),e.TgZ(4,"div",4)(5,"div",5)(6,"div",6),e._UZ(7,"div",7),e.qZA(),e.TgZ(8,"div",8),e._UZ(9,"div",9),e.qZA(),e.TgZ(10,"div",10),e.O4$(),e.TgZ(11,"svg",11),e._UZ(12,"path",12),e.qZA(),e.TgZ(13,"svg",13),e._UZ(14,"path",14),e.qZA()()()()(),e.kcU(),e.TgZ(15,"label",15),e.NdJ("click",function(le){return le.stopPropagation()}),e.Hsn(16),e.qZA()()),2&he){const pe=e.MAs(2);e.ekj("mdc-form-field--align-end","before"==se.labelPosition),e.xp6(1),e.ekj("mdc-switch--selected",se.checked)("mdc-switch--unselected",!se.checked)("mdc-switch--checked",se.checked)("mdc-switch--disabled",se.disabled),e.Q6J("tabIndex",se.tabIndex)("disabled",se.disabled),e.uIk("id",se.buttonId)("name",se.name)("aria-label",se.ariaLabel)("aria-labelledby",se._getAriaLabelledBy())("aria-describedby",se.ariaDescribedby)("aria-required",se.required||null)("aria-checked",se.checked),e.xp6(8),e.Q6J("matRippleTrigger",pe)("matRippleDisabled",se.disableRipple||se.disabled)("matRippleCentered",!0),e.xp6(6),e.Q6J("for",se.buttonId),e.uIk("id",se._labelId)}},dependencies:[O.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});const W={provide:t.Cf,useExisting:(0,e.Gpc)(()=>Z),multi:!0};class Z extends t.Zs{}Z.\u0275fac=function(){let ae;return function(se){return(ae||(ae=e.n5z(Z)))(se||Z)}}(),Z.\u0275dir=e.lG2({type:Z,selectors:[["mat-slide-toggle","required","","formControlName",""],["mat-slide-toggle","required","","formControl",""],["mat-slide-toggle","required","","ngModel",""]],features:[e._Bn([W]),e.qOj]});class X{}X.\u0275fac=function(he){return new(he||X)},X.\u0275mod=e.oAB({type:X}),X.\u0275inj=e.cJS({});class ${}$.\u0275fac=function(he){return new(he||$)},$.\u0275mod=e.oAB({type:$}),$.\u0275inj=e.cJS({imports:[X,O.BQ,O.si,C.ez,X,O.BQ]})},930:(Ye,J,f)=>{"use strict";f.d(J,{Ve:()=>m,ZX:()=>i,ux:()=>x});var e=f(2560),t=f(253),_=f(4666),O=f(4522),l=f(4851),C=f(7520),u=f(9107),P=f(9295),p=f(8951),L=f(4218),D=f(3278),k=f(5895),M=f(207);function z(I,R){if(1&I){const g=e.EpF();e.TgZ(0,"div",2)(1,"button",3),e.NdJ("click",function(){e.CHM(g);const w=e.oxw();return e.KtG(w.action())}),e._uU(2),e.qZA()()}if(2&I){const g=e.oxw();e.xp6(2),e.hij(" ",g.data.action," ")}}const A=["label"];function W(I,R){}const Z=Math.pow(2,31)-1;class X{constructor(R,g){this._overlayRef=g,this._afterDismissed=new t.x,this._afterOpened=new t.x,this._onAction=new t.x,this._dismissedByAction=!1,this.containerInstance=R,R._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(R){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(R,Z))}_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 e.OlP("MatSnackBarData");class ae{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}class he{}he.\u0275fac=function(R){return new(R||he)},he.\u0275dir=e.lG2({type:he,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]});class se{}se.\u0275fac=function(R){return new(R||se)},se.\u0275dir=e.lG2({type:se,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]});class pe{}pe.\u0275fac=function(R){return new(R||pe)},pe.\u0275dir=e.lG2({type:pe,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]});class le{constructor(R,g){this.snackBarRef=R,this.data=g}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}le.\u0275fac=function(R){return new(R||le)(e.Y36(X),e.Y36($))},le.\u0275cmp=e.Xpm({type:le,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(R,g){1&R&&(e.TgZ(0,"div",0),e._uU(1),e.qZA(),e.YNc(2,z,3,1,"div",1)),2&R&&(e.xp6(1),e.hij(" ",g.data.message,"\n"),e.xp6(1),e.Q6J("ngIf",g.hasAction))},dependencies:[_.O5,O.lW,he,se,pe],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0});const re={snackBarState:(0,l.X$)("state",[(0,l.SB)("void, hidden",(0,l.oB)({transform:"scale(0.8)",opacity:0})),(0,l.SB)("visible",(0,l.oB)({transform:"scale(1)",opacity:1})),(0,l.eR)("* => visible",(0,l.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,l.eR)("* => void, * => hidden",(0,l.jt)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,l.oB)({opacity:0})))])};class fe extends C.en{constructor(R,g,r,w,V){super(),this._ngZone=R,this._elementRef=g,this._changeDetectorRef=r,this._platform=w,this.snackBarConfig=V,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new t.x,this._onExit=new t.x,this._onEnter=new t.x,this._animationState="void",this.attachDomPortal=N=>{this._assertNotAttached();const Y=this._portalOutlet.attachDomPortal(N);return this._afterPortalAttached(),Y},"assertive"!==V.politeness||V.announcementMessage?"off"===V.politeness?this._live="off":this._live="polite":this._live="assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(R){this._assertNotAttached();const g=this._portalOutlet.attachComponentPortal(R);return this._afterPortalAttached(),g}attachTemplatePortal(R){this._assertNotAttached();const g=this._portalOutlet.attachTemplatePortal(R);return this._afterPortalAttached(),g}onAnimationEnd(R){const{fromState:g,toState:r}=R;if(("void"===r&&"void"!==g||"hidden"===r)&&this._completeExit(),"visible"===r){const w=this._onEnter;this._ngZone.run(()=>{w.next(),w.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 R=this._elementRef.nativeElement,g=this.snackBarConfig.panelClass;g&&(Array.isArray(g)?g.forEach(r=>R.classList.add(r)):R.classList.add(g))}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const R=this._elementRef.nativeElement.querySelector("[aria-hidden]"),g=this._elementRef.nativeElement.querySelector("[aria-live]");if(R&&g){let r=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&R.contains(document.activeElement)&&(r=document.activeElement),R.removeAttribute("aria-hidden"),g.appendChild(R),r?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}fe.\u0275fac=function(R){return new(R||fe)(e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(u.t4),e.Y36(ae))},fe.\u0275dir=e.lG2({type:fe,viewQuery:function(R,g){if(1&R&&e.Gf(C.Pl,7),2&R){let r;e.iGM(r=e.CRH())&&(g._portalOutlet=r.first)}},features:[e.qOj]});class T extends fe{_afterPortalAttached(){super._afterPortalAttached();const R=this._label.nativeElement,g="mdc-snackbar__label";R.classList.toggle(g,!R.querySelector(`.${g}`))}}T.\u0275fac=function(){let I;return function(g){return(I||(I=e.n5z(T)))(g||T)}}(),T.\u0275cmp=e.Xpm({type:T,selectors:[["mat-snack-bar-container"]],viewQuery:function(R,g){if(1&R&&e.Gf(A,7),2&R){let r;e.iGM(r=e.CRH())&&(g._label=r.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(R,g){1&R&&e.WFA("@state.done",function(w){return g.onAnimationEnd(w)}),2&R&&e.d8E("@state",g._animationState)},features:[e.qOj],decls:6,vars:2,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(R,g){1&R&&(e.TgZ(0,"div",0)(1,"div",1,2)(3,"div",3),e.YNc(4,W,0,0,"ng-template",4),e.qZA(),e._UZ(5,"div"),e.qZA()()),2&R&&(e.xp6(5),e.uIk("aria-live",g._live)("role",g._role))},dependencies:[C.Pl],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__dismiss .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-snack-bar-container .mdc-snackbar__dismiss svg,.mat-mdc-snack-bar-container .mdc-snackbar__dismiss img{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color, inherit)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color, inherit)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size, inherit);font-family:var(--mdc-snackbar-supporting-text-font, inherit);font-weight:var(--mdc-snackbar-supporting-text-weight, inherit);line-height:var(--mdc-snackbar-supporting-text-line-height, inherit)}.cdk-high-contrast-active .mat-mdc-snack-bar-container{border:solid 1px}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-mdc-snack-bar-button-color, transparent);--mat-mdc-button-persistent-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{background-color:currentColor;opacity:.1}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[re.snackBarState]}});class i{}i.\u0275fac=function(R){return new(R||i)},i.\u0275mod=e.oAB({type:i}),i.\u0275inj=e.cJS({imports:[k.U8,C.eL,_.ez,O.ot,M.BQ,M.BQ]});const m=new e.OlP("mat-snack-bar-default-options",{providedIn:"root",factory:function o(){return new ae}});class h{constructor(R,g,r,w,V,N){this._overlay=R,this._live=g,this._injector=r,this._breakpointObserver=w,this._parentSnackBar=V,this._defaultConfig=N,this._snackBarRefAtThisLevel=null}get _openedSnackBarRef(){const R=this._parentSnackBar;return R?R._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(R){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=R:this._snackBarRefAtThisLevel=R}openFromComponent(R,g){return this._attach(R,g)}openFromTemplate(R,g){return this._attach(R,g)}open(R,g="",r){const w={...this._defaultConfig,...r};return w.data={message:R,action:g},w.announcementMessage===R&&(w.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,w)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(R,g){const r=g&&g.viewContainerRef&&g.viewContainerRef.injector,w=e.zs3.create({parent:r||this._injector,providers:[{provide:ae,useValue:g}]}),V=new C.C5(this.snackBarContainerComponent,g.viewContainerRef,w),N=R.attach(V);return N.instance.snackBarConfig=g,N.instance}_attach(R,g){const r={...new ae,...this._defaultConfig,...g},w=this._createOverlay(r),V=this._attachSnackBarContainer(w,r),N=new X(V,w);if(R instanceof e.Rgc){const Y=new C.UE(R,null,{$implicit:r.data,snackBarRef:N});N.instance=V.attachTemplatePortal(Y)}else{const Y=this._createInjector(r,N),Pe=new C.C5(R,void 0,Y),Ce=V.attachComponentPortal(Pe);N.instance=Ce.instance}return this._breakpointObserver.observe(D.u3.HandsetPortrait).pipe((0,p.R)(w.detachments())).subscribe(Y=>{w.overlayElement.classList.toggle(this.handsetCssClass,Y.matches)}),r.announcementMessage&&V._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(N,r),this._openedSnackBarRef=N,this._openedSnackBarRef}_animateSnackBar(R,g){R.afterDismissed().subscribe(()=>{this._openedSnackBarRef==R&&(this._openedSnackBarRef=null),g.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{R.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):R.containerInstance.enter(),g.duration&&g.duration>0&&R.afterOpened().subscribe(()=>R._dismissAfter(g.duration))}_createOverlay(R){const g=new k.X_;g.direction=R.direction;let r=this._overlay.position().global();const w="rtl"===R.direction,V="left"===R.horizontalPosition||"start"===R.horizontalPosition&&!w||"end"===R.horizontalPosition&&w,N=!V&&"center"!==R.horizontalPosition;return V?r.left("0"):N?r.right("0"):r.centerHorizontally(),"top"===R.verticalPosition?r.top("0"):r.bottom("0"),g.positionStrategy=r,this._overlay.create(g)}_createInjector(R,g){const r=R&&R.viewContainerRef&&R.viewContainerRef.injector;return e.zs3.create({parent:r||this._injector,providers:[{provide:X,useValue:g},{provide:$,useValue:R.data}]})}}h.\u0275fac=function(R){return new(R||h)(e.LFG(k.aV),e.LFG(L.Kd),e.LFG(e.zs3),e.LFG(D.Yg),e.LFG(h,12),e.LFG(m))},h.\u0275prov=e.Yz7({token:h,factory:h.\u0275fac});class x extends h{constructor(R,g,r,w,V,N){super(R,g,r,w,V,N),this.simpleSnackBarComponent=le,this.snackBarContainerComponent=T,this.handsetCssClass="mat-mdc-snack-bar-handset"}}x.\u0275fac=function(R){return new(R||x)(e.LFG(k.aV),e.LFG(L.Kd),e.LFG(e.zs3),e.LFG(D.Yg),e.LFG(x,12),e.LFG(m))},x.\u0275prov=e.Yz7({token:x,factory:x.\u0275fac,providedIn:i})},2197:(Ye,J,f)=>{"use strict";f.d(J,{JX:()=>i,YE:()=>$,nU:()=>T});var e=f(2560),t=f(4218),_=f(8971),O=f(8456),l=f(207),C=f(253),u=f(6646),P=f(4851),p=f(4666);function D(o,m){if(1&o){const h=e.EpF();e.TgZ(0,"div",3),e.NdJ("@arrowPosition.start",function(){e.CHM(h);const I=e.oxw();return e.KtG(I._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){e.CHM(h);const I=e.oxw();return e.KtG(I._disableViewStateAnimation=!1)}),e._UZ(1,"div",4),e.TgZ(2,"div",5),e._UZ(3,"div",6)(4,"div",7)(5,"div",8),e.qZA()()}if(2&o){const h=e.oxw();e.Q6J("@arrowOpacity",h._getArrowViewState())("@arrowPosition",h._getArrowViewState())("@allowChildren",h._getArrowDirectionState()),e.xp6(2),e.Q6J("@indicator",h._getArrowDirectionState()),e.xp6(1),e.Q6J("@leftPointer",h._getArrowDirectionState()),e.xp6(1),e.Q6J("@rightPointer",h._getArrowDirectionState())}}const Z=new e.OlP("MAT_SORT_DEFAULT_OPTIONS"),X=(0,l.dB)((0,l.Id)(class{}));class $ extends X{constructor(m){super(),this._defaultOptions=m,this.sortables=new Map,this._stateChanges=new C.x,this.start="asc",this._direction="",this.sortChange=new e.vpe}get direction(){return this._direction}set direction(m){this._direction=m}get disableClear(){return this._disableClear}set disableClear(m){this._disableClear=(0,_.Ig)(m)}register(m){this.sortables.set(m.id,m)}deregister(m){this.sortables.delete(m.id)}sort(m){this.active!=m.id?(this.active=m.id,this.direction=m.start?m.start:this.start):this.direction=this.getNextSortDirection(m),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(m){if(!m)return"";const h=m?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear;let x=function ae(o,m){let h=["asc","desc"];return"desc"==o&&h.reverse(),m||h.push(""),h}(m.start||this.start,h),I=x.indexOf(this.direction)+1;return I>=x.length&&(I=0),x[I]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}$.\u0275fac=function(m){return new(m||$)(e.Y36(Z,8))},$.\u0275dir=e.lG2({type:$,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:[e.qOj,e.TTD]});const he=l.mZ.ENTERING+" "+l.yN.STANDARD_CURVE,se={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)(he))]),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)(he))]),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)(he))]),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)(he))]),arrowPosition:(0,P.X$)("arrowPosition",[(0,P.eR)("* => desc-to-hint, * => desc-to-active",(0,P.jt)(he,(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)(he,(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)(he,(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)(he,(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})])])};class pe{constructor(){this.changes=new C.x}}pe.\u0275fac=function(m){return new(m||pe)},pe.\u0275prov=e.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"});const re={provide:pe,deps:[[new e.FiY,new e.tp0,pe]],useFactory:function le(o){return o||new pe}},fe=(0,l.Id)(class{});class T extends fe{constructor(m,h,x,I,R,g,r,w){super(),this._intl=m,this._changeDetectorRef=h,this._sort=x,this._columnDef=I,this._focusMonitor=R,this._elementRef=g,this._ariaDescriber=r,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",w?.arrowPosition&&(this.arrowPosition=w?.arrowPosition),this._handleStateChanges()}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(m){this._updateSortActionDescription(m)}get disableClear(){return this._disableClear}set disableClear(m){this._disableClear=(0,_.Ig)(m)}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(m=>{const h=!!m;h!==this._showIndicatorHint&&(this._setIndicatorHintVisible(h),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(m){this._isDisabled()&&m||(this._showIndicatorHint=m,this._isSorted()||(this._updateArrowDirection(),this._showIndicatorHint?this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"hint"}):this._setAnimationTransitionState({fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(m){this._viewState=m||{},this._disableViewStateAnimation&&(this._viewState={toState:m.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(m){!this._isDisabled()&&(m.keyCode===O.L_||m.keyCode===O.K5)&&(m.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 m=this._viewState.fromState;return(m?`${m}-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(m){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,m)),this._sortActionDescription=m}_handleStateChanges(){this._rerenderSubscription=(0,u.T)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}}T.\u0275fac=function(m){return new(m||T)(e.Y36(pe),e.Y36(e.sBO),e.Y36($,8),e.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),e.Y36(t.tE),e.Y36(e.SBq),e.Y36(t.$s,8),e.Y36(Z,8))},T.\u0275cmp=e.Xpm({type:T,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(m,h){1&m&&e.NdJ("click",function(){return h._handleClick()})("keydown",function(I){return h._handleKeydown(I)})("mouseenter",function(){return h._setIndicatorHintVisible(!0)})("mouseleave",function(){return h._setIndicatorHintVisible(!1)}),2&m&&(e.uIk("aria-sort",h._getAriaSortAttribute()),e.ekj("mat-sort-header-disabled",h._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[e.qOj],attrs:["mat-sort-header",""],ngContentSelectors:["*"],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(m,h){1&m&&(e.F$t(),e.TgZ(0,"div",0)(1,"div",1),e.Hsn(2),e.qZA(),e.YNc(3,D,6,6,"div",2),e.qZA()),2&m&&(e.ekj("mat-sort-header-sorted",h._isSorted())("mat-sort-header-position-before","before"===h.arrowPosition),e.uIk("tabindex",h._isDisabled()?null:0)("role",h._isDisabled()?null:"button"),e.xp6(3),e.Q6J("ngIf",h._renderArrow()))},dependencies:[p.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:[se.indicator,se.leftPointer,se.rightPointer,se.arrowOpacity,se.arrowPosition,se.allowChildren]},changeDetection:0});class i{}i.\u0275fac=function(m){return new(m||i)},i.\u0275mod=e.oAB({type:i}),i.\u0275inj=e.cJS({providers:[re],imports:[p.ez,l.BQ]})},4193:(Ye,J,f)=>{"use strict";f.d(J,{C0:()=>Ue,Ic:()=>we,T5:()=>Se,VY:()=>Y,Vq:()=>ye,fd:()=>ie,z9:()=>Me});var e=f(7520),t=f(1861),_=f(4666),O=f(2560),l=f(207),C=f(7822),u=f(4218),P=f(253),p=f(7714),L=f(2867),D=f(2673),k=f(635),M=f(4874),z=f(8951),A=f(8977),W=f(4851);function Z(ne,K){if(1&ne&&O.GkF(0,8),2&ne){const ee=O.oxw();O.Q6J("ngTemplateOutlet",ee.iconOverrides[ee.state])("ngTemplateOutletContext",ee._getIconContext())}}function X(ne,K){if(1&ne&&(O.TgZ(0,"span",13),O._uU(1),O.qZA()),2&ne){const ee=O.oxw(2);O.xp6(1),O.Oqu(ee._getDefaultTextForState(ee.state))}}function $(ne,K){if(1&ne&&(O.TgZ(0,"span",14),O._uU(1),O.qZA()),2&ne){const ee=O.oxw(2);O.xp6(1),O.Oqu(ee._intl.completedLabel)}}function ae(ne,K){if(1&ne&&(O.TgZ(0,"span",14),O._uU(1),O.qZA()),2&ne){const ee=O.oxw(2);O.xp6(1),O.Oqu(ee._intl.editableLabel)}}function he(ne,K){if(1&ne&&(O.TgZ(0,"mat-icon",13),O._uU(1),O.qZA()),2&ne){const ee=O.oxw(2);O.xp6(1),O.Oqu(ee._getDefaultTextForState(ee.state))}}function se(ne,K){if(1&ne&&(O.ynx(0,9),O.YNc(1,X,2,1,"span",10),O.YNc(2,$,2,1,"span",11),O.YNc(3,ae,2,1,"span",11),O.YNc(4,he,2,1,"mat-icon",12),O.BQk()),2&ne){const ee=O.oxw();O.Q6J("ngSwitch",ee.state),O.xp6(1),O.Q6J("ngSwitchCase","number"),O.xp6(1),O.Q6J("ngIf","done"===ee.state),O.xp6(1),O.Q6J("ngIf","edit"===ee.state)}}function pe(ne,K){if(1&ne&&(O.TgZ(0,"div",15),O.GkF(1,16),O.qZA()),2&ne){const ee=O.oxw();O.xp6(1),O.Q6J("ngTemplateOutlet",ee._templateLabel().template)}}function le(ne,K){if(1&ne&&(O.TgZ(0,"div",15),O._uU(1),O.qZA()),2&ne){const ee=O.oxw();O.xp6(1),O.Oqu(ee.label)}}function re(ne,K){if(1&ne&&(O.TgZ(0,"div",17),O._uU(1),O.qZA()),2&ne){const ee=O.oxw();O.xp6(1),O.Oqu(ee._intl.optionalLabel)}}function fe(ne,K){if(1&ne&&(O.TgZ(0,"div",18),O._uU(1),O.qZA()),2&ne){const ee=O.oxw();O.xp6(1),O.Oqu(ee.errorMessage)}}function T(ne,K){}function i(ne,K){if(1&ne&&(O.Hsn(0),O.YNc(1,T,0,0,"ng-template",0)),2&ne){const ee=O.oxw();O.xp6(1),O.Q6J("cdkPortalOutlet",ee._portal)}}function m(ne,K){1&ne&&O._UZ(0,"div",11)}const h=function(ne,K){return{step:ne,i:K}};function x(ne,K){if(1&ne&&(O.ynx(0),O.GkF(1,9),O.YNc(2,m,1,0,"div",10),O.BQk()),2&ne){const ee=K.$implicit,ze=K.index,Ve=K.last;O.oxw(2);const oe=O.MAs(4);O.xp6(1),O.Q6J("ngTemplateOutlet",oe)("ngTemplateOutletContext",O.WLB(3,h,ee,ze)),O.xp6(1),O.Q6J("ngIf",!Ve)}}const I=function(ne){return{animationDuration:ne}},R=function(ne,K){return{value:ne,params:K}};function g(ne,K){if(1&ne){const ee=O.EpF();O.TgZ(0,"div",12),O.NdJ("@horizontalStepTransition.done",function(Ve){O.CHM(ee);const oe=O.oxw(2);return O.KtG(oe._animationDone.next(Ve))}),O.GkF(1,13),O.qZA()}if(2&ne){const ee=K.$implicit,ze=K.index,Ve=O.oxw(2);O.ekj("mat-horizontal-stepper-content-inactive",Ve.selectedIndex!==ze),O.Q6J("@horizontalStepTransition",O.WLB(8,R,Ve._getAnimationDirection(ze),O.VKq(6,I,Ve._getAnimationDuration())))("id",Ve._getStepContentId(ze)),O.uIk("aria-labelledby",Ve._getStepLabelId(ze)),O.xp6(1),O.Q6J("ngTemplateOutlet",ee.content)}}function r(ne,K){if(1&ne&&(O.TgZ(0,"div",4)(1,"div",5),O.YNc(2,x,3,6,"ng-container",6),O.qZA(),O.TgZ(3,"div",7),O.YNc(4,g,2,11,"div",8),O.qZA()()),2&ne){const ee=O.oxw();O.xp6(2),O.Q6J("ngForOf",ee.steps),O.xp6(2),O.Q6J("ngForOf",ee.steps)}}function w(ne,K){if(1&ne){const ee=O.EpF();O.TgZ(0,"div",15),O.GkF(1,9),O.TgZ(2,"div",16)(3,"div",17),O.NdJ("@verticalStepTransition.done",function(Ve){O.CHM(ee);const oe=O.oxw(2);return O.KtG(oe._animationDone.next(Ve))}),O.TgZ(4,"div",18),O.GkF(5,13),O.qZA()()()()}if(2&ne){const ee=K.$implicit,ze=K.index,Ve=K.last,oe=O.oxw(2),at=O.MAs(4);O.xp6(1),O.Q6J("ngTemplateOutlet",at)("ngTemplateOutletContext",O.WLB(10,h,ee,ze)),O.xp6(1),O.ekj("mat-stepper-vertical-line",!Ve),O.xp6(1),O.ekj("mat-vertical-stepper-content-inactive",oe.selectedIndex!==ze),O.Q6J("@verticalStepTransition",O.WLB(15,R,oe._getAnimationDirection(ze),O.VKq(13,I,oe._getAnimationDuration())))("id",oe._getStepContentId(ze)),O.uIk("aria-labelledby",oe._getStepLabelId(ze)),O.xp6(2),O.Q6J("ngTemplateOutlet",ee.content)}}function V(ne,K){if(1&ne&&(O.ynx(0),O.YNc(1,w,6,18,"div",14),O.BQk()),2&ne){const ee=O.oxw();O.xp6(1),O.Q6J("ngForOf",ee.steps)}}function N(ne,K){if(1&ne){const ee=O.EpF();O.TgZ(0,"mat-step-header",19),O.NdJ("click",function(){const oe=O.CHM(ee).step;return O.KtG(oe.select())})("keydown",function(Ve){O.CHM(ee);const oe=O.oxw();return O.KtG(oe._onKeydown(Ve))}),O.qZA()}if(2&ne){const ee=K.step,ze=K.i,Ve=O.oxw();O.ekj("mat-horizontal-stepper-header","horizontal"===Ve.orientation)("mat-vertical-stepper-header","vertical"===Ve.orientation),O.Q6J("tabIndex",Ve._getFocusIndex()===ze?0:-1)("id",Ve._getStepLabelId(ze))("index",ze)("state",Ve._getIndicatorType(ze,ee.state))("label",ee.stepLabel||ee.label)("selected",Ve.selectedIndex===ze)("active",Ve._stepIsNavigable(ze,ee))("optional",ee.optional)("errorMessage",ee.errorMessage)("iconOverrides",Ve._iconOverrides)("disableRipple",Ve.disableRipple||!Ve._stepIsNavigable(ze,ee))("color",ee.color||Ve.color),O.uIk("aria-posinset",ze+1)("aria-setsize",Ve.steps.length)("aria-controls",Ve._getStepContentId(ze))("aria-selected",Ve.selectedIndex==ze)("aria-label",ee.ariaLabel||null)("aria-labelledby",!ee.ariaLabel&&ee.ariaLabelledby?ee.ariaLabelledby:null)("aria-disabled",!Ve._stepIsNavigable(ze,ee)||null)}}class Y extends t.u6{}Y.\u0275fac=function(){let ne;return function(ee){return(ne||(ne=O.n5z(Y)))(ee||Y)}}(),Y.\u0275dir=O.lG2({type:Y,selectors:[["","matStepLabel",""]],features:[O.qOj]});class Pe{constructor(){this.changes=new P.x,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}Pe.\u0275fac=function(K){return new(K||Pe)},Pe.\u0275prov=O.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"});const Xe={provide:Pe,deps:[[new O.FiY,new O.tp0,Pe]],useFactory:function Ce(ne){return ne||new Pe}},dt=(0,l.pj)(class extends t.KL{constructor(K){super(K)}},"primary");class Ke extends dt{constructor(K,ee,ze,Ve){super(ze),this._intl=K,this._focusMonitor=ee,this._intlSubscription=K.changes.subscribe(()=>Ve.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(K,ee){K?this._focusMonitor.focusVia(this._elementRef,K,ee):this._elementRef.nativeElement.focus(ee)}_stringLabel(){return this.label instanceof Y?null:this.label}_templateLabel(){return this.label instanceof Y?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(K){return"number"==K?`${this.index+1}`:"edit"==K?"create":"error"==K?"warning":K}}Ke.\u0275fac=function(K){return new(K||Ke)(O.Y36(Pe),O.Y36(u.tE),O.Y36(O.SBq),O.Y36(O.sBO))},Ke.\u0275cmp=O.Xpm({type:Ke,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:[O.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(K,ee){1&K&&(O._UZ(0,"div",0),O.TgZ(1,"div")(2,"div",1),O.YNc(3,Z,1,2,"ng-container",2),O.YNc(4,se,5,4,"ng-container",3),O.qZA()(),O.TgZ(5,"div",4),O.YNc(6,pe,2,1,"div",5),O.YNc(7,le,2,1,"div",5),O.YNc(8,re,2,1,"div",6),O.YNc(9,fe,2,1,"div",7),O.qZA()),2&K&&(O.Q6J("matRippleTrigger",ee._getHostElement())("matRippleDisabled",ee.disableRipple),O.xp6(1),O.Gre("mat-step-icon-state-",ee.state," mat-step-icon"),O.ekj("mat-step-icon-selected",ee.selected),O.xp6(1),O.Q6J("ngSwitch",!(!ee.iconOverrides||!ee.iconOverrides[ee.state])),O.xp6(1),O.Q6J("ngSwitchCase",!0),O.xp6(2),O.ekj("mat-step-label-active",ee.active)("mat-step-label-selected",ee.selected)("mat-step-label-error","error"==ee.state),O.xp6(1),O.Q6J("ngIf",ee._templateLabel()),O.xp6(1),O.Q6J("ngIf",ee._stringLabel()),O.xp6(1),O.Q6J("ngIf",ee.optional&&"error"!=ee.state),O.xp6(1),O.Q6J("ngIf","error"==ee.state))},dependencies:[_.O5,_.tP,_.RF,_.n9,_.ED,C.Hw,l.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});const Oe={horizontalStepTransition:(0,W.X$)("horizontalStepTransition",[(0,W.SB)("previous",(0,W.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,W.SB)("current",(0,W.oB)({transform:"none",visibility:"inherit"})),(0,W.SB)("next",(0,W.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,W.eR)("* => *",(0,W.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),{params:{animationDuration:"500ms"}})]),verticalStepTransition:(0,W.X$)("verticalStepTransition",[(0,W.SB)("previous",(0,W.oB)({height:"0px",visibility:"hidden"})),(0,W.SB)("next",(0,W.oB)({height:"0px",visibility:"hidden"})),(0,W.SB)("current",(0,W.oB)({height:"*",visibility:"inherit"})),(0,W.eR)("* <=> current",(0,W.jt)("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),{params:{animationDuration:"225ms"}})])};class Me{constructor(K){this.templateRef=K}}Me.\u0275fac=function(K){return new(K||Me)(O.Y36(O.Rgc))},Me.\u0275dir=O.lG2({type:Me,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}});class De{constructor(K){this._template=K}}De.\u0275fac=function(K){return new(K||De)(O.Y36(O.Rgc))},De.\u0275dir=O.lG2({type:De,selectors:[["ng-template","matStepContent",""]]});class Ue extends t.be{constructor(K,ee,ze,Ve){super(K,Ve),this._errorStateMatcher=ee,this._viewContainerRef=ze,this._isSelected=p.w0.EMPTY}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,D.w)(()=>this._stepper.selectionChange.pipe((0,k.U)(K=>K.selectedStep===this),(0,M.O)(this._stepper.selected===this)))).subscribe(K=>{K&&this._lazyContent&&!this._portal&&(this._portal=new e.UE(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(K,ee){const ze=this._errorStateMatcher.isErrorState(K,ee),Ve=!!(K&&K.invalid&&this.interacted);return ze||Ve}}Ue.\u0275fac=function(K){return new(K||Ue)(O.Y36((0,O.Gpc)(()=>ye)),O.Y36(l.rD,4),O.Y36(O.s_b),O.Y36(t.gx,8))},Ue.\u0275cmp=O.Xpm({type:Ue,selectors:[["mat-step"]],contentQueries:function(K,ee,ze){if(1&K&&(O.Suo(ze,Y,5),O.Suo(ze,De,5)),2&K){let Ve;O.iGM(Ve=O.CRH())&&(ee.stepLabel=Ve.first),O.iGM(Ve=O.CRH())&&(ee._lazyContent=Ve.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[O._Bn([{provide:l.rD,useExisting:Ue},{provide:t.be,useExisting:Ue}]),O.qOj],ngContentSelectors:["*"],decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(K,ee){1&K&&(O.F$t(),O.YNc(0,i,2,1,"ng-template"))},dependencies:[e.Pl],encapsulation:2,changeDetection:0});class ye extends t.B8{constructor(K,ee,ze){super(K,ee,ze),this.steps=new O.n_E,this.animationDone=new O.vpe,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new P.x,this._animationDuration="";const Ve=ze.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===Ve?"vertical":"horizontal"}get animationDuration(){return this._animationDuration}set animationDuration(K){this._animationDuration=/^\d+$/.test(K)?K+"ms":K}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:K,templateRef:ee})=>this._iconOverrides[K]=ee),this.steps.changes.pipe((0,z.R)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe((0,A.x)((K,ee)=>K.fromState===ee.fromState&&K.toState===ee.toState),(0,z.R)(this._destroyed)).subscribe(K=>{"current"===K.toState&&this.animationDone.emit()})}_stepIsNavigable(K,ee){return ee.completed||this.selectedIndex===K||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"}}ye.\u0275fac=function(K){return new(K||ye)(O.Y36(L.Is,8),O.Y36(O.sBO),O.Y36(O.SBq))},ye.\u0275cmp=O.Xpm({type:ye,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(K,ee,ze){if(1&K&&(O.Suo(ze,Ue,5),O.Suo(ze,Me,5)),2&K){let Ve;O.iGM(Ve=O.CRH())&&(ee._steps=Ve),O.iGM(Ve=O.CRH())&&(ee._icons=Ve)}},viewQuery:function(K,ee){if(1&K&&O.Gf(Ke,5),2&K){let ze;O.iGM(ze=O.CRH())&&(ee._stepHeader=ze)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(K,ee){2&K&&(O.uIk("aria-orientation",ee.orientation),O.ekj("mat-stepper-horizontal","horizontal"===ee.orientation)("mat-stepper-vertical","vertical"===ee.orientation)("mat-stepper-label-position-end","horizontal"===ee.orientation&&"end"==ee.labelPosition)("mat-stepper-label-position-bottom","horizontal"===ee.orientation&&"bottom"==ee.labelPosition)("mat-stepper-header-position-bottom","bottom"===ee.headerPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[O._Bn([{provide:t.B8,useExisting:ye}]),O.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(K,ee){1&K&&(O.ynx(0,0),O.YNc(1,r,5,2,"div",1),O.YNc(2,V,2,1,"ng-container",2),O.BQk(),O.YNc(3,N,1,23,"ng-template",null,3,O.W1O)),2&K&&(O.Q6J("ngSwitch",ee.orientation),O.xp6(1),O.Q6J("ngSwitchCase","horizontal"),O.xp6(1),O.Q6J("ngSwitchCase","vertical"))},dependencies:[_.sg,_.O5,_.tP,_.RF,_.n9,Ke],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:[Oe.horizontalStepTransition,Oe.verticalStepTransition]},changeDetection:0});class we extends t.st{}we.\u0275fac=function(){let ne;return function(ee){return(ne||(ne=O.n5z(we)))(ee||we)}}(),we.\u0275dir=O.lG2({type:we,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(K,ee){2&K&&O.Ikx("type",ee.type)},inputs:{type:"type"},features:[O.qOj]});class ie extends t.po{}ie.\u0275fac=function(){let ne;return function(ee){return(ne||(ne=O.n5z(ie)))(ee||ie)}}(),ie.\u0275dir=O.lG2({type:ie,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(K,ee){2&K&&O.Ikx("type",ee.type)},inputs:{type:"type"},features:[O.qOj]});class Se{}Se.\u0275fac=function(K){return new(K||Se)},Se.\u0275mod=O.oAB({type:Se}),Se.\u0275inj=O.cJS({providers:[Xe,l.rD],imports:[l.BQ,_.ez,e.eL,t.U5,C.Ps,l.si,l.BQ]})},8711:(Ye,J,f)=>{"use strict";f.d(J,{ev:()=>gt,Dz:()=>Ne,w1:()=>Nt,yh:()=>We,mD:()=>Et,Q2:()=>Te,Ke:()=>Pt,ge:()=>ot,fO:()=>wt,XQ:()=>qt,as:()=>ri,Gk:()=>me,nj:()=>Ft,BZ:()=>ue,by:()=>zi,p0:()=>Li});var e=f(2560),t=f(2867),_=f(8971),O=f(1755),l=f(9107),C=f(1494),u=f(4666),P=f(253),p=f(7400),L=f(6317),D=f(4437),k=f(745),M=f(8951),z=f(9295);const A=[[["caption"]],[["colgroup"],["col"]]];function Z(xt,Qe){if(1&xt&&(e.TgZ(0,"th",3),e._uU(1),e.qZA()),2&xt){const Fe=e.oxw();e.Udp("text-align",Fe.justify),e.xp6(1),e.hij(" ",Fe.headerText," ")}}function X(xt,Qe){if(1&xt&&(e.TgZ(0,"td",4),e._uU(1),e.qZA()),2&xt){const Fe=Qe.$implicit,Wt=e.oxw();e.Udp("text-align",Wt.justify),e.xp6(1),e.hij(" ",Wt.dataAccessor(Fe,Wt.name)," ")}}function $(xt){return class extends xt{constructor(...Qe){super(...Qe),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(Qe){const Fe=this._sticky;this._sticky=(0,_.Ig)(Qe),this._hasStickyChanged=Fe!==this._sticky}hasStickyChanged(){const Qe=this._hasStickyChanged;return this._hasStickyChanged=!1,Qe}resetStickyChanged(){this._hasStickyChanged=!1}}}const ae=new e.OlP("CDK_TABLE"),he=new e.OlP("text-column-options");class se{constructor(Qe){this.template=Qe}}se.\u0275fac=function(Qe){return new(Qe||se)(e.Y36(e.Rgc))},se.\u0275dir=e.lG2({type:se,selectors:[["","cdkCellDef",""]]});class pe{constructor(Qe){this.template=Qe}}pe.\u0275fac=function(Qe){return new(Qe||pe)(e.Y36(e.Rgc))},pe.\u0275dir=e.lG2({type:pe,selectors:[["","cdkHeaderCellDef",""]]});class le{constructor(Qe){this.template=Qe}}le.\u0275fac=function(Qe){return new(Qe||le)(e.Y36(e.Rgc))},le.\u0275dir=e.lG2({type:le,selectors:[["","cdkFooterCellDef",""]]});const fe=$(class re{});class T extends fe{constructor(Qe){super(),this._table=Qe,this._stickyEnd=!1}get name(){return this._name}set name(Qe){this._setNameInput(Qe)}get stickyEnd(){return this._stickyEnd}set stickyEnd(Qe){const Fe=this._stickyEnd;this._stickyEnd=(0,_.Ig)(Qe),this._hasStickyChanged=Fe!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(Qe){Qe&&(this._name=Qe,this.cssClassFriendlyName=Qe.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}T.\u0275fac=function(Qe){return new(Qe||T)(e.Y36(ae,8))},T.\u0275dir=e.lG2({type:T,selectors:[["","cdkColumnDef",""]],contentQueries:function(Qe,Fe,Wt){if(1&Qe&&(e.Suo(Wt,se,5),e.Suo(Wt,pe,5),e.Suo(Wt,le,5)),2&Qe){let Xt;e.iGM(Xt=e.CRH())&&(Fe.cell=Xt.first),e.iGM(Xt=e.CRH())&&(Fe.headerCell=Xt.first),e.iGM(Xt=e.CRH())&&(Fe.footerCell=Xt.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[e._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:T}]),e.qOj]});class i{constructor(Qe,Fe){Fe.nativeElement.classList.add(...Qe._columnCssClassName)}}class o extends i{constructor(Qe,Fe){super(Qe,Fe)}}o.\u0275fac=function(Qe){return new(Qe||o)(e.Y36(T),e.Y36(e.SBq))},o.\u0275dir=e.lG2({type:o,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[e.qOj]});class m extends i{constructor(Qe,Fe){if(super(Qe,Fe),1===Qe._table?._elementRef.nativeElement.nodeType){const Wt=Qe._table._elementRef.nativeElement.getAttribute("role"),Xt="grid"===Wt||"treegrid"===Wt?"gridcell":"cell";Fe.nativeElement.setAttribute("role",Xt)}}}m.\u0275fac=function(Qe){return new(Qe||m)(e.Y36(T),e.Y36(e.SBq))},m.\u0275dir=e.lG2({type:m,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[e.qOj]});class h extends i{constructor(Qe,Fe){if(super(Qe,Fe),1===Qe._table?._elementRef.nativeElement.nodeType){const Wt=Qe._table._elementRef.nativeElement.getAttribute("role"),Xt="grid"===Wt||"treegrid"===Wt?"gridcell":"cell";Fe.nativeElement.setAttribute("role",Xt)}}}h.\u0275fac=function(Qe){return new(Qe||h)(e.Y36(T),e.Y36(e.SBq))},h.\u0275dir=e.lG2({type:h,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[e.qOj]});class x{constructor(){this.tasks=[],this.endTasks=[]}}const I=new e.OlP("_COALESCED_STYLE_SCHEDULER");class R{constructor(Qe){this._ngZone=Qe,this._currentSchedule=null,this._destroyed=new P.x}schedule(Qe){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(Qe)}scheduleEnd(Qe){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(Qe)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new x,this._getScheduleObservable().pipe((0,M.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const Qe=this._currentSchedule;this._currentSchedule=new x;for(const Fe of Qe.tasks)Fe();for(const Fe of Qe.endTasks)Fe()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,p.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,z.q)(1))}}R.\u0275fac=function(Qe){return new(Qe||R)(e.LFG(e.R0b))},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac});class r{constructor(Qe,Fe){this.template=Qe,this._differs=Fe}ngOnChanges(Qe){if(!this._columnsDiffer){const Fe=Qe.columns&&Qe.columns.currentValue||[];this._columnsDiffer=this._differs.find(Fe).create(),this._columnsDiffer.diff(Fe)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(Qe){return this instanceof N?Qe.headerCell.template:this instanceof Ce?Qe.footerCell.template:Qe.cell.template}}r.\u0275fac=function(Qe){return new(Qe||r)(e.Y36(e.Rgc),e.Y36(e.ZZ4))},r.\u0275dir=e.lG2({type:r,features:[e.TTD]});const V=$(class w extends r{});class N extends V{constructor(Qe,Fe,Wt){super(Qe,Fe),this._table=Wt}ngOnChanges(Qe){super.ngOnChanges(Qe)}}N.\u0275fac=function(Qe){return new(Qe||N)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(ae,8))},N.\u0275dir=e.lG2({type:N,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[e.qOj,e.TTD]});const Pe=$(class Y extends r{});class Ce extends Pe{constructor(Qe,Fe,Wt){super(Qe,Fe),this._table=Wt}ngOnChanges(Qe){super.ngOnChanges(Qe)}}Ce.\u0275fac=function(Qe){return new(Qe||Ce)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(ae,8))},Ce.\u0275dir=e.lG2({type:Ce,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[e.qOj,e.TTD]});class Xe extends r{constructor(Qe,Fe,Wt){super(Qe,Fe),this._table=Wt}}Xe.\u0275fac=function(Qe){return new(Qe||Xe)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(ae,8))},Xe.\u0275dir=e.lG2({type:Xe,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[e.qOj]});class dt{constructor(Qe){this._viewContainer=Qe,dt.mostRecentCellOutlet=this}ngOnDestroy(){dt.mostRecentCellOutlet===this&&(dt.mostRecentCellOutlet=null)}}dt.mostRecentCellOutlet=null,dt.\u0275fac=function(Qe){return new(Qe||dt)(e.Y36(e.s_b))},dt.\u0275dir=e.lG2({type:dt,selectors:[["","cdkCellOutlet",""]]});class Ke{}Ke.\u0275fac=function(Qe){return new(Qe||Ke)},Ke.\u0275cmp=e.Xpm({type:Ke,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Qe,Fe){1&Qe&&e.GkF(0,0)},dependencies:[dt],encapsulation:2});class ge{}ge.\u0275fac=function(Qe){return new(Qe||ge)},ge.\u0275cmp=e.Xpm({type:ge,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Qe,Fe){1&Qe&&e.GkF(0,0)},dependencies:[dt],encapsulation:2});class $e{}$e.\u0275fac=function(Qe){return new(Qe||$e)},$e.\u0275cmp=e.Xpm({type:$e,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Qe,Fe){1&Qe&&e.GkF(0,0)},dependencies:[dt],encapsulation:2});class Oe{constructor(Qe){this.templateRef=Qe,this._contentClassName="cdk-no-data-row"}}Oe.\u0275fac=function(Qe){return new(Qe||Oe)(e.Y36(e.Rgc))},Oe.\u0275dir=e.lG2({type:Oe,selectors:[["ng-template","cdkNoDataRow",""]]});const Me=["top","bottom","left","right"];class De{constructor(Qe,Fe,Wt,Xt,_i=!0,Oi=!0,ki){this._isNativeHtmlTable=Qe,this._stickCellCss=Fe,this.direction=Wt,this._coalescedStyleScheduler=Xt,this._isBrowser=_i,this._needsPositionStickyOnElement=Oi,this._positionListener=ki,this._cachedCellWidths=[],this._borderCellCss={top:`${Fe}-border-elem-top`,bottom:`${Fe}-border-elem-bottom`,left:`${Fe}-border-elem-left`,right:`${Fe}-border-elem-right`}}clearStickyPositioning(Qe,Fe){const Wt=[];for(const Xt of Qe)if(Xt.nodeType===Xt.ELEMENT_NODE){Wt.push(Xt);for(let _i=0;_i<Xt.children.length;_i++)Wt.push(Xt.children[_i])}this._coalescedStyleScheduler.schedule(()=>{for(const Xt of Wt)this._removeStickyStyle(Xt,Fe)})}updateStickyColumns(Qe,Fe,Wt,Xt=!0){if(!Qe.length||!this._isBrowser||!Fe.some(ft=>ft)&&!Wt.some(ft=>ft))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const _i=Qe[0],Oi=_i.children.length,ki=this._getCellWidths(_i,Xt),Ki=this._getStickyStartColumnPositions(ki,Fe),ti=this._getStickyEndColumnPositions(ki,Wt),be=Fe.lastIndexOf(!0),ke=Wt.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const ft="rtl"===this.direction,St=ft?"right":"left",ui=ft?"left":"right";for(const $t of Qe)for(let oi=0;oi<Oi;oi++){const Vt=$t.children[oi];Fe[oi]&&this._addStickyStyle(Vt,St,Ki[oi],oi===be),Wt[oi]&&this._addStickyStyle(Vt,ui,ti[oi],oi===ke)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===be?[]:ki.slice(0,be+1).map(($t,oi)=>Fe[oi]?$t:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===ke?[]:ki.slice(ke).map(($t,oi)=>Wt[oi+ke]?$t:null).reverse()}))})}stickRows(Qe,Fe,Wt){if(!this._isBrowser)return;const Xt="bottom"===Wt?Qe.slice().reverse():Qe,_i="bottom"===Wt?Fe.slice().reverse():Fe,Oi=[],ki=[],Ki=[];for(let be=0,ke=0;be<Xt.length;be++){if(!_i[be])continue;Oi[be]=ke;const ft=Xt[be];Ki[be]=this._isNativeHtmlTable?Array.from(ft.children):[ft];const St=ft.getBoundingClientRect().height;ke+=St,ki[be]=St}const ti=_i.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{for(let be=0;be<Xt.length;be++){if(!_i[be])continue;const ke=Oi[be],ft=be===ti;for(const St of Ki[be])this._addStickyStyle(St,Wt,ke,ft)}"top"===Wt?this._positionListener?.stickyHeaderRowsUpdated({sizes:ki,offsets:Oi,elements:Ki}):this._positionListener?.stickyFooterRowsUpdated({sizes:ki,offsets:Oi,elements:Ki})})}updateStickyFooterContainer(Qe,Fe){if(!this._isNativeHtmlTable)return;const Wt=Qe.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{Fe.some(Xt=>!Xt)?this._removeStickyStyle(Wt,["bottom"]):this._addStickyStyle(Wt,"bottom",0,!1)})}_removeStickyStyle(Qe,Fe){for(const Xt of Fe)Qe.style[Xt]="",Qe.classList.remove(this._borderCellCss[Xt]);Me.some(Xt=>-1===Fe.indexOf(Xt)&&Qe.style[Xt])?Qe.style.zIndex=this._getCalculatedZIndex(Qe):(Qe.style.zIndex="",this._needsPositionStickyOnElement&&(Qe.style.position=""),Qe.classList.remove(this._stickCellCss))}_addStickyStyle(Qe,Fe,Wt,Xt){Qe.classList.add(this._stickCellCss),Xt&&Qe.classList.add(this._borderCellCss[Fe]),Qe.style[Fe]=`${Wt}px`,Qe.style.zIndex=this._getCalculatedZIndex(Qe),this._needsPositionStickyOnElement&&(Qe.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(Qe){const Fe={top:100,bottom:10,left:1,right:1};let Wt=0;for(const Xt of Me)Qe.style[Xt]&&(Wt+=Fe[Xt]);return Wt?`${Wt}`:""}_getCellWidths(Qe,Fe=!0){if(!Fe&&this._cachedCellWidths.length)return this._cachedCellWidths;const Wt=[],Xt=Qe.children;for(let _i=0;_i<Xt.length;_i++){let Oi=Xt[_i];Wt.push(Oi.getBoundingClientRect().width)}return this._cachedCellWidths=Wt,Wt}_getStickyStartColumnPositions(Qe,Fe){const Wt=[];let Xt=0;for(let _i=0;_i<Qe.length;_i++)Fe[_i]&&(Wt[_i]=Xt,Xt+=Qe[_i]);return Wt}_getStickyEndColumnPositions(Qe,Fe){const Wt=[];let Xt=0;for(let _i=Qe.length;_i>0;_i--)Fe[_i]&&(Wt[_i]=Xt,Xt+=Qe[_i]);return Wt}}const ze=new e.OlP("CDK_SPL");class Ve{}Ve.\u0275fac=function(Qe){return new(Qe||Ve)},Ve.\u0275dir=e.lG2({type:Ve,selectors:[["cdk-table","recycleRows",""],["table","cdk-table","","recycleRows",""]],features:[e._Bn([{provide:O.k,useClass:O.eX}])]});class oe{constructor(Qe,Fe){this.viewContainer=Qe,this.elementRef=Fe}}oe.\u0275fac=function(Qe){return new(Qe||oe)(e.Y36(e.s_b),e.Y36(e.SBq))},oe.\u0275dir=e.lG2({type:oe,selectors:[["","rowOutlet",""]]});class at{constructor(Qe,Fe){this.viewContainer=Qe,this.elementRef=Fe}}at.\u0275fac=function(Qe){return new(Qe||at)(e.Y36(e.s_b),e.Y36(e.SBq))},at.\u0275dir=e.lG2({type:at,selectors:[["","headerRowOutlet",""]]});class qe{constructor(Qe,Fe){this.viewContainer=Qe,this.elementRef=Fe}}qe.\u0275fac=function(Qe){return new(Qe||qe)(e.Y36(e.s_b),e.Y36(e.SBq))},qe.\u0275dir=e.lG2({type:qe,selectors:[["","footerRowOutlet",""]]});class it{constructor(Qe,Fe){this.viewContainer=Qe,this.elementRef=Fe}}it.\u0275fac=function(Qe){return new(Qe||it)(e.Y36(e.s_b),e.Y36(e.SBq))},it.\u0275dir=e.lG2({type:it,selectors:[["","noDataRowOutlet",""]]});class st{constructor(Qe,Fe,Wt,Xt,_i,Oi,ki,Ki,ti,be,ke,ft){this._differs=Qe,this._changeDetectorRef=Fe,this._elementRef=Wt,this._dir=_i,this._platform=ki,this._viewRepeater=Ki,this._coalescedStyleScheduler=ti,this._viewportRuler=be,this._stickyPositioningListener=ke,this._ngZone=ft,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 e.vpe,this.viewChange=new L.X({start:0,end:Number.MAX_VALUE}),Xt||this._elementRef.nativeElement.setAttribute("role","table"),this._document=Oi,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(Qe){this._trackByFn=Qe}get dataSource(){return this._dataSource}set dataSource(Qe){this._dataSource!==Qe&&this._switchDataSource(Qe)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(Qe){this._multiTemplateDataRows=(0,_.Ig)(Qe),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(Qe){this._fixedLayout=(0,_.Ig)(Qe),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((Qe,Fe)=>this.trackBy?this.trackBy(Fe.dataIndex,Fe.data):Fe),this._viewportRuler.change().pipe((0,M.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;const Fe=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||Fe,this._forceRecalculateCellWidths=Fe,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(Qe=>{Qe.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,O.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const Qe=this._dataDiffer.diff(this._renderRows);if(!Qe)return this._updateNoDataRow(),void this.contentChanged.next();const Fe=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(Qe,Fe,(Wt,Xt,_i)=>this._getEmbeddedViewArgs(Wt.item,_i),Wt=>Wt.item.data,Wt=>{1===Wt.operation&&Wt.context&&this._renderCellTemplateForItem(Wt.record.item.rowDef,Wt.context)}),this._updateRowIndexContext(),Qe.forEachIdentityChange(Wt=>{Fe.get(Wt.currentIndex).context.$implicit=Wt.item.data}),this._updateNoDataRow(),this._ngZone&&e.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,z.q)(1),(0,M.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(Qe){this._customColumnDefs.add(Qe)}removeColumnDef(Qe){this._customColumnDefs.delete(Qe)}addRowDef(Qe){this._customRowDefs.add(Qe)}removeRowDef(Qe){this._customRowDefs.delete(Qe)}addHeaderRowDef(Qe){this._customHeaderRowDefs.add(Qe),this._headerRowDefChanged=!0}removeHeaderRowDef(Qe){this._customHeaderRowDefs.delete(Qe),this._headerRowDefChanged=!0}addFooterRowDef(Qe){this._customFooterRowDefs.add(Qe),this._footerRowDefChanged=!0}removeFooterRowDef(Qe){this._customFooterRowDefs.delete(Qe),this._footerRowDefChanged=!0}setNoDataRow(Qe){this._customNoDataRow=Qe}updateStickyHeaderRowStyles(){const Qe=this._getRenderedRows(this._headerRowOutlet),Wt=this._elementRef.nativeElement.querySelector("thead");Wt&&(Wt.style.display=Qe.length?"":"none");const Xt=this._headerRowDefs.map(_i=>_i.sticky);this._stickyStyler.clearStickyPositioning(Qe,["top"]),this._stickyStyler.stickRows(Qe,Xt,"top"),this._headerRowDefs.forEach(_i=>_i.resetStickyChanged())}updateStickyFooterRowStyles(){const Qe=this._getRenderedRows(this._footerRowOutlet),Wt=this._elementRef.nativeElement.querySelector("tfoot");Wt&&(Wt.style.display=Qe.length?"":"none");const Xt=this._footerRowDefs.map(_i=>_i.sticky);this._stickyStyler.clearStickyPositioning(Qe,["bottom"]),this._stickyStyler.stickRows(Qe,Xt,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,Xt),this._footerRowDefs.forEach(_i=>_i.resetStickyChanged())}updateStickyColumnStyles(){const Qe=this._getRenderedRows(this._headerRowOutlet),Fe=this._getRenderedRows(this._rowOutlet),Wt=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...Qe,...Fe,...Wt],["left","right"]),this._stickyColumnStylesNeedReset=!1),Qe.forEach((Xt,_i)=>{this._addStickyColumnStyles([Xt],this._headerRowDefs[_i])}),this._rowDefs.forEach(Xt=>{const _i=[];for(let Oi=0;Oi<Fe.length;Oi++)this._renderRows[Oi].rowDef===Xt&&_i.push(Fe[Oi]);this._addStickyColumnStyles(_i,Xt)}),Wt.forEach((Xt,_i)=>{this._addStickyColumnStyles([Xt],this._footerRowDefs[_i])}),Array.from(this._columnDefsByName.values()).forEach(Xt=>Xt.resetStickyChanged())}_getAllRenderRows(){const Qe=[],Fe=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let Wt=0;Wt<this._data.length;Wt++){let Xt=this._data[Wt];const _i=this._getRenderRowsForData(Xt,Wt,Fe.get(Xt));this._cachedRenderRowsMap.has(Xt)||this._cachedRenderRowsMap.set(Xt,new WeakMap);for(let Oi=0;Oi<_i.length;Oi++){let ki=_i[Oi];const Ki=this._cachedRenderRowsMap.get(ki.data);Ki.has(ki.rowDef)?Ki.get(ki.rowDef).push(ki):Ki.set(ki.rowDef,[ki]),Qe.push(ki)}}return Qe}_getRenderRowsForData(Qe,Fe,Wt){return this._getRowDefs(Qe,Fe).map(_i=>{const Oi=Wt&&Wt.has(_i)?Wt.get(_i):[];if(Oi.length){const ki=Oi.shift();return ki.dataIndex=Fe,ki}return{data:Qe,rowDef:_i,dataIndex:Fe}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Be(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Fe=>{this._columnDefsByName.has(Fe.name),this._columnDefsByName.set(Fe.name,Fe)})}_cacheRowDefs(){this._headerRowDefs=Be(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Be(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Be(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const Qe=this._rowDefs.filter(Fe=>!Fe.when);!this.multiTemplateDataRows&&Qe.length,this._defaultRowDef=Qe[0]}_renderUpdatedColumns(){const Qe=(_i,Oi)=>_i||!!Oi.getColumnsDiff(),Fe=this._rowDefs.reduce(Qe,!1);Fe&&this._forceRenderDataRows();const Wt=this._headerRowDefs.reduce(Qe,!1);Wt&&this._forceRenderHeaderRows();const Xt=this._footerRowDefs.reduce(Qe,!1);return Xt&&this._forceRenderFooterRows(),Fe||Wt||Xt}_switchDataSource(Qe){this._data=[],(0,O.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),Qe||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=Qe}_observeRenderChanges(){if(!this.dataSource)return;let Qe;(0,O.Z9)(this.dataSource)?Qe=this.dataSource.connect(this):(0,D.b)(this.dataSource)?Qe=this.dataSource:Array.isArray(this.dataSource)&&(Qe=(0,k.of)(this.dataSource)),this._renderChangeSubscription=Qe.pipe((0,M.R)(this._onDestroy)).subscribe(Fe=>{this._data=Fe||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((Qe,Fe)=>this._renderRow(this._headerRowOutlet,Qe,Fe)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((Qe,Fe)=>this._renderRow(this._footerRowOutlet,Qe,Fe)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(Qe,Fe){const Wt=Array.from(Fe.columns||[]).map(Oi=>this._columnDefsByName.get(Oi)),Xt=Wt.map(Oi=>Oi.sticky),_i=Wt.map(Oi=>Oi.stickyEnd);this._stickyStyler.updateStickyColumns(Qe,Xt,_i,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(Qe){const Fe=[];for(let Wt=0;Wt<Qe.viewContainer.length;Wt++){const Xt=Qe.viewContainer.get(Wt);Fe.push(Xt.rootNodes[0])}return Fe}_getRowDefs(Qe,Fe){if(1==this._rowDefs.length)return[this._rowDefs[0]];let Wt=[];if(this.multiTemplateDataRows)Wt=this._rowDefs.filter(Xt=>!Xt.when||Xt.when(Fe,Qe));else{let Xt=this._rowDefs.find(_i=>_i.when&&_i.when(Fe,Qe))||this._defaultRowDef;Xt&&Wt.push(Xt)}return Wt.length,Wt}_getEmbeddedViewArgs(Qe,Fe){const Wt=Qe.rowDef,Xt={$implicit:Qe.data};return{templateRef:Wt.template,context:Xt,index:Fe}}_renderRow(Qe,Fe,Wt,Xt={}){const _i=Qe.viewContainer.createEmbeddedView(Fe.template,Xt,Wt);return this._renderCellTemplateForItem(Fe,Xt),_i}_renderCellTemplateForItem(Qe,Fe){for(let Wt of this._getCellTemplates(Qe))dt.mostRecentCellOutlet&&dt.mostRecentCellOutlet._viewContainer.createEmbeddedView(Wt,Fe);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const Qe=this._rowOutlet.viewContainer;for(let Fe=0,Wt=Qe.length;Fe<Wt;Fe++){const _i=Qe.get(Fe).context;_i.count=Wt,_i.first=0===Fe,_i.last=Fe===Wt-1,_i.even=Fe%2==0,_i.odd=!_i.even,this.multiTemplateDataRows?(_i.dataIndex=this._renderRows[Fe].dataIndex,_i.renderIndex=Fe):_i.index=this._renderRows[Fe].dataIndex}}_getCellTemplates(Qe){return Qe&&Qe.columns?Array.from(Qe.columns,Fe=>{const Wt=this._columnDefsByName.get(Fe);return Qe.extractCellTemplate(Wt)}):[]}_applyNativeTableSections(){const Qe=this._document.createDocumentFragment(),Fe=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const Wt of Fe){const Xt=this._document.createElement(Wt.tag);Xt.setAttribute("role","rowgroup");for(const _i of Wt.outlets)Xt.appendChild(_i.elementRef.nativeElement);Qe.appendChild(Xt)}this._elementRef.nativeElement.appendChild(Qe)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const Qe=(Fe,Wt)=>Fe||Wt.hasStickyChanged();this._headerRowDefs.reduce(Qe,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(Qe,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(Qe,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){const Qe=this._dir?this._dir.value:"ltr";this._stickyStyler=new De(this._isNativeHtmlTable,this.stickyCssClass,Qe,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,k.of)()).pipe((0,M.R)(this._onDestroy)).subscribe(Fe=>{this._stickyStyler.direction=Fe,this.updateStickyColumnStyles()})}_getOwnDefs(Qe){return Qe.filter(Fe=>!Fe._table||Fe._table===this)}_updateNoDataRow(){const Qe=this._customNoDataRow||this._noDataRow;if(!Qe)return;const Fe=0===this._rowOutlet.viewContainer.length;if(Fe===this._isShowingNoDataRow)return;const Wt=this._noDataRowOutlet.viewContainer;if(Fe){const Xt=Wt.createEmbeddedView(Qe.templateRef),_i=Xt.rootNodes[0];1===Xt.rootNodes.length&&_i?.nodeType===this._document.ELEMENT_NODE&&(_i.setAttribute("role","row"),_i.classList.add(Qe._contentClassName))}else Wt.clear();this._isShowingNoDataRow=Fe}}function Be(xt,Qe){return xt.concat(Array.from(Qe))}st.\u0275fac=function(Qe){return new(Qe||st)(e.Y36(e.ZZ4),e.Y36(e.sBO),e.Y36(e.SBq),e.$8M("role"),e.Y36(t.Is,8),e.Y36(u.K0),e.Y36(l.t4),e.Y36(O.k),e.Y36(I),e.Y36(C.rL),e.Y36(ze,12),e.Y36(e.R0b,8))},st.\u0275cmp=e.Xpm({type:st,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(Qe,Fe,Wt){if(1&Qe&&(e.Suo(Wt,Oe,5),e.Suo(Wt,T,5),e.Suo(Wt,Xe,5),e.Suo(Wt,N,5),e.Suo(Wt,Ce,5)),2&Qe){let Xt;e.iGM(Xt=e.CRH())&&(Fe._noDataRow=Xt.first),e.iGM(Xt=e.CRH())&&(Fe._contentColumnDefs=Xt),e.iGM(Xt=e.CRH())&&(Fe._contentRowDefs=Xt),e.iGM(Xt=e.CRH())&&(Fe._contentHeaderRowDefs=Xt),e.iGM(Xt=e.CRH())&&(Fe._contentFooterRowDefs=Xt)}},viewQuery:function(Qe,Fe){if(1&Qe&&(e.Gf(oe,7),e.Gf(at,7),e.Gf(qe,7),e.Gf(it,7)),2&Qe){let Wt;e.iGM(Wt=e.CRH())&&(Fe._rowOutlet=Wt.first),e.iGM(Wt=e.CRH())&&(Fe._headerRowOutlet=Wt.first),e.iGM(Wt=e.CRH())&&(Fe._footerRowOutlet=Wt.first),e.iGM(Wt=e.CRH())&&(Fe._noDataRowOutlet=Wt.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(Qe,Fe){2&Qe&&e.ekj("cdk-table-fixed-layout",Fe.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[e._Bn([{provide:ae,useExisting:st},{provide:O.k,useClass:O.yy},{provide:I,useClass:R},{provide:ze,useValue:null}])],ngContentSelectors:["caption","colgroup, col"],decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(Qe,Fe){1&Qe&&(e.F$t(A),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[oe,at,qe,it],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2});class rt{constructor(Qe,Fe){this._table=Qe,this._options=Fe,this.justify="start",this._options=Fe||{}}get name(){return this._name}set name(Qe){this._name=Qe,this._syncColumnDefName()}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((Qe,Fe)=>Qe[Fe])),this._table&&(this.columnDef.cell=this.cell,this.columnDef.headerCell=this.headerCell,this._table.addColumnDef(this.columnDef))}ngOnDestroy(){this._table&&this._table.removeColumnDef(this.columnDef)}_createDefaultHeaderText(){const Qe=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(Qe):Qe[0].toUpperCase()+Qe.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}rt.\u0275fac=function(Qe){return new(Qe||rt)(e.Y36(st,8),e.Y36(he,8))},rt.\u0275cmp=e.Xpm({type:rt,selectors:[["cdk-text-column"]],viewQuery:function(Qe,Fe){if(1&Qe&&(e.Gf(T,7),e.Gf(se,7),e.Gf(pe,7)),2&Qe){let Wt;e.iGM(Wt=e.CRH())&&(Fe.columnDef=Wt.first),e.iGM(Wt=e.CRH())&&(Fe.cell=Wt.first),e.iGM(Wt=e.CRH())&&(Fe.headerCell=Wt.first)}},inputs:{name:"name",headerText:"headerText",dataAccessor:"dataAccessor",justify:"justify"},decls:3,vars:0,consts:[["cdkColumnDef",""],["cdk-header-cell","",3,"text-align",4,"cdkHeaderCellDef"],["cdk-cell","",3,"text-align",4,"cdkCellDef"],["cdk-header-cell",""],["cdk-cell",""]],template:function(Qe,Fe){1&Qe&&(e.ynx(0,0),e.YNc(1,Z,2,3,"th",1),e.YNc(2,X,2,3,"td",2),e.BQk())},dependencies:[se,pe,T,h,o],encapsulation:2});class Gt{}Gt.\u0275fac=function(Qe){return new(Qe||Gt)},Gt.\u0275mod=e.oAB({type:Gt}),Gt.\u0275inj=e.cJS({imports:[C.Cl]});var kt=f(207),Rt=f(6646),yi=f(6562),Jt=f(635);const Zt=[[["caption"]],[["colgroup"],["col"]]];function Re(xt,Qe){if(1&xt&&(e.TgZ(0,"th",3),e._uU(1),e.qZA()),2&xt){const Fe=e.oxw();e.Udp("text-align",Fe.justify),e.xp6(1),e.hij(" ",Fe.headerText," ")}}function U(xt,Qe){if(1&xt&&(e.TgZ(0,"td",4),e._uU(1),e.qZA()),2&xt){const Fe=Qe.$implicit,Wt=e.oxw();e.Udp("text-align",Wt.justify),e.xp6(1),e.hij(" ",Wt.dataAccessor(Fe,Wt.name)," ")}}class j{}j.\u0275fac=function(Qe){return new(Qe||j)},j.\u0275dir=e.lG2({type:j,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],features:[e._Bn([{provide:O.k,useClass:O.eX}])]});class ue extends st{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")}}ue.\u0275fac=function(){let xt;return function(Fe){return(xt||(xt=e.n5z(ue)))(Fe||ue)}}(),ue.\u0275cmp=e.Xpm({type:ue,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(Qe,Fe){2&Qe&&e.ekj("mdc-table-fixed-layout",Fe.fixedLayout)},exportAs:["matTable"],features:[e._Bn([{provide:st,useExisting:ue},{provide:ae,useExisting:ue},{provide:I,useClass:R},{provide:O.k,useClass:O.yy},{provide:ze,useValue:null}]),e.qOj],ngContentSelectors:["caption","colgroup, col"],decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(Qe,Fe){1&Qe&&(e.F$t(Zt),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[oe,at,qe,it],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});class Ne extends se{}Ne.\u0275fac=function(){let xt;return function(Fe){return(xt||(xt=e.n5z(Ne)))(Fe||Ne)}}(),Ne.\u0275dir=e.lG2({type:Ne,selectors:[["","matCellDef",""]],features:[e._Bn([{provide:se,useExisting:Ne}]),e.qOj]});class wt extends pe{}wt.\u0275fac=function(){let xt;return function(Fe){return(xt||(xt=e.n5z(wt)))(Fe||wt)}}(),wt.\u0275dir=e.lG2({type:wt,selectors:[["","matHeaderCellDef",""]],features:[e._Bn([{provide:pe,useExisting:wt}]),e.qOj]});class Et extends le{}Et.\u0275fac=function(){let xt;return function(Fe){return(xt||(xt=e.n5z(Et)))(Fe||Et)}}(),Et.\u0275dir=e.lG2({type:Et,selectors:[["","matFooterCellDef",""]],features:[e._Bn([{provide:le,useExisting:Et}]),e.qOj]});class Nt extends T{get name(){return this._name}set name(Qe){this._setNameInput(Qe)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}Nt.\u0275fac=function(){let xt;return function(Fe){return(xt||(xt=e.n5z(Nt)))(Fe||Nt)}}(),Nt.\u0275dir=e.lG2({type:Nt,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[e._Bn([{provide:T,useExisting:Nt},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:Nt}]),e.qOj]});class ot extends o{}ot.\u0275fac=function(){let xt;return function(Fe){return(xt||(xt=e.n5z(ot)))(Fe||ot)}}(),ot.\u0275dir=e.lG2({type:ot,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[e.qOj]});class We extends m{}We.\u0275fac=function(){let xt;return function(Fe){return(xt||(xt=e.n5z(We)))(Fe||We)}}(),We.\u0275dir=e.lG2({type:We,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],features:[e.qOj]});class gt extends h{}gt.\u0275fac=function(){let xt;return function(Fe){return(xt||(xt=e.n5z(gt)))(Fe||gt)}}(),gt.\u0275dir=e.lG2({type:gt,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[e.qOj]});class ri extends N{}ri.\u0275fac=function(){let xt;return function(Fe){return(xt||(xt=e.n5z(ri)))(Fe||ri)}}(),ri.\u0275dir=e.lG2({type:ri,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[e._Bn([{provide:N,useExisting:ri}]),e.qOj]});class Pt extends Ce{}Pt.\u0275fac=function(){let xt;return function(Fe){return(xt||(xt=e.n5z(Pt)))(Fe||Pt)}}(),Pt.\u0275dir=e.lG2({type:Pt,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[e._Bn([{provide:Ce,useExisting:Pt}]),e.qOj]});class Ft extends Xe{}Ft.\u0275fac=function(){let xt;return function(Fe){return(xt||(xt=e.n5z(Ft)))(Fe||Ft)}}(),Ft.\u0275dir=e.lG2({type:Ft,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[e._Bn([{provide:Xe,useExisting:Ft}]),e.qOj]});class qt extends Ke{}qt.\u0275fac=function(){let xt;return function(Fe){return(xt||(xt=e.n5z(qt)))(Fe||qt)}}(),qt.\u0275cmp=e.Xpm({type:qt,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[e._Bn([{provide:Ke,useExisting:qt}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Qe,Fe){1&Qe&&e.GkF(0,0)},dependencies:[dt],encapsulation:2});class Te extends ge{}Te.\u0275fac=function(){let xt;return function(Fe){return(xt||(xt=e.n5z(Te)))(Fe||Te)}}(),Te.\u0275cmp=e.Xpm({type:Te,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-mdc-footer-row","mdc-data-table__row"],exportAs:["matFooterRow"],features:[e._Bn([{provide:ge,useExisting:Te}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Qe,Fe){1&Qe&&e.GkF(0,0)},dependencies:[dt],encapsulation:2});class me extends $e{}me.\u0275fac=function(){let xt;return function(Fe){return(xt||(xt=e.n5z(me)))(Fe||me)}}(),me.\u0275cmp=e.Xpm({type:me,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[e._Bn([{provide:$e,useExisting:me}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Qe,Fe){1&Qe&&e.GkF(0,0)},dependencies:[dt],encapsulation:2});class ct extends Oe{constructor(){super(...arguments),this._contentClassName="mat-mdc-no-data-row"}}ct.\u0275fac=function(){let xt;return function(Fe){return(xt||(xt=e.n5z(ct)))(Fe||ct)}}(),ct.\u0275dir=e.lG2({type:ct,selectors:[["ng-template","matNoDataRow",""]],features:[e._Bn([{provide:Oe,useExisting:ct}]),e.qOj]});class _t extends rt{}_t.\u0275fac=function(){let xt;return function(Fe){return(xt||(xt=e.n5z(_t)))(Fe||_t)}}(),_t.\u0275cmp=e.Xpm({type:_t,selectors:[["mat-text-column"]],features:[e.qOj],decls:3,vars:0,consts:[["matColumnDef",""],["mat-header-cell","",3,"text-align",4,"matHeaderCellDef"],["mat-cell","",3,"text-align",4,"matCellDef"],["mat-header-cell",""],["mat-cell",""]],template:function(Qe,Fe){1&Qe&&(e.ynx(0,0),e.YNc(1,Re,2,3,"th",1),e.YNc(2,U,2,3,"td",2),e.BQk())},dependencies:[wt,Nt,Ne,ot,gt],encapsulation:2});class Li{}Li.\u0275fac=function(Qe){return new(Qe||Li)},Li.\u0275mod=e.oAB({type:Li}),Li.\u0275inj=e.cJS({imports:[kt.BQ,Gt,kt.BQ]});class wi extends O.o2{constructor(Qe=[]){super(),this._renderData=new L.X([]),this._filter=new L.X(""),this._internalPageChanges=new P.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(Fe,Wt)=>{const Xt=Fe[Wt];if((0,_.t6)(Xt)){const _i=Number(Xt);return _i<9007199254740991?_i:Xt}return Xt},this.sortData=(Fe,Wt)=>{const Xt=Wt.active,_i=Wt.direction;return Xt&&""!=_i?Fe.sort((Oi,ki)=>{let Ki=this.sortingDataAccessor(Oi,Xt),ti=this.sortingDataAccessor(ki,Xt);const be=typeof Ki,ke=typeof ti;be!==ke&&("number"===be&&(Ki+=""),"number"===ke&&(ti+=""));let ft=0;return null!=Ki&&null!=ti?Ki>ti?ft=1:Ki<ti&&(ft=-1):null!=Ki?ft=1:null!=ti&&(ft=-1),ft*("asc"==_i?1:-1)}):Fe},this.filterPredicate=(Fe,Wt)=>{const Xt=Object.keys(Fe).reduce((Oi,ki)=>Oi+Fe[ki]+"\u25ec","").toLowerCase(),_i=Wt.trim().toLowerCase();return-1!=Xt.indexOf(_i)},this._data=new L.X(Qe),this._updateChangeSubscription()}get data(){return this._data.value}set data(Qe){Qe=Array.isArray(Qe)?Qe:[],this._data.next(Qe),this._renderChangesSubscription||this._filterData(Qe)}get filter(){return this._filter.value}set filter(Qe){this._filter.next(Qe),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(Qe){this._sort=Qe,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(Qe){this._paginator=Qe,this._updateChangeSubscription()}_updateChangeSubscription(){const Qe=this._sort?(0,Rt.T)(this._sort.sortChange,this._sort.initialized):(0,k.of)(null),Fe=this._paginator?(0,Rt.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,k.of)(null),Wt=this._data,Xt=(0,yi.a)([Wt,this._filter]).pipe((0,Jt.U)(([ki])=>this._filterData(ki))),_i=(0,yi.a)([Xt,Qe]).pipe((0,Jt.U)(([ki])=>this._orderData(ki))),Oi=(0,yi.a)([_i,Fe]).pipe((0,Jt.U)(([ki])=>this._pageData(ki)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=Oi.subscribe(ki=>this._renderData.next(ki))}_filterData(Qe){return this.filteredData=null==this.filter||""===this.filter?Qe:Qe.filter(Fe=>this.filterPredicate(Fe,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(Qe){return this.sort?this.sortData(Qe.slice(),this.sort):Qe}_pageData(Qe){if(!this.paginator)return Qe;const Fe=this.paginator.pageIndex*this.paginator.pageSize;return Qe.slice(Fe,Fe+this.paginator.pageSize)}_updatePaginator(Qe){Promise.resolve().then(()=>{const Fe=this.paginator;if(Fe&&(Fe.length=Qe,Fe.pageIndex>0)){const Wt=Math.ceil(Fe.length/Fe.pageSize)-1||0,Xt=Math.min(Fe.pageIndex,Wt);Xt!==Fe.pageIndex&&(Fe.pageIndex=Xt,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}class zi extends wi{}},5892:(Ye,J,f)=>{"use strict";f.d(J,{BU:()=>ri,Nh:()=>qt,Nj:()=>Pt,SP:()=>Ne,sW:()=>Ft,uD:()=>ne,uX:()=>Ot});var e=f(4666),t=f(2560),_=f(207),O=f(7520),l=f(3773),C=f(4218),u=f(2867),P=f(7714),p=f(253),L=f(3280),D=f(745),k=f(6646),M=f(591),z=f(833),A=f(8947),W=f(6317),Z=f(4874),X=f(8977),$=f(8951),ae=f(9295),he=f(2673),se=f(7260),pe=f(116),le=f(4851),re=f(8971),fe=f(1494),T=f(9107),i=f(8456);function o(Te,me){}const m=function(Te){return{animationDuration:Te}},h=function(Te,me){return{value:Te,params:me}};function x(Te,me){1&Te&&t.Hsn(0)}const I=["*"],R=["tabListContainer"],g=["tabList"],r=["tabListInner"],w=["nextPaginator"],V=["previousPaginator"],N=["tabBodyWrapper"],Y=["tabHeader"];function Pe(Te,me){}function Ce(Te,me){if(1&Te&&t.YNc(0,Pe,0,0,"ng-template",14),2&Te){const ct=t.oxw().$implicit;t.Q6J("cdkPortalOutlet",ct.templateLabel)}}function Xe(Te,me){if(1&Te&&t._uU(0),2&Te){const ct=t.oxw().$implicit;t.Oqu(ct.textLabel)}}function dt(Te,me){if(1&Te){const ct=t.EpF();t.TgZ(0,"div",6,7),t.NdJ("click",function(){const Lt=t.CHM(ct),Li=Lt.$implicit,Ai=Lt.index,wi=t.oxw(),zi=t.MAs(1);return t.KtG(wi._handleClick(Li,zi,Ai))})("cdkFocusChange",function(Lt){const Ai=t.CHM(ct).index,wi=t.oxw();return t.KtG(wi._tabFocusChanged(Lt,Ai))}),t._UZ(2,"span",8)(3,"div",9),t.TgZ(4,"span",10)(5,"span",11),t.YNc(6,Ce,1,1,"ng-template",12),t.YNc(7,Xe,1,1,"ng-template",null,13,t.W1O),t.qZA()()()}if(2&Te){const ct=me.$implicit,_t=me.index,Lt=t.MAs(1),Li=t.MAs(8),Ai=t.oxw();t.ekj("mdc-tab--active",Ai.selectedIndex===_t),t.Q6J("id",Ai._getTabLabelId(_t))("ngClass",ct.labelClass)("disabled",ct.disabled)("fitInkBarToContent",Ai.fitInkBarToContent),t.uIk("tabIndex",Ai._getTabIndex(ct,_t))("aria-posinset",_t+1)("aria-setsize",Ai._tabs.length)("aria-controls",Ai._getTabContentId(_t))("aria-selected",Ai.selectedIndex===_t)("aria-label",ct.ariaLabel||null)("aria-labelledby",!ct.ariaLabel&&ct.ariaLabelledby?ct.ariaLabelledby:null),t.xp6(3),t.Q6J("matRippleTrigger",Lt)("matRippleDisabled",ct.disabled||Ai.disableRipple),t.xp6(3),t.Q6J("ngIf",ct.templateLabel)("ngIfElse",Li)}}function Ke(Te,me){if(1&Te){const ct=t.EpF();t.TgZ(0,"mat-tab-body",15),t.NdJ("_onCentered",function(){t.CHM(ct);const Lt=t.oxw();return t.KtG(Lt._removeTabBodyWrapperHeight())})("_onCentering",function(Lt){t.CHM(ct);const Li=t.oxw();return t.KtG(Li._setTabBodyWrapperHeight(Lt))}),t.qZA()}if(2&Te){const ct=me.$implicit,_t=me.index,Lt=t.oxw();t.ekj("mat-mdc-tab-body-active",Lt.selectedIndex===_t),t.Q6J("id",Lt._getTabContentId(_t))("ngClass",ct.bodyClass)("content",ct.content)("position",ct.position)("origin",ct.origin)("animationDuration",Lt.animationDuration)("preserveContent",Lt.preserveContent),t.uIk("tabindex",null!=Lt.contentTabIndex&&Lt.selectedIndex===_t?Lt.contentTabIndex:null)("aria-labelledby",Lt._getTabLabelId(_t))}}const Oe={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)")])])};class Me extends O.Pl{constructor(me,ct,_t,Lt){super(me,ct,Lt),this._host=_t,this._centeringSub=P.w0.EMPTY,this._leavingSub=P.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,Z.O)(this._host._isCenterPosition(this._host._position))).subscribe(me=>{me&&!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()}}Me.\u0275fac=function(me){return new(me||Me)(t.Y36(t._Vd),t.Y36(t.s_b),t.Y36((0,t.Gpc)(()=>Ue)),t.Y36(e.K0))},Me.\u0275dir=t.lG2({type:Me,selectors:[["","matTabBodyHost",""]],features:[t.qOj]});class De{constructor(me,ct,_t){this._elementRef=me,this._dir=ct,this._dirChangeSubscription=P.w0.EMPTY,this._translateTabComplete=new p.x,this._onCentering=new t.vpe,this._beforeCentering=new t.vpe,this._afterLeavingCenter=new t.vpe,this._onCentered=new t.vpe(!0),this.animationDuration="500ms",this.preserveContent=!1,ct&&(this._dirChangeSubscription=ct.change.subscribe(Lt=>{this._computePositionAnimationState(Lt),_t.markForCheck()})),this._translateTabComplete.pipe((0,X.x)((Lt,Li)=>Lt.fromState===Li.fromState&&Lt.toState===Li.toState)).subscribe(Lt=>{this._isCenterPosition(Lt.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(Lt.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(me){this._positionIndex=me,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(me){const ct=this._isCenterPosition(me.toState);this._beforeCentering.emit(ct),ct&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(me){return"center"==me||"left-origin-center"==me||"right-origin-center"==me}_computePositionAnimationState(me=this._getLayoutDirection()){this._positionIndex<0?this._position="ltr"==me?"left":"right":this._positionIndex>0?this._position="ltr"==me?"right":"left":this._position="center"}_computePositionFromOrigin(me){const ct=this._getLayoutDirection();return"ltr"==ct&&me<=0||"rtl"==ct&&me>0?"left-origin-center":"right-origin-center"}}De.\u0275fac=function(me){return new(me||De)(t.Y36(t.SBq),t.Y36(u.Is,8),t.Y36(t.sBO))},De.\u0275dir=t.lG2({type:De,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}});class Ue extends De{constructor(me,ct,_t){super(me,ct,_t)}}Ue.\u0275fac=function(me){return new(me||Ue)(t.Y36(t.SBq),t.Y36(u.Is,8),t.Y36(t.sBO))},Ue.\u0275cmp=t.Xpm({type:Ue,selectors:[["mat-tab-body"]],viewQuery:function(me,ct){if(1&me&&t.Gf(O.Pl,5),2&me){let _t;t.iGM(_t=t.CRH())&&(ct._portalHost=_t.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[t.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(me,ct){1&me&&(t.TgZ(0,"div",0,1),t.NdJ("@translateTab.start",function(Lt){return ct._onTranslateTabStarted(Lt)})("@translateTab.done",function(Lt){return ct._translateTabComplete.next(Lt)}),t.YNc(2,o,0,0,"ng-template",2),t.qZA()),2&me&&t.Q6J("@translateTab",t.WLB(3,h,ct._position,t.VKq(1,m,ct.animationDuration)))},dependencies:[Me],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:[Oe.translateTab]}});const ye=new t.OlP("MatTabContent");class we{constructor(me){this.template=me}}we.\u0275fac=function(me){return new(me||we)(t.Y36(t.Rgc))},we.\u0275dir=t.lG2({type:we,selectors:[["","matTabContent",""]],features:[t._Bn([{provide:ye,useExisting:we}])]});const ie=new t.OlP("MatTabLabel"),Se=new t.OlP("MAT_TAB");class ne extends O.ig{constructor(me,ct,_t){super(me,ct),this._closestTab=_t}}ne.\u0275fac=function(me){return new(me||ne)(t.Y36(t.Rgc),t.Y36(t.s_b),t.Y36(Se,8))},ne.\u0275dir=t.lG2({type:ne,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[t._Bn([{provide:ie,useExisting:ne}]),t.qOj]});const K="mdc-tab-indicator--active",ee="mdc-tab-indicator--no-transition";class ze{constructor(me){this._items=me}hide(){this._items.forEach(me=>me.deactivateInkBar())}alignToElement(me){const ct=this._items.find(Lt=>Lt.elementRef.nativeElement===me),_t=this._currentItem;if(_t?.deactivateInkBar(),ct){const Lt=_t?.elementRef.nativeElement.getBoundingClientRect?.();ct.activateInkBar(Lt),this._currentItem=ct}}}function Ve(Te){return class extends Te{constructor(...me){super(...me),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(me){const ct=(0,re.Ig)(me);this._fitToContent!==ct&&(this._fitToContent=ct,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(me){const ct=this.elementRef.nativeElement;if(!me||!ct.getBoundingClientRect||!this._inkBarContentElement)return void ct.classList.add(K);const _t=ct.getBoundingClientRect(),Lt=me.width/_t.width,Li=me.left-_t.left;ct.classList.add(ee),this._inkBarContentElement.style.setProperty("transform",`translateX(${Li}px) scaleX(${Lt})`),ct.getBoundingClientRect(),ct.classList.remove(ee),ct.classList.add(K),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(K)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const me=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=me.createElement("span"),this._inkBarContentElement=me.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._inkBarElement;(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}new t.OlP("MatInkBarPositioner",{providedIn:"root",factory:function oe(){return me=>({left:me?(me.offsetLeft||0)+"px":"0",width:me?(me.offsetWidth||0)+"px":"0"})}});const qe=(0,_.Id)(class{});class it extends qe{constructor(me){super(),this.elementRef=me}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}it.\u0275fac=function(me){return new(me||it)(t.Y36(t.SBq))},it.\u0275dir=t.lG2({type:it,features:[t.qOj]});const ii=Ve(it);class bt extends ii{}bt.\u0275fac=function(){let Te;return function(ct){return(Te||(Te=t.n5z(bt)))(ct||bt)}}(),bt.\u0275dir=t.lG2({type:bt,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(me,ct){2&me&&(t.uIk("aria-disabled",!!ct.disabled),t.ekj("mat-mdc-tab-disabled",ct.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[t.qOj]});const st=(0,_.Id)(class{}),Be=new t.OlP("MAT_TAB_GROUP");class rt extends st{constructor(me,ct){super(),this._viewContainerRef=me,this._closestTabGroup=ct,this.textLabel="",this._contentPortal=null,this._stateChanges=new p.x,this.position=null,this.origin=null,this.isActive=!1}get content(){return this._contentPortal}ngOnChanges(me){(me.hasOwnProperty("textLabel")||me.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new O.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(me){me&&me._closestTab===this&&(this._templateLabel=me)}}rt.\u0275fac=function(me){return new(me||rt)(t.Y36(t.s_b),t.Y36(Be,8))},rt.\u0275dir=t.lG2({type:rt,viewQuery:function(me,ct){if(1&me&&t.Gf(t.Rgc,7),2&me){let _t;t.iGM(_t=t.CRH())&&(ct._implicitContent=_t.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[t.qOj,t.TTD]});class Ot extends rt{get templateLabel(){return this._templateLabel}set templateLabel(me){this._setTemplateLabelInput(me)}}Ot.\u0275fac=function(){let Te;return function(ct){return(Te||(Te=t.n5z(Ot)))(ct||Ot)}}(),Ot.\u0275cmp=t.Xpm({type:Ot,selectors:[["mat-tab"]],contentQueries:function(me,ct,_t){if(1&me&&(t.Suo(_t,we,7,t.Rgc),t.Suo(_t,ne,5)),2&me){let Lt;t.iGM(Lt=t.CRH())&&(ct._explicitContent=Lt.first),t.iGM(Lt=t.CRH())&&(ct.templateLabel=Lt.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[t._Bn([{provide:Se,useExisting:Ot}]),t.qOj],ngContentSelectors:I,decls:1,vars:0,template:function(me,ct){1&me&&(t.F$t(),t.YNc(0,x,1,0,"ng-template"))},encapsulation:2});const Gt=(0,T.i$)({passive:!0});class Jt{constructor(me,ct,_t,Lt,Li,Ai,wi){this._elementRef=me,this._changeDetectorRef=ct,this._viewportRuler=_t,this._dir=Lt,this._ngZone=Li,this._platform=Ai,this._animationMode=wi,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new p.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new p.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new t.vpe,this.indexFocused=new t.vpe,Li.runOutsideAngular(()=>{(0,L.R)(me.nativeElement,"mouseleave").pipe((0,$.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get disablePagination(){return this._disablePagination}set disablePagination(me){this._disablePagination=(0,re.Ig)(me)}get selectedIndex(){return this._selectedIndex}set selectedIndex(me){me=(0,re.su)(me),this._selectedIndex!=me&&(this._selectedIndexChanged=!0,this._selectedIndex=me,this._keyManager&&this._keyManager.updateActiveItem(me))}ngAfterViewInit(){(0,L.R)(this._previousPaginator.nativeElement,"touchstart",Gt).pipe((0,$.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,L.R)(this._nextPaginator.nativeElement,"touchstart",Gt).pipe((0,$.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const me=this._dir?this._dir.change:(0,D.of)("ltr"),ct=this._viewportRuler.change(150),_t=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new C.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,ae.q)(1)).subscribe(_t),(0,k.T)(me,ct,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)),_t()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(Lt=>{this.indexFocused.emit(Lt),this._setTabFocus(Lt)})}_itemsResized(){return"function"!=typeof ResizeObserver?M.E:this._items.changes.pipe((0,Z.O)(this._items),(0,he.w)(me=>new z.y(ct=>this._ngZone.runOutsideAngular(()=>{const _t=new ResizeObserver(Lt=>ct.next(Lt));return me.forEach(Lt=>_t.observe(Lt.elementRef.nativeElement)),()=>{_t.disconnect()}}))),(0,se.T)(1),(0,pe.h)(me=>me.some(ct=>ct.contentRect.width>0&&ct.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(me){if(!(0,i.Vb)(me))switch(me.keyCode){case i.K5:case i.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(me));break;default:this._keyManager.onKeydown(me)}}_onContentChanges(){const me=this._elementRef.nativeElement.textContent;me!==this._currentTextContent&&(this._currentTextContent=me||"",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(me){!this._isValidIndex(me)||this.focusIndex===me||!this._keyManager||this._keyManager.setActiveItem(me)}_isValidIndex(me){if(!this._items)return!0;const ct=this._items?this._items.toArray()[me]:null;return!!ct&&!ct.disabled}_setTabFocus(me){if(this._showPaginationControls&&this._scrollToLabel(me),this._items&&this._items.length){this._items.toArray()[me].focus();const ct=this._tabListContainer.nativeElement;"ltr"==this._getLayoutDirection()?ct.scrollLeft=0:ct.scrollLeft=ct.scrollWidth-ct.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const me=this.scrollDistance,ct="ltr"===this._getLayoutDirection()?-me:me;this._tabList.nativeElement.style.transform=`translateX(${Math.round(ct)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(me){this._scrollTo(me)}_scrollHeader(me){const _t=("before"==me?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3;return this._scrollTo(this._scrollDistance+_t)}_handlePaginatorClick(me){this._stopInterval(),this._scrollHeader(me)}_scrollToLabel(me){if(this.disablePagination)return;const ct=this._items?this._items.toArray()[me]:null;if(!ct)return;const _t=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:Lt,offsetWidth:Li}=ct.elementRef.nativeElement;let Ai,wi;"ltr"==this._getLayoutDirection()?(Ai=Lt,wi=Ai+Li):(wi=this._tabListInner.nativeElement.offsetWidth-Lt,Ai=wi-Li);const zi=this.scrollDistance,xt=this.scrollDistance+_t;Ai<zi?this.scrollDistance-=zi-Ai+60:wi>xt&&(this.scrollDistance+=wi-xt+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const me=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;me||(this.scrollDistance=0),me!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=me}}_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 me=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,ct=me?me.elementRef.nativeElement:null;ct?this._inkBar.alignToElement(ct):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(me,ct){ct&&null!=ct.button&&0!==ct.button||(this._stopInterval(),(0,A.H)(650,100).pipe((0,$.R)((0,k.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:_t,distance:Lt}=this._scrollHeader(me);(0===Lt||Lt>=_t)&&this._stopInterval()}))}_scrollTo(me){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const ct=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(ct,me)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:ct,distance:this._scrollDistance}}}Jt.\u0275fac=function(me){return new(me||Jt)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(fe.rL),t.Y36(u.Is,8),t.Y36(t.R0b),t.Y36(T.t4),t.Y36(t.QbO,8))},Jt.\u0275dir=t.lG2({type:Jt,inputs:{disablePagination:"disablePagination"}});class Zt extends Jt{constructor(me,ct,_t,Lt,Li,Ai,wi){super(me,ct,_t,Lt,Li,Ai,wi),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(me){this._disableRipple=(0,re.Ig)(me)}_itemSelected(me){me.preventDefault()}}Zt.\u0275fac=function(me){return new(me||Zt)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(fe.rL),t.Y36(u.Is,8),t.Y36(t.R0b),t.Y36(T.t4),t.Y36(t.QbO,8))},Zt.\u0275dir=t.lG2({type:Zt,inputs:{disableRipple:"disableRipple"},features:[t.qOj]});class mi extends Zt{constructor(me,ct,_t,Lt,Li,Ai,wi){super(me,ct,_t,Lt,Li,Ai,wi)}ngAfterContentInit(){this._inkBar=new ze(this._items),super.ngAfterContentInit()}}mi.\u0275fac=function(me){return new(me||mi)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(fe.rL),t.Y36(u.Is,8),t.Y36(t.R0b),t.Y36(T.t4),t.Y36(t.QbO,8))},mi.\u0275cmp=t.Xpm({type:mi,selectors:[["mat-tab-header"]],contentQueries:function(me,ct,_t){if(1&me&&t.Suo(_t,bt,4),2&me){let Lt;t.iGM(Lt=t.CRH())&&(ct._items=Lt)}},viewQuery:function(me,ct){if(1&me&&(t.Gf(R,7),t.Gf(g,7),t.Gf(r,7),t.Gf(w,5),t.Gf(V,5)),2&me){let _t;t.iGM(_t=t.CRH())&&(ct._tabListContainer=_t.first),t.iGM(_t=t.CRH())&&(ct._tabList=_t.first),t.iGM(_t=t.CRH())&&(ct._tabListInner=_t.first),t.iGM(_t=t.CRH())&&(ct._nextPaginator=_t.first),t.iGM(_t=t.CRH())&&(ct._previousPaginator=_t.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(me,ct){2&me&&t.ekj("mat-mdc-tab-header-pagination-controls-enabled",ct._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==ct._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[t.qOj],ngContentSelectors:I,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(me,ct){1&me&&(t.F$t(),t.TgZ(0,"button",0,1),t.NdJ("click",function(){return ct._handlePaginatorClick("before")})("mousedown",function(Lt){return ct._handlePaginatorPress("before",Lt)})("touchend",function(){return ct._stopInterval()}),t._UZ(2,"div",2),t.qZA(),t.TgZ(3,"div",3,4),t.NdJ("keydown",function(Lt){return ct._handleKeydown(Lt)}),t.TgZ(5,"div",5,6),t.NdJ("cdkObserveContent",function(){return ct._onContentChanges()}),t.TgZ(7,"div",7,8),t.Hsn(9),t.qZA()()(),t.TgZ(10,"button",9,10),t.NdJ("mousedown",function(Lt){return ct._handlePaginatorPress("after",Lt)})("click",function(){return ct._handlePaginatorClick("after")})("touchend",function(){return ct._stopInterval()}),t._UZ(12,"div",2),t.qZA()),2&me&&(t.ekj("mat-mdc-tab-header-pagination-disabled",ct._disableScrollBefore),t.Q6J("matRippleDisabled",ct._disableScrollBefore||ct.disableRipple)("disabled",ct._disableScrollBefore||null),t.xp6(3),t.ekj("_mat-animation-noopable","NoopAnimations"===ct._animationMode),t.xp6(7),t.ekj("mat-mdc-tab-header-pagination-disabled",ct._disableScrollAfter),t.Q6J("matRippleDisabled",ct._disableScrollAfter||ct.disableRipple)("disabled",ct._disableScrollAfter||null))},dependencies:[_.wG,l.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});const Re=new t.OlP("MAT_TABS_CONFIG");let U=0;const j=(0,_.pj)((0,_.Kr)(class{constructor(Te){this._elementRef=Te}}),"primary");class ue extends j{constructor(me,ct,_t,Lt){super(me),this._changeDetectorRef=ct,this._animationMode=Lt,this._tabs=new t.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 t.vpe,this.focusChange=new t.vpe,this.animationDone=new t.vpe,this.selectedTabChange=new t.vpe(!0),this._groupId=U++,this.animationDuration=_t&&_t.animationDuration?_t.animationDuration:"500ms",this.disablePagination=!(!_t||null==_t.disablePagination)&&_t.disablePagination,this.dynamicHeight=!(!_t||null==_t.dynamicHeight)&&_t.dynamicHeight,this.contentTabIndex=_t?.contentTabIndex??null,this.preserveContent=!!_t?.preserveContent}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(me){this._dynamicHeight=(0,re.Ig)(me)}get selectedIndex(){return this._selectedIndex}set selectedIndex(me){this._indexToSelect=(0,re.su)(me,null)}get animationDuration(){return this._animationDuration}set animationDuration(me){this._animationDuration=/^\d+$/.test(me+"")?me+"ms":me}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(me){this._contentTabIndex=(0,re.su)(me,null)}get disablePagination(){return this._disablePagination}set disablePagination(me){this._disablePagination=(0,re.Ig)(me)}get preserveContent(){return this._preserveContent}set preserveContent(me){this._preserveContent=(0,re.Ig)(me)}get backgroundColor(){return this._backgroundColor}set backgroundColor(me){const ct=this._elementRef.nativeElement.classList;ct.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),me&&ct.add("mat-tabs-with-background",`mat-background-${me}`),this._backgroundColor=me}ngAfterContentChecked(){const me=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=me){const ct=null==this._selectedIndex;if(!ct){this.selectedTabChange.emit(this._createChangeEvent(me));const _t=this._tabBodyWrapper.nativeElement;_t.style.minHeight=_t.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((_t,Lt)=>_t.isActive=Lt===me),ct||(this.selectedIndexChange.emit(me),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((ct,_t)=>{ct.position=_t-me,null!=this._selectedIndex&&0==ct.position&&!ct.origin&&(ct.origin=me-this._selectedIndex)}),this._selectedIndex!==me&&(this._selectedIndex=me,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const me=this._clampTabIndex(this._indexToSelect);if(me===this._selectedIndex){const ct=this._tabs.toArray();let _t;for(let Lt=0;Lt<ct.length;Lt++)if(ct[Lt].isActive){this._indexToSelect=this._selectedIndex=Lt,this._lastFocusedTabIndex=null,_t=ct[Lt];break}!_t&&ct[me]&&Promise.resolve().then(()=>{ct[me].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(me))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,Z.O)(this._allTabs)).subscribe(me=>{this._tabs.reset(me.filter(ct=>ct._closestTabGroup===this||!ct._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(me){const ct=this._tabHeader;ct&&(ct.focusIndex=me)}_focusChanged(me){this._lastFocusedTabIndex=me,this.focusChange.emit(this._createChangeEvent(me))}_createChangeEvent(me){const ct=new wt;return ct.index=me,this._tabs&&this._tabs.length&&(ct.tab=this._tabs.toArray()[me]),ct}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,k.T)(...this._tabs.map(me=>me._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(me){return Math.min(this._tabs.length-1,Math.max(me||0,0))}_getTabLabelId(me){return`mat-tab-label-${this._groupId}-${me}`}_getTabContentId(me){return`mat-tab-content-${this._groupId}-${me}`}_setTabBodyWrapperHeight(me){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const ct=this._tabBodyWrapper.nativeElement;ct.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(ct.style.height=me+"px")}_removeTabBodyWrapperHeight(){const me=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=me.clientHeight,me.style.height="",this.animationDone.emit()}_handleClick(me,ct,_t){me.disabled||(this.selectedIndex=ct.focusIndex=_t)}_getTabIndex(me,ct){if(me.disabled)return null;return ct===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(me,ct){me&&"mouse"!==me&&"touch"!==me&&(this._tabHeader.focusIndex=ct)}}ue.\u0275fac=function(me){return new(me||ue)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(Re,8),t.Y36(t.QbO,8))},ue.\u0275dir=t.lG2({type:ue,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:[t.qOj]});class Ne extends ue{constructor(me,ct,_t,Lt){super(me,ct,_t,Lt),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!_t||null==_t.fitInkBarToContent)&&_t.fitInkBarToContent}get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(me){this._fitInkBarToContent=(0,re.Ig)(me),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(me){this._stretchTabs=(0,re.Ig)(me)}}Ne.\u0275fac=function(me){return new(me||Ne)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(Re,8),t.Y36(t.QbO,8))},Ne.\u0275cmp=t.Xpm({type:Ne,selectors:[["mat-tab-group"]],contentQueries:function(me,ct,_t){if(1&me&&t.Suo(_t,Ot,5),2&me){let Lt;t.iGM(Lt=t.CRH())&&(ct._allTabs=Lt)}},viewQuery:function(me,ct){if(1&me&&(t.Gf(N,5),t.Gf(Y,5)),2&me){let _t;t.iGM(_t=t.CRH())&&(ct._tabBodyWrapper=_t.first),t.iGM(_t=t.CRH())&&(ct._tabHeader=_t.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:6,hostBindings:function(me,ct){2&me&&t.ekj("mat-mdc-tab-group-dynamic-height",ct.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===ct.headerPosition)("mat-mdc-tab-group-stretch-tabs",ct.stretchTabs)},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[t._Bn([{provide:Be,useExisting:Ne}]),t.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(me,ct){1&me&&(t.TgZ(0,"mat-tab-header",0,1),t.NdJ("indexFocused",function(Lt){return ct._focusChanged(Lt)})("selectFocusedIndex",function(Lt){return ct.selectedIndex=Lt}),t.YNc(2,dt,9,17,"div",2),t.qZA(),t.TgZ(3,"div",3,4),t.YNc(5,Ke,1,11,"mat-tab-body",5),t.qZA()),2&me&&(t.Q6J("selectedIndex",ct.selectedIndex||0)("disableRipple",ct.disableRipple),t.xp6(2),t.Q6J("ngForOf",ct._tabs),t.xp6(1),t.ekj("_mat-animation-noopable","NoopAnimations"===ct._animationMode),t.xp6(2),t.Q6J("ngForOf",ct._tabs))},dependencies:[e.mk,e.sg,e.O5,O.Pl,_.wG,C.kH,Ue,bt,mi],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-top-width:2px}.mdc-tab-indicator .mdc-tab-indicator__content--icon{height:34px;font-size:34px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-tab.mdc-tab{height:48px;flex-grow:0}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none}.mat-mdc-tab .mdc-tab__text-label{display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background.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-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label,.mat-mdc-tab-group.mat-tabs-with-background.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-tabs-with-background>.mat-mdc-tab-header .mdc-tab-indicator__content--underline,.mat-mdc-tab-group.mat-tabs-with-background.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background.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-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background.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-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background.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});class wt{}let Et=0;class Nt extends Jt{constructor(me,ct,_t,Lt,Li,Ai,wi){super(me,Lt,Li,ct,_t,Ai,wi),this._disableRipple=!1,this.color="primary"}get backgroundColor(){return this._backgroundColor}set backgroundColor(me){const ct=this._elementRef.nativeElement.classList;ct.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),me&&ct.add("mat-tabs-with-background",`mat-background-${me}`),this._backgroundColor=me}get disableRipple(){return this._disableRipple}set disableRipple(me){this._disableRipple=(0,re.Ig)(me)}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe((0,Z.O)(null),(0,$.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const me=this._items.toArray();for(let ct=0;ct<me.length;ct++)if(me[ct].active)return this.selectedIndex=ct,this._changeDetectorRef.markForCheck(),void(this.tabPanel&&(this.tabPanel._activeTabId=me[ct].id));this.selectedIndex=-1,this._inkBar.hide()}_getRole(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")}}Nt.\u0275fac=function(me){return new(me||Nt)(t.Y36(t.SBq),t.Y36(u.Is,8),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(fe.rL),t.Y36(T.t4),t.Y36(t.QbO,8))},Nt.\u0275dir=t.lG2({type:Nt,inputs:{backgroundColor:"backgroundColor",disableRipple:"disableRipple",color:"color",tabPanel:"tabPanel"},features:[t.qOj]});const ot=(0,_.sb)((0,_.Kr)((0,_.Id)(class{})));class We extends ot{constructor(me,ct,_t,Lt,Li,Ai){super(),this._tabNavBar=me,this.elementRef=ct,this._focusMonitor=Li,this._isActive=!1,this.id="mat-tab-link-"+Et++,this.rippleConfig=_t||{},this.tabIndex=parseInt(Lt)||0,"NoopAnimations"===Ai&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get active(){return this._isActive}set active(me){const ct=(0,re.Ig)(me);ct!==this._isActive&&(this._isActive=ct,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(me){this._tabNavBar.tabPanel&&me.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}}We.\u0275fac=function(me){return new(me||We)(t.Y36(Nt),t.Y36(t.SBq),t.Y36(_.Y2,8),t.$8M("tabindex"),t.Y36(C.tE),t.Y36(t.QbO,8))},We.\u0275dir=t.lG2({type:We,inputs:{active:"active",id:"id"},features:[t.qOj]});const gt=Ve(We);class ri extends Nt{constructor(me,ct,_t,Lt,Li,Ai,wi,zi){super(me,ct,_t,Lt,Li,Ai,wi),this._fitInkBarToContent=new W.X(!1),this._stretchTabs=!0,this.disablePagination=!(!zi||null==zi.disablePagination)&&zi.disablePagination,this.fitInkBarToContent=!(!zi||null==zi.fitInkBarToContent)&&zi.fitInkBarToContent}get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(me){this._fitInkBarToContent.next((0,re.Ig)(me)),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(me){this._stretchTabs=(0,re.Ig)(me)}ngAfterContentInit(){this._inkBar=new ze(this._items),super.ngAfterContentInit()}ngAfterViewInit(){this.tabPanel}}ri.\u0275fac=function(me){return new(me||ri)(t.Y36(t.SBq),t.Y36(u.Is,8),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(fe.rL),t.Y36(T.t4),t.Y36(t.QbO,8),t.Y36(Re,8))},ri.\u0275cmp=t.Xpm({type:ri,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(me,ct,_t){if(1&me&&t.Suo(_t,Pt,5),2&me){let Lt;t.iGM(Lt=t.CRH())&&(ct._items=Lt)}},viewQuery:function(me,ct){if(1&me&&(t.Gf(R,7),t.Gf(g,7),t.Gf(r,7),t.Gf(w,5),t.Gf(V,5)),2&me){let _t;t.iGM(_t=t.CRH())&&(ct._tabListContainer=_t.first),t.iGM(_t=t.CRH())&&(ct._tabList=_t.first),t.iGM(_t=t.CRH())&&(ct._tabListInner=_t.first),t.iGM(_t=t.CRH())&&(ct._nextPaginator=_t.first),t.iGM(_t=t.CRH())&&(ct._previousPaginator=_t.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:15,hostBindings:function(me,ct){2&me&&(t.uIk("role",ct._getRole()),t.ekj("mat-mdc-tab-header-pagination-controls-enabled",ct._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==ct._getLayoutDirection())("mat-mdc-tab-nav-bar-stretch-tabs",ct.stretchTabs)("mat-primary","warn"!==ct.color&&"accent"!==ct.color)("mat-accent","accent"===ct.color)("mat-warn","warn"===ct.color)("_mat-animation-noopable","NoopAnimations"===ct._animationMode))},inputs:{color:"color",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabNavBar","matTabNav"],features:[t.qOj],attrs:["mat-tab-nav-bar",""],ngContentSelectors:I,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(me,ct){1&me&&(t.F$t(),t.TgZ(0,"button",0,1),t.NdJ("click",function(){return ct._handlePaginatorClick("before")})("mousedown",function(Lt){return ct._handlePaginatorPress("before",Lt)})("touchend",function(){return ct._stopInterval()}),t._UZ(2,"div",2),t.qZA(),t.TgZ(3,"div",3,4),t.NdJ("keydown",function(Lt){return ct._handleKeydown(Lt)}),t.TgZ(5,"div",5,6),t.NdJ("cdkObserveContent",function(){return ct._onContentChanges()}),t.TgZ(7,"div",7,8),t.Hsn(9),t.qZA()()(),t.TgZ(10,"button",9,10),t.NdJ("mousedown",function(Lt){return ct._handlePaginatorPress("after",Lt)})("click",function(){return ct._handlePaginatorClick("after")})("touchend",function(){return ct._stopInterval()}),t._UZ(12,"div",2),t.qZA()),2&me&&(t.ekj("mat-mdc-tab-header-pagination-disabled",ct._disableScrollBefore),t.Q6J("matRippleDisabled",ct._disableScrollBefore||ct.disableRipple)("disabled",ct._disableScrollBefore||null),t.xp6(10),t.ekj("mat-mdc-tab-header-pagination-disabled",ct._disableScrollAfter),t.Q6J("matRippleDisabled",ct._disableScrollAfter||ct.disableRipple)("disabled",ct._disableScrollAfter||null))},dependencies:[_.wG,l.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-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background.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-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-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-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline,.mat-mdc-tab-nav-bar.mat-tabs-with-background.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-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-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background.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-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background.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});class Pt extends gt{constructor(me,ct,_t,Lt,Li,Ai){super(me,ct,_t,Lt,Li,Ai),this._destroyed=new p.x,me._fitInkBarToContent.pipe((0,$.R)(this._destroyed)).subscribe(wi=>{this.fitInkBarToContent=wi})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy()}}Pt.\u0275fac=function(me){return new(me||Pt)(t.Y36(ri),t.Y36(t.SBq),t.Y36(_.Y2,8),t.$8M("tabindex"),t.Y36(C.tE),t.Y36(t.QbO,8))},Pt.\u0275cmp=t.Xpm({type:Pt,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(me,ct){1&me&&t.NdJ("focus",function(){return ct._handleFocus()})("keydown",function(Lt){return ct._handleKeydown(Lt)}),2&me&&(t.uIk("aria-controls",ct._getAriaControls())("aria-current",ct._getAriaCurrent())("aria-disabled",ct.disabled)("aria-selected",ct._getAriaSelected())("id",ct.id)("tabIndex",ct._getTabIndex())("role",ct._getRole()),t.ekj("mat-mdc-tab-disabled",ct.disabled)("mdc-tab--active",ct.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",active:"active",id:"id"},exportAs:["matTabLink"],features:[t.qOj],attrs:["mat-tab-link",""],ngContentSelectors:I,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(me,ct){1&me&&(t.F$t(),t._UZ(0,"span",0)(1,"div",1),t.TgZ(2,"span",2)(3,"span",3),t.Hsn(4),t.qZA()()),2&me&&(t.xp6(1),t.Q6J("matRippleTrigger",ct.elementRef.nativeElement)("matRippleDisabled",ct.rippleDisabled))},dependencies:[_.wG],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-tab-link.mdc-tab{height:48px;flex-grow:0}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none}.mat-mdc-tab-link .mdc-tab__text-label{display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12}.mat-mdc-tab-link.mat-mdc-tab-disabled{pointer-events:none;opacity:.4}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0});class Ft{constructor(){this.id="mat-tab-nav-panel-"+Et++}}Ft.\u0275fac=function(me){return new(me||Ft)},Ft.\u0275cmp=t.Xpm({type:Ft,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(me,ct){2&me&&t.uIk("aria-labelledby",ct._activeTabId)("id",ct.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:I,decls:1,vars:0,template:function(me,ct){1&me&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0});class qt{}qt.\u0275fac=function(me){return new(me||qt)},qt.\u0275mod=t.oAB({type:qt}),qt.\u0275inj=t.cJS({imports:[e.ez,_.BQ,O.eL,_.si,l.Q8,C.rt,_.BQ]})},2543:(Ye,J,f)=>{"use strict";f.d(J,{Ye:()=>p,g0:()=>D});var e=f(2560),t=f(207),_=f(9107),O=f(4666);const l=["*",[["mat-toolbar-row"]]],u=(0,t.pj)(class{constructor(k){this._elementRef=k}});class P{}P.\u0275fac=function(M){return new(M||P)},P.\u0275dir=e.lG2({type:P,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]});class p extends u{constructor(M,z,A){super(M),this._platform=z,this._document=A}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}}p.\u0275fac=function(M){return new(M||p)(e.Y36(e.SBq),e.Y36(_.t4),e.Y36(O.K0))},p.\u0275cmp=e.Xpm({type:p,selectors:[["mat-toolbar"]],contentQueries:function(M,z,A){if(1&M&&e.Suo(A,P,5),2&M){let W;e.iGM(W=e.CRH())&&(z._toolbarRows=W)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(M,z){2&M&&e.ekj("mat-toolbar-multiple-rows",z._toolbarRows.length>0)("mat-toolbar-single-row",0===z._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[e.qOj],ngContentSelectors:["*","mat-toolbar-row"],decls:2,vars:0,template:function(M,z){1&M&&(e.F$t(l),e.Hsn(0),e.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-mdc-button-base{--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});class D{}D.\u0275fac=function(M){return new(M||D)},D.\u0275mod=e.oAB({type:D}),D.\u0275inj=e.cJS({imports:[t.BQ,t.BQ]})},6896:(Ye,J,f)=>{"use strict";f.d(J,{AV:()=>w,gM:()=>I});var e=f(8951),t=f(9295),_=f(8971),O=f(8456),l=f(2560),C=f(4666),u=f(9107),P=f(4218),p=f(2867),L=f(5895),D=f(1494),k=f(7520),M=f(253),z=f(4851),A=f(207);const W=["tooltip"];const $=new l.OlP("mat-tooltip-scroll-strategy");const he={provide:$,deps:[L.aV],useFactory:function ae(V){return()=>V.scrollStrategies.reposition({scrollThrottle:20})}};const pe=new l.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function se(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),re="tooltip-panel",fe=(0,u.i$)({passive:!0});class x{constructor(N,Y,Pe,Ce,Xe,dt,Ke,ge,$e,Oe,Me,De){this._overlay=N,this._elementRef=Y,this._scrollDispatcher=Pe,this._viewContainerRef=Ce,this._ngZone=Xe,this._platform=dt,this._ariaDescriber=Ke,this._focusMonitor=ge,this._dir=Oe,this._defaultOptions=Me,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 M.x,this._scrollStrategy=$e,this._document=De,Me&&(Me.position&&(this.position=Me.position),Me.positionAtOrigin&&(this.positionAtOrigin=Me.positionAtOrigin),Me.touchGestures&&(this.touchGestures=Me.touchGestures)),Oe.change.pipe((0,e.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(N){N!==this._position&&(this._position=N,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(N){this._positionAtOrigin=(0,_.Ig)(N),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(N){this._disabled=(0,_.Ig)(N),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(N){this._showDelay=(0,_.su)(N)}get hideDelay(){return this._hideDelay}set hideDelay(N){this._hideDelay=(0,_.su)(N),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(N){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=N?String(N).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(N){this._tooltipClass=N,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,e.R)(this._destroyed)).subscribe(N=>{N?"keyboard"===N&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const N=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([Y,Pe])=>{N.removeEventListener(Y,Pe,fe)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(N,this.message,"tooltip"),this._focusMonitor.stopMonitoring(N)}show(N=this.showDelay,Y){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const Pe=this._createOverlay(Y);this._detach(),this._portal=this._portal||new k.C5(this._tooltipComponent,this._viewContainerRef);const Ce=this._tooltipInstance=Pe.attach(this._portal).instance;Ce._triggerElement=this._elementRef.nativeElement,Ce._mouseLeaveHideDelay=this._hideDelay,Ce.afterHidden().pipe((0,e.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),Ce.show(N)}hide(N=this.hideDelay){const Y=this._tooltipInstance;Y&&(Y.isVisible()?Y.hide(N):(Y._cancelPendingAnimations(),this._detach()))}toggle(N){this._isTooltipVisible()?this.hide():this.show(void 0,N)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(N){if(this._overlayRef){const Ce=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!N)&&Ce._origin instanceof l.SBq)return this._overlayRef;this._detach()}const Y=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),Pe=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&N||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(Y);return Pe.positionChanges.pipe((0,e.R)(this._destroyed)).subscribe(Ce=>{this._updateCurrentPositionClass(Ce.connectionPair),this._tooltipInstance&&Ce.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:Pe,panelClass:`${this._cssClassPrefix}-${re}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,e.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,e.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,e.R)(this._destroyed)).subscribe(Ce=>{this._isTooltipVisible()&&Ce.keyCode===O.hY&&!(0,O.Vb)(Ce)&&(Ce.preventDefault(),Ce.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(N){const Y=N.getConfig().positionStrategy,Pe=this._getOrigin(),Ce=this._getOverlayPosition();Y.withPositions([this._addOffset({...Pe.main,...Ce.main}),this._addOffset({...Pe.fallback,...Ce.fallback})])}_addOffset(N){return N}_getOrigin(){const N=!this._dir||"ltr"==this._dir.value,Y=this.position;let Pe;"above"==Y||"below"==Y?Pe={originX:"center",originY:"above"==Y?"top":"bottom"}:"before"==Y||"left"==Y&&N||"right"==Y&&!N?Pe={originX:"start",originY:"center"}:("after"==Y||"right"==Y&&N||"left"==Y&&!N)&&(Pe={originX:"end",originY:"center"});const{x:Ce,y:Xe}=this._invertPosition(Pe.originX,Pe.originY);return{main:Pe,fallback:{originX:Ce,originY:Xe}}}_getOverlayPosition(){const N=!this._dir||"ltr"==this._dir.value,Y=this.position;let Pe;"above"==Y?Pe={overlayX:"center",overlayY:"bottom"}:"below"==Y?Pe={overlayX:"center",overlayY:"top"}:"before"==Y||"left"==Y&&N||"right"==Y&&!N?Pe={overlayX:"end",overlayY:"center"}:("after"==Y||"right"==Y&&N||"left"==Y&&!N)&&(Pe={overlayX:"start",overlayY:"center"});const{x:Ce,y:Xe}=this._invertPosition(Pe.overlayX,Pe.overlayY);return{main:Pe,fallback:{overlayX:Ce,overlayY:Xe}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,t.q)(1),(0,e.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(N){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=N,this._tooltipInstance._markForCheck())}_invertPosition(N,Y){return"above"===this.position||"below"===this.position?"top"===Y?Y="bottom":"bottom"===Y&&(Y="top"):"end"===N?N="start":"start"===N&&(N="end"),{x:N,y:Y}}_updateCurrentPositionClass(N){const{overlayY:Y,originX:Pe,originY:Ce}=N;let Xe;if(Xe="center"===Y?this._dir&&"rtl"===this._dir.value?"end"===Pe?"left":"right":"start"===Pe?"left":"right":"bottom"===Y&&"top"===Ce?"above":"below",Xe!==this._currentPosition){const dt=this._overlayRef;if(dt){const Ke=`${this._cssClassPrefix}-${re}-`;dt.removePanelClass(Ke+this._currentPosition),dt.addPanelClass(Ke+Xe)}this._currentPosition=Xe}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",N=>{let Y;this._setupPointerExitEventsIfNeeded(),void 0!==N.x&&void 0!==N.y&&(Y=N),this.show(void 0,Y)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",N=>{const Y=N.targetTouches?.[0],Pe=Y?{x:Y.clientX,y:Y.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,Pe),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const N=[];if(this._platformSupportsMouseEvents())N.push(["mouseleave",Y=>{const Pe=Y.relatedTarget;(!Pe||!this._overlayRef?.overlayElement.contains(Pe))&&this.hide()}],["wheel",Y=>this._wheelListener(Y)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const Y=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};N.push(["touchend",Y],["touchcancel",Y])}this._addListeners(N),this._passiveListeners.push(...N)}_addListeners(N){N.forEach(([Y,Pe])=>{this._elementRef.nativeElement.addEventListener(Y,Pe,fe)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(N){if(this._isTooltipVisible()){const Y=this._document.elementFromPoint(N.clientX,N.clientY),Pe=this._elementRef.nativeElement;Y!==Pe&&!Pe.contains(Y)&&this.hide()}}_disableNativeGesturesIfNecessary(){const N=this.touchGestures;if("off"!==N){const Y=this._elementRef.nativeElement,Pe=Y.style;("on"===N||"INPUT"!==Y.nodeName&&"TEXTAREA"!==Y.nodeName)&&(Pe.userSelect=Pe.msUserSelect=Pe.webkitUserSelect=Pe.MozUserSelect="none"),("on"===N||!Y.draggable)&&(Pe.webkitUserDrag="none"),Pe.touchAction="none",Pe.webkitTapHighlightColor="transparent"}}}x.\u0275fac=function(N){l.$Z()},x.\u0275dir=l.lG2({type:x,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"]}});class I extends x{constructor(N,Y,Pe,Ce,Xe,dt,Ke,ge,$e,Oe,Me,De){super(N,Y,Pe,Ce,Xe,dt,Ke,ge,$e,Oe,Me,De),this._tooltipComponent=g,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(N){const Pe=!this._dir||"ltr"==this._dir.value;return"top"===N.originY?N.offsetY=-8:"bottom"===N.originY?N.offsetY=8:"start"===N.originX?N.offsetX=Pe?-8:8:"end"===N.originX&&(N.offsetX=Pe?8:-8),N}}I.\u0275fac=function(N){return new(N||I)(l.Y36(L.aV),l.Y36(l.SBq),l.Y36(D.mF),l.Y36(l.s_b),l.Y36(l.R0b),l.Y36(u.t4),l.Y36(P.$s),l.Y36(P.tE),l.Y36($),l.Y36(p.Is,8),l.Y36(pe,8),l.Y36(C.K0))},I.\u0275dir=l.lG2({type:I,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],exportAs:["matTooltip"],features:[l.qOj]});class R{constructor(N,Y){this._changeDetectorRef=N,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new M.x,this._animationsDisabled="NoopAnimations"===Y}show(N){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},N)}hide(N){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},N)}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:N}){(!N||!this._triggerElement.contains(N))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:N}){(N===this._showAnimation||N===this._hideAnimation)&&this._finalizeAnimation(N===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(N){N?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(N){const Y=this._tooltip.nativeElement,Pe=this._showAnimation,Ce=this._hideAnimation;if(Y.classList.remove(N?Ce:Pe),Y.classList.add(N?Pe:Ce),this._isVisible=N,N&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const Xe=getComputedStyle(Y);("0s"===Xe.getPropertyValue("animation-duration")||"none"===Xe.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}N&&this._onShow(),this._animationsDisabled&&(Y.classList.add("_mat-animation-noopable"),this._finalizeAnimation(N))}}R.\u0275fac=function(N){return new(N||R)(l.Y36(l.sBO),l.Y36(l.QbO,8))},R.\u0275dir=l.lG2({type:R});class g extends R{constructor(N,Y,Pe){super(N,Pe),this._elementRef=Y,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const N=this._elementRef.nativeElement.getBoundingClientRect();return N.height>24&&N.width>=200}}g.\u0275fac=function(N){return new(N||g)(l.Y36(l.sBO),l.Y36(l.SBq),l.Y36(l.QbO,8))},g.\u0275cmp=l.Xpm({type:g,selectors:[["mat-tooltip-component"]],viewQuery:function(N,Y){if(1&N&&l.Gf(W,7),2&N){let Pe;l.iGM(Pe=l.CRH())&&(Y._tooltip=Pe.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(N,Y){1&N&&l.NdJ("mouseleave",function(Ce){return Y._handleMouseLeave(Ce)}),2&N&&l.Udp("zoom",Y.isVisible()?1:null)},features:[l.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(N,Y){1&N&&(l.TgZ(0,"div",0,1),l.NdJ("animationend",function(Ce){return Y._handleAnimationEnd(Ce)}),l.TgZ(2,"div",2),l._uU(3),l.qZA()()),2&N&&(l.ekj("mdc-tooltip--multiline",Y._isMultiline),l.Q6J("ngClass",Y.tooltipClass),l.xp6(3),l.Oqu(Y.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});(0,z.X$)("state",[(0,z.SB)("initial, void, hidden",(0,z.oB)({opacity:0,transform:"scale(0.8)"})),(0,z.SB)("visible",(0,z.oB)({transform:"scale(1)"})),(0,z.eR)("* => visible",(0,z.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,z.eR)("* => hidden",(0,z.jt)("75ms cubic-bezier(0.4, 0, 1, 1)"))]);class w{}w.\u0275fac=function(N){return new(N||w)},w.\u0275mod=l.oAB({type:w}),w.\u0275inj=l.cJS({providers:[he],imports:[P.rt,C.ez,L.U8,A.BQ,A.BQ,D.ZD]})},3453:(Ye,J,f)=>{"use strict";f.d(J,{Ar:()=>z,GZ:()=>k,WX:()=>he,dp:()=>X,eu:()=>W,fQ:()=>D,gi:()=>A,uo:()=>L});var e=f(5183),t=f(2560),_=f(207),O=f(8971),l=f(1755),C=f(6317),u=f(6646),P=f(635);const p=(0,_.sb)((0,_.Id)(e.Hs));class L extends p{constructor(pe,le,re){super(pe,le),this.tabIndex=Number(re)||0}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}}L.\u0275fac=function(pe){return new(pe||L)(t.Y36(t.SBq),t.Y36(e._0),t.$8M("tabindex"))},L.\u0275dir=t.lG2({type:L,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["matTreeNode"],features:[t._Bn([{provide:e.Hs,useExisting:L}]),t.qOj]});class D extends e.rO{}D.\u0275fac=function(){let se;return function(le){return(se||(se=t.n5z(D)))(le||D)}}(),D.\u0275dir=t.lG2({type:D,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[t._Bn([{provide:e.rO,useExisting:D}]),t.qOj]});class k extends e.Xx{constructor(pe,le,re,fe){super(pe,le,re),this._disabled=!1,this.tabIndex=Number(fe)||0}get disabled(){return this._disabled}set disabled(pe){this._disabled=(0,O.Ig)(pe)}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(pe){this._tabIndex=pe??0}ngOnInit(){super.ngOnInit()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}}k.\u0275fac=function(pe){return new(pe||k)(t.Y36(t.SBq),t.Y36(e._0),t.Y36(t.ZZ4),t.$8M("tabindex"))},k.\u0275dir=t.lG2({type:k,selectors:[["mat-nested-tree-node"]],hostAttrs:[1,"mat-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex",node:["matNestedTreeNode","node"]},exportAs:["matNestedTreeNode"],features:[t._Bn([{provide:e.Xx,useExisting:k},{provide:e.Hs,useExisting:k},{provide:e.HI,useExisting:k}]),t.qOj]});class M extends e.XJ{get level(){return this._level}set level(pe){this._setLevelInput(pe)}get indent(){return this._indent}set indent(pe){this._setIndentInput(pe)}}M.\u0275fac=function(){let se;return function(le){return(se||(se=t.n5z(M)))(le||M)}}(),M.\u0275dir=t.lG2({type:M,selectors:[["","matTreeNodePadding",""]],inputs:{level:["matTreeNodePadding","level"],indent:["matTreeNodePaddingIndent","indent"]},features:[t._Bn([{provide:e.XJ,useExisting:M}]),t.qOj]});class z{constructor(pe,le){this.viewContainer=pe,this._node=le}}z.\u0275fac=function(pe){return new(pe||z)(t.Y36(t.s_b),t.Y36(e.HI,8))},z.\u0275dir=t.lG2({type:z,selectors:[["","matTreeNodeOutlet",""]],features:[t._Bn([{provide:e.cu,useExisting:z}])]});class A extends e._0{}A.\u0275fac=function(){let se;return function(le){return(se||(se=t.n5z(A)))(le||A)}}(),A.\u0275cmp=t.Xpm({type:A,selectors:[["mat-tree"]],viewQuery:function(pe,le){if(1&pe&&t.Gf(z,7),2&pe){let re;t.iGM(re=t.CRH())&&(le._nodeOutlet=re.first)}},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],features:[t._Bn([{provide:e._0,useExisting:A}]),t.qOj],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(pe,le){1&pe&&t.GkF(0,0)},dependencies:[z],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});class W extends e.Ud{}W.\u0275fac=function(){let se;return function(le){return(se||(se=t.n5z(W)))(le||W)}}(),W.\u0275dir=t.lG2({type:W,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[t._Bn([{provide:e.Ud,useExisting:W}]),t.qOj]});class X{}X.\u0275fac=function(pe){return new(pe||X)},X.\u0275mod=t.oAB({type:X}),X.\u0275inj=t.cJS({imports:[e.nZ,_.BQ,_.BQ]});class he extends l.o2{constructor(){super(...arguments),this._data=new C.X([])}get data(){return this._data.value}set data(pe){this._data.next(pe)}connect(pe){return(0,u.T)(pe.viewChange,this._data).pipe((0,P.U)(()=>this.data))}disconnect(){}}},4497:(Ye,J,f)=>{"use strict";f.d(J,{Dx:()=>oe,H7:()=>gt,b2:()=>ne,q6:()=>ye,se:()=>h,t6:()=>We});var e=f(4666),t=f(2560);class _ extends e.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class O extends _{static makeCurrent(){(0,e.HT)(new O)}onAndCancel(Te,me,ct){return Te.addEventListener(me,ct,!1),()=>{Te.removeEventListener(me,ct,!1)}}dispatchEvent(Te,me){Te.dispatchEvent(me)}remove(Te){Te.parentNode&&Te.parentNode.removeChild(Te)}createElement(Te,me){return(me=me||this.getDefaultDocument()).createElement(Te)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Te){return Te.nodeType===Node.ELEMENT_NODE}isShadowRoot(Te){return Te instanceof DocumentFragment}getGlobalEventTarget(Te,me){return"window"===me?window:"document"===me?Te:"body"===me?Te.body:null}getBaseHref(Te){const me=function C(){return l=l||document.querySelector("base"),l?l.getAttribute("href"):null}();return null==me?null:function P(qt){u=u||document.createElement("a"),u.setAttribute("href",qt);const Te=u.pathname;return"/"===Te.charAt(0)?Te:`/${Te}`}(me)}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}getCookie(Te){return(0,e.Mx)(document.cookie,Te)}}let u,l=null;const p=new t.OlP("TRANSITION_ID");const D=[{provide:t.ip1,useFactory:function L(qt,Te,me){return()=>{me.get(t.CZH).donePromise.then(()=>{const ct=(0,e.q)(),_t=Te.querySelectorAll(`style[ng-transition="${qt}"]`);for(let Lt=0;Lt<_t.length;Lt++)ct.remove(_t[Lt])})}},deps:[p,e.K0,t.zs3],multi:!0}];class M{build(){return new XMLHttpRequest}}M.\u0275fac=function(Te){return new(Te||M)},M.\u0275prov=t.Yz7({token:M,factory:M.\u0275fac});const z=new t.OlP("EventManagerPlugins");class A{constructor(Te,me){this._zone=me,this._eventNameToPlugin=new Map,Te.forEach(ct=>ct.manager=this),this._plugins=Te.slice().reverse()}addEventListener(Te,me,ct){return this._findPluginFor(me).addEventListener(Te,me,ct)}addGlobalEventListener(Te,me,ct){return this._findPluginFor(me).addGlobalEventListener(Te,me,ct)}getZone(){return this._zone}_findPluginFor(Te){const me=this._eventNameToPlugin.get(Te);if(me)return me;const ct=this._plugins;for(let _t=0;_t<ct.length;_t++){const Lt=ct[_t];if(Lt.supports(Te))return this._eventNameToPlugin.set(Te,Lt),Lt}throw new Error(`No event manager plugin found for event ${Te}`)}}A.\u0275fac=function(Te){return new(Te||A)(t.LFG(z),t.LFG(t.R0b))},A.\u0275prov=t.Yz7({token:A,factory:A.\u0275fac});class W{constructor(Te){this._doc=Te}addGlobalEventListener(Te,me,ct){const _t=(0,e.q)().getGlobalEventTarget(this._doc,Te);if(!_t)throw new Error(`Unsupported event target ${_t} for event ${me}`);return this.addEventListener(_t,me,ct)}}class Z{constructor(){this._stylesSet=new Set}addStyles(Te){const me=new Set;Te.forEach(ct=>{this._stylesSet.has(ct)||(this._stylesSet.add(ct),me.add(ct))}),this.onStylesAdded(me)}onStylesAdded(Te){}getAllStyles(){return Array.from(this._stylesSet)}}Z.\u0275fac=function(Te){return new(Te||Z)},Z.\u0275prov=t.Yz7({token:Z,factory:Z.\u0275fac});class X extends Z{constructor(Te){super(),this._doc=Te,this._hostNodes=new Map,this._hostNodes.set(Te.head,[])}_addStylesToHost(Te,me,ct){Te.forEach(_t=>{const Lt=this._doc.createElement("style");Lt.textContent=_t,ct.push(me.appendChild(Lt))})}addHost(Te){const me=[];this._addStylesToHost(this._stylesSet,Te,me),this._hostNodes.set(Te,me)}removeHost(Te){const me=this._hostNodes.get(Te);me&&me.forEach($),this._hostNodes.delete(Te)}onStylesAdded(Te){this._hostNodes.forEach((me,ct)=>{this._addStylesToHost(Te,ct,me)})}ngOnDestroy(){this._hostNodes.forEach(Te=>Te.forEach($))}}function $(qt){(0,e.q)().remove(qt)}X.\u0275fac=function(Te){return new(Te||X)(t.LFG(e.K0))},X.\u0275prov=t.Yz7({token:X,factory:X.\u0275fac});const ae={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/"},he=/%COMP%/g,le="_nghost-%COMP%",re="_ngcontent-%COMP%";function i(qt,Te){return Te.flat(100).map(me=>me.replace(he,qt))}function o(qt){return Te=>{if("__ngUnwrap__"===Te)return qt;!1===qt(Te)&&(Te.preventDefault(),Te.returnValue=!1)}}class h{constructor(Te,me,ct){this.eventManager=Te,this.sharedStylesHost=me,this.appId=ct,this.rendererByCompId=new Map,this.defaultRenderer=new x(Te)}createRenderer(Te,me){if(!Te||!me)return this.defaultRenderer;switch(me.encapsulation){case t.ifc.Emulated:{let ct=this.rendererByCompId.get(me.id);return ct||(ct=new r(this.eventManager,this.sharedStylesHost,me,this.appId),this.rendererByCompId.set(me.id,ct)),ct.applyToHost(Te),ct}case 1:case t.ifc.ShadowDom:return new w(this.eventManager,this.sharedStylesHost,Te,me);default:if(!this.rendererByCompId.has(me.id)){const ct=i(me.id,me.styles);this.sharedStylesHost.addStyles(ct),this.rendererByCompId.set(me.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}h.\u0275fac=function(Te){return new(Te||h)(t.LFG(A),t.LFG(X),t.LFG(t.AFp))},h.\u0275prov=t.Yz7({token:h,factory:h.\u0275fac});class x{constructor(Te){this.eventManager=Te,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Te,me){return me?document.createElementNS(ae[me]||me,Te):document.createElement(Te)}createComment(Te){return document.createComment(Te)}createText(Te){return document.createTextNode(Te)}appendChild(Te,me){(g(Te)?Te.content:Te).appendChild(me)}insertBefore(Te,me,ct){Te&&(g(Te)?Te.content:Te).insertBefore(me,ct)}removeChild(Te,me){Te&&Te.removeChild(me)}selectRootElement(Te,me){let ct="string"==typeof Te?document.querySelector(Te):Te;if(!ct)throw new Error(`The selector "${Te}" did not match any elements`);return me||(ct.textContent=""),ct}parentNode(Te){return Te.parentNode}nextSibling(Te){return Te.nextSibling}setAttribute(Te,me,ct,_t){if(_t){me=_t+":"+me;const Lt=ae[_t];Lt?Te.setAttributeNS(Lt,me,ct):Te.setAttribute(me,ct)}else Te.setAttribute(me,ct)}removeAttribute(Te,me,ct){if(ct){const _t=ae[ct];_t?Te.removeAttributeNS(_t,me):Te.removeAttribute(`${ct}:${me}`)}else Te.removeAttribute(me)}addClass(Te,me){Te.classList.add(me)}removeClass(Te,me){Te.classList.remove(me)}setStyle(Te,me,ct,_t){_t&(t.JOm.DashCase|t.JOm.Important)?Te.style.setProperty(me,ct,_t&t.JOm.Important?"important":""):Te.style[me]=ct}removeStyle(Te,me,ct){ct&t.JOm.DashCase?Te.style.removeProperty(me):Te.style[me]=""}setProperty(Te,me,ct){Te[me]=ct}setValue(Te,me){Te.nodeValue=me}listen(Te,me,ct){return"string"==typeof Te?this.eventManager.addGlobalEventListener(Te,me,o(ct)):this.eventManager.addEventListener(Te,me,o(ct))}}"@".charCodeAt(0);function g(qt){return"TEMPLATE"===qt.tagName&&void 0!==qt.content}class r extends x{constructor(Te,me,ct,_t){super(Te),this.component=ct;const Lt=i(_t+"-"+ct.id,ct.styles);me.addStyles(Lt),this.contentAttr=function fe(qt){return re.replace(he,qt)}(_t+"-"+ct.id),this.hostAttr=function T(qt){return le.replace(he,qt)}(_t+"-"+ct.id)}applyToHost(Te){super.setAttribute(Te,this.hostAttr,"")}createElement(Te,me){const ct=super.createElement(Te,me);return super.setAttribute(ct,this.contentAttr,""),ct}}class w extends x{constructor(Te,me,ct,_t){super(Te),this.sharedStylesHost=me,this.hostEl=ct,this.shadowRoot=ct.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Lt=i(_t.id,_t.styles);for(let Li=0;Li<Lt.length;Li++){const Ai=document.createElement("style");Ai.textContent=Lt[Li],this.shadowRoot.appendChild(Ai)}}nodeOrShadowRoot(Te){return Te===this.hostEl?this.shadowRoot:Te}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(Te,me){return super.appendChild(this.nodeOrShadowRoot(Te),me)}insertBefore(Te,me,ct){return super.insertBefore(this.nodeOrShadowRoot(Te),me,ct)}removeChild(Te,me){return super.removeChild(this.nodeOrShadowRoot(Te),me)}parentNode(Te){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Te)))}}class V extends W{constructor(Te){super(Te)}supports(Te){return!0}addEventListener(Te,me,ct){return Te.addEventListener(me,ct,!1),()=>this.removeEventListener(Te,me,ct)}removeEventListener(Te,me,ct){return Te.removeEventListener(me,ct)}}V.\u0275fac=function(Te){return new(Te||V)(t.LFG(e.K0))},V.\u0275prov=t.Yz7({token:V,factory:V.\u0275fac});const N=["alt","control","meta","shift"],Y={"\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"},Pe={alt:qt=>qt.altKey,control:qt=>qt.ctrlKey,meta:qt=>qt.metaKey,shift:qt=>qt.shiftKey};class Ce extends W{constructor(Te){super(Te)}supports(Te){return null!=Ce.parseEventName(Te)}addEventListener(Te,me,ct){const _t=Ce.parseEventName(me),Lt=Ce.eventCallback(_t.fullKey,ct,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,e.q)().onAndCancel(Te,_t.domEventName,Lt))}static parseEventName(Te){const me=Te.toLowerCase().split("."),ct=me.shift();if(0===me.length||"keydown"!==ct&&"keyup"!==ct)return null;const _t=Ce._normalizeKey(me.pop());let Lt="",Li=me.indexOf("code");if(Li>-1&&(me.splice(Li,1),Lt="code."),N.forEach(wi=>{const zi=me.indexOf(wi);zi>-1&&(me.splice(zi,1),Lt+=wi+".")}),Lt+=_t,0!=me.length||0===_t.length)return null;const Ai={};return Ai.domEventName=ct,Ai.fullKey=Lt,Ai}static matchEventFullKeyCode(Te,me){let ct=Y[Te.key]||Te.key,_t="";return me.indexOf("code.")>-1&&(ct=Te.code,_t="code."),!(null==ct||!ct)&&(ct=ct.toLowerCase()," "===ct?ct="space":"."===ct&&(ct="dot"),N.forEach(Lt=>{if(Lt!==ct){(0,Pe[Lt])(Te)&&(_t+=Lt+".")}}),_t+=ct,_t===me)}static eventCallback(Te,me,ct){return _t=>{Ce.matchEventFullKeyCode(_t,Te)&&ct.runGuarded(()=>me(_t))}}static _normalizeKey(Te){return"esc"===Te?"escape":Te}}Ce.\u0275fac=function(Te){return new(Te||Ce)(t.LFG(e.K0))},Ce.\u0275prov=t.Yz7({token:Ce,factory:Ce.\u0275fac});const Ue=[{provide:t.Lbi,useValue:e.bD},{provide:t.g9A,useValue:function Oe(){O.makeCurrent()},multi:!0},{provide:e.K0,useFactory:function De(){return(0,t.RDi)(document),document},deps:[]}],ye=(0,t.eFA)(t._c5,"browser",Ue),we=new t.OlP(""),ie=[{provide:t.rWj,useClass:class k{addToWindow(Te){t.dqk.getAngularTestability=(ct,_t=!0)=>{const Lt=Te.findTestabilityInTree(ct,_t);if(null==Lt)throw new Error("Could not find testability for element.");return Lt},t.dqk.getAllAngularTestabilities=()=>Te.getAllTestabilities(),t.dqk.getAllAngularRootElements=()=>Te.getAllRootElements();t.dqk.frameworkStabilizers||(t.dqk.frameworkStabilizers=[]),t.dqk.frameworkStabilizers.push(ct=>{const _t=t.dqk.getAllAngularTestabilities();let Lt=_t.length,Li=!1;const Ai=function(wi){Li=Li||wi,Lt--,0==Lt&&ct(Li)};_t.forEach(function(wi){wi.whenStable(Ai)})})}findTestabilityInTree(Te,me,ct){if(null==me)return null;return Te.getTestability(me)??(ct?(0,e.q)().isShadowRoot(me)?this.findTestabilityInTree(Te,me.host,!0):this.findTestabilityInTree(Te,me.parentElement,!0):null)}},deps:[]},{provide:t.lri,useClass:t.dDg,deps:[t.R0b,t.eoX,t.rWj]},{provide:t.dDg,useClass:t.dDg,deps:[t.R0b,t.eoX,t.rWj]}],Se=[{provide:t.zSh,useValue:"root"},{provide:t.qLn,useFactory:function Me(){return new t.qLn},deps:[]},{provide:z,useClass:V,multi:!0,deps:[e.K0,t.R0b,t.Lbi]},{provide:z,useClass:Ce,multi:!0,deps:[e.K0]},{provide:h,useClass:h,deps:[A,X,t.AFp]},{provide:t.FYo,useExisting:h},{provide:Z,useExisting:X},{provide:X,useClass:X,deps:[e.K0]},{provide:A,useClass:A,deps:[z,t.R0b]},{provide:e.JF,useClass:M,deps:[]},[]];class ne{constructor(Te){false}static withServerTransition(Te){return{ngModule:ne,providers:[{provide:t.AFp,useValue:Te.appId},{provide:p,useExisting:t.AFp},D]}}}ne.\u0275fac=function(Te){return new(Te||ne)(t.LFG(we,12))},ne.\u0275mod=t.oAB({type:ne}),ne.\u0275inj=t.cJS({providers:[...Se,...ie],imports:[e.ez,t.hGG]});class ee{constructor(Te){this._doc=Te,this._dom=(0,e.q)()}addTag(Te,me=!1){return Te?this._getOrCreateElement(Te,me):null}addTags(Te,me=!1){return Te?Te.reduce((ct,_t)=>(_t&&ct.push(this._getOrCreateElement(_t,me)),ct),[]):[]}getTag(Te){return Te&&this._doc.querySelector(`meta[${Te}]`)||null}getTags(Te){if(!Te)return[];const me=this._doc.querySelectorAll(`meta[${Te}]`);return me?[].slice.call(me):[]}updateTag(Te,me){if(!Te)return null;me=me||this._parseSelector(Te);const ct=this.getTag(me);return ct?this._setMetaElementAttributes(Te,ct):this._getOrCreateElement(Te,!0)}removeTag(Te){this.removeTagElement(this.getTag(Te))}removeTagElement(Te){Te&&this._dom.remove(Te)}_getOrCreateElement(Te,me=!1){if(!me){const Lt=this._parseSelector(Te),Li=this.getTags(Lt).filter(Ai=>this._containsAttributes(Te,Ai))[0];if(void 0!==Li)return Li}const ct=this._dom.createElement("meta");return this._setMetaElementAttributes(Te,ct),this._doc.getElementsByTagName("head")[0].appendChild(ct),ct}_setMetaElementAttributes(Te,me){return Object.keys(Te).forEach(ct=>me.setAttribute(this._getMetaKeyMap(ct),Te[ct])),me}_parseSelector(Te){const me=Te.name?"name":"property";return`${me}="${Te[me]}"`}_containsAttributes(Te,me){return Object.keys(Te).every(ct=>me.getAttribute(this._getMetaKeyMap(ct))===Te[ct])}_getMetaKeyMap(Te){return ze[Te]||Te}}ee.\u0275fac=function(Te){return new(Te||ee)(t.LFG(e.K0))},ee.\u0275prov=t.Yz7({token:ee,factory:function(Te){let me=null;return me=Te?new Te:function K(){return new ee((0,t.LFG)(e.K0))}(),me},providedIn:"root"});const ze={httpEquiv:"http-equiv"};class oe{constructor(Te){this._doc=Te}getTitle(){return this._doc.title}setTitle(Te){this._doc.title=Te||""}}oe.\u0275fac=function(Te){return new(Te||oe)(t.LFG(e.K0))},oe.\u0275prov=t.Yz7({token:oe,factory:function(Te){let me=null;return me=Te?new Te:function Ve(){return new oe((0,t.LFG)(e.K0))}(),me},providedIn:"root"});typeof window<"u"&&window;class mi{constructor(){this.store={},this.onSerializeCallbacks={}}get(Te,me){return void 0!==this.store[Te]?this.store[Te]:me}set(Te,me){this.store[Te]=me}remove(Te){delete this.store[Te]}hasKey(Te){return this.store.hasOwnProperty(Te)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(Te,me){this.onSerializeCallbacks[Te]=me}toJson(){for(const Te in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(Te))try{this.store[Te]=this.onSerializeCallbacks[Te]()}catch(me){console.warn("Exception in onSerialize callback: ",me)}return JSON.stringify(this.store)}}mi.\u0275fac=function(Te){return new(Te||mi)},mi.\u0275prov=t.Yz7({token:mi,factory:function(){return(()=>{const qt=(0,t.f3M)(e.K0),Te=(0,t.f3M)(t.AFp),me=new mi;return me.store=function Re(qt,Te){const me=qt.getElementById(Te+"-state");let ct={};if(me&&me.textContent)try{ct=JSON.parse(function Jt(qt){const Te={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return qt.replace(/&[^;]+;/g,me=>Te[me])}(me.textContent))}catch(_t){console.warn("Exception while restoring TransferState for app "+Te,_t)}return ct}(qt,Te),me})()},providedIn:"root"});class U{}U.\u0275fac=function(Te){return new(Te||U)},U.\u0275mod=t.oAB({type:U}),U.\u0275inj=t.cJS({});const Ne={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},wt=new t.OlP("HammerGestureConfig"),Et=new t.OlP("HammerLoader");class Nt{constructor(){this.events=[],this.overrides={}}buildHammer(Te){const me=new Hammer(Te,this.options);me.get("pinch").set({enable:!0}),me.get("rotate").set({enable:!0});for(const ct in this.overrides)me.get(ct).set(this.overrides[ct]);return me}}Nt.\u0275fac=function(Te){return new(Te||Nt)},Nt.\u0275prov=t.Yz7({token:Nt,factory:Nt.\u0275fac});class ot extends W{constructor(Te,me,ct,_t){super(Te),this._config=me,this.console=ct,this.loader=_t,this._loaderPromise=null}supports(Te){return!(!Ne.hasOwnProperty(Te.toLowerCase())&&!this.isCustomEvent(Te)||!window.Hammer&&!this.loader)}addEventListener(Te,me,ct){const _t=this.manager.getZone();if(me=me.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||_t.runOutsideAngular(()=>this.loader());let Lt=!1,Li=()=>{Lt=!0};return _t.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?Lt||(Li=this.addEventListener(Te,me,ct)):Li=()=>{}}).catch(()=>{Li=()=>{}})),()=>{Li()}}return _t.runOutsideAngular(()=>{const Lt=this._config.buildHammer(Te),Li=function(Ai){_t.runGuarded(function(){ct(Ai)})};return Lt.on(me,Li),()=>{Lt.off(me,Li),"function"==typeof Lt.destroy&&Lt.destroy()}})}isCustomEvent(Te){return this._config.events.indexOf(Te)>-1}}ot.\u0275fac=function(Te){return new(Te||ot)(t.LFG(e.K0),t.LFG(wt),t.LFG(t.c2e),t.LFG(Et,8))},ot.\u0275prov=t.Yz7({token:ot,factory:ot.\u0275fac});class We{}We.\u0275fac=function(Te){return new(Te||We)},We.\u0275mod=t.oAB({type:We}),We.\u0275inj=t.cJS({providers:[{provide:z,useClass:ot,multi:!0,deps:[e.K0,wt,t.c2e,[new t.FiY,Et]]},{provide:wt,useClass:Nt,deps:[]}]});class gt{}gt.\u0275fac=function(Te){return new(Te||gt)},gt.\u0275prov=t.Yz7({token:gt,factory:function(Te){let me=null;return me=Te?new(Te||gt):t.LFG(Pt),me},providedIn:"root"});class Pt extends gt{constructor(Te){super(),this._doc=Te}sanitize(Te,me){if(null==me)return null;switch(Te){case t.q3G.NONE:return me;case t.q3G.HTML:return(0,t.qzn)(me,"HTML")?(0,t.z3N)(me):(0,t.EiD)(this._doc,String(me)).toString();case t.q3G.STYLE:return(0,t.qzn)(me,"Style")?(0,t.z3N)(me):me;case t.q3G.SCRIPT:if((0,t.qzn)(me,"Script"))return(0,t.z3N)(me);throw new Error("unsafe value used in a script context");case t.q3G.URL:return(0,t.qzn)(me,"URL")?(0,t.z3N)(me):(0,t.mCW)(String(me));case t.q3G.RESOURCE_URL:if((0,t.qzn)(me,"ResourceURL"))return(0,t.z3N)(me);throw new Error(`unsafe value used in a resource URL context (see ${t.JZr})`);default:throw new Error(`Unexpected SecurityContext ${Te} (see ${t.JZr})`)}}bypassSecurityTrustHtml(Te){return(0,t.JVY)(Te)}bypassSecurityTrustStyle(Te){return(0,t.L6k)(Te)}bypassSecurityTrustScript(Te){return(0,t.eBb)(Te)}bypassSecurityTrustUrl(Te){return(0,t.LAX)(Te)}bypassSecurityTrustResourceUrl(Te){return(0,t.pB0)(Te)}}Pt.\u0275fac=function(Te){return new(Te||Pt)(t.LFG(e.K0))},Pt.\u0275prov=t.Yz7({token:Pt,factory:function(Te){let me=null;return me=Te?new Te:function ri(qt){return new Pt(qt.get(e.K0))}(t.LFG(t.zs3)),me},providedIn:"root"});new t.GfV("15.0.3")},3547:(Ye,J,f)=>{"use strict";f.d(J,{gz:()=>ja,gk:()=>Wi,m2:()=>Vt,Q3:()=>Qi,OD:()=>oi,Av:()=>Qn,F0:()=>Ea,rH:()=>eo,Od:()=>lc,Bz:()=>uo,lC:()=>so});var e=f(2560),t=f(7400),_=f(745),O=f(6317),l=f(4423),C=f(6562),u=f(9319),P=f(1954),p=f(629),L=f(5474),D=f(833),k=f(591),M=f(3932),z=f(253),A=f(4666),W=f(635),Z=f(2673),X=f(9295),$=f(4874),ae=f(116),he=f(9525),se=f(155),pe=f(3853),le=f(9337),re=f(3158),fe=f(4351),T=f(1944),i=f(3945);function o(Ae){return Ae<=0?()=>k.E:(0,T.e)((te,Ee)=>{let et=[];te.subscribe((0,i.x)(Ee,lt=>{et.push(lt),Ae<et.length&&et.shift()},()=>{for(const lt of et)Ee.next(lt);Ee.complete()},void 0,()=>{et=null}))})}var m=f(7354),h=f(4744),x=f(9173);function I(Ae,te){const Ee=arguments.length>=2;return et=>et.pipe(Ae?(0,ae.h)((lt,Ct)=>Ae(lt,Ct,et)):x.y,o(1),Ee?(0,h.d)(te):(0,m.T)(()=>new l.K))}var R=f(2566),g=f(73),r=f(2313),w=f(6074),V=f(1308),N=f(4497);const Y="primary",Pe=Symbol("RouteTitle");class Ce{constructor(te){this.params=te||{}}has(te){return Object.prototype.hasOwnProperty.call(this.params,te)}get(te){if(this.has(te)){const Ee=this.params[te];return Array.isArray(Ee)?Ee[0]:Ee}return null}getAll(te){if(this.has(te)){const Ee=this.params[te];return Array.isArray(Ee)?Ee:[Ee]}return[]}get keys(){return Object.keys(this.params)}}function Xe(Ae){return new Ce(Ae)}function dt(Ae,te,Ee){const et=Ee.path.split("/");if(et.length>Ae.length||"full"===Ee.pathMatch&&(te.hasChildren()||et.length<Ae.length))return null;const lt={};for(let Ct=0;Ct<et.length;Ct++){const Qt=et[Ct],xi=Ae[Ct];if(Qt.startsWith(":"))lt[Qt.substring(1)]=xi;else if(Qt!==xi.path)return null}return{consumed:Ae.slice(0,et.length),posParams:lt}}function ge(Ae,te){const Ee=Ae?Object.keys(Ae):void 0,et=te?Object.keys(te):void 0;if(!Ee||!et||Ee.length!=et.length)return!1;let lt;for(let Ct=0;Ct<Ee.length;Ct++)if(lt=Ee[Ct],!$e(Ae[lt],te[lt]))return!1;return!0}function $e(Ae,te){if(Array.isArray(Ae)&&Array.isArray(te)){if(Ae.length!==te.length)return!1;const Ee=[...Ae].sort(),et=[...te].sort();return Ee.every((lt,Ct)=>et[Ct]===lt)}return Ae===te}function Oe(Ae){return Array.prototype.concat.apply([],Ae)}function Me(Ae){return Ae.length>0?Ae[Ae.length-1]:null}function Ue(Ae,te){for(const Ee in Ae)Ae.hasOwnProperty(Ee)&&te(Ae[Ee],Ee)}function ye(Ae){return(0,e.CqO)(Ae)?Ae:(0,e.QGY)(Ae)?(0,t.D)(Promise.resolve(Ae)):(0,_.of)(Ae)}const we=!1,ie={exact:function ee(Ae,te,Ee){if(!st(Ae.segments,te.segments)||!at(Ae.segments,te.segments,Ee)||Ae.numberOfChildren!==te.numberOfChildren)return!1;for(const et in te.children)if(!Ae.children[et]||!ee(Ae.children[et],te.children[et],Ee))return!1;return!0},subset:Ve},Se={exact:function K(Ae,te){return ge(Ae,te)},subset:function ze(Ae,te){return Object.keys(te).length<=Object.keys(Ae).length&&Object.keys(te).every(Ee=>$e(Ae[Ee],te[Ee]))},ignored:()=>!0};function ne(Ae,te,Ee){return ie[Ee.paths](Ae.root,te.root,Ee.matrixParams)&&Se[Ee.queryParams](Ae.queryParams,te.queryParams)&&!("exact"===Ee.fragment&&Ae.fragment!==te.fragment)}function Ve(Ae,te,Ee){return oe(Ae,te,te.segments,Ee)}function oe(Ae,te,Ee,et){if(Ae.segments.length>Ee.length){const lt=Ae.segments.slice(0,Ee.length);return!(!st(lt,Ee)||te.hasChildren()||!at(lt,Ee,et))}if(Ae.segments.length===Ee.length){if(!st(Ae.segments,Ee)||!at(Ae.segments,Ee,et))return!1;for(const lt in te.children)if(!Ae.children[lt]||!Ve(Ae.children[lt],te.children[lt],et))return!1;return!0}{const lt=Ee.slice(0,Ae.segments.length),Ct=Ee.slice(Ae.segments.length);return!!(st(Ae.segments,lt)&&at(Ae.segments,lt,et)&&Ae.children[Y])&&oe(Ae.children[Y],te,Ct,et)}}function at(Ae,te,Ee){return te.every((et,lt)=>Se[Ee](Ae[lt].parameters,et.parameters))}class qe{constructor(te=new it([],{}),Ee={},et=null){this.root=te,this.queryParams=Ee,this.fragment=et,we}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Xe(this.queryParams)),this._queryParamMap}toString(){return Gt.serialize(this)}}class it{constructor(te,Ee){this.segments=te,this.children=Ee,this.parent=null,Ue(Ee,(et,lt)=>et.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return kt(this)}}class ii{constructor(te,Ee){this.path=te,this.parameters=Ee}get parameterMap(){return this._parameterMap||(this._parameterMap=Xe(this.parameters)),this._parameterMap}toString(){return j(this)}}function st(Ae,te){return Ae.length===te.length&&Ae.every((Ee,et)=>Ee.path===te[et].path)}class rt{}rt.\u0275fac=function(te){return new(te||rt)},rt.\u0275prov=e.Yz7({token:rt,factory:function(){return new Ot},providedIn:"root"});class Ot{parse(te){const Ee=new ri(te);return new qe(Ee.parseRootSegment(),Ee.parseQueryParams(),Ee.parseFragment())}serialize(te){const Ee=`/${Rt(te.root,!0)}`,et=function Ne(Ae){const te=Object.keys(Ae).map(Ee=>{const et=Ae[Ee];return Array.isArray(et)?et.map(lt=>`${Jt(Ee)}=${Jt(lt)}`).join("&"):`${Jt(Ee)}=${Jt(et)}`}).filter(Ee=>!!Ee);return te.length?`?${te.join("&")}`:""}(te.queryParams);return`${Ee}${et}${"string"==typeof te.fragment?`#${function Zt(Ae){return encodeURI(Ae)}(te.fragment)}`:""}`}}const Gt=new Ot;function kt(Ae){return Ae.segments.map(te=>j(te)).join("/")}function Rt(Ae,te){if(!Ae.hasChildren())return kt(Ae);if(te){const Ee=Ae.children[Y]?Rt(Ae.children[Y],!1):"",et=[];return Ue(Ae.children,(lt,Ct)=>{Ct!==Y&&et.push(`${Ct}:${Rt(lt,!1)}`)}),et.length>0?`${Ee}(${et.join("//")})`:Ee}{const Ee=function Be(Ae,te){let Ee=[];return Ue(Ae.children,(et,lt)=>{lt===Y&&(Ee=Ee.concat(te(et,lt)))}),Ue(Ae.children,(et,lt)=>{lt!==Y&&(Ee=Ee.concat(te(et,lt)))}),Ee}(Ae,(et,lt)=>lt===Y?[Rt(Ae.children[Y],!1)]:[`${lt}:${Rt(et,!1)}`]);return 1===Object.keys(Ae.children).length&&null!=Ae.children[Y]?`${kt(Ae)}/${Ee[0]}`:`${kt(Ae)}/(${Ee.join("//")})`}}function yi(Ae){return encodeURIComponent(Ae).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Jt(Ae){return yi(Ae).replace(/%3B/gi,";")}function mi(Ae){return yi(Ae).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Re(Ae){return decodeURIComponent(Ae)}function U(Ae){return Re(Ae.replace(/\+/g,"%20"))}function j(Ae){return`${mi(Ae.path)}${function ue(Ae){return Object.keys(Ae).map(te=>`;${mi(te)}=${mi(Ae[te])}`).join("")}(Ae.parameters)}`}const wt=/^[^\/()?;=#]+/;function Et(Ae){const te=Ae.match(wt);return te?te[0]:""}const Nt=/^[^=?&#]+/;const We=/^[^&#]+/;class ri{constructor(te){this.url=te,this.remaining=te}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new it([],{}):new it([],this.parseChildren())}parseQueryParams(){const te={};if(this.consumeOptional("?"))do{this.parseQueryParam(te)}while(this.consumeOptional("&"));return te}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const te=[];for(this.peekStartsWith("(")||te.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),te.push(this.parseSegment());let Ee={};this.peekStartsWith("/(")&&(this.capture("/"),Ee=this.parseParens(!0));let et={};return this.peekStartsWith("(")&&(et=this.parseParens(!1)),(te.length>0||Object.keys(Ee).length>0)&&(et[Y]=new it(te,Ee)),et}parseSegment(){const te=Et(this.remaining);if(""===te&&this.peekStartsWith(";"))throw new e.vHH(4009,we);return this.capture(te),new ii(Re(te),this.parseMatrixParams())}parseMatrixParams(){const te={};for(;this.consumeOptional(";");)this.parseParam(te);return te}parseParam(te){const Ee=Et(this.remaining);if(!Ee)return;this.capture(Ee);let et="";if(this.consumeOptional("=")){const lt=Et(this.remaining);lt&&(et=lt,this.capture(et))}te[Re(Ee)]=Re(et)}parseQueryParam(te){const Ee=function ot(Ae){const te=Ae.match(Nt);return te?te[0]:""}(this.remaining);if(!Ee)return;this.capture(Ee);let et="";if(this.consumeOptional("=")){const Qt=function gt(Ae){const te=Ae.match(We);return te?te[0]:""}(this.remaining);Qt&&(et=Qt,this.capture(et))}const lt=U(Ee),Ct=U(et);if(te.hasOwnProperty(lt)){let Qt=te[lt];Array.isArray(Qt)||(Qt=[Qt],te[lt]=Qt),Qt.push(Ct)}else te[lt]=Ct}parseParens(te){const Ee={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const et=Et(this.remaining),lt=this.remaining[et.length];if("/"!==lt&&")"!==lt&&";"!==lt)throw new e.vHH(4010,we);let Ct;et.indexOf(":")>-1?(Ct=et.slice(0,et.indexOf(":")),this.capture(Ct),this.capture(":")):te&&(Ct=Y);const Qt=this.parseChildren();Ee[Ct]=1===Object.keys(Qt).length?Qt[Y]:new it([],Qt),this.consumeOptional("//")}return Ee}peekStartsWith(te){return this.remaining.startsWith(te)}consumeOptional(te){return!!this.peekStartsWith(te)&&(this.remaining=this.remaining.substring(te.length),!0)}capture(te){if(!this.consumeOptional(te))throw new e.vHH(4011,we)}}function Pt(Ae){return Ae.segments.length>0?new it([],{[Y]:Ae}):Ae}function Ft(Ae){const te={};for(const et of Object.keys(Ae.children)){const Ct=Ft(Ae.children[et]);(Ct.segments.length>0||Ct.hasChildren())&&(te[et]=Ct)}return function qt(Ae){if(1===Ae.numberOfChildren&&Ae.children[Y]){const te=Ae.children[Y];return new it(Ae.segments.concat(te.segments),te.children)}return Ae}(new it(Ae.segments,te))}function Te(Ae){return Ae instanceof qe}function Li(Ae,te,Ee,et,lt){if(0===Ee.length)return zi(te.root,te.root,te.root,et,lt);const Ct=Fe(Ee);if(Ct.toRoot())return zi(te.root,te.root,new it([],{}),et,lt);return function Qt(Ui){const an=function _i(Ae,te,Ee,et){if(Ae.isAbsolute)return new Wt(te.root,!0,0);if(-1===et){const Qt=Ee===te.root;return new Wt(Ee,Qt,0)}const lt=Ai(Ae.commands[0])?0:1;return Oi(Ee,et+lt,Ae.numberOfDoubleDots)}(Ct,te,Ae.snapshot?._urlSegment,Ui),pn=an.processChildren?ti(an.segmentGroup,an.index,Ct.commands):Ki(an.segmentGroup,an.index,Ct.commands);return zi(te.root,an.segmentGroup,pn,et,lt)}(Ae.snapshot?._lastPathIndex)}function Ai(Ae){return"object"==typeof Ae&&null!=Ae&&!Ae.outlets&&!Ae.segmentPath}function wi(Ae){return"object"==typeof Ae&&null!=Ae&&Ae.outlets}function zi(Ae,te,Ee,et,lt){let Qt,Ct={};et&&Ue(et,(Ui,an)=>{Ct[an]=Array.isArray(Ui)?Ui.map(pn=>`${pn}`):`${Ui}`}),Qt=Ae===te?Ee:xt(Ae,te,Ee);const xi=Pt(Ft(Qt));return new qe(xi,Ct,lt)}function xt(Ae,te,Ee){const et={};return Ue(Ae.children,(lt,Ct)=>{et[Ct]=lt===te?Ee:xt(lt,te,Ee)}),new it(Ae.segments,et)}class Qe{constructor(te,Ee,et){if(this.isAbsolute=te,this.numberOfDoubleDots=Ee,this.commands=et,te&&et.length>0&&Ai(et[0]))throw new e.vHH(4003,false);const lt=et.find(wi);if(lt&&lt!==Me(et))throw new e.vHH(4004,false)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}function Fe(Ae){if("string"==typeof Ae[0]&&1===Ae.length&&"/"===Ae[0])return new Qe(!0,0,Ae);let te=0,Ee=!1;const et=Ae.reduce((lt,Ct,Qt)=>{if("object"==typeof Ct&&null!=Ct){if(Ct.outlets){const xi={};return Ue(Ct.outlets,(Ui,an)=>{xi[an]="string"==typeof Ui?Ui.split("/"):Ui}),[...lt,{outlets:xi}]}if(Ct.segmentPath)return[...lt,Ct.segmentPath]}return"string"!=typeof Ct?[...lt,Ct]:0===Qt?(Ct.split("/").forEach((xi,Ui)=>{0==Ui&&"."===xi||(0==Ui&&""===xi?Ee=!0:".."===xi?te++:""!=xi&&lt.push(xi))}),lt):[...lt,Ct]},[]);return new Qe(Ee,te,et)}class Wt{constructor(te,Ee,et){this.segmentGroup=te,this.processChildren=Ee,this.index=et}}function Oi(Ae,te,Ee){let et=Ae,lt=te,Ct=Ee;for(;Ct>lt;){if(Ct-=lt,et=et.parent,!et)throw new e.vHH(4005,false);lt=et.segments.length}return new Wt(et,!1,lt-Ct)}function Ki(Ae,te,Ee){if(Ae||(Ae=new it([],{})),0===Ae.segments.length&&Ae.hasChildren())return ti(Ae,te,Ee);const et=function be(Ae,te,Ee){let et=0,lt=te;const Ct={match:!1,pathIndex:0,commandIndex:0};for(;lt<Ae.segments.length;){if(et>=Ee.length)return Ct;const Qt=Ae.segments[lt],xi=Ee[et];if(wi(xi))break;const Ui=`${xi}`,an=et<Ee.length-1?Ee[et+1]:null;if(lt>0&&void 0===Ui)break;if(Ui&&an&&"object"==typeof an&&void 0===an.outlets){if(!ui(Ui,an,Qt))return Ct;et+=2}else{if(!ui(Ui,{},Qt))return Ct;et++}lt++}return{match:!0,pathIndex:lt,commandIndex:et}}(Ae,te,Ee),lt=Ee.slice(et.commandIndex);if(et.match&&et.pathIndex<Ae.segments.length){const Ct=new it(Ae.segments.slice(0,et.pathIndex),{});return Ct.children[Y]=new it(Ae.segments.slice(et.pathIndex),Ae.children),ti(Ct,0,lt)}return et.match&&0===lt.length?new it(Ae.segments,{}):et.match&&!Ae.hasChildren()?ke(Ae,te,Ee):et.match?ti(Ae,0,lt):ke(Ae,te,Ee)}function ti(Ae,te,Ee){if(0===Ee.length)return new it(Ae.segments,{});{const et=function ki(Ae){return wi(Ae[0])?Ae[0].outlets:{[Y]:Ae}}(Ee),lt={};return Ue(et,(Ct,Qt)=>{"string"==typeof Ct&&(Ct=[Ct]),null!==Ct&&(lt[Qt]=Ki(Ae.children[Qt],te,Ct))}),Ue(Ae.children,(Ct,Qt)=>{void 0===et[Qt]&&(lt[Qt]=Ct)}),new it(Ae.segments,lt)}}function ke(Ae,te,Ee){const et=Ae.segments.slice(0,te);let lt=0;for(;lt<Ee.length;){const Ct=Ee[lt];if(wi(Ct)){const Ui=ft(Ct.outlets);return new it(et,Ui)}if(0===lt&&Ai(Ee[0])){const Ui=Ae.segments[te];et.push(new ii(Ui.path,St(Ee[0]))),lt++;continue}const Qt=wi(Ct)?Ct.outlets[Y]:`${Ct}`,xi=lt<Ee.length-1?Ee[lt+1]:null;Qt&&xi&&Ai(xi)?(et.push(new ii(Qt,St(xi))),lt+=2):(et.push(new ii(Qt,{})),lt++)}return new it(et,{})}function ft(Ae){const te={};return Ue(Ae,(Ee,et)=>{"string"==typeof Ee&&(Ee=[Ee]),null!==Ee&&(te[et]=ke(new it([],{}),0,Ee))}),te}function St(Ae){const te={};return Ue(Ae,(Ee,et)=>te[et]=`${Ee}`),te}function ui(Ae,te,Ee){return Ae==Ee.path&&ge(te,Ee.parameters)}class $t{constructor(te,Ee){this.id=te,this.url=Ee}}class oi extends $t{constructor(te,Ee,et="imperative",lt=null){super(te,Ee),this.type=0,this.navigationTrigger=et,this.restoredState=lt}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Vt extends $t{constructor(te,Ee,et){super(te,Ee),this.urlAfterRedirects=et,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Wi extends $t{constructor(te,Ee,et,lt){super(te,Ee),this.reason=et,this.code=lt,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Qi extends $t{constructor(te,Ee,et,lt){super(te,Ee),this.error=et,this.target=lt,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class vn extends $t{constructor(te,Ee,et,lt){super(te,Ee),this.urlAfterRedirects=et,this.state=lt,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ga extends $t{constructor(te,Ee,et,lt){super(te,Ee),this.urlAfterRedirects=et,this.state=lt,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class gn extends $t{constructor(te,Ee,et,lt,Ct){super(te,Ee),this.urlAfterRedirects=et,this.state=lt,this.shouldActivate=Ct,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Xn extends $t{constructor(te,Ee,et,lt){super(te,Ee),this.urlAfterRedirects=et,this.state=lt,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Qn extends $t{constructor(te,Ee,et,lt){super(te,Ee),this.urlAfterRedirects=et,this.state=lt,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Qa{constructor(te){this.route=te,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Er{constructor(te){this.route=te,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class At{constructor(te){this.snapshot=te,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Kt{constructor(te){this.snapshot=te,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class pi{constructor(te){this.snapshot=te,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Di{constructor(te){this.snapshot=te,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ji{constructor(te,Ee,et){this.routerEvent=te,this.position=Ee,this.anchor=et,this.type=15}toString(){const te=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${te}')`}}class sn{constructor(te){this._root=te}get root(){return this._root.value}parent(te){const Ee=this.pathFromRoot(te);return Ee.length>1?Ee[Ee.length-2]:null}children(te){const Ee=pa(te,this._root);return Ee?Ee.children.map(et=>et.value):[]}firstChild(te){const Ee=pa(te,this._root);return Ee&&Ee.children.length>0?Ee.children[0].value:null}siblings(te){const Ee=kn(te,this._root);return Ee.length<2?[]:Ee[Ee.length-2].children.map(lt=>lt.value).filter(lt=>lt!==te)}pathFromRoot(te){return kn(te,this._root).map(Ee=>Ee.value)}}function pa(Ae,te){if(Ae===te.value)return te;for(const Ee of te.children){const et=pa(Ae,Ee);if(et)return et}return null}function kn(Ae,te){if(Ae===te.value)return[te];for(const Ee of te.children){const et=kn(Ae,Ee);if(et.length)return et.unshift(te),et}return[]}class sa{constructor(te,Ee){this.value=te,this.children=Ee}toString(){return`TreeNode(${this.value})`}}function An(Ae){const te={};return Ae&&Ae.children.forEach(Ee=>te[Ee.value.outlet]=Ee),te}class na extends sn{constructor(te,Ee){super(te),this.snapshot=Ee,vr(this,te)}toString(){return this.snapshot.toString()}}function Fa(Ae,te){const Ee=function jn(Ae,te){const Qt=new Vr([],{},{},"",{},Y,te,null,Ae.root,-1,{});return new Ta("",new sa(Qt,[]))}(Ae,te),et=new O.X([new ii("",{})]),lt=new O.X({}),Ct=new O.X({}),Qt=new O.X({}),xi=new O.X(""),Ui=new ja(et,lt,Qt,xi,Ct,Y,te,Ee.root);return Ui.snapshot=Ee.root,new na(new sa(Ui,[]),Ee)}class ja{constructor(te,Ee,et,lt,Ct,Qt,xi,Ui){this.url=te,this.params=Ee,this.queryParams=et,this.fragment=lt,this.data=Ct,this.outlet=Qt,this.component=xi,this.title=this.data?.pipe((0,W.U)(an=>an[Pe]))??(0,_.of)(void 0),this._futureSnapshot=Ui}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,W.U)(te=>Xe(te)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,W.U)(te=>Xe(te)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ta(Ae,te="emptyOnly"){const Ee=Ae.pathFromRoot;let et=0;if("always"!==te)for(et=Ee.length-1;et>=1;){const lt=Ee[et],Ct=Ee[et-1];if(lt.routeConfig&&""===lt.routeConfig.path)et--;else{if(Ct.component)break;et--}}return function Va(Ae){return Ae.reduce((te,Ee)=>({params:{...te.params,...Ee.params},data:{...te.data,...Ee.data},resolve:{...Ee.data,...te.resolve,...Ee.routeConfig?.data,...Ee._resolvedData}}),{params:{},data:{},resolve:{}})}(Ee.slice(et))}class Vr{constructor(te,Ee,et,lt,Ct,Qt,xi,Ui,an,pn,En){this.url=te,this.params=Ee,this.queryParams=et,this.fragment=lt,this.data=Ct,this.outlet=Qt,this.component=xi,this.routeConfig=Ui,this._urlSegment=an,this._lastPathIndex=pn,this._resolve=En}get title(){return this.data?.[Pe]}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=Xe(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Xe(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(et=>et.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ta extends sn{constructor(te,Ee){super(Ee),this.url=te,vr(this,Ee)}toString(){return Zn(this._root)}}function vr(Ae,te){te.value._routerState=Ae,te.children.forEach(Ee=>vr(Ae,Ee))}function Zn(Ae){const te=Ae.children.length>0?` { ${Ae.children.map(Zn).join(", ")} } `:"";return`${Ae.value}${te}`}function Aa(Ae){if(Ae.snapshot){const te=Ae.snapshot,Ee=Ae._futureSnapshot;Ae.snapshot=Ee,ge(te.queryParams,Ee.queryParams)||Ae.queryParams.next(Ee.queryParams),te.fragment!==Ee.fragment&&Ae.fragment.next(Ee.fragment),ge(te.params,Ee.params)||Ae.params.next(Ee.params),function Ke(Ae,te){if(Ae.length!==te.length)return!1;for(let Ee=0;Ee<Ae.length;++Ee)if(!ge(Ae[Ee],te[Ee]))return!1;return!0}(te.url,Ee.url)||Ae.url.next(Ee.url),ge(te.data,Ee.data)||Ae.data.next(Ee.data)}else Ae.snapshot=Ae._futureSnapshot,Ae.data.next(Ae._futureSnapshot.data)}function la(Ae,te){const Ee=ge(Ae.params,te.params)&&function bt(Ae,te){return st(Ae,te)&&Ae.every((Ee,et)=>ge(Ee.parameters,te[et].parameters))}(Ae.url,te.url),et=!Ae.parent!=!te.parent;return Ee&&!et&&(!Ae.parent||la(Ae.parent,te.parent))}function Wa(Ae,te,Ee){if(Ee&&Ae.shouldReuseRoute(te.value,Ee.value.snapshot)){const et=Ee.value;et._futureSnapshot=te.value;const lt=function es(Ae,te,Ee){return te.children.map(et=>{for(const lt of Ee.children)if(Ae.shouldReuseRoute(et.value,lt.value.snapshot))return Wa(Ae,et,lt);return Wa(Ae,et)})}(Ae,te,Ee);return new sa(et,lt)}{if(Ae.shouldAttach(te.value)){const Ct=Ae.retrieve(te.value);if(null!==Ct){const Qt=Ct.route;return Qt.value._futureSnapshot=te.value,Qt.children=te.children.map(xi=>Wa(Ae,xi)),Qt}}const et=function oo(Ae){return new ja(new O.X(Ae.url),new O.X(Ae.params),new O.X(Ae.queryParams),new O.X(Ae.fragment),new O.X(Ae.data),Ae.outlet,Ae.component,Ae)}(te.value),lt=te.children.map(Ct=>Wa(Ae,Ct));return new sa(et,lt)}}const Jn="ngNavigationCancelingError";function qr(Ae,te){const{redirectTo:Ee,navigationBehaviorOptions:et}=Te(te)?{redirectTo:te,navigationBehaviorOptions:void 0}:te,lt=Ka(!1,0,te);return lt.url=Ee,lt.navigationBehaviorOptions=et,lt}function Ka(Ae,te,Ee){const et=new Error("NavigationCancelingError: "+(Ae||""));return et[Jn]=!0,et.cancellationCode=te,Ee&&(et.url=Ee),et}function Ao(Ae){return rr(Ae)&&Te(Ae.url)}function rr(Ae){return Ae&&Ae[Jn]}class Pr{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new or,this.attachRef=null}}class or{constructor(){this.contexts=new Map}onChildOutletCreated(te,Ee){const et=this.getOrCreateContext(te);et.outlet=Ee,this.contexts.set(te,et)}onChildOutletDestroyed(te){const Ee=this.getContext(te);Ee&&(Ee.outlet=null,Ee.attachRef=null)}onOutletDeactivated(){const te=this.contexts;return this.contexts=new Map,te}onOutletReAttached(te){this.contexts=te}getOrCreateContext(te){let Ee=this.getContext(te);return Ee||(Ee=new Pr,this.contexts.set(te,Ee)),Ee}getContext(te){return this.contexts.get(te)||null}}or.\u0275fac=function(te){return new(te||or)},or.\u0275prov=e.Yz7({token:or,factory:or.\u0275fac,providedIn:"root"});const dr=!1;class so{constructor(){this.activated=null,this._activatedRoute=null,this.name=Y,this.activateEvents=new e.vpe,this.deactivateEvents=new e.vpe,this.attachEvents=new e.vpe,this.detachEvents=new e.vpe,this.parentContexts=(0,e.f3M)(or),this.location=(0,e.f3M)(e.s_b),this.changeDetector=(0,e.f3M)(e.sBO),this.environmentInjector=(0,e.f3M)(e.lqb)}ngOnChanges(te){if(te.name){const{firstChange:Ee,previousValue:et}=te.name;if(Ee)return;this.isTrackedInParentContexts(et)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(et)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(te){return this.parentContexts.getContext(te)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const te=this.parentContexts.getContext(this.name);te?.route&&(te.attachRef?this.attach(te.attachRef,te.route):this.activateWith(te.route,te.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new e.vHH(4012,dr);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new e.vHH(4012,dr);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new e.vHH(4012,dr);this.location.detach();const te=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(te.instance),te}attach(te,Ee){this.activated=te,this._activatedRoute=Ee,this.location.insert(te.hostView),this.attachEvents.emit(te.instance)}deactivate(){if(this.activated){const te=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(te)}}activateWith(te,Ee){if(this.isActivated)throw new e.vHH(4013,dr);this._activatedRoute=te;const et=this.location,Ct=te.snapshot.component,Qt=this.parentContexts.getOrCreateContext(this.name).children,xi=new ps(te,Qt,et.injector);if(Ee&&function co(Ae){return!!Ae.resolveComponentFactory}(Ee)){const Ui=Ee.resolveComponentFactory(Ct);this.activated=et.createComponent(Ui,et.length,xi)}else{const Ui=Ee??this.environmentInjector;this.activated=et.createComponent(Ct,{index:et.length,injector:xi,environmentInjector:Ui})}this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}so.\u0275fac=function(te){return new(te||so)},so.\u0275dir=e.lG2({type:so,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[e.TTD]});class ps{constructor(te,Ee,et){this.route=te,this.childContexts=Ee,this.parent=et}get(te,Ee){return te===ja?this.route:te===or?this.childContexts:this.parent.get(te,Ee)}}class br{}function yr(Ae,te){return Ae.providers&&!Ae._injector&&(Ae._injector=(0,e.MMx)(Ae.providers,te,`Route: ${Ae.path}`)),Ae._injector??te}function xr(Ae){const te=Ae.children&&Ae.children.map(xr),Ee=te?{...Ae,children:te}:{...Ae};return!Ee.component&&!Ee.loadComponent&&(te||Ee.loadChildren)&&Ee.outlet&&Ee.outlet!==Y&&(Ee.component=br),Ee}function da(Ae){return Ae.outlet||Y}function Rr(Ae,te){const Ee=Ae.filter(et=>da(et)===te);return Ee.push(...Ae.filter(et=>da(et)!==te)),Ee}function sr(Ae){if(!Ae)return null;if(Ae.routeConfig?._injector)return Ae.routeConfig._injector;for(let te=Ae.parent;te;te=te.parent){const Ee=te.routeConfig;if(Ee?._loadedInjector)return Ee._loadedInjector;if(Ee?._injector)return Ee._injector}return null}br.\u0275fac=function(te){return new(te||br)},br.\u0275cmp=e.Xpm({type:br,selectors:[["ng-component"]],standalone:!0,features:[e.jDz],decls:1,vars:0,template:function(te,Ee){1&te&&e._UZ(0,"router-outlet")},dependencies:[so],encapsulation:2});class ya{constructor(te,Ee,et,lt){this.routeReuseStrategy=te,this.futureState=Ee,this.currState=et,this.forwardEvent=lt}activate(te){const Ee=this.futureState._root,et=this.currState?this.currState._root:null;this.deactivateChildRoutes(Ee,et,te),Aa(this.futureState.root),this.activateChildRoutes(Ee,et,te)}deactivateChildRoutes(te,Ee,et){const lt=An(Ee);te.children.forEach(Ct=>{const Qt=Ct.value.outlet;this.deactivateRoutes(Ct,lt[Qt],et),delete lt[Qt]}),Ue(lt,(Ct,Qt)=>{this.deactivateRouteAndItsChildren(Ct,et)})}deactivateRoutes(te,Ee,et){const lt=te.value,Ct=Ee?Ee.value:null;if(lt===Ct)if(lt.component){const Qt=et.getContext(lt.outlet);Qt&&this.deactivateChildRoutes(te,Ee,Qt.children)}else this.deactivateChildRoutes(te,Ee,et);else Ct&&this.deactivateRouteAndItsChildren(Ee,et)}deactivateRouteAndItsChildren(te,Ee){te.value.component&&this.routeReuseStrategy.shouldDetach(te.value.snapshot)?this.detachAndStoreRouteSubtree(te,Ee):this.deactivateRouteAndOutlet(te,Ee)}detachAndStoreRouteSubtree(te,Ee){const et=Ee.getContext(te.value.outlet),lt=et&&te.value.component?et.children:Ee,Ct=An(te);for(const Qt of Object.keys(Ct))this.deactivateRouteAndItsChildren(Ct[Qt],lt);if(et&&et.outlet){const Qt=et.outlet.detach(),xi=et.children.onOutletDeactivated();this.routeReuseStrategy.store(te.value.snapshot,{componentRef:Qt,route:te,contexts:xi})}}deactivateRouteAndOutlet(te,Ee){const et=Ee.getContext(te.value.outlet),lt=et&&te.value.component?et.children:Ee,Ct=An(te);for(const Qt of Object.keys(Ct))this.deactivateRouteAndItsChildren(Ct[Qt],lt);et&&et.outlet&&(et.outlet.deactivate(),et.children.onOutletDeactivated(),et.attachRef=null,et.resolver=null,et.route=null)}activateChildRoutes(te,Ee,et){const lt=An(Ee);te.children.forEach(Ct=>{this.activateRoutes(Ct,lt[Ct.value.outlet],et),this.forwardEvent(new Di(Ct.value.snapshot))}),te.children.length&&this.forwardEvent(new Kt(te.value.snapshot))}activateRoutes(te,Ee,et){const lt=te.value,Ct=Ee?Ee.value:null;if(Aa(lt),lt===Ct)if(lt.component){const Qt=et.getOrCreateContext(lt.outlet);this.activateChildRoutes(te,Ee,Qt.children)}else this.activateChildRoutes(te,Ee,et);else if(lt.component){const Qt=et.getOrCreateContext(lt.outlet);if(this.routeReuseStrategy.shouldAttach(lt.snapshot)){const xi=this.routeReuseStrategy.retrieve(lt.snapshot);this.routeReuseStrategy.store(lt.snapshot,null),Qt.children.onOutletReAttached(xi.contexts),Qt.attachRef=xi.componentRef,Qt.route=xi.route.value,Qt.outlet&&Qt.outlet.attach(xi.componentRef,xi.route.value),Aa(xi.route.value),this.activateChildRoutes(te,null,Qt.children)}else{const xi=sr(lt.snapshot),Ui=xi?.get(e._Vd)??null;Qt.attachRef=null,Qt.route=lt,Qt.resolver=Ui,Qt.injector=xi,Qt.outlet&&Qt.outlet.activateWith(lt,Qt.injector),this.activateChildRoutes(te,null,Qt.children)}}else this.activateChildRoutes(te,null,et)}}class Io{constructor(te){this.path=te,this.route=this.path[this.path.length-1]}}class $n{constructor(te,Ee){this.component=te,this.route=Ee}}function qn(Ae,te,Ee){const et=Ae._root;return xa(et,te?te._root:null,Ee,[et.value])}function cr(Ae,te){const Ee=Symbol(),et=te.get(Ae,Ee);return et===Ee?"function"!=typeof Ae||(0,e.Z0I)(Ae)?te.get(Ae):Ae:et}function xa(Ae,te,Ee,et,lt={canDeactivateChecks:[],canActivateChecks:[]}){const Ct=An(te);return Ae.children.forEach(Qt=>{(function Wr(Ae,te,Ee,et,lt={canDeactivateChecks:[],canActivateChecks:[]}){const Ct=Ae.value,Qt=te?te.value:null,xi=Ee?Ee.getContext(Ae.value.outlet):null;if(Qt&&Ct.routeConfig===Qt.routeConfig){const Ui=function tr(Ae,te,Ee){if("function"==typeof Ee)return Ee(Ae,te);switch(Ee){case"pathParamsChange":return!st(Ae.url,te.url);case"pathParamsOrQueryParamsChange":return!st(Ae.url,te.url)||!ge(Ae.queryParams,te.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!la(Ae,te)||!ge(Ae.queryParams,te.queryParams);default:return!la(Ae,te)}}(Qt,Ct,Ct.routeConfig.runGuardsAndResolvers);Ui?lt.canActivateChecks.push(new Io(et)):(Ct.data=Qt.data,Ct._resolvedData=Qt._resolvedData),Ct.component?xa(Ae,te,xi?xi.children:null,et,lt):xa(Ae,te,Ee,et,lt),Ui&&xi&&xi.outlet&&xi.outlet.isActivated&&lt.canDeactivateChecks.push(new $n(xi.outlet.component,Qt))}else Qt&&aa(te,xi,lt),lt.canActivateChecks.push(new Io(et)),Ct.component?xa(Ae,null,xi?xi.children:null,et,lt):xa(Ae,null,Ee,et,lt);return lt})(Qt,Ct[Qt.value.outlet],Ee,et.concat([Qt.value]),lt),delete Ct[Qt.value.outlet]}),Ue(Ct,(Qt,xi)=>aa(Qt,Ee.getContext(xi),lt)),lt}function aa(Ae,te,Ee){const et=An(Ae),lt=Ae.value;Ue(et,(Ct,Qt)=>{lt.component?aa(Ct,te?te.children.getContext(Qt):null,Ee):aa(Ct,te,Ee)}),lt.component&&te&&te.outlet&&te.outlet.isActivated?Ee.canDeactivateChecks.push(new $n(te.outlet.component,lt)):Ee.canDeactivateChecks.push(new $n(null,lt))}function li(Ae){return"function"==typeof Ae}function Mt(Ae){return Ae instanceof l.K||"EmptyError"===Ae?.name}const _e=Symbol("INITIAL_VALUE");function mt(){return(0,Z.w)(Ae=>(0,C.a)(Ae.map(te=>te.pipe((0,X.q)(1),(0,$.O)(_e)))).pipe((0,W.U)(te=>{for(const Ee of te)if(!0!==Ee){if(Ee===_e)return _e;if(!1===Ee||Ee instanceof qe)return Ee}return!0}),(0,ae.h)(te=>te!==_e),(0,X.q)(1)))}function ci(Ae,te){return(0,he.z)(Ee=>{const{targetSnapshot:et,currentSnapshot:lt,guards:{canActivateChecks:Ct,canDeactivateChecks:Qt}}=Ee;return 0===Qt.length&&0===Ct.length?(0,_.of)({...Ee,guardsResult:!0}):function Ni(Ae,te,Ee,et){return(0,t.D)(Ae).pipe((0,he.z)(lt=>function sc(Ae,te,Ee,et,lt){const Ct=te&&te.routeConfig?te.routeConfig.canDeactivate:null;if(!Ct||0===Ct.length)return(0,_.of)(!0);const Qt=Ct.map(xi=>{const Ui=sr(te)??lt,an=cr(xi,Ui);return ye(function Bn(Ae){return Ae&&li(Ae.canDeactivate)}(an)?an.canDeactivate(Ae,te,Ee,et):Ui.runInContext(()=>an(Ae,te,Ee,et))).pipe((0,se.P)())});return(0,_.of)(Qt).pipe(mt())}(lt.component,lt.route,Ee,te,et)),(0,se.P)(lt=>!0!==lt,!0))}(Qt,et,lt,Ae).pipe((0,he.z)(xi=>xi&&function je(Ae){return"boolean"==typeof Ae}(xi)?function In(Ae,te,Ee,et){return(0,t.D)(te).pipe((0,pe.b)(lt=>(0,u.z)(function Pi(Ae,te){return null!==Ae&&te&&te(new At(Ae)),(0,_.of)(!0)}(lt.route.parent,et),function pr(Ae,te){return null!==Ae&&te&&te(new pi(Ae)),(0,_.of)(!0)}(lt.route,et),function ts(Ae,te,Ee){const et=te[te.length-1],Ct=te.slice(0,te.length-1).reverse().map(Qt=>function Tr(Ae){const te=Ae.routeConfig?Ae.routeConfig.canActivateChild:null;return te&&0!==te.length?{node:Ae,guards:te}:null}(Qt)).filter(Qt=>null!==Qt).map(Qt=>(0,P.P)(()=>{const xi=Qt.guards.map(Ui=>{const an=sr(Qt.node)??Ee,pn=cr(Ui,an);return ye(function Hi(Ae){return Ae&&li(Ae.canActivateChild)}(pn)?pn.canActivateChild(et,Ae):an.runInContext(()=>pn(et,Ae))).pipe((0,se.P)())});return(0,_.of)(xi).pipe(mt())}));return(0,_.of)(Ct).pipe(mt())}(Ae,lt.path,Ee),function Wn(Ae,te,Ee){const et=te.routeConfig?te.routeConfig.canActivate:null;if(!et||0===et.length)return(0,_.of)(!0);const lt=et.map(Ct=>(0,P.P)(()=>{const Qt=sr(te)??Ee,xi=cr(Ct,Qt);return ye(function bi(Ae){return Ae&&li(Ae.canActivate)}(xi)?xi.canActivate(te,Ae):Qt.runInContext(()=>xi(te,Ae))).pipe((0,se.P)())}));return(0,_.of)(lt).pipe(mt())}(Ae,lt.route,Ee))),(0,se.P)(lt=>!0!==lt,!0))}(et,Ct,Ae,te):(0,_.of)(xi)),(0,W.U)(xi=>({...Ee,guardsResult:xi})))})}function za(Ae,te,Ee,et){const lt=te.canLoad;if(void 0===lt||0===lt.length)return(0,_.of)(!0);const Ct=lt.map(Qt=>{const xi=cr(Qt,Ae);return ye(function Dt(Ae){return Ae&&li(Ae.canLoad)}(xi)?xi.canLoad(te,Ee):Ae.runInContext(()=>xi(te,Ee)))});return(0,_.of)(Ct).pipe(mt(),is(et))}function is(Ae){return(0,p.z)((0,le.b)(te=>{if(Te(te))throw qr(0,te)}),(0,W.U)(te=>!0===te))}function Uo(Ae,te,Ee,et){const lt=te.canMatch;if(!lt||0===lt.length)return(0,_.of)(!0);const Ct=lt.map(Qt=>{const xi=cr(Qt,Ae);return ye(function Zi(Ae){return Ae&&li(Ae.canMatch)}(xi)?xi.canMatch(te,Ee):Ae.runInContext(()=>xi(te,Ee)))});return(0,_.of)(Ct).pipe(mt(),is())}const Ar={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function lr(Ae,te,Ee,et,lt){const Ct=Vo(Ae,te,Ee);return Ct.matched?Uo(et=yr(te,et),te,Ee).pipe((0,W.U)(Qt=>!0===Qt?Ct:{...Ar})):(0,_.of)(Ct)}function Vo(Ae,te,Ee){if(""===te.path)return"full"===te.pathMatch&&(Ae.hasChildren()||Ee.length>0)?{...Ar}:{matched:!0,consumedSegments:[],remainingSegments:Ee,parameters:{},positionalParamSegments:{}};const lt=(te.matcher||dt)(Ee,Ae,te);if(!lt)return{...Ar};const Ct={};Ue(lt.posParams,(xi,Ui)=>{Ct[Ui]=xi.path});const Qt=lt.consumed.length>0?{...Ct,...lt.consumed[lt.consumed.length-1].parameters}:Ct;return{matched:!0,consumedSegments:lt.consumed,remainingSegments:Ee.slice(lt.consumed.length),parameters:Qt,positionalParamSegments:lt.posParams??{}}}function Xr(Ae,te,Ee,et){if(Ee.length>0&&function Rn(Ae,te,Ee){return Ee.some(et=>Jr(Ae,te,et)&&da(et)!==Y)}(Ae,Ee,et)){const Ct=new it(te,function Nr(Ae,te,Ee,et){const lt={};lt[Y]=et,et._sourceSegment=Ae,et._segmentIndexShift=te.length;for(const Ct of Ee)if(""===Ct.path&&da(Ct)!==Y){const Qt=new it([],{});Qt._sourceSegment=Ae,Qt._segmentIndexShift=te.length,lt[da(Ct)]=Qt}return lt}(Ae,te,et,new it(Ee,Ae.children)));return Ct._sourceSegment=Ae,Ct._segmentIndexShift=te.length,{segmentGroup:Ct,slicedSegments:[]}}if(0===Ee.length&&function Ri(Ae,te,Ee){return Ee.some(et=>Jr(Ae,te,et))}(Ae,Ee,et)){const Ct=new it(Ae.segments,function Bc(Ae,te,Ee,et,lt){const Ct={};for(const Qt of et)if(Jr(Ae,Ee,Qt)&&!lt[da(Qt)]){const xi=new it([],{});xi._sourceSegment=Ae,xi._segmentIndexShift=te.length,Ct[da(Qt)]=xi}return{...lt,...Ct}}(Ae,te,Ee,et,Ae.children));return Ct._sourceSegment=Ae,Ct._segmentIndexShift=te.length,{segmentGroup:Ct,slicedSegments:Ee}}const lt=new it(Ae.segments,Ae.children);return lt._sourceSegment=Ae,lt._segmentIndexShift=te.length,{segmentGroup:lt,slicedSegments:Ee}}function Jr(Ae,te,Ee){return(!(Ae.hasChildren()||te.length>0)||"full"!==Ee.pathMatch)&&""===Ee.path}function ns(Ae,te,Ee,et){return!!(da(Ae)===et||et!==Y&&Jr(te,Ee,Ae))&&("**"===Ae.path||Vo(te,Ae,Ee).matched)}function Vi(Ae,te,Ee){return 0===te.length&&!Ae.children[Ee]}const as=!1;class rs{constructor(te){this.segmentGroup=te||null}}class Us{constructor(te){this.urlTree=te}}function Es(Ae){return(0,L._)(new rs(Ae))}function Vs(Ae){return(0,L._)(new Us(Ae))}class cl{constructor(te,Ee,et,lt,Ct){this.injector=te,this.configLoader=Ee,this.urlSerializer=et,this.urlTree=lt,this.config=Ct,this.allowRedirects=!0}apply(){const te=Xr(this.urlTree.root,[],[],this.config).segmentGroup,Ee=new it(te.segments,te.children);return this.expandSegmentGroup(this.injector,this.config,Ee,Y).pipe((0,W.U)(Ct=>this.createUrlTree(Ft(Ct),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,re.K)(Ct=>{if(Ct instanceof Us)return this.allowRedirects=!1,this.match(Ct.urlTree);throw Ct instanceof rs?this.noMatchError(Ct):Ct}))}match(te){return this.expandSegmentGroup(this.injector,this.config,te.root,Y).pipe((0,W.U)(lt=>this.createUrlTree(Ft(lt),te.queryParams,te.fragment))).pipe((0,re.K)(lt=>{throw lt instanceof rs?this.noMatchError(lt):lt}))}noMatchError(te){return new e.vHH(4002,as)}createUrlTree(te,Ee,et){const lt=Pt(te);return new qe(lt,Ee,et)}expandSegmentGroup(te,Ee,et,lt){return 0===et.segments.length&&et.hasChildren()?this.expandChildren(te,Ee,et).pipe((0,W.U)(Ct=>new it([],Ct))):this.expandSegment(te,et,Ee,et.segments,lt,!0)}expandChildren(te,Ee,et){const lt=[];for(const Ct of Object.keys(et.children))"primary"===Ct?lt.unshift(Ct):lt.push(Ct);return(0,t.D)(lt).pipe((0,pe.b)(Ct=>{const Qt=et.children[Ct],xi=Rr(Ee,Ct);return this.expandSegmentGroup(te,xi,Qt,Ct).pipe((0,W.U)(Ui=>({segment:Ui,outlet:Ct})))}),(0,fe.R)((Ct,Qt)=>(Ct[Qt.outlet]=Qt.segment,Ct),{}),I())}expandSegment(te,Ee,et,lt,Ct,Qt){return(0,t.D)(et).pipe((0,pe.b)(xi=>this.expandSegmentAgainstRoute(te,Ee,et,xi,lt,Ct,Qt).pipe((0,re.K)(an=>{if(an instanceof rs)return(0,_.of)(null);throw an}))),(0,se.P)(xi=>!!xi),(0,re.K)((xi,Ui)=>{if(Mt(xi))return Vi(Ee,lt,Ct)?(0,_.of)(new it([],{})):Es(Ee);throw xi}))}expandSegmentAgainstRoute(te,Ee,et,lt,Ct,Qt,xi){return ns(lt,Ee,Ct,Qt)?void 0===lt.redirectTo?this.matchSegmentAgainstRoute(te,Ee,lt,Ct,Qt):xi&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(te,Ee,et,lt,Ct,Qt):Es(Ee):Es(Ee)}expandSegmentAgainstRouteUsingRedirect(te,Ee,et,lt,Ct,Qt){return"**"===lt.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(te,et,lt,Qt):this.expandRegularSegmentAgainstRouteUsingRedirect(te,Ee,et,lt,Ct,Qt)}expandWildCardWithParamsAgainstRouteUsingRedirect(te,Ee,et,lt){const Ct=this.applyRedirectCommands([],et.redirectTo,{});return et.redirectTo.startsWith("/")?Vs(Ct):this.lineralizeSegments(et,Ct).pipe((0,he.z)(Qt=>{const xi=new it(Qt,{});return this.expandSegment(te,xi,Ee,Qt,lt,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(te,Ee,et,lt,Ct,Qt){const{matched:xi,consumedSegments:Ui,remainingSegments:an,positionalParamSegments:pn}=Vo(Ee,lt,Ct);if(!xi)return Es(Ee);const En=this.applyRedirectCommands(Ui,lt.redirectTo,pn);return lt.redirectTo.startsWith("/")?Vs(En):this.lineralizeSegments(lt,En).pipe((0,he.z)(Nn=>this.expandSegment(te,Ee,et,Nn.concat(an),Qt,!1)))}matchSegmentAgainstRoute(te,Ee,et,lt,Ct){return"**"===et.path?(te=yr(et,te),et.loadChildren?(et._loadedRoutes?(0,_.of)({routes:et._loadedRoutes,injector:et._loadedInjector}):this.configLoader.loadChildren(te,et)).pipe((0,W.U)(xi=>(et._loadedRoutes=xi.routes,et._loadedInjector=xi.injector,new it(lt,{})))):(0,_.of)(new it(lt,{}))):lr(Ee,et,lt,te,this.urlSerializer).pipe((0,Z.w)(({matched:Qt,consumedSegments:xi,remainingSegments:Ui})=>Qt?(te=et._injector??te,this.getChildConfig(te,et,lt).pipe((0,he.z)(pn=>{const En=pn.injector??te,Nn=pn.routes,{segmentGroup:Ir,slicedSegments:nr}=Xr(Ee,xi,Ui,Nn),La=new it(Ir.segments,Ir.children);if(0===nr.length&&La.hasChildren())return this.expandChildren(En,Nn,La).pipe((0,W.U)(js=>new it(xi,js)));if(0===Nn.length&&0===nr.length)return(0,_.of)(new it(xi,{}));const yo=da(et)===Ct;return this.expandSegment(En,La,Nn,nr,yo?Y:Ct,!0).pipe((0,W.U)(As=>new it(xi.concat(As.segments),As.children)))}))):Es(Ee)))}getChildConfig(te,Ee,et){return Ee.children?(0,_.of)({routes:Ee.children,injector:te}):Ee.loadChildren?void 0!==Ee._loadedRoutes?(0,_.of)({routes:Ee._loadedRoutes,injector:Ee._loadedInjector}):za(te,Ee,et,this.urlSerializer).pipe((0,he.z)(lt=>lt?this.configLoader.loadChildren(te,Ee).pipe((0,le.b)(Ct=>{Ee._loadedRoutes=Ct.routes,Ee._loadedInjector=Ct.injector})):function _s(Ae){return(0,L._)(Ka(as,3))}())):(0,_.of)({routes:[],injector:te})}lineralizeSegments(te,Ee){let et=[],lt=Ee.root;for(;;){if(et=et.concat(lt.segments),0===lt.numberOfChildren)return(0,_.of)(et);if(lt.numberOfChildren>1||!lt.children[Y])return te.redirectTo,(0,L._)(new e.vHH(4e3,as));lt=lt.children[Y]}}applyRedirectCommands(te,Ee,et){return this.applyRedirectCreateUrlTree(Ee,this.urlSerializer.parse(Ee),te,et)}applyRedirectCreateUrlTree(te,Ee,et,lt){const Ct=this.createSegmentGroup(te,Ee.root,et,lt);return new qe(Ct,this.createQueryParams(Ee.queryParams,this.urlTree.queryParams),Ee.fragment)}createQueryParams(te,Ee){const et={};return Ue(te,(lt,Ct)=>{if("string"==typeof lt&&lt.startsWith(":")){const xi=lt.substring(1);et[Ct]=Ee[xi]}else et[Ct]=lt}),et}createSegmentGroup(te,Ee,et,lt){const Ct=this.createSegments(te,Ee.segments,et,lt);let Qt={};return Ue(Ee.children,(xi,Ui)=>{Qt[Ui]=this.createSegmentGroup(te,xi,et,lt)}),new it(Ct,Qt)}createSegments(te,Ee,et,lt){return Ee.map(Ct=>Ct.path.startsWith(":")?this.findPosParam(te,Ct,lt):this.findOrReturn(Ct,et))}findPosParam(te,Ee,et){const lt=et[Ee.path.substring(1)];if(!lt)throw new e.vHH(4001,as);return lt}findOrReturn(te,Ee){let et=0;for(const lt of Ee){if(lt.path===te.path)return Ee.splice(et),lt;et++}return te}}function ll(Ae,te,Ee,et){return(0,Z.w)(lt=>function Ws(Ae,te,Ee,et,lt){return new cl(Ae,te,Ee,et,lt).apply()}(Ae,te,Ee,lt.extractedUrl,et).pipe((0,W.U)(Ct=>({...lt,urlAfterRedirects:Ct}))))}class cc{}function Ss(Ae,te,Ee,et,lt,Ct,Qt="emptyOnly"){return new qa(Ae,te,Ee,et,lt,Qt,Ct).recognize().pipe((0,Z.w)(xi=>null===xi?function Ks(Ae){return new D.y(te=>te.error(Ae))}(new cc):(0,_.of)(xi)))}class qa{constructor(te,Ee,et,lt,Ct,Qt,xi){this.injector=te,this.rootComponentType=Ee,this.config=et,this.urlTree=lt,this.url=Ct,this.paramsInheritanceStrategy=Qt,this.urlSerializer=xi}recognize(){const te=Xr(this.urlTree.root,[],[],this.config.filter(Ee=>void 0===Ee.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,te,Y).pipe((0,W.U)(Ee=>{if(null===Ee)return null;const et=new Vr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Y,this.rootComponentType,null,this.urlTree.root,-1,{}),lt=new sa(et,Ee),Ct=new Ta(this.url,lt);return this.inheritParamsAndData(Ct._root),Ct}))}inheritParamsAndData(te){const Ee=te.value,et=ta(Ee,this.paramsInheritanceStrategy);Ee.params=Object.freeze(et.params),Ee.data=Object.freeze(et.data),te.children.forEach(lt=>this.inheritParamsAndData(lt))}processSegmentGroup(te,Ee,et,lt){return 0===et.segments.length&&et.hasChildren()?this.processChildren(te,Ee,et):this.processSegment(te,Ee,et,et.segments,lt)}processChildren(te,Ee,et){return(0,t.D)(Object.keys(et.children)).pipe((0,pe.b)(lt=>{const Ct=et.children[lt],Qt=Rr(Ee,lt);return this.processSegmentGroup(te,Qt,Ct,lt)}),(0,fe.R)((lt,Ct)=>lt&&Ct?(lt.push(...Ct),lt):null),(0,R.o)(lt=>null!==lt),(0,h.d)(null),I(),(0,W.U)(lt=>{if(null===lt)return null;const Ct=ir(lt);return function Wo(Ae){Ae.sort((te,Ee)=>te.value.outlet===Y?-1:Ee.value.outlet===Y?1:te.value.outlet.localeCompare(Ee.value.outlet))}(Ct),Ct}))}processSegment(te,Ee,et,lt,Ct){return(0,t.D)(Ee).pipe((0,pe.b)(Qt=>this.processSegmentAgainstRoute(Qt._injector??te,Qt,et,lt,Ct)),(0,se.P)(Qt=>!!Qt),(0,re.K)(Qt=>{if(Mt(Qt))return Vi(et,lt,Ct)?(0,_.of)([]):(0,_.of)(null);throw Qt}))}processSegmentAgainstRoute(te,Ee,et,lt,Ct){if(Ee.redirectTo||!ns(Ee,et,lt,Ct))return(0,_.of)(null);let Qt;if("**"===Ee.path){const xi=lt.length>0?Me(lt).parameters:{},Ui=Ko(et)+lt.length,an=new Vr(lt,xi,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,$r(Ee),da(Ee),Ee.component??Ee._loadedComponent??null,Ee,ra(et),Ui,Hn(Ee));Qt=(0,_.of)({snapshot:an,consumedSegments:[],remainingSegments:[]})}else Qt=lr(et,Ee,lt,te,this.urlSerializer).pipe((0,W.U)(({matched:xi,consumedSegments:Ui,remainingSegments:an,parameters:pn})=>{if(!xi)return null;const En=Ko(et)+Ui.length;return{snapshot:new Vr(Ui,pn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,$r(Ee),da(Ee),Ee.component??Ee._loadedComponent??null,Ee,ra(et),En,Hn(Ee)),consumedSegments:Ui,remainingSegments:an}}));return Qt.pipe((0,Z.w)(xi=>{if(null===xi)return(0,_.of)(null);const{snapshot:Ui,consumedSegments:an,remainingSegments:pn}=xi;te=Ee._injector??te;const En=Ee._loadedInjector??te,Nn=function Ds(Ae){return Ae.children?Ae.children:Ae.loadChildren?Ae._loadedRoutes:[]}(Ee),{segmentGroup:Ir,slicedSegments:nr}=Xr(et,an,pn,Nn.filter(yo=>void 0===yo.redirectTo));if(0===nr.length&&Ir.hasChildren())return this.processChildren(En,Nn,Ir).pipe((0,W.U)(yo=>null===yo?null:[new sa(Ui,yo)]));if(0===Nn.length&&0===nr.length)return(0,_.of)([new sa(Ui,[])]);const La=da(Ee)===Ct;return this.processSegment(En,Nn,Ir,nr,La?Y:Ct).pipe((0,W.U)(yo=>null===yo?null:[new sa(Ui,yo)]))}))}}function cn(Ae){const te=Ae.value.routeConfig;return te&&""===te.path&&void 0===te.redirectTo}function ir(Ae){const te=[],Ee=new Set;for(const et of Ae){if(!cn(et)){te.push(et);continue}const lt=te.find(Ct=>et.value.routeConfig===Ct.value.routeConfig);void 0!==lt?(lt.children.push(...et.children),Ee.add(lt)):te.push(et)}for(const et of Ee){const lt=ir(et.children);te.push(new sa(et.value,lt))}return te.filter(et=>!Ee.has(et))}function ra(Ae){let te=Ae;for(;te._sourceSegment;)te=te._sourceSegment;return te}function Ko(Ae){let te=Ae,Ee=te._segmentIndexShift??0;for(;te._sourceSegment;)te=te._sourceSegment,Ee+=te._segmentIndexShift??0;return Ee-1}function $r(Ae){return Ae.data||{}}function Hn(Ae){return Ae.resolve||{}}function Ge(Ae,te){return(0,he.z)(Ee=>{const{targetSnapshot:et,guards:{canActivateChecks:lt}}=Ee;if(!lt.length)return(0,_.of)(Ee);let Ct=0;return(0,t.D)(lt).pipe((0,pe.b)(Qt=>function ve(Ae,te,Ee,et){const lt=Ae.routeConfig,Ct=Ae._resolve;return void 0!==lt?.title&&!He(lt)&&(Ct[Pe]=lt.title),function nt(Ae,te,Ee,et){const lt=function Bt(Ae){return[...Object.keys(Ae),...Object.getOwnPropertySymbols(Ae)]}(Ae);if(0===lt.length)return(0,_.of)({});const Ct={};return(0,t.D)(lt).pipe((0,he.z)(Qt=>function di(Ae,te,Ee,et){const lt=sr(te)??et,Ct=cr(Ae,lt);return ye(Ct.resolve?Ct.resolve(te,Ee):lt.runInContext(()=>Ct(te,Ee)))}(Ae[Qt],te,Ee,et).pipe((0,se.P)(),(0,le.b)(xi=>{Ct[Qt]=xi}))),o(1),(0,g.h)(Ct),(0,re.K)(Qt=>Mt(Qt)?k.E:(0,L._)(Qt)))}(Ct,Ae,te,et).pipe((0,W.U)(Qt=>(Ae._resolvedData=Qt,Ae.data=ta(Ae,Ee).resolve,lt&&He(lt)&&(Ae.data[Pe]=lt.title),null)))}(Qt.route,et,Ae,te)),(0,le.b)(()=>Ct++),o(1),(0,he.z)(Qt=>Ct===lt.length?(0,_.of)(Ee):k.E))})}function He(Ae){return"string"==typeof Ae.title||null===Ae.title}function tt(Ae){return(0,Z.w)(te=>{const Ee=Ae(te);return Ee?(0,t.D)(Ee).pipe((0,W.U)(()=>te)):(0,_.of)(te)})}const Je=new e.OlP("ROUTES");class Yt{constructor(te,Ee){this.injector=te,this.compiler=Ee,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(te){if(this.componentLoaders.get(te))return this.componentLoaders.get(te);if(te._loadedComponent)return(0,_.of)(te._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(te);const Ee=ye(te.loadComponent()).pipe((0,W.U)(ai),(0,le.b)(lt=>{this.onLoadEndListener&&this.onLoadEndListener(te),te._loadedComponent=lt}),(0,r.x)(()=>{this.componentLoaders.delete(te)})),et=new M.c(Ee,()=>new z.x).pipe((0,w.x)());return this.componentLoaders.set(te,et),et}loadChildren(te,Ee){if(this.childrenLoaders.get(Ee))return this.childrenLoaders.get(Ee);if(Ee._loadedRoutes)return(0,_.of)({routes:Ee._loadedRoutes,injector:Ee._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(Ee);const lt=this.loadModuleFactoryOrRoutes(Ee.loadChildren).pipe((0,W.U)(Qt=>{this.onLoadEndListener&&this.onLoadEndListener(Ee);let xi,Ui,an=!1;Array.isArray(Qt)?(Ui=Qt,an=!0):(xi=Qt.create(te).injector,Ui=Oe(xi.get(Je,[],e.XFs.Self|e.XFs.Optional)));const pn=Ui.map(xr);return{routes:pn,injector:xi}}),(0,r.x)(()=>{this.childrenLoaders.delete(Ee)})),Ct=new M.c(lt,()=>new z.x).pipe((0,w.x)());return this.childrenLoaders.set(Ee,Ct),Ct}loadModuleFactoryOrRoutes(te){return(this.injector,null)||ye(te()).pipe((0,W.U)(ai),(0,he.z)(et=>et instanceof e.YKP||Array.isArray(et)?(0,_.of)(et):(0,t.D)(this.compiler.compileModuleAsync(et))))}}function ai(Ae){return function si(Ae){return Ae&&"object"==typeof Ae&&"default"in Ae}(Ae)?Ae.default:Ae}Yt.\u0275fac=function(te){return new(te||Yt)(e.LFG(e.zs3),e.LFG(e.Sil))},Yt.\u0275prov=e.Yz7({token:Yt,factory:Yt.\u0275fac,providedIn:"root"});class Ii{constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new z.x,this.configLoader=(0,e.f3M)(Yt),this.environmentInjector=(0,e.f3M)(e.lqb),this.urlSerializer=(0,e.f3M)(rt),this.rootContexts=(0,e.f3M)(or),this.navigationId=0;this.configLoader.onLoadEndListener=et=>this.events.next(new Er(et)),this.configLoader.onLoadStartListener=et=>this.events.next(new Qa(et))}get hasRequestedNavigation(){return 0!==this.navigationId}complete(){this.transitions?.complete()}handleNavigationRequest(te){const Ee=++this.navigationId;this.transitions?.next({...this.transitions.value,...te,id:Ee})}setupNavigations(te){return this.transitions=new O.X({id:0,targetPageId:0,currentUrlTree:te.currentUrlTree,currentRawUrl:te.currentUrlTree,extractedUrl:te.urlHandlingStrategy.extract(te.currentUrlTree),urlAfterRedirects:te.urlHandlingStrategy.extract(te.currentUrlTree),rawUrl:te.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:te.routerState.snapshot,targetSnapshot:null,currentRouterState:te.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,ae.h)(Ee=>0!==Ee.id),(0,W.U)(Ee=>({...Ee,extractedUrl:te.urlHandlingStrategy.extract(Ee.rawUrl)})),(0,Z.w)(Ee=>{let et=!1,lt=!1;return(0,_.of)(Ee).pipe((0,le.b)(Ct=>{this.currentNavigation={id:Ct.id,initialUrl:Ct.rawUrl,extractedUrl:Ct.extractedUrl,trigger:Ct.source,extras:Ct.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,Z.w)(Ct=>{const Qt=te.browserUrlTree.toString(),xi=!te.navigated||Ct.extractedUrl.toString()!==Qt||Qt!==te.currentUrlTree.toString();if(("reload"===te.onSameUrlNavigation||xi)&&te.urlHandlingStrategy.shouldProcessUrl(Ct.rawUrl))return Ji(Ct.source)&&(te.browserUrlTree=Ct.extractedUrl),(0,_.of)(Ct).pipe((0,Z.w)(an=>{const pn=this.transitions?.getValue();return this.events.next(new oi(an.id,this.urlSerializer.serialize(an.extractedUrl),an.source,an.restoredState)),pn!==this.transitions?.getValue()?k.E:Promise.resolve(an)}),ll(this.environmentInjector,this.configLoader,this.urlSerializer,te.config),(0,le.b)(an=>{this.currentNavigation={...this.currentNavigation,finalUrl:an.urlAfterRedirects},Ee.urlAfterRedirects=an.urlAfterRedirects}),function $i(Ae,te,Ee,et,lt){return(0,he.z)(Ct=>Ss(Ae,te,Ee,Ct.urlAfterRedirects,et.serialize(Ct.urlAfterRedirects),et,lt).pipe((0,W.U)(Qt=>({...Ct,targetSnapshot:Qt}))))}(this.environmentInjector,te.rootComponentType,te.config,this.urlSerializer,te.paramsInheritanceStrategy),(0,le.b)(an=>{if(Ee.targetSnapshot=an.targetSnapshot,"eager"===te.urlUpdateStrategy){if(!an.extras.skipLocationChange){const En=te.urlHandlingStrategy.merge(an.urlAfterRedirects,an.rawUrl);te.setBrowserUrl(En,an)}te.browserUrlTree=an.urlAfterRedirects}const pn=new vn(an.id,this.urlSerializer.serialize(an.extractedUrl),this.urlSerializer.serialize(an.urlAfterRedirects),an.targetSnapshot);this.events.next(pn)}));if(xi&&te.rawUrlTree&&te.urlHandlingStrategy.shouldProcessUrl(te.rawUrlTree)){const{id:pn,extractedUrl:En,source:Nn,restoredState:Ir,extras:nr}=Ct,La=new oi(pn,this.urlSerializer.serialize(En),Nn,Ir);this.events.next(La);const yo=Fa(En,te.rootComponentType).snapshot;return Ee={...Ct,targetSnapshot:yo,urlAfterRedirects:En,extras:{...nr,skipLocationChange:!1,replaceUrl:!1}},(0,_.of)(Ee)}return te.rawUrlTree=Ct.rawUrl,Ct.resolve(null),k.E}),(0,le.b)(Ct=>{const Qt=new ga(Ct.id,this.urlSerializer.serialize(Ct.extractedUrl),this.urlSerializer.serialize(Ct.urlAfterRedirects),Ct.targetSnapshot);this.events.next(Qt)}),(0,W.U)(Ct=>Ee={...Ct,guards:qn(Ct.targetSnapshot,Ct.currentSnapshot,this.rootContexts)}),ci(this.environmentInjector,Ct=>this.events.next(Ct)),(0,le.b)(Ct=>{if(Ee.guardsResult=Ct.guardsResult,Te(Ct.guardsResult))throw qr(this.urlSerializer,Ct.guardsResult);const Qt=new gn(Ct.id,this.urlSerializer.serialize(Ct.extractedUrl),this.urlSerializer.serialize(Ct.urlAfterRedirects),Ct.targetSnapshot,!!Ct.guardsResult);this.events.next(Qt)}),(0,ae.h)(Ct=>!!Ct.guardsResult||(te.restoreHistory(Ct),this.cancelNavigationTransition(Ct,"",3,te),!1)),tt(Ct=>{if(Ct.guards.canActivateChecks.length)return(0,_.of)(Ct).pipe((0,le.b)(Qt=>{const xi=new Xn(Qt.id,this.urlSerializer.serialize(Qt.extractedUrl),this.urlSerializer.serialize(Qt.urlAfterRedirects),Qt.targetSnapshot);this.events.next(xi)}),(0,Z.w)(Qt=>{let xi=!1;return(0,_.of)(Qt).pipe(Ge(te.paramsInheritanceStrategy,this.environmentInjector),(0,le.b)({next:()=>xi=!0,complete:()=>{xi||(te.restoreHistory(Qt),this.cancelNavigationTransition(Qt,"",2,te))}}))}),(0,le.b)(Qt=>{const xi=new Qn(Qt.id,this.urlSerializer.serialize(Qt.extractedUrl),this.urlSerializer.serialize(Qt.urlAfterRedirects),Qt.targetSnapshot);this.events.next(xi)}))}),tt(Ct=>{const Qt=xi=>{const Ui=[];xi.routeConfig?.loadComponent&&!xi.routeConfig._loadedComponent&&Ui.push(this.configLoader.loadComponent(xi.routeConfig).pipe((0,le.b)(an=>{xi.component=an}),(0,W.U)(()=>{})));for(const an of xi.children)Ui.push(...Qt(an));return Ui};return(0,C.a)(Qt(Ct.targetSnapshot.root)).pipe((0,h.d)(),(0,X.q)(1))}),tt(()=>te.afterPreactivation()),(0,W.U)(Ct=>{const Qt=function ms(Ae,te,Ee){const et=Wa(Ae,te._root,Ee?Ee._root:void 0);return new na(et,te)}(te.routeReuseStrategy,Ct.targetSnapshot,Ct.currentRouterState);return Ee={...Ct,targetRouterState:Qt}}),(0,le.b)(Ct=>{te.currentUrlTree=Ct.urlAfterRedirects,te.rawUrlTree=te.urlHandlingStrategy.merge(Ct.urlAfterRedirects,Ct.rawUrl),te.routerState=Ct.targetRouterState,"deferred"===te.urlUpdateStrategy&&(Ct.extras.skipLocationChange||te.setBrowserUrl(te.rawUrlTree,Ct),te.browserUrlTree=Ct.urlAfterRedirects)}),((Ae,te,Ee)=>(0,W.U)(et=>(new ya(te,et.targetRouterState,et.currentRouterState,Ee).activate(Ae),et)))(this.rootContexts,te.routeReuseStrategy,Ct=>this.events.next(Ct)),(0,le.b)({next:Ct=>{et=!0,this.lastSuccessfulNavigation=this.currentNavigation,te.navigated=!0,this.events.next(new Vt(Ct.id,this.urlSerializer.serialize(Ct.extractedUrl),this.urlSerializer.serialize(te.currentUrlTree))),te.titleStrategy?.updateTitle(Ct.targetRouterState.snapshot),Ct.resolve(!0)},complete:()=>{et=!0}}),(0,r.x)(()=>{if(!et&&!lt){const Ct="";this.cancelNavigationTransition(Ee,Ct,1,te)}this.currentNavigation?.id===Ee.id&&(this.currentNavigation=null)}),(0,re.K)(Ct=>{if(lt=!0,rr(Ct)){Ao(Ct)||(te.navigated=!0,te.restoreHistory(Ee,!0));const Qt=new Wi(Ee.id,this.urlSerializer.serialize(Ee.extractedUrl),Ct.message,Ct.cancellationCode);if(this.events.next(Qt),Ao(Ct)){const xi=te.urlHandlingStrategy.merge(Ct.url,te.rawUrlTree),Ui={skipLocationChange:Ee.extras.skipLocationChange,replaceUrl:"eager"===te.urlUpdateStrategy||Ji(Ee.source)};te.scheduleNavigation(xi,"imperative",null,Ui,{resolve:Ee.resolve,reject:Ee.reject,promise:Ee.promise})}else Ee.resolve(!1)}else{te.restoreHistory(Ee,!0);const Qt=new Qi(Ee.id,this.urlSerializer.serialize(Ee.extractedUrl),Ct,Ee.targetSnapshot??void 0);this.events.next(Qt);try{Ee.resolve(te.errorHandler(Ct))}catch(xi){Ee.reject(xi)}}return k.E}))}))}cancelNavigationTransition(te,Ee,et,lt){const Ct=new Wi(te.id,this.urlSerializer.serialize(te.extractedUrl),Ee,et);this.events.next(Ct),te.resolve(!1)}}function Ji(Ae){return"imperative"!==Ae}Ii.\u0275fac=function(te){return new(te||Ii)},Ii.\u0275prov=e.Yz7({token:Ii,factory:Ii.\u0275fac,providedIn:"root"});class on{buildTitle(te){let Ee,et=te.root;for(;void 0!==et;)Ee=this.getResolvedTitleForRoute(et)??Ee,et=et.children.find(lt=>lt.outlet===Y);return Ee}getResolvedTitleForRoute(te){return te.data[Pe]}}on.\u0275fac=function(te){return new(te||on)},on.\u0275prov=e.Yz7({token:on,factory:function(){return(0,e.f3M)(un)},providedIn:"root"});class un extends on{constructor(te){super(),this.title=te}updateTitle(te){const Ee=this.buildTitle(te);void 0!==Ee&&this.title.setTitle(Ee)}}un.\u0275fac=function(te){return new(te||un)(e.LFG(N.Dx))},un.\u0275prov=e.Yz7({token:un,factory:un.\u0275fac,providedIn:"root"});class Tn{}Tn.\u0275fac=function(te){return new(te||Tn)},Tn.\u0275prov=e.Yz7({token:Tn,factory:function(){return(0,e.f3M)(Pa)},providedIn:"root"});class Xa{shouldDetach(te){return!1}store(te,Ee){}shouldAttach(te){return!1}retrieve(te){return null}shouldReuseRoute(te,Ee){return te.routeConfig===Ee.routeConfig}}class Pa extends Xa{}Pa.\u0275fac=function(){let Ae;return function(Ee){return(Ae||(Ae=e.n5z(Pa)))(Ee||Pa)}}(),Pa.\u0275prov=e.Yz7({token:Pa,factory:Pa.\u0275fac,providedIn:"root"});const _r=new e.OlP("",{providedIn:"root",factory:()=>({})});class Ha{}Ha.\u0275fac=function(te){return new(te||Ha)},Ha.\u0275prov=e.Yz7({token:Ha,factory:function(){return(0,e.f3M)(Ia)},providedIn:"root"});class Ia{shouldProcessUrl(te){return!0}extract(te){return te}merge(te,Ee){return te}}Ia.\u0275fac=function(te){return new(te||Ia)},Ia.\u0275prov=e.Yz7({token:Ia,factory:Ia.\u0275fac,providedIn:"root"});function Ja(Ae){throw Ae}function Go(Ae,te,Ee){return te.parse("/")}const Gr={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Zo={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};class Ea{constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,e.f3M)(e.c2e),this.isNgZoneEnabled=!1,this.options=(0,e.f3M)(_r,{optional:!0})||{},this.errorHandler=this.options.errorHandler||Ja,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Go,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,_.of)(void 0),this.urlHandlingStrategy=(0,e.f3M)(Ha),this.routeReuseStrategy=(0,e.f3M)(Tn),this.titleStrategy=(0,e.f3M)(on),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=Oe((0,e.f3M)(Je,{optional:!0})??[]),this.navigationTransitions=(0,e.f3M)(Ii),this.urlSerializer=(0,e.f3M)(rt),this.location=(0,e.f3M)(A.Ye),this.rootComponentType=null,this.isNgZoneEnabled=(0,e.f3M)(e.R0b)instanceof e.R0b&&e.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new qe,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Fa(this.currentUrlTree,this.rootComponentType),this.navigationTransitions.setupNavigations(this).subscribe(te=>{this.lastSuccessfulId=te.id,this.currentPageId=te.targetPageId},te=>{this.console.warn(`Unhandled Navigation Error: ${te}`)})}get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}resetRootComponentType(te){this.rootComponentType=te,this.routerState.root.component=this.rootComponentType}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(te=>{const Ee="popstate"===te.type?"popstate":"hashchange";"popstate"===Ee&&setTimeout(()=>{const et={replaceUrl:!0},lt=te.state?.navigationId?te.state:null;if(te.state){const Qt={...te.state};delete Qt.navigationId,delete Qt.\u0275routerPageId,0!==Object.keys(Qt).length&&(et.state=Qt)}const Ct=this.parseUrl(te.url);this.scheduleNavigation(Ct,Ee,lt,et)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(te){this.config=te.map(xr),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(te,Ee={}){const{relativeTo:et,queryParams:lt,fragment:Ct,queryParamsHandling:Qt,preserveFragment:xi}=Ee,Ui=et||this.routerState.root,an=xi?this.currentUrlTree.fragment:Ct;let pn=null;switch(Qt){case"merge":pn={...this.currentUrlTree.queryParams,...lt};break;case"preserve":pn=this.currentUrlTree.queryParams;break;default:pn=lt||null}return null!==pn&&(pn=this.removeEmptyProps(pn)),Li(Ui,this.currentUrlTree,te,pn,an??null)}navigateByUrl(te,Ee={skipLocationChange:!1}){const et=Te(te)?te:this.parseUrl(te),lt=this.urlHandlingStrategy.merge(et,this.rawUrlTree);return this.scheduleNavigation(lt,"imperative",null,Ee)}navigate(te,Ee={skipLocationChange:!1}){return function Rd(Ae){for(let te=0;te<Ae.length;te++){const Ee=Ae[te];if(null==Ee)throw new e.vHH(4008,false)}}(te),this.navigateByUrl(this.createUrlTree(te,Ee),Ee)}serializeUrl(te){return this.urlSerializer.serialize(te)}parseUrl(te){let Ee;try{Ee=this.urlSerializer.parse(te)}catch(et){Ee=this.malformedUriErrorHandler(et,this.urlSerializer,te)}return Ee}isActive(te,Ee){let et;if(et=!0===Ee?{...Gr}:!1===Ee?{...Zo}:Ee,Te(te))return ne(this.currentUrlTree,te,et);const lt=this.parseUrl(te);return ne(this.currentUrlTree,lt,et)}removeEmptyProps(te){return Object.keys(te).reduce((Ee,et)=>{const lt=te[et];return null!=lt&&(Ee[et]=lt),Ee},{})}scheduleNavigation(te,Ee,et,lt,Ct){if(this.disposed)return Promise.resolve(!1);let Qt,xi,Ui,an;return Ct?(Qt=Ct.resolve,xi=Ct.reject,Ui=Ct.promise):Ui=new Promise((pn,En)=>{Qt=pn,xi=En}),"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(et=this.location.getState()),an=et&&et.\u0275routerPageId?et.\u0275routerPageId:lt.replaceUrl||lt.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):an=0,this.navigationTransitions.handleNavigationRequest({targetPageId:an,source:Ee,restoredState:et,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:te,extras:lt,resolve:Qt,reject:xi,promise:Ui,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ui.catch(pn=>Promise.reject(pn))}setBrowserUrl(te,Ee){const et=this.urlSerializer.serialize(te),lt={...Ee.extras.state,...this.generateNgRouterState(Ee.id,Ee.targetPageId)};this.location.isCurrentPathEqualTo(et)||Ee.extras.replaceUrl?this.location.replaceState(et,"",lt):this.location.go(et,"",lt)}restoreHistory(te,Ee=!1){if("computed"===this.canceledNavigationResolution){const et=this.currentPageId-te.targetPageId;"popstate"!==te.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===et?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===et&&(this.resetState(te),this.browserUrlTree=te.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(et)}else"replace"===this.canceledNavigationResolution&&(Ee&&this.resetState(te),this.resetUrlToCurrentUrlTree())}resetState(te){this.routerState=te.currentRouterState,this.currentUrlTree=te.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,te.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(te,Ee){return"computed"===this.canceledNavigationResolution?{navigationId:te,\u0275routerPageId:Ee}:{navigationId:te}}}Ea.\u0275fac=function(te){return new(te||Ea)},Ea.\u0275prov=e.Yz7({token:Ea,factory:Ea.\u0275fac,providedIn:"root"});class eo{constructor(te,Ee,et,lt,Ct,Qt){this.router=te,this.route=Ee,this.tabIndexAttribute=et,this.renderer=lt,this.el=Ct,this.locationStrategy=Qt,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new z.x;const xi=Ct.nativeElement.tagName;this.isAnchorElement="A"===xi||"AREA"===xi,this.isAnchorElement?this.subscription=te.events.subscribe(Ui=>{Ui instanceof Vt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(te){this._preserveFragment=(0,e.D6c)(te)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(te){this._skipLocationChange=(0,e.D6c)(te)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(te){this._replaceUrl=(0,e.D6c)(te)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(te){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",te)}ngOnChanges(te){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(te){null!=te?(this.commands=Array.isArray(te)?te:[te],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(te,Ee,et,lt,Ct){if(null===this.urlTree||this.isAnchorElement&&(0!==te||Ee||et||lt||Ct||"string"==typeof this.target&&"_self"!=this.target))return!0;const Qt={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state};return this.router.navigateByUrl(this.urlTree,Qt),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const te=null===this.href?null:(0,e.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",te)}applyAttributeValue(te,Ee){const et=this.renderer,lt=this.el.nativeElement;null!==Ee?et.setAttribute(lt,te,Ee):et.removeAttribute(lt,te)}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})}}eo.\u0275fac=function(te){return new(te||eo)(e.Y36(Ea),e.Y36(ja),e.$8M("tabindex"),e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(A.S$))},eo.\u0275dir=e.lG2({type:eo,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(te,Ee){1&te&&e.NdJ("click",function(lt){return Ee.onClick(lt.button,lt.ctrlKey,lt.shiftKey,lt.altKey,lt.metaKey)}),2&te&&e.uIk("target",Ee.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:[e.TTD]});class lc{constructor(te,Ee,et,lt,Ct){this.router=te,this.element=Ee,this.renderer=et,this.cdr=lt,this.link=Ct,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new e.vpe,this.routerEventsSubscription=te.events.subscribe(Qt=>{Qt instanceof Vt&&this.update()})}ngAfterContentInit(){(0,_.of)(this.links.changes,(0,_.of)(null)).pipe((0,V.J)()).subscribe(te=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const te=[...this.links.toArray(),this.link].filter(Ee=>!!Ee).map(Ee=>Ee.onChanges);this.linkInputChangesSubscription=(0,t.D)(te).pipe((0,V.J)()).subscribe(Ee=>{this.isActive!==this.isLinkActive(this.router)(Ee)&&this.update()})}set routerLinkActive(te){const Ee=Array.isArray(te)?te:te.split(" ");this.classes=Ee.filter(et=>!!et)}ngOnChanges(te){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const te=this.hasActiveLinks();this.isActive!==te&&(this.isActive=te,this.cdr.markForCheck(),this.classes.forEach(Ee=>{te?this.renderer.addClass(this.element.nativeElement,Ee):this.renderer.removeClass(this.element.nativeElement,Ee)}),te&&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(te))})}isLinkActive(te){const Ee=function Gl(Ae){return!!Ae.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return et=>!!et.urlTree&&te.isActive(et.urlTree,Ee)}hasActiveLinks(){const te=this.isLinkActive(this.router);return this.link&&te(this.link)||this.links.some(te)}}lc.\u0275fac=function(te){return new(te||lc)(e.Y36(Ea),e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(e.sBO),e.Y36(eo,8))},lc.\u0275dir=e.lG2({type:lc,selectors:[["","routerLinkActive",""]],contentQueries:function(te,Ee,et){if(1&te&&e.Suo(et,eo,5),2&te){let lt;e.iGM(lt=e.CRH())&&(Ee.links=lt)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[e.TTD]});class Zl{}class Fc{preload(te,Ee){return Ee().pipe((0,re.K)(()=>(0,_.of)(null)))}}Fc.\u0275fac=function(te){return new(te||Fc)},Fc.\u0275prov=e.Yz7({token:Fc,factory:Fc.\u0275fac,providedIn:"root"});class Gs{preload(te,Ee){return(0,_.of)(null)}}Gs.\u0275fac=function(te){return new(te||Gs)},Gs.\u0275prov=e.Yz7({token:Gs,factory:Gs.\u0275fac,providedIn:"root"});class Zs{constructor(te,Ee,et,lt,Ct){this.router=te,this.injector=et,this.preloadingStrategy=lt,this.loader=Ct}setUpPreloading(){this.subscription=this.router.events.pipe((0,ae.h)(te=>te instanceof Vt),(0,pe.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(te,Ee){const et=[];for(const lt of Ee){lt.providers&&!lt._injector&&(lt._injector=(0,e.MMx)(lt.providers,te,`Route: ${lt.path}`));const Ct=lt._injector??te,Qt=lt._loadedInjector??Ct;lt.loadChildren&&!lt._loadedRoutes&&void 0===lt.canLoad||lt.loadComponent&&!lt._loadedComponent?et.push(this.preloadConfig(Ct,lt)):(lt.children||lt._loadedRoutes)&&et.push(this.processRoutes(Qt,lt.children??lt._loadedRoutes))}return(0,t.D)(et).pipe((0,V.J)())}preloadConfig(te,Ee){return this.preloadingStrategy.preload(Ee,()=>{let et;et=Ee.loadChildren&&void 0===Ee.canLoad?this.loader.loadChildren(te,Ee):(0,_.of)(null);const lt=et.pipe((0,he.z)(Ct=>null===Ct?(0,_.of)(void 0):(Ee._loadedRoutes=Ct.routes,Ee._loadedInjector=Ct.injector,this.processRoutes(Ct.injector??te,Ct.routes))));if(Ee.loadComponent&&!Ee._loadedComponent){const Ct=this.loader.loadComponent(Ee);return(0,t.D)([lt,Ct]).pipe((0,V.J)())}return lt})}}Zs.\u0275fac=function(te){return new(te||Zs)(e.LFG(Ea),e.LFG(e.Sil),e.LFG(e.lqb),e.LFG(Zl),e.LFG(Yt))},Zs.\u0275prov=e.Yz7({token:Zs,factory:Zs.\u0275fac,providedIn:"root"});const dl=new e.OlP("");class dc{constructor(te,Ee,et,lt,Ct={}){this.urlSerializer=te,this.transitions=Ee,this.viewportScroller=et,this.zone=lt,this.options=Ct,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Ct.scrollPositionRestoration=Ct.scrollPositionRestoration||"disabled",Ct.anchorScrolling=Ct.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(te=>{te instanceof oi?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=te.navigationTrigger,this.restoredId=te.restoredState?te.restoredState.navigationId:0):te instanceof Vt&&(this.lastId=te.id,this.scheduleScrollEvent(te,this.urlSerializer.parse(te.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(te=>{te instanceof ji&&(te.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(te.position):te.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(te.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(te,Ee){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new ji(te,"popstate"===this.lastSource?this.store[this.restoredId]:null,Ee))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}dc.\u0275fac=function(te){e.$Z()},dc.\u0275prov=e.Yz7({token:dc,factory:dc.\u0275fac});function Bd(Ae){return Ae.routerState.root}function uc(Ae,te){return{\u0275kind:Ae,\u0275providers:te}}const mc=new e.OlP("",{providedIn:"root",factory:()=>!1});e.Xts;function fc(){const Ae=(0,e.f3M)(e.zs3);return te=>{const Ee=Ae.get(e.z2F);if(te!==Ee.components[0])return;const et=Ae.get(Ea),lt=Ae.get(Yo);1===Ae.get(Ts)&&et.initialNavigation(),Ae.get(Fd,null,e.XFs.Optional)?.setUpPreloading(),Ae.get(dl,null,e.XFs.Optional)?.init(),et.resetRootComponentType(Ee.componentTypes[0]),lt.closed||(lt.next(),lt.unsubscribe())}}const Yo=new e.OlP("",{factory:()=>new z.x}),Ts=new e.OlP("",{providedIn:"root",factory:()=>1});function W1(){return uc(2,[{provide:Ts,useValue:0},{provide:e.ip1,multi:!0,deps:[e.zs3],useFactory:te=>{const Ee=te.get(A.V_,Promise.resolve());return()=>Ee.then(()=>new Promise(lt=>{const Ct=te.get(Ea),Qt=te.get(Yo);(function et(lt){te.get(Ea).events.pipe((0,ae.h)(Qt=>Qt instanceof Vt||Qt instanceof Wi||Qt instanceof Qi),(0,W.U)(Qt=>Qt instanceof Vt||Qt instanceof Wi&&(0===Qt.code||1===Qt.code)&&null),(0,ae.h)(Qt=>null!==Qt),(0,X.q)(1)).subscribe(()=>{lt()})})(()=>{lt(!0)}),Ct.afterPreactivation=()=>(lt(!0),Qt.closed?(0,_.of)(void 0):Qt),Ct.initialNavigation()}))}}])}const Fd=new e.OlP("");const Hc=new e.OlP("ROUTER_FORROOT_GUARD"),zd=[A.Ye,{provide:rt,useClass:Ot},Ea,or,{provide:ja,useFactory:Bd,deps:[Ea]},Yt,[]];function _c(){return new e.PXZ("Router",Ea)}class uo{constructor(te){}static forRoot(te,Ee){return{ngModule:uo,providers:[zd,[],{provide:Je,multi:!0,useValue:te},{provide:Hc,useFactory:G1,deps:[[Ea,new e.FiY,new e.tp0]]},{provide:_r,useValue:Ee||{}},Ee?.useHash?{provide:A.S$,useClass:A.Do}:{provide:A.S$,useClass:A.b0},{provide:dl,useFactory:()=>{const Ae=(0,e.f3M)(A.EM),te=(0,e.f3M)(e.R0b),Ee=(0,e.f3M)(_r),et=(0,e.f3M)(Ii),lt=(0,e.f3M)(rt);return Ee.scrollOffset&&Ae.setOffset(Ee.scrollOffset),new dc(lt,et,Ae,te,Ee)}},Ee?.preloadingStrategy?(Ae=Ee.preloadingStrategy,uc(0,[{provide:Fd,useExisting:Zs},{provide:Zl,useExisting:Ae}])).\u0275providers:[],{provide:e.PXZ,multi:!0,useFactory:_c},Ee?.initialNavigation?Ys(Ee):[],[{provide:Z1,useFactory:fc},{provide:e.tb,multi:!0,useExisting:Z1}]]};var Ae}static forChild(te){return{ngModule:uo,providers:[{provide:Je,multi:!0,useValue:te}]}}}function G1(Ae){return"guarded"}function Ys(Ae){return["disabled"===Ae.initialNavigation?uc(3,[{provide:e.ip1,multi:!0,useFactory:()=>{const te=(0,e.f3M)(Ea);return()=>{te.setUpLocationChangeListener()}}},{provide:Ts,useValue:2}]).\u0275providers:[],"enabledBlocking"===Ae.initialNavigation?W1().\u0275providers:[]]}uo.\u0275fac=function(te){return new(te||uo)(e.LFG(Hc,8))},uo.\u0275mod=e.oAB({type:uo}),uo.\u0275inj=e.cJS({imports:[br]});const Z1=new e.OlP("");new e.GfV("15.0.3")},3505:(Ye,J,f)=>{"use strict";f.d(J,{BN:()=>Hn,uH:()=>di});var e=f(2560);function t(He,tt){var vt=Object.keys(He);if(Object.getOwnPropertySymbols){var Ht=Object.getOwnPropertySymbols(He);tt&&(Ht=Ht.filter(function(Je){return Object.getOwnPropertyDescriptor(He,Je).enumerable})),vt.push.apply(vt,Ht)}return vt}function _(He){for(var tt=1;tt<arguments.length;tt++){var vt=null!=arguments[tt]?arguments[tt]:{};tt%2?t(Object(vt),!0).forEach(function(Ht){p(He,Ht,vt[Ht])}):Object.getOwnPropertyDescriptors?Object.defineProperties(He,Object.getOwnPropertyDescriptors(vt)):t(Object(vt)).forEach(function(Ht){Object.defineProperty(He,Ht,Object.getOwnPropertyDescriptor(vt,Ht))})}return He}function O(He){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(tt){return typeof tt}:function(tt){return tt&&"function"==typeof Symbol&&tt.constructor===Symbol&&tt!==Symbol.prototype?"symbol":typeof tt})(He)}function u(He,tt){for(var vt=0;vt<tt.length;vt++){var Ht=tt[vt];Ht.enumerable=Ht.enumerable||!1,Ht.configurable=!0,"value"in Ht&&(Ht.writable=!0),Object.defineProperty(He,Ht.key,Ht)}}function p(He,tt,vt){return tt in He?Object.defineProperty(He,tt,{value:vt,enumerable:!0,configurable:!0,writable:!0}):He[tt]=vt,He}function k(He,tt){return function A(He){if(Array.isArray(He))return He}(He)||function Z(He,tt){var vt=null==He?null:typeof Symbol<"u"&&He[Symbol.iterator]||He["@@iterator"];if(null!=vt){var si,ai,Ht=[],Je=!0,Yt=!1;try{for(vt=vt.call(He);!(Je=(si=vt.next()).done)&&(Ht.push(si.value),!tt||Ht.length!==tt);Je=!0);}catch(Ci){Yt=!0,ai=Ci}finally{try{!Je&&null!=vt.return&&vt.return()}finally{if(Yt)throw ai}}return Ht}}(He,tt)||X(He,tt)||function he(){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 M(He){return function z(He){if(Array.isArray(He))return $(He)}(He)||function W(He){if(typeof Symbol<"u"&&null!=He[Symbol.iterator]||null!=He["@@iterator"])return Array.from(He)}(He)||X(He)||function ae(){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 X(He,tt){if(He){if("string"==typeof He)return $(He,tt);var vt=Object.prototype.toString.call(He).slice(8,-1);if("Object"===vt&&He.constructor&&(vt=He.constructor.name),"Map"===vt||"Set"===vt)return Array.from(He);if("Arguments"===vt||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(vt))return $(He,tt)}}function $(He,tt){(null==tt||tt>He.length)&&(tt=He.length);for(var vt=0,Ht=new Array(tt);vt<tt;vt++)Ht[vt]=He[vt];return Ht}var se=function(){},pe={},le={},re=null,fe={mark:se,measure:se};try{typeof window<"u"&&(pe=window),typeof document<"u"&&(le=document),typeof MutationObserver<"u"&&(re=MutationObserver),typeof performance<"u"&&(fe=performance)}catch{}var w,V,N,Y,Pe,i=(pe.navigator||{}).userAgent,o=void 0===i?"":i,m=pe,h=le,x=re,I=fe,g=(m.document,!!h.documentElement&&!!h.head&&"function"==typeof h.addEventListener&&"function"==typeof h.createElement),r=~o.indexOf("MSIE")||~o.indexOf("Trident/"),Ce="___FONT_AWESOME___",Ke="svg-inline--fa",ge="data-fa-i2svg",$e="data-fa-pseudo-element",Me="data-prefix",De="data-icon",Ue="fontawesome-i2svg",we=["HTML","HEAD","STYLE","SCRIPT"],ie=function(){try{return!0}catch{return!1}}(),Se="classic",ne="sharp",K=[Se,ne];function ee(He){return new Proxy(He,{get:function(vt,Ht){return Ht in vt?vt[Ht]:vt[Se]}})}var ze=ee((p(w={},Se,{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"}),p(w,ne,{fa:"solid",fass:"solid","fa-solid":"solid"}),w)),Ve=ee((p(V={},Se,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),p(V,ne,{solid:"fass"}),V)),oe=ee((p(N={},Se,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),p(N,ne,{fass:"fa-solid"}),N)),at=ee((p(Y={},Se,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),p(Y,ne,{"fa-solid":"fass"}),Y)),qe=/fa(s|r|l|t|d|b|k|ss)?[\-\ ]/,it="fa-layers-text",ii=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,bt=ee((p(Pe={},Se,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),p(Pe,ne,{900:"fass"}),Pe)),st=[1,2,3,4,5,6,7,8,9,10],Be=st.concat([11,12,13,14,15,16,17,18,19,20]),rt=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Ot_GROUP="duotone-group",Ot_SWAP_OPACITY="swap-opacity",Ot_PRIMARY="primary",Ot_SECONDARY="secondary",Gt=new Set;Object.keys(Ve[Se]).map(Gt.add.bind(Gt)),Object.keys(Ve[ne]).map(Gt.add.bind(Gt));var kt=[].concat(K,M(Gt),["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",Ot_GROUP,Ot_SWAP_OPACITY,Ot_PRIMARY,Ot_SECONDARY]).concat(st.map(function(He){return"".concat(He,"x")})).concat(Be.map(function(He){return"w-".concat(He)})),Rt=m.FontAwesomeConfig||{};if(h&&"function"==typeof h.querySelector){[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(function(He){var tt=k(He,2),vt=tt[0],Ht=tt[1],Je=function Jt(He){return""===He||"false"!==He&&("true"===He||He)}(function yi(He){var tt=h.querySelector("script["+He+"]");if(tt)return tt.getAttribute(He)}(vt));null!=Je&&(Rt[Ht]=Je)})}var mi={styleDefault:"solid",familyDefault:"classic",cssPrefix:"fa",replacementClass:Ke,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Rt.familyPrefix&&(Rt.cssPrefix=Rt.familyPrefix);var Re=_(_({},mi),Rt);Re.autoReplaceSvg||(Re.observeMutations=!1);var U={};Object.keys(mi).forEach(function(He){Object.defineProperty(U,He,{enumerable:!0,set:function(vt){Re[He]=vt,j.forEach(function(Ht){return Ht(U)})},get:function(){return Re[He]}})}),Object.defineProperty(U,"familyPrefix",{enumerable:!0,set:function(tt){Re.cssPrefix=tt,j.forEach(function(vt){return vt(U)})},get:function(){return Re.cssPrefix}}),m.FontAwesomeConfig=U;var j=[];var wt={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function ot(){for(var He=12,tt="";He-- >0;)tt+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return tt}function We(He){for(var tt=[],vt=(He||[]).length>>>0;vt--;)tt[vt]=He[vt];return tt}function gt(He){return He.classList?We(He.classList):(He.getAttribute("class")||"").split(" ").filter(function(tt){return tt})}function ri(He){return"".concat(He).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Ft(He){return Object.keys(He||{}).reduce(function(tt,vt){return tt+"".concat(vt,": ").concat(He[vt].trim(),";")},"")}function qt(He){return He.size!==wt.size||He.x!==wt.x||He.y!==wt.y||He.rotate!==wt.rotate||He.flipX||He.flipY}function _t(){var tt=Ke,vt=U.cssPrefix,Ht=U.replacementClass,Je=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n transition-delay: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';if("fa"!==vt||Ht!==tt){var Yt=new RegExp("\\.".concat("fa","\\-"),"g"),si=new RegExp("\\--".concat("fa","\\-"),"g"),ai=new RegExp("\\.".concat(tt),"g");Je=Je.replace(Yt,".".concat(vt,"-")).replace(si,"--".concat(vt,"-")).replace(ai,".".concat(Ht))}return Je}var Lt=!1;function Li(){U.autoAddCss&&!Lt&&(function Et(He){if(He&&g){var tt=h.createElement("style");tt.setAttribute("type","text/css"),tt.innerHTML=He;for(var vt=h.head.childNodes,Ht=null,Je=vt.length-1;Je>-1;Je--){var Yt=vt[Je],si=(Yt.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(si)>-1&&(Ht=Yt)}return h.head.insertBefore(tt,Ht),He}}(_t()),Lt=!0)}var Ai={mixout:function(){return{dom:{css:_t,insertCss:Li}}},hooks:function(){return{beforeDOMElementCreation:function(){Li()},beforeI2svg:function(){Li()}}}},wi=m||{};wi[Ce]||(wi[Ce]={}),wi[Ce].styles||(wi[Ce].styles={}),wi[Ce].hooks||(wi[Ce].hooks={}),wi[Ce].shims||(wi[Ce].shims=[]);var zi=wi[Ce],xt=[],Fe=!1;function Wt(He){!g||(Fe?setTimeout(He,0):xt.push(He))}function Xt(He){var tt=He.tag,vt=He.attributes,Ht=void 0===vt?{}:vt,Je=He.children,Yt=void 0===Je?[]:Je;return"string"==typeof He?ri(He):"<".concat(tt," ").concat(function Pt(He){return Object.keys(He||{}).reduce(function(tt,vt){return tt+"".concat(vt,'="').concat(ri(He[vt]),'" ')},"").trim()}(Ht),">").concat(Yt.map(Xt).join(""),"</").concat(tt,">")}function _i(He,tt,vt){if(He&&He[tt]&&He[tt][vt])return{prefix:tt,iconName:vt,icon:He[tt][vt]}}g&&((Fe=(h.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(h.readyState))||h.addEventListener("DOMContentLoaded",function He(){h.removeEventListener("DOMContentLoaded",He),Fe=1,xt.map(function(tt){return tt()})}));var ki=function(tt,vt,Ht,Je){var Ci,Ii,Ji,Yt=Object.keys(tt),si=Yt.length,ai=void 0!==Je?function(tt,vt){return function(Ht,Je,Yt,si){return tt.call(vt,Ht,Je,Yt,si)}}(vt,Je):vt;for(void 0===Ht?(Ci=1,Ji=tt[Yt[0]]):(Ci=0,Ji=Ht);Ci<si;Ci++)Ji=ai(Ji,tt[Ii=Yt[Ci]],Ii,tt);return Ji};function ti(He){var tt=function Ki(He){for(var tt=[],vt=0,Ht=He.length;vt<Ht;){var Je=He.charCodeAt(vt++);if(Je>=55296&&Je<=56319&&vt<Ht){var Yt=He.charCodeAt(vt++);56320==(64512&Yt)?tt.push(((1023&Je)<<10)+(1023&Yt)+65536):(tt.push(Je),vt--)}else tt.push(Je)}return tt}(He);return 1===tt.length?tt[0].toString(16):null}function ke(He){return Object.keys(He).reduce(function(tt,vt){var Ht=He[vt];return!!Ht.icon?tt[Ht.iconName]=Ht.icon:tt[vt]=Ht,tt},{})}function ft(He,tt){var vt=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},Ht=vt.skipHooks,Je=void 0!==Ht&&Ht,Yt=ke(tt);"function"!=typeof zi.hooks.addPack||Je?zi.styles[He]=_(_({},zi.styles[He]||{}),Yt):zi.hooks.addPack(He,ke(tt)),"fas"===He&&ft("fa",tt)}var ui,$t,oi,Vt=zi.styles,Wi=zi.shims,Qi=(p(ui={},Se,Object.values(oe[Se])),p(ui,ne,Object.values(oe[ne])),ui),vn=null,ga={},gn={},Xn={},Qn={},Qa={},Er=(p($t={},Se,Object.keys(ze[Se])),p($t,ne,Object.keys(ze[ne])),$t);function Kt(He,tt){var vt=tt.split("-"),Ht=vt[0],Je=vt.slice(1).join("-");return Ht!==He||""===Je||function At(He){return~kt.indexOf(He)}(Je)?null:Je}var pi=function(){var tt=function(Yt){return ki(Vt,function(si,ai,Ci){return si[Ci]=ki(ai,Yt,{}),si},{})};ga=tt(function(Je,Yt,si){(Yt[3]&&(Je[Yt[3]]=si),Yt[2])&&Yt[2].filter(function(Ci){return"number"==typeof Ci}).forEach(function(Ci){Je[Ci.toString(16)]=si});return Je}),gn=tt(function(Je,Yt,si){(Je[si]=si,Yt[2])&&Yt[2].filter(function(Ci){return"string"==typeof Ci}).forEach(function(Ci){Je[Ci]=si});return Je}),Qa=tt(function(Je,Yt,si){var ai=Yt[2];return Je[si]=si,ai.forEach(function(Ci){Je[Ci]=si}),Je});var vt="far"in Vt||U.autoFetchSvg,Ht=ki(Wi,function(Je,Yt){var si=Yt[0],ai=Yt[1],Ci=Yt[2];return"far"===ai&&!vt&&(ai="fas"),"string"==typeof si&&(Je.names[si]={prefix:ai,iconName:Ci}),"number"==typeof si&&(Je.unicodes[si.toString(16)]={prefix:ai,iconName:Ci}),Je},{names:{},unicodes:{}});Xn=Ht.names,Qn=Ht.unicodes,vn=An(U.styleDefault,{family:U.familyDefault})};function Di(He,tt){return(ga[He]||{})[tt]}function Fi(He,tt){return(Qa[He]||{})[tt]}function sn(He){return Xn[He]||{prefix:null,iconName:null}}function kn(){return vn}(function ue(He){return j.push(He),function(){j.splice(j.indexOf(He),1)}})(function(He){vn=An(He.styleDefault,{family:U.familyDefault})}),pi();function An(He){var tt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},vt=tt.family,Ht=void 0===vt?Se:vt,Je=ze[Ht][He],Yt=Ve[Ht][He]||Ve[Ht][Je],si=He in zi.styles?He:null;return Yt||si||null}var na=(p(oi={},Se,Object.keys(oe[Se])),p(oi,ne,Object.keys(oe[ne])),oi);function Fa(He){var tt,vt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Ht=vt.skipLookups,Je=void 0!==Ht&&Ht,Yt=(p(tt={},Se,"".concat(U.cssPrefix,"-").concat(Se)),p(tt,ne,"".concat(U.cssPrefix,"-").concat(ne)),tt),si=null,ai=Se;(He.includes(Yt[Se])||He.some(function(Ii){return na[Se].includes(Ii)}))&&(ai=Se),(He.includes(Yt[ne])||He.some(function(Ii){return na[ne].includes(Ii)}))&&(ai=ne);var Ci=He.reduce(function(Ii,Ji){var on=Kt(U.cssPrefix,Ji);if(Vt[Ji]?(Ji=Qi[ai].includes(Ji)?at[ai][Ji]:Ji,si=Ji,Ii.prefix=Ji):Er[ai].indexOf(Ji)>-1?(si=Ji,Ii.prefix=An(Ji,{family:ai})):on?Ii.iconName=on:Ji!==U.replacementClass&&Ji!==Yt[Se]&&Ji!==Yt[ne]&&Ii.rest.push(Ji),!Je&&Ii.prefix&&Ii.iconName){var un="fa"===si?sn(Ii.iconName):{},Tn=Fi(Ii.prefix,Ii.iconName);un.prefix&&(si=null),Ii.iconName=un.iconName||Tn||Ii.iconName,Ii.prefix=un.prefix||Ii.prefix,"far"===Ii.prefix&&!Vt.far&&Vt.fas&&!U.autoFetchSvg&&(Ii.prefix="fas")}return Ii},{prefix:null,iconName:null,rest:[]});return(He.includes("fa-brands")||He.includes("fab"))&&(Ci.prefix="fab"),(He.includes("fa-duotone")||He.includes("fad"))&&(Ci.prefix="fad"),!Ci.prefix&&ai===ne&&(Vt.fass||U.autoFetchSvg)&&(Ci.prefix="fass",Ci.iconName=Fi(Ci.prefix,Ci.iconName)||Ci.iconName),("fa"===Ci.prefix||"fa"===si)&&(Ci.prefix=kn()||"fas"),Ci}var jn=function(){function He(){(function C(He,tt){if(!(He instanceof tt))throw new TypeError("Cannot call a class as a function")})(this,He),this.definitions={}}return function P(He,tt,vt){return tt&&u(He.prototype,tt),vt&&u(He,vt),Object.defineProperty(He,"prototype",{writable:!1}),He}(He,[{key:"add",value:function(){for(var vt=this,Ht=arguments.length,Je=new Array(Ht),Yt=0;Yt<Ht;Yt++)Je[Yt]=arguments[Yt];var si=Je.reduce(this._pullDefinitions,{});Object.keys(si).forEach(function(ai){vt.definitions[ai]=_(_({},vt.definitions[ai]||{}),si[ai]),ft(ai,si[ai]);var Ci=oe[Se][ai];Ci&&ft(Ci,si[ai]),pi()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(vt,Ht){var Je=Ht.prefix&&Ht.iconName&&Ht.icon?{0:Ht}:Ht;return Object.keys(Je).map(function(Yt){var si=Je[Yt],ai=si.prefix,Ci=si.iconName,Ii=si.icon,Ji=Ii[2];vt[ai]||(vt[ai]={}),Ji.length>0&&Ji.forEach(function(on){"string"==typeof on&&(vt[ai][on]=Ii)}),vt[ai][Ci]=Ii}),vt}}]),He}(),ja=[],ta={},Va={},Vr=Object.keys(Va);function vr(He,tt){for(var vt=arguments.length,Ht=new Array(vt>2?vt-2:0),Je=2;Je<vt;Je++)Ht[Je-2]=arguments[Je];var Yt=ta[He]||[];return Yt.forEach(function(si){tt=si.apply(null,[tt].concat(Ht))}),tt}function Zn(He){for(var tt=arguments.length,vt=new Array(tt>1?tt-1:0),Ht=1;Ht<tt;Ht++)vt[Ht-1]=arguments[Ht];var Je=ta[He]||[];Je.forEach(function(Yt){Yt.apply(null,vt)})}function Aa(){var He=arguments[0],tt=Array.prototype.slice.call(arguments,1);return Va[He]?Va[He].apply(null,tt):void 0}function la(He){"fa"===He.prefix&&(He.prefix="fas");var tt=He.iconName,vt=He.prefix||kn();if(tt)return tt=Fi(vt,tt)||tt,_i(ms.definitions,vt,tt)||_i(zi.styles,vt,tt)}var ms=new jn,es={i2svg:function(){var tt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return g?(Zn("beforeI2svg",tt),Aa("pseudoElements2svg",tt),Aa("i2svg",tt)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var tt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},vt=tt.autoReplaceSvgRoot;!1===U.autoReplaceSvg&&(U.autoReplaceSvg=!0),U.observeMutations=!0,Wt(function(){qr({autoReplaceSvgRoot:vt}),Zn("watch",tt)})}},Jn={noAuto:function(){U.autoReplaceSvg=!1,U.observeMutations=!1,Zn("noAuto")},config:U,dom:es,parse:{icon:function(tt){if(null===tt)return null;if("object"===O(tt)&&tt.prefix&&tt.iconName)return{prefix:tt.prefix,iconName:Fi(tt.prefix,tt.iconName)||tt.iconName};if(Array.isArray(tt)&&2===tt.length){var vt=0===tt[1].indexOf("fa-")?tt[1].slice(3):tt[1],Ht=An(tt[0]);return{prefix:Ht,iconName:Fi(Ht,vt)||vt}}if("string"==typeof tt&&(tt.indexOf("".concat(U.cssPrefix,"-"))>-1||tt.match(qe))){var Je=Fa(tt.split(" "),{skipLookups:!0});return{prefix:Je.prefix||kn(),iconName:Fi(Je.prefix,Je.iconName)||Je.iconName}}if("string"==typeof tt){var Yt=kn();return{prefix:Yt,iconName:Fi(Yt,tt)||tt}}}},library:ms,findIconDefinition:la,toHtml:Xt},qr=function(){var tt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},vt=tt.autoReplaceSvgRoot,Ht=void 0===vt?h:vt;(Object.keys(zi.styles).length>0||U.autoFetchSvg)&&g&&U.autoReplaceSvg&&Jn.dom.i2svg({node:Ht})};function Ka(He,tt){return Object.defineProperty(He,"abstract",{get:tt}),Object.defineProperty(He,"html",{get:function(){return He.abstract.map(function(Ht){return Xt(Ht)})}}),Object.defineProperty(He,"node",{get:function(){if(g){var Ht=h.createElement("div");return Ht.innerHTML=He.html,Ht.children}}}),He}function Pr(He){var tt=He.icons,vt=tt.main,Ht=tt.mask,Je=He.prefix,Yt=He.iconName,si=He.transform,ai=He.symbol,Ci=He.title,Ii=He.maskId,Ji=He.titleId,on=He.extra,un=He.watchable,Tn=void 0!==un&&un,Xa=Ht.found?Ht:vt,Pa=Xa.width,fr=Xa.height,_r="fak"===Je,Ha=[U.replacementClass,Yt?"".concat(U.cssPrefix,"-").concat(Yt):""].filter(function(Ea){return-1===on.classes.indexOf(Ea)}).filter(function(Ea){return""!==Ea||!!Ea}).concat(on.classes).join(" "),Ia={children:[],attributes:_(_({},on.attributes),{},{"data-prefix":Je,"data-icon":Yt,class:Ha,role:on.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(Pa," ").concat(fr)})},Kr=_r&&!~on.classes.indexOf("fa-fw")?{width:"".concat(Pa/fr*16*.0625,"em")}:{};Tn&&(Ia.attributes[ge]=""),Ci&&(Ia.children.push({tag:"title",attributes:{id:Ia.attributes["aria-labelledby"]||"title-".concat(Ji||ot())},children:[Ci]}),delete Ia.attributes.title);var Ja=_(_({},Ia),{},{prefix:Je,iconName:Yt,main:vt,mask:Ht,maskId:Ii,transform:si,symbol:ai,styles:_(_({},Kr),on.styles)}),Go=Ht.found&&vt.found?Aa("generateAbstractMask",Ja)||{children:[],attributes:{}}:Aa("generateAbstractIcon",Ja)||{children:[],attributes:{}},Gr=Go.children,Zo=Go.attributes;return Ja.children=Gr,Ja.attributes=Zo,ai?function rr(He){var tt=He.prefix,vt=He.iconName,Ht=He.children,Je=He.attributes,Yt=He.symbol,si=!0===Yt?"".concat(tt,"-").concat(U.cssPrefix,"-").concat(vt):Yt;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:_(_({},Je),{},{id:si}),children:Ht}]}]}(Ja):function Ao(He){var tt=He.children,vt=He.main,Ht=He.mask,Je=He.attributes,Yt=He.styles,si=He.transform;if(qt(si)&&vt.found&&!Ht.found){var Ii={x:vt.width/vt.height/2,y:.5};Je.style=Ft(_(_({},Yt),{},{"transform-origin":"".concat(Ii.x+si.x/16,"em ").concat(Ii.y+si.y/16,"em")}))}return[{tag:"svg",attributes:Je,children:tt}]}(Ja)}function or(He){var tt=He.content,vt=He.width,Ht=He.height,Je=He.transform,Yt=He.title,si=He.extra,ai=He.watchable,Ci=void 0!==ai&&ai,Ii=_(_(_({},si.attributes),Yt?{title:Yt}:{}),{},{class:si.classes.join(" ")});Ci&&(Ii[ge]="");var Ji=_({},si.styles);qt(Je)&&(Ji.transform=function me(He){var tt=He.transform,vt=He.width,Ht=void 0===vt?16:vt,Je=He.height,Yt=void 0===Je?16:Je,si=He.startCentered,ai=void 0!==si&&si,Ci="";return Ci+=ai&&r?"translate(".concat(tt.x/16-Ht/2,"em, ").concat(tt.y/16-Yt/2,"em) "):ai?"translate(calc(-50% + ".concat(tt.x/16,"em), calc(-50% + ").concat(tt.y/16,"em)) "):"translate(".concat(tt.x/16,"em, ").concat(tt.y/16,"em) "),Ci+="scale(".concat(tt.size/16*(tt.flipX?-1:1),", ").concat(tt.size/16*(tt.flipY?-1:1),") "),Ci+"rotate(".concat(tt.rotate,"deg) ")}({transform:Je,startCentered:!0,width:vt,height:Ht}),Ji["-webkit-transform"]=Ji.transform);var on=Ft(Ji);on.length>0&&(Ii.style=on);var un=[];return un.push({tag:"span",attributes:Ii,children:[tt]}),Yt&&un.push({tag:"span",attributes:{class:"sr-only"},children:[Yt]}),un}function dr(He){var tt=He.content,vt=He.title,Ht=He.extra,Je=_(_(_({},Ht.attributes),vt?{title:vt}:{}),{},{class:Ht.classes.join(" ")}),Yt=Ft(Ht.styles);Yt.length>0&&(Je.style=Yt);var si=[];return si.push({tag:"span",attributes:Je,children:[tt]}),vt&&si.push({tag:"span",attributes:{class:"sr-only"},children:[vt]}),si}var so=zi.styles;function ps(He){var tt=He[0],vt=He[1],Yt=k(He.slice(4),1)[0];return{found:!0,width:tt,height:vt,icon:Array.isArray(Yt)?{tag:"g",attributes:{class:"".concat(U.cssPrefix,"-").concat(Ot_GROUP)},children:[{tag:"path",attributes:{class:"".concat(U.cssPrefix,"-").concat(Ot_SECONDARY),fill:"currentColor",d:Yt[0]}},{tag:"path",attributes:{class:"".concat(U.cssPrefix,"-").concat(Ot_PRIMARY),fill:"currentColor",d:Yt[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:Yt}}}}var co={found:!1,width:512,height:512};function yr(He,tt){var vt=tt;return"fa"===tt&&null!==U.styleDefault&&(tt=kn()),new Promise(function(Ht,Je){Aa("missingIconAbstract");if("fa"===vt){var si=sn(He)||{};He=si.iconName||He,tt=si.prefix||tt}if(He&&tt&&so[tt]&&so[tt][He])return Ht(ps(so[tt][He]));(function br(He,tt){!ie&&!U.showMissingIcons&&He&&console.error('Icon with name "'.concat(He,'" and prefix "').concat(tt,'" is missing.'))})(He,tt),Ht(_(_({},co),{},{icon:U.showMissingIcons&&He&&Aa("missingIconAbstract")||{}}))})}var lo=function(){},ia=U.measurePerformance&&I&&I.mark&&I.measure?I:{mark:lo,measure:lo},Dr='FA "6.2.1"',ho=function(tt){ia.mark("".concat(Dr," ").concat(tt," ends")),ia.measure("".concat(Dr," ").concat(tt),"".concat(Dr," ").concat(tt," begins"),"".concat(Dr," ").concat(tt," ends"))},ur_begin=function(tt){return ia.mark("".concat(Dr," ").concat(tt," begins")),function(){return ho(tt)}},Ho=function(){};function mr(He){return"string"==typeof(He.getAttribute?He.getAttribute(ge):null)}function sr(He){return h.createElementNS("http://www.w3.org/2000/svg",He)}function fs(He){return h.createElement(He)}function ya(He){var tt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},vt=tt.ceFn,Ht=void 0===vt?"svg"===He.tag?sr:fs:vt;if("string"==typeof He)return h.createTextNode(He);var Je=Ht(He.tag);Object.keys(He.attributes||[]).forEach(function(si){Je.setAttribute(si,He.attributes[si])});var Yt=He.children||[];return Yt.forEach(function(si){Je.appendChild(ya(si,{ceFn:Ht}))}),Je}var $n={replace:function(tt){var vt=tt[0];if(vt.parentNode)if(tt[1].forEach(function(Je){vt.parentNode.insertBefore(ya(Je),vt)}),null===vt.getAttribute(ge)&&U.keepOriginalSource){var Ht=h.createComment(function Io(He){var tt=" ".concat(He.outerHTML," ");return"".concat(tt,"Font Awesome fontawesome.com ")}(vt));vt.parentNode.replaceChild(Ht,vt)}else vt.remove()},nest:function(tt){var vt=tt[0],Ht=tt[1];if(~gt(vt).indexOf(U.replacementClass))return $n.replace(tt);var Je=new RegExp("".concat(U.cssPrefix,"-.*"));if(delete Ht[0].attributes.id,Ht[0].attributes.class){var Yt=Ht[0].attributes.class.split(" ").reduce(function(ai,Ci){return Ci===U.replacementClass||Ci.match(Je)?ai.toSvg.push(Ci):ai.toNode.push(Ci),ai},{toNode:[],toSvg:[]});Ht[0].attributes.class=Yt.toSvg.join(" "),0===Yt.toNode.length?vt.removeAttribute("class"):vt.setAttribute("class",Yt.toNode.join(" "))}var si=Ht.map(function(ai){return Xt(ai)}).join("\n");vt.setAttribute(ge,""),vt.innerHTML=si}};function qn(He){He()}function Tr(He,tt){var vt="function"==typeof tt?tt:Ho;if(0===He.length)vt();else{var Ht=qn;"async"===U.mutateApproach&&(Ht=m.requestAnimationFrame||qn),Ht(function(){var Je=function Rr(){return!0===U.autoReplaceSvg?$n.replace:$n[U.autoReplaceSvg]||$n.replace}(),Yt=ur_begin("mutate");He.map(Je),Yt(),vt()})}}var cr=!1;function xa(){cr=!0}function Wr(){cr=!1}var tr=null;function aa(He){if(x&&U.observeMutations){var tt=He.treeCallback,vt=void 0===tt?Ho:tt,Ht=He.nodeCallback,Je=void 0===Ht?Ho:Ht,Yt=He.pseudoElementsCallback,si=void 0===Yt?Ho:Yt,ai=He.observeMutationsRoot,Ci=void 0===ai?h:ai;tr=new x(function(Ii){if(!cr){var Ji=kn();We(Ii).forEach(function(on){if("childList"===on.type&&on.addedNodes.length>0&&!mr(on.addedNodes[0])&&(U.searchPseudoElements&&si(on.target),vt(on.target)),"attributes"===on.type&&on.target.parentNode&&U.searchPseudoElements&&si(on.target.parentNode),"attributes"===on.type&&mr(on.target)&&~rt.indexOf(on.attributeName))if("class"===on.attributeName&&function xr(He){var tt=He.getAttribute?He.getAttribute(Me):null,vt=He.getAttribute?He.getAttribute(De):null;return tt&&vt}(on.target)){var un=Fa(gt(on.target)),Tn=un.prefix,Xa=un.iconName;on.target.setAttribute(Me,Tn||Ji),Xa&&on.target.setAttribute(De,Xa)}else(function da(He){return He&&He.classList&&He.classList.contains&&He.classList.contains(U.replacementClass)})(on.target)&&Je(on.target)})}}),g&&tr.observe(Ci,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function je(He){var tt=He.getAttribute("style"),vt=[];return tt&&(vt=tt.split(";").reduce(function(Ht,Je){var Yt=Je.split(":"),si=Yt[0],ai=Yt.slice(1);return si&&ai.length>0&&(Ht[si]=ai.join(":").trim()),Ht},{})),vt}function Dt(He){var tt=He.getAttribute("data-prefix"),vt=He.getAttribute("data-icon"),Ht=void 0!==He.innerText?He.innerText.trim():"",Je=Fa(gt(He));return Je.prefix||(Je.prefix=kn()),tt&&vt&&(Je.prefix=tt,Je.iconName=vt),Je.iconName&&Je.prefix||(Je.prefix&&Ht.length>0&&(Je.iconName=function ji(He,tt){return(gn[He]||{})[tt]}(Je.prefix,He.innerText)||Di(Je.prefix,ti(He.innerText))),!Je.iconName&&U.autoFetchSvg&&He.firstChild&&He.firstChild.nodeType===Node.TEXT_NODE&&(Je.iconName=He.firstChild.data)),Je}function bi(He){var tt=We(He.attributes).reduce(function(Je,Yt){return"class"!==Je.name&&"style"!==Je.name&&(Je[Yt.name]=Yt.value),Je},{}),vt=He.getAttribute("title"),Ht=He.getAttribute("data-fa-title-id");return U.autoA11y&&(vt?tt["aria-labelledby"]="".concat(U.replacementClass,"-title-").concat(Ht||ot()):(tt["aria-hidden"]="true",tt.focusable="false")),tt}function Bn(He){var tt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},vt=Dt(He),Ht=vt.iconName,Je=vt.prefix,Yt=vt.rest,si=bi(He),ai=vr("parseNodeAttributes",{},He),Ci=tt.styleParser?je(He):[];return _({iconName:Ht,title:He.getAttribute("title"),titleId:He.getAttribute("data-fa-title-id"),prefix:Je,transform:wt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:Yt,styles:Ci,attributes:si}},ai)}var Zi=zi.styles;function hn(He){var tt="nest"===U.autoReplaceSvg?Bn(He,{styleParser:!1}):Bn(He);return~tt.extra.classes.indexOf(it)?Aa("generateLayersText",He,tt):Aa("generateSvgReplacementMutation",He,tt)}var Br=new Set;function Mt(He){var tt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!g)return Promise.resolve();var vt=h.documentElement.classList,Ht=function(on){return vt.add("".concat(Ue,"-").concat(on))},Je=function(on){return vt.remove("".concat(Ue,"-").concat(on))},Yt=U.autoFetchSvg?Br:K.map(function(Ji){return"fa-".concat(Ji)}).concat(Object.keys(Zi));Yt.includes("fa")||Yt.push("fa");var si=[".".concat(it,":not([").concat(ge,"])")].concat(Yt.map(function(Ji){return".".concat(Ji,":not([").concat(ge,"])")})).join(", ");if(0===si.length)return Promise.resolve();var ai=[];try{ai=We(He.querySelectorAll(si))}catch{}if(!(ai.length>0))return Promise.resolve();Ht("pending"),Je("complete");var Ci=ur_begin("onTree"),Ii=ai.reduce(function(Ji,on){try{var un=hn(on);un&&Ji.push(un)}catch(Tn){ie||"MissingIcon"===Tn.name&&console.error(Tn)}return Ji},[]);return new Promise(function(Ji,on){Promise.all(Ii).then(function(un){Tr(un,function(){Ht("active"),Ht("complete"),Je("pending"),"function"==typeof tt&&tt(),Ci(),Ji()})}).catch(function(un){Ci(),on(un)})})}function _e(He){var tt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;hn(He).then(function(vt){vt&&Tr([vt],tt)})}K.map(function(He){Br.add("fa-".concat(He))}),Object.keys(ze[Se]).map(Br.add.bind(Br)),Object.keys(ze[ne]).map(Br.add.bind(Br)),Br=M(Br);var ci=function(tt){var vt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Ht=vt.transform,Je=void 0===Ht?wt:Ht,Yt=vt.symbol,si=void 0!==Yt&&Yt,ai=vt.mask,Ci=void 0===ai?null:ai,Ii=vt.maskId,Ji=void 0===Ii?null:Ii,on=vt.title,un=void 0===on?null:on,Tn=vt.titleId,Xa=void 0===Tn?null:Tn,Pa=vt.classes,fr=void 0===Pa?[]:Pa,_r=vt.attributes,Ha=void 0===_r?{}:_r,Ia=vt.styles,Kr=void 0===Ia?{}:Ia;if(tt){var Ja=tt.prefix,Go=tt.iconName,Gr=tt.icon;return Ka(_({type:"icon"},tt),function(){return Zn("beforeDOMElementCreation",{iconDefinition:tt,params:vt}),U.autoA11y&&(un?Ha["aria-labelledby"]="".concat(U.replacementClass,"-title-").concat(Xa||ot()):(Ha["aria-hidden"]="true",Ha.focusable="false")),Pr({icons:{main:ps(Gr),mask:Ci?ps(Ci.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Ja,iconName:Go,transform:_(_({},wt),Je),symbol:si,title:un,maskId:Ji,titleId:Xa,extra:{attributes:Ha,styles:Kr,classes:fr}})})}},Ni={mixout:function(){return{icon:(He=ci,function(tt){var vt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Ht=(tt||{}).icon?tt:la(tt||{}),Je=vt.mask;return Je&&(Je=(Je||{}).icon?Je:la(Je||{})),He(Ht,_(_({},vt),{},{mask:Je}))})};var He},hooks:function(){return{mutationObserverCallbacks:function(vt){return vt.treeCallback=Mt,vt.nodeCallback=_e,vt}}},provides:function(tt){tt.i2svg=function(vt){var Ht=vt.node,Je=void 0===Ht?h:Ht,Yt=vt.callback;return Mt(Je,void 0===Yt?function(){}:Yt)},tt.generateSvgReplacementMutation=function(vt,Ht){var Je=Ht.iconName,Yt=Ht.title,si=Ht.titleId,ai=Ht.prefix,Ci=Ht.transform,Ii=Ht.symbol,Ji=Ht.mask,on=Ht.maskId,un=Ht.extra;return new Promise(function(Tn,Xa){Promise.all([yr(Je,ai),Ji.iconName?yr(Ji.iconName,Ji.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(Pa){var fr=k(Pa,2),_r=fr[0],Ha=fr[1];Tn([vt,Pr({icons:{main:_r,mask:Ha},prefix:ai,iconName:Je,transform:Ci,symbol:Ii,maskId:on,title:Yt,titleId:si,extra:un,watchable:!0})])}).catch(Xa)})},tt.generateAbstractIcon=function(vt){var Ii,Ht=vt.children,Je=vt.attributes,Yt=vt.main,si=vt.transform,Ci=Ft(vt.styles);return Ci.length>0&&(Je.style=Ci),qt(si)&&(Ii=Aa("generateAbstractTransformGrouping",{main:Yt,transform:si,containerWidth:Yt.width,iconWidth:Yt.width})),Ht.push(Ii||Yt.icon),{children:Ht,attributes:Je}}}},In={mixout:function(){return{layer:function(vt){var Ht=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Je=Ht.classes,Yt=void 0===Je?[]:Je;return Ka({type:"layer"},function(){Zn("beforeDOMElementCreation",{assembler:vt,params:Ht});var si=[];return vt(function(ai){Array.isArray(ai)?ai.map(function(Ci){si=si.concat(Ci.abstract)}):si=si.concat(ai.abstract)}),[{tag:"span",attributes:{class:["".concat(U.cssPrefix,"-layers")].concat(M(Yt)).join(" ")},children:si}]})}}}},pr={mixout:function(){return{counter:function(vt){var Ht=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Je=Ht.title,Yt=void 0===Je?null:Je,si=Ht.classes,ai=void 0===si?[]:si,Ci=Ht.attributes,Ii=void 0===Ci?{}:Ci,Ji=Ht.styles,on=void 0===Ji?{}:Ji;return Ka({type:"counter",content:vt},function(){return Zn("beforeDOMElementCreation",{content:vt,params:Ht}),dr({content:vt.toString(),title:Yt,extra:{attributes:Ii,styles:on,classes:["".concat(U.cssPrefix,"-layers-counter")].concat(M(ai))}})})}}}},Pi={mixout:function(){return{text:function(vt){var Ht=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Je=Ht.transform,Yt=void 0===Je?wt:Je,si=Ht.title,ai=void 0===si?null:si,Ci=Ht.classes,Ii=void 0===Ci?[]:Ci,Ji=Ht.attributes,on=void 0===Ji?{}:Ji,un=Ht.styles,Tn=void 0===un?{}:un;return Ka({type:"text",content:vt},function(){return Zn("beforeDOMElementCreation",{content:vt,params:Ht}),or({content:vt,transform:_(_({},wt),Yt),title:ai,extra:{attributes:on,styles:Tn,classes:["".concat(U.cssPrefix,"-layers-text")].concat(M(Ii))}})})}}},provides:function(tt){tt.generateLayersText=function(vt,Ht){var Je=Ht.title,Yt=Ht.transform,si=Ht.extra,ai=null,Ci=null;if(r){var Ii=parseInt(getComputedStyle(vt).fontSize,10),Ji=vt.getBoundingClientRect();ai=Ji.width/Ii,Ci=Ji.height/Ii}return U.autoA11y&&!Je&&(si.attributes["aria-hidden"]="true"),Promise.resolve([vt,or({content:vt.innerHTML,width:ai,height:Ci,transform:Yt,title:Je,extra:si,watchable:!0})])}}},Wn=new RegExp('"',"ug"),ts=[1105920,1112319];function za(He,tt){var vt="".concat("data-fa-pseudo-element-pending").concat(tt.replace(":","-"));return new Promise(function(Ht,Je){if(null!==He.getAttribute(vt))return Ht();var si=We(He.children).filter(function(Gr){return Gr.getAttribute($e)===tt})[0],ai=m.getComputedStyle(He,tt),Ci=ai.getPropertyValue("font-family").match(ii),Ii=ai.getPropertyValue("font-weight"),Ji=ai.getPropertyValue("content");if(si&&!Ci)return He.removeChild(si),Ht();if(Ci&&"none"!==Ji&&""!==Ji){var on=ai.getPropertyValue("content"),un=~["Sharp"].indexOf(Ci[2])?ne:Se,Tn=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(Ci[2])?Ve[un][Ci[2].toLowerCase()]:bt[un][Ii],Xa=function sc(He){var tt=He.replace(Wn,""),vt=function be(He,tt){var Je,vt=He.length,Ht=He.charCodeAt(tt);return Ht>=55296&&Ht<=56319&&vt>tt+1&&(Je=He.charCodeAt(tt+1))>=56320&&Je<=57343?1024*(Ht-55296)+Je-56320+65536:Ht}(tt,0),Ht=vt>=ts[0]&&vt<=ts[1],Je=2===tt.length&&tt[0]===tt[1];return{value:ti(Je?tt[0]:tt),isSecondary:Ht||Je}}(on),Pa=Xa.value,fr=Xa.isSecondary,_r=Ci[0].startsWith("FontAwesome"),Ha=Di(Tn,Pa),Ia=Ha;if(_r){var Kr=function pa(He){var tt=Qn[He],vt=Di("fas",He);return tt||(vt?{prefix:"fas",iconName:vt}:null)||{prefix:null,iconName:null}}(Pa);Kr.iconName&&Kr.prefix&&(Ha=Kr.iconName,Tn=Kr.prefix)}if(!Ha||fr||si&&si.getAttribute(Me)===Tn&&si.getAttribute(De)===Ia)Ht();else{He.setAttribute(vt,Ia),si&&He.removeChild(si);var Ja=function Hi(){return{iconName:null,title:null,titleId:null,prefix:null,transform:wt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),Go=Ja.extra;Go.attributes[$e]=tt,yr(Ha,Tn).then(function(Gr){var Zo=Pr(_(_({},Ja),{},{icons:{main:Gr,mask:{prefix:null,iconName:null,rest:[]}},prefix:Tn,iconName:Ia,extra:Go,watchable:!0})),Ea=h.createElement("svg");"::before"===tt?He.insertBefore(Ea,He.firstChild):He.appendChild(Ea),Ea.outerHTML=Zo.map(function(Rd){return Xt(Rd)}).join("\n"),He.removeAttribute(vt),Ht()}).catch(Je)}}else Ht()})}function is(He){return Promise.all([za(He,"::before"),za(He,"::after")])}function Uo(He){return!(He.parentNode===document.head||~we.indexOf(He.tagName.toUpperCase())||He.getAttribute($e)||He.parentNode&&"svg"===He.parentNode.tagName)}function Ar(He){if(g)return new Promise(function(tt,vt){var Ht=We(He.querySelectorAll("*")).filter(Uo).map(is),Je=ur_begin("searchPseudoElements");xa(),Promise.all(Ht).then(function(){Je(),Wr(),tt()}).catch(function(){Je(),Wr(),vt()})})}var Vo=!1,Bc=function(tt){return tt.toLowerCase().split(" ").reduce(function(Ht,Je){var Yt=Je.toLowerCase().split("-"),si=Yt[0],ai=Yt.slice(1).join("-");if(si&&"h"===ai)return Ht.flipX=!0,Ht;if(si&&"v"===ai)return Ht.flipY=!0,Ht;if(ai=parseFloat(ai),isNaN(ai))return Ht;switch(si){case"grow":Ht.size=Ht.size+ai;break;case"shrink":Ht.size=Ht.size-ai;break;case"left":Ht.x=Ht.x-ai;break;case"right":Ht.x=Ht.x+ai;break;case"up":Ht.y=Ht.y-ai;break;case"down":Ht.y=Ht.y+ai;break;case"rotate":Ht.rotate=Ht.rotate+ai}return Ht},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Rn={x:0,y:0,width:"100%",height:"100%"};function Ri(He){var tt=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return He.attributes&&(He.attributes.fill||tt)&&(He.attributes.fill="black"),He}!function Ta(He,tt){var vt=tt.mixoutsTo;return ja=He,ta={},Object.keys(Va).forEach(function(Ht){-1===Vr.indexOf(Ht)&&delete Va[Ht]}),ja.forEach(function(Ht){var Je=Ht.mixout?Ht.mixout():{};if(Object.keys(Je).forEach(function(si){"function"==typeof Je[si]&&(vt[si]=Je[si]),"object"===O(Je[si])&&Object.keys(Je[si]).forEach(function(ai){vt[si]||(vt[si]={}),vt[si][ai]=Je[si][ai]})}),Ht.hooks){var Yt=Ht.hooks();Object.keys(Yt).forEach(function(si){ta[si]||(ta[si]=[]),ta[si].push(Yt[si])})}Ht.provides&&Ht.provides(Va)}),vt}([Ai,Ni,In,pr,Pi,{hooks:function(){return{mutationObserverCallbacks:function(vt){return vt.pseudoElementsCallback=Ar,vt}}},provides:function(tt){tt.pseudoElements2svg=function(vt){var Ht=vt.node,Je=void 0===Ht?h:Ht;U.searchPseudoElements&&Ar(Je)}}},{mixout:function(){return{dom:{unwatch:function(){xa(),Vo=!0}}}},hooks:function(){return{bootstrap:function(){aa(vr("mutationObserverCallbacks",{}))},noAuto:function(){!function li(){!tr||tr.disconnect()}()},watch:function(vt){var Ht=vt.observeMutationsRoot;Vo?Wr():aa(vr("mutationObserverCallbacks",{observeMutationsRoot:Ht}))}}}},{mixout:function(){return{parse:{transform:function(vt){return Bc(vt)}}}},hooks:function(){return{parseNodeAttributes:function(vt,Ht){var Je=Ht.getAttribute("data-fa-transform");return Je&&(vt.transform=Bc(Je)),vt}}},provides:function(tt){tt.generateAbstractTransformGrouping=function(vt){var Ht=vt.main,Je=vt.transform,Yt=vt.containerWidth,si=vt.iconWidth,ai={transform:"translate(".concat(Yt/2," 256)")},Ci="translate(".concat(32*Je.x,", ").concat(32*Je.y,") "),Ii="scale(".concat(Je.size/16*(Je.flipX?-1:1),", ").concat(Je.size/16*(Je.flipY?-1:1),") "),Ji="rotate(".concat(Je.rotate," 0 0)"),Tn={outer:ai,inner:{transform:"".concat(Ci," ").concat(Ii," ").concat(Ji)},path:{transform:"translate(".concat(si/2*-1," -256)")}};return{tag:"g",attributes:_({},Tn.outer),children:[{tag:"g",attributes:_({},Tn.inner),children:[{tag:Ht.icon.tag,children:Ht.icon.children,attributes:_(_({},Ht.icon.attributes),Tn.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(vt,Ht){var Je=Ht.getAttribute("data-fa-mask"),Yt=Je?Fa(Je.split(" ").map(function(si){return si.trim()})):{prefix:null,iconName:null,rest:[]};return Yt.prefix||(Yt.prefix=kn()),vt.mask=Yt,vt.maskId=Ht.getAttribute("data-fa-mask-id"),vt}}},provides:function(tt){tt.generateAbstractMask=function(vt){var He,Ht=vt.children,Je=vt.attributes,Yt=vt.main,si=vt.mask,ai=vt.maskId,Ci=vt.transform,Ii=Yt.width,Ji=Yt.icon,on=si.width,un=si.icon,Tn=function Te(He){var tt=He.transform,vt=He.containerWidth,Ht=He.iconWidth,Je={transform:"translate(".concat(vt/2," 256)")},Yt="translate(".concat(32*tt.x,", ").concat(32*tt.y,") "),si="scale(".concat(tt.size/16*(tt.flipX?-1:1),", ").concat(tt.size/16*(tt.flipY?-1:1),") "),ai="rotate(".concat(tt.rotate," 0 0)");return{outer:Je,inner:{transform:"".concat(Yt," ").concat(si," ").concat(ai)},path:{transform:"translate(".concat(Ht/2*-1," -256)")}}}({transform:Ci,containerWidth:on,iconWidth:Ii}),Xa={tag:"rect",attributes:_(_({},Rn),{},{fill:"white"})},Pa=Ji.children?{children:Ji.children.map(Ri)}:{},fr={tag:"g",attributes:_({},Tn.inner),children:[Ri(_({tag:Ji.tag,attributes:_(_({},Ji.attributes),Tn.path)},Pa))]},_r={tag:"g",attributes:_({},Tn.outer),children:[fr]},Ha="mask-".concat(ai||ot()),Ia="clip-".concat(ai||ot()),Kr={tag:"mask",attributes:_(_({},Rn),{},{id:Ha,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[Xa,_r]},Ja={tag:"defs",children:[{tag:"clipPath",attributes:{id:Ia},children:(He=un,"g"===He.tag?He.children:[He])},Kr]};return Ht.push(Ja,{tag:"rect",attributes:_({fill:"currentColor","clip-path":"url(#".concat(Ia,")"),mask:"url(#".concat(Ha,")")},Rn)}),{children:Ht,attributes:Je}}}},{provides:function(tt){var vt=!1;m.matchMedia&&(vt=m.matchMedia("(prefers-reduced-motion: reduce)").matches),tt.missingIconAbstract=function(){var Ht=[],Je={fill:"currentColor"},Yt={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};Ht.push({tag:"path",attributes:_(_({},Je),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var si=_(_({},Yt),{},{attributeName:"opacity"}),ai={tag:"circle",attributes:_(_({},Je),{},{cx:"256",cy:"364",r:"28"}),children:[]};return vt||ai.children.push({tag:"animate",attributes:_(_({},Yt),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:_(_({},si),{},{values:"1;0;1;1;0;1;"})}),Ht.push(ai),Ht.push({tag:"path",attributes:_(_({},Je),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:vt?[]:[{tag:"animate",attributes:_(_({},si),{},{values:"1;0;0;0;0;1;"})}]}),vt||Ht.push({tag:"path",attributes:_(_({},Je),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:_(_({},si),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:Ht}}}},{hooks:function(){return{parseNodeAttributes:function(vt,Ht){var Je=Ht.getAttribute("data-fa-symbol"),Yt=null!==Je&&(""===Je||Je);return vt.symbol=Yt,vt}}}}],{mixoutsTo:Jn});Jn.noAuto,Jn.config,Jn.library,Jn.dom;var _s=Jn.parse,ll=(Jn.findIconDefinition,Jn.toHtml,Jn.icon),cc=(Jn.layer,Jn.text),Ks=Jn.counter,Ss=f(4497);const qa=["*"],cn=He=>{const tt={"fa-spin":He.spin,"fa-pulse":He.pulse,"fa-fw":He.fixedWidth,"fa-border":He.border,"fa-inverse":He.inverse,"fa-layers-counter":He.counter,"fa-flip-horizontal":"horizontal"===He.flip||"both"===He.flip,"fa-flip-vertical":"vertical"===He.flip||"both"===He.flip,[`fa-${He.size}`]:null!==He.size,[`fa-rotate-${He.rotate}`]:null!==He.rotate,[`fa-pull-${He.pull}`]:null!==He.pull,[`fa-stack-${He.stackItemSize}`]:null!=He.stackItemSize};return Object.keys(tt).map(vt=>tt[vt]?vt:null).filter(vt=>vt)};class ra{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null}}ra.\u0275fac=function(tt){return new(tt||ra)},ra.\u0275prov=e.Yz7({token:ra,factory:ra.\u0275fac,providedIn:"root"});class Ko{constructor(){this.definitions={}}addIcons(...tt){for(const vt of tt){vt.prefix in this.definitions||(this.definitions[vt.prefix]={}),this.definitions[vt.prefix][vt.iconName]=vt;for(const Ht of vt.icon[2])"string"==typeof Ht&&(this.definitions[vt.prefix][Ht]=vt)}}addIconPacks(...tt){for(const vt of tt){const Ht=Object.keys(vt).map(Je=>vt[Je]);this.addIcons(...Ht)}}getIconDefinition(tt,vt){return tt in this.definitions&&vt in this.definitions[tt]?this.definitions[tt][vt]:null}}Ko.\u0275fac=function(tt){return new(tt||Ko)},Ko.\u0275prov=e.Yz7({token:Ko,factory:Ko.\u0275fac,providedIn:"root"});class ss{constructor(){this.stackItemSize="1x"}ngOnChanges(tt){if("size"in tt)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>.')}}ss.\u0275fac=function(tt){return new(tt||ss)},ss.\u0275dir=e.lG2({type:ss,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},features:[e.TTD]});class $r{constructor(tt,vt){this.renderer=tt,this.elementRef=vt}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(tt){"size"in tt&&(null!=tt.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${tt.size.currentValue}`),null!=tt.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${tt.size.previousValue}`))}}$r.\u0275fac=function(tt){return new(tt||$r)(e.Y36(e.Qsj),e.Y36(e.SBq))},$r.\u0275cmp=e.Xpm({type:$r,selectors:[["fa-stack"]],inputs:{size:"size"},features:[e.TTD],ngContentSelectors:qa,decls:1,vars:0,template:function(tt,vt){1&tt&&(e.F$t(),e.Hsn(0))},encapsulation:2});class Hn{constructor(tt,vt,Ht,Je,Yt){this.sanitizer=tt,this.config=vt,this.iconLibrary=Ht,this.stackItem=Je,this.classes=[],null!=Yt&&null==Je&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: <fa-icon stackItemSize="2x"></fa-icon>.')}ngOnChanges(tt){if(null==this.icon&&null==this.config.fallbackIcon)return(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})();if(tt){const vt=null!=this.icon?this.icon:this.config.fallbackIcon,Ht=this.findIconDefinition(vt);if(null!=Ht){const Je=this.buildParams();this.renderIcon(Ht,Je)}}}render(){this.ngOnChanges({})}findIconDefinition(tt){const vt=((He,tt)=>(He=>void 0!==He.prefix&&void 0!==He.iconName)(He)?He:Array.isArray(He)&&2===He.length?{prefix:He[0],iconName:He[1]}:"string"==typeof He?{prefix:tt,iconName:He}:void 0)(tt,this.config.defaultPrefix);if("icon"in vt)return vt;return this.iconLibrary.getIconDefinition(vt.prefix,vt.iconName)??((He=>{throw new Error(`Could not find icon with iconName=${He.iconName} and prefix=${He.prefix} in the icon library.`)})(vt),null)}buildParams(){const tt={flip:this.flip,spin:this.spin,pulse:this.pulse,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},vt="string"==typeof this.transform?_s.transform(this.transform):this.transform;return{title:this.title,transform:vt,classes:[...cn(tt),...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(tt,vt){const Ht=ll(tt,vt);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(Ht.html.join("\n"))}}Hn.\u0275fac=function(tt){return new(tt||Hn)(e.Y36(Ss.H7),e.Y36(ra),e.Y36(Ko),e.Y36(ss,8),e.Y36($r,8))},Hn.\u0275cmp=e.Xpm({type:Hn,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(tt,vt){2&tt&&(e.Ikx("innerHTML",vt.renderedIconHTML,e.oJD),e.uIk("title",vt.title))},inputs:{icon:"icon",title:"title",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",classes:"classes",transform:"transform",a11yRole:"a11yRole"},features:[e.TTD],decls:0,vars:0,template:function(tt,vt){},encapsulation:2});class $i extends Hn{findIconDefinition(tt){const vt=super.findIconDefinition(tt);if(null!=vt&&!Array.isArray(vt.icon[4]))throw new Error(`The specified icon does not appear to be a Duotone icon. Check that you specified the correct style: <fa-duotone-icon [icon]="['fad', '${vt.iconName}']"></fa-duotone-icon> or use: <fa-icon icon="${vt.iconName}"></fa-icon> instead.`);return vt}buildParams(){const tt=super.buildParams();return(!0===this.swapOpacity||"true"===this.swapOpacity)&&tt.classes.push("fa-swap-opacity"),null!=this.primaryOpacity&&(tt.styles["--fa-primary-opacity"]=this.primaryOpacity.toString()),null!=this.secondaryOpacity&&(tt.styles["--fa-secondary-opacity"]=this.secondaryOpacity.toString()),null!=this.primaryColor&&(tt.styles["--fa-primary-color"]=this.primaryColor),null!=this.secondaryColor&&(tt.styles["--fa-secondary-color"]=this.secondaryColor),tt}}$i.\u0275fac=function(){let He;return function(vt){return(He||(He=e.n5z($i)))(vt||$i)}}(),$i.\u0275cmp=e.Xpm({type:$i,selectors:[["fa-duotone-icon"]],inputs:{swapOpacity:"swapOpacity",primaryOpacity:"primaryOpacity",secondaryOpacity:"secondaryOpacity",primaryColor:"primaryColor",secondaryColor:"secondaryColor"},features:[e.qOj],decls:0,vars:0,template:function(tt,vt){},encapsulation:2});const Ge=(He,tt,vt)=>{if(!He)throw new Error(`${vt} should be used as child of ${tt} only.`)};class ve{constructor(tt,vt,Ht){this.renderer=tt,this.elementRef=vt,this.config=Ht}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-layers"),this.fixedWidth="boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth}ngOnChanges(tt){"size"in tt&&(null!=tt.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${tt.size.currentValue}`),null!=tt.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${tt.size.previousValue}`))}}ve.\u0275fac=function(tt){return new(tt||ve)(e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(ra))},ve.\u0275cmp=e.Xpm({type:ve,selectors:[["fa-layers"]],hostVars:2,hostBindings:function(tt,vt){2&tt&&e.ekj("fa-fw",vt.fixedWidth)},inputs:{size:"size",fixedWidth:"fixedWidth"},features:[e.TTD],ngContentSelectors:qa,decls:1,vars:0,template:function(tt,vt){1&tt&&(e.F$t(),e.Hsn(0))},encapsulation:2});class nt{constructor(tt,vt){this.parent=tt,this.sanitizer=vt,this.classes=[],Ge(this.parent,"FaLayersComponent",this.constructor.name)}ngOnChanges(tt){if(tt){const vt=this.buildParams();this.updateContent(vt)}}buildParams(){const tt=[];return null!=this.classes&&tt.push(...this.classes),null!=this.position&&tt.push(`fa-layers-${this.position}`),{title:this.title,classes:tt,styles:this.styles}}updateContent(tt){this.renderedHTML=this.sanitizer.bypassSecurityTrustHtml(Ks(this.content||"",tt).html.join(""))}}nt.\u0275fac=function(tt){return new(tt||nt)(e.Y36(ve,8),e.Y36(Ss.H7))},nt.\u0275cmp=e.Xpm({type:nt,selectors:[["fa-layers-counter"]],hostAttrs:[1,"ng-fa-layers-counter"],hostVars:1,hostBindings:function(tt,vt){2&tt&&e.Ikx("innerHTML",vt.renderedHTML,e.oJD)},inputs:{content:"content",title:"title",styles:"styles",classes:"classes",position:"position"},features:[e.TTD],decls:0,vars:0,template:function(tt,vt){},encapsulation:2});class Bt{constructor(tt,vt){this.parent=tt,this.sanitizer=vt,this.classes=[],Ge(this.parent,"FaLayersComponent",this.constructor.name)}ngOnChanges(tt){if(tt){const vt=this.buildParams();this.updateContent(vt)}}buildParams(){const tt={flip:this.flip,spin:this.spin,pulse:this.pulse,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:this.fixedWidth};return{transform:"string"==typeof this.transform?_s.transform(this.transform):this.transform,classes:[...cn(tt),...this.classes],title:this.title,styles:this.styles}}updateContent(tt){this.renderedHTML=this.sanitizer.bypassSecurityTrustHtml(cc(this.content||"",tt).html.join("\n"))}}Bt.\u0275fac=function(tt){return new(tt||Bt)(e.Y36(ve,8),e.Y36(Ss.H7))},Bt.\u0275cmp=e.Xpm({type:Bt,selectors:[["fa-layers-text"]],hostAttrs:[1,"ng-fa-layers-text"],hostVars:1,hostBindings:function(tt,vt){2&tt&&e.Ikx("innerHTML",vt.renderedHTML,e.oJD)},inputs:{content:"content",title:"title",styles:"styles",classes:"classes",spin:"spin",pulse:"pulse",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",rotate:"rotate",fixedWidth:"fixedWidth",transform:"transform"},features:[e.TTD],decls:0,vars:0,template:function(tt,vt){},encapsulation:2});class di{}di.\u0275fac=function(tt){return new(tt||di)},di.\u0275mod=e.oAB({type:di}),di.\u0275inj=e.cJS({})},9306:(Ye,J,f)=>{"use strict";f.d(J,{Acd:()=>Hu,Aq:()=>mc,B$L:()=>Rn,BDt:()=>m6,CgH:()=>_3,CvI:()=>c4,DL8:()=>W7,FJU:()=>c5,FVb:()=>uc,FlN:()=>us,FpQ:()=>Yp,HLz:()=>C5,KOR:()=>Op,Krp:()=>du,Mdf:()=>Xp,N2j:()=>Fi,NBC:()=>q5,OS1:()=>B2,Psp:()=>Hs,Pyt:()=>s5,Sbq:()=>kt,SoD:()=>ps,Ssp:()=>tv,SuH:()=>kl,TmZ:()=>K5,USL:()=>c7,Vei:()=>So,Vfw:()=>N1,X5K:()=>Gp,XsY:()=>on,aj4:()=>Lo,b7W:()=>Lg,byT:()=>un,co4:()=>R_,d63:()=>_a,dLy:()=>O5,dT$:()=>f1,eHv:()=>$7,gNZ:()=>Fo,hkK:()=>Qi,hnx:()=>uv,kXW:()=>Wg,kZ_:()=>G5,koM:()=>Xd,mh3:()=>N3,nNP:()=>u8,q7m:()=>t6,qO$:()=>y7,r8p:()=>v8,sqG:()=>zt,vqe:()=>S7,wn1:()=>T5,wyP:()=>v2,xf3:()=>vl});var Gt={prefix:"fas",iconName:"angles-down",icon:[448,512,["angle-double-down"],"f103","M246.6 470.6c-12.5 12.5-32.8 12.5-45.3 0l-160-160c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L224 402.7 361.4 265.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-160 160zm160-352l-160 160c-12.5 12.5-32.8 12.5-45.3 0l-160-160c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L224 210.7 361.4 73.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3z"]},kt=Gt,Qi={prefix:"fas",iconName:"user-check",icon:[640,512,[],"f4fc","M352 128c0 70.7-57.3 128-128 128s-128-57.3-128-128S153.3 0 224 0s128 57.3 128 128zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3zM625 177L497 305c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L591 143c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},ji={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"]},Fi=ji,ps={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"]},Nr={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"]},Rn=Nr,Ji={prefix:"fas",iconName:"paintbrush",icon:[576,512,[128396,"paint-brush"],"f1fc","M371.3 367.1c27.3-3.9 51.9-19.4 67.2-42.9L600.2 74.1c12.6-19.5 9.4-45.3-7.6-61.2S549.7-4.4 531.1 9.6L294.4 187.2c-24 18-38.2 46.1-38.4 76.1L371.3 367.1zm-19.6 25.4l-116-104.4C175.9 290.3 128 339.6 128 400c0 3.9 .2 7.8 .6 11.6c1.8 17.5-10.2 36.4-27.8 36.4H96c-17.7 0-32 14.3-32 32s14.3 32 32 32H240c61.9 0 112-50.1 112-112c0-2.5-.1-5-.2-7.5z"]},on=Ji,un={prefix:"fas",iconName:"lock",icon:[448,512,[128274],"f023","M144 144v48H304V144c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192V144C80 64.5 144.5 0 224 0s144 64.5 144 144v48h16c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256c0-35.3 28.7-64 64-64H80z"]},uc={prefix:"fas",iconName:"users",icon:[640,512,[],"f0c0","M144 160c-44.2 0-80-35.8-80-80S99.8 0 144 0s80 35.8 80 80s-35.8 80-80 80zm368 0c-44.2 0-80-35.8-80-80s35.8-80 80-80s80 35.8 80 80s-35.8 80-80 80zM0 298.7C0 239.8 47.8 192 106.7 192h42.7c15.9 0 31 3.5 44.6 9.7c-1.3 7.2-1.9 14.7-1.9 22.3c0 38.2 16.8 72.5 43.3 96c-.2 0-.4 0-.7 0H21.3C9.6 320 0 310.4 0 298.7zM405.3 320c-.2 0-.4 0-.7 0c26.6-23.5 43.3-57.8 43.3-96c0-7.6-.7-15-1.9-22.3c13.6-6.3 28.7-9.7 44.6-9.7h42.7C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3H405.3zM416 224c0 53-43 96-96 96s-96-43-96-96s43-96 96-96s96 43 96 96zM128 485.3C128 411.7 187.7 352 261.3 352H378.7C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7H154.7c-14.7 0-26.7-11.9-26.7-26.7z"]},mc={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c5.2-11.8 8-24.8 8-38.5c0-53-43-96-96-96c-2.8 0-5.6 .1-8.4 .4c5.3 9.3 8.4 20.1 8.4 31.6c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zm223.1 298L373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5z"]},Hu={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"]},Lo={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"]},vl={prefix:"fas",iconName:"server",icon:[512,512,[],"f233","M64 32C28.7 32 0 60.7 0 96v64c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM344 152c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm96-24c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24zM64 288c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V352c0-35.3-28.7-64-64-64H64zM344 408c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm104-24c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24z"]},Xd={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"]},v2={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"]},So={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"]},_a={prefix:"fas",iconName:"arrows-turn-right",icon:[512,512,[],"e4c0","M329.4 9.4c12.5-12.5 32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3l-96 96c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L370.7 160H160c-35.3 0-64 28.7-64 64v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V224C32 153.3 89.3 96 160 96H370.7L329.4 54.6c-12.5-12.5-12.5-32.8 0-45.3zm-96 256c12.5-12.5 32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3l-96 96c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L274.7 416H128c-17.7 0-32 14.3-32 32v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V448c0-53 43-96 96-96H274.7l-41.4-41.4c-12.5-12.5-12.5-32.8 0-45.3z"]},du={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"]},Hs={prefix:"fas",iconName:"question",icon:[320,512,[10067,10068,61736],"3f","M96 96c-17.7 0-32 14.3-32 32s-14.3 32-32 32s-32-14.3-32-32C0 75 43 32 96 32h97c70.1 0 127 56.9 127 127c0 52.4-32.2 99.4-81 118.4l-63 24.5 0 18.1c0 17.7-14.3 32-32 32s-32-14.3-32-32V301.9c0-26.4 16.2-50.1 40.8-59.6l63-24.5C240 208.3 256 185 256 159c0-34.8-28.2-63-63-63H96zm48 384c-22.1 0-40-17.9-40-40s17.9-40 40-40s40 17.9 40 40s-17.9 40-40 40z"]},f1={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"]},B2={prefix:"fas",iconName:"chart-pie",icon:[576,512,["pie-chart"],"f200","M304 240V16.6c0-9 7-16.6 16-16.6C443.7 0 544 100.3 544 224c0 9-7.6 16-16.6 16H304zM32 272C32 150.7 122.1 50.3 239 34.3c9.2-1.3 17 6.1 17 15.4V288L412.5 444.5c6.7 6.7 6.2 17.7-1.5 23.1C371.8 495.6 323.8 512 272 512C139.5 512 32 404.6 32 272zm526.4 16c9.3 0 16.6 7.8 15.4 17c-7.7 55.9-34.6 105.6-73.9 142.3c-6 5.6-15.4 5.2-21.2-.7L320 288H558.4z"]},Op={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"]},pu={prefix:"fas",iconName:"signs-post",icon:[512,512,["map-signs"],"f277","M224 32H64C46.3 32 32 46.3 32 64v64c0 17.7 14.3 32 32 32H441.4c4.2 0 8.3-1.7 11.3-4.7l48-48c6.2-6.2 6.2-16.4 0-22.6l-48-48c-3-3-7.1-4.7-11.3-4.7H288c0-17.7-14.3-32-32-32s-32 14.3-32 32zM480 256c0-17.7-14.3-32-32-32H288V192H224v32H70.6c-4.2 0-8.3 1.7-11.3 4.7l-48 48c-6.2 6.2-6.2 16.4 0 22.6l48 48c3 3 7.1 4.7 11.3 4.7H448c17.7 0 32-14.3 32-32V256zM288 480V384H224v96c0 17.7 14.3 32 32 32s32-14.3 32-32z"]},kl=pu,X0={prefix:"fas",iconName:"screwdriver-wrench",icon:[512,512,["tools"],"f7d9","M78.6 5C69.1-2.4 55.6-1.5 47 7L7 47c-8.5 8.5-9.4 22-2.1 31.6l80 104c4.5 5.9 11.6 9.4 19 9.4h54.1l109 109c-14.7 29-10 65.4 14.3 89.6l112 112c12.5 12.5 32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3l-112-112c-24.2-24.2-60.6-29-89.6-14.3l-109-109V104c0-7.5-3.5-14.5-9.4-19L78.6 5zM19.9 396.1C7.2 408.8 0 426.1 0 444.1C0 481.6 30.4 512 67.9 512c18 0 35.3-7.2 48-19.9L233.7 374.3c-7.8-20.9-9-43.6-3.6-65.1l-61.7-61.7L19.9 396.1zM512 144c0-10.5-1.1-20.7-3.2-30.5c-2.4-11.2-16.1-14.1-24.2-6l-63.9 63.9c-3 3-7.1 4.7-11.3 4.7H352c-8.8 0-16-7.2-16-16V102.6c0-4.2 1.7-8.3 4.7-11.3l63.9-63.9c8.1-8.1 5.2-21.8-6-24.2C388.7 1.1 378.5 0 368 0C288.5 0 224 64.5 224 144l0 .8 85.3 85.3c36-9.1 75.8 .5 104 28.7L429 274.5c49-23 83-72.8 83-130.5zM104 432c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24z"]},_3=X0,Gp={prefix:"fas",iconName:"wallet",icon:[512,512,[],"f555","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V192c0-35.3-28.7-64-64-64H80c-8.8 0-16-7.2-16-16s7.2-16 16-16H448c17.7 0 32-14.3 32-32s-14.3-32-32-32H64zM416 336c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]},N3={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"]},Yp={prefix:"fas",iconName:"route",icon:[512,512,[],"f4d7","M416 256s96-96 96-160c0-53-43-96-96-96s-96 43-96 96c0 29.4 20.2 65.5 42.1 96H320c-53 0-96 43-96 96s43 96 96 96h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H188.6c-6.2 9.6-12.6 18.8-19 27.2c-10.7 14.2-21.3 26.9-30 36.8H416c53 0 96-43 96-96s-43-96-96-96H320c-17.7 0-32-14.3-32-32s14.3-32 32-32h96zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zM149.9 448c21.9-30.5 42.1-66.6 42.1-96c0-53-43-96-96-96s-96 43-96 96c0 64 96 160 96 160s3.5-3.5 9.2-9.6c.4-.4 .7-.8 1.1-1.2c3.3-3.5 7.1-7.8 11.4-12.8c.2-.2 .4-.4 .6-.6c9.4-10.8 20.7-24.6 31.6-39.8zM96 384c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]},Xp={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM432 256c0 79.5-64.5 144-144 144s-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144zM288 192c0 35.3-28.7 64-64 64c-11.5 0-22.3-3-31.6-8.4c-.2 2.8-.4 5.5-.4 8.4c0 53 43 96 96 96s96-43 96-96s-43-96-96-96c-2.8 0-5.6 .1-8.4 .4c5.3 9.3 8.4 20.1 8.4 31.6z"]},e4={prefix:"fas",iconName:"user-gear",icon:[640,512,["user-cog"],"f4fe","M224 256c-70.7 0-128-57.3-128-128S153.3 0 224 0s128 57.3 128 128s-57.3 128-128 128zm-45.7 48h91.4c11.8 0 23.4 1.2 34.5 3.3c-2.1 18.5 7.4 35.6 21.8 44.8c-16.6 10.6-26.7 31.6-20 53.3c4 12.9 9.4 25.5 16.4 37.6s15.2 23.1 24.4 33c15.7 16.9 39.6 18.4 57.2 8.7v.9c0 9.2 2.7 18.5 7.9 26.3H29.7C13.3 512 0 498.7 0 482.3C0 383.8 79.8 304 178.3 304zM436 218.2c0-7 4.5-13.3 11.3-14.8c10.5-2.4 21.5-3.7 32.7-3.7s22.2 1.3 32.7 3.7c6.8 1.5 11.3 7.8 11.3 14.8v30.6c7.9 3.4 15.4 7.7 22.3 12.8l24.9-14.3c6.1-3.5 13.7-2.7 18.5 2.4c7.6 8.1 14.3 17.2 20.1 27.2s10.3 20.4 13.5 31c2.1 6.7-1.1 13.7-7.2 17.2l-25 14.4c.4 4 .7 8.1 .7 12.3s-.2 8.2-.7 12.3l25 14.4c6.1 3.5 9.2 10.5 7.2 17.2c-3.3 10.6-7.8 21-13.5 31s-12.5 19.1-20.1 27.2c-4.8 5.1-12.5 5.9-18.5 2.4l-24.9-14.3c-6.9 5.1-14.3 9.4-22.3 12.8l0 30.6c0 7-4.5 13.3-11.3 14.8c-10.5 2.4-21.5 3.7-32.7 3.7s-22.2-1.3-32.7-3.7c-6.8-1.5-11.3-7.8-11.3-14.8V454.8c-8-3.4-15.6-7.7-22.5-12.9l-24.7 14.3c-6.1 3.5-13.7 2.7-18.5-2.4c-7.6-8.1-14.3-17.2-20.1-27.2s-10.3-20.4-13.5-31c-2.1-6.7 1.1-13.7 7.2-17.2l24.8-14.3c-.4-4.1-.7-8.2-.7-12.4s.2-8.3 .7-12.4L343.8 325c-6.1-3.5-9.2-10.5-7.2-17.2c3.3-10.6 7.7-21 13.5-31s12.5-19.1 20.1-27.2c4.8-5.1 12.4-5.9 18.5-2.4l24.8 14.3c6.9-5.1 14.5-9.4 22.5-12.9V218.2zm92.1 133.5c0-26.5-21.5-48-48.1-48s-48.1 21.5-48.1 48s21.5 48 48.1 48s48.1-21.5 48.1-48z"]},Fo=e4,B1={prefix:"fas",iconName:"angles-up",icon:[448,512,["angle-double-up"],"f102","M246.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L224 109.3 361.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160zm160 352l-160-160c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L224 301.3 361.4 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3z"]},N1=B1,ei={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-144c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]},zt=ei,us={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"]},c4={prefix:"fas",iconName:"money-bill-1",icon:[576,512,["money-bill-alt"],"f3d1","M64 64C28.7 64 0 92.7 0 128V384c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64H64zm64 320H64V320c35.3 0 64 28.7 64 64zM64 192V128h64c0 35.3-28.7 64-64 64zM448 384c0-35.3 28.7-64 64-64v64H448zm64-192c-35.3 0-64-28.7-64-64h64v64zM400 256c0 61.9-50.1 112-112 112s-112-50.1-112-112s50.1-112 112-112s112 50.1 112 112zM252 208c0 9.7 6.9 17.7 16 19.6V276h-4c-11 0-20 9-20 20s9 20 20 20h24 24c11 0 20-9 20-20s-9-20-20-20h-4V208c0-11-9-20-20-20H272c-11 0-20 9-20 20z"]},R_=c4,Ig={prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336c44.2 0 80-35.8 80-80s-35.8-80-80-80s-80 35.8-80 80s35.8 80 80 80z"]},Lg=Ig,Wg={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"]},t6={prefix:"fas",iconName:"download",icon:[512,512,[],"f019","M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zM432 456c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24z"]},m6={prefix:"fas",iconName:"bolt",icon:[448,512,[9889,"zap"],"f0e7","M349.4 44.6c5.9-13.7 1.5-29.7-10.6-38.5s-28.6-8-39.9 1.8l-256 224c-10 8.8-13.6 22.9-8.9 35.3S50.7 288 64 288H175.5L98.6 467.4c-5.9 13.7-1.5 29.7 10.6 38.5s28.6 8 39.9-1.8l256-224c10-8.8 13.6-22.9 8.9-35.3s-16.6-20.7-30-20.7H272.5L349.4 44.6z"]},s5={prefix:"fas",iconName:"arrows-turn-to-dots",icon:[512,512,[],"e4c1","M249.4 25.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L269.3 96 416 96c53 0 96 43 96 96v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V192c0-17.7-14.3-32-32-32l-146.7 0 25.4 25.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-80-80c-12.5-12.5-12.5-32.8 0-45.3l80-80zm13.3 256l80 80c12.5 12.5 12.5 32.8 0 45.3l-80 80c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 416 96 416c-17.7 0-32 14.3-32 32v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V448c0-53 43-96 96-96l146.7 0-25.4-25.4c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0zM512 384c0 35.3-28.7 64-64 64s-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64zM64 64c35.3 0 64 28.7 64 64s-28.7 64-64 64s-64-28.7-64-64S28.7 64 64 64z"]},c5={prefix:"fas",iconName:"user-lock",icon:[640,512,[],"f502","M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0S96 57.3 96 128s57.3 128 128 128zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H392.6c-5.4-9.4-8.6-20.3-8.6-32V352c0-2.1 .1-4.2 .3-6.3c-31-26-71-41.7-114.6-41.7H178.3zM528 240c17.7 0 32 14.3 32 32v48H496V272c0-17.7 14.3-32 32-32zm-80 32v48c-17.7 0-32 14.3-32 32V480c0 17.7 14.3 32 32 32H608c17.7 0 32-14.3 32-32V352c0-17.7-14.3-32-32-32V272c0-44.2-35.8-80-80-80s-80 35.8-80 80z"]},c8={prefix:"fas",iconName:"gauge-high",icon:[512,512,[62461,"tachometer-alt","tachometer-alt-fast"],"f625","M512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM288 96c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM256 416c35.3 0 64-28.7 64-64c0-17.4-6.9-33.1-18.1-44.6L366 161.7c5.3-12.1-.2-26.3-12.3-31.6s-26.3 .2-31.6 12.3L257.9 288c-.6 0-1.3 0-1.9 0c-35.3 0-64 28.7-64 64s28.7 64 64 64zM176 144c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM96 288c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm352-32c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32z"]},C5=c8,u8={prefix:"fas",iconName:"link",icon:[640,512,[128279,"chain"],"f0c1","M579.8 267.7c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114L422.3 334.8c-31.5 31.5-82.5 31.5-114 0c-27.9-27.9-31.5-71.8-8.6-103.8l1.1-1.6c10.3-14.4 6.9-34.4-7.4-44.6s-34.4-6.9-44.6 7.4l-1.1 1.6C206.5 251.2 213 330 263 380c56.5 56.5 148 56.5 204.5 0L579.8 267.7zM60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5L217.7 177.2c31.5-31.5 82.5-31.5 114 0c27.9 27.9 31.5 71.8 8.6 103.9l-1.1 1.6c-10.3 14.4-6.9 34.4 7.4 44.6s34.4 6.9 44.6-7.4l1.1-1.6C433.5 260.8 427 182 377 132c-56.5-56.5-148-56.5-204.5 0L60.2 244.3z"]},D5={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352c79.5 0 144-64.5 144-144s-64.5-144-144-144S64 128.5 64 208s64.5 144 144 144z"]},T5=D5,O5={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"]},W5={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"]},K5=W5,G5={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"]},v8={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"]},X_={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"]},q5=X_,s7={prefix:"fas",iconName:"percent",icon:[384,512,[62101,62785,"percentage"],"25","M374.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-320 320c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l320-320zM128 128c0-35.3-28.7-64-64-64S0 92.7 0 128s28.7 64 64 64s64-28.7 64-64zM384 384c0-35.3-28.7-64-64-64s-64 28.7-64 64s28.7 64 64 64s64-28.7 64-64z"]},c7=s7,b7={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"]},y7=b7,S7={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"]},V7={prefix:"fas",iconName:"scale-balanced",icon:[640,512,[9878,"balance-scale"],"f24e","M384 32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H398.4c-5.2 25.8-22.9 47.1-46.4 57.3V448H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H320 128c-17.7 0-32-14.3-32-32s14.3-32 32-32H288V153.3c-23.5-10.3-41.2-31.6-46.4-57.3H128c-17.7 0-32-14.3-32-32s14.3-32 32-32H256c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32zM125.8 177.3L51.1 320H204.9L130.2 177.3c-.4-.8-1.3-1.3-2.2-1.3s-1.7 .5-2.2 1.3zM128 128c18.8 0 36 10.4 44.7 27l77.8 148.5c3.1 5.8 6.1 14 5.5 23.8c-.7 12.1-4.8 35.2-24.8 55.1C210.9 402.6 178.2 416 128 416s-82.9-13.4-103.2-33.5c-20-20-24.2-43-24.8-55.1c-.6-9.8 2.5-18 5.5-23.8L83.3 155c8.7-16.6 25.9-27 44.7-27zm384 48c-.9 0-1.7 .5-2.2 1.3L435.1 320H588.9L514.2 177.3c-.4-.8-1.3-1.3-2.2-1.3zm-44.7-21c8.7-16.6 25.9-27 44.7-27s36 10.4 44.7 27l77.8 148.5c3.1 5.8 6.1 14 5.5 23.8c-.7 12.1-4.8 35.2-24.8 55.1C594.9 402.6 562.2 416 512 416s-82.9-13.4-103.2-33.5c-20-20-24.2-43-24.8-55.1c-.6-9.8 2.5-18 5.5-23.8L467.3 155z"]},W7=V7,x8={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32z"]},$7=x8,ev={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"]},tv=ev,uv={prefix:"fas",iconName:"user-clock",icon:[640,512,[],"f4fd","M224 256c-70.7 0-128-57.3-128-128S153.3 0 224 0s128 57.3 128 128s-57.3 128-128 128zm-45.7 48h91.4c20.6 0 40.4 3.5 58.8 9.9C323 331 320 349.1 320 368c0 59.5 29.5 112.1 74.8 144H29.7C13.3 512 0 498.7 0 482.3C0 383.8 79.8 304 178.3 304zM640 368c0 79.5-64.5 144-144 144s-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144zM496 288c-8.8 0-16 7.2-16 16v64c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16s-7.2-16-16-16H512V304c0-8.8-7.2-16-16-16z"]}},3599:(Ye,J,f)=>{"use strict";f.d(J,{eX:()=>r,sQ:()=>it,GW:()=>i,l4:()=>w});var p,Gt,e=f(833),t=f(6646),_=f(253),O=f(23),l=f(591),C=f(745),u=f(5474),P=f(2971);(Gt=p||(p={})).NEXT="N",Gt.ERROR="E",Gt.COMPLETE="C";class L{constructor(kt,Rt,yi){this.kind=kt,this.value=Rt,this.error=yi,this.hasValue="N"===kt}observe(kt){return D(this,kt)}do(kt,Rt,yi){const{kind:Jt,value:Zt,error:mi}=this;return"N"===Jt?kt?.(Zt):"E"===Jt?Rt?.(mi):yi?.()}accept(kt,Rt,yi){var Jt;return(0,P.m)(null===(Jt=kt)||void 0===Jt?void 0:Jt.next)?this.observe(kt):this.do(kt,Rt,yi)}toObservable(){const{kind:kt,value:Rt,error:yi}=this,Jt="N"===kt?(0,C.of)(Rt):"E"===kt?(0,u._)(()=>yi):"C"===kt?l.E:0;if(!Jt)throw new TypeError(`Unexpected notification kind ${kt}`);return Jt}static createNext(kt){return new L("N",kt)}static createError(kt){return new L("E",void 0,kt)}static createComplete(){return L.completeNotification}}function D(Gt,kt){var Rt,yi,Jt;const{kind:Zt,value:mi,error:Re}=Gt;if("string"!=typeof Zt)throw new TypeError('Invalid notification, missing "kind"');"N"===Zt?null===(Rt=kt.next)||void 0===Rt||Rt.call(kt,mi):"E"===Zt?null===(yi=kt.error)||void 0===yi||yi.call(kt,Re):null===(Jt=kt.complete)||void 0===Jt||Jt.call(kt)}L.completeNotification=new L("C");var k=f(1944),M=f(3945);var A=f(635),W=f(3158),Z=f(116),X=f(4987);function $(Gt,kt,Rt,yi){return(0,k.e)((Jt,Zt)=>{let mi;kt&&"function"!=typeof kt?({duration:Rt,element:mi,connector:yi}=kt):mi=kt;const Re=new Map,U=Nt=>{Re.forEach(Nt),Nt(Zt)},j=Nt=>U(ot=>ot.error(Nt));let ue=0,Ne=!1;const wt=new M.Q(Zt,Nt=>{try{const ot=Gt(Nt);let We=Re.get(ot);if(!We){Re.set(ot,We=yi?yi():new _.x);const gt=function Et(Nt,ot){const We=new e.y(gt=>{ue++;const ri=ot.subscribe(gt);return()=>{ri.unsubscribe(),0==--ue&&Ne&&wt.unsubscribe()}});return We.key=Nt,We}(ot,We);if(Zt.next(gt),Rt){const ri=(0,M.x)(We,()=>{We.complete(),ri?.unsubscribe()},void 0,void 0,()=>Re.delete(ot));wt.add((0,X.Xf)(Rt(gt)).subscribe(ri))}}We.next(mi?mi(Nt):Nt)}catch(ot){j(ot)}},()=>U(Nt=>Nt.complete()),j,()=>Re.clear(),()=>(Ne=!0,0===ue));Jt.subscribe(wt)})}var ae=f(9525);function he(Gt,kt){return kt?Rt=>Rt.pipe(he((yi,Jt)=>(0,X.Xf)(Gt(yi,Jt)).pipe((0,A.U)((Zt,mi)=>kt(yi,Zt,Jt,mi))))):(0,k.e)((Rt,yi)=>{let Jt=0,Zt=null,mi=!1;Rt.subscribe((0,M.x)(yi,Re=>{Zt||(Zt=(0,M.x)(yi,void 0,()=>{Zt=null,mi&&yi.complete()}),(0,X.Xf)(Gt(Re,Jt++)).subscribe(Zt))},()=>{mi=!0,!Zt&&yi.complete()}))})}var pe=f(9295),le=f(2560),re=f(9263);const fe={dispatch:!0,useEffectsErrorHandler:!0},T="__@ngrx/effects_create__";function i(Gt,kt){const Rt=Gt(),yi={...fe,...kt};return Object.defineProperty(Rt,T,{value:yi}),Rt}function h(Gt){return function o(Gt){return Object.getOwnPropertyNames(Gt).filter(yi=>!(!Gt[yi]||!Gt[yi].hasOwnProperty(T))&&Gt[yi][T].hasOwnProperty("dispatch")).map(yi=>({propertyName:yi,...Gt[yi][T]}))}(Gt)}function x(Gt){return Object.getPrototypeOf(Gt)}function I(Gt,kt,Rt){const yi=x(Gt).constructor.name,Jt=h(Gt).map(({propertyName:Zt,dispatch:mi,useEffectsErrorHandler:Re})=>{const U="function"==typeof Gt[Zt]?Gt[Zt]():Gt[Zt],j=Re?Rt(U,kt):U;return!1===mi?j.pipe((0,O.l)()):j.pipe(function z(){return(0,k.e)((Gt,kt)=>{Gt.subscribe((0,M.x)(kt,Rt=>{kt.next(L.createNext(Rt))},()=>{kt.next(L.createComplete()),kt.complete()},Rt=>{kt.next(L.createError(Rt)),kt.complete()}))})}()).pipe((0,A.U)(Ne=>({effect:Gt[Zt],notification:Ne,propertyName:Zt,sourceName:yi,sourceInstance:Gt})))});return(0,t.T)(...Jt)}function g(Gt,kt,Rt=10){return Gt.pipe((0,W.K)(yi=>(kt&&kt.handleError(yi),Rt<=1?Gt:g(Gt,kt,Rt-1))))}class r extends e.y{constructor(kt){super(),kt&&(this.source=kt)}lift(kt){const Rt=new r;return Rt.source=this,Rt.operator=kt,Rt}}function w(...Gt){return(0,Z.h)(kt=>Gt.some(Rt=>"string"==typeof Rt?Rt===kt.type:Rt.type===kt.type))}r.\u0275fac=function(kt){return new(kt||r)(le.LFG(re.Y$))},r.\u0275prov=le.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"});const V=new le.OlP("@ngrx/effects Internal Root Guard"),N=new le.OlP("@ngrx/effects User Provided Effects"),Y=new le.OlP("@ngrx/effects Internal Root Effects"),Pe=new le.OlP("@ngrx/effects Root Effects"),Ce=new le.OlP("@ngrx/effects Internal Feature Effects"),Xe=new le.OlP("@ngrx/effects Feature Effects"),dt=new le.OlP("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>g}),Ke="@ngrx/effects/init";(0,re.PH)(Ke);function $e(Gt,kt){if("N"===Gt.notification.kind){const Rt=Gt.notification.value;!function Oe(Gt){return"function"!=typeof Gt&&Gt&&Gt.type&&"string"==typeof Gt.type}(Rt)&&kt.handleError(new Error(`Effect ${function Me({propertyName:Gt,sourceInstance:kt,sourceName:Rt}){const yi="function"==typeof kt[Gt];return`"${Rt}.${String(Gt)}${yi?"()":""}"`}(Gt)} dispatched an invalid action: ${function De(Gt){try{return JSON.stringify(Gt)}catch{return Gt}}(Rt)}`))}}function ne(Gt){return K(Gt,"ngrxOnInitEffects")}function K(Gt,kt){return Gt&&kt in Gt&&"function"==typeof Gt[kt]}class ee extends _.x{constructor(kt,Rt){super(),this.errorHandler=kt,this.effectsErrorHandler=Rt}addEffects(kt){this.next(kt)}toActions(){return this.pipe($(x),(0,ae.z)(kt=>kt.pipe($(ze))),(0,ae.z)(kt=>{const Rt=kt.pipe(he(Jt=>function Ve(Gt,kt){return Rt=>{const yi=I(Rt,Gt,kt);return function ie(Gt){return K(Gt,"ngrxOnRunEffects")}(Rt)?Rt.ngrxOnRunEffects(yi):yi}}(this.errorHandler,this.effectsErrorHandler)(Jt)),(0,A.U)(Jt=>($e(Jt,this.errorHandler),Jt.notification)),(0,Z.h)(Jt=>"N"===Jt.kind&&null!=Jt.value),function se(){return(0,k.e)((Gt,kt)=>{Gt.subscribe((0,M.x)(kt,Rt=>D(Rt,kt)))})}()),yi=kt.pipe((0,pe.q)(1),(0,Z.h)(ne),(0,A.U)(Jt=>Jt.ngrxOnInitEffects()));return(0,t.T)(Rt,yi)}))}}function ze(Gt){return function ye(Gt){return K(Gt,"ngrxOnIdentifyEffects")}(Gt)?Gt.ngrxOnIdentifyEffects():""}ee.\u0275fac=function(kt){return new(kt||ee)(le.LFG(le.qLn),le.LFG(dt))},ee.\u0275prov=le.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"});class oe{constructor(kt,Rt){this.effectSources=kt,this.store=Rt,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)}}oe.\u0275fac=function(kt){return new(kt||oe)(le.LFG(ee),le.LFG(re.yh))},oe.\u0275prov=le.Yz7({token:oe,factory:oe.\u0275fac,providedIn:"root"});class at{constructor(kt,Rt,yi,Jt,Zt,mi,Re){this.sources=kt,Rt.start(),Jt.forEach(U=>kt.addEffects(U)),yi.dispatch({type:Ke})}addEffects(kt){this.sources.addEffects(kt)}}at.\u0275fac=function(kt){return new(kt||at)(le.LFG(ee),le.LFG(oe),le.LFG(re.yh),le.LFG(Pe),le.LFG(re.cr,8),le.LFG(re.CK,8),le.LFG(V,8))},at.\u0275mod=le.oAB({type:at}),at.\u0275inj=le.cJS({});class qe{constructor(kt,Rt,yi,Jt){Rt.forEach(Zt=>Zt.forEach(mi=>kt.addEffects(mi)))}}qe.\u0275fac=function(kt){return new(kt||qe)(le.LFG(at),le.LFG(Xe),le.LFG(re.cr,8),le.LFG(re.CK,8))},qe.\u0275mod=le.oAB({type:qe}),qe.\u0275inj=le.cJS({});class it{static forFeature(...kt){const Rt=kt.flat();return{ngModule:qe,providers:[Rt,{provide:Ce,multi:!0,useValue:Rt},{provide:N,multi:!0,useValue:[]},{provide:Xe,multi:!0,useFactory:ii,deps:[Ce,N]}]}}static forRoot(...kt){const Rt=kt.flat();return{ngModule:at,providers:[Rt,{provide:Y,useValue:[Rt]},{provide:V,useFactory:st},{provide:N,multi:!0,useValue:[]},{provide:Pe,useFactory:ii,deps:[Y,N]}]}}}function ii(Gt,kt){const Rt=[];for(const yi of Gt)Rt.push(...yi);for(const yi of kt)Rt.push(...yi);return function bt(Gt){return Gt.map(kt=>(0,le.f3M)(kt))}(Rt)}function st(){const Gt=(0,le.f3M)(oe,{optional:!0,skipSelf:!0}),kt=(0,le.f3M)(Y,{self:!0});if((1!==kt.length||0!==kt[0].length)&&Gt)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}it.\u0275fac=function(kt){return new(kt||it)},it.\u0275mod=le.oAB({type:it}),it.\u0275inj=le.cJS({})},5242:(__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__(2560),_ngrx_store__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(9263),rxjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(591),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(833),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(745),rxjs__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(6646),rxjs__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(4915),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(6067),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(1203),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(116),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(635),rxjs_operators__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(3853),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(7580),rxjs_operators__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(1989),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(3158),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(9295),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(8951),rxjs_operators__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(2673),rxjs_operators__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(7260),rxjs_operators__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(8728),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(538),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(4351);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(J,f){if(this.action=J,this.timestamp=f,this.type=PERFORM_ACTION,typeof J.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(J){this.timestamp=J,this.type=RESET}}class Rollback{constructor(J){this.timestamp=J,this.type=ROLLBACK}}class Commit{constructor(J){this.timestamp=J,this.type=COMMIT}}class Sweep{constructor(){this.type=SWEEP}}class ToggleAction{constructor(J){this.id=J,this.type=TOGGLE_ACTION}}class SetActionsActive{constructor(J,f,e=!0){this.start=J,this.end=f,this.active=e,this.type=SET_ACTIONS_ACTIVE}}class JumpToState{constructor(J){this.index=J,this.type=JUMP_TO_STATE}}class JumpToAction{constructor(J){this.actionId=J,this.type=JUMP_TO_ACTION}}class ImportState{constructor(J){this.nextLiftedState=J,this.type=IMPORT_STATE}}class LockChanges{constructor(J){this.status=J,this.type=LOCK_CHANGES}}class PauseRecording{constructor(J){this.status=J,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(Ye){const J={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}},f="function"==typeof Ye?Ye():Ye,e=!!f.logOnly&&{pause:!0,export:!0,test:!0},t=f.features||e||J.features,_=Object.assign({},J,{features:t},f);if(_.maxAge&&_.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${_.maxAge}`);return _}function difference(Ye,J){return Ye.filter(f=>J.indexOf(f)<0)}function unliftState(Ye){const{computedStates:J,currentStateIndex:f}=Ye;if(f>=J.length){const{state:t}=J[J.length-1];return t}const{state:e}=J[f];return e}function unliftAction(Ye){return Ye.actionsById[Ye.nextActionId-1]}function liftAction(Ye){return new PerformAction(Ye,+Date.now())}function sanitizeActions(Ye,J){return Object.keys(J).reduce((f,e)=>{const t=Number(e);return f[t]=sanitizeAction(Ye,J[t],t),f},{})}function sanitizeAction(Ye,J,f){return{...J,action:Ye(J.action,f)}}function sanitizeStates(Ye,J){return J.map((f,e)=>({state:sanitizeState(Ye,f.state,e),error:f.error}))}function sanitizeState(Ye,J,f){return Ye(J,f)}function shouldFilterActions(Ye){return Ye.predicate||Ye.actionsSafelist||Ye.actionsBlocklist}function filterLiftedState(Ye,J,f,e){const t=[],_={},O=[];return Ye.stagedActionIds.forEach((l,C)=>{const u=Ye.actionsById[l];!u||C&&isActionFiltered(Ye.computedStates[C],u,J,f,e)||(_[l]=u,t.push(l),O.push(Ye.computedStates[C]))}),{...Ye,stagedActionIds:t,actionsById:_,computedStates:O}}function isActionFiltered(Ye,J,f,e,t){const _=f&&!f(Ye,J.action),O=e&&!J.action.type.match(e.map(C=>escapeRegExp(C)).join("|")),l=t&&J.action.type.match(t.map(C=>escapeRegExp(C)).join("|"));return _||O||l}function escapeRegExp(Ye){return Ye.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}class DevtoolsDispatcher extends _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.UO{}DevtoolsDispatcher.\u0275fac=function(){let Ye;return function(f){return(Ye||(Ye=_angular_core__WEBPACK_IMPORTED_MODULE_0__.n5z(DevtoolsDispatcher)))(f||DevtoolsDispatcher)}}(),DevtoolsDispatcher.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:DevtoolsDispatcher,factory:DevtoolsDispatcher.\u0275fac});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");class DevtoolsExtension{constructor(Ye,J,f){this.config=J,this.dispatcher=f,this.devtoolsExtension=Ye,this.createActionStreams()}notify(Ye,J){if(this.devtoolsExtension)if(Ye.type===PERFORM_ACTION){if(J.isLocked||J.isPaused)return;const f=unliftState(J);if(shouldFilterActions(this.config)&&isActionFiltered(f,Ye,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;const e=this.config.stateSanitizer?sanitizeState(this.config.stateSanitizer,f,J.currentStateIndex):f,t=this.config.actionSanitizer?sanitizeAction(this.config.actionSanitizer,Ye,J.nextActionId):Ye;this.sendToReduxDevtools(()=>this.extensionConnection.send(t,e))}else{const f={...J,stagedActionIds:J.stagedActionIds,actionsById:this.config.actionSanitizer?sanitizeActions(this.config.actionSanitizer,J.actionsById):J.actionsById,computedStates:this.config.stateSanitizer?sanitizeStates(this.config.stateSanitizer,J.computedStates):J.computedStates};this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,f,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new rxjs__WEBPACK_IMPORTED_MODULE_3__.y(Ye=>{const J=this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=J,J.init(),J.subscribe(f=>Ye.next(f)),J.unsubscribe}):rxjs__WEBPACK_IMPORTED_MODULE_2__.E}createActionStreams(){const Ye=this.createChangesObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.B)()),J=Ye.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(l=>l.type===ExtensionActionTypes.START)),f=Ye.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(l=>l.type===ExtensionActionTypes.STOP)),e=Ye.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(l=>l.type===ExtensionActionTypes.DISPATCH),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(l=>this.unwrapAction(l.payload)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.b)(l=>l.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)(()=>l),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.K)(()=>(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.of)(l)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.q)(1)):(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.of)(l))),_=Ye.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(l=>l.type===ExtensionActionTypes.ACTION),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(l=>this.unwrapAction(l.payload))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(f)),O=e.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(f));this.start$=J.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(f)),this.actions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.w)(()=>_)),this.liftedActions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.w)(()=>O))}unwrapAction(action){return"string"==typeof action?eval(`(${action})`):action}getExtensionConfig(Ye){const J={name:Ye.name,features:Ye.features,serialize:Ye.serialize,autoPause:Ye.autoPause??!1,trace:Ye.trace??!1,traceLimit:Ye.traceLimit??75};return!1!==Ye.maxAge&&(J.maxAge=Ye.maxAge),J}sendToReduxDevtools(Ye){try{Ye()}catch(J){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",J)}}}DevtoolsExtension.\u0275fac=function Ye(J){return new(J||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});const INIT_ACTION={type:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.qg},RECOMPUTE="@ngrx/store-devtools/recompute",RECOMPUTE_ACTION={type:RECOMPUTE};function computeNextEntry(Ye,J,f,e,t){if(e)return{state:f,error:"Interrupted by an error up the chain"};let O,_=f;try{_=Ye(f,J)}catch(l){O=l.toString(),t.handleError(l)}return{state:_,error:O}}function recomputeStates(Ye,J,f,e,t,_,O,l,C){if(J>=Ye.length&&Ye.length===_.length)return Ye;const u=Ye.slice(0,J),P=_.length-(C?1:0);for(let p=J;p<P;p++){const L=_[p],D=t[L].action,k=u[p-1],M=k?k.state:e,z=k?k.error:void 0,W=O.indexOf(L)>-1?k:computeNextEntry(f,D,M,z,l);u.push(W)}return C&&u.push(Ye[Ye.length-1]),u}function liftInitialState(Ye,J){return{monitorState:J(void 0,{}),nextActionId:1,actionsById:{0:liftAction(INIT_ACTION)},stagedActionIds:[0],skippedActionIds:[],committedState:Ye,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}function liftReducerWith(Ye,J,f,e,t={}){return _=>(O,l)=>{let{monitorState:C,actionsById:u,nextActionId:P,stagedActionIds:p,skippedActionIds:L,committedState:D,currentStateIndex:k,computedStates:M,isLocked:z,isPaused:A}=O||J;function W($){let ae=$,he=p.slice(1,ae+1);for(let se=0;se<he.length;se++){if(M[se+1].error){ae=se,he=p.slice(1,ae+1);break}delete u[he[se]]}L=L.filter(se=>-1===he.indexOf(se)),p=[0,...p.slice(ae+1)],D=M[ae].state,M=M.slice(ae),k=k>ae?k-ae:0}function Z(){u={0:liftAction(INIT_ACTION)},P=1,p=[0],L=[],D=M[k].state,k=0,M=[]}O||(u=Object.create(u));let X=0;switch(l.type){case LOCK_CHANGES:z=l.status,X=1/0;break;case PAUSE_RECORDING:A=l.status,A?(p=[...p,P],u[P]=new PerformAction({type:"@ngrx/devtools/pause"},+Date.now()),P++,X=p.length-1,M=M.concat(M[M.length-1]),k===p.length-2&&k++,X=1/0):Z();break;case RESET:u={0:liftAction(INIT_ACTION)},P=1,p=[0],L=[],D=Ye,k=0,M=[];break;case COMMIT:Z();break;case ROLLBACK:u={0:liftAction(INIT_ACTION)},P=1,p=[0],L=[],k=0,M=[];break;case TOGGLE_ACTION:{const{id:$}=l;L=-1===L.indexOf($)?[$,...L]:L.filter(he=>he!==$),X=p.indexOf($);break}case SET_ACTIONS_ACTIVE:{const{start:$,end:ae,active:he}=l,se=[];for(let pe=$;pe<ae;pe++)se.push(pe);L=he?difference(L,se):[...L,...se],X=p.indexOf($);break}case JUMP_TO_STATE:k=l.index,X=1/0;break;case JUMP_TO_ACTION:{const $=p.indexOf(l.actionId);-1!==$&&(k=$),X=1/0;break}case SWEEP:p=difference(p,L),L=[],k=Math.min(k,p.length-1);break;case PERFORM_ACTION:{if(z)return O||J;if(A||O&&isActionFiltered(O.computedStates[k],l,t.predicate,t.actionsSafelist,t.actionsBlocklist)){const ae=M[M.length-1];M=[...M.slice(0,-1),computeNextEntry(_,l.action,ae.state,ae.error,f)],X=1/0;break}t.maxAge&&p.length===t.maxAge&&W(1),k===p.length-1&&k++;const $=P++;u[$]=l,p=[...p,$],X=p.length-1;break}case IMPORT_STATE:({monitorState:C,actionsById:u,nextActionId:P,stagedActionIds:p,skippedActionIds:L,committedState:D,currentStateIndex:k,computedStates:M,isLocked:z,isPaused:A}=l.nextLiftedState);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.qg:X=0,t.maxAge&&p.length>t.maxAge&&(M=recomputeStates(M,X,_,D,u,p,L,f,A),W(p.length-t.maxAge),X=1/0);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.wb:if(M.filter(ae=>ae.error).length>0)X=0,t.maxAge&&p.length>t.maxAge&&(M=recomputeStates(M,X,_,D,u,p,L,f,A),W(p.length-t.maxAge),X=1/0);else{if(!A&&!z){k===p.length-1&&k++;const ae=P++;u[ae]=new PerformAction(l,+Date.now()),p=[...p,ae],X=p.length-1,M=recomputeStates(M,X,_,D,u,p,L,f,A)}M=M.map(ae=>({...ae,state:_(ae.state,RECOMPUTE_ACTION)})),k=p.length-1,t.maxAge&&p.length>t.maxAge&&W(p.length-t.maxAge),X=1/0}break;default:X=1/0}return M=recomputeStates(M,X,_,D,u,p,L,f,A),C=e(C,l),{monitorState:C,actionsById:u,nextActionId:P,stagedActionIds:p,skippedActionIds:L,committedState:D,currentStateIndex:k,computedStates:M,isLocked:z,isPaused:A}}}class StoreDevtools{constructor(J,f,e,t,_,O,l,C){const u=liftInitialState(l,C.monitor),P=liftReducerWith(l,u,O,C.monitor,C),p=(0,rxjs__WEBPACK_IMPORTED_MODULE_15__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_15__.T)(f.asObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.T)(1)),t.actions$).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(liftAction)),J,t.liftedActions$).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.Q)(rxjs__WEBPACK_IMPORTED_MODULE_18__.N)),L=e.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(P)),D=new rxjs__WEBPACK_IMPORTED_MODULE_19__.t(1),k=p.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.M)(L),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.R)(({state:W},[Z,X])=>{let $=X(W,Z);return Z.type!==PERFORM_ACTION&&shouldFilterActions(C)&&($=filterLiftedState($,C.predicate,C.actionsSafelist,C.actionsBlocklist)),t.notify(Z,$),{state:$,action:Z}},{state:u,action:null})).subscribe(({state:W,action:Z})=>{if(D.next(W),Z.type===PERFORM_ACTION){const X=Z.action;_.next(X)}}),M=t.start$.subscribe(()=>{this.refresh()}),z=D.asObservable(),A=z.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(unliftState));this.extensionStartSubscription=M,this.stateSubscription=k,this.dispatcher=J,this.liftedState=z,this.state=A}dispatch(J){this.dispatcher.next(J)}next(J){this.dispatcher.next(J)}error(J){}complete(){}performAction(J){this.dispatch(new PerformAction(J,+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(J){this.dispatch(new ToggleAction(J))}jumpToAction(J){this.dispatch(new JumpToAction(J))}jumpToState(J){this.dispatch(new JumpToState(J))}importState(J){this.dispatch(new ImportState(J))}lockChanges(J){this.dispatch(new LockChanges(J))}pauseRecording(J){this.dispatch(new PauseRecording(J))}}StoreDevtools.\u0275fac=function Ye(J){return new(J||StoreDevtools)(_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))},StoreDevtools.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:StoreDevtools,factory:StoreDevtools.\u0275fac});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(Ye,J){return Boolean(Ye)||J.monitor!==noMonitor}function createReduxDevtoolsExtension(){const Ye="__REDUX_DEVTOOLS_EXTENSION__";return"object"==typeof window&&typeof window[Ye]<"u"?window[Ye]:null}function provideStoreDevtools(Ye={}){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.MR2)([DevtoolsExtension,DevtoolsDispatcher,StoreDevtools,{provide:INITIAL_OPTIONS,useValue:Ye},{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(Ye){return Ye.state}class StoreDevtoolsModule{static instrument(J={}){return{ngModule:StoreDevtoolsModule,providers:[provideStoreDevtools(J)]}}}StoreDevtoolsModule.\u0275fac=function Ye(J){return new(J||StoreDevtoolsModule)},StoreDevtoolsModule.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_0__.oAB({type:StoreDevtoolsModule}),StoreDevtoolsModule.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_0__.cJS({})},9263:(Ye,J,f)=>{"use strict";f.d(J,{UO:()=>le,qg:()=>pe,Y6:()=>i,mK:()=>Se,n$:()=>ie,Y$:()=>ze,FR:()=>oe,yh:()=>ii,CK:()=>Xn,Aw:()=>Qn,cr:()=>gn,wb:()=>ne,PH:()=>z,ZF:()=>Ft,Lq:()=>Er,P1:()=>gt,on:()=>Qa,Ky:()=>A});var e=f(2560),t=f(6317),_=f(833),O=f(253),l=f(4915),C=f(8728),u=f(538),P=f(4351),p=f(635);var D=f(8977);const k={};function z(At,Kt){if(k[At]=(k[At]||0)+1,"function"==typeof Kt)return Z(At,(...Di)=>({...Kt(...Di),type:At}));switch(Kt?Kt._as:"empty"){case"empty":return Z(At,()=>({type:At}));case"props":return Z(At,Di=>({...Di,type:At}));default:throw new Error("Unexpected config.")}}function A(){return{_as:"props",_p:void 0}}function Z(At,Kt){return Object.defineProperty(Kt,"type",{value:At,writable:!1})}const pe="@ngrx/store/init";class le extends t.X{constructor(){super({type:pe})}next(Kt){if("function"==typeof Kt)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 Kt>"u")throw new TypeError("Actions must be objects");if(typeof Kt.type>"u")throw new TypeError("Actions must have a type property");super.next(Kt)}complete(){}ngOnDestroy(){super.complete()}}le.\u0275fac=function(Kt){return new(Kt||le)},le.\u0275prov=e.Yz7({token:le,factory:le.\u0275fac});const re=[le],fe=new e.OlP("@ngrx/store Internal Root Guard"),T=new e.OlP("@ngrx/store Internal Initial State"),i=new e.OlP("@ngrx/store Initial State"),o=new e.OlP("@ngrx/store Reducer Factory"),m=new e.OlP("@ngrx/store Internal Reducer Factory Provider"),h=new e.OlP("@ngrx/store Initial Reducers"),x=new e.OlP("@ngrx/store Internal Initial Reducers"),I=new e.OlP("@ngrx/store Store Features"),R=new e.OlP("@ngrx/store Internal Store Reducers"),g=new e.OlP("@ngrx/store Internal Feature Reducers"),r=new e.OlP("@ngrx/store Internal Feature Configs"),w=new e.OlP("@ngrx/store Internal Store Features"),V=new e.OlP("@ngrx/store Internal Feature Reducers Token"),N=new e.OlP("@ngrx/store Feature Reducers"),Y=new e.OlP("@ngrx/store User Provided Meta Reducers"),Pe=new e.OlP("@ngrx/store Meta Reducers"),Ce=new e.OlP("@ngrx/store Internal Resolved Meta Reducers"),Xe=new e.OlP("@ngrx/store User Runtime Checks Config"),dt=new e.OlP("@ngrx/store Internal User Runtime Checks Config"),Ke=new e.OlP("@ngrx/store Internal Runtime Checks"),ge=new e.OlP("@ngrx/store Check if Action types are unique"),$e=new e.OlP("@ngrx/store Root Store Provider"),Oe=new e.OlP("@ngrx/store Feature State Provider");function Me(At,Kt={}){const pi=Object.keys(At),Di={};for(let Fi=0;Fi<pi.length;Fi++){const sn=pi[Fi];"function"==typeof At[sn]&&(Di[sn]=At[sn])}const ji=Object.keys(Di);return function(sn,pa){sn=void 0===sn?Kt:sn;let kn=!1;const sa={};for(let An=0;An<ji.length;An++){const na=ji[An],Fa=Di[na],jn=sn[na],ja=Fa(jn,pa);sa[na]=ja,kn=kn||ja!==jn}return kn?sa:sn}}function Ue(...At){return function(Kt){if(0===At.length)return Kt;const pi=At[At.length-1];return At.slice(0,-1).reduceRight((ji,Fi)=>Fi(ji),pi(Kt))}}function ye(At,Kt){return Array.isArray(Kt)&&Kt.length>0&&(At=Ue.apply(null,[...Kt,At])),(pi,Di)=>{const ji=At(pi);return(Fi,sn)=>ji(Fi=void 0===Fi?Di:Fi,sn)}}class ie extends _.y{}class Se extends le{}const ne="@ngrx/store/update-reducers";class K extends t.X{constructor(Kt,pi,Di,ji){super(ji(Di,pi)),this.dispatcher=Kt,this.initialState=pi,this.reducers=Di,this.reducerFactory=ji}get currentReducers(){return this.reducers}addFeature(Kt){this.addFeatures([Kt])}addFeatures(Kt){const pi=Kt.reduce((Di,{reducers:ji,reducerFactory:Fi,metaReducers:sn,initialState:pa,key:kn})=>{const sa="function"==typeof ji?function we(At){const Kt=Array.isArray(At)&&At.length>0?Ue(...At):pi=>pi;return(pi,Di)=>(pi=Kt(pi),(ji,Fi)=>pi(ji=void 0===ji?Di:ji,Fi))}(sn)(ji,pa):ye(Fi,sn)(ji,pa);return Di[kn]=sa,Di},{});this.addReducers(pi)}removeFeature(Kt){this.removeFeatures([Kt])}removeFeatures(Kt){this.removeReducers(Kt.map(pi=>pi.key))}addReducer(Kt,pi){this.addReducers({[Kt]:pi})}addReducers(Kt){this.reducers={...this.reducers,...Kt},this.updateReducers(Object.keys(Kt))}removeReducer(Kt){this.removeReducers([Kt])}removeReducers(Kt){Kt.forEach(pi=>{this.reducers=function De(At,Kt){return Object.keys(At).filter(pi=>pi!==Kt).reduce((pi,Di)=>Object.assign(pi,{[Di]:At[Di]}),{})}(this.reducers,pi)}),this.updateReducers(Kt)}updateReducers(Kt){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:ne,features:Kt})}ngOnDestroy(){this.complete()}}K.\u0275fac=function(Kt){return new(Kt||K)(e.LFG(Se),e.LFG(i),e.LFG(h),e.LFG(o))},K.\u0275prov=e.Yz7({token:K,factory:K.\u0275fac});const ee=[K,{provide:ie,useExisting:K},{provide:Se,useExisting:le}];class ze extends O.x{ngOnDestroy(){this.complete()}}ze.\u0275fac=function(){let At;return function(pi){return(At||(At=e.n5z(ze)))(pi||ze)}}(),ze.\u0275prov=e.Yz7({token:ze,factory:ze.\u0275fac});const Ve=[ze];class oe extends _.y{}class at extends t.X{constructor(Kt,pi,Di,ji){super(ji);const pa={state:ji},kn=Kt.pipe((0,C.Q)(l.N)).pipe((0,u.M)(pi)).pipe((0,P.R)(qe,pa));this.stateSubscription=kn.subscribe(({state:sa,action:An})=>{this.next(sa),Di.next(An)})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}}function qe(At={state:void 0},[Kt,pi]){const{state:Di}=At;return{state:pi(Di,Kt),action:Kt}}at.INIT=pe,at.\u0275fac=function(Kt){return new(Kt||at)(e.LFG(le),e.LFG(ie),e.LFG(ze),e.LFG(i))},at.\u0275prov=e.Yz7({token:at,factory:at.\u0275fac});const it=[at,{provide:oe,useExisting:at}];class ii extends _.y{constructor(Kt,pi,Di){super(),this.actionsObserver=pi,this.reducerManager=Di,this.source=Kt}select(Kt,...pi){return st.call(null,Kt,...pi)(this)}lift(Kt){const pi=new ii(this,this.actionsObserver,this.reducerManager);return pi.operator=Kt,pi}dispatch(Kt){this.actionsObserver.next(Kt)}next(Kt){this.actionsObserver.next(Kt)}error(Kt){this.actionsObserver.error(Kt)}complete(){this.actionsObserver.complete()}addReducer(Kt,pi){this.reducerManager.addReducer(Kt,pi)}removeReducer(Kt){this.reducerManager.removeReducer(Kt)}}ii.\u0275fac=function(Kt){return new(Kt||ii)(e.LFG(oe),e.LFG(le),e.LFG(K))},ii.\u0275prov=e.Yz7({token:ii,factory:ii.\u0275fac});const bt=[ii];function st(At,Kt,...pi){return function(ji){let Fi;if("string"==typeof At){const sn=[Kt,...pi].filter(Boolean);Fi=ji.pipe(function L(...At){const Kt=At.length;if(0===Kt)throw new Error("list of properties cannot be empty.");return(0,p.U)(pi=>{let Di=pi;for(let ji=0;ji<Kt;ji++){const Fi=Di?.[At[ji]];if(!(typeof Fi<"u"))return;Di=Fi}return Di})}(At,...sn))}else{if("function"!=typeof At)throw new TypeError(`Unexpected type '${typeof At}' in select operator, expected 'string' or 'function'`);Fi=ji.pipe((0,p.U)(sn=>At(sn,Kt)))}return Fi.pipe((0,D.x)())}}const Be="https://ngrx.io/guide/store/configuration/runtime-checks";function rt(At){return void 0===At}function Ot(At){return null===At}function Gt(At){return Array.isArray(At)}function Jt(At){return"object"==typeof At&&null!==At}function mi(At){if(!function Zt(At){return Jt(At)&&!Gt(At)}(At))return!1;const Kt=Object.getPrototypeOf(At);return Kt===Object.prototype||null===Kt}function Re(At){return"function"==typeof At}let ue=!1;function Et(At,Kt){return At===Kt}function Nt(At,Kt,pi){for(let Di=0;Di<At.length;Di++)if(!pi(At[Di],Kt[Di]))return!0;return!1}function We(At,Kt=Et,pi=Et){let Fi,Di=null,ji=null;return{memoized:function sa(){if(void 0!==Fi)return Fi.result;if(!Di)return ji=At.apply(null,arguments),Di=arguments,ji;if(!Nt(arguments,Di,Kt))return ji;const An=At.apply(null,arguments);return Di=arguments,pi(ji,An)?ji:(ji=An,An)},reset:function sn(){Di=null,ji=null},setResult:function pa(An){Fi={result:An}},clearResult:function kn(){Fi=void 0}}}function gt(...At){return function Pt(At,Kt={stateFn:ri}){return function(...pi){let Di=pi;if(Array.isArray(Di[0])){const[An,...na]=Di;Di=[...An,...na]}const ji=Di.slice(0,Di.length-1),Fi=Di[Di.length-1],sn=ji.filter(An=>An.release&&"function"==typeof An.release),pa=At(function(...An){return Fi.apply(null,An)}),kn=We(function(An,na){return Kt.stateFn.apply(null,[An,ji,na,pa])});function sa(){kn.reset(),pa.reset(),sn.forEach(An=>An.release())}return Object.assign(kn.memoized,{release:sa,projector:pa.memoized,setResult:kn.setResult,clearResult:kn.clearResult})}}(We)(...At)}function ri(At,Kt,pi,Di){if(void 0===pi){const Fi=Kt.map(sn=>sn(At));return Di.memoized.apply(null,Fi)}const ji=Kt.map(Fi=>Fi(At,pi));return Di.memoized.apply(null,[...ji,pi])}function Ft(At){return gt(Kt=>{const pi=Kt[At];return!function wt(){return ue}()&&(0,e.X6Q)()&&!(At in Kt)&&console.warn(`@ngrx/store: The feature name "${At}" does not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module using StoreModule.forRoot('${At}', ...) or StoreModule.forFeature('${At}', ...). If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),pi},Kt=>Kt)}function ct(At){return At instanceof e.OlP?(0,e.f3M)(At):At}function _t(At,Kt){return Kt.map((pi,Di)=>{if(At[Di]instanceof e.OlP){const ji=(0,e.f3M)(At[Di]);return{key:pi.key,reducerFactory:ji.reducerFactory?ji.reducerFactory:Me,metaReducers:ji.metaReducers?ji.metaReducers:[],initialState:ji.initialState}}return pi})}function Lt(At){return At.map(Kt=>Kt instanceof e.OlP?(0,e.f3M)(Kt):Kt)}function Li(At){return"function"==typeof At?At():At}function Ai(At,Kt){return At.concat(Kt)}function wi(){if((0,e.f3M)(ii,{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 xt(At){Object.freeze(At);const Kt=Re(At);return Object.getOwnPropertyNames(At).forEach(pi=>{if(!pi.startsWith("\u0275")&&function j(At,Kt){return Object.prototype.hasOwnProperty.call(At,Kt)}(At,pi)&&(!Kt||"caller"!==pi&&"callee"!==pi&&"arguments"!==pi)){const Di=At[pi];(Jt(Di)||Re(Di))&&!Object.isFrozen(Di)&&xt(Di)}}),At}function Fe(At,Kt=[]){return(rt(At)||Ot(At))&&0===Kt.length?{path:["root"],value:At}:Object.keys(At).reduce((Di,ji)=>{if(Di)return Di;const Fi=At[ji];return function U(At){return Re(At)&&At.hasOwnProperty("\u0275cmp")}(Fi)?Di:!(rt(Fi)||Ot(Fi)||function yi(At){return"number"==typeof At}(Fi)||function Rt(At){return"boolean"==typeof At}(Fi)||function kt(At){return"string"==typeof At}(Fi)||Gt(Fi))&&(mi(Fi)?Fe(Fi,[...Kt,ji]):{path:[...Kt,ji],value:Fi})},!1)}function Wt(At,Kt){if(!1===At)return;const pi=At.path.join("."),Di=new Error(`Detected unserializable ${Kt} at "${pi}". ${Be}#strict${Kt}serializability`);throw Di.value=At.value,Di.unserializablePath=pi,Di}function _i(At){return(0,e.X6Q)()?{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1,...At}:{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function Oi({strictActionSerializability:At,strictStateSerializability:Kt}){return pi=>At||Kt?function Qe(At,Kt){return function(pi,Di){Kt.action(Di)&&Wt(Fe(Di),"action");const ji=At(pi,Di);return Kt.state()&&Wt(Fe(ji),"state"),ji}}(pi,{action:Di=>At&&!Ki(Di),state:()=>Kt}):pi}function ki({strictActionImmutability:At,strictStateImmutability:Kt}){return pi=>At||Kt?function zi(At,Kt){return function(pi,Di){const ji=Kt.action(Di)?xt(Di):Di,Fi=At(pi,ji);return Kt.state()?xt(Fi):Fi}}(pi,{action:Di=>At&&!Ki(Di),state:()=>Kt}):pi}function Ki(At){return At.type.startsWith("@ngrx")}function ti({strictActionWithinNgZone:At}){return Kt=>At?function Xt(At,Kt){return function(pi,Di){if(Kt.action(Di)&&!e.R0b.isInAngularZone())throw new Error(`Action '${Di.type}' running outside NgZone. ${Be}#strictactionwithinngzone`);return At(pi,Di)}}(Kt,{action:pi=>At&&!Ki(pi)}):Kt}function be(At){return[{provide:dt,useValue:At},{provide:Xe,useFactory:ft,deps:[dt]},{provide:Ke,deps:[Xe],useFactory:_i},{provide:Pe,multi:!0,deps:[Ke],useFactory:ki},{provide:Pe,multi:!0,deps:[Ke],useFactory:Oi},{provide:Pe,multi:!0,deps:[Ke],useFactory:ti}]}function ke(){return[{provide:ge,multi:!0,deps:[Ke],useFactory:St}]}function ft(At){return At}function St(At){if(!At.strictActionTypeUniqueness)return;const Kt=Object.entries(k).filter(([,pi])=>pi>1).map(([pi])=>pi);if(Kt.length)throw new Error(`Action types are registered more than once, ${Kt.map(pi=>`"${pi}"`).join(", ")}. ${Be}#strictactiontypeuniqueness`)}function $t(At={},Kt={}){return[{provide:fe,useFactory:wi},{provide:T,useValue:Kt.initialState},{provide:i,useFactory:Li,deps:[T]},{provide:x,useValue:At},{provide:R,useExisting:At instanceof e.OlP?At:x},{provide:h,deps:[x,[new e.tBr(R)]],useFactory:ct},{provide:Y,useValue:Kt.metaReducers?Kt.metaReducers:[]},{provide:Ce,deps:[Pe,Y],useFactory:Ai},{provide:m,useValue:Kt.reducerFactory?Kt.reducerFactory:Me},{provide:o,deps:[m,Ce],useFactory:ye},re,ee,Ve,it,bt,be(Kt.runtimeChecks),ke()]}e.Xts;e.Xts;function ga(At,Kt,pi={}){return[{provide:r,multi:!0,useValue:At instanceof Object?{}:pi},{provide:I,multi:!0,useValue:{key:At instanceof Object?At.name:At,reducerFactory:pi instanceof e.OlP||!pi.reducerFactory?Me:pi.reducerFactory,metaReducers:pi instanceof e.OlP||!pi.metaReducers?[]:pi.metaReducers,initialState:pi instanceof e.OlP||!pi.initialState?void 0:pi.initialState}},{provide:w,deps:[r,I],useFactory:_t},{provide:g,multi:!0,useValue:At instanceof Object?At.reducer:Kt},{provide:V,multi:!0,useExisting:Kt instanceof e.OlP?Kt:g},{provide:N,multi:!0,deps:[g,[new e.tBr(V)]],useFactory:Lt},ke()]}class gn{constructor(Kt,pi,Di,ji,Fi,sn){}}gn.\u0275fac=function(Kt){return new(Kt||gn)(e.LFG(le),e.LFG(ie),e.LFG(ze),e.LFG(ii),e.LFG(fe,8),e.LFG(ge,8))},gn.\u0275mod=e.oAB({type:gn}),gn.\u0275inj=e.cJS({});class Xn{constructor(Kt,pi,Di,ji,Fi){this.features=Kt,this.featureReducers=pi,this.reducerManager=Di;const sn=Kt.map((pa,kn)=>{const An=pi.shift()[kn];return{...pa,reducers:An,initialState:Li(pa.initialState)}});Di.addFeatures(sn)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}}Xn.\u0275fac=function(Kt){return new(Kt||Xn)(e.LFG(w),e.LFG(N),e.LFG(K),e.LFG(gn),e.LFG(ge,8))},Xn.\u0275mod=e.oAB({type:Xn}),Xn.\u0275inj=e.cJS({});class Qn{static forRoot(Kt,pi){return{ngModule:gn,providers:[...$t(Kt,pi)]}}static forFeature(Kt,pi,Di={}){return{ngModule:Xn,providers:[...ga(Kt,pi,Di)]}}}function Qa(...At){return{reducer:At.pop(),types:At.map(Di=>Di.type)}}function Er(At,...Kt){const pi=new Map;for(const Di of Kt)for(const ji of Di.types){const Fi=pi.get(ji);if(Fi){const sn=(pa,kn)=>Di.reducer(Fi(pa,kn),kn);pi.set(ji,sn)}else pi.set(ji,Di.reducer)}return function(Di=At,ji){const Fi=pi.get(ji.type);return Fi?Fi(Di,ji):Di}}Qn.\u0275fac=function(Kt){return new(Kt||Qn)},Qn.\u0275mod=e.oAB({type:Qn}),Qn.\u0275inj=e.cJS({})},6590:(Ye,J,f)=>{"use strict";f.d(J,{H5:()=>Q2,K$:()=>Ad,a4:()=>F1});var e=f(2560),t=f(4666),_=f(4929),O=f(7520),l=f(3280),C=f(1989),u=f(4851);function P(){}function p(d){return null==d?P:function(){return this.querySelector(d)}}function D(d){return"object"==typeof d&&"length"in d?d:Array.from(d)}function k(){return[]}function M(d){return null==d?k:function(){return this.querySelectorAll(d)}}function W(d){return function(){return this.matches(d)}}function Z(d){return function(a){return a.matches(d)}}var X=Array.prototype.find;function ae(){return this.firstElementChild}var se=Array.prototype.filter;function pe(){return this.children}function T(d){return new Array(d.length)}function o(d,a){this.ownerDocument=d.ownerDocument,this.namespaceURI=d.namespaceURI,this._next=null,this._parent=d,this.__data__=a}function m(d){return function(){return d}}function h(d,a,n,y,B,q){for(var Ie,de=0,ht=a.length,yt=q.length;de<yt;++de)(Ie=a[de])?(Ie.__data__=q[de],y[de]=Ie):n[de]=new o(d,q[de]);for(;de<ht;++de)(Ie=a[de])&&(B[de]=Ie)}function x(d,a,n,y,B,q,de){var Ie,ht,vi,yt=new Map,Tt=a.length,ei=q.length,zt=new Array(Tt);for(Ie=0;Ie<Tt;++Ie)(ht=a[Ie])&&(zt[Ie]=vi=de.call(ht,ht.__data__,Ie,a)+"",yt.has(vi)?B[Ie]=ht:yt.set(vi,ht));for(Ie=0;Ie<ei;++Ie)vi=de.call(d,q[Ie],Ie,q)+"",(ht=yt.get(vi))?(y[Ie]=ht,ht.__data__=q[Ie],yt.delete(vi)):n[Ie]=new o(d,q[Ie]);for(Ie=0;Ie<Tt;++Ie)(ht=a[Ie])&&yt.get(zt[Ie])===ht&&(B[Ie]=ht)}function I(d){return d.__data__}function Y(d,a){return d<a?-1:d>a?1:d>=a?0:NaN}o.prototype={constructor:o,appendChild:function(d){return this._parent.insertBefore(d,this._next)},insertBefore:function(d,a){return this._parent.insertBefore(d,a)},querySelector:function(d){return this._parent.querySelector(d)},querySelectorAll:function(d){return this._parent.querySelectorAll(d)}};var $e="http://www.w3.org/1999/xhtml";const Oe={svg:"http://www.w3.org/2000/svg",xhtml:$e,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Me(d){var a=d+="",n=a.indexOf(":");return n>=0&&"xmlns"!==(a=d.slice(0,n))&&(d=d.slice(n+1)),Oe.hasOwnProperty(a)?{space:Oe[a],local:d}:d}function De(d){return function(){this.removeAttribute(d)}}function Ue(d){return function(){this.removeAttributeNS(d.space,d.local)}}function ye(d,a){return function(){this.setAttribute(d,a)}}function we(d,a){return function(){this.setAttributeNS(d.space,d.local,a)}}function ie(d,a){return function(){var n=a.apply(this,arguments);null==n?this.removeAttribute(d):this.setAttribute(d,n)}}function Se(d,a){return function(){var n=a.apply(this,arguments);null==n?this.removeAttributeNS(d.space,d.local):this.setAttributeNS(d.space,d.local,n)}}function K(d){return d.ownerDocument&&d.ownerDocument.defaultView||d.document&&d||d.defaultView}function ee(d){return function(){this.style.removeProperty(d)}}function ze(d,a,n){return function(){this.style.setProperty(d,a,n)}}function Ve(d,a,n){return function(){var y=a.apply(this,arguments);null==y?this.style.removeProperty(d):this.style.setProperty(d,y,n)}}function at(d,a){return d.style.getPropertyValue(a)||K(d).getComputedStyle(d,null).getPropertyValue(a)}function qe(d){return function(){delete this[d]}}function it(d,a){return function(){this[d]=a}}function ii(d,a){return function(){var n=a.apply(this,arguments);null==n?delete this[d]:this[d]=n}}function st(d){return d.trim().split(/^|\s+/)}function Be(d){return d.classList||new rt(d)}function rt(d){this._node=d,this._names=st(d.getAttribute("class")||"")}function Ot(d,a){for(var n=Be(d),y=-1,B=a.length;++y<B;)n.add(a[y])}function Gt(d,a){for(var n=Be(d),y=-1,B=a.length;++y<B;)n.remove(a[y])}function kt(d){return function(){Ot(this,d)}}function Rt(d){return function(){Gt(this,d)}}function yi(d,a){return function(){(a.apply(this,arguments)?Ot:Gt)(this,d)}}function Zt(){this.textContent=""}function mi(d){return function(){this.textContent=d}}function Re(d){return function(){var a=d.apply(this,arguments);this.textContent=a??""}}function j(){this.innerHTML=""}function ue(d){return function(){this.innerHTML=d}}function Ne(d){return function(){var a=d.apply(this,arguments);this.innerHTML=a??""}}function Et(){this.nextSibling&&this.parentNode.appendChild(this)}function ot(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function gt(d){return function(){var a=this.ownerDocument,n=this.namespaceURI;return n===$e&&a.documentElement.namespaceURI===$e?a.createElement(d):a.createElementNS(n,d)}}function ri(d){return function(){return this.ownerDocument.createElementNS(d.space,d.local)}}function Pt(d){var a=Me(d);return(a.local?ri:gt)(a)}function qt(){return null}function me(){var d=this.parentNode;d&&d.removeChild(this)}function _t(){var d=this.cloneNode(!1),a=this.parentNode;return a?a.insertBefore(d,this.nextSibling):d}function Lt(){var d=this.cloneNode(!0),a=this.parentNode;return a?a.insertBefore(d,this.nextSibling):d}function zi(d){return d.trim().split(/^|\s+/).map(function(a){var n="",y=a.indexOf(".");return y>=0&&(n=a.slice(y+1),a=a.slice(0,y)),{type:a,name:n}})}function xt(d){return function(){var a=this.__on;if(a){for(var q,n=0,y=-1,B=a.length;n<B;++n)q=a[n],d.type&&q.type!==d.type||q.name!==d.name?a[++y]=q:this.removeEventListener(q.type,q.listener,q.options);++y?a.length=y:delete this.__on}}}function Qe(d,a,n){return function(){var B,y=this.__on,q=function wi(d){return function(a){d.call(this,a,this.__data__)}}(a);if(y)for(var de=0,Ie=y.length;de<Ie;++de)if((B=y[de]).type===d.type&&B.name===d.name)return this.removeEventListener(B.type,B.listener,B.options),this.addEventListener(B.type,B.listener=q,B.options=n),void(B.value=a);this.addEventListener(d.type,q,n),B={type:d.type,name:d.name,value:a,listener:q,options:n},y?y.push(B):this.__on=[B]}}function Wt(d,a,n){var y=K(d),B=y.CustomEvent;"function"==typeof B?B=new B(a,n):(B=y.document.createEvent("Event"),n?(B.initEvent(a,n.bubbles,n.cancelable),B.detail=n.detail):B.initEvent(a,!1,!1)),d.dispatchEvent(B)}function Xt(d,a){return function(){return Wt(this,d,a)}}function _i(d,a){return function(){return Wt(this,d,a.apply(this,arguments))}}rt.prototype={add:function(d){this._names.indexOf(d)<0&&(this._names.push(d),this._node.setAttribute("class",this._names.join(" ")))},remove:function(d){var a=this._names.indexOf(d);a>=0&&(this._names.splice(a,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(d){return this._names.indexOf(d)>=0}};var Ki=[null];function ti(d,a){this._groups=d,this._parents=a}function be(){return new ti([[document.documentElement]],Ki)}ti.prototype=be.prototype={constructor:ti,select:function L(d){"function"!=typeof d&&(d=p(d));for(var a=this._groups,n=a.length,y=new Array(n),B=0;B<n;++B)for(var ht,yt,q=a[B],de=q.length,Ie=y[B]=new Array(de),Tt=0;Tt<de;++Tt)(ht=q[Tt])&&(yt=d.call(ht,ht.__data__,Tt,q))&&("__data__"in ht&&(yt.__data__=ht.__data__),Ie[Tt]=yt);return new ti(y,this._parents)},selectAll:function A(d){d="function"==typeof d?function z(d){return function(){var a=d.apply(this,arguments);return null==a?[]:D(a)}}(d):M(d);for(var a=this._groups,n=a.length,y=[],B=[],q=0;q<n;++q)for(var ht,de=a[q],Ie=de.length,yt=0;yt<Ie;++yt)(ht=de[yt])&&(y.push(d.call(ht,ht.__data__,yt,de)),B.push(ht));return new ti(y,B)},selectChild:function he(d){return this.select(null==d?ae:function $(d){return function(){return X.call(this.children,d)}}("function"==typeof d?d:Z(d)))},selectChildren:function re(d){return this.selectAll(null==d?pe:function le(d){return function(){return se.call(this.children,d)}}("function"==typeof d?d:Z(d)))},filter:function fe(d){"function"!=typeof d&&(d=W(d));for(var a=this._groups,n=a.length,y=new Array(n),B=0;B<n;++B)for(var ht,q=a[B],de=q.length,Ie=y[B]=[],yt=0;yt<de;++yt)(ht=q[yt])&&d.call(ht,ht.__data__,yt,q)&&Ie.push(ht);return new ti(y,this._parents)},data:function R(d,a){if(!arguments.length)return Array.from(this,I);var n=a?x:h,y=this._parents,B=this._groups;"function"!=typeof d&&(d=m(d));for(var q=B.length,de=new Array(q),Ie=new Array(q),ht=new Array(q),yt=0;yt<q;++yt){var Tt=y[yt],ei=B[yt],zt=ei.length,vi=D(d.call(Tt,Tt&&Tt.__data__,yt,y)),Si=vi.length,qi=Ie[yt]=new Array(Si),gi=de[yt]=new Array(Si),Xi=ht[yt]=new Array(zt);n(Tt,ei,qi,gi,Xi,vi,a);for(var fn,bn,nn=0,en=0;nn<Si;++nn)if(fn=qi[nn]){for(nn>=en&&(en=nn+1);!(bn=gi[en])&&++en<Si;);fn._next=bn||null}}return(de=new ti(de,y))._enter=Ie,de._exit=ht,de},enter:function i(){return new ti(this._enter||this._groups.map(T),this._parents)},exit:function g(){return new ti(this._exit||this._groups.map(T),this._parents)},join:function r(d,a,n){var y=this.enter(),B=this,q=this.exit();return y="function"==typeof d?d(y):y.append(d+""),null!=a&&(B=a(B)),null==n?q.remove():n(q),y&&B?y.merge(B).order():B},merge:function w(d){if(!(d instanceof ti))throw new Error("invalid merge");for(var a=this._groups,n=d._groups,y=a.length,B=n.length,q=Math.min(y,B),de=new Array(y),Ie=0;Ie<q;++Ie)for(var zt,ht=a[Ie],yt=n[Ie],Tt=ht.length,ei=de[Ie]=new Array(Tt),vi=0;vi<Tt;++vi)(zt=ht[vi]||yt[vi])&&(ei[vi]=zt);for(;Ie<y;++Ie)de[Ie]=a[Ie];return new ti(de,this._parents)},selection:function ke(){return this},order:function V(){for(var d=this._groups,a=-1,n=d.length;++a<n;)for(var de,y=d[a],B=y.length-1,q=y[B];--B>=0;)(de=y[B])&&(q&&4^de.compareDocumentPosition(q)&&q.parentNode.insertBefore(de,q),q=de);return this},sort:function N(d){function a(ei,zt){return ei&&zt?d(ei.__data__,zt.__data__):!ei-!zt}d||(d=Y);for(var n=this._groups,y=n.length,B=new Array(y),q=0;q<y;++q){for(var yt,de=n[q],Ie=de.length,ht=B[q]=new Array(Ie),Tt=0;Tt<Ie;++Tt)(yt=de[Tt])&&(ht[Tt]=yt);ht.sort(a)}return new ti(B,this._parents).order()},call:function Pe(){var d=arguments[0];return arguments[0]=this,d.apply(null,arguments),this},nodes:function Ce(){return Array.from(this)},node:function Xe(){for(var d=this._groups,a=0,n=d.length;a<n;++a)for(var y=d[a],B=0,q=y.length;B<q;++B){var de=y[B];if(de)return de}return null},size:function dt(){let d=0;for(const a of this)++d;return d},empty:function Ke(){return!this.node()},each:function ge(d){for(var a=this._groups,n=0,y=a.length;n<y;++n)for(var Ie,B=a[n],q=0,de=B.length;q<de;++q)(Ie=B[q])&&d.call(Ie,Ie.__data__,q,B);return this},attr:function ne(d,a){var n=Me(d);if(arguments.length<2){var y=this.node();return n.local?y.getAttributeNS(n.space,n.local):y.getAttribute(n)}return this.each((null==a?n.local?Ue:De:"function"==typeof a?n.local?Se:ie:n.local?we:ye)(n,a))},style:function oe(d,a,n){return arguments.length>1?this.each((null==a?ee:"function"==typeof a?Ve:ze)(d,a,n??"")):at(this.node(),d)},property:function bt(d,a){return arguments.length>1?this.each((null==a?qe:"function"==typeof a?ii:it)(d,a)):this.node()[d]},classed:function Jt(d,a){var n=st(d+"");if(arguments.length<2){for(var y=Be(this.node()),B=-1,q=n.length;++B<q;)if(!y.contains(n[B]))return!1;return!0}return this.each(("function"==typeof a?yi:a?kt:Rt)(n,a))},text:function U(d){return arguments.length?this.each(null==d?Zt:("function"==typeof d?Re:mi)(d)):this.node().textContent},html:function wt(d){return arguments.length?this.each(null==d?j:("function"==typeof d?Ne:ue)(d)):this.node().innerHTML},raise:function Nt(){return this.each(Et)},lower:function We(){return this.each(ot)},append:function Ft(d){var a="function"==typeof d?d:Pt(d);return this.select(function(){return this.appendChild(a.apply(this,arguments))})},insert:function Te(d,a){var n="function"==typeof d?d:Pt(d),y=null==a?qt:"function"==typeof a?a:p(a);return this.select(function(){return this.insertBefore(n.apply(this,arguments),y.apply(this,arguments)||null)})},remove:function ct(){return this.each(me)},clone:function Li(d){return this.select(d?Lt:_t)},datum:function Ai(d){return arguments.length?this.property("__data__",d):this.node().__data__},on:function Fe(d,a,n){var B,de,y=zi(d+""),q=y.length;if(!(arguments.length<2)){for(Ie=a?Qe:xt,B=0;B<q;++B)this.each(Ie(y[B],a,n));return this}var Ie=this.node().__on;if(Ie)for(var Tt,ht=0,yt=Ie.length;ht<yt;++ht)for(B=0,Tt=Ie[ht];B<q;++B)if((de=y[B]).type===Tt.type&&de.name===Tt.name)return Tt.value},dispatch:function Oi(d,a){return this.each(("function"==typeof a?_i:Xt)(d,a))},[Symbol.iterator]:function*ki(){for(var d=this._groups,a=0,n=d.length;a<n;++a)for(var de,y=d[a],B=0,q=y.length;B<q;++B)(de=y[B])&&(yield de)}};const ft=be;function St(d){return"string"==typeof d?new ti([[document.querySelector(d)]],[document.documentElement]):new ti([[d]],Ki)}var ui={value:()=>{}};function $t(){for(var y,d=0,a=arguments.length,n={};d<a;++d){if(!(y=arguments[d]+"")||y in n||/[\s.]/.test(y))throw new Error("illegal type: "+y);n[y]=[]}return new oi(n)}function oi(d){this._=d}function Vt(d,a){return d.trim().split(/^|\s+/).map(function(n){var y="",B=n.indexOf(".");if(B>=0&&(y=n.slice(B+1),n=n.slice(0,B)),n&&!a.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:y}})}function Wi(d,a){for(var B,n=0,y=d.length;n<y;++n)if((B=d[n]).name===a)return B.value}function Qi(d,a,n){for(var y=0,B=d.length;y<B;++y)if(d[y].name===a){d[y]=ui,d=d.slice(0,y).concat(d.slice(y+1));break}return null!=n&&d.push({name:a,value:n}),d}oi.prototype=$t.prototype={constructor:oi,on:function(d,a){var B,n=this._,y=Vt(d+"",n),q=-1,de=y.length;if(!(arguments.length<2)){if(null!=a&&"function"!=typeof a)throw new Error("invalid callback: "+a);for(;++q<de;)if(B=(d=y[q]).type)n[B]=Qi(n[B],d.name,a);else if(null==a)for(B in n)n[B]=Qi(n[B],d.name,null);return this}for(;++q<de;)if((B=(d=y[q]).type)&&(B=Wi(n[B],d.name)))return B},copy:function(){var d={},a=this._;for(var n in a)d[n]=a[n].slice();return new oi(d)},call:function(d,a){if((B=arguments.length-2)>0)for(var B,q,n=new Array(B),y=0;y<B;++y)n[y]=arguments[y+2];if(!this._.hasOwnProperty(d))throw new Error("unknown type: "+d);for(y=0,B=(q=this._[d]).length;y<B;++y)q[y].value.apply(a,n)},apply:function(d,a,n){if(!this._.hasOwnProperty(d))throw new Error("unknown type: "+d);for(var y=this._[d],B=0,q=y.length;B<q;++B)y[B].value.apply(a,n)}};const vn=$t;function gn(d){d.preventDefault(),d.stopImmediatePropagation()}function Xn(d){var a=d.document.documentElement,n=St(d).on("dragstart.drag",gn,!0);"onselectstart"in a?n.on("selectstart.drag",gn,!0):(a.__noselect=a.style.MozUserSelect,a.style.MozUserSelect="none")}function Qn(d,a){var n=d.document.documentElement,y=St(d).on("dragstart.drag",null);a&&(y.on("click.drag",gn,!0),setTimeout(function(){y.on("click.drag",null)},0)),"onselectstart"in n?y.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}function Qa(d,a,n){d.prototype=a.prototype=n,n.constructor=d}function Er(d,a){var n=Object.create(d.prototype);for(var y in a)n[y]=a[y];return n}function At(){}var pi=1/.7,Di="\\s*([+-]?\\d+)\\s*",ji="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Fi="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",sn=/^#([0-9a-f]{3,8})$/,pa=new RegExp("^rgb\\("+[Di,Di,Di]+"\\)$"),kn=new RegExp("^rgb\\("+[Fi,Fi,Fi]+"\\)$"),sa=new RegExp("^rgba\\("+[Di,Di,Di,ji]+"\\)$"),An=new RegExp("^rgba\\("+[Fi,Fi,Fi,ji]+"\\)$"),na=new RegExp("^hsl\\("+[ji,Fi,Fi]+"\\)$"),Fa=new RegExp("^hsla\\("+[ji,Fi,Fi,ji]+"\\)$"),jn={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 ja(){return this.rgb().formatHex()}function Va(){return this.rgb().formatRgb()}function Vr(d){var a,n;return d=(d+"").trim().toLowerCase(),(a=sn.exec(d))?(n=a[1].length,a=parseInt(a[1],16),6===n?Ta(a):3===n?new la(a>>8&15|a>>4&240,a>>4&15|240&a,(15&a)<<4|15&a,1):8===n?vr(a>>24&255,a>>16&255,a>>8&255,(255&a)/255):4===n?vr(a>>12&15|a>>8&240,a>>8&15|a>>4&240,a>>4&15|240&a,((15&a)<<4|15&a)/255):null):(a=pa.exec(d))?new la(a[1],a[2],a[3],1):(a=kn.exec(d))?new la(255*a[1]/100,255*a[2]/100,255*a[3]/100,1):(a=sa.exec(d))?vr(a[1],a[2],a[3],a[4]):(a=An.exec(d))?vr(255*a[1]/100,255*a[2]/100,255*a[3]/100,a[4]):(a=na.exec(d))?oo(a[1],a[2]/100,a[3]/100,1):(a=Fa.exec(d))?oo(a[1],a[2]/100,a[3]/100,a[4]):jn.hasOwnProperty(d)?Ta(jn[d]):"transparent"===d?new la(NaN,NaN,NaN,0):null}function Ta(d){return new la(d>>16&255,d>>8&255,255&d,1)}function vr(d,a,n,y){return y<=0&&(d=a=n=NaN),new la(d,a,n,y)}function Zn(d){return d instanceof At||(d=Vr(d)),d?new la((d=d.rgb()).r,d.g,d.b,d.opacity):new la}function Aa(d,a,n,y){return 1===arguments.length?Zn(d):new la(d,a,n,y??1)}function la(d,a,n,y){this.r=+d,this.g=+a,this.b=+n,this.opacity=+y}function ms(){return"#"+es(this.r)+es(this.g)+es(this.b)}function Wa(){var d=this.opacity;return(1===(d=isNaN(d)?1:Math.max(0,Math.min(1,d)))?"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===d?")":", "+d+")")}function es(d){return((d=Math.max(0,Math.min(255,Math.round(d)||0)))<16?"0":"")+d.toString(16)}function oo(d,a,n,y){return y<=0?d=a=n=NaN:n<=0||n>=1?d=a=NaN:a<=0&&(d=NaN),new Ka(d,a,n,y)}function Jn(d){if(d instanceof Ka)return new Ka(d.h,d.s,d.l,d.opacity);if(d instanceof At||(d=Vr(d)),!d)return new Ka;if(d instanceof Ka)return d;var a=(d=d.rgb()).r/255,n=d.g/255,y=d.b/255,B=Math.min(a,n,y),q=Math.max(a,n,y),de=NaN,Ie=q-B,ht=(q+B)/2;return Ie?(de=a===q?(n-y)/Ie+6*(n<y):n===q?(y-a)/Ie+2:(a-n)/Ie+4,Ie/=ht<.5?q+B:2-q-B,de*=60):Ie=ht>0&&ht<1?0:de,new Ka(de,Ie,ht,d.opacity)}function Ka(d,a,n,y){this.h=+d,this.s=+a,this.l=+n,this.opacity=+y}function Ao(d,a,n){return 255*(d<60?a+(n-a)*d/60:d<180?n:d<240?a+(n-a)*(240-d)/60:a)}function rr(d,a,n,y,B){var q=d*d,de=q*d;return((1-3*d+3*q-de)*a+(4-6*q+3*de)*n+(1+3*d+3*q-3*de)*y+de*B)/6}Qa(At,Vr,{copy:function(d){return Object.assign(new this.constructor,this,d)},displayable:function(){return this.rgb().displayable()},hex:ja,formatHex:ja,formatHsl:function ta(){return Jn(this).formatHsl()},formatRgb:Va,toString:Va}),Qa(la,Aa,Er(At,{brighter:function(d){return d=null==d?pi:Math.pow(pi,d),new la(this.r*d,this.g*d,this.b*d,this.opacity)},darker:function(d){return d=null==d?.7:Math.pow(.7,d),new la(this.r*d,this.g*d,this.b*d,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:ms,formatHex:ms,formatRgb:Wa,toString:Wa})),Qa(Ka,function qr(d,a,n,y){return 1===arguments.length?Jn(d):new Ka(d,a,n,y??1)},Er(At,{brighter:function(d){return d=null==d?pi:Math.pow(pi,d),new Ka(this.h,this.s,this.l*d,this.opacity)},darker:function(d){return d=null==d?.7:Math.pow(.7,d),new Ka(this.h,this.s,this.l*d,this.opacity)},rgb:function(){var d=this.h%360+360*(this.h<0),a=isNaN(d)||isNaN(this.s)?0:this.s,n=this.l,y=n+(n<.5?n:1-n)*a,B=2*n-y;return new la(Ao(d>=240?d-240:d+120,B,y),Ao(d,B,y),Ao(d<120?d+240:d-120,B,y),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 d=this.opacity;return(1===(d=isNaN(d)?1:Math.max(0,Math.min(1,d)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===d?")":", "+d+")")}}));const dr=d=>()=>d;function so(d,a){return function(n){return d+n*a}}function br(d){return 1==(d=+d)?yr:function(a,n){return n-a?function ps(d,a,n){return d=Math.pow(d,n),a=Math.pow(a,n)-d,n=1/n,function(y){return Math.pow(d+y*a,n)}}(a,n,d):dr(isNaN(a)?n:a)}}function yr(d,a){var n=a-d;return n?so(d,n):dr(isNaN(d)?a:d)}const lo=function d(a){var n=br(a);function y(B,q){var de=n((B=Aa(B)).r,(q=Aa(q)).r),Ie=n(B.g,q.g),ht=n(B.b,q.b),yt=yr(B.opacity,q.opacity);return function(Tt){return B.r=de(Tt),B.g=Ie(Tt),B.b=ht(Tt),B.opacity=yt(Tt),B+""}}return y.gamma=d,y}(1);function ia(d){return function(a){var de,Ie,n=a.length,y=new Array(n),B=new Array(n),q=new Array(n);for(de=0;de<n;++de)Ie=Aa(a[de]),y[de]=Ie.r||0,B[de]=Ie.g||0,q[de]=Ie.b||0;return y=d(y),B=d(B),q=d(q),Ie.opacity=1,function(ht){return Ie.r=y(ht),Ie.g=B(ht),Ie.b=q(ht),Ie+""}}}ia(function Pr(d){var a=d.length-1;return function(n){var y=n<=0?n=0:n>=1?(n=1,a-1):Math.floor(n*a),B=d[y],q=d[y+1],de=y>0?d[y-1]:2*B-q,Ie=y<a-1?d[y+2]:2*q-B;return rr((n-y/a)*a,de,B,q,Ie)}}),ia(function or(d){var a=d.length;return function(n){var y=Math.floor(((n%=1)<0?++n:n)*a),B=d[(y+a-1)%a],q=d[y%a],de=d[(y+1)%a],Ie=d[(y+2)%a];return rr((n-y/a)*a,B,q,de,Ie)}});function ur(d,a){var de,n=a?a.length:0,y=d?Math.min(n,d.length):0,B=new Array(y),q=new Array(n);for(de=0;de<y;++de)B[de]=qn(d[de],a[de]);for(;de<n;++de)q[de]=a[de];return function(Ie){for(de=0;de<y;++de)q[de]=B[de](Ie);return q}}function Ho(d,a){var n=new Date;return d=+d,a=+a,function(y){return n.setTime(d*(1-y)+a*y),n}}function mr(d,a){return d=+d,a=+a,function(n){return d*(1-n)+a*n}}function xr(d,a){var B,n={},y={};for(B in(null===d||"object"!=typeof d)&&(d={}),(null===a||"object"!=typeof a)&&(a={}),a)B in d?n[B]=qn(d[B],a[B]):y[B]=a[B];return function(q){for(B in n)y[B]=n[B](q);return y}}var da=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Rr=new RegExp(da.source,"g");function ya(d,a){var y,B,q,n=da.lastIndex=Rr.lastIndex=0,de=-1,Ie=[],ht=[];for(d+="",a+="";(y=da.exec(d))&&(B=Rr.exec(a));)(q=B.index)>n&&(q=a.slice(n,q),Ie[de]?Ie[de]+=q:Ie[++de]=q),(y=y[0])===(B=B[0])?Ie[de]?Ie[de]+=B:Ie[++de]=B:(Ie[++de]=null,ht.push({i:de,x:mr(y,B)})),n=Rr.lastIndex;return n<a.length&&(q=a.slice(n),Ie[de]?Ie[de]+=q:Ie[++de]=q),Ie.length<2?ht[0]?function fs(d){return function(a){return d(a)+""}}(ht[0].x):function sr(d){return function(){return d}}(a):(a=ht.length,function(yt){for(var ei,Tt=0;Tt<a;++Tt)Ie[(ei=ht[Tt]).i]=ei.x(yt);return Ie.join("")})}function Io(d,a){a||(a=[]);var B,n=d?Math.min(a.length,d.length):0,y=a.slice();return function(q){for(B=0;B<n;++B)y[B]=d[B]*(1-q)+a[B]*q;return y}}function qn(d,a){var y,n=typeof a;return null==a||"boolean"===n?dr(a):("number"===n?mr:"string"===n?(y=Vr(a))?(a=y,lo):ya:a instanceof Vr?lo:a instanceof Date?Ho:function $n(d){return ArrayBuffer.isView(d)&&!(d instanceof DataView)}(a)?Io:Array.isArray(a)?ur:"function"!=typeof a.valueOf&&"function"!=typeof a.toString||isNaN(a)?xr:mr)(d,a)}function cr(d,a){if(d=function Tr(d){let a;for(;a=d.sourceEvent;)d=a;return d}(d),void 0===a&&(a=d.currentTarget),a){var n=a.ownerSVGElement||a;if(n.createSVGPoint){var y=n.createSVGPoint();return y.x=d.clientX,y.y=d.clientY,[(y=y.matrixTransform(a.getScreenCTM().inverse())).x,y.y]}if(a.getBoundingClientRect){var B=a.getBoundingClientRect();return[d.clientX-B.left-a.clientLeft,d.clientY-B.top-a.clientTop]}}return[d.pageX,d.pageY]}var li,je,xa=0,Wr=0,tr=0,Dt=0,bi=0,Hi=0,Bn="object"==typeof performance&&performance.now?performance:Date,Zi="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(d){setTimeout(d,17)};function hn(){return bi||(Zi(Br),bi=Bn.now()+Hi)}function Br(){bi=0}function Mt(){this._call=this._time=this._next=null}function _e(d,a,n){var y=new Mt;return y.restart(d,a,n),y}function ci(){bi=(Dt=Bn.now())+Hi,xa=Wr=0;try{!function mt(){hn(),++xa;for(var a,d=li;d;)(a=bi-d._time)>=0&&d._call.call(null,a),d=d._next;--xa}()}finally{xa=0,function In(){for(var d,n,a=li,y=1/0;a;)a._call?(y>a._time&&(y=a._time),d=a,a=a._next):(n=a._next,a._next=null,a=d?d._next=n:li=n);je=d,pr(y)}(),bi=0}}function Ni(){var d=Bn.now(),a=d-Dt;a>1e3&&(Hi-=a,Dt=d)}function pr(d){xa||(Wr&&(Wr=clearTimeout(Wr)),d-bi>24?(d<1/0&&(Wr=setTimeout(ci,d-Bn.now()-Hi)),tr&&(tr=clearInterval(tr))):(tr||(Dt=Bn.now(),tr=setInterval(Ni,1e3)),xa=1,Zi(ci)))}function Pi(d,a,n){var y=new Mt;return a=null==a?0:+a,y.restart(B=>{y.stop(),d(B+a)},a,n),y}Mt.prototype=_e.prototype={constructor:Mt,restart:function(d,a,n){if("function"!=typeof d)throw new TypeError("callback is not a function");n=(null==n?hn():+n)+(null==a?0:+a),!this._next&&je!==this&&(je?je._next=this:li=this,je=this),this._call=d,this._time=n,pr()},stop:function(){this._call&&(this._call=null,this._time=1/0,pr())}};var Wn=vn("start","end","cancel","interrupt"),ts=[];function Xr(d,a,n,y,B,q){var de=d.__transition;if(de){if(n in de)return}else d.__transition={};!function Ri(d,a,n){var B,y=d.__transition;function q(yt){n.state=1,n.timer.restart(de,n.delay,n.time),n.delay<=yt&&de(yt-n.delay)}function de(yt){var Tt,ei,zt,vi;if(1!==n.state)return ht();for(Tt in y)if((vi=y[Tt]).name===n.name){if(3===vi.state)return Pi(de);4===vi.state?(vi.state=6,vi.timer.stop(),vi.on.call("interrupt",d,d.__data__,vi.index,vi.group),delete y[Tt]):+Tt<a&&(vi.state=6,vi.timer.stop(),vi.on.call("cancel",d,d.__data__,vi.index,vi.group),delete y[Tt])}if(Pi(function(){3===n.state&&(n.state=4,n.timer.restart(Ie,n.delay,n.time),Ie(yt))}),n.state=2,n.on.call("start",d,d.__data__,n.index,n.group),2===n.state){for(n.state=3,B=new Array(zt=n.tween.length),Tt=0,ei=-1;Tt<zt;++Tt)(vi=n.tween[Tt].value.call(d,d.__data__,n.index,n.group))&&(B[++ei]=vi);B.length=ei+1}}function Ie(yt){for(var Tt=yt<n.duration?n.ease.call(null,yt/n.duration):(n.timer.restart(ht),n.state=5,1),ei=-1,zt=B.length;++ei<zt;)B[ei].call(d,Tt);5===n.state&&(n.on.call("end",d,d.__data__,n.index,n.group),ht())}function ht(){for(var yt in n.state=6,n.timer.stop(),delete y[a],y)return;delete d.__transition}y[a]=n,n.timer=_e(q,0,n.time)}(d,n,{name:a,index:y,group:B,on:Wn,tween:ts,time:q.time,delay:q.delay,duration:q.duration,ease:q.ease,timer:null,state:0})}function Bc(d,a){var n=Rn(d,a);if(n.state>0)throw new Error("too late; already scheduled");return n}function Nr(d,a){var n=Rn(d,a);if(n.state>3)throw new Error("too late; already running");return n}function Rn(d,a){var n=d.__transition;if(!n||!(n=n[a]))throw new Error("transition not found");return n}function Jr(d,a){var y,B,de,n=d.__transition,q=!0;if(n){for(de in a=null==a?null:a+"",n)(y=n[de]).name===a?(B=y.state>2&&y.state<5,y.state=6,y.timer.stop(),y.on.call(B?"interrupt":"cancel",d,d.__data__,y.index,y.group),delete n[de]):q=!1;q&&delete d.__transition}}var Us,Vi=180/Math.PI,as={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function rs(d,a,n,y,B,q){var de,Ie,ht;return(de=Math.sqrt(d*d+a*a))&&(d/=de,a/=de),(ht=d*n+a*y)&&(n-=d*ht,y-=a*ht),(Ie=Math.sqrt(n*n+y*y))&&(n/=Ie,y/=Ie,ht/=Ie),d*y<a*n&&(d=-d,a=-a,ht=-ht,de=-de),{translateX:B,translateY:q,rotate:Math.atan2(a,d)*Vi,skewX:Math.atan(ht)*Vi,scaleX:de,scaleY:Ie}}function os(d,a,n,y){function B(yt){return yt.length?yt.pop()+" ":""}return function(yt,Tt){var ei=[],zt=[];return yt=d(yt),Tt=d(Tt),function q(yt,Tt,ei,zt,vi,Si){if(yt!==ei||Tt!==zt){var qi=vi.push("translate(",null,a,null,n);Si.push({i:qi-4,x:mr(yt,ei)},{i:qi-2,x:mr(Tt,zt)})}else(ei||zt)&&vi.push("translate("+ei+a+zt+n)}(yt.translateX,yt.translateY,Tt.translateX,Tt.translateY,ei,zt),function de(yt,Tt,ei,zt){yt!==Tt?(yt-Tt>180?Tt+=360:Tt-yt>180&&(yt+=360),zt.push({i:ei.push(B(ei)+"rotate(",null,y)-2,x:mr(yt,Tt)})):Tt&&ei.push(B(ei)+"rotate("+Tt+y)}(yt.rotate,Tt.rotate,ei,zt),function Ie(yt,Tt,ei,zt){yt!==Tt?zt.push({i:ei.push(B(ei)+"skewX(",null,y)-2,x:mr(yt,Tt)}):Tt&&ei.push(B(ei)+"skewX("+Tt+y)}(yt.skewX,Tt.skewX,ei,zt),function ht(yt,Tt,ei,zt,vi,Si){if(yt!==ei||Tt!==zt){var qi=vi.push(B(vi)+"scale(",null,",",null,")");Si.push({i:qi-4,x:mr(yt,ei)},{i:qi-2,x:mr(Tt,zt)})}else(1!==ei||1!==zt)&&vi.push(B(vi)+"scale("+ei+","+zt+")")}(yt.scaleX,yt.scaleY,Tt.scaleX,Tt.scaleY,ei,zt),yt=Tt=null,function(vi){for(var gi,Si=-1,qi=zt.length;++Si<qi;)ei[(gi=zt[Si]).i]=gi.x(vi);return ei.join("")}}}var _s=os(function Es(d){const a=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(d+"");return a.isIdentity?as:rs(a.a,a.b,a.c,a.d,a.e,a.f)},"px, ","px)","deg)"),Ws=os(function Vs(d){return null!=d&&(Us||(Us=document.createElementNS("http://www.w3.org/2000/svg","g")),Us.setAttribute("transform",d),d=Us.transform.baseVal.consolidate())?rs((d=d.matrix).a,d.b,d.c,d.d,d.e,d.f):as},", ",")",")");function cl(d,a){var n,y;return function(){var B=Nr(this,d),q=B.tween;if(q!==n)for(var de=0,Ie=(y=n=q).length;de<Ie;++de)if(y[de].name===a){(y=y.slice()).splice(de,1);break}B.tween=y}}function ll(d,a,n){var y,B;if("function"!=typeof n)throw new Error;return function(){var q=Nr(this,d),de=q.tween;if(de!==y){B=(y=de).slice();for(var Ie={name:a,value:n},ht=0,yt=B.length;ht<yt;++ht)if(B[ht].name===a){B[ht]=Ie;break}ht===yt&&B.push(Ie)}q.tween=B}}function cc(d,a,n){var y=d._id;return d.each(function(){var B=Nr(this,y);(B.value||(B.value={}))[a]=n.apply(this,arguments)}),function(B){return Rn(B,y).value[a]}}function Ks(d,a,n){d.prototype=a.prototype=n,n.constructor=d}function Ss(d,a){var n=Object.create(d.prototype);for(var y in a)n[y]=a[y];return n}function qa(){}var Ds=1/.7,cn="\\s*([+-]?\\d+)\\s*",ir="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Fr="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",ra=/^#([0-9a-f]{3,8})$/,Ko=new RegExp("^rgb\\("+[cn,cn,cn]+"\\)$"),ss=new RegExp("^rgb\\("+[Fr,Fr,Fr]+"\\)$"),$r=new RegExp("^rgba\\("+[cn,cn,cn,ir]+"\\)$"),Hn=new RegExp("^rgba\\("+[Fr,Fr,Fr,ir]+"\\)$"),$i=new RegExp("^hsl\\("+[ir,Fr,Fr]+"\\)$"),Ge=new RegExp("^hsla\\("+[ir,Fr,Fr,ir]+"\\)$"),ve={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 nt(){return this.rgb().formatHex()}function di(){return this.rgb().formatRgb()}function He(d){var a,n;return d=(d+"").trim().toLowerCase(),(a=ra.exec(d))?(n=a[1].length,a=parseInt(a[1],16),6===n?tt(a):3===n?new Yt(a>>8&15|a>>4&240,a>>4&15|240&a,(15&a)<<4|15&a,1):8===n?vt(a>>24&255,a>>16&255,a>>8&255,(255&a)/255):4===n?vt(a>>12&15|a>>8&240,a>>8&15|a>>4&240,a>>4&15|240&a,((15&a)<<4|15&a)/255):null):(a=Ko.exec(d))?new Yt(a[1],a[2],a[3],1):(a=ss.exec(d))?new Yt(255*a[1]/100,255*a[2]/100,255*a[3]/100,1):(a=$r.exec(d))?vt(a[1],a[2],a[3],a[4]):(a=Hn.exec(d))?vt(255*a[1]/100,255*a[2]/100,255*a[3]/100,a[4]):(a=$i.exec(d))?Ii(a[1],a[2]/100,a[3]/100,1):(a=Ge.exec(d))?Ii(a[1],a[2]/100,a[3]/100,a[4]):ve.hasOwnProperty(d)?tt(ve[d]):"transparent"===d?new Yt(NaN,NaN,NaN,0):null}function tt(d){return new Yt(d>>16&255,d>>8&255,255&d,1)}function vt(d,a,n,y){return y<=0&&(d=a=n=NaN),new Yt(d,a,n,y)}function Ht(d){return d instanceof qa||(d=He(d)),d?new Yt((d=d.rgb()).r,d.g,d.b,d.opacity):new Yt}function Yt(d,a,n,y){this.r=+d,this.g=+a,this.b=+n,this.opacity=+y}function si(){return"#"+Ci(this.r)+Ci(this.g)+Ci(this.b)}function ai(){var d=this.opacity;return(1===(d=isNaN(d)?1:Math.max(0,Math.min(1,d)))?"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===d?")":", "+d+")")}function Ci(d){return((d=Math.max(0,Math.min(255,Math.round(d)||0)))<16?"0":"")+d.toString(16)}function Ii(d,a,n,y){return y<=0?d=a=n=NaN:n<=0||n>=1?d=a=NaN:a<=0&&(d=NaN),new un(d,a,n,y)}function Ji(d){if(d instanceof un)return new un(d.h,d.s,d.l,d.opacity);if(d instanceof qa||(d=He(d)),!d)return new un;if(d instanceof un)return d;var a=(d=d.rgb()).r/255,n=d.g/255,y=d.b/255,B=Math.min(a,n,y),q=Math.max(a,n,y),de=NaN,Ie=q-B,ht=(q+B)/2;return Ie?(de=a===q?(n-y)/Ie+6*(n<y):n===q?(y-a)/Ie+2:(a-n)/Ie+4,Ie/=ht<.5?q+B:2-q-B,de*=60):Ie=ht>0&&ht<1?0:de,new un(de,Ie,ht,d.opacity)}function un(d,a,n,y){this.h=+d,this.s=+a,this.l=+n,this.opacity=+y}function Tn(d,a,n){return 255*(d<60?a+(n-a)*d/60:d<180?n:d<240?a+(n-a)*(240-d)/60:a)}function Xa(d,a){var n;return("number"==typeof a?mr:a instanceof He?lo:(n=He(a))?(a=n,lo):ya)(d,a)}function Pa(d){return function(){this.removeAttribute(d)}}function fr(d){return function(){this.removeAttributeNS(d.space,d.local)}}function _r(d,a,n){var y,q,B=n+"";return function(){var de=this.getAttribute(d);return de===B?null:de===y?q:q=a(y=de,n)}}function Ha(d,a,n){var y,q,B=n+"";return function(){var de=this.getAttributeNS(d.space,d.local);return de===B?null:de===y?q:q=a(y=de,n)}}function Ia(d,a,n){var y,B,q;return function(){var de,ht,Ie=n(this);return null==Ie?void this.removeAttribute(d):(de=this.getAttribute(d))===(ht=Ie+"")?null:de===y&&ht===B?q:(B=ht,q=a(y=de,Ie))}}function Kr(d,a,n){var y,B,q;return function(){var de,ht,Ie=n(this);return null==Ie?void this.removeAttributeNS(d.space,d.local):(de=this.getAttributeNS(d.space,d.local))===(ht=Ie+"")?null:de===y&&ht===B?q:(B=ht,q=a(y=de,Ie))}}function Go(d,a){return function(n){this.setAttribute(d,a.call(this,n))}}function Gr(d,a){return function(n){this.setAttributeNS(d.space,d.local,a.call(this,n))}}function Zo(d,a){var n,y;function B(){var q=a.apply(this,arguments);return q!==y&&(n=(y=q)&&Gr(d,q)),n}return B._value=a,B}function Ea(d,a){var n,y;function B(){var q=a.apply(this,arguments);return q!==y&&(n=(y=q)&&Go(d,q)),n}return B._value=a,B}function eo(d,a){return function(){Bc(this,d).delay=+a.apply(this,arguments)}}function lc(d,a){return a=+a,function(){Bc(this,d).delay=a}}function Zl(d,a){return function(){Nr(this,d).duration=+a.apply(this,arguments)}}function Fc(d,a){return a=+a,function(){Nr(this,d).duration=a}}function Zs(d,a){if("function"!=typeof a)throw new Error;return function(){Nr(this,d).ease=a}}function mc(d,a,n){var y,B,q=function uc(d){return(d+"").trim().split(/^|\s+/).every(function(a){var n=a.indexOf(".");return n>=0&&(a=a.slice(0,n)),!a||"start"===a})}(a)?Bc:Nr;return function(){var de=q(this,d),Ie=de.on;Ie!==y&&(B=(y=Ie).copy()).on(a,n),de.on=B}}Ks(qa,He,{copy:function(d){return Object.assign(new this.constructor,this,d)},displayable:function(){return this.rgb().displayable()},hex:nt,formatHex:nt,formatHsl:function Bt(){return Ji(this).formatHsl()},formatRgb:di,toString:di}),Ks(Yt,function Je(d,a,n,y){return 1===arguments.length?Ht(d):new Yt(d,a,n,y??1)},Ss(qa,{brighter:function(d){return d=null==d?Ds:Math.pow(Ds,d),new Yt(this.r*d,this.g*d,this.b*d,this.opacity)},darker:function(d){return d=null==d?.7:Math.pow(.7,d),new Yt(this.r*d,this.g*d,this.b*d,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:si,formatHex:si,formatRgb:ai,toString:ai})),Ks(un,function on(d,a,n,y){return 1===arguments.length?Ji(d):new un(d,a,n,y??1)},Ss(qa,{brighter:function(d){return d=null==d?Ds:Math.pow(Ds,d),new un(this.h,this.s,this.l*d,this.opacity)},darker:function(d){return d=null==d?.7:Math.pow(.7,d),new un(this.h,this.s,this.l*d,this.opacity)},rgb:function(){var d=this.h%360+360*(this.h<0),a=isNaN(d)||isNaN(this.s)?0:this.s,n=this.l,y=n+(n<.5?n:1-n)*a,B=2*n-y;return new Yt(Tn(d>=240?d-240:d+120,B,y),Tn(d,B,y),Tn(d<120?d+240:d-120,B,y),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 d=this.opacity;return(1===(d=isNaN(d)?1:Math.max(0,Math.min(1,d)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===d?")":", "+d+")")}}));var Ts=ft.prototype.constructor;function K1(d){return function(){this.style.removeProperty(d)}}function zc(d,a,n){return function(y){this.style.setProperty(d,a.call(this,y),n)}}function Hc(d,a,n){var y,B;function q(){var de=a.apply(this,arguments);return de!==B&&(y=(B=de)&&zc(d,de,n)),y}return q._value=a,q}function Ga(d){return function(a){this.textContent=d.call(this,a)}}function Ql(d){var a,n;function y(){var B=d.apply(this,arguments);return B!==n&&(a=(n=B)&&Ga(B)),a}return y._value=d,y}var Y1=0;function Qs(d,a,n,y){this._groups=d,this._parents=a,this._name=n,this._id=y}function te(){return++Y1}var Ee=ft.prototype;Qs.prototype=function Ae(d){return ft().transition(d)}.prototype={constructor:Qs,select:function fc(d){var a=this._name,n=this._id;"function"!=typeof d&&(d=p(d));for(var y=this._groups,B=y.length,q=new Array(B),de=0;de<B;++de)for(var Tt,ei,Ie=y[de],ht=Ie.length,yt=q[de]=new Array(ht),zt=0;zt<ht;++zt)(Tt=Ie[zt])&&(ei=d.call(Tt,Tt.__data__,zt,Ie))&&("__data__"in Tt&&(ei.__data__=Tt.__data__),yt[zt]=ei,Xr(yt[zt],a,n,zt,yt,Rn(Tt,n)));return new Qs(q,this._parents,a,n)},selectAll:function Yo(d){var a=this._name,n=this._id;"function"!=typeof d&&(d=M(d));for(var y=this._groups,B=y.length,q=[],de=[],Ie=0;Ie<B;++Ie)for(var Tt,ht=y[Ie],yt=ht.length,ei=0;ei<yt;++ei)if(Tt=ht[ei]){for(var vi,zt=d.call(Tt,Tt.__data__,ei,ht),Si=Rn(Tt,n),qi=0,gi=zt.length;qi<gi;++qi)(vi=zt[qi])&&Xr(vi,a,n,qi,zt,Si);q.push(zt),de.push(Tt)}return new Qs(q,de,a,n)},filter:function hh(d){"function"!=typeof d&&(d=W(d));for(var a=this._groups,n=a.length,y=new Array(n),B=0;B<n;++B)for(var ht,q=a[B],de=q.length,Ie=y[B]=[],yt=0;yt<de;++yt)(ht=q[yt])&&d.call(ht,ht.__data__,yt,q)&&Ie.push(ht);return new Qs(y,this._parents,this._name,this._id)},merge:function Bd(d){if(d._id!==this._id)throw new Error;for(var a=this._groups,n=d._groups,y=a.length,B=n.length,q=Math.min(y,B),de=new Array(y),Ie=0;Ie<q;++Ie)for(var zt,ht=a[Ie],yt=n[Ie],Tt=ht.length,ei=de[Ie]=new Array(Tt),vi=0;vi<Tt;++vi)(zt=ht[vi]||yt[vi])&&(ei[vi]=zt);for(;Ie<y;++Ie)de[Ie]=a[Ie];return new Qs(de,this._parents,this._name,this._id)},selection:function W1(){return new Ts(this._groups,this._parents)},transition:function Ys(){for(var d=this._name,a=this._id,n=te(),y=this._groups,B=y.length,q=0;q<B;++q)for(var ht,de=y[q],Ie=de.length,yt=0;yt<Ie;++yt)if(ht=de[yt]){var Tt=Rn(ht,a);Xr(ht,d,n,yt,de,{time:Tt.time+Tt.delay+Tt.duration,delay:0,duration:Tt.duration,ease:Tt.ease})}return new Qs(y,this._parents,d,n)},call:Ee.call,nodes:Ee.nodes,node:Ee.node,size:Ee.size,empty:Ee.empty,each:Ee.each,on:function pc(d,a){var n=this._id;return arguments.length<2?Rn(this.node(),n).on.on(d):this.each(mc(n,d,a))},attr:function Ja(d,a){var n=Me(d),y="transform"===n?Ws:Xa;return this.attrTween(d,"function"==typeof a?(n.local?Kr:Ia)(n,y,cc(this,"attr."+d,a)):null==a?(n.local?fr:Pa)(n):(n.local?Ha:_r)(n,y,a))},attrTween:function Rd(d,a){var n="attr."+d;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==a)return this.tween(n,null);if("function"!=typeof a)throw new Error;var y=Me(d);return this.tween(n,(y.local?Zo:Ea)(y,a))},style:function bo(d,a,n){var y="transform"==(d+="")?_s:Xa;return null==a?this.styleTween(d,function Nd(d,a){var n,y,B;return function(){var q=at(this,d),de=(this.style.removeProperty(d),at(this,d));return q===de?null:q===n&&de===y?B:B=a(n=q,y=de)}}(d,y)).on("end.style."+d,K1(d)):"function"==typeof a?this.styleTween(d,function Yl(d,a,n){var y,B,q;return function(){var de=at(this,d),Ie=n(this),ht=Ie+"";return null==Ie&&(this.style.removeProperty(d),ht=Ie=at(this,d)),de===ht?null:de===y&&ht===B?q:(B=ht,q=a(y=de,Ie))}}(d,y,cc(this,"style."+d,a))).each(function ks(d,a){var n,y,B,Ie,q="style."+a,de="end."+q;return function(){var ht=Nr(this,d),yt=ht.on,Tt=null==ht.value[q]?Ie||(Ie=K1(a)):void 0;(yt!==n||B!==Tt)&&(y=(n=yt).copy()).on(de,B=Tt),ht.on=y}}(this._id,d)):this.styleTween(d,function Fd(d,a,n){var y,q,B=n+"";return function(){var de=at(this,d);return de===B?null:de===y?q:q=a(y=de,n)}}(d,y,a),n).on("end.style."+d,null)},styleTween:function zd(d,a,n){var y="style."+(d+="");if(arguments.length<2)return(y=this.tween(y))&&y._value;if(null==a)return this.tween(y,null);if("function"!=typeof a)throw new Error;return this.tween(y,Hc(d,a,n??""))},text:function hl(d){return this.tween("text","function"==typeof d?function uo(d){return function(){var a=d(this);this.textContent=a??""}}(cc(this,"text",d)):function _c(d){return function(){this.textContent=d}}(null==d?"":d+""))},textTween:function G1(d){var a="text";if(arguments.length<1)return(a=this.tween(a))&&a._value;if(null==d)return this.tween(a,null);if("function"!=typeof d)throw new Error;return this.tween(a,Ql(d))},remove:function mh(){return this.on("end.remove",function uh(d){return function(){var a=this.parentNode;for(var n in this.__transition)if(+n!==d)return;a&&a.removeChild(this)}}(this._id))},tween:function Nc(d,a){var n=this._id;if(d+="",arguments.length<2){for(var de,y=Rn(this.node(),n).tween,B=0,q=y.length;B<q;++B)if((de=y[B]).name===d)return de.value;return null}return this.each((null==a?cl:ll)(n,d,a))},delay:function Gl(d){var a=this._id;return arguments.length?this.each(("function"==typeof d?eo:lc)(a,d)):Rn(this.node(),a).delay},duration:function Gs(d){var a=this._id;return arguments.length?this.each(("function"==typeof d?Zl:Fc)(a,d)):Rn(this.node(),a).duration},ease:function dl(d){var a=this._id;return arguments.length?this.each(Zs(a,d)):Rn(this.node(),a).ease},easeVarying:function hc(d){if("function"!=typeof d)throw new Error;return this.each(function dc(d,a){return function(){var n=a.apply(this,arguments);if("function"!=typeof n)throw new Error;Nr(this,d).ease=n}}(this._id,d))},end:function Z1(){var d,a,n=this,y=n._id,B=n.size();return new Promise(function(q,de){var Ie={value:de},ht={value:function(){0==--B&&q()}};n.each(function(){var yt=Nr(this,y),Tt=yt.on;Tt!==d&&((a=(d=Tt).copy())._.cancel.push(Ie),a._.interrupt.push(Ie),a._.end.push(ht)),yt.on=a}),0===B&&q()})},[Symbol.iterator]:Ee[Symbol.iterator]};var Qt={time:null,delay:0,duration:250,ease:function Ct(d){return((d*=2)<=1?d*d*d:(d-=2)*d*d+2)/2}};function xi(d,a){for(var n;!(n=d.__transition)||!(n=n[a]);)if(!(d=d.parentNode))throw new Error(`transition ${a} not found`);return n}ft.prototype.interrupt=function ns(d){return this.each(function(){Jr(this,d)})},ft.prototype.transition=function Ui(d){var a,n;d instanceof Qs?(a=d._id,d=d._name):(a=te(),(n=Qt).time=hn(),d=null==d?null:d+"");for(var y=this._groups,B=y.length,q=0;q<B;++q)for(var ht,de=y[q],Ie=de.length,yt=0;yt<Ie;++yt)(ht=de[yt])&&Xr(ht,d,a,yt,de,n||xi(ht,a));return new Qs(y,this._parents,d,a)};const En=d=>()=>d;function Nn(d,{sourceEvent:a,target:n,selection:y,mode:B,dispatch:q}){Object.defineProperties(this,{type:{value:d,enumerable:!0,configurable:!0},sourceEvent:{value:a,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},selection:{value:y,enumerable:!0,configurable:!0},mode:{value:B,enumerable:!0,configurable:!0},_:{value:q}})}function Ir(d){d.stopImmediatePropagation()}function nr(d){d.preventDefault(),d.stopImmediatePropagation()}var La={name:"drag"},yo={name:"space"},Lr={name:"handle"},As={name:"center"};const{abs:js,max:Qo,min:xo}=Math;function ku(d){return[+d[0],+d[1]]}function ph(d){return[ku(d[0]),ku(d[1])]}var Uc={name:"x",handles:["w","e"].map(gc),input:function(d,a){return null==d?null:[[+d[0],a[0][1]],[+d[1],a[1][1]]]},output:function(d){return d&&[d[0][0],d[1][0]]}},jl={name:"y",handles:["n","s"].map(gc),input:function(d,a){return null==d?null:[[a[0][0],+d[0]],[a[1][0],+d[1]]]},output:function(d){return d&&[d[0][1],d[1][1]]}},Is=(["n","w","e","s","nw","ne","sw","se"].map(gc),{overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"}),Hd={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},qs={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},ql={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},Vc={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function gc(d){return{type:d}}function vc(d){return!d.ctrlKey&&!d.button}function Pu(){var d=this.ownerSVGElement||this;return d.hasAttribute("viewBox")?[[(d=d.viewBox.baseVal).x,d.y],[d.x+d.width,d.y+d.height]]:[[0,0],[d.width.baseVal.value,d.height.baseVal.value]]}function Ru(){return navigator.maxTouchPoints||"ontouchstart"in this}function ul(d){for(;!d.__brush;)if(!(d=d.parentNode))return;return d.__brush}function Q1(d){return d[0][0]===d[1][0]||d[0][1]===d[1][1]}function ml(d){var Ie,a=Pu,n=vc,y=Ru,B=!0,q=vn("start","brush","end"),de=6;function ht(gi){var Xi=gi.property("__brush",qi).selectAll(".overlay").data([gc("overlay")]);Xi.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",Is.overlay).merge(Xi).each(function(){var en=ul(this).extent;St(this).attr("x",en[0][0]).attr("y",en[0][1]).attr("width",en[1][0]-en[0][0]).attr("height",en[1][1]-en[0][1])}),gi.selectAll(".selection").data([gc("selection")]).enter().append("rect").attr("class","selection").attr("cursor",Is.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var nn=gi.selectAll(".handle").data(d.handles,function(en){return en.type});nn.exit().remove(),nn.enter().append("rect").attr("class",function(en){return"handle handle--"+en.type}).attr("cursor",function(en){return Is[en.type]}),gi.each(yt).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",zt).filter(y).on("touchstart.brush",zt).on("touchmove.brush",vi).on("touchend.brush touchcancel.brush",Si).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function yt(){var gi=St(this),Xi=ul(this).selection;Xi?(gi.selectAll(".selection").style("display",null).attr("x",Xi[0][0]).attr("y",Xi[0][1]).attr("width",Xi[1][0]-Xi[0][0]).attr("height",Xi[1][1]-Xi[0][1]),gi.selectAll(".handle").style("display",null).attr("x",function(nn){return"e"===nn.type[nn.type.length-1]?Xi[1][0]-de/2:Xi[0][0]-de/2}).attr("y",function(nn){return"s"===nn.type[0]?Xi[1][1]-de/2:Xi[0][1]-de/2}).attr("width",function(nn){return"n"===nn.type||"s"===nn.type?Xi[1][0]-Xi[0][0]+de:de}).attr("height",function(nn){return"e"===nn.type||"w"===nn.type?Xi[1][1]-Xi[0][1]+de:de})):gi.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function Tt(gi,Xi,nn){var en=gi.__brush.emitter;return!en||nn&&en.clean?new ei(gi,Xi,nn):en}function ei(gi,Xi,nn){this.that=gi,this.args=Xi,this.state=gi.__brush,this.active=0,this.clean=nn}function zt(gi){if((!Ie||gi.touches)&&n.apply(this,arguments)){var wa,yn,Mn,Da,Na,Ua,Ma,ma,Ul,Vl,Ms,Xi=this,nn=gi.target.__data__.type,en="selection"===(B&&gi.metaKey?nn="overlay":nn)?La:B&&gi.altKey?As:Lr,fn=d===jl?null:ql[nn],bn=d===Uc?null:Vc[nn],dn=ul(Xi),Sa=dn.extent,ua=dn.selection,Ya=Sa[0][0],Dn=Sa[0][1],Qr=Sa[1][0],ao=Sa[1][1],ka=0,Mr=0,ws=fn&&bn&&B&&gi.shiftKey,ro=Array.from(gi.touches||[gi],Yn=>{const Ur=Yn.identifier;return(Yn=cr(Yn,Xi)).point0=Yn.slice(),Yn.identifier=Ur,Yn});if("overlay"===nn){ua&&(Ul=!0);const Yn=[ro[0],ro[1]||ro[0]];dn.selection=ua=[[wa=d===jl?Ya:xo(Yn[0][0],Yn[1][0]),Mn=d===Uc?Dn:xo(Yn[0][1],Yn[1][1])],[Na=d===jl?Qr:Qo(Yn[0][0],Yn[1][0]),Ma=d===Uc?ao:Qo(Yn[0][1],Yn[1][1])]],ro.length>1&&Hr()}else wa=ua[0][0],Mn=ua[0][1],Na=ua[1][0],Ma=ua[1][1];yn=wa,Da=Mn,Ua=Na,ma=Ma;var oc=St(Xi).attr("pointer-events","none"),_n=oc.selectAll(".overlay").attr("cursor",Is[nn]);Jr(Xi);var Vn=Tt(Xi,arguments,!0).beforestart();if(gi.touches)Vn.moved=tn,Vn.ended=er;else{var ba=St(gi.view).on("mousemove.brush",tn,!0).on("mouseup.brush",er,!0);B&&ba.on("keydown.brush",us,!0).on("keyup.brush",zo,!0),Xn(gi.view)}yt.call(Xi),Vn.start(gi,en.name)}function tn(Yn){for(const Ur of Yn.changedTouches||[Yn])for(const kd of ro)kd.identifier===Ur.identifier&&(kd.cur=cr(Ur,Xi));if(ws&&!Vl&&!Ms&&1===ro.length){const Ur=ro[0];js(Ur.cur[0]-Ur[0])>js(Ur.cur[1]-Ur[1])?Ms=!0:Vl=!0}for(const Ur of ro)Ur.cur&&(Ur[0]=Ur.cur[0],Ur[1]=Ur.cur[1]);Ul=!0,nr(Yn),Hr(Yn)}function Hr(Yn){const Ur=ro[0],kd=Ur.point0;var Pc;switch(ka=Ur[0]-kd[0],Mr=Ur[1]-kd[1],en){case yo:case La:fn&&(ka=Qo(Ya-wa,xo(Qr-Na,ka)),yn=wa+ka,Ua=Na+ka),bn&&(Mr=Qo(Dn-Mn,xo(ao-Ma,Mr)),Da=Mn+Mr,ma=Ma+Mr);break;case Lr:ro[1]?(fn&&(yn=Qo(Ya,xo(Qr,ro[0][0])),Ua=Qo(Ya,xo(Qr,ro[1][0])),fn=1),bn&&(Da=Qo(Dn,xo(ao,ro[0][1])),ma=Qo(Dn,xo(ao,ro[1][1])),bn=1)):(fn<0?(ka=Qo(Ya-wa,xo(Qr-wa,ka)),yn=wa+ka,Ua=Na):fn>0&&(ka=Qo(Ya-Na,xo(Qr-Na,ka)),yn=wa,Ua=Na+ka),bn<0?(Mr=Qo(Dn-Mn,xo(ao-Mn,Mr)),Da=Mn+Mr,ma=Ma):bn>0&&(Mr=Qo(Dn-Ma,xo(ao-Ma,Mr)),Da=Mn,ma=Ma+Mr));break;case As:fn&&(yn=Qo(Ya,xo(Qr,wa-ka*fn)),Ua=Qo(Ya,xo(Qr,Na+ka*fn))),bn&&(Da=Qo(Dn,xo(ao,Mn-Mr*bn)),ma=Qo(Dn,xo(ao,Ma+Mr*bn)))}Ua<yn&&(fn*=-1,Pc=wa,wa=Na,Na=Pc,Pc=yn,yn=Ua,Ua=Pc,nn in Hd&&_n.attr("cursor",Is[nn=Hd[nn]])),ma<Da&&(bn*=-1,Pc=Mn,Mn=Ma,Ma=Pc,Pc=Da,Da=ma,ma=Pc,nn in qs&&_n.attr("cursor",Is[nn=qs[nn]])),dn.selection&&(ua=dn.selection),Vl&&(yn=ua[0][0],Ua=ua[1][0]),Ms&&(Da=ua[0][1],ma=ua[1][1]),(ua[0][0]!==yn||ua[0][1]!==Da||ua[1][0]!==Ua||ua[1][1]!==ma)&&(dn.selection=[[yn,Da],[Ua,ma]],yt.call(Xi),Vn.brush(Yn,en.name))}function er(Yn){if(Ir(Yn),Yn.touches){if(Yn.touches.length)return;Ie&&clearTimeout(Ie),Ie=setTimeout(function(){Ie=null},500)}else Qn(Yn.view,Ul),ba.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);oc.attr("pointer-events","all"),_n.attr("cursor",Is.overlay),dn.selection&&(ua=dn.selection),Q1(ua)&&(dn.selection=null,yt.call(Xi)),Vn.end(Yn,en.name)}function us(Yn){switch(Yn.keyCode){case 16:ws=fn&&bn;break;case 18:en===Lr&&(fn&&(Na=Ua-ka*fn,wa=yn+ka*fn),bn&&(Ma=ma-Mr*bn,Mn=Da+Mr*bn),en=As,Hr());break;case 32:(en===Lr||en===As)&&(fn<0?Na=Ua-ka:fn>0&&(wa=yn-ka),bn<0?Ma=ma-Mr:bn>0&&(Mn=Da-Mr),en=yo,_n.attr("cursor",Is.selection),Hr());break;default:return}nr(Yn)}function zo(Yn){switch(Yn.keyCode){case 16:ws&&(Vl=Ms=ws=!1,Hr());break;case 18:en===As&&(fn<0?Na=Ua:fn>0&&(wa=yn),bn<0?Ma=ma:bn>0&&(Mn=Da),en=Lr,Hr());break;case 32:en===yo&&(Yn.altKey?(fn&&(Na=Ua-ka*fn,wa=yn+ka*fn),bn&&(Ma=ma-Mr*bn,Mn=Da+Mr*bn),en=As):(fn<0?Na=Ua:fn>0&&(wa=yn),bn<0?Ma=ma:bn>0&&(Mn=Da),en=Lr),_n.attr("cursor",Is[nn]),Hr());break;default:return}nr(Yn)}}function vi(gi){Tt(this,arguments).moved(gi)}function Si(gi){Tt(this,arguments).ended(gi)}function qi(){var gi=this.__brush||{selection:null};return gi.extent=ph(a.apply(this,arguments)),gi.dim=d,gi}return ht.move=function(gi,Xi){gi.tween?gi.on("start.brush",function(nn){Tt(this,arguments).beforestart().start(nn)}).on("interrupt.brush end.brush",function(nn){Tt(this,arguments).end(nn)}).tween("brush",function(){var nn=this,en=nn.__brush,fn=Tt(nn,arguments),bn=en.selection,dn=d.input("function"==typeof Xi?Xi.apply(this,arguments):Xi,en.extent),Sa=qn(bn,dn);function ua(Ya){en.selection=1===Ya&&null===dn?null:Sa(Ya),yt.call(nn),fn.brush()}return null!==bn&&null!==dn?ua:ua(1)}):gi.each(function(){var nn=this,en=arguments,fn=nn.__brush,bn=d.input("function"==typeof Xi?Xi.apply(nn,en):Xi,fn.extent),dn=Tt(nn,en).beforestart();Jr(nn),fn.selection=null===bn?null:bn,yt.call(nn),dn.start().brush().end()})},ht.clear=function(gi){ht.move(gi,null)},ei.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(gi,Xi){return this.starting?(this.starting=!1,this.emit("start",gi,Xi)):this.emit("brush",gi),this},brush:function(gi,Xi){return this.emit("brush",gi,Xi),this},end:function(gi,Xi){return 0==--this.active&&(delete this.state.emitter,this.emit("end",gi,Xi)),this},emit:function(gi,Xi,nn){var en=St(this.that).datum();q.call(gi,this.that,new Nn(gi,{sourceEvent:Xi,target:ht,selection:d.output(this.state.selection),mode:nn,dispatch:q}),en)}},ht.extent=function(gi){return arguments.length?(a="function"==typeof gi?gi:En(ph(gi)),ht):a},ht.filter=function(gi){return arguments.length?(n="function"==typeof gi?gi:En(!!gi),ht):n},ht.touchable=function(gi){return arguments.length?(y="function"==typeof gi?gi:En(!!gi),ht):y},ht.handleSize=function(gi){return arguments.length?(de=+gi,ht):de},ht.keyModifiers=function(gi){return arguments.length?(B=!!gi,ht):B},ht.on=function(){var gi=q.on.apply(q,arguments);return gi===q?ht:gi},ht}function j1(d,a){return d<a?-1:d>a?1:d>=a?0:NaN}function Nu(d){let a=d,n=d;function y(de,Ie,ht,yt){for(null==ht&&(ht=0),null==yt&&(yt=de.length);ht<yt;){const Tt=ht+yt>>>1;n(de[Tt],Ie)<0?ht=Tt+1:yt=Tt}return ht}return 1===d.length&&(a=(de,Ie)=>d(de)-Ie,n=function Fu(d){return(a,n)=>j1(d(a),n)}(d)),{left:y,center:function q(de,Ie,ht,yt){null==ht&&(ht=0),null==yt&&(yt=de.length);const Tt=y(de,Ie,ht,yt-1);return Tt>ht&&a(de[Tt-1],Ie)>-a(de[Tt],Ie)?Tt-1:Tt},right:function B(de,Ie,ht,yt){for(null==ht&&(ht=0),null==yt&&(yt=de.length);ht<yt;){const Tt=ht+yt>>>1;n(de[Tt],Ie)>0?yt=Tt:ht=Tt+1}return ht}}}var _h=Math.sqrt(50),zu=Math.sqrt(10),gh=Math.sqrt(2);function Jl(d,a,n){var y=(a-d)/Math.max(0,n),B=Math.floor(Math.log(y)/Math.LN10),q=y/Math.pow(10,B);return B>=0?(q>=_h?10:q>=zu?5:q>=gh?2:1)*Math.pow(10,B):-Math.pow(10,-B)/(q>=_h?10:q>=zu?5:q>=gh?2:1)}function $l(d,a,n){var y=Math.abs(a-d)/Math.max(0,n),B=Math.pow(10,Math.floor(Math.log(y)/Math.LN10)),q=y/B;return q>=_h?B*=10:q>=zu?B*=5:q>=gh&&(B*=2),a<d?-B:B}const Xs=1e3,gs=6e4,Js=60*gs,Ps=24*Js,q1=7*Ps,Mm=30*Ps,vh=365*Ps;var bh=new Date,bc=new Date;function Zr(d,a,n,y){function B(q){return d(q=0===arguments.length?new Date:new Date(+q)),q}return B.floor=function(q){return d(q=new Date(+q)),q},B.ceil=function(q){return d(q=new Date(q-1)),a(q,1),d(q),q},B.round=function(q){var de=B(q),Ie=B.ceil(q);return q-de<Ie-q?de:Ie},B.offset=function(q,de){return a(q=new Date(+q),null==de?1:Math.floor(de)),q},B.range=function(q,de,Ie){var yt,ht=[];if(q=B.ceil(q),Ie=null==Ie?1:Math.floor(Ie),!(q<de&&Ie>0))return ht;do{ht.push(yt=new Date(+q)),a(q,Ie),d(q)}while(yt<q&&q<de);return ht},B.filter=function(q){return Zr(function(de){if(de>=de)for(;d(de),!q(de);)de.setTime(de-1)},function(de,Ie){if(de>=de)if(Ie<0)for(;++Ie<=0;)for(;a(de,-1),!q(de););else for(;--Ie>=0;)for(;a(de,1),!q(de););})},n&&(B.count=function(q,de){return bh.setTime(+q),bc.setTime(+de),d(bh),d(bc),Math.floor(n(bh,bc))},B.every=function(q){return q=Math.floor(q),isFinite(q)&&q>0?q>1?B.filter(y?function(de){return y(de)%q==0}:function(de){return B.count(0,de)%q==0}):B:null}),B}var yh=Zr(function(){},function(d,a){d.setTime(+d+a)},function(d,a){return a-d});yh.every=function(d){return d=Math.floor(d),isFinite(d)&&d>0?d>1?Zr(function(a){a.setTime(Math.floor(a/d)*d)},function(a,n){a.setTime(+a+n*d)},function(a,n){return(n-a)/d}):yh:null};const xh=yh;yh.range;var ed=Zr(function(d){d.setTime(d-d.getMilliseconds())},function(d,a){d.setTime(+d+a*Xs)},function(d,a){return(a-d)/Xs},function(d){return d.getUTCSeconds()});const Wc=ed;ed.range;var X1=Zr(function(d){d.setTime(d-d.getMilliseconds()-d.getSeconds()*Xs)},function(d,a){d.setTime(+d+a*gs)},function(d,a){return(a-d)/gs},function(d){return d.getMinutes()});const pl=X1;X1.range;var ha=Zr(function(d){d.setTime(d-d.getMilliseconds()-d.getSeconds()*Xs-d.getMinutes()*gs)},function(d,a){d.setTime(+d+a*Js)},function(d,a){return(a-d)/Js},function(d){return d.getHours()});const Ud=ha;ha.range;var J1=Zr(d=>d.setHours(0,0,0,0),(d,a)=>d.setDate(d.getDate()+a),(d,a)=>(a-d-(a.getTimezoneOffset()-d.getTimezoneOffset())*gs)/Ps,d=>d.getDate()-1);const Kc=J1;J1.range;function Gc(d){return Zr(function(a){a.setDate(a.getDate()-(a.getDay()+7-d)%7),a.setHours(0,0,0,0)},function(a,n){a.setDate(a.getDate()+7*n)},function(a,n){return(n-a-(n.getTimezoneOffset()-a.getTimezoneOffset())*gs)/q1})}var $1=Gc(0),Vd=Gc(1),Ch=Gc(2),Hu=Gc(3),id=Gc(4),Dm=Gc(5),Uu=Gc(6),fl=($1.range,Vd.range,Ch.range,Hu.range,id.range,Dm.range,Uu.range,Zr(function(d){d.setDate(1),d.setHours(0,0,0,0)},function(d,a){d.setMonth(d.getMonth()+a)},function(d,a){return a.getMonth()-d.getMonth()+12*(a.getFullYear()-d.getFullYear())},function(d){return d.getMonth()}));const wh=fl;fl.range;var Mh=Zr(function(d){d.setMonth(0,1),d.setHours(0,0,0,0)},function(d,a){d.setFullYear(d.getFullYear()+a)},function(d,a){return a.getFullYear()-d.getFullYear()},function(d){return d.getFullYear()});Mh.every=function(d){return isFinite(d=Math.floor(d))&&d>0?Zr(function(a){a.setFullYear(Math.floor(a.getFullYear()/d)*d),a.setMonth(0,1),a.setHours(0,0,0,0)},function(a,n){a.setFullYear(a.getFullYear()+n*d)}):null};const yc=Mh;Mh.range;var Eh=Zr(function(d){d.setUTCSeconds(0,0)},function(d,a){d.setTime(+d+a*gs)},function(d,a){return(a-d)/gs},function(d){return d.getUTCMinutes()});const Wu=Eh;Eh.range;var Ku=Zr(function(d){d.setUTCMinutes(0,0,0)},function(d,a){d.setTime(+d+a*Js)},function(d,a){return(a-d)/Js},function(d){return d.getUTCHours()});const Lm=Ku;Ku.range;var t2=Zr(function(d){d.setUTCHours(0,0,0,0)},function(d,a){d.setUTCDate(d.getUTCDate()+a)},function(d,a){return(a-d)/Ps},function(d){return d.getUTCDate()-1});const Dh=t2;t2.range;function Rs(d){return Zr(function(a){a.setUTCDate(a.getUTCDate()-(a.getUTCDay()+7-d)%7),a.setUTCHours(0,0,0,0)},function(a,n){a.setUTCDate(a.getUTCDate()+7*n)},function(a,n){return(n-a)/q1})}var i2=Rs(0),nd=Rs(1),_l=Rs(2),Th=Rs(3),Bs=Rs(4),n2=Rs(5),Kd=Rs(6),ad=(i2.range,nd.range,_l.range,Th.range,Bs.range,n2.range,Kd.range,Zr(function(d){d.setUTCDate(1),d.setUTCHours(0,0,0,0)},function(d,a){d.setUTCMonth(d.getUTCMonth()+a)},function(d,a){return a.getUTCMonth()-d.getUTCMonth()+12*(a.getUTCFullYear()-d.getUTCFullYear())},function(d){return d.getUTCMonth()}));const rd=ad;ad.range;var r2=Zr(function(d){d.setUTCMonth(0,1),d.setUTCHours(0,0,0,0)},function(d,a){d.setUTCFullYear(d.getUTCFullYear()+a)},function(d,a){return a.getUTCFullYear()-d.getUTCFullYear()},function(d){return d.getUTCFullYear()});r2.every=function(d){return isFinite(d=Math.floor(d))&&d>0?Zr(function(a){a.setUTCFullYear(Math.floor(a.getUTCFullYear()/d)*d),a.setUTCMonth(0,1),a.setUTCHours(0,0,0,0)},function(a,n){a.setUTCFullYear(a.getUTCFullYear()+n*d)}):null};const bs=r2;r2.range;function Ih(d,a,n,y,B,q){const de=[[Wc,1,Xs],[Wc,5,5e3],[Wc,15,15e3],[Wc,30,3e4],[q,1,gs],[q,5,5*gs],[q,15,15*gs],[q,30,30*gs],[B,1,Js],[B,3,3*Js],[B,6,6*Js],[B,12,12*Js],[y,1,Ps],[y,2,2*Ps],[n,1,q1],[a,1,Mm],[a,3,3*Mm],[d,1,vh]];function ht(yt,Tt,ei){const zt=Math.abs(Tt-yt)/ei,vi=Nu(([,,gi])=>gi).right(de,zt);if(vi===de.length)return d.every($l(yt/vh,Tt/vh,ei));if(0===vi)return xh.every(Math.max($l(yt,Tt,ei),1));const[Si,qi]=de[zt/de[vi-1][2]<de[vi][2]/zt?vi-1:vi];return Si.every(qi)}return[function Ie(yt,Tt,ei){const zt=Tt<yt;zt&&([yt,Tt]=[Tt,yt]);const vi=ei&&"function"==typeof ei.range?ei:ht(yt,Tt,ei),Si=vi?vi.range(yt,+Tt+1):[];return zt?Si.reverse():Si},ht]}const[Om,Zu]=Ih(bs,rd,i2,Dh,Lm,Wu),[gl,vl]=Ih(yc,wh,$1,Kc,Ud,pl);function o2(d){if(0<=d.y&&d.y<100){var a=new Date(-1,d.m,d.d,d.H,d.M,d.S,d.L);return a.setFullYear(d.y),a}return new Date(d.y,d.m,d.d,d.H,d.M,d.S,d.L)}function bl(d){if(0<=d.y&&d.y<100){var a=new Date(Date.UTC(-1,d.m,d.d,d.H,d.M,d.S,d.L));return a.setUTCFullYear(d.y),a}return new Date(Date.UTC(d.y,d.m,d.d,d.H,d.M,d.S,d.L))}function Gd(d,a,n){return{y:d,m:a,d:n,H:0,M:0,S:0,L:0}}var od,Hh,Yu={"-":"",_:" ",0:"0"},to=/^\s*\d+/,Qu=/^%/,yl=/[\\^$*+?|[\]().{}]/g;function va(d,a,n){var y=d<0?"-":"",B=(y?-d:d)+"",q=B.length;return y+(q<n?new Array(n-q+1).join(a)+B:B)}function ju(d){return d.replace(yl,"\\$&")}function Yc(d){return new RegExp("^(?:"+d.map(ju).join("|")+")","i")}function xc(d){return new Map(d.map((a,n)=>[a.toLowerCase(),n]))}function qu(d,a,n){var y=to.exec(a.slice(n,n+1));return y?(d.w=+y[0],n+y[0].length):-1}function c2(d,a,n){var y=to.exec(a.slice(n,n+1));return y?(d.u=+y[0],n+y[0].length):-1}function Lh(d,a,n){var y=to.exec(a.slice(n,n+2));return y?(d.U=+y[0],n+y[0].length):-1}function Oh(d,a,n){var y=to.exec(a.slice(n,n+2));return y?(d.V=+y[0],n+y[0].length):-1}function Zd(d,a,n){var y=to.exec(a.slice(n,n+2));return y?(d.W=+y[0],n+y[0].length):-1}function Xu(d,a,n){var y=to.exec(a.slice(n,n+4));return y?(d.y=+y[0],n+y[0].length):-1}function Sh(d,a,n){var y=to.exec(a.slice(n,n+2));return y?(d.y=+y[0]+(+y[0]>68?1900:2e3),n+y[0].length):-1}function Sm(d,a,n){var y=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(a.slice(n,n+6));return y?(d.Z=y[1]?0:-(y[2]+(y[3]||"00")),n+y[0].length):-1}function km(d,a,n){var y=to.exec(a.slice(n,n+1));return y?(d.q=3*y[0]-3,n+y[0].length):-1}function Ju(d,a,n){var y=to.exec(a.slice(n,n+2));return y?(d.m=y[0]-1,n+y[0].length):-1}function kh(d,a,n){var y=to.exec(a.slice(n,n+2));return y?(d.d=+y[0],n+y[0].length):-1}function Ph(d,a,n){var y=to.exec(a.slice(n,n+3));return y?(d.m=0,d.d=+y[0],n+y[0].length):-1}function Yd(d,a,n){var y=to.exec(a.slice(n,n+2));return y?(d.H=+y[0],n+y[0].length):-1}function l2(d,a,n){var y=to.exec(a.slice(n,n+2));return y?(d.M=+y[0],n+y[0].length):-1}function xl(d,a,n){var y=to.exec(a.slice(n,n+2));return y?(d.S=+y[0],n+y[0].length):-1}function Pm(d,a,n){var y=to.exec(a.slice(n,n+3));return y?(d.L=+y[0],n+y[0].length):-1}function $u(d,a,n){var y=to.exec(a.slice(n,n+6));return y?(d.L=Math.floor(y[0]/1e3),n+y[0].length):-1}function Mf(d,a,n){var y=Qu.exec(a.slice(n,n+1));return y?n+y[0].length:-1}function Rm(d,a,n){var y=to.exec(a.slice(n));return y?(d.Q=+y[0],n+y[0].length):-1}function d2(d,a,n){var y=to.exec(a.slice(n));return y?(d.s=+y[0],n+y[0].length):-1}function e0(d,a){return va(d.getDate(),a,2)}function t0(d,a){return va(d.getHours(),a,2)}function Qd(d,a){return va(d.getHours()%12||12,a,2)}function Rh(d,a){return va(1+Kc.count(yc(d),d),a,3)}function Bh(d,a){return va(d.getMilliseconds(),a,3)}function i0(d,a){return Bh(d,a)+"000"}function Cl(d,a){return va(d.getMonth()+1,a,2)}function wl(d,a){return va(d.getMinutes(),a,2)}function n0(d,a){return va(d.getSeconds(),a,2)}function Bm(d){var a=d.getDay();return 0===a?7:a}function a0(d,a){return va($1.count(yc(d)-1,d),a,2)}function r0(d){var a=d.getDay();return a>=4||0===a?id(d):id.ceil(d)}function Nm(d,a){return d=r0(d),va(id.count(yc(d),d)+(4===yc(d).getDay()),a,2)}function Cc(d){return d.getDay()}function Ls(d,a){return va(Vd.count(yc(d)-1,d),a,2)}function Fm(d,a){return va(d.getFullYear()%100,a,2)}function o0(d,a){return va((d=r0(d)).getFullYear()%100,a,2)}function zm(d,a){return va(d.getFullYear()%1e4,a,4)}function Hm(d,a){var n=d.getDay();return va((d=n>=4||0===n?id(d):id.ceil(d)).getFullYear()%1e4,a,4)}function Um(d){var a=d.getTimezoneOffset();return(a>0?"-":(a*=-1,"+"))+va(a/60|0,"0",2)+va(a%60,"0",2)}function s0(d,a){return va(d.getUTCDate(),a,2)}function c0(d,a){return va(d.getUTCHours(),a,2)}function Vm(d,a){return va(d.getUTCHours()%12||12,a,2)}function Wm(d,a){return va(1+Dh.count(bs(d),d),a,3)}function l0(d,a){return va(d.getUTCMilliseconds(),a,3)}function d0(d,a){return l0(d,a)+"000"}function h2(d,a){return va(d.getUTCMonth()+1,a,2)}function $s(d,a){return va(d.getUTCMinutes(),a,2)}function jd(d,a){return va(d.getUTCSeconds(),a,2)}function h0(d){var a=d.getUTCDay();return 0===a?7:a}function u0(d,a){return va(i2.count(bs(d)-1,d),a,2)}function u2(d){var a=d.getUTCDay();return a>=4||0===a?Bs(d):Bs.ceil(d)}function Km(d,a){return d=u2(d),va(Bs.count(bs(d),d)+(4===bs(d).getUTCDay()),a,2)}function Nh(d){return d.getUTCDay()}function Gm(d,a){return va(nd.count(bs(d)-1,d),a,2)}function Fh(d,a){return va(d.getUTCFullYear()%100,a,2)}function m2(d,a){return va((d=u2(d)).getUTCFullYear()%100,a,2)}function Zm(d,a){return va(d.getUTCFullYear()%1e4,a,4)}function Ym(d,a){var n=d.getUTCDay();return va((d=n>=4||0===n?Bs(d):Bs.ceil(d)).getUTCFullYear()%1e4,a,4)}function zh(){return"+0000"}function m0(){return"%"}function p0(d){return+d}function f0(d){return Math.floor(+d/1e3)}function wc(d){return null===d?NaN:+d}!function g0(d){return od=function s2(d){var a=d.dateTime,n=d.date,y=d.time,B=d.periods,q=d.days,de=d.shortDays,Ie=d.months,ht=d.shortMonths,yt=Yc(B),Tt=xc(B),ei=Yc(q),zt=xc(q),vi=Yc(de),Si=xc(de),qi=Yc(Ie),gi=xc(Ie),Xi=Yc(ht),nn=xc(ht),en={a:function Ua(_n){return de[_n.getDay()]},A:function ao(_n){return q[_n.getDay()]},b:function Ma(_n){return ht[_n.getMonth()]},B:function ma(_n){return Ie[_n.getMonth()]},c:null,d:e0,e:e0,f:i0,g:o0,G:Hm,H:t0,I:Qd,j:Rh,L:Bh,m:Cl,M:wl,p:function ka(_n){return B[+(_n.getHours()>=12)]},q:function Mr(_n){return 1+~~(_n.getMonth()/3)},Q:p0,s:f0,S:n0,u:Bm,U:a0,V:Nm,w:Cc,W:Ls,x:null,X:null,y:Fm,Y:zm,Z:Um,"%":m0},fn={a:function Ul(_n){return de[_n.getUTCDay()]},A:function ws(_n){return q[_n.getUTCDay()]},b:function Vl(_n){return ht[_n.getUTCMonth()]},B:function Ms(_n){return Ie[_n.getUTCMonth()]},c:null,d:s0,e:s0,f:d0,g:m2,G:Ym,H:c0,I:Vm,j:Wm,L:l0,m:h2,M:$s,p:function ro(_n){return B[+(_n.getUTCHours()>=12)]},q:function oc(_n){return 1+~~(_n.getUTCMonth()/3)},Q:p0,s:f0,S:jd,u:h0,U:u0,V:Km,w:Nh,W:Gm,x:null,X:null,y:Fh,Y:Zm,Z:zh,"%":m0},bn={a:function wa(_n,Vn,ba){var tn=vi.exec(Vn.slice(ba));return tn?(_n.w=Si.get(tn[0].toLowerCase()),ba+tn[0].length):-1},A:function yn(_n,Vn,ba){var tn=ei.exec(Vn.slice(ba));return tn?(_n.w=zt.get(tn[0].toLowerCase()),ba+tn[0].length):-1},b:function Dn(_n,Vn,ba){var tn=Xi.exec(Vn.slice(ba));return tn?(_n.m=nn.get(tn[0].toLowerCase()),ba+tn[0].length):-1},B:function Mn(_n,Vn,ba){var tn=qi.exec(Vn.slice(ba));return tn?(_n.m=gi.get(tn[0].toLowerCase()),ba+tn[0].length):-1},c:function Da(_n,Vn,ba){return ua(_n,a,Vn,ba)},d:kh,e:kh,f:$u,g:Sh,G:Xu,H:Yd,I:Yd,j:Ph,L:Pm,m:Ju,M:l2,p:function Ya(_n,Vn,ba){var tn=yt.exec(Vn.slice(ba));return tn?(_n.p=Tt.get(tn[0].toLowerCase()),ba+tn[0].length):-1},q:km,Q:Rm,s:d2,S:xl,u:c2,U:Lh,V:Oh,w:qu,W:Zd,x:function Qr(_n,Vn,ba){return ua(_n,n,Vn,ba)},X:function Na(_n,Vn,ba){return ua(_n,y,Vn,ba)},y:Sh,Y:Xu,Z:Sm,"%":Mf};function dn(_n,Vn){return function(ba){var zo,Yn,Ur,tn=[],Hr=-1,er=0,us=_n.length;for(ba instanceof Date||(ba=new Date(+ba));++Hr<us;)37===_n.charCodeAt(Hr)&&(tn.push(_n.slice(er,Hr)),null!=(Yn=Yu[zo=_n.charAt(++Hr)])?zo=_n.charAt(++Hr):Yn="e"===zo?" ":"0",(Ur=Vn[zo])&&(zo=Ur(ba,Yn)),tn.push(zo),er=Hr+1);return tn.push(_n.slice(er,Hr)),tn.join("")}}function Sa(_n,Vn){return function(ba){var er,us,tn=Gd(1900,void 0,1);if(ua(tn,_n,ba+="",0)!=ba.length)return null;if("Q"in tn)return new Date(tn.Q);if("s"in tn)return new Date(1e3*tn.s+("L"in tn?tn.L:0));if(Vn&&!("Z"in tn)&&(tn.Z=0),"p"in tn&&(tn.H=tn.H%12+12*tn.p),void 0===tn.m&&(tn.m="q"in tn?tn.q:0),"V"in tn){if(tn.V<1||tn.V>53)return null;"w"in tn||(tn.w=1),"Z"in tn?(us=(er=bl(Gd(tn.y,0,1))).getUTCDay(),er=us>4||0===us?nd.ceil(er):nd(er),er=Dh.offset(er,7*(tn.V-1)),tn.y=er.getUTCFullYear(),tn.m=er.getUTCMonth(),tn.d=er.getUTCDate()+(tn.w+6)%7):(us=(er=o2(Gd(tn.y,0,1))).getDay(),er=us>4||0===us?Vd.ceil(er):Vd(er),er=Kc.offset(er,7*(tn.V-1)),tn.y=er.getFullYear(),tn.m=er.getMonth(),tn.d=er.getDate()+(tn.w+6)%7)}else("W"in tn||"U"in tn)&&("w"in tn||(tn.w="u"in tn?tn.u%7:"W"in tn?1:0),us="Z"in tn?bl(Gd(tn.y,0,1)).getUTCDay():o2(Gd(tn.y,0,1)).getDay(),tn.m=0,tn.d="W"in tn?(tn.w+6)%7+7*tn.W-(us+5)%7:tn.w+7*tn.U-(us+6)%7);return"Z"in tn?(tn.H+=tn.Z/100|0,tn.M+=tn.Z%100,bl(tn)):o2(tn)}}function ua(_n,Vn,ba,tn){for(var zo,Yn,Hr=0,er=Vn.length,us=ba.length;Hr<er;){if(tn>=us)return-1;if(37===(zo=Vn.charCodeAt(Hr++))){if(zo=Vn.charAt(Hr++),!(Yn=bn[zo in Yu?Vn.charAt(Hr++):zo])||(tn=Yn(_n,ba,tn))<0)return-1}else if(zo!=ba.charCodeAt(tn++))return-1}return tn}return en.x=dn(n,en),en.X=dn(y,en),en.c=dn(a,en),fn.x=dn(n,fn),fn.X=dn(y,fn),fn.c=dn(a,fn),{format:function(_n){var Vn=dn(_n+="",en);return Vn.toString=function(){return _n},Vn},parse:function(_n){var Vn=Sa(_n+="",!1);return Vn.toString=function(){return _n},Vn},utcFormat:function(_n){var Vn=dn(_n+="",fn);return Vn.toString=function(){return _n},Vn},utcParse:function(_n){var Vn=Sa(_n+="",!0);return Vn.toString=function(){return _n},Vn}}}(d),Hh=od.format,od.parse,od.utcFormat,od.utcParse,od}({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 sd=Nu(j1),v0=sd.right,Qm=(sd.left,Nu(wc).center,v0);function jm(d,a){return d=+d,a=+a,function(n){return Math.round(d*(1-n)+a*n)}}function qm(d){return+d}var Df=[0,1];function Or(d){return d}function Ml(d,a){return(a-=d=+d)?function(n){return(n-d)/a}:function Ef(d){return function(){return d}}(isNaN(a)?NaN:.5)}function cd(d,a,n){var y=d[0],B=d[1],q=a[0],de=a[1];return B<y?(y=Ml(B,y),q=n(de,q)):(y=Ml(y,B),q=n(q,de)),function(Ie){return q(y(Ie))}}function y0(d,a,n){var y=Math.min(d.length,a.length)-1,B=new Array(y),q=new Array(y),de=-1;for(d[y]<d[0]&&(d=d.slice().reverse(),a=a.slice().reverse());++de<y;)B[de]=Ml(d[de],d[de+1]),q[de]=n(a[de],a[de+1]);return function(Ie){var ht=Qm(d,Ie,1,y)-1;return q[ht](B[ht](Ie))}}function _2(d,a){return a.domain(d.domain()).range(d.range()).interpolate(d.interpolate()).clamp(d.clamp()).unknown(d.unknown())}function qd(){var y,B,q,Ie,ht,yt,d=Df,a=Df,n=qn,de=Or;function Tt(){var zt=Math.min(d.length,a.length);return de!==Or&&(de=function Wh(d,a){var n;return d>a&&(n=d,d=a,a=n),function(y){return Math.max(d,Math.min(a,y))}}(d[0],d[zt-1])),Ie=zt>2?y0:cd,ht=yt=null,ei}function ei(zt){return null==zt||isNaN(zt=+zt)?q:(ht||(ht=Ie(d.map(y),a,n)))(y(de(zt)))}return ei.invert=function(zt){return de(B((yt||(yt=Ie(a,d.map(y),mr)))(zt)))},ei.domain=function(zt){return arguments.length?(d=Array.from(zt,qm),Tt()):d.slice()},ei.range=function(zt){return arguments.length?(a=Array.from(zt),Tt()):a.slice()},ei.rangeRound=function(zt){return a=Array.from(zt),n=jm,Tt()},ei.clamp=function(zt){return arguments.length?(de=!!zt||Or,Tt()):de!==Or},ei.interpolate=function(zt){return arguments.length?(n=zt,Tt()):n},ei.unknown=function(zt){return arguments.length?(q=zt,ei):q},function(zt,vi){return y=zt,B=vi,Tt()}}function Kh(){return qd()(Or,Or)}function ld(d,a){switch(arguments.length){case 0:break;case 1:this.range(d);break;default:this.range(a).domain(d)}return this}function g2(d){return new Date(d)}function Xd(d){return d instanceof Date?+d:+new Date(+d)}function dd(d,a,n,y,B,q,de,Ie,ht,yt){var Tt=Kh(),ei=Tt.invert,zt=Tt.domain,vi=yt(".%L"),Si=yt(":%S"),qi=yt("%I:%M"),gi=yt("%I %p"),Xi=yt("%a %d"),nn=yt("%b %d"),en=yt("%B"),fn=yt("%Y");function bn(dn){return(ht(dn)<dn?vi:Ie(dn)<dn?Si:de(dn)<dn?qi:q(dn)<dn?gi:y(dn)<dn?B(dn)<dn?Xi:nn:n(dn)<dn?en:fn)(dn)}return Tt.invert=function(dn){return new Date(ei(dn))},Tt.domain=function(dn){return arguments.length?zt(Array.from(dn,Xd)):zt().map(g2)},Tt.ticks=function(dn){var Sa=zt();return d(Sa[0],Sa[Sa.length-1],dn??10)},Tt.tickFormat=function(dn,Sa){return null==Sa?bn:yt(Sa)},Tt.nice=function(dn){var Sa=zt();return(!dn||"function"!=typeof dn.range)&&(dn=a(Sa[0],Sa[Sa.length-1],dn??10)),dn?zt(function Gh(d,a){var de,n=0,y=(d=d.slice()).length-1,B=d[n],q=d[y];return q<B&&(de=n,n=y,y=de,de=B,B=q,q=de),d[n]=a.floor(B),d[y]=a.ceil(q),d}(Sa,dn)):Tt},Tt.copy=function(){return _2(Tt,dd(d,a,n,y,B,q,de,Ie,ht,yt))},Tt}function ar(){return ld.apply(dd(gl,vl,yc,wh,$1,Kc,Ud,pl,Wc,Hh).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var Yh,Zh=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Jd(d){if(!(a=Zh.exec(d)))throw new Error("invalid format: "+d);var a;return new Mc({fill:a[1],align:a[2],sign:a[3],symbol:a[4],zero:a[5],width:a[6],comma:a[7],precision:a[8]&&a[8].slice(1),trim:a[9],type:a[10]})}function Mc(d){this.fill=void 0===d.fill?" ":d.fill+"",this.align=void 0===d.align?">":d.align+"",this.sign=void 0===d.sign?"-":d.sign+"",this.symbol=void 0===d.symbol?"":d.symbol+"",this.zero=!!d.zero,this.width=void 0===d.width?void 0:+d.width,this.comma=!!d.comma,this.precision=void 0===d.precision?void 0:+d.precision,this.trim=!!d.trim,this.type=void 0===d.type?"":d.type+""}function hd(d,a){if((n=(d=a?d.toExponential(a-1):d.toExponential()).indexOf("e"))<0)return null;var n,y=d.slice(0,n);return[y.length>1?y[0]+y.slice(2):y,+d.slice(n+1)]}function Ec(d){return(d=hd(Math.abs(d)))?d[1]:NaN}function w0(d,a){var n=hd(d,a);if(!n)return d+"";var y=n[0],B=n[1];return B<0?"0."+new Array(-B).join("0")+y:y.length>B+1?y.slice(0,B+1)+"."+y.slice(B+1):y+new Array(B-y.length+2).join("0")}Jd.prototype=Mc.prototype,Mc.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 M0={"%":(d,a)=>(100*d).toFixed(a),b:d=>Math.round(d).toString(2),c:d=>d+"",d:function C0(d){return Math.abs(d=Math.round(d))>=1e21?d.toLocaleString("en").replace(/,/g,""):d.toString(10)},e:(d,a)=>d.toExponential(a),f:(d,a)=>d.toFixed(a),g:(d,a)=>d.toPrecision(a),o:d=>Math.round(d).toString(8),p:(d,a)=>w0(100*d,a),r:w0,s:function Qh(d,a){var n=hd(d,a);if(!n)return d+"";var y=n[0],B=n[1],q=B-(Yh=3*Math.max(-8,Math.min(8,Math.floor(B/3))))+1,de=y.length;return q===de?y:q>de?y+new Array(q-de+1).join("0"):q>0?y.slice(0,q)+"."+y.slice(q):"0."+new Array(1-q).join("0")+hd(d,Math.max(0,a+q-1))[0]},X:d=>Math.round(d).toString(16).toUpperCase(),x:d=>Math.round(d).toString(16)};function jh(d){return d}var b2,e1,ud,Dl=Array.prototype.map,E0=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function Jm(d){var a=void 0===d.grouping||void 0===d.thousands?jh:function v2(d,a){return function(n,y){for(var B=n.length,q=[],de=0,Ie=d[0],ht=0;B>0&&Ie>0&&(ht+Ie+1>y&&(Ie=Math.max(1,y-ht)),q.push(n.substring(B-=Ie,B+Ie)),!((ht+=Ie+1)>y));)Ie=d[de=(de+1)%d.length];return q.reverse().join(a)}}(Dl.call(d.grouping,Number),d.thousands+""),n=void 0===d.currency?"":d.currency[0]+"",y=void 0===d.currency?"":d.currency[1]+"",B=void 0===d.decimal?".":d.decimal+"",q=void 0===d.numerals?jh:function $d(d){return function(a){return a.replace(/[0-9]/g,function(n){return d[+n]})}}(Dl.call(d.numerals,String)),de=void 0===d.percent?"%":d.percent+"",Ie=void 0===d.minus?"\u2212":d.minus+"",ht=void 0===d.nan?"NaN":d.nan+"";function yt(ei){var zt=(ei=Jd(ei)).fill,vi=ei.align,Si=ei.sign,qi=ei.symbol,gi=ei.zero,Xi=ei.width,nn=ei.comma,en=ei.precision,fn=ei.trim,bn=ei.type;"n"===bn?(nn=!0,bn="g"):M0[bn]||(void 0===en&&(en=12),fn=!0,bn="g"),(gi||"0"===zt&&"="===vi)&&(gi=!0,zt="0",vi="=");var dn="$"===qi?n:"#"===qi&&/[boxX]/.test(bn)?"0"+bn.toLowerCase():"",Sa="$"===qi?y:/[%p]/.test(bn)?de:"",ua=M0[bn],Ya=/[defgprs%]/.test(bn);function wa(yn){var Da,Qr,Na,Dn=dn,Mn=Sa;if("c"===bn)Mn=ua(yn)+Mn,yn="";else{var Ua=(yn=+yn)<0||1/yn<0;if(yn=isNaN(yn)?ht:ua(Math.abs(yn),en),fn&&(yn=function El(d){e:for(var B,a=d.length,n=1,y=-1;n<a;++n)switch(d[n]){case".":y=B=n;break;case"0":0===y&&(y=n),B=n;break;default:if(!+d[n])break e;y>0&&(y=0)}return y>0?d.slice(0,y)+d.slice(B+1):d}(yn)),Ua&&0==+yn&&"+"!==Si&&(Ua=!1),Dn=(Ua?"("===Si?Si:Ie:"-"===Si||"("===Si?"":Si)+Dn,Mn=("s"===bn?E0[8+Yh/3]:"")+Mn+(Ua&&"("===Si?")":""),Ya)for(Da=-1,Qr=yn.length;++Da<Qr;)if(48>(Na=yn.charCodeAt(Da))||Na>57){Mn=(46===Na?B+yn.slice(Da+1):yn.slice(Da))+Mn,yn=yn.slice(0,Da);break}}nn&&!gi&&(yn=a(yn,1/0));var ao=Dn.length+yn.length+Mn.length,Ma=ao<Xi?new Array(Xi-ao+1).join(zt):"";switch(nn&&gi&&(yn=a(Ma+yn,Ma.length?Xi-Mn.length:1/0),Ma=""),vi){case"<":yn=Dn+yn+Mn+Ma;break;case"=":yn=Dn+Ma+yn+Mn;break;case"^":yn=Ma.slice(0,ao=Ma.length>>1)+Dn+yn+Mn+Ma.slice(ao);break;default:yn=Ma+Dn+yn+Mn}return q(yn)}return en=void 0===en?6:/[gprs]/.test(bn)?Math.max(1,Math.min(21,en)):Math.max(0,Math.min(20,en)),wa.toString=function(){return ei+""},wa}return{format:yt,formatPrefix:function Tt(ei,zt){var vi=yt(((ei=Jd(ei)).type="f",ei)),Si=3*Math.max(-8,Math.min(8,Math.floor(Ec(zt)/3))),qi=Math.pow(10,-Si),gi=E0[8+Si/3];return function(Xi){return vi(qi*Xi)+gi}}}}function qh(d,a,n,y){var q,B=$l(d,a,n);switch((y=Jd(y??",f")).type){case"s":var de=Math.max(Math.abs(d),Math.abs(a));return null==y.precision&&!isNaN(q=function Xm(d,a){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Ec(a)/3)))-Ec(Math.abs(d)))}(B,de))&&(y.precision=q),ud(y,de);case"":case"e":case"g":case"p":case"r":null==y.precision&&!isNaN(q=function T0(d,a){return d=Math.abs(d),a=Math.abs(a)-d,Math.max(0,Ec(a)-Ec(d))+1}(B,Math.max(Math.abs(d),Math.abs(a))))&&(y.precision=q-("e"===y.type));break;case"f":case"%":null==y.precision&&!isNaN(q=function A0(d){return Math.max(0,-Ec(Math.abs(d)))}(B))&&(y.precision=q-2*("%"===y.type))}return e1(y)}function $m(d){var a=d.domain;return d.ticks=function(n){var y=a();return function wm(d,a,n){var y,q,de,Ie,B=-1;if(n=+n,(d=+d)==(a=+a)&&n>0)return[d];if((y=a<d)&&(q=d,d=a,a=q),0===(Ie=Jl(d,a,n))||!isFinite(Ie))return[];if(Ie>0){let ht=Math.round(d/Ie),yt=Math.round(a/Ie);for(ht*Ie<d&&++ht,yt*Ie>a&&--yt,de=new Array(q=yt-ht+1);++B<q;)de[B]=(ht+B)*Ie}else{Ie=-Ie;let ht=Math.round(d*Ie),yt=Math.round(a*Ie);for(ht/Ie<d&&++ht,yt/Ie>a&&--yt,de=new Array(q=yt-ht+1);++B<q;)de[B]=(ht+B)/Ie}return y&&de.reverse(),de}(y[0],y[y.length-1],n??10)},d.tickFormat=function(n,y){var B=a();return qh(B[0],B[B.length-1],n??10,y)},d.nice=function(n){null==n&&(n=10);var ht,yt,y=a(),B=0,q=y.length-1,de=y[B],Ie=y[q],Tt=10;for(Ie<de&&(yt=de,de=Ie,Ie=yt,yt=B,B=q,q=yt);Tt-- >0;){if((yt=Jl(de,Ie,n))===ht)return y[B]=de,y[q]=Ie,a(y);if(yt>0)de=Math.floor(de/yt)*yt,Ie=Math.ceil(Ie/yt)*yt;else{if(!(yt<0))break;de=Math.ceil(de*yt)/yt,Ie=Math.floor(Ie*yt)/yt}ht=yt}return d},d}function fa(){var d=Kh();return d.copy=function(){return _2(d,fa())},ld.apply(d,arguments),$m(d)}function I0(d,a,n){d=+d,a=+a,n=(B=arguments.length)<2?(a=d,d=0,1):B<3?1:+n;for(var y=-1,B=0|Math.max(0,Math.ceil((a-d)/n)),q=new Array(B);++y<B;)q[y]=d+y*n;return q}!function D0(d){return b2=Jm(d),e1=b2.format,ud=b2.formatPrefix,b2}({thousands:",",grouping:[3],currency:["$",""]});const ec=Symbol("implicit");function Co(){var d=new Map,a=[],n=[],y=ec;function B(q){var de=q+"",Ie=d.get(de);if(!Ie){if(y!==ec)return y;d.set(de,Ie=a.push(q))}return n[(Ie-1)%n.length]}return B.domain=function(q){if(!arguments.length)return a.slice();a=[],d=new Map;for(const de of q){const Ie=de+"";d.has(Ie)||d.set(Ie,a.push(de))}return B},B.range=function(q){return arguments.length?(n=Array.from(q),B):n.slice()},B.unknown=function(q){return arguments.length?(y=q,B):y},B.copy=function(){return Co(a,n).unknown(y)},ld.apply(B,arguments),B}function wo(){var q,de,d=Co().unknown(void 0),a=d.domain,n=d.range,y=0,B=1,Ie=!1,ht=0,yt=0,Tt=.5;function ei(){var zt=a().length,vi=B<y,Si=vi?B:y,qi=vi?y:B;q=(qi-Si)/Math.max(1,zt-ht+2*yt),Ie&&(q=Math.floor(q)),Si+=(qi-Si-q*(zt-ht))*Tt,de=q*(1-ht),Ie&&(Si=Math.round(Si),de=Math.round(de));var gi=I0(zt).map(function(Xi){return Si+q*Xi});return n(vi?gi.reverse():gi)}return delete d.unknown,d.domain=function(zt){return arguments.length?(a(zt),ei()):a()},d.range=function(zt){return arguments.length?([y,B]=zt,y=+y,B=+B,ei()):[y,B]},d.rangeRound=function(zt){return[y,B]=zt,y=+y,B=+B,Ie=!0,ei()},d.bandwidth=function(){return de},d.step=function(){return q},d.round=function(zt){return arguments.length?(Ie=!!zt,ei()):Ie},d.padding=function(zt){return arguments.length?(ht=Math.min(1,yt=+zt),ei()):ht},d.paddingInner=function(zt){return arguments.length?(ht=Math.min(1,zt),ei()):ht},d.paddingOuter=function(zt){return arguments.length?(yt=+zt,ei()):yt},d.align=function(zt){return arguments.length?(Tt=Math.max(0,Math.min(1,zt)),ei()):Tt},d.copy=function(){return wo(a(),[y,B]).round(Ie).paddingInner(ht).paddingOuter(yt).align(Tt)},ld.apply(ei(),arguments)}function L0(d){var a=d.copy;return d.padding=d.paddingOuter,delete d.paddingInner,delete d.paddingOuter,d.copy=function(){return L0(a())},d}function jo(){return L0(wo.apply(null,arguments).paddingInner(1))}function y2(d,a){let n;if(void 0===a)for(const y of d)null!=y&&(n<y||void 0===n&&y>=y)&&(n=y);else{let y=-1;for(let B of d)null!=(B=a(B,++y,d))&&(n<B||void 0===n&&B>=B)&&(n=B)}return n}function Tl(d,a){let n;if(void 0===a)for(const y of d)null!=y&&(n>y||void 0===n&&y>=y)&&(n=y);else{let y=-1;for(let B of d)null!=(B=a(B,++y,d))&&(n>B||void 0===n&&B>=B)&&(n=B)}return n}function Xh(d,a,n=0,y=d.length-1,B=j1){for(;y>n;){if(y-n>600){const ht=y-n+1,yt=a-n+1,Tt=Math.log(ht),ei=.5*Math.exp(2*Tt/3),zt=.5*Math.sqrt(Tt*ei*(ht-ei)/ht)*(yt-ht/2<0?-1:1);Xh(d,a,Math.max(n,Math.floor(a-yt*ei/ht+zt)),Math.min(y,Math.floor(a+(ht-yt)*ei/ht+zt)),B)}const q=d[a];let de=n,Ie=y;for(t1(d,n,a),B(d[y],q)>0&&t1(d,n,y);de<Ie;){for(t1(d,de,Ie),++de,--Ie;B(d[de],q)<0;)++de;for(;B(d[Ie],q)>0;)--Ie}0===B(d[n],q)?t1(d,n,Ie):(++Ie,t1(d,Ie,y)),Ie<=a&&(n=Ie+1),a<=Ie&&(y=Ie-1)}return d}function t1(d,a,n){const y=d[a];d[a]=d[n],d[n]=y}function md(d,a,n){if(d=Float64Array.from(function*Vh(d,a){if(void 0===a)for(let n of d)null!=n&&(n=+n)>=n&&(yield n);else{let n=-1;for(let y of d)null!=(y=a(y,++n,d))&&(y=+y)>=y&&(yield y)}}(d,n)),y=d.length){if((a=+a)<=0||y<2)return Tl(d);if(a>=1)return y2(d);var y,B=(y-1)*a,q=Math.floor(B),de=y2(Xh(d,q).subarray(0,q+1));return de+(Tl(d.subarray(q+1))-de)*(B-q)}}function Jh(d,a,n=wc){if(y=d.length){if((a=+a)<=0||y<2)return+n(d[0],0,d);if(a>=1)return+n(d[y-1],y-1,d);var y,B=(y-1)*a,q=Math.floor(B),de=+n(d[q],q,d);return de+(+n(d[q+1],q+1,d)-de)*(B-q)}}function O0(){var y,d=[],a=[],n=[];function B(){var de=0,Ie=Math.max(1,a.length);for(n=new Array(Ie-1);++de<Ie;)n[de-1]=Jh(d,de/Ie);return q}function q(de){return null==de||isNaN(de=+de)?y:a[Qm(n,de)]}return q.invertExtent=function(de){var Ie=a.indexOf(de);return Ie<0?[NaN,NaN]:[Ie>0?n[Ie-1]:d[0],Ie<n.length?n[Ie]:d[d.length-1]]},q.domain=function(de){if(!arguments.length)return d.slice();d=[];for(let Ie of de)null!=Ie&&!isNaN(Ie=+Ie)&&d.push(Ie);return d.sort(j1),B()},q.range=function(de){return arguments.length?(a=Array.from(de),B()):a.slice()},q.unknown=function(de){return arguments.length?(y=de,q):y},q.quantiles=function(){return n.slice()},q.copy=function(){return O0().domain(d).range(a).unknown(y)},ld.apply(q,arguments)}const i1=Math.PI,Qc=2*i1,Al=1e-6,ep=Qc-Al;function x2(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function S0(){return new x2}x2.prototype=S0.prototype={constructor:x2,moveTo:function(d,a){this._+="M"+(this._x0=this._x1=+d)+","+(this._y0=this._y1=+a)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(d,a){this._+="L"+(this._x1=+d)+","+(this._y1=+a)},quadraticCurveTo:function(d,a,n,y){this._+="Q"+ +d+","+ +a+","+(this._x1=+n)+","+(this._y1=+y)},bezierCurveTo:function(d,a,n,y,B,q){this._+="C"+ +d+","+ +a+","+ +n+","+ +y+","+(this._x1=+B)+","+(this._y1=+q)},arcTo:function(d,a,n,y,B){d=+d,a=+a,n=+n,y=+y,B=+B;var q=this._x1,de=this._y1,Ie=n-d,ht=y-a,yt=q-d,Tt=de-a,ei=yt*yt+Tt*Tt;if(B<0)throw new Error("negative radius: "+B);if(null===this._x1)this._+="M"+(this._x1=d)+","+(this._y1=a);else if(ei>Al)if(Math.abs(Tt*Ie-ht*yt)>Al&&B){var zt=n-q,vi=y-de,Si=Ie*Ie+ht*ht,qi=zt*zt+vi*vi,gi=Math.sqrt(Si),Xi=Math.sqrt(ei),nn=B*Math.tan((i1-Math.acos((Si+ei-qi)/(2*gi*Xi)))/2),en=nn/Xi,fn=nn/gi;Math.abs(en-1)>Al&&(this._+="L"+(d+en*yt)+","+(a+en*Tt)),this._+="A"+B+","+B+",0,0,"+ +(Tt*zt>yt*vi)+","+(this._x1=d+fn*Ie)+","+(this._y1=a+fn*ht)}else this._+="L"+(this._x1=d)+","+(this._y1=a)},arc:function(d,a,n,y,B,q){d=+d,a=+a,q=!!q;var de=(n=+n)*Math.cos(y),Ie=n*Math.sin(y),ht=d+de,yt=a+Ie,Tt=1^q,ei=q?y-B:B-y;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+ht+","+yt:(Math.abs(this._x1-ht)>Al||Math.abs(this._y1-yt)>Al)&&(this._+="L"+ht+","+yt),n&&(ei<0&&(ei=ei%Qc+Qc),ei>ep?this._+="A"+n+","+n+",0,1,"+Tt+","+(d-de)+","+(a-Ie)+"A"+n+","+n+",0,1,"+Tt+","+(this._x1=ht)+","+(this._y1=yt):ei>Al&&(this._+="A"+n+","+n+",0,"+ +(ei>=i1)+","+Tt+","+(this._x1=d+n*Math.cos(B))+","+(this._y1=a+n*Math.sin(B))))},rect:function(d,a,n,y){this._+="M"+(this._x0=this._x1=+d)+","+(this._y0=this._y1=+a)+"h"+ +n+"v"+ +y+"h"+-n+"Z"},toString:function(){return this._}};const C2=S0;Array.prototype.slice;function n1(d){return"object"==typeof d&&"length"in d?d:Array.from(d)}function oa(d){return function(){return d}}function tc(d){this._context=d}function Il(d){return new tc(d)}function $h(d){return d[0]}function a1(d){return d[1]}function pd(d,a){var n=oa(!0),y=null,B=Il,q=null;function de(Ie){var ht,Tt,zt,yt=(Ie=n1(Ie)).length,ei=!1;for(null==y&&(q=B(zt=C2())),ht=0;ht<=yt;++ht)!(ht<yt&&n(Tt=Ie[ht],ht,Ie))===ei&&((ei=!ei)?q.lineStart():q.lineEnd()),ei&&q.point(+d(Tt,ht,Ie),+a(Tt,ht,Ie));if(zt)return q=null,zt+""||null}return d="function"==typeof d?d:void 0===d?$h:oa(d),a="function"==typeof a?a:void 0===a?a1:oa(a),de.x=function(Ie){return arguments.length?(d="function"==typeof Ie?Ie:oa(+Ie),de):d},de.y=function(Ie){return arguments.length?(a="function"==typeof Ie?Ie:oa(+Ie),de):a},de.defined=function(Ie){return arguments.length?(n="function"==typeof Ie?Ie:oa(!!Ie),de):n},de.curve=function(Ie){return arguments.length?(B=Ie,null!=y&&(q=B(y)),de):B},de.context=function(Ie){return arguments.length?(null==Ie?y=q=null:q=B(y=Ie),de):y},de}function Ll(d,a,n){var y=null,B=oa(!0),q=null,de=Il,Ie=null;function ht(Tt){var ei,zt,vi,qi,Xi,Si=(Tt=n1(Tt)).length,gi=!1,nn=new Array(Si),en=new Array(Si);for(null==q&&(Ie=de(Xi=C2())),ei=0;ei<=Si;++ei){if(!(ei<Si&&B(qi=Tt[ei],ei,Tt))===gi)if(gi=!gi)zt=ei,Ie.areaStart(),Ie.lineStart();else{for(Ie.lineEnd(),Ie.lineStart(),vi=ei-1;vi>=zt;--vi)Ie.point(nn[vi],en[vi]);Ie.lineEnd(),Ie.areaEnd()}gi&&(nn[ei]=+d(qi,ei,Tt),en[ei]=+a(qi,ei,Tt),Ie.point(y?+y(qi,ei,Tt):nn[ei],n?+n(qi,ei,Tt):en[ei]))}if(Xi)return Ie=null,Xi+""||null}function yt(){return pd().defined(B).curve(de).context(q)}return d="function"==typeof d?d:void 0===d?$h:oa(+d),a="function"==typeof a?a:oa(void 0===a?0:+a),n="function"==typeof n?n:void 0===n?a1:oa(+n),ht.x=function(Tt){return arguments.length?(d="function"==typeof Tt?Tt:oa(+Tt),y=null,ht):d},ht.x0=function(Tt){return arguments.length?(d="function"==typeof Tt?Tt:oa(+Tt),ht):d},ht.x1=function(Tt){return arguments.length?(y=null==Tt?null:"function"==typeof Tt?Tt:oa(+Tt),ht):y},ht.y=function(Tt){return arguments.length?(a="function"==typeof Tt?Tt:oa(+Tt),n=null,ht):a},ht.y0=function(Tt){return arguments.length?(a="function"==typeof Tt?Tt:oa(+Tt),ht):a},ht.y1=function(Tt){return arguments.length?(n=null==Tt?null:"function"==typeof Tt?Tt:oa(+Tt),ht):n},ht.lineX0=ht.lineY0=function(){return yt().x(d).y(a)},ht.lineY1=function(){return yt().x(d).y(n)},ht.lineX1=function(){return yt().x(y).y(a)},ht.defined=function(Tt){return arguments.length?(B="function"==typeof Tt?Tt:oa(!!Tt),ht):B},ht.curve=function(Tt){return arguments.length?(de=Tt,null!=q&&(Ie=de(q)),ht):de},ht.context=function(Tt){return arguments.length?(null==Tt?q=Ie=null:Ie=de(q=Tt),ht):q},ht}tc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(d,a){switch(d=+d,a=+a,this._point){case 0:this._point=1,this._line?this._context.lineTo(d,a):this._context.moveTo(d,a);break;case 1:this._point=2;default:this._context.lineTo(d,a)}}};var k0=Math.abs,Mo=Math.atan2,jc=Math.cos,r1=Math.max,w2=Math.min,ic=Math.sin,fd=Math.sqrt,gr=1e-12,_d=Math.PI,o1=_d/2,M2=2*_d;function tp(d){return d>1?0:d<-1?_d:Math.acos(d)}function eu(d){return d>=1?o1:d<=-1?-o1:Math.asin(d)}function ip(d){return d.innerRadius}function gd(d){return d.outerRadius}function vd(d){return d.startAngle}function np(d){return d.endAngle}function tu(d){return d&&d.padAngle}function Kn(d,a,n,y,B,q,de,Ie){var ht=n-d,yt=y-a,Tt=de-B,ei=Ie-q,zt=ei*ht-Tt*yt;if(!(zt*zt<gr))return[d+(zt=(Tt*(a-q)-ei*(d-B))/zt)*ht,a+zt*yt]}function s1(d,a,n,y,B,q,de){var Ie=d-n,ht=a-y,yt=(de?q:-q)/fd(Ie*Ie+ht*ht),Tt=yt*ht,ei=-yt*Ie,zt=d+Tt,vi=a+ei,Si=n+Tt,qi=y+ei,gi=(zt+Si)/2,Xi=(vi+qi)/2,nn=Si-zt,en=qi-vi,fn=nn*nn+en*en,bn=B-q,dn=zt*qi-Si*vi,Sa=(en<0?-1:1)*fd(r1(0,bn*bn*fn-dn*dn)),ua=(dn*en-nn*Sa)/fn,Ya=(-dn*nn-en*Sa)/fn,wa=(dn*en+nn*Sa)/fn,yn=(-dn*nn+en*Sa)/fn,Dn=ua-gi,Mn=Ya-Xi,Da=wa-gi,Qr=yn-Xi;return Dn*Dn+Mn*Mn>Da*Da+Qr*Qr&&(ua=wa,Ya=yn),{cx:ua,cy:Ya,x01:-Tt,y01:-ei,x11:ua*(B/bn-1),y11:Ya*(B/bn-1)}}function c1(){var d=ip,a=gd,n=oa(0),y=null,B=vd,q=np,de=tu,Ie=null;function ht(){var yt,Tt,ei=+d.apply(this,arguments),zt=+a.apply(this,arguments),vi=B.apply(this,arguments)-o1,Si=q.apply(this,arguments)-o1,qi=k0(Si-vi),gi=Si>vi;if(Ie||(Ie=yt=C2()),zt<ei&&(Tt=zt,zt=ei,ei=Tt),zt>gr)if(qi>M2-gr)Ie.moveTo(zt*jc(vi),zt*ic(vi)),Ie.arc(0,0,zt,vi,Si,!gi),ei>gr&&(Ie.moveTo(ei*jc(Si),ei*ic(Si)),Ie.arc(0,0,ei,Si,vi,gi));else{var Dn,Mn,Xi=vi,nn=Si,en=vi,fn=Si,bn=qi,dn=qi,Sa=de.apply(this,arguments)/2,ua=Sa>gr&&(y?+y.apply(this,arguments):fd(ei*ei+zt*zt)),Ya=w2(k0(zt-ei)/2,+n.apply(this,arguments)),wa=Ya,yn=Ya;if(ua>gr){var Da=eu(ua/ei*ic(Sa)),Qr=eu(ua/zt*ic(Sa));(bn-=2*Da)>gr?(en+=Da*=gi?1:-1,fn-=Da):(bn=0,en=fn=(vi+Si)/2),(dn-=2*Qr)>gr?(Xi+=Qr*=gi?1:-1,nn-=Qr):(dn=0,Xi=nn=(vi+Si)/2)}var Na=zt*jc(Xi),Ua=zt*ic(Xi),ao=ei*jc(fn),Ma=ei*ic(fn);if(Ya>gr){var ws,ma=zt*jc(nn),ka=zt*ic(nn),Mr=ei*jc(en),Ul=ei*ic(en);if(qi<_d&&(ws=Kn(Na,Ua,Mr,Ul,ma,ka,ao,Ma))){var Vl=Na-ws[0],Ms=Ua-ws[1],ro=ma-ws[0],oc=ka-ws[1],_n=1/ic(tp((Vl*ro+Ms*oc)/(fd(Vl*Vl+Ms*Ms)*fd(ro*ro+oc*oc)))/2),Vn=fd(ws[0]*ws[0]+ws[1]*ws[1]);wa=w2(Ya,(ei-Vn)/(_n-1)),yn=w2(Ya,(zt-Vn)/(_n+1))}}dn>gr?yn>gr?(Dn=s1(Mr,Ul,Na,Ua,zt,yn,gi),Mn=s1(ma,ka,ao,Ma,zt,yn,gi),Ie.moveTo(Dn.cx+Dn.x01,Dn.cy+Dn.y01),yn<Ya?Ie.arc(Dn.cx,Dn.cy,yn,Mo(Dn.y01,Dn.x01),Mo(Mn.y01,Mn.x01),!gi):(Ie.arc(Dn.cx,Dn.cy,yn,Mo(Dn.y01,Dn.x01),Mo(Dn.y11,Dn.x11),!gi),Ie.arc(0,0,zt,Mo(Dn.cy+Dn.y11,Dn.cx+Dn.x11),Mo(Mn.cy+Mn.y11,Mn.cx+Mn.x11),!gi),Ie.arc(Mn.cx,Mn.cy,yn,Mo(Mn.y11,Mn.x11),Mo(Mn.y01,Mn.x01),!gi))):(Ie.moveTo(Na,Ua),Ie.arc(0,0,zt,Xi,nn,!gi)):Ie.moveTo(Na,Ua),ei>gr&&bn>gr?wa>gr?(Dn=s1(ao,Ma,ma,ka,ei,-wa,gi),Mn=s1(Na,Ua,Mr,Ul,ei,-wa,gi),Ie.lineTo(Dn.cx+Dn.x01,Dn.cy+Dn.y01),wa<Ya?Ie.arc(Dn.cx,Dn.cy,wa,Mo(Dn.y01,Dn.x01),Mo(Mn.y01,Mn.x01),!gi):(Ie.arc(Dn.cx,Dn.cy,wa,Mo(Dn.y01,Dn.x01),Mo(Dn.y11,Dn.x11),!gi),Ie.arc(0,0,ei,Mo(Dn.cy+Dn.y11,Dn.cx+Dn.x11),Mo(Mn.cy+Mn.y11,Mn.cx+Mn.x11),gi),Ie.arc(Mn.cx,Mn.cy,wa,Mo(Mn.y11,Mn.x11),Mo(Mn.y01,Mn.x01),!gi))):Ie.arc(0,0,ei,fn,en,gi):Ie.lineTo(ao,Ma)}else Ie.moveTo(0,0);if(Ie.closePath(),yt)return Ie=null,yt+""||null}return ht.centroid=function(){var yt=(+d.apply(this,arguments)+ +a.apply(this,arguments))/2,Tt=(+B.apply(this,arguments)+ +q.apply(this,arguments))/2-_d/2;return[jc(Tt)*yt,ic(Tt)*yt]},ht.innerRadius=function(yt){return arguments.length?(d="function"==typeof yt?yt:oa(+yt),ht):d},ht.outerRadius=function(yt){return arguments.length?(a="function"==typeof yt?yt:oa(+yt),ht):a},ht.cornerRadius=function(yt){return arguments.length?(n="function"==typeof yt?yt:oa(+yt),ht):n},ht.padRadius=function(yt){return arguments.length?(y=null==yt?null:"function"==typeof yt?yt:oa(+yt),ht):y},ht.startAngle=function(yt){return arguments.length?(B="function"==typeof yt?yt:oa(+yt),ht):B},ht.endAngle=function(yt){return arguments.length?(q="function"==typeof yt?yt:oa(+yt),ht):q},ht.padAngle=function(yt){return arguments.length?(de="function"==typeof yt?yt:oa(+yt),ht):de},ht.context=function(yt){return arguments.length?(Ie=yt??null,ht):Ie},ht}var iu=au(Il);function nu(d){this._curve=d}function au(d){function a(n){return new nu(d(n))}return a._curve=d,a}function P0(){return function ru(d){var a=d.curve;return d.angle=d.x,delete d.x,d.radius=d.y,delete d.y,d.curve=function(n){return arguments.length?a(au(n)):a()._curve},d}(pd().curve(iu))}function E2(){}function D2(d,a,n){d._context.bezierCurveTo(d._x1+d._k*(d._x2-d._x0),d._y1+d._k*(d._y2-d._y0),d._x2+d._k*(d._x1-a),d._y2+d._k*(d._y1-n),d._x2,d._y2)}function R0(d,a){this._context=d,this._k=(1-a)/6}nu.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(d,a){this._curve.point(a*Math.sin(d),a*-Math.cos(d))}},R0.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:D2(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(d,a){switch(d=+d,a=+a,this._point){case 0:this._point=1,this._line?this._context.lineTo(d,a):this._context.moveTo(d,a);break;case 1:this._point=2,this._x1=d,this._y1=a;break;case 2:this._point=3;default:D2(this,d,a)}this._x0=this._x1,this._x1=this._x2,this._x2=d,this._y0=this._y1,this._y1=this._y2,this._y2=a}};(function d(a){function n(y){return new R0(y,a)}return n.tension=function(y){return d(+y)},n})(0);function T2(d,a){this._context=d,this._k=(1-a)/6}T2.prototype={areaStart:E2,areaEnd:E2,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(d,a){switch(d=+d,a=+a,this._point){case 0:this._point=1,this._x3=d,this._y3=a;break;case 1:this._point=2,this._context.moveTo(this._x4=d,this._y4=a);break;case 2:this._point=3,this._x5=d,this._y5=a;break;default:D2(this,d,a)}this._x0=this._x1,this._x1=this._x2,this._x2=d,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const B0=function d(a){function n(y){return new T2(y,a)}return n.tension=function(y){return d(+y)},n}(0);function qo(d,a){return a<d?-1:a>d?1:a>=d?0:NaN}function rp(d){return d}function l1(){var d=rp,a=qo,n=null,y=oa(0),B=oa(M2),q=oa(0);function de(Ie){var ht,Tt,ei,Xi,fn,yt=(Ie=n1(Ie)).length,zt=0,vi=new Array(yt),Si=new Array(yt),qi=+y.apply(this,arguments),gi=Math.min(M2,Math.max(-M2,B.apply(this,arguments)-qi)),nn=Math.min(Math.abs(gi)/yt,q.apply(this,arguments)),en=nn*(gi<0?-1:1);for(ht=0;ht<yt;++ht)(fn=Si[vi[ht]=ht]=+d(Ie[ht],ht,Ie))>0&&(zt+=fn);for(null!=a?vi.sort(function(bn,dn){return a(Si[bn],Si[dn])}):null!=n&&vi.sort(function(bn,dn){return n(Ie[bn],Ie[dn])}),ht=0,ei=zt?(gi-yt*en)/zt:0;ht<yt;++ht,qi=Xi)Tt=vi[ht],Xi=qi+((fn=Si[Tt])>0?fn*ei:0)+en,Si[Tt]={data:Ie[Tt],index:ht,value:fn,startAngle:qi,endAngle:Xi,padAngle:nn};return Si}return de.value=function(Ie){return arguments.length?(d="function"==typeof Ie?Ie:oa(+Ie),de):d},de.sortValues=function(Ie){return arguments.length?(a=Ie,n=null,de):a},de.sort=function(Ie){return arguments.length?(n=Ie,a=null,de):n},de.startAngle=function(Ie){return arguments.length?(y="function"==typeof Ie?Ie:oa(+Ie),de):y},de.endAngle=function(Ie){return arguments.length?(B="function"==typeof Ie?Ie:oa(+Ie),de):B},de.padAngle=function(Ie){return arguments.length?(q="function"==typeof Ie?Ie:oa(+Ie),de):q},de}var nc=Math.PI;function Q(d){return(1-Math.cos(nc*d))/2}var xe=f(4229);function pt(d,a,n){d.prototype=a.prototype=n,n.constructor=d}function Ut(d,a){var n=Object.create(d.prototype);for(var y in a)n[y]=a[y];return n}function ni(){}var Ti=1/.7,ln="\\s*([+-]?\\d+)\\s*",Gi="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Ln="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Fn=/^#([0-9a-f]{3,8})$/,wn=new RegExp(`^rgb\\(${ln},${ln},${ln}\\)$`),Pn=new RegExp(`^rgb\\(${Ln},${Ln},${Ln}\\)$`),ca=new RegExp(`^rgba\\(${ln},${ln},${ln},${Gi}\\)$`),Oa=new RegExp(`^rgba\\(${Ln},${Ln},${Ln},${Gi}\\)$`),mo=new RegExp(`^hsl\\(${Gi},${Ln},${Ln}\\)$`),Oo=new RegExp(`^hsla\\(${Gi},${Ln},${Ln},${Gi}\\)$`),io={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 qc(){return this.rgb().formatHex()}function ls(){return this.rgb().formatRgb()}function So(d){var a,n;return d=(d+"").trim().toLowerCase(),(a=Fn.exec(d))?(n=a[1].length,a=parseInt(a[1],16),6===n?ko(a):3===n?new Xo(a>>8&15|a>>4&240,a>>4&15|240&a,(15&a)<<4|15&a,1):8===n?d1(a>>24&255,a>>16&255,a>>8&255,(255&a)/255):4===n?d1(a>>12&15|a>>8&240,a>>8&15|a>>4&240,a>>4&15|240&a,((15&a)<<4|15&a)/255):null):(a=wn.exec(d))?new Xo(a[1],a[2],a[3],1):(a=Pn.exec(d))?new Xo(255*a[1]/100,255*a[2]/100,255*a[3]/100,1):(a=ca.exec(d))?d1(a[1],a[2],a[3],a[4]):(a=Oa.exec(d))?d1(255*a[1]/100,255*a[2]/100,255*a[3]/100,a[4]):(a=mo.exec(d))?Jo(a[1],a[2]/100,a[3]/100,1):(a=Oo.exec(d))?Jo(a[1],a[2]/100,a[3]/100,a[4]):io.hasOwnProperty(d)?ko(io[d]):"transparent"===d?new Xo(NaN,NaN,NaN,0):null}function ko(d){return new Xo(d>>16&255,d>>8&255,255&d,1)}function d1(d,a,n,y){return y<=0&&(d=a=n=NaN),new Xo(d,a,n,y)}function Fs(d){return d instanceof ni||(d=So(d)),d?new Xo((d=d.rgb()).r,d.g,d.b,d.opacity):new Xo}function Dc(d,a,n,y){return 1===arguments.length?Fs(d):new Xo(d,a,n,y??1)}function Xo(d,a,n,y){this.r=+d,this.g=+a,this.b=+n,this.opacity=+y}function A2(){return`#${Za(this.r)}${Za(this.g)}${Za(this.b)}`}function On(){const d=Sn(this.opacity);return`${1===d?"rgb(":"rgba("}${Gn(this.r)}, ${Gn(this.g)}, ${Gn(this.b)}${1===d?")":`, ${d})`}`}function Sn(d){return isNaN(d)?1:Math.max(0,Math.min(1,d))}function Gn(d){return Math.max(0,Math.min(255,Math.round(d)||0))}function Za(d){return((d=Gn(d))<16?"0":"")+d.toString(16)}function Jo(d,a,n,y){return y<=0?d=a=n=NaN:n<=0||n>=1?d=a=NaN:a<=0&&(d=NaN),new _a(d,a,n,y)}function Po(d){if(d instanceof _a)return new _a(d.h,d.s,d.l,d.opacity);if(d instanceof ni||(d=So(d)),!d)return new _a;if(d instanceof _a)return d;var a=(d=d.rgb()).r/255,n=d.g/255,y=d.b/255,B=Math.min(a,n,y),q=Math.max(a,n,y),de=NaN,Ie=q-B,ht=(q+B)/2;return Ie?(de=a===q?(n-y)/Ie+6*(n<y):n===q?(y-a)/Ie+2:(a-n)/Ie+4,Ie/=ht<.5?q+B:2-q-B,de*=60):Ie=ht>0&&ht<1?0:de,new _a(de,Ie,ht,d.opacity)}function _a(d,a,n,y){this.h=+d,this.s=+a,this.l=+n,this.opacity=+y}function h1(d){return(d=(d||0)%360)<0?d+360:d}function bd(d){return Math.max(0,Math.min(1,d||0))}function Yr(d,a,n){return 255*(d<60?a+(n-a)*d/60:d<180?n:d<240?a+(n-a)*(240-d)/60:a)}function Tc(d){d.x0=Math.round(d.x0),d.y0=Math.round(d.y0),d.x1=Math.round(d.x1),d.y1=Math.round(d.y1)}function ds(d,a,n,y,B){for(var de,q=d.children,Ie=-1,ht=q.length,yt=d.value&&(y-a)/d.value;++Ie<ht;)(de=q[Ie]).y0=n,de.y1=B,de.x0=a,de.x1=a+=de.value*yt}function u1(d,a,n,y,B){for(var de,q=d.children,Ie=-1,ht=q.length,yt=d.value&&(B-n)/d.value;++Ie<ht;)(de=q[Ie]).x0=a,de.x1=y,de.y0=n,de.y1=n+=de.value*yt}pt(ni,So,{copy(d){return Object.assign(new this.constructor,this,d)},displayable(){return this.rgb().displayable()},hex:qc,formatHex:qc,formatHex8:function Ns(){return this.rgb().formatHex8()},formatHsl:function po(){return Po(this).formatHsl()},formatRgb:ls,toString:ls}),pt(Xo,Dc,Ut(ni,{brighter(d){return d=null==d?Ti:Math.pow(Ti,d),new Xo(this.r*d,this.g*d,this.b*d,this.opacity)},darker(d){return d=null==d?.7:Math.pow(.7,d),new Xo(this.r*d,this.g*d,this.b*d,this.opacity)},rgb(){return this},clamp(){return new Xo(Gn(this.r),Gn(this.g),Gn(this.b),Sn(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:A2,formatHex:A2,formatHex8:function xn(){return`#${Za(this.r)}${Za(this.g)}${Za(this.b)}${Za(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:On,toString:On})),pt(_a,function zs(d,a,n,y){return 1===arguments.length?Po(d):new _a(d,a,n,y??1)},Ut(ni,{brighter(d){return d=null==d?Ti:Math.pow(Ti,d),new _a(this.h,this.s,this.l*d,this.opacity)},darker(d){return d=null==d?.7:Math.pow(.7,d),new _a(this.h,this.s,this.l*d,this.opacity)},rgb(){var d=this.h%360+360*(this.h<0),a=isNaN(d)||isNaN(this.s)?0:this.s,n=this.l,y=n+(n<.5?n:1-n)*a,B=2*n-y;return new Xo(Yr(d>=240?d-240:d+120,B,y),Yr(d,B,y),Yr(d<120?d+240:d-120,B,y),this.opacity)},clamp(){return new _a(h1(this.h),bd(this.s),bd(this.l),Sn(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const d=Sn(this.opacity);return`${1===d?"hsl(":"hsla("}${h1(this.h)}, ${100*bd(this.s)}%, ${100*bd(this.l)}%${1===d?")":`, ${d})`}`}}));const If=function d(a){function n(y,B,q,de,Ie){!function Af(d,a,n,y,B,q){for(var ht,yt,vi,Si,gi,Xi,nn,en,fn,bn,dn,de=[],Ie=a.children,Tt=0,ei=0,zt=Ie.length,qi=a.value;Tt<zt;){vi=B-n,Si=q-y;do{gi=Ie[ei++].value}while(!gi&&ei<zt);for(Xi=nn=gi,dn=gi*gi*(bn=Math.max(Si/vi,vi/Si)/(qi*d)),fn=Math.max(nn/dn,dn/Xi);ei<zt;++ei){if(gi+=yt=Ie[ei].value,yt<Xi&&(Xi=yt),yt>nn&&(nn=yt),dn=gi*gi*bn,(en=Math.max(nn/dn,dn/Xi))>fn){gi-=yt;break}fn=en}de.push(ht={value:gi,dice:vi<Si,children:Ie.slice(Tt,ei)}),ht.dice?ds(ht,n,y,B,qi?y+=Si*gi/qi:q):u1(ht,n,y,qi?n+=vi*gi/qi:B,q),qi-=gi,Tt=ei}return de}(a,y,B,q,de,Ie)}return n.ratio=function(y){return d((y=+y)>1?y:1)},n}((1+Math.sqrt(5))/2);function su(d){if("function"!=typeof d)throw new Error;return d}function cu(){return 0}function lu(d){return function(){return d}}function Lf(d){var a=0,n=d.children,y=n&&n.length;if(y)for(;--y>=0;)a+=n[y].value;else a=1;d.value=a}function Pf(d,a){d instanceof Map?(d=[void 0,d],void 0===a&&(a=dp)):void 0===a&&(a=Ac);for(var y,q,de,Ie,ht,n=new I2(d),B=[n];y=B.pop();)if((de=a(y.data))&&(ht=(de=Array.from(de)).length))for(y.children=de,Ie=ht-1;Ie>=0;--Ie)B.push(q=de[Ie]=new I2(de[Ie])),q.parent=y,q.depth=y.depth+1;return n.eachBefore(Bf)}function Ac(d){return d.children}function dp(d){return Array.isArray(d)?d[1]:null}function Rf(d){void 0!==d.data.value&&(d.value=d.data.value),d.data=d.data.data}function Bf(d){var a=0;do{d.height=a}while((d=d.parent)&&d.height<++a)}function I2(d){this.data=d,this.depth=this.height=0,this.parent=null}I2.prototype=Pf.prototype={constructor:I2,count:function y4(){return this.eachAfter(Lf)},each:function x4(d,a){let n=-1;for(const y of this)d.call(a,y,++n,this);return this},eachAfter:function sp(d,a){for(var q,de,Ie,n=this,y=[n],B=[],ht=-1;n=y.pop();)if(B.push(n),q=n.children)for(de=0,Ie=q.length;de<Ie;++de)y.push(q[de]);for(;n=B.pop();)d.call(a,n,++ht,this);return this},eachBefore:function op(d,a){for(var B,q,n=this,y=[n],de=-1;n=y.pop();)if(d.call(a,n,++de,this),B=n.children)for(q=B.length-1;q>=0;--q)y.push(B[q]);return this},find:function C4(d,a){let n=-1;for(const y of this)if(d.call(a,y,++n,this))return y},sum:function Of(d){return this.eachAfter(function(a){for(var n=+d(a.data)||0,y=a.children,B=y&&y.length;--B>=0;)n+=y[B].value;a.value=n})},sort:function w4(d){return this.eachBefore(function(a){a.children&&a.children.sort(d)})},path:function Sf(d){for(var a=this,n=function M4(d,a){if(d===a)return d;var n=d.ancestors(),y=a.ancestors(),B=null;for(d=n.pop(),a=y.pop();d===a;)B=d,d=n.pop(),a=y.pop();return B}(a,d),y=[a];a!==n;)a=a.parent,y.push(a);for(var B=y.length;d!==n;)y.splice(B,0,d),d=d.parent;return y},ancestors:function kf(){for(var d=this,a=[d];d=d.parent;)a.push(d);return a},descendants:function cp(){return Array.from(this)},leaves:function E4(){var d=[];return this.eachBefore(function(a){a.children||d.push(a)}),d},links:function lp(){var d=this,a=[];return d.each(function(n){n!==d&&a.push({source:n.parent,target:n})}),a},copy:function T4(){return Pf(this).eachBefore(Rf)},[Symbol.iterator]:function*D4(){var a,y,B,q,d=this,n=[d];do{for(a=n.reverse(),n=[];d=a.pop();)if(yield d,y=d.children)for(B=0,q=y.length;B<q;++B)n.push(y[B])}while(n.length)}};var Nf={depth:-1},Ff={};function A4(d){return d.id}function hp(d){return d.parentId}const I4=["caretElm"];function N0(d,a){}const mp=function(d){return{model:d}};function F0(d,a){if(1&d&&(e.TgZ(0,"span"),e.YNc(1,N0,0,0,"ng-template",5),e.qZA()),2&d){const n=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",n.template)("ngTemplateOutletContext",e.VKq(2,mp,n.context))}}function eg(d,a){if(1&d&&e._UZ(0,"span",6),2&d){const n=e.oxw();e.Q6J("innerHTML",n.title,e.oJD)}}function z0(d,a){if(1&d&&(e.TgZ(0,"header",4)(1,"span",5),e._uU(2),e.qZA()()),2&d){const n=e.oxw();e.xp6(2),e.Oqu(n.title)}}function tg(d,a){if(1&d){const n=e.EpF();e.TgZ(0,"li",6)(1,"ngx-charts-legend-entry",7),e.NdJ("select",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.labelClick.emit(B))})("activate",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.activate(B))})("deactivate",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.deactivate(B))}),e.qZA()()}if(2&d){const n=a.$implicit,y=e.oxw();e.xp6(1),e.Q6J("label",n.label)("formattedLabel",n.formattedLabel)("color",n.color)("isActive",y.isActive(n))}}function pp(d,a){if(1&d&&(e.O4$(),e.kcU(),e._UZ(0,"ngx-charts-scale-legend",4)),2&d){const n=e.oxw();e.Q6J("horizontal",n.legendOptions&&n.legendOptions.position===n.LegendPosition.Below)("valueRange",n.legendOptions.domain)("colors",n.legendOptions.colors)("height",n.view[1])("width",n.legendWidth)}}function zf(d,a){if(1&d){const n=e.EpF();e.O4$(),e.kcU(),e.TgZ(0,"ngx-charts-legend",5),e.NdJ("labelClick",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.legendLabelClick.emit(B))})("labelActivate",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.legendLabelActivate.emit(B))})("labelDeactivate",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.legendLabelDeactivate.emit(B))}),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("horizontal",n.legendOptions&&n.legendOptions.position===n.LegendPosition.Below)("data",n.legendOptions.domain)("title",n.legendOptions.title)("colors",n.legendOptions.colors)("height",n.view[1])("width",n.legendWidth)("activeEntries",n.activeEntries)}}const fp=["*"],du=["ticksel"];function H0(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g",3)(1,"title"),e._uU(2),e.qZA(),e.TgZ(3,"text",4),e._uU(4),e.qZA()()),2&d){const n=a.$implicit,y=e.oxw();e.uIk("transform",y.tickTransform(n)),e.xp6(2),e.Oqu(y.tickFormat(n)),e.xp6(1),e.Udp("font-size","12px"),e.uIk("text-anchor",y.textAnchor)("transform",y.textTransform),e.xp6(1),e.hij(" ",y.tickTrim(y.tickFormat(n))," ")}}function U0(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"line",6),e.qZA()),2&d){const n=e.oxw(2);e.uIk("transform",n.gridLineTransform()),e.xp6(1),e.uIk("y1",-n.gridLineHeight)}}function L2(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,U0,2,2,"g",5),e.qZA()),2&d){const n=a.$implicit,y=e.oxw();e.uIk("transform",y.tickTransform(n)),e.xp6(1),e.Q6J("ngIf",y.showGridLines)}}function _p(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",2),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.emitTicksHeight(B))}),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("trimTicks",n.trimTicks)("rotateTicks",n.rotateTicks)("maxTickLength",n.maxTickLength)("tickFormatting",n.tickFormatting)("tickArguments",n.tickArguments)("tickStroke",n.tickStroke)("scale",n.xScale)("orient",n.xOrient)("showGridLines",n.showGridLines)("gridLineHeight",n.dims.height)("width",n.dims.width)("tickValues",n.ticks)}}function Uf(d,a){if(1&d&&(e.O4$(),e._UZ(0,"g",3)),2&d){const n=e.oxw();e.Q6J("label",n.labelText)("offset",n.labelOffset)("orient",n.orientation.Bottom)("height",n.dims.height)("width",n.dims.width)}}function Vf(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g",4)(1,"title"),e._uU(2),e.qZA(),e.TgZ(3,"text",5),e._uU(4),e.qZA()()),2&d){const n=a.$implicit,y=e.oxw();e.uIk("transform",y.transform(n)),e.xp6(2),e.Oqu(y.tickFormat(n)),e.xp6(1),e.Udp("font-size","12px"),e.uIk("dy",y.dy)("x",y.x1)("y",y.y1)("text-anchor",y.textAnchor),e.xp6(1),e.hij(" ",y.tickTrim(y.tickFormat(n))," ")}}function hu(d,a){if(1&d&&(e.O4$(),e._UZ(0,"path",6)),2&d){const n=e.oxw();e.uIk("d",n.referenceAreaPath)("transform",n.gridLineTransform())}}function S4(d,a){if(1&d&&(e.O4$(),e._UZ(0,"line",9)),2&d){const n=e.oxw(3);e.uIk("x2",n.gridLineWidth)}}function ig(d,a){if(1&d&&(e.O4$(),e._UZ(0,"line",9)),2&d){const n=e.oxw(3);e.uIk("x2",-n.gridLineWidth)}}function k4(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,S4,1,1,"line",8),e.YNc(2,ig,1,1,"line",8),e.qZA()),2&d){const n=e.oxw(2);e.uIk("transform",n.gridLineTransform()),e.xp6(1),e.Q6J("ngIf",n.orient===n.Orientation.Left),e.xp6(1),e.Q6J("ngIf",n.orient===n.Orientation.Right)}}function P4(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,k4,3,3,"g",7),e.qZA()),2&d){const n=a.$implicit,y=e.oxw();e.uIk("transform",y.transform(n)),e.xp6(1),e.Q6J("ngIf",y.showGridLines)}}function R4(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g")(1,"title"),e._uU(2),e.qZA(),e.TgZ(3,"text",11),e._uU(4),e.qZA()()),2&d){const n=e.oxw(2).$implicit,y=e.oxw();e.xp6(2),e.Oqu(y.tickTrim(y.tickFormat(n.value))),e.xp6(1),e.uIk("dy",y.dy)("y",-6)("x",y.gridLineWidth)("text-anchor",y.textAnchor),e.xp6(1),e.hij(" ",n.name," ")}}function B4(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"line",10),e.YNc(2,R4,5,6,"g",7),e.qZA()),2&d){const n=e.oxw().$implicit,y=e.oxw();e.uIk("transform",y.transform(n.value)),e.xp6(1),e.uIk("x2",y.gridLineWidth)("transform",y.gridLineTransform()),e.xp6(1),e.Q6J("ngIf",y.showRefLabels)}}function N4(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,B4,3,4,"g",7),e.qZA()),2&d){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",n.showRefLines)}}function F4(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",2),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.emitTicksWidth(B))}),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("trimTicks",n.trimTicks)("maxTickLength",n.maxTickLength)("tickFormatting",n.tickFormatting)("tickArguments",n.tickArguments)("tickValues",n.ticks)("tickStroke",n.tickStroke)("scale",n.yScale)("orient",n.yOrient)("showGridLines",n.showGridLines)("gridLineWidth",n.dims.width)("referenceLines",n.referenceLines)("showRefLines",n.showRefLines)("showRefLabels",n.showRefLabels)("height",n.dims.height)}}function Kf(d,a){if(1&d&&(e.O4$(),e._UZ(0,"g",3)),2&d){const n=e.oxw();e.Q6J("label",n.labelText)("offset",n.labelOffset)("orient",n.yOrient)("height",n.dims.height)("width",n.dims.width)}}function Gf(d,a){if(1&d&&(e.O4$(),e._UZ(0,"stop")),2&d){const n=a.$implicit;e.Udp("stop-color",n.color)("stop-opacity",n.opacity),e.uIk("offset",n.offset+"%")}}function z4(d,a){if(1&d&&(e.O4$(),e._UZ(0,"rect",4)),2&d){const n=e.oxw(2);e.Q6J("@animationState","active"),e.uIk("x",n.circle.cx-n.circle.radius)("y",n.circle.cy)("width",2*n.circle.radius)("height",n.circle.height)("fill",n.gradientFill)}}function H4(d,a){if(1&d&&(e.O4$(),e._UZ(0,"rect",4)),2&d){const n=e.oxw(2);e.uIk("x",n.circle.cx-n.circle.radius)("y",n.circle.cy)("width",2*n.circle.radius)("height",n.circle.height)("fill",n.gradientFill)}}const U4=function(d){return{name:d}};function V4(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"defs"),e._UZ(2,"g",1),e.qZA(),e.YNc(3,z4,1,6,"rect",2),e.YNc(4,H4,1,5,"rect",2),e.TgZ(5,"g",3),e.NdJ("select",function(){e.CHM(n);const B=e.oxw();return e.KtG(B.onClick(B.circle.data))})("activate",function(){e.CHM(n);const B=e.oxw();return e.KtG(B.activateCircle())})("deactivate",function(){e.CHM(n);const B=e.oxw();return e.KtG(B.deactivateCircle())}),e.qZA()()}if(2&d){const n=e.oxw();e.xp6(2),e.Q6J("orientation",n.barOrientation.Vertical)("name",n.gradientId)("stops",n.circle.gradientStops),e.xp6(1),e.Q6J("ngIf",!n.isSSR&&n.barVisible&&"standard"===n.type),e.xp6(1),e.Q6J("ngIf",n.isSSR&&n.barVisible&&"standard"===n.type),e.xp6(1),e.ekj("active",n.isActive(e.VKq(20,U4,n.circle.seriesName))),e.Q6J("cx",n.circle.cx)("cy",n.circle.cy)("r",n.circle.radius)("fill",n.circle.color)("pointerEvents",0===n.circle.value?"none":"all")("data",n.circle.value)("classNames",n.circle.classNames)("tooltipDisabled",n.tooltipDisabled)("tooltipPlacement",n.placementTypes.Top)("tooltipType",n.styleTypes.tooltip)("tooltipTitle",n.tooltipTemplate?void 0:n.getTooltipText(n.circle))("tooltipTemplate",n.tooltipTemplate)("tooltipContext",n.circle.data)}}function bp(d,a){if(1&d&&(e.O4$(),e._UZ(0,"g",1)),2&d){const n=a.$implicit;e.ekj("grid-panel",!0)("odd","odd"===n.class)("even","even"===n.class),e.Q6J("height",n.height)("width",n.width)("x",n.x)("y",n.y)}}function K4(d,a){if(1&d&&(e.O4$(),e._UZ(0,"stop")),2&d){const n=a.$implicit;e.Udp("stop-color",n.color)("stop-opacity",n.opacity),e.uIk("offset",n.offset+"%")}}function yp(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"defs"),e._UZ(1,"g",2),e.qZA()),2&d){const n=e.oxw();e.xp6(1),e.Q6J("orientation",n.barOrientation.Vertical)("name",n.gradientId)("stops",n.gradientStops)}}const Sl=["tooltipAnchor"];function uu(d,a){if(1&d&&(e.TgZ(0,"div",6),e._UZ(1,"span",7),e._uU(2),e.qZA()),2&d){const n=a.$implicit,y=e.oxw(2);e.xp6(1),e.Udp("background-color",n.color),e.xp6(1),e.hij(" ",y.getToolTipText(n)," ")}}function G4(d,a){if(1&d&&(e.O4$(),e.kcU(),e.TgZ(0,"div",4),e.YNc(1,uu,3,3,"div",5),e.qZA()),2&d){const n=a.model;e.xp6(1),e.Q6J("ngForOf",n)}}function xp(d,a){if(1&d&&e._UZ(0,"div",7),2&d){const n=e.oxw();e.Q6J("countTo",n.roundedTotal)("valueFormatting",n.valueFormatting)}}function Z4(d,a){if(1&d&&(e.TgZ(0,"div",8),e._uU(1),e.qZA()),2&d){const n=e.oxw();e.xp6(1),e.hij(" ",n.valueFormatting?n.valueFormatting(n.roundedTotal):n.defaultValueFormatting(n.roundedTotal)," ")}}function Xc(d,a){if(1&d&&e._UZ(0,"div",16),2&d){const n=e.oxw().$implicit,y=e.oxw();e.Q6J("countTo",n._value)("valueFormatting",y.valueFormatting)}}function mu(d,a){if(1&d&&(e.TgZ(0,"div",17),e._uU(1),e.qZA()),2&d){const n=e.oxw().$implicit,y=e.oxw();e.xp6(1),e.hij(" ",y.valueFormatting?y.valueFormatting(n.value):y.defaultValueFormatting(n.value)," ")}}function $o(d,a){if(1&d&&e._UZ(0,"div",18),2&d){const n=e.oxw().$implicit;e.Q6J("countTo",n.percentage)("countSuffix","%")}}function m1(d,a){if(1&d&&(e.TgZ(0,"div",19),e._uU(1),e.qZA()),2&d){const n=e.oxw().$implicit;e.xp6(1),e.hij("",n.percentage.toLocaleString(),"%")}}function W0(d,a){if(1&d){const n=e.EpF();e.TgZ(0,"div",9),e.NdJ("mouseenter",function(){const q=e.CHM(n).$implicit,de=e.oxw();return e.KtG(de.activate.emit(q.data))})("mouseleave",function(){const q=e.CHM(n).$implicit,de=e.oxw();return e.KtG(de.deactivate.emit(q.data))})("click",function(){const q=e.CHM(n).$implicit,de=e.oxw();return e.KtG(de.select.emit(q.data))}),e._UZ(1,"div",10),e.YNc(2,Xc,1,2,"div",11),e.YNc(3,mu,2,1,"div",12),e.TgZ(4,"div",13),e._uU(5),e.qZA(),e.YNc(6,$o,1,2,"div",14),e.YNc(7,m1,2,1,"div",15),e.qZA()}if(2&d){const n=a.$implicit,y=e.oxw();e.xp6(1),e.Udp("border-left-color",n.color),e.xp6(1),e.Q6J("ngIf",y.animations),e.xp6(1),e.Q6J("ngIf",!y.animations),e.xp6(2),e.Oqu(n.displayLabel),e.xp6(1),e.Q6J("ngIf",y.animations),e.xp6(1),e.Q6J("ngIf",!y.animations)}}const zr=["tooltipTemplate"],Jc=["seriesTooltipTemplate"];function O2(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",7),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateXAxisHeight(B))}),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("xScale",n.xScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showXAxisLabel)("labelText",n.xAxisLabel)("trimTicks",n.trimXAxisTicks)("rotateTicks",n.rotateXAxisTicks)("maxTickLength",n.maxXAxisTickLength)("tickFormatting",n.xAxisTickFormatting)("ticks",n.xAxisTicks)}}function S2(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",8),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateYAxisWidth(B))}),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("yScale",n.yScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showYAxisLabel)("labelText",n.yAxisLabel)("trimTicks",n.trimYAxisTicks)("maxTickLength",n.maxYAxisTickLength)("tickFormatting",n.yAxisTickFormatting)("ticks",n.yAxisTicks)}}function k2(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"g",9),e.qZA()),2&d){const n=a.$implicit,y=e.oxw();e.xp6(1),e.Q6J("xScale",y.xScale)("yScale",y.yScale)("baseValue",y.baseValue)("colors",y.colors)("data",n)("activeEntries",y.activeEntries)("scaleType",y.scaleType)("gradient",y.gradient)("curve",y.curve)("animations",y.animations)}}function P2(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",13),e.NdJ("select",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onClick(B,de))})("activate",function(B){e.CHM(n);const q=e.oxw(2);return e.KtG(q.onActivate(B))})("deactivate",function(B){e.CHM(n);const q=e.oxw(2);return e.KtG(q.onDeactivate(B))}),e.qZA()()}if(2&d){const n=a.$implicit,y=e.oxw(2);e.xp6(1),e.Q6J("xScale",y.xScale)("yScale",y.yScale)("colors",y.colors)("activeEntries",y.activeEntries)("data",n)("scaleType",y.scaleType)("visibleValue",y.hoveredVertical)("tooltipDisabled",y.tooltipDisabled)("tooltipTemplate",y.tooltipTemplate)}}function R2(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",10),e.NdJ("mouseleave",function(){e.CHM(n);const B=e.oxw();return e.KtG(B.hideCircles())}),e.TgZ(1,"g",11),e.NdJ("hover",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateHoveredVertical(B))}),e.qZA(),e.YNc(2,P2,2,9,"g",12),e.qZA()}if(2&d){const n=e.oxw();e.xp6(1),e.Q6J("dims",n.dims)("xSet",n.xSet)("xScale",n.xScale)("yScale",n.yScale)("results",n.results)("colors",n.colors)("tooltipDisabled",n.tooltipDisabled)("tooltipTemplate",n.seriesTooltipTemplate),e.xp6(1),e.Q6J("ngForOf",n.results)}}function p1(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"g",15),e.qZA()),2&d){const n=a.$implicit,y=e.oxw(2);e.xp6(1),e.Q6J("xScale",y.timelineXScale)("yScale",y.timelineYScale)("baseValue",y.baseValue)("colors",y.colors)("data",n)("scaleType",y.scaleType)("gradient",y.gradient)("curve",y.curve)("animations",y.animations)}}const Ra=function(d,a){return[d,a]};function f1(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",14),e.NdJ("onDomainChange",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateDomain(B))}),e.YNc(1,p1,2,9,"g",4),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("results",n.results)("view",e.WLB(10,Ra,n.timelineWidth,n.height))("height",n.timelineHeight)("scheme",n.scheme)("customColors",n.customColors)("legend",n.legend)("scaleType",n.scaleType),e.uIk("transform",n.timelineTransform),e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function Cp(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",7),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateXAxisHeight(B))}),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("xScale",n.xScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showXAxisLabel)("labelText",n.xAxisLabel)("trimTicks",n.trimXAxisTicks)("rotateTicks",n.rotateXAxisTicks)("maxTickLength",n.maxXAxisTickLength)("tickFormatting",n.xAxisTickFormatting)("ticks",n.xAxisTicks)}}function qf(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",8),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateYAxisWidth(B))}),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("yScale",n.yScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showYAxisLabel)("labelText",n.yAxisLabel)("trimTicks",n.trimYAxisTicks)("maxTickLength",n.maxYAxisTickLength)("tickFormatting",n.yAxisTickFormatting)("ticks",n.yAxisTicks)}}function Xf(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"g",9),e.qZA()),2&d){const n=a.$implicit,y=e.oxw();e.xp6(1),e.Q6J("xScale",y.xScale)("yScale",y.yScale)("colors",y.colors)("data",n)("scaleType",y.scaleType)("activeEntries",y.activeEntries)("gradient",y.gradient)("normalized",!0)("curve",y.curve)("animations",y.animations)}}function Jf(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",13),e.NdJ("select",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onClick(B,de))})("activate",function(B){e.CHM(n);const q=e.oxw(2);return e.KtG(q.onActivate(B))})("deactivate",function(B){e.CHM(n);const q=e.oxw(2);return e.KtG(q.onDeactivate(B))}),e.qZA()()}if(2&d){const n=a.$implicit,y=e.oxw(2);e.xp6(1),e.Q6J("type",y.seriesType.Stacked)("xScale",y.xScale)("yScale",y.yScale)("colors",y.colors)("activeEntries",y.activeEntries)("data",n)("scaleType",y.scaleType)("visibleValue",y.hoveredVertical)("tooltipDisabled",y.tooltipDisabled)("tooltipTemplate",y.tooltipTemplate)}}function wp(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",10),e.NdJ("mouseleave",function(){e.CHM(n);const B=e.oxw();return e.KtG(B.hideCircles())}),e.TgZ(1,"g",11),e.NdJ("hover",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateHoveredVertical(B))}),e.qZA(),e.YNc(2,Jf,2,10,"g",12),e.qZA()}if(2&d){const n=e.oxw();e.xp6(1),e.Q6J("dims",n.dims)("xSet",n.xSet)("xScale",n.xScale)("yScale",n.yScale)("results",n.results)("colors",n.colors)("showPercentage",!0)("tooltipDisabled",n.tooltipDisabled)("tooltipTemplate",n.seriesTooltipTemplate),e.xp6(1),e.Q6J("ngForOf",n.results)}}function $f(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"g",15),e.qZA()),2&d){const n=a.$implicit,y=e.oxw(2);e.xp6(1),e.Q6J("xScale",y.timelineXScale)("yScale",y.timelineYScale)("colors",y.colors)("data",n)("scaleType",y.scaleType)("gradient",y.gradient)("normalized",!0)("curve",y.curve)("animations",y.animations)}}function e3(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",14),e.NdJ("onDomainChange",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateDomain(B))}),e.YNc(1,$f,2,9,"g",4),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("results",n.results)("view",e.WLB(10,Ra,n.timelineWidth,n.height))("height",n.timelineHeight)("scheme",n.scheme)("customColors",n.customColors)("legend",n.legend)("scaleType",n.scaleType),e.uIk("transform",n.timelineTransform),e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}const Sr=".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";function t3(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",7),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateXAxisHeight(B))}),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("xScale",n.xScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showXAxisLabel)("labelText",n.xAxisLabel)("trimTicks",n.trimXAxisTicks)("rotateTicks",n.rotateXAxisTicks)("maxTickLength",n.maxXAxisTickLength)("tickFormatting",n.xAxisTickFormatting)("ticks",n.xAxisTicks)}}function Y4(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",8),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateYAxisWidth(B))}),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("yScale",n.yScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showYAxisLabel)("labelText",n.yAxisLabel)("trimTicks",n.trimYAxisTicks)("maxTickLength",n.maxYAxisTickLength)("tickFormatting",n.yAxisTickFormatting)("ticks",n.yAxisTicks)}}function Q4(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"g",9),e.qZA()),2&d){const n=a.$implicit,y=e.oxw();e.xp6(1),e.Q6J("xScale",y.xScale)("yScale",y.yScale)("colors",y.colors)("data",n)("scaleType",y.scaleType)("gradient",y.gradient)("activeEntries",y.activeEntries)("stacked",!0)("curve",y.curve)("animations",y.animations)}}function i3(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",12),e.NdJ("select",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onClick(B,de))})("activate",function(B){e.CHM(n);const q=e.oxw(2);return e.KtG(q.onActivate(B))})("deactivate",function(B){e.CHM(n);const q=e.oxw(2);return e.KtG(q.onDeactivate(B))}),e.qZA()()}if(2&d){const n=a.$implicit,y=e.oxw(2);e.xp6(1),e.Q6J("type",y.seriesType.Stacked)("xScale",y.xScale)("yScale",y.yScale)("colors",y.colors)("activeEntries",y.activeEntries)("data",n)("scaleType",y.scaleType)("visibleValue",y.hoveredVertical)("tooltipDisabled",y.tooltipDisabled)("tooltipTemplate",y.tooltipTemplate)}}function j4(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",10),e.NdJ("mouseleave",function(){e.CHM(n);const B=e.oxw();return e.KtG(B.hideCircles())}),e.TgZ(1,"g",11),e.NdJ("hover",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateHoveredVertical(B))}),e.qZA(),e.YNc(2,i3,2,10,"g",4),e.qZA()}if(2&d){const n=e.oxw();e.xp6(1),e.Q6J("dims",n.dims)("xSet",n.xSet)("xScale",n.xScale)("yScale",n.yScale)("results",n.results)("colors",n.colors)("tooltipDisabled",n.tooltipDisabled)("tooltipTemplate",n.seriesTooltipTemplate),e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function n3(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"g",14),e.qZA()),2&d){const n=a.$implicit,y=e.oxw(2);e.xp6(1),e.Q6J("xScale",y.timelineXScale)("yScale",y.timelineYScale)("colors",y.colors)("data",n)("scaleType",y.scaleType)("gradient",y.gradient)("stacked",!0)("curve",y.curve)("animations",y.animations)}}function Mp(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",13),e.NdJ("onDomainChange",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateDomain(B))}),e.YNc(1,n3,2,9,"g",4),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("results",n.results)("view",e.WLB(10,Ra,n.timelineWidth,n.height))("height",n.timelineHeight)("scheme",n.scheme)("customColors",n.customColors)("legend",n.legend)("scaleType",n.scaleType),e.uIk("transform",n.timelineTransform),e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function q4(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"defs"),e._UZ(1,"g",2),e.qZA()),2&d){const n=e.oxw();e.xp6(1),e.Q6J("orientation",n.orientation)("name",n.gradientId)("stops",n.gradientStops)}}function Ep(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",2),e.NdJ("select",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.click(B))})("activate",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.activate.emit(B))})("deactivate",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.deactivate.emit(B))}),e.qZA()}if(2&d){const n=a.$implicit,y=e.oxw();e.Q6J("@animationState","active")("width",n.width)("height",n.height)("x",n.x)("y",n.y)("fill",n.color)("stops",n.gradientStops)("data",n.data)("orientation",y.barOrientation.Horizontal)("roundEdges",n.roundEdges)("gradient",y.gradient)("isActive",y.isActive(n.data))("ariaLabel",n.ariaLabel)("animations",y.animations)("tooltipDisabled",y.tooltipDisabled)("tooltipPlacement",y.tooltipPlacement)("tooltipType",y.tooltipType)("tooltipTitle",y.tooltipTemplate?void 0:n.tooltipText)("tooltipTemplate",y.tooltipTemplate)("tooltipContext",n.data)("noBarWhenZero",y.noBarWhenZero)}}function X4(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",4),e.NdJ("dimensionsChanged",function(B){const de=e.CHM(n).index,Ie=e.oxw(2);return e.KtG(Ie.dataLabelWidthChanged.emit({size:B,index:de}))}),e.qZA()}if(2&d){const n=a.$implicit,y=e.oxw(2);e.Q6J("barX",n.x)("barY",n.y)("barWidth",n.width)("barHeight",n.height)("value",n.total)("valueFormatting",y.dataLabelFormatting)("orientation",y.barOrientation.Horizontal)}}function Z0(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,X4,1,7,"g",3),e.qZA()),2&d){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.barsForDataLabels)("ngForTrackBy",n.trackDataLabelBy)}}function Y0(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",5),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateXAxisHeight(B))}),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("xScale",n.xScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showXAxisLabel)("labelText",n.xAxisLabel)("trimTicks",n.trimXAxisTicks)("rotateTicks",n.rotateXAxisTicks)("maxTickLength",n.maxXAxisTickLength)("tickFormatting",n.xAxisTickFormatting)("ticks",n.xAxisTicks)}}function Dp(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",6),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateYAxisWidth(B))}),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("yScale",n.yScale)("dims",n.dims)("showLabel",n.showYAxisLabel)("labelText",n.yAxisLabel)("trimTicks",n.trimYAxisTicks)("maxTickLength",n.maxYAxisTickLength)("tickFormatting",n.yAxisTickFormatting)("ticks",n.yAxisTicks)("yAxisOffset",n.dataLabelMaxWidth.negative)}}function a3(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",6),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateXAxisHeight(B))}),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("xScale",n.valueScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showXAxisLabel)("labelText",n.xAxisLabel)("trimTicks",n.trimXAxisTicks)("rotateTicks",n.rotateXAxisTicks)("maxTickLength",n.maxXAxisTickLength)("tickFormatting",n.xAxisTickFormatting)("ticks",n.xAxisTicks)}}function Tp(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",7),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateYAxisWidth(B))}),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("yScale",n.groupScale)("dims",n.dims)("showLabel",n.showYAxisLabel)("labelText",n.yAxisLabel)("trimTicks",n.trimYAxisTicks)("maxTickLength",n.maxYAxisTickLength)("tickFormatting",n.yAxisTickFormatting)("ticks",n.yAxisTicks)("yAxisOffset",n.dataLabelMaxWidth.negative)}}function Ap(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",9),e.NdJ("select",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onClick(B,de))})("activate",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onActivate(B,de))})("deactivate",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onDeactivate(B,de))})("dataLabelWidthChanged",function(B){const de=e.CHM(n).index,Ie=e.oxw(2);return e.KtG(Ie.onDataLabelMaxWidthChanged(B,de))}),e.qZA()()}if(2&d){const n=a.$implicit,y=e.oxw(2);e.Q6J("@animationState","active"),e.uIk("transform",y.groupTransform(n)),e.xp6(1),e.Q6J("xScale",y.valueScale)("activeEntries",y.activeEntries)("yScale",y.innerScale)("colors",y.colors)("series",n.series)("dims",y.dims)("gradient",y.gradient)("tooltipDisabled",y.tooltipDisabled)("tooltipTemplate",y.tooltipTemplate)("seriesName",n.name)("roundEdges",y.roundEdges)("animations",y.animations)("showDataLabel",y.showDataLabel)("dataLabelFormatting",y.dataLabelFormatting)("noBarWhenZero",y.noBarWhenZero)}}function r3(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,Ap,2,17,"g",8),e.qZA()),2&d){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function Ip(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",9),e.NdJ("select",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onClick(B,de))})("activate",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onActivate(B,de))})("deactivate",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onDeactivate(B,de))})("dataLabelWidthChanged",function(B){const de=e.CHM(n).index,Ie=e.oxw(2);return e.KtG(Ie.onDataLabelMaxWidthChanged(B,de))}),e.qZA()()}if(2&d){const n=a.$implicit,y=e.oxw(2);e.uIk("transform",y.groupTransform(n)),e.xp6(1),e.Q6J("xScale",y.valueScale)("activeEntries",y.activeEntries)("yScale",y.innerScale)("colors",y.colors)("series",n.series)("dims",y.dims)("gradient",y.gradient)("tooltipDisabled",y.tooltipDisabled)("tooltipTemplate",y.tooltipTemplate)("seriesName",n.name)("roundEdges",y.roundEdges)("animations",y.animations)("showDataLabel",y.showDataLabel)("dataLabelFormatting",y.dataLabelFormatting)("noBarWhenZero",y.noBarWhenZero)}}function Lp(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,Ip,2,16,"g",8),e.qZA()),2&d){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function o3(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",5),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateXAxisHeight(B))}),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("xScale",n.xScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showXAxisLabel)("labelText",n.xAxisLabel)("trimTicks",n.trimXAxisTicks)("rotateTicks",n.rotateXAxisTicks)("maxTickLength",n.maxXAxisTickLength)("tickFormatting",n.xAxisTickFormatting)("ticks",n.xAxisTicks)}}function s3(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",6),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateYAxisWidth(B))}),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("yScale",n.yScale)("dims",n.dims)("showLabel",n.showYAxisLabel)("labelText",n.yAxisLabel)("trimTicks",n.trimYAxisTicks)("maxTickLength",n.maxYAxisTickLength)("tickFormatting",n.yAxisTickFormatting)("ticks",n.yAxisTicks)}}function c3(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",8),e.NdJ("select",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onClick(B,de))})("activate",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onActivate(B,de))})("deactivate",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onDeactivate(B,de))}),e.qZA()()}if(2&d){const n=a.$implicit,y=e.oxw(2);e.Q6J("@animationState","active"),e.uIk("transform",y.groupTransform(n)),e.xp6(1),e.Q6J("type",y.barChartType.Normalized)("xScale",y.xScale)("yScale",y.yScale)("activeEntries",y.activeEntries)("colors",y.colors)("series",n.series)("dims",y.dims)("gradient",y.gradient)("tooltipDisabled",y.tooltipDisabled)("tooltipTemplate",y.tooltipTemplate)("seriesName",n.name)("animations",y.animations)("noBarWhenZero",y.noBarWhenZero)}}function l3(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,c3,2,15,"g",7),e.qZA()),2&d){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function Q0(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",8),e.NdJ("select",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onClick(B,de))})("activate",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onActivate(B,de))})("deactivate",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onDeactivate(B,de))}),e.qZA()()}if(2&d){const n=a.$implicit,y=e.oxw(2);e.uIk("transform",y.groupTransform(n)),e.xp6(1),e.Q6J("type",y.barChartType.Normalized)("xScale",y.xScale)("yScale",y.yScale)("activeEntries",y.activeEntries)("colors",y.colors)("series",n.series)("dims",y.dims)("gradient",y.gradient)("tooltipDisabled",y.tooltipDisabled)("tooltipTemplate",y.tooltipTemplate)("seriesName",n.name)("animations",y.animations)("noBarWhenZero",y.noBarWhenZero)}}function J4(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,Q0,2,14,"g",7),e.qZA()),2&d){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function d3(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",5),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateXAxisHeight(B))}),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("xScale",n.xScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showXAxisLabel)("labelText",n.xAxisLabel)("trimTicks",n.trimXAxisTicks)("rotateTicks",n.rotateXAxisTicks)("maxTickLength",n.maxXAxisTickLength)("tickFormatting",n.xAxisTickFormatting)("ticks",n.xAxisTicks)}}function Op(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",6),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateYAxisWidth(B))}),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("yScale",n.yScale)("dims",n.dims)("showLabel",n.showYAxisLabel)("labelText",n.yAxisLabel)("trimTicks",n.trimYAxisTicks)("maxTickLength",n.maxYAxisTickLength)("tickFormatting",n.yAxisTickFormatting)("ticks",n.yAxisTicks)("yAxisOffset",n.dataLabelMaxWidth.negative)}}function j0(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",8),e.NdJ("select",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onClick(B,de))})("activate",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onActivate(B,de))})("deactivate",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onDeactivate(B,de))})("dataLabelWidthChanged",function(B){const de=e.CHM(n).index,Ie=e.oxw(2);return e.KtG(Ie.onDataLabelMaxWidthChanged(B,de))}),e.qZA()()}if(2&d){const n=a.$implicit,y=e.oxw(2);e.Q6J("@animationState","active"),e.uIk("transform",y.groupTransform(n)),e.xp6(1),e.Q6J("type",y.barChartType.Stacked)("xScale",y.xScale)("yScale",y.yScale)("colors",y.colors)("series",n.series)("activeEntries",y.activeEntries)("dims",y.dims)("gradient",y.gradient)("tooltipDisabled",y.tooltipDisabled)("tooltipTemplate",y.tooltipTemplate)("seriesName",n.name)("animations",y.animations)("showDataLabel",y.showDataLabel)("dataLabelFormatting",y.dataLabelFormatting)("noBarWhenZero",y.noBarWhenZero)}}function q0(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,j0,2,17,"g",7),e.qZA()),2&d){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function Sp(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",8),e.NdJ("select",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onClick(B,de))})("activate",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onActivate(B,de))})("deactivate",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onDeactivate(B,de))})("dataLabelWidthChanged",function(B){const de=e.CHM(n).index,Ie=e.oxw(2);return e.KtG(Ie.onDataLabelMaxWidthChanged(B,de))}),e.qZA()()}if(2&d){const n=a.$implicit,y=e.oxw(2);e.uIk("transform",y.groupTransform(n)),e.xp6(1),e.Q6J("type",y.barChartType.Stacked)("xScale",y.xScale)("yScale",y.yScale)("colors",y.colors)("series",n.series)("activeEntries",y.activeEntries)("dims",y.dims)("gradient",y.gradient)("tooltipDisabled",y.tooltipDisabled)("tooltipTemplate",y.tooltipTemplate)("seriesName",n.name)("animations",y.animations)("showDataLabel",y.showDataLabel)("dataLabelFormatting",y.dataLabelFormatting)("noBarWhenZero",y.noBarWhenZero)}}function kp(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,Sp,2,16,"g",7),e.qZA()),2&d){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function u3(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",2),e.NdJ("select",function(B){e.CHM(n);const q=e.oxw(2);return e.KtG(q.onClick(B))})("activate",function(B){e.CHM(n);const q=e.oxw(2);return e.KtG(q.activate.emit(B))})("deactivate",function(B){e.CHM(n);const q=e.oxw(2);return e.KtG(q.deactivate.emit(B))}),e.qZA()}if(2&d){const n=a.$implicit,y=e.oxw(2);e.Q6J("@animationState","active")("@.disabled",!y.animations)("width",n.width)("height",n.height)("x",n.x)("y",n.y)("fill",n.color)("stops",n.gradientStops)("data",n.data)("orientation",y.barOrientation.Vertical)("roundEdges",n.roundEdges)("gradient",y.gradient)("ariaLabel",n.ariaLabel)("isActive",y.isActive(n.data))("tooltipDisabled",y.tooltipDisabled)("tooltipPlacement",y.tooltipPlacement)("tooltipType",y.tooltipType)("tooltipTitle",y.tooltipTemplate?void 0:n.tooltipText)("tooltipTemplate",y.tooltipTemplate)("tooltipContext",n.data)("noBarWhenZero",y.noBarWhenZero)("animations",y.animations)}}function Pp(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,u3,1,22,"g",1),e.qZA()),2&d){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.bars)("ngForTrackBy",n.trackBy)}}function m3(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",2),e.NdJ("select",function(B){e.CHM(n);const q=e.oxw(2);return e.KtG(q.onClick(B))})("activate",function(B){e.CHM(n);const q=e.oxw(2);return e.KtG(q.activate.emit(B))})("deactivate",function(B){e.CHM(n);const q=e.oxw(2);return e.KtG(q.deactivate.emit(B))}),e.qZA()}if(2&d){const n=a.$implicit,y=e.oxw(2);e.Q6J("width",n.width)("height",n.height)("x",n.x)("y",n.y)("fill",n.color)("stops",n.gradientStops)("data",n.data)("orientation",y.barOrientation.Vertical)("roundEdges",n.roundEdges)("gradient",y.gradient)("ariaLabel",n.ariaLabel)("isActive",y.isActive(n.data))("tooltipDisabled",y.tooltipDisabled)("tooltipPlacement",y.tooltipPlacement)("tooltipType",y.tooltipType)("tooltipTitle",y.tooltipTemplate?void 0:n.tooltipText)("tooltipTemplate",y.tooltipTemplate)("tooltipContext",n.data)("noBarWhenZero",y.noBarWhenZero)("animations",y.animations)}}function p3(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,m3,1,20,"g",1),e.qZA()),2&d){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.bars)("ngForTrackBy",n.trackBy)}}function f3(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",4),e.NdJ("dimensionsChanged",function(B){const de=e.CHM(n).index,Ie=e.oxw(2);return e.KtG(Ie.dataLabelHeightChanged.emit({size:B,index:de}))}),e.qZA()}if(2&d){const n=a.$implicit,y=e.oxw(2);e.Q6J("barX",n.x)("barY",n.y)("barWidth",n.width)("barHeight",n.height)("value",n.total)("valueFormatting",y.dataLabelFormatting)("orientation",y.barOrientation.Vertical)}}function pu(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,f3,1,7,"g",3),e.qZA()),2&d){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.barsForDataLabels)("ngForTrackBy",n.trackDataLabelBy)}}function kl(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",5),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateXAxisHeight(B))}),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("xScale",n.xScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showXAxisLabel)("labelText",n.xAxisLabel)("trimTicks",n.trimXAxisTicks)("rotateTicks",n.rotateXAxisTicks)("maxTickLength",n.maxXAxisTickLength)("tickFormatting",n.xAxisTickFormatting)("ticks",n.xAxisTicks)("xAxisOffset",n.dataLabelMaxHeight.negative)}}function $4(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",6),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateYAxisWidth(B))}),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("yScale",n.yScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showYAxisLabel)("labelText",n.yAxisLabel)("trimTicks",n.trimYAxisTicks)("maxTickLength",n.maxYAxisTickLength)("tickFormatting",n.yAxisTickFormatting)("ticks",n.yAxisTicks)}}function e_(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",6),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateXAxisHeight(B))}),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("xScale",n.groupScale)("dims",n.dims)("showLabel",n.showXAxisLabel)("labelText",n.xAxisLabel)("trimTicks",n.trimXAxisTicks)("rotateTicks",n.rotateXAxisTicks)("maxTickLength",n.maxXAxisTickLength)("tickFormatting",n.xAxisTickFormatting)("ticks",n.xAxisTicks)("xAxisOffset",n.dataLabelMaxHeight.negative)}}function Rp(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",7),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateYAxisWidth(B))}),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("yScale",n.valueScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showYAxisLabel)("labelText",n.yAxisLabel)("trimTicks",n.trimYAxisTicks)("maxTickLength",n.maxYAxisTickLength)("tickFormatting",n.yAxisTickFormatting)("ticks",n.yAxisTicks)}}function _1(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",9),e.NdJ("select",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onClick(B,de))})("activate",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onActivate(B,de))})("deactivate",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onDeactivate(B,de))})("dataLabelHeightChanged",function(B){const de=e.CHM(n).index,Ie=e.oxw(2);return e.KtG(Ie.onDataLabelMaxHeightChanged(B,de))}),e.qZA()}if(2&d){const n=a.$implicit,y=e.oxw(2);e.Q6J("@animationState","active")("activeEntries",y.activeEntries)("xScale",y.innerScale)("yScale",y.valueScale)("colors",y.colors)("series",n.series)("dims",y.dims)("gradient",y.gradient)("tooltipDisabled",y.tooltipDisabled)("tooltipTemplate",y.tooltipTemplate)("showDataLabel",y.showDataLabel)("dataLabelFormatting",y.dataLabelFormatting)("seriesName",n.name)("roundEdges",y.roundEdges)("animations",y.animations)("noBarWhenZero",y.noBarWhenZero),e.uIk("transform",y.groupTransform(n))}}function X0(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,_1,1,17,"g",8),e.qZA()),2&d){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function _3(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",9),e.NdJ("select",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onClick(B,de))})("activate",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onActivate(B,de))})("deactivate",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onDeactivate(B,de))})("dataLabelHeightChanged",function(B){const de=e.CHM(n).index,Ie=e.oxw(2);return e.KtG(Ie.onDataLabelMaxHeightChanged(B,de))}),e.qZA()}if(2&d){const n=a.$implicit,y=e.oxw(2);e.Q6J("activeEntries",y.activeEntries)("xScale",y.innerScale)("yScale",y.valueScale)("colors",y.colors)("series",n.series)("dims",y.dims)("gradient",y.gradient)("tooltipDisabled",y.tooltipDisabled)("tooltipTemplate",y.tooltipTemplate)("showDataLabel",y.showDataLabel)("dataLabelFormatting",y.dataLabelFormatting)("seriesName",n.name)("roundEdges",y.roundEdges)("animations",y.animations)("noBarWhenZero",y.noBarWhenZero),e.uIk("transform",y.groupTransform(n))}}function Bp(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,_3,1,16,"g",8),e.qZA()),2&d){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function rg(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",5),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateXAxisHeight(B))}),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("xScale",n.xScale)("dims",n.dims)("showLabel",n.showXAxisLabel)("labelText",n.xAxisLabel)("trimTicks",n.trimXAxisTicks)("rotateTicks",n.rotateXAxisTicks)("maxTickLength",n.maxXAxisTickLength)("tickFormatting",n.xAxisTickFormatting)("ticks",n.xAxisTicks)}}function og(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",6),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateYAxisWidth(B))}),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("yScale",n.yScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showYAxisLabel)("labelText",n.yAxisLabel)("trimTicks",n.trimYAxisTicks)("maxTickLength",n.maxYAxisTickLength)("tickFormatting",n.yAxisTickFormatting)("ticks",n.yAxisTicks)}}function t_(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",8),e.NdJ("select",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onClick(B,de))})("activate",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onActivate(B,de))})("deactivate",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onDeactivate(B,de))}),e.qZA()()}if(2&d){const n=a.$implicit,y=e.oxw(2);e.Q6J("@animationState","active"),e.uIk("transform",y.groupTransform(n)),e.xp6(1),e.Q6J("type",y.barChartType.Normalized)("xScale",y.xScale)("yScale",y.yScale)("activeEntries",y.activeEntries)("colors",y.colors)("series",n.series)("dims",y.dims)("gradient",y.gradient)("tooltipDisabled",y.tooltipDisabled)("tooltipTemplate",y.tooltipTemplate)("seriesName",n.name)("animations",y.animations)("noBarWhenZero",y.noBarWhenZero)}}function g3(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,t_,2,15,"g",7),e.qZA()),2&d){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function v3(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",8),e.NdJ("select",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onClick(B,de))})("activate",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onActivate(B,de))})("deactivate",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onDeactivate(B,de))}),e.qZA()()}if(2&d){const n=a.$implicit,y=e.oxw(2);e.uIk("transform",y.groupTransform(n)),e.xp6(1),e.Q6J("type",y.barChartType.Normalized)("xScale",y.xScale)("yScale",y.yScale)("activeEntries",y.activeEntries)("colors",y.colors)("series",n.series)("dims",y.dims)("gradient",y.gradient)("tooltipDisabled",y.tooltipDisabled)("tooltipTemplate",y.tooltipTemplate)("seriesName",n.name)("animations",y.animations)("noBarWhenZero",y.noBarWhenZero)}}function i_(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,v3,2,14,"g",7),e.qZA()),2&d){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function Eo(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",5),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateXAxisHeight(B))}),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("xScale",n.xScale)("dims",n.dims)("showLabel",n.showXAxisLabel)("labelText",n.xAxisLabel)("trimTicks",n.trimXAxisTicks)("rotateTicks",n.rotateXAxisTicks)("maxTickLength",n.maxXAxisTickLength)("tickFormatting",n.xAxisTickFormatting)("ticks",n.xAxisTicks)("xAxisOffset",n.dataLabelMaxHeight.negative)}}function Np(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",6),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateYAxisWidth(B))}),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("yScale",n.yScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showYAxisLabel)("labelText",n.yAxisLabel)("trimTicks",n.trimYAxisTicks)("maxTickLength",n.maxYAxisTickLength)("tickFormatting",n.yAxisTickFormatting)("ticks",n.yAxisTicks)}}function n_(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",8),e.NdJ("select",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onClick(B,de))})("activate",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onActivate(B,de))})("deactivate",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onDeactivate(B,de))})("dataLabelHeightChanged",function(B){const de=e.CHM(n).index,Ie=e.oxw(2);return e.KtG(Ie.onDataLabelMaxHeightChanged(B,de))}),e.qZA()()}if(2&d){const n=a.$implicit,y=e.oxw(2);e.Q6J("@animationState","active"),e.uIk("transform",y.groupTransform(n)),e.xp6(1),e.Q6J("type",y.barChartType.Stacked)("xScale",y.xScale)("yScale",y.yScale)("activeEntries",y.activeEntries)("colors",y.colors)("series",n.series)("dims",y.dims)("gradient",y.gradient)("tooltipDisabled",y.tooltipDisabled)("tooltipTemplate",y.tooltipTemplate)("showDataLabel",y.showDataLabel)("dataLabelFormatting",y.dataLabelFormatting)("seriesName",n.name)("animations",y.animations)("noBarWhenZero",y.noBarWhenZero)}}function b3(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,n_,2,17,"g",7),e.qZA()),2&d){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function y3(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",8),e.NdJ("select",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onClick(B,de))})("activate",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onActivate(B,de))})("deactivate",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onDeactivate(B,de))})("dataLabelHeightChanged",function(B){const de=e.CHM(n).index,Ie=e.oxw(2);return e.KtG(Ie.onDataLabelMaxHeightChanged(B,de))}),e.qZA()()}if(2&d){const n=a.$implicit,y=e.oxw(2);e.uIk("transform",y.groupTransform(n)),e.xp6(1),e.Q6J("type",y.barChartType.Stacked)("xScale",y.xScale)("yScale",y.yScale)("activeEntries",y.activeEntries)("colors",y.colors)("series",n.series)("dims",y.dims)("gradient",y.gradient)("tooltipDisabled",y.tooltipDisabled)("tooltipTemplate",y.tooltipTemplate)("showDataLabel",y.showDataLabel)("dataLabelFormatting",y.dataLabelFormatting)("seriesName",n.name)("animations",y.animations)("noBarWhenZero",y.noBarWhenZero)}}function a_(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,y3,2,16,"g",7),e.qZA()),2&d){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function x3(d,a){if(1&d&&(e.O4$(),e._UZ(0,"g",5)),2&d){const n=e.oxw();e.Q6J("orientation",n.BarOrientation.Vertical)("name",n.gradientId)("stops",n.gradientStops)}}function N2(d,a){if(1&d&&(e.O4$(),e._UZ(0,"line",6)),2&d){const n=a.$implicit,y=a.index,B=e.oxw();e.ekj("hidden",B.hideBar),e.uIk("x1",n.v1.x)("y1",n.v1.y)("x2",n.v2.x)("y2",n.v2.y)("stroke",B.strokeColor)("stroke-width",2===y?B.medianLineWidth:B.whiskerStrokeWidth)("mask",y?void 0:B.maskLine)}}function r_(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",5),e.NdJ("activate",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.onActivate(B))})("deactivate",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.onDeactivate(B))})("select",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.onClick(B))}),e.qZA()()}if(2&d){const n=a.$implicit,y=e.oxw();e.xp6(1),e.Q6J("xScale",y.xScale)("yScale",y.yScale)("colors",y.colors)("roundEdges",y.roundEdges)("strokeColor",y.strokeColor)("strokeWidth",y.strokeWidth)("tooltipDisabled",y.tooltipDisabled)("tooltipTemplate",y.tooltipTemplate)("series",n)("dims",y.dims)("animations",y.animations)("gradient",y.gradient)}}function o_(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",2),e.NdJ("select",function(){e.CHM(n);const B=e.oxw().$implicit,q=e.oxw();return e.KtG(q.onClick(B.data))})("activate",function(){e.CHM(n);const B=e.oxw().$implicit,q=e.oxw();return e.KtG(q.activateCircle(B))})("deactivate",function(){e.CHM(n);const B=e.oxw().$implicit,q=e.oxw();return e.KtG(q.deactivateCircle(B))}),e.qZA()}if(2&d){const n=e.oxw().$implicit,y=e.oxw();e.Udp("opacity",n.opacity),e.ekj("active",n.isActive),e.Q6J("@animationState","active")("cx",0)("cy",0)("r",n.radius)("fill",n.color)("pointerEvents","all")("data",n.value)("classNames",n.classNames)("tooltipDisabled",y.tooltipDisabled)("tooltipPlacement",y.placementTypes.Top)("tooltipType",y.styleTypes.tooltip)("tooltipTitle",y.tooltipTemplate?void 0:y.getTooltipText(n))("tooltipTemplate",y.tooltipTemplate)("tooltipContext",n.data)}}function fu(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",2),e.NdJ("select",function(){e.CHM(n);const B=e.oxw().$implicit,q=e.oxw();return e.KtG(q.onClick(B.data))})("activate",function(){e.CHM(n);const B=e.oxw().$implicit,q=e.oxw();return e.KtG(q.activateCircle(B))})("deactivate",function(){e.CHM(n);const B=e.oxw().$implicit,q=e.oxw();return e.KtG(q.deactivateCircle(B))}),e.qZA()}if(2&d){const n=e.oxw().$implicit,y=e.oxw();e.Udp("opacity",n.opacity),e.ekj("active",n.isActive),e.Q6J("cx",0)("cy",0)("r",n.radius)("fill",n.color)("pointerEvents","all")("data",n.value)("classNames",n.classNames)("tooltipDisabled",y.tooltipDisabled)("tooltipPlacement",y.placementTypes.Top)("tooltipType",y.styleTypes.tooltip)("tooltipTitle",y.tooltipTemplate?void 0:y.getTooltipText(n))("tooltipTemplate",y.tooltipTemplate)("tooltipContext",n.data)}}function sg(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g")(1,"g"),e.YNc(2,o_,1,18,"g",1),e.YNc(3,fu,1,17,"g",1),e.qZA()()),2&d){const n=a.$implicit,y=e.oxw();e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngIf",!y.isSSR),e.xp6(1),e.Q6J("ngIf",y.isSSR)}}function zp(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",6),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateXAxisHeight(B))}),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("showGridLines",n.showGridLines)("dims",n.dims)("xScale",n.xScale)("showLabel",n.showXAxisLabel)("labelText",n.xAxisLabel)("trimTicks",n.trimXAxisTicks)("rotateTicks",n.rotateXAxisTicks)("maxTickLength",n.maxXAxisTickLength)("tickFormatting",n.xAxisTickFormatting)("ticks",n.xAxisTicks)}}function Hp(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",7),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateYAxisWidth(B))}),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("showGridLines",n.showGridLines)("yScale",n.yScale)("dims",n.dims)("showLabel",n.showYAxisLabel)("labelText",n.yAxisLabel)("trimTicks",n.trimYAxisTicks)("maxTickLength",n.maxYAxisTickLength)("tickFormatting",n.yAxisTickFormatting)("ticks",n.yAxisTicks)}}function $c(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",9),e.NdJ("select",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onClick(B,de))})("activate",function(B){e.CHM(n);const q=e.oxw(2);return e.KtG(q.onActivate(B))})("deactivate",function(B){e.CHM(n);const q=e.oxw(2);return e.KtG(q.onDeactivate(B))}),e.qZA()()}if(2&d){const n=a.$implicit,y=e.oxw(2);e.Q6J("@animationState","active"),e.xp6(1),e.Q6J("xScale",y.xScale)("yScale",y.yScale)("rScale",y.rScale)("xScaleType",y.xScaleType)("yScaleType",y.yScaleType)("xAxisLabel",y.xAxisLabel)("yAxisLabel",y.yAxisLabel)("colors",y.colors)("data",n)("activeEntries",y.activeEntries)("tooltipDisabled",y.tooltipDisabled)("tooltipTemplate",y.tooltipTemplate)}}function s_(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,$c,2,13,"g",8),e.qZA()),2&d){const n=e.oxw();e.uIk("clip-path",n.clipPath),e.xp6(1),e.Q6J("ngForOf",n.data)("ngForTrackBy",n.trackBy)}}function M3(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",9),e.NdJ("select",function(B){const de=e.CHM(n).$implicit,Ie=e.oxw(2);return e.KtG(Ie.onClick(B,de))})("activate",function(B){e.CHM(n);const q=e.oxw(2);return e.KtG(q.onActivate(B))})("deactivate",function(B){e.CHM(n);const q=e.oxw(2);return e.KtG(q.onDeactivate(B))}),e.qZA()()}if(2&d){const n=a.$implicit,y=e.oxw(2);e.xp6(1),e.Q6J("xScale",y.xScale)("yScale",y.yScale)("rScale",y.rScale)("xScaleType",y.xScaleType)("yScaleType",y.yScaleType)("xAxisLabel",y.xAxisLabel)("yAxisLabel",y.yAxisLabel)("colors",y.colors)("data",n)("activeEntries",y.activeEntries)("tooltipDisabled",y.tooltipDisabled)("tooltipTemplate",y.tooltipTemplate)}}function el(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,M3,2,12,"g",8),e.qZA()),2&d){const n=e.oxw();e.uIk("clip-path",n.clipPath),e.xp6(1),e.Q6J("ngForOf",n.data)("ngForTrackBy",n.trackBy)}}function Lc(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"defs"),e._UZ(1,"g",3),e.qZA()),2&d){const n=e.oxw();e.xp6(1),e.Q6J("orientation",n.barOrientation.Vertical)("name",n.gradientId)("stops",n.gradientStops)}}const D3=function(d,a,n){return{series:d,name:a,value:n}};function c_(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",1),e.NdJ("select",function(){const q=e.CHM(n).$implicit,de=e.oxw();return e.KtG(de.onClick(q.cell))})("activate",function(){const q=e.CHM(n).$implicit,de=e.oxw();return e.KtG(de.activate.emit(q.cell))})("deactivate",function(){const q=e.CHM(n).$implicit,de=e.oxw();return e.KtG(de.deactivate.emit(q.cell))}),e.qZA()}if(2&d){const n=a.$implicit,y=e.oxw();e.Q6J("x",n.x)("y",n.y)("width",n.width)("height",n.height)("fill",n.fill)("data",n.data)("gradient",y.gradient)("animations",y.animations)("tooltipDisabled",y.tooltipDisabled)("tooltipPlacement",y.placementTypes.Top)("tooltipType",y.styleTypes.tooltip)("tooltipTitle",y.tooltipTemplate?void 0:y.tooltipText(n))("tooltipTemplate",y.tooltipTemplate)("tooltipContext",e.kEZ(14,D3,n.series,n.label,n.data))}}function T3(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",6),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateXAxisHeight(B))}),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("xScale",n.xScale)("dims",n.dims)("showLabel",n.showXAxisLabel)("labelText",n.xAxisLabel)("trimTicks",n.trimXAxisTicks)("rotateTicks",n.rotateXAxisTicks)("maxTickLength",n.maxXAxisTickLength)("tickFormatting",n.xAxisTickFormatting)("ticks",n.xAxisTicks)}}function l_(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",7),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateYAxisWidth(B))}),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("yScale",n.yScale)("dims",n.dims)("showLabel",n.showYAxisLabel)("labelText",n.yAxisLabel)("trimTicks",n.trimYAxisTicks)("maxTickLength",n.maxYAxisTickLength)("tickFormatting",n.yAxisTickFormatting)("ticks",n.yAxisTicks)}}function d_(d,a){if(1&d&&(e.O4$(),e._UZ(0,"rect")),2&d){const n=a.$implicit;e.uIk("x",n.x)("y",n.y)("rx",n.rx)("width",n.width)("height",n.height)("fill",n.fill)}}function _u(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"path",1),e.qZA()),2&d){const n=e.oxw();e.xp6(1),e.Q6J("@animationState","active"),e.uIk("d",n.initialPath)("fill",n.fill)("stroke",n.stroke)}}function h_(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"path",1),e.qZA()),2&d){const n=e.oxw();e.xp6(1),e.uIk("d",n.initialPath)("fill",n.fill)("stroke",n.stroke)}}function u_(d,a){if(1&d&&(e.O4$(),e._UZ(0,"g",4)),2&d){const n=e.oxw();e.Q6J("orientation",n.barOrientation.Vertical)("name",n.gradientId)("stops",n.gradientStops)}}function I3(d,a){if(1&d&&(e.O4$(),e._UZ(0,"g",5)),2&d){const n=e.oxw();e.ekj("active",n.isActive(n.data))("inactive",n.isInactive(n.data)),e.Q6J("data",n.data)("path",n.outerPath)("fill",n.hasGradient?n.gradientUrl:n.colors.getColor(n.data.name))("opacity",n.rangeFillOpacity)("animations",n.animations)}}function Up(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",7),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateXAxisHeight(B))}),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("xScale",n.xScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showXAxisLabel)("labelText",n.xAxisLabel)("trimTicks",n.trimXAxisTicks)("rotateTicks",n.rotateXAxisTicks)("maxTickLength",n.maxXAxisTickLength)("tickFormatting",n.xAxisTickFormatting)("ticks",n.xAxisTicks)}}function $0(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",8),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateYAxisWidth(B))}),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("yScale",n.yScale)("dims",n.dims)("showGridLines",n.showGridLines)("showLabel",n.showYAxisLabel)("labelText",n.yAxisLabel)("trimTicks",n.trimYAxisTicks)("maxTickLength",n.maxYAxisTickLength)("tickFormatting",n.yAxisTickFormatting)("ticks",n.yAxisTicks)("referenceLines",n.referenceLines)("showRefLines",n.showRefLines)("showRefLabels",n.showRefLabels)}}function m_(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"g",10),e.qZA()),2&d){const n=a.$implicit,y=e.oxw(2);e.Q6J("@animationState","active"),e.xp6(1),e.Q6J("xScale",y.xScale)("yScale",y.yScale)("colors",y.colors)("data",n)("activeEntries",y.activeEntries)("scaleType",y.scaleType)("curve",y.curve)("rangeFillOpacity",y.rangeFillOpacity)("hasRange",y.hasRange)("animations",y.animations)}}function Vp(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,m_,2,11,"g",9),e.qZA()),2&d){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function L3(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"g",10),e.qZA()),2&d){const n=a.$implicit,y=e.oxw(2);e.xp6(1),e.Q6J("xScale",y.xScale)("yScale",y.yScale)("colors",y.colors)("data",n)("activeEntries",y.activeEntries)("scaleType",y.scaleType)("curve",y.curve)("rangeFillOpacity",y.rangeFillOpacity)("hasRange",y.hasRange)("animations",y.animations)}}function em(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,L3,2,10,"g",9),e.qZA()),2&d){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function tm(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",14),e.NdJ("select",function(B){e.CHM(n);const q=e.oxw(2);return e.KtG(q.onClick(B))})("activate",function(B){e.CHM(n);const q=e.oxw(2);return e.KtG(q.onActivate(B))})("deactivate",function(B){e.CHM(n);const q=e.oxw(2);return e.KtG(q.onDeactivate(B))}),e.qZA()()}if(2&d){const n=a.$implicit,y=e.oxw(2);e.xp6(1),e.Q6J("xScale",y.xScale)("yScale",y.yScale)("colors",y.colors)("data",n)("scaleType",y.scaleType)("visibleValue",y.hoveredVertical)("activeEntries",y.activeEntries)("tooltipDisabled",y.tooltipDisabled)("tooltipTemplate",y.tooltipTemplate)}}function im(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",11),e.NdJ("mouseleave",function(){e.CHM(n);const B=e.oxw();return e.KtG(B.hideCircles())}),e.TgZ(1,"g",12),e.NdJ("hover",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateHoveredVertical(B))}),e.qZA(),e.YNc(2,tm,2,9,"g",13),e.qZA()}if(2&d){const n=e.oxw();e.xp6(1),e.Q6J("dims",n.dims)("xSet",n.xSet)("xScale",n.xScale)("yScale",n.yScale)("results",n.results)("colors",n.colors)("tooltipDisabled",n.tooltipDisabled)("tooltipTemplate",n.seriesTooltipTemplate),e.xp6(1),e.Q6J("ngForOf",n.results)}}function Wp(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"g",16),e.qZA()),2&d){const n=a.$implicit,y=e.oxw(2);e.xp6(1),e.Q6J("xScale",y.timelineXScale)("yScale",y.timelineYScale)("colors",y.colors)("data",n)("scaleType",y.scaleType)("curve",y.curve)("hasRange",y.hasRange)("animations",y.animations)}}function Kp(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",15),e.NdJ("onDomainChange",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateDomain(B))}),e.YNc(1,Wp,2,8,"g",9),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("results",n.results)("view",e.WLB(10,Ra,n.timelineWidth,n.height))("height",n.timelineHeight)("scheme",n.scheme)("customColors",n.customColors)("scaleType",n.scaleType)("legend",n.legend),e.uIk("transform",n.timelineTransform),e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function S3(d,a){if(1&d&&(e.O4$(),e._UZ(0,"g",4)),2&d){const n=e.oxw();e.Q6J("color",n.seriesColor)("name",n.gradientId)("startOpacity",.25)("endOpacity",1)("stops",n.gradientStops)}}function Zp(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",5),e.NdJ("select",function(){const q=e.CHM(n).$implicit,de=e.oxw();return e.KtG(de.select.emit(q.data))})("activate",function(){const q=e.CHM(n).$implicit,de=e.oxw();return e.KtG(de.activate.emit({name:q.data.series}))})("deactivate",function(){const q=e.CHM(n).$implicit,de=e.oxw();return e.KtG(de.deactivate.emit({name:q.data.series}))}),e.qZA()}if(2&d){const n=a.$implicit,y=e.oxw();e.Udp("opacity",y.inactive?.2:1),e.Q6J("cx",n.cx)("cy",n.cy)("r",y.circleRadius)("fill",n.color)("tooltipDisabled",y.tooltipDisabled)("tooltipPlacement",y.placementTypes.Top)("tooltipType",y.styleTypes.tooltip)("tooltipTitle",y.tooltipTemplate?void 0:y.tooltipText(n))("tooltipTemplate",y.tooltipTemplate)("tooltipContext",n.data)}}function k3(d,a){if(1&d&&(e.O4$(),e._UZ(0,"circle",7)),2&d){const n=a.$implicit;e.uIk("r",n)}}function P3(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,k3,1,1,"circle",6),e.qZA()),2&d){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.radiusTicks)}}function p_(d,a){if(1&d&&(e.O4$(),e._UZ(0,"g",9)),2&d){const n=a.$implicit,y=e.oxw(2);e.Q6J("data",n)("radius",y.outerRadius)("label",n.label)("max",y.outerRadius)("value",y.showGridLines?1:y.outerRadius)("explodeSlices",!0)("animations",y.animations)("labelTrim",y.labelTrim)("labelTrimSize",y.labelTrimSize)}}function R3(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,p_,1,9,"g",8),e.qZA()),2&d){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.thetaTicks)}}function f_(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",10),e.NdJ("dimensionsChanged",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.updateYAxisWidth(B))}),e.qZA()}if(2&d){const n=e.oxw();e.Q6J("yScale",n.yAxisScale)("dims",n.yAxisDims)("showGridLines",n.showGridLines)("showLabel",n.showYAxisLabel)("labelText",n.yAxisLabel)("trimTicks",n.trimYAxisTicks)("maxTickLength",n.maxYAxisTickLength)("tickFormatting",n.yAxisTickFormatting),e.uIk("transform",n.transformYAxis)}}function __(d,a){if(1&d&&(e.O4$(),e._UZ(0,"g",11)),2&d){const n=e.oxw();e.Q6J("label",n.xAxisLabel)("offset",n.labelOffset)("orient",n.orientation.Bottom)("height",n.dims.height)("width",n.dims.width)}}function B3(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",13),e.NdJ("select",function(B){e.CHM(n);const q=e.oxw(2);return e.KtG(q.onClick(B))})("activate",function(B){e.CHM(n);const q=e.oxw(2);return e.KtG(q.onActivate(B))})("deactivate",function(B){e.CHM(n);const q=e.oxw(2);return e.KtG(q.onDeactivate(B))}),e.qZA()()}if(2&d){const n=a.$implicit,y=e.oxw(2);e.Q6J("@animationState","active"),e.xp6(1),e.Q6J("gradient",y.gradient)("xScale",y.xScale)("yScale",y.yScale)("colors",y.colors)("data",n)("activeEntries",y.activeEntries)("scaleType",y.scaleType)("curve",y.curve)("rangeFillOpacity",y.rangeFillOpacity)("animations",y.animations)("tooltipDisabled",y.tooltipDisabled)("tooltipTemplate",y.tooltipTemplate)}}function g_(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,B3,2,13,"g",12),e.qZA()),2&d){const n=e.oxw();e.uIk("transform",n.transformPlot),e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function v_(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",13),e.NdJ("select",function(B){e.CHM(n);const q=e.oxw(2);return e.KtG(q.onClick(B))})("activate",function(B){e.CHM(n);const q=e.oxw(2);return e.KtG(q.onActivate(B))})("deactivate",function(B){e.CHM(n);const q=e.oxw(2);return e.KtG(q.onDeactivate(B))}),e.qZA()()}if(2&d){const n=a.$implicit,y=e.oxw(2);e.xp6(1),e.Q6J("gradient",y.gradient)("xScale",y.xScale)("yScale",y.yScale)("colors",y.colors)("data",n)("activeEntries",y.activeEntries)("scaleType",y.scaleType)("curve",y.curve)("rangeFillOpacity",y.rangeFillOpacity)("animations",y.animations)("tooltipDisabled",y.tooltipDisabled)("tooltipTemplate",y.tooltipTemplate)}}function b_(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,v_,2,12,"g",12),e.qZA()),2&d){const n=e.oxw();e.uIk("transform",n.transformPlot),e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy)}}function N3(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"defs"),e._UZ(1,"g",3),e.qZA()),2&d){const n=e.oxw();e.xp6(1),e.Q6J("color",n.fill)("name",n.radialGradientId)("startOpacity",n.startOpacity)}}function C_(d,a){if(1&d&&(e.O4$(),e._UZ(0,"g",3)),2&d){const n=e.oxw().$implicit,y=e.oxw();e.Q6J("data",n)("radius",y.outerRadius)("color",y.color(n))("label",y.labelText(n))("labelTrim",y.trimLabels)("labelTrimSize",y.maxLabelLength)("max",y.max)("value",n.value)("explodeSlices",y.explodeSlices)("animations",y.animations)}}function F3(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g"),e.YNc(1,C_,1,10,"g",1),e.TgZ(2,"g",2),e.NdJ("select",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.onClick(B))})("activate",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.activate.emit(B))})("deactivate",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.deactivate.emit(B))})("dblclick",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.dblclick.emit(B))}),e.qZA()()}if(2&d){const n=a.$implicit,y=e.oxw();e.xp6(1),e.Q6J("ngIf",y.labelVisible(n)),e.xp6(1),e.Q6J("startAngle",n.startAngle)("endAngle",n.endAngle)("innerRadius",y.innerRadius)("outerRadius",y.outerRadius)("fill",y.color(n))("value",n.data.value)("gradient",y.gradient)("data",n.data)("max",y.max)("explodeSlices",y.explodeSlices)("isActive",y.isActive(n.data))("animate",y.animations)("tooltipDisabled",y.tooltipDisabled)("tooltipPlacement",y.placementTypes.Top)("tooltipType",y.styleTypes.tooltip)("tooltipTitle",y.getTooltipTitle(n))("tooltipTemplate",y.tooltipTemplate)("tooltipContext",n.data)}}function E_(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",2),e.NdJ("select",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.onClick(B))})("activate",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.activate.emit(B))})("deactivate",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.deactivate.emit(B))}),e.qZA()}if(2&d){const n=a.$implicit,y=e.oxw();e.Q6J("startAngle",n.startAngle)("endAngle",n.endAngle)("innerRadius",y.innerRadius)("outerRadius",y.outerRadius)("fill",y.color(n))("value",n.data.value)("data",n.data)("gradient",!1)("pointerEvents",n.pointerEvents)("animate",n.animate),e.uIk("class",n.class)}}function D_(d,a){if(1&d&&(e.O4$(),e._UZ(0,"text",10)),2&d){const n=e.oxw().$implicit;e.Q6J("countTo",n.percent)("countSuffix","%")}}function z3(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"text",11),e._uU(1),e.qZA()),2&d){const n=e.oxw().$implicit;e.xp6(1),e.hij(" ",n.percent.toLocaleString()," ")}}function Yp(d,a){if(1&d&&(e.O4$(),e._UZ(0,"text",12)),2&d){const n=e.oxw().$implicit,y=e.oxw();e.Q6J("countTo",n.total)("countPrefix",y.label+": "),e.uIk("y",n.outerRadius)}}function H3(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"text",13),e._uU(1),e.qZA()),2&d){const n=e.oxw().$implicit,y=e.oxw();e.uIk("y",n.outerRadius),e.xp6(1),e.AsE(" ",y.label,": ",n.total.toLocaleString()," ")}}const U3=function(d){return{data:d}};function V3(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",3)(1,"g",4),e.NdJ("select",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.onClick(B))})("activate",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.onActivate(B))})("deactivate",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.onDeactivate(B))}),e.qZA(),e.YNc(2,D_,1,2,"text",5),e.YNc(3,z3,2,1,"text",6),e.TgZ(4,"text",7),e._uU(5),e.qZA(),e.YNc(6,Yp,1,3,"text",8),e.YNc(7,H3,2,3,"text",9),e.qZA()}if(2&d){const n=a.$implicit,y=e.oxw();e.uIk("transform",n.transform),e.xp6(1),e.Q6J("colors",n.colors)("data",n.data)("innerRadius",n.innerRadius)("outerRadius",n.outerRadius)("animations",y.animations)("tooltipDisabled",y.tooltipDisabled)("tooltipPlacement",y.placementTypes.Top)("tooltipType",y.styleTypes.tooltip)("tooltipTitle",y.tooltipTemplate?void 0:y.tooltipText(e.VKq(17,U3,n)))("tooltipTemplate",y.tooltipTemplate)("tooltipContext",n.data[0].data),e.xp6(1),e.Q6J("ngIf",y.animations),e.xp6(1),e.Q6J("ngIf",!y.animations),e.xp6(2),e.hij(" ",n.label," "),e.xp6(1),e.Q6J("ngIf",y.animations),e.xp6(1),e.Q6J("ngIf",!y.animations)}}const Qp=["textEl"];function K3(d,a){if(1&d&&(e.O4$(),e._UZ(0,"path",7)),2&d){const n=e.oxw();e.uIk("fill",n.bandColor)("transform",n.transformBand)("d",n.bandPath)}}function nm(d,a){if(1&d&&(e.O4$(),e._UZ(0,"rect",2)),2&d){const n=a.$implicit,y=e.oxw();e.Udp("fill",y.emptyColor),e.uIk("x",n.x)("y",n.y)("width",n.width)("height",n.height)}}function jp(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",3),e.NdJ("select",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.onClick(B))}),e.qZA()}if(2&d){const n=a.$implicit,y=e.oxw();e.Q6J("x",n.x)("y",n.y)("width",n.width)("height",n.height)("color",n.color)("bandColor",n.bandColor)("textColor",n.textColor)("data",n.data)("label",n.label)("medianSize",y.medianSize)("valueFormatting",y.valueFormatting)("labelFormatting",y.labelFormatting)("animations",y.animations)}}function T_(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"defs"),e._UZ(1,"g",3),e.qZA()),2&d){const n=e.oxw();e.xp6(1),e.Q6J("orientation",n.orientation.Vertical)("name",n.gradientId)("stops",n.gradientStops)}}function Z3(d,a){if(1&d&&e._UZ(0,"span",8),2&d){const n=e.oxw(2);e.Q6J("countTo",n.value)("valueFormatting",n.valueFormatting)}}function F2(d,a){if(1&d&&(e.TgZ(0,"span",9),e._uU(1),e.qZA()),2&d){const n=e.oxw(2);e.xp6(1),e.hij(" ",n.formattedValue," ")}}function cg(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"foreignObject",4),e.kcU(),e.TgZ(1,"p"),e._UZ(2,"span",5)(3,"br"),e.YNc(4,Z3,1,2,"span",6),e.YNc(5,F2,2,1,"span",7),e.qZA()()),2&d){const n=e.oxw();e.Udp("pointer-events","none"),e.uIk("x",n.x)("y",n.y)("width",n.width)("height",n.height),e.xp6(1),e.Udp("color",n.getTextColor())("height",n.height+"px")("width",n.width+"px"),e.xp6(1),e.Q6J("innerHTML",n.formattedLabel,e.oJD),e.xp6(2),e.Q6J("ngIf",n.animations),e.xp6(1),e.Q6J("ngIf",!n.animations)}}function lg(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g",1),e.NdJ("select",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.onClick(B))}),e.qZA()}if(2&d){const n=a.$implicit,y=e.oxw();e.Q6J("data",n.data)("x",n.x)("y",n.y)("width",n.width)("height",n.height)("fill",n.fill)("label",n.label)("value",n.value)("valueFormatting",y.valueFormatting)("labelFormatting",y.labelFormatting)("gradient",y.gradient)("animations",y.animations)("tooltipDisabled",y.tooltipDisabled)("tooltipPlacement",y.placementTypes.Top)("tooltipType",y.styleTypes.tooltip)("tooltipTitle",y.tooltipTemplate?void 0:y.getTooltipText(n))("tooltipTemplate",y.tooltipTemplate)("tooltipContext",n.data)}}const Y3=["valueTextEl"],qp=["unitsTextEl"];function dg(d,a){if(1&d&&(e.O4$(),e._UZ(0,"line",10)),2&d){const n=e.oxw();e.uIk("transform",n.transformLine)("stroke",n.colors.getColor(n.units))}}function xd(d,a){if(1&d&&(e.O4$(),e._UZ(0,"line",11)),2&d){const n=e.oxw();e.uIk("transform",n.transformLine)("stroke",n.colors.getColor(n.units))}}const Q3=function(){return{}};function z2(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g",2),e._UZ(1,"path"),e.qZA()),2&d){const n=a.$implicit;e.xp6(1),e.uIk("d",n.line)}}function j3(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g",2)(1,"text",3),e._uU(2),e.qZA()()),2&d){const n=a.$implicit;e.xp6(1),e.Udp("text-anchor",n.textAnchor),e.uIk("transform",n.textTransform),e.xp6(1),e.hij(" ",n.text," ")}}function rm(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"g",4),e._UZ(1,"path"),e.qZA()),2&d){const n=a.$implicit;e.xp6(1),e.uIk("d",n.line)}}function om(d,a){if(1&d){const n=e.EpF();e.O4$(),e.TgZ(0,"g")(1,"g",5),e.NdJ("select",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.onClick(B))})("activate",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.onActivate(B))})("deactivate",function(B){e.CHM(n);const q=e.oxw();return e.KtG(q.onDeactivate(B))}),e.qZA()()}if(2&d){const n=a.$implicit,y=e.oxw();e.uIk("transform",y.rotation),e.xp6(1),e.Q6J("backgroundArc",n.backgroundArc)("valueArc",n.valueArc)("cornerRadius",y.cornerRadius)("colors",y.colors)("isActive",y.isActive(n.valueArc.data))("tooltipDisabled",y.tooltipDisabled)("tooltipTemplate",y.tooltipTemplate)("valueFormatting",y.valueFormatting)("animations",y.animations)}}function hs(d,a){if(1&d&&(e.O4$(),e._UZ(0,"g",6)),2&d){const n=e.oxw();e.Q6J("bigSegments",n.bigSegments)("smallSegments",n.smallSegments)("min",n.min)("max",n.max)("radius",n.outerRadius)("angleSpan",n.angleSpan)("valueScale",n.valueScale)("startAngle",n.startAngle)("tickFormatting",n.axisTickFormatting)}}function hg(d,a){if(1&d&&(e.O4$(),e.TgZ(0,"text",7,8)(2,"tspan",9),e._uU(3),e.qZA(),e.TgZ(4,"tspan",10),e._uU(5),e.qZA()()),2&d){const n=e.oxw();e.Udp("text-anchor","middle"),e.uIk("transform",n.textTransform),e.xp6(3),e.Oqu(n.displayValue),e.xp6(2),e.Oqu(n.units)}}function Xp(d,a,n){n=n||{};let y,B,q,de=null,Ie=0;function ht(){Ie=!1===n.leading?0:+new Date,de=null,q=d.apply(y,B)}return function(){const yt=+new Date;!Ie&&!1===n.leading&&(Ie=yt);const Tt=a-(yt-Ie);return y=this,B=arguments,Tt<=0?(clearTimeout(de),de=null,Ie=yt,q=d.apply(y,B)):!de&&!1!==n.trailing&&(de=setTimeout(ht,Tt)),q}}var Un,d;(d=Un||(Un={})).Top="top",d.Bottom="bottom",d.Left="left",d.Right="right",d.Center="center";function $p(d,a,n){return n===Un.Top?d.top-7:n===Un.Bottom?d.top+d.height-a.height+7:n===Un.Center?d.top+d.height/2-a.height/2:void 0}function ef(d,a,n){return n===Un.Left?d.left-7:n===Un.Right?d.left+d.width-a.width+7:n===Un.Center?d.left+d.width/2-a.width/2:void 0}class Os{static calculateVerticalAlignment(a,n,y){let B=$p(a,n,y);return B+n.height>window.innerHeight&&(B=window.innerHeight-n.height),B}static calculateVerticalCaret(a,n,y,B){let q;B===Un.Top&&(q=a.height/2-y.height/2+7),B===Un.Bottom&&(q=n.height-a.height/2-y.height/2-7),B===Un.Center&&(q=n.height/2-y.height/2);const de=$p(a,n,B);return de+n.height>window.innerHeight&&(q+=de+n.height-window.innerHeight),q}static calculateHorizontalAlignment(a,n,y){let B=ef(a,n,y);return B+n.width>window.innerWidth&&(B=window.innerWidth-n.width),B}static calculateHorizontalCaret(a,n,y,B){let q;B===Un.Left&&(q=a.width/2-y.width/2+7),B===Un.Right&&(q=n.width-a.width/2-y.width/2-7),B===Un.Center&&(q=n.width/2-y.width/2);const de=ef(a,n,B);return de+n.width>window.innerWidth&&(q+=de+n.width-window.innerWidth),q}static shouldFlip(a,n,y,B){let q=!1;return y===Un.Right&&a.left+a.width+n.width+B>window.innerWidth&&(q=!0),y===Un.Left&&a.left-n.width-B<0&&(q=!0),y===Un.Top&&a.top-n.height-B<0&&(q=!0),y===Un.Bottom&&a.top+a.height+n.height+B>window.innerHeight&&(q=!0),q}static positionCaret(a,n,y,B,q){let de=0,Ie=0;return a===Un.Right?(Ie=-7,de=Os.calculateVerticalCaret(y,n,B,q)):a===Un.Left?(Ie=n.width,de=Os.calculateVerticalCaret(y,n,B,q)):a===Un.Top?(de=n.height,Ie=Os.calculateHorizontalCaret(y,n,B,q)):a===Un.Bottom&&(de=-7,Ie=Os.calculateHorizontalCaret(y,n,B,q)),{top:de,left:Ie}}static positionContent(a,n,y,B,q){let de=0,Ie=0;return a===Un.Right?(Ie=y.left+y.width+B,de=Os.calculateVerticalAlignment(y,n,q)):a===Un.Left?(Ie=y.left-n.width-B,de=Os.calculateVerticalAlignment(y,n,q)):a===Un.Top?(de=y.top-n.height-B,Ie=Os.calculateHorizontalAlignment(y,n,q)):a===Un.Bottom&&(de=y.top+y.height+B,Ie=Os.calculateHorizontalAlignment(y,n,q)),{top:de,left:Ie}}static determinePlacement(a,n,y,B){if(Os.shouldFlip(y,n,a,B)){if(a===Un.Right)return Un.Left;if(a===Un.Left)return Un.Right;if(a===Un.Top)return Un.Bottom;if(a===Un.Bottom)return Un.Top}return a}}class H2{constructor(a,n,y){this.element=a,this.renderer=n,this.platformId=y}get cssClasses(){let a="ngx-charts-tooltip-content";return a+=` position-${this.placement}`,a+=` type-${this.type}`,a+=` ${this.cssClass}`,a}ngAfterViewInit(){setTimeout(this.position.bind(this))}position(){if(!(0,t.NF)(this.platformId))return;const a=this.element.nativeElement,n=this.host.nativeElement.getBoundingClientRect();if(!n.height&&!n.width)return;const y=a.getBoundingClientRect();this.checkFlip(n,y),this.positionContent(a,n,y),this.showCaret&&this.positionCaret(n,y),setTimeout(()=>this.renderer.addClass(a,"animate"),1)}positionContent(a,n,y){const{top:B,left:q}=Os.positionContent(this.placement,y,n,this.spacing,this.alignment);this.renderer.setStyle(a,"top",`${B}px`),this.renderer.setStyle(a,"left",`${q}px`)}positionCaret(a,n){const y=this.caretElm.nativeElement,B=y.getBoundingClientRect(),{top:q,left:de}=Os.positionCaret(this.placement,n,a,B,this.alignment);this.renderer.setStyle(y,"top",`${q}px`),this.renderer.setStyle(y,"left",`${de}px`)}checkFlip(a,n){this.placement=Os.determinePlacement(this.placement,n,a,this.spacing)}onWindowResize(){this.position()}}H2.\u0275fac=function(a){return new(a||H2)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(e.Lbi))},H2.\u0275cmp=e.Xpm({type:H2,selectors:[["ngx-tooltip-content"]],viewQuery:function(a,n){if(1&a&&e.Gf(I4,5),2&a){let y;e.iGM(y=e.CRH())&&(n.caretElm=y.first)}},hostVars:2,hostBindings:function(a,n){1&a&&e.NdJ("resize",function(){return n.onWindowResize()},!1,e.Jf7),2&a&&e.Tol(n.cssClasses)},inputs:{host:"host",showCaret:"showCaret",type:"type",placement:"placement",alignment:"alignment",spacing:"spacing",cssClass:"cssClass",title:"title",template:"template",context:"context"},decls:6,vars:6,consts:[[3,"hidden"],["caretElm",""],[1,"tooltip-content"],[4,"ngIf"],[3,"innerHTML",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"]],template:function(a,n){1&a&&(e.TgZ(0,"div"),e._UZ(1,"span",0,1),e.TgZ(3,"div",2),e.YNc(4,F0,2,4,"span",3),e.YNc(5,eg,1,1,"span",4),e.qZA()()),2&a&&(e.xp6(1),e.Gre("tooltip-caret position-",n.placement,""),e.Q6J("hidden",!n.showCaret),e.xp6(3),e.Q6J("ngIf",!n.title),e.xp6(1),e.Q6J("ngIf",n.title))},dependencies:[t.O5,t.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,_.gn)([function Jp(d,a){return function(y,B,q){return{configurable:!0,enumerable:q.enumerable,get:function(){return Object.defineProperty(this,B,{configurable:!0,enumerable:q.enumerable,value:Xp(q.value,d,a)}),this[B]}}}}(100)],H2.prototype,"onWindowResize",null);class L_{constructor(a){this.injectionService=a,this.defaults={},this.components=new Map}getByType(a=this.type){return this.components.get(a)}create(a){return this.createByType(this.type,a)}createByType(a,n){n=this.assignDefaults(n);const y=this.injectComponent(a,n);return this.register(a,y),y}destroy(a){const n=this.components.get(a.componentType);if(n&&n.length){const y=n.indexOf(a);y>-1&&(n[y].destroy(),n.splice(y,1))}}destroyAll(){this.destroyByType(this.type)}destroyByType(a){const n=this.components.get(a);if(n&&n.length){let y=n.length-1;for(;y>=0;)this.destroy(n[y--])}}injectComponent(a,n){return this.injectionService.appendComponent(a,n)}assignDefaults(a){const n={...this.defaults.inputs},y={...this.defaults.outputs};return!a.inputs&&!a.outputs&&(a={inputs:a}),n&&(a.inputs={...n,...a.inputs}),y&&(a.outputs={...y,...a.outputs}),a}register(a,n){this.components.has(a)||this.components.set(a,[]),this.components.get(a).push(n)}}class Ro{constructor(a,n,y){this.applicationRef=a,this.componentFactoryResolver=n,this.injector=y}static setGlobalRootViewContainer(a){Ro.globalRootViewContainer=a}getRootViewContainer(){if(this._container)return this._container;if(Ro.globalRootViewContainer)return Ro.globalRootViewContainer;if(this.applicationRef.components.length)return this.applicationRef.components[0];throw new Error("View Container not found! ngUpgrade needs to manually set this via setRootViewContainer or setGlobalRootViewContainer.")}setRootViewContainer(a){this._container=a}getComponentRootNode(a){return function O_(d){return d.element}(a)?a.element.nativeElement:a.hostView&&a.hostView.rootNodes.length>0?a.hostView.rootNodes[0]:a.location.nativeElement}getRootViewContainerNode(a){return this.getComponentRootNode(a)}projectComponentBindings(a,n){if(n){if(void 0!==n.inputs){const y=Object.getOwnPropertyNames(n.inputs);for(const B of y)a.instance[B]=n.inputs[B]}if(void 0!==n.outputs){const y=Object.getOwnPropertyNames(n.outputs);for(const B of y)a.instance[B]=n.outputs[B]}}return a}appendComponent(a,n={},y){y||(y=this.getRootViewContainer());const B=this.getComponentRootNode(y),q=new O.u0(B,this.componentFactoryResolver,this.applicationRef,this.injector),de=new O.C5(a),Ie=q.attach(de);return this.projectComponentBindings(Ie,n),Ie}}Ro.globalRootViewContainer=null,Ro.\u0275fac=function(a){return new(a||Ro)(e.LFG(e.z2F),e.LFG(e._Vd),e.LFG(e.zs3))},Ro.\u0275prov=e.Yz7({token:Ro,factory:Ro.\u0275fac});class Cd extends L_{constructor(a){super(a),this.type=H2}}var Cr,U2,Ei,fo,xs,Cs,Ed;Cd.\u0275fac=function(a){return new(a||Cd)(e.LFG(Ro))},Cd.\u0275prov=e.Yz7({token:Cd,factory:Cd.\u0275fac}),function(d){d.Right="right",d.Below="below"}(Cr||(Cr={})),function(d){d.ScaleLegend="scaleLegend",d.Legend="legend"}(U2||(U2={})),function(d){d.Time="time",d.Linear="linear",d.Ordinal="ordinal",d.Quantile="quantile"}(Ei||(Ei={}));class wd{constructor(){this.horizontal=!1}ngOnChanges(a){const n=this.gradientString(this.colors.range(),this.colors.domain()),y=this.horizontal?"right":"bottom";this.gradient=`linear-gradient(to ${y}, ${n})`}gradientString(a,n){n.push(1);const y=[];return a.reverse().forEach((B,q)=>{y.push(`${B} ${Math.round(100*n[q])}%`)}),y.join(", ")}}function Do(d){return d=d instanceof Date?d.toLocaleDateString():d.toLocaleString()}function no(d){return d.toLocaleString().replace(/[&'`"<>]/g,a=>({"&":"&amp;","'":"&#x27;","`":"&#x60;",'"':"&quot;","<":"&lt;",">":"&gt;"}[a]))}wd.\u0275fac=function(a){return new(a||wd)},wd.\u0275cmp=e.Xpm({type:wd,selectors:[["ngx-charts-scale-legend"]],inputs:{valueRange:"valueRange",colors:"colors",height:"height",width:"width",horizontal:"horizontal"},features:[e.TTD],decls:8,vars:10,consts:[[1,"scale-legend"],[1,"scale-legend-label"],[1,"scale-legend-wrap"]],template:function(a,n){1&a&&(e.TgZ(0,"div",0)(1,"div",1)(2,"span"),e._uU(3),e.qZA()(),e._UZ(4,"div",2),e.TgZ(5,"div",1)(6,"span"),e._uU(7),e.qZA()()()),2&a&&(e.Udp("height",n.horizontal?void 0:n.height,"px")("width",n.width,"px"),e.ekj("horizontal-legend",n.horizontal),e.xp6(3),e.Oqu(n.valueRange[1].toLocaleString()),e.xp6(1),e.Udp("background",n.gradient),e.xp6(3),e.Oqu(n.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});class g1{constructor(){this.isActive=!1,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.toggle=new e.vpe}get trimmedLabel(){return this.formattedLabel||"(empty)"}onMouseEnter(){this.activate.emit({name:this.label})}onMouseLeave(){this.deactivate.emit({name:this.label})}}g1.\u0275fac=function(a){return new(a||g1)},g1.\u0275cmp=e.Xpm({type:g1,selectors:[["ngx-charts-legend-entry"]],hostBindings:function(a,n){1&a&&e.NdJ("mouseenter",function(){return n.onMouseEnter()})("mouseleave",function(){return n.onMouseLeave()})},inputs:{color:"color",label:"label",formattedLabel:"formattedLabel",isActive:"isActive"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",toggle:"toggle"},decls:4,vars:6,consts:[["tabindex","-1",3,"title","click"],[1,"legend-label-color",3,"click"],[1,"legend-label-text"]],template:function(a,n){1&a&&(e.TgZ(0,"span",0),e.NdJ("click",function(){return n.select.emit(n.formattedLabel)}),e.TgZ(1,"span",1),e.NdJ("click",function(){return n.toggle.emit(n.formattedLabel)}),e.qZA(),e.TgZ(2,"span",2),e._uU(3),e.qZA()()),2&a&&(e.ekj("active",n.isActive),e.Q6J("title",n.formattedLabel),e.xp6(1),e.Udp("background-color",n.color),e.xp6(2),e.hij(" ",n.trimmedLabel," "))},encapsulation:2,changeDetection:0});class tl{constructor(a){this.cd=a,this.horizontal=!1,this.labelClick=new e.vpe,this.labelActivate=new e.vpe,this.labelDeactivate=new e.vpe,this.legendEntries=[]}ngOnChanges(a){this.update()}update(){this.cd.markForCheck(),this.legendEntries=this.getLegendEntries()}getLegendEntries(){const a=[];for(const n of this.data){const y=Do(n);-1===a.findIndex(q=>q.label===y)&&a.push({label:n,formattedLabel:y,color:this.colors.getColor(n)})}return a}isActive(a){return!!this.activeEntries&&void 0!==this.activeEntries.find(y=>a.label===y.name)}activate(a){this.labelActivate.emit(a)}deactivate(a){this.labelDeactivate.emit(a)}trackBy(a,n){return n.label}}tl.\u0275fac=function(a){return new(a||tl)(e.Y36(e.sBO))},tl.\u0275cmp=e.Xpm({type:tl,selectors:[["ngx-charts-legend"]],inputs:{data:"data",title:"title",colors:"colors",height:"height",width:"width",activeEntries:"activeEntries",horizontal:"horizontal"},outputs:{labelClick:"labelClick",labelActivate:"labelActivate",labelDeactivate:"labelDeactivate"},features:[e.TTD],decls:5,vars:9,consts:[["class","legend-title",4,"ngIf"],[1,"legend-wrap"],[1,"legend-labels"],["class","legend-label",4,"ngFor","ngForOf","ngForTrackBy"],[1,"legend-title"],[1,"legend-title-text"],[1,"legend-label"],[3,"label","formattedLabel","color","isActive","select","activate","deactivate"]],template:function(a,n){1&a&&(e.TgZ(0,"div"),e.YNc(1,z0,3,1,"header",0),e.TgZ(2,"div",1)(3,"ul",2),e.YNc(4,tg,2,4,"li",3),e.qZA()()()),2&a&&(e.Udp("width",n.width,"px"),e.xp6(1),e.Q6J("ngIf",(null==n.title?null:n.title.length)>0),e.xp6(2),e.Udp("max-height",n.height-45,"px"),e.ekj("horizontal-legend",n.horizontal),e.xp6(1),e.Q6J("ngForOf",n.legendEntries)("ngForTrackBy",n.trackBy))},dependencies:[g1,t.O5,t.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});class Ba{constructor(){this.showLegend=!1,this.animations=!0,this.legendLabelClick=new e.vpe,this.legendLabelActivate=new e.vpe,this.legendLabelDeactivate=new e.vpe,this.LegendPosition=Cr,this.LegendType=U2}ngOnChanges(a){this.update()}update(){let a=0;this.showLegend&&(this.legendType=this.getLegendType(),(!this.legendOptions||this.legendOptions.position===Cr.Right)&&(a=this.legendType===U2.ScaleLegend?1:2));const n=12-a;this.chartWidth=Math.floor(this.view[0]*n/12),this.legendWidth=this.legendOptions&&this.legendOptions.position!==Cr.Right?this.chartWidth:Math.floor(this.view[0]*a/12)}getLegendType(){return this.legendOptions.scaleType===Ei.Linear?U2.ScaleLegend:U2.Legend}}Ba.\u0275fac=function(a){return new(a||Ba)},Ba.\u0275cmp=e.Xpm({type:Ba,selectors:[["ngx-charts-chart"]],inputs:{view:"view",showLegend:"showLegend",legendOptions:"legendOptions",legendType:"legendType",activeEntries:"activeEntries",animations:"animations"},outputs:{legendLabelClick:"legendLabelClick",legendLabelActivate:"legendLabelActivate",legendLabelDeactivate:"legendLabelDeactivate"},features:[e._Bn([Cd]),e.TTD],ngContentSelectors:fp,decls:5,vars:8,consts:[[1,"ngx-charts-outer"],[1,"ngx-charts"],["class","chart-legend",3,"horizontal","valueRange","colors","height","width",4,"ngIf"],["class","chart-legend",3,"horizontal","data","title","colors","height","width","activeEntries","labelClick","labelActivate","labelDeactivate",4,"ngIf"],[1,"chart-legend",3,"horizontal","valueRange","colors","height","width"],[1,"chart-legend",3,"horizontal","data","title","colors","height","width","activeEntries","labelClick","labelActivate","labelDeactivate"]],template:function(a,n){1&a&&(e.F$t(),e.TgZ(0,"div",0),e.O4$(),e.TgZ(1,"svg",1),e.Hsn(2),e.qZA(),e.YNc(3,pp,1,5,"ngx-charts-scale-legend",2),e.YNc(4,zf,1,7,"ngx-charts-legend",3),e.qZA()),2&a&&(e.Udp("width",n.view[0],"px")("height",n.view[1],"px"),e.xp6(1),e.uIk("width",n.chartWidth)("height",n.view[1]),e.xp6(2),e.Q6J("ngIf",n.showLegend&&n.legendType===n.LegendType.ScaleLegend),e.xp6(1),e.Q6J("ngIf",n.showLegend&&n.legendType===n.LegendType.Legend))},dependencies:[wd,tl,t.O5],encapsulation:2,changeDetection:0});class V2{constructor(a,n){this.element=a,this.zone=n,this.visible=new e.vpe,this.isVisible=!1,this.runCheck()}destroy(){clearTimeout(this.timeout)}onVisibilityChange(){this.zone.run(()=>{this.isVisible=!0,this.visible.emit(!0)})}runCheck(){const a=()=>{if(!this.element)return;const{offsetHeight:n,offsetWidth:y}=this.element.nativeElement;n&&y?(clearTimeout(this.timeout),this.onVisibilityChange()):(clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>a(),100)}))};this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>a())})}}function sm(d){return"[object Date]"===toString.call(d)}function q3(d){return"number"==typeof d}V2.\u0275fac=function(a){return new(a||V2)(e.Y36(e.SBq),e.Y36(e.R0b))},V2.\u0275dir=e.lG2({type:V2,selectors:[["visibility-observer"]],outputs:{visible:"visible"}});class $a{constructor(a,n,y,B){this.chartElement=a,this.zone=n,this.cd=y,this.platformId=B,this.scheme="cool",this.schemeType=Ei.Ordinal,this.animations=!0,this.select=new e.vpe}ngOnInit(){(0,t.PM)(this.platformId)&&(this.animations=!1)}ngAfterViewInit(){this.bindWindowResizeEvent(),this.visibilityObserver=new V2(this.chartElement,this.zone),this.visibilityObserver.visible.subscribe(this.update.bind(this))}ngOnDestroy(){this.unbindEvents(),this.visibilityObserver&&(this.visibilityObserver.visible.unsubscribe(),this.visibilityObserver.destroy())}ngOnChanges(a){this.update()}update(){if(this.results?this.results=this.cloneData(this.results):this.results=[],this.view)this.width=this.view[0],this.height=this.view[1];else{const a=this.getContainerDims();a&&(this.width=a.width,this.height=a.height)}this.width||(this.width=600),this.height||(this.height=400),this.width=Math.floor(this.width),this.height=Math.floor(this.height),this.cd&&this.cd.markForCheck()}getContainerDims(){let a,n;const y=this.chartElement.nativeElement;if((0,t.NF)(this.platformId)&&null!==y.parentNode){const B=y.parentNode.getBoundingClientRect();a=B.width,n=B.height}return a&&n?{width:a,height:n}:null}formatDates(){for(let a=0;a<this.results.length;a++){const n=this.results[a];if(n.label=n.name,sm(n.label)&&(n.label=n.label.toLocaleDateString()),n.series)for(let y=0;y<n.series.length;y++){const B=n.series[y];B.label=B.name,sm(B.label)&&(B.label=B.label.toLocaleDateString())}}}unbindEvents(){this.resizeSubscription&&this.resizeSubscription.unsubscribe()}bindWindowResizeEvent(){if(!(0,t.NF)(this.platformId))return;const n=(0,l.R)(window,"resize").pipe((0,C.b)(200)).subscribe(y=>{this.update(),this.cd&&this.cd.markForCheck()});this.resizeSubscription=n}cloneData(a){const n=[];for(const y of a){const B={name:y.name};if(void 0!==y.value&&(B.value=y.value),void 0!==y.series){B.series=[];for(const q of y.series){const de=Object.assign({},q);B.series.push(de)}}void 0!==y.extra&&(B.extra=JSON.parse(JSON.stringify(y.extra))),n.push(B)}return n}}$a.\u0275fac=function(a){return new(a||$a)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(e.Lbi))},$a.\u0275cmp=e.Xpm({type:$a,selectors:[["base-chart"]],inputs:{results:"results",view:"view",scheme:"scheme",schemeType:"schemeType",customColors:"customColors",animations:"animations"},outputs:{select:"select"},features:[e.TTD],decls:1,vars:0,template:function(a,n){1&a&&e._UZ(0,"div")},encapsulation:2}),function(d){d.Top="top",d.Bottom="bottom",d.Left="left",d.Right="right"}(fo||(fo={}));class Rl{constructor(a){this.textHeight=25,this.margin=5,this.element=a.nativeElement}ngOnChanges(a){this.update()}update(){switch(this.strokeWidth="0.01",this.textAnchor="middle",this.transform="",this.orient){case fo.Top:case fo.Bottom:this.y=this.offset,this.x=this.width/2;break;case fo.Left:this.y=-(this.offset+this.textHeight+this.margin),this.x=-this.height/2,this.transform="rotate(270)";break;case fo.Right:this.y=this.offset+this.margin,this.x=-this.height/2,this.transform="rotate(270)"}}}function Md(d,a=16){return"string"!=typeof d?"number"==typeof d?d+"":"":(d=d.trim()).length<=a?d:`${d.slice(0,a)}...`}function cm(d,a){if(d.length>a){const n=[],y=Math.floor(d.length/a);for(let B=0;B<d.length;B++)B%y==0&&n.push(d[B]);d=n}return d}Rl.\u0275fac=function(a){return new(a||Rl)(e.Y36(e.SBq))},Rl.\u0275cmp=e.Xpm({type:Rl,selectors:[["g","ngx-charts-axis-label",""]],inputs:{orient:"orient",label:"label",offset:"offset",width:"width",height:"height"},features:[e.TTD],attrs:["ngx-charts-axis-label",""],decls:2,vars:6,template:function(a,n){1&a&&(e.O4$(),e.TgZ(0,"text"),e._uU(1),e.qZA()),2&a&&(e.uIk("stroke-width",n.strokeWidth)("x",n.x)("y",n.y)("text-anchor",n.textAnchor)("transform",n.transform),e.xp6(1),e.hij(" ",n.label," "))},encapsulation:2,changeDetection:0}),function(d){d.Start="start",d.Middle="middle",d.End="end"}(xs||(xs={}));class v1{constructor(a){this.platformId=a,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.rotateTicks=!0,this.dimensionsChanged=new e.vpe,this.verticalSpacing=20,this.rotateLabels=!1,this.innerTickSize=6,this.outerTickSize=6,this.tickPadding=3,this.textAnchor=xs.Middle,this.maxTicksLength=0,this.maxAllowedLength=16,this.height=0,this.approxHeight=10}ngOnChanges(a){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,t.NF)(this.platformId))return void this.dimensionsChanged.emit({height:this.approxHeight});const a=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().height,10);a!==this.height&&(this.height=a,this.dimensionsChanged.emit({height:this.height}),setTimeout(()=>this.updateDims()))}update(){const a=this.scale;this.ticks=this.getTicks(),this.tickFormatting?this.tickFormat=this.tickFormatting:a.tickFormat?this.tickFormat=a.tickFormat.apply(a,this.tickArguments):this.tickFormat=function(y){return"Date"===y.constructor.name?y.toLocaleDateString():y.toLocaleString()};const n=this.rotateTicks?this.getRotationAngle(this.ticks):null;this.adjustedScale=this.scale.bandwidth?function(y){return this.scale(y)+.5*this.scale.bandwidth()}:this.scale,this.textTransform="",n&&0!==n?(this.textTransform=`rotate(${n})`,this.textAnchor=xs.End,this.verticalSpacing=10):this.textAnchor=xs.Middle,setTimeout(()=>this.updateDims())}getRotationAngle(a){let n=0;this.maxTicksLength=0;for(let ht=0;ht<a.length;ht++){const yt=this.tickFormat(a[ht]).toString();let Tt=yt.length;this.trimTicks&&(Tt=this.tickTrim(yt).length),Tt>this.maxTicksLength&&(this.maxTicksLength=Tt)}const q=7*Math.min(this.maxTicksLength,this.maxAllowedLength);let de=q;const Ie=Math.floor(this.width/a.length);for(;de>Ie&&n>-90;)n-=30,de=Math.cos(n*(Math.PI/180))*q;return this.approxHeight=Math.max(Math.abs(Math.sin(n*(Math.PI/180))*q),10),n}getTicks(){let a;const n=this.getMaxTicks(20),y=this.getMaxTicks(100);return this.tickValues?a=this.tickValues:this.scale.ticks?a=this.scale.ticks.apply(this.scale,[y]):(a=this.scale.domain(),a=cm(a,n)),a}getMaxTicks(a){return Math.floor(this.width/a)}tickTransform(a){return"translate("+this.adjustedScale(a)+","+this.verticalSpacing+")"}gridLineTransform(){return`translate(0,${-this.verticalSpacing-5})`}tickTrim(a){return this.trimTicks?Md(a,this.maxTickLength):a}}v1.\u0275fac=function(a){return new(a||v1)(e.Y36(e.Lbi))},v1.\u0275cmp=e.Xpm({type:v1,selectors:[["g","ngx-charts-x-axis-ticks",""]],viewQuery:function(a,n){if(1&a&&e.Gf(du,5),2&a){let y;e.iGM(y=e.CRH())&&(n.ticksElement=y.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:[e.TTD],attrs:["ngx-charts-x-axis-ticks",""],decls:4,vars:2,consts:[["ticksel",""],["class","tick",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"tick"],["stroke-width","0.01"],[4,"ngIf"],["y2","0",1,"gridline-path","gridline-path-vertical"]],template:function(a,n){1&a&&(e.O4$(),e.TgZ(0,"g",null,0),e.YNc(2,H0,5,7,"g",1),e.qZA(),e.YNc(3,L2,2,2,"g",2)),2&a&&(e.xp6(2),e.Q6J("ngForOf",n.ticks),e.xp6(1),e.Q6J("ngForOf",n.ticks))},dependencies:[t.sg,t.O5],encapsulation:2,changeDetection:0});class Bo{constructor(){this.rotateTicks=!0,this.showGridLines=!1,this.xOrient=fo.Bottom,this.xAxisOffset=0,this.dimensionsChanged=new e.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=fo}ngOnChanges(a){this.update()}update(){this.transform=`translate(0,${this.xAxisOffset+this.padding+this.dims.height})`,typeof this.xAxisTickCount<"u"&&(this.tickArguments=[this.xAxisTickCount])}emitTicksHeight({height:a}){const n=a+25+5;n!==this.labelOffset&&(this.labelOffset=n,setTimeout(()=>{this.dimensionsChanged.emit({height:a})},0))}}function il(d,a,n,y,B,[q,de,Ie,ht]){let yt="";return yt=`M${[d+B,a]}`,yt+="h"+((n=0===(n=Math.floor(n))?1:n)-2*B),yt+=de?`a${[B,B]} 0 0 1 ${[B,B]}`:`h${B}v${B}`,yt+="v"+((y=0===(y=Math.floor(y))?1:y)-2*B),yt+=ht?`a${[B,B]} 0 0 1 ${[-B,B]}`:`v${B}h${-B}`,yt+="h"+(2*B-n),yt+=Ie?`a${[B,B]} 0 0 1 ${[-B,-B]}`:`h${-B}v${-B}`,yt+="v"+(2*B-y),yt+=q?`a${[B,B]} 0 0 1 ${[B,-B]}`:`v${-B}h${B}`,yt+="z",yt}Bo.\u0275fac=function(a){return new(a||Bo)},Bo.\u0275cmp=e.Xpm({type:Bo,selectors:[["g","ngx-charts-x-axis",""]],viewQuery:function(a,n){if(1&a&&e.Gf(v1,5),2&a){let y;e.iGM(y=e.CRH())&&(n.ticksComponent=y.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:[e.TTD],attrs:["ngx-charts-x-axis",""],decls:3,vars:4,consts:[["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(a,n){1&a&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,_p,1,12,"g",0),e.YNc(2,Uf,1,5,"g",1),e.qZA()),2&a&&(e.uIk("class",n.xAxisClassName)("transform",n.transform),e.xp6(1),e.Q6J("ngIf",n.xScale),e.xp6(1),e.Q6J("ngIf",n.showLabel))},dependencies:[v1,Rl,t.O5],encapsulation:2,changeDetection:0});class gu{constructor(a){this.platformId=a,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.showRefLabels=!1,this.showRefLines=!1,this.dimensionsChanged=new e.vpe,this.innerTickSize=6,this.tickPadding=3,this.verticalSpacing=20,this.textAnchor=xs.Middle,this.width=0,this.outerTickSize=6,this.rotateLabels=!1,this.referenceLineLength=0,this.Orientation=fo}ngOnChanges(a){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,t.NF)(this.platformId))return this.width=this.getApproximateAxisWidth(),void this.dimensionsChanged.emit({width:this.width});const a=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().width,10);a!==this.width&&(this.width=a,this.dimensionsChanged.emit({width:a}),setTimeout(()=>this.updateDims()))}update(){const a=this.scale,n=this.orient===fo.Top||this.orient===fo.Right?-1:1;switch(this.tickSpacing=Math.max(this.innerTickSize,0)+this.tickPadding,this.ticks=this.getTicks(),this.tickFormatting?this.tickFormat=this.tickFormatting:a.tickFormat?this.tickFormat=a.tickFormat.apply(a,this.tickArguments):this.tickFormat=function(y){return"Date"===y.constructor.name?y.toLocaleDateString():y.toLocaleString()},this.adjustedScale=a.bandwidth?function(y){return a(y)+.5*a.bandwidth()}:a,this.showRefLines&&this.referenceLines&&this.setReferencelines(),this.orient){case fo.Top:case fo.Bottom:this.transform=function(y){return"translate("+this.adjustedScale(y)+",0)"},this.textAnchor=xs.Middle,this.y2=this.innerTickSize*n,this.y1=this.tickSpacing*n,this.dy=n<0?"0em":".71em";break;case fo.Left:this.transform=function(y){return"translate(0,"+this.adjustedScale(y)+")"},this.textAnchor=xs.End,this.x2=this.innerTickSize*-n,this.x1=this.tickSpacing*-n,this.dy=".32em";break;case fo.Right:this.transform=function(y){return"translate(0,"+this.adjustedScale(y)+")"},this.textAnchor=xs.Start,this.x2=this.innerTickSize*-n,this.x1=this.tickSpacing*-n,this.dy=".32em"}setTimeout(()=>this.updateDims())}setReferencelines(){this.refMin=this.adjustedScale(Math.min.apply(null,this.referenceLines.map(a=>a.value))),this.refMax=this.adjustedScale(Math.max.apply(null,this.referenceLines.map(a=>a.value))),this.referenceLineLength=this.referenceLines.length,this.referenceAreaPath=il(0,this.refMax,this.gridLineWidth,this.refMin-this.refMax,0,[!1,!1,!1,!1])}getTicks(){let a;const n=this.getMaxTicks(20),y=this.getMaxTicks(50);return this.tickValues?a=this.tickValues:this.scale.ticks?a=this.scale.ticks.apply(this.scale,[y]):(a=this.scale.domain(),a=cm(a,n)),a}getMaxTicks(a){return Math.floor(this.height/a)}tickTransform(a){return`translate(${this.adjustedScale(a)},${this.verticalSpacing})`}gridLineTransform(){return"translate(5,0)"}tickTrim(a){return this.trimTicks?Md(a,this.maxTickLength):a}getApproximateAxisWidth(){return 7*Math.max(...this.ticks.map(y=>this.tickTrim(this.tickFormat(y)).length))}}gu.\u0275fac=function(a){return new(a||gu)(e.Y36(e.Lbi))},gu.\u0275cmp=e.Xpm({type:gu,selectors:[["g","ngx-charts-y-axis-ticks",""]],viewQuery:function(a,n){if(1&a&&e.Gf(du,5),2&a){let y;e.iGM(y=e.CRH())&&(n.ticksElement=y.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:[e.TTD],attrs:["ngx-charts-y-axis-ticks",""],decls:6,vars:4,consts:[["ticksel",""],["class","tick",4,"ngFor","ngForOf"],["class","reference-area",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"tick"],["stroke-width","0.01"],[1,"reference-area"],[4,"ngIf"],["class","gridline-path gridline-path-horizontal","x1","0",4,"ngIf"],["x1","0",1,"gridline-path","gridline-path-horizontal"],["x1","0",1,"refline-path","gridline-path-horizontal"],[1,"refline-label"]],template:function(a,n){1&a&&(e.O4$(),e.TgZ(0,"g",null,0),e.YNc(2,Vf,5,9,"g",1),e.qZA(),e.YNc(3,hu,1,2,"path",2),e.YNc(4,P4,2,2,"g",3),e.YNc(5,N4,2,1,"g",3)),2&a&&(e.xp6(2),e.Q6J("ngForOf",n.ticks),e.xp6(1),e.Q6J("ngIf",n.referenceLineLength>1&&n.refMax&&n.refMin&&n.showRefLines),e.xp6(1),e.Q6J("ngForOf",n.ticks),e.xp6(1),e.Q6J("ngForOf",n.referenceLines))},dependencies:[t.sg,t.O5],encapsulation:2,changeDetection:0});class _o{constructor(){this.showGridLines=!1,this.yOrient=fo.Left,this.yAxisOffset=0,this.dimensionsChanged=new e.vpe,this.yAxisClassName="y axis",this.labelOffset=15,this.fill="none",this.stroke="#CCC",this.tickStroke="#CCC",this.strokeWidth=1,this.padding=5}ngOnChanges(a){this.update()}update(){this.offset=-(this.yAxisOffset+this.padding),this.yOrient===fo.Right?(this.labelOffset=65,this.transform=`translate(${this.offset+this.dims.width} , 0)`):this.transform=`translate(${this.offset} , 0)`,void 0!==this.yAxisTickCount&&(this.tickArguments=[this.yAxisTickCount])}emitTicksWidth({width:a}){a!==this.labelOffset&&this.yOrient===fo.Right?(this.labelOffset=a+this.labelOffset,setTimeout(()=>{this.dimensionsChanged.emit({width:a})},0)):a!==this.labelOffset&&(this.labelOffset=a,setTimeout(()=>{this.dimensionsChanged.emit({width:a})},0))}}_o.\u0275fac=function(a){return new(a||_o)},_o.\u0275cmp=e.Xpm({type:_o,selectors:[["g","ngx-charts-y-axis",""]],viewQuery:function(a,n){if(1&a&&e.Gf(gu,5),2&a){let y;e.iGM(y=e.CRH())&&(n.ticksComponent=y.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:[e.TTD],attrs:["ngx-charts-y-axis",""],decls:3,vars:4,consts:[["ngx-charts-y-axis-ticks","",3,"trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-y-axis-ticks","",3,"trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(a,n){1&a&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,F4,1,14,"g",0),e.YNc(2,Kf,1,5,"g",1),e.qZA()),2&a&&(e.uIk("class",n.yAxisClassName)("transform",n.transform),e.xp6(1),e.Q6J("ngIf",n.yScale),e.xp6(1),e.Q6J("ngIf",n.showLabel))},dependencies:[gu,Rl,t.O5],encapsulation:2,changeDetection:0});class W2{}W2.\u0275fac=function(a){return new(a||W2)},W2.\u0275mod=e.oAB({type:W2}),W2.\u0275inj=e.cJS({imports:[[t.ez]]}),function(d){d.popover="popover",d.tooltip="tooltip"}(Cs||(Cs={})),function(d){d[d.all="all"]="all",d[d.focus="focus"]="focus",d[d.mouseover="mouseover"]="mouseover"}(Ed||(Ed={}));class To{constructor(a,n,y){this.tooltipService=a,this.viewContainerRef=n,this.renderer=y,this.tooltipCssClass="",this.tooltipAppendToBody=!0,this.tooltipSpacing=10,this.tooltipDisabled=!1,this.tooltipShowCaret=!0,this.tooltipPlacement=Un.Top,this.tooltipAlignment=Un.Center,this.tooltipType=Cs.popover,this.tooltipCloseOnClickOutside=!0,this.tooltipCloseOnMouseLeave=!0,this.tooltipHideTimeout=300,this.tooltipShowTimeout=100,this.tooltipShowEvent=Ed.all,this.tooltipImmediateExit=!1,this.show=new e.vpe,this.hide=new e.vpe}get listensForFocus(){return this.tooltipShowEvent===Ed.all||this.tooltipShowEvent===Ed.focus}get listensForHover(){return this.tooltipShowEvent===Ed.all||this.tooltipShowEvent===Ed.mouseover}ngOnDestroy(){this.hideTooltip(!0)}onFocus(){this.listensForFocus&&this.showTooltip()}onBlur(){this.listensForFocus&&this.hideTooltip(!0)}onMouseEnter(){this.listensForHover&&this.showTooltip()}onMouseLeave(a){if(this.listensForHover&&this.tooltipCloseOnMouseLeave){if(clearTimeout(this.timeout),this.component&&this.component.instance.element.nativeElement.contains(a))return;this.hideTooltip(this.tooltipImmediateExit)}}onMouseClick(){this.listensForHover&&this.hideTooltip(!0)}showTooltip(a){if(this.component||this.tooltipDisabled)return;const n=a?0:this.tooltipShowTimeout+(navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)?400:0);clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.tooltipService.destroyAll();const y=this.createBoundOptions();this.component=this.tooltipService.create(y),setTimeout(()=>{this.component&&this.addHideListeners(this.component.instance.element.nativeElement)},10),this.show.emit(!0)},n)}addHideListeners(a){this.mouseEnterContentEvent=this.renderer.listen(a,"mouseenter",()=>{clearTimeout(this.timeout)}),this.tooltipCloseOnMouseLeave&&(this.mouseLeaveContentEvent=this.renderer.listen(a,"mouseleave",()=>{this.hideTooltip(this.tooltipImmediateExit)})),this.tooltipCloseOnClickOutside&&(this.documentClickEvent=this.renderer.listen("window","click",n=>{a.contains(n.target)||this.hideTooltip()}))}hideTooltip(a=!1){if(!this.component)return;const n=()=>{this.mouseLeaveContentEvent&&this.mouseLeaveContentEvent(),this.mouseEnterContentEvent&&this.mouseEnterContentEvent(),this.documentClickEvent&&this.documentClickEvent(),this.hide.emit(!0),this.tooltipService.destroy(this.component),this.component=void 0};clearTimeout(this.timeout),a?n():this.timeout=setTimeout(n,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}}}To.\u0275fac=function(a){return new(a||To)(e.Y36(Cd),e.Y36(e.s_b),e.Y36(e.Qsj))},To.\u0275dir=e.lG2({type:To,selectors:[["","ngx-tooltip",""]],hostBindings:function(a,n){1&a&&e.NdJ("focusin",function(){return n.onFocus()})("blur",function(){return n.onBlur()})("mouseenter",function(){return n.onMouseEnter()})("mouseleave",function(B){return n.onMouseLeave(B.target)})("click",function(){return n.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"}});class b1{}b1.\u0275fac=function(a){return new(a||b1)},b1.\u0275mod=e.oAB({type:b1}),b1.\u0275inj=e.cJS({providers:[Ro,Cd],imports:[[t.ez]]});const X3={};function No(){let d=("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4);return d=`a${d}`,X3[d]?No():(X3[d]=!0,d)}var Ca,y1,G2;!function(d){d.Vertical="vertical",d.Horizontal="horizontal"}(Ca||(Ca={}));class ac{constructor(){this.orientation=Ca.Vertical}ngOnChanges(a){this.x1="0%",this.x2="0%",this.y1="0%",this.y2="0%",this.orientation===Ca.Horizontal?this.x2="100%":this.orientation===Ca.Vertical&&(this.y1="100%")}}ac.\u0275fac=function(a){return new(a||ac)},ac.\u0275cmp=e.Xpm({type:ac,selectors:[["g","ngx-charts-svg-linear-gradient",""]],inputs:{orientation:"orientation",name:"name",stops:"stops"},features:[e.TTD],attrs:["ngx-charts-svg-linear-gradient",""],decls:2,vars:6,consts:[[3,"id"],[3,"stop-color","stop-opacity",4,"ngFor","ngForOf"]],template:function(a,n){1&a&&(e.O4$(),e.TgZ(0,"linearGradient",0),e.YNc(1,Gf,1,5,"stop",1),e.qZA()),2&a&&(e.Q6J("id",n.name),e.uIk("x1",n.x1)("y1",n.y1)("x2",n.x2)("y2",n.y2),e.xp6(1),e.Q6J("ngForOf",n.stops))},dependencies:[t.sg],encapsulation:2,changeDetection:0});class Oc{constructor(){this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe}onClick(){this.select.emit(this.data)}onMouseEnter(){this.activate.emit(this.data)}onMouseLeave(){this.deactivate.emit(this.data)}ngOnChanges(a){this.classNames=Array.isArray(this.classNames)?this.classNames.join(" "):"",this.classNames+="circle"}}Oc.\u0275fac=function(a){return new(a||Oc)},Oc.\u0275cmp=e.Xpm({type:Oc,selectors:[["g","ngx-charts-circle",""]],hostBindings:function(a,n){1&a&&e.NdJ("click",function(){return n.onClick()})("mouseenter",function(){return n.onMouseEnter()})("mouseleave",function(){return n.onMouseLeave()})},inputs:{cx:"cx",cy:"cy",r:"r",fill:"fill",stroke:"stroke",data:"data",classNames:"classNames",circleOpacity:"circleOpacity",pointerEvents:"pointerEvents"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[e.TTD],attrs:["ngx-charts-circle",""],decls:1,vars:8,template:function(a,n){1&a&&(e.O4$(),e._UZ(0,"circle")),2&a&&e.uIk("cx",n.cx)("cy",n.cy)("r",n.r)("fill",n.fill)("stroke",n.stroke)("opacity",n.circleOpacity)("class",n.classNames)("pointer-events",n.pointerEvents)},encapsulation:2,changeDetection:0}),function(d){d.Standard="standard",d.Stacked="stacked"}(y1||(y1={}));class Bl{constructor(a){this.platformId=a,this.type=y1.Standard,this.tooltipDisabled=!1,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.barVisible=!1,this.barOrientation=Ca,this.placementTypes=Un,this.styleTypes=Cs,this.isSSR=!1}ngOnInit(){this.gradientId="grad"+No().toString(),this.gradientFill=`url(#${this.gradientId})`,(0,t.PM)(this.platformId)&&(this.isSSR=!0)}ngOnChanges(){this.update()}update(){this.circle=this.getActiveCircle()}getActiveCircle(){const a=this.data.series.findIndex(n=>{const y=n.name;return y&&this.visibleValue&&y.toString()===this.visibleValue.toString()&&void 0!==n.value});if(-1!==a)return this.mapDataPointToCircle(this.data.series[a],a)}mapDataPointToCircle(a,n){const y=this.data.name,B=a.value,q=a.name,de=Do(q);let Ie;Ie=this.scaleType===Ei.Time?this.xScale(q):this.scaleType===Ei.Linear?this.xScale(Number(q)):this.xScale(q);const ht=this.yScale(this.type===y1.Standard?B:a.d1),Tt=this.yScale.range()[0]-ht;let zt;zt=this.colors.scaleType===Ei.Linear?this.type===y1.Standard?this.colors.getColor(B):this.colors.getColor(a.d1):this.colors.getColor(y);return{classNames:[`circle-data-${n}`],value:B,label:q,data:Object.assign({},a,{series:y,value:B,name:q}),cx:Ie,cy:ht,radius:5,height:Tt,tooltipLabel:de,color:zt,opacity:1,seriesName:y,gradientStops:this.getGradientStops(zt),min:a.min,max:a.max}}getTooltipText({tooltipLabel:a,value:n,seriesName:y,min:B,max:q}){return`\n <span class="tooltip-label">${no(y)} \u2022 ${no(a)}</span>\n <span class="tooltip-val">${n.toLocaleString()}${this.getTooltipMinMaxText(B,q)}</span>\n `}getTooltipMinMaxText(a,n){if(void 0!==a||void 0!==n){let y=" (";return void 0!==a?(void 0===n&&(y+="\u2265"),y+=a.toLocaleString(),void 0!==n&&(y+=" - ")):void 0!==n&&(y+="\u2264"),void 0!==n&&(y+=n.toLocaleString()),y+=")",y}return""}getGradientStops(a){return[{offset:0,color:a,opacity:.2},{offset:100,color:a,opacity:1}]}onClick(a){this.select.emit(a)}isActive(a){return!!this.activeEntries&&void 0!==this.activeEntries.find(y=>a.name===y.name)}activateCircle(){this.barVisible=!0,this.activate.emit({name:this.data.name})}deactivateCircle(){this.barVisible=!1,this.circle.opacity=0,this.deactivate.emit({name:this.data.name})}}Bl.\u0275fac=function(a){return new(a||Bl)(e.Y36(e.Lbi))},Bl.\u0275cmp=e.Xpm({type:Bl,selectors:[["g","ngx-charts-circle-series",""]],inputs:{data:"data",type:"type",xScale:"xScale",yScale:"yScale",colors:"colors",scaleType:"scaleType",visibleValue:"visibleValue",activeEntries:"activeEntries",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[e.TTD],attrs:["ngx-charts-circle-series",""],decls:1,vars:1,consts:[[4,"ngIf"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"],["class","tooltip-bar",4,"ngIf"],["ngx-charts-circle","","ngx-tooltip","",1,"circle",3,"cx","cy","r","fill","pointerEvents","data","classNames","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate"],[1,"tooltip-bar"]],template:function(a,n){1&a&&e.YNc(0,V4,6,22,"g",0),2&a&&e.Q6J("ngIf",n.circle)},dependencies:[ac,Oc,t.O5,To],encapsulation:2,data:{animation:[(0,u.X$)("animationState",[(0,u.eR)(":enter",[(0,u.oB)({opacity:0}),(0,u.jt)(250,(0,u.oB)({opacity:1}))])])]},changeDetection:0});class K2{}K2.\u0275fac=function(a){return new(a||K2)},K2.\u0275cmp=e.Xpm({type:K2,selectors:[["g","ngx-charts-grid-panel",""]],inputs:{width:"width",height:"height",x:"x",y:"y"},attrs:["ngx-charts-grid-panel",""],decls:1,vars:4,consts:[["stroke","none",1,"gridpanel"]],template:function(a,n){1&a&&(e.O4$(),e._UZ(0,"rect",0)),2&a&&e.uIk("height",n.height)("width",n.width)("x",n.x)("y",n.y)},encapsulation:2,changeDetection:0}),function(d){d.Odd="odd",d.Even="even"}(G2||(G2={}));class Dd{ngOnChanges(a){this.update()}update(){this.gridPanels=this.getGridPanels()}getGridPanels(){return this.data.map(a=>{let n,y,B,q,de,Ie=G2.Odd;if(this.orient===Ca.Vertical){const ht=this.xScale(a.name);Number.parseInt((ht/this.xScale.step()).toString(),10)%2==1&&(Ie=G2.Even),n=this.xScale.bandwidth()*this.xScale.paddingInner(),y=this.xScale.bandwidth()+n,B=this.dims.height,q=this.xScale(a.name)-n/2,de=0}else if(this.orient===Ca.Horizontal){const ht=this.yScale(a.name);Number.parseInt((ht/this.yScale.step()).toString(),10)%2==1&&(Ie=G2.Even),n=this.yScale.bandwidth()*this.yScale.paddingInner(),y=this.dims.width,B=this.yScale.bandwidth()+n,q=0,de=this.yScale(a.name)-n/2}return{name:a.name,class:Ie,height:B,width:y,x:q,y:de}})}}Dd.\u0275fac=function(a){return new(a||Dd)},Dd.\u0275cmp=e.Xpm({type:Dd,selectors:[["g","ngx-charts-grid-panel-series",""]],inputs:{data:"data",dims:"dims",xScale:"xScale",yScale:"yScale",orient:"orient"},features:[e.TTD],attrs:["ngx-charts-grid-panel-series",""],decls:1,vars:1,consts:[["ngx-charts-grid-panel","",3,"height","width","x","y","grid-panel","odd","even",4,"ngFor","ngForOf"],["ngx-charts-grid-panel","",3,"height","width","x","y"]],template:function(a,n){1&a&&e.YNc(0,bp,1,10,"g",0),2&a&&e.Q6J("ngForOf",n.gridPanels)},dependencies:[K2,t.sg],encapsulation:2,changeDetection:0});class x1{constructor(){this.endOpacity=1,this.cx=0,this.cy=0}get stops(){return this.stopsInput||this.stopsDefault}set stops(a){this.stopsInput=a}ngOnChanges(a){this.r="30%",("color"in a||"startOpacity"in a||"endOpacity"in a)&&(this.stopsDefault=[{offset:0,color:this.color,opacity:this.startOpacity},{offset:100,color:this.color,opacity:this.endOpacity}])}}x1.\u0275fac=function(a){return new(a||x1)},x1.\u0275cmp=e.Xpm({type:x1,selectors:[["g","ngx-charts-svg-radial-gradient",""]],inputs:{color:"color",name:"name",startOpacity:"startOpacity",endOpacity:"endOpacity",cx:"cx",cy:"cy",stops:"stops"},features:[e.TTD],attrs:["ngx-charts-svg-radial-gradient",""],decls:2,vars:5,consts:[["gradientUnits","userSpaceOnUse",3,"id"],[3,"stop-color","stop-opacity",4,"ngFor","ngForOf"]],template:function(a,n){1&a&&(e.O4$(),e.TgZ(0,"radialGradient",0),e.YNc(1,K4,1,5,"stop",1),e.qZA()),2&a&&(e.Q6J("id",n.name),e.uIk("cx",n.cx)("cy",n.cy)("r",n.r),e.xp6(1),e.Q6J("ngForOf",n.stops))},dependencies:[t.sg],encapsulation:2,changeDetection:0});class Sc{constructor(a){this.opacity=1,this.startOpacity=.5,this.endOpacity=1,this.gradient=!1,this.animations=!0,this.select=new e.vpe,this.animationsLoaded=!1,this.hasGradient=!1,this.barOrientation=Ca,this.element=a.nativeElement}ngOnChanges(){this.update(),this.animationsLoaded||(this.loadAnimation(),this.animationsLoaded=!0)}update(){this.gradientId="grad"+No().toString(),this.gradientFill=`url(#${this.gradientId})`,this.gradient||this.stops?(this.gradientStops=this.getGradient(),this.hasGradient=!0):this.hasGradient=!1,this.updatePathEl()}loadAnimation(){this.areaPath=this.startingPath,setTimeout(this.updatePathEl.bind(this),100)}updatePathEl(){const a=St(this.element).select(".area");this.animations?a.transition().duration(750).attr("d",this.path):a.attr("d",this.path)}getGradient(){return this.stops?this.stops:[{offset:0,color:this.fill,opacity:this.startOpacity},{offset:100,color:this.fill,opacity:this.endOpacity}]}}function J3(d,a,n,y){return n*(1-Math.pow(2,-10*d/y))*1024/1023+a}function tf(d,a,n,y,B){const q=Number(d),de=Number(a),Ie=q>de,ht=Math.max(0,n),yt=Math.pow(10,ht),Tt=1e3*Number(y);let ei;function zt(vi){let Si;const qi=vi-ei;Si=Ie?q-J3(qi,0,q-de,Tt):J3(qi,q,de-q,Tt),Si=Ie?Si<de?de:Si:Si>de?de:Si,Si=Math.round(Si*yt)/yt;const gi=qi<Tt;if(B({value:Si,progress:qi,timestamp:vi,finished:!gi}),gi)return requestAnimationFrame(Xi=>zt(Xi))}return requestAnimationFrame(vi=>(ei=vi,zt(vi)))}function $3(d){const a=Number(d);return a%1!=0&&Math.abs(a)<=10?2:0}Sc.\u0275fac=function(a){return new(a||Sc)(e.Y36(e.SBq))},Sc.\u0275cmp=e.Xpm({type:Sc,selectors:[["g","ngx-charts-area",""]],inputs:{data:"data",path:"path",startingPath:"startingPath",fill:"fill",opacity:"opacity",startOpacity:"startOpacity",endOpacity:"endOpacity",gradient:"gradient",stops:"stops",animations:"animations"},outputs:{select:"select"},features:[e.TTD],attrs:["ngx-charts-area",""],decls:2,vars:5,consts:[[4,"ngIf"],[1,"area"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"]],template:function(a,n){1&a&&(e.YNc(0,yp,2,3,"defs",0),e.O4$(),e._UZ(1,"path",1)),2&a&&(e.Q6J("ngIf",n.gradient),e.xp6(1),e.Udp("opacity",n.opacity),e.uIk("d",n.areaPath)("fill",n.gradient?n.gradientFill:n.fill))},dependencies:[ac,t.O5],encapsulation:2,changeDetection:0});class nl{constructor(a,n){this.cd=a,this.countDuration=1,this.countPrefix="",this.countSuffix="",this.countChange=new e.vpe,this.countFinish=new e.vpe,this.value="",this._countDecimals=0,this._countTo=0,this._countFrom=0,this.nativeElement=n.nativeElement}set countDecimals(a){this._countDecimals=a}get countDecimals(){return this._countDecimals?this._countDecimals:$3(this.countTo)}set countTo(a){this._countTo=parseFloat(a),this.start()}get countTo(){return this._countTo}set countFrom(a){this._countFrom=parseFloat(a),this.start()}get countFrom(){return this._countFrom}ngOnDestroy(){cancelAnimationFrame(this.animationReq)}start(){cancelAnimationFrame(this.animationReq);const a=this.valueFormatting||(y=>`${this.countPrefix}${y.toLocaleString()}${this.countSuffix}`);this.animationReq=tf(this.countFrom,this.countTo,this.countDecimals,this.countDuration,({value:y,progress:B,finished:q})=>{this.value=a(y),this.cd.markForCheck(),q||this.countChange.emit({value:this.value,progress:B}),q&&this.countFinish.emit({value:this.value,progress:B})})}}let nf;nl.\u0275fac=function(a){return new(a||nl)(e.Y36(e.sBO),e.Y36(e.SBq))},nl.\u0275cmp=e.Xpm({type:nl,selectors:[["","ngx-charts-count-up",""]],inputs:{countDuration:"countDuration",countPrefix:"countPrefix",countSuffix:"countSuffix",valueFormatting:"valueFormatting",countDecimals:"countDecimals",countTo:"countTo",countFrom:"countFrom"},outputs:{countChange:"countChange",countFinish:"countFinish"},attrs:["ngx-charts-count-up",""],decls:1,vars:1,template:function(a,n){1&a&&e._uU(0),2&a&&e.hij(" ",n.value," ")},encapsulation:2}),typeof window<"u"?nf=window:typeof global<"u"&&(nf=global);const af=nf.MouseEvent;function lm(d,a=!1,n=!0){if("function"==typeof af)return new af(d,{bubbles:a,cancelable:n});{const y=document.createEvent("MouseEvent");return y.initEvent(d,a,n),y}}class kc{constructor(a){this.platformId=a,this.anchorOpacity=0,this.anchorPos=-1,this.anchorValues=[],this.placementTypes=Un,this.styleTypes=Cs,this.showPercentage=!1,this.tooltipDisabled=!1,this.hover=new e.vpe}getValues(a){const n=[];for(const y of this.results){const B=y.series.find(de=>de.name.toString()===a.toString());let q=y.name;if(q instanceof Date&&(q=q.toLocaleDateString()),B){const de=B.name;let ht,Ie=B.value;if(this.showPercentage&&(Ie=(B.d1-B.d0).toFixed(2)+"%"),this.colors.scaleType===Ei.Linear){let Tt=Ie;B.d1&&(Tt=B.d1),ht=this.colors.getColor(Tt)}else ht=this.colors.getColor(y.name);const yt=Object.assign({},B,{value:Ie,name:de,series:q,min:B.min,max:B.max,color:ht});n.push(yt)}}return n}mouseMove(a){if(!(0,t.NF)(this.platformId))return;const n=a.pageX-a.target.getBoundingClientRect().left,y=this.findClosestPointIndex(n),B=this.xSet[y];if(this.anchorPos=this.xScale(B),this.anchorPos=Math.max(0,this.anchorPos),this.anchorPos=Math.min(this.dims.width,this.anchorPos),this.anchorValues=this.getValues(B),this.anchorPos!==this.lastAnchorPos){const q=lm("mouseleave");this.tooltipAnchor.nativeElement.dispatchEvent(q),this.anchorOpacity=.7,this.hover.emit({value:B}),this.showTooltip(),this.lastAnchorPos=this.anchorPos}}findClosestPointIndex(a){let n=0,y=this.xSet.length-1,B=Number.MAX_VALUE,q=0;for(;n<=y;){const de=(n+y)/2|0,Ie=this.xScale(this.xSet[de]),ht=Math.abs(Ie-a);if(ht<B&&(B=ht,q=de),Ie<a)n=de+1;else{if(!(Ie>a)){B=0,q=de;break}y=de-1}}return q}showTooltip(){const a=lm("mouseenter");this.tooltipAnchor.nativeElement.dispatchEvent(a)}hideTooltip(){const a=lm("mouseleave");this.tooltipAnchor.nativeElement.dispatchEvent(a),this.anchorOpacity=0,this.lastAnchorPos=-1}getToolTipText(a){let n="";return void 0!==a.series?n+=a.series:n+="???",n+=": ",void 0!==a.value&&(n+=a.value.toLocaleString()),(void 0!==a.min||void 0!==a.max)&&(n+=" (",void 0!==a.min?(void 0===a.max&&(n+="\u2265"),n+=a.min.toLocaleString(),void 0!==a.max&&(n+=" - ")):void 0!==a.max&&(n+="\u2264"),void 0!==a.max&&(n+=a.max.toLocaleString()),n+=")"),n}}kc.\u0275fac=function(a){return new(a||kc)(e.Y36(e.Lbi))},kc.\u0275cmp=e.Xpm({type:kc,selectors:[["g","ngx-charts-tooltip-area",""]],viewQuery:function(a,n){if(1&a&&e.Gf(Sl,5),2&a){let y;e.iGM(y=e.CRH())&&(n.tooltipAnchor=y.first)}},inputs:{dims:"dims",xSet:"xSet",xScale:"xScale",yScale:"yScale",results:"results",colors:"colors",showPercentage:"showPercentage",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate"},outputs:{hover:"hover"},attrs:["ngx-charts-tooltip-area",""],decls:6,vars:18,consts:[["y","0",1,"tooltip-area",2,"opacity","0","cursor","auto",3,"mousemove","mouseleave"],["defaultTooltipTemplate",""],["y","0","ngx-tooltip","",1,"tooltip-anchor",3,"tooltipDisabled","tooltipPlacement","tooltipType","tooltipSpacing","tooltipTemplate","tooltipContext","tooltipImmediateExit"],["tooltipAnchor",""],[1,"area-tooltip-container"],["class","tooltip-item",4,"ngFor","ngForOf"],[1,"tooltip-item"],[1,"tooltip-item-color"]],template:function(a,n){if(1&a&&(e.O4$(),e.TgZ(0,"g")(1,"rect",0),e.NdJ("mousemove",function(B){return n.mouseMove(B)})("mouseleave",function(){return n.hideTooltip()}),e.qZA(),e.YNc(2,G4,2,1,"ng-template",null,1,e.W1O),e._UZ(4,"rect",2,3),e.qZA()),2&a){const y=e.MAs(3);e.xp6(1),e.uIk("x",0)("width",n.dims.width)("height",n.dims.height),e.xp6(3),e.Udp("opacity",n.anchorOpacity)("pointer-events","none"),e.Q6J("@animationState",0!==n.anchorOpacity?"active":"inactive")("tooltipDisabled",n.tooltipDisabled)("tooltipPlacement",n.placementTypes.Right)("tooltipType",n.styleTypes.tooltip)("tooltipSpacing",15)("tooltipTemplate",n.tooltipTemplate?n.tooltipTemplate:y)("tooltipContext",n.anchorValues)("tooltipImmediateExit",!0),e.uIk("x",n.anchorPos)("width",1)("height",n.dims.height)}},dependencies:[t.sg,To],encapsulation:2,data:{animation:[(0,u.X$)("animationState",[(0,u.eR)("inactive => active",[(0,u.oB)({opacity:0}),(0,u.jt)(250,(0,u.oB)({opacity:.7}))]),(0,u.eR)("active => inactive",[(0,u.oB)({opacity:.7}),(0,u.jt)(250,(0,u.oB)({opacity:0}))])])]},changeDetection:0});class Nl{constructor(a,n){this.cd=n,this.height=50,this.select=new e.vpe,this.onDomainChange=new e.vpe,this.initialized=!1,this.element=a.nativeElement}ngOnChanges(a){this.update(),this.initialized||(this.addBrush(),this.initialized=!0)}update(){this.dims=this.getDims(),this.height=this.dims.height;const a=this.view[1]-this.height;this.xDomain=this.getXDomain(),this.xScale=this.getXScale(),this.brush&&this.updateBrush(),this.transform=`translate(0 , ${a})`,this.filterId="filter"+No().toString(),this.filter=`url(#${this.filterId})`,this.cd.markForCheck()}getXDomain(){let a=[];for(const y of this.results)for(const B of y.series)a.includes(B.name)||a.push(B.name);let n=[];if(this.scaleType===Ei.Time){n=[Math.min(...a),Math.max(...a)]}else if(this.scaleType===Ei.Linear){a=a.map(q=>Number(q));n=[Math.min(...a),Math.max(...a)]}else n=a;return n}getXScale(){let a;return this.scaleType===Ei.Time?a=ar().range([0,this.dims.width]).domain(this.xDomain):this.scaleType===Ei.Linear?a=fa().range([0,this.dims.width]).domain(this.xDomain):this.scaleType===Ei.Ordinal&&(a=jo().range([0,this.dims.width]).padding(.1).domain(this.xDomain)),a}addBrush(){if(this.brush)return;const a=this.height,n=this.view[0];this.brush=function Bu(){return ml(Uc)}().extent([[0,0],[n,a]]).on("brush end",({selection:y})=>{const q=(y||this.xScale.range()).map(this.xScale.invert);this.onDomainChange.emit(q),this.cd.markForCheck()}),St(this.element).select(".brush").call(this.brush)}updateBrush(){if(!this.brush)return;const a=this.height,n=this.view[0];this.brush.extent([[0,0],[n,a]]),St(this.element).select(".brush").call(this.brush),St(this.element).select(".selection").attr("fill",void 0).attr("stroke",void 0).attr("fill-opacity",void 0),this.cd.markForCheck()}getDims(){return{width:this.view[0],height:this.height}}}Nl.\u0275fac=function(a){return new(a||Nl)(e.Y36(e.SBq),e.Y36(e.sBO))},Nl.\u0275cmp=e.Xpm({type:Nl,selectors:[["g","ngx-charts-timeline",""]],inputs:{view:"view",results:"results",scheme:"scheme",customColors:"customColors",legend:"legend",autoScale:"autoScale",scaleType:"scaleType",height:"height"},outputs:{select:"select",onDomainChange:"onDomainChange"},features:[e.TTD],attrs:["ngx-charts-timeline",""],ngContentSelectors:fp,decls:7,vars:4,consts:[[1,"timeline"],["in","SourceGraphic","type","matrix","values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"],[1,"embedded-chart"],["x","0","y","0",1,"brush-background"],[1,"brush"]],template:function(a,n){1&a&&(e.F$t(),e.O4$(),e.TgZ(0,"g",0)(1,"filter"),e._UZ(2,"feColorMatrix",1),e.qZA(),e.TgZ(3,"g",2),e.Hsn(4),e.qZA(),e._UZ(5,"rect",3)(6,"g",4),e.qZA()),2&a&&(e.uIk("transform",n.transform),e.xp6(1),e.uIk("id",n.filterId),e.xp6(4),e.uIk("width",n.view[0])("height",n.height))},styles:[".timeline .brush-background{fill:#0000000d}.timeline .brush .selection{fill:#0000001a;stroke-width:1px;stroke:#888}.timeline .brush .handle{fill-opacity:0}.timeline .embedded-chart{opacity:.6}\n"],encapsulation:2,changeDetection:0});class C1{constructor(){this.label="Total",this.animations=!0,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.legendItems=[],this.labelFormatting=a=>a,this.percentageFormatting=a=>a,this.defaultValueFormatting=a=>a.toLocaleString()}ngOnChanges(a){this.update()}getTotal(){return this.data.map(a=>Number(a.value)).reduce((a,n)=>a+n,0)}update(){this.total=this.getTotal(),this.roundedTotal=this.total,this.legendItems=this.getLegendItems()}getLegendItems(){return this.data.map(a=>{const n=Do(a.name),y=a.value,B=this.colors.getColor(n),q=this.total>0?y/this.total*100:0,de="function"==typeof this.labelFormatting?this.labelFormatting(n):n;return{_value:y,data:a,value:y,color:B,label:de,displayLabel:Md(de,20),origialLabel:a.name,percentage:this.percentageFormatting?this.percentageFormatting(q):q.toLocaleString()}})}trackBy(a,n){return n.label}}C1.\u0275fac=function(a){return new(a||C1)},C1.\u0275cmp=e.Xpm({type:C1,selectors:[["ngx-charts-advanced-legend"]],inputs:{width:"width",data:"data",colors:"colors",label:"label",animations:"animations",valueFormatting:"valueFormatting",labelFormatting:"labelFormatting",percentageFormatting:"percentageFormatting"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[e.TTD],decls:8,vars:7,consts:[[1,"advanced-pie-legend"],["class","total-value","ngx-charts-count-up","",3,"countTo","valueFormatting",4,"ngIf"],["class","total-value",4,"ngIf"],[1,"total-label"],[1,"legend-items-container"],[1,"legend-items"],["tabindex","-1","class","legend-item",3,"mouseenter","mouseleave","click",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-count-up","",1,"total-value",3,"countTo","valueFormatting"],[1,"total-value"],["tabindex","-1",1,"legend-item",3,"mouseenter","mouseleave","click"],[1,"item-color"],["class","item-value","ngx-charts-count-up","",3,"countTo","valueFormatting",4,"ngIf"],["class","item-value",4,"ngIf"],[1,"item-label"],["class","item-percent","ngx-charts-count-up","",3,"countTo","countSuffix",4,"ngIf"],["class","item-percent",4,"ngIf"],["ngx-charts-count-up","",1,"item-value",3,"countTo","valueFormatting"],[1,"item-value"],["ngx-charts-count-up","",1,"item-percent",3,"countTo","countSuffix"],[1,"item-percent"]],template:function(a,n){1&a&&(e.TgZ(0,"div",0),e.YNc(1,xp,1,2,"div",1),e.YNc(2,Z4,2,1,"div",2),e.TgZ(3,"div",3),e._uU(4),e.qZA(),e.TgZ(5,"div",4)(6,"div",5),e.YNc(7,W0,8,7,"div",6),e.qZA()()()),2&a&&(e.Udp("width",n.width,"px"),e.xp6(1),e.Q6J("ngIf",n.animations),e.xp6(1),e.Q6J("ngIf",!n.animations),e.xp6(2),e.hij(" ",n.label," "),e.xp6(3),e.Q6J("ngForOf",n.legendItems)("ngForTrackBy",n.trackBy))},dependencies:[nl,t.O5,t.sg],styles:[".advanced-pie-legend{float:left;position:relative;top:50%;transform:translateY(-50%)}.advanced-pie-legend .total-value{font-size:36px}.advanced-pie-legend .total-label{font-size:24px;margin-bottom:19px}.advanced-pie-legend .legend-items-container{width:100%}.advanced-pie-legend .legend-items-container .legend-items{white-space:nowrap;overflow:auto}.advanced-pie-legend .legend-items-container .legend-items .legend-item{margin-right:20px;display:inline-block;cursor:pointer}.advanced-pie-legend .legend-items-container .legend-items .legend-item:focus{outline:none}.advanced-pie-legend .legend-items-container .legend-items .legend-item:hover{color:#000;transition:.2s}.advanced-pie-legend .legend-items-container .legend-items .legend-item .item-value{font-size:24px;margin-top:-6px;margin-left:11px}.advanced-pie-legend .legend-items-container .legend-items .legend-item .item-label{font-size:14px;opacity:.7;margin-left:11px;margin-top:-6px}.advanced-pie-legend .legend-items-container .legend-items .legend-item .item-percent{font-size:24px;opacity:.7;margin-left:11px}.advanced-pie-legend .legend-items-container .legend-items .legend-item .item-color{border-left:4px solid;width:4px;height:42px;float:left;margin-right:7px}\n"],encapsulation:2,changeDetection:0});class Fo{}function kr({width:d,height:a,margins:n,showXAxis:y=!1,showYAxis:B=!1,xAxisHeight:q=0,yAxisWidth:de=0,showXLabel:Ie=!1,showYLabel:ht=!1,showLegend:yt=!1,legendType:Tt=Ei.Ordinal,legendPosition:ei=Cr.Right,columns:zt=12}){let vi=n[3],Si=d,qi=a-n[0]-n[2];return yt&&ei===Cr.Right&&(Tt===Ei.Ordinal?zt-=2:zt-=1),Si=Si*zt/12,Si=Si-n[1]-n[3],y&&(qi-=5,qi-=q,Ie&&(qi-=30)),B&&(Si-=5,Si-=de,vi+=de,vi+=10,ht&&(Si-=30,vi+=30)),Si=Math.max(0,Si),qi=Math.max(0,qi),{width:Math.floor(Si),height:Math.floor(qi),xOffset:Math.floor(vi)}}Fo.\u0275fac=function(a){return new(a||Fo)},Fo.\u0275mod=e.oAB({type:Fo}),Fo.\u0275inj=e.cJS({imports:[[t.ez,W2,b1],t.ez,W2,b1]});const t4=[{name:"vivid",selectable:!0,group:Ei.Ordinal,domain:["#647c8a","#3f51b5","#2196f3","#00b862","#afdf0a","#a7b61a","#f3e562","#ff9800","#ff5722","#ff4514"]},{name:"natural",selectable:!0,group:Ei.Ordinal,domain:["#bf9d76","#e99450","#d89f59","#f2dfa7","#a5d7c6","#7794b1","#afafaf","#707160","#ba9383","#d9d5c3"]},{name:"cool",selectable:!0,group:Ei.Ordinal,domain:["#a8385d","#7aa3e5","#a27ea8","#aae3f5","#adcded","#a95963","#8796c0","#7ed3ed","#50abcc","#ad6886"]},{name:"fire",selectable:!0,group:Ei.Ordinal,domain:["#ff3d00","#bf360c","#ff8f00","#ff6f00","#ff5722","#e65100","#ffca28","#ffab00"]},{name:"solar",selectable:!0,group:Ei.Linear,domain:["#fff8e1","#ffecb3","#ffe082","#ffd54f","#ffca28","#ffc107","#ffb300","#ffa000","#ff8f00","#ff6f00"]},{name:"air",selectable:!0,group:Ei.Linear,domain:["#e1f5fe","#b3e5fc","#81d4fa","#4fc3f7","#29b6f6","#03a9f4","#039be5","#0288d1","#0277bd","#01579b"]},{name:"aqua",selectable:!0,group:Ei.Linear,domain:["#e0f7fa","#b2ebf2","#80deea","#4dd0e1","#26c6da","#00bcd4","#00acc1","#0097a7","#00838f","#006064"]},{name:"flame",selectable:!1,group:Ei.Ordinal,domain:["#A10A28","#D3342D","#EF6D49","#FAAD67","#FDDE90","#DBED91","#A9D770","#6CBA67","#2C9653","#146738"]},{name:"ocean",selectable:!1,group:Ei.Ordinal,domain:["#1D68FB","#33C0FC","#4AFFFE","#AFFFFF","#FFFC63","#FDBD2D","#FC8A25","#FA4F1E","#FA141B","#BA38D1"]},{name:"forest",selectable:!1,group:Ei.Ordinal,domain:["#55C22D","#C1F33D","#3CC099","#AFFFFF","#8CFC9D","#76CFFA","#BA60FB","#EE6490","#C42A1C","#FC9F32"]},{name:"horizon",selectable:!1,group:Ei.Ordinal,domain:["#2597FB","#65EBFD","#99FDD0","#FCEE4B","#FEFCFA","#FDD6E3","#FCB1A8","#EF6F7B","#CB96E8","#EFDEE0"]},{name:"neons",selectable:!1,group:Ei.Ordinal,domain:["#FF3333","#FF33FF","#CC33FF","#0000FF","#33CCFF","#33FFFF","#33FF66","#CCFF33","#FFCC00","#FF6600"]},{name:"picnic",selectable:!1,group:Ei.Ordinal,domain:["#FAC51D","#66BD6D","#FAA026","#29BB9C","#E96B56","#55ACD2","#B7332F","#2C83C9","#9166B8","#92E7E8"]},{name:"night",selectable:!1,group:Ei.Ordinal,domain:["#2B1B5A","#501356","#183356","#28203F","#391B3C","#1E2B3C","#120634","#2D0432","#051932","#453080","#75267D","#2C507D","#4B3880","#752F7D","#35547D"]},{name:"nightLights",selectable:!1,group:Ei.Ordinal,domain:["#4e31a5","#9c25a7","#3065ab","#57468b","#904497","#46648b","#32118d","#a00fb3","#1052a2","#6e51bd","#b63cc3","#6c97cb","#8671c1","#b455be","#7496c3"]}];class wr{constructor(a,n,y,B){"string"==typeof a&&(a=t4.find(q=>q.name===a)),this.colorDomain=a.domain,this.scaleType=n,this.domain=y,this.customColors=B,this.scale=this.generateColorScheme(a,n,this.domain)}generateColorScheme(a,n,y){let B;switch("string"==typeof a&&(a=t4.find(q=>q.name===a)),n){case Ei.Quantile:B=O0().range(a.domain).domain(y);break;case Ei.Ordinal:B=Co().range(a.domain).domain(y);break;case Ei.Linear:{const q=[...a.domain];1===q.length&&(q.push(q[0]),this.colorDomain=q);const de=I0(0,1,1/q.length);B=fa().range(q).domain(de)}}return B}getColor(a){if(null==a)throw new Error("Value can not be null");if(this.scaleType===Ei.Linear){const n=fa().domain(this.domain).range([0,1]);return this.scale(n(a))}{if("function"==typeof this.customColors)return this.customColors(a);const n=a.toString();let y;return this.customColors&&this.customColors.length>0&&(y=this.customColors.find(B=>B.name.toLowerCase()===n.toLowerCase())),y?y.value:this.scale(a)}}getLinearGradientStops(a,n){void 0===n&&(n=this.domain[0]);const y=fa().domain(this.domain).range([0,1]),B=wo().domain(this.colorDomain).range([0,1]),q=this.getColor(a),de=y(n),Ie=this.getColor(n),ht=y(a);let yt=1,Tt=de;const ei=[];for(ei.push({color:Ie,offset:de,originalOffset:de,opacity:1});Tt<ht&&yt<this.colorDomain.length;){const zt=this.colorDomain[yt],vi=B(zt);if(vi<=de)yt++;else{if(vi.toFixed(4)>=(ht-B.bandwidth()).toFixed(4))break;ei.push({color:zt,offset:vi,opacity:1}),Tt=vi,yt++}}if(ei[ei.length-1].offset<100&&ei.push({color:q,offset:ht,opacity:1}),ht===de)ei[0].offset=0,ei[1].offset=100;else if(100!==ei[ei.length-1].offset)for(const zt of ei)zt.offset=(zt.offset-de)/(ht-de)*100;return ei}}function dm(d){const a=new Set;for(const n of d)for(const y of n.series)a.add(y.name);return Array.from(a)}function al(d,a=!0){return a&&d.every(B=>B instanceof Date)?Ei.Time:d.every(y=>"number"==typeof y)?Ei.Linear:Ei.Ordinal}function rf(d,a,n="asc"){return d.sort((y,B)=>"asc"===n?y[a]-B[a]:B[a]-y[a])}function sf(d,a,n="asc",y){return d.sort((B,q)=>{const de=B[a],Ie=q[a],ht=y.indexOf(de),yt=y.indexOf(Ie);return"asc"===n?ht-yt:yt-ht})}function cf(d,a,n="asc"){return d.sort((y,B)=>{const q=y[a].getTime(),de=B[a].getTime();return"asc"===n?q>de?1:de>q?-1:0:q>de?-1:de>q?1:0})}class w1{constructor(){this.baseValue="auto",this.stacked=!1,this.normalized=!1,this.animations=!0,this.select=new e.vpe}ngOnChanges(a){this.update()}update(){let a,n;this.updateGradient();const y=q=>{const de=q.name;return this.xScale(de)};this.stacked||this.normalized?(a=Ll().x(y).y0((q,de)=>this.yScale(q.d0)).y1((q,de)=>this.yScale(q.d1)),n=Ll().x(y).y0(q=>this.yScale.range()[0]).y1(q=>this.yScale.range()[0])):(a=Ll().x(y).y0(()=>"auto"===this.baseValue?this.yScale.range()[0]:this.yScale(this.baseValue)).y1(q=>this.yScale(q.value)),n=Ll().x(y).y0(q=>"auto"===this.baseValue?this.yScale.range()[0]:this.yScale(this.baseValue)).y1(q=>"auto"===this.baseValue?this.yScale.range()[0]:this.yScale(this.baseValue))),a.curve(this.curve),n.curve(this.curve),this.opacity=.8;let B=this.data.series;B=this.scaleType===Ei.Linear?rf(B,"name"):this.scaleType===Ei.Time?cf(B,"name"):sf(B,"name","asc",this.xScale.domain()),this.path=a(B),this.startingPath=n(B)}updateGradient(){if(this.colors.scaleType===Ei.Linear)if(this.hasGradient=!0,this.stacked||this.normalized){const a=this.data.series.map(q=>q.d0),n=this.data.series.map(q=>q.d1),y=Math.max(...n),B=Math.min(...a);this.gradientStops=this.colors.getLinearGradientStops(y,B)}else{const a=this.data.series.map(y=>y.value),n=Math.max(...a);this.gradientStops=this.colors.getLinearGradientStops(n)}else this.hasGradient=!1,this.gradientStops=void 0}isActive(a){return!!this.activeEntries&&void 0!==this.activeEntries.find(y=>a.name===y.name)}isInactive(a){return!(!this.activeEntries||0===this.activeEntries.length)&&void 0===this.activeEntries.find(y=>a.name===y.name)}}w1.\u0275fac=function(a){return new(a||w1)},w1.\u0275cmp=e.Xpm({type:w1,selectors:[["g","ngx-charts-area-series",""]],inputs:{data:"data",xScale:"xScale",yScale:"yScale",baseValue:"baseValue",colors:"colors",scaleType:"scaleType",stacked:"stacked",normalized:"normalized",gradient:"gradient",curve:"curve",activeEntries:"activeEntries",animations:"animations"},outputs:{select:"select"},features:[e.TTD],attrs:["ngx-charts-area-series",""],decls:1,vars:12,consts:[["ngx-charts-area","",1,"area-series",3,"data","path","fill","stops","startingPath","opacity","gradient","animations"]],template:function(a,n){1&a&&(e.O4$(),e._UZ(0,"g",0)),2&a&&(e.ekj("active",n.isActive(n.data))("inactive",n.isInactive(n.data)),e.Q6J("data",n.data)("path",n.path)("fill",n.colors.getColor(n.data.name))("stops",n.gradientStops)("startingPath",n.startingPath)("opacity",n.opacity)("gradient",n.gradient||n.hasGradient)("animations",n.animations))},dependencies:[Sc],encapsulation:2,changeDetection:0});class vu extends $a{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=Cr.Right,this.xAxis=!1,this.yAxis=!1,this.baseValue="auto",this.autoScale=!1,this.timeline=!1,this.showGridLines=!0,this.curve=Il,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.roundDomains=!1,this.tooltipDisabled=!1,this.activate=new e.vpe,this.deactivate=new e.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.timelineHeight=50,this.timelinePadding=10,this.trackBy=(a,n)=>n.name}update(){super.update(),this.dims=kr({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.timeline&&(this.dims.height-=this.timelineHeight+this.margin[2]+this.timelinePadding),this.xDomain=this.getXDomain(),this.filteredDomain&&(this.xDomain=this.filteredDomain),this.yDomain=this.getYDomain(),this.seriesDomain=this.getSeriesDomain(),this.xScale=this.getXScale(this.xDomain,this.dims.width),this.yScale=this.getYScale(this.yDomain,this.dims.height),this.updateTimeline(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset}, ${this.margin[0]})`,this.clipPathId="clip"+No().toString(),this.clipPath=`url(#${this.clipPathId})`}updateTimeline(){this.timeline&&(this.timelineWidth=this.dims.width,this.timelineXDomain=this.getXDomain(),this.timelineXScale=this.getXScale(this.timelineXDomain,this.timelineWidth),this.timelineYScale=this.getYScale(this.yDomain,this.timelineHeight),this.timelineTransform=`translate(${this.dims.xOffset}, ${-this.margin[2]})`)}getXDomain(){let a=dm(this.results);this.scaleType=al(a);let y,B,n=[];return this.scaleType===Ei.Linear&&(a=a.map(q=>Number(q))),(this.scaleType===Ei.Time||this.scaleType===Ei.Linear)&&(y=this.xScaleMin?this.xScaleMin:Math.min(...a),B=this.xScaleMax?this.xScaleMax:Math.max(...a)),this.scaleType===Ei.Time?(n=[new Date(y),new Date(B)],this.xSet=[...a].sort((q,de)=>{const Ie=q.getTime(),ht=de.getTime();return Ie>ht?1:ht>Ie?-1:0})):this.scaleType===Ei.Linear?(n=[y,B],this.xSet=[...a].sort((q,de)=>q-de)):(n=a,this.xSet=a),n}getYDomain(){const a=[];for(const q of this.results)for(const de of q.series)a.includes(de.value)||a.push(de.value);const n=[...a];this.autoScale||n.push(0),"auto"!==this.baseValue&&n.push(this.baseValue);return[this.yScaleMin?this.yScaleMin:Math.min(...n),this.yScaleMax?this.yScaleMax:Math.max(...n)]}getSeriesDomain(){return this.results.map(a=>a.name)}getXScale(a,n){let y;return this.scaleType===Ei.Time?y=ar():this.scaleType===Ei.Linear?y=fa():this.scaleType===Ei.Ordinal&&(y=jo().padding(.1)),y.range([0,n]).domain(a),this.roundDomains?y.nice():y}getYScale(a,n){const y=fa().range([n,0]).domain(a);return this.roundDomains?y.nice():y}getScaleType(a){let n=!0,y=!0;for(const B of a)sm(B)&&(n=!1),q3(B)&&(y=!1);return n?Ei.Time:y?Ei.Linear:Ei.Ordinal}updateDomain(a){this.filteredDomain=a,this.xDomain=this.filteredDomain,this.xScale=this.getXScale(this.xDomain,this.dims.width)}updateHoveredVertical(a){this.hoveredVertical=a.value,this.deactivateAll()}hideCircles(){this.hoveredVertical=null,this.deactivateAll()}onClick(a,n){n&&(a.series=n.name),this.select.emit(a)}setColors(){let a;a=this.schemeType===Ei.Ordinal?this.seriesDomain:this.yDomain,this.colors=new wr(this.scheme,this.schemeType,a,this.customColors)}getLegendOptions(){const a={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return a.scaleType===Ei.Ordinal?(a.domain=this.seriesDomain,a.colors=this.colors,a.title=this.legendTitle):(a.domain=this.yDomain,a.colors=this.colors.scale),a}updateYAxisWidth({width:a}){this.yAxisWidth=a,this.update()}updateXAxisHeight({height:a}){this.xAxisHeight=a,this.update()}onActivate(a){this.activeEntries.findIndex(y=>y.name===a.name&&y.value===a.value)>-1||(this.activeEntries=[a,...this.activeEntries],this.activate.emit({value:a,entries:this.activeEntries}))}onDeactivate(a){const n=this.activeEntries.findIndex(y=>y.name===a.name&&y.value===a.value);this.activeEntries.splice(n,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:a,entries:this.activeEntries})}deactivateAll(){this.activeEntries=[...this.activeEntries];for(const a of this.activeEntries)this.deactivate.emit({value:a,entries:[]});this.activeEntries=[]}}vu.\u0275fac=function(){let d;return function(n){return(d||(d=e.n5z(vu)))(n||vu)}}(),vu.\u0275cmp=e.Xpm({type:vu,selectors:[["ngx-charts-area-chart"]],contentQueries:function(a,n,y){if(1&a&&(e.Suo(y,zr,5),e.Suo(y,Jc,5)),2&a){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.first),e.iGM(B=e.CRH())&&(n.seriesTooltipTemplate=B.first)}},hostBindings:function(a,n){1&a&&e.NdJ("mouseleave",function(){return n.hideCircles()})},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",baseValue:"baseValue",autoScale:"autoScale",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",timeline:"timeline",gradient:"gradient",showGridLines:"showGridLines",curve:"curve",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",roundDomains:"roundDomains",tooltipDisabled:"tooltipDisabled",xScaleMin:"xScaleMin",xScaleMax:"xScaleMax",yScaleMin:"yScaleMin",yScaleMax:"yScaleMax"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:11,vars:20,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"area-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"mouseleave",4,"ngIf"],["ngx-charts-timeline","",3,"results","view","height","scheme","customColors","legend","scaleType","onDomainChange",4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-area-series","",3,"xScale","yScale","baseValue","colors","data","activeEntries","scaleType","gradient","curve","animations"],[3,"mouseleave"],["ngx-charts-tooltip-area","",3,"dims","xSet","xScale","yScale","results","colors","tooltipDisabled","tooltipTemplate","hover"],[4,"ngFor","ngForOf"],["ngx-charts-circle-series","",3,"xScale","yScale","colors","activeEntries","data","scaleType","visibleValue","tooltipDisabled","tooltipTemplate","select","activate","deactivate"],["ngx-charts-timeline","",3,"results","view","height","scheme","customColors","legend","scaleType","onDomainChange"],["ngx-charts-area-series","",3,"xScale","yScale","baseValue","colors","data","scaleType","gradient","curve","animations"]],template:function(a,n){1&a&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelClick",function(B){return n.onClick(B)})("legendLabelActivate",function(B){return n.onActivate(B)})("legendLabelDeactivate",function(B){return n.onDeactivate(B)}),e.O4$(),e.TgZ(1,"defs")(2,"clipPath"),e._UZ(3,"rect"),e.qZA()(),e.TgZ(4,"g",1),e.YNc(5,O2,1,10,"g",2),e.YNc(6,S2,1,9,"g",3),e.TgZ(7,"g"),e.YNc(8,k2,2,10,"g",4),e.YNc(9,R2,3,9,"g",5),e.qZA()(),e.YNc(10,f1,2,13,"g",6),e.qZA()),2&a&&(e.Q6J("view",e.WLB(17,Ra,n.width,n.height))("showLegend",n.legend)("legendOptions",n.legendOptions)("activeEntries",n.activeEntries)("animations",n.animations),e.xp6(2),e.uIk("id",n.clipPathId),e.xp6(1),e.uIk("width",n.dims.width+10)("height",n.dims.height+10)("transform","translate(-5, -5)"),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngIf",n.xAxis),e.xp6(1),e.Q6J("ngIf",n.yAxis),e.xp6(1),e.uIk("clip-path",n.clipPath),e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy),e.xp6(1),e.Q6J("ngIf",!n.tooltipDisabled),e.xp6(1),e.Q6J("ngIf",n.timeline&&"ordinal"!=n.scaleType))},dependencies:[Ba,Bo,_o,w1,kc,Bl,Nl,t.O5,t.sg],styles:[".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"],encapsulation:2,changeDetection:0});class Z2 extends $a{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=Cr.Right,this.showXAxisLabel=!1,this.showYAxisLabel=!1,this.showGridLines=!0,this.curve=Il,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.roundDomains=!1,this.tooltipDisabled=!1,this.activate=new e.vpe,this.deactivate=new e.vpe,this.yDomain=[0,100],this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.seriesType=y1,this.timelineHeight=50,this.timelinePadding=10,this.trackBy=(a,n)=>n.name}update(){super.update(),this.dims=kr({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.timeline&&(this.dims.height-=this.timelineHeight+this.margin[2]+this.timelinePadding),this.xDomain=this.getXDomain(),this.filteredDomain&&(this.xDomain=this.filteredDomain),this.seriesDomain=this.getSeriesDomain(),this.xScale=this.getXScale(this.xDomain,this.dims.width),this.yScale=this.getYScale(this.yDomain,this.dims.height);for(let a=0;a<this.xSet.length;a++){const n=this.xSet[a];let y=0,B=0;for(const q of this.results){const de=q.series.find(Ie=>{let ht=Ie.name,yt=n;return this.scaleType===Ei.Time&&(ht=ht.valueOf(),yt=yt.valueOf()),ht===yt});de&&(B+=de.value)}for(const q of this.results){let de=q.series.find(Ie=>{let ht=Ie.name,yt=n;return this.scaleType===Ei.Time&&(ht=ht.valueOf(),yt=yt.valueOf()),ht===yt});de?(de.d0=y,de.d1=y+de.value,y+=de.value):(de={name:n,value:0,d0:y,d1:y},q.series.push(de)),B>0?(de.d0=100*de.d0/B,de.d1=100*de.d1/B):(de.d0=0,de.d1=0)}}this.updateTimeline(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`,this.clipPathId="clip"+No().toString(),this.clipPath=`url(#${this.clipPathId})`}updateTimeline(){this.timeline&&(this.timelineWidth=this.dims.width,this.timelineXDomain=this.getXDomain(),this.timelineXScale=this.getXScale(this.timelineXDomain,this.timelineWidth),this.timelineYScale=this.getYScale(this.yDomain,this.timelineHeight),this.timelineTransform=`translate(${this.dims.xOffset}, ${-this.margin[2]})`)}getXDomain(){let a=dm(this.results);this.scaleType=al(a);let n=[];if(this.scaleType===Ei.Time){const y=Math.min(...a),B=Math.max(...a);n=[new Date(y),new Date(B)],this.xSet=[...a].sort((q,de)=>{const Ie=q.getTime(),ht=de.getTime();return Ie>ht?1:ht>Ie?-1:0})}else if(this.scaleType===Ei.Linear){a=a.map(q=>Number(q));n=[Math.min(...a),Math.max(...a)],this.xSet=[...a].sort((q,de)=>q-de)}else n=a,this.xSet=a;return n}getSeriesDomain(){return this.results.map(a=>a.name)}getXScale(a,n){let y;return this.scaleType===Ei.Time?y=ar():this.scaleType===Ei.Linear?y=fa():this.scaleType===Ei.Ordinal&&(y=jo().padding(.1)),y.range([0,n]).domain(a),this.roundDomains?y.nice():y}getYScale(a,n){const y=fa().range([n,0]).domain(a);return this.roundDomains?y.nice():y}updateDomain(a){this.filteredDomain=a,this.xDomain=this.filteredDomain,this.xScale=this.getXScale(this.xDomain,this.dims.width)}updateHoveredVertical(a){this.hoveredVertical=a.value,this.deactivateAll()}hideCircles(){this.hoveredVertical=null,this.deactivateAll()}onClick(a,n){n&&(a.series=n.name),this.select.emit(a)}setColors(){let a;a=this.schemeType===Ei.Ordinal?this.seriesDomain:this.yDomain,this.colors=new wr(this.scheme,this.schemeType,a,this.customColors)}getLegendOptions(){const a={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return a.scaleType===Ei.Ordinal?(a.domain=this.seriesDomain,a.colors=this.colors,a.title=this.legendTitle):(a.domain=this.yDomain,a.colors=this.colors.scale),a}updateYAxisWidth({width:a}){this.yAxisWidth=a,this.update()}updateXAxisHeight({height:a}){this.xAxisHeight=a,this.update()}onActivate(a){this.activeEntries.findIndex(y=>y.name===a.name&&y.value===a.value)>-1||(this.activeEntries=[a,...this.activeEntries],this.activate.emit({value:a,entries:this.activeEntries}))}onDeactivate(a){const n=this.activeEntries.findIndex(y=>y.name===a.name&&y.value===a.value);this.activeEntries.splice(n,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:a,entries:this.activeEntries})}deactivateAll(){this.activeEntries=[...this.activeEntries];for(const a of this.activeEntries)this.deactivate.emit({value:a,entries:[]});this.activeEntries=[]}}Z2.\u0275fac=function(){let d;return function(n){return(d||(d=e.n5z(Z2)))(n||Z2)}}(),Z2.\u0275cmp=e.Xpm({type:Z2,selectors:[["ngx-charts-area-chart-normalized"]],contentQueries:function(a,n,y){if(1&a&&(e.Suo(y,zr,5),e.Suo(y,Jc,5)),2&a){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.first),e.iGM(B=e.CRH())&&(n.seriesTooltipTemplate=B.first)}},hostBindings:function(a,n){1&a&&e.NdJ("mouseleave",function(){return n.hideCircles()})},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",timeline:"timeline",gradient:"gradient",showGridLines:"showGridLines",curve:"curve",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",roundDomains:"roundDomains",tooltipDisabled:"tooltipDisabled"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:11,vars:20,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"area-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"mouseleave",4,"ngIf"],["ngx-charts-timeline","",3,"results","view","height","scheme","customColors","legend","scaleType","onDomainChange",4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-area-series","",3,"xScale","yScale","colors","data","scaleType","activeEntries","gradient","normalized","curve","animations"],[3,"mouseleave"],["ngx-charts-tooltip-area","",3,"dims","xSet","xScale","yScale","results","colors","showPercentage","tooltipDisabled","tooltipTemplate","hover"],[4,"ngFor","ngForOf"],["ngx-charts-circle-series","",3,"type","xScale","yScale","colors","activeEntries","data","scaleType","visibleValue","tooltipDisabled","tooltipTemplate","select","activate","deactivate"],["ngx-charts-timeline","",3,"results","view","height","scheme","customColors","legend","scaleType","onDomainChange"],["ngx-charts-area-series","",3,"xScale","yScale","colors","data","scaleType","gradient","normalized","curve","animations"]],template:function(a,n){1&a&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelClick",function(B){return n.onClick(B)})("legendLabelActivate",function(B){return n.onActivate(B)})("legendLabelDeactivate",function(B){return n.onDeactivate(B)}),e.O4$(),e.TgZ(1,"defs")(2,"clipPath"),e._UZ(3,"rect"),e.qZA()(),e.TgZ(4,"g",1),e.YNc(5,Cp,1,10,"g",2),e.YNc(6,qf,1,9,"g",3),e.TgZ(7,"g"),e.YNc(8,Xf,2,10,"g",4),e.YNc(9,wp,3,10,"g",5),e.qZA()(),e.YNc(10,e3,2,13,"g",6),e.qZA()),2&a&&(e.Q6J("view",e.WLB(17,Ra,n.width,n.height))("showLegend",n.legend)("legendOptions",n.legendOptions)("activeEntries",n.activeEntries)("animations",n.animations),e.xp6(2),e.uIk("id",n.clipPathId),e.xp6(1),e.uIk("width",n.dims.width+10)("height",n.dims.height+10)("transform","translate(-5, -5)"),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngIf",n.xAxis),e.xp6(1),e.Q6J("ngIf",n.yAxis),e.xp6(1),e.uIk("clip-path",n.clipPath),e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy),e.xp6(1),e.Q6J("ngIf",!n.tooltipDisabled),e.xp6(1),e.Q6J("ngIf",n.timeline&&"ordinal"!=n.scaleType))},dependencies:[Ba,Bo,_o,w1,kc,Bl,Nl,t.O5,t.sg],styles:[Sr],encapsulation:2,changeDetection:0});class bu extends $a{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=Cr.Right,this.xAxis=!1,this.yAxis=!1,this.timeline=!1,this.showGridLines=!0,this.curve=Il,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.roundDomains=!1,this.tooltipDisabled=!1,this.activate=new e.vpe,this.deactivate=new e.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.timelineHeight=50,this.timelinePadding=10,this.seriesType=y1}update(){super.update(),this.dims=kr({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.timeline&&(this.dims.height-=this.timelineHeight+this.margin[2]+this.timelinePadding),this.xDomain=this.getXDomain(),this.filteredDomain&&(this.xDomain=this.filteredDomain),this.yDomain=this.getYDomain(),this.seriesDomain=this.getSeriesDomain(),this.xScale=this.getXScale(this.xDomain,this.dims.width),this.yScale=this.getYScale(this.yDomain,this.dims.height);for(let a=0;a<this.xSet.length;a++){const n=this.xSet[a];let y=0;for(const B of this.results){let q=B.series.find(de=>{let Ie=de.name,ht=n;return this.scaleType===Ei.Time&&(Ie=Ie.valueOf(),ht=ht.valueOf()),Ie===ht});q?(q.d0=y,q.d1=y+q.value,y+=q.value):(q={name:n,value:0,d0:y,d1:y},B.series.push(q))}}this.updateTimeline(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`,this.clipPathId="clip"+No().toString(),this.clipPath=`url(#${this.clipPathId})`}updateTimeline(){this.timeline&&(this.timelineWidth=this.dims.width,this.timelineXDomain=this.getXDomain(),this.timelineXScale=this.getXScale(this.timelineXDomain,this.timelineWidth),this.timelineYScale=this.getYScale(this.yDomain,this.timelineHeight),this.timelineTransform=`translate(${this.dims.xOffset}, ${-this.margin[2]})`)}getXDomain(){let a=dm(this.results);this.scaleType=al(a);let y,B,n=[];return this.scaleType===Ei.Linear&&(a=a.map(q=>Number(q))),(this.scaleType===Ei.Time||this.scaleType===Ei.Linear)&&(y=this.xScaleMin?this.xScaleMin:Math.min(...a),B=this.xScaleMax?this.xScaleMax:Math.max(...a)),this.scaleType===Ei.Time?(n=[new Date(y),new Date(B)],this.xSet=[...a].sort((q,de)=>{const Ie=q.getTime(),ht=de.getTime();return Ie>ht?1:ht>Ie?-1:0})):this.scaleType===Ei.Linear?(n=[y,B],this.xSet=[...a].sort((q,de)=>q-de)):(n=a,this.xSet=a),n}getYDomain(){const a=[];for(let B=0;B<this.xSet.length;B++){const q=this.xSet[B];let de=0;for(const Ie of this.results){const ht=Ie.series.find(yt=>{let Tt=yt.name,ei=q;return this.scaleType===Ei.Time&&(Tt=Tt.valueOf(),ei=ei.valueOf()),Tt===ei});ht&&(de+=ht.value)}a.push(de)}return[this.yScaleMin?this.yScaleMin:Math.min(0,...a),this.yScaleMax?this.yScaleMax:Math.max(...a)]}getSeriesDomain(){return this.results.map(a=>a.name)}getXScale(a,n){let y;return this.scaleType===Ei.Time?y=ar():this.scaleType===Ei.Linear?y=fa():this.scaleType===Ei.Ordinal&&(y=jo().padding(.1)),y.range([0,n]).domain(a),this.roundDomains?y.nice():y}getYScale(a,n){const y=fa().range([n,0]).domain(a);return this.roundDomains?y.nice():y}updateDomain(a){this.filteredDomain=a,this.xDomain=this.filteredDomain,this.xScale=this.getXScale(this.xDomain,this.dims.width)}updateHoveredVertical(a){this.hoveredVertical=a.value,this.deactivateAll()}hideCircles(){this.hoveredVertical=null,this.deactivateAll()}onClick(a,n){n&&(a.series=n.name),this.select.emit(a)}trackBy(a,n){return`${n.name}`}setColors(){let a;a=this.schemeType===Ei.Ordinal?this.seriesDomain:this.yDomain,this.colors=new wr(this.scheme,this.schemeType,a,this.customColors)}getLegendOptions(){const a={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return a.scaleType===Ei.Ordinal?(a.domain=this.seriesDomain,a.colors=this.colors,a.title=this.legendTitle):(a.domain=this.yDomain,a.colors=this.colors.scale),a}updateYAxisWidth({width:a}){this.yAxisWidth=a,this.update()}updateXAxisHeight({height:a}){this.xAxisHeight=a,this.update()}onActivate(a){this.activeEntries.findIndex(y=>y.name===a.name&&y.value===a.value)>-1||(this.activeEntries=[a,...this.activeEntries],this.activate.emit({value:a,entries:this.activeEntries}))}onDeactivate(a){const n=this.activeEntries.findIndex(y=>y.name===a.name&&y.value===a.value);this.activeEntries.splice(n,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:a,entries:this.activeEntries})}deactivateAll(){this.activeEntries=[...this.activeEntries];for(const a of this.activeEntries)this.deactivate.emit({value:a,entries:[]});this.activeEntries=[]}}bu.\u0275fac=function(){let d;return function(n){return(d||(d=e.n5z(bu)))(n||bu)}}(),bu.\u0275cmp=e.Xpm({type:bu,selectors:[["ngx-charts-area-chart-stacked"]],contentQueries:function(a,n,y){if(1&a&&(e.Suo(y,zr,5),e.Suo(y,Jc,5)),2&a){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.first),e.iGM(B=e.CRH())&&(n.seriesTooltipTemplate=B.first)}},hostBindings:function(a,n){1&a&&e.NdJ("mouseleave",function(){return n.hideCircles()})},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",timeline:"timeline",gradient:"gradient",showGridLines:"showGridLines",curve:"curve",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",roundDomains:"roundDomains",tooltipDisabled:"tooltipDisabled",xScaleMin:"xScaleMin",xScaleMax:"xScaleMax",yScaleMin:"yScaleMin",yScaleMax:"yScaleMax"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:11,vars:20,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"area-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"mouseleave",4,"ngIf"],["ngx-charts-timeline","",3,"results","view","height","scheme","customColors","legend","scaleType","onDomainChange",4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-area-series","",3,"xScale","yScale","colors","data","scaleType","gradient","activeEntries","stacked","curve","animations"],[3,"mouseleave"],["ngx-charts-tooltip-area","",3,"dims","xSet","xScale","yScale","results","colors","tooltipDisabled","tooltipTemplate","hover"],["ngx-charts-circle-series","",3,"type","xScale","yScale","colors","activeEntries","data","scaleType","visibleValue","tooltipDisabled","tooltipTemplate","select","activate","deactivate"],["ngx-charts-timeline","",3,"results","view","height","scheme","customColors","legend","scaleType","onDomainChange"],["ngx-charts-area-series","",3,"xScale","yScale","colors","data","scaleType","gradient","stacked","curve","animations"]],template:function(a,n){1&a&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelClick",function(B){return n.onClick(B)})("legendLabelActivate",function(B){return n.onActivate(B)})("legendLabelDeactivate",function(B){return n.onDeactivate(B)}),e.O4$(),e.TgZ(1,"defs")(2,"clipPath"),e._UZ(3,"rect"),e.qZA()(),e.TgZ(4,"g",1),e.YNc(5,t3,1,10,"g",2),e.YNc(6,Y4,1,9,"g",3),e.TgZ(7,"g"),e.YNc(8,Q4,2,10,"g",4),e.YNc(9,j4,3,10,"g",5),e.qZA()(),e.YNc(10,Mp,2,13,"g",6),e.qZA()),2&a&&(e.Q6J("view",e.WLB(17,Ra,n.width,n.height))("showLegend",n.legend)("legendOptions",n.legendOptions)("activeEntries",n.activeEntries)("animations",n.animations),e.xp6(2),e.uIk("id",n.clipPathId),e.xp6(1),e.uIk("width",n.dims.width+10)("height",n.dims.height+10)("transform","translate(-5, -5)"),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngIf",n.xAxis),e.xp6(1),e.Q6J("ngIf",n.yAxis),e.xp6(1),e.uIk("clip-path",n.clipPath),e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy),e.xp6(1),e.Q6J("ngIf",!n.tooltipDisabled),e.xp6(1),e.Q6J("ngIf",n.timeline&&"ordinal"!=n.scaleType))},dependencies:[Ba,Bo,_o,w1,kc,Bl,Nl,t.O5,t.sg],styles:[Sr],encapsulation:2,changeDetection:0});class M1{}M1.\u0275fac=function(a){return new(a||M1)},M1.\u0275mod=e.oAB({type:M1}),M1.\u0275inj=e.cJS({imports:[[Fo]]});class rl{constructor(a){this.roundEdges=!0,this.gradient=!1,this.offset=0,this.isActive=!1,this.animations=!0,this.noBarWhenZero=!0,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.hasGradient=!1,this.hideBar=!1,this.element=a.nativeElement}ngOnChanges(a){a.roundEdges&&this.loadAnimation(),this.update()}update(){this.gradientId="grad"+No().toString(),this.gradientFill=`url(#${this.gradientId})`,this.gradient||this.stops?(this.gradientStops=this.getGradient(),this.hasGradient=!0):this.hasGradient=!1,this.updatePathEl(),this.checkToHideBar()}loadAnimation(){this.path=this.getStartingPath(),setTimeout(this.update.bind(this),100)}updatePathEl(){const a=St(this.element).select(".bar"),n=this.getPath();this.animations?a.transition().duration(500).attr("d",n):a.attr("d",n)}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 n,a=this.getRadius();return this.roundEdges?this.orientation===Ca.Vertical?(a=Math.min(this.height,a),n=il(this.x,this.y+this.height,this.width,1,0,this.edges)):this.orientation===Ca.Horizontal&&(a=Math.min(this.width,a),n=il(this.x,this.y,1,this.height,0,this.edges)):this.orientation===Ca.Vertical?n=il(this.x,this.y+this.height,this.width,1,0,this.edges):this.orientation===Ca.Horizontal&&(n=il(this.x,this.y,1,this.height,0,this.edges)),n}getPath(){let n,a=this.getRadius();return this.roundEdges?this.orientation===Ca.Vertical?(a=Math.min(this.height,a),n=il(this.x,this.y,this.width,this.height,a,this.edges)):this.orientation===Ca.Horizontal&&(a=Math.min(this.width,a),n=il(this.x,this.y,this.width,this.height,a,this.edges)):n=il(this.x,this.y,this.width,this.height,a,this.edges),n}getRadius(){let a=0;return this.roundEdges&&this.height>5&&this.width>5&&(a=Math.floor(Math.min(5,this.height/2,this.width/2))),a}getStartOpacity(){return this.roundEdges?.2:.5}get edges(){let a=[!1,!1,!1,!1];return this.roundEdges&&(this.orientation===Ca.Vertical?a=this.data.value>0?[!0,!0,!1,!1]:[!1,!1,!0,!0]:this.orientation===Ca.Horizontal&&(a=this.data.value>0?[!1,!0,!1,!0]:[!0,!1,!0,!1])),a}onMouseEnter(){this.activate.emit(this.data)}onMouseLeave(){this.deactivate.emit(this.data)}checkToHideBar(){this.hideBar=this.noBarWhenZero&&(this.orientation===Ca.Vertical&&0===this.height||this.orientation===Ca.Horizontal&&0===this.width)}}var go,rc;rl.\u0275fac=function(a){return new(a||rl)(e.Y36(e.SBq))},rl.\u0275cmp=e.Xpm({type:rl,selectors:[["g","ngx-charts-bar",""]],hostBindings:function(a,n){1&a&&e.NdJ("mouseenter",function(){return n.onMouseEnter()})("mouseleave",function(){return n.onMouseLeave()})},inputs:{fill:"fill",data:"data",width:"width",height:"height",x:"x",y:"y",orientation:"orientation",roundEdges:"roundEdges",gradient:"gradient",offset:"offset",isActive:"isActive",stops:"stops",animations:"animations",ariaLabel:"ariaLabel",noBarWhenZero:"noBarWhenZero"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[e.TTD],attrs:["ngx-charts-bar",""],decls:2,vars:8,consts:[[4,"ngIf"],["stroke","none","role","img","tabIndex","-1",1,"bar",3,"click"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"]],template:function(a,n){1&a&&(e.YNc(0,q4,2,3,"defs",0),e.O4$(),e.TgZ(1,"path",1),e.NdJ("click",function(){return n.select.emit(n.data)}),e.qZA()),2&a&&(e.Q6J("ngIf",n.hasGradient),e.xp6(1),e.ekj("active",n.isActive)("hidden",n.hideBar),e.uIk("d",n.path)("aria-label",n.ariaLabel)("fill",n.hasGradient?n.gradientFill:n.fill))},dependencies:[ac,t.O5],encapsulation:2,changeDetection:0}),function(d){d.Standard="standard",d.Normalized="normalized",d.Stacked="stacked"}(go||(go={})),function(d){d.positive="positive",d.negative="negative"}(rc||(rc={}));class E1{constructor(a){this.dimensionsChanged=new e.vpe,this.horizontalPadding=2,this.verticalPadding=5,this.element=a.nativeElement}ngOnChanges(a){this.update()}getSize(){return{height:this.element.getBoundingClientRect().height,width:this.element.getBoundingClientRect().width,negative:this.value<0}}ngAfterViewInit(){this.dimensionsChanged.emit(this.getSize())}update(){this.valueFormatting?this.formatedValue=this.valueFormatting(this.value):this.formatedValue=Do(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})`)}}E1.\u0275fac=function(a){return new(a||E1)(e.Y36(e.SBq))},E1.\u0275cmp=e.Xpm({type:E1,selectors:[["g","ngx-charts-bar-label",""]],inputs:{value:"value",valueFormatting:"valueFormatting",barX:"barX",barY:"barY",barWidth:"barWidth",barHeight:"barHeight",orientation:"orientation"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.TTD],attrs:["ngx-charts-bar-label",""],decls:2,vars:5,consts:[["alignment-baseline","middle",1,"textDataLabel"]],template:function(a,n){1&a&&(e.O4$(),e.TgZ(0,"text",0),e._uU(1),e.qZA()),2&a&&(e.uIk("text-anchor",n.textAnchor)("transform",n.transform)("x",n.x)("y",n.y),e.xp6(1),e.hij(" ",n.formatedValue," "))},styles:[".textDataLabel[_ngcontent-%COMP%]{font-size:11px}"],changeDetection:0});class Td{constructor(){this.type=go.Standard,this.tooltipDisabled=!1,this.animations=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.dataLabelWidthChanged=new e.vpe,this.barsForDataLabels=[],this.barOrientation=Ca}ngOnChanges(a){this.update()}update(){this.updateTooltipSettings();const a={[rc.positive]:0,[rc.negative]:0};let n,y;n=rc.positive,this.type===go.Normalized&&(y=this.series.map(q=>q.value).reduce((q,de)=>q+de,0));const B=Math.max(this.xScale.domain()[0],0);this.bars=this.series.map(q=>{let de=q.value;const Ie=this.getLabel(q),ht=Do(Ie),yt=this.roundEdges;n=de>0?rc.positive:rc.negative;const Tt={value:de,label:Ie,roundEdges:yt,data:q,formattedLabel:ht};if(Tt.height=this.yScale.bandwidth(),this.type===go.Standard)Tt.width=Math.abs(this.xScale(de)-this.xScale(B)),Tt.x=de<0?this.xScale(de):this.xScale(B),Tt.y=this.yScale(Ie);else if(this.type===go.Stacked){const zt=a[n],vi=zt+de;a[n]+=de,Tt.width=this.xScale(vi)-this.xScale(zt),Tt.x=this.xScale(zt),Tt.y=0,Tt.offset0=zt,Tt.offset1=vi}else if(this.type===go.Normalized){let zt=a[n],vi=zt+de;a[n]+=de,y>0?(zt=100*zt/y,vi=100*vi/y):(zt=0,vi=0),Tt.width=this.xScale(vi)-this.xScale(zt),Tt.x=this.xScale(zt),Tt.y=0,Tt.offset0=zt,Tt.offset1=vi,de=(vi-zt).toFixed(2)+"%"}this.colors.scaleType===Ei.Ordinal?Tt.color=this.colors.getColor(Ie):this.type===go.Standard?(Tt.color=this.colors.getColor(de),Tt.gradientStops=this.colors.getLinearGradientStops(de)):(Tt.color=this.colors.getColor(Tt.offset1),Tt.gradientStops=this.colors.getLinearGradientStops(Tt.offset1,Tt.offset0));let ei=ht;return Tt.ariaLabel=ht+" "+de.toLocaleString(),null!==this.seriesName&&void 0!==this.seriesName&&(ei=`${this.seriesName} \u2022 ${ht}`,Tt.data.series=this.seriesName,Tt.ariaLabel=this.seriesName+" "+Tt.ariaLabel),Tt.tooltipText=this.tooltipDisabled?void 0:`\n <span class="tooltip-label">${no(ei)}</span>\n <span class="tooltip-val">${this.dataLabelFormatting?this.dataLabelFormatting(de):de.toLocaleString()}</span>\n `,Tt}),this.updateDataLabels()}updateDataLabels(){if(this.type===go.Stacked){this.barsForDataLabels=[];const a={};a.series=this.seriesName;const n=this.series.map(B=>B.value).reduce((B,q)=>q>0?B+q:B,0),y=this.series.map(B=>B.value).reduce((B,q)=>q<0?B+q:B,0);a.total=n+y,a.x=0,a.y=0,a.total>0?a.width=this.xScale(n):a.width=this.xScale(y),a.height=this.yScale.bandwidth(),this.barsForDataLabels.push(a)}else this.barsForDataLabels=this.series.map(a=>{const n={};return n.series=this.seriesName??a.label,n.total=a.value,n.x=this.xScale(0),n.y=this.yScale(a.label),n.width=this.xScale(n.total)-this.xScale(0),n.height=this.yScale.bandwidth(),n})}updateTooltipSettings(){this.tooltipPlacement=this.tooltipDisabled?void 0:Un.Top,this.tooltipType=this.tooltipDisabled?void 0:Cs.tooltip}isActive(a){return!!this.activeEntries&&void 0!==this.activeEntries.find(y=>a.name===y.name&&a.value===y.value)}getLabel(a){return a.label?a.label:a.name}trackBy(a,n){return n.label}trackDataLabelBy(a,n){return a+"#"+n.series+"#"+n.total}click(a){this.select.emit(a)}}Td.\u0275fac=function(a){return new(a||Td)},Td.\u0275cmp=e.Xpm({type:Td,selectors:[["g","ngx-charts-series-horizontal",""]],inputs:{dims:"dims",type:"type",series:"series",xScale:"xScale",yScale:"yScale",colors:"colors",tooltipDisabled:"tooltipDisabled",gradient:"gradient",activeEntries:"activeEntries",seriesName:"seriesName",tooltipTemplate:"tooltipTemplate",roundEdges:"roundEdges",animations:"animations",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",dataLabelWidthChanged:"dataLabelWidthChanged"},features:[e.TTD],attrs:["ngx-charts-series-horizontal",""],decls:2,vars:3,consts:[["ngx-charts-bar","","ngx-tooltip","",3,"width","height","x","y","fill","stops","data","orientation","roundEdges","gradient","isActive","ariaLabel","animations","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","noBarWhenZero","select","activate","deactivate",4,"ngFor","ngForOf","ngForTrackBy"],[4,"ngIf"],["ngx-charts-bar","","ngx-tooltip","",3,"width","height","x","y","fill","stops","data","orientation","roundEdges","gradient","isActive","ariaLabel","animations","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","noBarWhenZero","select","activate","deactivate"],["ngx-charts-bar-label","",3,"barX","barY","barWidth","barHeight","value","valueFormatting","orientation","dimensionsChanged",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-bar-label","",3,"barX","barY","barWidth","barHeight","value","valueFormatting","orientation","dimensionsChanged"]],template:function(a,n){1&a&&(e.YNc(0,Ep,1,21,"g",0),e.YNc(1,Z0,2,2,"g",1)),2&a&&(e.Q6J("ngForOf",n.bars)("ngForTrackBy",n.trackBy),e.xp6(1),e.Q6J("ngIf",n.showDataLabel))},dependencies:[rl,E1,t.sg,To,t.O5],encapsulation:2,data:{animation:[(0,u.X$)("animationState",[(0,u.eR)(":leave",[(0,u.oB)({opacity:1}),(0,u.jt)(500,(0,u.oB)({opacity:0}))])])]},changeDetection:0});class Y2 extends $a{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=Cr.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 e.vpe,this.deactivate=new e.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxWidth={negative:0,positive:0}}update(){super.update(),this.showDataLabel||(this.dataLabelMaxWidth={negative:0,positive:0}),this.margin=[10,20+this.dataLabelMaxWidth.positive,10,20+this.dataLabelMaxWidth.negative],this.dims=kr({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.xScale=this.getXScale(),this.yScale=this.getYScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`}getXScale(){this.xDomain=this.getXDomain();const a=fa().range([0,this.dims.width]).domain(this.xDomain);return this.roundDomains?a.nice():a}getYScale(){this.yDomain=this.getYDomain();const a=this.yDomain.length/(this.dims.height/this.barPadding+1);return wo().rangeRound([0,this.dims.height]).paddingInner(a).domain(this.yDomain)}getXDomain(){const a=this.results.map(B=>B.value);return[this.xScaleMin?Math.min(this.xScaleMin,...a):Math.min(0,...a),this.xScaleMax?Math.max(this.xScaleMax,...a):Math.max(0,...a)]}getYDomain(){return this.results.map(a=>a.label)}onClick(a){this.select.emit(a)}setColors(){let a;a=this.schemeType===Ei.Ordinal?this.yDomain:this.xDomain,this.colors=new wr(this.scheme,this.schemeType,a,this.customColors)}getLegendOptions(){const a={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return"ordinal"===a.scaleType?(a.domain=this.yDomain,a.colors=this.colors,a.title=this.legendTitle):(a.domain=this.xDomain,a.colors=this.colors.scale),a}updateYAxisWidth({width:a}){this.yAxisWidth=a,this.update()}updateXAxisHeight({height:a}){this.xAxisHeight=a,this.update()}onDataLabelMaxWidthChanged(a){a.size.negative?this.dataLabelMaxWidth.negative=Math.max(this.dataLabelMaxWidth.negative,a.size.width):this.dataLabelMaxWidth.positive=Math.max(this.dataLabelMaxWidth.positive,a.size.width),a.index===this.results.length-1&&setTimeout(()=>this.update())}onActivate(a,n=!1){a=this.results.find(B=>n?B.label===a.name:B.name===a.name),!(this.activeEntries.findIndex(B=>B.name===a.name&&B.value===a.value&&B.series===a.series)>-1)&&(this.activeEntries=[a,...this.activeEntries],this.activate.emit({value:a,entries:this.activeEntries}))}onDeactivate(a,n=!1){a=this.results.find(B=>n?B.label===a.name:B.name===a.name);const y=this.activeEntries.findIndex(B=>B.name===a.name&&B.value===a.value&&B.series===a.series);this.activeEntries.splice(y,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:a,entries:this.activeEntries})}}Y2.\u0275fac=function(){let d;return function(n){return(d||(d=e.n5z(Y2)))(n||Y2)}}(),Y2.\u0275cmp=e.Xpm({type:Y2,selectors:[["ngx-charts-bar-horizontal"]],contentQueries:function(a,n,y){if(1&a&&e.Suo(y,zr,5),2&a){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.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",xScaleMax:"xScaleMax",xScaleMin:"xScaleMin",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.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","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","yAxisOffset","dimensionsChanged",4,"ngIf"],["ngx-charts-series-horizontal","",3,"xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","activeEntries","roundEdges","animations","showDataLabel","dataLabelFormatting","noBarWhenZero","select","activate","deactivate","dataLabelWidthChanged"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","yAxisOffset","dimensionsChanged"]],template:function(a,n){1&a&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelClick",function(B){return n.onClick(B)})("legendLabelActivate",function(B){return n.onActivate(B,!0)})("legendLabelDeactivate",function(B){return n.onDeactivate(B,!0)}),e.O4$(),e.TgZ(1,"g",1),e.YNc(2,Y0,1,10,"g",2),e.YNc(3,Dp,1,9,"g",3),e.TgZ(4,"g",4),e.NdJ("select",function(B){return n.onClick(B)})("activate",function(B){return n.onActivate(B)})("deactivate",function(B){return n.onDeactivate(B)})("dataLabelWidthChanged",function(B){return n.onDataLabelMaxWidthChanged(B)}),e.qZA()()()),2&a&&(e.Q6J("view",e.WLB(22,Ra,n.width,n.height))("showLegend",n.legend)("legendOptions",n.legendOptions)("activeEntries",n.activeEntries)("animations",n.animations),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngIf",n.xAxis),e.xp6(1),e.Q6J("ngIf",n.yAxis),e.xp6(1),e.Q6J("xScale",n.xScale)("yScale",n.yScale)("colors",n.colors)("series",n.results)("dims",n.dims)("gradient",n.gradient)("tooltipDisabled",n.tooltipDisabled)("tooltipTemplate",n.tooltipTemplate)("activeEntries",n.activeEntries)("roundEdges",n.roundEdges)("animations",n.animations)("showDataLabel",n.showDataLabel)("dataLabelFormatting",n.dataLabelFormatting)("noBarWhenZero",n.noBarWhenZero))},dependencies:[Ba,Bo,_o,Td,t.O5],styles:[Sr],encapsulation:2,changeDetection:0});class yu extends $a{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=Cr.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.groupPadding=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.activate=new e.vpe,this.deactivate=new e.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxWidth={negative:0,positive:0},this.isSSR=!1,this.barOrientation=Ca,this.trackBy=(a,n)=>n.name}ngOnInit(){(0,t.PM)(this.platformId)&&(this.isSSR=!0)}update(){super.update(),this.showDataLabel||(this.dataLabelMaxWidth={negative:0,positive:0}),this.margin=[10,20+this.dataLabelMaxWidth.positive,10,20+this.dataLabelMaxWidth.negative],this.dims=kr({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.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]})`}getGroupScale(){const a=this.groupDomain.length/(this.dims.height/this.groupPadding+1);return wo().rangeRound([0,this.dims.height]).paddingInner(a).paddingOuter(a/2).domain(this.groupDomain)}getInnerScale(){const a=this.groupScale.bandwidth(),n=this.innerDomain.length/(a/this.barPadding+1);return wo().rangeRound([0,a]).paddingInner(n).domain(this.innerDomain)}getValueScale(){const a=fa().range([0,this.dims.width]).domain(this.valueDomain);return this.roundDomains?a.nice():a}getGroupDomain(){const a=[];for(const n of this.results)a.includes(n.label)||a.push(n.label);return a}getInnerDomain(){const a=[];for(const n of this.results)for(const y of n.series)a.includes(y.label)||a.push(y.label);return a}getValueDomain(){const a=[];for(const B of this.results)for(const q of B.series)a.includes(q.value)||a.push(q.value);return[Math.min(0,...a),this.xScaleMax?Math.max(this.xScaleMax,...a):Math.max(0,...a)]}groupTransform(a){return`translate(0, ${this.groupScale(a.label)})`}onClick(a,n){n&&(a.series=n.name),this.select.emit(a)}setColors(){let a;a=this.schemeType===Ei.Ordinal?this.innerDomain:this.valueDomain,this.colors=new wr(this.scheme,this.schemeType,a,this.customColors)}getLegendOptions(){const a={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return a.scaleType===Ei.Ordinal?(a.domain=this.innerDomain,a.colors=this.colors,a.title=this.legendTitle):(a.domain=this.valueDomain,a.colors=this.colors.scale),a}updateYAxisWidth({width:a}){this.yAxisWidth=a,this.update()}updateXAxisHeight({height:a}){this.xAxisHeight=a,this.update()}onDataLabelMaxWidthChanged(a,n){a.size.negative?this.dataLabelMaxWidth.negative=Math.max(this.dataLabelMaxWidth.negative,a.size.width):this.dataLabelMaxWidth.positive=Math.max(this.dataLabelMaxWidth.positive,a.size.width),n===this.results.length-1&&setTimeout(()=>this.update())}onActivate(a,n,y=!1){const B=Object.assign({},a);n&&(B.series=n.name);const q=this.results.map(de=>de.series).flat().filter(de=>y?de.label===B.name:de.name===B.name&&de.series===B.series);this.activeEntries=[...q],this.activate.emit({value:B,entries:this.activeEntries})}onDeactivate(a,n,y=!1){const B=Object.assign({},a);n&&(B.series=n.name),this.activeEntries=this.activeEntries.filter(q=>y?q.label!==B.name:!(q.name===B.name&&q.series===B.series)),this.deactivate.emit({value:B,entries:this.activeEntries})}}yu.\u0275fac=function(){let d;return function(n){return(d||(d=e.n5z(yu)))(n||yu)}}(),yu.\u0275cmp=e.Xpm({type:yu,selectors:[["ngx-charts-bar-horizontal-2d"]],contentQueries:function(a,n,y){if(1&a&&e.Suo(y,zr,5),2&a){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.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",groupPadding:"groupPadding",barPadding:"barPadding",roundDomains:"roundDomains",roundEdges:"roundEdges",xScaleMax:"xScaleMax",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.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","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","yAxisOffset","dimensionsChanged",4,"ngIf"],[4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","yAxisOffset","dimensionsChanged"],[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-series-horizontal","",3,"xScale","activeEntries","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","seriesName","roundEdges","animations","showDataLabel","dataLabelFormatting","noBarWhenZero","select","activate","deactivate","dataLabelWidthChanged"]],template:function(a,n){1&a&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelActivate",function(B){return n.onActivate(B,void 0,!0)})("legendLabelDeactivate",function(B){return n.onDeactivate(B,void 0,!0)})("legendLabelClick",function(B){return n.onClick(B)}),e.O4$(),e.TgZ(1,"g",1),e._UZ(2,"g",2),e.YNc(3,a3,1,10,"g",3),e.YNc(4,Tp,1,9,"g",4),e.YNc(5,r3,2,2,"g",5),e.YNc(6,Lp,2,2,"g",5),e.qZA()()),2&a&&(e.Q6J("view",e.WLB(15,Ra,n.width,n.height))("showLegend",n.legend)("legendOptions",n.legendOptions)("activeEntries",n.activeEntries)("animations",n.animations),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("xScale",n.valueScale)("yScale",n.groupScale)("data",n.results)("dims",n.dims)("orient",n.barOrientation.Horizontal),e.xp6(1),e.Q6J("ngIf",n.xAxis),e.xp6(1),e.Q6J("ngIf",n.yAxis),e.xp6(1),e.Q6J("ngIf",!n.isSSR),e.xp6(1),e.Q6J("ngIf",n.isSSR))},dependencies:[Ba,Dd,Bo,_o,Td,t.O5,t.sg],styles:[Sr],encapsulation:2,data:{animation:[(0,u.X$)("animationState",[(0,u.eR)(":leave",[(0,u.oB)({opacity:1,transform:"*"}),(0,u.jt)(500,(0,u.oB)({opacity:0,transform:"scale(0)"}))])])]},changeDetection:0});class Fl extends $a{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=Cr.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.noBarWhenZero=!0,this.activate=new e.vpe,this.deactivate=new e.vpe,this.valueDomain=[0,100],this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.barChartType=go,this.isSSR=!1,this.trackBy=(a,n)=>n.name}ngOnInit(){(0,t.PM)(this.platformId)&&(this.isSSR=!0)}update(){super.update(),this.dims=kr({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.groupDomain=this.getGroupDomain(),this.innerDomain=this.getInnerDomain(),this.xScale=this.getXScale(),this.yScale=this.getYScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`}getGroupDomain(){const a=[];for(const n of this.results)a.includes(n.label)||a.push(n.label);return a}getInnerDomain(){const a=[];for(const n of this.results)for(const y of n.series)a.includes(y.label)||a.push(y.label);return a}getYScale(){const a=this.groupDomain.length/(this.dims.height/this.barPadding+1);return wo().rangeRound([0,this.dims.height]).paddingInner(a).domain(this.groupDomain)}getXScale(){const a=fa().range([0,this.dims.width]).domain(this.valueDomain);return this.roundDomains?a.nice():a}groupTransform(a){return`translate(0, ${this.yScale(a.name)})`}onClick(a,n){n&&(a.series=n.name),this.select.emit(a)}setColors(){let a;a=this.schemeType===Ei.Ordinal?this.innerDomain:this.valueDomain,this.colors=new wr(this.scheme,this.schemeType,a,this.customColors)}getLegendOptions(){const a={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return a.scaleType===Ei.Ordinal?(a.domain=this.innerDomain,a.colors=this.colors,a.title=this.legendTitle):(a.domain=this.valueDomain,a.colors=this.colors.scale),a}updateYAxisWidth({width:a}){this.yAxisWidth=a,this.update()}updateXAxisHeight({height:a}){this.xAxisHeight=a,this.update()}onActivate(a,n,y=!1){const B=Object.assign({},a);n&&(B.series=n.name);const q=this.results.map(de=>de.series).flat().filter(de=>y?de.label===B.name:de.name===B.name&&de.series===B.series);this.activeEntries=[...q],this.activate.emit({value:B,entries:this.activeEntries})}onDeactivate(a,n,y=!1){const B=Object.assign({},a);n&&(B.series=n.name),this.activeEntries=this.activeEntries.filter(q=>y?q.label!==B.name:!(q.name===B.name&&q.series===B.series)),this.deactivate.emit({value:B,entries:this.activeEntries})}}Fl.\u0275fac=function(){let d;return function(n){return(d||(d=e.n5z(Fl)))(n||Fl)}}(),Fl.\u0275cmp=e.Xpm({type:Fl,selectors:[["ngx-charts-bar-horizontal-normalized"]],contentQueries:function(a,n,y){if(1&a&&e.Suo(y,zr,5),2&a){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.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",noBarWhenZero:"noBarWhenZero"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:6,vars:13,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelActivate","legendLabelDeactivate","legendLabelClick"],[1,"bar-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],[4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-series-horizontal","",3,"type","xScale","yScale","activeEntries","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","seriesName","animations","noBarWhenZero","select","activate","deactivate"]],template:function(a,n){1&a&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelActivate",function(B){return n.onActivate(B,void 0,!0)})("legendLabelDeactivate",function(B){return n.onDeactivate(B,void 0,!0)})("legendLabelClick",function(B){return n.onClick(B)}),e.O4$(),e.TgZ(1,"g",1),e.YNc(2,o3,1,10,"g",2),e.YNc(3,s3,1,8,"g",3),e.YNc(4,l3,2,2,"g",4),e.YNc(5,J4,2,2,"g",4),e.qZA()()),2&a&&(e.Q6J("view",e.WLB(10,Ra,n.width,n.height))("showLegend",n.legend)("legendOptions",n.legendOptions)("activeEntries",n.activeEntries)("animations",n.animations),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngIf",n.xAxis),e.xp6(1),e.Q6J("ngIf",n.yAxis),e.xp6(1),e.Q6J("ngIf",!n.isSSR),e.xp6(1),e.Q6J("ngIf",n.isSSR))},dependencies:[Ba,Bo,_o,Td,t.O5,t.sg],styles:[Sr],encapsulation:2,data:{animation:[(0,u.X$)("animationState",[(0,u.eR)(":leave",[(0,u.oB)({opacity:1,transform:"*"}),(0,u.jt)(500,(0,u.oB)({opacity:0,transform:"scale(0)"}))])])]},changeDetection:0});class D1 extends $a{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=Cr.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.showDataLabel=!1,this.noBarWhenZero=!0,this.activate=new e.vpe,this.deactivate=new e.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxWidth={negative:0,positive:0},this.barChartType=go,this.isSSR=!1,this.trackBy=(a,n)=>n.name}ngOnInit(){(0,t.PM)(this.platformId)&&(this.isSSR=!0)}update(){super.update(),this.showDataLabel||(this.dataLabelMaxWidth={negative:0,positive:0}),this.margin=[10,20+this.dataLabelMaxWidth.positive,10,20+this.dataLabelMaxWidth.negative],this.dims=kr({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.groupDomain=this.getGroupDomain(),this.innerDomain=this.getInnerDomain(),this.valueDomain=this.getValueDomain(),this.xScale=this.getXScale(),this.yScale=this.getYScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`}getGroupDomain(){const a=[];for(const n of this.results)a.includes(n.label)||a.push(n.label);return a}getInnerDomain(){const a=[];for(const n of this.results)for(const y of n.series)a.includes(y.label)||a.push(y.label);return a}getValueDomain(){const a=[];let n=0,y=0;for(const de of this.results){let Ie=0,ht=0;for(const yt of de.series)yt.value<0?Ie+=yt.value:ht+=yt.value,n=yt.value<n?yt.value:n,y=yt.value>y?yt.value:y;a.push(Ie),a.push(ht)}a.push(n),a.push(y);return[Math.min(0,...a),this.xScaleMax?Math.max(this.xScaleMax,...a):Math.max(...a)]}getYScale(){const a=this.groupDomain.length/(this.dims.height/this.barPadding+1);return wo().rangeRound([0,this.dims.height]).paddingInner(a).domain(this.groupDomain)}getXScale(){const a=fa().range([0,this.dims.width]).domain(this.valueDomain);return this.roundDomains?a.nice():a}groupTransform(a){return`translate(0, ${this.yScale(a.name)})`}onClick(a,n){n&&(a.series=n.name),this.select.emit(a)}setColors(){let a;a=this.schemeType===Ei.Ordinal?this.innerDomain:this.valueDomain,this.colors=new wr(this.scheme,this.schemeType,a,this.customColors)}getLegendOptions(){const a={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return a.scaleType===Ei.Ordinal?(a.domain=this.innerDomain,a.colors=this.colors,a.title=this.legendTitle):(a.domain=this.valueDomain,a.colors=this.colors.scale),a}updateYAxisWidth({width:a}){this.yAxisWidth=a,this.update()}updateXAxisHeight({height:a}){this.xAxisHeight=a,this.update()}onDataLabelMaxWidthChanged(a,n){a.size.negative?this.dataLabelMaxWidth.negative=Math.max(this.dataLabelMaxWidth.negative,a.size.width):this.dataLabelMaxWidth.positive=Math.max(this.dataLabelMaxWidth.positive,a.size.width),n===this.results.length-1&&setTimeout(()=>this.update())}onActivate(a,n,y=!1){const B=Object.assign({},a);n&&(B.series=n.name);const q=this.results.map(de=>de.series).flat().filter(de=>y?de.label===B.name:de.name===B.name&&de.series===B.series);this.activeEntries=[...q],this.activate.emit({value:B,entries:this.activeEntries})}onDeactivate(a,n,y=!1){const B=Object.assign({},a);n&&(B.series=n.name),this.activeEntries=this.activeEntries.filter(q=>y?q.label!==B.name:!(q.name===B.name&&q.series===B.series)),this.deactivate.emit({value:B,entries:this.activeEntries})}}D1.\u0275fac=function(){let d;return function(n){return(d||(d=e.n5z(D1)))(n||D1)}}(),D1.\u0275cmp=e.Xpm({type:D1,selectors:[["ngx-charts-bar-horizontal-stacked"]],contentQueries:function(a,n,y){if(1&a&&e.Suo(y,zr,5),2&a){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.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",xScaleMax:"xScaleMax",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:6,vars:13,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelActivate","legendLabelDeactivate","legendLabelClick"],[1,"bar-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","yAxisOffset","dimensionsChanged",4,"ngIf"],[4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","yAxisOffset","dimensionsChanged"],[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-series-horizontal","",3,"type","xScale","yScale","colors","series","activeEntries","dims","gradient","tooltipDisabled","tooltipTemplate","seriesName","animations","showDataLabel","dataLabelFormatting","noBarWhenZero","select","activate","deactivate","dataLabelWidthChanged"]],template:function(a,n){1&a&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelActivate",function(B){return n.onActivate(B,void 0,!0)})("legendLabelDeactivate",function(B){return n.onDeactivate(B,void 0,!0)})("legendLabelClick",function(B){return n.onClick(B)}),e.O4$(),e.TgZ(1,"g",1),e.YNc(2,d3,1,10,"g",2),e.YNc(3,Op,1,9,"g",3),e.YNc(4,q0,2,2,"g",4),e.YNc(5,kp,2,2,"g",4),e.qZA()()),2&a&&(e.Q6J("view",e.WLB(10,Ra,n.width,n.height))("showLegend",n.legend)("legendOptions",n.legendOptions)("activeEntries",n.activeEntries)("animations",n.animations),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngIf",n.xAxis),e.xp6(1),e.Q6J("ngIf",n.yAxis),e.xp6(1),e.Q6J("ngIf",!n.isSSR),e.xp6(1),e.Q6J("ngIf",n.isSSR))},dependencies:[Ba,Bo,_o,Td,t.O5,t.sg],styles:[Sr],encapsulation:2,data:{animation:[(0,u.X$)("animationState",[(0,u.eR)(":leave",[(0,u.oB)({opacity:1,transform:"*"}),(0,u.jt)(500,(0,u.oB)({opacity:0,transform:"scale(0)"}))])])]},changeDetection:0});class zl{constructor(a){this.platformId=a,this.type=go.Standard,this.tooltipDisabled=!1,this.animations=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.dataLabelHeightChanged=new e.vpe,this.barsForDataLabels=[],this.barOrientation=Ca,this.isSSR=!1}ngOnInit(){(0,t.PM)(this.platformId)&&(this.isSSR=!0)}ngOnChanges(a){this.update()}update(){let a;this.updateTooltipSettings(),this.series.length&&(a=this.xScale.bandwidth()),a=Math.round(a);const n=Math.max(this.yScale.domain()[0],0),y={[rc.positive]:0,[rc.negative]:0};let q,B=rc.positive;this.type===go.Normalized&&(q=this.series.map(de=>de.value).reduce((de,Ie)=>de+Ie,0)),this.bars=this.series.map((de,Ie)=>{let ht=de.value;const yt=this.getLabel(de),Tt=Do(yt),ei=this.roundEdges;B=ht>0?rc.positive:rc.negative;const zt={value:ht,label:yt,roundEdges:ei,data:de,width:a,formattedLabel:Tt,height:0,x:0,y:0};if(this.type===go.Standard)zt.height=Math.abs(this.yScale(ht)-this.yScale(n)),zt.x=this.xScale(yt),zt.y=ht<0?this.yScale(0):this.yScale(ht);else if(this.type===go.Stacked){const Si=y[B],qi=Si+ht;y[B]+=ht,zt.height=this.yScale(Si)-this.yScale(qi),zt.x=0,zt.y=this.yScale(qi),zt.offset0=Si,zt.offset1=qi}else if(this.type===go.Normalized){let Si=y[B],qi=Si+ht;y[B]+=ht,q>0?(Si=100*Si/q,qi=100*qi/q):(Si=0,qi=0),zt.height=this.yScale(Si)-this.yScale(qi),zt.x=0,zt.y=this.yScale(qi),zt.offset0=Si,zt.offset1=qi,ht=(qi-Si).toFixed(2)+"%"}this.colors.scaleType===Ei.Ordinal?zt.color=this.colors.getColor(yt):this.type===go.Standard?(zt.color=this.colors.getColor(ht),zt.gradientStops=this.colors.getLinearGradientStops(ht)):(zt.color=this.colors.getColor(zt.offset1),zt.gradientStops=this.colors.getLinearGradientStops(zt.offset1,zt.offset0));let vi=Tt;return zt.ariaLabel=Tt+" "+ht.toLocaleString(),null!==this.seriesName&&void 0!==this.seriesName&&(vi=`${this.seriesName} \u2022 ${Tt}`,zt.data.series=this.seriesName,zt.ariaLabel=this.seriesName+" "+zt.ariaLabel),zt.tooltipText=this.tooltipDisabled?void 0:`\n <span class="tooltip-label">${no(vi)}</span>\n <span class="tooltip-val">${this.dataLabelFormatting?this.dataLabelFormatting(ht):ht.toLocaleString()}</span>\n `,zt}),this.updateDataLabels()}updateDataLabels(){if(this.type===go.Stacked){this.barsForDataLabels=[];const a={};a.series=this.seriesName;const n=this.series.map(B=>B.value).reduce((B,q)=>q>0?B+q:B,0),y=this.series.map(B=>B.value).reduce((B,q)=>q<0?B+q:B,0);a.total=n+y,a.x=0,a.y=0,a.total>0?a.height=this.yScale(n):a.height=this.yScale(y),a.width=this.xScale.bandwidth(),this.barsForDataLabels.push(a)}else this.barsForDataLabels=this.series.map(a=>{const n={};return n.series=this.seriesName??a.label,n.total=a.value,n.x=this.xScale(a.label),n.y=this.yScale(0),n.height=this.yScale(n.total)-this.yScale(0),n.width=this.xScale.bandwidth(),n})}updateTooltipSettings(){this.tooltipPlacement=this.tooltipDisabled?void 0:Un.Top,this.tooltipType=this.tooltipDisabled?void 0:Cs.tooltip}isActive(a){return!!this.activeEntries&&void 0!==this.activeEntries.find(y=>a.name===y.name&&a.value===y.value)}onClick(a){this.select.emit(a)}getLabel(a){return a.label?a.label:a.name}trackBy(a,n){return n.label}trackDataLabelBy(a,n){return a+"#"+n.series+"#"+n.total}}zl.\u0275fac=function(a){return new(a||zl)(e.Y36(e.Lbi))},zl.\u0275cmp=e.Xpm({type:zl,selectors:[["g","ngx-charts-series-vertical",""]],inputs:{dims:"dims",type:"type",series:"series",xScale:"xScale",yScale:"yScale",colors:"colors",gradient:"gradient",activeEntries:"activeEntries",seriesName:"seriesName",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate",roundEdges:"roundEdges",animations:"animations",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",dataLabelHeightChanged:"dataLabelHeightChanged"},features:[e.TTD],attrs:["ngx-charts-series-vertical",""],decls:3,vars:3,consts:[[4,"ngIf"],["ngx-charts-bar","","ngx-tooltip","",3,"width","height","x","y","fill","stops","data","orientation","roundEdges","gradient","ariaLabel","isActive","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","noBarWhenZero","animations","select","activate","deactivate",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-bar","","ngx-tooltip","",3,"width","height","x","y","fill","stops","data","orientation","roundEdges","gradient","ariaLabel","isActive","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","noBarWhenZero","animations","select","activate","deactivate"],["ngx-charts-bar-label","",3,"barX","barY","barWidth","barHeight","value","valueFormatting","orientation","dimensionsChanged",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-bar-label","",3,"barX","barY","barWidth","barHeight","value","valueFormatting","orientation","dimensionsChanged"]],template:function(a,n){1&a&&(e.YNc(0,Pp,2,2,"g",0),e.YNc(1,p3,2,2,"g",0),e.YNc(2,pu,2,2,"g",0)),2&a&&(e.Q6J("ngIf",!n.isSSR),e.xp6(1),e.Q6J("ngIf",n.isSSR),e.xp6(1),e.Q6J("ngIf",n.showDataLabel))},dependencies:[rl,E1,t.O5,t.sg,To],encapsulation:2,data:{animation:[(0,u.X$)("animationState",[(0,u.eR)(":leave",[(0,u.oB)({opacity:1}),(0,u.jt)(500,(0,u.oB)({opacity:0}))])])]},changeDetection:0});class Ad extends $a{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=Cr.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 e.vpe,this.deactivate=new e.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=kr({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.formatDates(),this.showDataLabel&&(this.dims.height-=this.dataLabelMaxHeight.negative),this.xScale=this.getXScale(),this.yScale=this.getYScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]+this.dataLabelMaxHeight.negative})`}getXScale(){this.xDomain=this.getXDomain();const a=this.xDomain.length/(this.dims.width/this.barPadding+1);return wo().range([0,this.dims.width]).paddingInner(a).domain(this.xDomain)}getYScale(){this.yDomain=this.getYDomain();const a=fa().range([this.dims.height,0]).domain(this.yDomain);return this.roundDomains?a.nice():a}getXDomain(){return this.results.map(a=>a.label)}getYDomain(){const a=this.results.map(B=>B.value);let n=this.yScaleMin?Math.min(this.yScaleMin,...a):Math.min(0,...a);this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(n=Math.min(n,...this.yAxisTicks));let y=this.yScaleMax?Math.max(this.yScaleMax,...a):Math.max(0,...a);return this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(y=Math.max(y,...this.yAxisTicks)),[n,y]}onClick(a){this.select.emit(a)}setColors(){let a;a=this.schemeType===Ei.Ordinal?this.xDomain:this.yDomain,this.colors=new wr(this.scheme,this.schemeType,a,this.customColors)}getLegendOptions(){const a={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return a.scaleType===Ei.Ordinal?(a.domain=this.xDomain,a.colors=this.colors,a.title=this.legendTitle):(a.domain=this.yDomain,a.colors=this.colors.scale),a}updateYAxisWidth({width:a}){this.yAxisWidth=a,this.update()}updateXAxisHeight({height:a}){this.xAxisHeight=a,this.update()}onDataLabelMaxHeightChanged(a){a.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,a.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,a.size.height),a.index===this.results.length-1&&setTimeout(()=>this.update())}onActivate(a,n=!1){a=this.results.find(B=>n?B.label===a.name:B.name===a.name),!(this.activeEntries.findIndex(B=>B.name===a.name&&B.value===a.value&&B.series===a.series)>-1)&&(this.activeEntries=[a,...this.activeEntries],this.activate.emit({value:a,entries:this.activeEntries}))}onDeactivate(a,n=!1){a=this.results.find(B=>n?B.label===a.name:B.name===a.name);const y=this.activeEntries.findIndex(B=>B.name===a.name&&B.value===a.value&&B.series===a.series);this.activeEntries.splice(y,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:a,entries:this.activeEntries})}}Ad.\u0275fac=function(){let d;return function(n){return(d||(d=e.n5z(Ad)))(n||Ad)}}(),Ad.\u0275cmp=e.Xpm({type:Ad,selectors:[["ngx-charts-bar-vertical"]],contentQueries:function(a,n,y){if(1&a&&e.Suo(y,zr,5),2&a){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.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:[e.qOj],decls:5,vars:25,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"bar-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-series-vertical","",3,"xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","activeEntries","roundEdges","animations","noBarWhenZero","activate","deactivate","select","dataLabelHeightChanged"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"]],template:function(a,n){1&a&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelClick",function(B){return n.onClick(B)})("legendLabelActivate",function(B){return n.onActivate(B,!0)})("legendLabelDeactivate",function(B){return n.onDeactivate(B,!0)}),e.O4$(),e.TgZ(1,"g",1),e.YNc(2,kl,1,11,"g",2),e.YNc(3,$4,1,9,"g",3),e.TgZ(4,"g",4),e.NdJ("activate",function(B){return n.onActivate(B)})("deactivate",function(B){return n.onDeactivate(B)})("select",function(B){return n.onClick(B)})("dataLabelHeightChanged",function(B){return n.onDataLabelMaxHeightChanged(B)}),e.qZA()()()),2&a&&(e.Q6J("view",e.WLB(22,Ra,n.width,n.height))("showLegend",n.legend)("legendOptions",n.legendOptions)("activeEntries",n.activeEntries)("animations",n.animations),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngIf",n.xAxis),e.xp6(1),e.Q6J("ngIf",n.yAxis),e.xp6(1),e.Q6J("xScale",n.xScale)("yScale",n.yScale)("colors",n.colors)("series",n.results)("dims",n.dims)("gradient",n.gradient)("tooltipDisabled",n.tooltipDisabled)("tooltipTemplate",n.tooltipTemplate)("showDataLabel",n.showDataLabel)("dataLabelFormatting",n.dataLabelFormatting)("activeEntries",n.activeEntries)("roundEdges",n.roundEdges)("animations",n.animations)("noBarWhenZero",n.noBarWhenZero))},dependencies:[Ba,Bo,_o,zl,t.O5],styles:[Sr],encapsulation:2,changeDetection:0});class Q2 extends $a{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=Cr.Right,this.tooltipDisabled=!1,this.scaleType=Ei.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 e.vpe,this.deactivate=new e.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxHeight={negative:0,positive:0},this.isSSR=!1,this.barOrientation=Ca,this.trackBy=(a,n)=>n.name}ngOnInit(){(0,t.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=kr({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.showDataLabel&&(this.dims.height-=this.dataLabelMaxHeight.negative),this.formatDates(),this.groupDomain=this.getGroupDomain(),this.innerDomain=this.getInnerDomain(),this.valueDomain=this.getValueDomain(),this.groupScale=this.getGroupScale(),this.innerScale=this.getInnerScale(),this.valueScale=this.getValueScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]+this.dataLabelMaxHeight.negative})`}onDataLabelMaxHeightChanged(a,n){a.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,a.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,a.size.height),n===this.results.length-1&&setTimeout(()=>this.update())}getGroupScale(){const a=this.groupDomain.length/(this.dims.height/this.groupPadding+1);return wo().rangeRound([0,this.dims.width]).paddingInner(a).paddingOuter(a/2).domain(this.groupDomain)}getInnerScale(){const a=this.groupScale.bandwidth(),n=this.innerDomain.length/(a/this.barPadding+1);return wo().rangeRound([0,a]).paddingInner(n).domain(this.innerDomain)}getValueScale(){const a=fa().range([this.dims.height,0]).domain(this.valueDomain);return this.roundDomains?a.nice():a}getGroupDomain(){const a=[];for(const n of this.results)a.includes(n.label)||a.push(n.label);return a}getInnerDomain(){const a=[];for(const n of this.results)for(const y of n.series)a.includes(y.label)||a.push(y.label);return a}getValueDomain(){const a=[];for(const B of this.results)for(const q of B.series)a.includes(q.value)||a.push(q.value);return[Math.min(0,...a),this.yScaleMax?Math.max(this.yScaleMax,...a):Math.max(0,...a)]}groupTransform(a){return`translate(${this.groupScale(a.label)}, 0)`}onClick(a,n){n&&(a.series=n.name),this.select.emit(a)}setColors(){let a;a=this.schemeType===Ei.Ordinal?this.innerDomain:this.valueDomain,this.colors=new wr(this.scheme,this.schemeType,a,this.customColors)}getLegendOptions(){const a={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return a.scaleType===Ei.Ordinal?(a.domain=this.innerDomain,a.colors=this.colors,a.title=this.legendTitle):(a.domain=this.valueDomain,a.colors=this.colors.scale),a}updateYAxisWidth({width:a}){this.yAxisWidth=a,this.update()}updateXAxisHeight({height:a}){this.xAxisHeight=a,this.update()}onActivate(a,n,y=!1){const B=Object.assign({},a);n&&(B.series=n.name);const q=this.results.map(de=>de.series).flat().filter(de=>y?de.label===B.name:de.name===B.name&&de.series===B.series);this.activeEntries=[...q],this.activate.emit({value:B,entries:this.activeEntries})}onDeactivate(a,n,y=!1){const B=Object.assign({},a);n&&(B.series=n.name),this.activeEntries=this.activeEntries.filter(q=>y?q.label!==B.name:!(q.name===B.name&&q.series===B.series)),this.deactivate.emit({value:B,entries:this.activeEntries})}}Q2.\u0275fac=function(){let d;return function(n){return(d||(d=e.n5z(Q2)))(n||Q2)}}(),Q2.\u0275cmp=e.Xpm({type:Q2,selectors:[["ngx-charts-bar-vertical-2d"]],contentQueries:function(a,n,y){if(1&a&&e.Suo(y,zr,5),2&a){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.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:[e.qOj],decls:7,vars:18,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelActivate","legendLabelDeactivate","legendLabelClick"],[1,"bar-chart","chart"],["ngx-charts-grid-panel-series","",3,"xScale","yScale","data","dims","orient"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],[4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-series-vertical","",3,"activeEntries","xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","seriesName","roundEdges","animations","noBarWhenZero","select","activate","deactivate","dataLabelHeightChanged",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-series-vertical","",3,"activeEntries","xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","seriesName","roundEdges","animations","noBarWhenZero","select","activate","deactivate","dataLabelHeightChanged"]],template:function(a,n){1&a&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelActivate",function(B){return n.onActivate(B,void 0,!0)})("legendLabelDeactivate",function(B){return n.onDeactivate(B,void 0,!0)})("legendLabelClick",function(B){return n.onClick(B)}),e.O4$(),e.TgZ(1,"g",1),e._UZ(2,"g",2),e.YNc(3,e_,1,10,"g",3),e.YNc(4,Rp,1,9,"g",4),e.YNc(5,X0,2,2,"g",5),e.qZA(),e.YNc(6,Bp,2,2,"g",5),e.qZA()),2&a&&(e.Q6J("view",e.WLB(15,Ra,n.width,n.height))("showLegend",n.legend)("legendOptions",n.legendOptions)("activeEntries",n.activeEntries)("animations",n.animations),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("xScale",n.groupScale)("yScale",n.valueScale)("data",n.results)("dims",n.dims)("orient",n.barOrientation.Vertical),e.xp6(1),e.Q6J("ngIf",n.xAxis),e.xp6(1),e.Q6J("ngIf",n.yAxis),e.xp6(1),e.Q6J("ngIf",!n.isSSR),e.xp6(1),e.Q6J("ngIf",n.isSSR))},dependencies:[Ba,Dd,Bo,_o,zl,t.O5,t.sg],styles:[Sr],encapsulation:2,data:{animation:[(0,u.X$)("animationState",[(0,u.eR)(":leave",[(0,u.oB)({opacity:1,transform:"*"}),(0,u.jt)(500,(0,u.oB)({opacity:0,transform:"scale(0)"}))])])]},changeDetection:0});class j2 extends $a{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=Cr.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.noBarWhenZero=!0,this.activate=new e.vpe,this.deactivate=new e.vpe,this.valueDomain=[0,100],this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.isSSR=!1,this.barChartType=go,this.trackBy=(a,n)=>n.name}ngOnInit(){(0,t.PM)(this.platformId)&&(this.isSSR=!0)}update(){super.update(),this.dims=kr({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.groupDomain=this.getGroupDomain(),this.innerDomain=this.getInnerDomain(),this.xScale=this.getXScale(),this.yScale=this.getYScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`}getGroupDomain(){const a=[];for(const n of this.results)a.includes(n.label)||a.push(n.label);return a}getInnerDomain(){const a=[];for(const n of this.results)for(const y of n.series)a.includes(y.label)||a.push(y.label);return a}getXScale(){const a=this.groupDomain.length/(this.dims.width/this.barPadding+1);return wo().rangeRound([0,this.dims.width]).paddingInner(a).domain(this.groupDomain)}getYScale(){const a=fa().range([this.dims.height,0]).domain(this.valueDomain);return this.roundDomains?a.nice():a}groupTransform(a){return`translate(${this.xScale(a.name)}, 0)`}onClick(a,n){n&&(a.series=n.name),this.select.emit(a)}setColors(){let a;a=this.schemeType===Ei.Ordinal?this.innerDomain:this.valueDomain,this.colors=new wr(this.scheme,this.schemeType,a,this.customColors)}getLegendOptions(){const a={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return a.scaleType===Ei.Ordinal?(a.domain=this.innerDomain,a.colors=this.colors,a.title=this.legendTitle):(a.domain=this.valueDomain,a.colors=this.colors.scale),a}updateYAxisWidth({width:a}){this.yAxisWidth=a,this.update()}updateXAxisHeight({height:a}){this.xAxisHeight=a,this.update()}onActivate(a,n,y=!1){const B=Object.assign({},a);n&&(B.series=n.name);const q=this.results.map(de=>de.series).flat().filter(de=>y?de.label===B.name:de.name===B.name&&de.series===B.series);this.activeEntries=[...q],this.activate.emit({value:B,entries:this.activeEntries})}onDeactivate(a,n,y=!1){const B=Object.assign({},a);n&&(B.series=n.name),this.activeEntries=this.activeEntries.filter(q=>y?q.label!==B.name:!(q.name===B.name&&q.series===B.series)),this.deactivate.emit({value:B,entries:this.activeEntries})}}j2.\u0275fac=function(){let d;return function(n){return(d||(d=e.n5z(j2)))(n||j2)}}(),j2.\u0275cmp=e.Xpm({type:j2,selectors:[["ngx-charts-bar-vertical-normalized"]],contentQueries:function(a,n,y){if(1&a&&e.Suo(y,zr,5),2&a){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.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",noBarWhenZero:"noBarWhenZero"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:6,vars:13,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelActivate","legendLabelDeactivate","legendLabelClick"],[1,"bar-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","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","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-series-vertical","",3,"type","xScale","yScale","activeEntries","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","seriesName","animations","noBarWhenZero","select","activate","deactivate"]],template:function(a,n){1&a&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelActivate",function(B){return n.onActivate(B,void 0,!0)})("legendLabelDeactivate",function(B){return n.onDeactivate(B,void 0,!0)})("legendLabelClick",function(B){return n.onClick(B)}),e.O4$(),e.TgZ(1,"g",1),e.YNc(2,rg,1,9,"g",2),e.YNc(3,og,1,9,"g",3),e.YNc(4,g3,2,2,"g",4),e.YNc(5,i_,2,2,"g",4),e.qZA()()),2&a&&(e.Q6J("view",e.WLB(10,Ra,n.width,n.height))("showLegend",n.legend)("legendOptions",n.legendOptions)("activeEntries",n.activeEntries)("animations",n.animations),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngIf",n.xAxis),e.xp6(1),e.Q6J("ngIf",n.yAxis),e.xp6(1),e.Q6J("ngIf",!n.isSSR),e.xp6(1),e.Q6J("ngIf",n.isSSR))},dependencies:[Ba,Bo,_o,zl,t.O5,t.sg],styles:[Sr],encapsulation:2,data:{animation:[(0,u.X$)("animationState",[(0,u.eR)(":leave",[(0,u.oB)({opacity:1,transform:"*"}),(0,u.jt)(500,(0,u.oB)({opacity:0,transform:"scale(0)"}))])])]},changeDetection:0});class T1 extends $a{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=Cr.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.showDataLabel=!1,this.noBarWhenZero=!0,this.activate=new e.vpe,this.deactivate=new e.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxHeight={negative:0,positive:0},this.isSSR=!1,this.barChartType=go,this.trackBy=(a,n)=>n.name}ngOnInit(){(0,t.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=kr({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.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})`}getGroupDomain(){const a=[];for(const n of this.results)a.includes(n.label)||a.push(n.label);return a}getInnerDomain(){const a=[];for(const n of this.results)for(const y of n.series)a.includes(y.label)||a.push(y.label);return a}getValueDomain(){const a=[];let n=0,y=0;for(const de of this.results){let Ie=0,ht=0;for(const yt of de.series)yt.value<0?Ie+=yt.value:ht+=yt.value,n=yt.value<n?yt.value:n,y=yt.value>y?yt.value:y;a.push(Ie),a.push(ht)}a.push(n),a.push(y);return[Math.min(0,...a),this.yScaleMax?Math.max(this.yScaleMax,...a):Math.max(...a)]}getXScale(){const a=this.groupDomain.length/(this.dims.width/this.barPadding+1);return wo().rangeRound([0,this.dims.width]).paddingInner(a).domain(this.groupDomain)}getYScale(){const a=fa().range([this.dims.height,0]).domain(this.valueDomain);return this.roundDomains?a.nice():a}onDataLabelMaxHeightChanged(a,n){a.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,a.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,a.size.height),n===this.results.length-1&&setTimeout(()=>this.update())}groupTransform(a){return`translate(${this.xScale(a.name)||0}, 0)`}onClick(a,n){n&&(a.series=n.name),this.select.emit(a)}setColors(){let a;a=this.schemeType===Ei.Ordinal?this.innerDomain:this.valueDomain,this.colors=new wr(this.scheme,this.schemeType,a,this.customColors)}getLegendOptions(){const a={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return a.scaleType===Ei.Ordinal?(a.domain=this.innerDomain,a.colors=this.colors,a.title=this.legendTitle):(a.domain=this.valueDomain,a.colors=this.colors.scale),a}updateYAxisWidth({width:a}){this.yAxisWidth=a,this.update()}updateXAxisHeight({height:a}){this.xAxisHeight=a,this.update()}onActivate(a,n,y=!1){const B=Object.assign({},a);n&&(B.series=n.name);const q=this.results.map(de=>de.series).flat().filter(de=>y?de.label===B.name:de.name===B.name&&de.series===B.series);this.activeEntries=[...q],this.activate.emit({value:B,entries:this.activeEntries})}onDeactivate(a,n,y=!1){const B=Object.assign({},a);n&&(B.series=n.name),this.activeEntries=this.activeEntries.filter(q=>y?q.label!==B.name:!(q.name===B.name&&q.series===B.series)),this.deactivate.emit({value:B,entries:this.activeEntries})}}T1.\u0275fac=function(){let d;return function(n){return(d||(d=e.n5z(T1)))(n||T1)}}(),T1.\u0275cmp=e.Xpm({type:T1,selectors:[["ngx-charts-bar-vertical-stacked"]],contentQueries:function(a,n,y){if(1&a&&e.Suo(y,zr,5),2&a){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.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",yScaleMax:"yScaleMax",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:6,vars:13,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelActivate","legendLabelDeactivate","legendLabelClick"],[1,"bar-chart","chart"],["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"],[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-series-vertical","",3,"type","xScale","yScale","activeEntries","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","seriesName","animations","noBarWhenZero","select","activate","deactivate","dataLabelHeightChanged"]],template:function(a,n){1&a&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelActivate",function(B){return n.onActivate(B,void 0,!0)})("legendLabelDeactivate",function(B){return n.onDeactivate(B,void 0,!0)})("legendLabelClick",function(B){return n.onClick(B)}),e.O4$(),e.TgZ(1,"g",1),e.YNc(2,Eo,1,10,"g",2),e.YNc(3,Np,1,9,"g",3),e.YNc(4,b3,2,2,"g",4),e.qZA(),e.YNc(5,a_,2,2,"g",4),e.qZA()),2&a&&(e.Q6J("view",e.WLB(10,Ra,n.width,n.height))("showLegend",n.legend)("legendOptions",n.legendOptions)("activeEntries",n.activeEntries)("animations",n.animations),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngIf",n.xAxis),e.xp6(1),e.Q6J("ngIf",n.yAxis),e.xp6(1),e.Q6J("ngIf",!n.isSSR),e.xp6(1),e.Q6J("ngIf",n.isSSR))},dependencies:[Ba,Bo,_o,zl,t.O5,t.sg],styles:[Sr],encapsulation:2,data:{animation:[(0,u.X$)("animationState",[(0,u.eR)(":leave",[(0,u.oB)({opacity:1,transform:"*"}),(0,u.jt)(500,(0,u.oB)({opacity:0,transform:"scale(0)"}))])])]},changeDetection:0});class A1{}A1.\u0275fac=function(a){return new(a||A1)},A1.\u0275mod=e.oAB({type:A1}),A1.\u0275inj=e.cJS({imports:[[Fo]]});const i4=xe();class ol{constructor(a,n){this.cd=n,this.roundEdges=!0,this.gradient=!1,this.offset=0,this.isActive=!1,this.animations=!0,this.noBarWhenZero=!0,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.BarOrientation=Ca,this.initialized=!1,this.hasGradient=!1,this.hideBar=!1,this.nativeElm=a.nativeElement}ngOnChanges(a){this.initialized?this.update():(this.loadAnimation(),this.initialized=!0)}update(){this.boxStrokeWidth=Math.max(this.strokeWidth,1),this.whiskerStrokeWidth=Math.max(this.strokeWidth/2,1),this.medianLineWidth=1.5*this.strokeWidth,this.gradientId="grad"+No().toString(),this.gradientFill=`url(#${this.gradientId})`,this.gradient?(this.gradientStops=this.getGradient(),this.hasGradient=!0):this.hasGradient=!1,this.updateLineEl(),this.updatePathEl(),this.checkToHideBar(),this.maskLineId="mask"+No().toString(),this.maskLine=`url(#${this.maskLineId})`,this.cd&&this.cd.markForCheck()}loadAnimation(){this.boxPath=this.oldPath=this.getStartingPath(),this.oldLineCoordinates=this.getStartingLineCoordinates(),setTimeout(this.update.bind(this),100)}updatePathEl(){const a=St(this.nativeElm).selectAll(".bar"),n=this.getPath();this.animations?a.attr("d",this.oldPath).transition().ease(Q).duration(500).attrTween("d",this.pathTween(n,4)):a.attr("d",n),this.oldPath=n}updateLineEl(){const a=St(this.nativeElm).selectAll(".bar-line"),n=this.lineCoordinates,y=this.oldLineCoordinates;this.animations?a.attr("x1",(B,q)=>y[q].v1.x).attr("y1",(B,q)=>y[q].v1.y).attr("x2",(B,q)=>y[q].v2.x).attr("y2",(B,q)=>y[q].v2.y).transition().ease(Q).duration(500).attr("x1",(B,q)=>n[q].v1.x).attr("y1",(B,q)=>n[q].v1.y).attr("x2",(B,q)=>n[q].v2.x).attr("y2",(B,q)=>n[q].v2.y):a.attr("x1",(B,q)=>n[q].v1.x).attr("y1",(B,q)=>n[q].v1.y).attr("x2",(B,q)=>n[q].v2.x).attr("y2",(B,q)=>n[q].v2.y),this.oldLineCoordinates=[...n]}lineTween(a,n,y,B){return B[y][a].baseVal.value}pathTween(a,n){return function(){const y=this,B=this.cloneNode();B.setAttribute("d",a);const q=y?.getTotalLength(),de=B?.getTotalLength(),Ie=[0];let ht=0;const yt=n/Math.max(q,de);for(;ht<1;)Ie.push(ht),ht+=yt;Ie.push(1);const Tt=Ie.map(ei=>{const zt=y.getPointAtLength(ei*q),vi=B.getPointAtLength(ei*de);return qn([zt.x,zt.y],[vi.x,vi.y])});return ei=>ei<1?"M"+Tt.map(zt=>zt(ei)).join("L"):a}}getStartingPath(){if(!this.animations)return this.getPath();const a=this.roundEdges?1:0,{x:n,y}=this.lineCoordinates[2].v1;return il(n-this.width,y-1,this.width,2,a,this.edges)}getPath(){const a=this.getRadius();let n="";return n=il(this.x,this.y,this.width,this.height,Math.min(this.height,a),this.edges),n}getStartingLineCoordinates(){if(!this.animations)return[...this.lineCoordinates];const a=i4(this.lineCoordinates);return a[1].v1.y=a[1].v2.y=a[3].v1.y=a[3].v2.y=a[0].v1.y=a[0].v2.y=a[2].v1.y,a}getRadius(){let a=0;return this.roundEdges&&this.height>5&&this.width>5&&(a=Math.floor(Math.min(5,this.height/2,this.width/2))),a}getGradient(){return[{offset:0,color:this.fill,opacity:this.getStartOpacity()},{offset:100,color:this.fill,opacity:1}]}getStartOpacity(){return this.roundEdges?.2:.5}get edges(){let a=[!1,!1,!1,!1];return this.roundEdges&&(a=[!0,!0,!0,!0]),a}onMouseEnter(){this.activate.emit(this.data)}onMouseLeave(){this.deactivate.emit(this.data)}checkToHideBar(){this.hideBar=this.noBarWhenZero&&0===this.height}}ol.\u0275fac=function(a){return new(a||ol)(e.Y36(e.SBq),e.Y36(e.sBO))},ol.\u0275cmp=e.Xpm({type:ol,selectors:[["g","ngx-charts-box",""]],hostBindings:function(a,n){1&a&&e.NdJ("mouseenter",function(){return n.onMouseEnter()})("mouseleave",function(){return n.onMouseLeave()})},inputs:{strokeColor:"strokeColor",strokeWidth:"strokeWidth",fill:"fill",data:"data",width:"width",height:"height",x:"x",y:"y",lineCoordinates:"lineCoordinates",roundEdges:"roundEdges",gradient:"gradient",gradientStops:"gradientStops",offset:"offset",isActive:"isActive",animations:"animations",ariaLabel:"ariaLabel",noBarWhenZero:"noBarWhenZero"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[e.TTD],attrs:["ngx-charts-box",""],decls:9,vars:13,consts:[["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops",4,"ngIf"],["height","100%","width","100%","fill","white","fill-opacity","1"],["fill","black","fill-opacity","1",1,"bar"],["role","img","tabIndex","-1",1,"bar",3,"click"],["class","bar-line","fill","none",3,"hidden",4,"ngFor","ngForOf"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"],["fill","none",1,"bar-line"]],template:function(a,n){1&a&&(e.O4$(),e.TgZ(0,"defs"),e.YNc(1,x3,1,3,"g",0),e.TgZ(2,"mask")(3,"g"),e._UZ(4,"rect",1)(5,"path",2),e.qZA()()(),e.TgZ(6,"g")(7,"path",3),e.NdJ("click",function(){return n.select.emit(n.data)}),e.qZA(),e.YNc(8,N2,1,9,"line",4),e.qZA()),2&a&&(e.xp6(1),e.Q6J("ngIf",n.hasGradient),e.xp6(1),e.uIk("id",n.maskLineId),e.xp6(3),e.uIk("d",n.boxPath),e.xp6(2),e.ekj("active",n.isActive)("hidden",n.hideBar),e.uIk("d",n.boxPath)("stroke",n.strokeColor)("stroke-width",n.boxStrokeWidth)("aria-label",n.ariaLabel)("fill",n.hasGradient?n.gradientFill:n.fill),e.xp6(1),e.Q6J("ngForOf",n.lineCoordinates))},dependencies:[ac,t.O5,t.sg],encapsulation:2,changeDetection:0});class q2{constructor(){this.animations=!0,this.tooltipDisabled=!1,this.gradient=!1,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe}ngOnChanges(a){this.update()}onClick(a){this.select.emit(a)}update(){this.updateTooltipSettings();const a=this.series&&this.series.series.length?Math.round(this.xScale.bandwidth()):null,n=this.series.name;this.counts=this.series.series;const y=this.counts.map(Tt=>Number(Tt.value));this.whiskers=[Tl(y),y2(y)];const B=this.counts.map(Tt=>Tt.value).sort((Tt,ei)=>Number(Tt)-Number(ei));this.quartiles=this.getBoxQuantiles(B),this.lineCoordinates=this.getLinesCoordinates(n.toString(),this.whiskers,this.quartiles,a);const q=this.quartiles[1],de=Do(n),Ie={value:q,data:this.counts,label:n,formattedLabel:de,width:a,height:0,x:0,y:0,roundEdges:this.roundEdges,quartiles:this.quartiles,lineCoordinates:this.lineCoordinates};Ie.height=Math.abs(this.yScale(this.quartiles[0])-this.yScale(this.quartiles[2])),Ie.x=this.xScale(n.toString()),Ie.y=this.yScale(this.quartiles[2]),Ie.ariaLabel=de+" - Median: "+q.toLocaleString(),this.colors.scaleType===Ei.Ordinal?Ie.color=this.colors.getColor(n):(Ie.color=this.colors.getColor(this.quartiles[1]),Ie.gradientStops=this.colors.getLinearGradientStops(this.quartiles[0],this.quartiles[2]));const yt=`\n <span class="tooltip-label">${no(de)}</span>\n <span class="tooltip-val">\n \u2022 Q1: ${this.quartiles[0]} \u2022 Q2: ${this.quartiles[1]} \u2022 Q3: ${this.quartiles[2]}<br>\n \u2022 Min: ${this.whiskers[0]} \u2022 Max: ${this.whiskers[1]}\n </span>`;Ie.tooltipText=this.tooltipDisabled?void 0:yt,this.tooltipTitle=this.tooltipDisabled?void 0:Ie.tooltipText,this.box=Ie}getBoxQuantiles(a){return[md(a,.25),md(a,.5),md(a,.75)]}getLinesCoordinates(a,n,y,B){const de=this.xScale(a)+B/2,Ie=Math.max(B+4*this.strokeWidth,1),ht=Math.max(B/3,1),yt=this.yScale(n[0]),Tt=this.yScale(n[1]),ei=this.yScale(y[1]);return[{v1:{x:de,y:yt},v2:{x:de,y:Tt}},{v1:{x:de+ht/2,y:yt},v2:{x:de-ht/2,y:yt}},{v1:{x:de+Ie/2,y:ei},v2:{x:de-Ie/2,y:ei}},{v1:{x:de+ht/2,y:Tt},v2:{x:de-ht/2,y:Tt}}]}updateTooltipSettings(){this.tooltipDisabled?(this.tooltipPlacement=void 0,this.tooltipType=void 0):(this.tooltipPlacement||(this.tooltipPlacement=Un.Top),this.tooltipType||(this.tooltipType=Cs.tooltip))}}q2.\u0275fac=function(a){return new(a||q2)},q2.\u0275cmp=e.Xpm({type:q2,selectors:[["g","ngx-charts-box-series",""]],inputs:{dims:"dims",series:"series",xScale:"xScale",yScale:"yScale",colors:"colors",animations:"animations",strokeColor:"strokeColor",strokeWidth:"strokeWidth",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate",tooltipPlacement:"tooltipPlacement",tooltipType:"tooltipType",roundEdges:"roundEdges",gradient:"gradient"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[e.TTD],attrs:["ngx-charts-box-series",""],decls:1,vars:22,consts:[["ngx-charts-box","","ngx-tooltip","",3,"width","height","x","y","roundEdges","fill","gradientStops","strokeColor","strokeWidth","data","lineCoordinates","gradient","ariaLabel","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","animations","select","activate","deactivate"]],template:function(a,n){1&a&&(e.O4$(),e.TgZ(0,"g",0),e.NdJ("select",function(B){return n.onClick(B)})("activate",function(B){return n.activate.emit(B)})("deactivate",function(B){return n.deactivate.emit(B)}),e.qZA()),2&a&&e.Q6J("@animationState","active")("@.disabled",!n.animations)("width",n.box.width)("height",n.box.height)("x",n.box.x)("y",n.box.y)("roundEdges",n.box.roundEdges)("fill",n.box.color)("gradientStops",n.box.gradientStops)("strokeColor",n.strokeColor)("strokeWidth",n.strokeWidth)("data",n.box.data)("lineCoordinates",n.box.lineCoordinates)("gradient",n.gradient)("ariaLabel",n.box.ariaLabel)("tooltipDisabled",n.tooltipDisabled)("tooltipPlacement",n.tooltipPlacement)("tooltipType",n.tooltipType)("tooltipTitle",n.tooltipTitle)("tooltipTemplate",n.tooltipTemplate)("tooltipContext",n.box.data)("animations",n.animations)},dependencies:[ol,To],encapsulation:2,data:{animation:[(0,u.X$)("animationState",[(0,u.eR)(":leave",[(0,u.oB)({opacity:1}),(0,u.jt)(500,(0,u.oB)({opacity:0}))])])]},changeDetection:0});class xu extends $a{constructor(){super(...arguments),this.legend=!1,this.legendPosition=Cr.Right,this.legendTitle="Legend",this.showGridLines=!0,this.xAxis=!0,this.yAxis=!0,this.showXAxisLabel=!0,this.showYAxisLabel=!0,this.roundDomains=!1,this.roundEdges=!0,this.strokeColor="#FFFFFF",this.strokeWidth=2,this.tooltipDisabled=!1,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0}trackBy(a,n){return n.name}update(){super.update(),this.dims=kr({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,legendPosition:this.legendPosition}),this.xDomain=this.getXDomain(),this.yDomain=this.getYDomain(),this.seriesDomain=this.getSeriesDomain(),this.setScales(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`}setColors(){let a=[];a=this.schemeType===Ei.Ordinal?this.seriesDomain:this.yDomain,this.colors=new wr(this.scheme,this.schemeType,a,this.customColors)}setScales(){this.xScale=this.getXScale(this.xDomain,this.dims.width),this.yScale=this.getYScale(this.yDomain,this.dims.height)}getXScale(a,n){return wo().domain(a.map(B=>B.toString())).rangeRound([0,n]).padding(.5)}getYScale(a,n){const y=fa().domain(a).range([n,0]);return this.roundDomains?y.nice():y}getUniqueBoxChartXDomainValues(a){const n=new Set;for(const y of a)n.add(y.name);return Array.from(n)}getXDomain(){let a=[];const n=this.getUniqueBoxChartXDomainValues(this.results);let y,B;if("string"==typeof n[0])a=n.map(q=>q.toString());else if("number"==typeof n[0]){const q=n.map(de=>Number(de));y=Math.min(...q),B=Math.max(...q),a=[y,B]}else{const q=n.map(de=>Number(new Date(de)));y=Math.min(...q),B=Math.max(...q),a=[new Date(y),new Date(B)]}return a}getYDomain(){const a=[];for(const de of this.results)for(const Ie of de.series)a.indexOf(Ie.value)<0&&a.push(Ie.value);const y=[...a].map(de=>Number(de));return[Math.min(...y),Math.max(...y)]}getSeriesDomain(){return this.results.map(a=>`${a.name}`)}updateYAxisWidth({width:a}){this.yAxisWidth=a,this.update()}updateXAxisHeight({height:a}){this.xAxisHeight=a,this.update()}onClick(a){this.select.emit(a)}onActivate(a){this.activate.emit(a)}onDeactivate(a){this.deactivate.emit(a)}getLegendOptions(){const a={scaleType:this.schemeType,colors:this.colors,domain:[],position:this.legendPosition,title:this.legendTitle};return this.schemeType===Ei.Ordinal?(a.domain=this.xDomain,a.colors=this.colors):(a.domain=this.yDomain,a.colors=this.colors.scale),a}}xu.\u0275fac=function(){let d;return function(n){return(d||(d=e.n5z(xu)))(n||xu)}}(),xu.\u0275cmp=e.Xpm({type:xu,selectors:[["ngx-charts-box-chart"]],contentQueries:function(a,n,y){if(1&a&&e.Suo(y,zr,5),2&a){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.first)}},inputs:{legend:"legend",legendPosition:"legendPosition",legendTitle:"legendTitle",legendOptionsConfig:"legendOptionsConfig",showGridLines:"showGridLines",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",roundDomains:"roundDomains",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",roundEdges:"roundEdges",strokeColor:"strokeColor",strokeWidth:"strokeWidth",tooltipDisabled:"tooltipDisabled",gradient:"gradient"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:6,vars:21,consts:[[3,"view","showLegend","legendOptions","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"box-chart","chart"],["ngx-charts-x-axis","",3,"showGridLines","dims","xScale","showLabel","labelText","dimensionsChanged"],["ngx-charts-y-axis","",3,"showGridLines","dims","yScale","showLabel","labelText","dimensionsChanged"],[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-box-series","",3,"xScale","yScale","colors","roundEdges","strokeColor","strokeWidth","tooltipDisabled","tooltipTemplate","series","dims","animations","gradient","activate","deactivate","select"]],template:function(a,n){1&a&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelClick",function(B){return n.onClick(B)})("legendLabelActivate",function(B){return n.onActivate(B)})("legendLabelDeactivate",function(B){return n.onDeactivate(B)}),e.O4$(),e.TgZ(1,"g",1)(2,"g",2),e.NdJ("dimensionsChanged",function(B){return n.updateXAxisHeight(B)}),e.qZA(),e.TgZ(3,"g",3),e.NdJ("dimensionsChanged",function(B){return n.updateYAxisWidth(B)}),e.qZA()(),e.TgZ(4,"g"),e.YNc(5,r_,2,12,"g",4),e.qZA()()),2&a&&(e.Q6J("view",e.WLB(18,Ra,n.width,n.height))("showLegend",n.legend)("legendOptions",n.legendOptions)("animations",n.animations),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("showGridLines",n.showGridLines)("dims",n.dims)("xScale",n.xScale)("showLabel",n.showXAxisLabel)("labelText",n.xAxisLabel),e.xp6(1),e.Q6J("showGridLines",n.showGridLines)("dims",n.dims)("yScale",n.yScale)("showLabel",n.showYAxisLabel)("labelText",n.yAxisLabel),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngForOf",n.results)("ngForTrackBy",n.trackBy))},dependencies:[Ba,Bo,_o,q2,t.sg],styles:[Sr],encapsulation:2,changeDetection:0});class Cu{}function lf(d,a,n,y,B){let q=[];if(a===Ei.Linear&&(d=d.map(de=>Number(de)),n||d.push(0)),a===Ei.Time||a===Ei.Linear){q=[y||0===y?y:Math.min(...d),B||Math.max(...d)]}else q=d;return q}function hm(d,a,n,y){switch(n){case Ei.Time:return ar().range(a).domain(d);case Ei.Linear:{const B=fa().range(a).domain(d);return y?B.nice():B}case Ei.Ordinal:return jo().range([a[0],a[1]]).domain(d.map(B=>B.toString()));default:return}}Cu.\u0275fac=function(a){return new(a||Cu)},Cu.\u0275mod=e.oAB({type:Cu}),Cu.\u0275inj=e.cJS({imports:[[Fo]]});class wu{constructor(a){this.platformId=a,this.tooltipDisabled=!1,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.placementTypes=Un,this.styleTypes=Cs,this.isSSR=!1}ngOnInit(){(0,t.PM)(this.platformId)&&(this.isSSR=!0)}ngOnChanges(a){this.update()}update(){this.circles=this.getCircles()}getCircles(){const a=this.data.name;return this.data.series.map((n,y)=>{if(typeof n.y<"u"&&typeof n.x<"u"){const B=n.y,q=n.x,de=n.r,Ie=this.rScale(de||1),ht=Do(n.name),yt=this.xScaleType===Ei.Linear?this.xScale(Number(q)):this.xScale(q),Tt=this.yScaleType===Ei.Linear?this.yScale(Number(B)):this.yScale(B),ei=this.colors.scaleType===Ei.Linear?this.colors.getColor(de):this.colors.getColor(a),zt=!this.activeEntries.length||this.isActive({name:a}),vi=zt?1:.3;return{data:Object.assign({},n,{series:a,name:n.name,value:n.y,x:n.x,radius:n.r}),x:q,y:B,r:de,classNames:[`circle-data-${y}`],value:B,label:q,cx:yt,cy:Tt,radius:Ie,tooltipLabel:ht,color:ei,opacity:vi,seriesName:a,isActive:zt,transform:`translate(${yt},${Tt})`}}}).filter(n=>void 0!==n)}getTooltipText(a){const n=typeof a.r<"u",y=a.tooltipLabel&&a.tooltipLabel.length,B=a.seriesName&&a.seriesName.length,q=n?Do(a.r):"",de=this.xAxisLabel&&""!==this.xAxisLabel?`${this.xAxisLabel}:`:"",Ie=this.yAxisLabel&&""!==this.yAxisLabel?`${this.yAxisLabel}:`:"",ht=Do(a.x),yt=Do(a.y),Tt=B&&y?`${a.seriesName} \u2022 ${a.tooltipLabel}`:a.seriesName+a.tooltipLabel;return`\n ${B||y?`<span class="tooltip-label">${no(Tt)}</span>`:""}\n <span class="tooltip-label">\n <label>${no(de)}</label> ${no(ht)}<br />\n <label>${no(Ie)}</label> ${no(yt)}\n </span>\n <span class="tooltip-val">\n ${no(q)}\n </span>\n `}onClick(a){this.select.emit(a)}isActive(a){return!!this.activeEntries&&void 0!==this.activeEntries.find(y=>a.name===y.name)}isVisible(a){return this.activeEntries.length>0?this.isActive({name:a.seriesName}):0!==a.opacity}activateCircle(a){a.barVisible=!0,this.activate.emit({name:this.data.name})}deactivateCircle(a){a.barVisible=!1,this.deactivate.emit({name:this.data.name})}trackBy(a,n){return`${n.data.series} ${n.data.name}`}}wu.\u0275fac=function(a){return new(a||wu)(e.Y36(e.Lbi))},wu.\u0275cmp=e.Xpm({type:wu,selectors:[["g","ngx-charts-bubble-series",""]],inputs:{data:"data",xScale:"xScale",yScale:"yScale",rScale:"rScale",xScaleType:"xScaleType",yScaleType:"yScaleType",colors:"colors",visibleValue:"visibleValue",activeEntries:"activeEntries",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[e.TTD],attrs:["ngx-charts-bubble-series",""],decls:1,vars:2,consts:[[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-circle","","class","circle","ngx-tooltip","",3,"cx","cy","r","fill","opacity","active","pointerEvents","data","classNames","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate",4,"ngIf"],["ngx-charts-circle","","ngx-tooltip","",1,"circle",3,"cx","cy","r","fill","pointerEvents","data","classNames","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate"]],template:function(a,n){1&a&&e.YNc(0,sg,4,3,"g",0),2&a&&e.Q6J("ngForOf",n.circles)("ngForTrackBy",n.trackBy)},dependencies:[Oc,t.sg,t.O5,To],encapsulation:2,data:{animation:[(0,u.X$)("animationState",[(0,u.eR)(":enter",[(0,u.oB)({opacity:0,transform:"scale(0)"}),(0,u.jt)(250,(0,u.oB)({opacity:1,transform:"scale(1)"}))])])]},changeDetection:0});class I1 extends $a{constructor(){super(...arguments),this.showGridLines=!0,this.legend=!1,this.legendTitle="Legend",this.legendPosition=Cr.Right,this.xAxis=!0,this.yAxis=!0,this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.roundDomains=!1,this.maxRadius=10,this.minRadius=3,this.schemeType=Ei.Ordinal,this.tooltipDisabled=!1,this.activate=new e.vpe,this.deactivate=new e.vpe,this.scaleType=Ei.Linear,this.margin=[10,20,10,20],this.bubblePadding=[0,0,0,0],this.xAxisHeight=0,this.yAxisWidth=0,this.activeEntries=[],this.isSSR=!1}ngOnInit(){(0,t.PM)(this.platformId)&&(this.isSSR=!0)}update(){super.update(),this.dims=kr({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.seriesDomain=this.results.map(n=>n.name),this.rDomain=this.getRDomain(),this.xDomain=this.getXDomain(),this.yDomain=this.getYDomain(),this.transform=`translate(${this.dims.xOffset},${this.margin[0]})`;const a=this.schemeType===Ei.Ordinal?this.seriesDomain:this.rDomain;this.colors=new wr(this.scheme,this.schemeType,a,this.customColors),this.data=this.results,this.minRadius=Math.max(this.minRadius,1),this.maxRadius=Math.max(this.maxRadius,1),this.rScale=this.getRScale(this.rDomain,[this.minRadius,this.maxRadius]),this.bubblePadding=[0,0,0,0],this.setScales(),this.bubblePadding=this.getBubblePadding(),this.setScales(),this.legendOptions=this.getLegendOptions(),this.clipPathId="clip"+No().toString(),this.clipPath=`url(#${this.clipPathId})`}hideCircles(){this.deactivateAll()}onClick(a,n){n&&(a.series=n.name),this.select.emit(a)}getBubblePadding(){let a=0,n=0,y=this.dims.height,B=this.dims.width;for(const q of this.data)for(const de of q.series){const Ie=this.rScale(de.r),ht=this.xScaleType===Ei.Linear?this.xScale(Number(de.x)):this.xScale(de.x),yt=this.yScaleType===Ei.Linear?this.yScale(Number(de.y)):this.yScale(de.y);n=Math.max(Ie-ht,n),a=Math.max(Ie-yt,a),y=Math.max(yt+Ie,y),B=Math.max(ht+Ie,B)}return B=Math.max(B-this.dims.width,0),y=Math.max(y-this.dims.height,0),[a,B,y,n]}setScales(){let a=this.dims.width;void 0===this.xScaleMin&&void 0===this.xScaleMax&&(a-=this.bubblePadding[1]);let n=this.dims.height;void 0===this.yScaleMin&&void 0===this.yScaleMax&&(n-=this.bubblePadding[2]),this.xScale=this.getXScale(this.xDomain,a),this.yScale=this.getYScale(this.yDomain,n)}getYScale(a,n){return hm(a,[n,this.bubblePadding[0]],this.yScaleType,this.roundDomains)}getXScale(a,n){return hm(a,[this.bubblePadding[3],n],this.xScaleType,this.roundDomains)}getRScale(a,n){const y=fa().range(n).domain(a);return this.roundDomains?y.nice():y}getLegendOptions(){const a={scaleType:this.schemeType,colors:void 0,domain:[],position:this.legendPosition,title:void 0};return a.scaleType===Ei.Ordinal?(a.domain=this.seriesDomain,a.colors=this.colors,a.title=this.legendTitle):(a.domain=this.rDomain,a.colors=this.colors.scale),a}getXDomain(){const a=[];for(const n of this.results)for(const y of n.series)a.includes(y.x)||a.push(y.x);return this.xScaleType=al(a),lf(a,this.xScaleType,this.autoScale,this.xScaleMin,this.xScaleMax)}getYDomain(){const a=[];for(const n of this.results)for(const y of n.series)a.includes(y.y)||a.push(y.y);return this.yScaleType=al(a),lf(a,this.yScaleType,this.autoScale,this.yScaleMin,this.yScaleMax)}getRDomain(){let a=1/0,n=-1/0;for(const y of this.results)for(const B of y.series){const q=Number(B.r)||1;a=Math.min(a,q),n=Math.max(n,q)}return[a,n]}updateYAxisWidth({width:a}){this.yAxisWidth=a,this.update()}updateXAxisHeight({height:a}){this.xAxisHeight=a,this.update()}onActivate(a){this.activeEntries.findIndex(y=>y.name===a.name)>-1||(this.activeEntries=[a,...this.activeEntries],this.activate.emit({value:a,entries:this.activeEntries}))}onDeactivate(a){const n=this.activeEntries.findIndex(y=>y.name===a.name);this.activeEntries.splice(n,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:a,entries:this.activeEntries})}deactivateAll(){this.activeEntries=[...this.activeEntries];for(const a of this.activeEntries)this.deactivate.emit({value:a,entries:[]});this.activeEntries=[]}trackBy(a,n){return`${n.name}`}}I1.\u0275fac=function(){let d;return function(n){return(d||(d=e.n5z(I1)))(n||I1)}}(),I1.\u0275cmp=e.Xpm({type:I1,selectors:[["ngx-charts-bubble-chart"]],contentQueries:function(a,n,y){if(1&a&&e.Suo(y,zr,5),2&a){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.first)}},hostBindings:function(a,n){1&a&&e.NdJ("mouseleave",function(){return n.hideCircles()})},inputs:{showGridLines:"showGridLines",legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",roundDomains:"roundDomains",maxRadius:"maxRadius",minRadius:"minRadius",autoScale:"autoScale",schemeType:"schemeType",tooltipDisabled:"tooltipDisabled",xScaleMin:"xScaleMin",xScaleMax:"xScaleMax",yScaleMin:"yScaleMin",yScaleMax:"yScaleMax"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:10,vars:19,consts:[[3,"view","showLegend","activeEntries","legendOptions","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"bubble-chart","chart"],["ngx-charts-x-axis","",3,"showGridLines","dims","xScale","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"showGridLines","yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["x","0","y","0",1,"bubble-chart-area",2,"fill","rgb(255, 0, 0)","opacity","0","cursor","auto",3,"mouseenter"],[4,"ngIf"],["ngx-charts-x-axis","",3,"showGridLines","dims","xScale","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"showGridLines","yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-bubble-series","",3,"xScale","yScale","rScale","xScaleType","yScaleType","xAxisLabel","yAxisLabel","colors","data","activeEntries","tooltipDisabled","tooltipTemplate","select","activate","deactivate"]],template:function(a,n){1&a&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelClick",function(B){return n.onClick(B)})("legendLabelActivate",function(B){return n.onActivate(B)})("legendLabelDeactivate",function(B){return n.onDeactivate(B)}),e.O4$(),e.TgZ(1,"defs")(2,"clipPath"),e._UZ(3,"rect"),e.qZA()(),e.TgZ(4,"g",1),e.YNc(5,zp,1,10,"g",2),e.YNc(6,Hp,1,9,"g",3),e.TgZ(7,"rect",4),e.NdJ("mouseenter",function(){return n.deactivateAll()}),e.qZA(),e.YNc(8,s_,2,3,"g",5),e.YNc(9,el,2,3,"g",5),e.qZA()()),2&a&&(e.Q6J("view",e.WLB(16,Ra,n.width,n.height))("showLegend",n.legend)("activeEntries",n.activeEntries)("legendOptions",n.legendOptions)("animations",n.animations),e.xp6(2),e.uIk("id",n.clipPathId),e.xp6(1),e.uIk("width",n.dims.width+10)("height",n.dims.height+10)("transform","translate(-5, -5)"),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngIf",n.xAxis),e.xp6(1),e.Q6J("ngIf",n.yAxis),e.xp6(1),e.uIk("width",n.dims.width)("height",n.dims.height),e.xp6(1),e.Q6J("ngIf",!n.isSSR),e.xp6(1),e.Q6J("ngIf",n.isSSR))},dependencies:[Ba,Bo,_o,wu,t.O5,t.sg],styles:[Sr],encapsulation:2,data:{animation:[(0,u.X$)("animationState",[(0,u.eR)(":leave",[(0,u.oB)({opacity:1}),(0,u.jt)(500,(0,u.oB)({opacity:0}))])])]},changeDetection:0});class Hl{}Hl.\u0275fac=function(a){return new(a||Hl)},Hl.\u0275mod=e.oAB({type:Hl}),Hl.\u0275inj=e.cJS({imports:[[Fo]]});class X2{constructor(a){this.gradient=!1,this.animations=!0,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.barOrientation=Ca,this.element=a.nativeElement}ngOnChanges(a){this.transform=`translate(${this.x} , ${this.y})`,this.startOpacity=.3,this.gradientId="grad"+No().toString(),this.gradientUrl=`url(#${this.gradientId})`,this.gradientStops=this.getGradientStops(),this.animations&&this.loadAnimation()}getGradientStops(){return[{offset:0,color:this.fill,opacity:this.startOpacity},{offset:100,color:this.fill,opacity:1}]}loadAnimation(){St(this.element).select(".cell").attr("opacity",0),this.animateToCurrentForm()}animateToCurrentForm(){St(this.element).select(".cell").transition().duration(750).attr("opacity",1)}onClick(){this.select.emit(this.data)}onMouseEnter(){this.activate.emit(this.data)}onMouseLeave(){this.deactivate.emit(this.data)}}X2.\u0275fac=function(a){return new(a||X2)(e.Y36(e.SBq))},X2.\u0275cmp=e.Xpm({type:X2,selectors:[["g","ngx-charts-heat-map-cell",""]],hostBindings:function(a,n){1&a&&e.NdJ("mouseenter",function(){return n.onMouseEnter()})("mouseleave",function(){return n.onMouseLeave()})},inputs:{fill:"fill",x:"x",y:"y",width:"width",height:"height",data:"data",gradient:"gradient",animations:"animations"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[e.TTD],attrs:["ngx-charts-heat-map-cell",""],decls:3,vars:5,consts:[[1,"cell"],[4,"ngIf"],["rx","3",1,"cell",3,"click"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"]],template:function(a,n){1&a&&(e.O4$(),e.TgZ(0,"g",0),e.YNc(1,Lc,2,3,"defs",1),e.TgZ(2,"rect",2),e.NdJ("click",function(){return n.onClick()}),e.qZA()()),2&a&&(e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngIf",n.gradient),e.xp6(1),e.uIk("fill",n.gradient?n.gradientUrl:n.fill)("width",n.width)("height",n.height))},dependencies:[ac,t.O5],encapsulation:2,changeDetection:0});class L1{constructor(){this.tooltipDisabled=!1,this.animations=!0,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.placementTypes=Un,this.styleTypes=Cs}ngOnInit(){this.tooltipText||(this.tooltipText=this.getTooltipText)}ngOnChanges(a){this.update()}update(){this.cells=this.getCells()}getCells(){const a=[];return this.data.map(n=>{n.series.map(y=>{const B=y.value;y.series=n.name,a.push({row:n,cell:y,x:this.xScale(n.name),y:this.yScale(y.name),width:this.xScale.bandwidth(),height:this.yScale.bandwidth(),fill:this.colors.getColor(B),data:B,label:Do(y.name),series:n.name})})}),a}getTooltipText({label:a,data:n,series:y}){return`\n <span class="tooltip-label">${no(y)} \u2022 ${no(a)}</span>\n <span class="tooltip-val">${n.toLocaleString()}</span>\n `}trackBy(a,n){return n.label}onClick(a){this.select.emit(a)}}L1.\u0275fac=function(a){return new(a||L1)},L1.\u0275cmp=e.Xpm({type:L1,selectors:[["g","ngx-charts-heat-map-cell-series",""]],inputs:{data:"data",colors:"colors",xScale:"xScale",yScale:"yScale",gradient:"gradient",tooltipDisabled:"tooltipDisabled",tooltipText:"tooltipText",tooltipTemplate:"tooltipTemplate",animations:"animations"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[e.TTD],attrs:["ngx-charts-heat-map-cell-series",""],decls:1,vars:2,consts:[["ngx-charts-heat-map-cell","","ngx-tooltip","",3,"x","y","width","height","fill","data","gradient","animations","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-heat-map-cell","","ngx-tooltip","",3,"x","y","width","height","fill","data","gradient","animations","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate"]],template:function(a,n){1&a&&e.YNc(0,c_,1,18,"g",0),2&a&&e.Q6J("ngForOf",n.cells)("ngForTrackBy",n.trackBy)},dependencies:[X2,t.sg,To],encapsulation:2,changeDetection:0});class O1 extends $a{constructor(){super(...arguments),this.legendTitle="Legend",this.legendPosition=Cr.Right,this.innerPadding=8,this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.tooltipDisabled=!1,this.activeEntries=[],this.activate=new e.vpe,this.deactivate=new e.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.scaleType=Ei.Linear}update(){if(super.update(),this.formatDates(),this.xDomain=this.getXDomain(),this.yDomain=this.getYDomain(),this.valueDomain=this.getValueDomain(),this.scaleType=al(this.valueDomain,!1),this.dims=kr({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.scaleType,legendPosition:this.legendPosition}),this.scaleType===Ei.Linear){let a=this.min,n=this.max;this.min||(a=Math.min(0,...this.valueDomain)),this.max||(n=Math.max(...this.valueDomain)),this.valueDomain=[a,n]}this.xScale=this.getXScale(),this.yScale=this.getYScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`,this.rects=this.getRects()}getXDomain(){const a=[];for(const n of this.results)a.includes(n.name)||a.push(n.name);return a}getYDomain(){const a=[];for(const n of this.results)for(const y of n.series)a.includes(y.name)||a.push(y.name);return a}getValueDomain(){const a=[];for(const n of this.results)for(const y of n.series)a.includes(y.value)||a.push(y.value);return a}getDimension(a,n=0,y,B){return"string"==typeof a&&((a=a.replace("[","").replace("]","").replace("px","").replace("'","")).includes(",")&&(a=a.split(","))),Array.isArray(a)&&"number"==typeof n?this.getDimension(a[n],null,y,B):"string"==typeof a&&a.includes("%")?+a.replace("%","")/100:y/(B/+a+1)}getXScale(){const a=this.getDimension(this.innerPadding,0,this.xDomain.length,this.dims.width);return wo().rangeRound([0,this.dims.width]).domain(this.xDomain).paddingInner(a)}getYScale(){const a=this.getDimension(this.innerPadding,1,this.yDomain.length,this.dims.height);return wo().rangeRound([this.dims.height,0]).domain(this.yDomain).paddingInner(a)}getRects(){const a=[];return this.xDomain.map(n=>{this.yDomain.map(y=>{a.push({x:this.xScale(n),y:this.yScale(y),rx:3,width:this.xScale.bandwidth(),height:this.yScale.bandwidth(),fill:"rgba(200,200,200,0.03)"})})}),a}onClick(a){this.select.emit(a)}setColors(){this.colors=new wr(this.scheme,this.scaleType,this.valueDomain)}getLegendOptions(){return{scaleType:this.scaleType,domain:this.valueDomain,colors:this.scaleType===Ei.Ordinal?this.colors:this.colors.scale,title:this.scaleType===Ei.Ordinal?this.legendTitle:void 0,position:this.legendPosition}}updateYAxisWidth({width:a}){this.yAxisWidth=a,this.update()}updateXAxisHeight({height:a}){this.xAxisHeight=a,this.update()}onActivate(a,n,y=!1){const B=Object.assign({},a);n&&(B.series=n.name);const q=this.results.map(de=>de.series).flat().filter(de=>y?de.label===B.name:de.name===B.name&&de.series===B.series);this.activeEntries=[...q],this.activate.emit({value:B,entries:this.activeEntries})}onDeactivate(a,n,y=!1){const B=Object.assign({},a);n&&(B.series=n.name),this.activeEntries=this.activeEntries.filter(q=>y?q.label!==B.name:!(q.name===B.name&&q.series===B.series)),this.deactivate.emit({value:B,entries:this.activeEntries})}}O1.\u0275fac=function(){let d;return function(n){return(d||(d=e.n5z(O1)))(n||O1)}}(),O1.\u0275cmp=e.Xpm({type:O1,selectors:[["ngx-charts-heat-map"]],contentQueries:function(a,n,y){if(1&a&&e.Suo(y,zr,5),2&a){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",gradient:"gradient",innerPadding:"innerPadding",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",tooltipDisabled:"tooltipDisabled",tooltipText:"tooltipText",min:"min",max:"max",activeEntries:"activeEntries"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:6,vars:20,consts:[[3,"view","showLegend","animations","legendOptions","legendLabelClick"],[1,"heat-map","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],[4,"ngFor","ngForOf"],["ngx-charts-heat-map-cell-series","",3,"xScale","yScale","colors","data","gradient","animations","tooltipDisabled","tooltipTemplate","tooltipText","select","activate","deactivate"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"]],template:function(a,n){1&a&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelClick",function(B){return n.onClick(B)}),e.O4$(),e.TgZ(1,"g",1),e.YNc(2,T3,1,9,"g",2),e.YNc(3,l_,1,8,"g",3),e.YNc(4,d_,1,6,"rect",4),e.TgZ(5,"g",5),e.NdJ("select",function(B){return n.onClick(B)})("activate",function(B){return n.onActivate(B,void 0)})("deactivate",function(B){return n.onDeactivate(B,void 0)}),e.qZA()()()),2&a&&(e.Q6J("view",e.WLB(17,Ra,n.width,n.height))("showLegend",n.legend)("animations",n.animations)("legendOptions",n.legendOptions),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngIf",n.xAxis),e.xp6(1),e.Q6J("ngIf",n.yAxis),e.xp6(1),e.Q6J("ngForOf",n.rects),e.xp6(1),e.Q6J("xScale",n.xScale)("yScale",n.yScale)("colors",n.colors)("data",n.results)("gradient",n.gradient)("animations",n.animations)("tooltipDisabled",n.tooltipDisabled)("tooltipTemplate",n.tooltipTemplate)("tooltipText",n.tooltipText))},dependencies:[Ba,Bo,_o,L1,t.O5,t.sg],styles:[Sr],encapsulation:2,changeDetection:0});class S1{}S1.\u0275fac=function(a){return new(a||S1)},S1.\u0275mod=e.oAB({type:S1}),S1.\u0275inj=e.cJS({imports:[[Fo]]});class Id{constructor(a,n){this.element=a,this.platformId=n,this.fill="none",this.animations=!0,this.initialized=!1,this.isSSR=!1}ngOnInit(){(0,t.PM)(this.platformId)&&(this.isSSR=!0)}ngOnChanges(a){this.initialized?this.updatePathEl():(this.initialized=!0,this.initialPath=this.path)}updatePathEl(){const a=St(this.element.nativeElement).select(".line");this.animations?a.transition().duration(750).attr("d",this.path):a.attr("d",this.path)}}Id.\u0275fac=function(a){return new(a||Id)(e.Y36(e.SBq),e.Y36(e.Lbi))},Id.\u0275cmp=e.Xpm({type:Id,selectors:[["g","ngx-charts-line",""]],inputs:{path:"path",stroke:"stroke",data:"data",fill:"fill",animations:"animations"},features:[e.TTD],attrs:["ngx-charts-line",""],decls:2,vars:2,consts:[[4,"ngIf"],["stroke-width","1.5px",1,"line"]],template:function(a,n){1&a&&(e.YNc(0,_u,2,4,"g",0),e.YNc(1,h_,2,3,"g",0)),2&a&&(e.Q6J("ngIf",!n.isSSR),e.xp6(1),e.Q6J("ngIf",n.isSSR))},dependencies:[t.O5],encapsulation:2,data:{animation:[(0,u.X$)("animationState",[(0,u.eR)(":enter",[(0,u.oB)({strokeDasharray:2e3,strokeDashoffset:2e3}),(0,u.jt)(1e3,(0,u.oB)({strokeDashoffset:0}))])])]},changeDetection:0});class J2{constructor(){this.animations=!0,this.barOrientation=Ca}ngOnChanges(a){this.update()}update(){this.updateGradients();const a=this.sortData(this.data.series),n=this.getLineGenerator();this.path=n(a)||"";const y=this.getAreaGenerator();if(this.areaPath=y(a)||"",this.hasRange){const B=this.getRangeGenerator();this.outerPath=B(a)||""}if(this.hasGradient){this.stroke=this.gradientUrl;const B=this.data.series.map(Ie=>Ie.value),q=Math.max(...B);q===Math.min(...B)&&(this.stroke=this.colors.getColor(q))}else this.stroke=this.colors.getColor(this.data.name)}getLineGenerator(){return pd().x(a=>{const n=a.name;let y;return y=this.scaleType===Ei.Time?this.xScale(n):this.scaleType===Ei.Linear?this.xScale(Number(n)):this.xScale(n),y}).y(a=>this.yScale(a.value)).curve(this.curve)}getRangeGenerator(){return Ll().x(a=>{const n=a.name;let y;return y=this.scaleType===Ei.Time?this.xScale(n):this.scaleType===Ei.Linear?this.xScale(Number(n)):this.xScale(n),y}).y0(a=>this.yScale("number"==typeof a.min?a.min:a.value)).y1(a=>this.yScale("number"==typeof a.max?a.max:a.value)).curve(this.curve)}getAreaGenerator(){return Ll().x(n=>{const y=n.name;return this.xScale(y)}).y0(()=>this.yScale.range()[0]).y1(n=>this.yScale(n.value)).curve(this.curve)}sortData(a){return a=this.scaleType===Ei.Linear?rf(a,"name"):this.scaleType===Ei.Time?cf(a,"name"):sf(a,"name","asc",this.xScale.domain())}updateGradients(){if(this.colors.scaleType===Ei.Linear){this.hasGradient=!0,this.gradientId="grad"+No().toString(),this.gradientUrl=`url(#${this.gradientId})`;const a=this.data.series.map(B=>B.value),n=Math.max(...a),y=Math.min(...a);this.gradientStops=this.colors.getLinearGradientStops(n,y),this.areaGradientStops=this.colors.getLinearGradientStops(n)}else this.hasGradient=!1,this.gradientStops=void 0,this.areaGradientStops=void 0}isActive(a){return!!this.activeEntries&&void 0!==this.activeEntries.find(y=>a.name===y.name)}isInactive(a){return!(!this.activeEntries||0===this.activeEntries.length)&&void 0===this.activeEntries.find(y=>a.name===y.name)}}J2.\u0275fac=function(a){return new(a||J2)},J2.\u0275cmp=e.Xpm({type:J2,selectors:[["g","ngx-charts-line-series",""]],inputs:{data:"data",xScale:"xScale",yScale:"yScale",colors:"colors",scaleType:"scaleType",curve:"curve",activeEntries:"activeEntries",rangeFillOpacity:"rangeFillOpacity",hasRange:"hasRange",animations:"animations"},features:[e.TTD],attrs:["ngx-charts-line-series",""],decls:6,vars:22,consts:[["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops",4,"ngIf"],["ngx-charts-area","",1,"line-highlight",3,"data","path","fill","opacity","startOpacity","gradient","stops","animations"],["ngx-charts-line","",1,"line-series",3,"data","path","stroke","animations"],["ngx-charts-area","","class","line-series-range",3,"data","path","fill","active","inactive","opacity","animations",4,"ngIf"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"],["ngx-charts-area","",1,"line-series-range",3,"data","path","fill","opacity","animations"]],template:function(a,n){1&a&&(e.O4$(),e.TgZ(0,"g")(1,"defs"),e.YNc(2,u_,1,3,"g",0),e.qZA(),e._UZ(3,"g",1)(4,"g",2),e.YNc(5,I3,1,9,"g",3),e.qZA()),2&a&&(e.xp6(2),e.Q6J("ngIf",n.hasGradient),e.xp6(1),e.ekj("active",n.isActive(n.data))("inactive",n.isInactive(n.data)),e.Q6J("data",n.data)("path",n.areaPath)("fill",n.hasGradient?n.gradientUrl:n.colors.getColor(n.data.name))("opacity",.25)("startOpacity",0)("gradient",!0)("stops",n.areaGradientStops)("animations",n.animations),e.xp6(1),e.ekj("active",n.isActive(n.data))("inactive",n.isInactive(n.data)),e.Q6J("data",n.data)("path",n.path)("stroke",n.stroke)("animations",n.animations),e.xp6(1),e.Q6J("ngIf",n.hasRange))},dependencies:[ac,Sc,Id,t.O5],encapsulation:2,changeDetection:0});class Mu extends $a{constructor(){super(...arguments),this.legendTitle="Legend",this.legendPosition=Cr.Right,this.showGridLines=!0,this.curve=Il,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.roundDomains=!1,this.tooltipDisabled=!1,this.showRefLines=!1,this.showRefLabels=!0,this.activate=new e.vpe,this.deactivate=new e.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.timelineHeight=50,this.timelinePadding=10,this.isSSR=!1}ngOnInit(){(0,t.PM)(this.platformId)&&(this.isSSR=!0)}update(){super.update(),this.dims=kr({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.timeline&&(this.dims.height-=this.timelineHeight+this.margin[2]+this.timelinePadding),this.xDomain=this.getXDomain(),this.filteredDomain&&(this.xDomain=this.filteredDomain),this.yDomain=this.getYDomain(),this.seriesDomain=this.getSeriesDomain(),this.xScale=this.getXScale(this.xDomain,this.dims.width),this.yScale=this.getYScale(this.yDomain,this.dims.height),this.updateTimeline(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`,this.clipPathId="clip"+No().toString(),this.clipPath=`url(#${this.clipPathId})`}updateTimeline(){this.timeline&&(this.timelineWidth=this.dims.width,this.timelineXDomain=this.getXDomain(),this.timelineXScale=this.getXScale(this.timelineXDomain,this.timelineWidth),this.timelineYScale=this.getYScale(this.yDomain,this.timelineHeight),this.timelineTransform=`translate(${this.dims.xOffset}, ${-this.margin[2]})`)}getXDomain(){let a=dm(this.results);this.scaleType=al(a);let y,B,n=[];return this.scaleType===Ei.Linear&&(a=a.map(q=>Number(q))),(this.scaleType===Ei.Time||this.scaleType===Ei.Linear)&&(y=this.xScaleMin?this.xScaleMin:Math.min(...a),B=this.xScaleMax?this.xScaleMax:Math.max(...a)),this.scaleType===Ei.Time?(n=[new Date(y),new Date(B)],this.xSet=[...a].sort((q,de)=>{const Ie=q.getTime(),ht=de.getTime();return Ie>ht?1:ht>Ie?-1:0})):this.scaleType===Ei.Linear?(n=[y,B],this.xSet=[...a].sort((q,de)=>q-de)):(n=a,this.xSet=a),n}getYDomain(){const a=[];for(const q of this.results)for(const de of q.series)a.indexOf(de.value)<0&&a.push(de.value),void 0!==de.min&&(this.hasRange=!0,a.indexOf(de.min)<0&&a.push(de.min)),void 0!==de.max&&(this.hasRange=!0,a.indexOf(de.max)<0&&a.push(de.max));const n=[...a];this.autoScale||n.push(0);return[this.yScaleMin?this.yScaleMin:Math.min(...n),this.yScaleMax?this.yScaleMax:Math.max(...n)]}getSeriesDomain(){return this.results.map(a=>a.name)}getXScale(a,n){let y;return this.scaleType===Ei.Time?y=ar().range([0,n]).domain(a):this.scaleType===Ei.Linear?(y=fa().range([0,n]).domain(a),this.roundDomains&&(y=y.nice())):this.scaleType===Ei.Ordinal&&(y=jo().range([0,n]).padding(.1).domain(a)),y}getYScale(a,n){const y=fa().range([n,0]).domain(a);return this.roundDomains?y.nice():y}updateDomain(a){this.filteredDomain=a,this.xDomain=this.filteredDomain,this.xScale=this.getXScale(this.xDomain,this.dims.width)}updateHoveredVertical(a){this.hoveredVertical=a.value,this.deactivateAll()}hideCircles(){this.hoveredVertical=null,this.deactivateAll()}onClick(a){this.select.emit(a)}trackBy(a,n){return`${n.name}`}setColors(){let a;a=this.schemeType===Ei.Ordinal?this.seriesDomain:this.yDomain,this.colors=new wr(this.scheme,this.schemeType,a,this.customColors)}getLegendOptions(){const a={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return a.scaleType===Ei.Ordinal?(a.domain=this.seriesDomain,a.colors=this.colors,a.title=this.legendTitle):(a.domain=this.yDomain,a.colors=this.colors.scale),a}updateYAxisWidth({width:a}){this.yAxisWidth=a,this.update()}updateXAxisHeight({height:a}){this.xAxisHeight=a,this.update()}onActivate(a){this.deactivateAll(),!(this.activeEntries.findIndex(y=>y.name===a.name&&y.value===a.value)>-1)&&(this.activeEntries=[a],this.activate.emit({value:a,entries:this.activeEntries}))}onDeactivate(a){const n=this.activeEntries.findIndex(y=>y.name===a.name&&y.value===a.value);this.activeEntries.splice(n,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:a,entries:this.activeEntries})}deactivateAll(){this.activeEntries=[...this.activeEntries];for(const a of this.activeEntries)this.deactivate.emit({value:a,entries:[]});this.activeEntries=[]}}Mu.\u0275fac=function(){let d;return function(n){return(d||(d=e.n5z(Mu)))(n||Mu)}}(),Mu.\u0275cmp=e.Xpm({type:Mu,selectors:[["ngx-charts-line-chart"]],contentQueries:function(a,n,y){if(1&a&&(e.Suo(y,zr,5),e.Suo(y,Jc,5)),2&a){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.first),e.iGM(B=e.CRH())&&(n.seriesTooltipTemplate=B.first)}},hostBindings:function(a,n){1&a&&e.NdJ("mouseleave",function(){return n.hideCircles()})},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",autoScale:"autoScale",timeline:"timeline",gradient:"gradient",showGridLines:"showGridLines",curve:"curve",activeEntries:"activeEntries",schemeType:"schemeType",rangeFillOpacity:"rangeFillOpacity",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",roundDomains:"roundDomains",tooltipDisabled:"tooltipDisabled",showRefLines:"showRefLines",referenceLines:"referenceLines",showRefLabels:"showRefLabels",xScaleMin:"xScaleMin",xScaleMax:"xScaleMax",yScaleMin:"yScaleMin",yScaleMax:"yScaleMax"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:12,vars:20,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"line-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","referenceLines","showRefLines","showRefLabels","dimensionsChanged",4,"ngIf"],[4,"ngIf"],[3,"mouseleave",4,"ngIf"],["ngx-charts-timeline","",3,"results","view","height","scheme","customColors","scaleType","legend","onDomainChange",4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","referenceLines","showRefLines","showRefLabels","dimensionsChanged"],[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-line-series","",3,"xScale","yScale","colors","data","activeEntries","scaleType","curve","rangeFillOpacity","hasRange","animations"],[3,"mouseleave"],["ngx-charts-tooltip-area","",3,"dims","xSet","xScale","yScale","results","colors","tooltipDisabled","tooltipTemplate","hover"],[4,"ngFor","ngForOf"],["ngx-charts-circle-series","",3,"xScale","yScale","colors","data","scaleType","visibleValue","activeEntries","tooltipDisabled","tooltipTemplate","select","activate","deactivate"],["ngx-charts-timeline","",3,"results","view","height","scheme","customColors","scaleType","legend","onDomainChange"],["ngx-charts-line-series","",3,"xScale","yScale","colors","data","scaleType","curve","hasRange","animations"]],template:function(a,n){1&a&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelClick",function(B){return n.onClick(B)})("legendLabelActivate",function(B){return n.onActivate(B)})("legendLabelDeactivate",function(B){return n.onDeactivate(B)}),e.O4$(),e.TgZ(1,"defs")(2,"clipPath"),e._UZ(3,"rect"),e.qZA()(),e.TgZ(4,"g",1),e.YNc(5,Up,1,10,"g",2),e.YNc(6,$0,1,12,"g",3),e.TgZ(7,"g"),e.YNc(8,Vp,2,2,"g",4),e.YNc(9,em,2,2,"g",4),e.YNc(10,im,3,9,"g",5),e.qZA()(),e.YNc(11,Kp,2,13,"g",6),e.qZA()),2&a&&(e.Q6J("view",e.WLB(17,Ra,n.width,n.height))("showLegend",n.legend)("legendOptions",n.legendOptions)("activeEntries",n.activeEntries)("animations",n.animations),e.xp6(2),e.uIk("id",n.clipPathId),e.xp6(1),e.uIk("width",n.dims.width+10)("height",n.dims.height+10)("transform","translate(-5, -5)"),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngIf",n.xAxis),e.xp6(1),e.Q6J("ngIf",n.yAxis),e.xp6(1),e.uIk("clip-path",n.clipPath),e.xp6(1),e.Q6J("ngIf",!n.isSSR),e.xp6(1),e.Q6J("ngIf",n.isSSR),e.xp6(1),e.Q6J("ngIf",!n.tooltipDisabled),e.xp6(1),e.Q6J("ngIf",n.timeline&&"ordinal"!=n.scaleType))},dependencies:[Ba,Bo,_o,J2,kc,Bl,Nl,t.O5,t.sg],styles:[Sr],encapsulation:2,data:{animation:[(0,u.X$)("animationState",[(0,u.eR)(":leave",[(0,u.oB)({opacity:1}),(0,u.jt)(500,(0,u.oB)({opacity:0}))])])]},changeDetection:0});class Ld{}Ld.\u0275fac=function(a){return new(a||Ld)},Ld.\u0275mod=e.oAB({type:Ld}),Ld.\u0275inj=e.cJS({imports:[[Fo]]});class $2{constructor(a){this.platformId=a,this.animations=!0,this.labelTrim=!0,this.labelTrimSize=10,this.trimLabel=Md}ngOnChanges(a){this.setTransforms(),this.update()}setTransforms(){if((0,t.PM)(this.platformId))this.styleTransform=`translate3d(${this.textX}px,${this.textY}px, 0)`,this.attrTransform=`translate(${this.textX},${this.textY})`,this.textTransition=this.animations?"transform 0.75s":null;else{const a=/(edge|msie|trident)/i.test(navigator.userAgent);this.styleTransform=a?null:`translate3d(${this.textX}px,${this.textY}px, 0)`,this.attrTransform=a?`translate(${this.textX},${this.textY})`:null,this.textTransition=a||!this.animations?null:"transform 0.75s"}}update(){let a=this.radius;this.explodeSlices&&(a=this.radius*this.value/this.max);const y=c1().innerRadius(a).outerRadius(a).centroid(this.data);let B=this.data.pos[1]/y[1];(0===this.data.pos[1]||0===y[1])&&(B=1);const q=[B*y[0],B*y[1]];this.line=`M${y}L${q}L${this.data.pos}`}get textX(){return this.data.pos[0]}get textY(){return this.data.pos[1]}textAnchor(){return this.midAngle(this.data)<Math.PI?xs.Start:xs.End}midAngle(a){return a.startAngle+(a.endAngle-a.startAngle)/2}}$2.\u0275fac=function(a){return new(a||$2)(e.Y36(e.Lbi))},$2.\u0275cmp=e.Xpm({type:$2,selectors:[["g","ngx-charts-pie-label",""]],inputs:{data:"data",radius:"radius",label:"label",color:"color",max:"max",value:"value",explodeSlices:"explodeSlices",animations:"animations",labelTrim:"labelTrim",labelTrimSize:"labelTrimSize"},features:[e.TTD],attrs:["ngx-charts-pie-label",""],decls:6,vars:17,consts:[["dy",".35em",1,"pie-label"],["fill","none",1,"pie-label-line","line"]],template:function(a,n){1&a&&(e.TgZ(0,"title"),e._uU(1),e.qZA(),e.O4$(),e.TgZ(2,"g")(3,"text",0),e._uU(4),e.qZA()(),e._UZ(5,"path",1)),2&a&&(e.xp6(1),e.Oqu(n.label),e.xp6(1),e.Udp("transform",n.styleTransform)("transition",n.textTransition),e.uIk("transform",n.attrTransform),e.xp6(1),e.Udp("text-anchor",n.textAnchor())("shape-rendering","crispEdges"),e.ekj("animation",n.animations),e.xp6(1),e.hij(" ",n.labelTrim?n.trimLabel(n.label,n.labelTrimSize):n.label," "),e.xp6(1),e.ekj("animation",n.animations),e.uIk("d",n.line)("stroke",n.color))},encapsulation:2,changeDetection:0});class Eu{constructor(){this.tooltipDisabled=!1,this.gradient=!1,this.animations=!0,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.circleRadius=3,this.barOrientation=Ca,this.placementTypes=Un,this.styleTypes=Cs}ngOnChanges(a){this.update()}update(){this.updateGradients();const a=this.getLineGenerator(),n=this.sortData(this.data.series),y=this.data.name,B=this.colors.scaleType===Ei.Linear,q=this.yScale.domain()[0];this.seriesColor=this.colors.getColor(B?q:y),this.path=a(n)||"",this.circles=n.map(de=>{const Ie=this.getAngle(de),ht=this.getRadius(de),yt=de.value,Tt=this.colors.getColor(B?Math.abs(yt):y);return{data:Object.assign({},de,{series:y,value:yt,name:de.name}),cx:ht*Math.sin(Ie),cy:-ht*Math.cos(Ie),value:yt,color:Tt,label:de.name}}),this.active=this.isActive(this.data),this.inactive=this.isInactive(this.data),this.tooltipText=this.tooltipText||(de=>this.defaultTooltipText(de))}getAngle(a){const n=a.name;return this.scaleType===Ei.Time?this.xScale(n):this.scaleType===Ei.Linear?this.xScale(Number(n)):this.xScale(n)}getRadius(a){return this.yScale(a.value)}getLineGenerator(){return P0().angle(a=>this.getAngle(a)).radius(a=>this.getRadius(a)).curve(this.curve)}sortData(a){return this.scaleType===Ei.Linear?rf(a,"name"):this.scaleType===Ei.Time?cf(a,"name"):sf(a,"name","asc",this.xScale.domain())}isActive(a){return!!this.activeEntries&&void 0!==this.activeEntries.find(y=>a.name===y.name)}isInactive(a){return!(!this.activeEntries||0===this.activeEntries.length)&&void 0===this.activeEntries.find(y=>a.name===y.name)}defaultTooltipText({label:a,value:n}){return`\n <span class="tooltip-label">${no(this.data.name)} \u2022 ${no(a)}</span>\n <span class="tooltip-val">${n.toLocaleString()}</span>\n `}updateGradients(){if(this.hasGradient=this.gradient||this.colors.scaleType===Ei.Linear,this.hasGradient)if(this.gradientId="grad"+No().toString(),this.gradientUrl=`url(#${this.gradientId})`,this.colors.scaleType===Ei.Linear){const a=this.data.series.map(B=>B.value),n=Math.max(...a),y=Math.min(...a);this.gradientStops=this.colors.getLinearGradientStops(n,y)}else this.gradientStops=void 0}}Eu.\u0275fac=function(a){return new(a||Eu)},Eu.\u0275cmp=e.Xpm({type:Eu,selectors:[["g","ngx-charts-polar-series",""]],inputs:{name:"name",data:"data",xScale:"xScale",yScale:"yScale",colors:"colors",scaleType:"scaleType",curve:"curve",activeEntries:"activeEntries",rangeFillOpacity:"rangeFillOpacity",tooltipDisabled:"tooltipDisabled",tooltipText:"tooltipText",gradient:"gradient",tooltipTemplate:"tooltipTemplate",animations:"animations"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[e.TTD],attrs:["ngx-charts-polar-series",""],decls:5,vars:11,consts:[[1,"polar-charts-series"],["ngx-charts-svg-radial-gradient","",3,"color","name","startOpacity","endOpacity","stops",4,"ngIf"],["ngx-charts-line","",1,"polar-series-path",3,"path","stroke","fill","animations"],["ngx-charts-circle","","class","circle","ngx-tooltip","",3,"cx","cy","r","fill","opacity","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate",4,"ngFor","ngForOf"],["ngx-charts-svg-radial-gradient","",3,"color","name","startOpacity","endOpacity","stops"],["ngx-charts-circle","","ngx-tooltip","",1,"circle",3,"cx","cy","r","fill","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate"]],template:function(a,n){1&a&&(e.O4$(),e.TgZ(0,"g",0)(1,"defs"),e.YNc(2,S3,1,5,"g",1),e.qZA(),e._UZ(3,"g",2),e.YNc(4,Zp,1,12,"g",3),e.qZA()),2&a&&(e.xp6(2),e.Q6J("ngIf",n.hasGradient),e.xp6(1),e.ekj("active",n.active)("inactive",n.inactive),e.Q6J("path",n.path)("stroke",n.hasGradient?n.gradientUrl:n.seriesColor)("fill",n.hasGradient?n.gradientUrl:n.seriesColor)("animations",n.animations),e.uIk("fill-opacity",n.rangeFillOpacity),e.xp6(1),e.Q6J("ngForOf",n.circles))},dependencies:[x1,Id,Oc,t.O5,t.sg,To],encapsulation:2,changeDetection:0});const um=2*Math.PI;class mm extends $a{constructor(){super(...arguments),this.legendTitle="Legend",this.legendPosition=Cr.Right,this.showGridLines=!0,this.curve=B0,this.activeEntries=[],this.rangeFillOpacity=.15,this.trimYAxisTicks=!0,this.maxYAxisTickLength=16,this.roundDomains=!1,this.tooltipDisabled=!1,this.showSeriesOnHover=!0,this.gradient=!1,this.yAxisMinScale=0,this.labelTrim=!0,this.labelTrimSize=10,this.activate=new e.vpe,this.deactivate=new e.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.orientation=fo,this.isSSR=!1}ngOnInit(){(0,t.PM)(this.platformId)&&(this.isSSR=!0)}update(){super.update(),this.setDims(),this.setScales(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.setTicks()}setDims(){this.dims=kr({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});const a=Math.floor(this.dims.width/2),n=Math.floor(this.dims.height/2),y=this.outerRadius=Math.min(n/1.5,a/1.5),B=Math.max(0,n-y);this.yAxisDims={...this.dims,width:a},this.transform=`translate(${this.dims.xOffset}, ${this.margin[0]})`,this.transformYAxis=`translate(0, ${B})`,this.labelOffset=this.dims.height+40,this.transformPlot=`translate(${a}, ${n})`}setScales(){const a=this.getXValues();this.scaleType=al(a),this.xDomain=this.filteredDomain||this.getXDomain(a),this.yDomain=this.getYDomain(),this.seriesDomain=this.getSeriesDomain(),this.xScale=this.getXScale(this.xDomain,um),this.yScale=this.getYScale(this.yDomain,this.outerRadius),this.yAxisScale=this.getYScale(this.yDomain.reverse(),this.outerRadius)}setTicks(){let a;a=this.xAxisTickFormatting?this.xAxisTickFormatting:this.xScale.tickFormat?this.xScale.tickFormat.apply(this.xScale,[5]):q=>sm(q)?q.toLocaleDateString():q.toLocaleString();const n=this.outerRadius;this.thetaTicks=this.xDomain.map(q=>{const de=this.xScale(q),Ie=1.1*n*(de>Math.PI?-1:1),ht=a(q),yt=[n*Math.sin(de),-n*Math.cos(de)],Tt=[Ie,1.1*yt[1]];return{innerRadius:0,outerRadius:n,startAngle:de,endAngle:de,value:n,label:ht,startPos:yt,pos:Tt}});for(let q=0;q<this.thetaTicks.length-1;q++){const de=this.thetaTicks[q];for(let Ie=q+1;Ie<this.thetaTicks.length;Ie++){const ht=this.thetaTicks[Ie];if(ht.pos[0]*de.pos[0]>0){const yt=10-Math.abs(ht.pos[1]-de.pos[1]);yt>0&&(ht.pos[1]+=Math.sign(ht.pos[0])*yt)}}}this.radiusTicks=this.yAxisScale.ticks(Math.floor(this.dims.height/50)).map(q=>this.yScale(q))}getXValues(){const a=[];for(const n of this.results)for(const y of n.series)a.includes(y.name)||a.push(y.name);return a}getXDomain(a=this.getXValues()){if(this.scaleType===Ei.Time){return[Math.min(...a),Math.max(...a)]}if(this.scaleType===Ei.Linear){a=a.map(B=>Number(B));return[Math.min(...a),Math.max(...a)]}return a}getYValues(){const a=[];for(const n of this.results)for(const y of n.series)a.indexOf(y.value)<0&&a.push(y.value),void 0!==y.min&&a.indexOf(y.min)<0&&a.push(y.min),void 0!==y.max&&a.indexOf(y.max)<0&&a.push(y.max);return a}getYDomain(a=this.getYValues()){let n=Math.min(...a);const y=Math.max(this.yAxisMinScale,...a);return n=Math.max(0,n),this.autoScale||(n=Math.min(0,n)),[n,y]}getSeriesDomain(){return this.results.map(a=>a.name)}getXScale(a,n){switch(this.scaleType){case Ei.Time:return ar().range([0,n]).domain(a);case Ei.Linear:{const y=fa().range([0,n]).domain(a);return this.roundDomains?y.nice():y}default:return jo().range([0,n-um/a.length]).padding(0).domain(a)}}getYScale(a,n){const y=fa().range([0,n]).domain(a);return this.roundDomains?y.nice():y}onClick(a,n){n&&(a.series=n.name),this.select.emit(a)}setColors(){const a=this.schemeType===Ei.Ordinal?this.seriesDomain:this.yDomain.reverse();this.colors=new wr(this.scheme,this.schemeType,a,this.customColors)}getLegendOptions(){return this.schemeType===Ei.Ordinal?{scaleType:this.schemeType,colors:this.colors,domain:this.seriesDomain,title:this.legendTitle,position:this.legendPosition}:{scaleType:this.schemeType,colors:this.colors.scale,domain:this.yDomain,title:void 0,position:this.legendPosition}}updateYAxisWidth({width:a}){this.yAxisWidth=a,this.update()}updateXAxisHeight({height:a}){this.xAxisHeight=a,this.update()}onActivate(a){this.activeEntries.findIndex(y=>y.name===a.name&&y.value===a.value)>-1||(this.activeEntries=this.showSeriesOnHover?[a,...this.activeEntries]:this.activeEntries,this.activate.emit({value:a,entries:this.activeEntries}))}onDeactivate(a){const n=this.activeEntries.findIndex(y=>y.name===a.name&&y.value===a.value);this.activeEntries.splice(n,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:a,entries:this.activeEntries})}deactivateAll(){this.activeEntries=[...this.activeEntries];for(const a of this.activeEntries)this.deactivate.emit({value:a,entries:[]});this.activeEntries=[]}trackBy(a,n){return`${n.name}`}}mm.\u0275fac=function(){let d;return function(n){return(d||(d=e.n5z(mm)))(n||mm)}}(),mm.\u0275cmp=e.Xpm({type:mm,selectors:[["ngx-charts-polar-chart"]],contentQueries:function(a,n,y){if(1&a&&e.Suo(y,zr,5),2&a){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",autoScale:"autoScale",showGridLines:"showGridLines",curve:"curve",activeEntries:"activeEntries",schemeType:"schemeType",rangeFillOpacity:"rangeFillOpacity",trimYAxisTicks:"trimYAxisTicks",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",roundDomains:"roundDomains",tooltipDisabled:"tooltipDisabled",showSeriesOnHover:"showSeriesOnHover",gradient:"gradient",yAxisMinScale:"yAxisMinScale",labelTrim:"labelTrim",labelTrimSize:"labelTrimSize"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:10,vars:17,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"polar-chart","chart"],["cx","0","cy","0",1,"polar-chart-background"],[4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["class","gridline-path radial-gridline-path","cx","0","cy","0",4,"ngFor","ngForOf"],["cx","0","cy","0",1,"gridline-path","radial-gridline-path"],["ngx-charts-pie-label","",3,"data","radius","label","max","value","explodeSlices","animations","labelTrim","labelTrimSize",4,"ngFor","ngForOf"],["ngx-charts-pie-label","",3,"data","radius","label","max","value","explodeSlices","animations","labelTrim","labelTrimSize"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"],[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-polar-series","",3,"gradient","xScale","yScale","colors","data","activeEntries","scaleType","curve","rangeFillOpacity","animations","tooltipDisabled","tooltipTemplate","select","activate","deactivate"]],template:function(a,n){1&a&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelClick",function(B){return n.onClick(B)})("legendLabelActivate",function(B){return n.onActivate(B)})("legendLabelDeactivate",function(B){return n.onDeactivate(B)}),e.O4$(),e.TgZ(1,"g",1)(2,"g"),e._UZ(3,"circle",2),e.YNc(4,P3,2,1,"g",3),e.YNc(5,R3,2,1,"g",3),e.qZA(),e.YNc(6,f_,1,9,"g",4),e.YNc(7,__,1,5,"g",5),e.YNc(8,g_,2,3,"g",3),e.YNc(9,b_,2,3,"g",3),e.qZA()()),2&a&&(e.Q6J("view",e.WLB(14,Ra,n.width,n.height))("showLegend",n.legend)("legendOptions",n.legendOptions)("activeEntries",n.activeEntries)("animations",n.animations),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.uIk("transform",n.transformPlot),e.xp6(1),e.uIk("r",n.outerRadius),e.xp6(1),e.Q6J("ngIf",n.showGridLines),e.xp6(1),e.Q6J("ngIf",n.xAxis),e.xp6(1),e.Q6J("ngIf",n.yAxis),e.xp6(1),e.Q6J("ngIf",n.xAxis&&n.showXAxisLabel),e.xp6(1),e.Q6J("ngIf",!n.isSSR),e.xp6(1),e.Q6J("ngIf",n.isSSR))},dependencies:[Ba,$2,_o,Rl,Eu,t.O5,t.sg],styles:[Sr,".pie-label{font-size:11px}.pie-label.animation{-webkit-animation:.75s ease-in fadeIn;animation:.75s ease-in fadeIn}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.pie-label-line{stroke-dasharray:100%}.pie-label-line.animation{-webkit-animation:3s linear drawOut;animation:3s linear drawOut;transition:d .75s}@-webkit-keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}@keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}\n",".polar-chart .polar-chart-background{fill:none}.polar-chart .radial-gridline-path{stroke-dasharray:10 10;fill:none}.polar-chart .pie-label-line{stroke:#2f3646}.polar-charts-series .polar-series-area,.polar-series-path{pointer-events:none}\n"],encapsulation:2,data:{animation:[(0,u.X$)("animationState",[(0,u.eR)(":leave",[(0,u.oB)({opacity:1}),(0,u.jt)(500,(0,u.oB)({opacity:0}))])])]},changeDetection:0});class Od{constructor(a){this.startAngle=0,this.endAngle=2*Math.PI,this.cornerRadius=0,this.explodeSlices=!1,this.gradient=!1,this.animate=!0,this.pointerEvents=!0,this.isActive=!1,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.dblclick=new e.vpe,this.barOrientation=Ca,this.initialized=!1,this.element=a.nativeElement}ngOnChanges(a){this.update()}getGradient(){return this.gradient?this.gradientFill:this.fill}getPointerEvents(){return this.pointerEvents?"auto":"none"}update(){const a=this.calculateArc();this.startOpacity=.5,this.radialGradientId="linearGrad"+No().toString(),this.gradientFill=`url(#${this.radialGradientId})`,this.animate?this.initialized?this.updateAnimation():(this.loadAnimation(),this.initialized=!0):this.path=a.startAngle(this.startAngle).endAngle(this.endAngle)()}calculateArc(){let a=this.outerRadius;return this.explodeSlices&&0===this.innerRadius&&(a=this.outerRadius*this.value/this.max),c1().innerRadius(this.innerRadius).outerRadius(a).cornerRadius(this.cornerRadius)}loadAnimation(){const a=St(this.element).selectAll(".arc").data([{startAngle:this.startAngle,endAngle:this.endAngle}]),n=this.calculateArc();a.transition().attrTween("d",function(y){this._current=this._current||y;const B=Object.assign({},y);B.endAngle=B.startAngle;const q=qn(B,B);return this._current=q(0),function(de){return n(q(de))}}).transition().duration(750).attrTween("d",function(y){this._current=this._current||y;const B=qn(this._current,y);return this._current=B(0),function(q){return n(B(q))}})}updateAnimation(){const a=St(this.element).selectAll(".arc").data([{startAngle:this.startAngle,endAngle:this.endAngle}]),n=this.calculateArc();a.transition().duration(750).attrTween("d",function(y){this._current=this._current||y;const B=qn(this._current,y);return this._current=B(0),function(q){return n(B(q))}})}onClick(){clearTimeout(this._timeout),this._timeout=setTimeout(()=>this.select.emit(this.data),200)}onDblClick(a){a.preventDefault(),a.stopPropagation(),clearTimeout(this._timeout),this.dblclick.emit({data:this.data,nativeEvent:a})}}Od.\u0275fac=function(a){return new(a||Od)(e.Y36(e.SBq))},Od.\u0275cmp=e.Xpm({type:Od,selectors:[["g","ngx-charts-pie-arc",""]],inputs:{fill:"fill",startAngle:"startAngle",endAngle:"endAngle",innerRadius:"innerRadius",outerRadius:"outerRadius",cornerRadius:"cornerRadius",value:"value",max:"max",data:"data",explodeSlices:"explodeSlices",gradient:"gradient",animate:"animate",pointerEvents:"pointerEvents",isActive:"isActive"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",dblclick:"dblclick"},features:[e.TTD],attrs:["ngx-charts-pie-arc",""],decls:3,vars:7,consts:[[1,"arc-group"],[4,"ngIf"],[1,"arc",3,"click","dblclick","mouseenter","mouseleave"],["ngx-charts-svg-radial-gradient","",3,"color","name","startOpacity"]],template:function(a,n){1&a&&(e.O4$(),e.TgZ(0,"g",0),e.YNc(1,N3,2,3,"defs",1),e.TgZ(2,"path",2),e.NdJ("click",function(){return n.onClick()})("dblclick",function(B){return n.onDblClick(B)})("mouseenter",function(){return n.activate.emit(n.data)})("mouseleave",function(){return n.deactivate.emit(n.data)}),e.qZA()()),2&a&&(e.xp6(1),e.Q6J("ngIf",n.gradient),e.xp6(1),e.Udp("pointer-events",n.getPointerEvents()),e.ekj("active",n.isActive),e.uIk("d",n.path)("fill",n.getGradient()))},dependencies:[x1,t.O5],encapsulation:2,changeDetection:0});class eh{constructor(){this.series=[],this.innerRadius=60,this.outerRadius=80,this.trimLabels=!0,this.maxLabelLength=10,this.tooltipDisabled=!1,this.animations=!0,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.dblclick=new e.vpe,this.placementTypes=Un,this.styleTypes=Cs}ngOnChanges(a){this.update()}update(){const n=l1().value(y=>y.value).sort(null)(this.series);this.max=y2(n,y=>y.value),this.data=this.calculateLabelPositions(n),this.tooltipText=this.tooltipText||this.defaultTooltipText}midAngle(a){return a.startAngle+(a.endAngle-a.startAngle)/2}outerArc(){return c1().innerRadius(1.5*this.outerRadius).outerRadius(1.5*this.outerRadius)}calculateLabelPositions(a){const B=a;B.forEach(q=>{q.pos=this.outerArc().centroid(q),q.pos[0]=1.5*this.outerRadius*(this.midAngle(q)<Math.PI?1:-1)});for(let q=0;q<B.length-1;q++){const de=B[q];if(this.labelVisible(de))for(let Ie=q+1;Ie<B.length;Ie++){const ht=B[Ie];if(this.labelVisible(ht)&&ht.pos[0]*de.pos[0]>0){const yt=10-Math.abs(ht.pos[1]-de.pos[1]);yt>0&&(ht.pos[1]+=Math.sign(ht.pos[0])*yt)}}}return B}labelVisible(a){return this.showLabels&&a.endAngle-a.startAngle>Math.PI/30}getTooltipTitle(a){return this.tooltipTemplate?void 0:this.tooltipText(a)}labelText(a){return this.labelFormatting?this.labelFormatting(a.data.name):this.label(a)}label(a){return Do(a.data.name)}defaultTooltipText(a){const n=this.label(a),y=Do(a.data.value);return`\n <span class="tooltip-label">${no(n)}</span>\n <span class="tooltip-val">${y}</span>\n `}color(a){return this.colors.getColor(this.label(a))}trackBy(a,n){return n.data.name}onClick(a){this.select.emit(a)}isActive(a){return!!this.activeEntries&&void 0!==this.activeEntries.find(y=>a.name===y.name&&a.series===y.series)}}eh.\u0275fac=function(a){return new(a||eh)},eh.\u0275cmp=e.Xpm({type:eh,selectors:[["g","ngx-charts-pie-series",""]],inputs:{colors:"colors",series:"series",dims:"dims",innerRadius:"innerRadius",outerRadius:"outerRadius",explodeSlices:"explodeSlices",showLabels:"showLabels",gradient:"gradient",activeEntries:"activeEntries",labelFormatting:"labelFormatting",trimLabels:"trimLabels",maxLabelLength:"maxLabelLength",tooltipText:"tooltipText",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate",animations:"animations"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",dblclick:"dblclick"},features:[e.TTD],attrs:["ngx-charts-pie-series",""],decls:1,vars:2,consts:[[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-pie-label","",3,"data","radius","color","label","labelTrim","labelTrimSize","max","value","explodeSlices","animations",4,"ngIf"],["ngx-charts-pie-arc","","ngx-tooltip","",3,"startAngle","endAngle","innerRadius","outerRadius","fill","value","gradient","data","max","explodeSlices","isActive","animate","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate","dblclick"],["ngx-charts-pie-label","",3,"data","radius","color","label","labelTrim","labelTrimSize","max","value","explodeSlices","animations"]],template:function(a,n){1&a&&e.YNc(0,F3,3,19,"g",0),2&a&&e.Q6J("ngForOf",n.data)("ngForTrackBy",n.trackBy)},dependencies:[$2,Od,t.sg,t.O5,To],encapsulation:2,changeDetection:0});class th extends $a{constructor(){super(...arguments),this.activeEntries=[],this.tooltipDisabled=!1,this.label="Total",this.activate=new e.vpe,this.deactivate=new e.vpe,this.margin=[20,20,20,20]}update(){super.update(),this.dims=kr({width:4*this.width/12,height:this.height,margins:this.margin}),this.formatDates(),this.domain=this.getDomain(),this.setColors();const a=this.dims.width/2,n=this.margin[0]+this.dims.height/2;this.legendWidth=this.width-this.dims.width-this.margin[1],this.outerRadius=Math.min(this.dims.width,this.dims.height)/2.5,this.innerRadius=.75*this.outerRadius,this.transform=`translate(${a} , ${n})`}getDomain(){return this.results.map(a=>a.label)}onClick(a){this.select.emit(a)}setColors(){this.colors=new wr(this.scheme,Ei.Ordinal,this.domain,this.customColors)}onActivate(a,n=!1){a=this.results.find(B=>n?B.label===a.name:B.name===a.name),!(this.activeEntries.findIndex(B=>B.name===a.name&&B.value===a.value&&B.series===a.series)>-1)&&(this.activeEntries=[a,...this.activeEntries],this.activate.emit({value:a,entries:this.activeEntries}))}onDeactivate(a,n=!1){a=this.results.find(B=>n?B.label===a.name:B.name===a.name);const y=this.activeEntries.findIndex(B=>B.name===a.name&&B.value===a.value&&B.series===a.series);this.activeEntries.splice(y,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:a,entries:this.activeEntries})}}th.\u0275fac=function(){let d;return function(n){return(d||(d=e.n5z(th)))(n||th)}}(),th.\u0275cmp=e.Xpm({type:th,selectors:[["ngx-charts-advanced-pie-chart"]],contentQueries:function(a,n,y){if(1&a&&e.Suo(y,zr,5),2&a){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.first)}},inputs:{gradient:"gradient",activeEntries:"activeEntries",tooltipDisabled:"tooltipDisabled",tooltipText:"tooltipText",label:"label",valueFormatting:"valueFormatting",nameFormatting:"nameFormatting",percentageFormatting:"percentageFormatting"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:7,vars:37,consts:[[1,"advanced-pie","chart"],[3,"view","showLegend","animations"],[1,"pie","chart"],["ngx-charts-pie-series","",3,"colors","series","innerRadius","activeEntries","outerRadius","gradient","tooltipDisabled","tooltipTemplate","tooltipText","animations","select","activate","deactivate"],[1,"advanced-pie-legend-wrapper"],[3,"data","colors","width","label","animations","valueFormatting","labelFormatting","percentageFormatting","select","activate","deactivate"]],template:function(a,n){1&a&&(e.TgZ(0,"div")(1,"div",0)(2,"ngx-charts-chart",1),e.O4$(),e.TgZ(3,"g",2)(4,"g",3),e.NdJ("select",function(B){return n.onClick(B)})("activate",function(B){return n.onActivate(B)})("deactivate",function(B){return n.onDeactivate(B)}),e.qZA()()()(),e.kcU(),e.TgZ(5,"div",4)(6,"ngx-charts-advanced-legend",5),e.NdJ("select",function(B){return n.onClick(B)})("activate",function(B){return n.onActivate(B,!0)})("deactivate",function(B){return n.onDeactivate(B,!0)}),e.qZA()()()),2&a&&(e.Udp("width",n.width,"px")("height",n.height,"px"),e.xp6(1),e.Udp("width",n.dims.width,"px")("height",n.dims.height,"px"),e.xp6(1),e.Q6J("view",e.WLB(34,Ra,n.width,n.height))("showLegend",!1)("animations",n.animations),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("colors",n.colors)("series",n.results)("innerRadius",n.innerRadius)("activeEntries",n.activeEntries)("outerRadius",n.outerRadius)("gradient",n.gradient)("tooltipDisabled",n.tooltipDisabled)("tooltipTemplate",n.tooltipTemplate)("tooltipText",n.tooltipText)("animations",n.animations),e.xp6(1),e.Udp("width",n.width-n.dims.width,"px")("height",n.height,"px"),e.xp6(1),e.Q6J("data",n.results)("colors",n.colors)("width",n.width-n.dims.width-n.margin[1])("label",n.label)("animations",n.animations)("valueFormatting",n.valueFormatting)("labelFormatting",n.nameFormatting)("percentageFormatting",n.percentageFormatting))},dependencies:[Ba,eh,C1],styles:[Sr,".advanced-pie{display:inline-block;float:left}.advanced-pie-legend-wrapper{display:inline-block}\n"],encapsulation:2,changeDetection:0});class pm extends $a{constructor(){super(...arguments),this.labels=!1,this.legend=!1,this.legendTitle="Legend",this.legendPosition=Cr.Right,this.explodeSlices=!1,this.doughnut=!1,this.arcWidth=.25,this.activeEntries=[],this.tooltipDisabled=!1,this.trimLabels=!0,this.maxLabelLength=10,this.dblclick=new e.vpe,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe}update(){super.update(),this.labels&&this.hasNoOptionalMarginsSet()?this.margins=[30,80,30,80]:!this.labels&&this.hasNoOptionalMarginsSet()&&(this.margins=[20,20,20,20]),this.dims=kr({width:this.width,height:this.height,margins:this.margins,showLegend:this.legend,legendPosition:this.legendPosition}),this.formatDates();const a=this.margins[3]+this.dims.width/2,n=this.margins[0]+this.dims.height/2;this.translation=`translate(${a}, ${n})`,this.outerRadius=Math.min(this.dims.width,this.dims.height),this.labels?this.outerRadius/=3:this.outerRadius/=2,this.innerRadius=0,this.doughnut&&(this.innerRadius=this.outerRadius*(1-this.arcWidth)),this.domain=this.getDomain(),this.data=this.results.sort((y,B)=>this.domain.indexOf(y.name)-this.domain.indexOf(B.name)),this.setColors(),this.legendOptions=this.getLegendOptions()}getDomain(){return this.results.map(a=>a.label)}onClick(a){this.select.emit(a)}setColors(){this.colors=new wr(this.scheme,Ei.Ordinal,this.domain,this.customColors)}getLegendOptions(){return{scaleType:Ei.Ordinal,domain:this.domain,colors:this.colors,title:this.legendTitle,position:this.legendPosition}}onActivate(a,n=!1){a=this.results.find(B=>n?B.label===a.name:B.name===a.name),!(this.activeEntries.findIndex(B=>B.name===a.name&&B.value===a.value&&B.series===a.series)>-1)&&(this.activeEntries=[a,...this.activeEntries],this.activate.emit({value:a,entries:this.activeEntries}))}onDeactivate(a,n=!1){a=this.results.find(B=>n?B.label===a.name:B.name===a.name);const y=this.activeEntries.findIndex(B=>B.name===a.name&&B.value===a.value&&B.series===a.series);this.activeEntries.splice(y,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:a,entries:this.activeEntries})}hasNoOptionalMarginsSet(){return!this.margins||this.margins.length<=0}}function n4(d,a,n){let y=1,B=a;const q=d.width;if(q>n)for(;q/B<n;)y+=1,B=Math.ceil(a/y);return[B,y]}function fm(d,a,n,y){const B=wo(),q=wo(),de=d.width,Ie=d.height,[ht,yt]=n4(d,a.length,n),Tt=[],ei=[];for(let gi=0;gi<yt;gi++)ei.push(gi);for(let gi=0;gi<ht;gi++)Tt.push(gi);B.domain(Tt),q.domain(ei),B.rangeRound([0,de],.1),q.rangeRound([0,Ie],.1);const zt=[],vi=y||function a4(d){return d.map(a=>a?a.value:0).reduce((a,n)=>a+n,0)}(a),Si=B.bandwidth(),qi=q.bandwidth();for(let gi=0;gi<a.length;gi++)zt[gi]={},zt[gi].data={name:a[gi]?a[gi].name:"",value:a[gi]?a[gi].value:void 0,extra:a[gi]?a[gi].extra:void 0,label:a[gi]?a[gi].label:""},zt[gi].x=B(gi%ht),zt[gi].y=q(Math.floor(gi/ht)),zt[gi].width=Si,zt[gi].height=qi,zt[gi].data.percent=vi>0?zt[gi].data.value/vi:0,zt[gi].data.total=vi;return zt}pm.\u0275fac=function(){let d;return function(n){return(d||(d=e.n5z(pm)))(n||pm)}}(),pm.\u0275cmp=e.Xpm({type:pm,selectors:[["ngx-charts-pie-chart"]],contentQueries:function(a,n,y){if(1&a&&e.Suo(y,zr,5),2&a){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.first)}},inputs:{labels:"labels",legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",explodeSlices:"explodeSlices",doughnut:"doughnut",arcWidth:"arcWidth",gradient:"gradient",activeEntries:"activeEntries",tooltipDisabled:"tooltipDisabled",labelFormatting:"labelFormatting",trimLabels:"trimLabels",maxLabelLength:"maxLabelLength",tooltipText:"tooltipText",margins:"margins"},outputs:{dblclick:"dblclick",select:"select",activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:3,vars:24,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelActivate","legendLabelDeactivate","legendLabelClick"],[1,"pie-chart","chart"],["ngx-charts-pie-series","",3,"colors","series","showLabels","labelFormatting","trimLabels","maxLabelLength","activeEntries","innerRadius","outerRadius","explodeSlices","gradient","animations","tooltipDisabled","tooltipTemplate","tooltipText","dblclick","select","activate","deactivate"]],template:function(a,n){1&a&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelActivate",function(B){return n.onActivate(B,!0)})("legendLabelDeactivate",function(B){return n.onDeactivate(B,!0)})("legendLabelClick",function(B){return n.onClick(B)}),e.O4$(),e.TgZ(1,"g",1)(2,"g",2),e.NdJ("dblclick",function(B){return n.dblclick.emit(B)})("select",function(B){return n.onClick(B)})("activate",function(B){return n.onActivate(B)})("deactivate",function(B){return n.onDeactivate(B)}),e.qZA()()()),2&a&&(e.Q6J("view",e.WLB(21,Ra,n.width,n.height))("showLegend",n.legend)("legendOptions",n.legendOptions)("activeEntries",n.activeEntries)("animations",n.animations),e.xp6(1),e.uIk("transform",n.translation),e.xp6(1),e.Q6J("colors",n.colors)("series",n.data)("showLabels",n.labels)("labelFormatting",n.labelFormatting)("trimLabels",n.trimLabels)("maxLabelLength",n.maxLabelLength)("activeEntries",n.activeEntries)("innerRadius",n.innerRadius)("outerRadius",n.outerRadius)("explodeSlices",n.explodeSlices)("gradient",n.gradient)("animations",n.animations)("tooltipDisabled",n.tooltipDisabled)("tooltipTemplate",n.tooltipTemplate)("tooltipText",n.tooltipText))},dependencies:[Ba,eh],styles:[Sr,".pie-label{font-size:11px}.pie-label.animation{-webkit-animation:.75s ease-in fadeIn;animation:.75s ease-in fadeIn}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.pie-label-line{stroke-dasharray:100%}.pie-label-line.animation{-webkit-animation:3s linear drawOut;animation:3s linear drawOut;transition:d .75s}@-webkit-keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}@keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}\n"],encapsulation:2,changeDetection:0});class k1{constructor(a){this.innerRadius=70,this.outerRadius=80,this.animations=!0,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.element=a.nativeElement}ngOnChanges(a){this.update()}update(){this.layout=l1().value(a=>a.data.value).sort(null),this.arcs=this.getArcs()}getArcs(){return this.layout(this.data).map((a,n)=>{const y=a.data.data.name,B=a.data.data.other;0===n&&(a.startAngle=0);const q=this.colors(y);return{data:a.data.data,class:"arc arc"+n,fill:q,startAngle:B?0:a.startAngle,endAngle:a.endAngle,animate:this.animations&&!B,pointerEvents:!B}})}onClick(a){this.select.emit(this.data[0].data)}trackBy(a,n){return n.data.name}label(a){return a.data.name}color(a){return this.colors(this.label(a))}}k1.\u0275fac=function(a){return new(a||k1)(e.Y36(e.SBq))},k1.\u0275cmp=e.Xpm({type:k1,selectors:[["g","ngx-charts-pie-grid-series",""]],inputs:{colors:"colors",data:"data",innerRadius:"innerRadius",outerRadius:"outerRadius",animations:"animations"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[e.TTD],attrs:["ngx-charts-pie-grid-series",""],decls:2,vars:2,consts:[[1,"pie-grid-arcs"],["ngx-charts-pie-arc","",3,"startAngle","endAngle","innerRadius","outerRadius","fill","value","data","gradient","pointerEvents","animate","select","activate","deactivate",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-pie-arc","",3,"startAngle","endAngle","innerRadius","outerRadius","fill","value","data","gradient","pointerEvents","animate","select","activate","deactivate"]],template:function(a,n){1&a&&(e.O4$(),e.TgZ(0,"g",0),e.YNc(1,E_,1,11,"g",1),e.qZA()),2&a&&(e.xp6(1),e.Q6J("ngForOf",n.arcs)("ngForTrackBy",n.trackBy))},dependencies:[Od,t.sg],encapsulation:2,changeDetection:0});class ih extends $a{constructor(){super(...arguments),this.tooltipDisabled=!1,this.label="Total",this.minWidth=150,this.activeEntries=[],this.activate=new e.vpe,this.deactivate=new e.vpe,this.margin=[20,20,20,20],this.placementTypes=Un,this.styleTypes=Cs}update(){super.update(),this.dims=kr({width:this.width,height:this.height,margins:this.margin}),this.formatDates(),this.domain=this.getDomain(),this.data=fm(this.dims,this.results,this.minWidth,this.designatedTotal),this.transform=`translate(${this.margin[3]} , ${this.margin[0]})`,this.series=this.getSeries(),this.setColors(),this.tooltipText=this.tooltipText||this.defaultTooltipText}defaultTooltipText({data:a}){return`\n <span class="tooltip-label">${Md(Do(a.name))}</span>\n <span class="tooltip-val">${a.value.toLocaleString()}</span>\n `}getDomain(){return this.results.map(a=>a.label)}getSeries(){const a=this.designatedTotal?this.designatedTotal:this.getTotal();return this.data.map(n=>{const q=n.data.name,de=Do(q),Ie=n.data.value,ht=Tl([n.width-10,n.height-20])/2-5,yt=.9*ht;let Tt=0;return{transform:`translate(${n.x+(n.width-10)/2}, ${n.y+(n.height-20)/2})`,colors:()=>(Tt+=1,1===Tt?"rgba(100,100,100,0.3)":this.colorScale.getColor(de)),innerRadius:yt,outerRadius:ht,name:q,label:Md(de),total:Ie,value:Ie,percent:e1(".1%")(n.data.percent),data:[n,{data:{other:!0,value:a-Ie,name:n.data.name}}]}})}getTotal(){return this.results.map(a=>a.value).reduce((a,n)=>a+n,0)}onClick(a){this.select.emit(a)}setColors(){this.colorScale=new wr(this.scheme,Ei.Ordinal,this.domain,this.customColors)}onActivate(a,n=!1){a=this.results.find(B=>n?B.label===a.name:B.name===a.name),!(this.activeEntries.findIndex(B=>B.name===a.name&&B.value===a.value&&B.series===a.series)>-1)&&(this.activeEntries=[a,...this.activeEntries],this.activate.emit({value:a,entries:this.activeEntries}))}onDeactivate(a,n=!1){a=this.results.find(B=>n?B.label===a.name:B.name===a.name);const y=this.activeEntries.findIndex(B=>B.name===a.name&&B.value===a.value&&B.series===a.series);this.activeEntries.splice(y,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:a,entries:this.activeEntries})}}ih.\u0275fac=function(){let d;return function(n){return(d||(d=e.n5z(ih)))(n||ih)}}(),ih.\u0275cmp=e.Xpm({type:ih,selectors:[["ngx-charts-pie-grid"]],contentQueries:function(a,n,y){if(1&a&&e.Suo(y,zr,5),2&a){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.first)}},inputs:{designatedTotal:"designatedTotal",tooltipDisabled:"tooltipDisabled",tooltipText:"tooltipText",label:"label",minWidth:"minWidth",activeEntries:"activeEntries"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:3,vars:8,consts:[[3,"view","showLegend","animations"],[1,"pie-grid","chart"],["class","pie-grid-item",4,"ngFor","ngForOf"],[1,"pie-grid-item"],["ngx-charts-pie-grid-series","","ngx-tooltip","",3,"colors","data","innerRadius","outerRadius","animations","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate"],["class","label percent-label","dy","-0.5em","x","0","y","5","ngx-charts-count-up","","text-anchor","middle",3,"countTo","countSuffix",4,"ngIf"],["class","label percent-label","dy","-0.5em","x","0","y","5","text-anchor","middle",4,"ngIf"],["dy","0.5em","x","0","y","5","text-anchor","middle",1,"label"],["class","label","dy","1.23em","x","0","text-anchor","middle","ngx-charts-count-up","",3,"countTo","countPrefix",4,"ngIf"],["class","label","dy","1.23em","x","0","text-anchor","middle",4,"ngIf"],["dy","-0.5em","x","0","y","5","ngx-charts-count-up","","text-anchor","middle",1,"label","percent-label",3,"countTo","countSuffix"],["dy","-0.5em","x","0","y","5","text-anchor","middle",1,"label","percent-label"],["dy","1.23em","x","0","text-anchor","middle","ngx-charts-count-up","",1,"label",3,"countTo","countPrefix"],["dy","1.23em","x","0","text-anchor","middle",1,"label"]],template:function(a,n){1&a&&(e.TgZ(0,"ngx-charts-chart",0),e.O4$(),e.TgZ(1,"g",1),e.YNc(2,V3,8,19,"g",2),e.qZA()()),2&a&&(e.Q6J("view",e.WLB(5,Ra,n.width,n.height))("showLegend",!1)("animations",n.animations),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngForOf",n.series))},dependencies:[Ba,k1,nl,t.sg,To,t.O5],styles:[Sr,".pie-grid .arc1{opacity:.4}.pie-grid .percent-label{font-size:16px;font-weight:400}\n"],encapsulation:2,changeDetection:0});class sl{}sl.\u0275fac=function(a){return new(a||sl)},sl.\u0275mod=e.oAB({type:sl}),sl.\u0275inj=e.cJS({imports:[[Fo]]});class nh{}function df(d,a,n=8){return a.split("").reduce((y,B)=>y+(d[B]||n),0)}nh.\u0275fac=function(a){return new(a||nh)},nh.\u0275mod=e.oAB({type:nh}),nh.\u0275inj=e.cJS({imports:[[Fo,sl,Ld]]});const r4={0:10,1:10,2:10,3:10,4:10,5:10,6:10,7:10,8:10,9:10,A:11,B:11,C:11,D:12,E:10,F:9,G:12,H:12,I:7,J:7,K:11,L:9,M:13,N:12,O:13,P:10,Q:13,R:11,S:11,T:10,U:12,V:11,W:16,X:11,Y:10,Z:11,a:10,b:10,c:8,d:10,e:10,f:6,g:10,h:10,i:4,j:6,k:9,l:4,m:16,n:10,o:10,p:10,q:10,r:7,s:8,t:6,u:10,v:9,w:13,x:9,y:9,z:8,"!":6,"@":16,"#":13,$:10,"%":17,"^":13,"&":12,"*":10,"(":7,")":7,_:10,"-":7,"+":13,"=":13,",":6,".":6,"/":7,"'":4,":":7,"|":7,"?":9,";":7,"<":13,">":13};class Du{constructor(a,n,y,B){this.cd=n,this.zone=y,this.platformId=B,this.animations=!0,this.select=new e.vpe,this.value="",this.textFontSize=12,this.textTransform="",this.initialized=!1,this.bandHeight=10,this.textPadding=[10,20,5,20],this.labelFontSize=15,this.element=a.nativeElement}ngOnChanges(a){this.update()}ngOnInit(){(0,t.PM)(this.platformId)&&this.scaleTextSSR()}ngOnDestroy(){(0,t.NF)(this.platformId)&&cancelAnimationFrame(this.animationReq)}update(){this.zone.run(()=>{const a=this.data&&typeof this.data.value<"u",n=this.valueFormatting||(de=>de.value.toLocaleString()),y=this.labelFormatting||(de=>no(Md(de.label,55)));this.transform=`translate(${this.x} , ${this.y})`,this.textWidth=Math.max(0,this.width)-this.textPadding[1]-this.textPadding[3],this.cardWidth=Math.max(0,this.width),this.cardHeight=Math.max(0,this.height),this.label=this.label?this.label:this.data.name;const B={label:this.label,data:this.data,value:this.data.value};this.formattedLabel=y(B),this.transformBand=`translate(0 , ${this.cardHeight-this.bandHeight})`;const q=a?n(B):"";this.value=this.paddedValue(q),this.setPadding(),this.bandPath=il(0,0,this.cardWidth,this.bandHeight,3,[!1,!1,!0,!0]),setTimeout(()=>{(0,t.NF)(this.platformId)&&this.scaleText(),this.value=q,a&&!this.initialized&&setTimeout(()=>this.startCount(),20)},8)})}paddedValue(a){return this.medianSize&&this.medianSize>a.length&&(a+="\u2007".repeat(this.medianSize-a.length)),a}startCount(){if(!this.initialized&&this.animations){cancelAnimationFrame(this.animationReq);const a=this.data.value,n=$3(a),y=this.valueFormatting||(q=>q.value.toLocaleString()),B=({value:q,finished:de})=>{this.zone.run(()=>{q=de?a:q,this.value=y({label:this.label,data:this.data,value:q}),de||(this.value=this.paddedValue(this.value)),this.cd.markForCheck()})};this.animationReq=tf(0,a,n,1,B),this.initialized=!0}}scaleText(){this.zone.run(()=>{const{width:a,height:n}=this.textEl.nativeElement.getBoundingClientRect();if(0===a||0===n)return;const y=this.textPadding[1]=this.textPadding[3]=this.cardWidth/8,B=this.cardWidth-2*y,q=this.cardHeight/3,de=Math.min(B/a,q/n);this.textFontSize=Math.floor(this.textFontSize*de),this.labelFontSize=Math.min(this.textFontSize,15),this.setPadding(),this.cd.markForCheck()})}scaleTextSSR(){const a=df(r4,this.value,10),y=this.textPadding[1]=this.textPadding[3]=this.cardWidth/8,B=this.cardWidth-2*y,q=this.cardHeight/3,de=Math.min(B/a,q/18);this.textFontSize=Math.floor(this.textFontSize*de),this.labelFontSize=Math.min(this.textFontSize,15),this.setPadding()}setPadding(){this.textPadding[1]=this.textPadding[3]=this.cardWidth/8;const a=this.cardHeight/2;this.textPadding[0]=a-this.textFontSize-this.labelFontSize/2,this.textPadding[2]=a-this.labelFontSize}onClick(){this.select.emit(this.data)}}function o4(d){const a=Dc(d),{r:n,g:y,b:B,opacity:q}=a;if(0===q)return a.toString();return function Tu({r:d,g:a,b:n},y){const B=y<0?0:255,q=y<0?-1*y:y;return d=Math.round((B-d)*q)+d,a=Math.round((B-a)*q)+a,n=Math.round((B-n)*q)+n,`rgb(${d}, ${a}, ${n})`}(a,(299*n+587*y+114*B)/1e3>=128?-.8:.8)}Du.\u0275fac=function(a){return new(a||Du)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(e.Lbi))},Du.\u0275cmp=e.Xpm({type:Du,selectors:[["g","ngx-charts-card",""]],viewQuery:function(a,n){if(1&a&&e.Gf(Qp,5),2&a){let y;e.iGM(y=e.CRH())&&(n.textEl=y.first)}},inputs:{color:"color",bandColor:"bandColor",textColor:"textColor",x:"x",y:"y",width:"width",height:"height",label:"label",data:"data",medianSize:"medianSize",valueFormatting:"valueFormatting",labelFormatting:"labelFormatting",animations:"animations"},outputs:{select:"select"},features:[e.TTD],attrs:["ngx-charts-card",""],decls:10,vars:25,consts:[[1,"cell",3,"click"],["rx","3","ry","3",1,"card"],["class","card-band","stroke","none",4,"ngIf"],["x","5","alignment-baseline","hanging",1,"trimmed-label"],[3,"innerHTML"],["text-anchor","start","alignment-baseline","hanging",1,"value-text"],["textEl",""],["stroke","none",1,"card-band"]],template:function(a,n){1&a&&(e.O4$(),e.TgZ(0,"g",0),e.NdJ("click",function(){return n.onClick()}),e._UZ(1,"rect",1),e.YNc(2,K3,1,3,"path",2),e.TgZ(3,"title"),e._uU(4),e.qZA(),e.TgZ(5,"foreignObject",3),e.kcU(),e._UZ(6,"p",4),e.qZA(),e.O4$(),e.TgZ(7,"text",5,6),e._uU(9),e.qZA()()),2&a&&(e.uIk("transform",n.transform),e.xp6(1),e.Udp("fill",n.color),e.uIk("width",n.cardWidth)("height",n.cardHeight),e.xp6(1),e.Q6J("ngIf",n.bandColor&&n.bandColor!==n.color),e.xp6(2),e.Oqu(n.label),e.xp6(1),e.uIk("x",n.textPadding[3])("y",n.cardHeight-n.textPadding[2])("width",n.textWidth)("height",n.labelFontSize+n.textPadding[2]),e.xp6(1),e.Udp("color",n.textColor)("font-size",n.labelFontSize,"px")("line-height",n.labelFontSize,"px"),e.Q6J("innerHTML",n.formattedLabel,e.oJD),e.xp6(1),e.Udp("fill",n.textColor)("font-size",n.textFontSize,"pt"),e.uIk("x",n.textPadding[3])("y",n.textPadding[0]),e.xp6(2),e.hij(" ",n.value," "))},dependencies:[t.O5],encapsulation:2,changeDetection:0});class ah{constructor(){this.innerPadding=15,this.emptyColor="rgba(0, 0, 0, 0)",this.animations=!0,this.select=new e.vpe}ngOnChanges(a){this.update()}update(){if(this.data.length>2){const n=this.valueFormatting||(q=>q.value.toLocaleString()),y=this.data.map(q=>q&&q.data&&typeof q.data.value<"u"&&null!==q.data.value?n({data:q.data,label:q?q.data.name:"",value:q&&q.data?q.data.value:""}).length:0).sort((q,de)=>de-q),B=Math.ceil(this.data.length/2);this.medianSize=y[B]}const a=this.getCards();this.cards=a.filter(n=>null!==n.data.value),this.emptySlots=a.filter(n=>null===n.data.value)}getCards(){const a="number"==typeof this.innerPadding?this.innerPadding:this.innerPadding[0]+this.innerPadding[2],n="number"==typeof this.innerPadding?this.innerPadding:this.innerPadding[1]+this.innerPadding[3];return this.data.map((y,B)=>{let q=y.data.name;q=q&&"Date"===q.constructor.name?q.toLocaleDateString():q&&q.toLocaleString();const de=y.data.value,Ie=q?this.colors.getColor(q):this.emptyColor,ht=this.cardColor||Ie||"#000";return{x:y.x,y:y.y,width:y.width-n,height:y.height-a,color:ht,bandColor:this.bandColor||Ie,textColor:this.textColor||o4(ht),label:q,data:y.data,tooltipText:`${q}: ${de}`}})}trackBy(a,n){return n.label}onClick(a){this.select.emit(a)}}ah.\u0275fac=function(a){return new(a||ah)},ah.\u0275cmp=e.Xpm({type:ah,selectors:[["g","ngx-charts-card-series",""]],inputs:{data:"data",dims:"dims",colors:"colors",innerPadding:"innerPadding",cardColor:"cardColor",bandColor:"bandColor",emptyColor:"emptyColor",textColor:"textColor",valueFormatting:"valueFormatting",labelFormatting:"labelFormatting",animations:"animations"},outputs:{select:"select"},features:[e.TTD],attrs:["ngx-charts-card-series",""],decls:2,vars:4,consts:[["class","card-empty","rx","3","ry","3",3,"fill",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-card","",3,"x","y","width","height","color","bandColor","textColor","data","label","medianSize","valueFormatting","labelFormatting","animations","select",4,"ngFor","ngForOf","ngForTrackBy"],["rx","3","ry","3",1,"card-empty"],["ngx-charts-card","",3,"x","y","width","height","color","bandColor","textColor","data","label","medianSize","valueFormatting","labelFormatting","animations","select"]],template:function(a,n){1&a&&(e.YNc(0,nm,1,6,"rect",0),e.YNc(1,jp,1,13,"g",1)),2&a&&(e.Q6J("ngForOf",n.emptySlots)("ngForTrackBy",n.trackBy),e.xp6(1),e.Q6J("ngForOf",n.cards)("ngForTrackBy",n.trackBy))},dependencies:[Du,t.sg],encapsulation:2,changeDetection:0});class rh extends $a{constructor(){super(...arguments),this.emptyColor="rgba(0, 0, 0, 0)",this.innerPadding=15,this.margin=[10,10,10,10]}get clickable(){return!!this.select.observers.length}update(){super.update(),this.dims=kr({width:this.width,height:this.height,margins:this.margin}),this.formatDates(),this.domain=this.getDomain(),this.setColors(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`;const a=n4(this.dims,this.results.length,150),n=a[0]*a[1],y=this.results.slice();for(;y.length<n;)y.push({value:null});this.data=fm(this.dims,y,150,this.designatedTotal)}getDomain(){return this.results.map(a=>a.label)}onClick(a){this.select.emit(a)}setColors(){this.colors=new wr(this.scheme,Ei.Ordinal,this.domain,this.customColors)}}rh.\u0275fac=function(){let d;return function(n){return(d||(d=e.n5z(rh)))(n||rh)}}(),rh.\u0275cmp=e.Xpm({type:rh,selectors:[["ngx-charts-number-card"]],inputs:{cardColor:"cardColor",bandColor:"bandColor",emptyColor:"emptyColor",innerPadding:"innerPadding",textColor:"textColor",valueFormatting:"valueFormatting",labelFormatting:"labelFormatting",designatedTotal:"designatedTotal"},features:[e.qOj],decls:3,vars:20,consts:[[3,"view","showLegend","animations"],[1,"number-card","chart"],["ngx-charts-card-series","",3,"colors","cardColor","bandColor","textColor","emptyColor","data","dims","innerPadding","valueFormatting","labelFormatting","animations","select"]],template:function(a,n){1&a&&(e.TgZ(0,"ngx-charts-chart",0),e.O4$(),e.TgZ(1,"g",1)(2,"g",2),e.NdJ("select",function(B){return n.onClick(B)}),e.qZA()()()),2&a&&(e.Q6J("view",e.WLB(17,Ra,n.width,n.height))("showLegend",!1)("animations",n.animations),e.xp6(1),e.ekj("clickable",n.clickable),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("colors",n.colors)("cardColor",n.cardColor)("bandColor",n.bandColor)("textColor",n.textColor)("emptyColor",n.emptyColor)("data",n.data)("dims",n.dims)("innerPadding",n.innerPadding)("valueFormatting",n.valueFormatting)("labelFormatting",n.labelFormatting)("animations",n.animations))},dependencies:[Ba,ah],styles:[Sr,"ngx-charts-number-card .cell .trimmed-label{font-size:12px;pointer-events:none;overflow:hidden;text-align:left;line-height:1em}ngx-charts-number-card .cell .trimmed-label p{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;padding:0;margin:0}ngx-charts-number-card .cell .value-text{pointer-events:none}ngx-charts-number-card .number-card.clickable .cell .card,ngx-charts-number-card .number-card.clickable .cell .card-band{cursor:pointer}\n"],encapsulation:2,changeDetection:0});class P1{}P1.\u0275fac=function(a){return new(a||P1)},P1.\u0275mod=e.oAB({type:P1}),P1.\u0275inj=e.cJS({imports:[[Fo]]});class oh{constructor(a){this.gradient=!1,this.animations=!0,this.select=new e.vpe,this.initialized=!1,this.orientation=Ca,this.element=a.nativeElement}ngOnChanges(){this.update(),this.valueFormatting=this.valueFormatting||(y=>y.toLocaleString());const a=this.labelFormatting||(y=>no(Md(y.label,55))),n={data:this.data,label:this.label,value:this.value};this.formattedValue=this.valueFormatting(n.value),this.formattedLabel=a(n),this.gradientId="grad"+No().toString(),this.gradientUrl=`url(#${this.gradientId})`,this.gradientStops=this.getGradientStops()}update(){this.initialized?this.animateToCurrentForm():(this.animations&&this.loadAnimation(),this.initialized=!0)}loadAnimation(){St(this.element).select(".cell").attr("opacity",0).attr("x",this.x).attr("y",this.y),this.animateToCurrentForm()}getTextColor(){return o4(this.fill)}animateToCurrentForm(){const a=St(this.element).select(".cell");this.animations?a.transition().duration(750).attr("opacity",1).attr("x",this.x).attr("y",this.y).attr("width",this.width).attr("height",this.height):a.attr("opacity",1).attr("x",this.x).attr("y",this.y).attr("width",this.width).attr("height",this.height)}onClick(){this.select.emit(this.data)}getGradientStops(){return[{offset:0,color:this.fill,opacity:.3},{offset:100,color:this.fill,opacity:1}]}}oh.\u0275fac=function(a){return new(a||oh)(e.Y36(e.SBq))},oh.\u0275cmp=e.Xpm({type:oh,selectors:[["g","ngx-charts-tree-map-cell",""]],inputs:{data:"data",fill:"fill",x:"x",y:"y",width:"width",height:"height",label:"label",value:"value",valueFormatting:"valueFormatting",labelFormatting:"labelFormatting",gradient:"gradient",animations:"animations"},outputs:{select:"select"},features:[e.TTD],attrs:["ngx-charts-tree-map-cell",""],decls:4,vars:7,consts:[[4,"ngIf"],[1,"cell",3,"click"],["class","treemap-label",3,"pointer-events",4,"ngIf"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"],[1,"treemap-label"],[1,"treemap-label",3,"innerHTML"],["class","treemap-val","ngx-charts-count-up","",3,"countTo","valueFormatting",4,"ngIf"],["class","treemap-val",4,"ngIf"],["ngx-charts-count-up","",1,"treemap-val",3,"countTo","valueFormatting"],[1,"treemap-val"]],template:function(a,n){1&a&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,T_,2,3,"defs",0),e.TgZ(2,"rect",1),e.NdJ("click",function(){return n.onClick()}),e.qZA(),e.YNc(3,cg,6,15,"foreignObject",2),e.qZA()),2&a&&(e.xp6(1),e.Q6J("ngIf",n.gradient),e.xp6(1),e.uIk("fill",n.gradient?n.gradientUrl:n.fill)("width",n.width)("height",n.height)("x",n.x)("y",n.y),e.xp6(1),e.Q6J("ngIf",n.width>=70&&n.height>=35))},dependencies:[ac,nl,t.O5],encapsulation:2,changeDetection:0});class Sd{constructor(){this.gradient=!1,this.tooltipDisabled=!1,this.animations=!0,this.select=new e.vpe,this.styleTypes=Cs,this.placementTypes=Un}ngOnChanges(a){this.cells=this.getCells()}getCells(){return this.data.children.filter(a=>1===a.depth).map((a,n)=>{const y=a.id;return{data:a.data,x:a.x0,y:a.y0,width:a.x1-a.x0,height:a.y1-a.y0,fill:this.colors.getColor(y),label:y,value:a.value}})}getTooltipText({label:a,value:n}){return`\n <span class="tooltip-label">${no(a)}</span>\n <span class="tooltip-val">${n.toLocaleString()}</span>\n `}onClick(a){this.select.emit(a)}trackBy(a,n){return n.label}}Sd.\u0275fac=function(a){return new(a||Sd)},Sd.\u0275cmp=e.Xpm({type:Sd,selectors:[["g","ngx-charts-tree-map-cell-series",""]],inputs:{data:"data",dims:"dims",colors:"colors",valueFormatting:"valueFormatting",labelFormatting:"labelFormatting",gradient:"gradient",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate",animations:"animations"},outputs:{select:"select"},features:[e.TTD],attrs:["ngx-charts-tree-map-cell-series",""],decls:1,vars:2,consts:[["ngx-charts-tree-map-cell","","ngx-tooltip","",3,"data","x","y","width","height","fill","label","value","valueFormatting","labelFormatting","gradient","animations","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-tree-map-cell","","ngx-tooltip","",3,"data","x","y","width","height","fill","label","value","valueFormatting","labelFormatting","gradient","animations","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select"]],template:function(a,n){1&a&&e.YNc(0,lg,1,18,"g",0),2&a&&e.Q6J("ngForOf",n.cells)("ngForTrackBy",n.trackBy)},dependencies:[oh,t.sg,To],encapsulation:2,changeDetection:0});class sh extends $a{constructor(){super(...arguments),this.tooltipDisabled=!1,this.gradient=!1,this.select=new e.vpe,this.margin=[10,10,10,10]}update(){super.update(),this.dims=kr({width:this.width,height:this.height,margins:this.margin}),this.domain=this.getDomain(),this.treemap=function ys(){var d=If,a=!1,n=1,y=1,B=[0],q=cu,de=cu,Ie=cu,ht=cu,yt=cu;function Tt(zt){return zt.x0=zt.y0=0,zt.x1=n,zt.y1=y,zt.eachBefore(ei),B=[0],a&&zt.eachBefore(Tc),zt}function ei(zt){var vi=B[zt.depth],Si=zt.x0+vi,qi=zt.y0+vi,gi=zt.x1-vi,Xi=zt.y1-vi;gi<Si&&(Si=gi=(Si+gi)/2),Xi<qi&&(qi=Xi=(qi+Xi)/2),zt.x0=Si,zt.y0=qi,zt.x1=gi,zt.y1=Xi,zt.children&&(vi=B[zt.depth+1]=q(zt)/2,Si+=yt(zt)-vi,qi+=de(zt)-vi,(gi-=Ie(zt)-vi)<Si&&(Si=gi=(Si+gi)/2),(Xi-=ht(zt)-vi)<qi&&(qi=Xi=(qi+Xi)/2),d(zt,Si,qi,gi,Xi))}return Tt.round=function(zt){return arguments.length?(a=!!zt,Tt):a},Tt.size=function(zt){return arguments.length?(n=+zt[0],y=+zt[1],Tt):[n,y]},Tt.tile=function(zt){return arguments.length?(d=su(zt),Tt):d},Tt.padding=function(zt){return arguments.length?Tt.paddingInner(zt).paddingOuter(zt):Tt.paddingInner()},Tt.paddingInner=function(zt){return arguments.length?(q="function"==typeof zt?zt:lu(+zt),Tt):q},Tt.paddingOuter=function(zt){return arguments.length?Tt.paddingTop(zt).paddingRight(zt).paddingBottom(zt).paddingLeft(zt):Tt.paddingTop()},Tt.paddingTop=function(zt){return arguments.length?(de="function"==typeof zt?zt:lu(+zt),Tt):de},Tt.paddingRight=function(zt){return arguments.length?(Ie="function"==typeof zt?zt:lu(+zt),Tt):Ie},Tt.paddingBottom=function(zt){return arguments.length?(ht="function"==typeof zt?zt:lu(+zt),Tt):ht},Tt.paddingLeft=function(zt){return arguments.length?(yt="function"==typeof zt?zt:lu(+zt),Tt):yt},Tt}().size([this.dims.width,this.dims.height]);const n=function up(){var d=A4,a=hp;function n(y){var de,Ie,ht,yt,Tt,ei,zt,B=Array.from(y),q=B.length,vi=new Map;for(Ie=0;Ie<q;++Ie)de=B[Ie],Tt=B[Ie]=new I2(de),null!=(ei=d(de,Ie,y))&&(ei+="")&&(zt=Tt.id=ei,vi.set(zt,vi.has(zt)?Ff:Tt)),null!=(ei=a(de,Ie,y))&&(ei+="")&&(Tt.parent=ei);for(Ie=0;Ie<q;++Ie)if(ei=(Tt=B[Ie]).parent){if(!(yt=vi.get(ei)))throw new Error("missing: "+ei);if(yt===Ff)throw new Error("ambiguous: "+ei);yt.children?yt.children.push(Tt):yt.children=[Tt],Tt.parent=yt}else{if(ht)throw new Error("multiple roots");ht=Tt}if(!ht)throw new Error("no root");if(ht.parent=Nf,ht.eachBefore(function(Si){Si.depth=Si.parent.depth+1,--q}).eachBefore(Bf),ht.parent=null,q>0)throw new Error("cycle");return ht}return n.id=function(y){return arguments.length?(d=su(y),n):d},n.parentId=function(y){return arguments.length?(a=su(y),n):a},n}().id(y=>{let B=y.name;return B="Date"===B.constructor.name?B.toLocaleDateString():B.toLocaleString(),B}).parentId(y=>y.isRoot?null:"root")([{name:"root",value:0,isRoot:!0},...this.results]).sum(y=>y.value);this.data=this.treemap(n),this.setColors(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`}getDomain(){return this.results.map(a=>a.name)}onClick(a){this.select.emit(a)}setColors(){this.colors=new wr(this.scheme,Ei.Ordinal,this.domain,this.customColors)}}sh.\u0275fac=function(){let d;return function(n){return(d||(d=e.n5z(sh)))(n||sh)}}(),sh.\u0275cmp=e.Xpm({type:sh,selectors:[["ngx-charts-tree-map"]],contentQueries:function(a,n,y){if(1&a&&e.Suo(y,zr,5),2&a){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.first)}},inputs:{results:"results",tooltipDisabled:"tooltipDisabled",valueFormatting:"valueFormatting",labelFormatting:"labelFormatting",gradient:"gradient"},outputs:{select:"select"},features:[e.qOj],decls:3,vars:16,consts:[[3,"view","showLegend","animations"],[1,"tree-map","chart"],["ngx-charts-tree-map-cell-series","",3,"colors","data","dims","tooltipDisabled","tooltipTemplate","valueFormatting","labelFormatting","gradient","animations","select"]],template:function(a,n){1&a&&(e.TgZ(0,"ngx-charts-chart",0),e.O4$(),e.TgZ(1,"g",1)(2,"g",2),e.NdJ("select",function(B){return n.onClick(B)}),e.qZA()()()),2&a&&(e.Q6J("view",e.WLB(13,Ra,n.width,n.height))("showLegend",!1)("animations",n.animations),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("colors",n.colors)("data",n.data)("dims",n.dims)("tooltipDisabled",n.tooltipDisabled)("tooltipTemplate",n.tooltipTemplate)("valueFormatting",n.valueFormatting)("labelFormatting",n.labelFormatting)("gradient",n.gradient)("animations",n.animations))},dependencies:[Ba,Sd],styles:[".tree-map .treemap-val{font-size:1.3em;padding-top:5px;display:inline-block}.tree-map .treemap-label p{display:table-cell;text-align:center;line-height:1.2em;vertical-align:middle}\n"],encapsulation:2,changeDetection:0});class ch{}var R1;ch.\u0275fac=function(a){return new(a||ch)},ch.\u0275mod=e.oAB({type:ch}),ch.\u0275inj=e.cJS({imports:[[Fo]]}),function(d){d.Value="value",d.Units="units"}(R1||(R1={}));class B1 extends $a{constructor(){super(...arguments),this.min=0,this.max=100,this.value=0,this.margin=[10,20,10,20],this.valueResizeScale=1,this.unitsResizeScale=1,this.valueTextTransform="",this.valueTranslate="",this.unitsTextTransform="",this.unitsTranslate="",this.barOrientation=Ca}ngAfterViewInit(){super.ngAfterViewInit(),setTimeout(()=>{this.scaleText(R1.Value),this.scaleText(R1.Units)})}update(){super.update(),this.hasPreviousValue=void 0!==this.previousValue,this.max=Math.max(this.max,this.value),this.min=Math.min(this.min,this.value),this.hasPreviousValue&&(this.max=Math.max(this.max,this.previousValue),this.min=Math.min(this.min,this.previousValue)),this.dims=kr({width:this.width,height:this.height,margins:this.margin}),this.valueDomain=this.getValueDomain(),this.valueScale=this.getValueScale(),this.displayValue=this.getDisplayValue(),this.setColors();const a=this.margin[3]+this.dims.width/2,n=this.margin[0]+this.dims.height/2;this.transform=`translate(${a}, ${n})`,this.transformLine=`translate(${this.margin[3]+this.valueScale(this.previousValue)}, ${n})`,this.valueTranslate="translate(0, -15)",this.unitsTranslate="translate(0, 15)",(0,t.PM)(this.platformId)?(this.scaleTextSSR("value"),this.scaleTextSSR("units")):(setTimeout(()=>this.scaleText(R1.Value),50),setTimeout(()=>this.scaleText(R1.Units),50))}getValueDomain(){return[this.min,this.max]}getValueScale(){return fa().range([0,this.dims.width]).domain(this.valueDomain)}getDisplayValue(){return this.valueFormatting?this.valueFormatting(this.value):this.value.toLocaleString()}scaleText(a,n=!0){let y,B;a===R1.Value?(y=this.valueTextEl,B=this.valueResizeScale):(y=this.unitsTextEl,B=this.unitsResizeScale);const{width:q,height:de}=y.nativeElement.getBoundingClientRect();if(0===q||0===de)return;const Ie=B,ht=this.dims.width,yt=Math.max(this.dims.height/2-15,0),Tt=Math.floor(ht/(q/B)*100)/100,ei=Math.floor(yt/(de/B)*100)/100;B=Math.min(ei,Tt),B!==Ie&&(a===R1.Value?(this.valueResizeScale=B,this.valueTextTransform=`scale(${B}, ${B})`):(this.unitsResizeScale=B,this.unitsTextTransform=`scale(${B}, ${B})`),this.cd.markForCheck(),n&&(0,t.NF)(this.platformId)&&setTimeout(()=>{this.scaleText(a,!1)},50))}scaleTextSSR(a){let n=1;const y="value"===a?this.displayValue:this.units,B=df(r4,y,10),de=this.dims.width,Ie=Math.max(this.dims.height/2-15,0),ht=Math.floor(de/(B/n)*100)/100,yt=Math.floor(Ie/(25/n)*100)/100;n=Math.min(yt,ht),"value"===a?(this.valueResizeScale=n,this.valueTextTransform=`scale(${n}, ${n})`):(this.unitsResizeScale=n,this.unitsTextTransform=`scale(${n}, ${n})`),this.cd.markForCheck()}onClick(){this.select.emit({name:"Value",value:this.value})}setColors(){this.colors=new wr(this.scheme,Ei.Ordinal,[this.value],this.customColors)}}B1.\u0275fac=function(){let d;return function(n){return(d||(d=e.n5z(B1)))(n||B1)}}(),B1.\u0275cmp=e.Xpm({type:B1,selectors:[["ngx-charts-linear-gauge"]],viewQuery:function(a,n){if(1&a&&(e.Gf(Y3,5),e.Gf(qp,5)),2&a){let y;e.iGM(y=e.CRH())&&(n.valueTextEl=y.first),e.iGM(y=e.CRH())&&(n.unitsTextEl=y.first)}},inputs:{min:"min",max:"max",value:"value",units:"units",previousValue:"previousValue",valueFormatting:"valueFormatting"},features:[e.qOj],decls:15,vars:38,consts:[[3,"view","showLegend","animations","click"],[1,"linear-gauge","chart"],["ngx-charts-bar","",1,"background-bar",3,"width","height","x","y","data","orientation","roundEdges","animations"],["ngx-charts-bar","",3,"width","height","x","y","fill","data","orientation","roundEdges","animations"],["x1","0","y1","5","x2","0","y2","15",4,"ngIf"],["x1","0","y1","-5","x2","0","y2","-15",4,"ngIf"],["alignment-baseline","after-edge",1,"value"],["valueTextEl",""],["alignment-baseline","before-edge",1,"units"],["unitsTextEl",""],["x1","0","y1","5","x2","0","y2","15"],["x1","0","y1","-5","x2","0","y2","-15"]],template:function(a,n){1&a&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("click",function(){return n.onClick()}),e.O4$(),e.TgZ(1,"g",1),e._UZ(2,"g",2)(3,"g",3),e.YNc(4,dg,1,2,"line",4),e.YNc(5,xd,1,2,"line",5),e.TgZ(6,"g")(7,"g")(8,"text",6,7),e._uU(10),e.qZA()(),e.TgZ(11,"g")(12,"text",8,9),e._uU(14),e.qZA()()()()()),2&a&&(e.Q6J("view",e.WLB(33,Ra,n.width,n.height))("showLegend",!1)("animations",n.animations),e.xp6(2),e.Q6J("width",n.dims.width)("height",3)("x",n.margin[3])("y",n.dims.height/2+n.margin[0]-2)("data",e.DdM(36,Q3))("orientation",n.barOrientation.Horizontal)("roundEdges",!0)("animations",n.animations),e.xp6(1),e.Q6J("width",n.valueScale(n.value))("height",3)("x",n.margin[3])("y",n.dims.height/2+n.margin[0]-2)("fill",n.colors.getColor(n.units))("data",e.DdM(37,Q3))("orientation",n.barOrientation.Horizontal)("roundEdges",!0)("animations",n.animations),e.xp6(1),e.Q6J("ngIf",n.hasPreviousValue),e.xp6(1),e.Q6J("ngIf",n.hasPreviousValue),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.uIk("transform",n.valueTranslate),e.xp6(1),e.Udp("text-anchor","middle"),e.uIk("transform",n.valueTextTransform),e.xp6(2),e.hij(" ",n.displayValue," "),e.xp6(1),e.uIk("transform",n.unitsTranslate),e.xp6(1),e.Udp("text-anchor","middle"),e.uIk("transform",n.unitsTextTransform),e.xp6(2),e.hij(" ",n.units," "))},dependencies:[Ba,rl,t.O5],styles:[Sr,".linear-gauge{cursor:pointer}.linear-gauge .background-bar path{fill:#0000000d}.linear-gauge .units{fill:#666}\n"],encapsulation:2,changeDetection:0});class N1{constructor(){this.isActive=!1,this.tooltipDisabled=!1,this.animations=!0,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.placementTypes=Un,this.styleTypes=Cs}tooltipText(a){const n=Do(a.data.name);let y;return y=this.valueFormatting?this.valueFormatting(a.data.value):Do(a.data.value),`\n <span class="tooltip-label">${no(n)}</span>\n <span class="tooltip-val">${y}</span>\n `}}N1.\u0275fac=function(a){return new(a||N1)},N1.\u0275cmp=e.Xpm({type:N1,selectors:[["g","ngx-charts-gauge-arc",""]],inputs:{backgroundArc:"backgroundArc",valueArc:"valueArc",cornerRadius:"cornerRadius",colors:"colors",isActive:"isActive",tooltipDisabled:"tooltipDisabled",valueFormatting:"valueFormatting",tooltipTemplate:"tooltipTemplate",animations:"animations"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},attrs:["ngx-charts-gauge-arc",""],decls:2,vars:23,consts:[["ngx-charts-pie-arc","",1,"background-arc",3,"startAngle","endAngle","innerRadius","outerRadius","cornerRadius","data","animate","pointerEvents"],["ngx-charts-pie-arc","","ngx-tooltip","",3,"startAngle","endAngle","innerRadius","outerRadius","cornerRadius","fill","data","animate","isActive","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate"]],template:function(a,n){1&a&&(e.O4$(),e._UZ(0,"g",0),e.TgZ(1,"g",1),e.NdJ("select",function(B){return n.select.emit(B)})("activate",function(B){return n.activate.emit(B)})("deactivate",function(B){return n.deactivate.emit(B)}),e.qZA()),2&a&&(e.Q6J("startAngle",0)("endAngle",n.backgroundArc.endAngle)("innerRadius",n.backgroundArc.innerRadius)("outerRadius",n.backgroundArc.outerRadius)("cornerRadius",n.cornerRadius)("data",n.backgroundArc.data)("animate",!1)("pointerEvents",!1),e.xp6(1),e.Q6J("startAngle",0)("endAngle",n.valueArc.endAngle)("innerRadius",n.valueArc.innerRadius)("outerRadius",n.valueArc.outerRadius)("cornerRadius",n.cornerRadius)("fill",n.colors.getColor(n.valueArc.data.name))("data",n.valueArc.data)("animate",n.animations)("isActive",n.isActive)("tooltipDisabled",n.tooltipDisabled)("tooltipPlacement",n.placementTypes.Top)("tooltipType",n.styleTypes.tooltip)("tooltipTitle",n.tooltipTemplate?void 0:n.tooltipText(n.valueArc))("tooltipTemplate",n.tooltipTemplate)("tooltipContext",n.valueArc.data))},dependencies:[Od,To],encapsulation:2,changeDetection:0});class lh{constructor(){this.rotate=""}ngOnChanges(a){this.update()}update(){this.rotationAngle=-90+this.startAngle,this.rotate=`rotate(${this.rotationAngle})`,this.ticks=this.getTicks()}getTicks(){const a=this.angleSpan/this.bigSegments,n=a/this.smallSegments,B={big:[],small:[]},q=this.radius+10,de=q+20+10;for(let Ie=0;Ie<=this.bigSegments;Ie++){const ht=Ie*a,yt=ht*Math.PI/180,Tt=this.getTextAnchor(ht);let ei=!1;if(0===Ie&&360===this.angleSpan&&(ei=!0),!ei){let zt=Number.parseFloat(this.valueScale.invert(ht).toString()).toLocaleString();this.tickFormatting&&(zt=this.tickFormatting(zt)),B.big.push({line:this.getTickPath(q,20,yt),textAnchor:Tt,text:zt,textTransform:`\n translate(${de*Math.cos(yt)}, ${de*Math.sin(yt)}) rotate(${-this.rotationAngle})\n `})}if(Ie!==this.bigSegments)for(let zt=1;zt<=this.smallSegments;zt++){const Si=(ht+zt*n)*Math.PI/180;B.small.push({line:this.getTickPath(q,10,Si)})}}return B}getTextAnchor(a){a=(this.startAngle+a)%360;let n=xs.Middle;return a>45&&a<=135?n=xs.Start:a>225&&a<=315&&(n=xs.End),n}getTickPath(a,n,y){const B=a*Math.sin(y),q=(a+n)*Math.sin(y),ht=[{x:a*Math.cos(y),y:B},{x:(a+n)*Math.cos(y),y:q}];return pd().x(Tt=>Tt.x).y(Tt=>Tt.y)(ht)}}lh.\u0275fac=function(a){return new(a||lh)},lh.\u0275cmp=e.Xpm({type:lh,selectors:[["g","ngx-charts-gauge-axis",""]],inputs:{bigSegments:"bigSegments",smallSegments:"smallSegments",min:"min",max:"max",angleSpan:"angleSpan",startAngle:"startAngle",radius:"radius",valueScale:"valueScale",tickFormatting:"tickFormatting"},features:[e.TTD],attrs:["ngx-charts-gauge-axis",""],decls:4,vars:4,consts:[["class","gauge-tick gauge-tick-large",4,"ngFor","ngForOf"],["class","gauge-tick gauge-tick-small",4,"ngFor","ngForOf"],[1,"gauge-tick","gauge-tick-large"],["alignment-baseline","central"],[1,"gauge-tick","gauge-tick-small"]],template:function(a,n){1&a&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,z2,2,1,"g",0),e.YNc(2,j3,3,4,"g",0),e.YNc(3,rm,2,1,"g",1),e.qZA()),2&a&&(e.uIk("transform",n.rotate),e.xp6(1),e.Q6J("ngForOf",n.ticks.big),e.xp6(1),e.Q6J("ngForOf",n.ticks.big),e.xp6(1),e.Q6J("ngForOf",n.ticks.small))},dependencies:[t.sg],encapsulation:2,changeDetection:0});class Au extends $a{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=Cr.Right,this.min=0,this.max=100,this.bigSegments=10,this.smallSegments=5,this.showAxis=!0,this.startAngle=-120,this.angleSpan=240,this.activeEntries=[],this.tooltipDisabled=!1,this.showText=!0,this.activate=new e.vpe,this.deactivate=new e.vpe,this.resizeScale=1,this.rotation="",this.textTransform="scale(1, 1)",this.cornerRadius=10}ngAfterViewInit(){super.ngAfterViewInit(),setTimeout(()=>this.scaleText())}update(){super.update(),this.showAxis?this.margin||(this.margin=[60,100,60,100]):this.margin||(this.margin=[10,20,10,20]),this.startAngle<0&&(this.startAngle=this.startAngle%360+360),this.angleSpan=Math.min(this.angleSpan,360),this.dims=kr({width:this.width,height:this.height,margins:this.margin,showLegend:this.legend,legendPosition:this.legendPosition}),this.domain=this.getDomain(),this.valueDomain=this.getValueDomain(),this.valueScale=this.getValueScale(),this.displayValue=this.getDisplayValue(),this.outerRadius=Math.min(this.dims.width,this.dims.height)/2,this.arcs=this.getArcs(),this.setColors(),this.legendOptions=this.getLegendOptions();const a=this.margin[3]+this.dims.width/2,n=this.margin[0]+this.dims.height/2;this.transform=`translate(${a}, ${n})`,this.rotation=`rotate(${this.startAngle})`,setTimeout(()=>this.scaleText(),50)}getArcs(){const a=[],n=.7*this.outerRadius,y=Math.min(n/this.results.length,10),B=.7*y;this.textRadius=this.outerRadius-this.results.length*y,this.cornerRadius=Math.floor(B/2);let q=0;for(const de of this.results){const Ie=this.outerRadius-q*y,ht=Ie-B,ei={backgroundArc:{endAngle:this.angleSpan*Math.PI/180,innerRadius:ht,outerRadius:Ie,data:{value:this.max,name:de.name}},valueArc:{endAngle:Math.min(this.valueScale(de.value),this.angleSpan)*Math.PI/180,innerRadius:ht,outerRadius:Ie,data:{value:de.value,name:de.name}}};a.push(ei),q++}return a}getDomain(){return this.results.map(a=>a.name)}getValueDomain(){const a=this.results.map(B=>B.value),n=Math.min(...a),y=Math.max(...a);return void 0!==this.min?this.min=Math.min(this.min,n):this.min=n,void 0!==this.max?this.max=Math.max(this.max,y):this.max=y,[this.min,this.max]}getValueScale(){return fa().range([0,this.angleSpan]).nice().domain(this.valueDomain)}getDisplayValue(){const a=this.results.map(n=>n.value).reduce((n,y)=>n+y,0);return this.textValue&&0!==this.textValue.length?this.textValue.toLocaleString():this.valueFormatting?this.valueFormatting(a):a.toLocaleString()}scaleText(a=!0){if(!this.showText)return;const{width:n}=this.textEl.nativeElement.getBoundingClientRect(),y=this.resizeScale;if(0===n)this.resizeScale=1;else{const B=this.textRadius;this.resizeScale=Math.floor(B/(n/this.resizeScale)*100)/100}this.resizeScale!==y&&(this.textTransform=`scale(${this.resizeScale}, ${this.resizeScale})`,this.cd.markForCheck(),a&&setTimeout(()=>this.scaleText(!1),50))}onClick(a){this.select.emit(a)}getLegendOptions(){return{scaleType:Ei.Ordinal,colors:this.colors,domain:this.domain,title:this.legendTitle,position:this.legendPosition}}setColors(){this.colors=new wr(this.scheme,Ei.Ordinal,this.domain,this.customColors)}onActivate(a){this.activeEntries.findIndex(y=>y.name===a.name&&y.value===a.value)>-1||(this.activeEntries=[a,...this.activeEntries],this.activate.emit({value:a,entries:this.activeEntries}))}onDeactivate(a){const n=this.activeEntries.findIndex(y=>y.name===a.name&&y.value===a.value);this.activeEntries.splice(n,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:a,entries:this.activeEntries})}isActive(a){return!!this.activeEntries&&void 0!==this.activeEntries.find(y=>a.name===y.name&&a.series===y.series)}trackBy(a,n){return n.valueArc.data.name}}Au.\u0275fac=function(){let d;return function(n){return(d||(d=e.n5z(Au)))(n||Au)}}(),Au.\u0275cmp=e.Xpm({type:Au,selectors:[["ngx-charts-gauge"]],contentQueries:function(a,n,y){if(1&a&&e.Suo(y,zr,5),2&a){let B;e.iGM(B=e.CRH())&&(n.tooltipTemplate=B.first)}},viewQuery:function(a,n){if(1&a&&e.Gf(Qp,5),2&a){let y;e.iGM(y=e.CRH())&&(n.textEl=y.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",min:"min",max:"max",textValue:"textValue",units:"units",bigSegments:"bigSegments",smallSegments:"smallSegments",results:"results",showAxis:"showAxis",startAngle:"startAngle",angleSpan:"angleSpan",activeEntries:"activeEntries",axisTickFormatting:"axisTickFormatting",tooltipDisabled:"tooltipDisabled",valueFormatting:"valueFormatting",showText:"showText",margin:"margin"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:5,vars:13,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"gauge","chart"],[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-gauge-axis","",3,"bigSegments","smallSegments","min","max","radius","angleSpan","valueScale","startAngle","tickFormatting",4,"ngIf"],["alignment-baseline","central",3,"textAnchor",4,"ngIf"],["ngx-charts-gauge-arc","",3,"backgroundArc","valueArc","cornerRadius","colors","isActive","tooltipDisabled","tooltipTemplate","valueFormatting","animations","select","activate","deactivate"],["ngx-charts-gauge-axis","",3,"bigSegments","smallSegments","min","max","radius","angleSpan","valueScale","startAngle","tickFormatting"],["alignment-baseline","central"],["textEl",""],["x","0","dy","0"],["x","0","dy","1.2em"]],template:function(a,n){1&a&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelClick",function(B){return n.onClick(B)})("legendLabelActivate",function(B){return n.onActivate(B)})("legendLabelDeactivate",function(B){return n.onDeactivate(B)}),e.O4$(),e.TgZ(1,"g",1),e.YNc(2,om,2,10,"g",2),e.YNc(3,hs,1,9,"g",3),e.YNc(4,hg,6,5,"text",4),e.qZA()()),2&a&&(e.Q6J("view",e.WLB(10,Ra,n.width,n.height))("showLegend",n.legend)("legendOptions",n.legendOptions)("activeEntries",n.activeEntries)("animations",n.animations),e.xp6(1),e.uIk("transform",n.transform),e.xp6(1),e.Q6J("ngForOf",n.arcs)("ngForTrackBy",n.trackBy),e.xp6(1),e.Q6J("ngIf",n.showAxis),e.xp6(1),e.Q6J("ngIf",n.showText))},dependencies:[Ba,N1,lh,t.sg,t.O5],styles:[Sr,".gauge .background-arc path{fill:#0000000d}.gauge .gauge-tick path{stroke:#666}.gauge .gauge-tick text{font-size:12px;fill:#666;font-weight:700}.gauge .gauge-tick-large path{stroke-width:2px}.gauge .gauge-tick-small path{stroke-width:1px}\n"],encapsulation:2,changeDetection:0});class dh{}dh.\u0275fac=function(a){return new(a||dh)},dh.\u0275mod=e.oAB({type:dh}),dh.\u0275inj=e.cJS({imports:[[Fo,sl,A1]]});class F1{constructor(){!function Iu(){typeof SVGElement<"u"&&typeof SVGElement.prototype.contains>"u"&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)}()}}F1.\u0275fac=function(a){return new(a||F1)},F1.\u0275mod=e.oAB({type:F1}),F1.\u0275inj=e.cJS({imports:[Fo,M1,A1,Cu,Hl,S1,Ld,nh,P1,sl,ch,dh]})},6021:(Ye,J,f)=>{"use strict";function e(k,M,z,A,W,Z,X){try{var $=k[Z](X),ae=$.value}catch(he){return void z(he)}$.done?M(ae):Promise.resolve(ae).then(A,W)}f.d(J,{uU:()=>L,OF:()=>D});var _=f(2560),O=f(4666),l=f(5646);function C(k,M){if(1&k&&_._UZ(0,"canvas",1),2&k){const z=_.oxw();_.Q6J("qrCode",z.value)("qrCodeErrorCorrectionLevel",z.errorCorrectionLevel)("qrCodeCenterImageSrc",z.centerImageSrc)("qrCodeCenterImageWidth",z.centerImageSize)("qrCodeCenterImageHeight",z.centerImageSize)("qrCodeMargin",z.margin)("width",z.size)("height",z.size)("darkColor",z.darkColor)("lightColor",z.lightColor)}}const u=/^#(?:[0-9a-fA-F]{3,4}){1,2}$/;class P{constructor(M){this.viewContainerRef=M,this.errorCorrectionLevel=P.DEFAULT_ERROR_CORRECTION_LEVEL,this.darkColor="#000000FF",this.lightColor="#FFFFFFFF",this.margin=16}ngOnChanges(){var M=this;return function t(k){return function(){var M=this,z=arguments;return new Promise(function(A,W){var Z=k.apply(M,z);function X(ae){e(Z,A,W,X,$,"next",ae)}function $(ae){e(Z,A,W,X,$,"throw",ae)}X(void 0)})}}(function*(){if(!M.value)return;M.version&&M.version>40?(console.warn("[qrCode] max version is 40, clamping"),M.version=40):M.version&&M.version<1?(console.warn("[qrCode] min version is 1, clamping"),M.version=1):void 0!==M.version&&isNaN(M.version)&&(console.warn("[qrCode] version should be set to a number, defaulting to auto"),M.version=void 0);const z=M.viewContainerRef.element.nativeElement;if(!z)return;const A=z.getContext("2d");A&&A.clearRect(0,0,A.canvas.width,A.canvas.height);const W=M.errorCorrectionLevel??P.DEFAULT_ERROR_CORRECTION_LEVEL,Z=u.test(M.darkColor)?M.darkColor:void 0,X=u.test(M.lightColor)?M.lightColor:void 0;(0,_.X6Q)()&&(!Z&&M.darkColor&&console.error("[ng-qrcode] darkColor set to invalid value, must be RGBA hex color string, eg: #3050A1FF"),!X&&M.lightColor&&console.error("[ng-qrcode] lightColor set to invalid value, must be RGBA hex color string, eg: #3050A130")),yield l.toCanvas(z,M.value,{version:M.version,errorCorrectionLevel:W,width:M.width,margin:M.margin,color:{dark:Z,light:X}});const $=M.centerImageSrc,ae=p(M.centerImageWidth,P.DEFAULT_CENTER_IMAGE_SIZE),he=p(M.centerImageHeight,P.DEFAULT_CENTER_IMAGE_SIZE);if($&&A){M.centerImage||(M.centerImage=new Image(ae,he));const se=M.centerImage;$!==M.centerImage.src&&(se.src=$),ae!==M.centerImage.width&&(se.width=ae),he!==M.centerImage.height&&(se.height=he);const pe=()=>{A.drawImage(se,z.width/2-ae/2,z.height/2-he/2,ae,he)};se.onload=pe,se.complete&&pe()}})()}}function p(k,M){return void 0===k||""===k?M:"string"==typeof k?parseInt(k,10):k}P.DEFAULT_ERROR_CORRECTION_LEVEL="M",P.DEFAULT_CENTER_IMAGE_SIZE=40,P.\u0275fac=function(M){return new(M||P)(_.Y36(_.s_b))},P.\u0275dir=_.lG2({type:P,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:[_.TTD]});class L{}L.\u0275fac=function(M){return new(M||L)},L.\u0275cmp=_.Xpm({type:L,selectors:[["qr-code"]],inputs:{value:"value",size:"size",darkColor:"darkColor",lightColor:"lightColor",errorCorrectionLevel:"errorCorrectionLevel",centerImageSrc:"centerImageSrc",centerImageSize:"centerImageSize",margin:"margin"},decls:1,vars:1,consts:[[3,"qrCode","qrCodeErrorCorrectionLevel","qrCodeCenterImageSrc","qrCodeCenterImageWidth","qrCodeCenterImageHeight","qrCodeMargin","width","height","darkColor","lightColor",4,"ngIf"],[3,"qrCode","qrCodeErrorCorrectionLevel","qrCodeCenterImageSrc","qrCodeCenterImageWidth","qrCodeCenterImageHeight","qrCodeMargin","width","height","darkColor","lightColor"]],template:function(M,z){1&M&&_.YNc(0,C,1,10,"canvas",0),2&M&&_.Q6J("ngIf",z.value)},dependencies:[O.O5,P],encapsulation:2});class D{}D.\u0275fac=function(M){return new(M||D)},D.\u0275mod=_.oAB({type:D}),D.\u0275inj=_.cJS({imports:[O.ez]})},8822:(Ye,J,f)=>{"use strict";f.d(J,{op:()=>mi,Vv:()=>wt,$V:()=>Ne,Xd:()=>Nt});var e=f(253),t=f(3280),_=f(6646),O=f(9211),l=f(8951),C=f(8977),u=f(73),P=f(2560),p=f(4666);function L(ot){return getComputedStyle(ot)}function D(ot,We){for(var gt in We){var ri=We[gt];"number"==typeof ri&&(ri+="px"),ot.style[gt]=ri}return ot}function k(ot){var We=document.createElement("div");return We.className=ot,We}var M=typeof Element<"u"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function z(ot,We){if(!M)throw new Error("No element matching method supported");return M.call(ot,We)}function A(ot){ot.remove?ot.remove():ot.parentNode&&ot.parentNode.removeChild(ot)}function W(ot,We){return Array.prototype.filter.call(ot.children,function(gt){return z(gt,We)})}var Z_main="ps",Z_rtl="ps__rtl",Z_element={thumb:function(ot){return"ps__thumb-"+ot},rail:function(ot){return"ps__rail-"+ot},consuming:"ps__child--consume"},Z_state={focus:"ps--focus",clicking:"ps--clicking",active:function(ot){return"ps--active-"+ot},scrolling:function(ot){return"ps--scrolling-"+ot}},X={x:null,y:null};function $(ot,We){var gt=ot.element.classList,ri=Z_state.scrolling(We);gt.contains(ri)?clearTimeout(X[We]):gt.add(ri)}function ae(ot,We){X[We]=setTimeout(function(){return ot.isAlive&&ot.element.classList.remove(Z_state.scrolling(We))},ot.settings.scrollingThreshold)}var se=function(We){this.element=We,this.handlers={}},pe={isEmpty:{configurable:!0}};se.prototype.bind=function(We,gt){typeof this.handlers[We]>"u"&&(this.handlers[We]=[]),this.handlers[We].push(gt),this.element.addEventListener(We,gt,!1)},se.prototype.unbind=function(We,gt){var ri=this;this.handlers[We]=this.handlers[We].filter(function(Pt){return!(!gt||Pt===gt)||(ri.element.removeEventListener(We,Pt,!1),!1)})},se.prototype.unbindAll=function(){for(var We in this.handlers)this.unbind(We)},pe.isEmpty.get=function(){var ot=this;return Object.keys(this.handlers).every(function(We){return 0===ot.handlers[We].length})},Object.defineProperties(se.prototype,pe);var le=function(){this.eventElements=[]};function re(ot){if("function"==typeof window.CustomEvent)return new CustomEvent(ot);var We=document.createEvent("CustomEvent");return We.initCustomEvent(ot,!1,!1,void 0),We}function fe(ot,We,gt,ri,Pt){var Ft;if(void 0===ri&&(ri=!0),void 0===Pt&&(Pt=!1),"top"===We)Ft=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==We)throw new Error("A proper axis should be provided");Ft=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function T(ot,We,gt,ri,Pt){var Ft=gt[0],qt=gt[1],Te=gt[2],me=gt[3],ct=gt[4],_t=gt[5];void 0===ri&&(ri=!0),void 0===Pt&&(Pt=!1);var Lt=ot.element;ot.reach[me]=null,Lt[Te]<1&&(ot.reach[me]="start"),Lt[Te]>ot[Ft]-ot[qt]-1&&(ot.reach[me]="end"),We&&(Lt.dispatchEvent(re("ps-scroll-"+me)),We<0?Lt.dispatchEvent(re("ps-scroll-"+ct)):We>0&&Lt.dispatchEvent(re("ps-scroll-"+_t)),ri&&function he(ot,We){$(ot,We),ae(ot,We)}(ot,me)),ot.reach[me]&&(We||Pt)&&Lt.dispatchEvent(re("ps-"+me+"-reach-"+ot.reach[me]))}(ot,gt,Ft,ri,Pt)}function i(ot){return parseInt(ot,10)||0}le.prototype.eventElement=function(We){var gt=this.eventElements.filter(function(ri){return ri.element===We})[0];return gt||(gt=new se(We),this.eventElements.push(gt)),gt},le.prototype.bind=function(We,gt,ri){this.eventElement(We).bind(gt,ri)},le.prototype.unbind=function(We,gt,ri){var Pt=this.eventElement(We);Pt.unbind(gt,ri),Pt.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(Pt),1)},le.prototype.unbindAll=function(){this.eventElements.forEach(function(We){return We.unbindAll()}),this.eventElements=[]},le.prototype.once=function(We,gt,ri){var Pt=this.eventElement(We),Ft=function(qt){Pt.unbind(gt,Ft),ri(qt)};Pt.bind(gt,Ft)};var h={isWebKit:typeof document<"u"&&"WebkitAppearance"in document.documentElement.style,supportsTouch:typeof window<"u"&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:typeof navigator<"u"&&navigator.msMaxTouchPoints,isChrome:typeof navigator<"u"&&/Chrome/i.test(navigator&&navigator.userAgent)};function x(ot){var We=ot.element,gt=Math.floor(We.scrollTop),ri=We.getBoundingClientRect();ot.containerWidth=Math.round(ri.width),ot.containerHeight=Math.round(ri.height),ot.contentWidth=We.scrollWidth,ot.contentHeight=We.scrollHeight,We.contains(ot.scrollbarXRail)||(W(We,Z_element.rail("x")).forEach(function(Pt){return A(Pt)}),We.appendChild(ot.scrollbarXRail)),We.contains(ot.scrollbarYRail)||(W(We,Z_element.rail("y")).forEach(function(Pt){return A(Pt)}),We.appendChild(ot.scrollbarYRail)),!ot.settings.suppressScrollX&&ot.containerWidth+ot.settings.scrollXMarginOffset<ot.contentWidth?(ot.scrollbarXActive=!0,ot.railXWidth=ot.containerWidth-ot.railXMarginWidth,ot.railXRatio=ot.containerWidth/ot.railXWidth,ot.scrollbarXWidth=I(ot,i(ot.railXWidth*ot.containerWidth/ot.contentWidth)),ot.scrollbarXLeft=i((ot.negativeScrollAdjustment+We.scrollLeft)*(ot.railXWidth-ot.scrollbarXWidth)/(ot.contentWidth-ot.containerWidth))):ot.scrollbarXActive=!1,!ot.settings.suppressScrollY&&ot.containerHeight+ot.settings.scrollYMarginOffset<ot.contentHeight?(ot.scrollbarYActive=!0,ot.railYHeight=ot.containerHeight-ot.railYMarginHeight,ot.railYRatio=ot.containerHeight/ot.railYHeight,ot.scrollbarYHeight=I(ot,i(ot.railYHeight*ot.containerHeight/ot.contentHeight)),ot.scrollbarYTop=i(gt*(ot.railYHeight-ot.scrollbarYHeight)/(ot.contentHeight-ot.containerHeight))):ot.scrollbarYActive=!1,ot.scrollbarXLeft>=ot.railXWidth-ot.scrollbarXWidth&&(ot.scrollbarXLeft=ot.railXWidth-ot.scrollbarXWidth),ot.scrollbarYTop>=ot.railYHeight-ot.scrollbarYHeight&&(ot.scrollbarYTop=ot.railYHeight-ot.scrollbarYHeight),function R(ot,We){var gt={width:We.railXWidth},ri=Math.floor(ot.scrollTop);We.isRtl?gt.left=We.negativeScrollAdjustment+ot.scrollLeft+We.containerWidth-We.contentWidth:gt.left=ot.scrollLeft,We.isScrollbarXUsingBottom?gt.bottom=We.scrollbarXBottom-ri:gt.top=We.scrollbarXTop+ri,D(We.scrollbarXRail,gt);var Pt={top:ri,height:We.railYHeight};We.isScrollbarYUsingRight?We.isRtl?Pt.right=We.contentWidth-(We.negativeScrollAdjustment+ot.scrollLeft)-We.scrollbarYRight-We.scrollbarYOuterWidth-9:Pt.right=We.scrollbarYRight-ot.scrollLeft:We.isRtl?Pt.left=We.negativeScrollAdjustment+ot.scrollLeft+2*We.containerWidth-We.contentWidth-We.scrollbarYLeft-We.scrollbarYOuterWidth:Pt.left=We.scrollbarYLeft+ot.scrollLeft,D(We.scrollbarYRail,Pt),D(We.scrollbarX,{left:We.scrollbarXLeft,width:We.scrollbarXWidth-We.railBorderXWidth}),D(We.scrollbarY,{top:We.scrollbarYTop,height:We.scrollbarYHeight-We.railBorderYWidth})}(We,ot),ot.scrollbarXActive?We.classList.add(Z_state.active("x")):(We.classList.remove(Z_state.active("x")),ot.scrollbarXWidth=0,ot.scrollbarXLeft=0,We.scrollLeft=!0===ot.isRtl?ot.contentWidth:0),ot.scrollbarYActive?We.classList.add(Z_state.active("y")):(We.classList.remove(Z_state.active("y")),ot.scrollbarYHeight=0,ot.scrollbarYTop=0,We.scrollTop=0)}function I(ot,We){return ot.settings.minScrollbarLength&&(We=Math.max(We,ot.settings.minScrollbarLength)),ot.settings.maxScrollbarLength&&(We=Math.min(We,ot.settings.maxScrollbarLength)),We}function w(ot,We){var gt=We[0],ri=We[1],Pt=We[2],Ft=We[3],qt=We[4],Te=We[5],me=We[6],ct=We[7],_t=We[8],Lt=ot.element,Li=null,Ai=null,wi=null;function zi(Fe){Fe.touches&&Fe.touches[0]&&(Fe[Pt]=Fe.touches[0].pageY),Lt[me]=Li+wi*(Fe[Pt]-Ai),$(ot,ct),x(ot),Fe.stopPropagation(),Fe.type.startsWith("touch")&&Fe.changedTouches.length>1&&Fe.preventDefault()}function xt(){ae(ot,ct),ot[_t].classList.remove(Z_state.clicking),ot.event.unbind(ot.ownerDocument,"mousemove",zi)}function Qe(Fe,Wt){Li=Lt[me],Wt&&Fe.touches&&(Fe[Pt]=Fe.touches[0].pageY),Ai=Fe[Pt],wi=(ot[ri]-ot[gt])/(ot[Ft]-ot[Te]),Wt?ot.event.bind(ot.ownerDocument,"touchmove",zi):(ot.event.bind(ot.ownerDocument,"mousemove",zi),ot.event.once(ot.ownerDocument,"mouseup",xt),Fe.preventDefault()),ot[_t].classList.add(Z_state.clicking),Fe.stopPropagation()}ot.event.bind(ot[qt],"mousedown",function(Fe){Qe(Fe)}),ot.event.bind(ot[qt],"touchstart",function(Fe){Qe(Fe,!0)})}var Ce={"click-rail":function g(ot){ot.element,ot.event.bind(ot.scrollbarY,"mousedown",function(gt){return gt.stopPropagation()}),ot.event.bind(ot.scrollbarYRail,"mousedown",function(gt){var Pt=gt.pageY-window.pageYOffset-ot.scrollbarYRail.getBoundingClientRect().top>ot.scrollbarYTop?1:-1;ot.element.scrollTop+=Pt*ot.containerHeight,x(ot),gt.stopPropagation()}),ot.event.bind(ot.scrollbarX,"mousedown",function(gt){return gt.stopPropagation()}),ot.event.bind(ot.scrollbarXRail,"mousedown",function(gt){var Pt=gt.pageX-window.pageXOffset-ot.scrollbarXRail.getBoundingClientRect().left>ot.scrollbarXLeft?1:-1;ot.element.scrollLeft+=Pt*ot.containerWidth,x(ot),gt.stopPropagation()})},"drag-thumb":function r(ot){w(ot,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),w(ot,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function V(ot){var We=ot.element;ot.event.bind(ot.ownerDocument,"keydown",function(Ft){if(!(Ft.isDefaultPrevented&&Ft.isDefaultPrevented()||Ft.defaultPrevented)&&(z(We,":hover")||z(ot.scrollbarX,":focus")||z(ot.scrollbarY,":focus"))){var qt=document.activeElement?document.activeElement:ot.ownerDocument.activeElement;if(qt){if("IFRAME"===qt.tagName)qt=qt.contentDocument.activeElement;else for(;qt.shadowRoot;)qt=qt.shadowRoot.activeElement;if(function o(ot){return z(ot,"input,[contenteditable]")||z(ot,"select,[contenteditable]")||z(ot,"textarea,[contenteditable]")||z(ot,"button,[contenteditable]")}(qt))return}var Te=0,me=0;switch(Ft.which){case 37:Te=Ft.metaKey?-ot.contentWidth:Ft.altKey?-ot.containerWidth:-30;break;case 38:me=Ft.metaKey?ot.contentHeight:Ft.altKey?ot.containerHeight:30;break;case 39:Te=Ft.metaKey?ot.contentWidth:Ft.altKey?ot.containerWidth:30;break;case 40:me=Ft.metaKey?-ot.contentHeight:Ft.altKey?-ot.containerHeight:-30;break;case 32:me=Ft.shiftKey?ot.containerHeight:-ot.containerHeight;break;case 33:me=ot.containerHeight;break;case 34:me=-ot.containerHeight;break;case 36:me=ot.contentHeight;break;case 35:me=-ot.contentHeight;break;default:return}ot.settings.suppressScrollX&&0!==Te||ot.settings.suppressScrollY&&0!==me||(We.scrollTop-=me,We.scrollLeft+=Te,x(ot),function Pt(Ft,qt){var Te=Math.floor(We.scrollTop);if(0===Ft){if(!ot.scrollbarYActive)return!1;if(0===Te&&qt>0||Te>=ot.contentHeight-ot.containerHeight&&qt<0)return!ot.settings.wheelPropagation}var me=We.scrollLeft;if(0===qt){if(!ot.scrollbarXActive)return!1;if(0===me&&Ft<0||me>=ot.contentWidth-ot.containerWidth&&Ft>0)return!ot.settings.wheelPropagation}return!0}(Te,me)&&Ft.preventDefault())}})},wheel:function N(ot){var We=ot.element;function Ft(qt){var Te=function ri(qt){var Te=qt.deltaX,me=-1*qt.deltaY;return(typeof Te>"u"||typeof me>"u")&&(Te=-1*qt.wheelDeltaX/6,me=qt.wheelDeltaY/6),qt.deltaMode&&1===qt.deltaMode&&(Te*=10,me*=10),Te!=Te&&me!=me&&(Te=0,me=qt.wheelDelta),qt.shiftKey?[-me,-Te]:[Te,me]}(qt),me=Te[0],ct=Te[1];if(!function Pt(qt,Te,me){if(!h.isWebKit&&We.querySelector("select:focus"))return!0;if(!We.contains(qt))return!1;for(var ct=qt;ct&&ct!==We;){if(ct.classList.contains(Z_element.consuming))return!0;var _t=L(ct);if(me&&_t.overflowY.match(/(scroll|auto)/)){var Lt=ct.scrollHeight-ct.clientHeight;if(Lt>0&&(ct.scrollTop>0&&me<0||ct.scrollTop<Lt&&me>0))return!0}if(Te&&_t.overflowX.match(/(scroll|auto)/)){var Li=ct.scrollWidth-ct.clientWidth;if(Li>0&&(ct.scrollLeft>0&&Te<0||ct.scrollLeft<Li&&Te>0))return!0}ct=ct.parentNode}return!1}(qt.target,me,ct)){var _t=!1;ot.settings.useBothWheelAxes?ot.scrollbarYActive&&!ot.scrollbarXActive?(ct?We.scrollTop-=ct*ot.settings.wheelSpeed:We.scrollTop+=me*ot.settings.wheelSpeed,_t=!0):ot.scrollbarXActive&&!ot.scrollbarYActive&&(me?We.scrollLeft+=me*ot.settings.wheelSpeed:We.scrollLeft-=ct*ot.settings.wheelSpeed,_t=!0):(We.scrollTop-=ct*ot.settings.wheelSpeed,We.scrollLeft+=me*ot.settings.wheelSpeed),x(ot),_t=_t||function gt(qt,Te){var me=Math.floor(We.scrollTop),ct=0===We.scrollTop,_t=me+We.offsetHeight===We.scrollHeight,Lt=0===We.scrollLeft,Li=We.scrollLeft+We.offsetWidth===We.scrollWidth;return!(Math.abs(Te)>Math.abs(qt)?ct||_t:Lt||Li)||!ot.settings.wheelPropagation}(me,ct),_t&&!qt.ctrlKey&&(qt.stopPropagation(),qt.preventDefault())}}typeof window.onwheel<"u"?ot.event.bind(We,"wheel",Ft):typeof window.onmousewheel<"u"&&ot.event.bind(We,"mousewheel",Ft)},touch:function Y(ot){if(h.supportsTouch||h.supportsIePointer){var We=ot.element,Pt={},Ft=0,qt={},Te=null;h.supportsTouch?(ot.event.bind(We,"touchstart",_t),ot.event.bind(We,"touchmove",Li),ot.event.bind(We,"touchend",Ai)):h.supportsIePointer&&(window.PointerEvent?(ot.event.bind(We,"pointerdown",_t),ot.event.bind(We,"pointermove",Li),ot.event.bind(We,"pointerup",Ai)):window.MSPointerEvent&&(ot.event.bind(We,"MSPointerDown",_t),ot.event.bind(We,"MSPointerMove",Li),ot.event.bind(We,"MSPointerUp",Ai)))}function ri(wi,zi){We.scrollTop-=zi,We.scrollLeft-=wi,x(ot)}function me(wi){return wi.targetTouches?wi.targetTouches[0]:wi}function ct(wi){return(!wi.pointerType||"pen"!==wi.pointerType||0!==wi.buttons)&&!!(wi.targetTouches&&1===wi.targetTouches.length||wi.pointerType&&"mouse"!==wi.pointerType&&wi.pointerType!==wi.MSPOINTER_TYPE_MOUSE)}function _t(wi){if(ct(wi)){var zi=me(wi);Pt.pageX=zi.pageX,Pt.pageY=zi.pageY,Ft=(new Date).getTime(),null!==Te&&clearInterval(Te)}}function Li(wi){if(ct(wi)){var zi=me(wi),xt={pageX:zi.pageX,pageY:zi.pageY},Qe=xt.pageX-Pt.pageX,Fe=xt.pageY-Pt.pageY;if(function Lt(wi,zi,xt){if(!We.contains(wi))return!1;for(var Qe=wi;Qe&&Qe!==We;){if(Qe.classList.contains(Z_element.consuming))return!0;var Fe=L(Qe);if(xt&&Fe.overflowY.match(/(scroll|auto)/)){var Wt=Qe.scrollHeight-Qe.clientHeight;if(Wt>0&&(Qe.scrollTop>0&&xt<0||Qe.scrollTop<Wt&&xt>0))return!0}if(zi&&Fe.overflowX.match(/(scroll|auto)/)){var Xt=Qe.scrollWidth-Qe.clientWidth;if(Xt>0&&(Qe.scrollLeft>0&&zi<0||Qe.scrollLeft<Xt&&zi>0))return!0}Qe=Qe.parentNode}return!1}(wi.target,Qe,Fe))return;ri(Qe,Fe),Pt=xt;var Wt=(new Date).getTime(),Xt=Wt-Ft;Xt>0&&(qt.x=Qe/Xt,qt.y=Fe/Xt,Ft=Wt),function gt(wi,zi){var xt=Math.floor(We.scrollTop),Qe=We.scrollLeft,Fe=Math.abs(wi),Wt=Math.abs(zi);if(Wt>Fe){if(zi<0&&xt===ot.contentHeight-ot.containerHeight||zi>0&&0===xt)return 0===window.scrollY&&zi>0&&h.isChrome}else if(Fe>Wt&&(wi<0&&Qe===ot.contentWidth-ot.containerWidth||wi>0&&0===Qe))return!0;return!0}(Qe,Fe)&&wi.preventDefault()}}function Ai(){ot.settings.swipeEasing&&(clearInterval(Te),Te=setInterval(function(){ot.isInitialized?clearInterval(Te):qt.x||qt.y?Math.abs(qt.x)<.01&&Math.abs(qt.y)<.01?clearInterval(Te):ot.element?(ri(30*qt.x,30*qt.y),qt.x*=.8,qt.y*=.8):clearInterval(Te):clearInterval(Te)},10))}}},Xe=function(We,gt){var ri=this;if(void 0===gt&&(gt={}),"string"==typeof We&&(We=document.querySelector(We)),!We||!We.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var Pt in this.element=We,We.classList.add(Z_main),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},gt)this.settings[Pt]=gt[Pt];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var _t,ct,Ft=function(){return We.classList.add(Z_state.focus)},qt=function(){return We.classList.remove(Z_state.focus)};this.isRtl="rtl"===L(We).direction,!0===this.isRtl&&We.classList.add(Z_rtl),this.isNegativeScroll=(ct=We.scrollLeft,We.scrollLeft=-1,_t=We.scrollLeft<0,We.scrollLeft=ct,_t),this.negativeScrollAdjustment=this.isNegativeScroll?We.scrollWidth-We.clientWidth:0,this.event=new le,this.ownerDocument=We.ownerDocument||document,this.scrollbarXRail=k(Z_element.rail("x")),We.appendChild(this.scrollbarXRail),this.scrollbarX=k(Z_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",qt),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var Te=L(this.scrollbarXRail);this.scrollbarXBottom=parseInt(Te.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=i(Te.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=i(Te.borderLeftWidth)+i(Te.borderRightWidth),D(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=i(Te.marginLeft)+i(Te.marginRight),D(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=k(Z_element.rail("y")),We.appendChild(this.scrollbarYRail),this.scrollbarY=k(Z_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",qt),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var me=L(this.scrollbarYRail);this.scrollbarYRight=parseInt(me.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=i(me.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function m(ot){var We=L(ot);return i(We.width)+i(We.paddingLeft)+i(We.paddingRight)+i(We.borderLeftWidth)+i(We.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=i(me.borderTopWidth)+i(me.borderBottomWidth),D(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=i(me.marginTop)+i(me.marginBottom),D(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:We.scrollLeft<=0?"start":We.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:We.scrollTop<=0?"start":We.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(ct){return Ce[ct](ri)}),this.lastScrollTop=Math.floor(We.scrollTop),this.lastScrollLeft=We.scrollLeft,this.event.bind(this.element,"scroll",function(ct){return ri.onScroll(ct)}),x(this)};Xe.prototype.update=function(){!this.isAlive||(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,D(this.scrollbarXRail,{display:"block"}),D(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=i(L(this.scrollbarXRail).marginLeft)+i(L(this.scrollbarXRail).marginRight),this.railYMarginHeight=i(L(this.scrollbarYRail).marginTop)+i(L(this.scrollbarYRail).marginBottom),D(this.scrollbarXRail,{display:"none"}),D(this.scrollbarYRail,{display:"none"}),x(this),fe(this,"top",0,!1,!0),fe(this,"left",0,!1,!0),D(this.scrollbarXRail,{display:""}),D(this.scrollbarYRail,{display:""}))},Xe.prototype.onScroll=function(We){!this.isAlive||(x(this),fe(this,"top",this.element.scrollTop-this.lastScrollTop),fe(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},Xe.prototype.destroy=function(){!this.isAlive||(this.event.unbindAll(),A(this.scrollbarX),A(this.scrollbarY),A(this.scrollbarXRail),A(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},Xe.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(We){return!We.match(/^ps([-_].+|)$/)}).join(" ")};const dt=Xe;var Ke=function(){if(typeof Map<"u")return Map;function ot(We,gt){var ri=-1;return We.some(function(Pt,Ft){return Pt[0]===gt&&(ri=Ft,!0)}),ri}return function(){function We(){this.__entries__=[]}return Object.defineProperty(We.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),We.prototype.get=function(gt){var ri=ot(this.__entries__,gt),Pt=this.__entries__[ri];return Pt&&Pt[1]},We.prototype.set=function(gt,ri){var Pt=ot(this.__entries__,gt);~Pt?this.__entries__[Pt][1]=ri:this.__entries__.push([gt,ri])},We.prototype.delete=function(gt){var ri=this.__entries__,Pt=ot(ri,gt);~Pt&&ri.splice(Pt,1)},We.prototype.has=function(gt){return!!~ot(this.__entries__,gt)},We.prototype.clear=function(){this.__entries__.splice(0)},We.prototype.forEach=function(gt,ri){void 0===ri&&(ri=null);for(var Pt=0,Ft=this.__entries__;Pt<Ft.length;Pt++){var qt=Ft[Pt];gt.call(ri,qt[1],qt[0])}},We}()}(),ge=typeof window<"u"&&typeof document<"u"&&window.document===document,$e=typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")(),Oe="function"==typeof requestAnimationFrame?requestAnimationFrame.bind($e):function(ot){return setTimeout(function(){return ot(Date.now())},1e3/60)};var ye=["top","right","bottom","left","width","height","size","weight"],we=typeof MutationObserver<"u",ie=function(){function ot(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function De(ot,We){var gt=!1,ri=!1,Pt=0;function Ft(){gt&&(gt=!1,ot()),ri&&Te()}function qt(){Oe(Ft)}function Te(){var me=Date.now();if(gt){if(me-Pt<2)return;ri=!0}else gt=!0,ri=!1,setTimeout(qt,We);Pt=me}return Te}(this.refresh.bind(this),20)}return ot.prototype.addObserver=function(We){~this.observers_.indexOf(We)||this.observers_.push(We),this.connected_||this.connect_()},ot.prototype.removeObserver=function(We){var gt=this.observers_,ri=gt.indexOf(We);~ri&&gt.splice(ri,1),!gt.length&&this.connected_&&this.disconnect_()},ot.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},ot.prototype.updateObservers_=function(){var We=this.observers_.filter(function(gt){return gt.gatherActive(),gt.hasActive()});return We.forEach(function(gt){return gt.broadcastActive()}),We.length>0},ot.prototype.connect_=function(){!ge||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),we?(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)},ot.prototype.disconnect_=function(){!ge||!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)},ot.prototype.onTransitionEnd_=function(We){var gt=We.propertyName,ri=void 0===gt?"":gt;ye.some(function(Ft){return!!~ri.indexOf(Ft)})&&this.refresh()},ot.getInstance=function(){return this.instance_||(this.instance_=new ot),this.instance_},ot.instance_=null,ot}(),Se=function(ot,We){for(var gt=0,ri=Object.keys(We);gt<ri.length;gt++){var Pt=ri[gt];Object.defineProperty(ot,Pt,{value:We[Pt],enumerable:!1,writable:!1,configurable:!0})}return ot},ne=function(ot){return ot&&ot.ownerDocument&&ot.ownerDocument.defaultView||$e},K=st(0,0,0,0);function ee(ot){return parseFloat(ot)||0}function ze(ot){for(var We=[],gt=1;gt<arguments.length;gt++)We[gt-1]=arguments[gt];return We.reduce(function(ri,Pt){return ri+ee(ot["border-"+Pt+"-width"])},0)}function at(ot){var We=ot.clientWidth,gt=ot.clientHeight;if(!We&&!gt)return K;var ri=ne(ot).getComputedStyle(ot),Pt=function Ve(ot){for(var gt={},ri=0,Pt=["top","right","bottom","left"];ri<Pt.length;ri++){var Ft=Pt[ri],qt=ot["padding-"+Ft];gt[Ft]=ee(qt)}return gt}(ri),Ft=Pt.left+Pt.right,qt=Pt.top+Pt.bottom,Te=ee(ri.width),me=ee(ri.height);if("border-box"===ri.boxSizing&&(Math.round(Te+Ft)!==We&&(Te-=ze(ri,"left","right")+Ft),Math.round(me+qt)!==gt&&(me-=ze(ri,"top","bottom")+qt)),!function it(ot){return ot===ne(ot).document.documentElement}(ot)){var ct=Math.round(Te+Ft)-We,_t=Math.round(me+qt)-gt;1!==Math.abs(ct)&&(Te-=ct),1!==Math.abs(_t)&&(me-=_t)}return st(Pt.left,Pt.top,Te,me)}var qe=typeof SVGGraphicsElement<"u"?function(ot){return ot instanceof ne(ot).SVGGraphicsElement}:function(ot){return ot instanceof ne(ot).SVGElement&&"function"==typeof ot.getBBox};function ii(ot){return ge?qe(ot)?function oe(ot){var We=ot.getBBox();return st(0,0,We.width,We.height)}(ot):at(ot):K}function st(ot,We,gt,ri){return{x:ot,y:We,width:gt,height:ri}}var Be=function(){function ot(We){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=st(0,0,0,0),this.target=We}return ot.prototype.isActive=function(){var We=ii(this.target);return this.contentRect_=We,We.width!==this.broadcastWidth||We.height!==this.broadcastHeight},ot.prototype.broadcastRect=function(){var We=this.contentRect_;return this.broadcastWidth=We.width,this.broadcastHeight=We.height,We},ot}(),rt=function ot(We,gt){var ri=function bt(ot){var We=ot.x,gt=ot.y,ri=ot.width,Pt=ot.height,Ft=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,qt=Object.create(Ft.prototype);return Se(qt,{x:We,y:gt,width:ri,height:Pt,top:gt,right:We+ri,bottom:Pt+gt,left:We}),qt}(gt);Se(this,{target:We,contentRect:ri})},Ot=function(){function ot(We,gt,ri){if(this.activeObservations_=[],this.observations_=new Ke,"function"!=typeof We)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=We,this.controller_=gt,this.callbackCtx_=ri}return ot.prototype.observe=function(We){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(We instanceof ne(We).Element))throw new TypeError('parameter 1 is not of type "Element".');var gt=this.observations_;gt.has(We)||(gt.set(We,new Be(We)),this.controller_.addObserver(this),this.controller_.refresh())}},ot.prototype.unobserve=function(We){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(We instanceof ne(We).Element))throw new TypeError('parameter 1 is not of type "Element".');var gt=this.observations_;!gt.has(We)||(gt.delete(We),gt.size||this.controller_.removeObserver(this))}},ot.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},ot.prototype.gatherActive=function(){var We=this;this.clearActive(),this.observations_.forEach(function(gt){gt.isActive()&&We.activeObservations_.push(gt)})},ot.prototype.broadcastActive=function(){if(this.hasActive()){var We=this.callbackCtx_,gt=this.activeObservations_.map(function(ri){return new rt(ri.target,ri.broadcastRect())});this.callback_.call(We,gt,We),this.clearActive()}},ot.prototype.clearActive=function(){this.activeObservations_.splice(0)},ot.prototype.hasActive=function(){return this.activeObservations_.length>0},ot}(),Gt=typeof WeakMap<"u"?new WeakMap:new Ke,kt=function ot(We){if(!(this instanceof ot))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var gt=ie.getInstance(),ri=new Ot(We,gt,this);Gt.set(this,ri)};["observe","unobserve","disconnect"].forEach(function(ot){kt.prototype[ot]=function(){var We;return(We=Gt.get(this))[ot].apply(We,arguments)}});const yi=typeof $e.ResizeObserver<"u"?$e.ResizeObserver:kt;function Jt(ot,We){if(1&ot&&(P.TgZ(0,"div",3),P._UZ(1,"div",4)(2,"div",5)(3,"div",6)(4,"div",7),P.qZA()),2&ot){const gt=P.oxw();P.ekj("ps-at-top",gt.states.top)("ps-at-left",gt.states.left)("ps-at-right",gt.states.right)("ps-at-bottom",gt.states.bottom),P.xp6(1),P.ekj("ps-indicator-show",gt.indicatorY&&gt.interaction),P.xp6(1),P.ekj("ps-indicator-show",gt.indicatorX&&gt.interaction),P.xp6(1),P.ekj("ps-indicator-show",gt.indicatorX&&gt.interaction),P.xp6(1),P.ekj("ps-indicator-show",gt.indicatorY&&gt.interaction)}}const mi=new P.OlP("PERFECT_SCROLLBAR_CONFIG");class Re{constructor(We,gt,ri,Pt){this.x=We,this.y=gt,this.w=ri,this.h=Pt}}class U{constructor(We,gt){this.x=We,this.y=gt}}const j=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"];class ue{constructor(We={}){this.assign(We)}assign(We={}){for(const gt in We)this[gt]=We[gt]}}class Ne{constructor(We,gt,ri,Pt,Ft){this.zone=We,this.differs=gt,this.elementRef=ri,this.platformId=Pt,this.defaults=Ft,this.instance=null,this.ro=null,this.timeout=null,this.animation=null,this.configDiff=null,this.ngDestroy=new e.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,p.NF)(this.platformId)){const We=new ue(this.defaults);We.assign(this.config),this.zone.runOutsideAngular(()=>{this.instance=new dt(this.elementRef.nativeElement,We)}),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{})),this.zone.runOutsideAngular(()=>{this.ro=new yi(()=>{this.update()}),this.elementRef.nativeElement.children[0]&&this.ro.observe(this.elementRef.nativeElement.children[0]),this.ro.observe(this.elementRef.nativeElement)}),this.zone.runOutsideAngular(()=>{j.forEach(gt=>{const ri=gt.replace(/([A-Z])/g,Pt=>`-${Pt.toLowerCase()}`);(0,t.R)(this.elementRef.nativeElement,ri).pipe((0,O.e)(20),(0,l.R)(this.ngDestroy)).subscribe(Pt=>{this[gt].emit(Pt)})})})}}ngOnDestroy(){(0,p.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,p.NF)(this.platformId)&&this.configDiff.diff(this.config||{})&&(this.ngOnDestroy(),this.ngOnInit())}ngOnChanges(We){We.disabled&&!We.disabled.isFirstChange()&&(0,p.NF)(this.platformId)&&We.disabled.currentValue!==We.disabled.previousValue&&(!0===We.disabled.currentValue?this.ngOnDestroy():!1===We.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(We="scroll"){return new Re(this.elementRef.nativeElement[We+"Left"],this.elementRef.nativeElement[We+"Top"],this.elementRef.nativeElement[We+"Width"],this.elementRef.nativeElement[We+"Height"])}position(We=!1){return!We&&this.instance?new U(this.instance.reach.x||0,this.instance.reach.y||0):new U(this.elementRef.nativeElement.scrollLeft,this.elementRef.nativeElement.scrollTop)}scrollable(We="any"){const gt=this.elementRef.nativeElement;return"any"===We?gt.classList.contains("ps--active-x")||gt.classList.contains("ps--active-y"):"both"===We?gt.classList.contains("ps--active-x")&&gt.classList.contains("ps--active-y"):gt.classList.contains("ps--active-"+We)}scrollTo(We,gt,ri){this.disabled||(null==gt&&null==ri?this.animateScrolling("scrollTop",We,ri):(null!=We&&this.animateScrolling("scrollLeft",We,ri),null!=gt&&this.animateScrolling("scrollTop",gt,ri)))}scrollToX(We,gt){this.animateScrolling("scrollLeft",We,gt)}scrollToY(We,gt){this.animateScrolling("scrollTop",We,gt)}scrollToTop(We,gt){this.animateScrolling("scrollTop",We||0,gt)}scrollToLeft(We,gt){this.animateScrolling("scrollLeft",We||0,gt)}scrollToRight(We,gt){const ri=this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth;this.animateScrolling("scrollLeft",ri-(We||0),gt)}scrollToBottom(We,gt){const ri=this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight;this.animateScrolling("scrollTop",ri-(We||0),gt)}scrollToElement(We,gt,ri){if("string"==typeof We&&(We=this.elementRef.nativeElement.querySelector(We)),We){const Pt=We.getBoundingClientRect(),Ft=this.elementRef.nativeElement.getBoundingClientRect();if(this.elementRef.nativeElement.classList.contains("ps--active-x")){const qt=this.elementRef.nativeElement.scrollLeft,Te=Pt.left-Ft.left+qt;this.animateScrolling("scrollLeft",Te+(gt||0),ri)}if(this.elementRef.nativeElement.classList.contains("ps--active-y")){const qt=this.elementRef.nativeElement.scrollTop,Te=Pt.top-Ft.top+qt;this.animateScrolling("scrollTop",Te+(gt||0),ri)}}}animateScrolling(We,gt,ri){if(this.animation&&(window.cancelAnimationFrame(this.animation),this.animation=null),!ri||typeof window>"u")this.elementRef.nativeElement[We]=gt;else if(gt!==this.elementRef.nativeElement[We]){let Pt=0,Ft=0,qt=performance.now(),Te=this.elementRef.nativeElement[We];const me=(Te-gt)/2,ct=_t=>{Ft+=Math.PI/(ri/(_t-qt)),Pt=Math.round(gt+me+me*Math.cos(Ft)),this.elementRef.nativeElement[We]===Te&&(Ft>=Math.PI?this.animateScrolling(We,gt,0):(this.elementRef.nativeElement[We]=Pt,Te=this.elementRef.nativeElement[We],qt=_t,this.animation=window.requestAnimationFrame(ct)))};window.requestAnimationFrame(ct)}}}Ne.\u0275fac=function(We){return new(We||Ne)(P.Y36(P.R0b),P.Y36(P.aQg),P.Y36(P.SBq),P.Y36(P.Lbi),P.Y36(mi,8))},Ne.\u0275dir=P.lG2({type:Ne,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]});class wt{constructor(We,gt,ri){this.zone=We,this.cdRef=gt,this.platformId=ri,this.states={},this.indicatorX=!1,this.indicatorY=!1,this.interaction=!1,this.scrollPositionX=0,this.scrollPositionY=0,this.scrollDirectionX=0,this.scrollDirectionY=0,this.usePropagationX=!1,this.usePropagationY=!1,this.allowPropagationX=!1,this.allowPropagationY=!1,this.stateTimeout=null,this.ngDestroy=new e.x,this.stateUpdate=new e.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,p.NF)(this.platformId)&&(this.stateUpdate.pipe((0,l.R)(this.ngDestroy),(0,C.x)((We,gt)=>We===gt&&!this.stateTimeout)).subscribe(We=>{this.stateTimeout&&typeof window<"u"&&(window.clearTimeout(this.stateTimeout),this.stateTimeout=null),"x"===We||"y"===We?(this.interaction=!1,"x"===We?(this.indicatorX=!1,this.states.left=!1,this.states.right=!1,this.autoPropagation&&this.usePropagationX&&(this.allowPropagationX=!1)):"y"===We&&(this.indicatorY=!1,this.states.top=!1,this.states.bottom=!1,this.autoPropagation&&this.usePropagationY&&(this.allowPropagationY=!1))):("left"===We||"right"===We?(this.states.left=!1,this.states.right=!1,this.states[We]=!0,this.autoPropagation&&this.usePropagationX&&(this.indicatorX=!0)):("top"===We||"bottom"===We)&&(this.states.top=!1,this.states.bottom=!1,this.states[We]=!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 We=this.directiveRef.elementRef.nativeElement;(0,t.R)(We,"wheel").pipe((0,l.R)(this.ngDestroy)).subscribe(gt=>{if(!this.disabled&&this.autoPropagation){const ri=gt.deltaX,Pt=gt.deltaY;this.checkPropagation(gt,ri,Pt)}}),(0,t.R)(We,"touchmove").pipe((0,l.R)(this.ngDestroy)).subscribe(gt=>{if(!this.disabled&&this.autoPropagation){const ri=gt.touches[0].clientX,Pt=gt.touches[0].clientY,Ft=ri-this.scrollPositionX,qt=Pt-this.scrollPositionY;this.checkPropagation(gt,Ft,qt),this.scrollPositionX=ri,this.scrollPositionY=Pt}}),(0,_.T)((0,t.R)(We,"ps-scroll-x").pipe((0,u.h)("x")),(0,t.R)(We,"ps-scroll-y").pipe((0,u.h)("y")),(0,t.R)(We,"ps-x-reach-end").pipe((0,u.h)("right")),(0,t.R)(We,"ps-y-reach-end").pipe((0,u.h)("bottom")),(0,t.R)(We,"ps-x-reach-start").pipe((0,u.h)("left")),(0,t.R)(We,"ps-y-reach-start").pipe((0,u.h)("top"))).pipe((0,l.R)(this.ngDestroy)).subscribe(gt=>{!this.disabled&&(this.autoPropagation||this.scrollIndicators)&&this.stateUpdate.next(gt)})}}),window.setTimeout(()=>{j.forEach(We=>{this.directiveRef&&(this.directiveRef[We]=this[We])})},0))}ngOnDestroy(){(0,p.NF)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.unsubscribe(),this.stateTimeout&&typeof window<"u"&&window.clearTimeout(this.stateTimeout))}ngDoCheck(){if((0,p.NF)(this.platformId)&&!this.disabled&&this.autoPropagation&&this.directiveRef){const We=this.directiveRef.elementRef.nativeElement;this.usePropagationX=We.classList.contains("ps--active-x"),this.usePropagationY=We.classList.contains("ps--active-y")}}checkPropagation(We,gt,ri){this.interaction=!0;const Pt=gt<0?-1:1,Ft=ri<0?-1:1;(this.usePropagationX&&this.usePropagationY||this.usePropagationX&&(!this.allowPropagationX||this.scrollDirectionX!==Pt)||this.usePropagationY&&(!this.allowPropagationY||this.scrollDirectionY!==Ft))&&(We.preventDefault(),We.stopPropagation()),gt&&(this.scrollDirectionX=Pt),ri&&(this.scrollDirectionY=Ft),this.stateUpdate.next("interaction"),this.cdRef.detectChanges()}}wt.\u0275fac=function(We){return new(We||wt)(P.Y36(P.R0b),P.Y36(P.sBO),P.Y36(P.Lbi))},wt.\u0275cmp=P.Xpm({type:wt,selectors:[["perfect-scrollbar"]],viewQuery:function(We,gt){if(1&We&&P.Gf(Ne,7),2&We){let ri;P.iGM(ri=P.CRH())&&(gt.directiveRef=ri.first)}},hostVars:4,hostBindings:function(We,gt){2&We&&P.ekj("ps-show-limits",gt.autoPropagation)("ps-show-active",gt.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:["*"],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(We,gt){1&We&&(P.F$t(),P.TgZ(0,"div",0)(1,"div",1),P.Hsn(2),P.qZA(),P.YNc(3,Jt,5,16,"div",2),P.qZA()),2&We&&(P.ekj("ps",gt.usePSClass),P.Q6J("perfectScrollbar",gt.config)("disabled",gt.disabled),P.xp6(3),P.Q6J("ngIf",gt.scrollIndicators))},dependencies:[Ne,p.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});class Et{constructor(We,gt){this.renderer=We,["ps__child","ps__child--consume"].forEach(ri=>{this.renderer.addClass(gt?.nativeElement,ri)})}}Et.\u0275fac=function(We){return new(We||Et)(P.Y36(P.Qsj),P.Y36(P.SBq))},Et.\u0275dir=P.lG2({type:Et,selectors:[["","forceNativeScrolling",""]]});class Nt{}Nt.\u0275fac=function(We){return new(We||Nt)},Nt.\u0275mod=P.oAB({type:Nt}),Nt.\u0275inj=P.cJS({imports:[[p.ez],p.ez]})},4946:Ye=>{"use strict";Ye.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:Ye=>{"use strict";Ye.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"}}')},7036:Ye=>{"use strict";Ye.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:Ye=>{"use strict";Ye.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:Ye=>{"use strict";Ye.exports={i8:"6.5.4"}},2562:Ye=>{"use strict";Ye.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"}')}},Ye=>{var e;e=2693,Ye(Ye.s=e)}]);
//# sourceMappingURL=main.0d1cda8b92ae97ac.js.map