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.03ee3805b2a54702.js

1 line
3.1 MiB

(self.webpackChunkRTLApp=self.webpackChunkRTLApp||[]).push([[179],{234:(He,X,p)=>{"use strict";p.d(X,{$A:()=>v,$W:()=>G,BL:()=>w,CX:()=>E,EK:()=>ae,El:()=>W,HI:()=>re,HJ:()=>x,Hc:()=>y,I8:()=>I,JK:()=>wt,Mf:()=>l,Nr:()=>De,OG:()=>D,QJ:()=>N,Rd:()=>st,Sf:()=>P,TM:()=>$,UR:()=>n,VD:()=>qe,W:()=>d,WM:()=>te,WO:()=>he,Wi:()=>fe,X3:()=>q,YP:()=>je,YX:()=>h,Z8:()=>j,ZH:()=>Ge,Zu:()=>ve,_9:()=>ze,_E:()=>k,aL:()=>$e,as:()=>s,cQ:()=>ue,d7:()=>kt,dh:()=>ce,e9:()=>Ae,eF:()=>O,eM:()=>ge,en:()=>nt,g6:()=>ye,i9:()=>Ze,kL:()=>S,lv:()=>Ce,mI:()=>A,n7:()=>r,nE:()=>le,oV:()=>xe,pW:()=>f,pd:()=>m,u0:()=>H,uT:()=>mt,v_:()=>g,wD:()=>M,yl:()=>oe,z:()=>ie});var e=p(4221),t=p(2154);const y=(0,e.PH)(t.AB.UPDATE_API_CALL_STATUS_CLN,(0,e.Ky)()),A=(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)()),M=(0,e.PH)(t.AB.FETCH_PAGE_SETTINGS_CLN),m=(0,e.PH)(t.AB.SET_PAGE_SETTINGS_CLN,(0,e.Ky)()),O=(0,e.PH)(t.AB.SAVE_PAGE_SETTINGS_CLN,(0,e.Ky)()),d=(0,e.PH)(t.AB.FETCH_INFO_CLN,(0,e.Ky)()),E=(0,e.PH)(t.AB.SET_INFO_CLN,(0,e.Ky)()),x=(0,e.PH)(t.AB.FETCH_FEE_RATES_CLN,(0,e.Ky)()),I=(0,e.PH)(t.AB.SET_FEE_RATES_CLN,(0,e.Ky)()),k=(0,e.PH)(t.AB.GET_NEW_ADDRESS_CLN,(0,e.Ky)()),G=((0,e.PH)(t.AB.SET_NEW_ADDRESS_CLN,(0,e.Ky)()),(0,e.PH)(t.AB.FETCH_PEERS_CLN)),j=(0,e.PH)(t.AB.SET_PEERS_CLN,(0,e.Ky)()),W=(0,e.PH)(t.AB.SAVE_NEW_PEER_CLN,(0,e.Ky)()),q=((0,e.PH)(t.AB.NEWLY_ADDED_PEER_CLN,(0,e.Ky)()),(0,e.PH)(t.AB.ADD_PEER_CLN,(0,e.Ky)())),ie=(0,e.PH)(t.AB.DETACH_PEER_CLN,(0,e.Ky)()),ae=(0,e.PH)(t.AB.REMOVE_PEER_CLN,(0,e.Ky)()),ue=(0,e.PH)(t.AB.FETCH_PAYMENTS_CLN),re=(0,e.PH)(t.AB.SET_PAYMENTS_CLN,(0,e.Ky)()),xe=(0,e.PH)(t.AB.SEND_PAYMENT_CLN,(0,e.Ky)()),$=(0,e.PH)(t.AB.SEND_PAYMENT_STATUS_CLN,(0,e.Ky)()),he=(0,e.PH)(t.AB.GET_QUERY_ROUTES_CLN,(0,e.Ky)()),S=(0,e.PH)(t.AB.SET_QUERY_ROUTES_CLN,(0,e.Ky)()),n=(0,e.PH)(t.AB.FETCH_CHANNELS_CLN),s=(0,e.PH)(t.AB.SET_CHANNELS_CLN,(0,e.Ky)()),f=(0,e.PH)(t.AB.UPDATE_CHANNEL_CLN,(0,e.Ky)()),h=(0,e.PH)(t.AB.SAVE_NEW_CHANNEL_CLN,(0,e.Ky)()),w=(0,e.PH)(t.AB.CLOSE_CHANNEL_CLN,(0,e.Ky)()),D=(0,e.PH)(t.AB.REMOVE_CHANNEL_CLN,(0,e.Ky)()),P=(0,e.PH)(t.AB.PEER_LOOKUP_CLN,(0,e.Ky)()),v=(0,e.PH)(t.AB.CHANNEL_LOOKUP_CLN,(0,e.Ky)()),r=(0,e.PH)(t.AB.INVOICE_LOOKUP_CLN,(0,e.Ky)()),g=(0,e.PH)(t.AB.SET_LOOKUP_CLN,(0,e.Ky)()),H=(0,e.PH)(t.AB.GET_FORWARDING_HISTORY_CLN,(0,e.Ky)()),N=(0,e.PH)(t.AB.SET_FORWARDING_HISTORY_CLN,(0,e.Ky)()),te=(0,e.PH)(t.AB.FETCH_INVOICES_CLN),De=(0,e.PH)(t.AB.SET_INVOICES_CLN,(0,e.Ky)()),st=(0,e.PH)(t.AB.SAVE_NEW_INVOICE_CLN,(0,e.Ky)()),je=(0,e.PH)(t.AB.ADD_INVOICE_CLN,(0,e.Ky)()),$e=(0,e.PH)(t.AB.UPDATE_INVOICE_CLN,(0,e.Ky)()),ye=(0,e.PH)(t.AB.DELETE_EXPIRED_INVOICE_CLN,(0,e.Ky)()),fe=(0,e.PH)(t.AB.SET_CHANNEL_TRANSACTION_CLN,(0,e.Ky)()),Ce=((0,e.PH)(t.AB.SET_CHANNEL_TRANSACTION_RES_CLN,(0,e.Ky)()),(0,e.PH)(t.AB.FETCH_UTXO_BALANCES_CLN)),le=(0,e.PH)(t.AB.SET_UTXO_BALANCES_CLN,(0,e.Ky)()),ge=(0,e.PH)(t.AB.FETCH_OFFER_INVOICE_CLN,(0,e.Ky)()),qe=(0,e.PH)(t.AB.SET_OFFER_INVOICE_CLN,(0,e.Ky)()),oe=(0,e.PH)(t.AB.FETCH_OFFERS_CLN),ve=(0,e.PH)(t.AB.SET_OFFERS_CLN,(0,e.Ky)()),ce=(0,e.PH)(t.AB.SAVE_NEW_OFFER_CLN,(0,e.Ky)()),Ge=(0,e.PH)(t.AB.ADD_OFFER_CLN,(0,e.Ky)()),Ze=(0,e.PH)(t.AB.DISABLE_OFFER_CLN,(0,e.Ky)()),wt=(0,e.PH)(t.AB.UPDATE_OFFER_CLN,(0,e.Ky)()),mt=(0,e.PH)(t.AB.FETCH_OFFER_BOOKMARKS_CLN),kt=(0,e.PH)(t.AB.SET_OFFER_BOOKMARKS_CLN,(0,e.Ky)()),Ae=(0,e.PH)(t.AB.ADD_UPDATE_OFFER_BOOKMARK_CLN,(0,e.Ky)()),ze=(0,e.PH)(t.AB.DELETE_OFFER_BOOKMARK_CLN,(0,e.Ky)()),nt=(0,e.PH)(t.AB.REMOVE_OFFER_BOOKMARK_CLN,(0,e.Ky)())},9125:(He,X,p)=>{"use strict";p.d(X,{J:()=>xe});var e=p(5154),t=p(8645),y=p(2096),A=p(1631),l=p(9773),M=p(7398),m=p(6306),O=p(3315),d=p(6820),E=p(2154),x=p(9103),I=p(234),k=p(3468),V=p(5440),G=p(9212),j=p(9862),W=p(4221),K=p(5813),q=p(6339),ie=p(5980),ae=p(4190),ue=p(2285),re=p(6814);let xe=(()=>{class ${constructor(S,n,s,f,h,w,D,P,v){this.actions=S,this.httpClient=n,this.store=s,this.sessionService=f,this.commonService=h,this.logger=w,this.router=D,this.wsService=P,this.location=v,this.CHILD_API_URL=E.T5+"/cln",this.CLN_VERISON="",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)(E.AB.FETCH_INFO_CLN),(0,A.z)(r=>(this.flgInitialized=!1,this.store.dispatch((0,x.lC)({payload:this.CHILD_API_URL})),this.store.dispatch((0,I.Hc)({payload:{action:"FetchInfo",status:E.Bn.INITIATED}})),this.store.dispatch((0,x.ac)({payload:E.m6.GET_NODE_INFO})),this.httpClient.get(this.CHILD_API_URL+E.vv.GETINFO_API).pipe((0,l.R)(this.actions.pipe((0,e.l4)(E.pg.SET_SELECTED_NODE))),(0,M.U)(g=>(this.logger.info(g),this.CLN_VERISON=g.version||"",g.chains&&g.chains.length&&g.chains[0]&&"object"==typeof g.chains[0]&&g.chains[0].hasOwnProperty("chain")&&g?.chains[0].chain&&g?.chains[0].chain.toLowerCase().indexOf("bitcoin")<0&&g?.chains[0].chain.toLowerCase().indexOf("liquid")<0?(this.store.dispatch((0,I.Hc)({payload:{action:"FetchInfo",status:E.Bn.COMPLETED}})),this.store.dispatch((0,x.uO)({payload:E.m6.GET_NODE_INFO})),this.store.dispatch((0,x.ts)()),setTimeout(()=>{this.store.dispatch((0,x.qR)({payload:{data:{type:E.n_.ERROR,alertTitle:"Shitcoin Found",titleMessage:"Sorry Not Sorry, RTL is Bitcoin Only!"}}}))},500),{type:E.pg.LOGOUT}):(this.initializeRemainingData(g,r.payload.loadPage),this.store.dispatch((0,I.Hc)({payload:{action:"FetchInfo",status:E.Bn.COMPLETED}})),this.store.dispatch((0,x.uO)({payload:E.m6.GET_NODE_INFO})),{type:E.AB.SET_INFO_CLN,payload:g||{}}))),(0,m.K)(g=>{const H=this.commonService.extractErrorCode(g),N="ETIMEDOUT"===H?"Unable to Connect to Core Lightning Server.":this.commonService.extractErrorMessage(g);return this.router.navigate(["/error"],{state:{errorCode:H,errorMessage:N}}),this.handleErrorWithoutAlert("FetchInfo",E.m6.GET_NODE_INFO,"Fetching Node Info Failed.",{status:H,error:N}),(0,y.of)({type:E.pg.VOID})})))))),this.fetchFeeRatesCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.FETCH_FEE_RATES_CLN),(0,A.z)(r=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchFeeRates"+r.payload,status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.NETWORK_API+"/feeRates",{style:r.payload}).pipe((0,M.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"FetchFeeRates"+r.payload,status:E.Bn.COMPLETED}})),{type:E.AB.SET_FEE_RATES_CLN,payload:g||{}})),(0,m.K)(g=>(this.handleErrorWithoutAlert("FetchFeeRates"+r.payload,E.m6.NO_SPINNER,"Fetching Fee Rates Failed.",g),(0,y.of)({type:E.pg.VOID})))))))),this.getNewAddressCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.GET_NEW_ADDRESS_CLN),(0,A.z)(r=>(this.store.dispatch((0,x.ac)({payload:E.m6.GENERATE_NEW_ADDRESS})),this.httpClient.post(this.CHILD_API_URL+E.vv.ON_CHAIN_API+"/newaddr",{addresstype:r.payload.addressCode}).pipe((0,M.U)(g=>(this.logger.info(g),this.store.dispatch((0,x.uO)({payload:E.m6.GENERATE_NEW_ADDRESS})),{type:E.AB.SET_NEW_ADDRESS_CLN,payload:g&&g[r.payload.addressCode]?g[r.payload.addressCode]:{}})),(0,m.K)(g=>(this.handleErrorWithAlert("GenerateNewAddress",E.m6.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+E.vv.ON_CHAIN_API,g),(0,y.of)({type:E.pg.VOID})))))))),this.setNewAddressCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.SET_NEW_ADDRESS_CLN),(0,M.U)(r=>(this.logger.info(r.payload),r.payload))),{dispatch:!1}),this.peersFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.FETCH_PEERS_CLN),(0,A.z)(()=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchPeers",status:E.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+E.vv.PEERS_API).pipe((0,M.U)(r=>(this.logger.info(r),this.store.dispatch((0,I.Hc)({payload:{action:"FetchPeers",status:E.Bn.COMPLETED}})),{type:E.AB.SET_PEERS_CLN,payload:r||[]})),(0,m.K)(r=>(this.handleErrorWithoutAlert("FetchPeers",E.m6.NO_SPINNER,"Fetching Peers Failed.",r),(0,y.of)({type:E.pg.VOID})))))))),this.saveNewPeerCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.SAVE_NEW_PEER_CLN),(0,A.z)(r=>(this.store.dispatch((0,x.ac)({payload:E.m6.CONNECT_PEER})),this.store.dispatch((0,I.Hc)({payload:{action:"SaveNewPeer",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.PEERS_API,{id:r.payload.id}).pipe((0,M.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"SaveNewPeer",status:E.Bn.COMPLETED}})),this.store.dispatch((0,x.uO)({payload:E.m6.CONNECT_PEER})),this.store.dispatch((0,I.Z8)({payload:g||[]})),{type:E.AB.NEWLY_ADDED_PEER_CLN,payload:{peer:g.find(H=>0===r.payload.id.indexOf(H.id?H.id:""))}})),(0,m.K)(g=>(this.handleErrorWithoutAlert("SaveNewPeer",E.m6.CONNECT_PEER,"Peer Connection Failed.",g),(0,y.of)({type:E.pg.VOID})))))))),this.detachPeerCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.DETACH_PEER_CLN),(0,A.z)(r=>(this.store.dispatch((0,x.ac)({payload:E.m6.DISCONNECT_PEER})),this.httpClient.post(this.CHILD_API_URL+E.vv.PEERS_API+"/disconnect",{id:r.payload.id,force:r.payload.force}).pipe((0,M.U)(g=>(this.logger.info(g),this.store.dispatch((0,x.uO)({payload:E.m6.DISCONNECT_PEER})),this.store.dispatch((0,x.jW)({payload:"Peer Disconnected Successfully!"})),{type:E.AB.REMOVE_PEER_CLN,payload:{id:r.payload.id}})),(0,m.K)(g=>(this.handleErrorWithAlert("PeerDisconnect",E.m6.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+E.vv.PEERS_API+"/"+r.payload.id,g),(0,y.of)({type:E.pg.VOID})))))))),this.channelsFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.FETCH_CHANNELS_CLN),(0,A.z)(()=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchChannels",status:E.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+E.vv.CHANNELS_API+"/listPeerChannels"))),(0,M.U)(r=>{this.logger.info(r),this.store.dispatch((0,I.Hc)({payload:{action:"FetchChannels",status:E.Bn.COMPLETED}}));const g={activeChannels:[],pendingChannels:[],inactiveChannels:[]};return r.forEach(H=>{"CHANNELD_NORMAL"===H.state?H.peer_connected?g.activeChannels.push(H):g.inactiveChannels.push(H):g.pendingChannels.push(H)}),{type:E.AB.SET_CHANNELS_CLN,payload:g}}),(0,m.K)(r=>(this.handleErrorWithoutAlert("FetchChannels",E.m6.NO_SPINNER,"Fetching Channels Failed.",r),(0,y.of)({type:E.pg.VOID}))))),this.openNewChannelCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.SAVE_NEW_CHANNEL_CLN),(0,A.z)(r=>{this.store.dispatch((0,x.ac)({payload:E.m6.OPEN_CHANNEL})),this.store.dispatch((0,I.Hc)({payload:{action:"SaveNewChannel",status:E.Bn.INITIATED}}));const g={id:r.payload.peerId,amount:r.payload.amount,feerate:r.payload.feeRate,announce:r.payload.announce};return r.payload.minconf&&(g.minconf=r.payload.minconf),r.payload.utxos&&(g.utxos=r.payload.utxos),r.payload.requestAmount&&(g.request_amt=r.payload.requestAmount),r.payload.compactLease&&(g.compact_lease=r.payload.compactLease),this.httpClient.post(this.CHILD_API_URL+E.vv.CHANNELS_API,g).pipe((0,M.U)(H=>(this.logger.info(H),this.store.dispatch((0,I.Hc)({payload:{action:"SaveNewChannel",status:E.Bn.COMPLETED}})),this.store.dispatch((0,x.uO)({payload:E.m6.OPEN_CHANNEL})),this.store.dispatch((0,x.jW)({payload:"Channel Added Successfully!"})),this.store.dispatch((0,I.lv)()),{type:E.AB.FETCH_CHANNELS_CLN})),(0,m.K)(H=>(this.handleErrorWithoutAlert("SaveNewChannel",E.m6.OPEN_CHANNEL,"Opening Channel Failed.",H),(0,y.of)({type:E.pg.VOID}))))}))),this.updateChannelCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.UPDATE_CHANNEL_CLN),(0,A.z)(r=>(this.store.dispatch((0,x.ac)({payload:E.m6.UPDATE_CHAN_POLICY})),this.httpClient.post(this.CHILD_API_URL+E.vv.CHANNELS_API+"/setChannelFee",r.payload).pipe((0,M.U)(g=>(this.logger.info(g),this.store.dispatch((0,x.uO)({payload:E.m6.UPDATE_CHAN_POLICY})),this.store.dispatch((0,x.jW)("all"===r.payload.id?{payload:{message:"All Channels Updated Successfully. Fee policy updates may take some time to reflect on the channel.",duration:5e3}}:{payload:{message:"Channel Updated Successfully. Fee policy updates may take some time to reflect on the channel.",duration:5e3}})),{type:E.AB.FETCH_CHANNELS_CLN})),(0,m.K)(g=>(this.handleErrorWithAlert("UpdateChannel",E.m6.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+E.vv.CHANNELS_API,g),(0,y.of)({type:E.pg.VOID})))))))),this.closeChannelCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.CLOSE_CHANNEL_CLN),(0,A.z)(r=>(this.store.dispatch((0,x.ac)({payload:r.payload.force?E.m6.FORCE_CLOSE_CHANNEL:E.m6.CLOSE_CHANNEL})),this.httpClient.post(this.CHILD_API_URL+E.vv.CHANNELS_API+"/close",{id:r.payload.channelId,unilateraltimeout:r.payload.force?1:null}).pipe((0,M.U)(g=>(this.logger.info(g),this.store.dispatch((0,x.uO)({payload:r.payload.force?E.m6.FORCE_CLOSE_CHANNEL:E.m6.CLOSE_CHANNEL})),this.store.dispatch((0,I.UR)()),this.store.dispatch((0,I.lv)()),this.store.dispatch((0,x.jW)({payload:"Channel Closed Successfully!"})),{type:E.AB.REMOVE_CHANNEL_CLN,payload:r.payload})),(0,m.K)(g=>(this.handleErrorWithAlert("CloseChannel",r.payload.force?E.m6.FORCE_CLOSE_CHANNEL:E.m6.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+E.vv.CHANNELS_API,g),(0,y.of)({type:E.pg.VOID})))))))),this.paymentsFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.FETCH_PAYMENTS_CLN),(0,A.z)(()=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchPayments",status:E.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+E.vv.PAYMENTS_API))),(0,M.U)(r=>(this.logger.info(r),this.store.dispatch((0,I.Hc)({payload:{action:"FetchPayments",status:E.Bn.COMPLETED}})),{type:E.AB.SET_PAYMENTS_CLN,payload:r||[]})),(0,m.K)(r=>(this.handleErrorWithoutAlert("FetchPayments",E.m6.NO_SPINNER,"Fetching Payments Failed.",r),(0,y.of)({type:E.pg.VOID}))))),this.fetchOfferInvoiceCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.FETCH_OFFER_INVOICE_CLN),(0,A.z)(r=>(this.store.dispatch((0,x.ac)({payload:E.m6.FETCH_INVOICE})),this.store.dispatch((0,I.Hc)({payload:{action:"FetchOfferInvoice",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.OFFERS_API+"/fetchOfferInvoice",r.payload).pipe((0,M.U)(g=>{this.logger.info(g),setTimeout(()=>{this.store.dispatch((0,I.Hc)({payload:{action:"FetchOfferInvoice",status:E.Bn.COMPLETED}})),this.store.dispatch((0,x.uO)({payload:E.m6.FETCH_INVOICE})),this.store.dispatch((0,I.VD)({payload:g||{}}))},500)}),(0,m.K)(g=>(this.handleErrorWithoutAlert("FetchOfferInvoice",E.m6.FETCH_INVOICE,"Offer Invoice Fetch Failed",g),(0,y.of)({type:E.pg.VOID}))))))),{dispatch:!1}),this.setOfferInvoiceCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.SET_OFFER_INVOICE_CLN),(0,M.U)(r=>(this.logger.info(r.payload),r.payload))),{dispatch:!1}),this.sendPaymentCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.SEND_PAYMENT_CLN),(0,A.z)(r=>(this.store.dispatch((0,x.ac)({payload:r.payload.uiMessage})),this.store.dispatch((0,I.Hc)({payload:{action:"SendPayment",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.PAYMENTS_API,r.payload).pipe((0,M.U)(g=>{this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"SendPayment",status:E.Bn.COMPLETED}}));let H="Payment Sent Successfully!";g.saveToDBError&&(H="Payment Sent Successfully but Offer Saving to Database Failed."),g.saveToDBResponse&&"NA"!==g.saveToDBResponse&&(this.store.dispatch((0,I.e9)({payload:g.saveToDBResponse})),H="Payment Sent Successfully and Offer Saved to Database."),setTimeout(()=>{this.store.dispatch((0,I.UR)()),this.store.dispatch((0,I.lv)()),this.store.dispatch((0,I.cQ)()),this.store.dispatch((0,x.uO)({payload:r.payload.uiMessage})),this.store.dispatch((0,x.jW)({payload:H})),this.store.dispatch((0,I.TM)({payload:g.paymentResponse}))},1e3)}),(0,m.K)(g=>(this.logger.error("Error: "+JSON.stringify(g)),r.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",r.payload.uiMessage,"Send Payment Failed.",g):this.handleErrorWithAlert("SendPayment",r.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+E.vv.PAYMENTS_API,g),(0,y.of)({type:E.pg.VOID}))))))),{dispatch:!1}),this.queryRoutesFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.GET_QUERY_ROUTES_CLN),(0,A.z)(r=>(this.store.dispatch((0,I.Hc)({payload:{action:"GetQueryRoutes",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.NETWORK_API+"/getRoute",{id:r.payload.destPubkey,amount_msat:r.payload.amount,riskfactor:0}).pipe((0,M.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"GetQueryRoutes",status:E.Bn.COMPLETED}})),{type:E.AB.SET_QUERY_ROUTES_CLN,payload:g})),(0,m.K)(g=>(this.store.dispatch((0,I.kL)({payload:{route:[]}})),this.handleErrorWithAlert("GetQueryRoutes",E.m6.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+E.vv.NETWORK_API+"/getRoute",g),(0,y.of)({type:E.pg.VOID})))))))),this.setQueryRoutesCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.SET_QUERY_ROUTES_CLN),(0,M.U)(r=>r.payload)),{dispatch:!1}),this.peerLookupCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.PEER_LOOKUP_CLN),(0,A.z)(r=>(this.store.dispatch((0,x.ac)({payload:E.m6.SEARCHING_NODE})),this.store.dispatch((0,I.Hc)({payload:{action:"Lookup",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.NETWORK_API+"/listNodes",{id:r.payload}).pipe((0,M.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"Lookup",status:E.Bn.COMPLETED}})),this.store.dispatch((0,x.uO)({payload:E.m6.SEARCHING_NODE})),{type:E.AB.SET_LOOKUP_CLN,payload:g})),(0,m.K)(g=>(this.handleErrorWithAlert("Lookup",E.m6.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+E.vv.NETWORK_API+"/listNodes/"+r.payload,g),(0,y.of)({type:E.pg.VOID})))))))),this.channelLookupCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.CHANNEL_LOOKUP_CLN),(0,A.z)(r=>(this.store.dispatch((0,x.ac)({payload:r.payload.uiMessage})),this.store.dispatch((0,I.Hc)({payload:{action:"Lookup",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.NETWORK_API+"/listChannels",{short_channel_id:r.payload.shortChannelID}).pipe((0,M.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"Lookup",status:E.Bn.COMPLETED}})),this.store.dispatch((0,x.uO)({payload:r.payload.uiMessage})),{type:E.AB.SET_LOOKUP_CLN,payload:g})),(0,m.K)(g=>(r.payload.showError?this.handleErrorWithAlert("Lookup",r.payload.uiMessage,"Channel Lookup Failed",this.CHILD_API_URL+E.vv.NETWORK_API+"/listChannels/"+r.payload.shortChannelID,g):this.store.dispatch((0,x.uO)({payload:r.payload.uiMessage})),this.store.dispatch((0,I.v_)({payload:[]})),(0,y.of)({type:E.pg.VOID})))))))),this.invoiceLookupCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.INVOICE_LOOKUP_CLN),(0,A.z)(r=>(this.store.dispatch((0,x.ac)({payload:E.m6.SEARCHING_INVOICE})),this.store.dispatch((0,I.Hc)({payload:{action:"Lookup",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.INVOICES_API+"/lookup",{label:r.payload}).pipe((0,M.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"Lookup",status:E.Bn.COMPLETED}})),this.store.dispatch((0,x.uO)({payload:E.m6.SEARCHING_INVOICE})),g.invoices&&g.invoices.length&&g.invoices.length>0&&this.store.dispatch((0,I.aL)({payload:g.invoices[0]})),{type:E.AB.SET_LOOKUP_CLN,payload:g.invoices&&g.invoices.length&&g.invoices.length>0?g.invoices[0]:g})),(0,m.K)(g=>(this.handleErrorWithoutAlert("Lookup",E.m6.SEARCHING_INVOICE,"Invoice Lookup Failed",g),this.store.dispatch((0,x.jW)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,y.of)({type:E.pg.VOID})))))))),this.setLookupCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.SET_LOOKUP_CLN),(0,M.U)(r=>(this.logger.info(r.payload),r.payload))),{dispatch:!1}),this.fetchForwardingHistoryCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.GET_FORWARDING_HISTORY_CLN),(0,A.z)(r=>{const g=r.payload.status.charAt(0).toUpperCase();return this.store.dispatch((0,I.Hc)({payload:{action:"FetchForwardingHistory"+g,status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.CHANNELS_API+"/listForwards",r.payload).pipe((0,M.U)(H=>(this.logger.info(H),this.store.dispatch((0,I.Hc)({payload:{action:"FetchForwardingHistory"+g,status:E.Bn.COMPLETED}})),r.payload.status===E.OO.FAILED?this.store.dispatch((0,I.QJ)({payload:{status:E.OO.FAILED,totalForwards:H.length,listForwards:H}})):r.payload.status===E.OO.LOCAL_FAILED?this.store.dispatch((0,I.QJ)({payload:{status:E.OO.LOCAL_FAILED,totalForwards:H.length,listForwards:H}})):r.payload.status===E.OO.SETTLED&&this.store.dispatch((0,I.QJ)({payload:{status:E.OO.SETTLED,totalForwards:H.length,listForwards:H}})),{type:E.pg.VOID})),(0,m.K)(H=>(this.handleErrorWithAlert("FetchForwardingHistory"+g,E.m6.NO_SPINNER,"Get "+r.payload.status+" Forwarding History Failed",this.CHILD_API_URL+E.vv.CHANNELS_API+"/listForwards",H),(0,y.of)({type:E.pg.VOID}))))}))),this.deleteExpiredInvoiceCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.DELETE_EXPIRED_INVOICE_CLN),(0,A.z)(r=>(this.store.dispatch((0,x.ac)({payload:E.m6.DELETE_INVOICE})),this.httpClient.post(this.CHILD_API_URL+E.vv.INVOICES_API+"/delete",{maxexpiry:r.payload}).pipe((0,M.U)(g=>(this.logger.info(g),this.store.dispatch((0,x.uO)({payload:E.m6.DELETE_INVOICE})),this.store.dispatch((0,x.jW)({payload:"Invoices Deleted Successfully!"})),{type:E.AB.FETCH_INVOICES_CLN})),(0,m.K)(g=>(this.handleErrorWithAlert("DeleteInvoices",E.m6.DELETE_INVOICE,"Delete Invoice Failed",this.CHILD_API_URL+E.vv.INVOICES_API,g),(0,y.of)({type:E.pg.VOID})))))))),this.saveNewInvoiceCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.SAVE_NEW_INVOICE_CLN),(0,A.z)(r=>(this.store.dispatch((0,x.ac)({payload:E.m6.ADD_INVOICE})),this.store.dispatch((0,I.Hc)({payload:{action:"SaveNewInvoice",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.INVOICES_API,r.payload).pipe((0,M.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"SaveNewInvoice",status:E.Bn.COMPLETED}})),this.store.dispatch((0,x.uO)({payload:E.m6.ADD_INVOICE})),g.amount_msat=r.payload.amount_msat,g.label=r.payload.label,g.expires_at=Math.round((new Date).getTime()/1e3+r.payload.expiry),g.description=r.payload.description,g.status="unpaid",setTimeout(()=>{this.store.dispatch((0,x.qR)({payload:{data:{invoice:g,newlyAdded:!0,component:d.y}}}))},200),{type:E.AB.ADD_INVOICE_CLN,payload:g})),(0,m.K)(g=>(this.handleErrorWithoutAlert("SaveNewInvoice",E.m6.ADD_INVOICE,"Add Invoice Failed.",g),(0,y.of)({type:E.pg.VOID})))))))),this.saveNewOfferCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.SAVE_NEW_OFFER_CLN),(0,A.z)(r=>(this.store.dispatch((0,x.ac)({payload:E.m6.CREATE_OFFER})),this.store.dispatch((0,I.Hc)({payload:{action:"SaveNewOffer",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.OFFERS_API,r.payload).pipe((0,M.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"SaveNewOffer",status:E.Bn.COMPLETED}})),this.store.dispatch((0,x.uO)({payload:E.m6.CREATE_OFFER})),setTimeout(()=>{this.store.dispatch((0,x.qR)({payload:{data:{offer:g,newlyAdded:!0,component:V.k}}}))},100),{type:E.AB.ADD_OFFER_CLN,payload:g})),(0,m.K)(g=>(this.handleErrorWithoutAlert("SaveNewOffer",E.m6.CREATE_OFFER,"Create Offer Failed.",g),(0,y.of)({type:E.pg.VOID})))))))),this.invoicesFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.FETCH_INVOICES_CLN),(0,A.z)(()=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchInvoices",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.INVOICES_API+"/lookup",null))),(0,M.U)(r=>(this.logger.info(r),this.store.dispatch((0,I.Hc)({payload:{action:"FetchInvoices",status:E.Bn.COMPLETED}})),{type:E.AB.SET_INVOICES_CLN,payload:r})),(0,m.K)(r=>(this.handleErrorWithoutAlert("FetchInvoices",E.m6.NO_SPINNER,"Fetching Invoices Failed.",r),(0,y.of)({type:E.pg.VOID}))))),this.offersFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.FETCH_OFFERS_CLN),(0,A.z)(r=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchOffers",status:E.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+E.vv.OFFERS_API).pipe((0,M.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"FetchOffers",status:E.Bn.COMPLETED}})),{type:E.AB.SET_OFFERS_CLN,payload:g.offers?g.offers:[]})),(0,m.K)(g=>(this.handleErrorWithoutAlert("FetchOffers",E.m6.NO_SPINNER,"Fetching Offers Failed.",g),(0,y.of)({type:E.pg.VOID})))))))),this.offersDisableCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.DISABLE_OFFER_CLN),(0,A.z)(r=>(this.store.dispatch((0,x.ac)({payload:E.m6.DISABLE_OFFER})),this.store.dispatch((0,I.Hc)({payload:{action:"DisableOffer",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.OFFERS_API+"/disableOffer",{offer_id:r.payload.offer_id}).pipe((0,M.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"DisableOffer",status:E.Bn.COMPLETED}})),this.store.dispatch((0,x.uO)({payload:E.m6.DISABLE_OFFER})),this.store.dispatch((0,x.jW)({payload:"Offer Disabled Successfully!"})),{type:E.AB.UPDATE_OFFER_CLN,payload:{offer:g}})),(0,m.K)(g=>(this.handleErrorWithoutAlert("DisableOffer",E.m6.DISABLE_OFFER,"Disabling Offer Failed.",g),(0,y.of)({type:E.pg.VOID})))))))),this.offerBookmarksFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.FETCH_OFFER_BOOKMARKS_CLN),(0,A.z)(r=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchOfferBookmarks",status:E.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+E.vv.OFFERS_API+"/offerbookmarks").pipe((0,M.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"FetchOfferBookmarks",status:E.Bn.COMPLETED}})),{type:E.AB.SET_OFFER_BOOKMARKS_CLN,payload:g||[]})),(0,m.K)(g=>(this.handleErrorWithoutAlert("FetchOfferBookmarks",E.m6.NO_SPINNER,"Fetching Offer Bookmarks Failed.",g),(0,y.of)({type:E.pg.VOID})))))))),this.peidOffersDeleteCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.DELETE_OFFER_BOOKMARK_CLN),(0,A.z)(r=>(this.store.dispatch((0,x.ac)({payload:E.m6.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,I.Hc)({payload:{action:"DeleteOfferBookmark",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.OFFERS_API+"/offerbookmark/delete",{offer_str:r.payload.bolt12}).pipe((0,M.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"DeleteOfferBookmark",status:E.Bn.COMPLETED}})),this.store.dispatch((0,x.uO)({payload:E.m6.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,x.jW)({payload:"Offer Bookmark Deleted Successfully!"})),{type:E.AB.REMOVE_OFFER_BOOKMARK_CLN,payload:{bolt12:r.payload.bolt12}})),(0,m.K)(g=>(this.handleErrorWithAlert("DeleteOfferBookmark",E.m6.DELETE_OFFER_BOOKMARK,"Deleting Offer Bookmark Failed.",this.CHILD_API_URL+E.vv.OFFERS_API+"/offerbookmark/"+r.payload.bolt12,g),(0,y.of)({type:E.pg.VOID})))))))),this.SetChannelTransactionCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.SET_CHANNEL_TRANSACTION_CLN),(0,A.z)(r=>(this.store.dispatch((0,x.ac)({payload:E.m6.SEND_FUNDS})),this.store.dispatch((0,I.Hc)({payload:{action:"SetChannelTransaction",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.ON_CHAIN_API,r.payload).pipe((0,M.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"SetChannelTransaction",status:E.Bn.COMPLETED}})),this.store.dispatch((0,x.uO)({payload:E.m6.SEND_FUNDS})),this.store.dispatch((0,I.lv)()),{type:E.AB.SET_CHANNEL_TRANSACTION_RES_CLN,payload:g})),(0,m.K)(g=>(this.handleErrorWithoutAlert("SetChannelTransaction",E.m6.SEND_FUNDS,"Sending Fund Failed.",g),(0,y.of)({type:E.pg.VOID})))))))),this.utxoBalancesFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.FETCH_UTXO_BALANCES_CLN),(0,A.z)(()=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchUTXOBalances",status:E.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+E.vv.ON_CHAIN_API+"/utxos"))),(0,M.U)(r=>(this.logger.info(r),this.store.dispatch((0,I.Hc)({payload:{action:"FetchUTXOBalances",status:E.Bn.COMPLETED}})),{type:E.AB.SET_UTXO_BALANCES_CLN,payload:r})),(0,m.K)(r=>(this.handleErrorWithoutAlert("FetchUTXOBalances",E.m6.NO_SPINNER,"Fetching UTXO and Balances Failed.",r),(0,y.of)({type:E.pg.VOID}))))),this.pageSettingsFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.FETCH_PAGE_SETTINGS_CLN),(0,A.z)(()=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchPageSettings",status:E.Bn.INITIATED}})),this.httpClient.get(E.vv.PAGE_SETTINGS_API).pipe((0,M.U)(r=>(this.logger.info(r),this.store.dispatch((0,I.Hc)({payload:{action:"FetchPageSettings",status:E.Bn.COMPLETED}})),{type:E.AB.SET_PAGE_SETTINGS_CLN,payload:r||[]})),(0,m.K)(r=>(this.handleErrorWithoutAlert("FetchPageSettings",E.m6.NO_SPINNER,"Fetching Page Settings Failed.",r),(0,y.of)({type:E.pg.VOID})))))))),this.savePageSettingsCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.SAVE_PAGE_SETTINGS_CLN),(0,A.z)(r=>(this.store.dispatch((0,x.ac)({payload:E.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,I.Hc)({payload:{action:"SavePageSettings",status:E.Bn.INITIATED}})),this.httpClient.post(E.vv.PAGE_SETTINGS_API,r.payload).pipe((0,M.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"SavePageSettings",status:E.Bn.COMPLETED}})),this.store.dispatch((0,x.uO)({payload:E.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,x.jW)({payload:"Page Layout Updated Successfully!"})),{type:E.AB.SET_PAGE_SETTINGS_CLN,payload:g||[]})),(0,m.K)(g=>(this.handleErrorWithAlert("SavePageSettings",E.m6.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",E.vv.PAGE_SETTINGS_API,g),(0,y.of)({type:E.pg.VOID})))))))),this.store.select(k.yA).pipe((0,l.R)(this.unSubs[0])).subscribe(r=>{r.FetchInfo.status!==E.Bn.COMPLETED&&r.FetchInfo.status!==E.Bn.ERROR||r.FetchChannels.status!==E.Bn.COMPLETED&&r.FetchChannels.status!==E.Bn.ERROR||r.FetchUTXOBalances.status!==E.Bn.COMPLETED&&r.FetchUTXOBalances.status!==E.Bn.ERROR||this.flgInitialized||(this.store.dispatch((0,x.uO)({payload:E.m6.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.clWSMessages.pipe((0,l.R)(this.unSubs[1])).subscribe(r=>{this.logger.info("Received new message from the service: "+JSON.stringify(r)),r&&r.data&&r.data[E.nM.INVOICE_PAYMENT]&&r.data[E.nM.INVOICE_PAYMENT].label&&this.store.dispatch((0,I.aL)({payload:r.data[E.nM.INVOICE_PAYMENT]}))})}initializeRemainingData(S,n){this.sessionService.setItem("clnUnlocked","true");const s={identity_pubkey:S.id,alias:S.alias,testnet:"testnet"===S.network.toLowerCase(),chains:S.chains,uris:S.uris,version:S.version,api_version:S.api_version,numberOfPendingChannels:S.num_pending_channels};this.store.dispatch((0,x.ac)({payload:E.m6.INITALIZE_NODE_DATA})),this.store.dispatch((0,x._V)({payload:s}));let f=this.location.path();f.includes("/lnd/")?f=f?.replace("/lnd/","/cln/"):f.includes("/ecl/")&&(f=f?.replace("/ecl/","/cln/")),(f.includes("/login")||f.includes("/error")||""===f||"HOME"===n||f.includes("?access-key="))&&(f="/cln/home"),this.router.navigate([f]),this.store.dispatch((0,I.WM)()),this.store.dispatch((0,I.UR)()),this.store.dispatch((0,I.lv)()),this.store.dispatch((0,I.HJ)({payload:"perkw"})),this.store.dispatch((0,I.HJ)({payload:"perkb"})),this.store.dispatch((0,I.$W)()),this.store.dispatch((0,I.cQ)())}handleErrorWithoutAlert(S,n,s,f){if(this.logger.error("ERROR IN: "+S+"\n"+JSON.stringify(f)),401===f.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,x.ts)()),this.store.dispatch((0,x.kS)()),this.store.dispatch((0,x.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,x.uO)({payload:n}));const h=this.commonService.extractErrorMessage(f,s);this.store.dispatch((0,I.Hc)({payload:{action:S,status:E.Bn.ERROR,statusCode:f.status.toString(),message:h}}))}}handleErrorWithAlert(S,n,s,f,h){if(this.logger.error(h),401===h.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,x.ts)()),this.store.dispatch((0,x.kS)()),this.store.dispatch((0,x.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,x.uO)({payload:n}));const w=this.commonService.extractErrorMessage(h);this.store.dispatch((0,x.qR)({payload:{data:{type:"ERROR",alertTitle:s,message:{code:h.status,message:w,URL:f},component:O.H}}})),this.store.dispatch((0,I.Hc)({payload:{action:S,status:E.Bn.ERROR,statusCode:h.status.toString(),message:w,URL:f}}))}}ngOnDestroy(){this.unSubs.forEach(S=>{S.next(null),S.complete()})}static#e=this.\u0275fac=function(n){return new(n||$)(G.LFG(e.eX),G.LFG(j.eN),G.LFG(W.yh),G.LFG(K.m),G.LFG(q.v),G.LFG(ie.mQ),G.LFG(ae.F0),G.LFG(ue.d),G.LFG(re.Ye))};static#t=this.\u0275prov=G.Yz7({token:$,factory:$.\u0275fac})}return $})()},3468:(He,X,p)=>{"use strict";p.d(X,{AS:()=>A,Ao:()=>ie,Bo:()=>G,EQ:()=>re,Hz:()=>ae,OL:()=>K,PP:()=>O,Wi:()=>d,XP:()=>k,Y_:()=>ue,ZW:()=>V,ey:()=>l,gc:()=>I,hx:()=>x,jK:()=>q,lK:()=>W,lw:()=>y,xQ:()=>j,yA:()=>m,zm:()=>E});var e=p(4221);const t=(0,e.ZF)("cln"),y=(0,e.P1)(t,$=>$.nodeSettings),A=(0,e.P1)(t,$=>({pageSettings:$.pageSettings,apiCallStatus:$.apisCallStatus.FetchPageSettings})),l=(0,e.P1)(t,$=>$.information),m=((0,e.P1)(t,$=>$.apisCallStatus.FetchInfo),(0,e.P1)(t,$=>$.apisCallStatus)),O=(0,e.P1)(t,$=>({payments:$.payments,apiCallStatus:$.apisCallStatus.FetchPayments})),d=(0,e.P1)(t,$=>({peers:$.peers,apiCallStatus:$.apisCallStatus.FetchPeers})),E=(0,e.P1)(t,$=>({feeRatesPerKB:$.feeRatesPerKB,apiCallStatus:$.apisCallStatus.FetchFeeRatesperkb})),x=(0,e.P1)(t,$=>({feeRatesPerKW:$.feeRatesPerKW,apiCallStatus:$.apisCallStatus.FetchFeeRatesperkw})),I=(0,e.P1)(t,$=>({listInvoices:$.invoices,apiCallStatus:$.apisCallStatus.FetchInvoices})),k=(0,e.P1)(t,$=>({utxos:$.utxos,balance:$.balance,localRemoteBalance:$.localRemoteBalance,apiCallStatus:$.apisCallStatus.FetchUTXOBalances})),V=(0,e.P1)(t,$=>({activeChannels:$.activeChannels,pendingChannels:$.pendingChannels,inactiveChannels:$.inactiveChannels,apiCallStatus:$.apisCallStatus.FetchChannels})),G=(0,e.P1)(t,$=>({forwardingHistory:$.forwardingHistory,apiCallStatus:$.apisCallStatus.FetchForwardingHistoryS})),j=(0,e.P1)(t,$=>({failedForwardingHistory:$.failedForwardingHistory,apiCallStatus:$.apisCallStatus.FetchForwardingHistoryF})),W=(0,e.P1)(t,$=>({localFailedForwardingHistory:$.localFailedForwardingHistory,apiCallStatus:$.apisCallStatus.FetchForwardingHistoryL})),K=(0,e.P1)(t,$=>({information:$.information,nodeSettings:$.nodeSettings,balance:$.balance})),q=(0,e.P1)(t,$=>({information:$.information,balance:$.balance,numPeers:$.peers.length})),ie=(0,e.P1)(t,$=>({information:$.information,balance:$.balance})),ae=(0,e.P1)(t,$=>({information:$.information,nodeSettings:$.nodeSettings,fees:$.fees,apisCallStatus:[$.apisCallStatus.FetchInfo,$.apisCallStatus.FetchForwardingHistoryS]})),ue=(0,e.P1)(t,$=>({offers:$.offers,apiCallStatus:$.apisCallStatus.FetchOffers})),re=(0,e.P1)(t,$=>({offersBookmarks:$.offersBookmarks,apiCallStatus:$.apisCallStatus.FetchOfferBookmarks}))},6820:(He,X,p)=>{"use strict";p.d(X,{y:()=>qe});var e=p(7700),t=p(590),y=p(8645),A=p(9773),l=p(2154),M=p(3468),m=p(9212),O=p(5980),d=p(6339),E=p(2939),x=p(4221),I=p(6814),k=p(5597),V=p(3814),G=p(7509),j=p(2296),W=p(5195),K=p(6385),q=p(5940),ie=p(2596),ae=p(2279),ue=p(7313),re=p(6985);function xe(oe,ve){if(1&oe&&m._UZ(0,"qr-code",33),2&oe){const ce=m.oxw();m.Q6J("value",(null==ce.invoice?null:ce.invoice.bolt11)||(null==ce.invoice?null:ce.invoice.bolt12))("size",ce.qrWidth)("errorCorrectionLevel","L")}}function $(oe,ve){1&oe&&(m.TgZ(0,"span",34),m._uU(1,"N/A"),m.qZA())}const he=oe=>({"mr-0":oe});function S(oe,ve){if(1&oe&&m._UZ(0,"span",35),2&oe){const ce=m.oxw();m.Q6J("ngClass",m.VKq(1,he,ce.screenSize===ce.screenSizeEnum.XS))}}function n(oe,ve){if(1&oe&&m._UZ(0,"span",36),2&oe){const ce=m.oxw();m.Q6J("ngClass",m.VKq(1,he,ce.screenSize===ce.screenSizeEnum.XS))}}function s(oe,ve){if(1&oe&&m._UZ(0,"span",37),2&oe){const ce=m.oxw();m.Q6J("ngClass",m.VKq(1,he,ce.screenSize===ce.screenSizeEnum.XS))}}function f(oe,ve){if(1&oe&&m._UZ(0,"qr-code",33),2&oe){const ce=m.oxw();m.Q6J("value",(null==ce.invoice?null:ce.invoice.bolt11)||(null==ce.invoice?null:ce.invoice.bolt12))("size",ce.qrWidth)("errorCorrectionLevel","L")}}function h(oe,ve){1&oe&&(m.TgZ(0,"span",38),m._uU(1,"QR Code Not Applicable"),m.qZA())}function w(oe,ve){1&oe&&m._UZ(0,"mat-divider",39)}function D(oe,ve){if(1&oe&&(m.TgZ(0,"div",19)(1,"div",40),m._UZ(2,"fa-icon",41),m.TgZ(3,"span"),m._uU(4),m.qZA()()()),2&oe){const ce=m.oxw();m.xp6(2),m.Q6J("icon",ce.faExclamationTriangle),m.xp6(2),m.Oqu(null==ce.invoice?null:ce.invoice.warning_capacity)}}function P(oe,ve){1&oe&&(m.ynx(0),m._uU(1," (zero amount) "),m.BQk())}function v(oe,ve){1&oe&&m._UZ(0,"span",47)}const r=()=>[];function g(oe,ve){if(1&oe&&(m.TgZ(0,"div",43)(1,"div",44)(2,"span",45),m._uU(3),m.ALo(4,"number"),m.qZA(),m.YNc(5,v,1,0,"span",46),m.qZA()()),2&oe){const ce=m.oxw(2);m.xp6(3),m.hij("",m.lcZ(4,2,(null==ce.invoice?null:ce.invoice.amount_received_msat)/1e3)," Sats"),m.xp6(2),m.Q6J("ngForOf",m.DdM(4,r).constructor(35))}}function H(oe,ve){if(1&oe&&(m.TgZ(0,"div"),m._uU(1),m.ALo(2,"number"),m.qZA()),2&oe){const ce=m.oxw(2);m.xp6(1),m.hij("",m.lcZ(2,1,(null==ce.invoice?null:ce.invoice.amount_received_msat)/1e3)," Sats")}}function N(oe,ve){if(1&oe&&(m.ynx(0),m.YNc(1,g,6,5,"div",42)(2,H,3,3,"div",23),m.BQk()),2&oe){const ce=m.oxw();m.xp6(1),m.Q6J("ngIf",ce.flgInvoicePaid),m.xp6(1),m.Q6J("ngIf",!ce.flgInvoicePaid)}}function te(oe,ve){1&oe&&(m.TgZ(0,"span"),m._uU(1,"-"),m.qZA())}function De(oe,ve){1&oe&&m._UZ(0,"mat-spinner",49),2&oe&&m.Q6J("diameter",20)}function st(oe,ve){if(1&oe&&(m.ynx(0),m.YNc(1,te,2,0,"span",23)(2,De,1,1,"mat-spinner",48),m.BQk()),2&oe){const ce=m.oxw();m.xp6(1),m.Q6J("ngIf","unpaid"!==(null==ce.invoice?null:ce.invoice.status)),m.xp6(1),m.Q6J("ngIf","unpaid"===(null==ce.invoice?null:ce.invoice.status))}}function je(oe,ve){if(1&oe&&(m.TgZ(0,"div"),m._UZ(1,"mat-divider",25),m.TgZ(2,"div",19)(3,"div",26)(4,"h4",21),m._uU(5,"Payment Hash"),m.qZA(),m.TgZ(6,"span",24),m._uU(7),m.qZA()()(),m._UZ(8,"mat-divider",25),m.TgZ(9,"div",19)(10,"div",26)(11,"h4",21),m._uU(12,"Label"),m.qZA(),m.TgZ(13,"span",24),m._uU(14),m.qZA()()(),m._UZ(15,"mat-divider",25),m.qZA()),2&oe){const ce=m.oxw();m.xp6(7),m.Oqu(null==ce.invoice?null:ce.invoice.payment_hash),m.xp6(7),m.Oqu(null==ce.invoice?null:ce.invoice.label)}}function $e(oe,ve){1&oe&&(m.TgZ(0,"p"),m._uU(1,"Show Advanced"),m.qZA())}function ye(oe,ve){1&oe&&(m.TgZ(0,"p"),m._uU(1,"Hide Advanced"),m.qZA())}function fe(oe,ve){if(1&oe){const ce=m.EpF();m.TgZ(0,"button",50),m.NdJ("copied",function(Ze){m.CHM(ce);const wt=m.oxw();return m.KtG(wt.onCopyPayment(Ze))}),m._uU(1,"Copy Invoice"),m.qZA()}if(2&oe){const ce=m.oxw();m.Q6J("payload",(null==ce.invoice?null:ce.invoice.bolt11)||(null==ce.invoice?null:ce.invoice.bolt12))}}function de(oe,ve){if(1&oe){const ce=m.EpF();m.TgZ(0,"button",51),m.NdJ("click",function(){m.CHM(ce);const Ze=m.oxw();return m.KtG(Ze.onClose())}),m._uU(1,"OK"),m.qZA()}}const Ce=oe=>({"display-none":oe}),le=oe=>({"xs-scroll-y":oe}),ge=(oe,ve)=>({"mt-2":oe,"mt-1":ve});let qe=(()=>{class oe{constructor(ce,Ge,Ze,wt,mt,kt){this.dialogRef=ce,this.data=Ge,this.logger=Ze,this.commonService=wt,this.snackBar=mt,this.store=kt,this.faReceipt=t.dLy,this.faExclamationTriangle=t.eHv,this.showAdvanced=!1,this.newlyAdded=!1,this.invoiceStatus="",this.qrWidth=240,this.screenSize="",this.screenSizeEnum=l.cu,this.flgInvoicePaid=!1,this.unSubs=[new y.x,new y.x,new y.x,new y.x,new y.x]}ngOnInit(){this.invoice=this.data.invoice,this.invoiceStatus=this.invoice.status,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===l.cu.XS&&(this.qrWidth=220),this.store.select(M.gc).pipe((0,A.R)(this.unSubs[1])).subscribe(ce=>{const Ze=(ce.listInvoices.invoices||[])?.find(wt=>wt.payment_hash===this.invoice.payment_hash)||null;Ze&&(this.invoice=Ze),this.invoiceStatus!==this.invoice.status&&"paid"===this.invoice.status&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(this.invoice),this.logger.info(this.invoiceStatus),this.logger.info(Ze),this.logger.info(ce)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(ce){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+ce)}ngOnDestroy(){this.unSubs.forEach(ce=>{ce.next(null),ce.complete()})}static#e=this.\u0275fac=function(Ge){return new(Ge||oe)(m.Y36(e.so),m.Y36(e.WI),m.Y36(O.mQ),m.Y36(d.v),m.Y36(E.ux),m.Y36(x.yh))};static#t=this.\u0275cmp=m.Xpm({type:oe,selectors:[["rtl-cln-invoice-information"]],decls:72,vars:49,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","35",1,"modal-qr-code-container","padding-gap-large",3,"fxLayoutAlign","ngClass"],[3,"value","size","errorCorrectionLevel",4,"ngIf"],["class","font-size-300",4,"ngIf"],["fxFlex","65"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["class","dot green ml-1","matTooltip","Paid","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["class","dot yellow ml-1","matTooltip","Unpaid","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["class","dot red ml-1","matTooltip","Expired","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large",3,"ngClass"],["fxLayout","column"],["fxFlex","30",1,"modal-qr-code-container","padding-gap",3,"fxLayoutAlign","ngClass"],["class","font-size-120",4,"ngIf"],["class","my-1",4,"ngIf"],["fxLayout","row",4,"ngIf"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[4,"ngIf"],[1,"overflow-wrap","foreground-secondary-text"],[1,"w-100","my-1"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","end center",3,"ngClass"],["mat-button","","color","primary","type","reset","tabindex","1",1,"mr-1",3,"click"],[4,"ngIf","ngIfElse"],["hideAdvancedText",""],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied",4,"ngIf"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click",4,"ngIf"],[3,"value","size","errorCorrectionLevel"],[1,"font-size-300"],["matTooltip","Paid","matTooltipPosition","right",1,"dot","green","ml-1",3,"ngClass"],["matTooltip","Unpaid","matTooltipPosition","right",1,"dot","yellow","ml-1",3,"ngClass"],["matTooltip","Expired","matTooltipPosition","right",1,"dot","red","ml-1",3,"ngClass"],[1,"font-size-120"],[1,"my-1"],["fxFlex","100",1,"alert","alert-warn"],[1,"mr-1","alert-icon",3,"icon"],["class","invoice-animation-container",4,"ngIf"],[1,"invoice-animation-container"],[1,"invoice-animation-div"],[1,"wiggle"],["class","particles-circle",4,"ngFor","ngForOf"],[1,"particles-circle"],[3,"diameter",4,"ngIf"],[3,"diameter"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click"]],template:function(Ge,Ze){if(1&Ge&&(m.TgZ(0,"div",0)(1,"div",1),m.YNc(2,xe,1,3,"qr-code",2)(3,$,2,0,"span",3),m.qZA(),m.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),m._UZ(7,"fa-icon",7),m.TgZ(8,"span",8),m._uU(9),m.YNc(10,S,1,3,"span",9)(11,n,1,3,"span",10)(12,s,1,3,"span",11),m.qZA()(),m.TgZ(13,"button",12),m.NdJ("click",function(){return Ze.onClose()}),m._uU(14,"X"),m.qZA()(),m.TgZ(15,"mat-card-content",13)(16,"div",14)(17,"div",15),m.YNc(18,f,1,3,"qr-code",2)(19,h,2,0,"span",16),m.qZA(),m.YNc(20,w,1,0,"mat-divider",17)(21,D,5,2,"div",18),m.TgZ(22,"div",19)(23,"div",20)(24,"h4",21),m._uU(25),m.qZA(),m.TgZ(26,"span",22),m._uU(27),m.ALo(28,"number"),m.YNc(29,P,2,0,"ng-container",23),m.qZA()(),m.TgZ(30,"div",20)(31,"h4",21),m._uU(32,"Amount Received"),m.qZA(),m.TgZ(33,"span",24),m.YNc(34,N,3,2,"ng-container",23)(35,st,3,2,"ng-container",23),m.qZA()()(),m._UZ(36,"mat-divider",25),m.TgZ(37,"div",19)(38,"div",20)(39,"h4",21),m._uU(40,"Date Expiry"),m.qZA(),m.TgZ(41,"span",22),m._uU(42),m.ALo(43,"date"),m.qZA()(),m.TgZ(44,"div",20)(45,"h4",21),m._uU(46,"Date Settled"),m.qZA(),m.TgZ(47,"span",22),m._uU(48),m.ALo(49,"date"),m.qZA()()(),m._UZ(50,"mat-divider",25),m.TgZ(51,"div",19)(52,"div",26)(53,"h4",21),m._uU(54,"Description"),m.qZA(),m.TgZ(55,"span",22),m._uU(56),m.qZA()()(),m._UZ(57,"mat-divider",25),m.TgZ(58,"div",19)(59,"div",26)(60,"h4",21),m._uU(61),m.qZA(),m.TgZ(62,"span",24),m._uU(63),m.qZA()()(),m.YNc(64,je,16,2,"div",23),m.TgZ(65,"div",27)(66,"button",28),m.NdJ("click",function(){return Ze.onShowAdvanced()}),m.YNc(67,$e,2,0,"p",29)(68,ye,2,0,"ng-template",null,30,m.W1O),m.qZA(),m.YNc(70,fe,2,1,"button",31)(71,de,2,0,"button",32),m.qZA()()()()()),2&Ge){const wt=m.MAs(69);m.xp6(1),m.Q6J("fxLayoutAlign",null!=Ze.invoice&&Ze.invoice.bolt11&&""!==(null==Ze.invoice?null:Ze.invoice.bolt11)||null!=Ze.invoice&&Ze.invoice.bolt12&&""!==(null==Ze.invoice?null:Ze.invoice.bolt12)?"center start":"center center")("ngClass",m.VKq(40,Ce,Ze.screenSize===Ze.screenSizeEnum.XS||Ze.screenSize===Ze.screenSizeEnum.SM)),m.xp6(1),m.Q6J("ngIf",(null==Ze.invoice?null:Ze.invoice.bolt11)&&""!==(null==Ze.invoice?null:Ze.invoice.bolt11)||(null==Ze.invoice?null:Ze.invoice.bolt12)&&""!==(null==Ze.invoice?null:Ze.invoice.bolt12)),m.xp6(1),m.Q6J("ngIf",!(null!=Ze.invoice&&Ze.invoice.bolt11||null!=Ze.invoice&&Ze.invoice.bolt12)),m.xp6(4),m.Q6J("icon",Ze.faReceipt),m.xp6(2),m.hij(" ",Ze.screenSize===Ze.screenSizeEnum.XS?Ze.newlyAdded?"Created":"Invoice":Ze.newlyAdded?"Invoice Created":"Invoice Information"," "),m.xp6(1),m.Q6J("ngIf","paid"===(null==Ze.invoice?null:Ze.invoice.status)),m.xp6(1),m.Q6J("ngIf","unpaid"===(null==Ze.invoice?null:Ze.invoice.status)),m.xp6(1),m.Q6J("ngIf","expired"===(null==Ze.invoice?null:Ze.invoice.status)),m.xp6(3),m.Q6J("ngClass",m.VKq(42,le,Ze.screenSize===Ze.screenSizeEnum.XS)),m.xp6(2),m.Q6J("fxLayoutAlign",null!=Ze.invoice&&Ze.invoice.bolt11&&""!==(null==Ze.invoice?null:Ze.invoice.bolt11)||null!=Ze.invoice&&Ze.invoice.bolt12&&""!==(null==Ze.invoice?null:Ze.invoice.bolt12)?"center start":"center center")("ngClass",m.VKq(44,Ce,Ze.screenSize!==Ze.screenSizeEnum.XS&&Ze.screenSize!==Ze.screenSizeEnum.SM)),m.xp6(1),m.Q6J("ngIf",(null==Ze.invoice?null:Ze.invoice.bolt11)&&""!==(null==Ze.invoice?null:Ze.invoice.bolt11)||(null==Ze.invoice?null:Ze.invoice.bolt12)&&""!==(null==Ze.invoice?null:Ze.invoice.bolt12)),m.xp6(1),m.Q6J("ngIf",!(null!=Ze.invoice&&Ze.invoice.bolt11||null!=Ze.invoice&&Ze.invoice.bolt12)),m.xp6(1),m.Q6J("ngIf",Ze.screenSize===Ze.screenSizeEnum.XS||Ze.screenSize===Ze.screenSizeEnum.SM),m.xp6(1),m.Q6J("ngIf",null==Ze.invoice?null:Ze.invoice.warning_capacity),m.xp6(4),m.Oqu(Ze.screenSize===Ze.screenSizeEnum.XS?"Amount":"Amount Requested"),m.xp6(2),m.hij(" ",m.lcZ(28,32,(null==Ze.invoice?null:Ze.invoice.amount_msat)/1e3||0)," Sats"),m.xp6(2),m.Q6J("ngIf",!(null!=Ze.invoice&&Ze.invoice.amount_msat)||"0"===(null==Ze.invoice?null:Ze.invoice.amount_msat)||"any"===(null==Ze.invoice?null:Ze.invoice.amount_msat)),m.xp6(5),m.Q6J("ngIf","paid"===(null==Ze.invoice?null:Ze.invoice.status)),m.xp6(1),m.Q6J("ngIf","paid"!==(null==Ze.invoice?null:Ze.invoice.status)),m.xp6(7),m.Oqu(m.xi3(43,34,1e3*(null==Ze.invoice?null:Ze.invoice.expires_at),"dd/MMM/y HH:mm")),m.xp6(6),m.Oqu(m.xi3(49,37,1e3*(null==Ze.invoice?null:Ze.invoice.paid_at),"dd/MMM/y HH:mm")||"-"),m.xp6(8),m.Oqu((null==Ze.invoice?null:Ze.invoice.description)||"-"),m.xp6(5),m.hij("",null!=Ze.invoice&&Ze.invoice.bolt12?"Bolt12":null!=Ze.invoice&&Ze.invoice.bolt11&&!Ze.invoice.label.includes("keysend-")?"Bolt11":"Keysend"," Invoice"),m.xp6(2),m.Oqu((null==Ze.invoice?null:Ze.invoice.bolt11)||(null==Ze.invoice?null:Ze.invoice.bolt12)),m.xp6(1),m.Q6J("ngIf",Ze.showAdvanced),m.xp6(1),m.Q6J("ngClass",m.WLB(46,ge,!Ze.showAdvanced,Ze.showAdvanced)),m.xp6(2),m.Q6J("ngIf",!Ze.showAdvanced)("ngIfElse",wt),m.xp6(3),m.Q6J("ngIf",(null==Ze.invoice?null:Ze.invoice.bolt11)&&""!==(null==Ze.invoice?null:Ze.invoice.bolt11)||(null==Ze.invoice?null:Ze.invoice.bolt12)&&""!==(null==Ze.invoice?null:Ze.invoice.bolt12)),m.xp6(1),m.Q6J("ngIf",!(null!=Ze.invoice&&Ze.invoice.bolt11||null!=Ze.invoice&&Ze.invoice.bolt12))}},dependencies:[I.mk,I.sg,I.O5,k.BN,V.xw,V.Wh,V.yH,G.oO,j.lW,W.dn,W.dk,K.d,q.Ou,ie.gM,ae.uU,ue.y,re.h,I.JJ,I.uU]})}return oe})()},5440:(He,X,p)=>{"use strict";p.d(X,{k:()=>te});var e=p(7700),t=p(590),y=p(8645),A=p(9773),l=p(2154),M=p(9212),m=p(5980),O=p(6339),d=p(2939),E=p(6046),x=p(6814),I=p(5597),k=p(3814),V=p(7509),G=p(2296),j=p(5195),W=p(6385),K=p(2279),q=p(7313),ie=p(6985);function ae(De,st){if(1&De&&M._UZ(0,"qr-code",28),2&De){const je=M.oxw();M.Q6J("value",null==je.offer?null:je.offer.bolt12)("size",je.qrWidth)("errorCorrectionLevel","L")}}function ue(De,st){1&De&&(M.TgZ(0,"span",29),M._uU(1,"N/A"),M.qZA())}function re(De,st){if(1&De&&M._UZ(0,"qr-code",28),2&De){const je=M.oxw();M.Q6J("value",null==je.offer?null:je.offer.bolt12)("size",je.qrWidth)("errorCorrectionLevel","L")}}function xe(De,st){1&De&&(M.TgZ(0,"span",30),M._uU(1,"QR Code Not Applicable"),M.qZA())}function $(De,st){1&De&&M._UZ(0,"mat-divider",31),2&De&&M.Q6J("inset",!0)}function he(De,st){1&De&&M._UZ(0,"mat-divider",19)}function S(De,st){if(1&De&&(M.TgZ(0,"div",15)(1,"div",16)(2,"h4",17),M._uU(3,"Used"),M.qZA(),M.TgZ(4,"span",18),M._uU(5),M.qZA()(),M.TgZ(6,"div",16)(7,"h4",17),M._uU(8,"Single Use"),M.qZA(),M.TgZ(9,"span",18),M._uU(10),M.qZA()()()),2&De){const je=M.oxw(2);M.xp6(5),M.hij(" ",null!=je.offer&&je.offer.used?null!=je.offer&&je.offer.used?"Yes":"No":"N/K"," "),M.xp6(5),M.hij(" ",null!=je.offer&&je.offer.single_use?null!=je.offer&&je.offer.single_use?"Yes":"No":"N/K"," ")}}function n(De,st){1&De&&M._UZ(0,"mat-divider",19)}function s(De,st){if(1&De&&(M.TgZ(0,"div",15)(1,"div",20)(2,"h4",17),M._uU(3,"Issuer"),M.qZA(),M.TgZ(4,"span",34),M._uU(5),M.qZA()()()),2&De){const je=M.oxw(2);M.xp6(5),M.Oqu(null==je.offerDecoded?null:je.offerDecoded.offer_issuer)}}function f(De,st){1&De&&M._UZ(0,"mat-divider",19)}function h(De,st){if(1&De&&(M.TgZ(0,"div",15)(1,"div",20)(2,"h4",17),M._uU(3,"Label"),M.qZA(),M.TgZ(4,"span",18),M._uU(5),M.qZA()()()),2&De){const je=M.oxw(2);M.xp6(5),M.Oqu(je.offer.label)}}function w(De,st){if(1&De&&(M.TgZ(0,"div"),M.YNc(1,he,1,0,"mat-divider",32)(2,S,11,2,"div",33)(3,n,1,0,"mat-divider",32)(4,s,6,1,"div",33)(5,f,1,0,"mat-divider",32)(6,h,6,1,"div",33),M._UZ(7,"mat-divider",19),M.TgZ(8,"div",15)(9,"div",20)(10,"h4",17),M._uU(11,"Offer ID"),M.qZA(),M.TgZ(12,"span",18),M._uU(13),M.qZA()()(),M._UZ(14,"mat-divider",19),M.TgZ(15,"div",15)(16,"div",20)(17,"h4",17),M._uU(18,"Offer Node ID"),M.qZA(),M.TgZ(19,"span",18),M._uU(20),M.qZA()()(),M._UZ(21,"mat-divider",19),M.qZA()),2&De){const je=M.oxw();M.xp6(1),M.Q6J("ngIf",(null==je.offer?null:je.offer.used)||(null==je.offer?null:je.offer.single_use)),M.xp6(1),M.Q6J("ngIf",(null==je.offer?null:je.offer.used)||(null==je.offer?null:je.offer.single_use)),M.xp6(1),M.Q6J("ngIf",null==je.offerDecoded?null:je.offerDecoded.issuer),M.xp6(1),M.Q6J("ngIf",null==je.offerDecoded?null:je.offerDecoded.issuer),M.xp6(1),M.Q6J("ngIf",je.offer.label),M.xp6(1),M.Q6J("ngIf",je.offer.label),M.xp6(7),M.Oqu(je.offerDecoded.offer_id),M.xp6(7),M.Oqu(null==je.offerDecoded?null:je.offerDecoded.offer_node_id)}}function D(De,st){1&De&&(M.TgZ(0,"p"),M._uU(1,"Show Advanced"),M.qZA())}function P(De,st){1&De&&(M.TgZ(0,"p"),M._uU(1,"Hide Advanced"),M.qZA())}function v(De,st){if(1&De){const je=M.EpF();M.TgZ(0,"button",35),M.NdJ("copied",function(ye){M.CHM(je);const fe=M.oxw();return M.KtG(fe.onCopyOffer(ye))}),M._uU(1,"Copy Offer"),M.qZA()}if(2&De){const je=M.oxw();M.Q6J("payload",null==je.offer?null:je.offer.bolt12)}}function r(De,st){if(1&De){const je=M.EpF();M.TgZ(0,"button",36),M.NdJ("click",function(){M.CHM(je);const ye=M.oxw();return M.KtG(ye.onClose())}),M._uU(1,"OK"),M.qZA()}}const g=De=>({"display-none":De}),H=De=>({"xs-scroll-y":De}),N=(De,st)=>({"mt-2":De,"mt-1":st});let te=(()=>{class De{constructor(je,$e,ye,fe,de,Ce){this.dialogRef=je,this.data=$e,this.logger=ye,this.commonService=fe,this.snackBar=de,this.dataService=Ce,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 y.x,new y.x,new y.x,new y.x,new y.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,A.R)(this.unSubs[1])).subscribe(je=>{this.offerDecoded=je,this.offerDecoded.offer_id&&!this.offerDecoded.offer_amount_msat&&(this.offerDecoded.offer_amount_msat=0)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyOffer(je){this.snackBar.open("Offer copied."),this.logger.info("Copied Text: "+je)}ngOnDestroy(){this.unSubs.forEach(je=>{je.next(null),je.complete()})}static#e=this.\u0275fac=function($e){return new($e||De)(M.Y36(e.so),M.Y36(e.WI),M.Y36(m.mQ),M.Y36(O.v),M.Y36(d.ux),M.Y36(E.D))};static#t=this.\u0275cmp=M.Xpm({type:De,selectors:[["rtl-cln-offer-information"]],decls:52,vars:33,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","35",1,"modal-qr-code-container","padding-gap-large",3,"fxLayoutAlign","ngClass"],[3,"value","size","errorCorrectionLevel",4,"ngIf"],["class","font-size-300",4,"ngIf"],["fxFlex","65"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large",3,"ngClass"],["fxLayout","column"],["fxFlex","30",1,"modal-qr-code-container","padding-gap",3,"fxLayoutAlign","ngClass"],["class","font-size-120",4,"ngIf"],["class","my-1",3,"inset",4,"ngIf"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[1,"w-100","my-1"],["fxFlex","100"],[4,"ngIf"],["fxLayout","row","fxLayoutAlign","end center",3,"ngClass"],["mat-button","","color","primary","type","reset","tabindex","1",1,"mr-1",3,"click"],[4,"ngIf","ngIfElse"],["hideAdvancedText",""],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied",4,"ngIf"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click",4,"ngIf"],[3,"value","size","errorCorrectionLevel"],[1,"font-size-300"],[1,"font-size-120"],[1,"my-1",3,"inset"],["class","w-100 my-1",4,"ngIf"],["fxLayout","row",4,"ngIf"],[1,"overflow-wrap","foreground-secondary-text"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click"]],template:function($e,ye){if(1&$e&&(M.TgZ(0,"div",0)(1,"div",1),M.YNc(2,ae,1,3,"qr-code",2)(3,ue,2,0,"span",3),M.qZA(),M.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),M._UZ(7,"fa-icon",7),M.TgZ(8,"span",8),M._uU(9),M.qZA()(),M.TgZ(10,"button",9),M.NdJ("click",function(){return ye.onClose()}),M._uU(11,"X"),M.qZA()(),M.TgZ(12,"mat-card-content",10)(13,"div",11)(14,"div",12),M.YNc(15,re,1,3,"qr-code",2)(16,xe,2,0,"span",13),M.qZA(),M.YNc(17,$,1,1,"mat-divider",14),M.TgZ(18,"div",15)(19,"div",16)(20,"h4",17),M._uU(21,"Amount Requested (Sats)"),M.qZA(),M.TgZ(22,"span",18),M._uU(23),M.ALo(24,"number"),M.qZA()(),M.TgZ(25,"div",16)(26,"h4",17),M._uU(27,"Valid"),M.qZA(),M.TgZ(28,"span",18),M._uU(29),M.qZA()()(),M._UZ(30,"mat-divider",19),M.TgZ(31,"div",15)(32,"div",20)(33,"h4",17),M._uU(34,"Description"),M.qZA(),M.TgZ(35,"span",18),M._uU(36),M.qZA()()(),M._UZ(37,"mat-divider",19),M.TgZ(38,"div",15)(39,"div",20)(40,"h4",17),M._uU(41,"Offer"),M.qZA(),M.TgZ(42,"span",18),M._uU(43),M.qZA()()(),M.YNc(44,w,22,8,"div",21),M.TgZ(45,"div",22)(46,"button",23),M.NdJ("click",function(){return ye.onShowAdvanced()}),M.YNc(47,D,2,0,"p",24)(48,P,2,0,"ng-template",null,25,M.W1O),M.qZA(),M.YNc(50,v,2,1,"button",26)(51,r,2,0,"button",27),M.qZA()()()()()),2&$e){const fe=M.MAs(49);M.xp6(1),M.Q6J("fxLayoutAlign",null!=ye.offer&&ye.offer.bolt12&&""!==(null==ye.offer?null:ye.offer.bolt12)?"center start":"center center")("ngClass",M.VKq(24,g,ye.screenSize===ye.screenSizeEnum.XS||ye.screenSize===ye.screenSizeEnum.SM)),M.xp6(1),M.Q6J("ngIf",(null==ye.offer?null:ye.offer.bolt12)&&""!==(null==ye.offer?null:ye.offer.bolt12)),M.xp6(1),M.Q6J("ngIf",!(null!=ye.offer&&ye.offer.bolt12)||""===(null==ye.offer?null:ye.offer.bolt12)),M.xp6(4),M.Q6J("icon",ye.faReceipt),M.xp6(2),M.Oqu(ye.screenSize===ye.screenSizeEnum.XS?ye.newlyAdded?"Created":"Offer":ye.newlyAdded?"Offer Created":"Offer Information"),M.xp6(3),M.Q6J("ngClass",M.VKq(26,H,ye.screenSize===ye.screenSizeEnum.XS)),M.xp6(2),M.Q6J("fxLayoutAlign",null!=ye.offer&&ye.offer.bolt12&&""!==(null==ye.offer?null:ye.offer.bolt12)?"center start":"center center")("ngClass",M.VKq(28,g,ye.screenSize!==ye.screenSizeEnum.XS&&ye.screenSize!==ye.screenSizeEnum.SM)),M.xp6(1),M.Q6J("ngIf",(null==ye.offer?null:ye.offer.bolt12)&&""!==(null==ye.offer?null:ye.offer.bolt12)),M.xp6(1),M.Q6J("ngIf",!(null!=ye.offer&&ye.offer.bolt12)||""===(null==ye.offer?null:ye.offer.bolt12)),M.xp6(1),M.Q6J("ngIf",ye.screenSize===ye.screenSizeEnum.XS||ye.screenSize===ye.screenSizeEnum.SM),M.xp6(6),M.hij(" ",null!=ye.offerDecoded&&ye.offerDecoded.offer_amount_msat&&0!==(null==ye.offerDecoded?null:ye.offerDecoded.offer_amount_msat)?M.lcZ(24,22,(null==ye.offerDecoded?null:ye.offerDecoded.offer_amount_msat)/1e3):"Open Offer"," "),M.xp6(6),M.hij(" ",null!=ye.offerDecoded&&ye.offerDecoded.valid?null!=ye.offerDecoded&&ye.offerDecoded.valid?"Yes":"No":"N/K"," "),M.xp6(7),M.hij(" ",null==ye.offerDecoded?null:ye.offerDecoded.offer_description," "),M.xp6(7),M.Oqu(null==ye.offer?null:ye.offer.bolt12),M.xp6(1),M.Q6J("ngIf",ye.showAdvanced),M.xp6(1),M.Q6J("ngClass",M.WLB(30,N,!ye.showAdvanced,ye.showAdvanced)),M.xp6(2),M.Q6J("ngIf",!ye.showAdvanced)("ngIfElse",fe),M.xp6(3),M.Q6J("ngIf",(null==ye.offer?null:ye.offer.bolt12)&&""!==(null==ye.offer?null:ye.offer.bolt12)),M.xp6(1),M.Q6J("ngIf",!(null!=ye.offer&&ye.offer.bolt12)||""===(null==ye.offer?null:ye.offer.bolt12))}},dependencies:[x.mk,x.O5,I.BN,k.xw,k.Wh,k.yH,V.oO,G.lW,j.dn,j.dk,W.d,K.uU,q.y,ie.h,x.JJ]})}return De})()},2249:(He,X,p)=>{"use strict";p.d(X,{$W:()=>ae,BL:()=>w,Bw:()=>K,CX:()=>E,DJ:()=>oe,EK:()=>S,El:()=>re,Fd:()=>A,GD:()=>he,HG:()=>ie,HI:()=>v,Iy:()=>st,Lf:()=>De,Nr:()=>ye,OG:()=>D,On:()=>q,QZ:()=>y,RX:()=>I,SN:()=>x,Sf:()=>le,TM:()=>N,TW:()=>G,UR:()=>k,WM:()=>$e,WO:()=>r,YP:()=>de,YX:()=>f,Z$:()=>fe,Z8:()=>ue,Zr:()=>l,_E:()=>n,aL:()=>Ce,cQ:()=>P,eF:()=>O,eN:()=>V,i:()=>j,iL:()=>W,iz:()=>d,kL:()=>g,mC:()=>te,n7:()=>ge,oV:()=>H,pW:()=>h,pd:()=>m,ti:()=>ve,wD:()=>M});var e=p(4221),t=p(2154);const y=(0,e.PH)(t.lr.UPDATE_API_CALL_STATUS_ECL,(0,e.Ky)()),A=(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)()),M=(0,e.PH)(t.lr.FETCH_PAGE_SETTINGS_ECL),m=(0,e.PH)(t.lr.SET_PAGE_SETTINGS_ECL,(0,e.Ky)()),O=(0,e.PH)(t.lr.SAVE_PAGE_SETTINGS_ECL,(0,e.Ky)()),d=(0,e.PH)(t.lr.FETCH_INFO_ECL,(0,e.Ky)()),E=(0,e.PH)(t.lr.SET_INFO_ECL,(0,e.Ky)()),x=(0,e.PH)(t.lr.FETCH_FEES_ECL),I=(0,e.PH)(t.lr.SET_FEES_ECL,(0,e.Ky)()),k=(0,e.PH)(t.lr.FETCH_CHANNELS_ECL,(0,e.Ky)()),V=(0,e.PH)(t.lr.SET_ACTIVE_CHANNELS_ECL,(0,e.Ky)()),G=(0,e.PH)(t.lr.SET_PENDING_CHANNELS_ECL,(0,e.Ky)()),j=(0,e.PH)(t.lr.SET_INACTIVE_CHANNELS_ECL,(0,e.Ky)()),W=(0,e.PH)(t.lr.FETCH_ONCHAIN_BALANCE_ECL),K=(0,e.PH)(t.lr.SET_ONCHAIN_BALANCE_ECL,(0,e.Ky)()),q=(0,e.PH)(t.lr.SET_LIGHTNING_BALANCE_ECL,(0,e.Ky)()),ie=(0,e.PH)(t.lr.SET_CHANNELS_STATUS_ECL,(0,e.Ky)()),ae=(0,e.PH)(t.lr.FETCH_PEERS_ECL),ue=(0,e.PH)(t.lr.SET_PEERS_ECL,(0,e.Ky)()),re=(0,e.PH)(t.lr.SAVE_NEW_PEER_ECL,(0,e.Ky)()),he=((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)())),S=(0,e.PH)(t.lr.REMOVE_PEER_ECL,(0,e.Ky)()),n=(0,e.PH)(t.lr.GET_NEW_ADDRESS_ECL),f=((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)()),w=(0,e.PH)(t.lr.CLOSE_CHANNEL_ECL,(0,e.Ky)()),D=(0,e.PH)(t.lr.REMOVE_CHANNEL_ECL,(0,e.Ky)()),P=(0,e.PH)(t.lr.FETCH_PAYMENTS_ECL),v=(0,e.PH)(t.lr.SET_PAYMENTS_ECL,(0,e.Ky)()),r=(0,e.PH)(t.lr.GET_QUERY_ROUTES_ECL,(0,e.Ky)()),g=(0,e.PH)(t.lr.SET_QUERY_ROUTES_ECL,(0,e.Ky)()),H=(0,e.PH)(t.lr.SEND_PAYMENT_ECL,(0,e.Ky)()),N=(0,e.PH)(t.lr.SEND_PAYMENT_STATUS_ECL,(0,e.Ky)()),te=(0,e.PH)(t.lr.FETCH_TRANSACTIONS_ECL),De=(0,e.PH)(t.lr.SET_TRANSACTIONS_ECL,(0,e.Ky)()),st=(0,e.PH)(t.lr.SEND_ONCHAIN_FUNDS_ECL,(0,e.Ky)()),$e=((0,e.PH)(t.lr.SEND_ONCHAIN_FUNDS_RES_ECL,(0,e.Ky)()),(0,e.PH)(t.lr.FETCH_INVOICES_ECL)),ye=(0,e.PH)(t.lr.SET_INVOICES_ECL,(0,e.Ky)()),fe=(0,e.PH)(t.lr.CREATE_INVOICE_ECL,(0,e.Ky)()),de=(0,e.PH)(t.lr.ADD_INVOICE_ECL,(0,e.Ky)()),Ce=(0,e.PH)(t.lr.UPDATE_INVOICE_ECL,(0,e.Ky)()),le=(0,e.PH)(t.lr.PEER_LOOKUP_ECL,(0,e.Ky)()),ge=(0,e.PH)(t.lr.INVOICE_LOOKUP_ECL,(0,e.Ky)()),oe=((0,e.PH)(t.lr.SET_LOOKUP_ECL,(0,e.Ky)()),(0,e.PH)(t.lr.UPDATE_CHANNEL_STATE_ECL,(0,e.Ky)())),ve=(0,e.PH)(t.lr.UPDATE_RELAYED_PAYMENT_ECL,(0,e.Ky)())},9337:(He,X,p)=>{"use strict";p.d(X,{o:()=>re});var e=p(5154),t=p(8645),y=p(2096),A=p(1631),l=p(9773),M=p(7398),m=p(6306),O=p(3315),d=p(2154),E=p(9103),x=p(9671),I=p(2249),k=p(9930),V=p(9212),G=p(9862),j=p(4221),W=p(5813),K=p(6339),q=p(5980),ie=p(4190),ae=p(2285),ue=p(6814);let re=(()=>{class xe{constructor(he,S,n,s,f,h,w,D,P){this.actions=he,this.httpClient=S,this.store=n,this.sessionService=s,this.commonService=f,this.logger=h,this.router=w,this.wsService=D,this.location=P,this.CHILD_API_URL=d.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)(d.lr.FETCH_INFO_ECL),(0,A.z)(v=>(this.flgInitialized=!1,this.store.dispatch((0,E.lC)({payload:this.CHILD_API_URL})),this.store.dispatch((0,E.ac)({payload:d.m6.GET_NODE_INFO})),this.store.dispatch((0,I.QZ)({payload:{action:"FetchInfo",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.GETINFO_API).pipe((0,l.R)(this.actions.pipe((0,e.l4)(d.pg.SET_SELECTED_NODE))),(0,M.U)(r=>(this.logger.info(r),this.initializeRemainingData(r,v.payload.loadPage),this.store.dispatch((0,I.QZ)({payload:{action:"FetchInfo",status:d.Bn.COMPLETED}})),this.store.dispatch((0,E.uO)({payload:d.m6.GET_NODE_INFO})),{type:d.lr.SET_INFO_ECL,payload:r||{}})),(0,m.K)(r=>{const g=this.commonService.extractErrorCode(r),H=503===g?"Unable to Connect to Eclair Server.":this.commonService.extractErrorMessage(r);return this.router.navigate(["/error"],{state:{errorCode:g,errorMessage:H}}),this.handleErrorWithoutAlert("FetchInfo",d.m6.GET_NODE_INFO,"Fetching Node Info Failed.",{status:g,error:H}),(0,y.of)({type:d.pg.VOID})})))))),this.fetchFees=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_FEES_ECL),(0,A.z)(()=>(this.store.dispatch((0,I.QZ)({payload:{action:"FetchFees",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.FEES_API+"/fees").pipe((0,M.U)(v=>(this.logger.info(v),this.store.dispatch((0,I.QZ)({payload:{action:"FetchFees",status:d.Bn.COMPLETED}})),{type:d.lr.SET_FEES_ECL,payload:v||{}})),(0,m.K)(v=>(this.handleErrorWithoutAlert("FetchFees",d.m6.NO_SPINNER,"Fetching Fees Failed.",v),(0,y.of)({type:d.pg.VOID})))))))),this.fetchPayments=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_PAYMENTS_ECL),(0,A.z)(()=>(this.store.dispatch((0,I.QZ)({payload:{action:"FetchPayments",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.FEES_API+"/payments").pipe((0,M.U)(v=>(this.logger.info(v),this.store.dispatch((0,I.QZ)({payload:{action:"FetchPayments",status:d.Bn.COMPLETED}})),{type:d.lr.SET_PAYMENTS_ECL,payload:v||{}})),(0,m.K)(v=>(this.handleErrorWithoutAlert("FetchPayments",d.m6.NO_SPINNER,"Fetching Payments Failed.",v),(0,y.of)({type:d.pg.VOID})))))))),this.channelsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_CHANNELS_ECL),(0,A.z)(v=>(this.store.dispatch((0,I.QZ)({payload:{action:"FetchChannels",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.CHANNELS_API).pipe((0,M.U)(r=>(this.logger.info(r),this.rawChannelsList=r,this.setChannelsAndStatusAndBalances(),this.store.dispatch((0,I.QZ)({payload:{action:"FetchChannels",status:d.Bn.COMPLETED}})),v.payload&&v.payload.fetchPayments&&this.store.dispatch((0,I.cQ)()),{type:d.pg.VOID})),(0,m.K)(r=>(this.handleErrorWithoutAlert("FetchChannels",d.m6.NO_SPINNER,"Fetching Channels Failed.",r),(0,y.of)({type:d.pg.VOID})))))))),this.fetchOnchainBalance=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_ONCHAIN_BALANCE_ECL),(0,A.z)(()=>(this.store.dispatch((0,I.QZ)({payload:{action:"FetchOnchainBalance",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.ON_CHAIN_API+"/balance"))),(0,M.U)(v=>(this.logger.info(v),this.store.dispatch((0,I.QZ)({payload:{action:"FetchOnchainBalance",status:d.Bn.COMPLETED}})),{type:d.lr.SET_ONCHAIN_BALANCE_ECL,payload:v||{}})),(0,m.K)(v=>(this.handleErrorWithoutAlert("FetchOnchainBalance",d.m6.NO_SPINNER,"Fetching Onchain Balances Failed.",v),(0,y.of)({type:d.pg.VOID}))))),this.peersFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_PEERS_ECL),(0,A.z)(()=>(this.store.dispatch((0,I.QZ)({payload:{action:"FetchPeers",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.PEERS_API).pipe((0,M.U)(v=>(this.logger.info(v),this.store.dispatch((0,I.QZ)({payload:{action:"FetchPeers",status:d.Bn.COMPLETED}})),{type:d.lr.SET_PEERS_ECL,payload:v||[]})),(0,m.K)(v=>(this.handleErrorWithoutAlert("FetchPeers",d.m6.NO_SPINNER,"Fetching Peers Failed.",v),(0,y.of)({type:d.pg.VOID})))))))),this.getNewAddress=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.GET_NEW_ADDRESS_ECL),(0,A.z)(()=>(this.store.dispatch((0,E.ac)({payload:d.m6.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+d.vv.ON_CHAIN_API).pipe((0,M.U)(v=>(this.logger.info(v),this.store.dispatch((0,E.uO)({payload:d.m6.GENERATE_NEW_ADDRESS})),{type:d.lr.SET_NEW_ADDRESS_ECL,payload:v})),(0,m.K)(v=>(this.handleErrorWithAlert("GetNewAddress",d.m6.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+d.vv.ON_CHAIN_API,v),(0,y.of)({type:d.pg.VOID})))))))),this.setNewAddress=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.SET_NEW_ADDRESS_ECL),(0,M.U)(v=>(this.logger.info(v.payload),v.payload))),{dispatch:!1}),this.saveNewPeer=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.SAVE_NEW_PEER_ECL),(0,A.z)(v=>(this.store.dispatch((0,E.ac)({payload:d.m6.CONNECT_PEER})),this.store.dispatch((0,I.QZ)({payload:{action:"SaveNewPeer",status:d.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.vv.PEERS_API+(v.payload.id.includes("@")?"?uri=":"?nodeId=")+v.payload.id,{}).pipe((0,M.U)(r=>(this.logger.info(r),this.store.dispatch((0,I.QZ)({payload:{action:"SaveNewPeer",status:d.Bn.COMPLETED}})),r=r||[],this.store.dispatch((0,E.uO)({payload:d.m6.CONNECT_PEER})),this.store.dispatch((0,I.Z8)({payload:r})),{type:d.lr.NEWLY_ADDED_PEER_ECL,payload:{peer:r.find(g=>g.nodeId===(v.payload.id.includes("@")?v.payload.id.substring(0,v.payload.id.indexOf("@")):v.payload.id))}})),(0,m.K)(r=>(this.handleErrorWithoutAlert("SaveNewPeer",d.m6.CONNECT_PEER,"Peer Connection Failed.",r),(0,y.of)({type:d.pg.VOID})))))))),this.detachPeer=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.DETACH_PEER_ECL),(0,A.z)(v=>(this.store.dispatch((0,E.ac)({payload:d.m6.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+d.vv.PEERS_API+"/"+v.payload.nodeId).pipe((0,M.U)(r=>(this.logger.info(r),this.store.dispatch((0,E.uO)({payload:d.m6.DISCONNECT_PEER})),this.store.dispatch((0,E.jW)({payload:"Disconnecting Peer!"})),{type:d.lr.REMOVE_PEER_ECL,payload:{nodeId:v.payload.nodeId}})),(0,m.K)(r=>(this.handleErrorWithAlert("DisconnectPeer",d.m6.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+d.vv.PEERS_API+"/"+v.payload.nodeId,r),(0,y.of)({type:d.pg.VOID})))))))),this.openNewChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.SAVE_NEW_CHANNEL_ECL),(0,A.z)(v=>{this.store.dispatch((0,E.ac)({payload:d.m6.OPEN_CHANNEL})),this.store.dispatch((0,I.QZ)({payload:{action:"SaveNewChannel",status:d.Bn.INITIATED}}));const r={nodeId:v.payload.nodeId,fundingSatoshis:v.payload.amount,announceChannel:!v.payload.private};return v.payload.feeRate&&v.payload.feeRate>0&&(r.fundingFeerateSatByte=v.payload.feeRate),this.httpClient.post(this.CHILD_API_URL+d.vv.CHANNELS_API,r).pipe((0,M.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.QZ)({payload:{action:"SaveNewChannel",status:d.Bn.COMPLETED}})),this.store.dispatch((0,I.$W)()),this.store.dispatch((0,I.iL)()),this.store.dispatch((0,E.uO)({payload:d.m6.OPEN_CHANNEL})),this.store.dispatch((0,E.jW)({payload:"Channel Added Successfully!"})),{type:d.lr.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,m.K)(g=>(this.handleErrorWithoutAlert("SaveNewChannel",d.m6.OPEN_CHANNEL,"Opening Channel Failed.",g),(0,y.of)({type:d.pg.VOID}))))}))),this.updateChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.UPDATE_CHANNEL_ECL),(0,A.z)(v=>{this.store.dispatch((0,E.ac)({payload:d.m6.UPDATE_CHAN_POLICY}));let r="?feeBaseMsat="+v.payload.baseFeeMsat+"&feeProportionalMillionths="+v.payload.feeRate;return r=v.payload.nodeIds?r+"&nodeIds="+v.payload.nodeIds:v.payload.nodeId?r+"&nodeId="+v.payload.nodeId:v.payload.channelIds?r+"&channelIds="+v.payload.channelIds:r+"&channelId="+v.payload.channelId,this.httpClient.post(this.CHILD_API_URL+d.vv.CHANNELS_API+"/updateRelayFee"+r,{}).pipe((0,M.U)(g=>(this.logger.info(g),this.store.dispatch((0,E.uO)({payload:d.m6.UPDATE_CHAN_POLICY})),this.store.dispatch((0,E.jW)(v.payload.nodeIds||v.payload.channelIds?{payload:"Channels Updated Successfully."}:{payload:"Channel Updated Successfully!"})),{type:d.lr.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,m.K)(g=>(this.handleErrorWithAlert("UpdateChannels",d.m6.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+d.vv.CHANNELS_API,g),(0,y.of)({type:d.pg.VOID}))))}))),this.closeChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.CLOSE_CHANNEL_ECL),(0,A.z)(v=>(this.store.dispatch((0,E.ac)({payload:v.payload.force?d.m6.FORCE_CLOSE_CHANNEL:d.m6.CLOSE_CHANNEL})),this.httpClient.delete(this.CHILD_API_URL+d.vv.CHANNELS_API+"?channelId="+v.payload.channelId+"&force="+v.payload.force).pipe((0,M.U)(r=>(this.logger.info(r),setTimeout(()=>{this.store.dispatch((0,E.uO)({payload:v.payload.force?d.m6.FORCE_CLOSE_CHANNEL:d.m6.CLOSE_CHANNEL})),this.store.dispatch((0,I.UR)({payload:{fetchPayments:!1}})),this.store.dispatch((0,E.jW)({payload:v.payload.force?"Channel Force Closed Successfully!":"Channel Closed Successfully!"}))},2e3),{type:d.pg.VOID})),(0,m.K)(r=>(this.handleErrorWithAlert("CloseChannel",v.payload.force?d.m6.FORCE_CLOSE_CHANNEL:d.m6.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+d.vv.CHANNELS_API,r),(0,y.of)({type:d.pg.VOID})))))))),this.queryRoutesFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.GET_QUERY_ROUTES_ECL),(0,A.z)(v=>this.httpClient.get(this.CHILD_API_URL+d.vv.PAYMENTS_API+"/route?nodeId="+v.payload.nodeId+"&amountMsat="+v.payload.amount).pipe((0,M.U)(r=>(this.logger.info(r),{type:d.lr.SET_QUERY_ROUTES_ECL,payload:r})),(0,m.K)(r=>(this.store.dispatch((0,I.kL)({payload:[]})),this.handleErrorWithAlert("GetQueryRoutes",d.m6.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+d.vv.PAYMENTS_API+"/route?nodeId="+v.payload.nodeId+"&amountMsat="+v.payload.amount,r),(0,y.of)({type:d.pg.VOID}))))))),this.setQueryRoutes=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.SET_QUERY_ROUTES_ECL),(0,M.U)(v=>v.payload)),{dispatch:!1}),this.sendPayment=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.SEND_PAYMENT_ECL),(0,A.z)(v=>(this.flgReceivedPaymentUpdateFromWS=!1,this.latestPaymentRes="",this.store.dispatch((0,E.ac)({payload:d.m6.SEND_PAYMENT})),this.store.dispatch((0,I.QZ)({payload:{action:"SendPayment",status:d.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.vv.PAYMENTS_API,v.payload).pipe((0,M.U)(r=>(this.logger.info(r),this.latestPaymentRes=r,setTimeout(()=>{this.flgReceivedPaymentUpdateFromWS||this.handleSendPaymentStatus("Payment Submitted!")},3e3),{type:d.pg.VOID})),(0,m.K)(r=>(this.logger.error("Error: "+JSON.stringify(r)),v.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",d.m6.SEND_PAYMENT,"Send Payment Failed.",r):this.handleErrorWithAlert("SendPayment",d.m6.SEND_PAYMENT,"Send Payment Failed",this.CHILD_API_URL+d.vv.PAYMENTS_API,r),(0,y.of)({type:d.pg.VOID})))))))),this.transactionsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_TRANSACTIONS_ECL),(0,A.z)(()=>(this.store.dispatch((0,I.QZ)({payload:{action:"FetchTransactions",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.ON_CHAIN_API+"/transactions?count=1000&skip=0"))),(0,M.U)(v=>(this.logger.info(v),this.store.dispatch((0,I.QZ)({payload:{action:"FetchTransactions",status:d.Bn.COMPLETED}})),{type:d.lr.SET_TRANSACTIONS_ECL,payload:v||[]})),(0,m.K)(v=>(this.handleErrorWithoutAlert("FetchTransactions",d.m6.NO_SPINNER,"Fetching Transactions Failed.",v),(0,y.of)({type:d.pg.VOID}))))),this.SendOnchainFunds=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.SEND_ONCHAIN_FUNDS_ECL),(0,A.z)(v=>(this.store.dispatch((0,E.ac)({payload:d.m6.SEND_FUNDS})),this.store.dispatch((0,I.QZ)({payload:{action:"SendOnchainFunds",status:d.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.vv.ON_CHAIN_API,v.payload).pipe((0,M.U)(r=>(this.logger.info(r),this.store.dispatch((0,I.QZ)({payload:{action:"SendOnchainFunds",status:d.Bn.COMPLETED}})),this.store.dispatch((0,E.uO)({payload:d.m6.SEND_FUNDS})),this.store.dispatch((0,I.iL)()),{type:d.lr.SEND_ONCHAIN_FUNDS_RES_ECL,payload:r})),(0,m.K)(r=>(this.handleErrorWithoutAlert("SendOnchainFunds",d.m6.SEND_FUNDS,"Sending Fund Failed.",r),(0,y.of)({type:d.pg.VOID})))))))),this.createInvoice=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.CREATE_INVOICE_ECL),(0,A.z)(v=>(this.store.dispatch((0,E.ac)({payload:d.m6.CREATE_INVOICE})),this.store.dispatch((0,I.QZ)({payload:{action:"CreateInvoice",status:d.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.vv.INVOICES_API,v.payload).pipe((0,M.U)(r=>(this.logger.info(r),this.store.dispatch((0,I.QZ)({payload:{action:"CreateInvoice",status:d.Bn.COMPLETED}})),this.store.dispatch((0,E.uO)({payload:d.m6.CREATE_INVOICE})),r.timestamp=Math.round((new Date).getTime()/1e3),r.expiresAt=Math.round(r.timestamp+v.payload.expireIn),r.description=v.payload.description,r.status="unpaid",setTimeout(()=>{this.store.dispatch((0,E.qR)({payload:{data:{invoice:r,newlyAdded:!0,component:x.R}}}))},200),{type:d.lr.ADD_INVOICE_ECL,payload:r})),(0,m.K)(r=>(this.handleErrorWithoutAlert("CreateInvoice",d.m6.CREATE_INVOICE,"Create Invoice Failed.",r),(0,y.of)({type:d.pg.VOID})))))))),this.invoicesFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_INVOICES_ECL),(0,A.z)(()=>(this.store.dispatch((0,I.QZ)({payload:{action:"FetchInvoices",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.INVOICES_API).pipe((0,M.U)(v=>(this.logger.info(v),this.store.dispatch((0,I.QZ)({payload:{action:"FetchInvoices",status:d.Bn.COMPLETED}})),{type:d.lr.SET_INVOICES_ECL,payload:v})),(0,m.K)(v=>(this.handleErrorWithoutAlert("FetchInvoices",d.m6.NO_SPINNER,"Fetching Invoices Failed.",v),(0,y.of)({type:d.pg.VOID})))))))),this.peerLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.PEER_LOOKUP_ECL),(0,A.z)(v=>(this.store.dispatch((0,E.ac)({payload:d.m6.SEARCHING_NODE})),this.store.dispatch((0,I.QZ)({payload:{action:"Lookup",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.NETWORK_API+"/nodes/"+v.payload).pipe((0,M.U)(r=>(this.logger.info(r),this.store.dispatch((0,I.QZ)({payload:{action:"Lookup",status:d.Bn.COMPLETED}})),this.store.dispatch((0,E.uO)({payload:d.m6.SEARCHING_NODE})),{type:d.lr.SET_LOOKUP_ECL,payload:r})),(0,m.K)(r=>(this.handleErrorWithAlert("Lookup",d.m6.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+d.vv.NETWORK_API+"/nodes/"+v.payload,r),(0,y.of)({type:d.pg.VOID})))))))),this.invoiceLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.INVOICE_LOOKUP_ECL),(0,A.z)(v=>(this.store.dispatch((0,E.ac)({payload:d.m6.SEARCHING_INVOICE})),this.store.dispatch((0,I.QZ)({payload:{action:"Lookup",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.INVOICES_API+"/"+v.payload).pipe((0,M.U)(r=>(this.logger.info(r),this.store.dispatch((0,I.QZ)({payload:{action:"Lookup",status:d.Bn.COMPLETED}})),this.store.dispatch((0,E.uO)({payload:d.m6.SEARCHING_INVOICE})),this.store.dispatch((0,I.aL)({payload:r})),{type:d.lr.SET_LOOKUP_ECL,payload:r})),(0,m.K)(r=>(this.handleErrorWithoutAlert("Lookup",d.m6.SEARCHING_INVOICE,"Invoice Lookup Failed",r),this.store.dispatch((0,E.jW)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,y.of)({type:d.pg.VOID})))))))),this.setLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.SET_LOOKUP_ECL),(0,M.U)(v=>(this.logger.info(v.payload),v.payload))),{dispatch:!1}),this.pageSettingsFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_PAGE_SETTINGS_ECL),(0,A.z)(()=>(this.store.dispatch((0,I.QZ)({payload:{action:"FetchPageSettings",status:d.Bn.INITIATED}})),this.httpClient.get(d.vv.PAGE_SETTINGS_API).pipe((0,M.U)(v=>(this.logger.info(v),this.store.dispatch((0,I.QZ)({payload:{action:"FetchPageSettings",status:d.Bn.COMPLETED}})),{type:d.lr.SET_PAGE_SETTINGS_ECL,payload:v||[]})),(0,m.K)(v=>(this.handleErrorWithoutAlert("FetchPageSettings",d.m6.NO_SPINNER,"Fetching Page Settings Failed.",v),(0,y.of)({type:d.pg.VOID})))))))),this.savePageSettingsCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.SAVE_PAGE_SETTINGS_ECL),(0,A.z)(v=>(this.store.dispatch((0,E.ac)({payload:d.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,I.QZ)({payload:{action:"SavePageSettings",status:d.Bn.INITIATED}})),this.httpClient.post(d.vv.PAGE_SETTINGS_API,v.payload).pipe((0,M.U)(r=>(this.logger.info(r),this.store.dispatch((0,I.QZ)({payload:{action:"SavePageSettings",status:d.Bn.COMPLETED}})),this.store.dispatch((0,E.uO)({payload:d.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,E.jW)({payload:"Page Layout Updated Successfully!"})),{type:d.lr.SET_PAGE_SETTINGS_ECL,payload:r||[]})),(0,m.K)(r=>(this.handleErrorWithAlert("SavePageSettings",d.m6.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",d.vv.PAGE_SETTINGS_API,r),(0,y.of)({type:d.pg.VOID})))))))),this.handleSendPaymentStatus=v=>{this.store.dispatch((0,I.QZ)({payload:{action:"SendPayment",status:d.Bn.COMPLETED}})),this.store.dispatch((0,E.uO)({payload:d.m6.SEND_PAYMENT})),this.store.dispatch((0,I.TM)({payload:this.latestPaymentRes})),this.store.dispatch((0,I.UR)({payload:{fetchPayments:!0}})),this.store.dispatch((0,E.jW)({payload:v}))},this.store.select(k.yA).pipe((0,l.R)(this.unSubs[0])).subscribe(v=>{v.FetchInfo.status!==d.Bn.COMPLETED&&v.FetchInfo.status!==d.Bn.ERROR||v.FetchFees.status!==d.Bn.COMPLETED&&v.FetchFees.status!==d.Bn.ERROR||v.FetchOnchainBalance.status!==d.Bn.COMPLETED&&v.FetchOnchainBalance.status!==d.Bn.ERROR||v.FetchChannels.status!==d.Bn.COMPLETED&&v.FetchChannels.status!==d.Bn.ERROR||this.flgInitialized||(this.store.dispatch((0,E.uO)({payload:d.m6.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.eclWSMessages.pipe((0,l.R)(this.unSubs[1])).subscribe(v=>{this.logger.info("Received new message from the service: "+JSON.stringify(v));let r="";if(v)switch(v.type){case d.$v.PAYMENT_SENT:v&&v.id&&this.latestPaymentRes===v.id&&(this.flgReceivedPaymentUpdateFromWS=!0,r="Payment Sent: "+(v.paymentHash?"with payment hash "+v.paymentHash:JSON.stringify(v)),this.handleSendPaymentStatus(r));break;case d.$v.PAYMENT_FAILED:v&&v.id&&this.latestPaymentRes===v.id&&(this.flgReceivedPaymentUpdateFromWS=!0,r="Payment Failed: "+(v.failures&&v.failures.length&&v.failures.length>0&&v.failures[0].t?v.failures[0].t:v.failures&&v.failures.length&&v.failures.length>0&&v.failures[0].e&&v.failures[0].e.failureMessage?v.failures[0].e.failureMessage:JSON.stringify(v)),this.handleSendPaymentStatus(r));break;case d.$v.PAYMENT_RECEIVED:this.store.dispatch((0,I.aL)({payload:v}));break;case d.$v.PAYMENT_RELAYED:delete v.source,v.amountIn=Math.round((v.amountIn||0)/1e3),v.amountOut=Math.round((v.amountOut||0)/1e3),v.timestamp.unix&&(v.timestamp=1e3*v.timestamp.unix),this.store.dispatch((0,I.ti)({payload:v}));break;case d.$v.CHANNEL_STATE_CHANGED:"NORMAL"===v.currentState||"CLOSED"===v.currentState?(this.rawChannelsList=this.rawChannelsList?.map(g=>(g.channelId===v.channelId&&g.nodeId===v.remoteNodeId&&(g.state=v.currentState),g)),this.setChannelsAndStatusAndBalances()):this.store.dispatch((0,I.DJ)({payload:v}));break;default:this.logger.info("Received Event from WS: "+JSON.stringify(v))}})}setChannelsAndStatusAndBalances(){let he=0,S=0,n=0,s={localBalance:0,remoteBalance:0},f=[];const h=[],w=[],D={active:{channels:0,capacity:0},inactive:{channels:0,capacity:0},pending:{channels:0,capacity:0}};this.rawChannelsList.forEach((P,v)=>{P&&("NORMAL"===P.state?(he=(P.toLocal||0)+(P.toRemote||0),S+=P.toLocal||0,n+=P.toRemote||0,P.balancedness=0===he?1:+(1-Math.abs(((P.toLocal||0)-(P.toRemote||0))/he)).toFixed(3),f.push(P),D.active.channels=D.active.channels+1,D.active.capacity=D.active.capacity+(P.toLocal||0)):P.state?.includes("WAIT")||P.state?.includes("CLOSING")||P.state?.includes("SYNCING")?(P.state=P.state?.replace(/_/g," "),h.push(P),D.pending.channels=D.pending.channels+1,D.pending.capacity=D.pending.capacity+(P.toLocal||0)):(P.state=P.state?.replace(/_/g," "),w.push(P),D.inactive.channels=D.inactive.channels+1,D.inactive.capacity=D.inactive.capacity+(P.toLocal||0)))}),s={localBalance:S,remoteBalance:n},f=this.commonService.sortDescByKey(f,"balancedness"),this.logger.info("Active Channels: "+JSON.stringify(f)),this.logger.info("Pending Channels: "+JSON.stringify(h)),this.logger.info("Inactive Channels: "+JSON.stringify(w)),this.logger.info("Lightning Balances: "+JSON.stringify(s)),this.logger.info("Channels Status: "+JSON.stringify(D)),this.logger.info("Channel, status and balances: "+JSON.stringify({active:f,pending:h,inactive:w,balances:s,status:D})),this.store.dispatch((0,I.eN)({payload:f})),this.store.dispatch((0,I.TW)({payload:h})),this.store.dispatch((0,I.i)({payload:w})),this.store.dispatch((0,I.On)({payload:s})),this.store.dispatch((0,I.HG)({payload:D}))}initializeRemainingData(he,S){this.sessionService.setItem("eclUnlocked","true");const n={identity_pubkey:he.nodeId,alias:he.alias,testnet:"testnet"===he.network,chains:he.publicAddresses,uris:he.uris,version:he.version,numberOfPendingChannels:0};this.store.dispatch((0,E.ac)({payload:d.m6.INITALIZE_NODE_DATA})),this.store.dispatch((0,E._V)({payload:n}));let s=this.location.path();s.includes("/lnd/")?s=s?.replace("/lnd/","/ecl/"):s.includes("/cln/")&&(s=s?.replace("/cln/","/ecl/")),(s.includes("/login")||s.includes("/error")||""===s||"HOME"===S||s.includes("?access-key="))&&(s="/ecl/home"),this.router.navigate([s]),this.store.dispatch((0,I.WM)()),this.store.dispatch((0,I.UR)({payload:{fetchPayments:!0}})),this.store.dispatch((0,I.SN)()),this.store.dispatch((0,I.iL)()),this.store.dispatch((0,I.$W)())}handleErrorWithoutAlert(he,S,n,s){this.logger.error("ERROR IN: "+he+"\n"+JSON.stringify(s)),401===s.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,E.ts)()),this.store.dispatch((0,E.kS)()),this.store.dispatch((0,E.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,E.uO)({payload:S})),this.store.dispatch((0,I.QZ)({payload:{action:he,status:d.Bn.ERROR,statusCode:s.status.toString(),message:this.commonService.extractErrorMessage(s,n)}})))}handleErrorWithAlert(he,S,n,s,f){if(this.logger.error(f),401===f.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,E.ts)()),this.store.dispatch((0,E.kS)()),this.store.dispatch((0,E.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,E.uO)({payload:S}));const h=this.commonService.extractErrorMessage(f);this.store.dispatch((0,E.qR)({payload:{data:{type:"ERROR",alertTitle:n,message:{code:f.status,message:h,URL:s},component:O.H}}})),this.store.dispatch((0,I.QZ)({payload:{action:he,status:d.Bn.ERROR,statusCode:f.status.toString(),message:h,URL:s}}))}}ngOnDestroy(){this.unSubs.forEach(he=>{he.next(null),he.complete()})}static#e=this.\u0275fac=function(S){return new(S||xe)(V.LFG(e.eX),V.LFG(G.eN),V.LFG(j.yh),V.LFG(W.m),V.LFG(K.v),V.LFG(q.mQ),V.LFG(ie.F0),V.LFG(ae.d),V.LFG(ue.Ye))};static#t=this.\u0275prov=V.Yz7({token:xe,factory:xe.\u0275fac})}return xe})()},9930:(He,X,p)=>{"use strict";p.d(X,{Bo:()=>W,Ef:()=>j,JG:()=>E,LR:()=>y,PP:()=>d,T$:()=>M,Xz:()=>V,dx:()=>G,kY:()=>K,nF:()=>A,yA:()=>O,yD:()=>l});var e=p(4221);const t=(0,e.ZF)("ecl"),y=(0,e.P1)(t,q=>q.nodeSettings),A=(0,e.P1)(t,q=>({pageSettings:q.pageSettings,apiCallStatus:q.apisCallStatus.FetchPageSettings})),l=(0,e.P1)(t,q=>q.information),M=(0,e.P1)(t,q=>({information:q.information,apiCallStatus:q.apisCallStatus.FetchInfo})),O=((0,e.P1)(t,q=>q.apisCallStatus.FetchInfo),(0,e.P1)(t,q=>q.apisCallStatus)),d=(0,e.P1)(t,q=>({payments:q.payments,apiCallStatus:q.apisCallStatus.FetchPayments})),E=(0,e.P1)(t,q=>({fees:q.fees,apiCallStatus:q.apisCallStatus.FetchFees})),V=((0,e.P1)(t,q=>({activeChannels:q.activeChannels,apiCallStatus:q.apisCallStatus.FetchChannels})),(0,e.P1)(t,q=>({pendingChannels:q.pendingChannels,apiCallStatus:q.apisCallStatus.FetchChannels})),(0,e.P1)(t,q=>({inactiveChannels:q.inactiveChannels,apiCallStatus:q.apisCallStatus.FetchChannels})),(0,e.P1)(t,q=>({activeChannels:q.activeChannels,pendingChannels:q.pendingChannels,inactiveChannels:q.inactiveChannels,lightningBalance:q.lightningBalance,channelsStatus:q.channelsStatus,apiCallStatus:q.apisCallStatus.FetchChannels}))),G=(0,e.P1)(t,q=>({transactions:q.transactions,apiCallStatus:q.apisCallStatus.FetchTransactions})),j=(0,e.P1)(t,q=>({invoices:q.invoices,apiCallStatus:q.apisCallStatus.FetchInvoices})),W=(0,e.P1)(t,q=>({peers:q.peers,apiCallStatus:q.apisCallStatus.FetchPeers})),K=(0,e.P1)(t,q=>({onchainBalance:q.onchainBalance,apiCallStatus:q.apisCallStatus.FetchOnchainBalance}))},9671:(He,X,p)=>{"use strict";p.d(X,{R:()=>ye});var e=p(7700),t=p(590),y=p(8645),A=p(9773),l=p(2154),M=p(9930),m=p(9212),O=p(5980),d=p(6339),E=p(2939),x=p(4221),I=p(6814),k=p(5597),V=p(3814),G=p(7509),j=p(2296),W=p(5195),K=p(6385),q=p(5940),ie=p(2279),ae=p(7313),ue=p(6985);function re(fe,de){if(1&fe&&m._UZ(0,"qr-code",29),2&fe){const Ce=m.oxw();m.Q6J("value",null==Ce.invoice?null:Ce.invoice.serialized)("size",Ce.qrWidth)("errorCorrectionLevel","L")}}function xe(fe,de){1&fe&&(m.TgZ(0,"span",30),m._uU(1,"N/A"),m.qZA())}function $(fe,de){if(1&fe&&m._UZ(0,"qr-code",29),2&fe){const Ce=m.oxw();m.Q6J("value",null==Ce.invoice?null:Ce.invoice.serialized)("size",Ce.qrWidth)("errorCorrectionLevel","L")}}function he(fe,de){1&fe&&(m.TgZ(0,"span",31),m._uU(1,"QR Code Not Applicable"),m.qZA())}function S(fe,de){1&fe&&m._UZ(0,"mat-divider",32),2&fe&&m.Q6J("inset",!0)}function n(fe,de){1&fe&&(m.ynx(0),m._uU(1," (zero amount) "),m.BQk())}function s(fe,de){1&fe&&m._UZ(0,"span",38)}const f=()=>[];function h(fe,de){if(1&fe&&(m.TgZ(0,"div",34)(1,"div",35)(2,"span",36),m._uU(3),m.ALo(4,"number"),m.qZA(),m.YNc(5,s,1,0,"span",37),m.qZA()()),2&fe){const Ce=m.oxw(2);m.xp6(3),m.hij("",m.lcZ(4,2,null==Ce.invoice?null:Ce.invoice.amountSettled)," Sats"),m.xp6(2),m.Q6J("ngForOf",m.DdM(4,f).constructor(35))}}function w(fe,de){if(1&fe&&(m.TgZ(0,"div"),m._uU(1),m.ALo(2,"number"),m.qZA()),2&fe){const Ce=m.oxw(2);m.xp6(1),m.hij("",m.lcZ(2,1,null==Ce.invoice?null:Ce.invoice.amountSettled)," Sats")}}function D(fe,de){if(1&fe&&(m.ynx(0),m.YNc(1,h,6,5,"div",33)(2,w,3,3,"div",19),m.BQk()),2&fe){const Ce=m.oxw();m.xp6(1),m.Q6J("ngIf",Ce.flgInvoicePaid),m.xp6(1),m.Q6J("ngIf",!Ce.flgInvoicePaid)}}function P(fe,de){1&fe&&(m.TgZ(0,"span"),m._uU(1,"-"),m.qZA())}function v(fe,de){1&fe&&m._UZ(0,"mat-spinner",40),2&fe&&m.Q6J("diameter",20)}function r(fe,de){if(1&fe&&(m.ynx(0),m.YNc(1,P,2,0,"span",19)(2,v,1,1,"mat-spinner",39),m.BQk()),2&fe){const Ce=m.oxw();m.xp6(1),m.Q6J("ngIf","unpaid"!==(null==Ce.invoice?null:Ce.invoice.status)||!Ce.flgVersionCompatible),m.xp6(1),m.Q6J("ngIf","unpaid"===(null==Ce.invoice?null:Ce.invoice.status)&&Ce.flgVersionCompatible)}}function g(fe,de){if(1&fe&&(m.TgZ(0,"div"),m._UZ(1,"mat-divider",20),m.TgZ(2,"div",15)(3,"div",41)(4,"h4",17),m._uU(5,"Date Expiry"),m.qZA(),m.TgZ(6,"span",18),m._uU(7),m.ALo(8,"date"),m.qZA()(),m.TgZ(9,"div",42)(10,"h4",17),m._uU(11,"Date Settled"),m.qZA(),m.TgZ(12,"span",21),m._uU(13),m.ALo(14,"date"),m.qZA()()(),m._UZ(15,"mat-divider",20),m.TgZ(16,"div",15)(17,"div",22)(18,"h4",17),m._uU(19,"Payment Hash"),m.qZA(),m.TgZ(20,"span",21),m._uU(21),m.qZA()()(),m._UZ(22,"mat-divider",20),m.TgZ(23,"div",15)(24,"div",22)(25,"h4",17),m._uU(26,"Node ID"),m.qZA(),m.TgZ(27,"span",21),m._uU(28),m.qZA()()(),m._UZ(29,"mat-divider",20),m.qZA()),2&fe){const Ce=m.oxw();m.xp6(7),m.Oqu(m.xi3(8,4,1e3*(null==Ce.invoice?null:Ce.invoice.expiresAt),"dd/MMM/y HH:mm")),m.xp6(6),m.Oqu(m.xi3(14,7,1e3*(null==Ce.invoice?null:Ce.invoice.receivedAt),"dd/MMM/y HH:mm")),m.xp6(8),m.Oqu(null==Ce.invoice?null:Ce.invoice.paymentHash),m.xp6(7),m.Oqu(null==Ce.invoice?null:Ce.invoice.nodeId)}}function H(fe,de){1&fe&&(m.TgZ(0,"p"),m._uU(1,"Show Advanced"),m.qZA())}function N(fe,de){1&fe&&(m.TgZ(0,"p"),m._uU(1,"Hide Advanced"),m.qZA())}function te(fe,de){if(1&fe){const Ce=m.EpF();m.TgZ(0,"button",43),m.NdJ("copied",function(ge){m.CHM(Ce);const qe=m.oxw();return m.KtG(qe.onCopyPayment(ge))}),m._uU(1,"Copy Invoice"),m.qZA()}if(2&fe){const Ce=m.oxw();m.Q6J("payload",null==Ce.invoice?null:Ce.invoice.serialized)}}function De(fe,de){if(1&fe){const Ce=m.EpF();m.TgZ(0,"button",44),m.NdJ("click",function(){m.CHM(Ce);const ge=m.oxw();return m.KtG(ge.onClose())}),m._uU(1,"OK"),m.qZA()}}const st=fe=>({"display-none":fe}),je=fe=>({"xs-scroll-y":fe}),$e=(fe,de)=>({"mt-2":fe,"mt-1":de});let ye=(()=>{class fe{constructor(Ce,le,ge,qe,oe,ve){this.dialogRef=Ce,this.data=le,this.logger=ge,this.commonService=qe,this.snackBar=oe,this.store=ve,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 y.x,new y.x,new y.x,new y.x,new y.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(M.yD).pipe((0,A.R)(this.unSubs[0])).subscribe(Ce=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(Ce.version,"0.5.0")}),this.store.select(M.Ef).pipe((0,A.R)(this.unSubs[1])).subscribe(Ce=>{const le=this.invoice.status,qe=(Ce.invoices&&Ce.invoices.length>0?Ce.invoices:[])?.find(oe=>oe.paymentHash===this.invoice.paymentHash)||null;qe&&(this.invoice=qe),le!==this.invoice.status&&"received"===this.invoice.status&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(Ce)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(Ce){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+Ce)}ngOnDestroy(){this.unSubs.forEach(Ce=>{Ce.next(null),Ce.complete()})}static#e=this.\u0275fac=function(le){return new(le||fe)(m.Y36(e.so),m.Y36(e.WI),m.Y36(O.mQ),m.Y36(d.v),m.Y36(E.ux),m.Y36(x.yh))};static#t=this.\u0275cmp=m.Xpm({type:fe,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(le,ge){if(1&le&&(m.TgZ(0,"div",0)(1,"div",1),m.YNc(2,re,1,3,"qr-code",2)(3,xe,2,0,"span",3),m.qZA(),m.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),m._UZ(7,"fa-icon",7),m.TgZ(8,"span",8),m._uU(9),m.qZA()(),m.TgZ(10,"button",9),m.NdJ("click",function(){return ge.onClose()}),m._uU(11,"X"),m.qZA()(),m.TgZ(12,"mat-card-content",10)(13,"div",11)(14,"div",12),m.YNc(15,$,1,3,"qr-code",2)(16,he,2,0,"span",13),m.qZA(),m.YNc(17,S,1,1,"mat-divider",14),m.TgZ(18,"div",15)(19,"div",16)(20,"h4",17),m._uU(21,"Amount Requested"),m.qZA(),m.TgZ(22,"span",18),m._uU(23),m.ALo(24,"number"),m.YNc(25,n,2,0,"ng-container",19),m.qZA()(),m.TgZ(26,"div",16)(27,"h4",17),m._uU(28,"Amount Settled"),m.qZA(),m.TgZ(29,"span",18),m.YNc(30,D,3,2,"ng-container",19)(31,r,3,2,"ng-container",19),m.qZA()()(),m._UZ(32,"mat-divider",20),m.TgZ(33,"div",15)(34,"div",16)(35,"h4",17),m._uU(36,"Date Created"),m.qZA(),m.TgZ(37,"span",21),m._uU(38),m.ALo(39,"date"),m.qZA()(),m.TgZ(40,"div",16)(41,"h4",17),m._uU(42,"Status"),m.qZA(),m.TgZ(43,"span",21),m._uU(44),m.ALo(45,"titlecase"),m.qZA()()(),m._UZ(46,"mat-divider",20),m.TgZ(47,"div",15)(48,"div",22)(49,"h4",17),m._uU(50,"Description"),m.qZA(),m.TgZ(51,"span",18),m._uU(52),m.qZA()()(),m._UZ(53,"mat-divider",20),m.TgZ(54,"div",15)(55,"div",22)(56,"h4",17),m._uU(57,"Invoice"),m.qZA(),m.TgZ(58,"span",21),m._uU(59),m.qZA()()(),m.YNc(60,g,30,10,"div",19),m.TgZ(61,"div",23)(62,"button",24),m.NdJ("click",function(){return ge.onShowAdvanced()}),m.YNc(63,H,2,0,"p",25)(64,N,2,0,"ng-template",null,26,m.W1O),m.qZA(),m.YNc(66,te,2,1,"button",27)(67,De,2,0,"button",28),m.qZA()()()()()),2&le){const qe=m.MAs(65);m.xp6(1),m.Q6J("fxLayoutAlign",null!=ge.invoice&&ge.invoice.serialized&&""!==(null==ge.invoice?null:ge.invoice.serialized)?"center start":"center center")("ngClass",m.VKq(33,st,ge.screenSize===ge.screenSizeEnum.XS||ge.screenSize===ge.screenSizeEnum.SM)),m.xp6(1),m.Q6J("ngIf",(null==ge.invoice?null:ge.invoice.serialized)&&""!==(null==ge.invoice?null:ge.invoice.serialized)),m.xp6(1),m.Q6J("ngIf",!(null!=ge.invoice&&ge.invoice.serialized)||""===(null==ge.invoice?null:ge.invoice.serialized)),m.xp6(4),m.Q6J("icon",ge.faReceipt),m.xp6(2),m.Oqu(ge.screenSize===ge.screenSizeEnum.XS?ge.newlyAdded?"Created":"Invoice":ge.newlyAdded?"Invoice Created":"Invoice Information"),m.xp6(3),m.Q6J("ngClass",m.VKq(35,je,ge.screenSize===ge.screenSizeEnum.XS)),m.xp6(2),m.Q6J("fxLayoutAlign",null!=ge.invoice&&ge.invoice.serialized&&""!==(null==ge.invoice?null:ge.invoice.serialized)?"center start":"center center")("ngClass",m.VKq(37,st,ge.screenSize!==ge.screenSizeEnum.XS&&ge.screenSize!==ge.screenSizeEnum.SM)),m.xp6(1),m.Q6J("ngIf",(null==ge.invoice?null:ge.invoice.serialized)&&""!==(null==ge.invoice?null:ge.invoice.serialized)),m.xp6(1),m.Q6J("ngIf",!(null!=ge.invoice&&ge.invoice.serialized)||""===(null==ge.invoice?null:ge.invoice.serialized)),m.xp6(1),m.Q6J("ngIf",ge.screenSize===ge.screenSizeEnum.XS||ge.screenSize===ge.screenSizeEnum.SM),m.xp6(6),m.hij("",m.lcZ(24,26,(null==ge.invoice?null:ge.invoice.amount)||0)," Sats"),m.xp6(2),m.Q6J("ngIf",!(null!=ge.invoice&&ge.invoice.amount)||"0"===(null==ge.invoice?null:ge.invoice.amount)),m.xp6(5),m.Q6J("ngIf",null==ge.invoice?null:ge.invoice.amountSettled),m.xp6(1),m.Q6J("ngIf",!(null!=ge.invoice&&ge.invoice.amountSettled)),m.xp6(7),m.Oqu(m.xi3(39,28,1e3*(null==ge.invoice?null:ge.invoice.timestamp),"dd/MMM/y HH:mm")),m.xp6(6),m.Oqu(m.lcZ(45,31,null==ge.invoice?null:ge.invoice.status)),m.xp6(8),m.Oqu((null==ge.invoice?null:ge.invoice.description)||"-"),m.xp6(7),m.Oqu((null==ge.invoice?null:ge.invoice.serialized)||"N/A"),m.xp6(1),m.Q6J("ngIf",ge.showAdvanced),m.xp6(1),m.Q6J("ngClass",m.WLB(39,$e,!ge.showAdvanced,ge.showAdvanced)),m.xp6(2),m.Q6J("ngIf",!ge.showAdvanced)("ngIfElse",qe),m.xp6(3),m.Q6J("ngIf",(null==ge.invoice?null:ge.invoice.serialized)&&""!==(null==ge.invoice?null:ge.invoice.serialized)),m.xp6(1),m.Q6J("ngIf",!(null!=ge.invoice&&ge.invoice.serialized)||""===(null==ge.invoice?null:ge.invoice.serialized))}},dependencies:[I.mk,I.sg,I.O5,k.BN,V.xw,V.Wh,V.yH,G.oO,j.lW,W.dn,W.dk,K.d,q.Ou,ie.uU,ae.y,ue.h,I.JJ,I.rS,I.uU]})}return fe})()},9191:(He,X,p)=>{"use strict";p.d(X,{$A:()=>lt,$W:()=>x,BL:()=>P,B_:()=>De,Bl:()=>ue,CX:()=>E,Cp:()=>g,EK:()=>j,El:()=>k,Fr:()=>xt,HI:()=>ve,JT:()=>l,Jl:()=>re,Jo:()=>Pt,Lf:()=>le,Ll:()=>A,Ly:()=>ge,Nr:()=>ye,OG:()=>v,PC:()=>y,QJ:()=>We,RX:()=>ae,Rd:()=>W,Rv:()=>xe,SN:()=>ie,Sf:()=>Et,TW:()=>s,UH:()=>qe,UR:()=>he,Vv:()=>r,WM:()=>$e,WO:()=>Ft,Wi:()=>Ae,YP:()=>q,YX:()=>D,Z7:()=>n,Z8:()=>I,Zh:()=>f,_E:()=>mt,_L:()=>h,aL:()=>fe,as:()=>S,cQ:()=>oe,dV:()=>Ze,eF:()=>O,fu:()=>nt,kL:()=>Ct,ks:()=>$,mC:()=>Ce,n7:()=>Ke,oV:()=>ce,pW:()=>w,pd:()=>m,qY:()=>de,sQ:()=>d,tb:()=>te,u0:()=>J,vV:()=>st,wD:()=>M,xG:()=>Qe,y2:()=>ke,yZ:()=>Be,z:()=>G});var e=p(4221),t=p(2154);const y=(0,e.PH)(t.uR.UPDATE_API_CALL_STATUS_LND,(0,e.Ky)()),A=(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)()),M=(0,e.PH)(t.uR.FETCH_PAGE_SETTINGS_LND),m=(0,e.PH)(t.uR.SET_PAGE_SETTINGS_LND,(0,e.Ky)()),O=(0,e.PH)(t.uR.SAVE_PAGE_SETTINGS_LND,(0,e.Ky)()),d=(0,e.PH)(t.uR.FETCH_INFO_LND,(0,e.Ky)()),E=(0,e.PH)(t.uR.SET_INFO_LND,(0,e.Ky)()),x=(0,e.PH)(t.uR.FETCH_PEERS_LND),I=(0,e.PH)(t.uR.SET_PEERS_LND,(0,e.Ky)()),k=(0,e.PH)(t.uR.SAVE_NEW_PEER_LND,(0,e.Ky)()),G=((0,e.PH)(t.uR.NEWLY_ADDED_PEER_LND,(0,e.Ky)()),(0,e.PH)(t.uR.DETACH_PEER_LND,(0,e.Ky)())),j=(0,e.PH)(t.uR.REMOVE_PEER_LND,(0,e.Ky)()),W=(0,e.PH)(t.uR.SAVE_NEW_INVOICE_LND,(0,e.Ky)()),q=((0,e.PH)(t.uR.NEWLY_SAVED_INVOICE_LND,(0,e.Ky)()),(0,e.PH)(t.uR.ADD_INVOICE_LND,(0,e.Ky)())),ie=(0,e.PH)(t.uR.FETCH_FEES_LND),ae=(0,e.PH)(t.uR.SET_FEES_LND,(0,e.Ky)()),ue=(0,e.PH)(t.uR.FETCH_BLOCKCHAIN_BALANCE_LND),re=(0,e.PH)(t.uR.SET_BLOCKCHAIN_BALANCE_LND,(0,e.Ky)()),xe=(0,e.PH)(t.uR.FETCH_NETWORK_LND),$=(0,e.PH)(t.uR.SET_NETWORK_LND,(0,e.Ky)()),he=(0,e.PH)(t.uR.FETCH_CHANNELS_LND),S=(0,e.PH)(t.uR.SET_CHANNELS_LND,(0,e.Ky)()),n=(0,e.PH)(t.uR.FETCH_PENDING_CHANNELS_LND),s=(0,e.PH)(t.uR.SET_PENDING_CHANNELS_LND,(0,e.Ky)()),f=(0,e.PH)(t.uR.FETCH_CLOSED_CHANNELS_LND),h=(0,e.PH)(t.uR.SET_CLOSED_CHANNELS_LND,(0,e.Ky)()),w=(0,e.PH)(t.uR.UPDATE_CHANNEL_LND,(0,e.Ky)()),D=(0,e.PH)(t.uR.SAVE_NEW_CHANNEL_LND,(0,e.Ky)()),P=(0,e.PH)(t.uR.CLOSE_CHANNEL_LND,(0,e.Ky)()),v=(0,e.PH)(t.uR.REMOVE_CHANNEL_LND,(0,e.Ky)()),r=(0,e.PH)(t.uR.BACKUP_CHANNELS_LND,(0,e.Ky)()),g=(0,e.PH)(t.uR.VERIFY_CHANNEL_LND,(0,e.Ky)()),te=((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)),De=(0,e.PH)(t.uR.SET_RESTORE_CHANNELS_LIST_LND,(0,e.Ky)()),st=(0,e.PH)(t.uR.RESTORE_CHANNELS_LND,(0,e.Ky)()),$e=((0,e.PH)(t.uR.RESTORE_CHANNELS_RES_LND,(0,e.Ky)()),(0,e.PH)(t.uR.FETCH_INVOICES_LND,(0,e.Ky)())),ye=(0,e.PH)(t.uR.SET_INVOICES_LND,(0,e.Ky)()),fe=(0,e.PH)(t.uR.UPDATE_INVOICE_LND,(0,e.Ky)()),de=(0,e.PH)(t.uR.UPDATE_PAYMENT_LND,(0,e.Ky)()),Ce=(0,e.PH)(t.uR.FETCH_TRANSACTIONS_LND),le=(0,e.PH)(t.uR.SET_TRANSACTIONS_LND,(0,e.Ky)()),ge=(0,e.PH)(t.uR.FETCH_UTXOS_LND),qe=(0,e.PH)(t.uR.SET_UTXOS_LND,(0,e.Ky)()),oe=(0,e.PH)(t.uR.FETCH_PAYMENTS_LND,(0,e.Ky)()),ve=(0,e.PH)(t.uR.SET_PAYMENTS_LND,(0,e.Ky)()),ce=(0,e.PH)(t.uR.SEND_PAYMENT_LND,(0,e.Ky)()),Ze=((0,e.PH)(t.uR.SEND_PAYMENT_STATUS_LND,(0,e.Ky)()),(0,e.PH)(t.uR.FETCH_GRAPH_NODE_LND,(0,e.Ky)())),mt=((0,e.PH)(t.uR.SET_GRAPH_NODE_LND,(0,e.Ky)()),(0,e.PH)(t.uR.GET_NEW_ADDRESS_LND,(0,e.Ky)())),Ae=((0,e.PH)(t.uR.SET_NEW_ADDRESS_LND,(0,e.Ky)()),(0,e.PH)(t.uR.SET_CHANNEL_TRANSACTION_LND,(0,e.Ky)())),nt=((0,e.PH)(t.uR.SET_CHANNEL_TRANSACTION_RES_LND,(0,e.Ky)()),(0,e.PH)(t.uR.GEN_SEED_LND,(0,e.Ky)())),ke=((0,e.PH)(t.uR.GEN_SEED_RESPONSE_LND,(0,e.Ky)()),(0,e.PH)(t.uR.INIT_WALLET_LND,(0,e.Ky)())),Qe=((0,e.PH)(t.uR.INIT_WALLET_RESPONSE_LND,(0,e.Ky)()),(0,e.PH)(t.uR.UNLOCK_WALLET_LND,(0,e.Ky)())),Et=(0,e.PH)(t.uR.PEER_LOOKUP_LND,(0,e.Ky)()),lt=(0,e.PH)(t.uR.CHANNEL_LOOKUP_LND,(0,e.Ky)()),Ke=(0,e.PH)(t.uR.INVOICE_LOOKUP_LND,(0,e.Ky)()),Be=(0,e.PH)(t.uR.PAYMENT_LOOKUP_LND,(0,e.Ky)()),J=((0,e.PH)(t.uR.SET_LOOKUP_LND,(0,e.Ky)()),(0,e.PH)(t.uR.GET_FORWARDING_HISTORY_LND,(0,e.Ky)())),We=(0,e.PH)(t.uR.SET_FORWARDING_HISTORY_LND,(0,e.Ky)()),Ft=(0,e.PH)(t.uR.GET_QUERY_ROUTES_LND,(0,e.Ky)()),Ct=(0,e.PH)(t.uR.SET_QUERY_ROUTES_LND,(0,e.Ky)()),Pt=(0,e.PH)(t.uR.GET_ALL_LIGHTNING_TRANSATIONS_LND),xt=(0,e.PH)(t.uR.SET_ALL_LIGHTNING_TRANSATIONS_LND,(0,e.Ky)())},168:(He,X,p)=>{"use strict";p.d(X,{l:()=>$});var e=p(5154),t=p(8645),y=p(2096),A=p(1631),l=p(9773),M=p(7398),m=p(6306),O=p(2460),d=p(5456),E=p(3315),x=p(2154),I=p(9103),k=p(9191),V=p(7321),G=p(9212),j=p(9862),W=p(4221),K=p(5980),q=p(6339),ie=p(5813),ae=p(7700),ue=p(4190),re=p(2285),xe=p(6814);let $=(()=>{class he{constructor(n,s,f,h,w,D,P,v,r,g){this.actions=n,this.httpClient=s,this.store=f,this.logger=h,this.commonService=w,this.sessionService=D,this.dialog=P,this.router=v,this.wsService=r,this.location=g,this.CHILD_API_URL=x.T5+"/lnd",this.invoicesPageSettings=x.gK.find(H=>"transactions"===H.pageId)?.tables.find(H=>"invoices"===H.tableId),this.paymentsPageSettings=x.gK.find(H=>"transactions"===H.pageId)?.tables.find(H=>"payments"===H.tableId),this.flgInitialized=!1,this.unSubs=[new t.x,new t.x],this.infoFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.FETCH_INFO_LND),(0,A.z)(H=>(this.flgInitialized=!1,this.store.dispatch((0,I.lC)({payload:this.CHILD_API_URL})),this.store.dispatch((0,I.ts)()),this.store.dispatch((0,I.ac)({payload:x.m6.GET_NODE_INFO})),this.store.dispatch((0,k.PC)({payload:{action:"FetchInfo",status:x.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+x.vv.GETINFO_API).pipe((0,l.R)(this.actions.pipe((0,e.l4)(x.pg.SET_SELECTED_NODE))),(0,M.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,k.PC)({payload:{action:"FetchInfo",status:x.Bn.COMPLETED}})),this.store.dispatch((0,I.ts)()),this.store.dispatch((0,I.qR)({payload:{data:{type:x.n_.ERROR,alertTitle:"Shitcoin Found",titleMessage:"Sorry Not Sorry, RTL is Bitcoin Only!"}}})),{type:x.pg.LOGOUT}):N.identity_pubkey?(N.lnImplementation="LND",this.initializeRemainingData(N,H.payload.loadPage),this.store.dispatch((0,k.PC)({payload:{action:"FetchInfo",status:x.Bn.COMPLETED}})),this.store.dispatch((0,I.ts)()),{type:x.uR.SET_INFO_LND,payload:N||{}}):(this.store.dispatch((0,k.PC)({payload:{action:"FetchInfo",status:x.Bn.COMPLETED}})),this.store.dispatch((0,I.ts)()),this.sessionService.removeItem("lndUnlocked"),this.logger.info("Redirecting to Unlock"),this.router.navigate(["/lnd/wallet"]),{type:x.uR.SET_INFO_LND,payload:{}}))),(0,m.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",x.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,k.sQ)({payload:{loadPage:"HOME"}}))},2e3);else{const te=this.commonService.extractErrorCode(N),De=503===te?"Unable to Connect to LND Server.":this.commonService.extractErrorMessage(N);this.router.navigate(["/error"],{state:{errorCode:te,errorMessage:De}}),this.handleErrorWithoutAlert("FetchInfo",x.m6.GET_NODE_INFO,"Fetching Node Info Failed.",{status:te,error:De})}return(0,y.of)({type:x.pg.VOID})})))))),this.peersFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.FETCH_PEERS_LND),(0,A.z)(()=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchPeers",status:x.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+x.vv.PEERS_API).pipe((0,M.U)(H=>(this.logger.info(H),this.store.dispatch((0,k.PC)({payload:{action:"FetchPeers",status:x.Bn.COMPLETED}})),{type:x.uR.SET_PEERS_LND,payload:H||[]})),(0,m.K)(H=>(this.handleErrorWithoutAlert("FetchPeers",x.m6.NO_SPINNER,"Fetching Peers Failed.",H),(0,y.of)({type:x.pg.VOID})))))))),this.saveNewPeer=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.SAVE_NEW_PEER_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:x.m6.CONNECT_PEER})),this.store.dispatch((0,k.PC)({payload:{action:"SaveNewPeer",status:x.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+x.vv.PEERS_API,{pubkey:H.payload.pubkey,host:H.payload.host,perm:H.payload.perm}).pipe((0,M.U)(N=>(this.logger.info(N),this.store.dispatch((0,k.PC)({payload:{action:"SaveNewPeer",status:x.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:x.m6.CONNECT_PEER})),this.store.dispatch((0,k.Z8)({payload:N||[]})),{type:x.uR.NEWLY_ADDED_PEER_LND,payload:{peer:N[0]}})),(0,m.K)(N=>(this.handleErrorWithoutAlert("SaveNewPeer",x.m6.CONNECT_PEER,"Peer Connection Failed.",N),(0,y.of)({type:x.pg.VOID})))))))),this.detachPeer=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.DETACH_PEER_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:x.m6.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+x.vv.PEERS_API+"/"+H.payload.pubkey).pipe((0,M.U)(N=>(this.logger.info(N),this.store.dispatch((0,I.uO)({payload:x.m6.DISCONNECT_PEER})),this.store.dispatch((0,I.jW)({payload:"Peer Disconnected Successfully."})),{type:x.uR.REMOVE_PEER_LND,payload:{pubkey:H.payload.pubkey}})),(0,m.K)(N=>(this.handleErrorWithAlert("DetachPeer",x.m6.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+x.vv.PEERS_API+"/"+H.payload.pubkey,N),(0,y.of)({type:x.pg.VOID})))))))),this.saveNewInvoice=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.SAVE_NEW_INVOICE_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:H.payload.uiMessage})),this.store.dispatch((0,k.PC)({payload:{action:"SaveNewInvoice",status:x.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+x.vv.INVOICES_API,{memo:H.payload.memo,value:H.payload.value,private:H.payload.private,expiry:H.payload.expiry,is_amp:H.payload.is_amp}).pipe((0,M.U)(N=>(this.logger.info(N),this.store.dispatch((0,k.PC)({payload:{action:"SaveNewInvoice",status:x.Bn.COMPLETED}})),this.store.dispatch((0,k.WM)({payload:{num_max_invoices:H.payload.pageSize,reversed:!0}})),H.payload.openModal?(N.memo=H.payload.memo,N.value=H.payload.value,N.expiry=H.payload.expiry,N.private=H.payload.private,N.is_amp=H.payload.is_amp,N.cltv_expiry="144",N.creation_date=Math.round((new Date).getTime()/1e3).toString(),setTimeout(()=>{this.store.dispatch((0,I.qR)({payload:{data:{invoice:N,newlyAdded:!0,component:d.v}}}))},200),{type:x.pg.CLOSE_SPINNER,payload:H.payload.uiMessage}):{type:x.uR.NEWLY_SAVED_INVOICE_LND,payload:{paymentRequest:N.payment_request}})),(0,m.K)(N=>(this.handleErrorWithoutAlert("SaveNewInvoice",H.payload.uiMessage,"Add Invoice Failed.",N),(0,y.of)({type:x.pg.VOID})))))))),this.openNewChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.SAVE_NEW_CHANNEL_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:x.m6.OPEN_CHANNEL})),this.store.dispatch((0,k.PC)({payload:{action:"SaveNewChannel",status:x.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+x.vv.CHANNELS_API,{node_pubkey:H.payload.selectedPeerPubkey,local_funding_amount:H.payload.fundingAmount,private:H.payload.private,trans_type:H.payload.transType,trans_type_value:H.payload.transTypeValue,spend_unconfirmed:H.payload.spendUnconfirmed,commitment_type:H.payload.commitmentType}).pipe((0,M.U)(N=>(this.logger.info(N),this.store.dispatch((0,k.PC)({payload:{action:"SaveNewChannel",status:x.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:x.m6.OPEN_CHANNEL})),this.store.dispatch((0,k.Bl)()),this.store.dispatch((0,k.UR)()),this.store.dispatch((0,k.Vv)({payload:{uiMessage:x.m6.NO_SPINNER,channelPoint:"ALL",showMessage:"Channel Added Successfully!"}})),{type:x.uR.FETCH_PENDING_CHANNELS_LND})),(0,m.K)(N=>(this.handleErrorWithoutAlert("SaveNewChannel",x.m6.OPEN_CHANNEL,"Opening Channel Failed.",N),(0,y.of)({type:x.pg.VOID})))))))),this.updateChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.UPDATE_CHANNEL_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:x.m6.UPDATE_CHAN_POLICY})),this.httpClient.post(this.CHILD_API_URL+x.vv.CHANNELS_API+"/chanPolicy",{baseFeeMsat:H.payload.baseFeeMsat,feeRate:H.payload.feeRate,timeLockDelta:H.payload.timeLockDelta,max_htlc_msat:H.payload.maxHtlcMsat,min_htlc_msat:H.payload.minHtlcMsat,chanPoint:H.payload.chanPoint}).pipe((0,M.U)(N=>(this.logger.info(N),this.store.dispatch((0,I.uO)({payload:x.m6.UPDATE_CHAN_POLICY})),this.store.dispatch((0,I.jW)("all"===H.payload.chanPoint?{payload:"All Channels Updated Successfully."}:{payload:"Channel Updated Successfully!"})),{type:x.uR.FETCH_CHANNELS_LND})),(0,m.K)(N=>(this.handleErrorWithAlert("UpdateChannels",x.m6.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+x.vv.CHANNELS_API+"/chanPolicy",N),(0,y.of)({type:x.pg.VOID})))))))),this.closeChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.CLOSE_CHANNEL_LND),(0,A.z)(H=>{this.store.dispatch((0,I.ac)({payload:H.payload.forcibly?x.m6.FORCE_CLOSE_CHANNEL:x.m6.CLOSE_CHANNEL}));let N=this.CHILD_API_URL+x.vv.CHANNELS_API+"/"+H.payload.channelPoint+"?force="+H.payload.forcibly;return H.payload.targetConf&&(N=N+"&target_conf="+H.payload.targetConf),H.payload.satPerByte&&(N=N+"&sat_per_byte="+H.payload.satPerByte),this.httpClient.delete(N).pipe((0,M.U)(te=>(this.logger.info(te),this.store.dispatch((0,I.uO)({payload:H.payload.forcibly?x.m6.FORCE_CLOSE_CHANNEL:x.m6.CLOSE_CHANNEL})),this.store.dispatch((0,k.UR)()),this.store.dispatch((0,k.Z7)()),this.store.dispatch((0,k.Vv)({payload:{uiMessage:x.m6.NO_SPINNER,channelPoint:"ALL",showMessage:te.message}})),{type:x.pg.VOID})),(0,m.K)(te=>(this.handleErrorWithAlert("CloseChannel",H.payload.forcibly?x.m6.FORCE_CLOSE_CHANNEL:x.m6.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+x.vv.CHANNELS_API+"/"+H.payload.channelPoint+"?force="+H.payload.forcibly,te),(0,y.of)({type:x.pg.VOID}))))}))),this.backupChannels=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.BACKUP_CHANNELS_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:H.payload.uiMessage})),this.store.dispatch((0,k.PC)({payload:{action:"BackupChannels",status:x.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+x.vv.CHANNELS_BACKUP_API+"/"+H.payload.channelPoint).pipe((0,M.U)(N=>(this.logger.info(N),this.store.dispatch((0,k.PC)({payload:{action:"BackupChannels",status:x.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:H.payload.uiMessage})),this.store.dispatch((0,I.jW)({payload:H.payload.showMessage+" "+N.message})),{type:x.uR.BACKUP_CHANNELS_RES_LND,payload:N.message})),(0,m.K)(N=>(this.handleErrorWithAlert("BackupChannels",H.payload.uiMessage,H.payload.showMessage+" Unable to Backup Channel. Try again later.",this.CHILD_API_URL+x.vv.CHANNELS_BACKUP_API+"/"+H.payload.channelPoint,N),(0,y.of)({type:x.pg.VOID})))))))),this.verifyChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.VERIFY_CHANNEL_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:x.m6.VERIFY_CHANNEL})),this.store.dispatch((0,k.PC)({payload:{action:"VerifyChannel",status:x.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+x.vv.CHANNELS_BACKUP_API+"/verify/"+H.payload.channelPoint,{}).pipe((0,M.U)(N=>(this.logger.info(N),this.store.dispatch((0,k.PC)({payload:{action:"VerifyChannel",status:x.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:x.m6.VERIFY_CHANNEL})),this.store.dispatch((0,I.jW)({payload:N.message})),{type:x.uR.VERIFY_CHANNEL_RES_LND,payload:N.message})),(0,m.K)(N=>(this.handleErrorWithAlert("VerifyChannel",x.m6.VERIFY_CHANNEL,"Unable to Verify Channel. Try again later.",this.CHILD_API_URL+x.vv.CHANNELS_BACKUP_API+"/verify/"+H.payload.channelPoint,N),(0,y.of)({type:x.pg.VOID})))))))),this.restoreChannels=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.RESTORE_CHANNELS_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:x.m6.RESTORE_CHANNEL})),this.store.dispatch((0,k.PC)({payload:{action:"RestoreChannels",status:x.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+x.vv.CHANNELS_BACKUP_API+"/restore/"+H.payload.channelPoint,{}).pipe((0,M.U)(N=>(this.logger.info(N),this.store.dispatch((0,k.PC)({payload:{action:"RestoreChannels",status:x.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:x.m6.RESTORE_CHANNEL})),this.store.dispatch((0,I.jW)({payload:N.message})),this.store.dispatch((0,k.B_)({payload:N.list})),{type:x.uR.RESTORE_CHANNELS_RES_LND,payload:N.message})),(0,m.K)(N=>(this.handleErrorWithAlert("RestoreChannels",x.m6.RESTORE_CHANNEL,"Unable to Restore Channel. Try again later.",this.CHILD_API_URL+x.vv.CHANNELS_BACKUP_API+"/restore/"+H.payload.channelPoint,N),(0,y.of)({type:x.pg.VOID})))))))),this.fetchFees=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.FETCH_FEES_LND),(0,A.z)(()=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchFees",status:x.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+x.vv.FEES_API))),(0,M.U)(H=>(this.logger.info(H),this.store.dispatch((0,k.PC)({payload:{action:"FetchFees",status:x.Bn.COMPLETED}})),H.forwarding_events_history&&(this.store.dispatch((0,k.QJ)({payload:H.forwarding_events_history})),delete H.forwarding_events_history),{type:x.uR.SET_FEES_LND,payload:H||{}})),(0,m.K)(H=>(this.handleErrorWithoutAlert("FetchFees",x.m6.NO_SPINNER,"Fetching Fees Failed.",H),(0,y.of)({type:x.pg.VOID}))))),this.balanceBlockchainFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.FETCH_BLOCKCHAIN_BALANCE_LND),(0,A.z)(()=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchBalance",status:x.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+x.vv.BALANCE_API))),(0,M.U)(H=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchBalance",status:x.Bn.COMPLETED}})),this.logger.info(H),{type:x.uR.SET_BLOCKCHAIN_BALANCE_LND,payload:H||{total_balance:""}})),(0,m.K)(H=>(this.handleErrorWithoutAlert("FetchBalance",x.m6.NO_SPINNER,"Fetching Blockchain Balance Failed.",H),(0,y.of)({type:x.pg.VOID}))))),this.networkInfoFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.FETCH_NETWORK_LND),(0,A.z)(()=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchNetwork",status:x.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+x.vv.NETWORK_API+"/info"))),(0,M.U)(H=>(this.logger.info(H),this.store.dispatch((0,k.PC)({payload:{action:"FetchNetwork",status:x.Bn.COMPLETED}})),{type:x.uR.SET_NETWORK_LND,payload:H||{}})),(0,m.K)(H=>(this.handleErrorWithoutAlert("FetchNetwork",x.m6.NO_SPINNER,"Fetching Network Failed.",H),(0,y.of)({type:x.pg.VOID}))))),this.channelsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.FETCH_CHANNELS_LND),(0,A.z)(()=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchChannels",status:x.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+x.vv.CHANNELS_API).pipe((0,M.U)(H=>(this.logger.info(H),this.store.dispatch((0,k.PC)({payload:{action:"FetchChannels",status:x.Bn.COMPLETED}})),{type:x.uR.SET_CHANNELS_LND,payload:H.channels||[]})),(0,m.K)(H=>(this.handleErrorWithoutAlert("FetchChannels",x.m6.NO_SPINNER,"Fetching Channels Failed.",H),(0,y.of)({type:x.pg.VOID})))))))),this.channelsPendingFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.FETCH_PENDING_CHANNELS_LND),(0,A.z)(()=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchPendingChannels",status:x.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+x.vv.CHANNELS_API+"/pending").pipe((0,M.U)(H=>{this.logger.info(H),this.store.dispatch((0,k.PC)({payload:{action:"FetchPendingChannels",status:x.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 H&&(N.total_limbo_balance=H.total_limbo_balance,H.pending_closing_channels&&(N.closing.num_channels=H.pending_closing_channels.length,N.total_channels=N.total_channels+H.pending_closing_channels.length,H.pending_closing_channels.forEach(te=>{N.closing.limbo_balance=+N.closing.limbo_balance+(te.channel.local_balance?+te.channel.local_balance:0)})),H.pending_force_closing_channels&&(N.force_closing.num_channels=H.pending_force_closing_channels.length,N.total_channels=N.total_channels+H.pending_force_closing_channels.length,H.pending_force_closing_channels.forEach(te=>{N.force_closing.limbo_balance=+N.force_closing.limbo_balance+(te.channel.local_balance?+te.channel.local_balance:0)})),H.pending_open_channels&&(N.open.num_channels=H.pending_open_channels.length,N.total_channels=N.total_channels+H.pending_open_channels.length,H.pending_open_channels.forEach(te=>{N.open.limbo_balance=+N.open.limbo_balance+(te.channel.local_balance?+te.channel.local_balance:0)})),H.waiting_close_channels&&(N.waiting_close.num_channels=H.waiting_close_channels.length,N.total_channels=N.total_channels+H.waiting_close_channels.length,H.waiting_close_channels.forEach(te=>{N.waiting_close.limbo_balance=+N.waiting_close.limbo_balance+(te.channel.local_balance?+te.channel.local_balance:0)}))),{type:x.uR.SET_PENDING_CHANNELS_LND,payload:H?{pendingChannels:H,pendingChannelsSummary:N}:{pendingChannels:{},pendingChannelsSummary:N}}}),(0,m.K)(H=>(this.handleErrorWithoutAlert("FetchPendingChannels",x.m6.NO_SPINNER,"Fetching Pending Channels Failed.",H),(0,y.of)({type:x.pg.VOID})))))))),this.channelsClosedFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.FETCH_CLOSED_CHANNELS_LND),(0,A.z)(()=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchClosedChannels",status:x.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+x.vv.CHANNELS_API+"/closed").pipe((0,M.U)(H=>(this.logger.info(H),this.store.dispatch((0,k.PC)({payload:{action:"FetchClosedChannels",status:x.Bn.COMPLETED}})),{type:x.uR.SET_CLOSED_CHANNELS_LND,payload:H.channels||[]})),(0,m.K)(H=>(this.handleErrorWithoutAlert("FetchClosedChannels",x.m6.NO_SPINNER,"Fetching Closed Channels Failed.",H),(0,y.of)({type:x.pg.VOID})))))))),this.invoicesFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.FETCH_INVOICES_LND),(0,A.z)(H=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchInvoices",status:x.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+x.vv.INVOICES_API+"?num_max_invoices="+(H.payload.num_max_invoices?H.payload.num_max_invoices:100)+"&index_offset="+(H.payload.index_offset?H.payload.index_offset:0)+"&reversed="+(!!H.payload.reversed&&H.payload.reversed)).pipe((0,M.U)(st=>(this.logger.info(st),this.store.dispatch((0,k.PC)({payload:{action:"FetchInvoices",status:x.Bn.COMPLETED}})),H.payload.reversed&&!H.payload.index_offset&&(st.total_invoices=+(st.last_index_offset||0)),{type:x.uR.SET_INVOICES_LND,payload:st})),(0,m.K)(st=>(this.handleErrorWithoutAlert("FetchInvoices",x.m6.NO_SPINNER,"Fetching Invoices Failed.",st),(0,y.of)({type:x.pg.VOID})))))))),this.transactionsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.FETCH_TRANSACTIONS_LND),(0,A.z)(()=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchTransactions",status:x.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+x.vv.TRANSACTIONS_API))),(0,M.U)(H=>(this.logger.info(H),this.store.dispatch((0,k.PC)({payload:{action:"FetchTransactions",status:x.Bn.COMPLETED}})),{type:x.uR.SET_TRANSACTIONS_LND,payload:H||[]})),(0,m.K)(H=>(this.handleErrorWithoutAlert("FetchTransactions",x.m6.NO_SPINNER,"Fetching Transactions Failed.",H),(0,y.of)({type:x.pg.VOID}))))),this.utxosFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.FETCH_UTXOS_LND),(0,O.M)(this.store.select(V.Q5)),(0,A.z)(([H,N])=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchUTXOs",status:x.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+x.vv.WALLET_API+"/getUTXOs?max_confs="+(N&&N.block_height?N.block_height:1e9)))),(0,M.U)(H=>(this.logger.info(H),this.store.dispatch((0,k.PC)({payload:{action:"FetchUTXOs",status:x.Bn.COMPLETED}})),{type:x.uR.SET_UTXOS_LND,payload:H||[]})),(0,m.K)(H=>(this.handleErrorWithoutAlert("FetchUTXOs",x.m6.NO_SPINNER,"Fetching UTXOs Failed.",H),(0,y.of)({type:x.pg.VOID}))))),this.paymentsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.FETCH_PAYMENTS_LND),(0,A.z)(H=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchPayments",status:x.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+x.vv.PAYMENTS_API+"?max_payments="+(H.payload.max_payments?H.payload.max_payments:100)+"&index_offset="+(H.payload.index_offset?H.payload.index_offset:0)+"&reversed="+(!!H.payload.reversed&&H.payload.reversed)).pipe((0,M.U)(st=>(this.logger.info(st),this.store.dispatch((0,k.PC)({payload:{action:"FetchPayments",status:x.Bn.COMPLETED}})),this.commonService.sortByKey(st.payments||[],this.paymentsPageSettings?.sortBy||"creation_date","number",this.paymentsPageSettings?.sortOrder),{type:x.uR.SET_PAYMENTS_LND,payload:st})),(0,m.K)(st=>(this.handleErrorWithoutAlert("FetchPayments",x.m6.NO_SPINNER,"Fetching Payments Failed.",st),(0,y.of)({type:x.uR.SET_PAYMENTS_LND,payload:{payments:[]}})))))))),this.sendPayment=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.SEND_PAYMENT_LND),(0,A.z)(H=>{this.store.dispatch((0,I.ac)({payload:H.payload.uiMessage})),this.store.dispatch((0,k.PC)({payload:{action:"SendPayment",status:x.Bn.INITIATED}}));const N={};return N.paymentReq=H.payload.paymentReq,H.payload.paymentAmount&&(N.paymentAmount=H.payload.paymentAmount),H.payload.outgoingChannel&&(N.outgoingChannel=H.payload.outgoingChannel.chan_id),H.payload.allowSelfPayment&&(N.allowSelfPayment=H.payload.allowSelfPayment),H.payload.lastHopPubkey&&(N.lastHopPubkey=H.payload.lastHopPubkey),H.payload.feeLimitType&&H.payload.feeLimitType!==x.Vc[0].id&&(N.feeLimit={},N.feeLimit[H.payload.feeLimitType]=H.payload.feeLimit),this.httpClient.post(this.CHILD_API_URL+x.vv.CHANNELS_API+"/transactions",N).pipe((0,M.U)(te=>{if(this.logger.info(te),this.store.dispatch((0,I.uO)({payload:H.payload.uiMessage})),this.store.dispatch((0,k.PC)({payload:{action:"SendPayment",status:x.Bn.COMPLETED}})),te.payment_error)return H.payload.allowSelfPayment?(this.store.dispatch((0,k.WM)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}})),{type:x.uR.SEND_PAYMENT_STATUS_LND,payload:te}):(H.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",H.payload.uiMessage,"Send Payment Failed.",te.payment_error):this.handleErrorWithAlert("SendPayment",H.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+x.vv.CHANNELS_API+"/transactions",te.payment_error),{type:x.pg.VOID});if(this.store.dispatch((0,I.uO)({payload:H.payload.uiMessage})),this.store.dispatch((0,k.PC)({payload:{action:"SendPayment",status:x.Bn.COMPLETED}})),this.store.dispatch((0,k.UR)()),this.store.dispatch((0,k.cQ)({payload:{max_payments:this.paymentsPageSettings?.recordsPerPage,reversed:!0}})),H.payload.allowSelfPayment)this.store.dispatch((0,k.WM)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}}));else{let De="Payment Sent Successfully.";te.payment_route&&te.payment_route.total_fees_msat&&(De="Payment sent successfully with the total fee "+te.payment_route.total_fees_msat+" (mSats)."),this.store.dispatch((0,I.jW)({payload:De}))}return{type:x.uR.SEND_PAYMENT_STATUS_LND,payload:te}}),(0,m.K)(te=>(this.logger.error("Error: "+JSON.stringify(te)),H.payload.allowSelfPayment?(this.handleErrorWithoutAlert("SendPayment",H.payload.uiMessage,"Send Payment Failed.",te),this.store.dispatch((0,k.WM)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}})),(0,y.of)({type:x.uR.SEND_PAYMENT_STATUS_LND,payload:{error:this.commonService.extractErrorMessage(te)}})):(H.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",H.payload.uiMessage,"Send Payment Failed.",te):this.handleErrorWithAlert("SendPayment",H.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+x.vv.CHANNELS_API+"/transactions",te),(0,y.of)({type:x.pg.VOID})))))}))),this.graphNodeFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.FETCH_GRAPH_NODE_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:x.m6.GET_NODE_ADDRESS})),this.store.dispatch((0,k.PC)({payload:{action:"FetchGraphNode",status:x.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+x.vv.NETWORK_API+"/node/"+H.payload.pubkey).pipe((0,M.U)(N=>(this.logger.info(N),this.store.dispatch((0,I.uO)({payload:x.m6.GET_NODE_ADDRESS})),this.store.dispatch((0,k.PC)({payload:{action:"FetchGraphNode",status:x.Bn.COMPLETED}})),{type:x.uR.SET_GRAPH_NODE_LND,payload:N&&N.node?{node:N.node}:{node:null}})),(0,m.K)(N=>(this.handleErrorWithoutAlert("FetchGraphNode",x.m6.GET_NODE_ADDRESS,"Fetching Graph Node Failed.",N),(0,y.of)({type:x.pg.VOID})))))))),this.setGraphNode=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.SET_GRAPH_NODE_LND),(0,M.U)(H=>(this.logger.info(H.payload),H.payload))),{dispatch:!1}),this.getNewAddress=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.GET_NEW_ADDRESS_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:x.m6.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+x.vv.NEW_ADDRESS_API+"?type="+H.payload.addressId).pipe((0,M.U)(N=>(this.logger.info(N),this.store.dispatch((0,I.uO)({payload:x.m6.GENERATE_NEW_ADDRESS})),{type:x.uR.SET_NEW_ADDRESS_LND,payload:N&&N.address?N.address:{}})),(0,m.K)(N=>(this.handleErrorWithAlert("GetNewAddress",x.m6.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+x.vv.NEW_ADDRESS_API+"?type="+H.payload.addressId,N),(0,y.of)({type:x.pg.VOID})))))))),this.setNewAddress=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.SET_NEW_ADDRESS_LND),(0,M.U)(H=>(this.logger.info(H.payload),H.payload))),{dispatch:!1}),this.SetChannelTransaction=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.SET_CHANNEL_TRANSACTION_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:x.m6.SEND_FUNDS})),this.store.dispatch((0,k.PC)({payload:{action:"SetChannelTransaction",status:x.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+x.vv.TRANSACTIONS_API,{amount:H.payload.amount,address:H.payload.address,sendAll:H.payload.sendAll,fees:H.payload.fees,blocks:H.payload.blocks}).pipe((0,M.U)(N=>(this.logger.info(N),this.store.dispatch((0,k.PC)({payload:{action:"SetChannelTransaction",status:x.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:x.m6.SEND_FUNDS})),this.store.dispatch((0,k.mC)()),this.store.dispatch((0,k.Bl)()),this.store.dispatch((0,k.UR)()),{type:x.uR.SET_CHANNEL_TRANSACTION_RES_LND,payload:N})),(0,m.K)(N=>(this.handleErrorWithoutAlert("SetChannelTransaction",x.m6.SEND_FUNDS,"Sending Fund Failed.",N),(0,y.of)({type:x.pg.VOID})))))))),this.fetchForwardingHistory=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.GET_FORWARDING_HISTORY_LND),(0,A.z)(H=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchForwardingHistory",status:x.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+x.vv.SWITCH_API,{num_max_events:H.payload.num_max_events,index_offset:H.payload.index_offset,end_time:H.payload.end_time,start_time:H.payload.start_time}).pipe((0,M.U)(te=>(this.logger.info(te),this.store.dispatch((0,k.PC)({payload:{action:"FetchForwardingHistory",status:x.Bn.COMPLETED}})),{type:x.uR.SET_FORWARDING_HISTORY_LND,payload:te})),(0,m.K)(te=>(this.handleErrorWithAlert("FetchForwardingHistory",x.m6.NO_SPINNER,"Get Forwarding History Failed",this.CHILD_API_URL+x.vv.SWITCH_API,te),(0,y.of)({type:x.pg.VOID})))))))),this.queryRoutesFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.GET_QUERY_ROUTES_LND),(0,A.z)(H=>{let N=this.CHILD_API_URL+x.vv.NETWORK_API+"/routes/"+H.payload.destPubkey+"/"+H.payload.amount;return H.payload.outgoingChanId&&(N=N+"?outgoing_chan_id="+H.payload.outgoingChanId),this.httpClient.get(N).pipe((0,M.U)(te=>(this.logger.info(te),{type:x.uR.SET_QUERY_ROUTES_LND,payload:te})),(0,m.K)(te=>(this.store.dispatch((0,k.kL)({payload:{routes:[]}})),this.handleErrorWithAlert("GetQueryRoutes",x.m6.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+x.vv.NETWORK_API,te),(0,y.of)({type:x.pg.VOID}))))}))),this.setQueryRoutes=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.SET_QUERY_ROUTES_LND),(0,M.U)(H=>H.payload)),{dispatch:!1}),this.genSeed=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.GEN_SEED_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:x.m6.GEN_SEED})),this.httpClient.get(this.CHILD_API_URL+x.vv.WALLET_API+"/genseed/"+H.payload).pipe((0,M.U)(N=>(this.logger.info("Generated GenSeed!"),this.logger.info(N),this.store.dispatch((0,I.uO)({payload:x.m6.GEN_SEED})),{type:x.uR.GEN_SEED_RESPONSE_LND,payload:N.cipher_seed_mnemonic})),(0,m.K)(N=>(this.handleErrorWithAlert("GenSeed",x.m6.GEN_SEED,"Genseed Generation Failed",this.CHILD_API_URL+x.vv.WALLET_API+"/genseed/"+H.payload,N),(0,y.of)({type:x.pg.VOID})))))))),this.updateSelNodeOptions=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.pg.UPDATE_SELECTED_NODE_OPTIONS),(0,A.z)(()=>this.httpClient.get(this.CHILD_API_URL+x.vv.WALLET_API+"/updateSelNodeOptions").pipe((0,M.U)(H=>(this.logger.info("Update Sel Node Successfull"),this.logger.info(H),{type:x.pg.VOID})),(0,m.K)(H=>(this.handleErrorWithAlert("UpdateSelectedNodeOptions",x.m6.NO_SPINNER,"Update macaroon for newly initialized node failed! Please check the macaroon path and restart the server!","Update Macaroon",H),(0,y.of)({type:x.pg.VOID}))))))),this.genSeedResponse=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.GEN_SEED_RESPONSE_LND),(0,M.U)(H=>H.payload)),{dispatch:!1}),this.initWalletRes=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.INIT_WALLET_RESPONSE_LND),(0,M.U)(H=>H.payload)),{dispatch:!1}),this.initWallet=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.INIT_WALLET_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:x.m6.INITIALIZE_WALLET})),this.httpClient.post(this.CHILD_API_URL+x.vv.WALLET_API+"/wallet/initwallet",{wallet_password:H.payload.pwd,cipher_seed_mnemonic:H.payload.cipher?H.payload.cipher:"",aezeed_passphrase:H.payload.passphrase?H.payload.passphrase:""}).pipe((0,M.U)(N=>(this.logger.info(N),this.store.dispatch((0,I.uO)({payload:x.m6.INITIALIZE_WALLET})),{type:x.uR.INIT_WALLET_RESPONSE_LND,payload:N})),(0,m.K)(N=>(this.handleErrorWithAlert("InitWallet",x.m6.INITIALIZE_WALLET,"Wallet Initialization Failed",this.CHILD_API_URL+x.vv.WALLET_API+"/initwallet",N),(0,y.of)({type:x.pg.VOID})))))))),this.unlockWallet=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.UNLOCK_WALLET_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:x.m6.UNLOCK_WALLET})),this.httpClient.post(this.CHILD_API_URL+x.vv.WALLET_API+"/wallet/unlockwallet",{wallet_password:H.payload.pwd}).pipe((0,M.U)(N=>(this.logger.info(N),this.logger.info("Successfully Unlocked!"),this.sessionService.setItem("lndUnlocked","true"),this.store.dispatch((0,I.uO)({payload:x.m6.UNLOCK_WALLET})),this.store.dispatch((0,I.ac)({payload:x.m6.WAIT_SYNC_NODE})),setTimeout(()=>{this.store.dispatch((0,I.uO)({payload:x.m6.WAIT_SYNC_NODE})),this.store.dispatch((0,k.sQ)({payload:{loadPage:"HOME"}}))},5e3),{type:x.pg.VOID})),(0,m.K)(N=>(this.handleErrorWithAlert("UnlockWallet",x.m6.UNLOCK_WALLET,"Unlock Wallet Failed",this.CHILD_API_URL+x.vv.WALLET_API+"/unlockwallet",N),(0,y.of)({type:x.pg.VOID}))))))),{dispatch:!1}),this.peerLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.PEER_LOOKUP_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:x.m6.SEARCHING_NODE})),this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:x.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+x.vv.NETWORK_API+"/node/"+H.payload).pipe((0,M.U)(N=>(this.logger.info(N),this.store.dispatch((0,I.uO)({payload:x.m6.SEARCHING_NODE})),this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:x.Bn.COMPLETED}})),{type:x.uR.SET_LOOKUP_LND,payload:N})),(0,m.K)(N=>(this.handleErrorWithAlert("Lookup",x.m6.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+x.vv.NETWORK_API+"/node/"+H.payload,N),(0,y.of)({type:x.pg.VOID})))))))),this.channelLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.CHANNEL_LOOKUP_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:H.payload.uiMessage})),this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:x.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+x.vv.NETWORK_API+"/edge/"+H.payload.channelID).pipe((0,M.U)(N=>(this.logger.info(N),this.store.dispatch((0,I.uO)({payload:H.payload.uiMessage})),this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:x.Bn.COMPLETED}})),{type:x.uR.SET_LOOKUP_LND,payload:N})),(0,m.K)(N=>(this.handleErrorWithAlert("Lookup",H.payload.uiMessage,"Channel Lookup Failed",this.CHILD_API_URL+x.vv.NETWORK_API+"/edge/"+H.payload.channelID,N),(0,y.of)({type:x.pg.VOID})))))))),this.invoiceLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.INVOICE_LOOKUP_LND),(0,A.z)(H=>{this.store.dispatch((0,I.ac)({payload:x.m6.SEARCHING_INVOICE})),this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:x.Bn.INITIATED}}));let N=this.CHILD_API_URL+x.vv.INVOICES_API+"/lookup";return N=H.payload.paymentAddress&&""!==H.payload.paymentAddress?N+"?payment_addr="+H.payload.paymentAddress:N+"?payment_hash="+H.payload.paymentHash,this.httpClient.get(N).pipe((0,M.U)(te=>(this.logger.info(te),this.store.dispatch((0,I.uO)({payload:x.m6.SEARCHING_INVOICE})),this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:x.Bn.COMPLETED}})),this.store.dispatch((0,k.aL)({payload:te})),{type:x.uR.SET_LOOKUP_LND,payload:te})),(0,m.K)(te=>(this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:x.Bn.ERROR}})),this.handleErrorWithoutAlert("Lookup",x.m6.SEARCHING_INVOICE,"Invoice Lookup Failed",te),H.payload.openSnackBar&&this.store.dispatch((0,I.jW)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,y.of)({type:x.uR.SET_LOOKUP_LND,payload:{error:te}}))))}))),this.paymentLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.PAYMENT_LOOKUP_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:x.m6.SEARCHING_PAYMENT})),this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:x.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+x.vv.PAYMENTS_API+"/lookup/"+H.payload).pipe((0,M.U)(N=>(this.logger.info(N),this.store.dispatch((0,I.uO)({payload:x.m6.SEARCHING_PAYMENT})),this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:x.Bn.COMPLETED}})),this.store.dispatch((0,k.qY)({payload:N})),{type:x.uR.SET_LOOKUP_LND,payload:N})),(0,m.K)(N=>(this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:x.Bn.ERROR}})),this.handleErrorWithoutAlert("Lookup",x.m6.SEARCHING_PAYMENT,"Payment Lookup Failed",N),(0,y.of)({type:x.uR.SET_LOOKUP_LND,payload:{error:N}})))))))),this.setLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.SET_LOOKUP_LND),(0,M.U)(H=>(this.logger.info(H.payload),H.payload))),{dispatch:!1}),this.getRestoreChannelList=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.RESTORE_CHANNELS_LIST_LND),(0,A.z)(()=>(this.store.dispatch((0,k.PC)({payload:{action:"RestoreChannelsList",status:x.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+x.vv.CHANNELS_BACKUP_API+"/restore/list").pipe((0,M.U)(H=>(this.logger.info(H),this.store.dispatch((0,k.PC)({payload:{action:"RestoreChannelsList",status:x.Bn.COMPLETED}})),{type:x.uR.SET_RESTORE_CHANNELS_LIST_LND,payload:H||{all_restore_exists:!1,files:[]}})),(0,m.K)(H=>(this.handleErrorWithAlert("RestoreChannelsList",x.m6.NO_SPINNER,"Restore Channels List Failed",this.CHILD_API_URL+x.vv.CHANNELS_BACKUP_API,H),(0,y.of)({type:x.pg.VOID})))))))),this.setRestoreChannelList=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.SET_RESTORE_CHANNELS_LIST_LND),(0,M.U)(H=>(this.logger.info(H.payload),H.payload))),{dispatch:!1}),this.allLightningTransactionsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.GET_ALL_LIGHTNING_TRANSATIONS_LND),(0,A.z)(()=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchLightningTransactions",status:x.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+x.vv.PAYMENTS_API+"/alltransactions").pipe((0,M.U)(H=>(this.logger.info(H),this.store.dispatch((0,k.PC)({payload:{action:"FetchLightningTransactions",status:x.Bn.COMPLETED}})),{type:x.uR.SET_ALL_LIGHTNING_TRANSATIONS_LND,payload:H})),(0,m.K)(H=>(this.handleErrorWithoutAlert("FetchLightningTransactions",x.m6.NO_SPINNER,"Fetching All Lightning Transaction Failed.",H),(0,y.of)({type:x.pg.VOID})))))))),this.pageSettingsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.FETCH_PAGE_SETTINGS_LND),(0,A.z)(()=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchPageSettings",status:x.Bn.INITIATED}})),this.httpClient.get(x.vv.PAGE_SETTINGS_API).pipe((0,M.U)(H=>(this.logger.info(H),this.store.dispatch((0,k.PC)({payload:{action:"FetchPageSettings",status:x.Bn.COMPLETED}})),this.invoicesPageSettings=H&&Object.keys(H).length>0?H.find(N=>"transactions"===N.pageId)?.tables.find(N=>"invoices"===N.tableId):x.gK.find(N=>"transactions"===N.pageId)?.tables.find(N=>"invoices"===N.tableId),this.paymentsPageSettings=H&&Object.keys(H).length>0?H.find(N=>"transactions"===N.pageId)?.tables.find(N=>"payments"===N.tableId):x.gK.find(N=>"transactions"===N.pageId)?.tables.find(N=>"payments"===N.tableId),{type:x.uR.SET_PAGE_SETTINGS_LND,payload:H||[]})),(0,m.K)(H=>(this.handleErrorWithoutAlert("FetchPageSettings",x.m6.NO_SPINNER,"Fetching Page Settings Failed.",H),(0,y.of)({type:x.pg.VOID})))))))),this.savePageSettings=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(x.uR.SAVE_PAGE_SETTINGS_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:x.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,k.PC)({payload:{action:"SavePageSettings",status:x.Bn.INITIATED}})),this.httpClient.post(x.vv.PAGE_SETTINGS_API,H.payload).pipe((0,M.U)(N=>{this.logger.info(N),this.store.dispatch((0,k.PC)({payload:{action:"SavePageSettings",status:x.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:x.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,I.jW)({payload:"Page Layout Updated Successfully!"}));const te=(N.find(st=>"transactions"===st.pageId)?.tables.find(st=>"invoices"===st.tableId)||x.gK.find(st=>"transactions"===st.pageId)?.tables.find(st=>"invoices"===st.tableId)).recordsPerPage,De=(N.find(st=>"transactions"===st.pageId)?.tables.find(st=>"payments"===st.tableId)||x.gK.find(st=>"transactions"===st.pageId)?.tables.find(st=>"payments"===st.tableId)).recordsPerPage;return this.invoicesPageSettings&&te!==this.invoicesPageSettings?.recordsPerPage&&(this.invoicesPageSettings.recordsPerPage=te,this.store.dispatch((0,k.WM)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}}))),this.paymentsPageSettings&&De!==this.paymentsPageSettings?.recordsPerPage&&(this.paymentsPageSettings.recordsPerPage=De),{type:x.uR.SET_PAGE_SETTINGS_LND,payload:N||[]}}),(0,m.K)(N=>(this.handleErrorWithAlert("SavePageSettings",x.m6.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",x.vv.PAGE_SETTINGS_API,N),(0,y.of)({type:x.pg.VOID})))))))),this.store.select(V.yA).pipe((0,l.R)(this.unSubs[0])).subscribe(H=>{H.FetchInfo.status!==x.Bn.COMPLETED&&H.FetchInfo.status!==x.Bn.ERROR||H.FetchFees.status!==x.Bn.COMPLETED&&H.FetchFees.status!==x.Bn.ERROR||H.FetchBalanceBlockchain.status!==x.Bn.COMPLETED&&H.FetchBalanceBlockchain.status!==x.Bn.ERROR||H.FetchAllChannels.status!==x.Bn.COMPLETED&&H.FetchAllChannels.status!==x.Bn.ERROR||H.FetchPendingChannels.status!==x.Bn.COMPLETED&&H.FetchPendingChannels.status!==x.Bn.ERROR||this.flgInitialized||(this.store.dispatch((0,I.uO)({payload:x.m6.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.lndWSMessages.pipe((0,l.R)(this.unSubs[1])).subscribe(H=>{this.logger.info("Received new message from the service: "+JSON.stringify(H)),H&&(H.type===x.g8.INVOICE?(this.logger.info(H),H&&H.result&&H.result.payment_request&&this.store.dispatch((0,k.aL)({payload:H.result}))):this.logger.info("Received Event from WS: "+JSON.stringify(H)))})}initializeRemainingData(n,s){this.sessionService.setItem("lndUnlocked","true");const f={identity_pubkey:n.identity_pubkey,alias:n.alias,testnet:n.testnet,chains:n.chains,uris:n.uris,version:n.version?n.version.split(" ")[0]:""};this.store.dispatch((0,I.ac)({payload:x.m6.INITALIZE_NODE_DATA})),this.store.dispatch((0,I._V)({payload:f}));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"===s||h.includes("?access-key="))&&(h="/lnd/home"),this.router.navigate([h]),this.store.dispatch((0,k.Bl)()),this.store.dispatch((0,k.UR)()),this.store.dispatch((0,k.Z7)()),this.store.dispatch((0,k.Zh)()),this.store.dispatch((0,k.$W)()),this.store.dispatch((0,k.Rv)()),this.store.dispatch((0,k.SN)()),this.store.dispatch((0,k.cQ)({payload:{max_payments:1e5,reversed:!0}})),this.store.dispatch((0,k.WM)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}}))}handleErrorWithoutAlert(n,s,f,h){this.logger.error("ERROR IN: "+n+"\n"+JSON.stringify(h)),401===h.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,I.ts)()),this.store.dispatch((0,I.kS)()),this.store.dispatch((0,I.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,I.uO)({payload:s})),this.store.dispatch((0,k.PC)({payload:{action:n,status:x.Bn.ERROR,statusCode:h.status.toString(),message:this.commonService.extractErrorMessage(h,f)}})))}handleErrorWithAlert(n,s,f,h,w){if(this.logger.error(w),401===w.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,I.ts)()),this.store.dispatch((0,I.kS)()),this.store.dispatch((0,I.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,I.uO)({payload:s}));const D=this.commonService.extractErrorMessage(w);this.store.dispatch((0,I.qR)({payload:{data:{type:"ERROR",alertTitle:f,message:{code:w.status,message:D,URL:h},component:E.H}}})),this.store.dispatch((0,k.PC)({payload:{action:n,status:x.Bn.ERROR,statusCode:w.status.toString(),message:D,URL:h}}))}}ngOnDestroy(){this.unSubs.forEach(n=>{n.next(null),n.complete()})}static#e=this.\u0275fac=function(s){return new(s||he)(G.LFG(e.eX),G.LFG(j.eN),G.LFG(W.yh),G.LFG(K.mQ),G.LFG(q.v),G.LFG(ie.m),G.LFG(ae.uw),G.LFG(ue.F0),G.LFG(re.d),G.LFG(xe.Ye))};static#t=this.\u0275prov=G.Yz7({token:he,factory:he.\u0275fac})}return he})()},7321:(He,X,p)=>{"use strict";p.d(X,{$k:()=>y,Bo:()=>O,Ef:()=>k,JG:()=>E,N7:()=>ae,P2:()=>W,PP:()=>d,Pr:()=>A,Q5:()=>l,T4:()=>ie,Wi:()=>x,ZW:()=>V,_f:()=>re,bx:()=>xe,dx:()=>I,l5:()=>ue,ni:()=>j,qU:()=>K,yA:()=>m});var e=p(4221);const t=(0,e.ZF)("lnd"),y=(0,e.P1)(t,$=>$.nodeSettings),A=(0,e.P1)(t,$=>({pageSettings:$.pageSettings,apiCallStatus:$.apisCallStatus.FetchPageSettings})),l=(0,e.P1)(t,$=>$.information),m=((0,e.P1)(t,$=>({information:$.information,apiCallStatus:$.apisCallStatus.FetchInfo})),(0,e.P1)(t,$=>$.apisCallStatus)),O=(0,e.P1)(t,$=>({forwardingHistory:$.forwardingHistory,apiCallStatus:$.apisCallStatus.FetchForwardingHistory})),d=(0,e.P1)(t,$=>({listPayments:$.listPayments,apiCallStatus:$.apisCallStatus.FetchPayments})),E=(0,e.P1)(t,$=>({fees:$.fees,apiCallStatus:$.apisCallStatus.FetchFees})),x=(0,e.P1)(t,$=>({peers:$.peers,apiCallStatus:$.apisCallStatus.FetchPeers})),I=(0,e.P1)(t,$=>({transactions:$.transactions,apiCallStatus:$.apisCallStatus.FetchTransactions})),k=(0,e.P1)(t,$=>({listInvoices:$.listInvoices,apiCallStatus:$.apisCallStatus.FetchInvoices})),V=(0,e.P1)(t,$=>({channels:$.channels,channelsSummary:$.channelsSummary,lightningBalance:$.lightningBalance,apiCallStatus:$.apisCallStatus.FetchAllChannels})),j=((0,e.P1)(t,$=>({channelsSummary:$.channelsSummary,pendingChannels:$.pendingChannels,closedChannels:$.closedChannels,apiCallStatus:$.apisCallStatus.FetchAllChannels})),(0,e.P1)(t,$=>({pendingChannels:$.pendingChannels,pendingChannelsSummary:$.pendingChannelsSummary,apiCallStatus:$.apisCallStatus.FetchPendingChannels}))),W=(0,e.P1)(t,$=>({closedChannels:$.closedChannels,apiCallStatus:$.apisCallStatus.FetchClosedChannels})),K=(0,e.P1)(t,$=>({blockchainBalance:$.blockchainBalance,apiCallStatus:$.apisCallStatus.FetchBalanceBlockchain})),ie=((0,e.P1)(t,$=>({lightningBalance:$.lightningBalance,apiCallStatus:$.apisCallStatus.FetchAllChannels})),(0,e.P1)(t,$=>({utxos:$.utxos,apiCallStatus:$.apisCallStatus.FetchUTXOs}))),ae=(0,e.P1)(t,$=>({networkInfo:$.networkInfo,apiCallStatus:$.apisCallStatus.FetchNetwork})),ue=(0,e.P1)(t,$=>({allLightningTransactions:$.allLightningTransactions,apiCallStatus:$.apisCallStatus.FetchLightningTransactions})),re=(0,e.P1)(t,$=>({channels:$.channels,pendingChannels:$.pendingChannels,closedChannels:$.closedChannels})),xe=(0,e.P1)(t,$=>({information:$.information,nodeSettings:$.nodeSettings,apiCallStatus:$.apisCallStatus.FetchInfo}))},5456:(He,X,p)=>{"use strict";p.d(X,{v:()=>kt});var e=p(7700),t=p(590),y=p(8645),A=p(9773),l=p(2154),M=p(7321),m=p(9212),O=p(5980),d=p(6339),E=p(2939),x=p(4221),I=p(6814),k=p(5597),V=p(3814),G=p(7509),j=p(2296),W=p(5195),K=p(3305),q=p(617),ie=p(6385),ae=p(5940),ue=p(2596),re=p(2279),xe=p(7313),$=p(6985);const he=["scrollContainer"];function S(Ae,ze){if(1&Ae&&m._UZ(0,"qr-code",33),2&Ae){const nt=m.oxw();m.Q6J("value",null==nt.invoice?null:nt.invoice.payment_request)("size",nt.qrWidth)("errorCorrectionLevel","L")}}function n(Ae,ze){1&Ae&&(m.TgZ(0,"span",34),m._uU(1,"N/A"),m.qZA())}function s(Ae,ze){if(1&Ae&&m._UZ(0,"qr-code",33),2&Ae){const nt=m.oxw();m.Q6J("value",null==nt.invoice?null:nt.invoice.payment_request)("size",nt.qrWidth)("errorCorrectionLevel","L")}}function f(Ae,ze){1&Ae&&(m.TgZ(0,"span",35),m._uU(1,"QR Code Not Applicable"),m.qZA())}function h(Ae,ze){1&Ae&&m._UZ(0,"mat-divider",22),2&Ae&&m.Q6J("inset",!0)}function w(Ae,ze){1&Ae&&(m.ynx(0),m._uU(1," (zero amount) "),m.BQk())}function D(Ae,ze){1&Ae&&m._UZ(0,"span",41)}const P=()=>[];function v(Ae,ze){if(1&Ae&&(m.TgZ(0,"div",37)(1,"div",38)(2,"span",39),m._uU(3),m.ALo(4,"number"),m.qZA(),m.YNc(5,D,1,0,"span",40),m.qZA()()),2&Ae){const nt=m.oxw(2);m.xp6(3),m.hij("",m.lcZ(4,2,null==nt.invoice?null:nt.invoice.amt_paid_sat)," Sats"),m.xp6(2),m.Q6J("ngForOf",m.DdM(4,P).constructor(35))}}function r(Ae,ze){if(1&Ae&&(m.TgZ(0,"div"),m._uU(1),m.ALo(2,"number"),m.qZA()),2&Ae){const nt=m.oxw(2);m.xp6(1),m.hij("",m.lcZ(2,1,null==nt.invoice?null:nt.invoice.amt_paid_sat)," Sats")}}function g(Ae,ze){if(1&Ae&&(m.ynx(0),m.YNc(1,v,6,5,"div",36)(2,r,3,3,"div",21),m.BQk()),2&Ae){const nt=m.oxw();m.xp6(1),m.Q6J("ngIf",nt.flgInvoicePaid),m.xp6(1),m.Q6J("ngIf",!nt.flgInvoicePaid)}}function H(Ae,ze){1&Ae&&(m.TgZ(0,"span"),m._uU(1,"-"),m.qZA())}function N(Ae,ze){1&Ae&&m._UZ(0,"mat-spinner",43),2&Ae&&m.Q6J("diameter",20)}function te(Ae,ze){if(1&Ae&&(m.ynx(0),m.YNc(1,H,2,0,"span",21)(2,N,1,1,"mat-spinner",42),m.BQk()),2&Ae){const nt=m.oxw();m.xp6(1),m.Q6J("ngIf","OPEN"!==(null==nt.invoice?null:nt.invoice.state)||!nt.flgVersionCompatible),m.xp6(1),m.Q6J("ngIf","OPEN"===(null==nt.invoice?null:nt.invoice.state)&&nt.flgVersionCompatible)}}function De(Ae,ze){1&Ae&&m.GkF(0)}function st(Ae,ze){if(1&Ae&&(m.TgZ(0,"div"),m.YNc(1,De,1,0,"ng-container",44),m.qZA()),2&Ae){m.oxw();const nt=m.MAs(79);m.xp6(1),m.Q6J("ngTemplateOutlet",nt)}}function je(Ae,ze){if(1&Ae){const nt=m.EpF();m.TgZ(0,"div",45)(1,"button",46),m.NdJ("click",function(){m.CHM(nt);const ke=m.oxw();return m.KtG(ke.onScrollDown())}),m.TgZ(2,"mat-icon",47),m._uU(3,"arrow_downward"),m.qZA()()()}}function $e(Ae,ze){1&Ae&&(m.TgZ(0,"p"),m._uU(1,"Show Advanced"),m.qZA())}function ye(Ae,ze){1&Ae&&(m.TgZ(0,"p"),m._uU(1,"Hide Advanced"),m.qZA())}function fe(Ae,ze){if(1&Ae){const nt=m.EpF();m.TgZ(0,"button",48),m.NdJ("copied",function(ke){m.CHM(nt);const ct=m.oxw();return m.KtG(ct.onCopyPayment(ke))}),m._uU(1),m.qZA()}if(2&Ae){const nt=m.oxw();m.Q6J("payload",null==nt.invoice?null:nt.invoice.payment_request),m.xp6(1),m.Oqu(nt.screenSize===nt.screenSizeEnum.XS?"Copy Payment":"Copy Payment Request")}}function de(Ae,ze){if(1&Ae){const nt=m.EpF();m.TgZ(0,"button",49),m.NdJ("click",function(){m.CHM(nt);const ke=m.oxw();return m.KtG(ke.onClose())}),m._uU(1,"OK"),m.qZA()}}const Ce=Ae=>({"mr-0":Ae});function le(Ae,ze){if(1&Ae&&m._UZ(0,"span",64),2&Ae){const nt=m.oxw(4);m.Q6J("ngClass",m.VKq(1,Ce,nt.screenSize===nt.screenSizeEnum.XS))}}function ge(Ae,ze){if(1&Ae&&m._UZ(0,"span",65),2&Ae){const nt=m.oxw(4);m.Q6J("ngClass",m.VKq(1,Ce,nt.screenSize===nt.screenSizeEnum.XS))}}function qe(Ae,ze){if(1&Ae&&m._UZ(0,"span",66),2&Ae){const nt=m.oxw(4);m.Q6J("ngClass",m.VKq(1,Ce,nt.screenSize===nt.screenSizeEnum.XS))}}function oe(Ae,ze){if(1&Ae&&(m.TgZ(0,"div",53)(1,"div",58)(2,"span",59),m.YNc(3,le,1,3,"span",60)(4,ge,1,3,"span",61)(5,qe,1,3,"span",62),m._uU(6),m.qZA(),m.TgZ(7,"span",63),m._uU(8),m.ALo(9,"number"),m.qZA()(),m._UZ(10,"mat-divider",22),m.qZA()),2&Ae){const nt=ze.$implicit,et=m.oxw(3);m.xp6(3),m.Q6J("ngIf","SETTLED"===nt.state),m.xp6(1),m.Q6J("ngIf","ACCEPTED"===nt.state),m.xp6(1),m.Q6J("ngIf","CANCELED"===nt.state),m.xp6(1),m.hij(" ",nt.chan_id," "),m.xp6(2),m.Oqu(m.xi3(9,6,+nt.amt_msat/1e3||0,et.getDecimalFormat(nt))),m.xp6(2),m.Q6J("inset",!0)}}function ve(Ae,ze){if(1&Ae){const nt=m.EpF();m.TgZ(0,"div",17)(1,"mat-expansion-panel",51),m.NdJ("opened",function(){m.CHM(nt);const ke=m.oxw(2);return m.KtG(ke.flgOpened=!0)})("closed",function(){m.CHM(nt);const ke=m.oxw(2);return m.KtG(ke.onExpansionClosed())}),m.TgZ(2,"mat-expansion-panel-header")(3,"mat-panel-title")(4,"h4",52),m._uU(5,"HTLCs"),m.qZA()()(),m.TgZ(6,"div",53)(7,"div",54)(8,"span",55),m._uU(9,"Channel ID"),m.qZA(),m.TgZ(10,"span",56),m._uU(11,"Amount (Sats)"),m.qZA()(),m._UZ(12,"mat-divider",22),m.YNc(13,oe,11,9,"div",57),m.qZA()()()}if(2&Ae){const nt=m.oxw(2);m.xp6(12),m.Q6J("inset",!0),m.xp6(1),m.Q6J("ngForOf",null==nt.invoice?null:nt.invoice.htlcs)}}function ce(Ae,ze){1&Ae&&m._UZ(0,"mat-divider",22),2&Ae&&m.Q6J("inset",!0)}function Ge(Ae,ze){if(1&Ae&&(m._UZ(0,"mat-divider",22),m.TgZ(1,"div",17)(2,"div",23)(3,"h4",19),m._uU(4,"Preimage"),m.qZA(),m.TgZ(5,"span",24),m._uU(6),m.qZA()()(),m._UZ(7,"mat-divider",22),m.TgZ(8,"div",17)(9,"div",18)(10,"h4",19),m._uU(11,"State"),m.qZA(),m.TgZ(12,"span",24),m._uU(13),m.qZA()(),m.TgZ(14,"div",18)(15,"h4",19),m._uU(16,"Expiry"),m.qZA(),m.TgZ(17,"span",24),m._uU(18),m.ALo(19,"date"),m.qZA()()(),m._UZ(20,"mat-divider",22),m.TgZ(21,"div",17)(22,"div",18)(23,"h4",19),m._uU(24,"Private Routing Hints"),m.qZA(),m.TgZ(25,"span",24),m._uU(26),m.qZA()(),m.TgZ(27,"div",18)(28,"h4",19),m._uU(29,"AMP Invoice"),m.qZA(),m.TgZ(30,"span",24),m._uU(31),m.qZA()()(),m._UZ(32,"mat-divider",22),m.YNc(33,ve,14,2,"div",50)(34,ce,1,1,"mat-divider",14)),2&Ae){const nt=m.oxw();m.Q6J("inset",!0),m.xp6(6),m.Oqu((null==nt.invoice?null:nt.invoice.r_preimage)||"-"),m.xp6(1),m.Q6J("inset",!0),m.xp6(6),m.Oqu(null==nt.invoice?null:nt.invoice.state),m.xp6(5),m.Oqu(m.xi3(19,11,1e3*(+(null==nt.invoice?null:nt.invoice.creation_date)+ +(null==nt.invoice?null:nt.invoice.expiry)),"dd/MMM/y HH:mm")),m.xp6(2),m.Q6J("inset",!0),m.xp6(6),m.Oqu(null!=nt.invoice&&nt.invoice.private?"Yes":"No"),m.xp6(5),m.Oqu(null!=nt.invoice&&nt.invoice.is_amp?"Yes":"No"),m.xp6(1),m.Q6J("inset",!0),m.xp6(1),m.Q6J("ngIf",(null==nt.invoice?null:nt.invoice.htlcs)&&(null==nt.invoice?null:nt.invoice.htlcs.length)>0),m.xp6(1),m.Q6J("ngIf",(null==nt.invoice?null:nt.invoice.htlcs)&&(null==nt.invoice?null:nt.invoice.htlcs.length)>0)}}const Ze=Ae=>({"display-none":Ae}),wt=Ae=>({"xs-scroll-y":Ae}),mt=Ae=>({"h-50":Ae});let kt=(()=>{class Ae{set container(nt){nt&&(this.scrollContainer=nt)}constructor(nt,et,ke,ct,Qe,Et){this.dialogRef=nt,this.data=et,this.logger=ke,this.commonService=ct,this.snackBar=Qe,this.store=Et,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 y.x,new y.x,new y.x,new y.x,new y.x]}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(M.Q5).pipe((0,A.R)(this.unSubs[0])).subscribe(et=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(et.version,"0.11.0")});const nt=JSON.parse(JSON.stringify(this.invoice));this.store.select(M.Ef).pipe((0,A.R)(this.unSubs[1])).subscribe(et=>{const ke=this.invoice?.state,Qe=(et.listInvoices.invoices||[]).find(Et=>Et.r_hash===nt.r_hash)||null;Qe&&(this.invoice=Qe),ke!==this.invoice?.state&&"SETTLED"===this.invoice?.state&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(et)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced,this.flgOpened=!1}onScrollDown(){this.scrollContainer.nativeElement.scrollTop=this.scrollContainer.nativeElement.scrollTop+60}onExpansionClosed(){this.flgOpened=!1,this.scrollContainer.nativeElement.scrollTop=0}onCopyPayment(nt){this.snackBar.open("Payment request copied."),this.logger.info("Copied Text: "+nt)}getDecimalFormat(nt){return nt.amt_msat<1e3?"1.0-4":"1.0-0"}ngOnDestroy(){this.unSubs.forEach(nt=>{nt.next(null),nt.complete()})}static#e=this.\u0275fac=function(et){return new(et||Ae)(m.Y36(e.so),m.Y36(e.WI),m.Y36(O.mQ),m.Y36(d.v),m.Y36(E.ux),m.Y36(x.yh))};static#t=this.\u0275cmp=m.Xpm({type:Ae,selectors:[["rtl-invoice-information"]],viewQuery:function(et,ke){if(1&et&&m.Gf(he,5),2&et){let ct;m.iGM(ct=m.CRH())&&(ke.container=ct.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(et,ke){if(1&et&&(m.TgZ(0,"div",0)(1,"div",1),m.YNc(2,S,1,3,"qr-code",2)(3,n,2,0,"span",3),m.qZA(),m.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),m._UZ(7,"fa-icon",7),m.TgZ(8,"span",8),m._uU(9),m.qZA()(),m.TgZ(10,"button",9),m.NdJ("click",function(){return ke.onClose()}),m._uU(11,"X"),m.qZA()(),m.TgZ(12,"mat-card-content",10)(13,"div",11)(14,"div",12),m.YNc(15,s,1,3,"qr-code",2)(16,f,2,0,"span",13),m.qZA(),m.YNc(17,h,1,1,"mat-divider",14),m.TgZ(18,"div",15,16)(20,"div",17)(21,"div",18)(22,"h4",19),m._uU(23),m.qZA(),m.TgZ(24,"span",20),m._uU(25),m.ALo(26,"number"),m.YNc(27,w,2,0,"ng-container",21),m.qZA()(),m.TgZ(28,"div",18)(29,"h4",19),m._uU(30,"Amount Settled"),m.qZA(),m.TgZ(31,"span",20),m.YNc(32,g,3,2,"ng-container",21)(33,te,3,2,"ng-container",21),m.qZA()()(),m._UZ(34,"mat-divider",22),m.TgZ(35,"div",17)(36,"div",18)(37,"h4",19),m._uU(38,"Date Created"),m.qZA(),m.TgZ(39,"span",20),m._uU(40),m.ALo(41,"date"),m.qZA()(),m.TgZ(42,"div",18)(43,"h4",19),m._uU(44,"Date Settled"),m.qZA(),m.TgZ(45,"span",20),m._uU(46),m.ALo(47,"date"),m.qZA()()(),m._UZ(48,"mat-divider",22),m.TgZ(49,"div",17)(50,"div",23)(51,"h4",19),m._uU(52,"Memo"),m.qZA(),m.TgZ(53,"span",20),m._uU(54),m.qZA()()(),m._UZ(55,"mat-divider",22),m.TgZ(56,"div",17)(57,"div",23)(58,"h4",19),m._uU(59,"Payment Request"),m.qZA(),m.TgZ(60,"span",24),m._uU(61),m.qZA()()(),m._UZ(62,"mat-divider",22),m.TgZ(63,"div",17)(64,"div",23)(65,"h4",19),m._uU(66,"Payment Hash"),m.qZA(),m.TgZ(67,"span",24),m._uU(68),m.qZA()()(),m.YNc(69,st,2,1,"div",21),m.qZA()()(),m.YNc(70,je,4,0,"div",25),m.TgZ(71,"div",26)(72,"button",27),m.NdJ("click",function(){return ke.onShowAdvanced()}),m.YNc(73,$e,2,0,"p",28)(74,ye,2,0,"ng-template",null,29,m.W1O),m.qZA(),m.YNc(76,fe,2,2,"button",30)(77,de,2,0,"button",31),m.qZA()()(),m.YNc(78,Ge,35,14,"ng-template",null,32,m.W1O)),2&et){const ct=m.MAs(75);m.xp6(1),m.Q6J("fxLayoutAlign",null!=ke.invoice&&ke.invoice.payment_request&&""!==(null==ke.invoice?null:ke.invoice.payment_request)?"center start":"center center")("ngClass",m.VKq(41,Ze,ke.screenSize===ke.screenSizeEnum.XS||ke.screenSize===ke.screenSizeEnum.SM)),m.xp6(1),m.Q6J("ngIf",(null==ke.invoice?null:ke.invoice.payment_request)&&""!==(null==ke.invoice?null:ke.invoice.payment_request)),m.xp6(1),m.Q6J("ngIf",!(null!=ke.invoice&&ke.invoice.payment_request)||""===(null==ke.invoice?null:ke.invoice.payment_request)),m.xp6(4),m.Q6J("icon",ke.faReceipt),m.xp6(2),m.Oqu(ke.screenSize===ke.screenSizeEnum.XS?ke.newlyAdded?"Created":"Invoice":ke.newlyAdded?"Invoice Created":"Invoice Information"),m.xp6(3),m.Q6J("ngClass",m.VKq(43,wt,ke.screenSize===ke.screenSizeEnum.XS)),m.xp6(2),m.Q6J("fxLayoutAlign",null!=ke.invoice&&ke.invoice.payment_request&&""!==(null==ke.invoice?null:ke.invoice.payment_request)?"center start":"center center")("ngClass",m.VKq(45,Ze,ke.screenSize!==ke.screenSizeEnum.XS&&ke.screenSize!==ke.screenSizeEnum.SM)),m.xp6(1),m.Q6J("ngIf",(null==ke.invoice?null:ke.invoice.payment_request)&&""!==(null==ke.invoice?null:ke.invoice.payment_request)),m.xp6(1),m.Q6J("ngIf",!(null!=ke.invoice&&ke.invoice.payment_request)||""===(null==ke.invoice?null:ke.invoice.payment_request)),m.xp6(1),m.Q6J("ngIf",ke.screenSize===ke.screenSizeEnum.XS||ke.screenSize===ke.screenSizeEnum.SM),m.xp6(1),m.Q6J("ngClass",m.VKq(47,mt,(null==ke.invoice?null:ke.invoice.htlcs)&&(null==ke.invoice?null:ke.invoice.htlcs.length)>0&&ke.showAdvanced)),m.xp6(5),m.Oqu(ke.screenSize===ke.screenSizeEnum.XS?"Amount":"Amount Requested"),m.xp6(2),m.hij("",m.lcZ(26,33,(null==ke.invoice?null:ke.invoice.value)||0)," Sats"),m.xp6(2),m.Q6J("ngIf",!(null!=ke.invoice&&ke.invoice.value)||"0"===(null==ke.invoice?null:ke.invoice.value)),m.xp6(5),m.Q6J("ngIf",(null==ke.invoice?null:ke.invoice.amt_paid_sat)&&"OPEN"!==(null==ke.invoice?null:ke.invoice.state)),m.xp6(1),m.Q6J("ngIf",!(null!=ke.invoice&&ke.invoice.amt_paid_sat)||"0"===(null==ke.invoice?null:ke.invoice.amt_paid_sat)),m.xp6(1),m.Q6J("inset",!0),m.xp6(6),m.Oqu(m.xi3(41,35,1e3*(null==ke.invoice?null:ke.invoice.creation_date),"dd/MMM/y HH:mm")),m.xp6(6),m.Oqu(0!=+(null==ke.invoice?null:ke.invoice.settle_date)?m.xi3(47,38,1e3*+(null==ke.invoice?null:ke.invoice.settle_date),"dd/MMM/y HH:mm"):"-"),m.xp6(2),m.Q6J("inset",!0),m.xp6(6),m.Oqu(null==ke.invoice?null:ke.invoice.memo),m.xp6(1),m.Q6J("inset",!0),m.xp6(6),m.Oqu((null==ke.invoice?null:ke.invoice.payment_request)||"N/A"),m.xp6(1),m.Q6J("inset",!0),m.xp6(6),m.Oqu((null==ke.invoice?null:ke.invoice.r_hash)||""),m.xp6(1),m.Q6J("ngIf",ke.showAdvanced),m.xp6(1),m.Q6J("ngIf",(null==ke.invoice?null:ke.invoice.htlcs)&&(null==ke.invoice?null:ke.invoice.htlcs.length)>0&&ke.showAdvanced&&ke.flgOpened),m.xp6(3),m.Q6J("ngIf",!ke.showAdvanced)("ngIfElse",ct),m.xp6(3),m.Q6J("ngIf",(null==ke.invoice?null:ke.invoice.payment_request)&&""!==(null==ke.invoice?null:ke.invoice.payment_request)),m.xp6(1),m.Q6J("ngIf",!(null!=ke.invoice&&ke.invoice.payment_request)||""===(null==ke.invoice?null:ke.invoice.payment_request))}},dependencies:[I.mk,I.sg,I.O5,I.tP,k.BN,V.xw,V.Wh,V.yH,G.oO,j.lW,j.nh,W.dn,W.dk,K.ib,K.yz,K.yK,q.Hw,ie.d,ae.Ou,ue.gM,re.uU,xe.y,$.h,I.JJ,I.uU]})}return Ae})()},8291:(He,X,p)=>{"use strict";p.d(X,{J:()=>y,_:()=>t});var e=p(6825);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}))])])],y=[(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%)"})]))])])]},5256:(He,X,p)=>{"use strict";p.d(X,{g:()=>t});var e=p(6825);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})])])])},3214:(He,X,p)=>{"use strict";p.d(X,{l:()=>t});var e=p(6825);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%)"}))])])]},3315:(He,X,p)=>{"use strict";p.d(X,{H:()=>x});var e=p(7700),t=p(9212),y=p(5980),A=p(6814),l=p(3814),M=p(2296),m=p(5195),O=p(6385),d=p(6985);function E(I,k){if(1&I&&(t.TgZ(0,"p",14),t._uU(1),t.qZA()),2&I){const V=t.oxw();t.xp6(1),t.Oqu(V.data.titleMessage)}}let x=(()=>{class I{constructor(V,G,j){this.dialogRef=V,this.data=G,this.logger=j,this.errorMessage=""}ngOnInit(){this.errorMessage=this.data.message&&this.data.message.message&&"object"==typeof this.data.message.message?JSON.stringify(this.data.message.message):this.data.message&&this.data.message.message?this.data.message.message:"",!this.data.message&&!this.data.titleMessage&&!this.data.message&&(this.data.titleMessage="Please Check Server Connection"),this.logger.info(this.data.message)}onClose(){this.dialogRef.close(!1)}static#e=this.\u0275fac=function(G){return new(G||I)(t.Y36(e.so),t.Y36(e.WI),t.Y36(y.mQ))};static#t=this.\u0275cmp=t.Xpm({type:I,selectors:[["rtl-error-message"]],decls:29,vars:6,consts:[["fxLayout","row"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large","error-alert-block"],["fxLayout","column"],["fxLayoutAlign","start center","class","pb-1",4,"ngIf"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"w-100","my-1"],[1,"word-break"],["fxLayout","row","fxLayoutAlign","end center"],["tabindex","1","autoFocus","","mat-button","","color","primary","type","submit","default","",3,"mat-dialog-close"],["fxLayoutAlign","start center",1,"pb-1"]],template:function(G,j){1&G&&(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 j.onClose()}),t._uU(7,"X"),t.qZA()(),t.TgZ(8,"mat-card-content",6)(9,"div",7),t.YNc(10,E,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&G&&(t.xp6(5),t.Oqu(j.data.alertTitle||"ERROR"),t.xp6(5),t.Q6J("ngIf",j.data.titleMessage),t.xp6(4),t.Oqu(j.data.message.code),t.xp6(5),t.Oqu(j.errorMessage),t.xp6(5),t.Oqu(j.data.message.URL),t.xp6(3),t.Q6J("mat-dialog-close",!1))},dependencies:[A.O5,l.xw,l.Wh,l.yH,e.ZT,M.lW,m.dn,m.dk,O.d,d.h],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]})}return I})()},5487:(He,X,p)=>{"use strict";p.d(X,{a:()=>sn});var e=p(6223),t=p(8645),y=p(9773),A=p(7700),l=p(590),M=p(8291),m=p(2154),O=p(7321),d=p(9212),E=p(4221),x=p(3149),I=p(6814),k=p(5980),V=p(4190),G=p(6339),j=p(3814),W=p(7509),K=p(2296),q=p(5195),ie=p(3305),ae=p(617),ue=p(2032),re=p(5683),xe=p(6007),$=p(7466),he=p(2599),S=p(2596),n=p(8257),s=p(6985),f=p(6385);function h(ot,si){1&ot&&d.GkF(0)}function w(ot,si){1&ot&&d.GkF(0)}const D=ot=>({"h-5":ot});function P(ot,si){if(1&ot&&(d.TgZ(0,"mat-expansion-panel",3)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",4),d._uU(4),d.ALo(5,"number"),d.qZA()()(),d.YNc(6,w,1,0,"ng-container",0),d.qZA()),2&ot){const we=d.oxw(),St=d.MAs(4);d.Q6J("expanded",we.panelExpanded)("ngClass",d.VKq(7,D,!we.flgShowPanel)),d.xp6(4),d.AsE("Quote for ",we.termCaption," amount (",d.lcZ(5,5,we.quote.amount)," Sats)"),d.xp6(2),d.Q6J("ngTemplateOutlet",St)}}function v(ot,si){if(1&ot&&(d.TgZ(0,"div",19)(1,"h4",8),d._uU(2," Prepay Amount (Sats) "),d.TgZ(3,"mat-icon",20),d._uU(4,"info_outline"),d.qZA()(),d.TgZ(5,"span",10),d._uU(6),d.ALo(7,"number"),d.qZA()()),2&ot){const we=d.oxw(2);d.xp6(6),d.Oqu(d.lcZ(7,1,null==we.quote?null:we.quote.prepay_amt_sat))}}function r(ot,si){1&ot&&d._UZ(0,"mat-divider",13)}function g(ot,si){if(1&ot&&(d.TgZ(0,"div",6)(1,"div",21)(2,"h4",8),d._uU(3," Swap Server Node Pubkey "),d.TgZ(4,"mat-icon",22),d._uU(5,"info_outline"),d.qZA()(),d.TgZ(6,"span",10),d._uU(7),d.qZA()()()),2&ot){const we=d.oxw(2);d.xp6(7),d.Oqu(null==we.quote?null:we.quote.swap_payment_dest)}}function H(ot,si){if(1&ot&&(d.TgZ(0,"div",5)(1,"div",6)(2,"div",7)(3,"h4",8),d._uU(4," Swap Fee (Sats) "),d.TgZ(5,"mat-icon",9),d._uU(6,"info_outline"),d.qZA()(),d.TgZ(7,"span",10),d._uU(8),d.ALo(9,"number"),d.qZA()(),d.TgZ(10,"div",7)(11,"h4",8),d._uU(12),d.TgZ(13,"mat-icon",11),d._uU(14,"info_outline"),d.qZA()(),d.TgZ(15,"span",10),d._uU(16),d.ALo(17,"number"),d.qZA()(),d.YNc(18,v,8,3,"div",12),d.qZA(),d._UZ(19,"mat-divider",13),d.TgZ(20,"div",6)(21,"div",14)(22,"h4",8),d._uU(23," Max Off-chain Swap Routing Fee (Sats) "),d.TgZ(24,"mat-icon",15),d._uU(25,"info_outline"),d.qZA()(),d.TgZ(26,"span",10),d._uU(27),d.ALo(28,"number"),d.qZA()(),d.TgZ(29,"div",14)(30,"h4",8),d._uU(31," Max Off-chain Prepay Routing Fee (Sats) "),d.TgZ(32,"mat-icon",16),d._uU(33,"info_outline"),d.qZA()(),d.TgZ(34,"span",10),d._uU(35,"36"),d.qZA()()(),d.YNc(36,r,1,0,"mat-divider",17)(37,g,8,1,"div",18),d.qZA()),2&ot){const we=d.oxw();d.xp6(2),d.Q6J("fxFlex",null!=we.quote&&we.quote.prepay_amt_sat?"30":"50"),d.xp6(6),d.Oqu(d.lcZ(9,9,null==we.quote?null:we.quote.swap_fee_sat)),d.xp6(2),d.Q6J("fxFlex",null!=we.quote&&we.quote.prepay_amt_sat?"35":"50"),d.xp6(2),d.hij(" ",null!=we.quote&&we.quote.htlc_sweep_fee_sat?"HTLC Sweep Fee (Sats)":null!=we.quote&&we.quote.htlc_publish_fee_sat?"HTLC Publish Fee (Sats)":""," "),d.xp6(4),d.Oqu(d.lcZ(17,11,null!=we.quote&&we.quote.htlc_sweep_fee_sat?we.quote.htlc_sweep_fee_sat:null!=we.quote&&we.quote.htlc_publish_fee_sat?we.quote.htlc_publish_fee_sat:0)),d.xp6(2),d.Q6J("ngIf",null==we.quote?null:we.quote.prepay_amt_sat),d.xp6(9),d.Oqu(d.lcZ(28,13,(null==we.quote?null:we.quote.amount)*((null!=we.quote&&we.quote.off_chain_swap_routing_fee_percentage?null==we.quote?null:we.quote.off_chain_swap_routing_fee_percentage:2)/100))),d.xp6(9),d.Q6J("ngIf",""!==(null==we.quote?null:we.quote.swap_payment_dest)),d.xp6(1),d.Q6J("ngIf",""!==(null==we.quote?null:we.quote.swap_payment_dest))}}let N=(()=>{class ot{constructor(){this.quote={},this.termCaption="",this.showPanel=!0,this.panelExpanded=!1,this.flgShowPanel=!1}ngOnInit(){setTimeout(()=>{this.flgShowPanel=!0},1200)}static#e=this.\u0275fac=function(St){return new(St||ot)};static#t=this.\u0275cmp=d.Xpm({type:ot,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(St,zt){if(1&St&&d.YNc(0,h,1,0,"ng-container",0)(1,P,7,9,"ng-template",null,1,d.W1O)(3,H,38,15,"ng-template",null,2,d.W1O),2&St){const Dt=d.MAs(2),Lt=d.MAs(4);d.Q6J("ngTemplateOutlet",zt.showPanel?Dt:Lt)}},dependencies:[I.mk,I.O5,I.tP,j.xw,j.Wh,j.yH,W.oO,ie.ib,ie.yz,ie.yK,ae.Hw,f.d,S.gM,I.JJ]})}return ot})();function te(ot,si){1&ot&&d.GkF(0)}function De(ot,si){if(1&ot&&(d.TgZ(0,"div",3)(1,"span",4),d._uU(2),d.qZA()()),2&ot){const we=d.oxw();d.xp6(2),d.Oqu(null!=we.loopStatus&&we.loopStatus.error?null==we.loopStatus?null:we.loopStatus.error:"Unknown Error.")}}function st(ot,si){if(1&ot&&(d.TgZ(0,"div",3)(1,"div",5)(2,"div",6)(3,"h4",7),d._uU(4,"ID"),d.qZA(),d.TgZ(5,"span",4),d._uU(6),d.qZA()()(),d._UZ(7,"mat-divider",8),d.TgZ(8,"div",5)(9,"div",6)(10,"h4",7),d._uU(11,"HTLC Address"),d.qZA(),d.TgZ(12,"span",4),d._uU(13),d.qZA()()()()),2&ot){const we=d.oxw();d.xp6(6),d.Oqu(null==we.loopStatus?null:we.loopStatus.id_bytes),d.xp6(7),d.Oqu(null==we.loopStatus?null:we.loopStatus.htlc_address)}}let je=(()=>{class ot{constructor(){}static#e=this.\u0275fac=function(St){return new(St||ot)};static#t=this.\u0275cmp=d.Xpm({type:ot,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(St,zt){if(1&St&&d.YNc(0,te,1,0,"ng-container",0)(1,De,3,1,"ng-template",null,1,d.W1O)(3,st,14,2,"ng-template",null,2,d.W1O),2&St){const Dt=d.MAs(2),Lt=d.MAs(4);d.Q6J("ngTemplateOutlet",null!=zt.loopStatus&&zt.loopStatus.error?Dt:Lt)}},dependencies:[I.tP,j.xw,j.Wh,j.yH,f.d]})}return ot})();var $e=p(3214);function ye(ot,si){1&ot&&d.GkF(0)}const fe=(ot,si)=>({"small-svg":ot,"large-svg":si});function de(ot,si){if(1&ot){const we=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(zt){d.CHM(we);const Dt=d.oxw();return d.KtG(Dt.onSwipe(zt))}),d.O4$(),d.TgZ(1,"svg",7)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"g",8)(5,"g",9)(6,"g",10)(7,"g",11),d._UZ(8,"circle",12)(9,"path",13),d.qZA(),d.TgZ(10,"g",14),d._UZ(11,"ellipse",15)(12,"ellipse",16)(13,"rect",17)(14,"rect",18)(15,"rect",19)(16,"rect",20)(17,"rect",21)(18,"rect",22)(19,"rect",23)(20,"rect",24)(21,"rect",25)(22,"rect",26)(23,"rect",27)(24,"rect",28)(25,"rect",29),d.qZA()()()()(),d.kcU(),d.TgZ(26,"div",30)(27,"mat-card-title"),d._uU(28,"Loop In explained."),d.qZA()(),d.TgZ(29,"div",31)(30,"mat-card-subtitle",32),d._uU(31," Lightning Loop is a non custodial service offered by Lightning Labs to bridge on-chain and off-chain Bitcoin using Submarine swaps. "),d.qZA()()()}if(2&ot){const we=d.oxw();d.Q6J("@sliderAnimation",we.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,fe,we.screenSize===we.screenSizeEnum.XS,we.screenSize!==we.screenSizeEnum.XS))}}function Ce(ot,si){if(1&ot){const we=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(zt){d.CHM(we);const Dt=d.oxw();return d.KtG(Dt.onSwipe(zt))}),d.O4$(),d.TgZ(1,"svg",33)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"defs")(5,"linearGradient",34),d._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),d.qZA()(),d.TgZ(9,"g",8)(10,"g",38)(11,"g",39)(12,"g",40),d._UZ(13,"rect",41)(14,"rect",42)(15,"rect",43)(16,"circle",44)(17,"rect",45)(18,"rect",46)(19,"circle",47)(20,"rect",48)(21,"rect",49)(22,"rect",50)(23,"rect",51)(24,"rect",52)(25,"circle",53)(26,"circle",54)(27,"circle",55),d.qZA(),d.TgZ(28,"g",56)(29,"g",57)(30,"g",58),d._UZ(31,"path",59)(32,"rect",60)(33,"polygon",61),d.TgZ(34,"g",62),d._UZ(35,"path",63),d.qZA(),d._UZ(36,"rect",64)(37,"rect",65)(38,"rect",66)(39,"rect",67)(40,"rect",68)(41,"rect",69)(42,"rect",70)(43,"path",71)(44,"path",72),d.qZA(),d.TgZ(45,"g",73),d._UZ(46,"path",74)(47,"path",75)(48,"path",76)(49,"path",77)(50,"path",78)(51,"path",79)(52,"path",80)(53,"path",81)(54,"path",82)(55,"path",83)(56,"path",84)(57,"circle",85)(58,"circle",86),d.qZA(),d._UZ(59,"path",87),d.qZA()()()()()(),d.kcU(),d.TgZ(60,"div",30)(61,"mat-card-title"),d._uU(62,"Step 1: Deciding to Loop In"),d.qZA()(),d.TgZ(63,"div",31)(64,"mat-card-subtitle",32),d._uU(65," Your outgoing capacity is depleted and you want to regain it without opening new channels. "),d.qZA()()()}if(2&ot){const we=d.oxw();d.Q6J("@sliderAnimation",we.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,fe,we.screenSize===we.screenSizeEnum.XS,we.screenSize!==we.screenSizeEnum.XS))}}function le(ot,si){if(1&ot){const we=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(zt){d.CHM(we);const Dt=d.oxw();return d.KtG(Dt.onSwipe(zt))}),d.O4$(),d.TgZ(1,"svg",88)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"defs")(5,"linearGradient",89),d._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),d.qZA()(),d.TgZ(9,"g",90)(10,"g",91)(11,"g",92)(12,"g",93)(13,"g",94),d._UZ(14,"circle",95)(15,"path",96),d.TgZ(16,"g",97),d._UZ(17,"polygon",98)(18,"polygon",99)(19,"path",100),d.qZA(),d.TgZ(20,"g",101),d._UZ(21,"polygon",102)(22,"path",103)(23,"rect",104)(24,"path",105)(25,"rect",106)(26,"rect",107)(27,"rect",108)(28,"rect",109)(29,"circle",110)(30,"path",111),d.TgZ(31,"g",112)(32,"g",113),d._UZ(33,"g",114),d.qZA(),d._UZ(34,"g",115),d.qZA()()(),d.TgZ(35,"g",116)(36,"g",40),d._UZ(37,"rect",117)(38,"rect",42)(39,"rect",43)(40,"circle",118)(41,"rect",45)(42,"rect",46)(43,"circle",119)(44,"rect",48)(45,"rect",49)(46,"rect",50)(47,"rect",51)(48,"rect",52)(49,"circle",120)(50,"circle",54)(51,"circle",55)(52,"circle",121),d.qZA(),d.TgZ(53,"g",56)(54,"g",57)(55,"g",58),d._UZ(56,"path",59)(57,"rect",60)(58,"polygon",61),d.TgZ(59,"g",122),d._UZ(60,"path",63),d.qZA(),d._UZ(61,"rect",123)(62,"rect",124)(63,"rect",125)(64,"rect",126)(65,"rect",127)(66,"rect",128)(67,"rect",129)(68,"path",130)(69,"path",72),d.qZA(),d.TgZ(70,"g",73),d._UZ(71,"path",131)(72,"path",132)(73,"path",133)(74,"path",134)(75,"path",135)(76,"path",136)(77,"path",80)(78,"path",81)(79,"path",137)(80,"path",83)(81,"path",138)(82,"circle",85)(83,"circle",86),d.qZA(),d._UZ(84,"path",139),d.qZA()()()(),d._UZ(85,"path",140)(86,"path",141),d.qZA()()()(),d.kcU(),d.TgZ(87,"div",30)(88,"mat-card-title"),d._uU(89,"Step 2: Send payment out"),d.qZA()(),d.TgZ(90,"div",31)(91,"mat-card-subtitle",32),d._uU(92," Your node sends funds on-chain to loop server to be swapped with off-chain liquidity. "),d.qZA()()()}if(2&ot){const we=d.oxw();d.Q6J("@sliderAnimation",we.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,fe,we.screenSize===we.screenSizeEnum.XS,we.screenSize!==we.screenSizeEnum.XS))}}function ge(ot,si){if(1&ot){const we=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(zt){d.CHM(we);const Dt=d.oxw();return d.KtG(Dt.onSwipe(zt))}),d.O4$(),d.TgZ(1,"svg",142)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"g",90)(5,"g",143)(6,"g",144)(7,"g")(8,"g",145)(9,"g",146),d._UZ(10,"circle",12)(11,"path",147),d.qZA(),d.TgZ(12,"g",14),d._UZ(13,"ellipse",148)(14,"ellipse",16)(15,"rect",17)(16,"rect",18)(17,"rect",19)(18,"rect",20)(19,"rect",21)(20,"rect",22)(21,"rect",23)(22,"rect",24)(23,"rect",25)(24,"rect",26)(25,"rect",27)(26,"rect",28)(27,"rect",29),d.qZA()(),d.TgZ(28,"g",149),d._UZ(29,"polygon",150)(30,"polygon",99)(31,"path",151),d.qZA(),d.TgZ(32,"g",152),d._UZ(33,"polygon",102)(34,"path",103)(35,"rect",104)(36,"path",105)(37,"rect",106)(38,"rect",107)(39,"rect",108)(40,"rect",109)(41,"circle",110)(42,"path",111),d.TgZ(43,"g",112)(44,"g",113),d._UZ(45,"g",114),d.qZA(),d._UZ(46,"g",115),d.qZA()()(),d._UZ(47,"path",153),d.qZA()()()(),d.kcU(),d.TgZ(48,"div",30)(49,"mat-card-title"),d._uU(50,"Step 3: Recieve Funds Off-chain"),d.qZA()(),d.TgZ(51,"div",31)(52,"mat-card-subtitle",32),d._uU(53," Loop server sends equivalent funds off-chain to your node by making a lightning payment to you. "),d.qZA()()()}if(2&ot){const we=d.oxw();d.Q6J("@sliderAnimation",we.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,fe,we.screenSize===we.screenSizeEnum.XS,we.screenSize!==we.screenSizeEnum.XS))}}function qe(ot,si){if(1&ot){const we=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(zt){d.CHM(we);const Dt=d.oxw();return d.KtG(Dt.onSwipe(zt))}),d.O4$(),d.TgZ(1,"svg",154)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"defs")(5,"linearGradient",34),d._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),d.qZA()(),d.TgZ(9,"g",90)(10,"g",155)(11,"g",156)(12,"g",157)(13,"g",158)(14,"g",40),d._UZ(15,"rect",159)(16,"rect",160)(17,"rect",161)(18,"circle",162)(19,"rect",163)(20,"rect",164)(21,"circle",165)(22,"rect",166)(23,"rect",167)(24,"rect",168)(25,"rect",169)(26,"circle",170)(27,"circle",171),d.qZA(),d.TgZ(28,"g",172),d._UZ(29,"path",173)(30,"rect",174)(31,"polygon",175)(32,"circle",176)(33,"path",177)(34,"rect",178)(35,"rect",179)(36,"rect",180)(37,"rect",181)(38,"rect",182)(39,"rect",183)(40,"rect",184)(41,"path",185)(42,"path",186),d.qZA(),d._UZ(43,"path",187),d.qZA()(),d._UZ(44,"circle",188),d.qZA()()()(),d.kcU(),d.TgZ(45,"div",30)(46,"mat-card-title"),d._uU(47,"Done!"),d.qZA()(),d.TgZ(48,"div",31)(49,"mat-card-subtitle",32),d._uU(50," You send the payment on-chain from your wallet and also move remote balance to the local side of the node, gaining outgoing capacity. "),d.qZA()()()}if(2&ot){const we=d.oxw();d.Q6J("@sliderAnimation",we.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,fe,we.screenSize===we.screenSizeEnum.XS,we.screenSize!==we.screenSizeEnum.XS))}}let oe=(()=>{class ot{constructor(we){this.commonService=we,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new d.vpe,this.screenSize="",this.screenSizeEnum=m.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(we){2===we.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===we.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=this.\u0275fac=function(St){return new(St||ot)(d.Y36(G.v))};static#t=this.\u0275cmp=d.Xpm({type:ot,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(St,zt){if(1&St&&d.YNc(0,ye,1,0,"ng-container",0)(1,de,32,5,"ng-template",null,1,d.W1O)(3,Ce,66,5,"ng-template",null,2,d.W1O)(5,le,93,5,"ng-template",null,3,d.W1O)(7,ge,54,5,"ng-template",null,4,d.W1O)(9,qe,51,5,"ng-template",null,5,d.W1O),2&St){const Dt=d.MAs(2),Lt=d.MAs(4),Bt=d.MAs(6),ai=d.MAs(8),vi=d.MAs(10);d.Q6J("ngTemplateOutlet",1===zt.stepNumber?Dt:2===zt.stepNumber?Lt:3===zt.stepNumber?Bt:4===zt.stepNumber?ai:vi)}},dependencies:[I.mk,I.tP,j.xw,j.Wh,j.yH,W.oO,q.$j,q.n5],styles:["svg.small-svg[_ngcontent-%COMP%]{height:50%;min-height:50%;max-width:100%}svg.large-svg[_ngcontent-%COMP%]{height:60%;min-height:60%;max-width:100%}"],data:{animation:[$e.l]}})}return ot})();function ve(ot,si){1&ot&&d.GkF(0)}const ce=(ot,si)=>({"small-svg":ot,"large-svg":si});function Ge(ot,si){if(1&ot){const we=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(zt){d.CHM(we);const Dt=d.oxw();return d.KtG(Dt.onSwipe(zt))}),d.O4$(),d.TgZ(1,"svg",7)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"g",8)(5,"g",9)(6,"g",10)(7,"g",11),d._UZ(8,"circle",12)(9,"path",13),d.qZA(),d.TgZ(10,"g",14),d._UZ(11,"ellipse",15)(12,"ellipse",16)(13,"rect",17)(14,"rect",18)(15,"rect",19)(16,"rect",20)(17,"rect",21)(18,"rect",22)(19,"rect",23)(20,"rect",24)(21,"rect",25)(22,"rect",26)(23,"rect",27)(24,"rect",28)(25,"rect",29),d.qZA()()()()(),d.kcU(),d.TgZ(26,"div",30)(27,"mat-card-title"),d._uU(28,"Loop Out explained."),d.qZA()(),d.TgZ(29,"div",31)(30,"mat-card-subtitle",32),d._uU(31," Lightning Loop is a non custodial service offered by Lightning Labs to bridge on-chain and off-chain Bitcoin using Submarine swaps. "),d.qZA()()()}if(2&ot){const we=d.oxw();d.Q6J("@sliderAnimation",we.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,ce,we.screenSize===we.screenSizeEnum.XS,we.screenSize!==we.screenSizeEnum.XS))}}function Ze(ot,si){if(1&ot){const we=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(zt){d.CHM(we);const Dt=d.oxw();return d.KtG(Dt.onSwipe(zt))}),d.O4$(),d.TgZ(1,"svg",33)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"defs")(5,"linearGradient",34),d._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),d.qZA()(),d.TgZ(9,"g",8)(10,"g",38)(11,"g",39)(12,"g",40)(13,"g",41)(14,"g",42),d._UZ(15,"rect",43)(16,"rect",44)(17,"rect",45)(18,"circle",46)(19,"rect",47)(20,"rect",48)(21,"circle",49)(22,"rect",50)(23,"rect",51)(24,"rect",52)(25,"rect",53)(26,"circle",54)(27,"circle",55),d.qZA(),d.TgZ(28,"g",56),d._UZ(29,"path",57)(30,"rect",58)(31,"polygon",59)(32,"circle",60)(33,"path",61)(34,"rect",62)(35,"rect",63)(36,"rect",64)(37,"rect",65)(38,"rect",66)(39,"rect",67)(40,"rect",68)(41,"path",69)(42,"path",70),d.qZA(),d._UZ(43,"path",71),d.qZA()(),d._UZ(44,"circle",72),d.qZA()()()(),d.kcU(),d.TgZ(45,"div",30)(46,"mat-card-title"),d._uU(47,"Step 1: Deciding to Loop Out"),d.qZA()(),d.TgZ(48,"div",31)(49,"mat-card-subtitle",32),d._uU(50," You have a channel with a local balance amount and you want to gain inbound liquidity. "),d.qZA()()()}if(2&ot){const we=d.oxw();d.Q6J("@sliderAnimation",we.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,ce,we.screenSize===we.screenSizeEnum.XS,we.screenSize!==we.screenSizeEnum.XS))}}function wt(ot,si){if(1&ot){const we=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(zt){d.CHM(we);const Dt=d.oxw();return d.KtG(Dt.onSwipe(zt))}),d.O4$(),d.TgZ(1,"svg",73)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"defs")(5,"linearGradient",74),d._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),d.qZA()(),d.TgZ(9,"g",8)(10,"g",75)(11,"g",76),d._UZ(12,"circle",77)(13,"path",78),d.TgZ(14,"g",79),d._UZ(15,"polygon",80)(16,"polygon",81)(17,"path",82),d.qZA(),d.TgZ(18,"g",83),d._UZ(19,"polygon",84)(20,"path",85)(21,"rect",86)(22,"path",87)(23,"rect",88)(24,"rect",89)(25,"rect",90)(26,"rect",91)(27,"circle",92)(28,"path",93),d.TgZ(29,"g",94)(30,"g",95),d._UZ(31,"g",96),d.qZA(),d._UZ(32,"g",97),d.qZA(),d._UZ(33,"path",98),d.qZA(),d.TgZ(34,"g",99)(35,"g",41)(36,"g",42),d._UZ(37,"rect",43)(38,"rect",44)(39,"rect",45)(40,"circle",46)(41,"rect",47)(42,"rect",48)(43,"circle",49)(44,"rect",50)(45,"rect",51)(46,"rect",52)(47,"rect",53)(48,"circle",100)(49,"circle",54)(50,"circle",55)(51,"circle",101),d.qZA(),d.TgZ(52,"g",56),d._UZ(53,"path",57)(54,"rect",102)(55,"polygon",103)(56,"circle",104)(57,"path",61)(58,"rect",105)(59,"rect",106)(60,"rect",107)(61,"rect",108)(62,"rect",109)(63,"rect",110)(64,"rect",68)(65,"path",69)(66,"path",70),d.qZA(),d._UZ(67,"path",111),d.qZA()()()()()(),d.kcU(),d.TgZ(68,"div",30)(69,"mat-card-title"),d._uU(70,"Step 2: Send lightning payment"),d.qZA()(),d.TgZ(71,"div",31)(72,"mat-card-subtitle",32),d._uU(73," Your node pays a lightning invoice for the amount requested via the loop service. This moves the local balance, for the amount paid, to the remote side of the channel. "),d.qZA()()()}if(2&ot){const we=d.oxw();d.Q6J("@sliderAnimation",we.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,ce,we.screenSize===we.screenSizeEnum.XS,we.screenSize!==we.screenSizeEnum.XS))}}function mt(ot,si){if(1&ot){const we=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(zt){d.CHM(we);const Dt=d.oxw();return d.KtG(Dt.onSwipe(zt))}),d.O4$(),d.TgZ(1,"svg",112)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"g",8)(5,"g",113)(6,"g",114)(7,"g",115)(8,"g",116),d._UZ(9,"circle",12)(10,"path",117),d.qZA(),d.TgZ(11,"g",14),d._UZ(12,"ellipse",118)(13,"ellipse",16)(14,"rect",17)(15,"rect",18)(16,"rect",19)(17,"rect",20)(18,"rect",21)(19,"rect",22)(20,"rect",23)(21,"rect",24)(22,"rect",25)(23,"rect",26)(24,"rect",27)(25,"rect",28)(26,"rect",29),d.qZA()(),d.TgZ(27,"g",119),d._UZ(28,"polygon",80)(29,"polygon",120)(30,"path",82),d.qZA(),d.TgZ(31,"g",121),d._UZ(32,"polygon",84)(33,"path",85)(34,"rect",86)(35,"path",87)(36,"rect",88)(37,"rect",89)(38,"rect",90)(39,"rect",91)(40,"circle",122)(41,"path",93),d.TgZ(42,"g",94)(43,"g",95),d._UZ(44,"g",96),d.qZA(),d._UZ(45,"g",97),d.qZA(),d._UZ(46,"path",123),d.qZA()()()()(),d.kcU(),d.TgZ(47,"div",30)(48,"mat-card-title"),d._uU(49,"Step 3: Receive funds back"),d.qZA()(),d.TgZ(50,"div",31)(51,"mat-card-subtitle",32),d._uU(52," Loop service then sends you a payment on-chain for the amount same as the lightning payment minus the fee. "),d.qZA()()()}if(2&ot){const we=d.oxw();d.Q6J("@sliderAnimation",we.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,ce,we.screenSize===we.screenSizeEnum.XS,we.screenSize!==we.screenSizeEnum.XS))}}function kt(ot,si){if(1&ot){const we=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(zt){d.CHM(we);const Dt=d.oxw();return d.KtG(Dt.onSwipe(zt))}),d.O4$(),d.TgZ(1,"svg",124)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"defs")(5,"linearGradient",34),d._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),d.qZA()(),d.TgZ(9,"g",8)(10,"g",125)(11,"g",126)(12,"g",42),d._UZ(13,"rect",127)(14,"rect",128)(15,"rect",129)(16,"circle",130)(17,"rect",131)(18,"rect",132)(19,"circle",133)(20,"rect",134)(21,"rect",135)(22,"rect",136)(23,"rect",137)(24,"rect",138)(25,"circle",139)(26,"circle",140)(27,"circle",141),d.qZA(),d.TgZ(28,"g",142)(29,"g",143)(30,"g",144),d._UZ(31,"path",145)(32,"rect",146)(33,"polygon",147),d.TgZ(34,"g",148),d._UZ(35,"path",149),d.qZA(),d._UZ(36,"rect",150)(37,"rect",151)(38,"rect",152)(39,"rect",153)(40,"rect",154)(41,"rect",155)(42,"rect",156)(43,"path",157)(44,"path",158),d.qZA(),d.TgZ(45,"g",159),d._UZ(46,"path",160)(47,"path",161)(48,"path",162)(49,"path",163)(50,"path",164)(51,"path",165)(52,"path",166)(53,"path",167)(54,"path",168)(55,"path",169)(56,"path",170)(57,"circle",171)(58,"circle",172),d.qZA(),d._UZ(59,"path",173),d.qZA()()()()()(),d.kcU(),d.TgZ(60,"div",30)(61,"mat-card-title"),d._uU(62,"Done!"),d.qZA()(),d.TgZ(63,"div",31)(64,"mat-card-subtitle",32),d._uU(65," Final settlement occurs when your node sweeps the on-chain payment and the loop server settles the lightning invoice. You receive the payment on-chain in your wallet and also move local balance to the remote side of the channel, gaining inbound capacity. "),d.qZA()()()}if(2&ot){const we=d.oxw();d.Q6J("@sliderAnimation",we.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,ce,we.screenSize===we.screenSizeEnum.XS,we.screenSize!==we.screenSizeEnum.XS))}}let Ae=(()=>{class ot{constructor(we){this.commonService=we,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new d.vpe,this.screenSize="",this.screenSizeEnum=m.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(we){2===we.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===we.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=this.\u0275fac=function(St){return new(St||ot)(d.Y36(G.v))};static#t=this.\u0275cmp=d.Xpm({type:ot,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(St,zt){if(1&St&&d.YNc(0,ve,1,0,"ng-container",0)(1,Ge,32,5,"ng-template",null,1,d.W1O)(3,Ze,51,5,"ng-template",null,2,d.W1O)(5,wt,74,5,"ng-template",null,3,d.W1O)(7,mt,53,5,"ng-template",null,4,d.W1O)(9,kt,66,5,"ng-template",null,5,d.W1O),2&St){const Dt=d.MAs(2),Lt=d.MAs(4),Bt=d.MAs(6),ai=d.MAs(8),vi=d.MAs(10);d.Q6J("ngTemplateOutlet",1===zt.stepNumber?Dt:2===zt.stepNumber?Lt:3===zt.stepNumber?Bt:4===zt.stepNumber?ai:vi)}},dependencies:[I.mk,I.tP,j.xw,j.Wh,j.yH,W.oO,q.$j,q.n5],styles:["svg.small-svg[_ngcontent-%COMP%]{height:50%;min-height:50%;max-width:100%}svg.large-svg[_ngcontent-%COMP%]{height:60%;min-height:60%;max-width:100%}"],data:{animation:[$e.l]}})}return ot})();const ze=["stepper"];function nt(ot,si){if(1&ot&&(d.TgZ(0,"div",48)(1,"p",49)(2,"strong"),d._uU(3,"Channel Peer:\xa0"),d.qZA(),d._uU(4),d.ALo(5,"titlecase"),d.qZA(),d.TgZ(6,"p",50)(7,"strong"),d._uU(8,"Channel ID:\xa0"),d.qZA(),d._uU(9),d.qZA(),d._UZ(10,"p",50),d.qZA()),2&ot){const we=d.oxw(2);d.xp6(4),d.Oqu(d.lcZ(5,2,we.channel.remote_alias)),d.xp6(5),d.Oqu(we.channel.chan_id)}}function et(ot,si){if(1&ot&&d._uU(0),2&ot){const we=d.oxw(2);d.Oqu(we.inputFormLabel)}}function ke(ot,si){1&ot&&(d.TgZ(0,"mat-error"),d._uU(1,"Amount is required."),d.qZA())}function ct(ot,si){if(1&ot&&(d.TgZ(0,"mat-error"),d._uU(1),d.ALo(2,"number"),d.qZA()),2&ot){const we=d.oxw(2);d.xp6(1),d.hij("Amount must be greater than or equal to ",d.lcZ(2,1,we.minQuote.amount),".")}}function Qe(ot,si){if(1&ot&&(d.TgZ(0,"mat-error"),d._uU(1),d.ALo(2,"number"),d.qZA()),2&ot){const we=d.oxw(2);d.xp6(1),d.hij("Amount must be less than or equal to ",d.lcZ(2,1,we.maxQuote.amount),".")}}function Et(ot,si){1&ot&&(d.TgZ(0,"mat-error"),d._uU(1,"Confirmation target is required."),d.qZA())}function lt(ot,si){1&ot&&(d.TgZ(0,"mat-error"),d._uU(1,"Confirmation target must be a positive number."),d.qZA())}function Ke(ot,si){1&ot&&(d.TgZ(0,"mat-error"),d._uU(1,"Percentage is required."),d.qZA())}function Be(ot,si){1&ot&&(d.TgZ(0,"mat-error"),d._uU(1,"Percentage must be a positive number."),d.qZA())}function Xt(ot,si){if(1&ot&&(d.TgZ(0,"mat-form-field",50)(1,"mat-label"),d._uU(2,"Max Off-chain Routing Fee (%)"),d.qZA(),d._UZ(3,"input",51),d.YNc(4,Ke,2,0,"mat-error",25)(5,Be,2,0,"mat-error",25),d.qZA()),2&ot){const we=d.oxw(2);d.xp6(3),d.Q6J("step",1),d.xp6(1),d.Q6J("ngIf",null==we.inputFormGroup.controls.routingFeePercent.errors?null:we.inputFormGroup.controls.routingFeePercent.errors.required),d.xp6(1),d.Q6J("ngIf",null==we.inputFormGroup.controls.routingFeePercent.errors?null:we.inputFormGroup.controls.routingFeePercent.errors.min)}}function J(ot,si){1&ot&&(d.TgZ(0,"div",52)(1,"mat-slide-toggle",53),d._uU(2,"Fast"),d.qZA(),d.TgZ(3,"mat-icon",54),d._uU(4,"info_outline"),d.qZA()())}function We(ot,si){if(1&ot&&d._uU(0),2&ot){const we=d.oxw(2);d.Oqu(we.quoteFormLabel)}}function Ft(ot,si){1&ot&&(d.TgZ(0,"p",55)(1,"mat-icon",56),d._uU(2,"close"),d.qZA(),d._uU(3,"Local balance amount is insufficient for swap."),d.qZA())}function Ct(ot,si){if(1&ot){const we=d.EpF();d.TgZ(0,"button",57),d.NdJ("click",function(){d.CHM(we);const zt=d.oxw(2);return d.KtG(zt.onValidateAmount())}),d._uU(1,"Next"),d.qZA()}}function Pt(ot,si){if(1&ot){const we=d.EpF();d.TgZ(0,"button",58),d.NdJ("click",function(){d.CHM(we);const zt=d.oxw(2);return d.KtG(zt.onLoop())}),d._uU(1),d.qZA()}if(2&ot){const we=d.oxw(2);d.xp6(1),d.hij("Initiate ",we.loopDirectionCaption,"")}}function xt(ot,si){if(1&ot&&d._uU(0),2&ot){const we=d.oxw(3);d.Oqu(we.addressFormLabel)}}function rt(ot,si){1&ot&&(d.TgZ(0,"mat-error"),d._uU(1,"Address is required."),d.qZA())}function Ee(ot,si){if(1&ot){const we=d.EpF();d.TgZ(0,"mat-step",16)(1,"form",17),d.YNc(2,xt,1,1,"ng-template",18),d.TgZ(3,"div",59)(4,"mat-radio-group",60),d.NdJ("change",function(zt){d.CHM(we);const Dt=d.oxw(2);return d.KtG(Dt.onAddressTypeChange(zt))}),d.TgZ(5,"mat-radio-button",61),d._uU(6,"Node Local Address"),d.qZA(),d.TgZ(7,"mat-radio-button",62),d._uU(8,"External Address"),d.qZA()(),d.TgZ(9,"mat-form-field",63)(10,"mat-label"),d._uU(11,"Address"),d.qZA(),d._UZ(12,"input",64),d.YNc(13,rt,2,0,"mat-error",25),d.qZA()(),d.TgZ(14,"div",29)(15,"button",65),d.NdJ("click",function(){d.CHM(we);const zt=d.oxw(2);return d.KtG(zt.onLoop())}),d._uU(16),d.qZA()()()()}if(2&ot){const we=d.oxw(2);d.Q6J("stepControl",we.addressFormGroup)("editable",we.flgEditable),d.xp6(1),d.Q6J("formGroup",we.addressFormGroup),d.xp6(11),d.Q6J("required","external"===we.addressFormGroup.controls.addressType.value),d.xp6(1),d.Q6J("ngIf",null==we.addressFormGroup.controls.address.errors?null:we.addressFormGroup.controls.address.errors.required),d.xp6(3),d.hij("Initiate ",we.loopDirectionCaption,"")}}function it(ot,si){if(1&ot&&d._uU(0),2&ot){const we=d.oxw(2);d.hij("",we.loopDirectionCaption," Status")}}function Ue(ot,si){if(1&ot&&(d.TgZ(0,"mat-icon",66),d._uU(1),d.qZA()),2&ot){const we=d.oxw(2);d.xp6(1),d.Oqu(we.loopStatus&&null!=we.loopStatus&&we.loopStatus.id_bytes?"check":"close")}}function Je(ot,si){1&ot&&d._UZ(0,"div")}function _t(ot,si){1&ot&&d._UZ(0,"mat-progress-bar",67)}function Le(ot,si){if(1&ot&&(d.TgZ(0,"h4",68),d._uU(1),d.qZA()),2&ot){const we=d.oxw(2);d.xp6(1),d.Oqu(we.loopStatus&&we.loopStatus.error?we.loopDirectionCaption+" failed.":we.loopStatus&&we.loopStatus.id_bytes&&we.channel?we.loopDirectionCaption+" request placed successfully. You can check the status of the request on the 'Loop' menu.":we.loopDirectionCaption+" request placed successfully.")}}function be(ot,si){if(1&ot){const we=d.EpF();d.TgZ(0,"button",69),d.NdJ("click",function(){d.CHM(we);const zt=d.oxw(2);return d.KtG(zt.goToLoop())}),d._uU(1,"Check Status"),d.qZA()}}function ee(ot,si){if(1&ot){const we=d.EpF();d.TgZ(0,"button",70),d.NdJ("click",function(){d.CHM(we);const zt=d.oxw(2);return d.KtG(zt.onRestart())}),d._uU(1,"Start Again"),d.qZA()}}function ne(ot,si){if(1&ot){const we=d.EpF();d.TgZ(0,"div",3)(1,"div",4)(2,"mat-card-header",5)(3,"div",6)(4,"span",7),d._uU(5),d.qZA()(),d.TgZ(6,"div",8)(7,"button",9),d.NdJ("click",function(){d.CHM(we);const zt=d.oxw();return d.KtG(zt.showInfo())}),d._uU(8,"?"),d.qZA(),d.TgZ(9,"button",10),d.NdJ("click",function(){d.CHM(we);const zt=d.oxw();return d.KtG(zt.onClose())}),d._uU(10,"X"),d.qZA()()(),d.TgZ(11,"mat-card-content",11)(12,"div",12),d.YNc(13,nt,11,4,"div",13),d.TgZ(14,"mat-vertical-stepper",14,15),d.NdJ("selectionChange",function(zt){d.CHM(we);const Dt=d.oxw();return d.KtG(Dt.stepSelectionChanged(zt))}),d.TgZ(16,"mat-step",16)(17,"form",17),d.YNc(18,et,1,1,"ng-template",18),d.TgZ(19,"div",19),d._UZ(20,"rtl-loop-quote",20)(21,"rtl-loop-quote",20),d.qZA(),d.TgZ(22,"div",21)(23,"mat-form-field",22)(24,"mat-label"),d._uU(25,"Amount"),d.qZA(),d._UZ(26,"input",23),d.TgZ(27,"mat-hint"),d._uU(28),d.ALo(29,"number"),d.ALo(30,"number"),d.qZA(),d.TgZ(31,"span",24),d._uU(32,"Sats"),d.qZA(),d.YNc(33,ke,2,0,"mat-error",25)(34,ct,3,3,"mat-error",25)(35,Qe,3,3,"mat-error",25),d.qZA(),d.TgZ(36,"mat-form-field",22)(37,"mat-label"),d._uU(38,"Sweep Confirmation Target"),d.qZA(),d._UZ(39,"input",26),d.YNc(40,Et,2,0,"mat-error",25)(41,lt,2,0,"mat-error",25),d.qZA(),d.YNc(42,Xt,6,3,"mat-form-field",27),d.qZA(),d.YNc(43,J,5,0,"div",28),d.TgZ(44,"div",29)(45,"button",30),d.NdJ("click",function(){d.CHM(we);const zt=d.oxw();return d.KtG(zt.onEstimateQuote())}),d._uU(46,"Estimate Quote"),d.qZA()()()(),d.TgZ(47,"mat-step",16)(48,"form",17),d.YNc(49,We,1,1,"ng-template",18),d._UZ(50,"rtl-loop-quote",31),d.YNc(51,Ft,4,0,"p",32),d.TgZ(52,"div",29),d.YNc(53,Ct,2,0,"button",33)(54,Pt,2,1,"button",34),d.qZA()()(),d.YNc(55,Ee,17,6,"mat-step",35),d.TgZ(56,"mat-step",36)(57,"form",17),d.YNc(58,it,1,1,"ng-template",18),d.TgZ(59,"div",37)(60,"mat-expansion-panel",38)(61,"mat-expansion-panel-header")(62,"mat-panel-title")(63,"span",39),d._uU(64),d.YNc(65,Ue,2,1,"mat-icon",40),d.qZA()()(),d.YNc(66,Je,1,0,"div",41),d.qZA(),d.YNc(67,_t,1,0,"mat-progress-bar",42),d.qZA(),d.YNc(68,Le,2,1,"h4",43),d.TgZ(69,"div",29),d.YNc(70,be,2,0,"button",44)(71,ee,2,0,"button",45),d.qZA()()()(),d.TgZ(72,"div",46)(73,"button",47),d._uU(74,"Close"),d.qZA()()()()()()}if(2&ot){const we=d.oxw(),St=d.MAs(2);d.Q6J("@opacityAnimation",void 0),d.xp6(3),d.Q6J("fxFlex",we.screenSize===we.screenSizeEnum.XS||we.screenSize===we.screenSizeEnum.SM?"83":"91"),d.xp6(2),d.Oqu(we.channel?"Channel "+we.loopDirectionCaption:we.loopDirectionCaption),d.xp6(1),d.Q6J("fxFlex",we.screenSize===we.screenSizeEnum.XS||we.screenSize===we.screenSizeEnum.SM?"17":"9"),d.xp6(7),d.Q6J("ngIf",we.channel),d.xp6(1),d.Q6J("linear",!0),d.xp6(2),d.Q6J("stepControl",we.inputFormGroup)("editable",we.flgEditable),d.xp6(1),d.Q6J("formGroup",we.inputFormGroup),d.xp6(3),d.Q6J("quote",we.minQuote)("termCaption","min")("panelExpanded",!1)("showPanel",!0),d.xp6(1),d.Q6J("quote",we.maxQuote)("termCaption","max")("panelExpanded",!1)("showPanel",!0),d.xp6(2),d.Q6J("fxFlex",we.direction===we.LoopTypeEnum.LOOP_OUT?"35":"48"),d.xp6(3),d.Q6J("step",1e3),d.xp6(2),d.AsE("Range: ",d.lcZ(29,51,we.minQuote.amount),"-",d.lcZ(30,53,we.maxQuote.amount),""),d.xp6(5),d.Q6J("ngIf",null==we.inputFormGroup.controls.amount.errors?null:we.inputFormGroup.controls.amount.errors.required),d.xp6(1),d.Q6J("ngIf",null==we.inputFormGroup.controls.amount.errors?null:we.inputFormGroup.controls.amount.errors.min),d.xp6(1),d.Q6J("ngIf",null==we.inputFormGroup.controls.amount.errors?null:we.inputFormGroup.controls.amount.errors.max),d.xp6(1),d.Q6J("fxFlex",we.direction===we.LoopTypeEnum.LOOP_OUT?"30":"48"),d.xp6(3),d.Q6J("step",1),d.xp6(1),d.Q6J("ngIf",null==we.inputFormGroup.controls.sweepConfTarget.errors?null:we.inputFormGroup.controls.sweepConfTarget.errors.required),d.xp6(1),d.Q6J("ngIf",null==we.inputFormGroup.controls.sweepConfTarget.errors?null:we.inputFormGroup.controls.sweepConfTarget.errors.min),d.xp6(1),d.Q6J("ngIf",we.direction===we.LoopTypeEnum.LOOP_OUT),d.xp6(1),d.Q6J("ngIf",we.direction===we.LoopTypeEnum.LOOP_OUT),d.xp6(4),d.Q6J("stepControl",we.quoteFormGroup)("editable",we.flgEditable),d.xp6(1),d.Q6J("formGroup",we.quoteFormGroup),d.xp6(2),d.Q6J("quote",we.quote)("showPanel",!1),d.xp6(1),d.Q6J("ngIf",we.inputFormGroup.controls.amount.value>we.localBalanceToCompare),d.xp6(2),d.Q6J("ngIf",we.direction===we.LoopTypeEnum.LOOP_OUT),d.xp6(1),d.Q6J("ngIf",we.direction===we.LoopTypeEnum.LOOP_IN),d.xp6(1),d.Q6J("ngIf",we.direction===we.LoopTypeEnum.LOOP_OUT),d.xp6(1),d.Q6J("stepControl",we.statusFormGroup),d.xp6(1),d.Q6J("formGroup",we.statusFormGroup),d.xp6(3),d.Q6J("expanded",!!we.loopStatus),d.xp6(4),d.Oqu(we.loopStatus?we.loopStatus.id_bytes?we.loopDirectionCaption+" request details":we.loopDirectionCaption+" error details":"Waiting for "+we.loopDirectionCaption+" request..."),d.xp6(1),d.Q6J("ngIf",we.loopStatus),d.xp6(1),d.Q6J("ngIf",!we.loopStatus)("ngIfElse",St),d.xp6(1),d.Q6J("ngIf",!we.loopStatus),d.xp6(1),d.Q6J("ngIf",we.loopStatus),d.xp6(2),d.Q6J("ngIf",we.loopStatus&&we.loopStatus.id_bytes&&we.channel),d.xp6(1),d.Q6J("ngIf",we.loopStatus&&(we.loopStatus.error||!we.loopStatus.id_bytes)),d.xp6(2),d.Q6J("mat-dialog-close",!1)}}function Ie(ot,si){if(1&ot&&d._UZ(0,"rtl-loop-status",71),2&ot){const we=d.oxw();d.Q6J("loopStatus",we.loopStatus)}}function Ht(ot,si){if(1&ot){const we=d.EpF();d.TgZ(0,"rtl-loop-out-info-graphics",87),d.NdJ("stepNumberChange",function(zt){d.CHM(we);const Dt=d.oxw(2);return d.KtG(Dt.stepNumber=zt)}),d.qZA()}if(2&ot){const we=d.oxw(2);d.Q6J("animationDirection",we.animationDirection)("stepNumber",we.stepNumber)}}function At(ot,si){if(1&ot){const we=d.EpF();d.TgZ(0,"rtl-loop-in-info-graphics",87),d.NdJ("stepNumberChange",function(zt){d.CHM(we);const Dt=d.oxw(2);return d.KtG(Dt.stepNumber=zt)}),d.qZA()}if(2&ot){const we=d.oxw(2);d.Q6J("animationDirection",we.animationDirection)("stepNumber",we.stepNumber)}}const Zt=(ot,si)=>({"dot-primary":ot,"dot-primary-lighter":si});function pi(ot,si){if(1&ot){const we=d.EpF();d.TgZ(0,"span",88),d.NdJ("click",function(){const Dt=d.CHM(we).$implicit,Lt=d.oxw(2);return d.KtG(Lt.onStepChanged(Dt))}),d._UZ(1,"p",89),d.qZA()}if(2&ot){const we=si.$implicit,St=d.oxw(2);d.xp6(1),d.Q6J("ngClass",d.WLB(1,Zt,St.stepNumber===we,St.stepNumber!==we))}}function Jt(ot,si){if(1&ot){const we=d.EpF();d.TgZ(0,"button",90),d.NdJ("click",function(){d.CHM(we);const zt=d.oxw(2);return d.KtG(zt.onReadMore())}),d._uU(1,"Read More"),d.qZA()}}function qt(ot,si){if(1&ot){const we=d.EpF();d.TgZ(0,"button",91),d.NdJ("click",function(){d.CHM(we);const zt=d.oxw(2);return d.KtG(zt.onStepChanged(4))}),d._uU(1,"Back"),d.qZA()}}function Hi(ot,si){if(1&ot){const we=d.EpF();d.TgZ(0,"button",92),d.NdJ("click",function(){d.CHM(we);const zt=d.oxw(2);return zt.flgShowInfo=!1,d.KtG(zt.stepNumber=1)}),d._uU(1,"Close"),d.qZA()}}function di(ot,si){if(1&ot){const we=d.EpF();d.TgZ(0,"button",93),d.NdJ("click",function(){d.CHM(we);const zt=d.oxw(2);return zt.flgShowInfo=!1,d.KtG(zt.stepNumber=1)}),d._uU(1,"Close"),d.qZA()}}function fi(ot,si){if(1&ot){const we=d.EpF();d.TgZ(0,"button",94),d.NdJ("click",function(){d.CHM(we);const zt=d.oxw(2);return d.KtG(zt.onStepChanged(zt.stepNumber-1))}),d._uU(1,"Back"),d.qZA()}}function un(ot,si){if(1&ot){const we=d.EpF();d.TgZ(0,"button",95),d.NdJ("click",function(){d.CHM(we);const zt=d.oxw(2);return d.KtG(zt.onStepChanged(zt.stepNumber+1))}),d._uU(1,"Next"),d.qZA()}}const Qi=()=>[1,2,3,4,5];function xi(ot,si){if(1&ot){const we=d.EpF();d.TgZ(0,"div",72)(1,"div",19)(2,"mat-card-header",73)(3,"div",74),d._UZ(4,"span",7),d.qZA(),d.TgZ(5,"div",75)(6,"button",10),d.NdJ("click",function(){d.CHM(we);const zt=d.oxw();return zt.flgShowInfo=!1,d.KtG(zt.stepNumber=1)}),d._uU(7,"X"),d.qZA()()(),d.TgZ(8,"mat-card-content",76),d.YNc(9,Ht,1,2,"rtl-loop-out-info-graphics",77)(10,At,1,2,"rtl-loop-in-info-graphics",77),d.qZA(),d.TgZ(11,"div",78),d.YNc(12,pi,2,4,"span",79),d.qZA(),d.TgZ(13,"div",80),d.YNc(14,Jt,2,0,"button",81)(15,qt,2,0,"button",82)(16,Hi,2,0,"button",83)(17,di,2,0,"button",84)(18,fi,2,0,"button",85)(19,un,2,0,"button",86),d.qZA()()()}if(2&ot){const we=d.oxw();d.Q6J("@opacityAnimation",void 0),d.xp6(9),d.Q6J("ngIf",we.direction===we.LoopTypeEnum.LOOP_OUT),d.xp6(1),d.Q6J("ngIf",we.direction===we.LoopTypeEnum.LOOP_IN),d.xp6(2),d.Q6J("ngForOf",d.DdM(10,Qi)),d.xp6(2),d.Q6J("ngIf",5===we.stepNumber),d.xp6(1),d.Q6J("ngIf",5===we.stepNumber),d.xp6(1),d.Q6J("ngIf",5===we.stepNumber),d.xp6(1),d.Q6J("ngIf",we.stepNumber<5),d.xp6(1),d.Q6J("ngIf",we.stepNumber>1&&we.stepNumber<5),d.xp6(1),d.Q6J("ngIf",we.stepNumber<5)}}let sn=(()=>{class ot{constructor(we,St,zt,Dt,Lt,Bt,ai,vi,bi){this.dialogRef=we,this.data=St,this.store=zt,this.loopService=Dt,this.formBuilder=Lt,this.decimalPipe=Bt,this.logger=ai,this.router=vi,this.commonService=bi,this.faInfoCircle=l.sqG,this.LoopTypeEnum=m.$I,this.direction=m.$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=m.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||m.$I.LOOP_OUT,this.loopDirectionCaption=this.direction===m.$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===m.$I.LOOP_OUT&&this.addressFormGroup.setErrors({Invalid:!0}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges(),this.store.select(O.ZW).pipe((0,y.R)(this.unSubs[6])).subscribe(we=>{this.localBalanceToCompare=this.channel&&this.channel.local_balance?+this.channel.local_balance:we.lightningBalance&&we.lightningBalance.local?+we.lightningBalance.local:null})}onFormValueChanges(){this.inputFormGroup.valueChanges.pipe((0,y.R)(this.unSubs[4])).subscribe(we=>{this.inputFormGroup.setErrors({Invalid:!0})}),this.direction===m.$I.LOOP_OUT&&this.addressFormGroup.valueChanges.pipe((0,y.R)(this.unSubs[5])).subscribe(we=>{this.addressFormGroup.setErrors({Invalid:!0})})}onAddressTypeChange(we){"external"===we.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===m.$I.LOOP_OUT&&(!this.inputFormGroup.controls.routingFeePercent.value||this.inputFormGroup.controls.routingFeePercent.value<0)||this.direction===m.$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===m.$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,y.R)(this.unSubs[0])).subscribe({next:we=>{this.loopStatus=we,this.loopService.listSwaps(),this.flgEditable=!0},error:we=>{this.loopStatus={error:we},this.flgEditable=!0,this.logger.error(we)}});else{const we=Math.ceil(this.inputFormGroup.controls.amount.value*(this.inputFormGroup.controls.routingFeePercent.value/100)),St="external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"",zt=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,we,+(this.quote.htlc_sweep_fee_sat||0),this.prepayRoutingFee,+(this.quote.prepay_amt_sat||0),+(this.quote.swap_fee_sat||0),zt,St).pipe((0,y.R)(this.unSubs[1])).subscribe({next:Dt=>{this.loopStatus=Dt,this.loopService.listSwaps(),this.flgEditable=!0},error:Dt=>{this.loopStatus={error:Dt},this.flgEditable=!0,this.logger.error(Dt)}})}}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 we=this.inputFormGroup.controls.fast.value?0:(new Date).getTime()+18e5;this.direction===m.$I.LOOP_IN?this.loopService.getLoopInQuote(this.inputFormGroup.controls.amount.value,this.inputFormGroup.controls.sweepConfTarget.value,we).pipe((0,y.R)(this.unSubs[2])).subscribe(St=>{this.quote=St,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,we).pipe((0,y.R)(this.unSubs[3])).subscribe(St=>{this.quote=St,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(we){switch(we.selectedIndex){case 0:default:this.inputFormLabel="Amount to "+this.loopDirectionCaption,this.quoteFormLabel="Confirm Quote",this.addressFormLabel="Withdrawal Address";break;case 1:this.inputFormLabel=this.inputFormGroup.controls.amount.value||this.inputFormGroup.controls.sweepConfTarget.value?this.direction===m.$I.LOOP_IN?this.loopDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Target Confirmation: "+(this.inputFormGroup.controls.sweepConfTarget.value?this.inputFormGroup.controls.sweepConfTarget.value:6):this.loopDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Target Confirmation: "+(this.inputFormGroup.controls.sweepConfTarget.value?this.inputFormGroup.controls.sweepConfTarget.value:6)+" | Percentage: "+(this.inputFormGroup.controls.routingFeePercent.value?this.inputFormGroup.controls.routingFeePercent.value:"2")+" | Fast: "+(this.inputFormGroup.controls.fast.value?"Enabled":"Disabled"):"Amount to "+this.loopDirectionCaption,this.quoteFormLabel="Confirm Quote",this.addressFormLabel="Withdrawal Address";break;case 2:this.inputFormLabel=this.inputFormGroup.controls.amount.value||this.inputFormGroup.controls.sweepConfTarget.value?this.direction===m.$I.LOOP_IN?this.loopDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Target Confirmation: "+(this.inputFormGroup.controls.sweepConfTarget.value?this.inputFormGroup.controls.sweepConfTarget.value:6):this.loopDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Target Confirmation: "+(this.inputFormGroup.controls.sweepConfTarget.value?this.inputFormGroup.controls.sweepConfTarget.value:6)+" | Fast: "+(this.inputFormGroup.controls.fast.value?"Enabled":"Disabled"):"Amount to "+this.loopDirectionCaption,this.quoteFormLabel=this.quote&&this.quote.swap_fee_sat&&(this.quote.htlc_sweep_fee_sat||this.quote.htlc_publish_fee_sat)&&this.quote.prepay_amt_sat?"Quote confirmed | Estimated Fees: "+this.decimalPipe.transform(+this.quote.swap_fee_sat+ +(this.quote.htlc_sweep_fee_sat?this.quote.htlc_sweep_fee_sat:this.quote.htlc_publish_fee_sat?this.quote.htlc_publish_fee_sat:0))+" Sats":"Quote confirmed",this.addressFormLabel=this.addressFormGroup.controls.addressType.value?"Withdrawal Address | Type: "+this.addressFormGroup.controls.addressType.value:"Withdrawal Address"}(this.direction===m.$I.LOOP_OUT&&1!==we.selectedIndex&&we.selectedIndex<we.previouslySelectedIndex||this.direction===m.$I.LOOP_IN&&we.selectedIndex<we.previouslySelectedIndex)&&we.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===m.$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(we){this.animationDirection=we<this.stepNumber?"backward":"forward",this.stepNumber=we}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(we=>{we.next(null),we.complete()})}static#e=this.\u0275fac=function(St){return new(St||ot)(d.Y36(A.so),d.Y36(A.WI),d.Y36(E.yh),d.Y36(x.W),d.Y36(e.QS),d.Y36(I.JJ),d.Y36(k.mQ),d.Y36(V.F0),d.Y36(G.v))};static#t=this.\u0275cmp=d.Xpm({type:ot,selectors:[["rtl-loop-modal"]],viewQuery:function(St,zt){if(1&St&&d.Gf(ze,5),2&St){let Dt;d.iGM(Dt=d.CRH())&&(zt.stepper=Dt.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"],["fxLayout","column","fxFlex","70","fxLayoutAlign","space-between center",1,"padding-gap-x-large"],["fxFlex","100",3,"animationDirection","stepNumber","stepNumberChange",4,"ngIf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","center end",1,"padding-gap-x-large","padding-gap-bottom-large"],["tabindex","21","fxLayoutAlign","center center","class","dots-stepper-block",3,"click",4,"ngFor","ngForOf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","end end",1,"padding-gap-x-large","padding-gap-bottom-large"],["mat-button","","class","mr-1","color","primary","tabindex","15","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","16","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","17","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","18","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","19","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","20","type","button",3,"click",4,"ngIf"],["fxFlex","100",3,"animationDirection","stepNumber","stepNumberChange"],["tabindex","21","fxLayoutAlign","center center",1,"dots-stepper-block",3,"click"],[1,"dot","tiny-dot","mr-0",3,"ngClass"],["mat-button","","color","primary","tabindex","15","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","16","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","17","type","button",3,"click"],["mat-button","","color","primary","tabindex","18","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","19","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","20","type","button",3,"click"]],template:function(St,zt){1&St&&d.YNc(0,ne,75,55,"div",0)(1,Ie,1,1,"ng-template",null,1,d.W1O)(3,xi,20,11,"div",2),2&St&&(d.Q6J("ngIf",!zt.flgShowInfo),d.xp6(3),d.Q6J("ngIf",zt.flgShowInfo))},dependencies:[I.mk,I.sg,I.O5,e._Y,e.Fj,e.wV,e.JJ,e.JL,e.Q7,e.sg,e.u,j.xw,j.Wh,j.yH,W.oO,A.ZT,K.lW,q.dn,q.dk,ie.ib,ie.yz,ie.yK,ae.Hw,ue.Nt,re.KE,re.hX,re.bx,re.TO,re.R9,xe.pW,$.VQ,$.U0,he.Rr,S.gM,n.C0,n.VY,n.Vq,s.h,N,je,oe,Ae,I.JJ,I.rS],styles:[".dots-stepper-block[_ngcontent-%COMP%]{width:3rem}.info-graphics-container[_ngcontent-%COMP%]{max-height:30rem;min-height:30rem;overflow-x:hidden}"],data:{animation:[M._]}})}return ot})()},4740:(He,X,p)=>{"use strict";p.d(X,{w:()=>O});var e=p(590),t=p(9212),y=p(4190),A=p(5597),l=p(3814),M=p(2296),m=p(5195);let O=(()=>{class d{constructor(x){this.router=x,this.faTimes=e.NBC}goToHelp(){this.router.navigate(["/help"])}static#e=this.\u0275fac=function(I){return new(I||d)(t.Y36(y.F0))};static#t=this.\u0275cmp=t.Xpm({type:d,selectors:[["rtl-not-found"]],decls:13,vars:1,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column",1,"padding-gap-large"],["fxLayout","column","fxLayoutAlign","start start"],[1,"box-text"],["fxLayout","row","fxLayoutAlign","center","fxFlex","80"],["mat-flat-button","","color","primary","type","button",1,"mt-2",3,"click"]],template:function(I,k){1&I&&(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 k.goToHelp()}),t._uU(12,"Go To Help"),t.qZA()()()()()()),2&I&&(t.xp6(1),t.Q6J("icon",k.faTimes))},dependencies:[A.BN,l.xw,l.Wh,l.yH,M.lW,m.a8,m.dn],encapsulation:2})}return d})()},6985:(He,X,p)=>{"use strict";p.d(X,{h:()=>t});var e=p(9212);let t=(()=>{class y{constructor(l){this.el=l}ngAfterContentInit(){setTimeout(()=>{this.el.nativeElement.focus()},500)}static#e=this.\u0275fac=function(M){return new(M||y)(e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:y,selectors:[["","autoFocus",""]],inputs:{appAutoFocus:"appAutoFocus"}})}return y})()},7313:(He,X,p)=>{"use strict";p.d(X,{y:()=>t});var e=p(9212);let t=(()=>{class y{constructor(){this.copied=new e.vpe}onClick(l){l.preventDefault(),this.payload&&(navigator.clipboard?this.copyUsingClipboardAPI():this.copyUsingFallbackMethod())}copyUsingFallbackMethod(){const l=document.createElement("textarea");l.innerText=this.payload,document.body.appendChild(l),l.select();try{document.execCommand("copy")?this.copied.emit(this.payload.toString()):this.copied.emit("Error could not copy text.")}finally{document.body.removeChild(l)}}copyUsingClipboardAPI(){navigator.clipboard.writeText(this.payload.toString()).then(()=>{this.copied.emit(this.payload.toString())}).catch(l=>{this.copied.emit("Error could not copy text: "+JSON.stringify(l))})}static#e=this.\u0275fac=function(M){return new(M||y)};static#t=this.\u0275dir=e.lG2({type:y,selectors:[["","rtlClipboard",""]],hostBindings:function(M,m){1&M&&e.NdJ("click",function(d){return m.onClick(d)})},inputs:{payload:"payload"},outputs:{copied:"copied"}})}return y})()},3362:(He,X,p)=>{"use strict";p.d(X,{F:()=>y});var e=p(6223),t=p(9212);let y=(()=>{class A{validate(M){return this.max?e.kI.max(+this.max)(M):null}static#e=this.\u0275fac=function(m){return new(m||A)};static#t=this.\u0275dir=t.lG2({type:A,selectors:[["input","max",""]],inputs:{max:"max"},features:[t._Bn([{provide:e.Cf,useExisting:A,multi:!0}])]})}return A})()},6082:(He,X,p)=>{"use strict";p.d(X,{q:()=>y});var e=p(6223),t=p(9212);let y=(()=>{class A{validate(M){return this.min?e.kI.min(+this.min)(M):null}static#e=this.\u0275fac=function(m){return new(m||A)};static#t=this.\u0275dir=t.lG2({type:A,selectors:[["input","min",""]],inputs:{min:"min"},features:[t._Bn([{provide:e.Cf,useExisting:A,multi:!0}])]})}return A})()},2995:(He,X,p)=>{"use strict";p.d(X,{D3:()=>l,al:()=>t,h9:()=>y,i1:()=>A});var e=p(9212);let t=(()=>{class M{transform(O,d){return O?.replace(/^[0]+/g,"")}static#e=this.\u0275fac=function(d){return new(d||M)};static#t=this.\u0275pipe=e.Yjl({name:"removeleadingzeros",type:M,pure:!0})}return M})(),y=(()=>{class M{transform(O,d){return O?.replace(/(?:^\w|[A-Z]|\b\w)/g,(E,x)=>E.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}static#e=this.\u0275fac=function(d){return new(d||M)};static#t=this.\u0275pipe=e.Yjl({name:"camelcase",type:M,pure:!0})}return M})(),A=(()=>{class M{transform(O,d,E){return O.replace(/(?:^\w|[A-Z]|\b\w)/g,(x,I)=>" "+x.toUpperCase())}static#e=this.\u0275fac=function(d){return new(d||M)};static#t=this.\u0275pipe=e.Yjl({name:"camelCaseWithSpaces",type:M,pure:!0})}return M})(),l=(()=>{class M{transform(O,d,E){return O=O?O.toLowerCase().replace(/\s+/g,"")?.replace(/-/g," "):"",d&&(O=O.replace(new RegExp(d,"g")," ")),E&&(O=O.replace(new RegExp(E,"g")," ")),O.replace(/(?:^\w|[A-Z]|\b\w)/g,(x,I)=>x.toUpperCase())}static#e=this.\u0275fac=function(d){return new(d||M)};static#t=this.\u0275pipe=e.Yjl({name:"camelcaseWithReplace",type:M,pure:!0})}return M})()},5525:(He,X,p)=>{"use strict";p.d(X,{QM:()=>M,a1:()=>l,eQ:()=>m,fY:()=>O});var e=p(9212),t=p(4190),y=p(5813),A=p(7398);function l(){return()=>{const d=(0,e.f3M)(t.F0),E=(0,e.f3M)(t.gz),x=(0,e.f3M)(y.m);return!(!x.getItem("token")||E.snapshot.url&&E.snapshot.url.length&&"settings"!==E.snapshot.url[0].path&&"auth"!==E.snapshot.url[0].path&&"true"===x.getItem("defaultPassword")&&(d.navigate(["/settings/auth"]),1))}}function M(){return()=>!!(0,e.f3M)(y.m).watchSession().pipe((0,A.U)(E=>E.lndUnlocked))}function m(){return()=>!!(0,e.f3M)(y.m).watchSession().pipe((0,A.U)(E=>E.clnUnlocked))}function O(){return()=>!!(0,e.f3M)(y.m).watchSession().pipe((0,A.U)(E=>E.eclUnlocked))}},6339:(He,X,p)=>{"use strict";p.d(X,{v:()=>V});var e=p(5619),t=p(8645),y=p(2096),A=p(8504),l=p(9773),M=p(4664),m=p(6306),O=p(2154),d=p(9212),E=p(6046),x=p(5980),I=p(6814),k=p(6593);let V=(()=>{class G{constructor(W,K,q,ie){this.dataService=W,this.logger=K,this.datePipe=q,this.sanitizer=ie,this.currencyUnits=[],this.CurrencyUnitEnum=O.NT,this.conversionData={data:null,last_fetched:null},this.ratesAPIStatus=O.Bn.UN_INITIATED,this.screenSize=O.cu.MD,this.containerSize={width:0,height:0},this.containerSizeUpdated=new e.X(this.containerSize),this.unSubs=[new t.x,new t.x,new t.x]}getScreenSize(){return this.screenSize}setScreenSize(W){this.screenSize=W}getContainerSize(){return this.containerSize}setContainerSize(W,K){this.containerSize={width:W,height:K},this.logger.info("Container Size: "+JSON.stringify(this.containerSize)),this.containerSizeUpdated.next(this.containerSize)}sortByKey(W,K,q,ie="asc"){return W.sort("number"===q?"desc"===ie?(ae,ue)=>+ae[K]>+ue[K]?-1:1:(ae,ue)=>+ae[K]>+ue[K]?1:-1:"desc"===ie?(ae,ue)=>ae[K]>ue[K]?-1:1:(ae,ue)=>ae[K]>ue[K]?1:-1)}sortDescByKey(W,K){return W.sort((q,ie)=>{const ae=+q[K],ue=+ie[K];return ae>ue?-1:ae<ue?1:0})}sortAscByKey(W,K){return W.sort((q,ie)=>{const ae=+q[K],ue=+ie[K];return ae<ue?-1:ae>ue?1:0})}camelCase(W){return W?.replace(/(?:^\w|[A-Z]|\b\w)/g,(K,q)=>K.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}titleCase(W,K,q){return K&&q&&""!==K&&""!==q&&(W=W?.replace(new RegExp(K,"g"),q)),W.indexOf("!\n")>0||W.indexOf(".\n")>0?W.split("\n")?.reduce((ie,ae)=>ie+ae.charAt(0).toUpperCase()+ae.substring(1).toLowerCase()+"\n",""):W.indexOf(" ")>0?W.split(" ")?.reduce((ie,ae)=>ie+ae.charAt(0).toUpperCase()+ae.substring(1).toLowerCase()+" ",""):W.charAt(0).toUpperCase()+W.substring(1).toLowerCase()}convertCurrency(W,K,q,ie,ae,ue){const re=(new Date).valueOf();return ae&&ie&&(K===O.NT.OTHER||q===O.NT.OTHER)?this.ratesAPIStatus!==O.Bn.INITIATED?this.conversionData.data&&this.conversionData.last_fetched&&re<this.conversionData.last_fetched+3e5?(0,y.of)(this.convertWithFiat(W,K,ie)):(this.ratesAPIStatus=O.Bn.INITIATED,this.dataService.getFiatRates().pipe((0,l.R)(this.unSubs[0]),(0,M.w)(xe=>(this.ratesAPIStatus=O.Bn.COMPLETED,this.conversionData.data=xe&&"object"==typeof xe?xe:xe&&"string"==typeof xe?JSON.parse(xe):{},this.conversionData.last_fetched=re,(0,y.of)(this.convertWithFiat(W,K,ie)))),(0,m.K)(xe=>(this.ratesAPIStatus=O.Bn.ERROR,(0,A._)(()=>this.extractErrorMessage(xe,"Currency Conversion Error.")))))):(0,y.of)(this.conversionData.data&&this.conversionData.last_fetched&&re<this.conversionData.last_fetched+3e5?this.convertWithFiat(W,K,ie):this.convertWithoutFiat(W,K)):(0,y.of)(this.convertWithoutFiat(W,K))}convertWithoutFiat(W,K){const q={};switch(q[O.NT.SATS]=0,q[O.NT.BTC]=0,K){case O.NT.SATS:q[O.NT.SATS]=W,q[O.NT.BTC]=1e-8*W;break;case O.NT.BTC:q[O.NT.SATS]=1e8*W,q[O.NT.BTC]=W}return q}convertWithFiat(W,K,q){const ie={unit:q,iconType:"FA",symbol:null};if(q){const ae=(0,O.$1)(this.conversionData.data[q].symbol);ie.iconType=ae.iconType,ie.symbol=ae&&"SVG"===ae.iconType&&ae.symbol&&"string"==typeof ae.symbol?this.sanitizer.bypassSecurityTrustHtml(ae.symbol):ae.symbol}switch(ie[O.NT.SATS]=0,ie[O.NT.BTC]=0,ie[O.NT.OTHER]=0,K){case O.NT.SATS:ie[O.NT.SATS]=W,ie[O.NT.BTC]=1e-8*W,ie[O.NT.OTHER]=1e-8*W*this.conversionData.data[q].last;break;case O.NT.BTC:ie[O.NT.SATS]=1e8*W,ie[O.NT.BTC]=W,ie[O.NT.OTHER]=W*this.conversionData.data[q].last;break;case O.NT.OTHER:ie[O.NT.SATS]=W/this.conversionData.data[q].last*1e8,ie[O.NT.BTC]=W/this.conversionData.data[q].last,ie[O.NT.OTHER]=W}return ie}convertTime(W,K,q){switch(K){case O.Qk.SECS:switch(q){case O.Qk.MINS:W/=60;break;case O.Qk.HOURS:W/=O.k_;break;case O.Qk.DAYS:W/=24*O.k_}break;case O.Qk.MINS:switch(q){case O.Qk.SECS:W*=60;break;case O.Qk.HOURS:W/=60;break;case O.Qk.DAYS:W/=1440}break;case O.Qk.HOURS:switch(q){case O.Qk.SECS:W*=O.k_;break;case O.Qk.MINS:W*=60;break;case O.Qk.DAYS:W/=24}break;case O.Qk.DAYS:switch(q){case O.Qk.SECS:W=W*O.k_*24;break;case O.Qk.MINS:W=60*W*24;break;case O.Qk.HOURS:W*=24}}return W}downloadFile(W,K,q=".json",ie=".csv"){let ae=new Blob;ae=".json"===q?new Blob(["\ufeff"+this.convertToCSV(W)],{type:"text/csv;charset=utf-8;"}):new Blob([W.toString()],{type:"text/plain;charset=utf-8"});const ue=document.createElement("a"),re=URL.createObjectURL(ae);-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome")&&ue.setAttribute("target","_blank"),ue.setAttribute("href",re),ue.setAttribute("download",K+ie),ue.style.visibility="hidden",document.body.appendChild(ue),ue.click(),document.body.removeChild(ue)}convertToCSV(W){const K=[];let q="",ie="",ae="";return"object"!=typeof W&&(W=JSON.parse(W)),W.forEach((re,xe)=>{for(const $ in re)K.findIndex(he=>he===$)<0&&K.push($)}),ae=K.join(",")+"\r\n",W.forEach(re=>{q="",K.forEach(xe=>{if(re.hasOwnProperty(xe))if(Array.isArray(re[xe]))ie="",re[xe].forEach(($,he)=>{ie+="object"==typeof $?"("+JSON.stringify($)?.replace(/\,/g,";")+")":"("+$+")"}),q+=ie+",";else if("object"==typeof re[xe])q+=JSON.stringify(re[xe])?.replace(/\,/g,";")+",";else if(xe.includes("timestamp")||xe.includes("date"))try{switch(re[xe].toString().length){case 10:q+=this.datePipe.transform(new Date(1e3*re[xe]),"dd/MMM/y HH:mm")+",";break;case 13:q+=this.datePipe.transform(new Date(re[xe]),"dd/MMM/y HH:mm")+",";break;default:q+=re[xe]+","}}catch{q+=re[xe]+","}else q+=re[xe]+",";else q+=","}),ae+=q.slice(0,-1)+"\r\n"}),ae}isVersionCompatible(W,K){if(W){const q=W.match(/v?(?<version>\d+(?:\.\d+)*)/);if(q&&q.groups&&q.groups.version){this.logger.info("Current Version: "+q.groups.version),this.logger.info("Checking Compatiblility with Version: "+K);const ie=q.groups.version.split(".")||[],ae=K.split(".");return+ie[0]>+ae[0]||+ie[0]==+ae[0]&&+ie[1]>+ae[1]||+ie[0]==+ae[0]&&+ie[1]==+ae[1]&&+ie[2]>=+ae[2]}return this.logger.error("Invalid Version String: "+W),!1}return!1}extractErrorMessage(W,K="Unknown Error."){const q=this.titleCase(W.error&&W.error.text&&"string"==typeof W.error.text&&W.error.text.includes('<!DOCTYPE html><html lang="en">')?"API Route Does Not Exist.":W.error&&W.error.error&&W.error.error.error&&W.error.error.error.error&&W.error.error.error.error.error&&"string"==typeof W.error.error.error.error.error?W.error.error.error.error.error:W.error&&W.error.error&&W.error.error.error&&W.error.error.error.error&&"string"==typeof W.error.error.error.error?W.error.error.error.error:W.error&&W.error.error&&W.error.error.error&&"string"==typeof W.error.error.error?W.error.error.error:W.error&&W.error.error&&"string"==typeof W.error.error?W.error.error:W.error&&"string"==typeof W.error?W.error:W.error&&W.error.error&&W.error.error.error&&W.error.error.error.error&&W.error.error.error.error.message&&"string"==typeof W.error.error.error.error.message?W.error.error.error.error.message:W.error&&W.error.error&&W.error.error.error&&W.error.error.error.message&&"string"==typeof W.error.error.error.message?W.error.error.error.message:W.error&&W.error.error&&W.error.error.message&&"string"==typeof W.error.error.message?W.error.error.message:W.error&&W.error.message&&"string"==typeof W.error.message?W.error.message:W.message&&"string"==typeof W.message?W.message:K);return this.logger.info("Error Message: "+q),q}extractErrorCode(W,K=500){const q=W.error&&W.error.error&&W.error.error.message&&W.error.error.message.code?W.error.error.message.code:W.error&&W.error.error&&W.error.error.code?W.error.error.code:W.error&&W.error.code?W.error.code:W.code?W.code:W.status?W.status:K;return this.logger.info("Error Code: "+q),q}extractErrorNumber(W,K=500){const q=W.error&&W.error.error&&W.error.error.errno?W.error.error.errno:W.error&&W.error.errno?W.error.errno:W.errno?W.errno:W.status?W.status:K;return this.logger.info("Error Number: "+q),q}ngOnDestroy(){this.containerSizeUpdated.next(null),this.containerSizeUpdated.complete()}static#e=this.\u0275fac=function(K){return new(K||G)(d.LFG(E.D),d.LFG(x.mQ),d.LFG(I.uU),d.LFG(k.H7))};static#t=this.\u0275prov=d.Yz7({token:G,factory:G.\u0275fac})}return G})()},2154:(He,X,p)=>{"use strict";p.d(X,{$1:()=>Xt,$I:()=>g,$Y:()=>M,$v:()=>ae,AB:()=>ge,At:()=>ke,Bn:()=>$e,Df:()=>oe,Dr:()=>W,Er:()=>Be,Fq:()=>r,Gi:()=>f,HW:()=>w,H_:()=>ve,IV:()=>V,IX:()=>fe,LO:()=>I,NT:()=>s,OJ:()=>he,OO:()=>Ze,Pi:()=>ze,Qk:()=>S,Qw:()=>N,T5:()=>O,TJ:()=>G,Vc:()=>K,Xk:()=>lt,Xr:()=>de,Xz:()=>x,Zs:()=>v,_t:()=>j,c3:()=>Et,cu:()=>h,g8:()=>re,gB:()=>Ge,gG:()=>et,gK:()=>ct,gg:()=>te,hG:()=>Qe,hZ:()=>ce,hc:()=>H,kO:()=>je,k_:()=>l,lr:()=>qe,m6:()=>ye,nM:()=>ue,n_:()=>$,ol:()=>xe,op:()=>De,p7:()=>P,pg:()=>Ce,pt:()=>A,q4:()=>m,uA:()=>E,uR:()=>le,vn:()=>q,vv:()=>d,wZ:()=>ie,x$:()=>D,zZ:()=>nt});var e=p(9212),t=p(1476),y=p(590);function A(J){const We=new t.ye;return We.itemsPerPageLabel=J+" per page:",We}const l=3600,M=24*l*7,m="0.15.1-beta",O=(0,e.X6Q)()?"http://localhost:3000/rtl/api":"./api",d={AUTHENTICATE_API:O+"/authenticate",CONF_API:O+"/conf",PAGE_SETTINGS_API:O+"/pagesettings",BALANCE_API:"/balance",FEES_API:"/fees",PEERS_API:"/peers",CHANNELS_API:"/channels",CHANNELS_BACKUP_API:"/channels/backup",GETINFO_API:"/getinfo",WALLET_API:"/wallet",NETWORK_API:"/network",NEW_ADDRESS_API:"/newaddress",TRANSACTIONS_API:"/transactions",PAYMENTS_API:"/payments",INVOICES_API:"/invoices",SWITCH_API:"/switch",ON_CHAIN_API:"/onchain",MESSAGE_API:"/message",OFFERS_API:"/offers",UTILITY_API:"/utility",LOOP_API:"/loop",BOLTZ_API:"/boltz",Web_SOCKET_API:"/ws"},E=["Sats","BTC"],x={Sats:"1.0-0",BTC:"1.6-6",OTHER:"1.2-2"},I=["SECS","MINS","HOURS","DAYS"],V=10,G=[5,10,25,100],j=[{addressId:"0",addressCode:"bech32",addressTp:"Bech32 (P2WKH)",addressDetails:"Pay to witness key hash"},{addressId:"1",addressCode:"p2sh-segwit",addressTp:"P2SH (NP2WKH)",addressDetails:"Pay to nested witness key hash (default)"},{addressId:"4",addressCode:"p2tr",addressTp:"Taproot (P2TR)",addressDetails:"Pay to taproot pubkey"}],W=[{id:"0",name:"Priority (Default)"},{id:"1",name:"Target Confirmation Blocks"},{id:"2",name:"Fee"}],K=[{id:"none",name:"No Fee Limit",placeholder:"No Limit"},{id:"fixed",name:"Fixed Limit (Sats)",placeholder:"Fixed Limit in Sats"},{id:"percent",name:"Percentage of Payment Amount",placeholder:"Percentage Limit"}],q=[{feeRateId:"urgent",feeRateType:"Urgent"},{feeRateId:"normal",feeRateType:"Normal"},{feeRateId:"slow",feeRateType:"Slow"},{feeRateId:"customperkb",feeRateType:"Custom (Sats/vByte)"}],ie={themes:[{id:"PURPLE",name:"Diogo"},{id:"TEAL",name:"My2Sats"},{id:"INDIGO",name:"RTL"},{id:"PINK",name:"BK"},{id:"YELLOW",name:"Gold"}],modes:[{id:"DAY",name:"Day"},{id:"NIGHT",name:"Night"}]};var ae=function(J){return J.PAYMENT_RECEIVED="payment-received",J.PAYMENT_RELAYED="payment-relayed",J.PAYMENT_SENT="payment-sent",J.PAYMENT_SETTLING_ONCHAIN="payment-settling-onchain",J.PAYMENT_FAILED="payment-failed",J.CHANNEL_OPENED="channel-opened",J.CHANNEL_STATE_CHANGED="channel-state-changed",J.CHANNEL_CLOSED="channel-closed",J}(ae||{}),ue=function(J){return J.CONNECT="connect",J.DISCONNECT="disconnect",J.WARNING="warning",J.INVOICE_PAYMENT="invoice_payment",J.INVOICE_CREATION="invoice_creation",J.CHANNEL_OPENED="channel_opened",J.CHANNEL_STATE_CHANGED="channel_state_changed",J.SENDPAY_SUCCESS="sendpay_success",J.SENDPAY_FAILURE="sendpay_failure",J.COIN_MOVEMENT="coin_movement",J.BALANCE_SNAPSHOT="balance_snapshot",J.BLOCK_ADDED="block_added",J.OPENCHANNEL_PEER_SIGS="openchannel_peer_sigs",J.CHANNEL_OPEN_FAILED="channel_open_failed",J}(ue||{}),re=function(J){return J.INVOICE="invoice",J}(re||{}),xe=function(J){return J.OPERATOR="OPERATOR",J.MERCHANT="MERCHANT",J.ALL="ALL",J}(xe||{}),$=function(J){return J.INFORMATION="Information",J.WARNING="Warning",J.ERROR="Error",J.SUCCESS="Success",J.CONFIRM="Confirm",J}($||{}),he=function(J){return J.JWT="JWT",J.PASSWORD="PASSWORD",J}(he||{}),S=function(J){return J.SECS="SECS",J.MINS="MINS",J.HOURS="HOURS",J.DAYS="DAYS",J}(S||{}),s=function(J){return J.SATS="Sats",J.BTC="BTC",J.OTHER="OTHER",J}(s||{}),f=function(J){return J.ARRAY="ARRAY",J.NUMBER="NUMBER",J.STRING="STRING",J.BOOLEAN="BOOLEAN",J.PASSWORD="PASSWORD",J.DATE="DATE",J.DATE_TIME="DATE_TIME",J}(f||{}),h=function(J){return J.XS="XS",J.SM="SM",J.MD="MD",J.LG="LG",J.XL="XL",J}(h||{});const w={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"}},D={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 P=function(J){return J.WIRE_INVALID_ONION_VERSION="Invalid Onion Version",J.WIRE_INVALID_ONION_HMAC="Invalid Onion HMAC",J.WIRE_INVALID_ONION_KEY="Invalid Onion Key",J.WIRE_TEMPORARY_CHANNEL_FAILURE="Temporary Channel Failure",J.WIRE_PERMANENT_CHANNEL_FAILURE="Permanent Channel Failure",J.WIRE_REQUIRED_CHANNEL_FEATURE_MISSING="Missing Required Channel Feature",J.WIRE_UNKNOWN_NEXT_PEER="Unknown Next Peer",J.WIRE_AMOUNT_BELOW_MINIMUM="Amount Below Minimum",J.WIRE_FEE_INSUFFICIENT="Insufficient Fee",J.WIRE_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",J.WIRE_EXPIRY_TOO_FAR="Expiry Too Far",J.WIRE_EXPIRY_TOO_SOON="Expiry Too Soon",J.WIRE_CHANNEL_DISABLED="Channel Disabled",J.WIRE_INVALID_ONION_PAYLOAD="Invalid Onion Payload",J.WIRE_INVALID_REALM="Invalid Realm",J.WIRE_PERMANENT_NODE_FAILURE="Permanent Node Failure",J.WIRE_TEMPORARY_NODE_FAILURE="Temporary Node Failure",J.WIRE_REQUIRED_NODE_FEATURE_MISSING="Missing Required Node Feature",J.WIRE_INVALID_ONION_BLINDING="Invalid Onion Binding",J.WIRE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS="Incorrect or Unknow Payment Details",J.WIRE_MPP_TIMEOUT="MPP Timeout",J.WIRE_FINAL_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",J.WIRE_FINAL_INCORRECT_HTLC_AMOUNT="Incorrect HTLC Amount",J}(P||{}),v=function(J){return J.CHANNELD_NORMAL="Active",J.OPENINGD="Opening",J.CHANNELD_AWAITING_LOCKIN="Pending Open",J.CHANNELD_SHUTTING_DOWN="Shutting Down",J.CLOSINGD_SIGEXCHANGE="Closing: Sig Exchange",J.CLOSINGD_COMPLETE="Closed",J.AWAITING_UNILATERAL="Awaiting Unilateral Close",J.FUNDING_SPEND_SEEN="Funding Spend Seen",J.ONCHAIN="Onchain",J.DUALOPEND_OPEN_INIT="Dual Open Initialized",J.DUALOPEND_AWAITING_LOCKIN="Dual Pending Open",J}(v||{}),r=function(J){return J.INITIATED="Initiated",J.PREIMAGE_REVEALED="Preimage Revealed",J.HTLC_PUBLISHED="HTLC Published",J.SUCCESS="Successful",J.FAILED="Failed",J.INVOICE_SETTLED="Invoice Settled",J}(r||{}),g=function(J){return J.LOOP_OUT="LOOP_OUT",J.LOOP_IN="LOOP_IN",J}(g||{}),H=function(J){return J.SWAP_OUT="SWAP_OUT",J.SWAP_IN="SWAP_IN",J}(H||{}),N=function(J){return J["swap.created"]="Swap Created",J["swap.expired"]="Swap Expired",J["invoice.set"]="Invoice Set",J["invoice.paid"]="Invoice Paid",J["invoice.pending"]="Invoice Pending",J["invoice.settled"]="Invoice Settled",J["invoice.failedToPay"]="Invoice Failed To Pay",J["channel.created"]="Channel Created",J["transaction.failed"]="Transaction Failed",J["transaction.mempool"]="Transaction Mempool",J["transaction.claimed"]="Transaction Claimed",J["transaction.refunded"]="Transaction Refunded",J["transaction.confirmed"]="Transaction Confirmed",J["transaction.lockupFailed"]="Lockup Transaction Failed",J["swap.refunded"]="Swap Refunded",J["swap.abandoned"]="Swap Abandoned",J}(N||{});const te=[{name:"Jan",days:31},{name:"Feb",days:28},{name:"Mar",days:31},{name:"Apr",days:30},{name:"May",days:31},{name:"Jun",days:30},{name:"Jul",days:31},{name:"Aug",days:31},{name:"Sep",days:30},{name:"Oct",days:31},{name:"Nov",days:30},{name:"Dec",days:31}],De=["MONTHLY","YEARLY"],je=["password","changeme","moneyprintergobrrr"];var $e=function(J){return J.UN_INITIATED="UN_INITIATED",J.INITIATED="INITIATED",J.COMPLETED="COMPLETED",J.ERROR="ERROR",J}($e||{});const ye={NO_SPINNER:"No Spinner...",GET_NODE_INFO:"Getting Node Information...",INITALIZE_NODE_DATA:"Initializing Node Data...",GENERATE_NEW_ADDRESS:"Getting New Address...",SEND_FUNDS:"Sending Funds...",UPDATE_CHAN_POLICY:"Updating Channel Policy...",GET_CHAN_POLICY:"Fetching Channel Policy...",GET_REMOTE_POLICY:"Fetching Remote Policy...",CLOSE_CHANNEL:"Closing Channel...",FORCE_CLOSE_CHANNEL:"Force Closing Channel...",OPEN_CHANNEL:"Opening Channel...",CONNECT_PEER:"Connecting Peer...",DISCONNECT_PEER:"Disconnecting Peer...",ADD_INVOICE:"Adding Invoice...",CREATE_INVOICE:"Creating Invoice...",DELETE_INVOICE:"Deleting Invoices...",DECODE_PAYMENT:"Decoding Payment...",DECODE_OFFER:"Decoding Offer...",DECODE_PAYMENTS:"Decoding Payments...",FETCH_INVOICE:"Fetching Invoice...",GET_SENT_PAYMENTS:"Getting Sent Payments...",SEND_PAYMENT:"Sending Payment...",SEND_KEYSEND:"Sending Keysend Payment...",SEARCHING_NODE:"Searching Node...",SEARCHING_CHANNEL:"Searching Channel...",SEARCHING_INVOICE:"Searching Invoice...",SEARCHING_PAYMENT:"Searching Payment...",BACKUP_CHANNEL:"Backup Channels...",VERIFY_CHANNEL:"Verify Channel...",DOWNLOAD_BACKUP_FILE:"Downloading Backup File...",RESTORE_CHANNEL:"Restoring Channels...",GET_TERMS_QUOTES:"Getting Terms and Quotes...",LABEL_UTXO:"Labelling UTXO...",GET_NODE_ADDRESS:"Getting Node Address...",GEN_SEED:"Generating Seed...",INITIALIZE_WALLET:"Initializing Wallet...",UNLOCK_WALLET:"Unlocking Wallet...",WAIT_SYNC_NODE:"Waiting for Node Sync...",UPDATE_BOLTZ_SETTINGS:"Updating Boltz Service Settings...",UPDATE_LOOP_SETTINGS:"Updating Loop Service Settings...",UPDATE_PEERSWAP_SETTINGS:"Updating Peerswap Service Settings...",UPDATE_SETTING:"Updating Setting...",UPDATE_APPLICATION_SETTINGS:"Updating Application Settings...",UPDATE_NODE_SETTINGS:"Updating Node Settings...",UPDATE_SELECTED_NODE:"Updating Selected Node...",OPEN_CONFIG_FILE:"Opening Config File...",GET_BOLTZ_INFO:"Getting Boltz Info...",GET_SERVICE_INFO:"Getting Service Info...",GET_QUOTE:"Getting Quotes...",UPDATE_DEFAULT_NODE_SETTING:"Updating Defaule Node Settings...",GET_BOLTZ_SWAPS:"Getting Boltz Swaps...",SIGN_MESSAGE:"Signing Message...",VERIFY_MESSAGE:"Verifying Message...",BUMP_FEE:"Bumping Fee...",LEASE_UTXO:"Leasing UTXO...",GET_LOOP_INFO:"Getting Loop Info...",GET_LOOP_SWAPS:"Getting List Swaps...",GET_FORWARDING_HISTORY:"Getting Forwarding History...",GET_LOOKUP_DETAILS:"Getting Lookup Details...",GET_RTL_CONFIG:"Getting RTL Config...",VERIFY_TOKEN:"Verify Token...",DISABLE_OFFER:"Disabling Offer...",CREATE_OFFER:"Creating Offer...",DELETE_OFFER_BOOKMARK:"Deleting Bookmark...",GET_FUNDER_POLICY:"Getting Or Updating Funder Policy...",GET_LIST_CONFIGS:"Getting Configurations List...",LIST_NETWORK_NODES:"Getting Network Nodes List...",GET_PAGE_SETTINGS:"Getting Page Settings...",SET_PAGE_SETTINGS:"Setting Page Settings...",UPDATE_PAGE_SETTINGS:"Updating Page Layout...",REBALANCE_CHANNEL:"Rebalancing Channel...",LOG_OUT:"Logging Out..."};var fe=function(J){return J.INVOICE="INVOICE",J.OFFER="OFFER",J.KEYSEND="KEYSEND",J}(fe||{}),de=function(J){return J.FEES="FEES",J.EVENTS="EVENTS",J}(de||{}),Ce=function(J){return J.VOID="VOID",J.SET_API_URL_ECL="SET_API_URL_ECL",J.UPDATE_SELECTED_NODE_OPTIONS="UPDATE_SELECTED_NODE_OPTIONS",J.UPDATE_API_CALL_STATUS_ROOT="UPDATE_API_CALL_STATUS_ROOT",J.RESET_ROOT_STORE="RESET_ROOT_STORE",J.CLOSE_ALL_DIALOGS="CLOSE_ALL_DIALOGS",J.OPEN_SNACK_BAR="OPEN_SNACKBAR",J.OPEN_SPINNER="OPEN_SPINNER",J.CLOSE_SPINNER="CLOSE_SPINNER",J.OPEN_ALERT="OPEN_ALERT",J.CLOSE_ALERT="CLOSE_ALERT",J.OPEN_CONFIRMATION="OPEN_CONFIRMATION",J.CLOSE_CONFIRMATION="CLOSE_CONFIRMATION",J.SHOW_PUBKEY="SHOW_PUBKEY",J.FETCH_CONFIG="FETCH_CONFIG",J.SHOW_CONFIG="SHOW_CONFIG",J.FETCH_STORE="FETCH_STORE",J.SET_STORE="SET_STORE",J.FETCH_APPLICATION_SETTINGS="FETCH_APPLICATION_SETTINGS",J.SET_APPLICATION_SETTINGS="SET_APPLICATION_SETTINGS",J.SAVE_SETTINGS="SAVE_SETTINGS",J.SET_SELECTED_NODE="SET_SELECTED_NODE",J.UPDATE_ROOT_NODE_SETTINGS="UPDATE_ROOT_NODE_SETTINGS",J.UPDATE_APPLICATION_SETTINGS="UPDATE_APPLICATION_SETTINGS",J.UPDATE_NODE_SETTINGS="UPDATE_NODE_SETTINGS",J.UPDATE_SELECTED_NODE_SETTINGS="UPDATE_SELECTED_NODE_SETTINGS",J.SET_NODE_DATA="SET_NODE_DATA",J.IS_AUTHORIZED="IS_AUTHORIZED",J.IS_AUTHORIZED_RES="IS_AUTHORIZED_RES",J.LOGIN="LOGIN",J.VERIFY_TWO_FA="VERIFY_TWO_FA",J.LOGOUT="LOGOUT",J.RESET_PASSWORD="RESET_PASSWORD",J.RESET_PASSWORD_RES="RESET_PASSWORD_RES",J.FETCH_FILE="FETCH_FILE",J.SHOW_FILE="SHOW_FILE",J}(Ce||{}),le=function(J){return J.RESET_LND_STORE="RESET_LND_STORE",J.UPDATE_API_CALL_STATUS_LND="UPDATE_API_CALL_STATUS_LND",J.SET_CHILD_NODE_SETTINGS_LND="SET_CHILD_NODE_SETTINGS_LND",J.FETCH_PAGE_SETTINGS_LND="FETCH_PAGE_SETTINGS_LND",J.SET_PAGE_SETTINGS_LND="SET_PAGE_SETTINGS_LND",J.SAVE_PAGE_SETTINGS_LND="SAVE_PAGE_SETTINGS_LND",J.FETCH_INFO_LND="FETCH_INFO_LND",J.SET_INFO_LND="SET_INFO_LND",J.FETCH_PEERS_LND="FETCH_PEERS_LND",J.SET_PEERS_LND="SET_PEERS_LND",J.SAVE_NEW_PEER_LND="SAVE_NEW_PEER_LND",J.NEWLY_ADDED_PEER_LND="NEWLY_ADDED_PEER_LND",J.DETACH_PEER_LND="DETACH_PEER_LND",J.REMOVE_PEER_LND="REMOVE_PEER_LND",J.SAVE_NEW_INVOICE_LND="SAVE_NEW_INVOICE_LND",J.NEWLY_SAVED_INVOICE_LND="NEWLY_SAVED_INVOICE_LND",J.ADD_INVOICE_LND="ADD_INVOICE_LND",J.FETCH_FEES_LND="FETCH_FEES_LND",J.SET_FEES_LND="SET_FEES_LND",J.FETCH_BLOCKCHAIN_BALANCE_LND="FETCH_BLOCKCHAIN_BALANCE_LND",J.SET_BLOCKCHAIN_BALANCE_LND="SET_BLOCKCHAIN_BALANCE_LND",J.FETCH_NETWORK_LND="FETCH_NETWORK_LND",J.SET_NETWORK_LND="SET_NETWORK_LND",J.FETCH_CHANNELS_LND="FETCH_CHANNELS_LND",J.FETCH_PENDING_CHANNELS_LND="FETCH_PENDING_CHANNELS_LND",J.FETCH_CLOSED_CHANNELS_LND="FETCH_CLOSED_CHANNELS_LND",J.SET_CHANNELS_LND="SET_CHANNELS_LND",J.SET_PENDING_CHANNELS_LND="SET_PENDING_CHANNELS_LND",J.SET_CLOSED_CHANNELS_LND="SET_CLOSED_CHANNELS_LND",J.UPDATE_CHANNEL_LND="UPDATE_CHANNEL_LND",J.SAVE_NEW_CHANNEL_LND="SAVE_NEW_CHANNEL_LND",J.CLOSE_CHANNEL_LND="CLOSE_CHANNEL_LND",J.REMOVE_CHANNEL_LND="REMOVE_CHANNEL_LND",J.BACKUP_CHANNELS_LND="BACKUP_CHANNELS_LND",J.VERIFY_CHANNEL_LND="VERIFY_CHANNEL_LND",J.BACKUP_CHANNELS_RES_LND="BACKUP_CHANNELS_RES_LND",J.VERIFY_CHANNEL_RES_LND="VERIFY_CHANNEL_RES_LND",J.RESTORE_CHANNELS_LIST_LND="RESTORE_CHANNELS_LIST_LND",J.SET_RESTORE_CHANNELS_LIST_LND="SET_RESTORE_CHANNELS_LIST_LND",J.RESTORE_CHANNELS_LND="RESTORE_CHANNELS_LND",J.RESTORE_CHANNELS_RES_LND="RESTORE_CHANNELS_RES_LND",J.FETCH_INVOICES_LND="FETCH_INVOICES_LND",J.SET_INVOICES_LND="SET_INVOICES_LND",J.UPDATE_INVOICE_LND="UPDATE_INVOICE_LND",J.UPDATE_PAYMENT_LND="UPDATE_PAYMENT_LND",J.SET_TOTAL_INVOICES_LND="SET_TOTAL_INVOICES_LND",J.FETCH_TRANSACTIONS_LND="FETCH_TRANSACTIONS_LND",J.SET_TRANSACTIONS_LND="SET_TRANSACTIONS_LND",J.FETCH_UTXOS_LND="FETCH_UTXOS_LND",J.SET_UTXOS_LND="SET_UTXOS_LND",J.FETCH_PAYMENTS_LND="FETCH_PAYMENTS_LND",J.SET_PAYMENTS_LND="SET_PAYMENTS_LND",J.SEND_PAYMENT_LND="SEND_PAYMENT_LND",J.SEND_PAYMENT_STATUS_LND="SEND_PAYMENT_STATUS_LND",J.FETCH_GRAPH_NODE_LND="FETCH_GRAPH_NODE_LND",J.SET_GRAPH_NODE_LND="SET_GRAPH_NODE_LND",J.GET_NEW_ADDRESS_LND="GET_NEW_ADDRESS_LND",J.SET_NEW_ADDRESS_LND="SET_NEW_ADDRESS_LND",J.SET_CHANNEL_TRANSACTION_LND="SET_CHANNEL_TRANSACTION_LND",J.SET_CHANNEL_TRANSACTION_RES_LND="SET_CHANNEL_TRANSACTION_RES_LND",J.GEN_SEED_LND="GEN_SEED_LND",J.GEN_SEED_RESPONSE_LND="GEN_SEED_RESPONSE_LND",J.INIT_WALLET_LND="INIT_WALLET_LND",J.INIT_WALLET_RESPONSE_LND="INIT_WALLET_RESPONSE_LND",J.UNLOCK_WALLET_LND="UNLOCK_WALLET_LND",J.PEER_LOOKUP_LND="PEER_LOOKUP_LND",J.CHANNEL_LOOKUP_LND="CHANNEL_LOOKUP_LND",J.INVOICE_LOOKUP_LND="INVOICE_LOOKUP_LND",J.PAYMENT_LOOKUP_LND="PAYMENT_LOOKUP_LND",J.SET_LOOKUP_LND="SET_LOOKUP_LND",J.GET_FORWARDING_HISTORY_LND="GET_FORWARDING_HISTORY_LND",J.SET_FORWARDING_HISTORY_LND="SET_FORWARDING_HISTORY_LND",J.GET_QUERY_ROUTES_LND="GET_QUERY_ROUTES_LND",J.SET_QUERY_ROUTES_LND="SET_QUERY_ROUTES_LND",J.GET_ALL_LIGHTNING_TRANSATIONS_LND="GET_ALL_LIGHTNING_TRANSATIONS_LND",J.SET_ALL_LIGHTNING_TRANSATIONS_LND="SET_ALL_LIGHTNING_TRANSATIONS_LND",J}(le||{}),ge=function(J){return J.RESET_CLN_STORE="RESET_CLN_STORE",J.UPDATE_API_CALL_STATUS_CLN="UPDATE_API_CALL_STATUS_CLN",J.SET_CHILD_NODE_SETTINGS_CLN="SET_CHILD_NODE_SETTINGS_CLN",J.FETCH_PAGE_SETTINGS_CLN="FETCH_PAGE_SETTINGS_CLN",J.SET_PAGE_SETTINGS_CLN="SET_PAGE_SETTINGS_CLN",J.SAVE_PAGE_SETTINGS_CLN="SAVE_PAGE_SETTINGS_CLN",J.FETCH_INFO_CLN="FETCH_INFO_CL_CLN",J.SET_INFO_CLN="SET_INFO_CLN",J.FETCH_FEES_CLN="FETCH_FEES_CLN",J.SET_FEES_CLN="SET_FEES_CLN",J.FETCH_FEE_RATES_CLN="FETCH_FEE_RATES_CLN",J.SET_FEE_RATES_CLN="SET_FEE_RATES_CLN",J.GET_NEW_ADDRESS_CLN="GET_NEW_ADDRESS_CLN",J.SET_NEW_ADDRESS_CLN="SET_NEW_ADDRESS_CLN",J.FETCH_UTXO_BALANCES_CLN="FETCH_UTXO_BALANCES_CLN",J.SET_UTXO_BALANCES_CLN="SET_UTXO_BALANCES_CLN",J.FETCH_PEERS_CLN="FETCH_PEERS_CLN",J.SET_PEERS_CLN="SET_PEERS_CLN",J.SAVE_NEW_PEER_CLN="SAVE_NEW_PEER_CLN",J.NEWLY_ADDED_PEER_CLN="NEWLY_ADDED_PEER_CLN",J.ADD_PEER_CLN="ADD_PEER_CLN",J.DETACH_PEER_CLN="DETACH_PEER_CLN",J.REMOVE_PEER_CLN="REMOVE_PEER_CLN",J.FETCH_CHANNELS_CLN="FETCH_CHANNELS_CLN",J.SET_CHANNELS_CLN="SET_CHANNELS_CLN",J.UPDATE_CHANNEL_CLN="UPDATE_CHANNEL_CLN",J.SAVE_NEW_CHANNEL_CLN="SAVE_NEW_CHANNEL_CLN",J.CLOSE_CHANNEL_CLN="CLOSE_CHANNEL_CLN",J.REMOVE_CHANNEL_CLN="REMOVE_CHANNEL_CLN",J.FETCH_PAYMENTS_CLN="FETCH_PAYMENTS_CLN",J.SET_PAYMENTS_CLN="SET_PAYMENTS_CLN",J.SEND_PAYMENT_CLN="SEND_PAYMENT_CLN",J.SEND_PAYMENT_STATUS_CLN="SEND_PAYMENT_STATUS_CLN",J.GET_QUERY_ROUTES_CLN="GET_QUERY_ROUTES_CLN",J.SET_QUERY_ROUTES_CLN="SET_QUERY_ROUTES_CLN",J.PEER_LOOKUP_CLN="PEER_LOOKUP_CLN",J.CHANNEL_LOOKUP_CLN="CHANNEL_LOOKUP_CLN",J.INVOICE_LOOKUP_CLN="INVOICE_LOOKUP_CLN",J.SET_LOOKUP_CLN="SET_LOOKUP_CLN",J.GET_FORWARDING_HISTORY_CLN="GET_FORWARDING_HISTORY_CLN",J.SET_FORWARDING_HISTORY_CLN="SET_FORWARDING_HISTORY_CLN",J.GET_FAILED_FORWARDING_HISTORY_CLN="GET_FAILED_FORWARDING_HISTORY_CLN",J.SET_FAILED_FORWARDING_HISTORY_CLN="SET_FAILED_FORWARDING_HISTORY_CLN",J.GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",J.SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",J.FETCH_INVOICES_CLN="FETCH_INVOICES_CLN",J.SET_INVOICES_CLN="SET_INVOICES_CLN",J.SAVE_NEW_INVOICE_CLN="SAVE_NEW_INVOICE_CLN",J.ADD_INVOICE_CLN="ADD_INVOICE_CLN",J.UPDATE_INVOICE_CLN="UPDATE_INVOICE_CLN",J.DELETE_EXPIRED_INVOICE_CLN="DELETE_EXPIRED_INVOICE_CLN",J.SET_CHANNEL_TRANSACTION_CLN="SET_CHANNEL_TRANSACTION_CLN",J.SET_CHANNEL_TRANSACTION_RES_CLN="SET_CHANNEL_TRANSACTION_RES_CLN",J.FETCH_OFFER_INVOICE_CLN="FETCH_OFFER_INVOICE_CLN",J.SET_OFFER_INVOICE_CLN="SET_OFFER_INVOICE_CLN",J.FETCH_OFFERS_CLN="FETCH_OFFERS_CLN",J.SET_OFFERS_CLN="SET_OFFERS_CLN",J.SAVE_NEW_OFFER_CLN="SAVE_NEW_OFFER_CLN",J.ADD_OFFER_CLN="ADD_OFFER_CLN",J.DISABLE_OFFER_CLN="DISABLE_OFFER_CLN",J.UPDATE_OFFER_CLN="UPDATE_OFFER_CLN",J.FETCH_OFFER_BOOKMARKS_CLN="FETCH_OFFER_BOOKMARKS_CLN",J.SET_OFFER_BOOKMARKS_CLN="SET_OFFER_BOOKMARKS_CLN",J.ADD_UPDATE_OFFER_BOOKMARK_CLN="ADD_UPDATE_OFFER_BOOKMARK_CLN",J.DELETE_OFFER_BOOKMARK_CLN="DELETE_OFFER_BOOKMARK_CLN",J.REMOVE_OFFER_BOOKMARK_CLN="REMOVE_OFFER_BOOKMARK_CL",J}(ge||{}),qe=function(J){return J.RESET_ECL_STORE="RESET_ECL_STORE",J.UPDATE_API_CALL_STATUS_ECL="UPDATE_API_CALL_STATUS_ECL",J.SET_CHILD_NODE_SETTINGS_ECL="SET_CHILD_NODE_SETTINGS_ECL",J.FETCH_PAGE_SETTINGS_ECL="FETCH_PAGE_SETTINGS_ECL",J.SET_PAGE_SETTINGS_ECL="SET_PAGE_SETTINGS_ECL",J.SAVE_PAGE_SETTINGS_ECL="SAVE_PAGE_SETTINGS_ECL",J.FETCH_INFO_ECL="FETCH_INFO_ECL",J.SET_INFO_ECL="SET_INFO_ECL",J.FETCH_FEES_ECL="FETCH_FEES_ECL",J.SET_FEES_ECL="SET_FEES_ECL",J.FETCH_CHANNELS_ECL="FETCH_CHANNELS_ECL",J.SET_ACTIVE_CHANNELS_ECL="SET_ACTIVE_CHANNELS_ECL",J.SET_PENDING_CHANNELS_ECL="SET_PENDING_CHANNELS_ECL",J.SET_INACTIVE_CHANNELS_ECL="SET_INACTIVE_CHANNELS_ECL",J.FETCH_ONCHAIN_BALANCE_ECL="FETCH_ONCHAIN_BALANCE_ECL",J.SET_ONCHAIN_BALANCE_ECL="SET_ONCHAIN_BALANCE_ECL",J.FETCH_LIGHTNING_BALANCE_ECL="FETCH_LIGHTNING_BALANCE_ECL",J.SET_LIGHTNING_BALANCE_ECL="SET_LIGHTNING_BALANCE_ECL",J.SET_CHANNELS_STATUS_ECL="SET_CHANNELS_STATUS_ECL",J.FETCH_PEERS_ECL="FETCH_PEERS_ECL",J.SET_PEERS_ECL="SET_PEERS_ECL",J.SAVE_NEW_PEER_ECL="SAVE_NEW_PEER_ECL",J.NEWLY_ADDED_PEER_ECL="NEWLY_ADDED_PEER_ECL",J.ADD_PEER_ECL="ADD_PEER_ECL",J.DETACH_PEER_ECL="DETACH_PEER_ECL",J.REMOVE_PEER_ECL="REMOVE_PEER_ECL",J.GET_NEW_ADDRESS_ECL="GET_NEW_ADDRESS_ECL",J.SET_NEW_ADDRESS_ECL="SET_NEW_ADDRESS_ECL",J.SAVE_NEW_CHANNEL_ECL="SAVE_NEW_CHANNEL_ECL",J.UPDATE_CHANNEL_ECL="UPDATE_CHANNEL_ECL",J.CLOSE_CHANNEL_ECL="CLOSE_CHANNEL_ECL",J.REMOVE_CHANNEL_ECL="REMOVE_CHANNEL_ECL",J.FETCH_PAYMENTS_ECL="FETCH_PAYMENTS_ECL",J.SET_PAYMENTS_ECL="SET_PAYMENTS_ECL",J.GET_QUERY_ROUTES_ECL="GET_QUERY_ROUTES_ECL",J.SET_QUERY_ROUTES_ECL="SET_QUERY_ROUTES_ECL",J.SEND_PAYMENT_ECL="SEND_PAYMENT_ECL",J.SEND_PAYMENT_STATUS_ECL="SEND_PAYMENT_STATUS_ECL",J.FETCH_TRANSACTIONS_ECL="FETCH_TRANSACTIONS_ECL",J.SET_TRANSACTIONS_ECL="SET_TRANSACTIONS_ECL",J.SEND_ONCHAIN_FUNDS_ECL="SEND_ONCHAIN_FUNDS_ECL",J.SEND_ONCHAIN_FUNDS_RES_ECL="SEND_ONCHAIN_FUNDS_RES_ECL",J.FETCH_INVOICES_ECL="FETCH_INVOICES_ECL",J.SET_INVOICES_ECL="SET_INVOICES_ECL",J.SET_TOTAL_INVOICES_ECL="SET_TOTAL_INVOICES_ECL",J.CREATE_INVOICE_ECL="CREATE_INVOICE_ECL",J.ADD_INVOICE_ECL="ADD_INVOICE_ECL",J.UPDATE_INVOICE_ECL="UPDATE_INVOICE_ECL",J.PEER_LOOKUP_ECL="PEER_LOOKUP_ECL",J.INVOICE_LOOKUP_ECL="INVOICE_LOOKUP_ECL",J.SET_LOOKUP_ECL="SET_LOOKUP_ECL",J.UPDATE_CHANNEL_STATE_ECL="UPDATE_CHANNEL_STATE_ECL",J.UPDATE_RELAYED_PAYMENT_ECL="UPDATE_RELAYED_PAYMENT_ECL",J}(qe||{});const oe=[{range:{min:0,max:1},description:"Requires or supports extra channel re-establish fields"},{range:{min:4,max:5},description:"Commits to a shutdown script pubkey when opening channel"},{range:{min:6,max:7},description:"More sophisticated gossip control"},{range:{min:8,max:9},description:"Requires/supports variable-length routing onion payloads"},{range:{min:10,max:11},description:"Gossip queries can include additional information"},{range:{min:12,max:13},description:"Static key for remote output"},{range:{min:14,max:15},description:"Node supports payment secret field"},{range:{min:16,max:17},description:"Node can receive basic multi-part payments"},{range:{min:18,max:19},description:"Node can create large channels"},{range:{min:20,max:21},description:"Anchor outputs"},{range:{min:22,max:23},description:"Anchor commitment type with zero fee HTLC transactions"},{range:{min:26,max:27},description:"Future segwit versions allowed in shutdown"},{range:{min:30,max:31},description:"AMP support"},{range:{min:44,max:45},description:"Explicit commitment type"}];var ve=function(J){return J.gossip_queries_ex="Gossip queries including additional information",J.option_anchor_outputs="Anchor outputs",J.option_data_loss_protect="Extra channel re-establish fields",J.var_onion_optin="Variable-length routing onion payloads",J.option_static_remotekey="Static key for remote output",J.option_support_large_channel="Create large channels",J.option_anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",J.payment_secret="Payment secret field",J.option_shutdown_anysegwit="Future segwit versions allowed in shutdown",J.basic_mpp="Basic multi-part payments",J.gossip_queries="More sophisticated gossip control",J.option_upfront_shutdown_script="Shutdown script pubkey when opening channel",J.anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",J.amp="AMP",J}(ve||{}),ce=function(J){return J["data-loss-protect"]="Extra channel re-establish fields",J["upfront-shutdown-script"]="Shutdown script pubkey when opening channel",J["gossip-queries"]="More sophisticated gossip control",J["tlv-onion"]="Variable-length routing onion payloads",J["ext-gossip-queries"]="Gossip queries can include additional information",J["static-remote-key"]="Static key for remote output",J["payment-addr"]="Payment secret field",J["multi-path-payments"]="Basic multi-part payments",J["wumbo-channels"]="Wumbo Channels",J.anchors="Anchor outputs",J["anchors-zero-fee-htlc-tx"]="Anchor commitment type with zero fee HTLC transactions",J.amp="AMP",J}(ce||{});const Ge=[{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 Ze=function(J){return J.OFFERED="offered",J.SETTLED="settled",J.FAILED="failed",J.LOCAL_FAILED="local_failed",J}(Ze||{}),ze=function(J){return J.ASCENDING="asc",J.DESCENDING="desc",J}(ze||{});const nt=["asc","desc"],et=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:V,sortBy:"blockheight",sortOrder:ze.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]},{tableId:"dust_utxos",recordsPerPage:V,sortBy:"blockheight",sortOrder:ze.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:V,sortBy:"msatoshi_to_us",sortOrder:ze.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:V,sortBy:"state",sortOrder:ze.DESCENDING,columnSelectionSM:["alias","state"],columnSelection:["alias","connected","state","msatoshi_total"]},{tableId:"peers",recordsPerPage:V,sortBy:"alias",sortOrder:ze.ASCENDING,columnSelectionSM:["alias","id"],columnSelection:["alias","id","netaddr"]},{tableId:"active_HTLCs",recordsPerPage:V,sortBy:"expiry",sortOrder:ze.DESCENDING,columnSelectionSM:["amount_msat","direction","expiry"],columnSelection:["amount_msat","direction","expiry","state"]}]},{pageId:"liquidity_ads",tables:[{tableId:"liquidity_ads",recordsPerPage:V,sortBy:"channel_opening_fee",sortOrder:ze.ASCENDING,columnSelectionSM:["alias","channel_opening_fee"],columnSelection:["alias","last_timestamp","lease_fee","routing_fee","channel_opening_fee"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:V,sortBy:"created_at",sortOrder:ze.DESCENDING,columnSelectionSM:["created_at","msatoshi"],columnSelection:["created_at","type","payment_hash","msatoshi_sent","msatoshi"]},{tableId:"invoices",recordsPerPage:V,sortBy:"expires_at",sortOrder:ze.DESCENDING,columnSelectionSM:["expires_at","msatoshi"],columnSelection:["expires_at","paid_at","type","description","msatoshi","msatoshi_received"]},{tableId:"offers",recordsPerPage:V,sortBy:"offer_id",sortOrder:ze.DESCENDING,columnSelectionSM:["offer_id","single_use"],columnSelection:["offer_id","single_use","used"]},{tableId:"offer_bookmarks",recordsPerPage:V,sortBy:"lastUpdatedAt",sortOrder:ze.DESCENDING,columnSelectionSM:["lastUpdatedAt","amountMSat"],columnSelection:["lastUpdatedAt","title","description","amountMSat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:V,sortBy:"received_time",sortOrder:ze.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:V,sortBy:"total_fee",sortOrder:ze.DESCENDING,columnSelectionSM:["alias","events","total_fee"],columnSelection:["channel_id","alias","events","total_amount","total_fee"]},{tableId:"failed",recordsPerPage:V,sortBy:"received_time",sortOrder:ze.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:V,sortBy:"received_time",sortOrder:ze.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:V,sortBy:"received_time",sortOrder:ze.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:V,sortBy:"date",sortOrder:ze.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:V,sortBy:"msatoshi",sortOrder:ze.DESCENDING,columnSelectionSM:["alias","direction","msatoshi"],columnSelection:["alias","channel","direction","delay","msatoshi"]}]}],ke={on_chain:{utxos:{maxColumns:7,allowedColumns:[{column:"txid",label:"Transaction ID"},{column:"address"},{column:"scriptpubkey",label:"Script Pubkey"},{column:"output"},{column:"value"},{column:"blockheight"},{column:"reserved"}]},dust_utxos:{maxColumns:7,allowedColumns:[{column:"txid",label:"Transaction ID"},{column:"address"},{column:"scriptpubkey",label:"Script Pubkey"},{column:"output"},{column:"value"},{column:"blockheight"},{column:"reserved"}]}},peers_channels:{open_channels:{maxColumns:8,allowedColumns:[{column:"short_channel_id"},{column:"alias"},{column:"id"},{column:"channel_id"},{column:"funding_txid",label:"Funding Transaction ID"},{column:"connected"},{column:"our_channel_reserve_satoshis",label:"Local Reserve"},{column:"their_channel_reserve_satoshis",label:"Remote Reserve"},{column:"msatoshi_total",label:"Total"},{column:"spendable_msatoshi",label:"Spendable"},{column:"msatoshi_to_us",label:"Local Balance"},{column:"msatoshi_to_them",label:"Remote Balance"},{column:"balancedness",label:"Balance Score"}]},pending_inactive_channels:{maxColumns:8,allowedColumns:[{column:"alias"},{column:"id"},{column:"channel_id"},{column:"funding_txid",label:"Funding Transaction ID"},{column:"connected"},{column:"state"},{column:"our_channel_reserve_satoshis",label:"Local Reserve"},{column:"their_channel_reserve_satoshis",label:"Remote Reserve"},{column:"msatoshi_total",label:"Total"},{column:"spendable_msatoshi",label:"Spendable"},{column:"msatoshi_to_us",label:"Local Balance"},{column:"msatoshi_to_them",label:"Remote Balance"}]},peers:{maxColumns:3,allowedColumns:[{column:"alias"},{column:"id"},{column:"netaddr",label:"Network Address"}]},active_HTLCs:{maxColumns:7,allowedColumns:[{column:"amount_msat",label:"Amount (Sats)"},{column:"direction"},{column:"id",label:"HTLC ID"},{column:"state"},{column:"expiry"},{column:"payment_hash"},{column:"local_trimmed"}]}},liquidity_ads:{liquidity_ads:{maxColumns:8,allowedColumns:[{column:"alias"},{column:"nodeid",label:"Node ID"},{column:"last_timestamp",label:"Last Announcement At"},{column:"compact_lease"},{column:"lease_fee"},{column:"routing_fee"},{column:"channel_opening_fee"},{column:"funding_weight"}]}},transactions:{payments:{maxColumns:7,allowedColumns:[{column:"created_at",label:"Created At"},{column:"type"},{column:"payment_hash"},{column:"bolt11",label:"Invoice"},{column:"destination"},{column:"memo"},{column:"label"},{column:"msatoshi_sent",label:"Sats Sent"},{column:"msatoshi",label:"Sats Received"}]},invoices:{maxColumns:7,allowedColumns:[{column:"expires_at",label:"Expiry Date"},{column:"paid_at",label:"Date Settled"},{column:"type"},{column:"description"},{column:"label"},{column:"payment_hash"},{column:"bolt11",label:"Invoice"},{column:"msatoshi",label:"Amount"},{column:"msatoshi_received",label:"Amount Settled"}]},offers:{maxColumns:4,allowedColumns:[{column:"offer_id",label:"Offer ID"},{column:"single_use"},{column:"used"},{column:"bolt12",label:"Invoice"}]},offer_bookmarks:{maxColumns:6,allowedColumns:[{column:"lastUpdatedAt",label:"Updated At"},{column:"title"},{column:"description"},{column:"issuer"},{column:"bolt12",label:"Invoice"},{column:"amountMSat",label:"Amount"}]}},routing:{forwarding_history:{maxColumns:8,allowedColumns:[{column:"received_time"},{column:"resolved_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"payment_hash"},{column:"in_msatoshi",label:"Amount In"},{column:"out_msatoshi",label:"Amount Out"},{column:"fee"}]},routing_peers:{maxColumns:5,allowedColumns:[{column:"channel_id"},{column:"alias",label:"Peer Alias"},{column:"events"},{column:"total_amount",label:"Amount"},{column:"total_fee",label:"Fee"}]},failed:{maxColumns:7,allowedColumns:[{column:"received_time"},{column:"resolved_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"in_msatoshi",label:"Amount In"},{column:"out_msatoshi",label:"Amount Out"},{column:"fee"}]},local_failed:{maxColumns:6,allowedColumns:[{column:"received_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"in_msatoshi",label:"Amount In"},{column:"style"},{column:"failreason",label:"Fail Reason"}]}},reports:{routing:{maxColumns:8,allowedColumns:[{column:"received_time"},{column:"resolved_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"payment_hash"},{column:"in_msatoshi",label:"Amount In"},{column:"out_msatoshi",label:"Amount Out"},{column:"fee"}]},transactions:{maxColumns:5,allowedColumns:[{column:"date"},{column:"amount_paid"},{column:"num_payments",label:"# Payments"},{column:"amount_received"},{column:"num_invoices",label:"# Invoices"}]}},graph_lookup:{query_routes:{maxColumns:6,allowedColumns:[{column:"id"},{column:"alias"},{column:"channel"},{column:"direction"},{column:"delay"},{column:"msatoshi",label:"Amount"}]}}},ct=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:V,sortBy:"tx_id",sortOrder:ze.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]},{tableId:"transactions",recordsPerPage:V,sortBy:"time_stamp",sortOrder:ze.DESCENDING,columnSelectionSM:["time_stamp","amount","num_confirmations"],columnSelection:["time_stamp","label","amount","total_fees","block_height","num_confirmations"]},{tableId:"dust_utxos",recordsPerPage:V,sortBy:"tx_id",sortOrder:ze.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open",recordsPerPage:V,sortBy:"balancedness",sortOrder:ze.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:ze.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","commit_fee","commit_weight","capacity"]},{tableId:"pending_force_closing",sortBy:"limbo_balance",sortOrder:ze.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","recovered_balance","limbo_balance","capacity"]},{tableId:"pending_closing",sortBy:"capacity",sortOrder:ze.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","local_balance","remote_balance","capacity"]},{tableId:"pending_waiting_close",sortBy:"limbo_balance",sortOrder:ze.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","limbo_balance","local_balance","remote_balance"]},{tableId:"closed",recordsPerPage:V,sortBy:"close_type",sortOrder:ze.DESCENDING,columnSelectionSM:["remote_alias","settled_balance"],columnSelection:["close_type","remote_alias","capacity","close_height","settled_balance"]},{tableId:"active_HTLCs",recordsPerPage:V,sortBy:"incoming",sortOrder:ze.ASCENDING,columnSelectionSM:["amount","incoming","expiration_height"],columnSelection:["amount","incoming","expiration_height","hash_lock"]},{tableId:"peers",recordsPerPage:V,sortBy:"alias",sortOrder:ze.DESCENDING,columnSelectionSM:["alias","sat_sent","sat_recv"],columnSelection:["alias","pub_key","sat_sent","sat_recv","ping_time"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:V,sortBy:"creation_date",sortOrder:ze.DESCENDING,columnSelectionSM:["creation_date","fee","value"],columnSelection:["creation_date","payment_hash","fee","value","hops"]},{tableId:"invoices",recordsPerPage:V,sortBy:"creation_date",sortOrder:ze.DESCENDING,columnSelectionSM:["creation_date","settle_date","value"],columnSelection:["creation_date","settle_date","memo","value","amt_paid_sat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:V,sortBy:"timestamp",sortOrder:ze.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"routing_peers",recordsPerPage:V,sortBy:"total_amount",sortOrder:ze.DESCENDING,columnSelectionSM:["alias","events","total_amount"],columnSelection:["chan_id","alias","events","total_amount"]},{tableId:"non_routing_peers",recordsPerPage:V,sortBy:"remote_alias",sortOrder:ze.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:V,sortBy:"timestamp",sortOrder:ze.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"transactions",recordsPerPage:V,sortBy:"date",sortOrder:ze.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:V,sortBy:"hop_sequence",sortOrder:ze.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:V,sortBy:"initiation_time",sortOrder:ze.DESCENDING,columnSelectionSM:["state","amt"],columnSelection:["state","initiation_time","amt","cost_server","cost_offchain","cost_onchain"]}]},{pageId:"boltz",tables:[{tableId:"swap_out",recordsPerPage:V,sortBy:"status",sortOrder:ze.DESCENDING,columnSelectionSM:["status","id","onchainAmount"],columnSelection:["status","id","claimAddress","onchainAmount","timeoutBlockHeight"]},{tableId:"swap_in",recordsPerPage:V,sortBy:"status",sortOrder:ze.DESCENDING,columnSelectionSM:["status","id","expectedAmount"],columnSelection:["status","id","lockupAddress","expectedAmount","timeoutBlockHeight"]}]}],Qe={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"}]}}},Et=[{pageId:"on_chain",tables:[{tableId:"transaction",recordsPerPage:V,sortBy:"timestamp",sortOrder:ze.DESCENDING,columnSelectionSM:["timestamp","amount"],columnSelection:["timestamp","address","amount","fees","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:V,sortBy:"alias",sortOrder:ze.DESCENDING,columnSelectionSM:["alias","toLocal","toRemote"],columnSelection:["shortChannelId","alias","feeBaseMsat","feeProportionalMillionths","toLocal","toRemote","balancedness"]},{tableId:"pending_channels",recordsPerPage:V,sortBy:"alias",sortOrder:ze.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","alias","toLocal","toRemote"]},{tableId:"inactive_channels",recordsPerPage:V,sortBy:"alias",sortOrder:ze.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","shortChannelId","alias","toLocal","toRemote","balancedness"]},{tableId:"peers",recordsPerPage:V,sortBy:"alias",sortOrder:ze.ASCENDING,columnSelectionSM:["alias","nodeId"],columnSelection:["alias","nodeId","address","channels"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:V,sortBy:"firstPartTimestamp",sortOrder:ze.DESCENDING,columnSelectionSM:["firstPartTimestamp","recipientAmount"],columnSelection:["firstPartTimestamp","id","recipientNodeAlias","recipientAmount"]},{tableId:"invoices",recordsPerPage:V,sortBy:"receivedAt",sortOrder:ze.DESCENDING,columnSelectionSM:["timestamp","amount","amountSettled"],columnSelection:["timestamp","receivedAt","description","amount","amountSettled"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:V,sortBy:"timestamp",sortOrder:ze.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"routing_peers",recordsPerPage:V,sortBy:"totalFee",sortOrder:ze.DESCENDING,columnSelectionSM:["alias","events","totalFee"],columnSelection:["channelId","alias","events","totalAmount","totalFee"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:V,sortBy:"timestamp",sortOrder:ze.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"transactions",recordsPerPage:V,sortBy:"date",sortOrder:ze.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]}],lt={on_chain:{transaction:{maxColumns:6,allowedColumns:[{column:"timestamp",label:"Date/Time"},{column:"address"},{column:"blockHash"},{column:"txid",label:"Transaction ID"},{column:"amount"},{column:"fees"},{column:"confirmations"}]}},peers_channels:{open_channels:{maxColumns:8,allowedColumns:[{column:"shortChannelId"},{column:"channelId"},{column:"alias"},{column:"nodeId"},{column:"isInitiator",label:"Initiator"},{column:"feeBaseMsat",label:"Base Fee"},{column:"feeProportionalMillionths",label:"Fee Rate"},{column:"toLocal",label:"Local Balance"},{column:"toRemote",label:"Remote Balance"},{column:"balancedness",label:"Balance Score"}]},pending_channels:{maxColumns:7,allowedColumns:[{column:"state"},{column:"channelId"},{column:"alias"},{column:"nodeId"},{column:"isInitiator",label:"Initiator"},{column:"toLocal",label:"Local Balance"},{column:"toRemote",label:"Remote Balance"}]},inactive_channels:{maxColumns:8,allowedColumns:[{column:"state"},{column:"shortChannelId"},{column:"channelId"},{column:"alias"},{column:"nodeId"},{column:"isInitiator",label:"Initiator"},{column:"toLocal",label:"Local Balance"},{column:"toRemote",label:"Remote Balance"},{column:"balancedness",label:"Balance Score"}]},peers:{maxColumns:4,allowedColumns:[{column:"alias"},{column:"nodeId"},{column:"address",label:"Netwrok Address"},{column:"channels"}]}},transactions:{payments:{maxColumns:7,allowedColumns:[{column:"firstPartTimestamp",label:"Date/Time"},{column:"id"},{column:"recipientNodeId",label:"Destination Node ID"},{column:"recipientNodeAlias",label:"Destination"},{column:"description"},{column:"paymentHash"},{column:"paymentPreimage",label:"Preimage"},{column:"recipientAmount",label:"Amount"}]},invoices:{maxColumns:7,allowedColumns:[{column:"timestamp",label:"Date Created"},{column:"expiresAt",label:"Date Expiry"},{column:"receivedAt",label:"Date Settled"},{column:"nodeId",label:"Node ID"},{column:"description"},{column:"paymentHash"},{column:"amount"},{column:"amountSettled",label:"Amount Settled"}]}},routing:{forwarding_history:{maxColumns:7,allowedColumns:[{column:"timestamp",label:"Date/Time"},{column:"fromChannelId",label:"In Channel ID"},{column:"fromShortChannelId",label:"In Channel Short ID"},{column:"fromChannelAlias",label:"In Channel"},{column:"toChannelId",label:"Out Channel ID"},{column:"toShortChannelId",label:"Out Channel Short ID"},{column:"toChannelAlias",label:"Out Channel"},{column:"paymentHash"},{column:"amountIn"},{column:"amountOut"},{column:"fee",label:"Fee Earned"}]},routing_peers:{maxColumns:5,allowedColumns:[{column:"channelId"},{column:"alias",label:"Peer Alias"},{column:"events"},{column:"totalAmount",label:"Amount"},{column:"totalFee",label:"Fee"}]}},reports:{routing:{maxColumns:7,allowedColumns:[{column:"timestamp",label:"Date/Time"},{column:"fromChannelId",label:"In Channel ID"},{column:"fromShortChannelId",label:"In Channel Short ID"},{column:"fromChannelAlias",label:"In Channel"},{column:"toChannelId",label:"Out Channel ID"},{column:"toShortChannelId",label:"Out Channel Short ID"},{column:"toChannelAlias",label:"Out Channel"},{column:"paymentHash"},{column:"amountIn"},{column:"amountOut"},{column:"fee",label:"Fee Earned"}]},transactions:{maxColumns:5,allowedColumns:[{column:"date"},{column:"amount_paid"},{column:"num_payments",label:"# Payments"},{column:"amount_received"},{column:"num_invoices",label:"# Invoices"}]}}},Ke_DKK="\n <svg class=\"currency-icon\" xmlns='http://www.w3.org/2000/svg' width=\"300px\" height=\"300px\" viewBox='0 0 100 74.18'>\n <path d='M58.58 72.85H41.05L22 42.15l-6.53 4.68v26H0V0H15.44V33.33l6.09-8.57L41.24 0H58.38L33 32.24 58.58 72.85ZM95 16.12a25.27 25.27 0 0 1 5.14.44L99 30.81a18.05 18.05 0 0 0-4.49-.49q-7.28 0-11.32 3.74T79.09 44.52V72.85H63.91V17.14H75.42l2.22 9.39h.75a21.26 21.26 0 0 1 7-7.55A17.15 17.15 0 0 1 95 16.12Zm10.48 49.59q0-4.18Z' />\n </svg>\n ",Be=[{id:"USD",name:"United States Dollar",iconType:"FA",symbol:y.egO},{id:"ARS",name:"Argentina Peso",iconType:"FA",symbol:y.egO},{id:"AUD",name:"Australia Dollar",iconType:"FA",symbol:y.egO},{id:"BRL",name:"Brazil Real",iconType:"FA",symbol:y.eOA},{id:"CAD",name:"Canada Dollar",iconType:"FA",symbol:y.egO},{id:"CHF",name:"Switzerland Franc",iconType:"FA",symbol:y.oxE},{id:"CLP",name:"Chile Peso",iconType:"FA",symbol:y.egO},{id:"CNY",name:"China Yuan Renminbi",iconType:"FA",symbol:y.e9O},{id:"CZK",name:"Czech Republic Koruna",iconType:"SVG",symbol:"\n <svg class=\"currency-icon\" version='1.0' xmlns='http://www.w3.org/2000/svg' width=\"300px\" height=\"300px\" viewBox='0 0 137.000000 118.000000' preserveAspectRatio='xMidYMid meet'>\n <g transform='translate(0.000000,118.000000) scale(0.100000,-0.100000)' stroke='none'>\n <path d='M80 600 l0 -410 50 0 50 0 0 138 0 138 69 68 69 69 46 -64 c25 -35\n 91 -128 146 -206 l101 -143 71 0 70 0 -24 33 c-99 130 -328 446 -328 451 0 4\n 75 81 168 171 l167 164 -70 1 -70 0 -200 -200 c-110 -110 -203 -200 -207 -200\n -5 0 -8 90 -8 200 l0 200 -50 0 -50 0 0 -410z'/>\n <path d='M946 935 l56 -75 57 0 57 0 57 70 c31 38 57 72 57 75 0 3 -24 5 -52\n 5 -52 0 -54 -1 -82 -46 l-30 -47 -23 29 c-13 16 -26 37 -29 47 -4 14 -17 17\n -65 17 l-59 0 56 -75z'/>\n <path d='M939 762 c-99 -51 -148 -164 -136 -315 12 -168 114 -267 274 -267 60\n 0 139 36 175 78 32 39 64 120 52 132 -5 4 -26 10 -47 12 -37 3 -40 1 -52 -35\n -55 -160 -254 -136 -295 34 -29 121 10 258 84 293 78 37 173 9 197 -58 12 -32\n 17 -36 49 -36 54 0 65 11 51 51 -32 93 -106 139 -223 139 -63 0 -84 -5 -129\n -28z'/>\n </g>\n </svg>\n ",class:"currency-icon-x-large"},{id:"DKK",name:"Denmark Krone",iconType:"SVG",symbol:Ke_DKK,class:"currency-icon-medium"},{id:"EUR",name:"Euro Member Countries",iconType:"FA",symbol:y.QU_},{id:"GBP",name:"United Kingdom Pound",iconType:"FA",symbol:y.iSG},{id:"HKD",name:"Hong Kong Dollar",iconType:"FA",symbol:y.egO},{id:"HRK",name:"Croatia Kuna",iconType:"SVG",symbol:'\n <?xml version="1.0" encoding="iso-8859-1"?>\n \x3c!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\n \x3c!-- License: CC0. Made by SVG Repo: https://www.svgrepo.com/svg/15766/croatia-kuna-currency-symbol --\x3e\n <svg class="currency-icon" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\n width="300px" height="300px" viewBox="0 0 75.045 75.045" style="enable-background:new 0 0 75.045 75.045;"\n xml:space="preserve">\n <g>\n <path d="M75.045,42.207v25.959c0,0.301-0.243,0.545-0.544,0.545h-6.817c-0.3,0-0.543-0.244-0.543-0.545V43.105\n c0-8.162-3.111-12.302-9.244-12.302c-4.526,0-8.375,3.021-9.809,7.7c-0.331,0.912-0.516,2.187-0.516,3.522v26.14\n c0,0.301-0.243,0.543-0.543,0.543h-8.448c-0.3,0-0.544-0.242-0.544-0.543l-0.033-43.474c0-0.145,0.059-0.283,0.159-0.385\n c0.103-0.103,0.239-0.159,0.385-0.159h7.17c0.146,0,0.283,0.058,0.386,0.16c0.103,0.103,0.158,0.241,0.157,0.387l-0.03,5.434\n c1.951-3.095,5.375-6.426,12.367-6.426C62.457,23.704,75.045,25.039,75.045,42.207z M14.096,46.926L31.08,25.684\n c0.244-0.306,0.283-0.726,0.102-1.065c-0.176-0.331-0.519-0.535-0.897-0.535H23.02c-0.312,0-0.61,0.145-0.799,0.385L7.874,42.679\n V7.293c0-0.546-0.453-0.989-1.011-0.989H1.012C0.454,6.305,0,6.748,0,7.293V67.75c0,0.547,0.454,0.989,1.012,0.989h5.851\n c0.558,0,1.011-0.442,1.011-0.989V52.449l0.854-0.015l15.355,15.996c0.189,0.196,0.458,0.31,0.734,0.31h6.928\n c0.385,0,0.743-0.219,0.913-0.562c0.175-0.358,0.114-0.783-0.159-1.086L14.096,46.926z"/>\n </g>\n </svg>\n ',class:"currency-icon-medium"},{id:"HUF",name:"Hungary Forint",iconType:"SVG",symbol:'\n <?xml version="1.0" encoding="iso-8859-1"?>\n \x3c!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n \x3c!-- License: CC0. Made by SVG Repo: https://www.svgrepo.com/svg/183602/forint-business-and-finance --\x3e\n <svg class="currency-icon" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\n width="300px" height="300px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">\n <g>\n <path d="M265.485,0.03L151.71,0.015c-0.364-0.036-0.62,0.004-0.929,0.015H37.932\n c-15.708,0-28.444,12.735-28.444,28.444v455.082C9.489,499.264,22.224,512,37.932,512s28.444-12.735,28.444-28.444V287.128h142.408\n c15.708,0,28.444-12.735,28.444-28.444c0-15.708-12.735-28.444-28.444-28.444H66.376V56.917h199.105\n c15.708,0,28.442-12.733,28.444-28.442C293.927,12.769,281.193,0.032,265.485,0.03z"/>\n <path d="M474.067,455.114c-36.596,0-66.368-29.773-66.368-66.368V170.692h28.444\n c15.708,0,28.444-12.735,28.444-28.444s-12.735-28.444-28.444-28.444h-28.444V28.474c0-15.708-12.735-28.444-28.444-28.444\n c-15.708,0-28.444,12.735-28.444,28.444v85.331h-28.444c-15.708,0-28.444,12.735-28.444,28.444s12.735,28.444,28.444,28.444h28.444\n v218.052c0,67.963,55.292,123.256,123.256,123.256c15.708,0,28.444-12.735,28.444-28.444\n C502.511,467.848,489.776,455.114,474.067,455.114z"/>\n </g>\n </svg>\n ',class:"currency-icon-small"},{id:"INR",name:"India Rupee",iconType:"FA",symbol:y.H0g},{id:"ISK",name:"Iceland Krona",iconType:"SVG",symbol:Ke_DKK,class:"currency-icon-medium"},{id:"JPY",name:"Japan Yen",iconType:"FA",symbol:y.e9O},{id:"KRW",name:"Korea (South) Won",iconType:"FA",symbol:y.$qH},{id:"NZD",name:"New Zealand Dollar",iconType:"FA",symbol:y.egO},{id:"PLN",name:"Poland Zloty",iconType:"SVG",symbol:"\n <svg class=\"currency-icon\" version='1.0' xmlns='http://www.w3.org/2000/svg' \n width=\"300px\" height=\"300px\" viewBox='0 0 154.000000 169.000000' preserveAspectRatio='xMidYMid meet'>\n <g transform='translate(0.000000,169.000000) scale(0.100000,-0.100000)' stroke='none'>\n <path d='M1070 1225 l0 -324 -122 -93 c-68 -50 -126 -96 -130 -102 -13 -18 -9\n -54 8 -70 27 -28 59 -17 147 49 48 36 89 65 92 65 3 0 5 -135 5 -300 l0 -300\n 100 0 100 0 0 379 0 379 116 86 c63 48 118 94 121 103 3 8 2 27 -3 42 -7 20\n -17 27 -41 29 -26 3 -46 -8 -106 -52 -41 -31 -77 -56 -80 -56 -4 0 -7 110 -7\n 245 l0 245 -100 0 -100 0 0 -325z'/>\n <path d='M114 1107 c-3 -8 -4 -47 -2 -88 l3 -74 233 -3 c127 -1 232 -5 232 -8\n 0 -3 -20 -29 -44 -57 -24 -29 -139 -176 -255 -327 l-211 -275 0 -62 0 -63 395\n 0 395 0 0 85 0 85 -256 0 c-141 0 -254 3 -252 8 2 4 33 45 70 92 37 47 150\n 193 252 325 l185 240 1 55 c0 31 -5 61 -12 68 -19 19 -727 17 -734 -1z'/>\n </g>\n </svg>\n ",class:"currency-icon-large"},{id:"RON",name:"Romania Leu",iconType:"SVG",symbol:'\n <?xml version="1.0" encoding="iso-8859-1"?>\n \x3c!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\n \x3c!-- License: CC0. Made by SVG Repo: https://www.svgrepo.com/svg/64526/romania-lei-currency --\x3e\n <svg class="currency-icon" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\n width="300px" height="300px" viewBox="0 0 74.19 74.19" style="enable-background:new 0 0 74.19 74.19;" xml:space="preserve"\n >\n <g>\n <path d="M10.052,6.186v60.96c0,0.688-0.559,1.248-1.249,1.248H1.248C0.559,68.394,0,67.834,0,67.146V6.186\n c0-0.689,0.559-1.248,1.248-1.248h7.555C9.493,4.938,10.052,5.496,10.052,6.186z M56.245,44.135c0,1.643-0.093,2.9-0.282,3.852\n c-0.117,0.582-0.629,1.004-1.224,1.004c-0.001,0-0.002,0-0.004,0l-27.798-0.08c0.792,10.729,9.185,11.923,12.862,11.923\n c5.455,0,8.639-0.995,11.035-1.97c0.334-0.137,0.711-0.119,1.032,0.041c0.321,0.164,0.558,0.455,0.647,0.804l1.373,5.323\n c0.151,0.588-0.142,1.199-0.695,1.451c-2.799,1.264-7.574,2.771-14.422,2.771c-13.172,0-21.684-8.714-21.684-22.197\n c0-13.98,8.563-23.744,20.824-23.744C51.443,23.311,56.245,34.529,56.245,44.135z M27.176,40.996h19.242\n c-0.128-1.918-0.689-5.17-2.908-7.429c-1.531-1.56-3.617-2.351-6.201-2.351C31.211,31.217,28.124,36.212,27.176,40.996z\n M67.963,19.197h0.086c3.5,0,6.142-2.64,6.142-6.144c0-3.452-2.603-6.054-6.058-6.054c-3.5,0-6.142,2.602-6.142,6.054\n C61.991,16.557,64.559,19.197,67.963,19.197z M71.911,24.341h-7.555c-0.689,0-1.249,0.56-1.249,1.248v41.557\n c0,0.688,0.559,1.248,1.249,1.248h7.555c0.69,0,1.249-0.56,1.249-1.248V25.589C73.159,24.901,72.602,24.341,71.911,24.341z"/>\n </g>\n </svg>\n ',class:"currency-icon-medium"},{id:"RUB",name:"Russia Ruble",iconType:"FA",symbol:y.ED2},{id:"SEK",name:"Sweden Krona",iconType:"SVG",symbol:Ke_DKK,class:"currency-icon-medium"},{id:"SGD",name:"Singapore Dollar",iconType:"FA",symbol:y.egO},{id:"THB",name:"Thailand Baht",iconType:"FA",symbol:y.Cgb},{id:"TRY",name:"Turkey Lira",iconType:"FA",symbol:y.XJw},{id:"TWD",name:"Taiwan New Dollar",iconType:"SVG",symbol:'\n <?xml version="1.0" encoding="iso-8859-1"?>\n \x3c!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n \x3c!-- License: CC0. Made by SVG Repo: https://www.svgrepo.com/svg/142061/new-taiwan-dollar --\x3e\n <svg class="currency-icon" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\n width="300px" height="300px" viewBox="0 0 300 300" style="enable-background:new 0 0 300 300;" xml:space="preserve">\n <g id="XMLID_7_">\n <path id="XMLID_8_" d="M265,90c8.284,0,15-6.716,15-15s-6.716-15-15-15H35c-8.284,0-15,6.716-15,15s6.716,15,15,15h65v115\n c0,35.841-29.159,65-65,65c-8.284,0-15,6.716-15,15s6.716,15,15,15c52.383,0,95-42.617,95-95V90h70v145c0,35.841,29.159,65,65,65\n c8.284,0,15-6.716,15-15s-6.716-15-15-15c-19.299,0-35-15.701-35-35V90H265z"/>\n <path id="XMLID_9_" d="M35,30h230c8.284,0,15-6.716,15-15s-6.716-15-15-15H35c-8.284,0-15,6.716-15,15S26.716,30,35,30z"/>\n </g>\n </svg>\n ',class:"currency-icon-small"}];function Xt(J){const We=Be.find(Ft=>Ft.id===J);return"SVG"===We.iconType&&"string"==typeof We.symbol&&(We.symbol=We.symbol.replace('<svg class="currency-icon"','<svg class= "currency-icon '+We.class+'"')),We}},6046:(He,X,p)=>{"use strict";p.d(X,{D:()=>re});var e=p(9862),t=p(5619),y=p(8645),A=p(8504),l=p(2096),M=p(1374),m=p(1631),O=p(9773),d=p(7398),E=p(6306),x=p(2460),I=p(2154),k=p(3315),V=p(9103),G=p(9191),j=p(7321),W=p(3468),K=p(9212),q=p(4221),ie=p(5980),ae=p(2939),ue=p(6814);let re=(()=>{class xe{constructor(he,S,n,s,f){this.httpClient=he,this.store=S,this.logger=n,this.snackBar=s,this.titleCasePipe=f,this.APIUrl=I.T5,this.lnImplementation="",this.lnImplementationUpdated=new t.X(null),this.unSubs=[new y.x,new y.x,new y.x,new y.x,new y.x,new y.x,new y.x,new y.x,new y.x,new y.x,new y.x,new y.x,new y.x],this.mapAliases=(h,w)=>(h&&h.length>0?h.forEach((D,P)=>{if(w&&w.length>0)for(let v=0;v<w.length;v++){if(w[v].short_channel_id&&w[v].short_channel_id===D.in_channel&&(D.in_channel_alias=w[v].alias?w[v].alias:D.in_channel,D.out_channel_alias)||w[v].short_channel_id&&w[v].short_channel_id?.toString()===D.out_channel&&(D.out_channel_alias=w[v].alias?w[v].alias:D.out_channel,D.in_channel_alias))return;v===w.length-1&&(D.in_channel_alias||(D.in_channel_alias=D.in_channel?D.in_channel:"-"),D.out_channel_alias||(D.out_channel_alias=D.out_channel?D.out_channel:"-"))}else D.in_channel_alias=D.in_channel?D.in_channel:"-",D.out_channel_alias=D.out_channel?D.out_channel:"-"}):h=[],h)}setLnImplementation(he){this.lnImplementation=he.toLowerCase(),this.lnImplementationUpdated.next(this.lnImplementation)}getFiatRates(){return this.httpClient.get(I.vv.CONF_API+"/rates")}decodePayment(he,S){return this.lnImplementationUpdated.pipe((0,M.P)(),(0,m.z)(n=>{let s=this.APIUrl+"/"+n+I.vv.PAYMENTS_API+"/decode/"+he,f="GET",h=null;return"cln"===n&&(s=this.APIUrl+"/"+n+I.vv.UTILITY_API+"/decode",h={string:he},f="POST"),this.store.dispatch((0,V.ac)({payload:I.m6.DECODE_PAYMENT})),this.httpClient.request(f,s,{body:JSON.stringify(h),headers:{"Content-Type":"application/json"}}).pipe((0,O.R)(this.unSubs[0]),(0,d.U)(w=>(this.store.dispatch((0,V.uO)({payload:I.m6.DECODE_PAYMENT})),w)),(0,E.K)(w=>(S?this.handleErrorWithoutAlert("Decode Payment",I.m6.DECODE_PAYMENT,w):this.handleErrorWithAlert("decodePaymentData",I.m6.DECODE_PAYMENT,"Decode Payment Failed",s,w),(0,A._)(()=>new Error(this.extractErrorMessage(w))))))}))}decodePayments(he){return this.lnImplementationUpdated.pipe((0,M.P)(),(0,m.z)(S=>{let n="",s="",f=null;return"ecl"===S?(n=this.APIUrl+"/"+S+I.vv.PAYMENTS_API+"/getsentinfos",f={payments:he},s=I.m6.GET_SENT_PAYMENTS):"cln"===S?(n=this.APIUrl+"/"+S+I.vv.UTILITY_API+"/decode",f={string:he},s=I.m6.DECODE_PAYMENTS):(n=this.APIUrl+"/"+S+I.vv.PAYMENTS_API,f={payments:he},s=I.m6.DECODE_PAYMENTS),this.store.dispatch((0,V.ac)({payload:s})),this.httpClient.post(n,f).pipe((0,O.R)(this.unSubs[1]),(0,d.U)(h=>(this.store.dispatch((0,V.uO)({payload:s})),h)),(0,E.K)(h=>(this.handleErrorWithAlert("decodePaymentsData",s,s+" Failed",n,h),(0,A._)(()=>new Error(this.extractErrorMessage(h))))))}))}getAliasesFromPubkeys(he,S){return this.lnImplementationUpdated.pipe((0,M.P)(),(0,m.z)(n=>{if(S){const s=(new e.LE).set("pubkeys",he);return this.httpClient.get(this.APIUrl+"/"+n+I.vv.NETWORK_API+"/nodes",{params:s})}return this.httpClient.get(this.APIUrl+"/"+n+I.vv.NETWORK_API+"/node/"+he)}))}signMessage(he){return this.lnImplementationUpdated.pipe((0,M.P)(),(0,m.z)(S=>{let n=this.APIUrl+"/"+S+I.vv.MESSAGE_API+"/sign";return"cln"===S&&(n=this.APIUrl+"/"+S+I.vv.UTILITY_API+"/sign"),this.store.dispatch((0,V.ac)({payload:I.m6.SIGN_MESSAGE})),this.httpClient.post(n,{message:he}).pipe((0,O.R)(this.unSubs[2]),(0,d.U)(s=>(this.store.dispatch((0,V.uO)({payload:I.m6.SIGN_MESSAGE})),s)),(0,E.K)(s=>(this.handleErrorWithAlert("signMessageData",I.m6.SIGN_MESSAGE,"Sign Message Failed",n,s),(0,A._)(()=>new Error(this.extractErrorMessage(s))))))}))}verifyMessage(he,S){return this.lnImplementationUpdated.pipe((0,M.P)(),(0,m.z)(n=>{let s="",f=null;return"cln"===n?(s=this.APIUrl+"/"+n+I.vv.UTILITY_API+"/verify",f={message:he,zbase:S}):(s=this.APIUrl+"/"+n+I.vv.MESSAGE_API+"/verify",f={message:he,signature:S}),this.store.dispatch((0,V.ac)({payload:I.m6.VERIFY_MESSAGE})),this.httpClient.post(s,f).pipe((0,O.R)(this.unSubs[3]),(0,d.U)(h=>(this.store.dispatch((0,V.uO)({payload:I.m6.VERIFY_MESSAGE})),h)),(0,E.K)(h=>(this.handleErrorWithAlert("verifyMessageData",I.m6.VERIFY_MESSAGE,"Verify Message Failed",s,h),(0,A._)(()=>new Error(this.extractErrorMessage(h))))))}))}bumpFee(he,S,n,s){return this.lnImplementationUpdated.pipe((0,M.P)(),(0,m.z)(f=>{const h={txid:he,outputIndex:S};return n&&(h.targetConf=n),s&&(h.satPerByte=s),this.store.dispatch((0,V.ac)({payload:I.m6.BUMP_FEE})),this.httpClient.post(this.APIUrl+"/"+f+I.vv.WALLET_API+"/bumpfee",h).pipe((0,O.R)(this.unSubs[4]),(0,d.U)(w=>(this.store.dispatch((0,V.uO)({payload:I.m6.BUMP_FEE})),this.snackBar.open("Successfully bumped the fee. Use the block explorer to verify transaction."),w)),(0,E.K)(w=>(this.handleErrorWithoutAlert("Bump Fee",I.m6.BUMP_FEE,w),(0,A._)(()=>new Error(this.extractErrorMessage(w))))))}))}labelUTXO(he,S,n=!0){return this.lnImplementationUpdated.pipe((0,M.P)(),(0,m.z)(s=>{const f={txid:he,label:S,overwrite:n};return this.store.dispatch((0,V.ac)({payload:I.m6.LABEL_UTXO})),this.httpClient.post(this.APIUrl+"/"+s+I.vv.WALLET_API+"/label",f).pipe((0,O.R)(this.unSubs[5]),(0,d.U)(h=>(this.store.dispatch((0,V.uO)({payload:I.m6.LABEL_UTXO})),h)),(0,E.K)(h=>(this.handleErrorWithoutAlert("Lease UTXO",I.m6.LABEL_UTXO,h),(0,A._)(()=>new Error(this.extractErrorMessage(h))))))}))}leaseUTXO(he,S){return this.lnImplementationUpdated.pipe((0,M.P)(),(0,m.z)(n=>{const s={txid:he,outputIndex:S};return this.store.dispatch((0,V.ac)({payload:I.m6.LEASE_UTXO})),this.httpClient.post(this.APIUrl+"/"+n+I.vv.WALLET_API+"/lease",s).pipe((0,O.R)(this.unSubs[6]),(0,d.U)(f=>{this.store.dispatch((0,V.uO)({payload:I.m6.LEASE_UTXO})),this.store.dispatch((0,G.mC)()),this.store.dispatch((0,G.Ly)());const h=new Date(1e3*f.expiration);return Math.round(h.getTime())-60*h.getTimezoneOffset()}),(0,E.K)(f=>(this.handleErrorWithoutAlert("Lease UTXO",I.m6.LEASE_UTXO,f),(0,A._)(()=>new Error(this.extractErrorMessage(f))))))}))}getForwardingHistory(he,S,n,s){if("LND"===he){const f={end_time:n,start_time:S};return this.store.dispatch((0,V.ac)({payload:I.m6.GET_FORWARDING_HISTORY})),this.httpClient.post(this.APIUrl+"/lnd"+I.vv.SWITCH_API,f).pipe((0,O.R)(this.unSubs[7]),(0,x.M)(this.store.select(j._f)),(0,m.z)(([h,w])=>{if(h.forwarding_events){const D=[...w.channels,...w.closedChannels];h.forwarding_events.forEach(P=>{if(D&&D.length>0)for(let v=0;v<D.length;v++){if(D[v].chan_id?.toString()===P.chan_id_in&&(P.alias_in=D[v].remote_alias?D[v].remote_alias:P.chan_id_in,P.alias_out)||D[v].chan_id?.toString()===P.chan_id_out&&(P.alias_out=D[v].remote_alias?D[v].remote_alias:P.chan_id_out,P.alias_in))return;v===D.length-1&&(P.alias_in||(P.alias_in=P.chan_id_in),P.alias_out||(P.alias_out=P.chan_id_out))}else P.alias_in=P.chan_id_in,P.alias_out=P.chan_id_out})}else h={};return this.store.dispatch((0,V.uO)({payload:I.m6.GET_FORWARDING_HISTORY})),(0,l.of)(h)}),(0,E.K)(h=>(this.handleErrorWithAlert("getForwardingHistoryData",I.m6.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/lnd"+I.vv.SWITCH_API,h),(0,A._)(()=>new Error(this.extractErrorMessage(h))))))}return"CLN"===he?(this.store.dispatch((0,V.ac)({payload:I.m6.GET_FORWARDING_HISTORY})),this.httpClient.post(this.APIUrl+"/cln"+I.vv.CHANNELS_API+"/listForwards",{status:s||"settled"}).pipe((0,O.R)(this.unSubs[8]),(0,x.M)(this.store.select(W.ZW)),(0,m.z)(([f,h])=>{const w=this.mapAliases(f,[...h.activeChannels,...h.pendingChannels,...h.inactiveChannels]);return this.store.dispatch((0,V.uO)({payload:I.m6.GET_FORWARDING_HISTORY})),(0,l.of)(w)}),(0,E.K)(f=>(this.handleErrorWithAlert("getForwardingHistoryData",I.m6.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/cln"+I.vv.CHANNELS_API+"/listForwards",f),(0,A._)(()=>new Error(this.extractErrorMessage(f))))))):(0,l.of)({})}listNetworkNodes(he){return this.lnImplementationUpdated.pipe((0,M.P)(),(0,m.z)(S=>(this.store.dispatch((0,V.ac)({payload:I.m6.LIST_NETWORK_NODES})),this.httpClient.post(this.APIUrl+"/"+S+I.vv.NETWORK_API+"/listNodes",he).pipe((0,O.R)(this.unSubs[9]),(0,m.z)(n=>(this.store.dispatch((0,V.uO)({payload:I.m6.LIST_NETWORK_NODES})),(0,l.of)(n))),(0,E.K)(n=>(this.handleErrorWithoutAlert("List Network Nodes",I.m6.LIST_NETWORK_NODES,n),(0,A._)(()=>this.extractErrorMessage(n))))))))}listConfigs(){return this.lnImplementationUpdated.pipe((0,M.P)(),(0,m.z)(he=>(this.store.dispatch((0,V.ac)({payload:I.m6.GET_LIST_CONFIGS})),this.httpClient.get(this.APIUrl+"/"+he+I.vv.UTILITY_API+"/listConfigs").pipe((0,O.R)(this.unSubs[10]),(0,m.z)(S=>(this.store.dispatch((0,V.uO)({payload:I.m6.GET_LIST_CONFIGS})),(0,l.of)(S))),(0,E.K)(S=>(this.handleErrorWithoutAlert("List Configurations",I.m6.GET_LIST_CONFIGS,S),(0,A._)(()=>this.extractErrorMessage(S))))))))}getOrUpdateFunderPolicy(he,S,n,s,f,h){return this.lnImplementationUpdated.pipe((0,M.P)(),(0,m.z)(w=>{const D=he?{policy:he,policy_mod:S,lease_fee_base_msat:n,lease_fee_basis:s,channel_fee_max_base_msat:f,channel_fee_max_proportional_thousandths:h}:null;return this.store.dispatch((0,V.ac)({payload:I.m6.GET_FUNDER_POLICY})),this.httpClient.post(this.APIUrl+"/"+w+I.vv.CHANNELS_API+"/funderUpdate",D).pipe((0,O.R)(this.unSubs[11]),(0,d.U)(P=>(this.store.dispatch((0,V.uO)({payload:I.m6.GET_FUNDER_POLICY})),D&&this.store.dispatch((0,V.jW)({payload:"Funder Policy Updated Successfully with Compact Lease: "+P.compact_lease+"!"})),P)),(0,E.K)(P=>(this.handleErrorWithoutAlert("Funder Policy",I.m6.GET_FUNDER_POLICY,P),(0,A._)(()=>new Error(this.extractErrorMessage(P))))))}))}circularRebalance(he,S="",n="",s="",f="",h=[],w="shortChannelId"){return this.httpClient.post(this.APIUrl+"/"+this.lnImplementation+I.vv.CHANNELS_API+"/circularRebalance",{amountMsat:he,sourceShortChannelId:S,sourceNodeId:n,targetShortChannelId:s,targetNodeId:f,ignoreNodeIds:h,format:w}).pipe((0,O.R)(this.unSubs[12]),(0,d.U)(v=>v),(0,E.K)(v=>(this.handleErrorWithoutAlert("Rebalance Channel",I.m6.REBALANCE_CHANNEL,v),(0,A._)(()=>v.error))))}extractErrorMessage(he,S="Unknown Error."){return this.titleCasePipe.transform(he.error.text&&"string"==typeof he.error.text&&he.error.text.includes('<!DOCTYPE html><html lang="en">')?"API Route Does Not Exist.":he.error&&he.error.error&&he.error.error.error&&he.error.error.error.error&&he.error.error.error.error.error&&"string"==typeof he.error.error.error.error.error?he.error.error.error.error.error:he.error&&he.error.error&&he.error.error.error&&he.error.error.error.error&&"string"==typeof he.error.error.error.error?he.error.error.error.error:he.error&&he.error.error&&he.error.error.error&&"string"==typeof he.error.error.error?he.error.error.error:he.error&&he.error.error&&"string"==typeof he.error.error?he.error.error:he.error&&"string"==typeof he.error?he.error:he.error&&he.error.error&&he.error.error.error&&he.error.error.error.error&&he.error.error.error.error.message&&"string"==typeof he.error.error.error.error.message?he.error.error.error.error.message:he.error&&he.error.error&&he.error.error.error&&he.error.error.error.message&&"string"==typeof he.error.error.error.message?he.error.error.error.message:he.error&&he.error.error&&he.error.error.message&&"string"==typeof he.error.error.message?he.error.error.message:he.error&&he.error.message&&"string"==typeof he.error.message?he.error.message:he.message&&"string"==typeof he.message?he.message:S)}handleErrorWithoutAlert(he,S,n){n.error.text&&"string"==typeof n.error.text&&n.error.text.includes('<!DOCTYPE html><html lang="en">')&&(n={status:403,error:{message:"API Route Does Not Exist."}}),this.logger.error("ERROR IN: "+he+"\n"+JSON.stringify(n)),401===n.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,V.ts)()),this.store.dispatch((0,V.kS)()),this.store.dispatch((0,V.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,V.uO)({payload:S})),this.store.dispatch((0,V.qi)({payload:{action:he,status:I.Bn.ERROR,statusCode:n.status.toString(),message:this.extractErrorMessage(n)}})))}handleErrorWithAlert(he,S,n,s,f){if(this.logger.error(f),401===f.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,V.ts)()),this.store.dispatch((0,V.kS)()),this.store.dispatch((0,V.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,V.uO)({payload:S}));const h=this.extractErrorMessage(f);this.store.dispatch((0,V.qR)({payload:{data:{type:"ERROR",alertTitle:n,message:{code:f.status?f.status:"Unknown Error",message:h,URL:s},component:k.H}}})),this.store.dispatch((0,V.qi)({payload:{action:he,status:I.Bn.ERROR,statusCode:f.status.toString(),message:h,URL:s}}))}}ngOnDestroy(){this.unSubs.forEach(he=>{he.next(null),he.complete()})}static#e=this.\u0275fac=function(S){return new(S||xe)(K.LFG(e.eN),K.LFG(q.yh),K.LFG(ie.mQ),K.LFG(ae.ux),K.LFG(ue.rS))};static#t=this.\u0275prov=K.Yz7({token:xe,factory:xe.\u0275fac})}return xe})()},5980:(He,X,p)=>{"use strict";p.d(X,{LG:()=>M,mQ:()=>l});var e=p(9212);const t=(0,e.X6Q)(),y=()=>null;let l=(()=>{class m{invokeConsoleMethod(d,E){}static#e=this.\u0275fac=function(E){return new(E||m)};static#t=this.\u0275prov=e.Yz7({token:m,factory:m.\u0275fac})}return m})(),M=(()=>{class m{get info(){return t?console.log.bind(console):y}get warn(){return t?console.warn.bind(console):y}get error(){return t?console.error.bind(console):y}invokeConsoleMethod(d,E){(console[d]||console.log||y).apply(console,[E])}static#e=this.\u0275fac=function(E){return new(E||m)};static#t=this.\u0275prov=e.Yz7({token:m,factory:m.\u0275fac})}return m})()},3149:(He,X,p)=>{"use strict";p.d(X,{W:()=>j});var e=p(9862),t=p(5619),y=p(8645),A=p(2096),l=p(8504),M=p(9773),m=p(6306),O=p(7398),d=p(2154),E=p(3315),x=p(9103),I=p(9212),k=p(5980),V=p(4221),G=p(6339);let j=(()=>{class W{constructor(q,ie,ae,ue){this.httpClient=q,this.logger=ie,this.store=ae,this.commonService=ue,this.loopUrl="",this.swaps=[],this.swapsChanged=new t.X([]),this.unSubs=[new y.x,new y.x,new y.x,new y.x,new y.x,new y.x,new y.x]}getLoopInfo(){return this.loopUrl=d.T5+d.vv.LOOP_API+"/info",this.httpClient.get(this.loopUrl)}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,x.ac)({payload:d.m6.GET_LOOP_SWAPS})),this.loopUrl=d.T5+d.vv.LOOP_API+"/swaps",this.httpClient.get(this.loopUrl).pipe((0,M.R)(this.unSubs[0])).subscribe({next:q=>{this.store.dispatch((0,x.uO)({payload:d.m6.GET_LOOP_SWAPS})),this.swaps=q,this.swapsChanged.next(this.swaps)},error:q=>this.swapsChanged.error(this.handleErrorWithAlert(d.m6.GET_LOOP_SWAPS,this.loopUrl,q))})}loopOut(q,ie,ae,ue,re,xe,$,he,S,n){const s={amount:q,targetConf:ae,swapRoutingFee:ue,minerFee:re,prepayRoutingFee:xe,prepayAmt:$,swapFee:he,swapPublicationDeadline:S,destAddress:n};return""!==ie&&(s.chanId=ie),this.loopUrl=d.T5+d.vv.LOOP_API+"/out",this.httpClient.post(this.loopUrl,s).pipe((0,m.K)(f=>this.handleErrorWithoutAlert("Loop Out for Channel: "+ie,d.m6.NO_SPINNER,f)))}getLoopOutTerms(){return this.loopUrl=d.T5+d.vv.LOOP_API+"/out/terms",this.httpClient.get(this.loopUrl).pipe((0,m.K)(q=>this.handleErrorWithoutAlert("Loop Out Terms",d.m6.NO_SPINNER,q)))}getLoopOutQuote(q,ie,ae){let ue=new e.LE;return ue=ue.append("targetConf",ie.toString()),ue=ue.append("swapPublicationDeadline",ae.toString()),this.loopUrl=d.T5+d.vv.LOOP_API+"/out/quote/"+q,this.store.dispatch((0,x.ac)({payload:d.m6.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:ue}).pipe((0,M.R)(this.unSubs[1]),(0,O.U)(re=>(this.store.dispatch((0,x.uO)({payload:d.m6.GET_QUOTE})),re)),(0,m.K)(re=>this.handleErrorWithoutAlert("Loop Out Quote",d.m6.GET_QUOTE,re)))}getLoopOutTermsAndQuotes(q){let ie=new e.LE;return ie=ie.append("targetConf",q.toString()),ie=ie.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=d.T5+d.vv.LOOP_API+"/out/termsAndQuotes",this.store.dispatch((0,x.ac)({payload:d.m6.GET_TERMS_QUOTES})),this.httpClient.get(this.loopUrl,{params:ie}).pipe((0,M.R)(this.unSubs[2]),(0,O.U)(ae=>(this.store.dispatch((0,x.uO)({payload:d.m6.GET_TERMS_QUOTES})),ae)),(0,m.K)(ae=>(0,A.of)(this.handleErrorWithAlert(d.m6.GET_TERMS_QUOTES,this.loopUrl,ae))))}loopIn(q,ie,ae,ue,re){const xe={amount:q,swapFee:ie,minerFee:ae,lastHop:ue,externalHtlc:re};return this.loopUrl=d.T5+d.vv.LOOP_API+"/in",this.httpClient.post(this.loopUrl,xe).pipe((0,m.K)($=>this.handleErrorWithoutAlert("Loop In",d.m6.NO_SPINNER,$)))}getLoopInTerms(){return this.loopUrl=d.T5+d.vv.LOOP_API+"/in/terms",this.httpClient.get(this.loopUrl).pipe((0,m.K)(q=>this.handleErrorWithoutAlert("Loop In Terms",d.m6.NO_SPINNER,q)))}getLoopInQuote(q,ie,ae){let ue=new e.LE;return ue=ue.append("targetConf",ie.toString()),ue=ue.append("swapPublicationDeadline",ae.toString()),this.loopUrl=d.T5+d.vv.LOOP_API+"/in/quote/"+q,this.store.dispatch((0,x.ac)({payload:d.m6.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:ue}).pipe((0,M.R)(this.unSubs[3]),(0,O.U)(re=>(this.store.dispatch((0,x.uO)({payload:d.m6.GET_QUOTE})),re)),(0,m.K)(re=>this.handleErrorWithoutAlert("Loop In Qoute",d.m6.GET_QUOTE,re)))}getLoopInTermsAndQuotes(q){let ie=new e.LE;return ie=ie.append("targetConf",q.toString()),ie=ie.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=d.T5+d.vv.LOOP_API+"/in/termsAndQuotes",this.store.dispatch((0,x.ac)({payload:d.m6.GET_TERMS_QUOTES})),this.httpClient.get(this.loopUrl,{params:ie}).pipe((0,M.R)(this.unSubs[4]),(0,O.U)(ae=>(this.store.dispatch((0,x.uO)({payload:d.m6.GET_TERMS_QUOTES})),ae)),(0,m.K)(ae=>(0,A.of)(this.handleErrorWithAlert(d.m6.GET_TERMS_QUOTES,this.loopUrl,ae))))}getSwap(q){return this.loopUrl=d.T5+d.vv.LOOP_API+"/swap/"+q,this.httpClient.get(this.loopUrl).pipe((0,m.K)(ie=>this.handleErrorWithoutAlert("Loop Get Swap for ID: "+q,d.m6.NO_SPINNER,ie)))}handleErrorWithoutAlert(q,ie,ae){let ue="";return this.logger.error("ERROR IN: "+q+"\n"+JSON.stringify(ae)),this.store.dispatch((0,x.uO)({payload:ie})),401===ae.status?(ue="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,x.kS)())):503===ae.status?(ue="Unable to Connect to Loop Server.",this.store.dispatch((0,x.qR)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:ae.status,message:"Unable to Connect to Loop Server",URL:q},component:E.H}}}))):ue=this.commonService.extractErrorMessage(ae),(0,l._)(()=>new Error(ue))}handleErrorWithAlert(q,ie,ae){let ue="";if(this.logger.error(ae),this.store.dispatch((0,x.uO)({payload:q})),401===ae.status)ue="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,x.kS)());else if(503===ae.status)ue="Unable to Connect to Loop Server.",setTimeout(()=>{this.store.dispatch((0,x.qR)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:ae.status,message:"Unable to Connect to Loop Server",URL:ie},component:E.H}}}))},100);else{ue=this.commonService.extractErrorMessage(ae);const re=ae.error&&ae.error.error&&ae.error.error.code?ae.error.error.code:ae.error&&ae.error.code?ae.error.code:ae.code?ae.code:ae.status;setTimeout(()=>{this.store.dispatch((0,x.qR)({payload:{data:{type:d.n_.ERROR,alertTitle:"ERROR",message:{code:re,message:ue,URL:ie},component:E.H}}}))},100)}return{message:ue}}ngOnDestroy(){this.unSubs.forEach(q=>{q.next(null),q.complete()})}static#e=this.\u0275fac=function(ie){return new(ie||W)(I.LFG(e.eN),I.LFG(k.mQ),I.LFG(V.yh),I.LFG(G.v))};static#t=this.\u0275prov=I.Yz7({token:W,factory:W.\u0275fac})}return W})()},5813:(He,X,p)=>{"use strict";p.d(X,{m:()=>y});var e=p(8645),t=p(9212);let y=(()=>{class A{constructor(){this.sessionSub=new e.x}watchSession(){return this.sessionSub.asObservable()}getItem(M){return sessionStorage.getItem(M)}getAllItems(){return sessionStorage}setItem(M,m){sessionStorage.setItem(M,m),this.sessionSub.next(sessionStorage)}removeItem(M){sessionStorage.removeItem(M),this.sessionSub.next(sessionStorage)}clearAll(){sessionStorage.clear(),this.sessionSub.next(sessionStorage)}static#e=this.\u0275fac=function(m){return new(m||A)};static#t=this.\u0275prov=t.Yz7({token:A,factory:A.\u0275fac})}return A})()},2285:(He,X,p)=>{"use strict";p.d(X,{d:()=>V});var e=p(5619),t=p(8645),y=p(9773),A=p(305),l=p(5592),M=p(7394),m=p(7328);const O={url:"",deserializer:G=>JSON.parse(G.data),serializer:G=>JSON.stringify(G)};class E extends t.u{constructor(j,W){if(super(),this._socket=null,j instanceof l.y)this.destination=W,this.source=j;else{const K=this._config=Object.assign({},O);if(this._output=new t.x,"string"==typeof j)K.url=j;else for(const q in j)j.hasOwnProperty(q)&&(K[q]=j[q]);if(!K.WebSocketCtor&&WebSocket)K.WebSocketCtor=WebSocket;else if(!K.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new m.t}}lift(j){const W=new E(this._config,this.destination);return W.operator=j,W.source=this,W}_resetState(){this._socket=null,this.source||(this.destination=new m.t),this._output=new t.x}multiplex(j,W,K){const q=this;return new l.y(ie=>{try{q.next(j())}catch(ue){ie.error(ue)}const ae=q.subscribe({next:ue=>{try{K(ue)&&ie.next(ue)}catch(re){ie.error(re)}},error:ue=>ie.error(ue),complete:()=>ie.complete()});return()=>{try{q.next(W())}catch(ue){ie.error(ue)}ae.unsubscribe()}})}_connectSocket(){const{WebSocketCtor:j,protocol:W,url:K,binaryType:q}=this._config,ie=this._output;let ae=null;try{ae=W?new j(K,W):new j(K),this._socket=ae,q&&(this._socket.binaryType=q)}catch(re){return void ie.error(re)}const ue=new M.w0(()=>{this._socket=null,ae&&1===ae.readyState&&ae.close()});ae.onopen=re=>{const{_socket:xe}=this;if(!xe)return ae.close(),void this._resetState();const{openObserver:$}=this._config;$&&$.next(re);const he=this.destination;this.destination=A.Lv.create(S=>{if(1===ae.readyState)try{const{serializer:n}=this._config;ae.send(n(S))}catch(n){this.destination.error(n)}},S=>{const{closingObserver:n}=this._config;n&&n.next(void 0),S&&S.code?ae.close(S.code,S.reason):ie.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),this._resetState()},()=>{const{closingObserver:S}=this._config;S&&S.next(void 0),ae.close(),this._resetState()}),he&&he instanceof m.t&&ue.add(he.subscribe(this.destination))},ae.onerror=re=>{this._resetState(),ie.error(re)},ae.onclose=re=>{ae===this._socket&&this._resetState();const{closeObserver:xe}=this._config;xe&&xe.next(re),re.wasClean?ie.complete():ie.error(re)},ae.onmessage=re=>{try{const{deserializer:xe}=this._config;ie.next(xe(re))}catch(xe){ie.error(xe)}}}_subscribe(j){const{source:W}=this;return W?W.subscribe(j):(this._socket||this._connectSocket(),this._output.subscribe(j),j.add(()=>{const{_socket:K}=this;0===this._output.observers.length&&(K&&(1===K.readyState||0===K.readyState)&&K.close(),this._resetState())}),j)}unsubscribe(){const{_socket:j}=this;j&&(1===j.readyState||0===j.readyState)&&j.close(),this._resetState(),super.unsubscribe()}}var x=p(9212),I=p(5980),k=p(5813);let V=(()=>{class G{constructor(W,K){this.logger=W,this.sessionService=K,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,K){(!this.socket||this.socket.closed)&&(this.wsUrl=W,this.nodeIndex=K,this.logger.info("Websocket Url: "+this.wsUrl),this.socket=new E({url:W,protocol:[this.sessionService.getItem("token")||"",K]}),this.subscribeToMessages())}reconnectOnError(){this.RECONNECT_TIMEOUT||this.socket&&!this.socket.closed||(this.RETRY_SECONDS=this.RETRY_SECONDS>=160?160:2*this.RETRY_SECONDS,this.RECONNECT_TIMEOUT=setTimeout(()=>{this.logger.info("Reconnecting Web Socket."),this.connectWebSocket(this.wsUrl,this.nodeIndex),this.RECONNECT_TIMEOUT=null},1e3*this.RETRY_SECONDS))}closeConnection(){this.socket&&(this.socket.complete(),this.socket=null)}subscribeToMessages(){this.socket?.pipe((0,y.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()}static#e=this.\u0275fac=function(K){return new(K||G)(x.LFG(I.mQ),x.LFG(k.m))};static#t=this.\u0275prov=x.Yz7({token:G,factory:G.\u0275fac})}return G})()},8339:(He,X,p)=>{"use strict";p.d(X,{m:()=>Eo});var e=p(6814),t=p(4190),y=p(6223),A=p(9862),l=p(5597),M=p(9212),m=p(1462),O=p(7509),d=p(3814);p(2495);let St=(()=>{class Vt{}return Vt.\u0275fac=function(Mt){return new(Mt||Vt)},Vt.\u0275mod=M.oAB({type:Vt}),Vt.\u0275inj=M.cJS({imports:[m.IR]}),Vt})(),Dt=(()=>{class Vt{constructor(Mt,ii){(0,e.PM)(ii)&&!Mt&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(Mt,ii=[]){return{ngModule:Vt,providers:Mt.serverLoaded?[{provide:m.WU,useValue:{...m.g5,...Mt}},{provide:m.Bs,useValue:ii,multi:!0},{provide:m.wY,useValue:!0}]:[{provide:m.WU,useValue:{...m.g5,...Mt}},{provide:m.Bs,useValue:ii,multi:!0}]}}}return Vt.\u0275fac=function(Mt){return new(Mt||Vt)(M.LFG(m.wY),M.LFG(M.Lbi))},Vt.\u0275mod=M.oAB({type:Vt}),Vt.\u0275inj=M.cJS({imports:[d.ae,O.aT,St,d.ae,O.aT,St]}),Vt})();var Lt=p(1088),Bt=p(3680),ai=p(7700),vi=p(4630),bi=p(9014),ki=p(2296);p(4300),p(8337);let cr=(()=>{class Vt{static#e=this.\u0275fac=function(ii){return new(ii||Vt)};static#t=this.\u0275mod=M.oAB({type:Vt});static#i=this.\u0275inj=M.cJS({imports:[Bt.BQ,Bt.si,Bt.BQ]})}return Vt})();var hn=p(5195),fr=p(5986),ta=p(8034),Lr=p(3305),Ui=p(3176),rn=p(617),qn=p(2032),ei=p(9038),Mi=p(7988),gi=p(1476),yi=p(6007),Gi=p(5940),Ji=p(7466),xn=p(8525),jn=p(2651),Rn=p(2599),Tr=p(2831);p(8645);let ia=(()=>{class Vt{static#e=this.\u0275fac=function(ii){return new(ii||Vt)};static#t=this.\u0275mod=M.oAB({type:Vt});static#i=this.\u0275inj=M.cJS({imports:[Bt.BQ,Bt.si]})}return Vt})();var Oa=p(2939),Pa=p(3566),go=p(8257),no=p(5313),Mo=p(4104),_o=p(1274),qr=p(2596),la=p(8445),va=p(2557),Ro=p(25),Ba=p(2279),Xr=p(2159),_s=p(3651);let ro=(()=>{class Vt extends _s.Xj{constructor(Mt,ii){super(Mt,ii)}_createContainer(){super._createContainer(),this._containerElement&&(document.querySelector("#rtl-container")||document.body).appendChild(this._containerElement)}ngOnDestroy(){super.ngOnDestroy()}static#e=this.\u0275fac=function(ii){return new(ii||Vt)(M.Y36(e.K0),M.Y36(Tr.t4))};static#t=this.\u0275dir=M.lG2({type:Vt,features:[M.qOj]})}return Vt})();var So=p(5980),Xa=p(2154),ao=p(2995);const Wr={suppressScrollX:!1,suppressScrollY:!1};let No=(()=>{class Vt extends Bt.LF{constructor(Mt){super(Mt)}format(Mt,ii){if("input"===ii){let Si=Mt.getDate().toString();return Si=+Si<10?"0"+Si:Si,Si+"/"+Xa.gg[Mt.getMonth()].name.toUpperCase()+"/"+Mt.getFullYear()}return Xa.gg[Mt.getMonth()].name.toUpperCase()+" "+Mt.getFullYear()}static#e=this.\u0275fac=function(ii){return new(ii||Vt)(M.LFG(Bt.Ad,8))};static#t=this.\u0275prov=M.Yz7({token:Vt,factory:Vt.\u0275fac})}return Vt})();const vo={parse:{dateInput:{day:"numeric",month:"short",year:"numeric"}},display:{dateInput:"input",monthYearLabel:{month:"short",year:"numeric"},dateA11yLabel:{day:"numeric",month:"short",year:"numeric"},monthYearA11yLabel:{month:"short",year:"numeric"}}};let Eo=(()=>{class Vt{static#e=this.\u0275fac=function(ii){return new(ii||Vt)};static#t=this.\u0275mod=M.oAB({type:Vt});static#i=this.\u0275inj=M.cJS({providers:[{provide:So.mQ,useClass:So.LG},{provide:Xr.op,useValue:Wr},{provide:Oa.Ve,useValue:{duration:2e3,verticalPosition:"bottom",panelClass:"rtl-snack-bar"}},{provide:ai.Bq,useValue:{hasBackdrop:!0,autoFocus:!0,disableClose:!0,role:"dialog"}},{provide:Bt._A,useClass:No},{provide:Bt.sG,useValue:vo},{provide:_s.Xj,useClass:ro},e.JJ,e.rS,e.uU,ao.al,ao.h9,ao.D3,ao.i1],imports:[e.ez,y.u5,y.UX,l.uH,Dt,Lt.xu,ai.Is,ki.ot,cr,hn.QW,fr.p9,Lr.To,Ui.N6,ta.FA,Bt.XK,rn.Ps,qn.c,ei.ie,Mi.Tx,yi.Cv,Gi.Cq,Ji.Fk,la.dp,va.Hi,xn.LD,jn.SJ,Rn.rP,Pa.JX,no.p0,_o.g0,qr.AV,bi.g,gi.TU,go.T5,ia,Mo.Nh,Oa.ZX,vi.Bb,Ro.a4,Ba.OF,t.Bz,A.JF,Xr.Xd,y.u5,y.UX,l.uH,Dt,Lt.xu,ai.Is,ki.ot,cr,hn.QW,fr.p9,Lr.To,Ui.N6,ta.FA,Bt.XK,rn.Ps,qn.c,ei.ie,Mi.Tx,yi.Cv,Gi.Cq,Ji.Fk,la.dp,va.Hi,xn.LD,jn.SJ,Rn.rP,Pa.JX,no.p0,_o.g0,qr.AV,bi.g,gi.TU,go.T5,ia,Mo.Nh,Oa.ZX,vi.Bb,Ro.a4,Ba.OF,Xr.Xd]})}return Vt})()},9103:(He,X,p)=>{"use strict";p.d(X,{B1:()=>xe,IM:()=>ie,M6:()=>x,Q2:()=>G,QO:()=>s,_V:()=>$,ac:()=>O,c0:()=>S,c1:()=>I,dc:()=>D,ey:()=>q,fk:()=>ae,jW:()=>m,kS:()=>he,lC:()=>A,nQ:()=>ue,qR:()=>E,qi:()=>l,tj:()=>V,ts:()=>M,tw:()=>W,uO:()=>d,vI:()=>K,wj:()=>re,x4:()=>h,yb:()=>k});var e=p(4221),t=p(2154);(0,e.PH)(t.pg.VOID);const A=(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)()),M=(0,e.PH)(t.pg.CLOSE_ALL_DIALOGS),m=(0,e.PH)(t.pg.OPEN_SNACK_BAR,(0,e.Ky)()),O=(0,e.PH)(t.pg.OPEN_SPINNER,(0,e.Ky)()),d=(0,e.PH)(t.pg.CLOSE_SPINNER,(0,e.Ky)()),E=(0,e.PH)(t.pg.OPEN_ALERT,(0,e.Ky)()),x=(0,e.PH)(t.pg.CLOSE_ALERT,(0,e.Ky)()),I=(0,e.PH)(t.pg.OPEN_CONFIRMATION,(0,e.Ky)()),k=(0,e.PH)(t.pg.CLOSE_CONFIRMATION,(0,e.Ky)()),V=(0,e.PH)(t.pg.SHOW_PUBKEY),G=(0,e.PH)(t.pg.FETCH_CONFIG,(0,e.Ky)()),W=((0,e.PH)(t.pg.SHOW_CONFIG,(0,e.Ky)()),(0,e.PH)(t.pg.UPDATE_SELECTED_NODE_OPTIONS)),K=(0,e.PH)(t.pg.RESET_ROOT_STORE,(0,e.Ky)()),q=(0,e.PH)(t.pg.FETCH_APPLICATION_SETTINGS),ie=(0,e.PH)(t.pg.SET_APPLICATION_SETTINGS,(0,e.Ky)()),ae=(0,e.PH)(t.pg.SET_SELECTED_NODE,(0,e.Ky)()),ue=(0,e.PH)(t.pg.UPDATE_NODE_SETTINGS,(0,e.Ky)()),re=(0,e.PH)(t.pg.UPDATE_SELECTED_NODE_SETTINGS,(0,e.Ky)()),xe=(0,e.PH)(t.pg.UPDATE_APPLICATION_SETTINGS,(0,e.Ky)()),$=(0,e.PH)(t.pg.SET_NODE_DATA,(0,e.Ky)()),he=(0,e.PH)(t.pg.LOGOUT),S=(0,e.PH)(t.pg.RESET_PASSWORD,(0,e.Ky)()),s=((0,e.PH)(t.pg.RESET_PASSWORD_RES,(0,e.Ky)()),(0,e.PH)(t.pg.IS_AUTHORIZED,(0,e.Ky)())),h=((0,e.PH)(t.pg.IS_AUTHORIZED_RES,(0,e.Ky)()),(0,e.PH)(t.pg.LOGIN,(0,e.Ky)())),D=((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)())},2703:(He,X,p)=>{"use strict";p.d(X,{V:()=>jt});var e=p(9212),t=p(5154),y=p(8645),A=p(2096),l=p(7398),M=p(8180),m=p(2460),O=p(1631),d=p(6306),E=p(9773),x=p(2154),I=p(7700),k=p(3814),V=p(5940);let G=(()=>{class It{constructor(Ve,Xe){this.dialogRef=Ve,this.data=Xe}static#e=this.\u0275fac=function(Xe){return new(Xe||It)(e.Y36(I.so),e.Y36(I.WI))};static#t=this.\u0275cmp=e.Xpm({type:It,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(Xe,gt){1&Xe&&(e.TgZ(0,"div",0),e._UZ(1,"mat-progress-spinner",1),e.TgZ(2,"h2"),e._uU(3),e.qZA()()),2&Xe&&(e.xp6(3),e.Oqu(gt.data.titleMessage))},dependencies:[k.xw,k.Wh,V.Ou],styles:["h2[_ngcontent-%COMP%]{text-align:center}"]})}return It})();var j=p(5980),W=p(2939),K=p(6339),q=p(4190),ie=p(6814),ae=p(7509),ue=p(2296),re=p(5195),xe=p(617),$=p(6385),he=p(2596),S=p(2279),n=p(2159),s=p(7313),f=p(6985);const h=["scrollContainer"];function w(It,pe){if(1&It&&e._UZ(0,"qr-code",15),2&It){const Ve=e.oxw();e.Q6J("value",Ve.showQRField)("size",200)("errorCorrectionLevel","L")}}function D(It,pe){1&It&&e.GkF(0)}const P=It=>({"h-40":It});function v(It,pe){if(1&It&&(e.ynx(0),e.TgZ(1,"mat-card-content",16,17),e.YNc(3,D,1,0,"ng-container",18),e.qZA(),e.BQk()),2&It){const Ve=e.oxw(),Xe=e.MAs(20);e.xp6(1),e.Q6J("ngClass",e.VKq(2,P,Ve.data.scrollable)),e.xp6(2),e.Q6J("ngTemplateOutlet",Xe)}}function r(It,pe){1&It&&e.GkF(0)}function g(It,pe){if(1&It&&(e.ynx(0),e.TgZ(1,"mat-card-content",19),e.YNc(2,r,1,0,"ng-container",18),e.qZA(),e.BQk()),2&It){e.oxw();const Ve=e.MAs(20);e.xp6(2),e.Q6J("ngTemplateOutlet",Ve)}}function H(It,pe){1&It&&(e.TgZ(0,"mat-icon",23),e._uU(1,"arrow_downward"),e.qZA())}function N(It,pe){1&It&&(e.TgZ(0,"mat-icon",23),e._uU(1,"arrow_upward"),e.qZA())}function te(It,pe){if(1&It){const Ve=e.EpF();e.TgZ(0,"div",20)(1,"button",21),e.NdJ("click",function(){e.CHM(Ve);const gt=e.oxw();return e.KtG(gt.onScroll())}),e.YNc(2,H,2,0,"mat-icon",22)(3,N,2,0,"mat-icon",22),e.qZA()()}if(2&It){const Ve=e.oxw();e.xp6(2),e.Q6J("ngIf","DOWN"===Ve.scrollDirection),e.xp6(1),e.Q6J("ngIf","UP"===Ve.scrollDirection)}}function De(It,pe){1&It&&(e.TgZ(0,"button",24),e._uU(1,"OK"),e.qZA()),2&It&&e.Q6J("mat-dialog-close",!1)}function st(It,pe){1&It&&(e.TgZ(0,"button",25),e._uU(1,"Close"),e.qZA()),2&It&&e.Q6J("mat-dialog-close",!1)}function je(It,pe){if(1&It){const Ve=e.EpF();e.TgZ(0,"button",26),e.NdJ("copied",function(gt){e.CHM(Ve);const ri=e.oxw();return e.KtG(ri.onCopyField(gt))}),e._uU(1),e.qZA()}if(2&It){const Ve=e.oxw();e.Q6J("payload",Ve.showCopyField),e.xp6(1),e.hij("Copy ",Ve.showCopyName,"")}}function $e(It,pe){1&It&&(e.TgZ(0,"button",25),e._uU(1,"Close"),e.qZA()),2&It&&e.Q6J("mat-dialog-close",!1)}function ye(It,pe){if(1&It){const Ve=e.EpF();e.TgZ(0,"button",26),e.NdJ("copied",function(gt){e.CHM(Ve);const ri=e.oxw();return e.KtG(ri.onCopyField(gt))}),e._uU(1),e.qZA()}if(2&It){const Ve=e.oxw();e.Q6J("payload",Ve.showQRField),e.xp6(1),e.hij("Copy ",Ve.showQRName,"")}}function fe(It,pe){if(1&It&&e._UZ(0,"qr-code",15),2&It){const Ve=e.oxw(2);e.Q6J("value",Ve.showQRField)("size",200)("errorCorrectionLevel","L")}}function de(It,pe){if(1&It&&(e.TgZ(0,"p",32),e._uU(1),e.qZA()),2&It){const Ve=e.oxw(2);e.xp6(1),e.Oqu(Ve.data.titleMessage)}}function Ce(It,pe){1&It&&e._UZ(0,"span",46),2&It&&e.Q6J("innerHTML",pe.$implicit,e.oJD)}function le(It,pe){if(1&It&&(e.ynx(0),e.YNc(1,Ce,1,1,"span",45),e.BQk()),2&It){const Ve=e.oxw(2).$implicit;e.xp6(1),e.Q6J("ngForOf",Ve.value)}}function ge(It,pe){if(1&It&&(e.ynx(0),e._uU(1),e.ALo(2,"date"),e.BQk()),2&It){const Ve=e.oxw(2).$implicit;e.xp6(1),e.Oqu(e.xi3(2,1,1e3*Ve.value,"dd/MMM/y HH:mm"))}}function qe(It,pe){if(1&It&&(e.ynx(0),e._uU(1),e.ALo(2,"number"),e.BQk()),2&It){const Ve=e.oxw(2).$implicit;e.xp6(1),e.Oqu(e.xi3(2,1,Ve.value,Ve.digitsInfo?Ve.digitsInfo:"1.0-3"))}}function oe(It,pe){if(1&It&&(e.ynx(0),e._uU(1),e.BQk()),2&It){const Ve=e.oxw(2).$implicit;e.xp6(1),e.Oqu(Ve.value?"True":"False")}}function ve(It,pe){1&It&&(e.TgZ(0,"mat-icon",51),e._uU(1,"info"),e.qZA())}const ce=It=>({"failed-status":It});function Ge(It,pe){if(1&It&&(e.TgZ(0,"p",49),e._uU(1),e.YNc(2,ve,2,0,"mat-icon",50),e.qZA()),2&It){const Ve=e.oxw(3).$implicit,Xe=e.oxw(4);e.Q6J("ngClass",e.VKq(3,ce,Ve.value===Xe.LoopStateEnum.FAILED)),e.xp6(1),e.hij(" ",Ve.value," "),e.xp6(1),e.Q6J("ngIf",Ve.value===Xe.LoopStateEnum.FAILED)}}function Ze(It,pe){if(1&It){const Ve=e.EpF();e.TgZ(0,"p",54),e.NdJ("click",function(){e.CHM(Ve);const gt=e.oxw(8);return e.KtG(gt.onGoToLink())}),e._uU(1),e.qZA()}if(2&It){const Ve=e.oxw(4).$implicit,Xe=e.oxw(4);e.s9C("matTooltip","Go To "+Xe.goToName),e.xp6(1),e.hij(" ",Ve.value," ")}}function wt(It,pe){if(1&It&&e._uU(0),2&It){const Ve=e.oxw(4).$implicit;e.hij(" ",Ve.value," ")}}function mt(It,pe){if(1&It&&e.YNc(0,Ze,2,2,"p",52)(1,wt,1,1,"ng-template",null,53,e.W1O),2&It){const Ve=e.MAs(2),Xe=e.oxw(3).$implicit,gt=e.oxw(4);e.Q6J("ngIf",Xe.value===gt.goToFieldValue)("ngIfElse",Ve)}}function kt(It,pe){if(1&It&&(e.ynx(0),e.YNc(1,Ge,3,5,"p",47)(2,mt,3,2,"ng-template",null,48,e.W1O),e.BQk()),2&It){const Ve=e.MAs(3),Xe=e.oxw(2).$implicit,gt=e.oxw(4);e.xp6(1),e.Q6J("ngIf","SWAP"===gt.data.openedBy&&"state"===Xe.key)("ngIfElse",Ve)}}function Ae(It,pe){if(1&It&&(e.TgZ(0,"span")(1,"span",42),e.YNc(2,le,2,1,"ng-container",43)(3,ge,3,4,"ng-container",43)(4,qe,3,4,"ng-container",43)(5,oe,2,1,"ng-container",43)(6,kt,4,2,"ng-container",44),e.qZA()()),2&It){const Ve=e.oxw().$implicit,Xe=e.oxw(4);e.xp6(1),e.Q6J("ngSwitch",Ve.type),e.xp6(1),e.Q6J("ngSwitchCase",Xe.dataTypeEnum.ARRAY),e.xp6(1),e.Q6J("ngSwitchCase",Xe.dataTypeEnum.DATE_TIME),e.xp6(1),e.Q6J("ngSwitchCase",Xe.dataTypeEnum.NUMBER),e.xp6(1),e.Q6J("ngSwitchCase",Xe.dataTypeEnum.BOOLEAN)}}function ze(It,pe){1&It&&(e.TgZ(0,"span",55),e._uU(1,"\xa0"),e.qZA())}function nt(It,pe){if(1&It&&(e.TgZ(0,"div",37)(1,"h4",38),e._uU(2),e.qZA(),e.YNc(3,Ae,7,5,"span",39)(4,ze,2,0,"ng-template",null,40,e.W1O),e._UZ(6,"mat-divider",41),e.qZA()),2&It){const Ve=pe.$implicit,Xe=e.MAs(5);e.s9C("fxFlex.gt-md",Ve.width),e.xp6(2),e.Oqu(Ve.title),e.xp6(1),e.Q6J("ngIf",Ve&&(!!Ve.value||0===Ve.value))("ngIfElse",Xe)}}function et(It,pe){if(1&It&&(e.TgZ(0,"div")(1,"div",35),e.YNc(2,nt,7,4,"div",36),e.qZA()()),2&It){const Ve=pe.$implicit;e.xp6(2),e.Q6J("ngForOf",Ve)}}function ke(It,pe){if(1&It&&(e.TgZ(0,"div",33),e.YNc(1,et,3,1,"div",34),e.qZA()),2&It){const Ve=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",Ve.messageObjs)}}const ct=It=>({"display-none":It});function Qe(It,pe){if(1&It&&(e.TgZ(0,"div",27)(1,"div",28),e.YNc(2,fe,1,3,"qr-code",2),e.qZA(),e.TgZ(3,"div",29),e.YNc(4,de,2,1,"p",30)(5,ke,2,1,"div",31),e.qZA()()),2&It){const Ve=e.oxw();e.xp6(1),e.Q6J("ngClass",e.VKq(4,ct,""===Ve.showQRField||Ve.screenSize!==Ve.screenSizeEnum.XS&&Ve.screenSize!==Ve.screenSizeEnum.SM)),e.xp6(1),e.Q6J("ngIf",""!==Ve.showQRField),e.xp6(2),e.Q6J("ngIf",Ve.data.titleMessage),e.xp6(1),e.Q6J("ngIf",(null==Ve.messageObjs?null:Ve.messageObjs.length)>0)}}let Et=(()=>{class It{set container(Ve){Ve&&(this.scrollContainer=Ve,this.scrollContainer&&this.scrollContainer.nativeElement&&(this.unlistenEnd=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-end",Xe=>{this.scrollDirection="UP"}),this.unlistenStart=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-start",Xe=>{this.scrollDirection="DOWN"})))}constructor(Ve,Xe,gt,ri,Oi,Bn,cr){this.dialogRef=Ve,this.data=Xe,this.logger=gt,this.snackBar=ri,this.commonService=Oi,this.renderer=Bn,this.router=cr,this.LoopStateEnum=x.Fq,this.goToFieldValue="",this.goToName="",this.goToLink="",this.showQRField="",this.showQRName="",this.showCopyName="",this.showCopyField="",this.errorMessage="",this.messageObjs=[],this.alertTypeEnum=x.n_,this.dataTypeEnum=x.Gi,this.screenSize="",this.screenSizeEnum=x.cu,this.scrollDirection="DOWN",this.shouldScroll=!0}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.messageObjs=this.data.message||[],this.goToFieldValue=this.data.goToFieldValue?this.data.goToFieldValue:"",this.goToName=this.data.goToName?this.data.goToName:"",this.goToLink=this.data.goToLink?this.data.goToLink:"",this.showQRField=this.data.showQRField?this.data.showQRField:"",this.showQRName=this.data.showQRName?this.data.showQRName:"",this.showCopyName=this.data.showCopyName?this.data.showCopyName:"",this.showCopyField=this.data.showCopyField?this.data.showCopyField:"",this.data.type===x.n_.ERROR&&!this.data.message&&!this.data.titleMessage&&this.messageObjs.length<=0&&(this.data.titleMessage="Please Check Server Connection"),this.logger.info(this.messageObjs)}ngAfterViewChecked(){setTimeout(()=>{this.shouldScroll=this.scrollContainer&&this.scrollContainer.nativeElement&&this.scrollContainer.nativeElement.classList.value.includes("ps--active-y")},500)}onScroll(){this.scrollContainer.nativeElement.scrollTop="DOWN"===this.scrollDirection?this.scrollContainer.nativeElement.scrollTop+62.6:this.scrollContainer.nativeElement.scrollTop-62.6}onCopyField(Ve){this.snackBar.open((this.showQRName?this.showQRName:this.showCopyName)+" copied."),this.logger.info("Copied Text: "+Ve)}onClose(){this.dialogRef.close(!1)}onGoToLink(){this.router.navigateByUrl(this.goToLink,{state:{lookupType:"0",lookupValue:this.goToFieldValue}}),this.onClose()}ngOnDestroy(){this.unlistenStart&&this.unlistenStart(),this.unlistenEnd&&this.unlistenEnd()}static#e=this.\u0275fac=function(Xe){return new(Xe||It)(e.Y36(I.so),e.Y36(I.WI),e.Y36(j.mQ),e.Y36(W.ux),e.Y36(K.v),e.Y36(e.Qsj),e.Y36(q.F0))};static#t=this.\u0275cmp=e.Xpm({type:It,selectors:[["rtl-alert-message"]],viewQuery:function(Xe,gt){if(1&Xe&&e.Gf(h,5),2&Xe){let ri;e.iGM(ri=e.CRH())&&(gt.container=ri.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"],["tabindex","4","fxLayout","row","class","go-to-link",3,"matTooltip","click",4,"ngIf","ngIfElse"],["noStyleChild",""],["tabindex","4","fxLayout","row",1,"go-to-link",3,"matTooltip","click"],["fxFlex","100",1,"foreground-secondary-text"]],template:function(Xe,gt){1&Xe&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,w,1,3,"qr-code",2),e.qZA(),e.TgZ(3,"div",3)(4,"mat-card-header",4)(5,"div",5)(6,"span",6),e._uU(7),e.qZA()(),e.TgZ(8,"button",7),e.NdJ("click",function(){return gt.onClose()}),e._uU(9,"X"),e.qZA()(),e.YNc(10,v,4,4,"ng-container",8)(11,g,3,1,"ng-container",8)(12,te,4,2,"div",9),e.TgZ(13,"div",10),e.YNc(14,De,2,1,"button",11)(15,st,2,1,"button",12)(16,je,2,2,"button",13)(17,$e,2,1,"button",12)(18,ye,2,2,"button",13),e.qZA()()(),e.YNc(19,Qe,6,6,"ng-template",null,14,e.W1O)),2&Xe&&(e.xp6(1),e.Q6J("ngClass",e.VKq(12,ct,""===gt.showQRField||gt.screenSize===gt.screenSizeEnum.XS||gt.screenSize===gt.screenSizeEnum.SM)),e.xp6(1),e.Q6J("ngIf",""!==gt.showQRField),e.xp6(1),e.Q6J("fxFlex",""===gt.showQRField||gt.screenSize===gt.screenSizeEnum.XS||gt.screenSize===gt.screenSizeEnum.SM?"100":"70"),e.xp6(4),e.Oqu(gt.data.alertTitle||gt.alertTypeEnum[gt.data.type]),e.xp6(3),e.Q6J("ngIf",gt.data.scrollable),e.xp6(1),e.Q6J("ngIf",!gt.data.scrollable),e.xp6(1),e.Q6J("ngIf",gt.data.scrollable&&gt.shouldScroll),e.xp6(2),e.Q6J("ngIf",(!gt.showQRField||""===gt.showQRField)&&""===gt.showCopyName),e.xp6(1),e.Q6J("ngIf",""!==gt.showCopyName),e.xp6(1),e.Q6J("ngIf",""!==gt.showCopyName),e.xp6(1),e.Q6J("ngIf",""!==gt.showQRField),e.xp6(1),e.Q6J("ngIf",""!==gt.showQRField))},dependencies:[ie.mk,ie.sg,ie.O5,ie.tP,ie.RF,ie.n9,ie.ED,k.xw,k.Wh,k.yH,ae.oO,I.ZT,ue.lW,ue.nh,re.dn,re.dk,xe.Hw,$.d,he.gM,S.uU,n.$V,s.y,f.h,ie.JJ,ie.uU],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]})}return It})();var lt=p(590),Ke=p(9103),Be=p(4221),Xt=p(6223),J=p(5597),We=p(2032),Ft=p(5683),Ct=p(6082);function Pt(It,pe){if(1&It&&(e.TgZ(0,"div",18),e._UZ(1,"fa-icon",19),e.TgZ(2,"span"),e._uU(3),e.qZA()()),2&It){const Ve=e.oxw();e.xp6(1),e.Q6J("icon",Ve.faExclamationTriangle),e.xp6(2),e.Oqu(Ve.warningMessage)}}function xt(It,pe){if(1&It&&(e.TgZ(0,"div",20),e._UZ(1,"fa-icon",19),e.TgZ(2,"span"),e._uU(3),e.qZA()()),2&It){const Ve=e.oxw();e.xp6(1),e.Q6J("icon",Ve.faInfoCircle),e.xp6(2),e.Oqu(Ve.informationMessage)}}function rt(It,pe){if(1&It&&(e.TgZ(0,"p",21),e._uU(1),e.qZA()),2&It){const Ve=e.oxw();e.xp6(1),e.Oqu(Ve.data.titleMessage)}}function Ee(It,pe){1&It&&e._UZ(0,"div",36),2&It&&e.Q6J("innerHTML",pe.$implicit,e.oJD)}function it(It,pe){if(1&It&&(e.ynx(0,34),e.YNc(1,Ee,1,1,"div",35),e.BQk()),2&It){const Ve=e.oxw(2).$implicit;e.xp6(1),e.Q6J("ngForOf",Ve.value)}}function Ue(It,pe){if(1&It&&(e.ynx(0),e._uU(1),e.ALo(2,"date"),e.BQk()),2&It){const Ve=e.oxw(2).$implicit;e.xp6(1),e.Oqu(e.xi3(2,1,1e3*Ve.value,"dd/MMM/y HH:mm"))}}function Je(It,pe){if(1&It&&(e.ynx(0),e._uU(1),e.ALo(2,"number"),e.BQk()),2&It){const Ve=e.oxw(2).$implicit;e.xp6(1),e.Oqu(e.xi3(2,1,Ve.value,"1.0-3"))}}function _t(It,pe){if(1&It&&(e.ynx(0),e._uU(1),e.BQk()),2&It){const Ve=e.oxw(2).$implicit;e.xp6(1),e.Oqu(!0===Ve.value?"True":"False")}}function Le(It,pe){if(1&It&&(e.ynx(0),e._uU(1),e.BQk()),2&It){const Ve=e.oxw(2).$implicit;e.xp6(1),e.Oqu(Ve.value)}}function be(It,pe){if(1&It&&(e.TgZ(0,"span")(1,"span",30),e.YNc(2,it,2,1,"ng-container",31)(3,Ue,3,4,"ng-container",32)(4,Je,3,4,"ng-container",32)(5,_t,2,1,"ng-container",32)(6,Le,2,1,"ng-container",33),e.qZA()()),2&It){const Ve=e.oxw().$implicit,Xe=e.oxw(3);e.xp6(1),e.Q6J("ngSwitch",Ve.type),e.xp6(1),e.Q6J("ngSwitchCase",Xe.dataTypeEnum.ARRAY),e.xp6(1),e.Q6J("ngSwitchCase",Xe.dataTypeEnum.DATE_TIME),e.xp6(1),e.Q6J("ngSwitchCase",Xe.dataTypeEnum.NUMBER),e.xp6(1),e.Q6J("ngSwitchCase",Xe.dataTypeEnum.BOOLEAN)}}function ee(It,pe){1&It&&(e.TgZ(0,"span",37),e._uU(1,"\xa0"),e.qZA())}function ne(It,pe){if(1&It&&(e.TgZ(0,"div",25)(1,"h4",26),e._uU(2),e.qZA(),e.YNc(3,be,7,5,"span",27)(4,ee,2,0,"ng-template",null,28,e.W1O),e._UZ(6,"mat-divider",29),e.qZA()),2&It){const Ve=pe.$implicit,Xe=e.MAs(5);e.s9C("fxFlex.gt-md",Ve.width),e.xp6(2),e.Oqu(Ve.title),e.xp6(1),e.Q6J("ngIf",Ve&&(!!Ve.value||0===Ve.value))("ngIfElse",Xe)}}function Ie(It,pe){if(1&It&&(e.TgZ(0,"div")(1,"div",23),e.YNc(2,ne,7,4,"div",24),e.qZA()()),2&It){const Ve=pe.$implicit;e.xp6(2),e.Q6J("ngForOf",Ve)}}function Ht(It,pe){if(1&It&&(e.TgZ(0,"div"),e.YNc(1,Ie,3,1,"div",22),e.qZA()),2&It){const Ve=e.oxw();e.xp6(1),e.Q6J("ngForOf",Ve.messageObjs)}}function At(It,pe){if(1&It&&(e.TgZ(0,"p",21),e._uU(1),e.qZA()),2&It){const Ve=e.oxw(2);e.xp6(1),e.Oqu(Ve.data.titleMessage)}}function Zt(It,pe){if(1&It&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&It){const Ve=e.oxw(2).$implicit;e.xp6(1),e.hij("",Ve.placeholder," is required.")}}function pi(It,pe){if(1&It){const Ve=e.EpF();e.TgZ(0,"mat-form-field",41)(1,"mat-label"),e._uU(2),e.qZA(),e.TgZ(3,"input",42),e.NdJ("ngModelChange",function(gt){e.CHM(Ve);const ri=e.oxw().$implicit;return e.KtG(ri.inputValue=gt)}),e.ALo(4,"lowercase"),e.qZA(),e.YNc(5,Zt,2,1,"mat-error",11),e.TgZ(6,"mat-hint"),e._uU(7),e.qZA()()}if(2&It){const Ve=e.oxw(),Xe=Ve.$implicit,gt=Ve.index;e.Q6J("fxFlex",Xe.width),e.xp6(2),e.Oqu(Xe.placeholder),e.xp6(1),e.MGl("name","input",gt,""),e.Q6J("autoFocus",0===gt)("min",Xe.min)("step",Xe.step)("type",e.lcZ(4,11,Xe.inputType))("tabindex",gt+1)("ngModel",Xe.inputValue),e.xp6(2),e.Q6J("ngIf",!Xe.inputValue),e.xp6(2),e.Oqu(Xe.hintFunction?Xe.hintFunction(Xe.inputValue):Xe.hintText)}}function Jt(It,pe){if(1&It&&(e.ynx(0),e.YNc(1,pi,8,13,"mat-form-field",40),e.BQk()),2&It){const Ve=pe.$implicit,Xe=e.oxw(2);e.xp6(1),e.Q6J("ngIf",!Ve.advancedField||Xe.showAdvanced)}}function qt(It,pe){if(1&It&&(e.TgZ(0,"div",38),e.YNc(1,At,2,1,"p",10),e.TgZ(2,"div",39),e.YNc(3,Jt,2,1,"ng-container",22),e.qZA()()),2&It){const Ve=e.oxw();e.xp6(1),e.Q6J("ngIf",Ve.data.titleMessage),e.xp6(2),e.Q6J("ngForOf",Ve.getInputs)}}function Hi(It,pe){1&It&&(e.TgZ(0,"p"),e._uU(1,"Show Advanced"),e.qZA())}function di(It,pe){1&It&&(e.TgZ(0,"p"),e._uU(1,"Hide Advanced"),e.qZA())}function fi(It,pe){if(1&It){const Ve=e.EpF();e.TgZ(0,"button",43),e.NdJ("click",function(){e.CHM(Ve);const gt=e.oxw();return e.KtG(gt.onShowAdvanced())}),e.YNc(1,Hi,2,0,"p",27)(2,di,2,0,"ng-template",null,44,e.W1O),e.qZA()}if(2&It){const Ve=e.MAs(3),Xe=e.oxw();e.xp6(1),e.Q6J("ngIf",!Xe.showAdvanced)("ngIfElse",Ve)}}function un(It,pe){if(1&It){const Ve=e.EpF();e.TgZ(0,"button",45),e.NdJ("click",function(){e.CHM(Ve);const gt=e.oxw();return e.KtG(gt.onClose(gt.getInputs))}),e._uU(1),e.qZA()}if(2&It){const Ve=e.oxw();e.xp6(1),e.Oqu(Ve.yesBtnText)}}function Qi(It,pe){if(1&It){const Ve=e.EpF();e.TgZ(0,"button",46),e.NdJ("click",function(){e.CHM(Ve);const gt=e.oxw();return e.KtG(gt.onClose(!0))}),e._uU(1),e.qZA()}if(2&It){const Ve=e.oxw();e.xp6(1),e.Oqu(Ve.yesBtnText)}}let xi=(()=>{class It{constructor(Ve,Xe,gt,ri){this.dialogRef=Ve,this.data=Xe,this.logger=gt,this.store=ri,this.faInfoCircle=lt.sqG,this.faExclamationTriangle=lt.eHv,this.informationMessage="",this.warningMessage="",this.noBtnText="No",this.yesBtnText="Yes",this.messageObjs=[],this.flgShowInput=!1,this.hasAdvanced=!1,this.alertTypeEnum=x.n_,this.dataTypeEnum=x.Gi,this.getInputs=[{placeholder:"",inputType:x.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===x.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(Ve){if(Ve&&this.getInputs&&this.getInputs.some(Xe=>typeof Xe.inputValue>"u"))return!0;!this.showAdvanced&&Ve.length&&(Ve=Ve?.reduce((Xe,gt)=>(gt.advancedField||Xe.push(gt),Xe),[])),this.store.dispatch((0,Ke.yb)({payload:Ve}))}static#e=this.\u0275fac=function(Xe){return new(Xe||It)(e.Y36(I.so),e.Y36(I.WI),e.Y36(j.mQ),e.Y36(Be.yh))};static#t=this.\u0275cmp=e.Xpm({type:It,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(Xe,gt){1&Xe&&(e.TgZ(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),e._uU(5),e.qZA()(),e.TgZ(6,"button",5),e.NdJ("click",function(){return gt.onClose(!1)}),e._uU(7,"X"),e.qZA()(),e.TgZ(8,"mat-card-content",6)(9,"form",7),e.YNc(10,Pt,4,2,"div",8)(11,xt,4,2,"div",9)(12,rt,2,1,"p",10)(13,Ht,2,1,"div",11)(14,qt,4,2,"div",12),e.TgZ(15,"div",13)(16,"button",14),e.NdJ("click",function(){return gt.onClose(!1)}),e._uU(17),e.qZA(),e.YNc(18,fi,4,2,"button",15)(19,un,2,1,"button",16)(20,Qi,2,1,"button",17),e.qZA()()()()()),2&Xe&&(e.xp6(5),e.Oqu(gt.data.alertTitle||gt.alertTypeEnum[gt.data.type]),e.xp6(5),e.Q6J("ngIf",gt.warningMessage&&""!==gt.warningMessage),e.xp6(1),e.Q6J("ngIf",gt.informationMessage&&""!==gt.informationMessage),e.xp6(1),e.Q6J("ngIf",gt.data.titleMessage&&!gt.flgShowInput),e.xp6(1),e.Q6J("ngIf",(null==gt.messageObjs?null:gt.messageObjs.length)>0),e.xp6(1),e.Q6J("ngIf",gt.flgShowInput),e.xp6(3),e.Oqu(gt.noBtnText),e.xp6(1),e.Q6J("ngIf",gt.hasAdvanced),e.xp6(1),e.Q6J("ngIf",gt.flgShowInput),e.xp6(1),e.Q6J("ngIf",!gt.flgShowInput))},dependencies:[ie.sg,ie.O5,ie.RF,ie.n9,ie.ED,Xt._Y,Xt.Fj,Xt.JJ,Xt.JL,Xt.Q7,Xt.On,Xt.F,J.BN,k.xw,k.Wh,k.yH,ue.lW,re.dn,re.dk,We.Nt,Ft.KE,Ft.hX,Ft.bx,Ft.TO,$.d,f.h,Ct.q,ie.i8,ie.JJ,ie.uU]})}return It})();var sn=p(3315),ot=p(8525),si=p(3680);function we(It,pe){if(1&It&&(e.TgZ(0,"mat-option",23),e._uU(1),e.qZA()),2&It){const Ve=pe.$implicit;e.Q6J("value",Ve),e.xp6(1),e.hij(" ",Ve.infoName," ")}}function St(It,pe){if(1&It){const Ve=e.EpF();e.TgZ(0,"div",13)(1,"mat-form-field",20)(2,"mat-select",21),e.NdJ("valueChange",function(gt){e.CHM(Ve);const ri=e.oxw();return e.KtG(ri.selInfoType=gt)}),e.YNc(3,we,2,2,"mat-option",22),e.qZA()()()}if(2&It){const Ve=e.oxw();e.xp6(2),e.Q6J("value",Ve.selInfoType),e.xp6(1),e.Q6J("ngForOf",Ve.infoTypes)}}const zt=It=>({"display-none":It});let Dt=(()=>{class It{constructor(Ve,Xe,gt,ri,Oi){this.dialogRef=Ve,this.data=Xe,this.logger=gt,this.snackBar=ri,this.commonService=Oi,this.faReceipt=lt.dLy,this.infoTypes=[{infoID:0,infoKey:"node pubkey",infoName:"Node pubkey"}],this.selInfoType=this.infoTypes[0],this.qrWidth=210,this.screenSize="",this.screenSizeEnum=x.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((Ve,Xe)=>{this.infoTypes.push({infoID:Xe+1,infoKey:"node URI "+(Xe+1),infoName:"Node URI "+(Xe+1)})})),this.screenSize=this.commonService.getScreenSize()}onClose(){this.dialogRef.close(!1)}onCopyPubkey(Ve){this.snackBar.open(this.selInfoType.infoName+" copied."),this.logger.info("Copied Text: "+Ve)}static#e=this.\u0275fac=function(Xe){return new(Xe||It)(e.Y36(I.so),e.Y36(I.WI),e.Y36(j.mQ),e.Y36(W.ux),e.Y36(K.v))};static#t=this.\u0275cmp=e.Xpm({type:It,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(Xe,gt){1&Xe&&(e.TgZ(0,"div",0)(1,"div",1),e._UZ(2,"qr-code",2),e.qZA(),e.TgZ(3,"div",3)(4,"mat-card-header",4)(5,"div",5),e._UZ(6,"fa-icon",6),e.TgZ(7,"span",7),e._uU(8),e.qZA()(),e.TgZ(9,"button",8),e.NdJ("click",function(){return gt.onClose()}),e._uU(10,"X"),e.qZA()(),e.TgZ(11,"mat-card-content",9)(12,"div",10)(13,"div",11),e._UZ(14,"qr-code",2),e.qZA(),e.YNc(15,St,4,2,"div",12),e.TgZ(16,"div",13)(17,"div",14)(18,"h4",15),e._uU(19),e.qZA(),e.TgZ(20,"span",16),e._uU(21),e.qZA()()(),e._UZ(22,"mat-divider",17),e.TgZ(23,"div",18)(24,"button",19),e.NdJ("copied",function(Oi){return gt.onCopyPubkey(Oi)}),e._uU(25),e.qZA()()()()()()),2&Xe&&(e.xp6(1),e.Q6J("ngClass",e.VKq(15,zt,gt.screenSize===gt.screenSizeEnum.XS||gt.screenSize===gt.screenSizeEnum.SM)),e.xp6(1),e.s9C("value",0===gt.selInfoType.infoID?gt.information.identity_pubkey:gt.information.uris[gt.selInfoType.infoID-1]),e.Q6J("size",gt.qrWidth)("errorCorrectionLevel","L"),e.xp6(4),e.Q6J("icon",gt.faReceipt),e.xp6(2),e.Oqu(gt.selInfoType.infoName),e.xp6(5),e.Q6J("ngClass",e.VKq(17,zt,gt.screenSize!==gt.screenSizeEnum.XS&&gt.screenSize!==gt.screenSizeEnum.SM)),e.xp6(1),e.s9C("value",0===gt.selInfoType.infoID?gt.information.identity_pubkey:gt.information.uris[gt.selInfoType.infoID-1]),e.Q6J("size",gt.qrWidth)("errorCorrectionLevel","L"),e.xp6(1),e.Q6J("ngIf",gt.information.uris&&gt.information.uris.length>0),e.xp6(4),e.Oqu(gt.selInfoType.infoName),e.xp6(2),e.Oqu(0===gt.selInfoType.infoID?gt.information.identity_pubkey:gt.information.uris[gt.selInfoType.infoID-1]),e.xp6(3),e.s9C("payload",0===gt.selInfoType.infoID?gt.information.identity_pubkey:gt.information.uris[gt.selInfoType.infoID-1]),e.xp6(1),e.hij("Copy ",gt.selInfoType.infoKey,""))},dependencies:[ie.mk,ie.sg,ie.O5,J.BN,k.xw,k.Wh,k.yH,ae.oO,ue.lW,re.dn,re.dk,Ft.KE,$.d,ot.gD,si.ey,S.uU,s.y,f.h]})}return It})();var Lt=p(9191),Bt=p(234),ai=p(2249),vi=p(4818),bi=p(9862),ki=p(2285),Bi=p(5813),Vi=p(6046);let jt=(()=>{class It{constructor(Ve,Xe,gt,ri,Oi,Bn,cr,hn,fr,ta,Lr){this.actions=Ve,this.httpClient=Xe,this.store=gt,this.logger=ri,this.wsService=Oi,this.sessionService=Bn,this.commonService=cr,this.dataService=hn,this.dialog=fr,this.snackBar=ta,this.router=Lr,this.screenSize="",this.alertWidth="55%",this.confirmWidth="70%",this.unSubs=[new y.x,new y.x],this.closeAllDialogs=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(x.pg.CLOSE_ALL_DIALOGS),(0,l.U)(()=>{this.dialog.closeAll()})),{dispatch:!1}),this.openSnackBar=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(x.pg.OPEN_SNACK_BAR),(0,l.U)(Ui=>{"string"==typeof Ui.payload?this.snackBar.open(Ui.payload):this.snackBar.open(Ui.payload.message,"","ERROR"===Ui.payload.type?{duration:Ui.payload.duration?Ui.payload.duration:2e3,panelClass:"rtl-warn-snack-bar"}:"WARN"===Ui.payload.type?{duration:Ui.payload.duration?Ui.payload.duration:2e3,panelClass:"rtl-accent-snack-bar"}:{duration:Ui.payload.duration?Ui.payload.duration:2e3,panelClass:"rtl-snack-bar"})})),{dispatch:!1}),this.openSpinner=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(x.pg.OPEN_SPINNER),(0,l.U)(Ui=>{Ui.payload!==x.m6.NO_SPINNER&&(this.dialogRef=this.dialog.open(G,{panelClass:"spinner-dialog-panel",data:{titleMessage:Ui.payload}}))})),{dispatch:!1}),this.closeSpinner=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(x.pg.CLOSE_SPINNER),(0,l.U)(Ui=>{if(Ui.payload!==x.m6.NO_SPINNER)try{this.dialogRef&&this.dialogRef.componentInstance&&this.dialogRef.componentInstance.data&&this.dialogRef.componentInstance.data.titleMessage&&this.dialogRef.componentInstance.data.titleMessage===Ui.payload?this.dialogRef.close():this.dialog.openDialogs.forEach(rn=>{rn.componentInstance&&rn.componentInstance.data&&rn.componentInstance.data.titleMessage&&rn.componentInstance.data.titleMessage===Ui.payload&&rn.close()})}catch(rn){this.logger.error(rn)}})),{dispatch:!1}),this.openAlert=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(x.pg.OPEN_ALERT),(0,l.U)(Ui=>{const rn=JSON.parse(JSON.stringify(Ui.payload));rn.width||(rn.width=this.alertWidth),this.dialogRef=this.dialog.open(Ui.payload.data.component?Ui.payload.data.component:Et,rn)})),{dispatch:!1}),this.closeAlert=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(x.pg.CLOSE_ALERT),(0,l.U)(Ui=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(Ui.payload),Ui.payload))),{dispatch:!1}),this.openConfirm=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(x.pg.OPEN_CONFIRMATION),(0,l.U)(Ui=>{const rn=JSON.parse(JSON.stringify(Ui.payload));rn.width||(rn.width=this.confirmWidth),this.dialogRef=this.dialog.open(xi,rn)})),{dispatch:!1}),this.closeConfirm=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(x.pg.CLOSE_CONFIRMATION),(0,M.q)(1),(0,l.U)(Ui=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(Ui.payload),Ui.payload))),{dispatch:!1}),this.showNodePubkey=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(x.pg.SHOW_PUBKEY),(0,m.M)(this.store.select(vi.R4)),(0,O.z)(([Ui,rn])=>(this.sessionService.getItem("token")&&rn.identity_pubkey?this.store.dispatch((0,Ke.qR)({payload:{data:{information:rn,component:Dt}}})):this.snackBar.open("Node Pubkey does not exist."),(0,A.of)({type:x.pg.VOID}))))),this.appConfigFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(x.pg.FETCH_APPLICATION_SETTINGS),(0,O.z)(()=>(this.screenSize=this.commonService.getScreenSize(),this.screenSize===x.cu.XS||this.screenSize===x.cu.SM?(this.alertWidth="95%",this.confirmWidth="95%"):this.screenSize===x.cu.MD?(this.alertWidth="80%",this.confirmWidth="80%"):(this.alertWidth="50%",this.confirmWidth="53%"),this.store.dispatch((0,Ke.ac)({payload:x.m6.GET_RTL_CONFIG})),this.store.dispatch((0,Ke.qi)({payload:{action:"FetchRTLConfig",status:x.Bn.INITIATED}})),this.httpClient.get(x.vv.CONF_API))),(0,l.U)(Ui=>{this.logger.info(Ui),this.store.dispatch((0,Ke.uO)({payload:x.m6.GET_RTL_CONFIG})),this.store.dispatch((0,Ke.qi)({payload:{action:"FetchRTLConfig",status:x.Bn.COMPLETED}}));let rn=null;return Ui.nodes.forEach(qn=>{qn.settings.currencyUnits=[...x.uA,qn.settings?.currencyUnit?qn.settings?.currencyUnit:""],+(qn.index||-1)===Ui.selectedNodeIndex&&(rn=qn)}),rn?(this.store.dispatch((0,Ke.fk)({payload:{uiMessage:x.m6.NO_SPINNER,prevLnNodeIndex:-1,currentLnNode:rn,isInitialSetup:!0}})),{type:x.pg.SET_APPLICATION_SETTINGS,payload:Ui}):{type:x.pg.VOID}}),(0,d.K)(Ui=>(this.handleErrorWithAlert("FetchRTLConfig",x.m6.GET_RTL_CONFIG,"Fetch RTL Config Failed!",x.vv.CONF_API,Ui),(0,A.of)({type:x.pg.VOID}))))),this.updateNodeSettings=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(x.pg.UPDATE_NODE_SETTINGS),(0,O.z)(Ui=>(this.store.dispatch((0,Ke.ac)({payload:x.m6.UPDATE_NODE_SETTINGS})),this.store.dispatch((0,Ke.qi)({payload:{action:"updateNodeSettings",status:x.Bn.INITIATED}})),this.httpClient.post(x.vv.CONF_API+"/node",Ui.payload).pipe((0,l.U)(rn=>(this.store.dispatch((0,Ke.qi)({payload:{action:"updateNodeSettings",status:x.Bn.COMPLETED}})),this.store.dispatch((0,Ke.uO)({payload:x.m6.UPDATE_NODE_SETTINGS})),this.store.dispatch((0,Ke.wj)({payload:rn})),this.store.dispatch((0,Lt.JT)({payload:Ui.payload})),this.store.dispatch((0,Bt.Mf)({payload:Ui.payload})),this.store.dispatch((0,ai.Zr)({payload:Ui.payload})),{type:x.pg.OPEN_SNACK_BAR,payload:"Node settings updated successfully!"})),(0,d.K)(rn=>(this.handleErrorWithAlert("updateNodeSettings",x.m6.UPDATE_NODE_SETTINGS,"Update Node Settings Failed!",x.vv.CONF_API+"/node",rn),(0,A.of)({type:x.pg.VOID})))))))),this.updateApplicationSettings=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(x.pg.UPDATE_APPLICATION_SETTINGS),(0,O.z)(Ui=>(this.store.dispatch((0,Ke.ac)({payload:x.m6.UPDATE_APPLICATION_SETTINGS})),this.store.dispatch((0,Ke.qi)({payload:{action:"updateApplicationSettings",status:x.Bn.INITIATED}})),Ui.payload.config.nodes.forEach(rn=>{delete rn.settings.currencyUnits}),this.httpClient.post(x.vv.CONF_API+"/application",Ui.payload.config).pipe((0,l.U)(rn=>(this.store.dispatch((0,Ke.qi)({payload:{action:"updateApplicationSettings",status:x.Bn.COMPLETED}})),this.store.dispatch((0,Ke.uO)({payload:x.m6.UPDATE_APPLICATION_SETTINGS})),Ui.payload.showSnackBar&&this.store.dispatch((0,Ke.jW)({payload:Ui.payload.message})),{type:x.pg.SET_APPLICATION_SETTINGS,payload:rn})),(0,d.K)(rn=>(this.handleErrorWithAlert("updateApplicationSettings",x.m6.UPDATE_APPLICATION_SETTINGS,"Update Application Settings Failed!",x.vv.CONF_API+"/application",rn),(0,A.of)({type:x.pg.VOID})))))))),this.configFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(x.pg.FETCH_CONFIG),(0,O.z)(Ui=>(this.store.dispatch((0,Ke.ac)({payload:x.m6.OPEN_CONFIG_FILE})),this.store.dispatch((0,Ke.qi)({payload:{action:"fetchConfig",status:x.Bn.INITIATED}})),this.httpClient.get(x.vv.CONF_API+"/config/"+Ui.payload).pipe((0,l.U)(rn=>(this.store.dispatch((0,Ke.qi)({payload:{action:"fetchConfig",status:x.Bn.COMPLETED}})),this.store.dispatch((0,Ke.uO)({payload:x.m6.OPEN_CONFIG_FILE})),{type:x.pg.SHOW_CONFIG,payload:rn})),(0,d.K)(rn=>(this.handleErrorWithAlert("fetchConfig",x.m6.OPEN_CONFIG_FILE,"Fetch Config Failed!",x.vv.CONF_API+"/config/"+Ui.payload,rn),(0,A.of)({type:x.pg.VOID})))))))),this.showLnConfig=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(x.pg.SHOW_CONFIG),(0,l.U)(Ui=>Ui.payload)),{dispatch:!1}),this.isAuthorized=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(x.pg.IS_AUTHORIZED),(0,O.z)(Ui=>(this.store.dispatch((0,Ke.qi)({payload:{action:"IsAuthorized",status:x.Bn.INITIATED}})),this.httpClient.post(x.vv.AUTHENTICATE_API,{authenticateWith:Ui.payload&&""!==Ui.payload.trim()?x.OJ.PASSWORD:x.OJ.JWT,authenticationValue:Ui.payload&&""!==Ui.payload.trim()?Ui.payload:this.sessionService.getItem("token")?this.sessionService.getItem("token"):""}).pipe((0,l.U)(rn=>(this.logger.info(rn),this.store.dispatch((0,Ke.qi)({payload:{action:"IsAuthorized",status:x.Bn.COMPLETED}})),this.logger.info("Successfully Authorized!"),{type:x.pg.IS_AUTHORIZED_RES,payload:rn})),(0,d.K)(rn=>(this.handleErrorWithAlert("IsAuthorized",x.m6.NO_SPINNER,"Authorization Failed",x.vv.AUTHENTICATE_API,rn),(0,A.of)({type:x.pg.IS_AUTHORIZED_RES,payload:"ERROR"})))))))),this.isAuthorizedRes=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(x.pg.IS_AUTHORIZED_RES),(0,l.U)(Ui=>Ui.payload)),{dispatch:!1}),this.authLogin=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(x.pg.LOGIN),(0,m.M)(this.store.select(vi.Yj)),(0,O.z)(([Ui,rn])=>(this.store.dispatch((0,Lt.Ll)({payload:null})),this.store.dispatch((0,Bt.mI)({payload:null})),this.store.dispatch((0,ai.Fd)({payload:null})),this.store.dispatch((0,Ke.qi)({payload:{action:"Login",status:x.Bn.INITIATED}})),this.httpClient.post(x.vv.AUTHENTICATE_API,{authenticateWith:Ui.payload.password?x.OJ.PASSWORD:x.OJ.JWT,authenticationValue:Ui.payload.password?Ui.payload.password:this.sessionService.getItem("token")?this.sessionService.getItem("token"):"",twoFAToken:Ui.payload.twoFAToken?Ui.payload.twoFAToken:""}).pipe((0,l.U)(qn=>{this.logger.info(qn),this.store.dispatch((0,Ke.qi)({payload:{action:"Login",status:x.Bn.COMPLETED}})),this.setLoggedInDetails(Ui.payload.defaultPassword,qn)}),(0,d.K)(qn=>(this.logger.info("Redirecting to Login Error Page"),this.handleErrorWithoutAlert("Login",x.m6.NO_SPINNER,qn),+rn.SSO.rtlSSO?this.router.navigate(["/error"],{state:{errorCode:"406",errorMessage:qn.error&&qn.error.error?qn.error.error:"Single Sign On Failed!"}}):this.router.navigate(["./login"]),(0,A.of)({type:x.pg.VOID}))))))),{dispatch:!1}),this.tokenVerify=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(x.pg.VERIFY_TWO_FA),(0,O.z)(Ui=>(this.store.dispatch((0,Ke.ac)({payload:x.m6.VERIFY_TOKEN})),this.store.dispatch((0,Ke.qi)({payload:{action:"VerifyToken",status:x.Bn.INITIATED}})),this.httpClient.post(x.vv.AUTHENTICATE_API+"/token",{authentication2FA:Ui.payload.token}).pipe((0,l.U)(rn=>{this.logger.info(rn),this.store.dispatch((0,Ke.uO)({payload:x.m6.VERIFY_TOKEN})),this.store.dispatch((0,Ke.qi)({payload:{action:"VerifyToken",status:x.Bn.COMPLETED}})),this.logger.info("Token Successfully Verified!"),this.setLoggedInDetails(!1,Ui.payload.authResponse)}),(0,d.K)(rn=>(this.handleErrorWithAlert("VerifyToken",x.m6.VERIFY_TOKEN,"Authorization Failed!",x.vv.AUTHENTICATE_API+"/token",rn),(0,A.of)({type:x.pg.VOID}))))))),{dispatch:!1}),this.logOut=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(x.pg.LOGOUT),(0,O.z)(Ui=>(this.store.dispatch((0,Ke.ac)({payload:x.m6.LOG_OUT})),Ui.SSO&&+Ui.SSO.rtlSSO?window.location.href=Ui.SSO.logoutRedirectLink:this.router.navigate(["./login"]),this.sessionService.clearAll(),this.store.dispatch((0,Ke._V)({payload:{}})),this.store.dispatch((0,Ke.uO)({payload:x.m6.LOG_OUT})),this.logger.info("Logged out from browser"),this.httpClient.get(x.vv.AUTHENTICATE_API+"/logout").pipe((0,l.U)(rn=>{this.logger.info(rn),this.store.dispatch((0,Ke.uO)({payload:x.m6.LOG_OUT})),this.logger.info("Logged out from server")}))))),{dispatch:!1}),this.resetPassword=(0,t.GW)(()=>this.actions.pipe((0,E.R)(this.unSubs[1]),(0,t.l4)(x.pg.RESET_PASSWORD),(0,O.z)(Ui=>(this.store.dispatch((0,Ke.qi)({payload:{action:"ResetPassword",status:x.Bn.INITIATED}})),this.httpClient.post(x.vv.AUTHENTICATE_API+"/reset",{currPassword:Ui.payload.currPassword,newPassword:Ui.payload.newPassword}).pipe((0,E.R)(this.unSubs[0]),(0,l.U)(rn=>(this.logger.info(rn),this.store.dispatch((0,Ke.qi)({payload:{action:"ResetPassword",status:x.Bn.COMPLETED}})),this.sessionService.setItem("defaultPassword",!1),this.logger.info("Password Reset Successful!"),this.store.dispatch((0,Ke.jW)({payload:"Password Reset Successful!"})),this.SetToken(rn.token),{type:x.pg.RESET_PASSWORD_RES,payload:rn.token})),(0,d.K)(rn=>(this.handleErrorWithAlert("ResetPassword",x.m6.NO_SPINNER,"Password Reset Failed!",x.vv.AUTHENTICATE_API+"/reset",rn),(0,A.of)({type:x.pg.VOID})))))))),this.setSelectedNode=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(x.pg.SET_SELECTED_NODE),(0,O.z)(Ui=>(this.store.dispatch((0,Ke.ac)({payload:Ui.payload.uiMessage})),this.store.dispatch((0,Ke.qi)({payload:{action:"UpdateSelNode",status:x.Bn.INITIATED}})),this.httpClient.get(x.vv.CONF_API+"/updateSelNode/"+Ui.payload.currentLnNode?.index+"/"+Ui.payload.prevLnNodeIndex).pipe((0,l.U)(rn=>(this.logger.info(rn),this.store.dispatch((0,Ke.qi)({payload:{action:"UpdateSelNode",status:x.Bn.COMPLETED}})),this.store.dispatch((0,Ke.uO)({payload:Ui.payload.uiMessage})),this.initializeNode(Ui.payload.currentLnNode,Ui.payload.isInitialSetup),{type:x.pg.VOID})),(0,d.K)(rn=>(this.handleErrorWithAlert("UpdateSelNode",Ui.payload.uiMessage,"Update Selected Node Failed!",x.vv.CONF_API+"/updateSelNode",rn),(0,A.of)({type:x.pg.VOID})))))))),this.fetchFile=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(x.pg.FETCH_FILE),(0,O.z)(Ui=>{this.store.dispatch((0,Ke.ac)({payload:x.m6.DOWNLOAD_BACKUP_FILE})),this.store.dispatch((0,Ke.qi)({payload:{action:"FetchFile",status:x.Bn.INITIATED}}));const rn="?channel="+Ui.payload.channelPoint+(Ui.payload.path?"&path="+Ui.payload.path:"");return this.httpClient.get(x.vv.CONF_API+"/file"+rn).pipe((0,l.U)(qn=>(this.store.dispatch((0,Ke.qi)({payload:{action:"FetchFile",status:x.Bn.COMPLETED}})),this.store.dispatch((0,Ke.uO)({payload:x.m6.DOWNLOAD_BACKUP_FILE})),{type:x.pg.SHOW_FILE,payload:qn})),(0,d.K)(qn=>(this.handleErrorWithAlert("fetchFile",x.m6.DOWNLOAD_BACKUP_FILE,"Download Backup File Failed!",x.vv.CONF_API+"/file"+rn,{status:this.commonService.extractErrorNumber(qn),error:{error:this.commonService.extractErrorCode(qn)}}),(0,A.of)({type:x.pg.VOID}))))}))),this.showFile=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(x.pg.SHOW_FILE),(0,l.U)(Ui=>Ui.payload)),{dispatch:!1})}initializeNode(Ve,Xe){this.logger.info("Initializing node from RTL Effects.");const gt=Xe?"":"HOME";if(this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("clnUnlocked"),this.sessionService.removeItem("eclUnlocked"),this.store.dispatch((0,Ke.vI)({payload:Ve})),this.store.dispatch((0,Lt.Ll)({payload:Ve})),this.store.dispatch((0,Bt.mI)({payload:Ve})),this.store.dispatch((0,ai.Fd)({payload:Ve})),this.sessionService.getItem("token")){const ri=Ve.lnImplementation?Ve.lnImplementation.toUpperCase():"LND";this.dataService.setLnImplementation(ri);const Oi=!(0,e.X6Q)()&&window.location.origin?window.location.origin+"/rtl/api":x.T5;switch(this.wsService.connectWebSocket(Oi?.replace(/^http/,"ws")+x.vv.Web_SOCKET_API,Ve.index?Ve.index.toString():"-1"),ri){case"CLN":this.store.dispatch((0,Bt.wD)()),this.store.dispatch((0,Bt.W)({payload:{loadPage:gt}}));break;case"ECL":this.store.dispatch((0,ai.wD)()),this.store.dispatch((0,ai.iz)({payload:{loadPage:gt}}));break;default:this.store.dispatch((0,Lt.wD)()),this.store.dispatch((0,Lt.sQ)({payload:{loadPage:gt}}))}}}SetToken(Ve){Ve?(this.sessionService.setItem("lndUnlocked","true"),this.sessionService.setItem("token",Ve)):(this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("token"))}setLoggedInDetails(Ve,Xe){this.logger.info("Successfully Authorized!"),this.SetToken(Xe.token),this.sessionService.setItem("defaultPassword",Ve),Ve?(this.store.dispatch((0,Ke.jW)({payload:"Reset your password."})),this.router.navigate(["/settings/auth"])):this.store.dispatch((0,Ke.ey)())}handleErrorWithoutAlert(Ve,Xe,gt){this.logger.error("ERROR IN: "+Ve+"\n"+JSON.stringify(gt)),401===gt.status&&"Login"!==Ve?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,Ke.ts)()),this.store.dispatch((0,Ke.kS)()),this.store.dispatch((0,Ke.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,Ke.uO)({payload:Xe})),this.store.dispatch((0,Ke.qi)({payload:{action:Ve,status:x.Bn.ERROR,statusCode:gt.status?gt.status.toString():"",message:this.commonService.extractErrorMessage(gt)}})))}handleErrorWithAlert(Ve,Xe,gt,ri,Oi){if(this.logger.error(Oi),0===Oi.status&&Oi.statusText&&"Unknown Error"===Oi.statusText&&(Oi={status:400,error:{message:"Unknown Error / CORS Origin Not Allowed"}}),401===Oi.status&&"Login"!==Ve)this.logger.info("Redirecting to Login"),this.store.dispatch((0,Ke.ts)()),this.store.dispatch((0,Ke.kS)()),this.store.dispatch((0,Ke.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,Ke.uO)({payload:Xe}));const Bn=this.commonService.extractErrorMessage(Oi);this.store.dispatch((0,Ke.qR)({payload:{data:{type:"ERROR",alertTitle:gt,message:{code:Oi.status?Oi.status:"Unknown Error",message:Bn,URL:ri},component:sn.H}}})),this.store.dispatch((0,Ke.qi)({payload:{action:Ve,status:x.Bn.ERROR,statusCode:Oi.status?Oi.status.toString():"",message:Bn,URL:ri}}))}}ngOnDestroy(){this.unSubs.forEach(Ve=>{Ve.next(null),Ve.complete()})}static#e=this.\u0275fac=function(Xe){return new(Xe||It)(e.LFG(t.eX),e.LFG(bi.eN),e.LFG(Be.yh),e.LFG(j.mQ),e.LFG(ki.d),e.LFG(Bi.m),e.LFG(K.v),e.LFG(Vi.D),e.LFG(I.uw),e.LFG(W.ux),e.LFG(q.F0))};static#t=this.\u0275prov=e.Yz7({token:It,factory:It.\u0275fac})}return It})()},4818:(He,X,p)=>{"use strict";p.d(X,{R4:()=>M,Sr:()=>O,Yj:()=>l,dT:()=>A,gW:()=>d,ul:()=>m});var e=p(4221);const t=(0,e.ZF)("root"),A=((0,e.P1)(t,E=>E.apiURL),(0,e.P1)(t,E=>E.selNode)),l=(0,e.P1)(t,E=>E.appConfig),M=(0,e.P1)(t,E=>E.nodeData),m=(0,e.P1)(t,E=>E.apisCallStatus.Login),O=(0,e.P1)(t,E=>E.apisCallStatus.IsAuthorized),d=(0,e.P1)(t,E=>({nodeDate:E.nodeData,selNode:E.selNode}))},7359:(He,X,p)=>{"use strict";var e=p(6593),t=p(9212),y=p(6825);function l(R){return new t.vHH(3e3,!1)}function st(R){switch(R.length){case 0:return new y.ZN;case 1:return R[0];default:return new y.ZE(R)}}function je(R,z,b=new Map,U=new Map){const Z=[],Ne=[];let Ot=-1,$t=null;if(z.forEach(hi=>{const Ci=hi.get("offset"),ln=Ci==Ot,$i=ln&&$t||new Map;hi.forEach((Hn,Pn)=>{let mn=Pn,En=Hn;if("offset"!==Pn)switch(mn=R.normalizePropertyName(mn,Z),En){case y.k1:En=b.get(Pn);break;case y.l3:En=U.get(Pn);break;default:En=R.normalizeStyleValue(Pn,mn,En,Z)}$i.set(mn,En)}),ln||Ne.push($i),$t=$i,Ot=Ci}),Z.length)throw function s(R){return new t.vHH(3502,!1)}();return Ne}function $e(R,z,b,U){switch(z){case"start":R.onStart(()=>U(b&&ye(b,"start",R)));break;case"done":R.onDone(()=>U(b&&ye(b,"done",R)));break;case"destroy":R.onDestroy(()=>U(b&&ye(b,"destroy",R)))}}function ye(R,z,b){const Ne=fe(R.element,R.triggerName,R.fromState,R.toState,z||R.phaseName,b.totalTime??R.totalTime,!!b.disabled),Ot=R._data;return null!=Ot&&(Ne._data=Ot),Ne}function fe(R,z,b,U,Z="",Ne=0,Ot){return{element:R,triggerName:z,fromState:b,toState:U,phaseName:Z,totalTime:Ne,disabled:!!Ot}}function de(R,z,b){let U=R.get(z);return U||R.set(z,U=b),U}function Ce(R){const z=R.indexOf(":");return[R.substring(1,z),R.slice(z+1)]}const le=(()=>typeof document>"u"?null:document.documentElement)();function ge(R){const z=R.parentNode||R.host||null;return z===le?null:z}let oe=null,ve=!1;function wt(R,z){for(;z;){if(z===R)return!0;z=ge(z)}return!1}function mt(R,z,b){if(b)return Array.from(R.querySelectorAll(z));const U=R.querySelector(z);return U?[U]:[]}let Ae=(()=>{class R{validateStyleProperty(b){return function ce(R){oe||(oe=function Ze(){return typeof document<"u"?document.body:null}()||{},ve=!!oe.style&&"WebkitAppearance"in oe.style);let z=!0;return oe.style&&!function qe(R){return"ebkit"==R.substring(1,6)}(R)&&(z=R in oe.style,!z&&ve&&(z="Webkit"+R.charAt(0).toUpperCase()+R.slice(1)in oe.style)),z}(b)}matchesElement(b,U){return!1}containsElement(b,U){return wt(b,U)}getParentElement(b){return ge(b)}query(b,U,Z){return mt(b,U,Z)}computeStyle(b,U,Z){return Z||""}animate(b,U,Z,Ne,Ot,$t=[],hi){return new y.ZN(Z,Ne)}static#e=this.\u0275fac=function(U){return new(U||R)};static#t=this.\u0275prov=t.Yz7({token:R,factory:R.\u0275fac})}return R})(),ze=(()=>{class R{static#e=this.NOOP=new Ae}return R})();class nt{}const ke=1e3,Et="ng-enter",lt="ng-leave",Ke="ng-trigger",Be=".ng-trigger",Xt="ng-animating",J=".ng-animating";function We(R){if("number"==typeof R)return R;const z=R.match(/^(-?[\.\d]+)(m?s)/);return!z||z.length<2?0:Ft(parseFloat(z[1]),z[2])}function Ft(R,z){return"s"===z?R*ke:R}function Ct(R,z,b){return R.hasOwnProperty("duration")?R:function Pt(R,z,b){let Z,Ne=0,Ot="";if("string"==typeof R){const $t=R.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===$t)return z.push(l()),{duration:0,delay:0,easing:""};Z=Ft(parseFloat($t[1]),$t[2]);const hi=$t[3];null!=hi&&(Ne=Ft(parseFloat(hi),$t[4]));const Ci=$t[5];Ci&&(Ot=Ci)}else Z=R;if(!b){let $t=!1,hi=z.length;Z<0&&(z.push(function M(){return new t.vHH(3100,!1)}()),$t=!0),Ne<0&&(z.push(function m(){return new t.vHH(3101,!1)}()),$t=!0),$t&&z.splice(hi,0,l())}return{duration:Z,delay:Ne,easing:Ot}}(R,z,b)}function xt(R,z={}){return Object.keys(R).forEach(b=>{z[b]=R[b]}),z}function rt(R){const z=new Map;return Object.keys(R).forEach(b=>{z.set(b,R[b])}),z}function Ue(R,z=new Map,b){if(b)for(let[U,Z]of b)z.set(U,Z);for(let[U,Z]of R)z.set(U,Z);return z}function Je(R,z,b){z.forEach((U,Z)=>{const Ne=Zt(Z);b&&!b.has(Z)&&b.set(Z,R.style[Ne]),R.style[Ne]=U})}function _t(R,z){z.forEach((b,U)=>{const Z=Zt(U);R.style[Z]=""})}function Le(R){return Array.isArray(R)?1==R.length?R[0]:(0,y.vP)(R):R}const ee=new RegExp("{{\\s*(.+?)\\s*}}","g");function ne(R){let z=[];if("string"==typeof R){let b;for(;b=ee.exec(R);)z.push(b[1]);ee.lastIndex=0}return z}function Ie(R,z,b){const U=R.toString(),Z=U.replace(ee,(Ne,Ot)=>{let $t=z[Ot];return null==$t&&(b.push(function d(R){return new t.vHH(3003,!1)}()),$t=""),$t.toString()});return Z==U?R:Z}function Ht(R){const z=[];let b=R.next();for(;!b.done;)z.push(b.value),b=R.next();return z}const At=/-+([a-z0-9])/g;function Zt(R){return R.replace(At,(...z)=>z[1].toUpperCase())}function Hi(R,z,b){switch(z.type){case 7:return R.visitTrigger(z,b);case 0:return R.visitState(z,b);case 1:return R.visitTransition(z,b);case 2:return R.visitSequence(z,b);case 3:return R.visitGroup(z,b);case 4:return R.visitAnimate(z,b);case 5:return R.visitKeyframes(z,b);case 6:return R.visitStyle(z,b);case 8:return R.visitReference(z,b);case 9:return R.visitAnimateChild(z,b);case 10:return R.visitAnimateRef(z,b);case 11:return R.visitQuery(z,b);case 12:return R.visitStagger(z,b);default:throw function E(R){return new t.vHH(3004,!1)}()}}function di(R,z){return window.getComputedStyle(R)[z]}const fi=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 un extends nt{normalizePropertyName(z,b){return Zt(z)}normalizeStyleValue(z,b,U,Z){let Ne="";const Ot=U.toString().trim();if(fi.has(b)&&0!==U&&"0"!==U)if("number"==typeof U)Ne="px";else{const $t=U.match(/^[+-]?[\d\.]+([a-z]*)$/);$t&&0==$t[1].length&&Z.push(function x(R,z){return new t.vHH(3005,!1)}())}return Ot+Ne}}const St="*";function zt(R,z){const b=[];return"string"==typeof R?R.split(/\s*,\s*/).forEach(U=>function Dt(R,z,b){if(":"==R[0]){const hi=function Lt(R,z){switch(R){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(b,U)=>parseFloat(U)>parseFloat(b);case":decrement":return(b,U)=>parseFloat(U)<parseFloat(b);default:return z.push(function $(R){return new t.vHH(3016,!1)}()),"* => *"}}(R,b);if("function"==typeof hi)return void z.push(hi);R=hi}const U=R.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==U||U.length<4)return b.push(function xe(R){return new t.vHH(3015,!1)}()),z;const Z=U[1],Ne=U[2],Ot=U[3];z.push(vi(Z,Ot));"<"==Ne[0]&&!(Z==St&&Ot==St)&&z.push(vi(Ot,Z))}(U,b,z)):b.push(R),b}const Bt=new Set(["true","1"]),ai=new Set(["false","0"]);function vi(R,z){const b=Bt.has(R)||ai.has(R),U=Bt.has(z)||ai.has(z);return(Z,Ne)=>{let Ot=R==St||R==Z,$t=z==St||z==Ne;return!Ot&&b&&"boolean"==typeof Z&&(Ot=Z?Bt.has(R):ai.has(R)),!$t&&U&&"boolean"==typeof Ne&&($t=Ne?Bt.has(z):ai.has(z)),Ot&&$t}}const ki=new RegExp("s*:selfs*,?","g");function Bi(R,z,b,U){return new jt(R).build(z,b,U)}class jt{constructor(z){this._driver=z}build(z,b,U){const Z=new Ve(b);return this._resetContextStyleTimingState(Z),Hi(this,Le(z),Z)}_resetContextStyleTimingState(z){z.currentQuerySelector="",z.collectedStyles=new Map,z.collectedStyles.set("",new Map),z.currentTime=0}visitTrigger(z,b){let U=b.queryCount=0,Z=b.depCount=0;const Ne=[],Ot=[];return"@"==z.name.charAt(0)&&b.errors.push(function I(){return new t.vHH(3006,!1)}()),z.definitions.forEach($t=>{if(this._resetContextStyleTimingState(b),0==$t.type){const hi=$t,Ci=hi.name;Ci.toString().split(/\s*,\s*/).forEach(ln=>{hi.name=ln,Ne.push(this.visitState(hi,b))}),hi.name=Ci}else if(1==$t.type){const hi=this.visitTransition($t,b);U+=hi.queryCount,Z+=hi.depCount,Ot.push(hi)}else b.errors.push(function k(){return new t.vHH(3007,!1)}())}),{type:7,name:z.name,states:Ne,transitions:Ot,queryCount:U,depCount:Z,options:null}}visitState(z,b){const U=this.visitStyle(z.styles,b),Z=z.options&&z.options.params||null;if(U.containsDynamicStyles){const Ne=new Set,Ot=Z||{};U.styles.forEach($t=>{$t instanceof Map&&$t.forEach(hi=>{ne(hi).forEach(Ci=>{Ot.hasOwnProperty(Ci)||Ne.add(Ci)})})}),Ne.size&&(Ht(Ne.values()),b.errors.push(function V(R,z){return new t.vHH(3008,!1)}()))}return{type:0,name:z.name,style:U,options:Z?{params:Z}:null}}visitTransition(z,b){b.queryCount=0,b.depCount=0;const U=Hi(this,Le(z.animation),b);return{type:1,matchers:zt(z.expr,b.errors),animation:U,queryCount:b.queryCount,depCount:b.depCount,options:ri(z.options)}}visitSequence(z,b){return{type:2,steps:z.steps.map(U=>Hi(this,U,b)),options:ri(z.options)}}visitGroup(z,b){const U=b.currentTime;let Z=0;const Ne=z.steps.map(Ot=>{b.currentTime=U;const $t=Hi(this,Ot,b);return Z=Math.max(Z,b.currentTime),$t});return b.currentTime=Z,{type:3,steps:Ne,options:ri(z.options)}}visitAnimate(z,b){const U=function gt(R,z){if(R.hasOwnProperty("duration"))return R;if("number"==typeof R)return Oi(Ct(R,z).duration,0,"");const b=R;if(b.split(/\s+/).some(Ne=>"{"==Ne.charAt(0)&&"{"==Ne.charAt(1))){const Ne=Oi(0,0,"");return Ne.dynamic=!0,Ne.strValue=b,Ne}const Z=Ct(b,z);return Oi(Z.duration,Z.delay,Z.easing)}(z.timings,b.errors);b.currentAnimateTimings=U;let Z,Ne=z.styles?z.styles:(0,y.oB)({});if(5==Ne.type)Z=this.visitKeyframes(Ne,b);else{let Ot=z.styles,$t=!1;if(!Ot){$t=!0;const Ci={};U.easing&&(Ci.easing=U.easing),Ot=(0,y.oB)(Ci)}b.currentTime+=U.duration+U.delay;const hi=this.visitStyle(Ot,b);hi.isEmptyStep=$t,Z=hi}return b.currentAnimateTimings=null,{type:4,timings:U,style:Z,options:null}}visitStyle(z,b){const U=this._makeStyleAst(z,b);return this._validateStyleAst(U,b),U}_makeStyleAst(z,b){const U=[],Z=Array.isArray(z.styles)?z.styles:[z.styles];for(let $t of Z)"string"==typeof $t?$t===y.l3?U.push($t):b.errors.push(new t.vHH(3002,!1)):U.push(rt($t));let Ne=!1,Ot=null;return U.forEach($t=>{if($t instanceof Map&&($t.has("easing")&&(Ot=$t.get("easing"),$t.delete("easing")),!Ne))for(let hi of $t.values())if(hi.toString().indexOf("{{")>=0){Ne=!0;break}}),{type:6,styles:U,easing:Ot,offset:z.offset,containsDynamicStyles:Ne,options:null}}_validateStyleAst(z,b){const U=b.currentAnimateTimings;let Z=b.currentTime,Ne=b.currentTime;U&&Ne>0&&(Ne-=U.duration+U.delay),z.styles.forEach(Ot=>{"string"!=typeof Ot&&Ot.forEach(($t,hi)=>{const Ci=b.collectedStyles.get(b.currentQuerySelector),ln=Ci.get(hi);let $i=!0;ln&&(Ne!=Z&&Ne>=ln.startTime&&Z<=ln.endTime&&(b.errors.push(function W(R,z,b,U,Z){return new t.vHH(3010,!1)}()),$i=!1),Ne=ln.startTime),$i&&Ci.set(hi,{startTime:Ne,endTime:Z}),b.options&&function be(R,z,b){const U=z.params||{},Z=ne(R);Z.length&&Z.forEach(Ne=>{U.hasOwnProperty(Ne)||b.push(function O(R){return new t.vHH(3001,!1)}())})}($t,b.options,b.errors)})})}visitKeyframes(z,b){const U={type:5,styles:[],options:null};if(!b.currentAnimateTimings)return b.errors.push(function K(){return new t.vHH(3011,!1)}()),U;let Ne=0;const Ot=[];let $t=!1,hi=!1,Ci=0;const ln=z.steps.map(ba=>{const eo=this._makeStyleAst(ba,b);let Lo=null!=eo.offset?eo.offset:function Xe(R){if("string"==typeof R)return null;let z=null;if(Array.isArray(R))R.forEach(b=>{if(b instanceof Map&&b.has("offset")){const U=b;z=parseFloat(U.get("offset")),U.delete("offset")}});else if(R instanceof Map&&R.has("offset")){const b=R;z=parseFloat(b.get("offset")),b.delete("offset")}return z}(eo.styles),Ka=0;return null!=Lo&&(Ne++,Ka=eo.offset=Lo),hi=hi||Ka<0||Ka>1,$t=$t||Ka<Ci,Ci=Ka,Ot.push(Ka),eo});hi&&b.errors.push(function q(){return new t.vHH(3012,!1)}()),$t&&b.errors.push(function ie(){return new t.vHH(3200,!1)}());const $i=z.steps.length;let Hn=0;Ne>0&&Ne<$i?b.errors.push(function ae(){return new t.vHH(3202,!1)}()):0==Ne&&(Hn=1/($i-1));const Pn=$i-1,mn=b.currentTime,En=b.currentAnimateTimings,br=En.duration;return ln.forEach((ba,eo)=>{const Lo=Hn>0?eo==Pn?1:Hn*eo:Ot[eo],Ka=Lo*br;b.currentTime=mn+En.delay+Ka,En.duration=Ka,this._validateStyleAst(ba,b),ba.offset=Lo,U.styles.push(ba)}),U}visitReference(z,b){return{type:8,animation:Hi(this,Le(z.animation),b),options:ri(z.options)}}visitAnimateChild(z,b){return b.depCount++,{type:9,options:ri(z.options)}}visitAnimateRef(z,b){return{type:10,animation:this.visitReference(z.animation,b),options:ri(z.options)}}visitQuery(z,b){const U=b.currentQuerySelector,Z=z.options||{};b.queryCount++,b.currentQuery=z;const[Ne,Ot]=function It(R){const z=!!R.split(/\s*,\s*/).find(b=>":self"==b);return z&&(R=R.replace(ki,"")),R=R.replace(/@\*/g,Be).replace(/@\w+/g,b=>Be+"-"+b.slice(1)).replace(/:animating/g,J),[R,z]}(z.selector);b.currentQuerySelector=U.length?U+" "+Ne:Ne,de(b.collectedStyles,b.currentQuerySelector,new Map);const $t=Hi(this,Le(z.animation),b);return b.currentQuery=null,b.currentQuerySelector=U,{type:11,selector:Ne,limit:Z.limit||0,optional:!!Z.optional,includeSelf:Ot,animation:$t,originalSelector:z.selector,options:ri(z.options)}}visitStagger(z,b){b.currentQuery||b.errors.push(function ue(){return new t.vHH(3013,!1)}());const U="full"===z.timings?{duration:0,delay:0,easing:"full"}:Ct(z.timings,b.errors,!0);return{type:12,animation:Hi(this,Le(z.animation),b),timings:U,options:null}}}class Ve{constructor(z){this.errors=z,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 ri(R){return R?(R=xt(R)).params&&(R.params=function pe(R){return R?xt(R):null}(R.params)):R={},R}function Oi(R,z,b){return{duration:R,delay:z,easing:b}}function Bn(R,z,b,U,Z,Ne,Ot=null,$t=!1){return{type:1,element:R,keyframes:z,preStyleProps:b,postStyleProps:U,duration:Z,delay:Ne,totalTime:Z+Ne,easing:Ot,subTimeline:$t}}class cr{constructor(){this._map=new Map}get(z){return this._map.get(z)||[]}append(z,b){let U=this._map.get(z);U||this._map.set(z,U=[]),U.push(...b)}has(z){return this._map.has(z)}clear(){this._map.clear()}}const ta=new RegExp(":enter","g"),Ui=new RegExp(":leave","g");function rn(R,z,b,U,Z,Ne=new Map,Ot=new Map,$t,hi,Ci=[]){return(new qn).buildKeyframes(R,z,b,U,Z,Ne,Ot,$t,hi,Ci)}class qn{buildKeyframes(z,b,U,Z,Ne,Ot,$t,hi,Ci,ln=[]){Ci=Ci||new cr;const $i=new Mi(z,b,Ci,Z,Ne,ln,[]);$i.options=hi;const Hn=hi.delay?We(hi.delay):0;$i.currentTimeline.delayNextStep(Hn),$i.currentTimeline.setStyles([Ot],null,$i.errors,hi),Hi(this,U,$i);const Pn=$i.timelines.filter(mn=>mn.containsAnimation());if(Pn.length&&$t.size){let mn;for(let En=Pn.length-1;En>=0;En--){const br=Pn[En];if(br.element===b){mn=br;break}}mn&&!mn.allowOnlyTimelineStyles()&&mn.setStyles([$t],null,$i.errors,hi)}return Pn.length?Pn.map(mn=>mn.buildKeyframes()):[Bn(b,[],[],[],0,Hn,"",!1)]}visitTrigger(z,b){}visitState(z,b){}visitTransition(z,b){}visitAnimateChild(z,b){const U=b.subInstructions.get(b.element);if(U){const Z=b.createSubContext(z.options),Ne=b.currentTimeline.currentTime,Ot=this._visitSubInstructions(U,Z,Z.options);Ne!=Ot&&b.transformIntoNewTimeline(Ot)}b.previousNode=z}visitAnimateRef(z,b){const U=b.createSubContext(z.options);U.transformIntoNewTimeline(),this._applyAnimationRefDelays([z.options,z.animation.options],b,U),this.visitReference(z.animation,U),b.transformIntoNewTimeline(U.currentTimeline.currentTime),b.previousNode=z}_applyAnimationRefDelays(z,b,U){for(const Z of z){const Ne=Z?.delay;if(Ne){const Ot="number"==typeof Ne?Ne:We(Ie(Ne,Z?.params??{},b.errors));U.delayNextStep(Ot)}}}_visitSubInstructions(z,b,U){let Ne=b.currentTimeline.currentTime;const Ot=null!=U.duration?We(U.duration):null,$t=null!=U.delay?We(U.delay):null;return 0!==Ot&&z.forEach(hi=>{const Ci=b.appendInstructionToTimeline(hi,Ot,$t);Ne=Math.max(Ne,Ci.duration+Ci.delay)}),Ne}visitReference(z,b){b.updateOptions(z.options,!0),Hi(this,z.animation,b),b.previousNode=z}visitSequence(z,b){const U=b.subContextCount;let Z=b;const Ne=z.options;if(Ne&&(Ne.params||Ne.delay)&&(Z=b.createSubContext(Ne),Z.transformIntoNewTimeline(),null!=Ne.delay)){6==Z.previousNode.type&&(Z.currentTimeline.snapshotCurrentStyles(),Z.previousNode=ei);const Ot=We(Ne.delay);Z.delayNextStep(Ot)}z.steps.length&&(z.steps.forEach(Ot=>Hi(this,Ot,Z)),Z.currentTimeline.applyStylesToKeyframe(),Z.subContextCount>U&&Z.transformIntoNewTimeline()),b.previousNode=z}visitGroup(z,b){const U=[];let Z=b.currentTimeline.currentTime;const Ne=z.options&&z.options.delay?We(z.options.delay):0;z.steps.forEach(Ot=>{const $t=b.createSubContext(z.options);Ne&&$t.delayNextStep(Ne),Hi(this,Ot,$t),Z=Math.max(Z,$t.currentTimeline.currentTime),U.push($t.currentTimeline)}),U.forEach(Ot=>b.currentTimeline.mergeTimelineCollectedStyles(Ot)),b.transformIntoNewTimeline(Z),b.previousNode=z}_visitTiming(z,b){if(z.dynamic){const U=z.strValue;return Ct(b.params?Ie(U,b.params,b.errors):U,b.errors)}return{duration:z.duration,delay:z.delay,easing:z.easing}}visitAnimate(z,b){const U=b.currentAnimateTimings=this._visitTiming(z.timings,b),Z=b.currentTimeline;U.delay&&(b.incrementTime(U.delay),Z.snapshotCurrentStyles());const Ne=z.style;5==Ne.type?this.visitKeyframes(Ne,b):(b.incrementTime(U.duration),this.visitStyle(Ne,b),Z.applyStylesToKeyframe()),b.currentAnimateTimings=null,b.previousNode=z}visitStyle(z,b){const U=b.currentTimeline,Z=b.currentAnimateTimings;!Z&&U.hasCurrentStyleProperties()&&U.forwardFrame();const Ne=Z&&Z.easing||z.easing;z.isEmptyStep?U.applyEmptyStep(Ne):U.setStyles(z.styles,Ne,b.errors,b.options),b.previousNode=z}visitKeyframes(z,b){const U=b.currentAnimateTimings,Z=b.currentTimeline.duration,Ne=U.duration,$t=b.createSubContext().currentTimeline;$t.easing=U.easing,z.styles.forEach(hi=>{$t.forwardTime((hi.offset||0)*Ne),$t.setStyles(hi.styles,hi.easing,b.errors,b.options),$t.applyStylesToKeyframe()}),b.currentTimeline.mergeTimelineCollectedStyles($t),b.transformIntoNewTimeline(Z+Ne),b.previousNode=z}visitQuery(z,b){const U=b.currentTimeline.currentTime,Z=z.options||{},Ne=Z.delay?We(Z.delay):0;Ne&&(6===b.previousNode.type||0==U&&b.currentTimeline.hasCurrentStyleProperties())&&(b.currentTimeline.snapshotCurrentStyles(),b.previousNode=ei);let Ot=U;const $t=b.invokeQuery(z.selector,z.originalSelector,z.limit,z.includeSelf,!!Z.optional,b.errors);b.currentQueryTotal=$t.length;let hi=null;$t.forEach((Ci,ln)=>{b.currentQueryIndex=ln;const $i=b.createSubContext(z.options,Ci);Ne&&$i.delayNextStep(Ne),Ci===b.element&&(hi=$i.currentTimeline),Hi(this,z.animation,$i),$i.currentTimeline.applyStylesToKeyframe(),Ot=Math.max(Ot,$i.currentTimeline.currentTime)}),b.currentQueryIndex=0,b.currentQueryTotal=0,b.transformIntoNewTimeline(Ot),hi&&(b.currentTimeline.mergeTimelineCollectedStyles(hi),b.currentTimeline.snapshotCurrentStyles()),b.previousNode=z}visitStagger(z,b){const U=b.parentContext,Z=b.currentTimeline,Ne=z.timings,Ot=Math.abs(Ne.duration),$t=Ot*(b.currentQueryTotal-1);let hi=Ot*b.currentQueryIndex;switch(Ne.duration<0?"reverse":Ne.easing){case"reverse":hi=$t-hi;break;case"full":hi=U.currentStaggerTime}const ln=b.currentTimeline;hi&&ln.delayNextStep(hi);const $i=ln.currentTime;Hi(this,z.animation,b),b.previousNode=z,U.currentStaggerTime=Z.currentTime-$i+(Z.startTime-U.currentTimeline.startTime)}}const ei={};class Mi{constructor(z,b,U,Z,Ne,Ot,$t,hi){this._driver=z,this.element=b,this.subInstructions=U,this._enterClassName=Z,this._leaveClassName=Ne,this.errors=Ot,this.timelines=$t,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ei,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=hi||new gi(this._driver,b,0),$t.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(z,b){if(!z)return;const U=z;let Z=this.options;null!=U.duration&&(Z.duration=We(U.duration)),null!=U.delay&&(Z.delay=We(U.delay));const Ne=U.params;if(Ne){let Ot=Z.params;Ot||(Ot=this.options.params={}),Object.keys(Ne).forEach($t=>{(!b||!Ot.hasOwnProperty($t))&&(Ot[$t]=Ie(Ne[$t],Ot,this.errors))})}}_copyOptions(){const z={};if(this.options){const b=this.options.params;if(b){const U=z.params={};Object.keys(b).forEach(Z=>{U[Z]=b[Z]})}}return z}createSubContext(z=null,b,U){const Z=b||this.element,Ne=new Mi(this._driver,Z,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(Z,U||0));return Ne.previousNode=this.previousNode,Ne.currentAnimateTimings=this.currentAnimateTimings,Ne.options=this._copyOptions(),Ne.updateOptions(z),Ne.currentQueryIndex=this.currentQueryIndex,Ne.currentQueryTotal=this.currentQueryTotal,Ne.parentContext=this,this.subContextCount++,Ne}transformIntoNewTimeline(z){return this.previousNode=ei,this.currentTimeline=this.currentTimeline.fork(this.element,z),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(z,b,U){const Z={duration:b??z.duration,delay:this.currentTimeline.currentTime+(U??0)+z.delay,easing:""},Ne=new yi(this._driver,z.element,z.keyframes,z.preStyleProps,z.postStyleProps,Z,z.stretchStartingKeyframe);return this.timelines.push(Ne),Z}incrementTime(z){this.currentTimeline.forwardTime(this.currentTimeline.duration+z)}delayNextStep(z){z>0&&this.currentTimeline.delayNextStep(z)}invokeQuery(z,b,U,Z,Ne,Ot){let $t=[];if(Z&&$t.push(this.element),z.length>0){z=(z=z.replace(ta,"."+this._enterClassName)).replace(Ui,"."+this._leaveClassName);let Ci=this._driver.query(this.element,z,1!=U);0!==U&&(Ci=U<0?Ci.slice(Ci.length+U,Ci.length):Ci.slice(0,U)),$t.push(...Ci)}return!Ne&&0==$t.length&&Ot.push(function re(R){return new t.vHH(3014,!1)}()),$t}}class gi{constructor(z,b,U,Z){this._driver=z,this.element=b,this.startTime=U,this._elementTimelineStylesLookup=Z,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(b),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(b,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(z){const b=1===this._keyframes.size&&this._pendingStyles.size;this.duration||b?(this.forwardTime(this.currentTime+z),b&&this.snapshotCurrentStyles()):this.startTime+=z}fork(z,b){return this.applyStylesToKeyframe(),new gi(this._driver,z,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(z){this.applyStylesToKeyframe(),this.duration=z,this._loadKeyframe()}_updateStyle(z,b){this._localTimelineStyles.set(z,b),this._globalTimelineStyles.set(z,b),this._styleSummary.set(z,{time:this.currentTime,value:b})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(z){z&&this._previousKeyframe.set("easing",z);for(let[b,U]of this._globalTimelineStyles)this._backFill.set(b,U||y.l3),this._currentKeyframe.set(b,y.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(z,b,U,Z){b&&this._previousKeyframe.set("easing",b);const Ne=Z&&Z.params||{},Ot=function Ji(R,z){const b=new Map;let U;return R.forEach(Z=>{if("*"===Z){U=U||z.keys();for(let Ne of U)b.set(Ne,y.l3)}else Ue(Z,b)}),b}(z,this._globalTimelineStyles);for(let[$t,hi]of Ot){const Ci=Ie(hi,Ne,U);this._pendingStyles.set($t,Ci),this._localTimelineStyles.has($t)||this._backFill.set($t,this._globalTimelineStyles.get($t)??y.l3),this._updateStyle($t,Ci)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((z,b)=>{this._currentKeyframe.set(b,z)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((z,b)=>{this._currentKeyframe.has(b)||this._currentKeyframe.set(b,z)}))}snapshotCurrentStyles(){for(let[z,b]of this._localTimelineStyles)this._pendingStyles.set(z,b),this._updateStyle(z,b)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const z=[];for(let b in this._currentKeyframe)z.push(b);return z}mergeTimelineCollectedStyles(z){z._styleSummary.forEach((b,U)=>{const Z=this._styleSummary.get(U);(!Z||b.time>Z.time)&&this._updateStyle(U,b.value)})}buildKeyframes(){this.applyStylesToKeyframe();const z=new Set,b=new Set,U=1===this._keyframes.size&&0===this.duration;let Z=[];this._keyframes.forEach(($t,hi)=>{const Ci=Ue($t,new Map,this._backFill);Ci.forEach((ln,$i)=>{ln===y.k1?z.add($i):ln===y.l3&&b.add($i)}),U||Ci.set("offset",hi/this.duration),Z.push(Ci)});const Ne=z.size?Ht(z.values()):[],Ot=b.size?Ht(b.values()):[];if(U){const $t=Z[0],hi=new Map($t);$t.set("offset",0),hi.set("offset",1),Z=[$t,hi]}return Bn(this.element,Z,Ne,Ot,this.duration,this.startTime,this.easing,!1)}}class yi extends gi{constructor(z,b,U,Z,Ne,Ot,$t=!1){super(z,b,Ot.delay),this.keyframes=U,this.preStyleProps=Z,this.postStyleProps=Ne,this._stretchStartingKeyframe=$t,this.timings={duration:Ot.duration,delay:Ot.delay,easing:Ot.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let z=this.keyframes,{delay:b,duration:U,easing:Z}=this.timings;if(this._stretchStartingKeyframe&&b){const Ne=[],Ot=U+b,$t=b/Ot,hi=Ue(z[0]);hi.set("offset",0),Ne.push(hi);const Ci=Ue(z[0]);Ci.set("offset",Gi($t)),Ne.push(Ci);const ln=z.length-1;for(let $i=1;$i<=ln;$i++){let Hn=Ue(z[$i]);const Pn=Hn.get("offset");Hn.set("offset",Gi((b+Pn*U)/Ot)),Ne.push(Hn)}U=Ot,b=0,Z="",z=Ne}return Bn(this.element,z,this.preStyleProps,this.postStyleProps,U,b,Z,!0)}}function Gi(R,z=3){const b=Math.pow(10,z-1);return Math.round(R*b)/b}function xn(R,z,b,U,Z,Ne,Ot,$t,hi,Ci,ln,$i,Hn){return{type:0,element:R,triggerName:z,isRemovalTransition:Z,fromState:b,fromStyles:Ne,toState:U,toStyles:Ot,timelines:$t,queriedElements:hi,preStyleProps:Ci,postStyleProps:ln,totalTime:$i,errors:Hn}}const jn={};class Rn{constructor(z,b,U){this._triggerName=z,this.ast=b,this._stateStyles=U}match(z,b,U,Z){return function er(R,z,b,U,Z){return R.some(Ne=>Ne(z,b,U,Z))}(this.ast.matchers,z,b,U,Z)}buildStyles(z,b,U){let Z=this._stateStyles.get("*");return void 0!==z&&(Z=this._stateStyles.get(z?.toString())||Z),Z?Z.buildStyles(b,U):new Map}build(z,b,U,Z,Ne,Ot,$t,hi,Ci,ln){const $i=[],Hn=this.ast.options&&this.ast.options.params||jn,mn=this.buildStyles(U,$t&&$t.params||jn,$i),En=hi&&hi.params||jn,br=this.buildStyles(Z,En,$i),ba=new Set,eo=new Map,Lo=new Map,Ka="void"===Z,hl={params:Cr(En,Hn),delay:this.ast.options?.delay},xs=ln?[]:rn(z,b,this.ast.animation,Ne,Ot,mn,br,hl,Ci,$i);let uo=0;if(xs.forEach(ec=>{uo=Math.max(ec.duration+ec.delay,uo)}),$i.length)return xn(b,this._triggerName,U,Z,Ka,mn,br,[],[],eo,Lo,uo,$i);xs.forEach(ec=>{const tc=ec.element,ul=de(eo,tc,new Set);ec.preStyleProps.forEach(Cs=>ul.add(Cs));const es=de(Lo,tc,new Set);ec.postStyleProps.forEach(Cs=>es.add(Cs)),tc!==b&&ba.add(tc)});const $s=Ht(ba.values());return xn(b,this._triggerName,U,Z,Ka,mn,br,xs,$s,eo,Lo,uo)}}function Cr(R,z){const b=xt(z);for(const U in R)R.hasOwnProperty(U)&&null!=R[U]&&(b[U]=R[U]);return b}class oa{constructor(z,b,U){this.styles=z,this.defaultParams=b,this.normalizer=U}buildStyles(z,b){const U=new Map,Z=xt(this.defaultParams);return Object.keys(z).forEach(Ne=>{const Ot=z[Ne];null!==Ot&&(Z[Ne]=Ot)}),this.styles.styles.forEach(Ne=>{"string"!=typeof Ne&&Ne.forEach((Ot,$t)=>{Ot&&(Ot=Ie(Ot,Z,b));const hi=this.normalizer.normalizePropertyName($t,b);Ot=this.normalizer.normalizeStyleValue($t,hi,Ot,b),U.set($t,Ot)})}),U}}class sa{constructor(z,b,U){this.name=z,this.ast=b,this._normalizer=U,this.transitionFactories=[],this.states=new Map,b.states.forEach(Z=>{this.states.set(Z.name,new oa(Z.style,Z.options&&Z.options.params||{},U))}),mr(this.states,"true","1"),mr(this.states,"false","0"),b.transitions.forEach(Z=>{this.transitionFactories.push(new Rn(z,Z,this.states))}),this.fallbackTransition=function za(R,z,b){return new Rn(R,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Ot,$t)=>!0],options:null,queryCount:0,depCount:0},z)}(z,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(z,b,U,Z){return this.transitionFactories.find(Ot=>Ot.match(z,b,U,Z))||null}matchStyles(z,b,U){return this.fallbackTransition.buildStyles(z,b,U)}}function mr(R,z,b){R.has(z)?R.has(b)||R.set(b,R.get(z)):R.has(b)&&R.set(z,R.get(b))}const Ir=new cr;class Kn{constructor(z,b,U){this.bodyNode=z,this._driver=b,this._normalizer=U,this._animations=new Map,this._playersById=new Map,this.players=[]}register(z,b){const U=[],Ne=Bi(this._driver,b,U,[]);if(U.length)throw function f(R){return new t.vHH(3503,!1)}();this._animations.set(z,Ne)}_buildPlayer(z,b,U){const Z=z.element,Ne=je(this._normalizer,z.keyframes,b,U);return this._driver.animate(Z,Ne,z.duration,z.delay,z.easing,[],!0)}create(z,b,U={}){const Z=[],Ne=this._animations.get(z);let Ot;const $t=new Map;if(Ne?(Ot=rn(this._driver,b,Ne,Et,lt,new Map,new Map,U,Ir,Z),Ot.forEach(ln=>{const $i=de($t,ln.element,new Map);ln.postStyleProps.forEach(Hn=>$i.set(Hn,null))})):(Z.push(function h(){return new t.vHH(3300,!1)}()),Ot=[]),Z.length)throw function w(R){return new t.vHH(3504,!1)}();$t.forEach((ln,$i)=>{ln.forEach((Hn,Pn)=>{ln.set(Pn,this._driver.computeStyle($i,Pn,y.l3))})});const Ci=st(Ot.map(ln=>{const $i=$t.get(ln.element);return this._buildPlayer(ln,new Map,$i)}));return this._playersById.set(z,Ci),Ci.onDestroy(()=>this.destroy(z)),this.players.push(Ci),Ci}destroy(z){const b=this._getPlayer(z);b.destroy(),this._playersById.delete(z);const U=this.players.indexOf(b);U>=0&&this.players.splice(U,1)}_getPlayer(z){const b=this._playersById.get(z);if(!b)throw function D(R){return new t.vHH(3301,!1)}();return b}listen(z,b,U,Z){const Ne=fe(b,"","","");return $e(this._getPlayer(z),U,Ne,Z),()=>{}}command(z,b,U,Z){if("register"==U)return void this.register(z,Z[0]);if("create"==U)return void this.create(z,b,Z[0]||{});const Ne=this._getPlayer(z);switch(U){case"play":Ne.play();break;case"pause":Ne.pause();break;case"reset":Ne.reset();break;case"restart":Ne.restart();break;case"finish":Ne.finish();break;case"init":Ne.init();break;case"setPosition":Ne.setPosition(parseFloat(Z[0]));break;case"destroy":this.destroy(z)}}}const ga="ng-animate-queued",_a="ng-animate-disabled",Qr=[],wa={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Pr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ur="__ng_removed";class Un{get params(){return this.options.params}constructor(z,b=""){this.namespaceId=b;const U=z&&z.hasOwnProperty("value");if(this.value=function Pa(R){return R??null}(U?z.value:z),U){const Ne=xt(z);delete Ne.value,this.options=Ne}else this.options={};this.options.params||(this.options.params={})}absorbOptions(z){const b=z.params;if(b){const U=this.options.params;Object.keys(b).forEach(Z=>{null==U[Z]&&(U[Z]=b[Z])})}}}const Ma="void",io=new Un(Ma);class Ar{constructor(z,b,U){this.id=z,this.hostElement=b,this._engine=U,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+z,la(b,this._hostClassName)}listen(z,b,U,Z){if(!this._triggers.has(b))throw function P(R,z){return new t.vHH(3302,!1)}();if(null==U||0==U.length)throw function v(R){return new t.vHH(3303,!1)}();if(!function no(R){return"start"==R||"done"==R}(U))throw function r(R,z){return new t.vHH(3400,!1)}();const Ne=de(this._elementListeners,z,[]),Ot={name:b,phase:U,callback:Z};Ne.push(Ot);const $t=de(this._engine.statesByElement,z,new Map);return $t.has(b)||(la(z,Ke),la(z,Ke+"-"+b),$t.set(b,io)),()=>{this._engine.afterFlush(()=>{const hi=Ne.indexOf(Ot);hi>=0&&Ne.splice(hi,1),this._triggers.has(b)||$t.delete(b)})}}register(z,b){return!this._triggers.has(z)&&(this._triggers.set(z,b),!0)}_getTrigger(z){const b=this._triggers.get(z);if(!b)throw function g(R){return new t.vHH(3401,!1)}();return b}trigger(z,b,U,Z=!0){const Ne=this._getTrigger(b),Ot=new ia(this.id,b,z);let $t=this._engine.statesByElement.get(z);$t||(la(z,Ke),la(z,Ke+"-"+b),this._engine.statesByElement.set(z,$t=new Map));let hi=$t.get(b);const Ci=new Un(U,this.id);if(!(U&&U.hasOwnProperty("value"))&&hi&&Ci.absorbOptions(hi.options),$t.set(b,Ci),hi||(hi=io),Ci.value!==Ma&&hi.value===Ci.value){if(!function _s(R,z){const b=Object.keys(R),U=Object.keys(z);if(b.length!=U.length)return!1;for(let Z=0;Z<b.length;Z++){const Ne=b[Z];if(!z.hasOwnProperty(Ne)||R[Ne]!==z[Ne])return!1}return!0}(hi.params,Ci.params)){const En=[],br=Ne.matchStyles(hi.value,hi.params,En),ba=Ne.matchStyles(Ci.value,Ci.params,En);En.length?this._engine.reportError(En):this._engine.afterFlush(()=>{_t(z,br),Je(z,ba)})}return}const Hn=de(this._engine.playersByElement,z,[]);Hn.forEach(En=>{En.namespaceId==this.id&&En.triggerName==b&&En.queued&&En.destroy()});let Pn=Ne.matchTransition(hi.value,Ci.value,z,Ci.params),mn=!1;if(!Pn){if(!Z)return;Pn=Ne.fallbackTransition,mn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:z,triggerName:b,transition:Pn,fromState:hi,toState:Ci,player:Ot,isFallbackTransition:mn}),mn||(la(z,ga),Ot.onStart(()=>{va(z,ga)})),Ot.onDone(()=>{let En=this.players.indexOf(Ot);En>=0&&this.players.splice(En,1);const br=this._engine.playersByElement.get(z);if(br){let ba=br.indexOf(Ot);ba>=0&&br.splice(ba,1)}}),this.players.push(Ot),Hn.push(Ot),Ot}deregister(z){this._triggers.delete(z),this._engine.statesByElement.forEach(b=>b.delete(z)),this._elementListeners.forEach((b,U)=>{this._elementListeners.set(U,b.filter(Z=>Z.name!=z))})}clearElementCache(z){this._engine.statesByElement.delete(z),this._elementListeners.delete(z);const b=this._engine.playersByElement.get(z);b&&(b.forEach(U=>U.destroy()),this._engine.playersByElement.delete(z))}_signalRemovalForInnerTriggers(z,b){const U=this._engine.driver.query(z,Be,!0);U.forEach(Z=>{if(Z[ur])return;const Ne=this._engine.fetchNamespacesByElement(Z);Ne.size?Ne.forEach(Ot=>Ot.triggerLeaveAnimation(Z,b,!1,!0)):this.clearElementCache(Z)}),this._engine.afterFlushAnimationsDone(()=>U.forEach(Z=>this.clearElementCache(Z)))}triggerLeaveAnimation(z,b,U,Z){const Ne=this._engine.statesByElement.get(z),Ot=new Map;if(Ne){const $t=[];if(Ne.forEach((hi,Ci)=>{if(Ot.set(Ci,hi.value),this._triggers.has(Ci)){const ln=this.trigger(z,Ci,Ma,Z);ln&&$t.push(ln)}}),$t.length)return this._engine.markElementAsRemoved(this.id,z,!0,b,Ot),U&&st($t).onDone(()=>this._engine.processLeaveNode(z)),!0}return!1}prepareLeaveAnimationListeners(z){const b=this._elementListeners.get(z),U=this._engine.statesByElement.get(z);if(b&&U){const Z=new Set;b.forEach(Ne=>{const Ot=Ne.name;if(Z.has(Ot))return;Z.add(Ot);const hi=this._triggers.get(Ot).fallbackTransition,Ci=U.get(Ot)||io,ln=new Un(Ma),$i=new ia(this.id,Ot,z);this._engine.totalQueuedPlayers++,this._queue.push({element:z,triggerName:Ot,transition:hi,fromState:Ci,toState:ln,player:$i,isFallbackTransition:!0})})}}removeNode(z,b){const U=this._engine;if(z.childElementCount&&this._signalRemovalForInnerTriggers(z,b),this.triggerLeaveAnimation(z,b,!0))return;let Z=!1;if(U.totalAnimations){const Ne=U.players.length?U.playersByQueriedElement.get(z):[];if(Ne&&Ne.length)Z=!0;else{let Ot=z;for(;Ot=Ot.parentNode;)if(U.statesByElement.get(Ot)){Z=!0;break}}}if(this.prepareLeaveAnimationListeners(z),Z)U.markElementAsRemoved(this.id,z,!1,b);else{const Ne=z[ur];(!Ne||Ne===wa)&&(U.afterFlush(()=>this.clearElementCache(z)),U.destroyInnerAnimations(z),U._onRemovalComplete(z,b))}}insertNode(z,b){la(z,this._hostClassName)}drainQueuedTransitions(z){const b=[];return this._queue.forEach(U=>{const Z=U.player;if(Z.destroyed)return;const Ne=U.element,Ot=this._elementListeners.get(Ne);Ot&&Ot.forEach($t=>{if($t.name==U.triggerName){const hi=fe(Ne,U.triggerName,U.fromState.value,U.toState.value);hi._data=z,$e(U.player,$t.phase,hi,$t.callback)}}),Z.markedForDestroy?this._engine.afterFlush(()=>{Z.destroy()}):b.push(U)}),this._queue=[],b.sort((U,Z)=>{const Ne=U.transition.ast.depCount,Ot=Z.transition.ast.depCount;return 0==Ne||0==Ot?Ne-Ot:this._engine.driver.containsElement(U.element,Z.element)?1:-1})}destroy(z){this.players.forEach(b=>b.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,z)}}class Qo{_onRemovalComplete(z,b){this.onRemovalComplete(z,b)}constructor(z,b,U){this.bodyNode=z,this.driver=b,this._normalizer=U,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(Z,Ne)=>{}}get queuedPlayers(){const z=[];return this._namespaceList.forEach(b=>{b.players.forEach(U=>{U.queued&&z.push(U)})}),z}createNamespace(z,b){const U=new Ar(z,b,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,b)?this._balanceNamespaceList(U,b):(this.newHostElements.set(b,U),this.collectEnterElement(b)),this._namespaceLookup[z]=U}_balanceNamespaceList(z,b){const U=this._namespaceList,Z=this.namespacesByHostElement;if(U.length-1>=0){let Ot=!1,$t=this.driver.getParentElement(b);for(;$t;){const hi=Z.get($t);if(hi){const Ci=U.indexOf(hi);U.splice(Ci+1,0,z),Ot=!0;break}$t=this.driver.getParentElement($t)}Ot||U.unshift(z)}else U.push(z);return Z.set(b,z),z}register(z,b){let U=this._namespaceLookup[z];return U||(U=this.createNamespace(z,b)),U}registerTrigger(z,b,U){let Z=this._namespaceLookup[z];Z&&Z.register(b,U)&&this.totalAnimations++}destroy(z,b){z&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const U=this._fetchNamespace(z);this.namespacesByHostElement.delete(U.hostElement);const Z=this._namespaceList.indexOf(U);Z>=0&&this._namespaceList.splice(Z,1),U.destroy(b),delete this._namespaceLookup[z]}))}_fetchNamespace(z){return this._namespaceLookup[z]}fetchNamespacesByElement(z){const b=new Set,U=this.statesByElement.get(z);if(U)for(let Z of U.values())if(Z.namespaceId){const Ne=this._fetchNamespace(Z.namespaceId);Ne&&b.add(Ne)}return b}trigger(z,b,U,Z){if(go(b)){const Ne=this._fetchNamespace(z);if(Ne)return Ne.trigger(b,U,Z),!0}return!1}insertNode(z,b,U,Z){if(!go(b))return;const Ne=b[ur];if(Ne&&Ne.setForRemoval){Ne.setForRemoval=!1,Ne.setForMove=!0;const Ot=this.collectedLeaveElements.indexOf(b);Ot>=0&&this.collectedLeaveElements.splice(Ot,1)}if(z){const Ot=this._fetchNamespace(z);Ot&&Ot.insertNode(b,U)}Z&&this.collectEnterElement(b)}collectEnterElement(z){this.collectedEnterElements.push(z)}markElementAsDisabled(z,b){b?this.disabledNodes.has(z)||(this.disabledNodes.add(z),la(z,_a)):this.disabledNodes.has(z)&&(this.disabledNodes.delete(z),va(z,_a))}removeNode(z,b,U){if(go(b)){const Z=z?this._fetchNamespace(z):null;Z?Z.removeNode(b,U):this.markElementAsRemoved(z,b,!1,U);const Ne=this.namespacesByHostElement.get(b);Ne&&Ne.id!==z&&Ne.removeNode(b,U)}else this._onRemovalComplete(b,U)}markElementAsRemoved(z,b,U,Z,Ne){this.collectedLeaveElements.push(b),b[ur]={namespaceId:z,setForRemoval:Z,hasAnimation:U,removedBeforeQueried:!1,previousTriggersValues:Ne}}listen(z,b,U,Z,Ne){return go(b)?this._fetchNamespace(z).listen(b,U,Z,Ne):()=>{}}_buildInstruction(z,b,U,Z,Ne){return z.transition.build(this.driver,z.element,z.fromState.value,z.toState.value,U,Z,z.fromState.options,z.toState.options,b,Ne)}destroyInnerAnimations(z){let b=this.driver.query(z,Be,!0);b.forEach(U=>this.destroyActiveAnimationsForElement(U)),0!=this.playersByQueriedElement.size&&(b=this.driver.query(z,J,!0),b.forEach(U=>this.finishActiveQueriedAnimationOnElement(U)))}destroyActiveAnimationsForElement(z){const b=this.playersByElement.get(z);b&&b.forEach(U=>{U.queued?U.markedForDestroy=!0:U.destroy()})}finishActiveQueriedAnimationOnElement(z){const b=this.playersByQueriedElement.get(z);b&&b.forEach(U=>U.finish())}whenRenderingDone(){return new Promise(z=>{if(this.players.length)return st(this.players).onDone(()=>z());z()})}processLeaveNode(z){const b=z[ur];if(b&&b.setForRemoval){if(z[ur]=wa,b.namespaceId){this.destroyInnerAnimations(z);const U=this._fetchNamespace(b.namespaceId);U&&U.clearElementCache(z)}this._onRemovalComplete(z,b.setForRemoval)}z.classList?.contains(_a)&&this.markElementAsDisabled(z,!1),this.driver.query(z,".ng-animate-disabled",!0).forEach(U=>{this.markElementAsDisabled(U,!1)})}flush(z=-1){let b=[];if(this.newHostElements.size&&(this.newHostElements.forEach((U,Z)=>this._balanceNamespaceList(U,Z)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let U=0;U<this.collectedEnterElements.length;U++)la(this.collectedEnterElements[U],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const U=[];try{b=this._flushAnimations(U,z)}finally{for(let Z=0;Z<U.length;Z++)U[Z]()}}else for(let U=0;U<this.collectedLeaveElements.length;U++)this.processLeaveNode(this.collectedLeaveElements[U]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(U=>U()),this._flushFns=[],this._whenQuietFns.length){const U=this._whenQuietFns;this._whenQuietFns=[],b.length?st(b).onDone(()=>{U.forEach(Z=>Z())}):U.forEach(Z=>Z())}}reportError(z){throw function H(R){return new t.vHH(3402,!1)}()}_flushAnimations(z,b){const U=new cr,Z=[],Ne=new Map,Ot=[],$t=new Map,hi=new Map,Ci=new Map,ln=new Set;this.disabledNodes.forEach(vn=>{ln.add(vn);const In=this.driver.query(vn,".ng-animate-queued",!0);for(let Gn=0;Gn<In.length;Gn++)ln.add(In[Gn])});const $i=this.bodyNode,Hn=Array.from(this.statesByElement.keys()),Pn=qr(Hn,this.collectedEnterElements),mn=new Map;let En=0;Pn.forEach((vn,In)=>{const Gn=Et+En++;mn.set(In,Gn),vn.forEach(Er=>la(Er,Gn))});const br=[],ba=new Set,eo=new Set;for(let vn=0;vn<this.collectedLeaveElements.length;vn++){const In=this.collectedLeaveElements[vn],Gn=In[ur];Gn&&Gn.setForRemoval&&(br.push(In),ba.add(In),Gn.hasAnimation?this.driver.query(In,".ng-star-inserted",!0).forEach(Er=>ba.add(Er)):eo.add(In))}const Lo=new Map,Ka=qr(Hn,Array.from(ba));Ka.forEach((vn,In)=>{const Gn=lt+En++;Lo.set(In,Gn),vn.forEach(Er=>la(Er,Gn))}),z.push(()=>{Pn.forEach((vn,In)=>{const Gn=mn.get(In);vn.forEach(Er=>va(Er,Gn))}),Ka.forEach((vn,In)=>{const Gn=Lo.get(In);vn.forEach(Er=>va(Er,Gn))}),br.forEach(vn=>{this.processLeaveNode(vn)})});const hl=[],xs=[];for(let vn=this._namespaceList.length-1;vn>=0;vn--)this._namespaceList[vn].drainQueuedTransitions(b).forEach(Gn=>{const Er=Gn.player,La=Gn.element;if(hl.push(Er),this.collectedEnterElements.length){const Io=La[ur];if(Io&&Io.setForMove){if(Io.previousTriggersValues&&Io.previousTriggersValues.has(Gn.triggerName)){const _c=Io.previousTriggersValues.get(Gn.triggerName),ms=this.statesByElement.get(Gn.element);if(ms&&ms.has(Gn.triggerName)){const vc=ms.get(Gn.triggerName);vc.value=_c,ms.set(Gn.triggerName,vc)}}return void Er.destroy()}}const ws=!$i||!this.driver.containsElement($i,La),us=Lo.get(La),fs=mn.get(La),fa=this._buildInstruction(Gn,U,fs,us,ws);if(fa.errors&&fa.errors.length)return void xs.push(fa);if(ws)return Er.onStart(()=>_t(La,fa.fromStyles)),Er.onDestroy(()=>Je(La,fa.toStyles)),void Z.push(Er);if(Gn.isFallbackTransition)return Er.onStart(()=>_t(La,fa.fromStyles)),Er.onDestroy(()=>Je(La,fa.toStyles)),void Z.push(Er);const c2=[];fa.timelines.forEach(Io=>{Io.stretchStartingKeyframe=!0,this.disabledNodes.has(Io.element)||c2.push(Io)}),fa.timelines=c2,U.append(La,fa.timelines),Ot.push({instruction:fa,player:Er,element:La}),fa.queriedElements.forEach(Io=>de($t,Io,[]).push(Er)),fa.preStyleProps.forEach((Io,_c)=>{if(Io.size){let ms=hi.get(_c);ms||hi.set(_c,ms=new Set),Io.forEach((vc,l2)=>ms.add(l2))}}),fa.postStyleProps.forEach((Io,_c)=>{let ms=Ci.get(_c);ms||Ci.set(_c,ms=new Set),Io.forEach((vc,l2)=>ms.add(l2))})});if(xs.length){const vn=[];xs.forEach(In=>{vn.push(function te(R,z){return new t.vHH(3505,!1)}())}),hl.forEach(In=>In.destroy()),this.reportError(vn)}const uo=new Map,$s=new Map;Ot.forEach(vn=>{const In=vn.element;U.has(In)&&($s.set(In,In),this._beforeAnimationBuild(vn.player.namespaceId,vn.instruction,uo))}),Z.forEach(vn=>{const In=vn.element;this._getPreviousPlayers(In,!1,vn.namespaceId,vn.triggerName,null).forEach(Er=>{de(uo,In,[]).push(Er),Er.destroy()})});const ec=br.filter(vn=>ro(vn,hi,Ci)),tc=new Map;_o(tc,this.driver,eo,Ci,y.l3).forEach(vn=>{ro(vn,hi,Ci)&&ec.push(vn)});const es=new Map;Pn.forEach((vn,In)=>{_o(es,this.driver,new Set(vn),hi,y.k1)}),ec.forEach(vn=>{const In=tc.get(vn),Gn=es.get(vn);tc.set(vn,new Map([...In?.entries()??[],...Gn?.entries()??[]]))});const Cs=[],Y0=[],r1={};Ot.forEach(vn=>{const{element:In,player:Gn,instruction:Er}=vn;if(U.has(In)){if(ln.has(In))return Gn.onDestroy(()=>Je(In,Er.toStyles)),Gn.disabled=!0,Gn.overrideTotalTime(Er.totalTime),void Z.push(Gn);let La=r1;if($s.size>1){let us=In;const fs=[];for(;us=us.parentNode;){const fa=$s.get(us);if(fa){La=fa;break}fs.push(us)}fs.forEach(fa=>$s.set(fa,La))}const ws=this._buildAnimation(Gn.namespaceId,Er,uo,Ne,es,tc);if(Gn.setRealPlayer(ws),La===r1)Cs.push(Gn);else{const us=this.playersByElement.get(La);us&&us.length&&(Gn.parentPlayer=st(us)),Z.push(Gn)}}else _t(In,Er.fromStyles),Gn.onDestroy(()=>Je(In,Er.toStyles)),Y0.push(Gn),ln.has(In)&&Z.push(Gn)}),Y0.forEach(vn=>{const In=Ne.get(vn.element);if(In&&In.length){const Gn=st(In);vn.setRealPlayer(Gn)}}),Z.forEach(vn=>{vn.parentPlayer?vn.syncPlayerEvents(vn.parentPlayer):vn.destroy()});for(let vn=0;vn<br.length;vn++){const In=br[vn],Gn=In[ur];if(va(In,lt),Gn&&Gn.hasAnimation)continue;let Er=[];if($t.size){let ws=$t.get(In);ws&&ws.length&&Er.push(...ws);let us=this.driver.query(In,J,!0);for(let fs=0;fs<us.length;fs++){let fa=$t.get(us[fs]);fa&&fa.length&&Er.push(...fa)}}const La=Er.filter(ws=>!ws.destroyed);La.length?Ro(this,In,La):this.processLeaveNode(In)}return br.length=0,Cs.forEach(vn=>{this.players.push(vn),vn.onDone(()=>{vn.destroy();const In=this.players.indexOf(vn);this.players.splice(In,1)}),vn.play()}),Cs}afterFlush(z){this._flushFns.push(z)}afterFlushAnimationsDone(z){this._whenQuietFns.push(z)}_getPreviousPlayers(z,b,U,Z,Ne){let Ot=[];if(b){const $t=this.playersByQueriedElement.get(z);$t&&(Ot=$t)}else{const $t=this.playersByElement.get(z);if($t){const hi=!Ne||Ne==Ma;$t.forEach(Ci=>{Ci.queued||!hi&&Ci.triggerName!=Z||Ot.push(Ci)})}}return(U||Z)&&(Ot=Ot.filter($t=>!(U&&U!=$t.namespaceId||Z&&Z!=$t.triggerName))),Ot}_beforeAnimationBuild(z,b,U){const Ne=b.element,Ot=b.isRemovalTransition?void 0:z,$t=b.isRemovalTransition?void 0:b.triggerName;for(const hi of b.timelines){const Ci=hi.element,ln=Ci!==Ne,$i=de(U,Ci,[]);this._getPreviousPlayers(Ci,ln,Ot,$t,b.toState).forEach(Pn=>{const mn=Pn.getRealPlayer();mn.beforeDestroy&&mn.beforeDestroy(),Pn.destroy(),$i.push(Pn)})}_t(Ne,b.fromStyles)}_buildAnimation(z,b,U,Z,Ne,Ot){const $t=b.triggerName,hi=b.element,Ci=[],ln=new Set,$i=new Set,Hn=b.timelines.map(mn=>{const En=mn.element;ln.add(En);const br=En[ur];if(br&&br.removedBeforeQueried)return new y.ZN(mn.duration,mn.delay);const ba=En!==hi,eo=function Ba(R){const z=[];return Xr(R,z),z}((U.get(En)||Qr).map(uo=>uo.getRealPlayer())).filter(uo=>!!uo.element&&uo.element===En),Lo=Ne.get(En),Ka=Ot.get(En),hl=je(this._normalizer,mn.keyframes,Lo,Ka),xs=this._buildPlayer(mn,hl,eo);if(mn.subTimeline&&Z&&$i.add(En),ba){const uo=new ia(z,$t,En);uo.setRealPlayer(xs),Ci.push(uo)}return xs});Ci.forEach(mn=>{de(this.playersByQueriedElement,mn.element,[]).push(mn),mn.onDone(()=>function Oa(R,z,b){let U=R.get(z);if(U){if(U.length){const Z=U.indexOf(b);U.splice(Z,1)}0==U.length&&R.delete(z)}return U}(this.playersByQueriedElement,mn.element,mn))}),ln.forEach(mn=>la(mn,Xt));const Pn=st(Hn);return Pn.onDestroy(()=>{ln.forEach(mn=>va(mn,Xt)),Je(hi,b.toStyles)}),$i.forEach(mn=>{de(Z,mn,[]).push(Pn)}),Pn}_buildPlayer(z,b,U){return b.length>0?this.driver.animate(z.element,b,z.duration,z.delay,z.easing,U):new y.ZN(z.duration,z.delay)}}class ia{constructor(z,b,U){this.namespaceId=z,this.triggerName=b,this.element=U,this._player=new y.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(z){this._containsRealPlayer||(this._player=z,this._queuedCallbacks.forEach((b,U)=>{b.forEach(Z=>$e(z,U,void 0,Z))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(z.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(z){this.totalTime=z}syncPlayerEvents(z){const b=this._player;b.triggerCallback&&z.onStart(()=>b.triggerCallback("start")),z.onDone(()=>this.finish()),z.onDestroy(()=>this.destroy())}_queueEvent(z,b){de(this._queuedCallbacks,z,[]).push(b)}onDone(z){this.queued&&this._queueEvent("done",z),this._player.onDone(z)}onStart(z){this.queued&&this._queueEvent("start",z),this._player.onStart(z)}onDestroy(z){this.queued&&this._queueEvent("destroy",z),this._player.onDestroy(z)}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(z){this.queued||this._player.setPosition(z)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(z){const b=this._player;b.triggerCallback&&b.triggerCallback(z)}}function go(R){return R&&1===R.nodeType}function Mo(R,z){const b=R.style.display;return R.style.display=z??"none",b}function _o(R,z,b,U,Z){const Ne=[];b.forEach(hi=>Ne.push(Mo(hi)));const Ot=[];U.forEach((hi,Ci)=>{const ln=new Map;hi.forEach($i=>{const Hn=z.computeStyle(Ci,$i,Z);ln.set($i,Hn),(!Hn||0==Hn.length)&&(Ci[ur]=Pr,Ot.push(Ci))}),R.set(Ci,ln)});let $t=0;return b.forEach(hi=>Mo(hi,Ne[$t++])),Ot}function qr(R,z){const b=new Map;if(R.forEach($t=>b.set($t,[])),0==z.length)return b;const Z=new Set(z),Ne=new Map;function Ot($t){if(!$t)return 1;let hi=Ne.get($t);if(hi)return hi;const Ci=$t.parentNode;return hi=b.has(Ci)?Ci:Z.has(Ci)?1:Ot(Ci),Ne.set($t,hi),hi}return z.forEach($t=>{const hi=Ot($t);1!==hi&&b.get(hi).push($t)}),b}function la(R,z){R.classList?.add(z)}function va(R,z){R.classList?.remove(z)}function Ro(R,z,b){st(b).onDone(()=>R.processLeaveNode(z))}function Xr(R,z){for(let b=0;b<R.length;b++){const U=R[b];U instanceof y.ZE?Xr(U.players,z):z.push(U)}}function ro(R,z,b){const U=b.get(R);if(!U)return!1;let Z=z.get(R);return Z?U.forEach(Ne=>Z.add(Ne)):z.set(R,U),b.delete(R),!0}class So{constructor(z,b,U){this._driver=b,this._normalizer=U,this._triggerCache={},this.onRemovalComplete=(Z,Ne)=>{},this._transitionEngine=new Qo(z.body,b,U),this._timelineEngine=new Kn(z.body,b,U),this._transitionEngine.onRemovalComplete=(Z,Ne)=>this.onRemovalComplete(Z,Ne)}registerTrigger(z,b,U,Z,Ne){const Ot=z+"-"+Z;let $t=this._triggerCache[Ot];if(!$t){const hi=[],ln=Bi(this._driver,Ne,hi,[]);if(hi.length)throw function n(R,z){return new t.vHH(3404,!1)}();$t=function pa(R,z,b){return new sa(R,z,b)}(Z,ln,this._normalizer),this._triggerCache[Ot]=$t}this._transitionEngine.registerTrigger(b,Z,$t)}register(z,b){this._transitionEngine.register(z,b)}destroy(z,b){this._transitionEngine.destroy(z,b)}onInsert(z,b,U,Z){this._transitionEngine.insertNode(z,b,U,Z)}onRemove(z,b,U){this._transitionEngine.removeNode(z,b,U)}disableAnimations(z,b){this._transitionEngine.markElementAsDisabled(z,b)}process(z,b,U,Z){if("@"==U.charAt(0)){const[Ne,Ot]=Ce(U);this._timelineEngine.command(Ne,b,Ot,Z)}else this._transitionEngine.trigger(z,b,U,Z)}listen(z,b,U,Z,Ne){if("@"==U.charAt(0)){const[Ot,$t]=Ce(U);return this._timelineEngine.listen(Ot,b,$t,Ne)}return this._transitionEngine.listen(z,b,U,Z,Ne)}flush(z=-1){this._transitionEngine.flush(z)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(z){this._transitionEngine.afterFlushAnimationsDone(z)}}let ao=(()=>{class R{static#e=this.initialStylesByElement=new WeakMap;constructor(b,U,Z){this._element=b,this._startStyles=U,this._endStyles=Z,this._state=0;let Ne=R.initialStylesByElement.get(b);Ne||R.initialStylesByElement.set(b,Ne=new Map),this._initialStyles=Ne}start(){this._state<1&&(this._startStyles&&Je(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Je(this._element,this._initialStyles),this._endStyles&&(Je(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(R.initialStylesByElement.delete(this._element),this._startStyles&&(_t(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(_t(this._element,this._endStyles),this._endStyles=null),Je(this._element,this._initialStyles),this._state=3)}}return R})();function Wr(R){let z=null;return R.forEach((b,U)=>{(function No(R){return"display"===R||"position"===R})(U)&&(z=z||new Map,z.set(U,b))}),z}class vo{constructor(z,b,U,Z){this.element=z,this.keyframes=b,this.options=U,this._specialStyles=Z,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=U.duration,this._delay=U.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(z=>z()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const z=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,z,this.options),this._finalKeyframe=z.length?z[z.length-1]:new Map;const b=()=>this._onFinish();this.domPlayer.addEventListener("finish",b),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",b)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(z){const b=[];return z.forEach(U=>{b.push(Object.fromEntries(U))}),b}_triggerWebAnimation(z,b,U){return z.animate(this._convertKeyframesToObject(b),U)}onStart(z){this._originalOnStartFns.push(z),this._onStartFns.push(z)}onDone(z){this._originalOnDoneFns.push(z),this._onDoneFns.push(z)}onDestroy(z){this._onDestroyFns.push(z)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(z=>z()),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(z=>z()),this._onDestroyFns=[])}setPosition(z){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=z*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const z=new Map;this.hasStarted()&&this._finalKeyframe.forEach((U,Z)=>{"offset"!==Z&&z.set(Z,this._finished?U:di(this.element,Z))}),this.currentSnapshot=z}triggerCallback(z){const b="start"===z?this._onStartFns:this._onDoneFns;b.forEach(U=>U()),b.length=0}}class Eo{validateStyleProperty(z){return!0}validateAnimatableStyleProperty(z){return!0}matchesElement(z,b){return!1}containsElement(z,b){return wt(z,b)}getParentElement(z){return ge(z)}query(z,b,U){return mt(z,b,U)}computeStyle(z,b,U){return window.getComputedStyle(z)[b]}animate(z,b,U,Z,Ne,Ot=[]){const hi={duration:U,delay:Z,fill:0==Z?"both":"forwards"};Ne&&(hi.easing=Ne);const Ci=new Map,ln=Ot.filter(Pn=>Pn instanceof vo);(function Jt(R,z){return 0===R||0===z})(U,Z)&&ln.forEach(Pn=>{Pn.currentSnapshot.forEach((mn,En)=>Ci.set(En,mn))});let $i=function Ee(R){return R.length?R[0]instanceof Map?R:R.map(z=>rt(z)):[]}(b).map(Pn=>Ue(Pn));$i=function qt(R,z,b){if(b.size&&z.length){let U=z[0],Z=[];if(b.forEach((Ne,Ot)=>{U.has(Ot)||Z.push(Ot),U.set(Ot,Ne)}),Z.length)for(let Ne=1;Ne<z.length;Ne++){let Ot=z[Ne];Z.forEach($t=>Ot.set($t,di(R,$t)))}}return z}(z,$i,Ci);const Hn=function Xa(R,z){let b=null,U=null;return Array.isArray(z)&&z.length?(b=Wr(z[0]),z.length>1&&(U=Wr(z[z.length-1]))):z instanceof Map&&(b=Wr(z)),b||U?new ao(R,b,U):null}(z,$i);return new vo(z,$i,hi,Hn)}}const ii="@.disabled";class Si{constructor(z,b,U,Z){this.namespaceId=z,this.delegate=b,this.engine=U,this._onDestroy=Z,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(z){this.delegate.destroyNode?.(z)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(z,b){return this.delegate.createElement(z,b)}createComment(z){return this.delegate.createComment(z)}createText(z){return this.delegate.createText(z)}appendChild(z,b){this.delegate.appendChild(z,b),this.engine.onInsert(this.namespaceId,b,z,!1)}insertBefore(z,b,U,Z=!0){this.delegate.insertBefore(z,b,U),this.engine.onInsert(this.namespaceId,b,z,Z)}removeChild(z,b,U){this.engine.onRemove(this.namespaceId,b,this.delegate)}selectRootElement(z,b){return this.delegate.selectRootElement(z,b)}parentNode(z){return this.delegate.parentNode(z)}nextSibling(z){return this.delegate.nextSibling(z)}setAttribute(z,b,U,Z){this.delegate.setAttribute(z,b,U,Z)}removeAttribute(z,b,U){this.delegate.removeAttribute(z,b,U)}addClass(z,b){this.delegate.addClass(z,b)}removeClass(z,b){this.delegate.removeClass(z,b)}setStyle(z,b,U,Z){this.delegate.setStyle(z,b,U,Z)}removeStyle(z,b,U){this.delegate.removeStyle(z,b,U)}setProperty(z,b,U){"@"==b.charAt(0)&&b==ii?this.disableAnimations(z,!!U):this.delegate.setProperty(z,b,U)}setValue(z,b){this.delegate.setValue(z,b)}listen(z,b,U){return this.delegate.listen(z,b,U)}disableAnimations(z,b){this.engine.disableAnimations(z,b)}}class Zi extends Si{constructor(z,b,U,Z,Ne){super(b,U,Z,Ne),this.factory=z,this.namespaceId=b}setProperty(z,b,U){"@"==b.charAt(0)?"."==b.charAt(1)&&b==ii?this.disableAnimations(z,U=void 0===U||!!U):this.engine.process(this.namespaceId,z,b.slice(1),U):this.delegate.setProperty(z,b,U)}listen(z,b,U){if("@"==b.charAt(0)){const Z=function nr(R){switch(R){case"body":return document.body;case"document":return document;case"window":return window;default:return R}}(z);let Ne=b.slice(1),Ot="";return"@"!=Ne.charAt(0)&&([Ne,Ot]=function lr(R){const z=R.indexOf(".");return[R.substring(0,z),R.slice(z+1)]}(Ne)),this.engine.listen(this.namespaceId,Z,Ne,Ot,$t=>{this.factory.scheduleListenerCallback($t._data||-1,U,$t)})}return this.delegate.listen(z,b,U)}}class Yr{constructor(z,b,U){this.delegate=z,this.engine=b,this._zone=U,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,b.onRemovalComplete=(Z,Ne)=>{const Ot=Ne?.parentNode(Z);Ot&&Ne.removeChild(Ot,Z)}}createRenderer(z,b){const Z=this.delegate.createRenderer(z,b);if(!z||!b?.data?.animation){const Ci=this._rendererCache;let ln=Ci.get(Z);return ln||(ln=new Si("",Z,this.engine,()=>Ci.delete(Z)),Ci.set(Z,ln)),ln}const Ne=b.id,Ot=b.id+"-"+this._currentId;this._currentId++,this.engine.register(Ot,z);const $t=Ci=>{Array.isArray(Ci)?Ci.forEach($t):this.engine.registerTrigger(Ne,Ot,z,Ci.name,Ci)};return b.data.animation.forEach($t),new Zi(this,Ot,Z,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(z,b,U){if(z>=0&&z<this._microtaskId)return void this._zone.run(()=>b(U));const Z=this._animationCallbacksBuffer;0==Z.length&&queueMicrotask(()=>{this._zone.run(()=>{Z.forEach(Ne=>{const[Ot,$t]=Ne;Ot($t)}),this._animationCallbacksBuffer=[]})}),Z.push([b,U])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}var on=p(6814);const Fe=[{provide:nt,useFactory:function ht(){return new un}},{provide:So,useClass:(()=>{class R extends So{constructor(b,U,Z,Ne){super(b,U,Z)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(U){return new(U||R)(t.LFG(on.K0),t.LFG(ze),t.LFG(nt),t.LFG(t.z2F))};static#t=this.\u0275prov=t.Yz7({token:R,factory:R.\u0275fac})}return R})()},{provide:t.FYo,useFactory:function yt(R,z,b){return new Yr(R,z,b)},deps:[e.se,So,t.R0b]}],bt=[{provide:ze,useFactory:()=>new Eo},{provide:t.QbO,useValue:"BrowserAnimations"},...Fe],Qt=[{provide:ze,useClass:Ae},{provide:t.QbO,useValue:"NoopAnimations"},...Fe];let Fi=(()=>{class R{static withConfig(b){return{ngModule:R,providers:b.disableAnimations?Qt:bt}}static#e=this.\u0275fac=function(U){return new(U||R)};static#t=this.\u0275mod=t.oAB({type:R});static#i=this.\u0275inj=t.cJS({providers:bt,imports:[e.b2]})}return R})();var bo=p(9862),Fn=p(1088),zi=p(4221),oo=p(5154),Dn=p(7632),Yi=p(8645),As=p(3019),yo=p(2438),vr=p(9666),To=p(6321),Ga=p(9080);function Ea(R=0,z=To.z){return R<0&&(R=0),(0,Ga.H)(R,R,z)}var da=p(2096),Ds=p(7394),so=p(9360),Ho=p(8251),xo=p(9039),An=p(9940),qo=p(7103),dr=p(2181),Ta=p(9397),rs=p(4664),Ki=p(9773),Ls=p(4716),ha=p(3997),Rr=p(7398);class Is{}function Fo(R){return(0,t.MR2)([{provide:Is,useValue:R}])}let Zs=(()=>{class R{constructor(b,U){this._ngZone=U,this.timerStart$=new Yi.x,this.idleDetected$=new Yi.x,this.timeout$=new Yi.x,this.idleMillisec=6e5,this.idleSensitivityMillisec=1e3,this.timeout=300,this.pingMillisec=12e4,this.isTimeout=!1,this.isInactivityTimer=!1,this.isIdleDetected=!1,b&&this.setConfig(b)}startWatching(){this.activityEvents$||(this.activityEvents$=(0,As.T)((0,yo.R)(window,"mousemove"),(0,yo.R)(window,"resize"),(0,yo.R)(document,"keydown"))),this.idle$=(0,vr.D)(this.activityEvents$),this.idleSubscription&&this.idleSubscription.unsubscribe(),this.idleSubscription=this.idle$.pipe(function ns(R,...z){var b,U;const Z=null!==(b=(0,An.yG)(z))&&void 0!==b?b:To.z,Ne=null!==(U=z[0])&&void 0!==U?U:null,Ot=z[1]||1/0;return(0,so.e)(($t,hi)=>{let Ci=[],ln=!1;const $i=mn=>{const{buffer:En,subs:br}=mn;br.unsubscribe(),(0,xo.P)(Ci,mn),hi.next(En),ln&&Hn()},Hn=()=>{if(Ci){const mn=new Ds.w0;hi.add(mn);const br={buffer:[],subs:mn};Ci.push(br),(0,qo.f)(mn,Z,()=>$i(br),R)}};null!==Ne&&Ne>=0?(0,qo.f)(hi,Z,Hn,Ne,!0):ln=!0,Hn();const Pn=(0,Ho.x)(hi,mn=>{const En=Ci.slice();for(const br of En){const{buffer:ba}=br;ba.push(mn),Ot<=ba.length&&$i(br)}},()=>{for(;Ci?.length;)hi.next(Ci.shift().buffer);Pn?.unsubscribe(),hi.complete(),hi.unsubscribe()},void 0,()=>Ci=null);$t.subscribe(Pn)})}(this.idleSensitivityMillisec),(0,dr.h)(b=>!b.length&&!this.isIdleDetected&&!this.isInactivityTimer),(0,Ta.b)(()=>{this.isIdleDetected=!0,this.idleDetected$.next(!0)}),(0,rs.w)(()=>this._ngZone.runOutsideAngular(()=>Ea(1e3).pipe((0,Ki.R)((0,As.T)(this.activityEvents$,(0,Ga.H)(this.idleMillisec).pipe((0,Ta.b)(()=>{this.isInactivityTimer=!0,this.timerStart$.next(!0)})))),(0,Ls.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,ha.x)(),(0,rs.w)(b=>b?this.timer$:(0,da.of)(null)))}onIdleStatusChanged(){return this.idleDetected$.asObservable()}onTimeout(){return this.timeout$.pipe((0,dr.h)(b=>!!b),(0,Ta.b)(()=>this.isTimeout=!0),(0,Rr.U)(()=>!0))}getConfigValue(){return{idle:this.idleMillisec/1e3,idleSensitivity:this.idleSensitivityMillisec/1e3,timeout:this.timeout,ping:this.pingMillisec/1e3}}setConfigValues(b){!this.idleSubscription||this.idleSubscription.closed?this.setConfig(b):console.error("Call stopWatching() before set config values")}setConfig(b){b.idle&&(this.idleMillisec=1e3*b.idle),b.ping&&(this.pingMillisec=1e3*b.ping),b.idleSensitivity&&(this.idleSensitivityMillisec=1e3*b.idleSensitivity),b.timeout&&(this.timeout=b.timeout)}setCustomActivityEvents(b){!this.idleSubscription||this.idleSubscription.closed?this.activityEvents$=b:console.error("Call stopWatching() before set custom activity events")}setupTimer(b){this._ngZone.runOutsideAngular(()=>{this.timer$=(0,da.of)(()=>new Date).pipe((0,Rr.U)(U=>U()),(0,rs.w)(U=>Ea(1e3).pipe((0,Rr.U)(()=>Math.round(((new Date).valueOf()-U.valueOf())/1e3)),(0,Ta.b)(Z=>{Z>=b&&this.timeout$.next(!0)}))))})}setupPing(b){this.ping$=Ea(b).pipe((0,dr.h)(()=>!this.isTimeout))}}return R.\u0275fac=function(b){return new(b||R)(t.LFG(Is,8),t.LFG(t.R0b))},R.\u0275prov=t.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();var Xn=p(4190),en=p(590),Hr=p(4818),Jr=p(5597),qi=p(3814),rr=p(5195),na=p(4104);const Cc=()=>({initial:!1});function Vc(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",11),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.activeLink=Z.links[1].link)}),t._uU(1),t.qZA()}if(2&R){const b=t.oxw();t.s9C("routerLink",b.links[1].link),t.Q6J("active",b.activeLink===b.links[1].link)("state",t.DdM(4,Cc)),t.xp6(1),t.Oqu(b.links[1].name)}}function _l(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",12),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.activeLink=Z.links[2].link)}),t._uU(1),t.qZA()}if(2&R){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)}}let ks=(()=>{class R{constructor(b,U){this.store=b,this.router=U,this.faUserCog=en.gNZ,this.showBitcoind=!1,this.links=[{link:"app",name:"Application"},{link:"auth",name:"Authentication"},{link:"bconfig",name:"BitcoinD Config"}],this.activeLink="",this.unSubs=[new Yi.x,new Yi.x,new Yi.x]}ngOnInit(){const b=this.links.find(U=>this.router.url.includes(U.link));this.activeLink=b?b.link:this.links[0].link,this.router.events.pipe((0,Ki.R)(this.unSubs[0]),(0,dr.h)(U=>U instanceof Xn.Av)).subscribe({next:U=>{const Z=this.links.find(Ne=>U.urlAfterRedirects.includes(Ne.link));this.activeLink=Z?Z.link:this.links[0].link}}),this.store.select(Hr.Yj).pipe((0,Ki.R)(this.unSubs[1])).subscribe(U=>{this.appConfig=U}),this.store.select(Hr.dT).pipe((0,Ki.R)(this.unSubs[2])).subscribe(U=>{this.showBitcoind=!1,this.selNode=U,this.selNode.settings&&this.selNode.settings.bitcoindConfigPath&&""!==this.selNode.settings.bitcoindConfigPath.trim()&&(this.showBitcoind=!0)})}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||R)(t.Y36(zi.yh),t.Y36(Xn.F0))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-settings"]],decls:16,vars:7,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"],["tabindex","2","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","state","click",4,"ngIf"],["role","tab","tabindex","3","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngIf"],["tabPanel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mat-tab-body-wrapper"],["tabindex","2","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","state","click"],["role","tab","tabindex","3","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"]],template:function(U,Z){if(1&U&&(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 Z.activeLink=Z.links[0].link}),t._uU(9),t.qZA(),t.YNc(10,Vc,2,5,"div",7)(11,_l,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&U){const Ne=t.MAs(13);t.xp6(1),t.Q6J("icon",Z.faUserCog),t.xp6(6),t.Q6J("tabPanel",Ne),t.xp6(1),t.s9C("routerLink",Z.links[0].link),t.Q6J("active",Z.activeLink===Z.links[0].link),t.xp6(1),t.Oqu(Z.links[0].name),t.xp6(1),t.Q6J("ngIf",!+Z.appConfig.SSO.rtlSSO),t.xp6(1),t.Q6J("ngIf",Z.showBitcoind)}},dependencies:[on.O5,Jr.BN,qi.xw,qi.Wh,qi.yH,rr.a8,rr.dn,na.BU,na.sW,na.Nj,Xn.lC,Xn.rH]})}return R})();var yn=p(9103),Se=p(5980),dt=p(6223),Ye=p(2296),ut=p(5683),ti=p(8525),Pe=p(3680),ft=p(2159),vt=p(6985);function Rt(R,z){if(1&R&&(t.TgZ(0,"mat-option",17),t._uU(1),t.qZA()),2&R){const b=z.$implicit;t.Q6J("value",b.index),t.xp6(1),t.AsE(" ",b.lnNode," (",b.lnImplementation,") ")}}function Kt(R,z){if(1&R){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(Z){t.CHM(b);const Ne=t.oxw();return t.KtG(Ne.appConfig.defaultNodeIndex=Z)}),t.YNc(14,Rt,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 Z=t.oxw();return t.KtG(Z.onResetSettings())}),t._uU(18,"Reset"),t.qZA(),t.TgZ(19,"button",16),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.onUpdateApplicationSettings())}),t._uU(20,"Update"),t.qZA()()()()()}if(2&R){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)}}let ui=(()=>{class R{constructor(b,U){this.logger=b,this.store=U,this.faInfoCircle=en.sqG,this.faWindowRestore=en.wyP,this.faPlus=en.r8p,this.previousDefaultNode=0,this.unSubs=[new Yi.x,new Yi.x]}ngOnInit(){this.store.select(Hr.Yj).pipe((0,Ki.R)(this.unSubs[0])).subscribe(b=>{this.appConfig=b,this.previousDefaultNode=this.appConfig.defaultNodeIndex,this.logger.info(b)})}onAddNewNode(){this.logger.warn("ADD NEW NODE")}onUpdateApplicationSettings(){this.appConfig.defaultNodeIndex=this.appConfig.defaultNodeIndex?this.appConfig.defaultNodeIndex:this.appConfig&&this.appConfig.nodes&&this.appConfig.nodes.length&&this.appConfig.nodes.length>0&&this.appConfig.nodes[0].index?+this.appConfig.nodes[0].index:-1,this.store.dispatch((0,yn.B1)({payload:{showSnackBar:!0,message:"Default Node Updated.",config:this.appConfig}}))}onResetSettings(){this.appConfig.defaultNodeIndex=this.previousDefaultNode}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||R)(t.Y36(Se.mQ),t.Y36(zi.yh))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-app-settings"]],decls:2,vars:1,consts:[["fxLayout","column","fxFlex","100",1,"padding-gap-x-large",3,"perfectScrollbar"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","settings-container page-sub-title-container mt-1",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container","mt-1"],["form","ngForm"],["fxLayout","row"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"my-2"],["fxLayout","row","fxFlex","100",1,"alert","alert-info"],[1,"mr-1","alert-icon",3,"icon"],["fxLayout","row","fxLayoutAlign","start start"],["fxLayout","column","fxLayoutAlign","start start"],["autoFocus","","tabindex","1","name","defaultNode",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["fxLayout","row","fxLayoutAlign","start start",1,"mt-1"],["mat-stroked-button","","color","primary","tabindex","2",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","3",3,"click"],[3,"value"]],template:function(U,Z){1&U&&(t.TgZ(0,"div",0),t.YNc(1,Kt,21,4,"form",1),t.qZA()),2&U&&(t.xp6(1),t.Q6J("ngIf",Z.appConfig.nodes&&Z.appConfig.nodes.length&&Z.appConfig.nodes.length>0))},dependencies:[on.sg,on.O5,dt._Y,dt.JJ,dt.JL,dt.On,dt.F,Jr.BN,qi.xw,qi.Wh,qi.yH,Ye.lW,ut.KE,ti.gD,Pe.ey,ft.$V,vt.h]})}return R})();var li=p(8927),Ei=p(8180),Di=p(7700),tn=p(3439),Xi=p(2703),fn=p(2939),Tn=p(2032),Nn=p(8257),Dr=p(2279),Fr=p(7313);const ua=["stepper"];function ra(R,z){if(1&R&&t._uU(0),2&R){const b=t.oxw();t.Oqu(b.passwordFormLabel)}}function Aa(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Password is required."),t.qZA())}function Nr(R,z){if(1&R&&t._uU(0),2&R){const b=t.oxw(2);t.Oqu(b.secretFormLabel)}}function Ao(R,z){if(1&R&&t._UZ(0,"qr-code",33),2&R){const b=t.oxw(2);t.Q6J("value",b.otpauth)("size",180)("errorCorrectionLevel","L")}}function Ja(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Secret Code is required."),t.qZA())}function zn(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"mat-step",10)(1,"form",22),t.YNc(2,Nr,1,1,"ng-template",23),t.TgZ(3,"div",24),t.YNc(4,Ao,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(Z){t.CHM(b);const Ne=t.oxw();return t.KtG(Ne.onCopySecret(Z))}),t.qZA(),t.YNc(15,Ja,2,0,"mat-error",15),t.qZA()(),t.TgZ(16,"div",31)(17,"button",32),t._uU(18,"Next"),t.qZA()()()()}if(2&R){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 Xo(R,z){if(1&R&&t._uU(0),2&R){const b=t.oxw(2);t.Oqu(b.tokenFormLabel)}}function vs(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Token is required."),t.qZA())}function Sr(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Token is invalid."),t.qZA())}function Bc(R,z){if(1&R){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,vs,2,0,"mat-error",15)(7,Sr,2,0,"mat-error",15),t.qZA()(),t.TgZ(8,"div",31)(9,"button",38),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(2);return t.KtG(Z.onVerifyToken())}),t._uU(10),t.qZA()()()}if(2&R){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 wc(R,z){1&R&&(t.TgZ(0,"div")(1,"strong"),t._uU(2,"Success! You are all set."),t.qZA()())}function Os(R,z){if(1&R&&(t.TgZ(0,"mat-step",34)(1,"form",35),t.YNc(2,Xo,1,1,"ng-template",12)(3,Bc,11,3,"div",36)(4,wc,3,0,"div",15),t.qZA()()),2&R){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 zo(R,z){if(1&R&&t._uU(0),2&R){const b=t.oxw(2);t.Oqu(b.disableFormLabel)}}function N2(R,z){if(1&R){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 Z=t.oxw(2);return t.KtG(Z.onVerifyToken())}),t._uU(7,"Disable"),t.qZA()()()}if(2&R){const b=t.oxw(2);t.xp6(2),t.Q6J("icon",b.faExclamationTriangle)}}function vl(R,z){1&R&&(t.TgZ(0,"div")(1,"strong"),t._uU(2,"Two factor authentication removed from RTL."),t.qZA()())}function Uc(R,z){if(1&R&&(t.TgZ(0,"mat-step",34)(1,"form",35),t.YNc(2,zo,1,1,"ng-template",12)(3,N2,8,1,"div",36)(4,vl,3,0,"div",15),t.qZA()()),2&R){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)}}let Jo=(()=>{class R{constructor(b,U,Z,Ne,Ot,$t){this.dialogRef=b,this.data=U,this.store=Z,this.formBuilder=Ne,this.rtlEffects=Ot,this.snackBar=$t,this.faExclamationTriangle=en.eHv,this.faCopy=en.kZ_,this.faInfoCircle=en.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:["",[dt.kI.required]],password:["",[dt.kI.required]]}),this.secretFormGroup=this.formBuilder.group({secret:[{value:"",disabled:!0},dt.kI.required]}),this.tokenFormGroup=this.formBuilder.group({token:["",dt.kI.required]}),this.disableFormGroup=this.formBuilder.group({}),this.unSubs=[new Yi.x,new Yi.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},dt.kI.required]})}generateSecret(){const b=tn.authenticator.generateSecret();return this.otpauth=tn.authenticator.keyuri("","Ride The Lightning (RTL)",b),b}onAuthenticate(){if(!this.passwordFormGroup.controls.password.value)return!0;this.flgValidated=!1,this.store.dispatch((0,yn.QO)({payload:li(this.passwordFormGroup.controls.password.value).toString()})),this.rtlEffects.isAuthorizedRes.pipe((0,Ei.q)(1)).subscribe(b=>{"ERROR"!==b?(this.passwordFormGroup.controls.hiddenPassword.setValue(this.passwordFormGroup.controls.password.value),this.stepper.next()):(this.dialogRef.close(),this.snackBar.open("Unauthorized User. Logging out from RTL."))})}onCopySecret(b){this.snackBar.open("Secret code "+this.secretFormGroup.controls.secret.value+" copied.")}onVerifyToken(){if(this.appConfig?.enable2FA)this.appConfig.enable2FA=!1,this.appConfig.secret2FA="",this.store.dispatch((0,yn.B1)({payload:{showSnackBar:!1,message:"Two factor authentication disabled successfully.",config:this.appConfig}})),this.generateSecret(),this.isTokenValid=!0;else{if(!this.tokenFormGroup.controls.token.value)return!0;if(this.isTokenValid=tn.authenticator.check(this.tokenFormGroup.controls.token.value,this.secretFormGroup.controls.secret.value),!this.isTokenValid)return this.tokenFormGroup.controls.token.setErrors({notValid:!0}),!0;this.appConfig.enable2FA=!0,this.appConfig.secret2FA=this.secretFormGroup.controls.secret.value,this.store.dispatch((0,yn.B1)({payload:{showSnackBar:!1,message:"Two factor authentication enabled successfully.",config:this.appConfig}})),this.tokenFormGroup.controls.token.setValue("")}this.flgValidated=!0}stepSelectionChanged(b){switch(b.selectedIndex){case 0:default:this.passwordFormLabel="Authenticate with your RTL password";break;case 1:case 2:this.passwordFormLabel="User authenticated successfully"}b.selectedIndex<b.previouslySelectedIndex&&0===b.selectedIndex&&this.passwordFormGroup.controls.hiddenPassword.setValue("")}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||R)(t.Y36(Di.so),t.Y36(Di.WI),t.Y36(zi.yh),t.Y36(dt.QS),t.Y36(Xi.V),t.Y36(fn.ux))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-two-factor-auth"]],viewQuery:function(U,Z){if(1&U&&t.Gf(ua,5),2&U){let Ne;t.iGM(Ne=t.CRH())&&(Z.stepper=Ne.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(U,Z){1&U&&(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(Ot){return Z.stepSelectionChanged(Ot)}),t.TgZ(12,"mat-step",10)(13,"form",11),t.YNc(14,ra,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,Aa,2,0,"mat-error",15),t.qZA()(),t.TgZ(21,"div",16)(22,"button",17),t.NdJ("click",function(){return Z.onAuthenticate()}),t._uU(23,"Confirm"),t.qZA()()()(),t.YNc(24,zn,19,8,"mat-step",18)(25,Os,5,4,"mat-step",19)(26,Uc,5,4,"mat-step",19),t.qZA(),t.TgZ(27,"div",20)(28,"button",21),t._uU(29),t.qZA()()()()()()),2&U&&(t.xp6(6),t.Q6J("mat-dialog-close",!1),t.xp6(4),t.Q6J("linear",!0),t.xp6(2),t.Q6J("stepControl",Z.passwordFormGroup)("editable",Z.flgEditable),t.xp6(1),t.Q6J("formGroup",Z.passwordFormGroup),t.xp6(7),t.Q6J("ngIf",null==Z.passwordFormGroup||null==Z.passwordFormGroup.controls||null==Z.passwordFormGroup.controls.password||null==Z.passwordFormGroup.controls.password.errors?null:Z.passwordFormGroup.controls.password.errors.required),t.xp6(4),t.Q6J("ngIf",!Z.showDisableStepper),t.xp6(1),t.Q6J("ngIf",!Z.showDisableStepper),t.xp6(1),t.Q6J("ngIf",Z.showDisableStepper),t.xp6(2),t.Q6J("mat-dialog-close",!1),t.xp6(1),t.Oqu(Z.flgValidated&&Z.isTokenValid?"Close":"Cancel"))},dependencies:[on.O5,dt._Y,dt.Fj,dt.JJ,dt.JL,dt.Q7,dt.sg,dt.u,Jr.BN,qi.xw,qi.Wh,qi.yH,Di.ZT,Ye.lW,rr.dn,rr.dk,Tn.Nt,ut.KE,ut.hX,ut.TO,ut.R9,Nn.C0,Nn.VY,Nn.Vq,Nn.Ic,Dr.uU,Fr.y,vt.h]})}return R})();var Yt=p(2154),Ps=p(5813),Ra=p(6385);const m1=["authForm"];function bl(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Current password is required."),t.qZA())}function Gc(R,z){if(1&R&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&R){const b=t.oxw(2);t.xp6(1),t.Oqu(b.errorMsg)}}function yl(R,z){if(1&R&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&R){const b=t.oxw(2);t.xp6(1),t.Oqu(b.errorConfirmMsg)}}function kn(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"form",11,12)(2,"div",13),t._UZ(3,"fa-icon",5),t.TgZ(4,"span",6),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",14),t.NdJ("ngModelChange",function(Z){t.CHM(b);const Ne=t.oxw();return t.KtG(Ne.currPassword=Z)}),t.qZA(),t.YNc(10,bl,2,0,"mat-error",15),t.qZA(),t.TgZ(11,"mat-form-field")(12,"mat-label"),t._uU(13,"New Password"),t.qZA(),t.TgZ(14,"input",16),t.NdJ("ngModelChange",function(Z){t.CHM(b);const Ne=t.oxw();return t.KtG(Ne.newPassword=Z)}),t.qZA(),t.YNc(15,Gc,2,1,"mat-error",15),t.qZA(),t.TgZ(16,"mat-form-field")(17,"mat-label"),t._uU(18,"Confirm New Password"),t.qZA(),t.TgZ(19,"input",17),t.NdJ("ngModelChange",function(Z){t.CHM(b);const Ne=t.oxw();return t.KtG(Ne.confirmPassword=Z)}),t.qZA(),t.YNc(20,yl,2,1,"mat-error",15),t.qZA(),t.TgZ(21,"div",18)(22,"button",19),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.onResetPassword())}),t._uU(23,"Reset"),t.qZA(),t.TgZ(24,"button",20),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.onChangePassword())}),t._uU(25,"Change Password"),t.qZA()()()}if(2&R){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())}}let Vo=(()=>{class R{constructor(b,U,Z,Ne,Ot){this.logger=b,this.store=U,this.actions=Z,this.router=Ne,this.sessionService=Ot,this.faInfoCircle=en.sqG,this.faUserLock=en.FJU,this.faUserClock=en.hnx,this.faLock=en.byT,this.currPassword="",this.newPassword="",this.confirmPassword="",this.errorMsg="",this.errorConfirmMsg="",this.initializeNodeData=!1,this.unSubs=[new Yi.x,new Yi.x,new Yi.x]}ngOnInit(){this.initializeNodeData="true"===this.sessionService.getItem("defaultPassword"),this.store.select(Hr.Yj).pipe((0,Ki.R)(this.unSubs[0])).subscribe(b=>{this.appConfig=b,this.logger.info(this.appConfig)}),this.store.select(Hr.dT).pipe((0,Ki.R)(this.unSubs[1])).subscribe(b=>{this.selNode=b}),this.actions.pipe((0,Ki.R)(this.unSubs[2]),(0,dr.h)(b=>b.type===Yt.pg.RESET_PASSWORD_RES)).subscribe(b=>{if(Yt.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||Yt.kO.includes(this.newPassword.toLowerCase()))return!0;this.store.dispatch((0,yn.c0)({payload:{currPassword:li(this.currPassword).toString(),newPassword:li(this.newPassword).toString()}}))}matchOldAndNewPasswords(){let b=!1;return this.form&&this.form.controls&&this.form.controls.newpassword&&(this.newPassword?""!==this.currPassword&&""!==this.newPassword&&this.currPassword===this.newPassword?(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg="Old and New password cannot be same.",b=!0):Yt.kO.includes(this.newPassword.toLowerCase())?(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg=Yt.kO?.reduce((U,Z,Ne)=>Ne<Yt.kO.length-1?U+Z+'" / "':U+Z+'".','Password cannot be "'),b=!0):(this.form.controls.newpassword.setErrors(null),this.errorMsg="",b=!1):(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg="New password is required.",b=!0)),b}matchNewPasswords(){let b=!1;return this.form&&this.form.controls&&this.form.controls.confirmpassword&&(this.confirmPassword?""!==this.newPassword&&""!==this.confirmPassword&&this.newPassword!==this.confirmPassword?(this.form.controls.confirmpassword.setErrors({invalid:!0}),this.errorConfirmMsg="New and confirm passwords do not match.",b=!0):(this.form.controls.confirmpassword.setErrors(null),this.errorConfirmMsg="",b=!1):(this.form.controls.confirmpassword.setErrors({invalid:!0}),this.errorConfirmMsg="Confirm password is required.",b=!0)),b}on2FAuth(){this.store.dispatch((0,yn.qR)({payload:{data:{appConfig:this.appConfig,component:Jo}}}))}onResetPassword(){this.form.resetForm()}ngOnDestroy(){this.initializeNodeData&&this.store.dispatch((0,yn.fk)({payload:{uiMessage:Yt.m6.NO_SPINNER,prevLnNodeIndex:-1,currentLnNode:this.selNode,isInitialSetup:!0}})),this.unSubs.forEach(b=>{b.next(),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||R)(t.Y36(Se.mQ),t.Y36(zi.yh),t.Y36(oo.eX),t.Y36(Xn.F0),t.Y36(Ps.m))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-auth-settings"]],viewQuery:function(U,Z){if(1&U&&t.Gf(m1,5),2&U){let Ne;t.iGM(Ne=t.CRH())&&(Z.form=Ne.first)}},decls:15,vars:4,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"padding-gap-x-large"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","page-sub-title-container mt-1",4,"ngIf"],[1,"my-2"],["fxLayout","column","fxLayoutAlign","start stretch"],[1,"mb-1","settings-container","page-sub-title-container","mt-1"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],[1,"alert","alert-info"],[1,"mt-1","mr-1","alert-icon",3,"icon"],[1,"mt-1"],["mat-flat-button","","color","primary","tabindex","6",1,"mb-2",3,"click"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"page-sub-title-container","mt-1"],["authForm","ngForm"],["fxLayout","row","fxLayoutAlign","start start",1,"mb-2"],["autoFocus","","matInput","","type","password","id","currpassword","name","currpassword","tabindex","1","required","",3,"ngModel","ngModelChange"],[4,"ngIf"],["matInput","","type","password","id","newpassword","name","newpassword","tabindex","2","required","",3,"ngModel","ngModelChange"],["matInput","","type","password","id","confirmpassword","name","confirmpassword","tabindex","3","required","",3,"ngModel","ngModelChange"],["fxLayout","row","fxLayoutAlign","start start",1,"mt-1"],["mat-stroked-button","","color","primary","type","reset","tabindex","4",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","5","type","submit",3,"click"]],template:function(U,Z){1&U&&(t.TgZ(0,"div",0),t.YNc(1,kn,26,7,"form",1),t._UZ(2,"mat-divider",2),t.TgZ(3,"div",3)(4,"div",4),t._UZ(5,"fa-icon",5),t.TgZ(6,"span",6),t._uU(7,"Two Factor Authentication"),t.qZA()(),t.TgZ(8,"div",7),t._UZ(9,"fa-icon",8),t.TgZ(10,"span"),t._uU(11,"Protect your account from unauthorized access by requiring a second authentication method in addition to your password."),t.qZA()(),t.TgZ(12,"div",9)(13,"button",10),t.NdJ("click",function(){return Z.on2FAuth()}),t._uU(14),t.qZA()()()()),2&U&&(t.xp6(1),t.Q6J("ngIf",null==Z.appConfig?null:Z.appConfig.allowPasswordUpdate),t.xp6(4),t.Q6J("icon",Z.faUserClock),t.xp6(4),t.Q6J("icon",Z.faInfoCircle),t.xp6(5),t.Oqu(Z.appConfig.enable2FA?"Disable 2FA":"Enable 2FA"))},dependencies:[on.O5,dt._Y,dt.Fj,dt.JJ,dt.JL,dt.Q7,dt.On,dt.F,Jr.BN,qi.xw,qi.Wh,qi.yH,Ye.lW,Tn.Nt,ut.KE,ut.hX,ut.TO,Ra.d,vt.h]})}return R})();var Ws=p(9038);function p1(R,z){1&R&&t._UZ(0,"mat-divider",7)}function bs(R,z){if(1&R&&(t.TgZ(0,"div",4)(1,"pre",5),t._uU(2),t.ALo(3,"json"),t.qZA(),t.YNc(4,p1,1,0,"mat-divider",6),t.qZA()),2&R){const b=t.oxw();t.xp6(2),t.Oqu(t.lcZ(3,2,b.configData)),t.xp6(2),t.Q6J("ngIf",""!==b.configData)}}function Hh(R,z){if(1&R&&(t.TgZ(0,"h2"),t._uU(1),t.qZA()),2&R){const b=t.oxw().$implicit;t.xp6(1),t.Oqu(b)}}function g1(R,z){if(1&R&&(t.TgZ(0,"h4",14),t._uU(1),t.qZA()),2&R){const b=t.oxw().$implicit;t.xp6(1),t.Oqu(b)}}function ic(R,z){1&R&&t._UZ(0,"mat-divider",15),2&R&&t.Q6J("inset",!0)}function H2(R,z){if(1&R&&(t.TgZ(0,"mat-list-item")(1,"mat-card-subtitle",7),t.YNc(2,Hh,2,1,"h2",10),t.qZA(),t.TgZ(3,"mat-card-subtitle",11),t.YNc(4,g1,2,1,"h4",12),t.qZA(),t.YNc(5,ic,1,1,"mat-divider",13),t.qZA()),2&R){const b=z.$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 F2(R,z){if(1&R&&(t.TgZ(0,"div",8)(1,"mat-list"),t.YNc(2,H2,6,3,"mat-list-item",9),t.qZA()()),2&R){const b=t.oxw();t.xp6(2),t.Q6J("ngForOf",b.configData)}}let wd=(()=>{class R{constructor(b,U,Z){this.store=b,this.rtlEffects=U,this.router=Z,this.configData="",this.fileFormat="INI",this.faCog=en.b7W,this.unSubs=[new Yi.x,new Yi.x]}ngOnInit(){this.store.dispatch((0,yn.Q2)({payload:"bitcoind"})),this.rtlEffects.showLnConfig.pipe((0,Ki.R)(this.unSubs[1])).subscribe(b=>{const U=b.data;this.fileFormat=b.format,this.configData=""===U||!U||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==U&&U&&"JSON"===this.fileFormat?U:"":U.split("\n")})}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||R)(t.Y36(zi.yh),t.Y36(Xi.V),t.Y36(Xn.F0))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-bitcoin-config"]],decls:4,vars:2,consts:[["fxLayout","column","fxFlex","100"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start start"],["fxFlex","100","class","mb-6",4,"ngIf"],["fxFlex","100",4,"ngIf"],["fxFlex","100",1,"mb-6"],[1,"pre-wrap"],["class","my-1",4,"ngIf"],[1,"my-1"],["fxFlex","100"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"m-0"],["class","ml-4",4,"ngIf"],[3,"inset",4,"ngIf"],[1,"ml-4"],[3,"inset"]],template:function(U,Z){1&U&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,bs,5,4,"div",2)(3,F2,3,1,"div",3),t.qZA()()),2&U&&(t.xp6(2),t.Q6J("ngIf",""!==Z.configData&&"JSON"===Z.fileFormat),t.xp6(1),t.Q6J("ngIf",""!==Z.configData&&("INI"===Z.fileFormat||"HOCON"===Z.fileFormat)))},dependencies:[on.sg,on.O5,qi.xw,qi.Wh,qi.yH,rr.$j,Ws.i$,Ws.Tg,Ra.d,on.Ts],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}return R})();function xl(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Password is required."),t.qZA())}let Md=(()=>{class R{constructor(b,U,Z){this.dialogRef=b,this.store=U,this.rtlEffects=Z,this.password="",this.isAuthenticated=!1,this.unSubs=[new Yi.x,new Yi.x]}ngOnInit(){this.rtlEffects.isAuthorizedRes.pipe((0,Ei.q)(1)).subscribe(b=>{"ERROR"!==b?(this.isAuthenticated=!0,this.store.dispatch((0,yn.M6)({payload:this.isAuthenticated}))):this.isAuthenticated=!1})}onAuthenticate(){if(!this.password)return!0;this.store.dispatch((0,yn.QO)({payload:li(this.password)}))}onClose(){this.store.dispatch((0,yn.M6)({payload:this.isAuthenticated}))}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||R)(t.Y36(Di.so),t.Y36(zi.yh),t.Y36(Xi.V))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-is-authorized"]],decls:18,vars:2,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],["fxLayout","row",1,"padding-gap-x-large"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["autoFocus","","matInput","","type","password","id","password","name","password","tabindex","1","required","",3,"ngModel","ngModelChange"],[4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end center",1,"mt-1"],["mat-button","","color","primary","tabindex","2","type","submit","default","",3,"click"]],template:function(U,Z){1&U&&(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 Z.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(Ot){return Z.password=Ot}),t.qZA(),t.YNc(14,xl,2,0,"mat-error",9),t.qZA(),t.TgZ(15,"div",10)(16,"button",11),t.NdJ("click",function(){return Z.onAuthenticate()}),t._uU(17,"Confirm"),t.qZA()()()()()()),2&U&&(t.xp6(13),t.Q6J("ngModel",Z.password),t.xp6(1),t.Q6J("ngIf",!Z.password))},dependencies:[on.O5,dt._Y,dt.Fj,dt.JJ,dt.JL,dt.Q7,dt.On,dt.F,qi.xw,qi.Wh,qi.yH,Ye.lW,rr.dn,rr.dk,Tn.Nt,ut.KE,ut.hX,ut.TO,vt.h]})}return R})();const Ni=()=>({initial:!1});function ar(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",13),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.activeLink=Z.links[2].link)}),t._uU(1),t.qZA()}if(2&R){const b=t.oxw();t.s9C("routerLink",b.links[2].link),t.Q6J("active",b.activeLink===b.links[2].link)("state",t.DdM(4,Ni)),t.xp6(1),t.Oqu(b.links[2].name)}}function Cl(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",14),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.activeLink=Z.links[3].link)}),t._uU(1),t.qZA()}if(2&R){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 Mc(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",15),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.showLnConfigClicked())}),t._uU(1),t.qZA()}if(2&R){const b=t.oxw();t.Q6J("active",b.activeLink===b.links[4].link),t.xp6(1),t.Oqu(b.links[4].name)}}let pr=(()=>{class R{constructor(b,U,Z,Ne){this.store=b,this.router=U,this.rtlEffects=Z,this.activatedRoute=Ne,this.faTools=en.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 Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x]}ngOnInit(){const b=this.links.find(U=>this.router.url.includes(U.link));this.activeLink=b?b.link:this.links[0].link,this.router.events.pipe((0,Ki.R)(this.unSubs[0]),(0,dr.h)(U=>U instanceof Xn.Av)).subscribe({next:U=>{const Z=this.links.find(Ne=>U.urlAfterRedirects.includes(Ne.link));this.activeLink=Z?Z.link:this.links[0].link}}),this.store.select(Hr.Yj).pipe((0,Ki.R)(this.unSubs[1])).subscribe(U=>{this.appConfig=U}),this.store.select(Hr.dT).pipe((0,Ki.R)(this.unSubs[2])).subscribe(U=>{switch(this.showLnConfig=!1,this.selNode=U,this.selNode.lnImplementation?.toUpperCase()){case"CLN":this.lnImplementationStr="Core Lightning Config";break;case"ECL":this.lnImplementationStr="Eclair Config";break;default:this.lnImplementationStr="LND Config"}this.selNode.authentication&&this.selNode.authentication.configPath&&""!==this.selNode.authentication.configPath.trim()&&(this.links[4].name=this.lnImplementationStr,this.showLnConfig=!0)})}showLnConfigClicked(){this.appConfig.SSO.rtlSSO?(this.activeLink=this.links[4].link,this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute})):(this.store.dispatch((0,yn.qR)({payload:{maxWidth:"50rem",data:{component:Md}}})),this.rtlEffects.closeAlert.pipe((0,Ki.R)(this.unSubs[3])).subscribe(b=>{b&&(this.activeLink=this.links[4].link,this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute}))}))}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||R)(t.Y36(zi.yh),t.Y36(Xn.F0),t.Y36(Xi.V),t.Y36(Xn.gz))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-node-config"]],decls:19,vars:11,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"],["tabindex","2","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"],["tabindex","3","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","state","click",4,"ngIf"],["tabindex","4","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngIf"],["tabindex","5","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","click",4,"ngIf"],["tabPanel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mat-tab-body-wrapper","mb-2"],["tabindex","3","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","state","click"],["tabindex","4","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"],["tabindex","5","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","click"]],template:function(U,Z){if(1&U&&(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 Z.activeLink=Z.links[0].link}),t._uU(9),t.qZA(),t.TgZ(10,"div",7),t.NdJ("click",function(){return Z.activeLink=Z.links[1].link}),t._uU(11),t.qZA(),t.YNc(12,ar,2,5,"div",8)(13,Cl,2,3,"div",9)(14,Mc,2,2,"div",10),t.qZA(),t._UZ(15,"mat-tab-nav-panel",null,11),t.TgZ(17,"div",12),t._UZ(18,"router-outlet"),t.qZA()()()()),2&U){const Ne=t.MAs(16);t.xp6(1),t.Q6J("icon",Z.faTools),t.xp6(6),t.Q6J("tabPanel",Ne),t.xp6(1),t.s9C("routerLink",Z.links[0].link),t.Q6J("active",Z.activeLink===Z.links[0].link),t.xp6(1),t.Oqu(Z.links[0].name),t.xp6(1),t.s9C("routerLink",Z.links[1].link),t.Q6J("active",Z.activeLink===Z.links[1].link),t.xp6(1),t.Oqu(Z.links[1].name),t.xp6(1),t.Q6J("ngIf","ECL"!==(null==Z.selNode||null==Z.selNode.lnImplementation?null:Z.selNode.lnImplementation.toUpperCase())),t.xp6(1),t.Q6J("ngIf","CLN"===(null==Z.selNode||null==Z.selNode.lnImplementation?null:Z.selNode.lnImplementation.toUpperCase())),t.xp6(1),t.Q6J("ngIf",Z.showLnConfig)}},dependencies:[on.O5,Jr.BN,qi.xw,qi.Wh,qi.yH,rr.a8,rr.dn,na.BU,na.sW,na.Nj,Xn.lC,Xn.rH]})}return R})();function as(R,z){1&R&&t._UZ(0,"mat-divider",7)}function nc(R,z){if(1&R&&(t.TgZ(0,"div",4)(1,"pre",5),t._uU(2),t.ALo(3,"json"),t.qZA(),t.YNc(4,as,1,0,"mat-divider",6),t.qZA()),2&R){const b=t.oxw();t.xp6(2),t.Oqu(t.lcZ(3,2,b.configData)),t.xp6(2),t.Q6J("ngIf",""!==b.configData)}}function zr(R,z){if(1&R&&(t.TgZ(0,"h2"),t._uU(1),t.qZA()),2&R){const b=t.oxw().$implicit;t.xp6(1),t.Oqu(b)}}function Na(R,z){if(1&R&&(t.TgZ(0,"h4",14),t._uU(1),t.qZA()),2&R){const b=t.oxw().$implicit;t.xp6(1),t.Oqu(b)}}function Sc(R,z){1&R&&t._UZ(0,"mat-divider",15),2&R&&t.Q6J("inset",!0)}function wl(R,z){if(1&R&&(t.TgZ(0,"mat-list-item")(1,"mat-card-subtitle",7),t.YNc(2,zr,2,1,"h2",10),t.qZA(),t.TgZ(3,"mat-card-subtitle",11),t.YNc(4,Na,2,1,"h4",12),t.qZA(),t.YNc(5,Sc,1,1,"mat-divider",13),t.qZA()),2&R){const b=z.$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 Ml(R,z){if(1&R&&(t.TgZ(0,"div",8)(1,"mat-list"),t.YNc(2,wl,6,3,"mat-list-item",9),t.qZA()()),2&R){const b=t.oxw();t.xp6(2),t.Q6J("ngForOf",b.configData)}}let Zc=(()=>{class R{constructor(b,U,Z){this.store=b,this.rtlEffects=U,this.router=Z,this.configData="",this.fileFormat="INI",this.faCog=en.b7W,this.unSubs=[new Yi.x,new Yi.x]}ngOnInit(){this.store.dispatch((0,yn.Q2)({payload:"ln"})),this.rtlEffects.showLnConfig.pipe((0,Ki.R)(this.unSubs[1])).subscribe(b=>{const U=b.data;this.fileFormat=b.format,this.configData=""===U||!U||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==U&&U&&"JSON"===this.fileFormat?U:"":U.split("\n")})}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||R)(t.Y36(zi.yh),t.Y36(Xi.V),t.Y36(Xn.F0))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-lnp-config"]],decls:4,vars:2,consts:[["fxLayout","column","fxFlex","100"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start start"],["fxFlex","100","class","mb-6",4,"ngIf"],["fxFlex","100",4,"ngIf"],["fxFlex","100",1,"mb-6"],[1,"pre-wrap"],["class","my-1",4,"ngIf"],[1,"my-1"],["fxFlex","100"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"m-0"],["class","ml-4",4,"ngIf"],[3,"inset",4,"ngIf"],[1,"ml-4"],[3,"inset"]],template:function(U,Z){1&U&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,nc,5,4,"div",2)(3,Ml,3,1,"div",3),t.qZA()()),2&U&&(t.xp6(2),t.Q6J("ngIf",""!==Z.configData&&"JSON"===Z.fileFormat),t.xp6(1),t.Q6J("ngIf",""!==Z.configData&&("INI"===Z.fileFormat||"HOCON"===Z.fileFormat)))},dependencies:[on.sg,on.O5,qi.xw,qi.Wh,qi.yH,rr.$j,Ws.i$,Ws.Tg,Ra.d,on.Ts],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}return R})();var or=p(9191),Jn=p(234),Vr=p(2249),$r=p(6339),me=p(7509),Oe=p(3305),_e=p(7466),Re=p(2599);function pt(R,z){if(1&R&&(t.TgZ(0,"span",38),t._UZ(1,"fa-icon",39),t.qZA()),2&R){const b=t.oxw().$implicit;t.xp6(1),t.Q6J("icon",b.symbol)}}function Nt(R,z){if(1&R&&(t.TgZ(0,"span",38),t._UZ(1,"span",40),t.qZA()),2&R){const b=t.oxw().$implicit;t.xp6(1),t.Q6J("innerHTML",b.symbol,t.oJD)}}function ni(R,z){if(1&R&&(t.TgZ(0,"mat-option",36),t.YNc(1,pt,2,1,"span",37)(2,Nt,2,1,"span",37),t._uU(3),t.qZA()),2&R){const b=z.$implicit;t.Q6J("value",b.id),t.xp6(1),t.Q6J("ngIf",b&&"FA"===b.iconType),t.xp6(1),t.Q6J("ngIf",b&&"SVG"===b.iconType),t.xp6(1),t.AsE(" ",b.name," (",b.id,") ")}}function Li(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Currency unit is required."),t.qZA())}function Ai(R,z){if(1&R&&(t.TgZ(0,"mat-radio-button",41),t._uU(1),t.ALo(2,"titlecase"),t.qZA()),2&R){const b=z.$implicit,U=t.oxw();t.Q6J("value",b)("checked",U.selNode.settings.userPersona===b),t.xp6(1),t.hij(" ",t.lcZ(2,3,b)," ")}}function cn(R,z){if(1&R&&(t.TgZ(0,"mat-radio-button",42),t._uU(1),t.qZA()),2&R){const b=z.$implicit;t.Q6J("value",b),t.xp6(1),t.hij("",b.name," ")}}const Qn=R=>({skin:!0,"selected-color":R});function sr(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"span",43)(1,"div",44),t.NdJ("click",function(){const Ne=t.CHM(b).$implicit,Ot=t.oxw();return t.KtG(Ot.changeThemeColor(Ne.id))}),t.ALo(2,"lowercase"),t.qZA(),t._uU(3),t.qZA()}if(2&R){const b=z.$implicit,U=t.oxw();t.xp6(1),t.Tol(t.lcZ(2,4,b.id)),t.Q6J("ngClass",t.VKq(6,Qn,U.selectedThemeColor===b.id)),t.xp6(2),t.hij(" ",b.name," ")}}let jr=(()=>{class R{constructor(b,U,Z,Ne){this.logger=b,this.commonService=U,this.store=Z,this.sanitizer=Ne,this.faExclamationTriangle=en.eHv,this.faMoneyBillAlt=en.co4,this.faPaintBrush=en.XsY,this.faInfoCircle=en.sqG,this.faEyeSlash=en.Aq,this.userPersonas=[Yt.ol.OPERATOR,Yt.ol.MERCHANT],this.currencyUnits=Yt.Er,this.themeModes=Yt.wZ.modes,this.themeColors=Yt.wZ.themes,this.selectedThemeMode=Yt.wZ.modes[0],this.selectedThemeColor=Yt.wZ.themes[0].id,this.currencyUnit="BTC",this.smallerCurrencyUnit="Sats",this.showSettingOption=!0,this.screenSize="",this.screenSizeEnum=Yt.cu,this.unSubs=[new Yi.x,new Yi.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.currencyUnits.map(b=>("SVG"===b.iconType&&"string"==typeof b.symbol&&(b.symbol=b.symbol.replace('<svg class="currency-icon" ','<svg class="currency-icon '+b.class+'"'),b.symbol=this.sanitizer.bypassSecurityTrustHtml(b.symbol)),b)),this.store.select(Hr.dT).pipe((0,Ki.R)(this.unSubs[0])).subscribe(b=>{this.selNode=b,this.selectedThemeMode=this.themeModes.find(U=>this.selNode.settings.themeMode===U.id)||this.themeModes[0],this.selectedThemeColor=this.selNode.settings.themeColor,this.selNode.settings.fiatConversion||(this.selNode.settings.currencyUnit=""),this.previousSettings=JSON.parse(JSON.stringify(this.selNode.settings)),this.logger.info(b)})}onCurrencyChange(b){this.selNode.settings.currencyUnits=[...Yt.uA,b.value],this.store.dispatch((0,yn.wj)({payload:this.selNode})),this.store.dispatch((0,or.JT)({payload:this.selNode})),this.store.dispatch((0,Jn.Mf)({payload:this.selNode})),this.store.dispatch((0,Vr.Zr)({payload:this.selNode}))}toggleSettings(b,U){this.selNode.settings[b]=!this.selNode.settings[b]}changeThemeColor(b){this.selectedThemeColor=b,this.selNode.settings.themeColor=b}chooseThemeMode(){this.selNode.settings.themeMode=this.selectedThemeMode.id}onUpdateNodeSettings(){if(this.selNode.settings.fiatConversion&&!this.selNode.settings.currencyUnit)return!0;this.logger.info(this.selNode.settings),this.store.dispatch((0,yn.nQ)({payload:this.selNode}))}onResetSettings(){const b=this.selNode.index||-1;this.selNode.settings=this.previousSettings,this.selectedThemeMode=this.themeModes.find(U=>U.id===this.previousSettings.themeMode)||this.themeModes[0],this.selectedThemeColor=this.previousSettings.themeColor,this.store.dispatch((0,yn.fk)({payload:{uiMessage:Yt.m6.NO_SPINNER,prevLnNodeIndex:+b,currentLnNode:this.selNode,isInitialSetup:!0}}))}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||R)(t.Y36(Se.mQ),t.Y36($r.v),t.Y36(zi.yh),t.Y36(e.H7))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-node-settings"]],decls:78,vars:18,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",3,"perfectScrollbar"],["fxLayout","column","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container"],["form","ngForm"],["displayMode","flat","multi","false"],["fxLayout","column",1,"flat-expansion-panel","mt-1"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column","fxLayoutAlign","start stretch"],["fxLayout","row","fxFlex","100",1,"alert","alert-info","mb-1"],[1,"mr-1","alert-icon",3,"icon"],["fxLayout","row wrap","fxLayoutAlign","start center"],["tabindex","1","color","primary","name","unannouncedChannels",3,"ngModel","ngModelChange","change"],["fxFlex","100",1,"alert","alert-warn"],["href","https://www.blockchain.com/api/exchange_rates_api","target","blank"],["tabindex","2","color","primary","name","fiatConversion",1,"mr-2",3,"ngModel","ngModelChange","change"],["fxFlex","25"],["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"],["class","mr-1",4,"ngIf"],[1,"mr-1"],[3,"icon"],["fxLayoutAlign","center center",3,"innerHTML"],[1,"radio-text","mr-4",3,"value","checked"],["tabindex","5",1,"radio-text","mr-4",3,"value"],["fxLayout","row",1,"theme-name"],["tabindex","9",3,"ngClass","click"]],template:function(U,Z){1&U&&(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(Ot){return Z.selNode.settings.unannouncedChannels=Ot})("change",function(){return!Z.selNode.settings.unannouncedChannels}),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(Ot){return Z.selNode.settings.fiatConversion=Ot})("change",function(){return!Z.selNode.settings.currencyUnit}),t._uU(35,"Enable Fiat Conversion"),t.qZA(),t.TgZ(36,"mat-form-field",15)(37,"mat-label"),t._uU(38,"Fiat Currency"),t.qZA(),t.TgZ(39,"mat-select",16,17),t.NdJ("ngModelChange",function(Ot){return Z.selNode.settings.currencyUnit=Ot})("selectionChange",function(Ot){return Z.onCurrencyChange(Ot)}),t.YNc(41,ni,4,5,"mat-option",18),t.qZA(),t.YNc(42,Li,2,0,"mat-error",19),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",20),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",21)(55,"h4"),t._uU(56,"Dashboard Layout"),t.qZA(),t.TgZ(57,"mat-radio-group",22),t.NdJ("ngModelChange",function(Ot){return Z.selNode.settings.userPersona=Ot}),t.YNc(58,Ai,3,5,"mat-radio-button",23),t.qZA()(),t._UZ(59,"mat-divider",24),t.TgZ(60,"div",25)(61,"h4"),t._uU(62,"Mode"),t.qZA(),t.TgZ(63,"mat-radio-group",26),t.NdJ("ngModelChange",function(Ot){return Z.selectedThemeMode=Ot})("change",function(){return Z.chooseThemeMode()}),t.YNc(64,cn,2,2,"mat-radio-button",27),t.qZA()(),t._UZ(65,"mat-divider",24),t.TgZ(66,"div",28)(67,"div",29)(68,"h4"),t._uU(69,"Themes"),t.qZA(),t.TgZ(70,"div",30),t.YNc(71,sr,4,8,"span",31),t.qZA()()()()()()(),t.TgZ(72,"div",32)(73,"div",33)(74,"button",34),t.NdJ("click",function(){return Z.onResetSettings()}),t._uU(75,"Reset"),t.qZA(),t.TgZ(76,"button",35),t.NdJ("click",function(){return Z.onUpdateNodeSettings()}),t._uU(77,"Update"),t.qZA()()()()),2&U&&(t.xp6(7),t.Q6J("icon",Z.faEyeSlash),t.xp6(5),t.Q6J("icon",Z.faInfoCircle),t.xp6(4),t.Q6J("ngModel",Z.selNode.settings.unannouncedChannels),t.xp6(5),t.Q6J("icon",Z.faMoneyBillAlt),t.xp6(5),t.Q6J("icon",Z.faExclamationTriangle),t.xp6(8),t.Q6J("ngModel",Z.selNode.settings.fiatConversion),t.xp6(5),t.Q6J("disabled",!Z.selNode.settings.fiatConversion)("required",Z.selNode.settings.fiatConversion)("ngModel",Z.selNode.settings.currencyUnit),t.xp6(2),t.Q6J("ngForOf",Z.currencyUnits),t.xp6(1),t.Q6J("ngIf",Z.selNode.settings.fiatConversion&&!Z.selNode.settings.currencyUnit),t.xp6(4),t.Q6J("icon",Z.faPaintBrush),t.xp6(5),t.Q6J("icon",Z.faInfoCircle),t.xp6(6),t.Q6J("ngModel",Z.selNode.settings.userPersona),t.xp6(1),t.Q6J("ngForOf",Z.userPersonas),t.xp6(5),t.Q6J("ngModel",Z.selectedThemeMode),t.xp6(1),t.Q6J("ngForOf",Z.themeModes),t.xp6(7),t.Q6J("ngForOf",Z.themeColors))},dependencies:[on.mk,on.sg,on.O5,dt._Y,dt.JJ,dt.JL,dt.Q7,dt.On,dt.F,Jr.BN,qi.xw,qi.Wh,qi.yH,me.oO,Ye.lW,Oe.pp,Oe.ib,Oe.yz,Oe.yK,ut.KE,ut.hX,ut.TO,Ra.d,_e.VQ,_e.U0,ti.gD,Pe.ey,Re.Rr,ft.$V,vt.h,on.i8,on.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}"]})}return R})();var Bo=p(2460),Rs=p(3468),Uo=p(7321),rc=p(9930),Go=p(617),Za=p(2596),Ns=p(2995);const Or=R=>({error:R});function z2(R,z){if(1&R&&t.GkF(0,14),2&R){const b=t.oxw(),U=t.MAs(18);t.Q6J("ngTemplateOutlet",U)("ngTemplateOutletContext",t.VKq(2,Or,b.errorMessage))}}function Sd(R,z){if(1&R&&(t.TgZ(0,"mat-option",31),t._uU(1),t.qZA()),2&R){const b=z.$implicit;t.Q6J("value",b),t.xp6(1),t.hij(" ",b," ")}}function _1(R,z){if(1&R&&(t.TgZ(0,"mat-option",31),t._uU(1),t.ALo(2,"camelCaseWithSpaces"),t.ALo(3,"camelcaseWithReplace"),t.qZA()),2&R){const b=z.$implicit,U=t.oxw(3);t.Q6J("value",b),t.xp6(1),t.hij(" ","ECL"===U.selNode.lnImplementation?t.lcZ(2,2,b):t.xi3(3,4,b,"_")," ")}}function Ys(R,z){if(1&R&&(t.TgZ(0,"mat-option",31),t._uU(1),t.qZA()),2&R){const b=z.$implicit;t.Q6J("value",b),t.xp6(1),t.hij(" ","desc"===b?"Descending":"Ascending"," ")}}function $o(R,z){if(1&R&&(t.TgZ(0,"mat-option",34),t._uU(1),t.ALo(2,"camelCaseWithSpaces"),t.ALo(3,"camelcaseWithReplace"),t.qZA()),2&R){const b=z.$implicit,U=t.oxw(2).$implicit,Z=t.oxw(2);t.Q6J("value",b.column)("disabled",U.columnSelection.length<=2&&U.columnSelection.includes(b.column)),t.xp6(1),t.hij(" ",b.label?b.label:"ECL"===Z.selNode.lnImplementation?t.lcZ(2,3,b.column):t.xi3(3,5,b.column,"_")," ")}}function Hs(R,z){if(1&R){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(Z){t.CHM(b);const Ne=t.oxw().$implicit;return t.KtG(Ne.columnSelection=Z)})("selectionChange",function(){t.CHM(b);const Z=t.oxw().$implicit,Ne=t.oxw(2);return t.KtG(Ne.oncolumnSelectionChange(Z))}),t.YNc(4,$o,4,8,"mat-option",28),t.qZA()()}if(2&R){const b=t.oxw().$implicit,U=t.oxw().$implicit,Z=t.oxw();t.xp6(3),t.hYB("name","",U.pageId,"",b.tableId,"-columns-selection"),t.Q6J("ngModel",b.columnSelection),t.xp6(1),t.Q6J("ngForOf",Z.nodePageDefs[U.pageId][b.tableId].allowedColumns)}}function os(R,z){if(1&R&&(t.TgZ(0,"mat-option",34),t._uU(1),t.ALo(2,"camelCaseWithSpaces"),t.ALo(3,"camelcaseWithReplace"),t.qZA()),2&R){const b=z.$implicit,U=t.oxw().$implicit,Z=t.oxw(2);t.Q6J("value",b.column)("disabled",U.columnSelectionSM.length<=1&&U.columnSelectionSM.includes(b.column)||U.columnSelectionSM.length>=3&&!U.columnSelectionSM.includes(b.column)),t.xp6(1),t.hij(" ",b.label?b.label:"ECL"===Z.selNode.lnImplementation?t.lcZ(2,3,b.column):t.xi3(3,5,b.column,"_")," ")}}const Fs=R=>({"ml-minus-1":R});function Sl(R,z){if(1&R){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(Z){const Ot=t.CHM(b).$implicit;return t.KtG(Ot.recordsPerPage=Z)}),t.YNc(9,Sd,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(Z){const Ot=t.CHM(b).$implicit;return t.KtG(Ot.sortBy=Z)}),t.YNc(14,_1,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(Z){const Ot=t.CHM(b).$implicit;return t.KtG(Ot.sortOrder=Z)}),t.YNc(19,Ys,2,2,"mat-option",22),t.qZA()(),t.YNc(20,Hs,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(Z){const Ot=t.CHM(b).$implicit;return t.KtG(Ot.columnSelectionSM=Z)}),t.YNc(25,os,4,8,"mat-option",28),t.qZA()(),t.TgZ(26,"button",29),t.NdJ("click",function(){const Ne=t.CHM(b).$implicit,Ot=t.oxw().$implicit,$t=t.oxw();return t.KtG($t.onTableReset(Ot.pageId,Ne))}),t.TgZ(27,"mat-icon",30),t._uU(28,"restore"),t.qZA()()()()}if(2&R){const b=z.$implicit,U=t.oxw().$implicit,Z=t.oxw();t.xp6(3),t.hij("",t.xi3(4,20,b.tableId,"_"),":"),t.xp6(5),t.hYB("name","",U.pageId,"",b.tableId,"-page-size-options"),t.Q6J("disabled",Z.nodePageDefs[U.pageId][b.tableId].disablePageSize)("ngModel",b.recordsPerPage),t.xp6(1),t.Q6J("ngForOf",Z.pageSizeOptions),t.xp6(4),t.hYB("name","",U.pageId,"",b.tableId,"-sort-by"),t.Q6J("ngModel",b.sortBy),t.xp6(1),t.Q6J("ngForOf",b.columnSelection),t.xp6(4),t.hYB("name","",U.pageId,"",b.tableId,"-sort-order"),t.Q6J("ngModel",b.sortOrder),t.xp6(1),t.Q6J("ngForOf",Z.sortOrders),t.xp6(1),t.Q6J("ngIf",Z.screenSize!==Z.screenSizeEnum.XS),t.xp6(4),t.hYB("name","",U.pageId,"",b.tableId,"-columns-selection-sm"),t.Q6J("ngModel",b.columnSelectionSM),t.xp6(1),t.Q6J("ngForOf",Z.nodePageDefs[U.pageId][b.tableId].allowedColumns),t.xp6(2),t.Q6J("ngClass",t.VKq(23,Fs,Z.screenSize===Z.screenSizeEnum.XS||Z.screenSize===Z.screenSizeEnum.SM))}}function Wc(R,z){if(1&R&&t.GkF(0,14),2&R){const b=t.oxw(2),U=t.MAs(18);t.Q6J("ngTemplateOutlet",U)("ngTemplateOutletContext",t.VKq(2,Or,b.errorMessage))}}const Yc=R=>({"error-border":R});function jc(R,z){if(1&R&&(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,Sl,29,25,"div",16)(6,Wc,1,4,"ng-container",6),t.qZA()),2&R){const b=z.$implicit,U=t.oxw();t.Q6J("ngClass",t.VKq(7,Yc,(null==U.errorMessage?null:U.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",U.errorMessage&&(null==U.errorMessage?null:U.errorMessage.page)===b.pageId)}}function Da(R,z){if(1&R&&(t.TgZ(0,"mat-panel-title"),t._uU(1),t.ALo(2,"titlecase"),t.qZA()),2&R){const b=t.oxw().error;t.xp6(1),t.hij("Page ",t.lcZ(2,1,b.page),"")}}function El(R,z){if(1&R&&(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&R){const b=t.oxw().error;t.xp6(4),t.Oqu(b.message)}}function V2(R,z){if(1&R&&(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&R){const b=z.$implicit;t.xp6(4),t.AsE("Table ",t.lcZ(5,2,b.table)," ",b.message,"")}}const Kc=R=>({"error-border p-2":R});function Qc(R,z){if(1&R&&(t.TgZ(0,"div",35),t.YNc(1,Da,3,3,"mat-panel-title",36),t.TgZ(2,"mat-list",37),t.YNc(3,El,5,1,"mat-list-item",36)(4,V2,6,4,"mat-list-item",38),t.qZA()()),2&R){const b=z.error,U=t.oxw();t.Q6J("ngClass",t.VKq(4,Kc,"unknown"===U.errorMessage.page)),t.xp6(1),t.Q6J("ngIf","unknown"===U.errorMessage.page),t.xp6(2),t.Q6J("ngIf",b.message),t.xp6(1),t.Q6J("ngForOf",b.tables)}}let Ec=(()=>{class R{constructor(b,U,Z,Ne){this.logger=b,this.commonService=U,this.store=Z,this.actions=Ne,this.faPenRuler=en.SoD,this.faExclamationTriangle=en.eHv,this.screenSize="",this.screenSizeEnum=Yt.cu,this.pageSizeOptions=Yt.TJ,this.pageSettings=[],this.initialPageSettings=[],this.defaultSettings=[],this.nodePageDefs={},this.sortOrders=Yt.zZ,this.apiCallStatus=null,this.apiCallStatusEnum=Yt.Bn,this.errorMessage=null,this.unSubs=[new Yi.x,new Yi.x,new Yi.x,new Yi.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(Hr.dT).pipe((0,Ki.R)(this.unSubs[0])).subscribe(b=>{switch(this.selNode=b,this.logger.info(this.selNode),this.selNode.lnImplementation){case"CLN":this.initialPageSettings=Object.assign([],Yt.gG),this.defaultSettings=Object.assign([],Yt.gG),this.nodePageDefs=Yt.At,this.store.select(Rs.AS).pipe((0,Ki.R)(this.unSubs[1]),(0,Bo.M)(this.store.select(Rs.lw))).subscribe(([U,Z])=>{const Ne=JSON.parse(JSON.stringify(U.pageSettings));if(this.errorMessage=null,this.apiCallStatus=U.apiCallStatus,this.apiCallStatus.status===Yt.Bn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=Ne,this.initialPageSettings=Ne;else{if(!Z?.settings.enableOffers){const Ot=Ne.find(Ci=>"transactions"===Ci.pageId),$t=Ot?.tables.findIndex(Ci=>"offers"===Ci.tableId),hi=Ot?.tables.findIndex(Ci=>"offer_bookmarks"===Ci.tableId);$t>-1&&Ot?.tables.splice($t,1),hi>-1&&Ot?.tables.splice(hi,1)}if(!Z?.settings.enablePeerswap){const Ot=Ne.findIndex($t=>"peerswap"===$t.pageId);Ot>-1&&Ne.splice(Ot,1)}this.pageSettings=Ne,this.initialPageSettings=Ne}this.logger.info(Ne)}),this.actions.pipe((0,Ki.R)(this.unSubs[2]),(0,dr.h)(U=>U.type===Yt.AB.UPDATE_API_CALL_STATUS_CLN||U.type===Yt.AB.SAVE_PAGE_SETTINGS_CLN)).subscribe(U=>{U.type===Yt.AB.UPDATE_API_CALL_STATUS_CLN&&U.payload.status===Yt.Bn.ERROR&&"SavePageSettings"===U.payload.action&&(this.errorMessage=JSON.parse(U.payload.message))});break;case"ECL":this.initialPageSettings=Object.assign([],Yt.c3),this.defaultSettings=Object.assign([],Yt.c3),this.nodePageDefs=Yt.Xk,this.store.select(rc.nF).pipe((0,Ki.R)(this.unSubs[1]),(0,Bo.M)(this.store.select(rc.LR))).subscribe(([U,Z])=>{const Ne=JSON.parse(JSON.stringify(U.pageSettings));this.errorMessage=null,this.apiCallStatus=U.apiCallStatus,this.apiCallStatus.status===Yt.Bn.ERROR?(this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=Ne,this.initialPageSettings=Ne):(this.pageSettings=Ne,this.initialPageSettings=Ne),this.logger.info(Ne)}),this.actions.pipe((0,Ki.R)(this.unSubs[2]),(0,dr.h)(U=>U.type===Yt.lr.UPDATE_API_CALL_STATUS_ECL||U.type===Yt.lr.SAVE_PAGE_SETTINGS_ECL)).subscribe(U=>{U.type===Yt.lr.UPDATE_API_CALL_STATUS_ECL&&U.payload.status===Yt.Bn.ERROR&&"SavePageSettings"===U.payload.action&&(this.errorMessage=JSON.parse(U.payload.message))});break;default:this.initialPageSettings=Object.assign([],Yt.gK),this.defaultSettings=Object.assign([],Yt.gK),this.nodePageDefs=Yt.hG,this.store.select(Uo.Pr).pipe((0,Ki.R)(this.unSubs[1]),(0,Bo.M)(this.store.select(Uo.$k))).subscribe(([U,Z])=>{const Ne=JSON.parse(JSON.stringify(U.pageSettings));if(this.errorMessage=null,this.apiCallStatus=U.apiCallStatus,this.apiCallStatus.status===Yt.Bn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=Ne,this.initialPageSettings=Ne;else{if(!Z?.settings.swapServerUrl||""===Z.settings.swapServerUrl.trim()){const Ot=Ne.findIndex($t=>"loop"===$t.pageId);Ot>-1&&Ne.splice(Ot,1)}if(!Z?.settings.boltzServerUrl||""===Z.settings.boltzServerUrl.trim()){const Ot=Ne.findIndex($t=>"boltz"===$t.pageId);Ot>-1&&Ne.splice(Ot,1)}if(!Z?.settings.enablePeerswap){const Ot=Ne.findIndex($t=>"peerswap"===$t.pageId);Ot>-1&&Ne.splice(Ot,1)}this.pageSettings=Ne,this.initialPageSettings=Ne}this.logger.info(Ne)}),this.actions.pipe((0,Ki.R)(this.unSubs[2]),(0,dr.h)(U=>U.type===Yt.uR.UPDATE_API_CALL_STATUS_LND||U.type===Yt.uR.SAVE_PAGE_SETTINGS_LND)).subscribe(U=>{U.type===Yt.uR.UPDATE_API_CALL_STATUS_LND&&U.payload.status===Yt.Bn.ERROR&&"SavePageSettings"===U.payload.action&&(this.errorMessage=JSON.parse(U.payload.message))})}})}oncolumnSelectionChange(b){b.columnSelection&&(!b.sortBy||!b.columnSelection.includes(b.sortBy))&&(b.sortBy=b.columnSelection[0])}onUpdatePageSettings(){if(this.pageSettings.reduce((b,U)=>b||U.tables.reduce((Z,Ne)=>!(Ne.recordsPerPage&&Ne.sortBy&&Ne.sortOrder&&Ne.columnSelection&&Ne.columnSelection.length>=2),!1),!1))return!0;switch(this.errorMessage="",this.selNode.lnImplementation){case"CLN":this.store.dispatch((0,Jn.eF)({payload:this.pageSettings}));break;case"ECL":this.store.dispatch((0,Vr.eF)({payload:this.pageSettings}));break;default:this.store.dispatch((0,or.eF)({payload:this.pageSettings}))}}onTableReset(b,U){const Z=this.pageSettings.findIndex($t=>$t.pageId===b),Ne=this.pageSettings[Z].tables.findIndex($t=>$t.tableId===U.tableId),Ot=this.defaultSettings.find($t=>$t.pageId===b)?.tables.find($t=>$t.tableId===U.tableId)||this.pageSettings.find($t=>$t.pageId===b)?.tables.find($t=>$t.tableId===U.tableId);this.pageSettings[Z].tables.splice(Ne,1,Ot)}onResetPageSettings(b){"current"===b?(this.errorMessage=null,this.pageSettings=JSON.parse(JSON.stringify(this.initialPageSettings))):(this.errorMessage=null,this.pageSettings=JSON.parse(JSON.stringify(this.defaultSettings)))}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||R)(t.Y36(Se.mQ),t.Y36($r.v),t.Y36(zi.yh),t.Y36(oo.eX))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-page-settings"]],decls:19,vars:3,consts:[["fxLayout","column","fxFlex","100",3,"perfectScrollbar"],["fxLayout","column","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container","mt-1"],["form","ngForm"],["fxLayout","row"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],["displayMode","flat","multi","false"],["fxLayout","column","class","flat-expansion-panel mt-1","expanded","false",3,"ngClass",4,"ngFor","ngForOf"],["fxLayout","row",1,"mt-1"],["mat-stroked-button","","color","primary","tabindex","8",1,"mr-1",3,"click"],["mat-stroked-button","","color","primary","tabindex","9",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","10",3,"click"],["errorObjectBlock",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["fxLayout","column","expanded","false",1,"flat-expansion-panel","mt-1",3,"ngClass"],["fxLayout","column","fxLayoutAlign","start stretch","class","padding-gap-x-large table-setting-row",4,"ngFor","ngForOf"],["fxLayout","column","fxLayoutAlign","start stretch",1,"padding-gap-x-large","table-setting-row"],["fxLayout","column","fxLayoutAlign","space-between stretch","fxLayout.gt-sm","row wrap","fxLayoutAlign.gt-sm","space-between center"],["fxFlex","10",1,"mb-2"],["fxLayout","column","fxFlex","10"],["tabindex","2","required","",3,"disabled","name","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["tabindex","3","required","",3,"name","ngModel","ngModelChange"],["tabindex","4","required","",3,"name","ngModel","ngModelChange"],["fxFlex","35","matTooltip","Select a minimum of 2 columns",4,"ngIf"],["fxLayout","column","fxFlex","15","matTooltip","Select between 1 and 3 columns"],["tabindex","5","multiple","","required","",3,"name","ngModel","ngModelChange"],[3,"value","disabled",4,"ngFor","ngForOf"],["mat-icon-button","","color","primary","type","button","tabindex","7","matTooltip","Reset to Default",1,"mb-2",3,"click"],["color","primary",3,"ngClass"],[3,"value"],["fxFlex","35","matTooltip","Select a minimum of 2 columns"],["tabindex","6","multiple","","required","",3,"name","ngModel","ngModelChange","selectionChange"],[3,"value","disabled"],[3,"ngClass"],[4,"ngIf"],["role","list"],[4,"ngFor","ngForOf"],[1,"ml-1","icon-small","red"]],template:function(U,Z){1&U&&(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,z2,1,4,"ng-container",6),t.TgZ(8,"mat-accordion",7),t.YNc(9,jc,7,9,"mat-expansion-panel",8),t.qZA()(),t.TgZ(10,"div",9)(11,"button",10),t.NdJ("click",function(){return Z.onResetPageSettings("current")}),t._uU(12,"Reset"),t.qZA(),t.TgZ(13,"button",11),t.NdJ("click",function(){return Z.onResetPageSettings("default")}),t._uU(14,"Reset to Default"),t.qZA(),t.TgZ(15,"button",12),t.NdJ("click",function(){return Z.onUpdatePageSettings()}),t._uU(16,"Save"),t.qZA()()(),t.YNc(17,Qc,5,6,"ng-template",null,13,t.W1O)),2&U&&(t.xp6(4),t.Q6J("icon",Z.faPenRuler),t.xp6(3),t.Q6J("ngIf",Z.errorMessage&&"unknown"===Z.errorMessage.page),t.xp6(2),t.Q6J("ngForOf",Z.pageSettings))},dependencies:[on.mk,on.sg,on.O5,on.tP,dt._Y,dt.JJ,dt.JL,dt.Q7,dt.On,dt.F,Jr.BN,qi.xw,qi.Wh,qi.yH,me.oO,Ye.lW,Ye.RK,Oe.pp,Oe.ib,Oe.yz,Oe.yK,Go.Hw,ut.KE,ut.hX,Ws.i$,Ws.Tg,ti.gD,Pe.ey,Za.gM,ft.$V,on.rS,Ns.D3,Ns.i1],styles:[".table-setting-row[_ngcontent-%COMP%]:not(:first-child){margin:.5rem 0}"]})}return R})();function jf(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",11),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.activeLink=Z.links[0].link)}),t._uU(1),t.qZA()}if(2&R){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)}}const v1=()=>({initial:!1});function Kf(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",12),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.activeLink=Z.links[1].link)}),t._uU(1),t.qZA()}if(2&R){const b=t.oxw();t.s9C("routerLink",b.links[1].link),t.Q6J("active",b.activeLink===b.links[1].link)("state",t.DdM(4,v1)),t.xp6(1),t.Oqu(b.links[1].name)}}function Ed(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",13),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.activeLink=Z.links[2].link)}),t._uU(1),t.qZA()}if(2&R){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)}}let Qf=(()=>{class R{constructor(b,U,Z){this.store=b,this.router=U,this.activatedRoute=Z,this.faLayerGroup=en.Krp,this.links=[{link:"loop",name:"Loop"},{link:"boltz",name:"Boltz"},{link:"noservice",name:"No Service"}],this.activeLink="",this.unSubs=[new Yi.x,new Yi.x,new Yi.x]}ngOnInit(){this.setActiveLink(),this.router.events.pipe((0,Ki.R)(this.unSubs[0]),(0,dr.h)(b=>b instanceof Xn.Av)).subscribe({next:b=>{this.setActiveLink()}}),this.store.select(Hr.dT).pipe((0,Ki.R)(this.unSubs[1])).subscribe(b=>{this.selNode=b,this.setActiveLink(),this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute})})}setActiveLink(){this.activeLink=this.selNode&&this.selNode.settings?this.selNode.settings.swapServerUrl&&""!==this.selNode.settings.swapServerUrl.trim()?this.links[0].link:this.selNode.settings.boltzServerUrl&&""!==this.selNode.settings.boltzServerUrl.trim()?this.links[1].link:this.selNode.settings.enablePeerswap?this.links[2].link:this.links[this.links.length-1].link:this.links[this.links.length-1].link}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||R)(t.Y36(zi.yh),t.Y36(Xn.F0),t.Y36(Xn.gz))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-services-settings"]],decls:16,vars:5,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-sub-title-container","my-1"],["fxLayout","row"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngIf"],["tabindex","2","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","state","click",4,"ngIf"],["tabindex","3","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"],["tabindex","1","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"],["tabindex","2","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","state","click"],["tabindex","3","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"]],template:function(U,Z){if(1&U&&(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,jf,2,3,"div",6)(10,Kf,2,5,"div",7)(11,Ed,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&U){const Ne=t.MAs(13);t.xp6(2),t.Q6J("icon",Z.faLayerGroup),t.xp6(6),t.Q6J("tabPanel",Ne),t.xp6(1),t.Q6J("ngIf",""!==(null==Z.selNode||null==Z.selNode.settings||null==Z.selNode.settings.swapServerUrl?null:Z.selNode.settings.swapServerUrl.trim())),t.xp6(1),t.Q6J("ngIf",""!==(null==Z.selNode||null==Z.selNode.settings||null==Z.selNode.settings.boltzServerUrl?null:Z.selNode.settings.boltzServerUrl.trim())),t.xp6(1),t.Q6J("ngIf",""===(null==Z.selNode||null==Z.selNode.settings||null==Z.selNode.settings.swapServerUrl?null:Z.selNode.settings.swapServerUrl.trim())&&""===(null==Z.selNode||null==Z.selNode.settings||null==Z.selNode.settings.boltzServerUrl?null:Z.selNode.settings.boltzServerUrl.trim()))}},dependencies:[on.O5,Jr.BN,qi.xw,qi.Wh,qi.yH,rr.a8,rr.dn,na.BU,na.sW,na.Nj,Xn.lC,Xn.rH]})}return R})();const Fh=["form"];function Cm(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Loop server URL is required."),t.qZA())}function Tl(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Specify the loop server url with 'https://'."),t.qZA())}function b1(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Loop macaroon path is required."),t.qZA())}let qf=(()=>{class R{constructor(b,U){this.logger=b,this.store=U,this.faInfoCircle=en.sqG,this.enableLoop=!1,this.unSubs=[new Yi.x,new Yi.x]}ngOnInit(){this.store.select(Hr.dT).pipe((0,Ki.R)(this.unSubs[0])).subscribe(b=>{this.selNode=b,this.enableLoop=!(!b.settings.swapServerUrl||""===b.settings.swapServerUrl.trim()),this.previousSelNode=JSON.parse(JSON.stringify(this.selNode)),this.logger.info(b)})}onEnableServiceChanged(b){this.enableLoop=b.checked,this.enableLoop||(this.selNode.authentication.swapMacaroonPath="",this.selNode.settings.swapServerUrl="")}onUpdateService(){if(this.selNode.settings.swapServerUrl&&""!==this.selNode.settings.swapServerUrl.trim()&&!this.form.controls.srvrUrl.value.includes("https://")&&this.form.controls.srvrUrl.setErrors({invalid:!0}),this.enableLoop&&(!this.selNode.settings.swapServerUrl||""===this.selNode.settings.swapServerUrl.trim()||!this.selNode.authentication.swapMacaroonPath||""===this.selNode.authentication.swapMacaroonPath.trim()))return!0;this.logger.info(this.selNode)}onReset(){this.selNode=JSON.parse(JSON.stringify(this.previousSelNode)),this.enableLoop=!(!this.selNode.settings.swapServerUrl||""===this.selNode.settings.swapServerUrl.trim())}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||R)(t.Y36(Se.mQ),t.Y36(zi.yh))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-loop-service-settings"]],viewQuery:function(U,Z){if(1&U&&t.Gf(Fh,7),2&U){let Ne;t.iGM(Ne=t.CRH())&&(Z.form=Ne.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(U,Z){if(1&U&&(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(Ot){return Z.enableLoop=Ot})("change",function(Ot){return Z.onEnableServiceChanged(Ot)}),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(Ot){return Z.selNode.settings.swapServerUrl=Ot}),t.qZA(),t.TgZ(22,"mat-hint"),t._uU(23,"Service url for loop server REST APIs, eg. https://127.0.0.1:8081"),t.qZA(),t.YNc(24,Cm,2,0,"mat-error",11)(25,Tl,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(Ot){return Z.selNode.authentication.swapMacaroonPath=Ot}),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,b1,2,0,"mat-error",11),t.qZA()()(),t.TgZ(33,"div",13)(34,"button",14),t.NdJ("click",function(){return Z.onReset()}),t._uU(35,"Reset"),t.qZA(),t.TgZ(36,"button",15),t.NdJ("click",function(){return Z.onUpdateService()}),t._uU(37,"Update"),t.qZA()()()),2&U){const Ne=t.MAs(21);t.xp6(2),t.Q6J("icon",Z.faInfoCircle),t.xp6(13),t.Q6J("ngModel",Z.enableLoop),t.xp6(5),t.Q6J("required",Z.enableLoop)("disabled",!Z.enableLoop)("ngModel",Z.selNode.settings.swapServerUrl),t.xp6(4),t.Q6J("ngIf",!Z.selNode.settings.swapServerUrl&&Z.enableLoop),t.xp6(1),t.Q6J("ngIf",(null==Ne||null==Ne.errors?null:Ne.errors.invalid)&&Z.enableLoop),t.xp6(4),t.Q6J("required",Z.enableLoop)("disabled",!Z.enableLoop)("ngModel",Z.selNode.authentication.swapMacaroonPath),t.xp6(3),t.Q6J("ngIf",!Z.selNode.authentication.swapMacaroonPath&&Z.enableLoop)}},dependencies:[on.O5,dt._Y,dt.Fj,dt.JJ,dt.JL,dt.Q7,dt.On,dt.F,Jr.BN,qi.xw,qi.Wh,qi.yH,Ye.lW,Tn.Nt,ut.KE,ut.hX,ut.bx,ut.TO,Re.Rr,ft.$V,vt.h],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}return R})();const Al=["form"];function y1(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Boltz server URL is required."),t.qZA())}function x1(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Specify the boltz server url with 'https://'."),t.qZA())}function qc(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Boltz macaroon path is required."),t.qZA())}let C1=(()=>{class R{constructor(b,U){this.logger=b,this.store=U,this.faInfoCircle=en.sqG,this.enableBoltz=!1,this.serverUrl="",this.macaroonPath="",this.unSubs=[new Yi.x,new Yi.x]}ngOnInit(){this.store.select(Hr.dT).pipe((0,Ki.R)(this.unSubs[0])).subscribe(b=>{this.selNode=b,this.enableBoltz=!(!b.settings.boltzServerUrl||""===b.settings.boltzServerUrl.trim()),this.serverUrl=this.selNode.settings.boltzServerUrl||"",this.macaroonPath=this.selNode.authentication.boltzMacaroonPath,this.previousSelNode=JSON.parse(JSON.stringify(this.selNode)),this.logger.info(b)})}onEnableServiceChanged(b){this.enableBoltz=b.checked,this.enableBoltz||(this.macaroonPath="",this.serverUrl="")}onUpdateService(){if(this.serverUrl&&""!==this.serverUrl.trim()&&!this.form.controls.srvrUrl.value.includes("https://")&&this.form.controls.srvrUrl.setErrors({invalid:!0}),this.enableBoltz&&(!this.serverUrl||""===this.serverUrl.trim()||!this.serverUrl.includes("https://")||!this.macaroonPath||""===this.macaroonPath.trim()))return!0;this.logger.info(this.selNode),this.selNode.settings.boltzServerUrl=this.serverUrl,this.selNode.authentication.boltzMacaroonPath=this.macaroonPath}onReset(){this.selNode=JSON.parse(JSON.stringify(this.previousSelNode)),this.serverUrl=this.selNode.settings.boltzServerUrl||"",this.macaroonPath=this.selNode.authentication.boltzMacaroonPath,this.enableBoltz=!(!this.serverUrl||""===this.serverUrl.trim())}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||R)(t.Y36(Se.mQ),t.Y36(zi.yh))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-boltz-service-settings"]],viewQuery:function(U,Z){if(1&U&&t.Gf(Al,7),2&U){let Ne;t.iGM(Ne=t.CRH())&&(Z.form=Ne.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://docs.boltz.exchange/v/boltz-client/","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(U,Z){if(1&U&&(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(Ot){return Z.enableBoltz=Ot})("change",function(Ot){return Z.onEnableServiceChanged(Ot)}),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(Ot){return Z.serverUrl=Ot}),t.qZA(),t.TgZ(22,"mat-hint"),t._uU(23,"Service url for boltz server REST APIs, eg. https://127.0.0.1:9003"),t.qZA(),t.YNc(24,y1,2,0,"mat-error",11)(25,x1,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(Ot){return Z.macaroonPath=Ot}),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,qc,2,0,"mat-error",11),t.qZA()()(),t.TgZ(33,"div",13)(34,"button",14),t.NdJ("click",function(){return Z.onReset()}),t._uU(35,"Reset"),t.qZA(),t.TgZ(36,"button",15),t.NdJ("click",function(){return Z.onUpdateService()}),t._uU(37,"Update"),t.qZA()()()),2&U){const Ne=t.MAs(21);t.xp6(2),t.Q6J("icon",Z.faInfoCircle),t.xp6(13),t.Q6J("ngModel",Z.enableBoltz),t.xp6(5),t.Q6J("required",Z.enableBoltz)("disabled",!Z.enableBoltz)("ngModel",Z.serverUrl),t.xp6(4),t.Q6J("ngIf",(!Z.serverUrl||""===Z.serverUrl.trim())&&Z.enableBoltz),t.xp6(1),t.Q6J("ngIf",(null==Ne||null==Ne.errors?null:Ne.errors.invalid)&&Z.enableBoltz),t.xp6(4),t.Q6J("required",Z.enableBoltz)("disabled",!Z.enableBoltz)("ngModel",Z.macaroonPath),t.xp6(3),t.Q6J("ngIf",!Z.macaroonPath&&Z.enableBoltz)}},dependencies:[on.O5,dt._Y,dt.Fj,dt.JJ,dt.JL,dt.Q7,dt.On,dt.F,Jr.BN,qi.xw,qi.Wh,qi.yH,Ye.lW,Tn.Nt,ut.KE,ut.hX,ut.bx,ut.TO,Re.Rr,ft.$V,vt.h],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}return R})(),B2=(()=>{class R{constructor(){}static#e=this.\u0275fac=function(U){return new(U||R)};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-ln-services"]],decls:1,vars:0,template:function(U,Z){1&U&&t._UZ(0,"router-outlet")},dependencies:[Xn.lC]})}return R})();var U2=p(5487),ss=p(3149),js=p(1476),Ks=p(3566),gr=p(5313),Td=p(6007);function w1(R,z){if(1&R&&(t.TgZ(0,"mat-option",37),t._uU(1),t.qZA()),2&R){const b=z.$implicit,U=t.oxw();t.Q6J("value",b),t.xp6(1),t.Oqu(U.getLabel(b))}}function G2(R,z){1&R&&t._UZ(0,"mat-progress-bar",38)}function Xf(R,z){1&R&&(t.TgZ(0,"th",39),t._uU(1,"State"),t.qZA())}function Z2(R,z){if(1&R&&(t.TgZ(0,"td",40),t._uU(1),t.qZA()),2&R){const b=z.$implicit,U=t.oxw();t.xp6(1),t.Oqu(U.LoopStateEnum[null==b?null:b.state])}}function zh(R,z){1&R&&(t.TgZ(0,"th",39),t._uU(1,"Initiation Time"),t.qZA())}function Vh(R,z){if(1&R&&(t.TgZ(0,"td",40),t._uU(1),t.ALo(2,"date"),t.qZA()),2&R){const b=z.$implicit;t.xp6(1),t.Oqu(t.xi3(2,1,(null==b?null:b.initiation_time)/1e6,"dd/MMM/y HH:mm"))}}function ac(R,z){1&R&&(t.TgZ(0,"th",39),t._uU(1,"Last Update Time"),t.qZA())}function W2(R,z){if(1&R&&(t.TgZ(0,"td",40),t._uU(1),t.ALo(2,"date"),t.qZA()),2&R){const b=z.$implicit;t.xp6(1),t.Oqu(t.xi3(2,1,(null==b?null:b.last_update_time)/1e6,"dd/MMM/y HH:mm"))}}function M1(R,z){1&R&&(t.TgZ(0,"th",41),t._uU(1,"Amount (Sats)"),t.qZA())}function oc(R,z){if(1&R&&(t.TgZ(0,"td",40)(1,"span",42),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&R){const b=z.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==b?null:b.amt))}}function Bh(R,z){1&R&&(t.TgZ(0,"th",41),t._uU(1,"Cost Server (Sats)"),t.qZA())}function Y2(R,z){if(1&R&&(t.TgZ(0,"td",40)(1,"span",42),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&R){const b=z.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==b?null:b.cost_server))}}function Ad(R,z){1&R&&(t.TgZ(0,"th",41),t._uU(1,"Cost Offchain (Sats)"),t.qZA())}function Xc(R,z){if(1&R&&(t.TgZ(0,"td",40)(1,"span",42),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&R){const b=z.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==b?null:b.cost_offchain))}}function Dl(R,z){1&R&&(t.TgZ(0,"th",41),t._uU(1,"Cost Onchain (Sats)"),t.qZA())}function $a(R,z){if(1&R&&(t.TgZ(0,"td",40)(1,"span",42),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&R){const b=z.$implicit;t.xp6(2),t.hij(" ",t.lcZ(3,1,null==b?null:b.cost_onchain)," ")}}function Uh(R,z){1&R&&(t.TgZ(0,"th",39),t._uU(1,"HTLC Address"),t.qZA())}const Dd=R=>({width:R});function j2(R,z){if(1&R&&(t.TgZ(0,"td",40)(1,"span",43)(2,"span",44),t._uU(3),t.qZA()()()),2&R){const b=z.$implicit,U=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Dd,U.screenSize===U.screenSizeEnum.XS?"6rem":U.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.htlc_address)}}function Jf(R,z){1&R&&(t.TgZ(0,"th",39),t._uU(1,"ID"),t.qZA())}function Gh(R,z){if(1&R&&(t.TgZ(0,"td",40)(1,"span",43)(2,"span",44),t._uU(3),t.qZA()()()),2&R){const b=z.$implicit,U=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Dd,U.screenSize===U.screenSizeEnum.XS?"6rem":U.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.id)}}function Ll(R,z){1&R&&(t.TgZ(0,"th",39),t._uU(1,"ID (Bytes)"),t.qZA())}function Il(R,z){if(1&R&&(t.TgZ(0,"td",40)(1,"span",43)(2,"span",44),t._uU(3),t.qZA()()()),2&R){const b=z.$implicit,U=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Dd,U.screenSize===U.screenSizeEnum.XS?"6rem":U.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.id_bytes)}}function Tc(R,z){if(1&R){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 Z=t.oxw();return t.KtG(Z.onDownloadCSV())}),t._uU(5,"Download CSV"),t.qZA()()()()}}function kl(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"td",49)(1,"button",50),t.NdJ("click",function(Z){const Ot=t.CHM(b).$implicit,$t=t.oxw();return t.KtG($t.onSwapClick(Ot,Z))}),t._uU(2,"View Info"),t.qZA()()}}function Ol(R,z){if(1&R&&(t.TgZ(0,"p"),t._uU(1),t.qZA()),2&R){const b=t.oxw(2);t.xp6(1),t.Oqu(b.emptyTableMessage)}}function Ld(R,z){if(1&R&&(t.TgZ(0,"td",51),t.YNc(1,Ol,2,1,"p",52),t.qZA()),2&R){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 Qs=R=>({"display-none":R});function wm(R,z){if(1&R&&t._UZ(0,"tr",53),2&R){const b=t.oxw();t.Q6J("ngClass",t.VKq(1,Qs,(null==b.listSwaps?null:b.listSwaps.data)&&(null==b.listSwaps||null==b.listSwaps.data?null:b.listSwaps.data.length)>0))}}function K2(R,z){1&R&&t._UZ(0,"tr",54)}function Mm(R,z){1&R&&t._UZ(0,"tr",55)}const $f=()=>["all"],e3=R=>({"overflow-auto error-border":R,"overflow-auto":!0}),t3=()=>["no_swap"];let Id=(()=>{class R{constructor(b,U,Z,Ne,Ot,$t){this.logger=b,this.commonService=U,this.store=Z,this.loopService=Ne,this.datePipe=Ot,this.camelCaseWithReplace=$t,this.selectedSwapType=Yt.$I.LOOP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=Yt.hG,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="loop",this.tableSetting={tableId:"loop",recordsPerPage:Yt.IV,sortBy:"initiation_time",sortOrder:Yt.Pi.DESCENDING},this.LoopStateEnum=Yt.Fq,this.faHistory=en.qO$,this.swapCaption="Loop Out",this.displayedColumns=[],this.listSwaps=new gr.by([]),this.selFilter="",this.pageSize=Yt.IV,this.pageSizeOptions=Yt.TJ,this.screenSize="",this.screenSizeEnum=Yt.cu,this.unSubs=[new Yi.x,new Yi.x,new Yi.x],this.screenSize=this.commonService.getScreenSize()}ngOnChanges(b){this.swapCaption=this.selectedSwapType===Yt.$I.LOOP_IN?"Loop In":"Loop Out",this.loadSwapsTable(this.swapsData)}ngOnInit(){this.store.select(Uo.Pr).pipe((0,Ki.R)(this.unSubs[0])).subscribe(b=>{this.tableSetting=b.pageSettings.find(U=>U.pageId===this.PAGE_ID)?.tables.find(U=>U.tableId===this.tableSetting.tableId)||Yt.gK.find(U=>U.pageId===this.PAGE_ID)?.tables.find(U=>U.tableId===this.tableSetting.tableId),this.displayedColumns=this.screenSize===Yt.cu.XS||this.screenSize===Yt.cu.SM?JSON.parse(JSON.stringify(this.tableSetting.columnSelectionSM)):JSON.parse(JSON.stringify(this.tableSetting.columnSelection)),this.displayedColumns.push("actions"),this.pageSize=this.tableSetting.recordsPerPage?+this.tableSetting.recordsPerPage:Yt.IV,this.swapsData&&this.sort&&this.paginator&&this.displayedColumns.length>0&&this.loadSwapsTable(this.swapsData),this.colWidth=this.displayedColumns.length?this.commonService.getContainerSize().width/this.displayedColumns.length/14+"rem":"20rem",this.logger.info(this.displayedColumns)})}ngAfterViewInit(){this.swapsData&&this.swapsData.length>0&&this.loadSwapsTable(this.swapsData)}applyFilter(){this.listSwaps.filter=this.selFilter.trim().toLowerCase()}getLabel(b){const U=this.nodePageDefs[this.PAGE_ID][this.tableSetting.tableId].allowedColumns.find(Z=>Z.column===b);return U?U.label?U.label:this.camelCaseWithReplace.transform(U.column,"_"):this.commonService.titleCase(b)}setFilterPredicate(){this.listSwaps.filterPredicate=(b,U)=>{let Z="";switch(this.selFilterBy){case"all":Z=JSON.stringify(b).toLowerCase();break;case"state":Z=b?.state?this.LoopStateEnum[b?.state]:"";break;case"initiation_time":case"last_update_time":Z=this.datePipe.transform(new Date((b[this.selFilterBy]||0)/1e6),"dd/MMM/y HH:mm")?.toLowerCase()||"";break;default:Z=typeof b[this.selFilterBy]>"u"?"":"string"==typeof b[this.selFilterBy]?b[this.selFilterBy].toLowerCase():"boolean"==typeof b[this.selFilterBy]?b[this.selFilterBy]?"yes":"no":b[this.selFilterBy].toString()}return"state"===this.selFilterBy?0===Z.indexOf(U):Z.includes(U)}}onSwapClick(b,U){this.loopService.getSwap(b.id_bytes?.replace(/\//g,"_")?.replace(/\+/g,"-")||"").pipe((0,Ki.R)(this.unSubs[1])).subscribe(Z=>{this.store.dispatch((0,yn.qR)({payload:{data:{type:Yt.n_.INFORMATION,alertTitle:this.swapCaption+" Status",message:[[{key:"state",value:Yt.Fq[Z.state||""],title:"Status",width:50,type:Yt.Gi.STRING},{key:"amt",value:Z.amt,title:"Amount (Sats)",width:50,type:Yt.Gi.NUMBER}],[{key:"initiation_time",value:(Z.initiation_time||0)/1e9,title:"Initiation Time",width:50,type:Yt.Gi.DATE_TIME},{key:"last_update_time",value:(Z.last_update_time||0)/1e9,title:"Last Update Time",width:50,type:Yt.Gi.DATE_TIME}],[{key:"cost_server",value:Z.cost_server,title:"Server Cost (Sats)",width:33,type:Yt.Gi.NUMBER},{key:"cost_offchain",value:Z.cost_offchain,title:"Offchain Cost (Sats)",width:33,type:Yt.Gi.NUMBER},{key:"cost_onchain",value:Z.cost_onchain,title:"Onchain Cost (Sats)",width:34,type:Yt.Gi.NUMBER}],[{key:"id_bytes",value:Z.id_bytes,title:"ID",width:100,type:Yt.Gi.STRING}],[{key:"htlc_address",value:Z.htlc_address,title:"HTLC Address",width:100,type:Yt.Gi.STRING}]],openedBy:"SWAP"}}}))})}loadSwapsTable(b){this.listSwaps=new gr.by([...b]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(U,Z)=>U[Z]&&isNaN(U[Z])?U[Z].toLocaleLowerCase():U[Z]?+U[Z]:null,this.listSwaps.paginator=this.paginator,this.setFilterPredicate(),this.applyFilter(),this.logger.info(this.listSwaps)}onDownloadCSV(){this.listSwaps.data&&this.listSwaps.data.length>0&&this.commonService.downloadFile(this.listSwaps.data,this.selectedSwapType===Yt.$I.LOOP_IN?"Loop in":"Loop out")}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||R)(t.Y36(Se.mQ),t.Y36($r.v),t.Y36(zi.yh),t.Y36(ss.W),t.Y36(on.uU),t.Y36(Ns.D3))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-swaps"]],viewQuery:function(U,Z){if(1&U&&(t.Gf(Ks.YE,5),t.Gf(js.NW,5)),2&U){let Ne;t.iGM(Ne=t.CRH())&&(Z.sort=Ne.first),t.iGM(Ne=t.CRH())&&(Z.paginator=Ne.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},features:[t._Bn([{provide:ti.PG,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:js.ye,useValue:(0,Yt.pt)("Swaps")}]),t.TTD],decls:61,vars:20,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start start",1,"card-content-gap"],["fxLayout","column","fxLayout.gt-xs","row","fxLayoutAlign.gt-xs","start center","fxLayoutAlign","start stretch","fxFlex","100",1,"page-sub-title-container","w-100"],["fxFlex","70"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxFlex.gt-xs","30","fxLayoutAlign.gt-xs","space-between center","fxLayout","row","fxLayoutAlign","space-between stretch"],["fxLayout","column","fxFlex","49"],["tabindex","1","name","filterBy",3,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["matInput","","name","filter",3,"ngModel","ngModelChange","input","keyup"],["fxLayout","row","fxLayoutAlign","start center",1,"w-100"],["fxFlex","100",1,"table-container",3,"perfectScrollbar"],["mode","indeterminate",4,"ngIf"],["mat-table","","matSort","",3,"matSortActive","matSortDirection","dataSource","ngClass"],["table",""],["matColumnDef","state"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","initiation_time"],["matColumnDef","last_update_time"],["matColumnDef","amt"],["mat-header-cell","","mat-sort-header","","arrowPosition","before",4,"matHeaderCellDef"],["matColumnDef","cost_server"],["matColumnDef","cost_offchain"],["matColumnDef","cost_onchain"],["matColumnDef","htlc_address"],["matColumnDef","id"],["matColumnDef","id_bytes"],["matColumnDef","actions"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","fxLayoutAlign","end center",4,"matCellDef"],["matColumnDef","no_swap"],["mat-footer-cell","","colspan","4",4,"matFooterCellDef"],["mat-footer-row","",3,"ngClass",4,"matFooterRowDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"mb-1",3,"pageSize","pageSizeOptions","showFirstLastButtons"],[3,"value"],["mode","indeterminate"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-cell","","mat-sort-header","","arrowPosition","before"],["fxLayoutAlign","end center"],["fxLayout.gt-xs","row",1,"ellipsis-parent",3,"ngStyle"],[1,"ellipsis-child"],["mat-header-cell",""],["fxLayoutAlign","center center",1,"bordered-box","table-actions-select"],["placeholder","Actions","tabindex","1",1,"mr-0"],[3,"click"],["mat-cell","","fxLayoutAlign","end center"],["mat-stroked-button","","color","primary","type","button","tabindex","4",1,"table-actions-button",3,"click"],["mat-footer-cell","","colspan","4"],[4,"ngIf"],["mat-footer-row","",3,"ngClass"],["mat-header-row",""],["mat-row",""]],template:function(U,Z){1&U&&(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(Ot){return Z.selFilterBy=Ot})("selectionChange",function(){return Z.selFilter="",Z.applyFilter()}),t.TgZ(11,"perfect-scrollbar"),t.YNc(12,w1,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(Ot){return Z.selFilter=Ot})("input",function(){return Z.applyFilter()})("keyup",function(){return Z.applyFilter()}),t.qZA()()()(),t.TgZ(17,"div",10)(18,"div",11),t.YNc(19,G2,1,0,"mat-progress-bar",12),t.TgZ(20,"table",13,14),t.ynx(22,15),t.YNc(23,Xf,2,0,"th",16)(24,Z2,2,1,"td",17),t.BQk(),t.ynx(25,18),t.YNc(26,zh,2,0,"th",16)(27,Vh,3,4,"td",17),t.BQk(),t.ynx(28,19),t.YNc(29,ac,2,0,"th",16)(30,W2,3,4,"td",17),t.BQk(),t.ynx(31,20),t.YNc(32,M1,2,0,"th",21)(33,oc,4,3,"td",17),t.BQk(),t.ynx(34,22),t.YNc(35,Bh,2,0,"th",21)(36,Y2,4,3,"td",17),t.BQk(),t.ynx(37,23),t.YNc(38,Ad,2,0,"th",21)(39,Xc,4,3,"td",17),t.BQk(),t.ynx(40,24),t.YNc(41,Dl,2,0,"th",21)(42,$a,4,3,"td",17),t.BQk(),t.ynx(43,25),t.YNc(44,Uh,2,0,"th",16)(45,j2,4,4,"td",17),t.BQk(),t.ynx(46,26),t.YNc(47,Jf,2,0,"th",16)(48,Gh,4,4,"td",17),t.BQk(),t.ynx(49,27),t.YNc(50,Ll,2,0,"th",16)(51,Il,4,4,"td",17),t.BQk(),t.ynx(52,28),t.YNc(53,Tc,6,0,"th",29)(54,kl,3,0,"td",30),t.BQk(),t.ynx(55,31),t.YNc(56,Ld,2,1,"td",32),t.BQk(),t.YNc(57,wm,1,3,"tr",33)(58,K2,1,0,"tr",34)(59,Mm,1,0,"tr",35),t.qZA(),t._UZ(60,"mat-paginator",36),t.qZA()()()),2&U&&(t.xp6(3),t.Q6J("icon",Z.faHistory),t.xp6(2),t.hij("",Z.swapCaption," History"),t.xp6(5),t.Q6J("ngModel",Z.selFilterBy),t.xp6(2),t.Q6J("ngForOf",t.DdM(16,$f).concat(Z.displayedColumns.slice(0,-1))),t.xp6(4),t.Q6J("ngModel",Z.selFilter),t.xp6(3),t.Q6J("ngIf",!0===Z.flgLoading[0]),t.xp6(1),t.Q6J("matSortActive",Z.tableSetting.sortBy)("matSortDirection",Z.tableSetting.sortOrder)("dataSource",Z.listSwaps)("ngClass",t.VKq(17,e3,"error"===Z.flgLoading[0])),t.xp6(37),t.Q6J("matFooterRowDef",t.DdM(19,t3)),t.xp6(1),t.Q6J("matHeaderRowDef",Z.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",Z.displayedColumns),t.xp6(1),t.Q6J("pageSize",Z.pageSize)("pageSizeOptions",Z.pageSizeOptions)("showFirstLastButtons",Z.screenSize!==Z.screenSizeEnum.XS))},dependencies:[on.mk,on.sg,on.O5,on.PC,dt.Fj,dt.JJ,dt.On,Jr.BN,qi.xw,qi.Wh,qi.yH,me.oO,me.Zl,Ye.lW,Tn.Nt,ut.KE,ut.hX,Td.pW,ti.gD,ti.$L,Pe.ey,Ks.YE,Ks.nU,gr.BZ,gr.fO,gr.as,gr.w1,gr.Dz,gr.nj,gr.mD,gr.Ke,gr.ge,gr.ev,gr.yh,gr.XQ,gr.Gk,gr.Q2,js.NW,ft.Vv,ft.$V,on.JJ,on.uU]})}return R})();const Q2=R=>["../",R];function Zo(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",11),t.NdJ("click",function(){const Ne=t.CHM(b).$implicit,Ot=t.oxw();return t.KtG(Ot.onSelectedIndexChange(Ne))}),t._uU(1),t.qZA()}if(2&R){const b=z.$implicit,U=t.oxw();t.Q6J("active",U.activeTab.link===b.link)("routerLink",t.VKq(3,Q2,b.link)),t.xp6(1),t.Oqu(b.name)}}let i3=(()=>{class R{constructor(b,U,Z){this.router=b,this.loopService=U,this.store=Z,this.faInfinity=en.vqe,this.loopInfo=null,this.targetConf=2,this.inAmount=25e4,this.quotes=[],this.LoopTypeEnum=Yt.$I,this.selectedSwapType=Yt.$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 Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x]}ngOnInit(){this.store.dispatch((0,yn.ac)({payload:Yt.m6.GET_LOOP_INFO})),this.loopService.getLoopInfo().pipe((0,Ki.R)(this.unSubs[4])).subscribe({next:U=>{this.store.dispatch((0,yn.uO)({payload:Yt.m6.GET_LOOP_INFO})),this.loopInfo=U,this.loopInfo&&this.loopInfo.version&&(this.loopInfo.version=this.loopInfo.version.split(" ")[0])},error:U=>{this.store.dispatch((0,yn.uO)({payload:Yt.m6.GET_LOOP_INFO})),this.loopInfo.version=" Unknown"}}),this.loopService.listSwaps();const b=this.links.find(U=>this.router.url.includes(U.link));this.activeTab=b||this.links[0],this.selectedSwapType=b&&"loopin"===b.link?Yt.$I.LOOP_IN:Yt.$I.LOOP_OUT,this.router.events.pipe((0,Ki.R)(this.unSubs[0]),(0,dr.h)(U=>U instanceof Xn.Av)).subscribe({next:U=>{const Z=this.links.find(Ne=>U.urlAfterRedirects.includes(Ne.link));this.activeTab=Z||this.links[0],this.selectedSwapType=Z&&"loopin"===Z.link?Yt.$I.LOOP_IN:Yt.$I.LOOP_OUT}}),this.loopService.swapsChanged.pipe((0,Ki.R)(this.unSubs[1])).subscribe({next:U=>{this.flgLoading[0]=!1,this.storedSwaps=U,this.filteredSwaps=this.storedSwaps?.filter(Z=>Z.type===this.selectedSwapType)},error:U=>{this.flgLoading[0]="error",this.emptyTableMessage=U.message?U.message:"No loop "+(this.selectedSwapType===Yt.$I.LOOP_IN?"in":"out")+" available."}})}onSelectedIndexChange(b){this.selectedSwapType="loopin"===b.link?Yt.$I.LOOP_IN:Yt.$I.LOOP_OUT,this.filteredSwaps=this.storedSwaps?.filter(U=>U.type===this.selectedSwapType)}onLoop(b){b===Yt.$I.LOOP_IN?this.loopService.getLoopInTermsAndQuotes(this.targetConf).pipe((0,Ki.R)(this.unSubs[2])).subscribe({next:U=>{this.store.dispatch((0,yn.qR)({payload:{data:{minQuote:U[0],maxQuote:U[1],direction:b,component:U2.a}}}))}}):this.loopService.getLoopOutTermsAndQuotes(this.targetConf).pipe((0,Ki.R)(this.unSubs[3])).subscribe({next:U=>{this.store.dispatch((0,yn.qR)({payload:{data:{minQuote:U[0],maxQuote:U[1],direction:b,component:U2.a}}}))}})}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||R)(t.Y36(Xn.F0),t.Y36(ss.W),t.Y36(zi.yh))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-loop"]],decls:15,vars:9,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"],["tabindex","1","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","2",3,"click"],["fxLayout","row","fxFlex","100",3,"selectedSwapType","swapsData","flgLoading","emptyTableMessage"],["tabindex","1","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"]],template:function(U,Z){if(1&U&&(t.TgZ(0,"div",0),t._UZ(1,"fa-icon",1),t.TgZ(2,"span",2),t._uU(3),t.qZA()(),t.TgZ(4,"div",3)(5,"mat-card")(6,"mat-card-content",4)(7,"nav",5),t.YNc(8,Zo,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 Z.onLoop(Z.selectedSwapType)}),t._uU(13),t.qZA()(),t._UZ(14,"rtl-swaps",10),t.qZA()()()),2&U){const Ne=t.MAs(10);t.xp6(1),t.Q6J("icon",Z.faInfinity),t.xp6(2),t.hij("Loop (v",(null==Z.loopInfo?null:Z.loopInfo.version)||" Unknown",")"),t.xp6(4),t.Q6J("tabPanel",Ne),t.xp6(1),t.Q6J("ngForOf",Z.links),t.xp6(5),t.hij("Start ",Z.activeTab.name,""),t.xp6(1),t.Q6J("selectedSwapType",Z.selectedSwapType)("swapsData",Z.filteredSwaps)("flgLoading",Z.flgLoading)("emptyTableMessage",Z.emptyTableMessage)}},dependencies:[on.sg,Jr.BN,qi.xw,qi.Wh,qi.yH,Ye.lW,rr.a8,rr.dn,na.BU,na.sW,na.Nj,Xn.rH,Id]})}return R})();var kd=p(8291),Wa=p(5619),Pl=p(8504),zs=p(6306),q2=p(3315);let lo=(()=>{class R{constructor(b,U,Z,Ne){this.httpClient=b,this.logger=U,this.store=Z,this.commonService=Ne,this.swapUrl="",this.swaps={},this.boltzInfo=null,this.boltzInfoChanged=new Wa.X(null),this.swapsChanged=new Wa.X({}),this.unSubs=[new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x]}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,yn.ac)({payload:Yt.m6.GET_BOLTZ_SWAPS})),this.swapUrl=Yt.T5+Yt.vv.BOLTZ_API+"/listSwaps",this.httpClient.get(this.swapUrl).pipe((0,Ki.R)(this.unSubs[0])).subscribe({next:b=>{this.store.dispatch((0,yn.uO)({payload:Yt.m6.GET_BOLTZ_SWAPS})),this.swaps=b,this.swapsChanged.next(this.swaps)},error:b=>this.swapsChanged.error(this.handleErrorWithAlert(Yt.m6.GET_BOLTZ_SWAPS,this.swapUrl,b))})}swapInfo(b){return this.swapUrl=Yt.T5+Yt.vv.BOLTZ_API+"/swapInfo/"+b,this.httpClient.get(this.swapUrl).pipe((0,zs.K)(U=>(0,da.of)(this.handleErrorWithAlert(Yt.m6.NO_SPINNER,this.swapUrl,U))))}getBoltzInfo(){this.store.dispatch((0,yn.ac)({payload:Yt.m6.GET_BOLTZ_INFO})),this.swapUrl=Yt.T5+Yt.vv.BOLTZ_API+"/info",this.httpClient.get(this.swapUrl).pipe((0,Ki.R)(this.unSubs[1])).subscribe({next:b=>{this.store.dispatch((0,yn.uO)({payload:Yt.m6.GET_BOLTZ_INFO})),this.boltzInfo=b,this.boltzInfoChanged.next(this.boltzInfo)},error:b=>(this.boltzInfo={version:"2.0.0"},this.boltzInfoChanged.next(this.boltzInfo),(0,da.of)(this.handleErrorWithoutAlert(Yt.m6.GET_BOLTZ_INFO,this.swapUrl,b)))})}serviceInfo(){return this.store.dispatch((0,yn.ac)({payload:Yt.m6.GET_SERVICE_INFO})),this.swapUrl=Yt.T5+Yt.vv.BOLTZ_API+"/serviceInfo",this.httpClient.get(this.swapUrl).pipe((0,Ki.R)(this.unSubs[2]),(0,Rr.U)(b=>(this.store.dispatch((0,yn.uO)({payload:Yt.m6.GET_SERVICE_INFO})),b)),(0,zs.K)(b=>(0,da.of)(this.handleErrorWithAlert(Yt.m6.GET_SERVICE_INFO,this.swapUrl,b))))}swapOut(b,U,Z){const Ne={amount:b,address:U,acceptZeroConf:Z};return this.swapUrl=Yt.T5+Yt.vv.BOLTZ_API+"/createreverseswap",this.httpClient.post(this.swapUrl,Ne).pipe((0,zs.K)(Ot=>this.handleErrorWithoutAlert("Swap Out for Address: "+U,Yt.m6.NO_SPINNER,Ot)))}swapIn(b,U){const Z={amount:b,sendFromInternal:U};return this.swapUrl=Yt.T5+Yt.vv.BOLTZ_API+"/createswap",this.httpClient.post(this.swapUrl,Z).pipe((0,zs.K)(Ne=>this.handleErrorWithoutAlert("Swap In for Amount: "+b,Yt.m6.NO_SPINNER,Ne)))}handleErrorWithoutAlert(b,U,Z){let Ne="";return this.logger.error("ERROR IN: "+b+"\n"+JSON.stringify(Z)),this.store.dispatch((0,yn.uO)({payload:U})),401===Z.status?(Ne="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,yn.kS)())):503===Z.status?(Ne="Unable to Connect to Boltz Server.",this.store.dispatch((0,yn.qR)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:Z.status,message:"Unable to Connect to Boltz Server",URL:b},component:q2.H}}}))):Ne=this.commonService.extractErrorMessage(Z),(0,Pl._)(()=>new Error(Ne))}handleErrorWithAlert(b,U,Z){let Ne="";if(401===Z.status&&(this.logger.info("Redirecting to Login"),this.store.dispatch((0,yn.kS)())),this.logger.error(Z),this.store.dispatch((0,yn.uO)({payload:b})),401===Z.status)Ne="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,yn.kS)());else if(503===Z.status)Ne="Unable to Connect to Boltz Server.",setTimeout(()=>{this.store.dispatch((0,yn.qR)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:Z.status,message:"Unable to Connect to Boltz Server",URL:U},component:q2.H}}}))},100);else{Ne=this.commonService.extractErrorMessage(Z);const Ot=Z.error&&Z.error.error&&Z.error.error.code?Z.error.error.code:Z.error&&Z.error.code?Z.error.code:Z.code?Z.code:Z.status;setTimeout(()=>{this.store.dispatch((0,yn.qR)({payload:{data:{type:Yt.n_.ERROR,alertTitle:"ERROR",message:{code:Ot,message:Ne,URL:U},component:q2.H}}}))},100)}return{message:Ne}}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||R)(t.LFG(bo.eN),t.LFG(Se.mQ),t.LFG(zi.yh),t.LFG($r.v))};static#t=this.\u0275prov=t.Yz7({token:R,factory:R.\u0275fac})}return R})();function cs(R,z){1&R&&t.GkF(0)}function Od(R,z){if(1&R&&(t.TgZ(0,"div",4)(1,"span",5),t._uU(2),t.qZA()()),2&R){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 sc(R,z){if(1&R&&(t.TgZ(0,"div",7)(1,"h4",8),t._uU(2,"Routing Fee (mSats)"),t.qZA(),t.TgZ(3,"span",5),t._uU(4),t.ALo(5,"number"),t.qZA()()),2&R){const b=t.oxw(2);t.xp6(4),t.Oqu(t.lcZ(5,1,null==b.swapStatus?null:b.swapStatus.routingFeeMilliSat))}}function Rl(R,z){if(1&R&&(t.TgZ(0,"div",7)(1,"h4",8),t._uU(2,"Claim Transaction ID"),t.qZA(),t.TgZ(3,"span",5),t._uU(4),t.qZA()()),2&R){const b=t.oxw(2);t.xp6(4),t.Oqu(null==b.swapStatus?null:b.swapStatus.claimTransactionId)}}function S1(R,z){if(1&R&&(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.YNc(7,sc,6,3,"div",9)(8,Rl,5,1,"div",9),t.qZA(),t._UZ(9,"mat-divider",10),t.TgZ(10,"div",6)(11,"div",11)(12,"h4",8),t._uU(13,"Lockup Address"),t.qZA(),t.TgZ(14,"span",5),t._uU(15),t.qZA()()()()),2&R){const b=t.oxw();t.xp6(6),t.Oqu(null==b.swapStatus?null:b.swapStatus.id),t.xp6(1),t.Q6J("ngIf",b.acceptZeroConf),t.xp6(1),t.Q6J("ngIf",b.acceptZeroConf),t.xp6(7),t.Oqu(null==b.swapStatus?null:b.swapStatus.lockupAddress)}}function Nl(R,z){1&R&&(t.TgZ(0,"span",22),t._uU(1,"N/A"),t.qZA())}function Pd(R,z){1&R&&(t.TgZ(0,"span",23),t._uU(1,"QR Code Not Applicable"),t.qZA())}function n3(R,z){1&R&&t._UZ(0,"mat-divider",24),2&R&&t.Q6J("inset",!0)}function ls(R,z){if(1&R&&(t.TgZ(0,"div",6)(1,"div",11)(2,"h4",8),t._uU(3,"Transaction ID"),t.qZA(),t.TgZ(4,"span",5),t._uU(5),t.qZA()()()),2&R){const b=t.oxw(2);t.xp6(5),t.Oqu(null==b.swapStatus?null:b.swapStatus.txId)}}function X2(R,z){if(1&R&&(t.TgZ(0,"div",6)(1,"div",25)(2,"h4",8),t._uU(3,"ID"),t.qZA(),t.TgZ(4,"span",5),t._uU(5),t.qZA()(),t.TgZ(6,"div",25)(7,"h4",8),t._uU(8,"Expected Amount (Sats)"),t.qZA(),t.TgZ(9,"span",5),t._uU(10),t.ALo(11,"number"),t.qZA()()()),2&R){const b=t.oxw(2);t.xp6(5),t.Oqu(null==b.swapStatus?null:b.swapStatus.id),t.xp6(5),t.Oqu(t.lcZ(11,2,null==b.swapStatus?null:b.swapStatus.expectedAmount))}}function Hl(R,z){1&R&&t._UZ(0,"mat-divider",10)}function Sm(R,z){if(1&R&&(t.TgZ(0,"div",6)(1,"div",11)(2,"h4",8),t._uU(3,"Address"),t.qZA(),t.TgZ(4,"span",5),t._uU(5),t.qZA()()()),2&R){const b=t.oxw(2);t.xp6(5),t.Oqu(null==b.swapStatus?null:b.swapStatus.address)}}function Zh(R,z){1&R&&t._UZ(0,"mat-divider",10)}function r3(R,z){if(1&R&&(t.TgZ(0,"div",6)(1,"div",11)(2,"h4",8),t._uU(3,"BIP 21"),t.qZA(),t.TgZ(4,"span",5),t._uU(5),t.qZA()()()),2&R){const b=t.oxw(2);t.xp6(5),t.Oqu(null==b.swapStatus?null:b.swapStatus.bip21)}}const Wh=R=>({"display-none":R});function J2(R,z){if(1&R&&(t.TgZ(0,"div",12)(1,"div",13),t._UZ(2,"qr-code",14),t.YNc(3,Nl,2,0,"span",15),t.qZA(),t.TgZ(4,"div",16)(5,"div",4)(6,"div",17),t._UZ(7,"qr-code",14),t.YNc(8,Pd,2,0,"span",18),t.qZA(),t.YNc(9,n3,1,1,"mat-divider",19)(10,ls,6,1,"div",20)(11,X2,12,4,"div",20)(12,Hl,1,0,"mat-divider",21)(13,Sm,6,1,"div",20)(14,Zh,1,0,"mat-divider",21)(15,r3,6,1,"div",20),t.qZA()()()),2&R){const b=t.oxw();t.xp6(1),t.Q6J("fxLayoutAlign",""!==((null==b.swapStatus?null:b.swapStatus.txId)||(null==b.swapStatus?null:b.swapStatus.address))?"center start":"center center")("ngClass",t.VKq(19,Wh,b.screenSize===b.screenSizeEnum.XS||b.screenSize===b.screenSizeEnum.SM)),t.xp6(1),t.Q6J("value",(null==b.swapStatus?null:b.swapStatus.txId)||(null==b.swapStatus?null:b.swapStatus.address))("size",b.qrWidth)("errorCorrectionLevel","L"),t.xp6(1),t.Q6J("ngIf",""===((null==b.swapStatus?null:b.swapStatus.txId)||(null==b.swapStatus?null:b.swapStatus.address))),t.xp6(3),t.Q6J("fxLayoutAlign",""!==((null==b.swapStatus?null:b.swapStatus.txId)||(null==b.swapStatus?null:b.swapStatus.address))?"center start":"center center")("ngClass",t.VKq(21,Wh,b.screenSize!==b.screenSizeEnum.XS&&b.screenSize!==b.screenSizeEnum.SM)),t.xp6(1),t.Q6J("value",(null==b.swapStatus?null:b.swapStatus.txId)||(null==b.swapStatus?null:b.swapStatus.address))("size",b.qrWidth)("errorCorrectionLevel","L"),t.xp6(1),t.Q6J("ngIf",""===((null==b.swapStatus?null:b.swapStatus.txId)||(null==b.swapStatus?null:b.swapStatus.address))),t.xp6(1),t.Q6J("ngIf",b.screenSize===b.screenSizeEnum.XS||b.screenSize===b.screenSizeEnum.SM),t.xp6(1),t.Q6J("ngIf",b.sendFromInternal),t.xp6(1),t.Q6J("ngIf",!b.sendFromInternal),t.xp6(1),t.Q6J("ngIf",!b.sendFromInternal),t.xp6(1),t.Q6J("ngIf",!b.sendFromInternal),t.xp6(1),t.Q6J("ngIf",!b.sendFromInternal),t.xp6(1),t.Q6J("ngIf",!b.sendFromInternal)}}let $2=(()=>{class R{constructor(b){this.commonService=b,this.swapStatus=null,this.direction=Yt.hc.SWAP_OUT,this.acceptZeroConf=!1,this.sendFromInternal=!0,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=Yt.cu,this.swapTypeEnum=Yt.hc}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.screenSize===Yt.cu.XS&&(this.qrWidth=180)}static#e=this.\u0275fac=function(U){return new(U||R)(t.Y36($r.v))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-boltz-swap-status"]],inputs:{swapStatus:"swapStatus",direction:"direction",acceptZeroConf:"acceptZeroConf",sendFromInternal:"sendFromInternal"},decls:7,vars:1,consts:[[4,"ngTemplateOutlet"],["swapFailedBlock",""],["swapOutBlock",""],["swapInBlock",""],["fxLayout","column"],[1,"foreground-secondary-text"],["fxLayout","row"],["fxFlex","33"],["fxLayoutAlign","start",1,"font-bold-500"],["fxFlex","33",4,"ngIf"],[1,"w-100","my-1"],["fxFlex","100"],["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","35",1,"modal-qr-code-container","padding-gap-large",3,"fxLayoutAlign","ngClass"],[3,"value","size","errorCorrectionLevel"],["class","font-size-300",4,"ngIf"],["fxFlex","65"],["fxFlex","30",1,"modal-qr-code-container","padding-gap",3,"fxLayoutAlign","ngClass"],["class","font-size-120",4,"ngIf"],["class","my-1",3,"inset",4,"ngIf"],["fxLayout","row",4,"ngIf"],["class","w-100 my-1",4,"ngIf"],[1,"font-size-300"],[1,"font-size-120"],[1,"my-1",3,"inset"],["fxFlex","50"]],template:function(U,Z){if(1&U&&t.YNc(0,cs,1,0,"ng-container",0)(1,Od,3,1,"ng-template",null,1,t.W1O)(3,S1,16,4,"ng-template",null,2,t.W1O)(5,J2,16,23,"ng-template",null,3,t.W1O),2&U){const Ne=t.MAs(2),Ot=t.MAs(4),$t=t.MAs(6);t.Q6J("ngTemplateOutlet",null!=Z.swapStatus&&Z.swapStatus.error?Ne:Z.direction===Z.swapTypeEnum.SWAP_OUT?Ot:$t)}},dependencies:[on.mk,on.O5,on.tP,qi.xw,qi.Wh,qi.yH,me.oO,Ra.d,Dr.uU,on.JJ]})}return R})(),Yh=(()=>{class R{constructor(){this.serviceInfo={},this.direction=Yt.hc.SWAP_OUT,this.swapTypeEnum=Yt.hc}static#e=this.\u0275fac=function(U){return new(U||R)};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-boltz-service-info"]],inputs:{serviceInfo:"serviceInfo",direction:"direction"},decls:33,vars:13,consts:[["fxFlex","100",1,"flat-expansion-panel","mb-1",3,"expanded"],["fxLayoutAlign","start center","fxFlex","100"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[1,"w-100","my-1"]],template:function(U,Z){1&U&&(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&U&&(t.Q6J("expanded",!0),t.xp6(11),t.Oqu(t.lcZ(12,5,null==Z.serviceInfo||null==Z.serviceInfo.limits?null:Z.serviceInfo.limits.minimal)),t.xp6(6),t.Oqu(t.lcZ(18,7,null==Z.serviceInfo||null==Z.serviceInfo.limits?null:Z.serviceInfo.limits.maximal)),t.xp6(8),t.Oqu(t.lcZ(26,9,null==Z.serviceInfo||null==Z.serviceInfo.fees?null:Z.serviceInfo.fees.percentage)),t.xp6(6),t.Oqu(t.lcZ(32,11,Z.direction===Z.swapTypeEnum.SWAP_OUT?null==Z.serviceInfo||null==Z.serviceInfo.fees||null==Z.serviceInfo.fees.miner?null:Z.serviceInfo.fees.miner.reverse:null==Z.serviceInfo||null==Z.serviceInfo.fees||null==Z.serviceInfo.fees.miner?null:Z.serviceInfo.fees.miner.normal)))},dependencies:[qi.xw,qi.Wh,qi.yH,Oe.ib,Oe.yz,Oe.yK,Ra.d,on.JJ]})}return R})();var cc=p(3214);function Fl(R,z){1&R&&t.GkF(0)}const ys=(R,z)=>({"small-svg":R,"large-svg":z});function Rd(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(b);const Ne=t.oxw();return t.KtG(Ne.onSwipe(Z))}),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&R){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,ys,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function E1(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(b);const Ne=t.oxw();return t.KtG(Ne.onSwipe(Z))}),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&R){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,ys,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function Ac(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(b);const Ne=t.oxw();return t.KtG(Ne.onSwipe(Z))}),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&R){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,ys,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function T1(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(b);const Ne=t.oxw();return t.KtG(Ne.onSwipe(Z))}),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&R){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,ys,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function jh(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(b);const Ne=t.oxw();return t.KtG(Ne.onSwipe(Z))}),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&R){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,ys,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}let e0=(()=>{class R{constructor(b){this.commonService=b,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new t.vpe,this.screenSize="",this.screenSizeEnum=Yt.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(b){2===b.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===b.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=this.\u0275fac=function(U){return new(U||R)(t.Y36($r.v))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-boltz-swapin-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},decls:11,vars:1,consts:[[4,"ngTemplateOutlet"],["swapStepBlock1",""],["swapStepBlock2",""],["swapStepBlock3",""],["swapStepBlock4",""],["swapStepBlock5",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between center",3,"swipe"],["fxFlex","30","width","323","height","323","viewBox","0 0 323 323","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M53.8333 134.583H80.75L94.2083 161.5L117.792 134.961C121.616 130.658 125.869 126.602 131.194 124.413C136.45 122.252 142.103 121.125 147.842 121.125H242.25C286.847 121.125 323 157.278 323 201.875C323 246.472 286.847 282.625 242.25 282.625H147.842C142.103 282.625 136.45 281.497 131.194 279.337C125.869 277.149 121.616 273.092 117.792 268.79L94.2083 242.25L80.75 269.167H53.8333L67.2917 228.792L53.8333 201.875L67.2917 174.958L53.8333 134.583Z",1,"fill-color-0"],["d","M26.9167 107.667H53.8333L67.2917 134.583L90.8755 108.044C94.6993 103.741 98.9527 99.6849 104.277 97.4963C109.534 95.3357 115.187 94.2083 120.925 94.2083H215.333C259.93 94.2083 296.083 130.361 296.083 174.958C296.083 219.555 259.93 255.708 215.333 255.708H120.925C115.187 255.708 109.534 254.581 104.277 252.42C98.9527 250.232 94.6993 246.176 90.8755 241.873L67.2917 215.333L53.8333 242.25H26.9167L40.375 201.875L26.9167 174.958L40.375 148.042L26.9167 107.667Z",1,"stroke-color-thick"],["d","M134.583 215.333C142.016 215.333 148.042 209.308 148.042 201.875C148.042 194.442 142.016 188.417 134.583 188.417C127.151 188.417 121.125 194.442 121.125 201.875C121.125 209.308 127.151 215.333 134.583 215.333Z",1,"fill-color-15"],["d","M107.667 188.417C115.1 188.417 121.125 182.391 121.125 174.958C121.125 167.526 115.1 161.5 107.667 161.5C100.234 161.5 94.2083 167.526 94.2083 174.958C94.2083 182.391 100.234 188.417 107.667 188.417Z",1,"stroke-color-thick"],["d","M201.875 215.333C209.308 215.333 215.333 209.308 215.333 201.875C215.333 194.442 209.308 188.417 201.875 188.417C194.442 188.417 188.417 194.442 188.417 201.875C188.417 209.308 194.442 215.333 201.875 215.333Z",1,"fill-color-15"],["d","M174.958 188.417C182.391 188.417 188.417 182.391 188.417 174.958C188.417 167.526 182.391 161.5 174.958 161.5C167.526 161.5 161.5 167.526 161.5 174.958C161.5 182.391 167.526 188.417 174.958 188.417Z",1,"stroke-color-thick"],["d","M269.167 215.333C276.599 215.333 282.625 209.308 282.625 201.875C282.625 194.442 276.599 188.417 269.167 188.417C261.734 188.417 255.708 194.442 255.708 201.875C255.708 209.308 261.734 215.333 269.167 215.333Z",1,"fill-color-15"],["d","M242.25 188.417C249.683 188.417 255.708 182.391 255.708 174.958C255.708 167.526 249.683 161.5 242.25 161.5C234.817 161.5 228.792 167.526 228.792 174.958C228.792 182.391 234.817 188.417 242.25 188.417Z",1,"stroke-color-thick"],["d","M189.321 97C186.935 97 185 98.9345 185 101.321V112.679C185 115.065 186.935 117 189.321 117H237.679C240.065 117 242 115.065 242 112.679V101.321C242 98.9345 240.065 97 237.679 97H189.321Z",1,"fill-color-15"],["d","M161.5 67.2917V94.2083H215.333V67.2917H161.5Z",1,"stroke-color-thick"],["fxFlex","20","fxLayoutAlign","center end"],["fxFlex","40"],[1,"font-size-120"],["fxFlex","30","width","347","height","169","viewBox","0 0 347 169","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M89 157.417V41.5833C89 35.2125 92.75 30 97.3333 30H230.667C235.25 30 239 35.2125 239 41.5833V157.417C239 163.787 235.25 169 230.667 169H97.3333C92.75 169 89 163.787 89 157.417Z",1,"fill-color-0"],["d","M6.25 134.625V18.375C6.25 11.9812 11.4812 6.75 17.875 6.75H203.875C210.269 6.75 215.5 11.9812 215.5 18.375V134.625C215.5 141.019 210.269 146.25 203.875 146.25H17.875C11.4812 146.25 6.25 141.019 6.25 134.625Z",1,"stroke-color-thin"],["d","M256.188 123H238.75V76.5H256.188C259.442 76.5 262 79.0575 262 82.3125V117.188C262 120.443 259.442 123 256.188 123Z",1,"fill-color-15"],["d","M232.938 99.75H215.5V53.25H232.938C236.193 53.25 238.75 55.8075 238.75 59.0625V93.9375C238.75 97.1925 236.193 99.75 232.938 99.75Z",1,"stroke-color-thin"],["d","M146 53V87.875",1,"stroke-color-thin"],["d","M146 122.634V122.749",1,"stroke-color-thin"],["d","M344.698 95.3022C346.74 97.3445 346.74 100.656 344.698 102.698L311.418 135.978C309.376 138.02 306.065 138.02 304.022 135.978C301.98 133.935 301.98 130.624 304.022 128.582L333.604 99L304.022 69.418C301.98 67.3758 301.98 64.0647 304.022 62.0225C306.065 59.9803 309.376 59.9803 311.418 62.0225L344.698 95.3022ZM277 93.7706L341 93.7706V104.229L277 104.229V93.7706Z",1,"fill-color-15"],["fxFlex","30","width","454","height","243","viewBox","0 0 454 243","fill","none","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["d","M141.75 172.125C178.098 172.125 207.562 142.66 207.562 106.312C207.562 69.9653 178.098 40.5 141.75 40.5C105.403 40.5 75.9375 69.9653 75.9375 106.312C75.9375 142.66 105.403 172.125 141.75 172.125Z",1,"fill-color-0"],["d","M121.5 151.875C157.848 151.875 187.312 122.41 187.312 86.0625C187.312 49.7153 157.848 20.25 121.5 20.25C85.1528 20.25 55.6875 49.7153 55.6875 86.0625C55.6875 122.41 85.1528 151.875 121.5 151.875Z",1,"stroke-color-thiner"],["d","M20.25 192.375H222.75",1,"stroke-color-thiner"],["d","M192.375 222.75L222.75 192.375L192.375 162",1,"stroke-color-thiner"],["fill-rule","evenodd","clip-rule","evenodd","d","M161.033 82.5635C162.307 74.0523 155.826 69.4769 146.965 66.4247L149.84 54.8952L142.822 53.1462L140.023 64.3718C138.178 63.9121 136.283 63.4783 134.4 63.0486L137.219 51.749L130.205 50L127.328 61.5255C125.801 61.1777 124.302 60.8338 122.847 60.4721L122.855 60.4361L113.177 58.0194L111.31 65.5152C111.31 65.5152 116.517 66.7085 116.407 66.7825C119.249 67.4921 119.763 69.373 119.677 70.8641L116.403 83.9987C116.599 84.0487 116.852 84.1206 117.132 84.2326C117.096 84.2236 117.06 84.2146 117.023 84.2054C116.981 84.1948 116.938 84.184 116.894 84.1731C116.732 84.1323 116.563 84.09 116.391 84.0487L111.801 102.448C111.453 103.312 110.572 104.607 108.585 104.115C108.655 104.217 103.484 102.842 103.484 102.842L100 110.875L109.133 113.152C110.152 113.408 111.16 113.67 112.156 113.93L112.158 113.931L112.159 113.931C112.823 114.104 113.481 114.276 114.136 114.443L111.232 126.105L118.242 127.854L121.118 116.316C123.033 116.836 124.892 117.316 126.711 117.768L123.844 129.251L130.862 131L133.767 119.361C145.734 121.625 154.733 120.712 158.521 109.888C161.573 101.173 158.369 96.1458 152.072 92.8677C156.658 91.8103 160.112 88.794 161.033 82.5635ZM144.998 105.049C143.008 113.044 130.493 109.739 124.766 108.226L124.766 108.226C124.251 108.09 123.791 107.969 123.398 107.871L127.252 92.4219C127.73 92.5412 128.314 92.6723 128.976 92.8208L128.976 92.8208C134.899 94.1498 147.037 96.8734 144.998 105.049ZM130.167 85.6513C134.942 86.9255 145.356 89.7047 147.17 82.4376C149.022 75.0044 138.901 72.7637 133.957 71.6694C133.401 71.5463 132.911 71.4377 132.51 71.3379L129.016 85.3499C129.346 85.4322 129.733 85.5356 130.167 85.6513Z",1,"fill-color-15"],["cx","371.815","cy","95.815","r","81.815",1,"fill-color-boltz-bk"],["x","313.615","y","82.836","width","110.745","height","30.1472","fill","url(#pattern0)"],["id","pattern0","patternContentUnits","objectBoundingBox","width","1","height","1"],[0,"xlink","href","#image0","transform","scale(0.00185185 0.00680272)"],["id","image0","width","540","height","147",0,"xlink","href","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAACTCAYAAADFh8BYAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAACHKADAAQAAAABAAAAkwAAAABS37hiAABAAElEQVR4Aex9CaAkVXV2VfebfWWG1QWQRYddNgmCO6CiIGrAKC6gUWOIUROz/CYm+OdP/P9f82viEmNUcCFRUVFQlMUIgpIoCgwO2ww7IjLMMMub5b3XXfWf75z7Vd2urn69vK5+/d7Ufa/qnDr33HPPdm/drqquDoNdvMTxhSPBE5vODuL6BUEcHiDumBcE8Y+DYORT4V4fu3YXd09pfumB0gOlB0oPlB7oiwfCvkiZoULiDe9eGtSCH8RxfCJMCOUvlj/AIAyjoBL/abjHJz4+Q80r1S49UHqg9EDpgdIDQ+OBXXbBEW/8i2XB+ParZYHxHDohlrAAB0QJw2AiCOccGu75sXVGKfelB0oPlB4oPVB6oPRALx6o9NJopreJ469Xg4ltX8NiA8sLLDD8xQYWHbrwiOM5QVC7YKbbW+pfeqD0QOmB0gOlB6bbAyPTrcC09P/bH39EbqO8NF1mRKoGbqbYAgRQCkAU47mOspQeKD1QeqD0QOmB0gNT8MAud4UjfvyCt8Rx9D5dbMg9kwT6OK95xHrtY/EU/Fs2LT1QeqD0QOmB0gOlB8QDu9SCI37sghPievyvSeR1QSFHgD7uGPRmSxj8POEvkdIDpQdKD5QeKD1QeqAnD+wyt1TiJ9731Hhi52WytJinFzDy3OUueOitFNTjAkcU3ZDHWtJKD5QeKD3QLw/Ej55/TL0e7tcveamcmqCY5gGDoFqdf0P4lM8+oQflrvTAgD2wSyw45F0b84PHHr9MntvYJ5RbJ/aYqHgat1FwZUNvp7gHRYWEdQdKWAk3BXvt+UM7KvelB0oPlB4oxgMT9VjeAxS9FXMTv56vPeFDDz8IAW2cspLpixdos/XWGIsNm9XiaOeL5eBHspWl9MDAPbBLLDii3zz2OfHs8fCuLDpSJxN3kDUpjP+9Gl64M21QYqUHSg+UHijAA3Gkc5N+IBIcEAVzkbfeUJq/c2z8zJSzAJEljAgJQ85qfusSLz0wWA/M+gVH/Ngf/GW9Hp8Lt+av/jmkwUHcBmclnnMRqGUpPVB6oPRAoR6QVYVe2ZDVgS06bA5Cn/xcZP1z+eEWJBl+tk0WLNl6d6WjUFtK4aUHWnhgVi844t+883T5sPD3/BQAH/i4fFvFDW77WqwNVqMJfke4zydvbuG3klx6oPRA6YH+eUDWF7z6Sgjh7RYQ4PH5iRNm24O/LKUHpssDs/ZbKvGj71glnxX+I4qj1EZ+VAD0ced9DlLAOIi+MF1BKfstPVB6YNfzgLtmwactxAG4HYIrHQZ9HDRsfhvDcaUkLfhQhQJIPK0tsdIDg/VAejIebL+F9hY/+d7lcRxeHkX1pRh8HGxYRigO6AYrIQcpoFwFqVeqI5cUqmQpvPRA6YHSA4kHbE7CIbC0ELcFhtFJw9xmuH5I8hYnkGKbzoCC68yWii2x0gPT4IFZd0sFry2v/+bar8lgOxj+bBi8GIMcf6jDg1T45wNVimuj74d7fvoxwcrSgwfih9940EQU/lleU/mcJS9/CQNAFOKARRR8vsOq2j7npThX2j3rE8by6H+4Qz447qxUgh0y4T8hv/b368pI8Os54fyHy68eFhHNXVAmhok3ZyV4h8MFCxF7ds3GmwnbBf1YmjwUHph1C47oNz/8R3l3xmnwbu5YFWIyVjkGCW1kBtVK9aKhiM4MVaIWB/vIQu8deerb3MlLwRKjzHM0CEXD/CoxsUkziVqDWNYBorAtubP3sPP5PX2kYSiyYiegiZ/6JD3JzTcwY2IP6kFcC4PxeFsw/uCbHpeF7K2ShLdVK+F/VaPFPwr3+5cnG5QvD0oP0AO6IraPR0i9dErKyX+Xm2iKFv7XaN1nKMlhE4z819wELEvpgWn2wKxacNQeeft5UVR7j/68vDhWx5gMPH+sNQw7DEoQ3ODEya8ShhuCffb57jTHZeZ37xYAGRc32WXzoUyaLjCMD6Gd8DFnWpAYLtarQFfXJFwI2t7BpN7jt/7THMntT/iT/og7GWqf4C6FbLGCjuJoTyGeJvTT5FtSQT3cUh974I03i6Dvz60El4RP/8q6RJ8SKT2AS26SLMwzwtx8FFbWq+NcLuY5MTf/8xhLWumBAXhg1iw44kfeeWI9qH/GX+0nZwF3NsAgBcrBqrjsXLW6Wz5oXCLv3hgfgO/LLsQDmBAREYNwSWOU9EhY0phlPtGhrfxxkWnS/JhaLSnMD/Ij+CobDbUIopc3SGjUh32lSwxKZvtGflLFzKpwniD9nTBWDy4ce+Dcm8KwctGcfatfDsOLy3e90FG7KIwj3NxDzjXmjx4JGRAlm3/ZfPYl+C2yWWp15b70wGA9wFvZg+21z73FG37/aVFY+5YMxnkNA4srf0DZ9KTmoL/yx2DmgB4JRi7us3q7pDhMjPiz5YBB4IgDIXAthDggDigb/ggVBwtorUqmvbKRJgdsC6h/rg/kAxc9hGgLHkIfV6LsmDfMIfAABzQ8hbRbfRLHJ8pDzZ8de3Di/rEHz/3zeP1bl1BmCXdhDzBXAV1uEiKTUAhzvZRpbw388YK3jpal9MD0eGDGLzji+H0Lajvib0dRvLcORR1wGGCy6XV6B5Nr9jxFpAPXTgloE94ePvUzt0xPKGZnrzx5Jyd0cb/S3BlaoyE7d6gIaQ1n8xbuwW0wFP32keISTQc1B6xW9z3tMhO46iY06qtZg/7dhj6As7S3P95beP7PxLaxdeMPveE8wbULti/hruEB5hMSSxMgIYj9Ssj3Q+H5n99tSS090JMHZvyCo/7o5s/LGeZYWN80ucuJR2k4AelJCEx2gsrjr5Tv3oBbBlqyMcOxv8mBi6Gcxj2cPFCWMlRxf2HpP6AhbdG+adOn7IQO6OPk9WUIrn05SB182KSPKtV6R93lfTF7RvX4op0PnnvD2P2vX9W6RVkzGz0gjx5rbvm5pLnh5Txy16cxdwjVL8hXFEBsyGNC4OUFDvNPuZ8WD8zoZzgmHnnrB+Iofr0MIy0YajIkGz4QuOGn9awDRPH55WnuWmVk7r9rRbnrgwfMx00+F7LSGDT0hInQFcaLEEHSJ+4dgXRChFLnWIqgLELI9XF21ClkW8K28hJFtIeu7Y/jk8Tmn8szHu+ct/8lZT52GqdZwse8Jpz2/J9mv8oPb86dePjeI+WL7cfJkuy4MIqPkxl+N3m4/6Nz97vkE9OsXtl9lx6YsQuO2iPnv1Im878zeznJY5gCt+GKlT+/Fgk+4vpVMRCkJAM7Dr4b7v2Zx41a7qfqAX7q0ofaEAfGROLDB93QB/FW9RpOMDLEwLPFq2snrzFDbC2iNCdD20+ib7brqcrL01ceWl0s32u5ZOcDb3juvP2e+cdheGF6WS6rQHk8qzxgC1R9ysfsYm4T5lnr1eXlE2nWNJnx8iRNKw3vUBp/5LLDwnrluCiMj5c55LixB+46UsybS8XMVHgpWEZaCWeOB2bkgiP+zfmH1iaiS+TUJbeEkIJuEOklcRxaWloYUtzud+KyOOfv9HQRVoOLjb/c98MDnNZs0YcTu8XBru5iIWi9NF0BEDJpnejB6HtRds1SiuVIvjTqSZjVF6mlujsGAPZJiWyLY+KEWXld2R9HF4w/ePfKOH7Hm8PwsxPsr4Sz0wPMe8JOrGQuptlOjBBSfLwTqcXzyJWLyvgDdz8zrITHy92k4+phdNzYg986WlRdEMn7bDCFcwwRFq9V2UPRHphxC45407t2m9i6/TvimKXpQLIB5c5p3hV0d889Sd2sO62dnATWV58y58psbXncuwe4wMDKwk7Y3rSRg5JkJ2jGLad/O2PLbORaSNBj0oSd32jlo5f8dAeIgogDs8gDEcxrn70KppO/1AOiaI6JAOZa0tbTJ6GhAdqyDxyjONV9lKSs/XL8e2MPbFkon/5eE4bn1LV9uZuVHtC8lFxhDuYayVz18q2b/J+uRzh2PvSWA8OgJrdEouPltTTHyWLjGBlTS+SWuJrJz4jZ/G/ygbPfv0rdxFMShtYDM2rBgUtuEw999+syIg+CR/VkILM3TwbZkws4rPBkYZ+s9QQgFRzYMtC/Un6CdK7qC5BpLT2DGu7O0I0RyelM2ml8kvYIlGyuIdGkWhClJYRG/uzr67M5ArHaXmBPhSsPQhUmUhN9HD4F+yW/zxy7/5v/LPpd0JOOZaPh94DkB/OeUJXOJChzNUkvQZSWEKSVEszkbP4PYsKXH85cOD6++WVRGB4X1oPj5LcFjotrO3eDKSy8xszjBIrundif8JfIjPLAIPKvbw6pP/Ldj8kq4ZTk7KODUXbM5MwtFczx/EBAJTSZeeDgSDjn4gypPJyqB5KYiCDgLSbEpm7YjhCNedkCopSOyZktudx0BAY8+QTo+nbV+DYAlDEIGbgCYTQcEfdvu7EN6pPJvJU91IsQfMBb8UOmX9iO0NkvVv7hzvted9f8A75WPijn+2u24Yw7YZ/zvxYWf41jorbtMHmP2TeR+Dp00+GVjoXEvkwASSdsYX8QcUBl2peHQ+2BGfO12PGH3vzWehS/GycCLBq4cCCEl4m3quc5CNDOSxGucvwyfPrnVg91lGagclgG4E+CkkDgWgjlQHkcNNzxoy02DZqDPs56E6h7Q70+0I+e8B3kHEWYtmqJNenXZI/IVnvQb6q7YVanMsCjfGADr5Um+Z4MyGu0P/jo2MPnHsG2JZw9HojwtVjEe9L4azKnOaH88EGaT0luMd/y8r9wt9WcFaKX6NG//Pftb3mNpHDryg5698CMWHBM/Pr858oPav0LzGw8V3Cg2UA1N5CGcWk4IDYsRAi5OJGnky7q3X1lyzwP4DMU4uSmhwRaNGxatUlS4qECDOby64QlTG4C1biB5jY0T2Kpshp3eGU0ir46Wl8f7XDQrCaBoJh2BrE3nVL90MR01saurcmCPN8GH0ddXn8mK5Xvy1B+z36xc259fOJieeBuRl2ZNE+V+8k8gIk4N1+8+GMMTDX/J9Ohn3WwJdceN8I4YrrJf9/+crnRz2gNTtbQLzjiX5//9Hhi4luRTLZ6QpBBx2RFAioOqDgOdZpWD/JEBJi3SbKPzwmD/1Dmctc3D/hnQ5tQbPLRCUhiQagxwQSE+Lg/rRMc0MeTernKARzP3yTP4IDmYgwjgLOAB4X8yBejudzR2pRfDyfZUTb7Ux2dTdaT6U0RPs3nZXu1qyv7g2N2PHjHeyi/hLPDAziBal57UPMF+epozHvC3vJ/sP7qf/7b+B/6E9dg3TxjehvquMUPv2/BRG3i23I62CvXo9lslsGpoxNQN7TyTybErV72V4RP+9KGXNklsWcP1OQSR3JCdQsBHkMo8NaFdRYjC5/gyaHheqJ2sQWeFuLWwPoSDqeHTt6CA/o46yFK21hzE0uROMrknPIKje3bQYjQNkByCztzCuih7JJDQerBX8aPn704t3lJnOEe0ICLDUnADU8OBdF/GwEwtpv8B3/hRb7A3WocoO8p57/YX17hKDyKhXQw1AuOiejxi+TKxjE6wjCs9ESVnjyyyctEbpXs/gnG4RcV4tVSqJ2Yxcl6gcFB4NkNk6fyCNSJFDHGv1sgZGOMuKEAGm6LhzRHUIscgQyTTYh+iLNeuYWPRXWRA+qJZ4asHZ4dElzqCPP6N6XQMYSYHELK9GFv9se7j28P/5g6l3CWeEBzFjvkGOc7w2mh5VySXkLuLv8pp3BYaP4H8sWXssxEDwxt3MYeOvev5Cvar8OAkvGnG3IYuMvlZOK3B0ndvXr9xoGFonlwWltX+9i8/Q66yvBy33cPuDO6LgLd5MlJ1IcaX/C6KPN2R6tbICpPeCkDehuNFkAWisls5udEnvZJXsBm/kb57AvQx61PdOv6BySPg2zjQ79P4J3aX69H7ymf5Ui8PgsQu6nSafyZQzCceWhOcPnXMv8H5KqC8x8P2ZZl5nlgKBcctYfeeKY8JCqvLc+u3u0k0fFg46ATmP2Th0W/LK+MLv47YjMvJ6ZVY06erWM8repJ540TumlD2tR168L+PcfuX3P61HssJQyTB7qI/zCp3TdddnX7++bIIRU0dAuOsQffclg9ir4it1L0AgUWCmkhDujjKUcDhlU2ilttN8Bg5ItWWe6L8ECrBUO7CaW5nlcSGPMshPbMBYTa8LT/ydsbv/H4uMnM9sV+CJs919x/qpNq2qRfu/rW+ssYOa9Zg5Iykz3QnD+t4285CmvTfGzffjDegR6+LuzVp/l463rKyY5FtijhTPLAUC044offtiKOJy6XRFyCMYRbJYSKi2cJ4WQ/YRVnkmNSx4YlC6F3f0W+3/Czeft9cQ1klKUID9S82152lQrxwWbPQxgELgFSGqCP8zkHcBgfsObSlAPCQlozd/cUpA8KoI8bVWsc6vTXI7PZ0s/wIuwXv7w8jt89L9WlxGa2B9KxMCz536s/kftF53+vupXtps8D/jcYp08L6Rn3o8cevPtSQQ7gkxZ6PpI6QijYiGOSt5dVo86ODOJYCR60AYAHjsKLQS5LgR5wgdJXoQjuXomiHfoxtEWIfa21F200+ljIMDM0yCKJnaAOs7dbLWRzBHXUAf0TB0RpV69M3i7LX6T9ouP8nQ/85kTp/jpPhRKdgR6I8JsiLue6Ub/b/A+C4u8i41cGMeRQisp/ueVuHZT7GeWBoVlwjD14z8fl5Uwv1kz1HvxMVw2WxHZCMB8Tb3VyyEYCfJUwHJtTCb6arSuP++0BmxCw5xpAe+A84aDWSVzc/NS0aGRb1ifChCAn97rE9F91cvMnoITZdQ6pjsYqQsyIirsVEfGkXtpCvkxwc+VHslbIBL+b4PuKxAPzPdZoII4gi9QEcQSt69F+7T+WMVMuONQVM3mHS81IiWy+MHcAtWQJyB1LIq3GMPAOHZ6OLydlAMASPGtP3/J/qK7ND8Cds6SLoVhw7Hjg9b8fx/ULbOZ3IwYObsrWyb0uF+2VgbCpvYxEuUnz7XC/f39yckll7VQ94J//fbw5qE0zqHRNmnFDF4ushxhhYuGB35qWHzSL7z977x1x/WR51Oj8MIjk1oZO+8mHVN9mH++z/dJf+Bz4pyyzxQONkx7znjAZCAlB7PZwveIhBF7xw1xIGjxEetHe8nPex/uV/2H5WypFh7AQ+dO+4Jh48PUny0Oin9Ixg8zEvJ1kKHGcgGSxoO9BkOndXQEBVR6c09OTMigGScZvNG8P3rBysUcp0cI84GZBhsMdWojkwIWIi0NCqOPjWfU4eQIOavLM6oDj8BmXPibgG9jG1r3u8CisfVqutjwvO8HryQC2FmC/SIUfn6mw3M1oD/hf8+w0/2FwNt/YlhB5x1+MHZSD5khHE0x45H0B+T8oW8p++uuBab0wFT/65n0narVvykQ9N1lkJIsNGMpZGpALC4NcUhAqt2uLWyfYdDg6qLLC8NF5+7/6GvCWpWAPmPvTyQaBYrAI81RoDLmETQgqCxDTaAqTSTVPzgBp8w762q/mH3AEbm18QtWznekNW6F/QfZLnu8Xx2fLa//LMis8gFxBAdRNdglszn+d64RBoRsrwJP2efmnHRS3m5DlxqT992H8F6d9KblID0zbgiN+9B0Lx8Z2fkeM25MG6kCRAw6eLAQfeXycfPqWfRlsgNhQCPUgir4UhufUFS93xXqAJ1hMfjrpYRK0iZGQcfMheDXGbA8tgQ95wTtdFh70rT+W50q+1qB/8fZXxu6L9hty95TqtfMAvpDncoUwyftJ8h8PKaMAYsOShBC4jjUHgQ+scPwWn/8DM6nsaOoemLZbKmM7N10st0OebXdQ0oGgg83ZZXUYTEawwSRjCAPIFR8njRBfodXB527ByAOjF7OuhAV7gJMbYsdJR9C8p9Z9TRB/a5LG2J8o8XQ6aob1KfUFixe9bcfW0ZPEjqepXQXbD1/Uw2CZ78OZiss31So7fr36KSPj8cpaVF1UqdQX1aPKokoYLZKoy53UyrZKpbItrkTbqlF129xKsN7d2pqpJjfozbwnTCo5loSQzX8dC0LnaGFbQJRs/QC+pOI6dhqZQqK4kfs1/stfUzF/zrT9tCw4xu4754PyyxRn5wyHBv9xnBGikgMrYfQI5CNUfncgC4+b5h9w6d1JuxIp1APJQpDxSeYf+RQmMeHzF+ADTn7irNeJCm3dhKVt8UlO40rhhZrSlfBw7y9v237vWR+V0+PHtSFVLMR+U60S1WfUD7lJ7MLxB1+zKqoFJ8s8cKRYcYDE/8Dt627ZXwI9b1xzIg7quBYZ1oMIb7FG/MMoqEd1OemGwURcDyaEvm3dq7ZLBt0nGXGfpMS91aB6SzCneuOC/S+9X1rMoIIRkI6FzvLfzGOK2ZGe4QW1AaMf1oSBH9oG5RCOZzHJioM6vvsw/pESZZl5Hhj4gmPs/nPOiuL6h/R8If6yEwcd1zhYSE0hspY8oBK3wdW8gPHrw4tSOSVWrAcmJDIWk8YFgkQIH3Hwn3wN1RYbCb836UJHx65QdUYKqAA9GsrdgiVzPr9jc+0jMunOKdp+nEiiOBz6BceO+16zX1yPXytxf/62ta8+WQK6EsHTE5CLOY79k67WW7pMFv+FMokcLoIOR8bV5S+cqAfb1r7qUfni0I3ybYYfLawE3woPuuxxyBveYiOgW/sRf8ylXFBYe/Oj2srFGs/QHd5E37b2LDyPdHpWftZ/GI7wuw5LxWU8R/V5yXjG4kKEcJ7v1/iX/v5k2z1nnZ/VL6uPKtaooCkLmuqbHoqm/2/RwZd9ymo63+9Yd9YH5TUq56FFUz5n7E+clfTfZv4TmbQJ8hlrQJR+2g957eSDxy/UzamTb381+OeFB377n9BuoAuOsYded3h9vP5l1crXOsGptsF845HA1sAmczjJ+M35ab15TwfEjvlx/PWkmxIp3AOY+FA0JoI3xsybgBwf+cGob5N1DRozAgJtAOrAdXmgHQ3RLtzz0tFt6866WfLyxELtF5t1DFT1GsAQecBUGZWvDlfqE2dLDF8vJ6HfERjKlR8JcZ/i7+y3nHGZQtlh+BRxzjlygjtnexB+cnTtWf8ZVsKvLqzE3wqf8e1NQ+csGQfMe0LoOGn+T26/mcgxQmjUTvZ7ie/kypMUjjngOZOyzr/JeG3UuLD8D4LdRL/d2LdC1dXlltNH5wmlY+dKxhfUuBIGu5GlG1iP4t2lnwPQhvMYIdSQq3iTzH/WE3Xoav5Dfy4e/bBf9Xe+sR8WcfnXQ/x9++WJhhVm5QAXHPEjb165c2z75TLlLOYoglJcEUIhTkSAVhAG4AwH8U7rnZggviw88BubeVTCAXjALQIZOUL0nAyOTtTITnCdtBkCHrH3Z2LoibSbEKr12/5KUNkyBCYnKoze9+qjglr0l2Ft/Gx5TquqNie1/bdfHOpJz6BSJ7VV4TlV7sKcKvdfPiW3YS6uzhn5yPz9vnlfhnv4DjvJ/zb269mOPGGnbxqVSyLiuOycDE9zFlZnUS5hxoOMDCGq+53/7eLfaD8UkM2dQlRtwQEjd9UVOnZdZoH9tNmPVT/in57P8ZbvARS8tnzHztFL5amvZ2D1jinAFhuIPRYdLonxkKfgyuMe9NTVvtORiQqIzXj99ilNebC2NL6LBmBm2UWeBxAkFAY5C1mnTBZ7oK1yQOWwDWW7tsME5OE+u4RPHbN285i2OOWZ753aj/FTCYdjwbHj3lefvG3tmVcGtfqtEsHfk7FXbYoX7Sbsg/3oA37AnyROAoFr/4TgiwK52Bn/QX28ds/oPWf++9h9r8UzJENTeol/N/Z3ZSj85XwH6OPqV8QQhdCOGvesA8zbwE0eQQu3H2dT9AeIDYXQjrrfT3YWpW15tvt1rtdpt9/XSXA/5j6exBJ6s02e5zJ1A7mlsuO+1bh/8yJE1r+iwTgTQl+dNBLFWUMI7YGbFeaA9PIsyBgfqQO0t4fnHXDkfwbBNxOpJTIID1jMONdrXHK61QhJJSCKroalKVfFiDFX2VovdRpiE69thnMXy9tsMUlbOhZpfxTWp/UKx7aHznxKPBZ8rFavndM4Qm08Kq1FvPoS/1bOlcTQ/JHc0rmCiSK6SGRw5eX1ovPrtq494zOLR6p/NQy3WnrK/y7sryVXj+mMfKiPfIhcxs5Gp/DqtXY40CiYr/EQL+dt5Rc28kM1pQ1Z/Gm15h9sSDRmTRdQLwaZgTPd/ux4YewYz57i7105mmxt1oXHW7PKvex3iBF/iISEMQlEJuLfQeBaCPNEuqse+Jiim3pDcEDFPQg5wiep9EV5R4KOnzyRJa1YDzBRGaIsRD5Y6Cw3JCGEoomB5LBpwEHjS0M9WaoUa1V76TKvLwQXdEbJ2s3jqdoPOfNrizZqJwPeyQvHqqNrz3hvtCO4S8bxOXndD8J+5AH9KUnjfK4TgFMpzZSsPvKJsiLz4R9uq0V37Vh75hvzbBgELdY7/aJnl/kPe7qxf6qfMHW+Rp/QUzYUQj3I7LL+ZpwI+5H/3dif1QfeM5rZklG/w8PWp5dsf7SbcLjspw8Im81nrLuNPyUVuuCQJ9OfL6vfT7IzLq4BsamzHQSeHWzgAE0hcC2E7tAHXEkBygbO6rzqF32WEh+MB1olZDZhJfw6YQH6ONtnIXLBZCC6k+TCYMxs2YvcPlzp20pGnwbct9nHUZe3Ze2XNr8OD75k4Fc4tq99zdO2rxu7UULwsTCMl0D3PP1hN232cdrmt/Fx1mdh1n7I9POAfbGdL1NxUZgQM4TyAUbRXrUo+rIsoC6P7z9ruckd3B46+bpS/yycqv2dPsFBy+EjFPWV7P15W+dxqUsg+LycBo5C6OO0y7fZx1mfhVO1H3ZoP7QI4wx/0HUKz15DZp7+vs0+Trv8Nj7O+iws0n71gShJqPqKbwjVd6IkYRJ3oUH3PP3R1ndrYQsOfA0uqsffkN8ImCMWwAozxEEY5SuouJhCCKPU2YSQIaXBGe6KB+576b0v7QZXP8AoD6iEwQ3zn37pOm1Y7qbFA4yXxjInhk1KIQFQAGVDUhMqjkPyCD6sJY7CQ6Fb0faLS28ftA+2rjvjxVEw8UuxTb554sYlxqmHU6fi7Xf9iyP8vti/TQY4sknBUsfmGaYRobaJ4zNGJ+o364OvqZDBYVQGULZ2+e/b7OOpwuYf2t/pFY6K+As3SvBPqC6EYIpU1A4s+inO/n2dfJz1TbBg+038JPFvUqgzwmyxX2MtJgMy7oRJ3HuIP71YyIIjfuxNi6J69B25TLgHAtwyGM4C1pMX0BIjhaYwLQX0cVebWYDI9/AvtppyP1APTMjnqFZB9AMruC4UHbRFo2QD4ojFiZ5ERHMHQSLO+oHa1WFnMrHKLeH4eblJ3G/7w3CgC47Re854v1w8vFq+3rqHnkA0NhYrjQnsQ6AAfVvpO58meF/ir4lhHXAxCohNVXEQOHROIRLKaNba4XF8YFCbuElsfQPpRUP4gXlPCEWhK6GPa4USrJ76tbO/0ysc+IFMja/6Lo2nT5uN8acfu4aIBTbxVwKBoxD6OGiyDWX+i2o2Tswextz0TWkdx99bZXgovDH1IkqE27du/aIMlaPgeFHPApAzODQwXr1vgI8rnycLMimXUHm8GUa+c7994dLdLoX4skynBzRCooCLmuaB4IB5OdFWVY5eN2Lb8g+eYdu6M0+VXt13z4u2P75lUBbKw5V/LxPkR+T2gzxw6eKpndPGPE1Y5/j7Hn/IRS6YfJ03BAf0cdabhtTJNQXRTyfBpe0CuRj8lW33vOId1mZY9lAUhQr3Yr9J6Gjvj1E/drMx/j2fDb18anIq6wBl833o+7apXStCP+JPnaSPrDh0SxpwX0df967jD2EFfC12+7pX/Y1MSq9tUNT6EuXdwzX6CdbDWU9DAX2c9WokDlzwlO45r8E5wTfCPb6wNWlaIoP1AGLhx8P17pagEkH7A5m0fAUZX4s5Hq6zFngg2OVQfsPpo8bx/1DbC7ZfrqLUFy2Yf9UgDB295xUfkZuxH2CsWsbPt9nHnZJt2zcZ0z7+k+WBLTqQitKz04dQu/J19HGplEM8DfaZrXe/8o+a1BoYof/2T0X1tvHzfejjrtO27ZuU67/9LePf43RCDVV132Yfnwn25+ibDUfb+PkyiHsPcfS8pssqguPt9575GgF/C6VMsRSmpxXWmAQ/WEwEQMNTqO3VAKMpD3oBb9Jf2os8en6x9VDup9MDFkdM3hYrrCOBp2tKwxE526CtnxU4Tgu/vgZIPK2dfmzb2jPeJva9kJoUbP8N4dMvLfwbKlvufsVHxY73Iy7mc4P0PyFt9mHB9ktXqU5p3rTOH1+3PDyrrxzLK1WiTxS/6Og1//trf+ITOfmaL2zcmm/TvhBzxp0waeshWX/2f/ynOvUj/p7qHaP8bJzXYKbZn9UXPmUeALdYG2TcCSezn3WdPkNE/pZw9L4zj4xr8ZfkzYLyVfI0BCkmTbFg4G0PHFr28SvdYoyapxAdYQgaDUcp3iDTqnSP+2H2Pfb4gfkHXn5depnEYyrRgXiAiWvhlgT1gubjWWXQjm2ydTi2OoN59dNJ27H2jBfUorr+FgNSHYW2+Db7uHGl++7sD7+dtiwG23L3K98eBtGf0h4blejLDMzGIzPEC7ZftMjNF+d80TLr/3z+1HfN/My1+OOjd52+bvGqK3+Qcvcf60w/6tS9/fi1mY6KfBTF5Z1sPBl3wtkU/17fNKoX7uEsKVl/ZfMJPKC1KkXHvzP56XydtYdxJ+wk/r6tfbnCET/6+t3ljbnfkcXGIpzwYZRubnUkR/qHjoGlhTigtSFEe0SPEDjqEpjHDw600XdvuAxIOyuxAXlgQvpBIloypgsIjY2LaSvcbwMcMSfU+KsNyIXhKqP3nP4eeYnUNaLVPNgGnX1bWtmbpfttaDehb7/QxoKRyleL9MKOe05/fiWIdAEFHagHIfSB/oS0mxB8xAE72fw27IfQt59288MNoOHwPRKHeoETfUMXxsQg5RLmy2dPcTWuBF/ded+ZzyKlnzCSy86+r6AT9SLM1w+2grcz+7vV2fpu7S/obP61+IKfdvh4J7FnO0Lre/Lxb7Hu3H7TqZU93XqH/BY76k048+xHLFEIzU+gwJa8eMDWdvFHe5YpX+GI43fMGV376Dcky/aHRrjK4DRD5hmuSqFLzUaDOFQ6aSBISW0VMbZ4YVI1idOJRNqzkfCjRXVu/EWVVe6mzQOWiAh/NoZ2QmB9VkHSCVGfh/u0rIxBHcuLr+Zuu3v7OfJR8M+jKD5C+3W5Tv0KtP+LSw64/LdF2brj3jP2rdXq3xQ75vh9tLOHdhO24/dlA2c7Qp/m43496H5prOOEYpBTESHa+fzECX25Ms0sm5ioXR6vPff4ot59wn4Ju9LPKeu3TeZGzpHJ9eMGy5oP5Ef28Jct7eLJvgnb8Wflsx0h6vNwn9ZKhtFpQ2fxz8rq5DisyJeII7tyRL0IZ5r91Jswa387e9iOEPzy8HUiZsoLDlls/LMsMl4AiXoJTpK04dqCP7KTBGbwbfXqKwfclEwTjfUG7QSm/enJzN1GAQF9heH1C/a/4n4clmU6PcAYQwf7hEltGE87Bp+3aExw0NIaO4KklCb34iryfMHzlLHFDmdLXHHhWZM4YDelEtTnxpVwtyCurJCHJ/eVtieN3rPtBLFsQZLWKrBBQ03JfttfCcNoZKTy0W7075ZXFhuflzjtnvF41/bY8C8o/h0YxczKzZ8O2ufY/8zRaCN8X8C3V/zc6SD/O9A/a38HTTIsvk7iDRx2MZ675U9HdzH2N1qTMbXHQ/nWlteysYeZb//U7IH9uuZwHprSgmPb2le8Sz7Z/QEHM2T6eM5g1c4tCKZB48nHadUjUFmVcK3odaaKkKWn5EJVf66yA5lYo4KXdzmJd9q+XRe+fFmkPb5k4cI1g3jor51exdS7TGDGMeggM4e14wwhwy9PBOkspxBNXT2g/M2Va1o/Bs5Faiocnchiw/WlEAQRRxoOmwp1s+Y2WkR+BD00MbBzOkOXpuLqOBLA42xQ1kx1IqsFf579ssT+4vwDv7u2qes+EbbcffrvyyR6iukrCtMGJWQdlO00YyDb0leZ6l7shz81D6Tr7CeubPy1W2eC2WPm0N1Z7ZPcZGgZO0AtWDyFb5dv7Xx98TO/d21T+ykRnKLsU2TlxX8q9tOK9mrKSVRD7emkjWZz/Dv3TqP//AUHZNBHQAX34smpI82/yfn7HX/0yzHRaIM7ouqAKNTdy/90zBpL476FPY6p5wWHfCf/BVG99k/UK+3UpxAn5EQBpZptsRMHHEJ+QBoAfrRPr2gQBzR5Ul+vv11ODm/HcSy/Rw0/1SguSQQjZCcrdFsXfnZPHNDk2Ykt1c/o6Z66ugaZ/mBLLaEFwej2bcHWu1/x9cqC6vsW7Xv5o6mc2YA5p6srBG/lEvUH7PX4EQDyg04ZwmV5b1fGtJXwgsaYEDc+NACXFEJ0A9x1l+CsB29DIaNBVU0u4TFHrD/qhYaN/Nav0Cgf1X7/efyT2F+phOsXL5r3Zw0q9vFg+92vfGotqHlXTxrtmW77La7TH/96VP+3+PGzjwj3vHS0b+5n3AlVMHPH4jBl+zt981di1K4e/8QRHSKN/ur3+J9y/KGeP/8Q5/zUZGWjPb2N/1RoTw+N7rj/rP2DqP4NUYVXqp1EXzlOCgYbHQU+TNop9HGbtH1ZqcKTYTzpAPYmz++zUYYvu7UOje19m32c9pme0Tn17RM/ie89e1lruTOtRpZVjIEHcZbGH6HiSoHfuMFW+hGshreSp7zK02F7GVgqEwPMwylfNXR6mn7oIdVHlrRQUJpKXqNGeAkTGWjvNkGsP4GKoz1o7s+kQyY3SAduBXJQKE/WOu8Ln3bZBqvt/34invhHeYvoslQ/05A9Tbf96jvnS+DqK8LEb63958fcx+lftVvk8Q92A2dJ7Jdn1rZt2PpXpE8d4kMT+yEUitpmUHHoBho3tFEetGE7QmsH3Whf0OFHTJNmcnLtl76Y94Tsw4fQzddXZYHm/qCz0mTfkf4ZedqmG/u9MZ+Nf8OPfsBpXRTfZh+fSfar3ohGQ3wsQnRFkv/Cx7gT+nYTh/14IJql6wUHXlteGxu/XAS6+7sQxWRphOhU1YUBHp7ysy2gFOVx0Me1EtWmOKCPu2o0JKfhrk+V2w95Kp194IC42WnHKe7b7OMpXyJj/9Hatn9Q8bNk587nelIHjsGNjbg7VA8CT7wmcVIcUDatc9BvS3kQbUIV0zbA0FbbSyNCLPqIJ/WOF7LzNuX35IEJtIRZ6vz+IQOFsoAozRGIu8Pu7A+DLyxe9f1LrIf+70fvfuVRMiHoT8wn+nkxoN2Eid1qlOlDlO37aj+6EMHaR9KB0ax3Fxs5gI7Y/Jj7eFLveCkuC1WGJw+dg6YwDP5YXgewF/ueKkzy3usP+lAH4FO1Xy6xdlToB/YNmNjt7LdAmE4Uqjo6Up6+Pg04bCYchP1qj3RIe7Rv5AkNmCKkHEDFZUcIhDggtmGynzr5UP0FPacQf3+R4eMidvIinYajm5/4sqxZ5Il8uAqF0I6627MtoI9Tik/zcav3Fx0+ztYWXTmiB9EHcO0rT57REueCE4MrKcQBfTxh6BLxZUQv7rLxULPTQ+pL0ZQ+lWnLcED5QzgINUyyS6AgWuegthDBCVT3yZGDqEFbQuDol9BiCf5EO+UGPwtko2gfHs76hJUiQNAmRlBUCHZk/SsufaoPUAfc/aluggPqJrsECgI+vToWxj9Z8qyl70r0KACJ4trf4T06EE39iCfdmYFms+KyI9RWaQuQzVYHaTchbAOPg4ndQoPNukBAneDUR5oaDuj6JUQNZBACR/+EwFFHCNwKodYqif3hAHhSiAoUOQvj8Z0fSOqmiEBPtZtQCOi7v/Z3tuLoxH5zCxwBw7GjpwwqRXyeQMXlmFBqNDYODsZ+65/6QnNngKE972eH/RYti6SPJ26BmShmriFKa21/en0j6PQCm3YRyLsGLpRkebUdSZ+SOHwOgjQfWjLZBAo6VCINx8QBtejIEi5AFJFvow0tc9oLH3UwBtNH2+XxS49wIr48i0KcjlV90KXWYqdfs1WYkDyEfQPmFZUnFZQHLtLAT9zBfUCbLaWVzVn76HtCTRIwOZeqb5BnrqHFzGKXykr9TzmEJiqtt4i2zoFm/jTvtC6b86KYxt8pqPoKY6pvGme0zxbqSUi7CVVOHKwJ5yx6TRheOp5t36/jzfecfkJcr50BeYkugjfZMwD7ZU65TZT4mSx9HpdPRL+Vr709XonDqiizRxQGe1biYC+ZxE4Sv68y+9P4UnfCZnsmnwOa+dvFP3zn9nWnfXThQVc/bLr0vledaYqD6v8+5n+XU/60xF89WJD9k41/nhe6jqC78o52TePFo+XJZZ4SctwT9jv+k9lP/RJdPN2hB0rTOU8q2s1/Fe97qx3e0QuCrXee/to4rn3QPgBZNqjy4mwGClQ6XLXjgdNWvy4rOL8228QvA0uLg9rcG2xW6e8dP6NjjT2Gxh7oSEJz/iT6Z/RJpx7rt5/2i6yB/QiX56DCUF5xwoJR8RaLyGRB2aLelhqIGJMICS5qu8MmA1AJWYwdcSefsScEH994q7La8UM08s3v38Npax/tvzWszj11yUGXPdFkax8JYX3C3iY6TfbLF8puFDdeUh2Jv7fwoKs6OnnvvOcVB0zEtdPlm3LniSuOVXcMOP4y2c6r1cI/kr7/Qvuf6i6jf7/zXx6h70jDyrzqH4/U6+7qjZfgSeL7tFTk+ER8thz9Qx/zX8RhxLn+BMBF8vD0x+eMBPpSurT3TjFfd+JhMG9Otbdno0aq/2teGH0i7Z0yQSFOmHINCpOYnCQuuxj9cd4jLHr+kx9R/fXI3MpFtLWjBcfo3S89qh7VvmhRF9VdodKEIKe1lhhKIzELJQZIniQmYPYK6xSCnuEnnVCbsg9ln/zTDPUmtAUIUtuSA3TSVHamA7YjRLXXvdkGGolZ6NsTB9eo+Nm2o/GEsM/Hs/aa61vmhHpYFw/OmQBoQ99C3mTyUd9NgSyehNGOuOoAQq4CqLBCXQhB9XHHloAG+8Nrls5feE74jG9vSuoLQLaue/We8fjoWbmii7Y/DO6vBJU/W7Lqqm/m9j8Jcf4zv3efVH9STvqf2nLPy94YRtGHJRpPndS/k8jLrerI/uA8eQncB/tyBaoh/nkauXxkwuemH4hTK4ufceVjvUjYctdpv23wP3OdEEJ9PNtJ5/ZvmH/Q1euyzafjeMnB318v/WIbuhLff9by8Yntf9KzYh3lf9MErN3JFLkhrMw5dcEB33uQ/bd9hmPr2pfvUY+C70iDRUmiQAkmDaEw+Lni4+zMJmccYUBwUBCmXAnmC/HxhCGDUBenn66yBQfkiptQWzbxm124RKSXiYSJMI+/gSYHvoo+rnzG7NCM/TLpLlm89GMp3yzGfMcIrv51kH73oTAYD2Ll4eSBp1QGXZaRjza2IGF7uRivcvJzgvmR5IzqJm0gF1uTPMptkTPUizCjn+qufVh7s0WvI3546arnvqzoxQbUqo+Pni9W6DfOBmm/vKDxn5ZWq4csOaT7xQbdCSi3YOJlz7rqy0uWzX+m4F/UOvgZW1O8+h9/+VbPnpvvfjJ/wabKtN/JVRpRtXmzXLUc83HyQrLljOsDNqO0sN8qi9036JPtKqOf8gqN9mShb7OPSxTL0sYD8aNnLNy6c/uVklVHwnfmv/7nP+PCuFtMw63VcM7Lljzze3f6ak664MBry6OJ+jflva37qcJIFg5glyRI7CRJZBGhOKCPu4FE3laDQRX1Bh36Ig249GT9Azr5hMrn6ZT0AZ25QQZwQMW1gdAEygadCRUXHkLjd22dPL9P4PpHiCPigLKhb0LqEcpbcQW/QF4AtkOkz7oCn6Cob3J8AlfCJ86lTRBtUcfCq0+APs569a8cAPo469tB9kV9oL7SYIaZksJ2wrRJ9/bLPZ4nlyyc+5EwvLDweVV8hMx/O00ZlP0SnP+1ZNU17w0P/v4Y+54qDJ9yxXa5UnJ+UAk/PfD4R+GU3jyKiZg550P4hDEx3I6Kyn/00c9S1Pif9MTVTwNmqCz87MKWzTsvk3FwIufBTkxhrjEHe5n/ZNE/Jm9DftWiVVfenO1z0rhtvuu+T8rs+rxOTxYyibjJWSZZD6fyMBx4q8kgayz6VX6BmrgQK3/4x4YlAqGPs14dDZZWJx+hawF0uhGyX0LVAHLwB+j4CVV3TwblEKocrw3aoch8/z+XPevq7+vBLNo5TyXxg/3qIw+auS4GLmjOKwyh+VsYKU99jyPxXwPuONTPgrM/8CjN8aNP0FggF4XyiSvR0UlTHsjBX4fysvpAFmhpoS6AkIwSrdiybXzd5jtOex8mDiUVtNt892nHSp8HOqu0F2qBA+Ksb/C58+Nk/syzX57+/Jtlh177wSJM0qsdq66+oFqpfJxxJ6SehHn2+TQfb2e/rNpehKvBvduEtaXvbRwZJYVSn8k/1Ys0aZH1N/iz9veuY+ct6a+sPpAAWlos41NrUWN+SO2mH1L7vVc7pKJKTD0QxxdWtt616RJJltPy4l9E/ieuD+XdmWHldbLw/1FC85CWC47Nd5x6QRDF79DQY2LBhkJoB7pHOlhK4LB1sqS1wFCcTLZX2S6pBOdAATQcD3hKK3eLRHsFnkiyvk2uL1sYwCO8hCoDump7tGv+g634A9TNGqsM2/l9KKeQDaLGtXbQeMmF9rJI+vbSVVd9CPhsK2nM0jgy0Qlhc6MHXZyFzvbgAc6Ci1EogD5u1GZ5jIfV+L1ZC8oGxNZugPp9qg5oB11c+yxsJ8/XCLjqIFA0WSELj/+3+a5Nd2258zT99oiS+7yrxvErIJJ6t9N3qvbLguCaJYde83d9NqNJ3OJnLXu/PAz8y0HFXxKnEtfqpzcp0iHBlhtp/BkPNAfOkvU/6KQBz+ZTvv3gLK5Qd8B2+ZTVV9tIO8qAlsBZaKvcjitLCw9svuunn5Gvt/+u+ZZnHBz53rbG9C393S5e9D+gbiKGsIJP/XHlrXJOwyMYuSU3bFvveumLpO3HIUkVUomC4cQL3J2AoRxwQMXRH2hqmJ1ogEOGypE6Qm0HPrR1fyoa/MJk3RieyBe6yocQFeRB9Kp9GwQOFsIcdtTKhmI6G4+1U1yUIEzsNsUg2Ppz0Pruwv4guH3J7ru9CZ/ITIfZtYc/zCcWA1rnxwF4dmO8kvaUI1B9jliB5v6IA+Zt4l+lA/o4eVVH14fiyi6yqBjkAnfys/yqB9rzjzgg2mhTg8AhCoXisxBtrDvXPoqeEUX1yzff8ZKPF3G1Qx4deCVsQ7+qr3ROmNhtCqkPtM7jl1bWthP7w2DHvOrcPzAPFLuXBzjrc6Lg9yuVSl0U1NgXHf8oiHTx1otlmIgZd0Lf17ABG/4IfZz1WejbrHgvynXTRh74Uy1djqCp2uFkwDYUwLwNvJ3YL75WOeWu0QOb7jjlf8tbwN/OPGiKP/w72TlMnK/xYnCE3wXE8g7HsoFHN0QbOP7C8H3LDr3qS40aNR41LTh23HWaTHC1S6M4GpFnN0SYBJabZoIcO2WgN3BAxaVjQmmoihCqEU45ESgNoTiUcRBA+zGouNQROmbjRzMU8BP6uFGtf8HpHMigHiqvXf8iswj7xUcb5lUqr+rr7zA4m4cC1OSrdy43VB/grlg8ERPzbRainfK0aE85CaTshF+CqjQEN413kgNSpzmQ8Aub8icSGxHWJfyN8kWY9qMQOPgI/bZOaq/2i8j3bL7zyZ9uuueUAxoV7P1o9P7T9xZljx2U/fJtlAvdN0t6V7qLlosOu/YWyTJ5GNvygHEnTOxmnPJksw5Q8Unj/1I895Ynph1N9JS0sbmVsB/6qa2+/e0UmWo9fumygPyfqlq7QvtNd57yl3JO/IskTwc4/4Vx+KFlq675p3Z+blhwyI8RLR6LIry2fGVuQyQSCqBsmswOWmKD7HiMUfdCRSMPd2gDLa8+M9pVttAA2Q8hRXpQNNQjQB/3WLpD2Zfrvxf75cpRTR6o+d0Fq66+v7vOZxi385FqTb91YgJ5k/aMNWLp4a6+OQbiYZXBMwTaAbf2VifZIDw+znrLK9cPdfAhVtQ4BtTVNcRDviuoQ2Eb4krsYNfU3umitkfHhrX4xi13vuSZHUhqy1LfOf5i8UFIP6gPtP8i7JcHYeeMtJ2Q2irdJUN1ZM7/lWtbE4wvbQX0cdZPKf5xvHTrXfce16WKjeyTxb8P+S8/zNfYX7+P9BeVRSjs8G3ptB+/jeKUI9C3333W7FTsbOfbdOdL3im/8PxhzHWW15iTsMFvhI0536/8l3fofGLZYddeKB21LcmCQzoPNz+x8ctxVD+crUwh5A0VNbxVvXAZL6AaCnNhcH5pJ1/uYbuGgPhEDFkG/bapdPYFaJfmCHlKIESb7KdNn2a4yeur/WH4niWHXHsd5M/mkvrMcgJxsA1WM06IweQ+bucjxhPQ8DTuaT9pf838bJffU5N+HAvQ2+meQFjWZE9/7Rf5+0gXP9q87qUH5WvcBTWO9ORIn+S1bLJHOlca7HS2JnAS+8Mw+mo/v5GSp2seTd+REAZXso62Avo467Owa/ujuLcFh7rT8pR9ZnXJO/ZtMHzy/O/oxUt5HXVIqwe24oANZkcK88YjbU350zHUYZe7PNumNaecIzfmP91J/JvzJR0HeY5sig/j6sa/3J75ytJV17wnr20eLVlwbFrzkv8pKyT9Lnnr4NuAsMQRXLV3UHA9dFBx76SPNqa8Qd+QVLGMfK0gLeVKMdYB5slPaYnOerIzfpNDGcLhJtCi7Jf+/mXZoT/8dKr/7MVwnxAbfEno+5eWow6lU35fho9TnkRcUUD9wwDBH2DOBmbK8XHyUnfqBx7q3Ak/5FAG+yH0ZVF+O37Uy/aUaOf4j7avffnTIKPXIs9v6Ns5fX2Iu34S3akf+urFfgnBxb3qOdV28nHlYtqThZBNm32cfIxdp/aLc3pbcGDe7GC8UFfq5+usuDiaMMl7L/8Lvr4RVOUPutFfxFvpCz6UTvkhxwo/jLrDXRRsvuslLwvi+lfEL3ouR8xRNPaMO6HNHRqfVvGgf1nv56QfK/QhM/wVSw953vlCZ1BAnrSokpvXvPjlouJfQ00rgEgaHBkEDiUIVTFngFSgUusJqbAPIUvbaT/t5fttrZ3pYDqmOPmoG6CPsz4L1TronhTiBdgfBNcvO/SgjleCiUozFunMh9mY+HHzcfL5NB9nPdwFnAU8KIA+blTsyWv6Gp205nqTbXkM3NfB5Kd5Ddk+zeelvlno8/g4+Tza08YndspEc2HyocF072xv7eJjBmG/uP7OZYf9588606z/XMsPOfB78q2GJ+A7FEI7Yqz7Fn97xboJ73wv3eflk0/zcdjg5YK2RT0KIXDaSn7Qii31JOeLzP9ibZgZ0rfc+eLnRrX4m3Lmn4OYM+6EsCIv/qSZlT3mfxBfv3Th08+RdwV1tYatxA+fvUB+/VXeSc8Bl0JTPJ1coaBvjCnc+56yAH28tcTJnePL8PHO5aW2wx8mow/2h+GDI3Pnnx2Gn5V7ybtGge9ss5zBXIjN/GoQuBVCd9gAWAcImag06OMmS07w2tYgcOhAaPE0mrK5euDUF3KMz/ozPupgR/7el0kZjZCyAdEytQG4FUJ32ABYB5i2hSx5xvAFm++4vqff8Nh69/UHi7jFWf2tD+urE/2y7RttN33lJui0vrYf4070utHXlS72aYZPOf6HYE6l/KnDSeKvVWlOIF6d5P/UdWotATdU4Md04zEg2jXqa5Joox017lkH6Ldt5NrVjkbvftFRUT3+njxisJB+hX86iT9zHj4jzniZj83XwK0QusMw+MXy6pIzwmdcvNNROgaVzVvX/4l0HVEB2gAAPCxJREFU9ow84c3KpAqih+Z6SzSTleKJMS4RNfPMSxCSKNtOnvEKP9qwHaEpZLJcvcoTPOlfExb9tdpUiMkAl5Odtk9pytlUn9qMPlz7bXG1cqZ7334ie1dBuJr2P2GRZj5ALFAsJuYzP2aNPmfbVvKaYiaMSksaSD8qhDnAvlWJpl2TPGjq4t7EnEPQroSedO/wlHWK9sfxhzbd+aKuP1XH9fAA8zk0oQ6pVsRoK6CPs74dNPun/4cJw0r1liTuBcZffFQZ3fHk/u380lyPWwT0cZH539xzkZSi8r9InYdd9uY1Lz2oXguvktXFcuhKHwP3x6jiUknYj/yXBc1dleril4WrLt+K/rotFXkG8xQ2yioLQ0AD9HHQSCdEPQqhj7O9TwOeTnSc/LPQ5xHc9aFQdZNB6qD/AChaoVCX1v0bH/ewBaWVfbS1VT3ask/gchlXflQ7fMuKVT9cjeNdsWR9ipgbjbGGV8zv+f5hnfGzLWPQVh6+aogCqLjIIUz6ZR/KqOyQa5tP83HWZ6HPIxIyOQWZtCFfPtr7hbpZP2xL+0XanKAef8Rv0QkuVzX3ze+/sT+TRRqOiJs+duzjPo/Uiv1zRuJbTM707WXavSWJe8Hxr9ejp/fP0kZ/Z+MP/5PWGBungdoqOCDx/inXQhJ1li4Lyv8WHc968va7X/zUOBi7Rl5bsRfjTthZ/CU2veZ/GD40d978U5c+64qef7m6Im8kOxoK+4nRKmp8NgQQG9oQUsak0A0OaWl/6Jc0lZU+ZOg/rNJKJtYfqoNAxUUWYSLXk99KDumwG3ir0rX9QXDh8kN+1PWvYLbqf2bS6U9AH6c1Po08PrSIWoR9nDw+zcdZj36As4AHBdDHldh2x/zoNGfSvlvpQ91Yn4W+TT5OPhkzQfyiLWtOObmt8g0MoSw4irdfFuBji5558B0NXU/DwchI5BY9vs0+3plSHcU/xmKu2yILAs1TxpXQj7mPd1oPPcA7XYV9U1/oQZqPsz4LfZt9HP7atYp8HX7lWK1+tZyi9k9zxfeJj9OP8JHvb/CgAPq4Elvu5AHRx+XnAk5dePD3H2nJ1EGFfEsq/o3wLTNeKEalpcadfAlVbzyQSv1lNpFfSpQmVLyxvSgprFgEWH1jLXpspFh30gJkKaqJHKTSTRZkWlEOx+lIDaBRfkOVHmTbN/LTbkJTV3iS7lvbLwumby0/9Dp5hTO1b+59NlPoM6QGcKaI4eI3F2R/YQl/gGxt6B0626BFzHJC8kqeUAsu8n0MLkYVErI5aFLTmDA/mVPt+MNKuESU3COoBHsI7x5ix960DbJpa2pfSkvr+2O/2uLGYxRO/I0cn6a0DnYybuWkCKsbx5TFQ35CgEZpQERgEi/DWY2ufDzH/juG4dmlhQdf98imX73gSdFvN0sQy6ci7Jdrm+Lb3ko3+a89cD4GlNLsf8u1JJ5dPeKnInvaFZ3/QZSO4Z4UnGGN4jUvXLypVv+BqH2o5awzoNv4Z8ZzR/lfCTcL30uXHvLDe6bqthF5//l/ylWOVakgS9z02MMYY8KM8saZtpdXCmFOk/sKjqa4cLnDZOC3kEc2QvBrIjt+4kxuqxf5lKcKJa1NvYY96whR6eMNzKlcym9hv0zAty3fff6bZZBPIiwje9YdmulwEQqh4a3dQtcSWo5Iq4TgoWEwsfyw65JfOoXsQZcda07ZdyysnSYGnio2vlIsXWgaDsB+MRa5j5OJ/Lz5qXiWQ66o/aITH8ivFON9Hpbu8G2LkDRNSBII0vL7gaBUoHweWZ/PNw3UMMCl4N20Z+ZTo7pNStFWQJT8BanfTOIRxfv4lG5wqkWYuDIhePkvghn/ZA50tJZ9Fv0iDn0PB5Q1f3HcE0IvX9esnjSTsKX9PX03K9vbzDiO17583uax7ZeLL5rem9N1/OlYwvb5v2MkGDlj6WE/vLUf3hqJFsz9QLBt7HQZUPtDB/avwvHRBZniPsJkjVN+VFOTDH/StiHbyJwDtZ+0v+b2WQ2pLaBT1UEcZ7lB80tj6xz+jD2d2C99PhGMVM8K9756m9/XroTjbYbMiXY+Vp+KcwCT4qFu3rLETBgM8dkyVQM7XHDYtQ9JZ5/DNrrmhXtPBPFfibLvEPv1V16LtJ9G0ndRPTpHaB0tOGSBIgsj8yDbQx5xQhsCWNRYb6CTZpTGPdiUJyGHWxJ0mhG5dY1Pak1a0FZUECekrd3YL9/KEd92V3BbPdHNV5E4YY5Y6ooqLD5xzCsaxMkT4mcHCi7ap+sDamtOuGPiLp2SXKF+yubbSpzQyYl2kSsc8vtJ1U2/evyrkhsvcqY3Ad937eLf1FgIfnvigBKjiWo1+N2lh/7whrx2vdAqKw68dvO8ufNPkjz9OhJeB5imvkRYOtVBIBC4DjoHyUdIPkK/rUkRGWKB1iPbgCOJHLQu8BZR0AFlk+oEwjqpBA3Q8BSihroAYkMhBK5tHQRu/AYNT2VoT9qf9YH+VJaDefzyjuiJoBq+drdDrntAxJdFPdDodYsg9vYHFqN15i4XVqSN3NUYrrL4sOse2+3wH79bHhY+XD4J323aFWe/7wv0Jcev7tQj8uZPXXCYDMlta6/NKRcHGGqEPm5UrXEoGH1bHTmMNzts+kEYy+LH19HsBq2f9ocxfFtMYWxa6ysrFymcQ4krcWA7+lh7d71afthY5+g3vl7G/7CN/SJcKyf9cNOa335e/KMv5EQfU48/Y2PxMHnN+S/nt0h+guMtyw79cfKW3n7YqBfYFq265lER9jr5us276sHOw6pxtGcqnCY6in+oZ2ChEypLA0NzI5+XrIQN7nRNE5oMokiu11XkC31yI12uIZ8pE+DbyAXor84SOv0rBHSDQ3aHCVRpjkcvlwoREAUDgZdQHUGBChHM2lqwUCH8715x6I9/bEy79t6fRHxcfaeOc/4hbi5HEMWxcgCIkqlXsqt2HMY3RHsZpGs3PfiKE4MtWy4TtV5QlP1qMl2lMD546x0vPHzJodf9qgN36LsiqBshHG44HI8CLwN33s4cukFgLMplfJQnNxWH5gqH5JTpojkmyubo2xf7w7D393CobgyqKEjXu3D4+a8GkNXV5zZoGE8JozYvasf4Q76PZ9Mpa1+n439X+LVYeeboY+K7tyQ+gy/d+FMI53YdfyfEpQFjQ5jkf1z5o2VHXP8f6KKfpeGO3rLDrtoowvt2+aSfimZlbVx90vvh/dRR4ioZWHopyC1qsnOjLkgcD+XZ9GhHMYIAmRyTxBldDlwnnzIAZWHyqd2OvPFffVqJw52yIPN8ThzQikRAURcJ4qwGUx4Omk83YUOzX77f956Ue69nPrljK97/cAAXw321n9Z6fqjZzxO0XXDIh6fklgrFAOKTselon5SJJ/FiX4Ro5OM49koUD88tFZksNqe5lq90P+wXyT1c4UD+e2PBVy8Pz6Op39040rMUCNljZRrYrrDxPzALpqejJ9c8/2/lwe73aO95sc6jKXM23tljNATNF6ANrbWO/+pfrTji+n9Jqf3DGhYc/RNbrKRNq08+QFa4J6vPPN/ZggKTpnOy+FTRBt8yAKJjk++lTnnT9hoctocwbWP1jkto4XXLjxh5b7FWzzDpLgbmzvQqEKygO3MtUh8Lh2sPH6vLHTPxSWXkCh48UX6sbMum21/4ujiu/VR6T362fFLdu7S/2T/xczqyNI70qnRTe7c4TBYYoo/iLh5NsrMByQisVMLiHxpoUqoFIZRvNcmEKga1zq8+2C8fWKotNGhPnnL8dcZKxxhtBRxE0XWqJAHyQIr2ihyyw5TmHTegndo/KHsalBvMwZNrXvDuuF6/EL1lhlMyF9Kf7eqTXKe/2vi3Elb+cbcjrv+HoiydkbfC6kF0PnKYCwtAw1OoodKklx2gAsNxVQR/Pk1xBAP/Tl4WagKAh0WiLlc27h+ZN0deW37d8Eys1G86IUaEbOotB4GrTwnVz3heB3Gz53agMnAWiEFx4hRRWkKw+mHdLz/iupuDSniJ2i5K9tt+nUfEF4DY5MpF8mvPk/lEvqWyQ50KJvgyKcxvaowK0lKMtRgOigMCUR0MGh4vhYShKHG0RG2ForCZdhOqkjACBdDHldhAUQ7ZJRAI7I/i7cbd+R63CJj3hGhN1QAVlx0hkKb4g0/oqhMEYGw5aAHCQYFFzijMA+infXv69C3/CzRhOkVvvP15b4yj2j9RB3GdFkDFZUfYU/zRuFX+h+FFyw+//s+sx2L2M27BIQmLL5u+yaUyvNfSMxy4gD6eNmBbQK7CDSIu2Q1DV+Ml0A3j0SCsvmrps67r+c1rqS6zDDOX2uAQnL70/Wy4eRTPyuDPfGzQvNy4FwbzvZM/E7w2Uqn+Y1H2YwJXn+DEIpsMjv3xnf12fpGT4g7lF0ZCjQRkOJrKdjjloQ6llT3QxRQyIMLdO35An94ShfEy2KR/9Jeo1G/75YS/o1tLMRH3kv8aI6RAK3vEWo2nWd2tWt3z+1c4RC/NFwctd0wfzRHVzbTrevx3r9nQt9j4qxecIYG8SO7pyyku/0/IWgOouMSdkHlMyLgTJnkPCZl8kaciv7Xi8L3fLlczIbmwMuMWHBtuP/El8lrX/eAwdb2DPk5nItuVDx6XDYAQOOoITZ7jB58Un+bzoo0ESJY+8ZtXHPnj25W53DV4AP7SjckNKH/qbwfpe0Lf3xSGiQil1YREvmGG+hBnGN9alP2QyyLv1JGHJuqH8rgVlDnNfQpnWxtPxk9a8xjQKCK27g/8fv9+DBUPg6G5whHGoerCnGq0tZ/293CFQ7r3fWe6Wd4Dnyz/G/zvcoHxQTvgbE+5xUG7OglbdEPvXr70a/zLj5YVZ8I0SH5y9fNeEEd1fFN0hHkANZirjB9jCYg/FEIfZ31e/ClTG6uM8Nrl85e8IQwvxW/vFVpm3IJDTvXntfYIJ0qbPOxUZSc5TXRJfEIGlRAy/asgPp72l8qXoP3N7kfchG8hlCXrAfmuPy7r6uVe+NycDgfbEHEQ3kQdIfkIjV9qld+GEHFA3bJ9D+mxaH+96S4K9tF+uBbyABUXKFNx2wWHfHVzB/UgRByIA2JjLAAVRz/syPEDtOQfoiscEoOlah9u2Tn7fJt9nPW92C+iu7/CQf96PlddMTqExj/iiX7O9wgJw0JoVVwA8CrvAO78Oht831Ff38fAwUOYz9/C/lm03pBnEo+Nw+gKWRrOh5/oBz/WfYs/cqkh/8P/XlEdebU8bzaGfCm6zKiHRuO7TlqyYWctfdeAZq+4iBDeEoeycDGRQK1P2TEwwe0P0LTWMQO4DjzR31h+xE/+PttSWctdEIyMBHF9wjwhoweDJTlLwYk6y1icbE8PSxNMQMrjHEmcztegQYbxOq6hB2E88vNYnlnU/OyX/WI1fcUch1/kpV4r2zlELoRs8Lzekl1jh37cGACwb3O5JrQFkHyCk18u0eovWjru6Qami+ZQZ6rQDsJO7A/Date3WOWqrYVDdGNMVcPJ8l8YyOvHX4eKhcPGCZTmcWdmT43Liz/GuvrO5Uff8r86SIOm5o7JWm9Z/cJVtXjiBxK/JcpXdPwx4cJ1mhLhmmp10enhYVeNTqZjP+tm1BWOjeP13xNPeV85g/dQAH1cic07nrQAfdxxctACGp5Cypfhc+uKPfZ8S9H3upqVn0EUvM2QIVFfi+7O5zr5wL/uD1YprVPz/DAT77TtNPJVwvrj8IHa2m/7s36IApu8JrM3DB5CtX8lz8cna+rX+W3sk5OTmcQ/8H42wW85WHzjvacsk7G7j/bq+atJf2EgrRMNyQuouMiW1wU93EnbnnioO/0LIaTlCWSdz5/H10ca/aB66biHjqJAP/N/Flzh2Ljm5H0ngvFr5IHh3Tt2f148ScsTwjpAD5cr9PfPmxec5l6FkdeyENqMWnDE9eg8eCFdEBhOz2QXDOQjZNtW/FiEgxfQ8BRivEjt+nDO3FeFT7mi66fQ2eeuDnn/ENBw3A5wS26cjtXRBg1vjLGywologm2GlDAc2QRVzVaDtJtQLO3afl3AiB8AFYf/Qvk2RtsSy0kRvkcxSHcSao0lfssxR15AH0dbFInhbpvuev4z7Gj69uG2sWeLKaKiN+sWZH81jnUx1721EsEu819jrlal8U/ywMVOhHavyhRaMA/yRPQt/2fUmavZE1vXnbZnXIuuldg8rd/jf/L4Y34IH6tU4lMXrfoJXvg50DJjbqlsvuOEgyfG4+diQOp7AcRNxG2Qmt/8sQU+8uR6FeMQo8ONR+UVQp48YZuQV72+dsVhN/Y4meRqMIuJ5tSMi5vsNffzxNd80sLgIQ8a4xlqlWnim+QNKyEOJ5boRJBRkLYBomRhW/vVD84pFBB38qBm/DDGir+wRvOm/jwa6sFhOloATIa0skORZzgfdldyrXaMNLxfm0/TTm5ZHA3bkuRJ9BWS4PADSj/sl9dw9HyFo0/xTxIpa09SYeYWsJdXnag/zcHYwyY7au7O6phTqXb0Q1Z/jn+5b9gsbIZQcLVtfHT0KrHt4F7thx+0KJQdj+ls58Am/wXhk5Kfpy0/4sf3Toe7Zsw6cWIM796wJEsuX4rHSMtzHhcOgLkbphfUuT/IAM7CpAeU7YIVR/3sBtaVsDcPZHyq/gaNMYD3DQdMJysXgyb+3rQYfKt6LViBXvttvy4YxCuAhmsfba9wjFSrD/EkS6hewdkCBdDHjarjxaolSqjXBYZBXQ2iMpkNrVFUj481bPr28lsIRyOjzNbUX9Co3/ZX5o082L2lHAHQEn+AGssEIndQQ6i4HBDCDm3jIHCrNWi1Six2l4m/3xl0RwHElrXH7AbV2eJBn7/wr1NIv0WU+OGzF8Sj278r1j3btwcW25/5pJ395LaYp/mMdswD4CbNoODbxOmvmM5vVs6IBUccX1gRL75J/TfpzlwMJ+umE6bgnDyzUOPANnrgpFt7nVAhK44/ufLon/+bqyxBBx7gAk+uF+mJCdDHWQ9R5mcnVGOmRI2b1gkt4ddwYAce12YGAPmxtAMKs9/3A3zVwZsul9YWyuvP5W0cnm/V1zILEuKMQJx8Pg04Jk1C4OAjNDzGt2aeO90hkicsToQOao+DtMmHUF55YISHk8enAQcbIXAx/9EpvZdHBGgBlE11cdBwpx/YGHdCNMy0T2QpUvwukpWA+SEd99C77+O/eFP63kMcv2POxo0Pf0Oe8jk5ySfpRePK3jLxs5i3mf86iL8sQsbDSuU1K4/86U3sajrgjFhwbLztylOjqP40OMi/okG85RUPnQ2kEaCPQ5AWRgrQx121AAnUj1Yevfh9KaXEuvEAB1OrAeaHxceTPnyijycMMwOJ4uAk3xfU2jfJx1nfkLc5DM1jQPI4jrYl7Vsg4VFX49PO3Zr3KrfVGPDHhS0m0AZNsGF+JPTnSnYLm+Vk8/wn73jufqQNGj6x5kS87v1g7VdtFYwGYNwrDXZiQyH0cau35pPYHwa/UBE97HzVkuY+0ccdQ178jdbKnkRyYQjzAB34Oe/j7Nw3ycdZb7GRI1R6DJJTyU8FJLxDjOBD88bVq78kvjmdfoC6nkkNeGJKG4ZO4i+3N2W9XTl35RE/vTqRO03IjFhwRFF0nvmHE0H+YGIgAfM2TCTGY+2J5/FqXRjcN3depXxteYHJaTGwiUnj4GIkkdI/nNHwB6gbcUDdClSuT6LxyUbmjZPzxPXHfvjCFVkhy1HbBQe4ZRqykyN8y0I88bdorjTMfCLb4RorwfWP0MVD40V5AqU6jCY4hr2KQaG14Hy1AbpnN+gAGgtx8uE0oLTO7BcP9bjgwLdccvzpaIne8LHqA52pN6GQcD0dBRAbeAm1nVUXuc/Gf7K+es7/OBqaF8pNZh/rNqz+wafEVvmWZWPp2X6NPeNOKLLz4h+E71x51E/lysr0l6FfcGy899hlksBnYXDZeDHo4zbw7FMHcJsaxPfwv7dhIOAY0MfJw7YqL4xHq5XgVUsP+dmG6Q/TTNQAg8D8TIgj4upjPYZt6YBBLFDSmBhu1Jm537D69tfLQ4srBmK/DAw56XW04JCHqjs4OTI2FjuLAGlpbNJ4pePQj7VMrOfJxvAOLJDx/S+cLx/wmib6zhWgrZ3ZL28z7cCnrXung1J/pj5u3cqr4aIC0Mc9lqJRs8H85ee8j095/Mfh0Lwyv50/N972O38vVyL+oK/2t+rUj7ng8mNsf77yqP/6XCv2QdOHfsFR3xq8XpJzPhwjE6n6B9DH6TQLKKc5ORKH6x+gCwQh2qCO0MdlkRhXgsobVxx1s9znLkv3HsBLv2zC4Ve+APEH/xMyFoTohzig4SnUiGkcjUbe7vUbXAtcSpUHFt9flP30EyEsk9s3v+3EwmqlcqPvY/qTEDKIA+ZtfkyAZzfYbbRg/w2/eq58cBhseWLz9reIVsupe1Zfsy+1DdoZzfQkzvZZ6MsTS+vVOQF+Gbjnku3Pl+/jWT14jI4pw8fTenlHTqEFD/anecD49z3/g2jfQs3ok/ANt534fvmw8YG+299yPHrxr1T+94qjbvpIn0zpi5ihX3DI15/OZwLLE25itDyEJlBxD8ooM4cQ6pGjuQFgA9GbXIRXaWjjbXL017sfffN3+uLhXVwIJz9OeHZ1VxYdMjv7eKt6uA98LMTZnvRhhRtXX/lBse2IVvaBTj/4uG8fbYaNxFvVY3yEQeW+Tvyx7PAbfxFWQl2cUJ6vg4+zPgt9nfL6hAwUhfXoExvWnjCwS+Gja164t0z0H4ZPWhXYg0K7fJt9nPVZyLYqJAj+a9lhN210eFcAX8DL6y8jv6P4W8ewmXYTdqVSX5g17tBE8iDPPp/m4/QzlADOQlxIxwq/V0OO4YEbbj3hrfLsoZ7wYVuefT7Nx9vaL5YnvmjwgsVaSP+6+5E3/Y/h8YZpMtQLjidWH7tK3Pcct17Qz0rA4V/6mBDmND1AI5VKcw2UV3buUD2gNMVkp3Xh1/c8+pf/QFIJe/MABxhaA29V/EED3B90lNEIjQciJxHbqruB0jeu/p2Xi45/U6z9mMhgFnY2qVWq0b2dGKpvy42D75svO5sQG2NhfRvN4pHiJk81c4GSuqfK0yUD+8S1c3z7J0Sr3aATJ3CoYnmWr6+fgz5udplNjTjkOD+Ewfc68XseTygzcdf9ubibe9P4i0ZOp3QxC9nY8BLgogv0oY/QF/BWBTqhUD/wAmf7Zmh1chVv+cbbTm77m0EmffD7Dbed8FrR/bPoGTa0Kr3abz5W6SLfoPRkfYXx11Yc9fI/bNXndNKHesERT9Tf6idc4lBOrh4UV6sfCe3ABdpFR+sE55/KczKAS7Ru2X2f8PzpDMhs6RvziM0l+MSNgliI53V0GPRjS1w5bQQBbSrZAdrEMCSEjbcd/664Xv+O2CW3VFCKsV/9LDuF0ov4J96tsqCjKxzQSvi/x9uTOO6+uDHm7KOt1Ad2k6bxD6K3r7/td87svp/uWjxx23PeLFn2u5Zv0jPGvWywlZB2E3bXA7lT+yuV3hcc8gVlNzZMV0rPwmz+q59ll/rbcLbL2l/0mx7lF7Tli7EWc8adUOPfx/EfhLXfp53DBDfcfsKp8kT2v4u9VfoCsN/2Ixc07oRwQhj+YPejjn5TGF4o18yGrwztgiOOz5ZghW+UUagrXjgXISPUYY5JBD5FEoPP4RoEJRuNkw14dAA6frBrW8AweLw6d468tvwX5WvL4Y8pFsRFY+PB3kT6UjgpG+Rk2pvcYlqtv+2kZ62/9fiv1qPg0zLi9at7tKC3HtkasNl+oWhOK4TH4/DO8LDrRjvua2FwtbRKft206SohenUv3OtEZqO21oI0HGGYhlH9Gxtuec7ZncjrhWfDrce9VTq6KK8t/ISS+MvhSgTubAX0cdZPAu9dccR/r56kvscqeg/QYk2o85qjtbIn22nRFzjkMcUn0adpa73TgqwunR2zdZ790Xmb15yoL9TrTFbxXHJl43eienSZrB/n+pr33rMvpU38w/gnu++512vD8LPulzN777WolkO74HjiF2tfJg/b7APDO1owOL4Gfo8Guq1IHMQCBgsPXcjE43I38DUrj/h5z68kVvnlLvFAEjNvkrRpCCwcREAdniwC5VhpoGPD8pHQx1kv1dNcnrzlhcs33vqcVz5x6/HfCKKxO0T/1w3WfvjCinzCvJF4J3Dlwf+9Rbz69Va8OkaksrU9jINB47eJ0ccthqan1M4R7D823Pact7Xqt1f6hluOe6/I/pz0LXOb9ZfC7qWaDe3tlw9CU/smAD6PMu8Jk7yHHcj9VvlPO2EfcUAfR13xpRoF8q2+yeOf6iX6qK0O0m7CNvZLbJZPjE98oXirOuth423HHS6vcLhSbFqEvLHcSWFqN+MyNfsb5YW3jcSLXznsv/NV9BW2ziKVwyUhOa+ZjEBx0KGWOCBKpl4vhwgNMKda+WWlEVbiP9zz6Nt+Ykzlvh8eSFwuA4+/aQO5FhLQXC8KESM7xlxjPHbc9NscKk8iBxjH1fWrn/OGoC5XcatyQQxF0AAooJYsgZWOP3OYyIJMFMj15FfqMpmEoXyqimSr7C56HFsPR4+QD8S2eIcdfsoVaD/Uo28B9TgIblCki10lqP5bPai9BU3UryLKJstm+eBJYqcNQJBNbEbRug7slzdzVMVnn5NF2tmVMH7/VL8Rtn71CccG9egf5WHyF6giTh+85xTfEND3nUI/hwNqwWu4wetex92L/eL72vw5wcUmsMc9sgeqyNZp/qOnbPzNFpOF+ib78bBIgSWqhhsCuYzCHDF/iv9hmBSzrT/j3wl81eO3HPfJPZ69+L1heF3RF3C0y7zdptXHHzBRi6+WPNoNMRiU/S7+6xbOqb508RHX6Q9E5uk3LLShXHDgMtnOndvOwH1NDig4zHCZQFw0ccmTtPx6aS8VTHYdzaAkyY+JKP7nvY5Z/Xm0L0v/PcBYEWYnoGyPFk+Lu9a5E7YfM+BO3py4Vr9E29RsgaAnlBrizhMK4i0fH5Ocqbuccfx1mwxDgdaf7OV+iE7cINTw0TOF8tNUMqdo3gjRZEUuT5UPOydKUddvQfaLK8wXBoNowdwFP0z06BBZcfR//eSJW46/Q8bCoVSdUCdPyLHzhQDzLSBKU7yUqFW6o92Evr5gkOOXisRT1t963MVBFH5596MX/aTTE0e85uy5G8YeeL4s9d4S12vnqivE+dqHC4L2qycAsyjbvy1AzCboQ7sJYabik9gvi5zLFx9282No33ORHyNT30q+UEeVxVwXiGL2WMxxTF5AFLUHbZwlWfsloZWvqN28BSMbdo6mV/QZd8Ksvlk9wEcerevM/gvW3zr67A23HP/n8hMUXX0tGeeasfHxl4Rh5Qj5APNb+Xbip7I6tTtef8ex+0yMB9eIy/WKvHO9NqPdhLSN8crK7sX+kcrI+YsOf/n6OH55savJrLIdH/+tfEazFf1QLjjGdm5/g2TdPLPHjfQ84zgrEGZmB5IJIYmnChUXBj/c65gVf5onuqT17gGd0twE2CxFplUNKeOK6FhkjJd0g1bD05vETxorzZfv402fWDFJY2I26dqbHCQ54fCGCYDM0iR7hcV1bipDc8dLaL1Mti/U/usXHXrDbybrfZI6vAnRJtsB2y+fwquy2HibePNtG24d3fL4L4+7RmL233Ll8fGoHj4ezqmsD+tRRZ4P2LMSxHvEUbSXROa5T4zf92IJ66LQWx/qlQpLEDUVphQdf5lM5dsw/SouUTXRLM38OWvK+c/E75e6GTmLD9p7485b78NwaNFTYfl/knwYkIXzcT+X24o/qFbCm+TK2T2VkeqmJavqWzbfvmDxRLxzz5Ew3GuiHu1ViStHSq6cNj4+fpxMGRV9ZicIbhdzul5wBGPBp6X9ARlXtDjsv/31qHbD+luu0P6Y64AoufkvdAZHhwr4wJxT2snLadJECoMr7hLiIagYygWHBO88m8BttUv3ICmAG8REYjggima50lq6T3kgQ9junT9/0TmdfprSDspdhx6owcMteEl3MZNU109lnGBd6NJzXmMONAttHDL21XwMapOPvQ4617CR24h+tii/kK21yyk5snzUzFGc9klPDfrTFta7bj1AyQaz7Wk3IXrkWPCEeGiDRf/hVXSFrpy7/+eeGLvvL6TRvpQIATqmEh2Kt1+uFuA9HfKVQtnsIlQQT9TUy7iihBnA9JM9EHfkDkRfi+Cg4i8K/OceR998HTSZWrEraYw7YZfxb2v/1HRs3zoML62v/+Wxj0gUnp7PXWj+46V3x4sTjueFyXCiHuy8BV6056InXCZFyCTNn3wtu6HKFc8ljbfsbE7Il1Gs/YPO/+z8lTf/0WL4Y+guwWy87cjDZZI71oLFjAD0cVfrRiUmRZuUhSsdqcbk753lstjYKpehzuz1JT2+yBLP9wASMfcPscJfi5jxRA1oOAev5QDaIhf4h0OlGVnrQLN8Ma5GfkdDnmiueBCSHK2VftqXp0G2f62HyFZ/sBt/gNoX1FCFobSz2WB39ofb51QX9vx7CeFhl45L539nurTWD7qjACrubFWyh7O+CRZmvyplO1URO6ejg6avo8Hn6ncPgs/RABkXQhGokgghSZ5/+Wsc96tYzHuJv2hAuwlVWxyYzdgPqNyQ9pjB4Ff8tfBv4fa7/jX2gqvTCHt0ji42KAo+1v+M3Wa12T209ltcNF9axAdWodA6HCoNZA9nvUFtoruhW3BMTNTPT9Uz49QSmOUSo1WyGh9aO+uzUNrjl/MqYXjuymNuuSPtp8QG5gEudwGxIVSEOQkLvTShgaA0pkTalvLAA5ylW/6mDiCIQoA6HNDH2V87SN2oL8QBB4RI2ymk3YQqGnwojp9tK9Xgc8uPvFG/kmgM3e93f/aSi0XeOmvJDnDEToE6fMjsVz/4vjUjUtVpDn1N/4OP7bQNbWUDEEkD6nCBcu3pypXH/OwmbdaPnYjuNf4d298PPdvJiOPrW7LQ1/Q/3AkccBD2sy/2D0WBD6qwL/Y/dPZDIRQXkARXRMiuvsfxP1QLjjh+4Ugchee2NNbZnILJnZP1jS5UovCv9zh2td3wSgWVWL890CIhbdGIvJWpFTwy8Ah9PKknXyJP2gBvMSBUFmrZTm7Qmnz05doSksdBv23iDu1LBVq/mChA44SRhawD9Ns6gX4fppfpSnk+TXGRQWjyKFeg+kBVmQirlY+6LnoGuL0orvkT7Y9SfBuAD6H99ANUpu6AihcV/0owFo5U/pRu6gsU35rOBhWnHfA9Nj0rM/aAKITWTilsl7Vf+YvdhXPCH6uuqi/Um0w/p7MbR4XbD13ajP+evMN5QOU7m2k3oZLNF7DTt3Uq47+r+Kt+ogMgdXBQ9fF0VD+AD8XxT3X8D9WC47c3rz9dkmEvBiML5ROFBgnQx8nnOxC4PtrhIHDZvrr3c371YfNguR+IBzIJi3GpsRGguMZSiahooGk94oZq7BTxoKD+IPFxqcovvgzB9dBBv4qN3XATzaCdFUI9ytjXQMNBpl77QE5KlfWX2tyz/WHwhX69Q2aPY395hbwaVd6SaIW2DrX9omoyBzjcqd8M/CALrocO+lVs2Mp++XHHD+1+5C/wMFwfS5oL0MXXzUsYJo726+e8j/dRqa5FqV9C9wOCg8h/0bCf8e/aYDSAnb6tFOLTBNeYOmj5lsZcBFi9g4XE3zq1HBLc78OvStR3yJTHv5MzVA+NysLzPHw5jIbDSOAc9E7nlkCWI9rCIBsKTcnhL/bee+lbWzYuKwrygMUkjSIjalHGRIH7tpwsVQk0YSFOCLqHN0qTOqwsMch1tQlekU+aa8o2cpj0zXvHyB3Vx3VCPKlvo2+W35Rt7DGlQb0p2h+G6+fOm/cB2NKvMm9R5T07tkXyeuZ4j6w97fTN8qe2Mmj0BWAf7IcM2UwaEMEKjr8sNn658tlL+vqbMPqlWOiNQlf5eB5N6hu9CcLk9kPkIIpo8UNR+Q1pdGhAo8bt8inxBZtDeQ9vlCZ1bexHU7aBKM1XNwZx3EtB7KjUrpD/9Fniq4Z46KUA9avV0+N2NDRXOLbcfOzuMtm/EoFDEmLDxEGoOAILmvsjDqgbUgm4phTTCu4Jfjt3bvWs8Ok3Ja9wTpxVIgV5AHFA/CDeoIaJuIuhRQknXYsauIGzEGd9FoKPPMA1Xxz0cdTlF1VQqkxf4yENR8St3vpqrW+Wv2j7ZQC/v98PPy991i+eEMPf1eiL4bQfOg42/uEOeRXc+f3+dhsmYtpB6NsGWt7m8wD3c97HUTfIUqniq8Izdfx356nGk2jjfFH0+Iemfr74Mffx1hY16mt8pOGIOKDNe4Tsl7CxrfHTfqsbom+pbI+2nyvpqb89kYwsGKvWmPKNBuEIdBTWZyCsDYNx+bnu16w8avUjxlvuB+EBiaX+IX7AkphaTIQoNMvGFEIxnya4tnVQj4gD5mxIF9ABfZy81gXyxIo/KNmOMK895RBCCnAW1Rc091ek/dLLFbsfc8uX2Hc/4V7H3PJNuTL0YfqC9mYh+pwu+7O64NiPmY+Tt0lfFzvW+218PKkPg7euOPb/t3etMXZVVfieM3f6VCxtZ4YpD1tUhLRAOzNtobwMglhNeBiRYtSUABHjDxOj+E78YQw+0R8S+SMxEiQSFDUgjxgaUAq10047FJGBQqEPoEUstPIovcfvW2uvc/Y9c2/n0XvPnal7z9zzrbPPfq1vrb3Pvvuex4YmvDPFWc98iYiP+JND2TOZWOPjt9mXLa2rpekw5/QNj8IYDzXT/00nH32dfdnSHNr+emvyWMnBKzjSLGIv7ImtsJ1c+o/cf4xHw2F8Uudh+mf8VE/OJGnLNquphJjKdSS2ROO0TSabspKaaSWXpE7VZTkSktJ1XcseH9PT5zRj2DaEAbEpSiLyo6NAOgERmyLObCod1NIxLYMhRS6ZOvRlicRmWIf34jSN8wvzGinOtQvysPYwv+nAAlz9gpAlu0NtWVVzmdlVCzS9DGvV58WlelvBUr3uxHE8VJ5V/qwW3pxtx5JLvg3V/jwR9afti7Y/6vt+R8/G25vBNk9avu+J7c3uhp79x69/c5806nMDE/2wWf4/fv0P3f/99o9axuPiaSIzk6Hkb1L/b5b+vg9avzcUfWDUFNkHuePQ9DaUdKa/7EyQFY6X1y1cjA63mA2lckSRcVIwtGmFIVKqsg79vCxDyomin3Uve+IWp2uAohjgmMZ+7fftenXTcAxENXaGUgY2KapdOYiZjekPIhOZUP4tT67MUZTPprD8usGOEV07DNkOqd8hZQmGtQodh/542uTrcVy5bPb7+vfWKrJRcXzFdTTzXbhrTJ7AqMVSNwbRUbkvWn+/PrE62mJ/TbN/FP0Bk42GPnNDiXTbovy/uPlGae7ijfegM29J+0GVwp7eFIvSn+5r4wDltK9ix3yb7RlLcJPFovp/S/zf+DCOhLex9/8JscLxTkmfvSEGg2JyAskpRJJlbHYoPgNDG9rTRw0x63qga+mirxhPAVvFgDtByahjndohbKmdVNG3/2hb6+bY8AP9g/eIRJQP/YgyUWTuMq5OECfDMaIvu+Q8sTEQVc6QsRoMNWUWh/hce8aqP75M7Eva4pVzFm/a4iprKnSc/PfXZ8Qx3jURbVJtWqt/Xtli7B/d1TntA6vAgW/YfFMOax9PyIRrOG4P5Z+5Wsalf66MZu2SL7z78FtaPnUTJTOEnmP1/3xbx6X/GPjN11d73+lWQP/P199w/f0xz5ddxTrm0ZLZuKdxxgETUrbgyxNghSNZ39sOr+O7U9BCfAwpy/KNQ8iimENVUhU31QxhhKdnTGu/go/ZtbiARTPg7CnVUq4dfJ+mTLsaUtZSDFmGykSRnb9w4Ko1YFvNmho5+G2EOeVbif62mE5SJV5zZOVZuVqCtlfb6LcdWV3Q/NY+jbQ4S5OhX4bpbUhNtVZFELMviaOPdi0ZKPTNxu/u2bh76rTp5+P80a/tbY3+yqLjwphpsv2h7x2dPbMulyexZmZruMRvfmZ3w7z9G6F/wxs+QoFzlwz8EX7z83rJ1J+y+T11bqb+I/X/eu0cfbz1de25ms/ihpcy0fT3x1CVYRHvnKztHX//b/kKx64K3gqbVHiHiljDUHecoaiwnVAc+sSkZsQxzEdeS8rli2edNnhYT11MywzCuBigfeQDu6ZYw8a+HSnLYOOQcv7DE7k5vZzU5Usn/INoX0ANXX4qkJYDQWQiBR5zKLJrI6e3MsWVtjgdqBP/DF1axlnI6zPW9GyK8UDZ+zwfJ+3nFT3ZML14J0w5af8wGvRwi/QXLoq0P17+9auO3pOubPQdKcapjxW+Ldb5vaFn+9QPDld/v86i5I6k/avoIY9ZPzFk/dTV0PQ2bIb+7OtSLpECgqHuHd42r08D+3/h/t+o8U+/4imvLZ9wJMnB1ZmJbeAm1vowpaXxZZcWjy3H8U/P6338nzwaQqsYwMvb0Iv5obkMKctg45CyJlEUmYMus/GkLoNRhpKbpmYpLAMfjhmGKnOiwDjNNxztmObDVvITfTktX9qigxLbxbJTdPX49VFX1tlQ/UulB6eX2ns7+vo3oMqWhdl9/Xs7e2afH8XxjcIDWiK6OjS9Dc3uhqQYbAvVRP6JrR2KLNxpuSxHcjhUmeojJ4vBR7l3dnHt8O3BMqo/zJflt7KIqRwlb2Px9wudvYNXF7VKGmMkLkJ/sld0iPr6D0wptX8KFL9Cm+s/pYlm//EzYz7WlP5PRydpZIzgkHJT/N8vHxVIPUD6J+tLkS3BQcYdSn+9pBaJEFo64XhpcFEX3rS3UpRAY8QBHYo7QpkUPcXS9F6cKh5/s3v50N1ULITWMpA5oHNKGI2OSu81pMx0hiIjjSE9mYcNfVk9P0tr9VFryU8BQepyqLKrH56FlEyCYKh7/lbqZAok0Q/bTFnbzjIpE3253nFmlnZoIZKXcZZedUUFKA8J38At3d/o6p39kaP65NkYftNaIvPbflfvpi+jeTiBJK/7Ovuy6ePHmd6Gprch81Trr5xrXLWs/Cj3lkfyi61QjgtSF2SiyiPYPyo939YWn9PVt+mXVkYRiAUO8QHTJdOPjVfdSY/J2fGMs9HpX4Q2w+vAZPX59nLblVDyzQlt/+FNHzkGF+CYf9EGlIm+bMcRqX5IY7o0hmI/lzezL6pvqP1H8P+ctmwmg2sucOzj34RZ4ajsf/szeNNe2YyjijkNRc38xo4RfZk2iW7rXv6vH+RzhP1WMaA2kk4EW43axr5ZRcbGkIL0AId+b6ijptbPbNoGJrM4X86OWzpWmnXOdMBALGULVla9/Hp87PpjIv7XqNR+amffphuKWNI3fUaLnX2Dd5SiqUtA0b3M02j9xeZmd8Mm2h8a8Ar0m6dNKS2eu3jTutHy0PB0oisJdR/RmbW4iAb4P0trRZizZOCBtlJ5JZzl9br1F6C/9Vm2wWTrp3XbNcKBye7/9dqvY52OgzbuGeb5Mw4N6bMqZ+S1dIUD126sRouy1phM9DuW62ymCFFkNxvEbdDru4859uqsoCBNXgb0Qs5SiejLtTUyh059InVyN0BLNs/HahdTN9YuKJWLzfiLHYLF1c10GAfwg8wjUdR2UdfSzRd09fU/cxhFNT0r29e1dHAlXhz3SVT2QmMq9G3uy7VLb4T98WVlY1spXtHVO3hd66/98nX25ebpX7vk5sR2LB1YE5XL5+KkNVS7Bl9nX66duhH2r11yq2J9nX25dnuarb+NdY0a/1o24dj52Af7MG1YpDTqyQH72OVW/3hM4zRVfptgHRKO++KUg/Gl0YI1b+aPh/1WMuBO+P7E0SaKDv3OkrXUlg+Iej2EoaaHR1iZ8A4NhlkpqSRpsUd09RrWqt+P8+W0vJzgp1E51z5r6yHqhxrv4KT3p6gturBr6eNnYTn//lw1E3q3q2fznaUp8Sm4aPc7MNlu44G9V3g3HAX/tLWG5tsfbRvCe1Gu6ew7eencvs2PTQySm6v/O6UCH8RRh9DOJQMD0fS5PfCO3zCJ9SFN3lz9pS7nh1avYZ3mjiqaZWg5GU50/ze9DamoyURfrkeCn0Zly8cx2ev/roCWvbwtOXhgNZvkB/+CG43HUo4MQJoSHLjfx/Qo0r+FC1Ium7viqR1+OUGeQAz44wealdsVp+YSnTmuympnasF9Oq6iiCo755F45xdMmaV1PoMYudpajml55kcaZWW7AiXSl11GB5zpq5/atw9OiiibZtXp02h32FLhjaxsNS8C/W1pWunWrlMHX8rlnFS7x5y+eT8a/L3khTN/8vKu164Cq3gGTrKgnv7GA+2uNlfOVVY7kQC1u9kIEWSNmZ2JTNZ0zGFpNQG3w+xfivqxonFDR98nfs+Hm5VKzXtSOVs0uqADNfXw/VP1Mp1Q0mHq37IBP0dC58I1+xD1uV3rF94SR9GNlUpyOpM0W/98+Xl/yTVzVLu48YEtr53Woh3mdv9/xj/HTkv8Lxl6/9Sdeyq8gAgOxgHbDQ4C7HjaOnUOr7PJKEOTaYI4jj5/zPKnH61t6RDbSgbMpmZfIoOeYDKbj3S8pg7OP3iME1J4jCD3h5XP4/Qz/KXHXZxE5DZS3iHS549LsQnK1uKH1+/8G77Ka6eextntMTyW/L4ZUfl+Pt8iV/2k33UvSLwpSS6/eff6Jy+CbVZhQnYJOvpRVG6YfRw/9fyjJiHjsD++mLwIL/gdVpFuP6ZncK2WOxEmGpmG2XiX9Y/sqCeNQ3/z/9avb3h6QOzu2/Jgkny356X+O1fhJ9QvJZVkmY0J1Sm9vcPQ38YCYqOCcDtC/6/n36ZrveM12+g1XcajSTD+mR4tmXDs2H3wYjRgNhtRbXhjUtF8wtBPj1nxT7uXP/NrxoUwcRkw+xqypb48Ust1ENZvPpKWrsHO7VyFZcmu5yTV5Vf7FMtDA/RbsorptyrsMkYhRT8OstVNlIDljTh+Az/v4Se96A0Utg9ZdwJ3YBDZjju1t0Xlts1JW7TZrQJYxiMa3e2keLR16Z7k2Q9Ne/nfe1biW+ylGCDPgX0WjFb58dof+WjILcCHYIs7O3suX6OrGaOtufB0qUf5NY9X/6yMan8u28w4S9ByydnlNjTkthf7TzsjqhzEzQTRJeiLxzVaf5ZX1f9L0au4ruBhfBG4v9xevmtcZKBMf8ypJdeKG01dTdcf7mF1aHuq/aU6DnvCn0MA9bJJk6atwYWQrkdrOrllbBZuXzv/bgwHHxvW+mEVUnnTkAdVxqB137wz+z5e1D3yw5oVIgIDgYFxM7B7fW837o48C9357EqSLER/PhED1wlYDSnLNKGqy2OHk8l00Ko5JrxZiuLnkHBrFMWb4iT6G27BfOToJQP/GXcjQ8aWMgB/iF75x6K+g3FyLqb0y9CYZbD8fNgYYpWDYN/isiNMwWBHkijCs1VKz+ILwBB85IlSnGzGz2ob5vQMPokTJpOFUAADZpcCqtIqdq8/pfvtt994ARZuy7xBj9nSOJEhv1xEP8Ptgk/NmPGe5WEwUc7CNjBwJDCAn2DaXhwYOj6qHDgRPz4dDZ1morPPEMQr5JK4UsEzSf6Lycd+DA/7S23xfuzviduirXNOH9gZThpHghccWgeulO3Z++oJlQMH34s5wjxMRGZiSgEfiWbgiVI8acA3nH/QV+LSPlwUvKcytbKjc9Hgy8FHDs1vEUcLn3DsWDv/eiytyvMyWDm9JG2Ere24bzP55Ro84XBvnCRnzFvx3JNFkBPqCAwEBgIDgYHAQGCgMQwUflssVkdX6zRDVzFUVmX0an/EYOrqyzyKOQie51a5Mkw2lKuwDQwEBgIDgYHAwGRioNAJxwtr5y/HTOIUWdbAfEN+OnGoP6doHFc8dNVDLwhkLPa/fvyZ2/4ymcgNbQ0MBAYCA4GBwEBgQBko9C6V6GDlKt5ByAmEBu5QdtMLd3EYf0qxIEej6NZjV2z7kcUFDAwEBgIDgYHAQGBgcjFQ2ApH8uz8aZg8XIEVjowhk4m+bCk4D4lK646dF19rUQEDA4GBwEBgIDAQGJh8DBQ24dixq3IBZhWz7A4UUmUrGUSVM+TKB6J3YZZyWbTgufDY8snnW6HFgYHAQGAgMBAYSBko7CcV3P/Me+7dQ0L4KGgGPlGPsv6kIlHpJnqrPU4u7VixfWcaFYTAQGAgMBAYCAwEBiYlA4WtcOAWk6VkyFY1KNuzfIj88FiGlWu7V2xv3Wui2cAQAgOBgcBAYCAwEBhoCAOFTTiSKOHLeqoWM/xbX30ZD2j58XFn7ZA3CTZEy1BIYCAwEBgIDAQGAgMtZaCwCQcuydjK6zfkeg0i/hgMReYKR6l073FnXfM1ORg2gYHAQGAgMBAYCAwcEQwUNuGIytFNmE0c0Ks1ONmwu1UMufiRrJs5fdqqCf6SpSPC8EGJwEBgIDAQGAgMFMlAYROO48/YPoRJxvX48DGiAF3tMMTu2plTZl44u2/r3iIJCHUFBgIDgYHAQGAgMNB8BnTBofn1pDVse3jeBaj0i5hynIe5x1t4y+Mz2P/F8WefdEcUrXknTRiEwEBgIDAQGAgMBAaOGAb+B5nwCpLPLNx7AAAAAElFTkSuQmCC"],["fxFlex","30","width","295","height","295","viewBox","0 0 295 295","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["clip-path","url(#clip0)"],["d","M182.629 183.635C213.842 170.774 228.719 135.046 215.857 103.833C202.996 72.6204 167.268 57.7435 136.055 70.6048C104.843 83.4659 89.966 119.195 102.827 150.407C115.688 181.62 151.417 196.496 182.629 183.635Z",1,"fill-color-0"],["d","M154.81 93.8059C152.146 100.719 149.483 108.164 146.287 115.608C146.287 115.608 146.287 116.672 147.353 116.672H169.191C169.191 116.672 169.191 117.204 169.723 117.736L137.765 153.364C137.233 152.832 137.233 152.301 137.233 151.769L148.418 127.839V125.712H126.047V123.585L153.212 93.8059H154.81Z",1,"fill-color-15"],["d","M158.075 173.411C189.288 160.55 204.164 124.822 191.303 93.6088C178.442 62.3964 142.714 47.5195 111.501 60.3808C80.2885 73.2419 65.4118 108.971 78.2729 140.183C91.1342 171.396 126.863 186.272 158.075 173.411Z",1,"stroke-color-thinest"],["d","M259.352 172.363L85.4595 244.016",1,"stroke-color-thinest"],["d","M122.291 259.352L85.4593 244.016L100.795 207.184",1,"stroke-color-thinest"],["id","clip0"],["width","225.692","height","225.692","transform","translate(0 85.9831) rotate(-22.3941)",1,"fill-color-30"],["fxFlex","30","width","300","height","300","viewBox","0 0 300 300","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M50 237.5V112.5C50 105.625 55.625 100 62.5 100H262.5C269.375 100 275 105.625 275 112.5V237.5C275 244.375 269.375 250 262.5 250H62.5C55.625 250 50 244.375 50 237.5Z",1,"fill-color-0"],["d","M25 212.5V87.5C25 80.625 30.625 75 37.5 75H237.5C244.375 75 250 80.625 250 87.5V212.5C250 219.375 244.375 225 237.5 225H37.5C30.625 225 25 219.375 25 212.5Z",1,"stroke-color"],["d","M293.75 200H275V150H293.75C297.25 150 300 152.75 300 156.25V193.75C300 197.25 297.25 200 293.75 200Z",1,"fill-color-0"],["d","M268.75 175H250V125H268.75C272.25 125 275 127.75 275 131.25V168.75C275 172.25 272.25 175 268.75 175Z",1,"stroke-color"],["d","M137.5 187.5L156.25 150H118.75L137.5 112.5",1,"stroke-color"]],template:function(U,Z){if(1&U&&t.YNc(0,Fl,1,0,"ng-container",0)(1,Rd,18,5,"ng-template",null,1,t.W1O)(3,E1,15,5,"ng-template",null,2,t.W1O)(5,Ac,19,5,"ng-template",null,3,t.W1O)(7,T1,17,5,"ng-template",null,4,t.W1O)(9,jh,13,5,"ng-template",null,5,t.W1O),2&U){const Ne=t.MAs(2),Ot=t.MAs(4),$t=t.MAs(6),hi=t.MAs(8),Ci=t.MAs(10);t.Q6J("ngTemplateOutlet",1===Z.stepNumber?Ne:2===Z.stepNumber?Ot:3===Z.stepNumber?$t:4===Z.stepNumber?hi:Ci)}},dependencies:[on.mk,on.tP,qi.xw,qi.Wh,qi.yH,me.oO,rr.$j,rr.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:[cc.l]}})}return R})();function t0(R,z){1&R&&t.GkF(0)}const Dc=(R,z)=>({"small-svg":R,"large-svg":z});function Kh(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(b);const Ne=t.oxw();return t.KtG(Ne.onSwipe(Z))}),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&R){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,Dc,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function a3(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(b);const Ne=t.oxw();return t.KtG(Ne.onSwipe(Z))}),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&R){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,Dc,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function Qh(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(b);const Ne=t.oxw();return t.KtG(Ne.onSwipe(Z))}),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&R){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,Dc,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function zl(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(b);const Ne=t.oxw();return t.KtG(Ne.onSwipe(Z))}),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&R){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,Dc,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function Jc(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(b);const Ne=t.oxw();return t.KtG(Ne.onSwipe(Z))}),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&R){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,Dc,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}let n0=(()=>{class R{constructor(b){this.commonService=b,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new t.vpe,this.screenSize="",this.screenSizeEnum=Yt.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(b){2===b.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===b.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=this.\u0275fac=function(U){return new(U||R)(t.Y36($r.v))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-boltz-swapout-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},decls:11,vars:1,consts:[[4,"ngTemplateOutlet"],["swapStepBlock1",""],["swapStepBlock2",""],["swapStepBlock3",""],["swapStepBlock4",""],["swapStepBlock5",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between center",3,"swipe"],["fxFlex","30","width","368","height","368","viewBox","0 0 368 368","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M306.667 153.333H276L260.667 184L233.797 153.763C229.441 148.861 224.595 144.24 218.529 141.746C212.54 139.284 206.099 138 199.561 138H92C41.19 138 1.52588e-05 179.19 1.52588e-05 230C1.52588e-05 280.81 41.19 322 92 322H199.561C206.099 322 212.54 320.715 218.529 318.254C224.595 315.761 229.441 311.139 233.797 306.237L260.667 276L276 306.667H306.667L291.333 260.667L306.667 230L291.333 199.333L306.667 153.333Z",1,"fill-color-0"],["d","M337.333 122.667H306.667L291.333 153.333L264.464 123.097C260.107 118.194 255.261 113.573 249.195 111.079C243.206 108.618 236.766 107.333 230.228 107.333H122.667C71.8566 107.333 30.6667 148.523 30.6667 199.333C30.6667 250.143 71.8566 291.333 122.667 291.333H230.228C236.766 291.333 243.206 290.048 249.195 287.587C255.261 285.094 260.107 280.473 264.464 275.571L291.333 245.333L306.667 276H337.333L322 230L337.333 199.333L322 168.667L337.333 122.667Z",1,"stroke-color-thicker"],["d","M214.667 245.333C206.198 245.333 199.333 238.468 199.333 230C199.333 221.532 206.198 214.667 214.667 214.667C223.135 214.667 230 221.532 230 230C230 238.468 223.135 245.333 214.667 245.333Z",1,"fill-color-15"],["d","M245.333 214.667C236.865 214.667 230 207.802 230 199.333C230 190.865 236.865 184 245.333 184C253.802 184 260.667 190.865 260.667 199.333C260.667 207.802 253.802 214.667 245.333 214.667Z",1,"stroke-color-thicker"],["d","M138 245.333C129.532 245.333 122.667 238.468 122.667 230C122.667 221.532 129.532 214.667 138 214.667C146.468 214.667 153.333 221.532 153.333 230C153.333 238.468 146.468 245.333 138 245.333Z",1,"fill-color-15"],["d","M168.667 214.667C160.198 214.667 153.333 207.802 153.333 199.333C153.333 190.865 160.198 184 168.667 184C177.135 184 184 190.865 184 199.333C184 207.802 177.135 214.667 168.667 214.667Z",1,"stroke-color-thicker"],["d","M61.3334 245.333C52.865 245.333 46 238.468 46 230C46 221.532 52.865 214.667 61.3334 214.667C69.8017 214.667 76.6667 221.532 76.6667 230C76.6667 238.468 69.8017 245.333 61.3334 245.333Z",1,"fill-color-15"],["d","M92 214.667C83.5316 214.667 76.6666 207.802 76.6666 199.333C76.6666 190.865 83.5316 184 92 184C100.468 184 107.333 190.865 107.333 199.333C107.333 207.802 100.468 214.667 92 214.667Z",1,"stroke-color-thicker"],["d","M239.077 111C241.796 111 244 113.204 244 115.923V126.077C244 128.796 241.796 131 239.077 131H191.923C189.204 131 187 128.796 187 126.077V115.923C187 113.204 189.204 111 191.923 111H239.077Z",1,"fill-color-15"],["d","M184 76.6666V107.333H122.667V76.6666H184Z",1,"stroke-color-thicker"],["fxFlex","20","fxLayoutAlign","center end"],["fxFlex","40"],[1,"font-size-120"],["fxFlex","30","width","383","height","279","viewBox","0 0 383 279","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["clip-path","url(#clip0)"],["d","M267.882 220.417V104.583C267.882 98.2125 263.809 93 258.832 93H114.029C109.051 93 104.978 98.2125 104.978 104.583V220.417C104.978 226.787 109.051 232 114.029 232H258.832C263.809 232 267.882 226.787 267.882 220.417Z",1,"fill-color-0"],["d","M357.75 197.625V81.375C357.75 74.9812 352.069 69.75 345.125 69.75H143.125C136.181 69.75 130.5 74.9812 130.5 81.375V197.625C130.5 204.019 136.181 209.25 143.125 209.25H345.125C352.069 209.25 357.75 204.019 357.75 197.625Z",1,"stroke-color-thin"],["d","M86.3125 186H105.25V139.5H86.3125C82.7775 139.5 80 142.057 80 145.312V180.188C80 183.443 82.7775 186 86.3125 186Z",1,"fill-color-15"],["d","M111.562 162.75H130.5V116.25H111.562C108.027 116.25 105.25 118.807 105.25 122.062V156.938C105.25 160.193 108.027 162.75 111.562 162.75Z",1,"stroke-color-thin"],["d","M205.979 116V150.875",1,"stroke-color-thin"],["d","M205.979 185.634V185.749",1,"stroke-color-thin"],["d","M2.44963 159.45C0.488815 161.41 0.488815 164.59 2.44963 166.55L34.403 198.504C36.3638 200.465 39.5429 200.465 41.5037 198.504C43.4645 196.543 43.4645 193.364 41.5037 191.403L13.1007 163L41.5037 134.597C43.4645 132.636 43.4645 129.457 41.5037 127.496C39.5429 125.535 36.3638 125.535 34.403 127.496L2.44963 159.45ZM65 157.979H6V168.021H65V157.979Z",1,"fill-color-15"],["id","clip0"],["width","303","height","279","transform","matrix(-1 0 0 1 383 0)",1,"fill-color-30"],["fxFlex","30","width","454","height","243","viewBox","0 0 454 243","fill","none","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["d","M141.75 172.125C178.098 172.125 207.562 142.66 207.562 106.312C207.562 69.9653 178.098 40.5 141.75 40.5C105.403 40.5 75.9375 69.9653 75.9375 106.312C75.9375 142.66 105.403 172.125 141.75 172.125Z",1,"fill-color-0"],["d","M121.5 151.875C157.848 151.875 187.312 122.41 187.312 86.0625C187.312 49.7153 157.848 20.25 121.5 20.25C85.1528 20.25 55.6875 49.7153 55.6875 86.0625C55.6875 122.41 85.1528 151.875 121.5 151.875Z",1,"stroke-color-thiner"],["d","M20.25 192.375H222.75",1,"stroke-color-thiner"],["d","M192.375 222.75L222.75 192.375L192.375 162",1,"stroke-color-thiner"],["d","M138.762 67C136.099 73.913 133.436 81.3578 130.24 88.8025C130.24 88.8025 130.24 89.8661 131.305 89.8661H153.143C153.143 89.8661 153.143 90.3979 153.676 90.9296L121.718 126.558C121.185 126.026 121.185 125.495 121.185 124.963L132.371 101.033V98.9062H110V96.7791L137.164 67H138.762Z",1,"fill-color-15"],["cx","371.815","cy","95.815","r","81.815",1,"fill-color-boltz-bk"],["x","317","y","81","width","110.745","height","30.1472","fill","url(#pattern0)"],["id","pattern0","patternContentUnits","objectBoundingBox","width","1","height","1"],[0,"xlink","href","#image0","transform","scale(0.00185185 0.00680272)"],["id","image0","width","540","height","147",0,"xlink","href","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAACTCAYAAADFh8BYAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAACHKADAAQAAAABAAAAkwAAAABS37hiAABAAElEQVR4Aex9CaAkVXV2VfebfWWG1QWQRYddNgmCO6CiIGrAKC6gUWOIUROz/CYm+OdP/P9f82viEmNUcCFRUVFQlMUIgpIoCgwO2ww7IjLMMMub5b3XXfWf75z7Vd2urn69vK5+/d7Ufa/qnDr33HPPdm/drqquDoNdvMTxhSPBE5vODuL6BUEcHiDumBcE8Y+DYORT4V4fu3YXd09pfumB0gOlB0oPlB7oiwfCvkiZoULiDe9eGtSCH8RxfCJMCOUvlj/AIAyjoBL/abjHJz4+Q80r1S49UHqg9EDpgdIDQ+OBXXbBEW/8i2XB+ParZYHxHDohlrAAB0QJw2AiCOccGu75sXVGKfelB0oPlB4oPVB6oPRALx6o9NJopreJ469Xg4ltX8NiA8sLLDD8xQYWHbrwiOM5QVC7YKbbW+pfeqD0QOmB0gOlB6bbAyPTrcC09P/bH39EbqO8NF1mRKoGbqbYAgRQCkAU47mOspQeKD1QeqD0QOmB0gNT8MAud4UjfvyCt8Rx9D5dbMg9kwT6OK95xHrtY/EU/Fs2LT1QeqD0QOmB0gOlB8QDu9SCI37sghPievyvSeR1QSFHgD7uGPRmSxj8POEvkdIDpQdKD5QeKD1QeqAnD+wyt1TiJ9731Hhi52WytJinFzDy3OUueOitFNTjAkcU3ZDHWtJKD5QeKD3QLw/Ej55/TL0e7tcveamcmqCY5gGDoFqdf0P4lM8+oQflrvTAgD2wSyw45F0b84PHHr9MntvYJ5RbJ/aYqHgat1FwZUNvp7gHRYWEdQdKWAk3BXvt+UM7KvelB0oPlB4oxgMT9VjeAxS9FXMTv56vPeFDDz8IAW2cspLpixdos/XWGIsNm9XiaOeL5eBHspWl9MDAPbBLLDii3zz2OfHs8fCuLDpSJxN3kDUpjP+9Gl64M21QYqUHSg+UHijAA3Gkc5N+IBIcEAVzkbfeUJq/c2z8zJSzAJEljAgJQ85qfusSLz0wWA/M+gVH/Ngf/GW9Hp8Lt+av/jmkwUHcBmclnnMRqGUpPVB6oPRAoR6QVYVe2ZDVgS06bA5Cn/xcZP1z+eEWJBl+tk0WLNl6d6WjUFtK4aUHWnhgVi844t+883T5sPD3/BQAH/i4fFvFDW77WqwNVqMJfke4zydvbuG3klx6oPRA6YH+eUDWF7z6Sgjh7RYQ4PH5iRNm24O/LKUHpssDs/ZbKvGj71glnxX+I4qj1EZ+VAD0ced9DlLAOIi+MF1BKfstPVB6YNfzgLtmwactxAG4HYIrHQZ9HDRsfhvDcaUkLfhQhQJIPK0tsdIDg/VAejIebL+F9hY/+d7lcRxeHkX1pRh8HGxYRigO6AYrIQcpoFwFqVeqI5cUqmQpvPRA6YHSA4kHbE7CIbC0ELcFhtFJw9xmuH5I8hYnkGKbzoCC68yWii2x0gPT4IFZd0sFry2v/+bar8lgOxj+bBi8GIMcf6jDg1T45wNVimuj74d7fvoxwcrSgwfih9940EQU/lleU/mcJS9/CQNAFOKARRR8vsOq2j7npThX2j3rE8by6H+4Qz447qxUgh0y4T8hv/b368pI8Os54fyHy68eFhHNXVAmhok3ZyV4h8MFCxF7ds3GmwnbBf1YmjwUHph1C47oNz/8R3l3xmnwbu5YFWIyVjkGCW1kBtVK9aKhiM4MVaIWB/vIQu8deerb3MlLwRKjzHM0CEXD/CoxsUkziVqDWNYBorAtubP3sPP5PX2kYSiyYiegiZ/6JD3JzTcwY2IP6kFcC4PxeFsw/uCbHpeF7K2ShLdVK+F/VaPFPwr3+5cnG5QvD0oP0AO6IraPR0i9dErKyX+Xm2iKFv7XaN1nKMlhE4z819wELEvpgWn2wKxacNQeeft5UVR7j/68vDhWx5gMPH+sNQw7DEoQ3ODEya8ShhuCffb57jTHZeZ37xYAGRc32WXzoUyaLjCMD6Gd8DFnWpAYLtarQFfXJFwI2t7BpN7jt/7THMntT/iT/og7GWqf4C6FbLGCjuJoTyGeJvTT5FtSQT3cUh974I03i6Dvz60El4RP/8q6RJ8SKT2AS26SLMwzwtx8FFbWq+NcLuY5MTf/8xhLWumBAXhg1iw44kfeeWI9qH/GX+0nZwF3NsAgBcrBqrjsXLW6Wz5oXCLv3hgfgO/LLsQDmBAREYNwSWOU9EhY0phlPtGhrfxxkWnS/JhaLSnMD/Ij+CobDbUIopc3SGjUh32lSwxKZvtGflLFzKpwniD9nTBWDy4ce+Dcm8KwctGcfatfDsOLy3e90FG7KIwj3NxDzjXmjx4JGRAlm3/ZfPYl+C2yWWp15b70wGA9wFvZg+21z73FG37/aVFY+5YMxnkNA4srf0DZ9KTmoL/yx2DmgB4JRi7us3q7pDhMjPiz5YBB4IgDIXAthDggDigb/ggVBwtorUqmvbKRJgdsC6h/rg/kAxc9hGgLHkIfV6LsmDfMIfAABzQ8hbRbfRLHJ8pDzZ8de3Di/rEHz/3zeP1bl1BmCXdhDzBXAV1uEiKTUAhzvZRpbw388YK3jpal9MD0eGDGLzji+H0Lajvib0dRvLcORR1wGGCy6XV6B5Nr9jxFpAPXTgloE94ePvUzt0xPKGZnrzx5Jyd0cb/S3BlaoyE7d6gIaQ1n8xbuwW0wFP32keISTQc1B6xW9z3tMhO46iY06qtZg/7dhj6As7S3P95beP7PxLaxdeMPveE8wbULti/hruEB5hMSSxMgIYj9Ssj3Q+H5n99tSS090JMHZvyCo/7o5s/LGeZYWN80ucuJR2k4AelJCEx2gsrjr5Tv3oBbBlqyMcOxv8mBi6Gcxj2cPFCWMlRxf2HpP6AhbdG+adOn7IQO6OPk9WUIrn05SB182KSPKtV6R93lfTF7RvX4op0PnnvD2P2vX9W6RVkzGz0gjx5rbvm5pLnh5Txy16cxdwjVL8hXFEBsyGNC4OUFDvNPuZ8WD8zoZzgmHnnrB+Iofr0MIy0YajIkGz4QuOGn9awDRPH55WnuWmVk7r9rRbnrgwfMx00+F7LSGDT0hInQFcaLEEHSJ+4dgXRChFLnWIqgLELI9XF21ClkW8K28hJFtIeu7Y/jk8Tmn8szHu+ct/8lZT52GqdZwse8Jpz2/J9mv8oPb86dePjeI+WL7cfJkuy4MIqPkxl+N3m4/6Nz97vkE9OsXtl9lx6YsQuO2iPnv1Im878zeznJY5gCt+GKlT+/Fgk+4vpVMRCkJAM7Dr4b7v2Zx41a7qfqAX7q0ofaEAfGROLDB93QB/FW9RpOMDLEwLPFq2snrzFDbC2iNCdD20+ib7brqcrL01ceWl0s32u5ZOcDb3juvP2e+cdheGF6WS6rQHk8qzxgC1R9ysfsYm4T5lnr1eXlE2nWNJnx8iRNKw3vUBp/5LLDwnrluCiMj5c55LixB+46UsybS8XMVHgpWEZaCWeOB2bkgiP+zfmH1iaiS+TUJbeEkIJuEOklcRxaWloYUtzud+KyOOfv9HQRVoOLjb/c98MDnNZs0YcTu8XBru5iIWi9NF0BEDJpnejB6HtRds1SiuVIvjTqSZjVF6mlujsGAPZJiWyLY+KEWXld2R9HF4w/ePfKOH7Hm8PwsxPsr4Sz0wPMe8JOrGQuptlOjBBSfLwTqcXzyJWLyvgDdz8zrITHy92k4+phdNzYg986WlRdEMn7bDCFcwwRFq9V2UPRHphxC45407t2m9i6/TvimKXpQLIB5c5p3hV0d889Sd2sO62dnATWV58y58psbXncuwe4wMDKwk7Y3rSRg5JkJ2jGLad/O2PLbORaSNBj0oSd32jlo5f8dAeIgogDs8gDEcxrn70KppO/1AOiaI6JAOZa0tbTJ6GhAdqyDxyjONV9lKSs/XL8e2MPbFkon/5eE4bn1LV9uZuVHtC8lFxhDuYayVz18q2b/J+uRzh2PvSWA8OgJrdEouPltTTHyWLjGBlTS+SWuJrJz4jZ/G/ygbPfv0rdxFMShtYDM2rBgUtuEw999+syIg+CR/VkILM3TwbZkws4rPBkYZ+s9QQgFRzYMtC/Un6CdK7qC5BpLT2DGu7O0I0RyelM2ml8kvYIlGyuIdGkWhClJYRG/uzr67M5ArHaXmBPhSsPQhUmUhN9HD4F+yW/zxy7/5v/LPpd0JOOZaPh94DkB/OeUJXOJChzNUkvQZSWEKSVEszkbP4PYsKXH85cOD6++WVRGB4X1oPj5LcFjotrO3eDKSy8xszjBIrundif8JfIjPLAIPKvbw6pP/Ldj8kq4ZTk7KODUXbM5MwtFczx/EBAJTSZeeDgSDjn4gypPJyqB5KYiCDgLSbEpm7YjhCNedkCopSOyZktudx0BAY8+QTo+nbV+DYAlDEIGbgCYTQcEfdvu7EN6pPJvJU91IsQfMBb8UOmX9iO0NkvVv7hzvted9f8A75WPijn+2u24Yw7YZ/zvxYWf41jorbtMHmP2TeR+Dp00+GVjoXEvkwASSdsYX8QcUBl2peHQ+2BGfO12PGH3vzWehS/GycCLBq4cCCEl4m3quc5CNDOSxGucvwyfPrnVg91lGagclgG4E+CkkDgWgjlQHkcNNzxoy02DZqDPs56E6h7Q70+0I+e8B3kHEWYtmqJNenXZI/IVnvQb6q7YVanMsCjfGADr5Um+Z4MyGu0P/jo2MPnHsG2JZw9HojwtVjEe9L4azKnOaH88EGaT0luMd/y8r9wt9WcFaKX6NG//Pftb3mNpHDryg5698CMWHBM/Pr858oPav0LzGw8V3Cg2UA1N5CGcWk4IDYsRAi5OJGnky7q3X1lyzwP4DMU4uSmhwRaNGxatUlS4qECDOby64QlTG4C1biB5jY0T2Kpshp3eGU0ir46Wl8f7XDQrCaBoJh2BrE3nVL90MR01saurcmCPN8GH0ddXn8mK5Xvy1B+z36xc259fOJieeBuRl2ZNE+V+8k8gIk4N1+8+GMMTDX/J9Ohn3WwJdceN8I4YrrJf9/+crnRz2gNTtbQLzjiX5//9Hhi4luRTLZ6QpBBx2RFAioOqDgOdZpWD/JEBJi3SbKPzwmD/1Dmctc3D/hnQ5tQbPLRCUhiQagxwQSE+Lg/rRMc0MeTernKARzP3yTP4IDmYgwjgLOAB4X8yBejudzR2pRfDyfZUTb7Ux2dTdaT6U0RPs3nZXu1qyv7g2N2PHjHeyi/hLPDAziBal57UPMF+epozHvC3vJ/sP7qf/7b+B/6E9dg3TxjehvquMUPv2/BRG3i23I62CvXo9lslsGpoxNQN7TyTybErV72V4RP+9KGXNklsWcP1OQSR3JCdQsBHkMo8NaFdRYjC5/gyaHheqJ2sQWeFuLWwPoSDqeHTt6CA/o46yFK21hzE0uROMrknPIKje3bQYjQNkByCztzCuih7JJDQerBX8aPn704t3lJnOEe0ICLDUnADU8OBdF/GwEwtpv8B3/hRb7A3WocoO8p57/YX17hKDyKhXQw1AuOiejxi+TKxjE6wjCs9ESVnjyyyctEbpXs/gnG4RcV4tVSqJ2Yxcl6gcFB4NkNk6fyCNSJFDHGv1sgZGOMuKEAGm6LhzRHUIscgQyTTYh+iLNeuYWPRXWRA+qJZ4asHZ4dElzqCPP6N6XQMYSYHELK9GFv9se7j28P/5g6l3CWeEBzFjvkGOc7w2mh5VySXkLuLv8pp3BYaP4H8sWXssxEDwxt3MYeOvev5Cvar8OAkvGnG3IYuMvlZOK3B0ndvXr9xoGFonlwWltX+9i8/Q66yvBy33cPuDO6LgLd5MlJ1IcaX/C6KPN2R6tbICpPeCkDehuNFkAWisls5udEnvZJXsBm/kb57AvQx61PdOv6BySPg2zjQ79P4J3aX69H7ymf5Ui8PgsQu6nSafyZQzCceWhOcPnXMv8H5KqC8x8P2ZZl5nlgKBcctYfeeKY8JCqvLc+u3u0k0fFg46ATmP2Th0W/LK+MLv47YjMvJ6ZVY06erWM8repJ540TumlD2tR168L+PcfuX3P61HssJQyTB7qI/zCp3TdddnX7++bIIRU0dAuOsQffclg9ir4it1L0AgUWCmkhDujjKUcDhlU2ilttN8Bg5ItWWe6L8ECrBUO7CaW5nlcSGPMshPbMBYTa8LT/ydsbv/H4uMnM9sV+CJs919x/qpNq2qRfu/rW+ssYOa9Zg5Iykz3QnD+t4285CmvTfGzffjDegR6+LuzVp/l463rKyY5FtijhTPLAUC044offtiKOJy6XRFyCMYRbJYSKi2cJ4WQ/YRVnkmNSx4YlC6F3f0W+3/Czeft9cQ1klKUID9S82152lQrxwWbPQxgELgFSGqCP8zkHcBgfsObSlAPCQlozd/cUpA8KoI8bVWsc6vTXI7PZ0s/wIuwXv7w8jt89L9WlxGa2B9KxMCz536s/kftF53+vupXtps8D/jcYp08L6Rn3o8cevPtSQQ7gkxZ6PpI6QijYiGOSt5dVo86ODOJYCR60AYAHjsKLQS5LgR5wgdJXoQjuXomiHfoxtEWIfa21F200+ljIMDM0yCKJnaAOs7dbLWRzBHXUAf0TB0RpV69M3i7LX6T9ouP8nQ/85kTp/jpPhRKdgR6I8JsiLue6Ub/b/A+C4u8i41cGMeRQisp/ueVuHZT7GeWBoVlwjD14z8fl5Uwv1kz1HvxMVw2WxHZCMB8Tb3VyyEYCfJUwHJtTCb6arSuP++0BmxCw5xpAe+A84aDWSVzc/NS0aGRb1ifChCAn97rE9F91cvMnoITZdQ6pjsYqQsyIirsVEfGkXtpCvkxwc+VHslbIBL+b4PuKxAPzPdZoII4gi9QEcQSt69F+7T+WMVMuONQVM3mHS81IiWy+MHcAtWQJyB1LIq3GMPAOHZ6OLydlAMASPGtP3/J/qK7ND8Cds6SLoVhw7Hjg9b8fx/ULbOZ3IwYObsrWyb0uF+2VgbCpvYxEuUnz7XC/f39yckll7VQ94J//fbw5qE0zqHRNmnFDF4ushxhhYuGB35qWHzSL7z977x1x/WR51Oj8MIjk1oZO+8mHVN9mH++z/dJf+Bz4pyyzxQONkx7znjAZCAlB7PZwveIhBF7xw1xIGjxEetHe8nPex/uV/2H5WypFh7AQ+dO+4Jh48PUny0Oin9Ixg8zEvJ1kKHGcgGSxoO9BkOndXQEBVR6c09OTMigGScZvNG8P3rBysUcp0cI84GZBhsMdWojkwIWIi0NCqOPjWfU4eQIOavLM6oDj8BmXPibgG9jG1r3u8CisfVqutjwvO8HryQC2FmC/SIUfn6mw3M1oD/hf8+w0/2FwNt/YlhB5x1+MHZSD5khHE0x45H0B+T8oW8p++uuBab0wFT/65n0narVvykQ9N1lkJIsNGMpZGpALC4NcUhAqt2uLWyfYdDg6qLLC8NF5+7/6GvCWpWAPmPvTyQaBYrAI81RoDLmETQgqCxDTaAqTSTVPzgBp8w762q/mH3AEbm18QtWznekNW6F/QfZLnu8Xx2fLa//LMis8gFxBAdRNdglszn+d64RBoRsrwJP2efmnHRS3m5DlxqT992H8F6d9KblID0zbgiN+9B0Lx8Z2fkeM25MG6kCRAw6eLAQfeXycfPqWfRlsgNhQCPUgir4UhufUFS93xXqAJ1hMfjrpYRK0iZGQcfMheDXGbA8tgQ95wTtdFh70rT+W50q+1qB/8fZXxu6L9hty95TqtfMAvpDncoUwyftJ8h8PKaMAYsOShBC4jjUHgQ+scPwWn/8DM6nsaOoemLZbKmM7N10st0OebXdQ0oGgg83ZZXUYTEawwSRjCAPIFR8njRBfodXB527ByAOjF7OuhAV7gJMbYsdJR9C8p9Z9TRB/a5LG2J8o8XQ6aob1KfUFixe9bcfW0ZPEjqepXQXbD1/Uw2CZ78OZiss31So7fr36KSPj8cpaVF1UqdQX1aPKokoYLZKoy53UyrZKpbItrkTbqlF129xKsN7d2pqpJjfozbwnTCo5loSQzX8dC0LnaGFbQJRs/QC+pOI6dhqZQqK4kfs1/stfUzF/zrT9tCw4xu4754PyyxRn5wyHBv9xnBGikgMrYfQI5CNUfncgC4+b5h9w6d1JuxIp1APJQpDxSeYf+RQmMeHzF+ADTn7irNeJCm3dhKVt8UlO40rhhZrSlfBw7y9v237vWR+V0+PHtSFVLMR+U60S1WfUD7lJ7MLxB1+zKqoFJ8s8cKRYcYDE/8Dt627ZXwI9b1xzIg7quBYZ1oMIb7FG/MMoqEd1OemGwURcDyaEvm3dq7ZLBt0nGXGfpMS91aB6SzCneuOC/S+9X1rMoIIRkI6FzvLfzGOK2ZGe4QW1AaMf1oSBH9oG5RCOZzHJioM6vvsw/pESZZl5Hhj4gmPs/nPOiuL6h/R8If6yEwcd1zhYSE0hspY8oBK3wdW8gPHrw4tSOSVWrAcmJDIWk8YFgkQIH3Hwn3wN1RYbCb836UJHx65QdUYKqAA9GsrdgiVzPr9jc+0jMunOKdp+nEiiOBz6BceO+16zX1yPXytxf/62ta8+WQK6EsHTE5CLOY79k67WW7pMFv+FMokcLoIOR8bV5S+cqAfb1r7qUfni0I3ybYYfLawE3woPuuxxyBveYiOgW/sRf8ylXFBYe/Oj2srFGs/QHd5E37b2LDyPdHpWftZ/GI7wuw5LxWU8R/V5yXjG4kKEcJ7v1/iX/v5k2z1nnZ/VL6uPKtaooCkLmuqbHoqm/2/RwZd9ymo63+9Yd9YH5TUq56FFUz5n7E+clfTfZv4TmbQJ8hlrQJR+2g957eSDxy/UzamTb381+OeFB377n9BuoAuOsYded3h9vP5l1crXOsGptsF845HA1sAmczjJ+M35ab15TwfEjvlx/PWkmxIp3AOY+FA0JoI3xsybgBwf+cGob5N1DRozAgJtAOrAdXmgHQ3RLtzz0tFt6866WfLyxELtF5t1DFT1GsAQecBUGZWvDlfqE2dLDF8vJ6HfERjKlR8JcZ/i7+y3nHGZQtlh+BRxzjlygjtnexB+cnTtWf8ZVsKvLqzE3wqf8e1NQ+csGQfMe0LoOGn+T26/mcgxQmjUTvZ7ie/kypMUjjngOZOyzr/JeG3UuLD8D4LdRL/d2LdC1dXlltNH5wmlY+dKxhfUuBIGu5GlG1iP4t2lnwPQhvMYIdSQq3iTzH/WE3Xoav5Dfy4e/bBf9Xe+sR8WcfnXQ/x9++WJhhVm5QAXHPEjb165c2z75TLlLOYoglJcEUIhTkSAVhAG4AwH8U7rnZggviw88BubeVTCAXjALQIZOUL0nAyOTtTITnCdtBkCHrH3Z2LoibSbEKr12/5KUNkyBCYnKoze9+qjglr0l2Ft/Gx5TquqNie1/bdfHOpJz6BSJ7VV4TlV7sKcKvdfPiW3YS6uzhn5yPz9vnlfhnv4DjvJ/zb269mOPGGnbxqVSyLiuOycDE9zFlZnUS5hxoOMDCGq+53/7eLfaD8UkM2dQlRtwQEjd9UVOnZdZoH9tNmPVT/in57P8ZbvARS8tnzHztFL5amvZ2D1jinAFhuIPRYdLonxkKfgyuMe9NTVvtORiQqIzXj99ilNebC2NL6LBmBm2UWeBxAkFAY5C1mnTBZ7oK1yQOWwDWW7tsME5OE+u4RPHbN285i2OOWZ753aj/FTCYdjwbHj3lefvG3tmVcGtfqtEsHfk7FXbYoX7Sbsg/3oA37AnyROAoFr/4TgiwK52Bn/QX28ds/oPWf++9h9r8UzJENTeol/N/Z3ZSj85XwH6OPqV8QQhdCOGvesA8zbwE0eQQu3H2dT9AeIDYXQjrrfT3YWpW15tvt1rtdpt9/XSXA/5j6exBJ6s02e5zJ1A7mlsuO+1bh/8yJE1r+iwTgTQl+dNBLFWUMI7YGbFeaA9PIsyBgfqQO0t4fnHXDkfwbBNxOpJTIID1jMONdrXHK61QhJJSCKroalKVfFiDFX2VovdRpiE69thnMXy9tsMUlbOhZpfxTWp/UKx7aHznxKPBZ8rFavndM4Qm08Kq1FvPoS/1bOlcTQ/JHc0rmCiSK6SGRw5eX1ovPrtq494zOLR6p/NQy3WnrK/y7sryVXj+mMfKiPfIhcxs5Gp/DqtXY40CiYr/EQL+dt5Rc28kM1pQ1Z/Gm15h9sSDRmTRdQLwaZgTPd/ux4YewYz57i7105mmxt1oXHW7PKvex3iBF/iISEMQlEJuLfQeBaCPNEuqse+Jiim3pDcEDFPQg5wiep9EV5R4KOnzyRJa1YDzBRGaIsRD5Y6Cw3JCGEoomB5LBpwEHjS0M9WaoUa1V76TKvLwQXdEbJ2s3jqdoPOfNrizZqJwPeyQvHqqNrz3hvtCO4S8bxOXndD8J+5AH9KUnjfK4TgFMpzZSsPvKJsiLz4R9uq0V37Vh75hvzbBgELdY7/aJnl/kPe7qxf6qfMHW+Rp/QUzYUQj3I7LL+ZpwI+5H/3dif1QfeM5rZklG/w8PWp5dsf7SbcLjspw8Im81nrLuNPyUVuuCQJ9OfL6vfT7IzLq4BsamzHQSeHWzgAE0hcC2E7tAHXEkBygbO6rzqF32WEh+MB1olZDZhJfw6YQH6ONtnIXLBZCC6k+TCYMxs2YvcPlzp20pGnwbct9nHUZe3Ze2XNr8OD75k4Fc4tq99zdO2rxu7UULwsTCMl0D3PP1hN232cdrmt/Fx1mdh1n7I9POAfbGdL1NxUZgQM4TyAUbRXrUo+rIsoC6P7z9ruckd3B46+bpS/yycqv2dPsFBy+EjFPWV7P15W+dxqUsg+LycBo5C6OO0y7fZx1mfhVO1H3ZoP7QI4wx/0HUKz15DZp7+vs0+Trv8Nj7O+iws0n71gShJqPqKbwjVd6IkYRJ3oUH3PP3R1ndrYQsOfA0uqsffkN8ImCMWwAozxEEY5SuouJhCCKPU2YSQIaXBGe6KB+576b0v7QZXP8AoD6iEwQ3zn37pOm1Y7qbFA4yXxjInhk1KIQFQAGVDUhMqjkPyCD6sJY7CQ6Fb0faLS28ftA+2rjvjxVEw8UuxTb554sYlxqmHU6fi7Xf9iyP8vti/TQY4sknBUsfmGaYRobaJ4zNGJ+o364OvqZDBYVQGULZ2+e/b7OOpwuYf2t/pFY6K+As3SvBPqC6EYIpU1A4s+inO/n2dfJz1TbBg+038JPFvUqgzwmyxX2MtJgMy7oRJ3HuIP71YyIIjfuxNi6J69B25TLgHAtwyGM4C1pMX0BIjhaYwLQX0cVebWYDI9/AvtppyP1APTMjnqFZB9AMruC4UHbRFo2QD4ojFiZ5ERHMHQSLO+oHa1WFnMrHKLeH4eblJ3G/7w3CgC47Re854v1w8vFq+3rqHnkA0NhYrjQnsQ6AAfVvpO58meF/ir4lhHXAxCohNVXEQOHROIRLKaNba4XF8YFCbuElsfQPpRUP4gXlPCEWhK6GPa4USrJ76tbO/0ysc+IFMja/6Lo2nT5uN8acfu4aIBTbxVwKBoxD6OGiyDWX+i2o2Tswextz0TWkdx99bZXgovDH1IkqE27du/aIMlaPgeFHPApAzODQwXr1vgI8rnycLMimXUHm8GUa+c7994dLdLoX4skynBzRCooCLmuaB4IB5OdFWVY5eN2Lb8g+eYdu6M0+VXt13z4u2P75lUBbKw5V/LxPkR+T2gzxw6eKpndPGPE1Y5/j7Hn/IRS6YfJ03BAf0cdabhtTJNQXRTyfBpe0CuRj8lW33vOId1mZY9lAUhQr3Yr9J6Gjvj1E/drMx/j2fDb18anIq6wBl833o+7apXStCP+JPnaSPrDh0SxpwX0df967jD2EFfC12+7pX/Y1MSq9tUNT6EuXdwzX6CdbDWU9DAX2c9WokDlzwlO45r8E5wTfCPb6wNWlaIoP1AGLhx8P17pagEkH7A5m0fAUZX4s5Hq6zFngg2OVQfsPpo8bx/1DbC7ZfrqLUFy2Yf9UgDB295xUfkZuxH2CsWsbPt9nHnZJt2zcZ0z7+k+WBLTqQitKz04dQu/J19HGplEM8DfaZrXe/8o+a1BoYof/2T0X1tvHzfejjrtO27ZuU67/9LePf43RCDVV132Yfnwn25+ibDUfb+PkyiHsPcfS8pssqguPt9575GgF/C6VMsRSmpxXWmAQ/WEwEQMNTqO3VAKMpD3oBb9Jf2os8en6x9VDup9MDFkdM3hYrrCOBp2tKwxE526CtnxU4Tgu/vgZIPK2dfmzb2jPeJva9kJoUbP8N4dMvLfwbKlvufsVHxY73Iy7mc4P0PyFt9mHB9ktXqU5p3rTOH1+3PDyrrxzLK1WiTxS/6Og1//trf+ITOfmaL2zcmm/TvhBzxp0waeshWX/2f/ynOvUj/p7qHaP8bJzXYKbZn9UXPmUeALdYG2TcCSezn3WdPkNE/pZw9L4zj4xr8ZfkzYLyVfI0BCkmTbFg4G0PHFr28SvdYoyapxAdYQgaDUcp3iDTqnSP+2H2Pfb4gfkHXn5depnEYyrRgXiAiWvhlgT1gubjWWXQjm2ydTi2OoN59dNJ27H2jBfUorr+FgNSHYW2+Db7uHGl++7sD7+dtiwG23L3K98eBtGf0h4blejLDMzGIzPEC7ZftMjNF+d80TLr/3z+1HfN/My1+OOjd52+bvGqK3+Qcvcf60w/6tS9/fi1mY6KfBTF5Z1sPBl3wtkU/17fNKoX7uEsKVl/ZfMJPKC1KkXHvzP56XydtYdxJ+wk/r6tfbnCET/6+t3ljbnfkcXGIpzwYZRubnUkR/qHjoGlhTigtSFEe0SPEDjqEpjHDw600XdvuAxIOyuxAXlgQvpBIloypgsIjY2LaSvcbwMcMSfU+KsNyIXhKqP3nP4eeYnUNaLVPNgGnX1bWtmbpfttaDehb7/QxoKRyleL9MKOe05/fiWIdAEFHagHIfSB/oS0mxB8xAE72fw27IfQt59288MNoOHwPRKHeoETfUMXxsQg5RLmy2dPcTWuBF/ded+ZzyKlnzCSy86+r6AT9SLM1w+2grcz+7vV2fpu7S/obP61+IKfdvh4J7FnO0Lre/Lxb7Hu3H7TqZU93XqH/BY76k048+xHLFEIzU+gwJa8eMDWdvFHe5YpX+GI43fMGV376Dcky/aHRrjK4DRD5hmuSqFLzUaDOFQ6aSBISW0VMbZ4YVI1idOJRNqzkfCjRXVu/EWVVe6mzQOWiAh/NoZ2QmB9VkHSCVGfh/u0rIxBHcuLr+Zuu3v7OfJR8M+jKD5C+3W5Tv0KtP+LSw64/LdF2brj3jP2rdXq3xQ75vh9tLOHdhO24/dlA2c7Qp/m43496H5prOOEYpBTESHa+fzECX25Ms0sm5ioXR6vPff4ot59wn4Ju9LPKeu3TeZGzpHJ9eMGy5oP5Ef28Jct7eLJvgnb8Wflsx0h6vNwn9ZKhtFpQ2fxz8rq5DisyJeII7tyRL0IZ5r91Jswa387e9iOEPzy8HUiZsoLDlls/LMsMl4AiXoJTpK04dqCP7KTBGbwbfXqKwfclEwTjfUG7QSm/enJzN1GAQF9heH1C/a/4n4clmU6PcAYQwf7hEltGE87Bp+3aExw0NIaO4KklCb34iryfMHzlLHFDmdLXHHhWZM4YDelEtTnxpVwtyCurJCHJ/eVtieN3rPtBLFsQZLWKrBBQ03JfttfCcNoZKTy0W7075ZXFhuflzjtnvF41/bY8C8o/h0YxczKzZ8O2ufY/8zRaCN8X8C3V/zc6SD/O9A/a38HTTIsvk7iDRx2MZ675U9HdzH2N1qTMbXHQ/nWlteysYeZb//U7IH9uuZwHprSgmPb2le8Sz7Z/QEHM2T6eM5g1c4tCKZB48nHadUjUFmVcK3odaaKkKWn5EJVf66yA5lYo4KXdzmJd9q+XRe+fFmkPb5k4cI1g3jor51exdS7TGDGMeggM4e14wwhwy9PBOkspxBNXT2g/M2Va1o/Bs5Faiocnchiw/WlEAQRRxoOmwp1s+Y2WkR+BD00MbBzOkOXpuLqOBLA42xQ1kx1IqsFf579ssT+4vwDv7u2qes+EbbcffrvyyR6iukrCtMGJWQdlO00YyDb0leZ6l7shz81D6Tr7CeubPy1W2eC2WPm0N1Z7ZPcZGgZO0AtWDyFb5dv7Xx98TO/d21T+ykRnKLsU2TlxX8q9tOK9mrKSVRD7emkjWZz/Dv3TqP//AUHZNBHQAX34smpI82/yfn7HX/0yzHRaIM7ouqAKNTdy/90zBpL476FPY6p5wWHfCf/BVG99k/UK+3UpxAn5EQBpZptsRMHHEJ+QBoAfrRPr2gQBzR5Ul+vv11ODm/HcSy/Rw0/1SguSQQjZCcrdFsXfnZPHNDk2Ykt1c/o6Z66ugaZ/mBLLaEFwej2bcHWu1/x9cqC6vsW7Xv5o6mc2YA5p6srBG/lEvUH7PX4EQDyg04ZwmV5b1fGtJXwgsaYEDc+NACXFEJ0A9x1l+CsB29DIaNBVU0u4TFHrD/qhYaN/Nav0Cgf1X7/efyT2F+phOsXL5r3Zw0q9vFg+92vfGotqHlXTxrtmW77La7TH/96VP+3+PGzjwj3vHS0b+5n3AlVMHPH4jBl+zt981di1K4e/8QRHSKN/ur3+J9y/KGeP/8Q5/zUZGWjPb2N/1RoTw+N7rj/rP2DqP4NUYVXqp1EXzlOCgYbHQU+TNop9HGbtH1ZqcKTYTzpAPYmz++zUYYvu7UOje19m32c9pme0Tn17RM/ie89e1lruTOtRpZVjIEHcZbGH6HiSoHfuMFW+hGshreSp7zK02F7GVgqEwPMwylfNXR6mn7oIdVHlrRQUJpKXqNGeAkTGWjvNkGsP4GKoz1o7s+kQyY3SAduBXJQKE/WOu8Ln3bZBqvt/34invhHeYvoslQ/05A9Tbf96jvnS+DqK8LEb63958fcx+lftVvk8Q92A2dJ7Jdn1rZt2PpXpE8d4kMT+yEUitpmUHHoBho3tFEetGE7QmsH3Whf0OFHTJNmcnLtl76Y94Tsw4fQzddXZYHm/qCz0mTfkf4ZedqmG/u9MZ+Nf8OPfsBpXRTfZh+fSfar3ohGQ3wsQnRFkv/Cx7gT+nYTh/14IJql6wUHXlteGxu/XAS6+7sQxWRphOhU1YUBHp7ysy2gFOVx0Me1EtWmOKCPu2o0JKfhrk+V2w95Kp194IC42WnHKe7b7OMpXyJj/9Hatn9Q8bNk587nelIHjsGNjbg7VA8CT7wmcVIcUDatc9BvS3kQbUIV0zbA0FbbSyNCLPqIJ/WOF7LzNuX35IEJtIRZ6vz+IQOFsoAozRGIu8Pu7A+DLyxe9f1LrIf+70fvfuVRMiHoT8wn+nkxoN2Eid1qlOlDlO37aj+6EMHaR9KB0ax3Fxs5gI7Y/Jj7eFLveCkuC1WGJw+dg6YwDP5YXgewF/ueKkzy3usP+lAH4FO1Xy6xdlToB/YNmNjt7LdAmE4Uqjo6Up6+Pg04bCYchP1qj3RIe7Rv5AkNmCKkHEDFZUcIhDggtmGynzr5UP0FPacQf3+R4eMidvIinYajm5/4sqxZ5Il8uAqF0I6627MtoI9Tik/zcav3Fx0+ztYWXTmiB9EHcO0rT57REueCE4MrKcQBfTxh6BLxZUQv7rLxULPTQ+pL0ZQ+lWnLcED5QzgINUyyS6AgWuegthDBCVT3yZGDqEFbQuDol9BiCf5EO+UGPwtko2gfHs76hJUiQNAmRlBUCHZk/SsufaoPUAfc/aluggPqJrsECgI+vToWxj9Z8qyl70r0KACJ4trf4T06EE39iCfdmYFms+KyI9RWaQuQzVYHaTchbAOPg4ndQoPNukBAneDUR5oaDuj6JUQNZBACR/+EwFFHCNwKodYqif3hAHhSiAoUOQvj8Z0fSOqmiEBPtZtQCOi7v/Z3tuLoxH5zCxwBw7GjpwwqRXyeQMXlmFBqNDYODsZ+65/6QnNngKE972eH/RYti6SPJ26BmShmriFKa21/en0j6PQCm3YRyLsGLpRkebUdSZ+SOHwOgjQfWjLZBAo6VCINx8QBtejIEi5AFJFvow0tc9oLH3UwBtNH2+XxS49wIr48i0KcjlV90KXWYqdfs1WYkDyEfQPmFZUnFZQHLtLAT9zBfUCbLaWVzVn76HtCTRIwOZeqb5BnrqHFzGKXykr9TzmEJiqtt4i2zoFm/jTvtC6b86KYxt8pqPoKY6pvGme0zxbqSUi7CVVOHKwJ5yx6TRheOp5t36/jzfecfkJcr50BeYkugjfZMwD7ZU65TZT4mSx9HpdPRL+Vr709XonDqiizRxQGe1biYC+ZxE4Sv68y+9P4UnfCZnsmnwOa+dvFP3zn9nWnfXThQVc/bLr0vledaYqD6v8+5n+XU/60xF89WJD9k41/nhe6jqC78o52TePFo+XJZZ4SctwT9jv+k9lP/RJdPN2hB0rTOU8q2s1/Fe97qx3e0QuCrXee/to4rn3QPgBZNqjy4mwGClQ6XLXjgdNWvy4rOL8228QvA0uLg9rcG2xW6e8dP6NjjT2Gxh7oSEJz/iT6Z/RJpx7rt5/2i6yB/QiX56DCUF5xwoJR8RaLyGRB2aLelhqIGJMICS5qu8MmA1AJWYwdcSefsScEH994q7La8UM08s3v38Npax/tvzWszj11yUGXPdFkax8JYX3C3iY6TfbLF8puFDdeUh2Jv7fwoKs6OnnvvOcVB0zEtdPlm3LniSuOVXcMOP4y2c6r1cI/kr7/Qvuf6i6jf7/zXx6h70jDyrzqH4/U6+7qjZfgSeL7tFTk+ER8thz9Qx/zX8RhxLn+BMBF8vD0x+eMBPpSurT3TjFfd+JhMG9Otbdno0aq/2teGH0i7Z0yQSFOmHINCpOYnCQuuxj9cd4jLHr+kx9R/fXI3MpFtLWjBcfo3S89qh7VvmhRF9VdodKEIKe1lhhKIzELJQZIniQmYPYK6xSCnuEnnVCbsg9ln/zTDPUmtAUIUtuSA3TSVHamA7YjRLXXvdkGGolZ6NsTB9eo+Nm2o/GEsM/Hs/aa61vmhHpYFw/OmQBoQ99C3mTyUd9NgSyehNGOuOoAQq4CqLBCXQhB9XHHloAG+8Nrls5feE74jG9vSuoLQLaue/We8fjoWbmii7Y/DO6vBJU/W7Lqqm/m9j8Jcf4zv3efVH9STvqf2nLPy94YRtGHJRpPndS/k8jLrerI/uA8eQncB/tyBaoh/nkauXxkwuemH4hTK4ufceVjvUjYctdpv23wP3OdEEJ9PNtJ5/ZvmH/Q1euyzafjeMnB318v/WIbuhLff9by8Yntf9KzYh3lf9MErN3JFLkhrMw5dcEB33uQ/bd9hmPr2pfvUY+C70iDRUmiQAkmDaEw+Lni4+zMJmccYUBwUBCmXAnmC/HxhCGDUBenn66yBQfkiptQWzbxm124RKSXiYSJMI+/gSYHvoo+rnzG7NCM/TLpLlm89GMp3yzGfMcIrv51kH73oTAYD2Ll4eSBp1QGXZaRjza2IGF7uRivcvJzgvmR5IzqJm0gF1uTPMptkTPUizCjn+qufVh7s0WvI3546arnvqzoxQbUqo+Pni9W6DfOBmm/vKDxn5ZWq4csOaT7xQbdCSi3YOJlz7rqy0uWzX+m4F/UOvgZW1O8+h9/+VbPnpvvfjJ/wabKtN/JVRpRtXmzXLUc83HyQrLljOsDNqO0sN8qi9036JPtKqOf8gqN9mShb7OPSxTL0sYD8aNnLNy6c/uVklVHwnfmv/7nP+PCuFtMw63VcM7Lljzze3f6ak664MBry6OJ+jflva37qcJIFg5glyRI7CRJZBGhOKCPu4FE3laDQRX1Bh36Ig249GT9Azr5hMrn6ZT0AZ25QQZwQMW1gdAEygadCRUXHkLjd22dPL9P4PpHiCPigLKhb0LqEcpbcQW/QF4AtkOkz7oCn6Cob3J8AlfCJ86lTRBtUcfCq0+APs569a8cAPo469tB9kV9oL7SYIaZksJ2wrRJ9/bLPZ4nlyyc+5EwvLDweVV8hMx/O00ZlP0SnP+1ZNU17w0P/v4Y+54qDJ9yxXa5UnJ+UAk/PfD4R+GU3jyKiZg550P4hDEx3I6Kyn/00c9S1Pif9MTVTwNmqCz87MKWzTsvk3FwIufBTkxhrjEHe5n/ZNE/Jm9DftWiVVfenO1z0rhtvuu+T8rs+rxOTxYyibjJWSZZD6fyMBx4q8kgayz6VX6BmrgQK3/4x4YlAqGPs14dDZZWJx+hawF0uhGyX0LVAHLwB+j4CVV3TwblEKocrw3aoch8/z+XPevq7+vBLNo5TyXxg/3qIw+auS4GLmjOKwyh+VsYKU99jyPxXwPuONTPgrM/8CjN8aNP0FggF4XyiSvR0UlTHsjBX4fysvpAFmhpoS6AkIwSrdiybXzd5jtOex8mDiUVtNt892nHSp8HOqu0F2qBA+Ksb/C58+Nk/syzX57+/Jtlh177wSJM0qsdq66+oFqpfJxxJ6SehHn2+TQfb2e/rNpehKvBvduEtaXvbRwZJYVSn8k/1Ys0aZH1N/iz9veuY+ct6a+sPpAAWlos41NrUWN+SO2mH1L7vVc7pKJKTD0QxxdWtt616RJJltPy4l9E/ieuD+XdmWHldbLw/1FC85CWC47Nd5x6QRDF79DQY2LBhkJoB7pHOlhK4LB1sqS1wFCcTLZX2S6pBOdAATQcD3hKK3eLRHsFnkiyvk2uL1sYwCO8hCoDump7tGv+g634A9TNGqsM2/l9KKeQDaLGtXbQeMmF9rJI+vbSVVd9CPhsK2nM0jgy0Qlhc6MHXZyFzvbgAc6Ci1EogD5u1GZ5jIfV+L1ZC8oGxNZugPp9qg5oB11c+yxsJ8/XCLjqIFA0WSELj/+3+a5Nd2258zT99oiS+7yrxvErIJJ6t9N3qvbLguCaJYde83d9NqNJ3OJnLXu/PAz8y0HFXxKnEtfqpzcp0iHBlhtp/BkPNAfOkvU/6KQBz+ZTvv3gLK5Qd8B2+ZTVV9tIO8qAlsBZaKvcjitLCw9svuunn5Gvt/+u+ZZnHBz53rbG9C393S5e9D+gbiKGsIJP/XHlrXJOwyMYuSU3bFvveumLpO3HIUkVUomC4cQL3J2AoRxwQMXRH2hqmJ1ogEOGypE6Qm0HPrR1fyoa/MJk3RieyBe6yocQFeRB9Kp9GwQOFsIcdtTKhmI6G4+1U1yUIEzsNsUg2Ppz0Pruwv4guH3J7ru9CZ/ITIfZtYc/zCcWA1rnxwF4dmO8kvaUI1B9jliB5v6IA+Zt4l+lA/o4eVVH14fiyi6yqBjkAnfys/yqB9rzjzgg2mhTg8AhCoXisxBtrDvXPoqeEUX1yzff8ZKPF3G1Qx4deCVsQ7+qr3ROmNhtCqkPtM7jl1bWthP7w2DHvOrcPzAPFLuXBzjrc6Lg9yuVSl0U1NgXHf8oiHTx1otlmIgZd0Lf17ABG/4IfZz1WejbrHgvynXTRh74Uy1djqCp2uFkwDYUwLwNvJ3YL75WOeWu0QOb7jjlf8tbwN/OPGiKP/w72TlMnK/xYnCE3wXE8g7HsoFHN0QbOP7C8H3LDr3qS40aNR41LTh23HWaTHC1S6M4GpFnN0SYBJabZoIcO2WgN3BAxaVjQmmoihCqEU45ESgNoTiUcRBA+zGouNQROmbjRzMU8BP6uFGtf8HpHMigHiqvXf8iswj7xUcb5lUqr+rr7zA4m4cC1OSrdy43VB/grlg8ERPzbRainfK0aE85CaTshF+CqjQEN413kgNSpzmQ8Aub8icSGxHWJfyN8kWY9qMQOPgI/bZOaq/2i8j3bL7zyZ9uuueUAxoV7P1o9P7T9xZljx2U/fJtlAvdN0t6V7qLlosOu/YWyTJ5GNvygHEnTOxmnPJksw5Q8Unj/1I895Ynph1N9JS0sbmVsB/6qa2+/e0UmWo9fumygPyfqlq7QvtNd57yl3JO/IskTwc4/4Vx+KFlq675p3Z+blhwyI8RLR6LIry2fGVuQyQSCqBsmswOWmKD7HiMUfdCRSMPd2gDLa8+M9pVttAA2Q8hRXpQNNQjQB/3WLpD2Zfrvxf75cpRTR6o+d0Fq66+v7vOZxi385FqTb91YgJ5k/aMNWLp4a6+OQbiYZXBMwTaAbf2VifZIDw+znrLK9cPdfAhVtQ4BtTVNcRDviuoQ2Eb4krsYNfU3umitkfHhrX4xi13vuSZHUhqy1LfOf5i8UFIP6gPtP8i7JcHYeeMtJ2Q2irdJUN1ZM7/lWtbE4wvbQX0cdZPKf5xvHTrXfce16WKjeyTxb8P+S8/zNfYX7+P9BeVRSjs8G3ptB+/jeKUI9C3333W7FTsbOfbdOdL3im/8PxhzHWW15iTsMFvhI0536/8l3fofGLZYddeKB21LcmCQzoPNz+x8ctxVD+crUwh5A0VNbxVvXAZL6AaCnNhcH5pJ1/uYbuGgPhEDFkG/bapdPYFaJfmCHlKIESb7KdNn2a4yeur/WH4niWHXHsd5M/mkvrMcgJxsA1WM06IweQ+bucjxhPQ8DTuaT9pf838bJffU5N+HAvQ2+meQFjWZE9/7Rf5+0gXP9q87qUH5WvcBTWO9ORIn+S1bLJHOlca7HS2JnAS+8Mw+mo/v5GSp2seTd+REAZXso62Avo467Owa/ujuLcFh7rT8pR9ZnXJO/ZtMHzy/O/oxUt5HXVIqwe24oANZkcK88YjbU350zHUYZe7PNumNaecIzfmP91J/JvzJR0HeY5sig/j6sa/3J75ytJV17wnr20eLVlwbFrzkv8pKyT9Lnnr4NuAsMQRXLV3UHA9dFBx76SPNqa8Qd+QVLGMfK0gLeVKMdYB5slPaYnOerIzfpNDGcLhJtCi7Jf+/mXZoT/8dKr/7MVwnxAbfEno+5eWow6lU35fho9TnkRcUUD9wwDBH2DOBmbK8XHyUnfqBx7q3Ak/5FAG+yH0ZVF+O37Uy/aUaOf4j7avffnTIKPXIs9v6Ns5fX2Iu34S3akf+urFfgnBxb3qOdV28nHlYtqThZBNm32cfIxdp/aLc3pbcGDe7GC8UFfq5+usuDiaMMl7L/8Lvr4RVOUPutFfxFvpCz6UTvkhxwo/jLrDXRRsvuslLwvi+lfEL3ouR8xRNPaMO6HNHRqfVvGgf1nv56QfK/QhM/wVSw953vlCZ1BAnrSokpvXvPjlouJfQ00rgEgaHBkEDiUIVTFngFSgUusJqbAPIUvbaT/t5fttrZ3pYDqmOPmoG6CPsz4L1TronhTiBdgfBNcvO/SgjleCiUozFunMh9mY+HHzcfL5NB9nPdwFnAU8KIA+blTsyWv6Gp205nqTbXkM3NfB5Kd5Ddk+zeelvlno8/g4+Tza08YndspEc2HyocF072xv7eJjBmG/uP7OZYf9588606z/XMsPOfB78q2GJ+A7FEI7Yqz7Fn97xboJ73wv3eflk0/zcdjg5YK2RT0KIXDaSn7Qii31JOeLzP9ibZgZ0rfc+eLnRrX4m3Lmn4OYM+6EsCIv/qSZlT3mfxBfv3Th08+RdwV1tYatxA+fvUB+/VXeSc8Bl0JTPJ1coaBvjCnc+56yAH28tcTJnePL8PHO5aW2wx8mow/2h+GDI3Pnnx2Gn5V7ybtGge9ss5zBXIjN/GoQuBVCd9gAWAcImag06OMmS07w2tYgcOhAaPE0mrK5euDUF3KMz/ozPupgR/7el0kZjZCyAdEytQG4FUJ32ABYB5i2hSx5xvAFm++4vqff8Nh69/UHi7jFWf2tD+urE/2y7RttN33lJui0vrYf4070utHXlS72aYZPOf6HYE6l/KnDSeKvVWlOIF6d5P/UdWotATdU4Md04zEg2jXqa5Joox017lkH6Ldt5NrVjkbvftFRUT3+njxisJB+hX86iT9zHj4jzniZj83XwK0QusMw+MXy6pIzwmdcvNNROgaVzVvX/4l0HVEB2gAAPCxJREFU9ow84c3KpAqih+Z6SzSTleKJMS4RNfPMSxCSKNtOnvEKP9qwHaEpZLJcvcoTPOlfExb9tdpUiMkAl5Odtk9pytlUn9qMPlz7bXG1cqZ7334ie1dBuJr2P2GRZj5ALFAsJuYzP2aNPmfbVvKaYiaMSksaSD8qhDnAvlWJpl2TPGjq4t7EnEPQroSedO/wlHWK9sfxhzbd+aKuP1XH9fAA8zk0oQ6pVsRoK6CPs74dNPun/4cJw0r1liTuBcZffFQZ3fHk/u380lyPWwT0cZH539xzkZSi8r9InYdd9uY1Lz2oXguvktXFcuhKHwP3x6jiUknYj/yXBc1dleril4WrLt+K/rotFXkG8xQ2yioLQ0AD9HHQSCdEPQqhj7O9TwOeTnSc/LPQ5xHc9aFQdZNB6qD/AChaoVCX1v0bH/ewBaWVfbS1VT3ask/gchlXflQ7fMuKVT9cjeNdsWR9ipgbjbGGV8zv+f5hnfGzLWPQVh6+aogCqLjIIUz6ZR/KqOyQa5tP83HWZ6HPIxIyOQWZtCFfPtr7hbpZP2xL+0XanKAef8Rv0QkuVzX3ze+/sT+TRRqOiJs+duzjPo/Uiv1zRuJbTM707WXavSWJe8Hxr9ejp/fP0kZ/Z+MP/5PWGBungdoqOCDx/inXQhJ1li4Lyv8WHc968va7X/zUOBi7Rl5bsRfjTthZ/CU2veZ/GD40d978U5c+64qef7m6Im8kOxoK+4nRKmp8NgQQG9oQUsak0A0OaWl/6Jc0lZU+ZOg/rNJKJtYfqoNAxUUWYSLXk99KDumwG3ir0rX9QXDh8kN+1PWvYLbqf2bS6U9AH6c1Po08PrSIWoR9nDw+zcdZj36As4AHBdDHldh2x/zoNGfSvlvpQ91Yn4W+TT5OPhkzQfyiLWtOObmt8g0MoSw4irdfFuBji5558B0NXU/DwchI5BY9vs0+3plSHcU/xmKu2yILAs1TxpXQj7mPd1oPPcA7XYV9U1/oQZqPsz4LfZt9HP7atYp8HX7lWK1+tZyi9k9zxfeJj9OP8JHvb/CgAPq4Elvu5AHRx+XnAk5dePD3H2nJ1EGFfEsq/o3wLTNeKEalpcadfAlVbzyQSv1lNpFfSpQmVLyxvSgprFgEWH1jLXpspFh30gJkKaqJHKTSTRZkWlEOx+lIDaBRfkOVHmTbN/LTbkJTV3iS7lvbLwumby0/9Dp5hTO1b+59NlPoM6QGcKaI4eI3F2R/YQl/gGxt6B0626BFzHJC8kqeUAsu8n0MLkYVErI5aFLTmDA/mVPt+MNKuESU3COoBHsI7x5ix960DbJpa2pfSkvr+2O/2uLGYxRO/I0cn6a0DnYybuWkCKsbx5TFQ35CgEZpQERgEi/DWY2ufDzH/juG4dmlhQdf98imX73gSdFvN0sQy6ci7Jdrm+Lb3ko3+a89cD4GlNLsf8u1JJ5dPeKnInvaFZ3/QZSO4Z4UnGGN4jUvXLypVv+BqH2o5awzoNv4Z8ZzR/lfCTcL30uXHvLDe6bqthF5//l/ylWOVakgS9z02MMYY8KM8saZtpdXCmFOk/sKjqa4cLnDZOC3kEc2QvBrIjt+4kxuqxf5lKcKJa1NvYY96whR6eMNzKlcym9hv0zAty3fff6bZZBPIiwje9YdmulwEQqh4a3dQtcSWo5Iq4TgoWEwsfyw65JfOoXsQZcda07ZdyysnSYGnio2vlIsXWgaDsB+MRa5j5OJ/Lz5qXiWQ66o/aITH8ivFON9Hpbu8G2LkDRNSBII0vL7gaBUoHweWZ/PNw3UMMCl4N20Z+ZTo7pNStFWQJT8BanfTOIRxfv4lG5wqkWYuDIhePkvghn/ZA50tJZ9Fv0iDn0PB5Q1f3HcE0IvX9esnjSTsKX9PX03K9vbzDiO17583uax7ZeLL5rem9N1/OlYwvb5v2MkGDlj6WE/vLUf3hqJFsz9QLBt7HQZUPtDB/avwvHRBZniPsJkjVN+VFOTDH/StiHbyJwDtZ+0v+b2WQ2pLaBT1UEcZ7lB80tj6xz+jD2d2C99PhGMVM8K9756m9/XroTjbYbMiXY+Vp+KcwCT4qFu3rLETBgM8dkyVQM7XHDYtQ9JZ5/DNrrmhXtPBPFfibLvEPv1V16LtJ9G0ndRPTpHaB0tOGSBIgsj8yDbQx5xQhsCWNRYb6CTZpTGPdiUJyGHWxJ0mhG5dY1Pak1a0FZUECekrd3YL9/KEd92V3BbPdHNV5E4YY5Y6ooqLD5xzCsaxMkT4mcHCi7ap+sDamtOuGPiLp2SXKF+yubbSpzQyYl2kSsc8vtJ1U2/evyrkhsvcqY3Ad937eLf1FgIfnvigBKjiWo1+N2lh/7whrx2vdAqKw68dvO8ufNPkjz9OhJeB5imvkRYOtVBIBC4DjoHyUdIPkK/rUkRGWKB1iPbgCOJHLQu8BZR0AFlk+oEwjqpBA3Q8BSihroAYkMhBK5tHQRu/AYNT2VoT9qf9YH+VJaDefzyjuiJoBq+drdDrntAxJdFPdDodYsg9vYHFqN15i4XVqSN3NUYrrL4sOse2+3wH79bHhY+XD4J323aFWe/7wv0Jcev7tQj8uZPXXCYDMlta6/NKRcHGGqEPm5UrXEoGH1bHTmMNzts+kEYy+LH19HsBq2f9ocxfFtMYWxa6ysrFymcQ4krcWA7+lh7d71afthY5+g3vl7G/7CN/SJcKyf9cNOa335e/KMv5EQfU48/Y2PxMHnN+S/nt0h+guMtyw79cfKW3n7YqBfYFq265lER9jr5us276sHOw6pxtGcqnCY6in+oZ2ChEypLA0NzI5+XrIQN7nRNE5oMokiu11XkC31yI12uIZ8pE+DbyAXor84SOv0rBHSDQ3aHCVRpjkcvlwoREAUDgZdQHUGBChHM2lqwUCH8715x6I9/bEy79t6fRHxcfaeOc/4hbi5HEMWxcgCIkqlXsqt2HMY3RHsZpGs3PfiKE4MtWy4TtV5QlP1qMl2lMD546x0vPHzJodf9qgN36LsiqBshHG44HI8CLwN33s4cukFgLMplfJQnNxWH5gqH5JTpojkmyubo2xf7w7D393CobgyqKEjXu3D4+a8GkNXV5zZoGE8JozYvasf4Q76PZ9Mpa1+n439X+LVYeeboY+K7tyQ+gy/d+FMI53YdfyfEpQFjQ5jkf1z5o2VHXP8f6KKfpeGO3rLDrtoowvt2+aSfimZlbVx90vvh/dRR4ioZWHopyC1qsnOjLkgcD+XZ9GhHMYIAmRyTxBldDlwnnzIAZWHyqd2OvPFffVqJw52yIPN8ThzQikRAURcJ4qwGUx4Omk83YUOzX77f956Ue69nPrljK97/cAAXw321n9Z6fqjZzxO0XXDIh6fklgrFAOKTselon5SJJ/FiX4Ro5OM49koUD88tFZksNqe5lq90P+wXyT1c4UD+e2PBVy8Pz6Op39040rMUCNljZRrYrrDxPzALpqejJ9c8/2/lwe73aO95sc6jKXM23tljNATNF6ANrbWO/+pfrTji+n9Jqf3DGhYc/RNbrKRNq08+QFa4J6vPPN/ZggKTpnOy+FTRBt8yAKJjk++lTnnT9hoctocwbWP1jkto4XXLjxh5b7FWzzDpLgbmzvQqEKygO3MtUh8Lh2sPH6vLHTPxSWXkCh48UX6sbMum21/4ujiu/VR6T362fFLdu7S/2T/xczqyNI70qnRTe7c4TBYYoo/iLh5NsrMByQisVMLiHxpoUqoFIZRvNcmEKga1zq8+2C8fWKotNGhPnnL8dcZKxxhtBRxE0XWqJAHyQIr2ihyyw5TmHTegndo/KHsalBvMwZNrXvDuuF6/EL1lhlMyF9Kf7eqTXKe/2vi3Elb+cbcjrv+HoiydkbfC6kF0PnKYCwtAw1OoodKklx2gAsNxVQR/Pk1xBAP/Tl4WagKAh0WiLlc27h+ZN0deW37d8Eys1G86IUaEbOotB4GrTwnVz3heB3Gz53agMnAWiEFx4hRRWkKw+mHdLz/iupuDSniJ2i5K9tt+nUfEF4DY5MpF8mvPk/lEvqWyQ50KJvgyKcxvaowK0lKMtRgOigMCUR0MGh4vhYShKHG0RG2ForCZdhOqkjACBdDHldhAUQ7ZJRAI7I/i7cbd+R63CJj3hGhN1QAVlx0hkKb4g0/oqhMEYGw5aAHCQYFFzijMA+infXv69C3/CzRhOkVvvP15b4yj2j9RB3GdFkDFZUfYU/zRuFX+h+FFyw+//s+sx2L2M27BIQmLL5u+yaUyvNfSMxy4gD6eNmBbQK7CDSIu2Q1DV+Ml0A3j0SCsvmrps67r+c1rqS6zDDOX2uAQnL70/Wy4eRTPyuDPfGzQvNy4FwbzvZM/E7w2Uqn+Y1H2YwJXn+DEIpsMjv3xnf12fpGT4g7lF0ZCjQRkOJrKdjjloQ6llT3QxRQyIMLdO35An94ShfEy2KR/9Jeo1G/75YS/o1tLMRH3kv8aI6RAK3vEWo2nWd2tWt3z+1c4RC/NFwctd0wfzRHVzbTrevx3r9nQt9j4qxecIYG8SO7pyyku/0/IWgOouMSdkHlMyLgTJnkPCZl8kaciv7Xi8L3fLlczIbmwMuMWHBtuP/El8lrX/eAwdb2DPk5nItuVDx6XDYAQOOoITZ7jB58Un+bzoo0ESJY+8ZtXHPnj25W53DV4AP7SjckNKH/qbwfpe0Lf3xSGiQil1YREvmGG+hBnGN9alP2QyyLv1JGHJuqH8rgVlDnNfQpnWxtPxk9a8xjQKCK27g/8fv9+DBUPg6G5whHGoerCnGq0tZ/293CFQ7r3fWe6Wd4Dnyz/G/zvcoHxQTvgbE+5xUG7OglbdEPvXr70a/zLj5YVZ8I0SH5y9fNeEEd1fFN0hHkANZirjB9jCYg/FEIfZ31e/ClTG6uM8Nrl85e8IQwvxW/vFVpm3IJDTvXntfYIJ0qbPOxUZSc5TXRJfEIGlRAy/asgPp72l8qXoP3N7kfchG8hlCXrAfmuPy7r6uVe+NycDgfbEHEQ3kQdIfkIjV9qld+GEHFA3bJ9D+mxaH+96S4K9tF+uBbyABUXKFNx2wWHfHVzB/UgRByIA2JjLAAVRz/syPEDtOQfoiscEoOlah9u2Tn7fJt9nPW92C+iu7/CQf96PlddMTqExj/iiX7O9wgJw0JoVVwA8CrvAO78Oht831Ff38fAwUOYz9/C/lm03pBnEo+Nw+gKWRrOh5/oBz/WfYs/cqkh/8P/XlEdebU8bzaGfCm6zKiHRuO7TlqyYWctfdeAZq+4iBDeEoeycDGRQK1P2TEwwe0P0LTWMQO4DjzR31h+xE/+PttSWctdEIyMBHF9wjwhoweDJTlLwYk6y1icbE8PSxNMQMrjHEmcztegQYbxOq6hB2E88vNYnlnU/OyX/WI1fcUch1/kpV4r2zlELoRs8Lzekl1jh37cGACwb3O5JrQFkHyCk18u0eovWjru6Qami+ZQZ6rQDsJO7A/Date3WOWqrYVDdGNMVcPJ8l8YyOvHX4eKhcPGCZTmcWdmT43Liz/GuvrO5Uff8r86SIOm5o7JWm9Z/cJVtXjiBxK/JcpXdPwx4cJ1mhLhmmp10enhYVeNTqZjP+tm1BWOjeP13xNPeV85g/dQAH1cic07nrQAfdxxctACGp5Cypfhc+uKPfZ8S9H3upqVn0EUvM2QIVFfi+7O5zr5wL/uD1YprVPz/DAT77TtNPJVwvrj8IHa2m/7s36IApu8JrM3DB5CtX8lz8cna+rX+W3sk5OTmcQ/8H42wW85WHzjvacsk7G7j/bq+atJf2EgrRMNyQuouMiW1wU93EnbnnioO/0LIaTlCWSdz5/H10ca/aB66biHjqJAP/N/Flzh2Ljm5H0ngvFr5IHh3Tt2f148ScsTwjpAD5cr9PfPmxec5l6FkdeyENqMWnDE9eg8eCFdEBhOz2QXDOQjZNtW/FiEgxfQ8BRivEjt+nDO3FeFT7mi66fQ2eeuDnn/ENBw3A5wS26cjtXRBg1vjLGywologm2GlDAc2QRVzVaDtJtQLO3afl3AiB8AFYf/Qvk2RtsSy0kRvkcxSHcSao0lfssxR15AH0dbFInhbpvuev4z7Gj69uG2sWeLKaKiN+sWZH81jnUx1721EsEu819jrlal8U/ywMVOhHavyhRaMA/yRPQt/2fUmavZE1vXnbZnXIuuldg8rd/jf/L4Y34IH6tU4lMXrfoJXvg50DJjbqlsvuOEgyfG4+diQOp7AcRNxG2Qmt/8sQU+8uR6FeMQo8ONR+UVQp48YZuQV72+dsVhN/Y4meRqMIuJ5tSMi5vsNffzxNd80sLgIQ8a4xlqlWnim+QNKyEOJ5boRJBRkLYBomRhW/vVD84pFBB38qBm/DDGir+wRvOm/jwa6sFhOloATIa0skORZzgfdldyrXaMNLxfm0/TTm5ZHA3bkuRJ9BWS4PADSj/sl9dw9HyFo0/xTxIpa09SYeYWsJdXnag/zcHYwyY7au7O6phTqXb0Q1Z/jn+5b9gsbIZQcLVtfHT0KrHt4F7thx+0KJQdj+ls58Am/wXhk5Kfpy0/4sf3Toe7Zsw6cWIM796wJEsuX4rHSMtzHhcOgLkbphfUuT/IAM7CpAeU7YIVR/3sBtaVsDcPZHyq/gaNMYD3DQdMJysXgyb+3rQYfKt6LViBXvttvy4YxCuAhmsfba9wjFSrD/EkS6hewdkCBdDHjarjxaolSqjXBYZBXQ2iMpkNrVFUj481bPr28lsIRyOjzNbUX9Co3/ZX5o082L2lHAHQEn+AGssEIndQQ6i4HBDCDm3jIHCrNWi1Six2l4m/3xl0RwHElrXH7AbV2eJBn7/wr1NIv0WU+OGzF8Sj278r1j3btwcW25/5pJ395LaYp/mMdswD4CbNoODbxOmvmM5vVs6IBUccX1gRL75J/TfpzlwMJ+umE6bgnDyzUOPANnrgpFt7nVAhK44/ufLon/+bqyxBBx7gAk+uF+mJCdDHWQ9R5mcnVGOmRI2b1gkt4ddwYAce12YGAPmxtAMKs9/3A3zVwZsul9YWyuvP5W0cnm/V1zILEuKMQJx8Pg04Jk1C4OAjNDzGt2aeO90hkicsToQOao+DtMmHUF55YISHk8enAQcbIXAx/9EpvZdHBGgBlE11cdBwpx/YGHdCNMy0T2QpUvwukpWA+SEd99C77+O/eFP63kMcv2POxo0Pf0Oe8jk5ySfpRePK3jLxs5i3mf86iL8sQsbDSuU1K4/86U3sajrgjFhwbLztylOjqP40OMi/okG85RUPnQ2kEaCPQ5AWRgrQx121AAnUj1Yevfh9KaXEuvEAB1OrAeaHxceTPnyijycMMwOJ4uAk3xfU2jfJx1nfkLc5DM1jQPI4jrYl7Vsg4VFX49PO3Zr3KrfVGPDHhS0m0AZNsGF+JPTnSnYLm+Vk8/wn73jufqQNGj6x5kS87v1g7VdtFYwGYNwrDXZiQyH0cau35pPYHwa/UBE97HzVkuY+0ccdQ178jdbKnkRyYQjzAB34Oe/j7Nw3ycdZb7GRI1R6DJJTyU8FJLxDjOBD88bVq78kvjmdfoC6nkkNeGJKG4ZO4i+3N2W9XTl35RE/vTqRO03IjFhwRFF0nvmHE0H+YGIgAfM2TCTGY+2J5/FqXRjcN3depXxteYHJaTGwiUnj4GIkkdI/nNHwB6gbcUDdClSuT6LxyUbmjZPzxPXHfvjCFVkhy1HbBQe4ZRqykyN8y0I88bdorjTMfCLb4RorwfWP0MVD40V5AqU6jCY4hr2KQaG14Hy1AbpnN+gAGgtx8uE0oLTO7BcP9bjgwLdccvzpaIne8LHqA52pN6GQcD0dBRAbeAm1nVUXuc/Gf7K+es7/OBqaF8pNZh/rNqz+wafEVvmWZWPp2X6NPeNOKLLz4h+E71x51E/lysr0l6FfcGy899hlksBnYXDZeDHo4zbw7FMHcJsaxPfwv7dhIOAY0MfJw7YqL4xHq5XgVUsP+dmG6Q/TTNQAg8D8TIgj4upjPYZt6YBBLFDSmBhu1Jm537D69tfLQ4srBmK/DAw56XW04JCHqjs4OTI2FjuLAGlpbNJ4pePQj7VMrOfJxvAOLJDx/S+cLx/wmib6zhWgrZ3ZL28z7cCnrXung1J/pj5u3cqr4aIC0Mc9lqJRs8H85ee8j095/Mfh0Lwyv50/N972O38vVyL+oK/2t+rUj7ng8mNsf77yqP/6XCv2QdOHfsFR3xq8XpJzPhwjE6n6B9DH6TQLKKc5ORKH6x+gCwQh2qCO0MdlkRhXgsobVxx1s9znLkv3HsBLv2zC4Ve+APEH/xMyFoTohzig4SnUiGkcjUbe7vUbXAtcSpUHFt9flP30EyEsk9s3v+3EwmqlcqPvY/qTEDKIA+ZtfkyAZzfYbbRg/w2/eq58cBhseWLz9reIVsupe1Zfsy+1DdoZzfQkzvZZ6MsTS+vVOQF+Gbjnku3Pl+/jWT14jI4pw8fTenlHTqEFD/anecD49z3/g2jfQs3ok/ANt534fvmw8YG+299yPHrxr1T+94qjbvpIn0zpi5ihX3DI15/OZwLLE25itDyEJlBxD8ooM4cQ6pGjuQFgA9GbXIRXaWjjbXL017sfffN3+uLhXVwIJz9OeHZ1VxYdMjv7eKt6uA98LMTZnvRhhRtXX/lBse2IVvaBTj/4uG8fbYaNxFvVY3yEQeW+Tvyx7PAbfxFWQl2cUJ6vg4+zPgt9nfL6hAwUhfXoExvWnjCwS+Gja164t0z0H4ZPWhXYg0K7fJt9nPVZyLYqJAj+a9lhN210eFcAX8DL6y8jv6P4W8ewmXYTdqVSX5g17tBE8iDPPp/m4/QzlADOQlxIxwq/V0OO4YEbbj3hrfLsoZ7wYVuefT7Nx9vaL5YnvmjwgsVaSP+6+5E3/Y/h8YZpMtQLjidWH7tK3Pcct17Qz0rA4V/6mBDmND1AI5VKcw2UV3buUD2gNMVkp3Xh1/c8+pf/QFIJe/MABxhaA29V/EED3B90lNEIjQciJxHbqruB0jeu/p2Xi45/U6z9mMhgFnY2qVWq0b2dGKpvy42D75svO5sQG2NhfRvN4pHiJk81c4GSuqfK0yUD+8S1c3z7J0Sr3aATJ3CoYnmWr6+fgz5udplNjTjkOD+Ewfc68XseTygzcdf9ubibe9P4i0ZOp3QxC9nY8BLgogv0oY/QF/BWBTqhUD/wAmf7Zmh1chVv+cbbTm77m0EmffD7Dbed8FrR/bPoGTa0Kr3abz5W6SLfoPRkfYXx11Yc9fI/bNXndNKHesERT9Tf6idc4lBOrh4UV6sfCe3ABdpFR+sE55/KczKAS7Ru2X2f8PzpDMhs6RvziM0l+MSNgliI53V0GPRjS1w5bQQBbSrZAdrEMCSEjbcd/664Xv+O2CW3VFCKsV/9LDuF0ov4J96tsqCjKxzQSvi/x9uTOO6+uDHm7KOt1Ad2k6bxD6K3r7/td87svp/uWjxx23PeLFn2u5Zv0jPGvWywlZB2E3bXA7lT+yuV3hcc8gVlNzZMV0rPwmz+q59ll/rbcLbL2l/0mx7lF7Tli7EWc8adUOPfx/EfhLXfp53DBDfcfsKp8kT2v4u9VfoCsN/2Ixc07oRwQhj+YPejjn5TGF4o18yGrwztgiOOz5ZghW+UUagrXjgXISPUYY5JBD5FEoPP4RoEJRuNkw14dAA6frBrW8AweLw6d468tvwX5WvL4Y8pFsRFY+PB3kT6UjgpG+Rk2pvcYlqtv+2kZ62/9fiv1qPg0zLi9at7tKC3HtkasNl+oWhOK4TH4/DO8LDrRjvua2FwtbRKft206SohenUv3OtEZqO21oI0HGGYhlH9Gxtuec7ZncjrhWfDrce9VTq6KK8t/ISS+MvhSgTubAX0cdZPAu9dccR/r56kvscqeg/QYk2o85qjtbIn22nRFzjkMcUn0adpa73TgqwunR2zdZ790Xmb15yoL9TrTFbxXHJl43eienSZrB/n+pr33rMvpU38w/gnu++512vD8LPulzN777WolkO74HjiF2tfJg/b7APDO1owOL4Gfo8Guq1IHMQCBgsPXcjE43I38DUrj/h5z68kVvnlLvFAEjNvkrRpCCwcREAdniwC5VhpoGPD8pHQx1kv1dNcnrzlhcs33vqcVz5x6/HfCKKxO0T/1w3WfvjCinzCvJF4J3Dlwf+9Rbz69Va8OkaksrU9jINB47eJ0ccthqan1M4R7D823Pact7Xqt1f6hluOe6/I/pz0LXOb9ZfC7qWaDe3tlw9CU/smAD6PMu8Jk7yHHcj9VvlPO2EfcUAfR13xpRoF8q2+yeOf6iX6qK0O0m7CNvZLbJZPjE98oXirOuth423HHS6vcLhSbFqEvLHcSWFqN+MyNfsb5YW3jcSLXznsv/NV9BW2ziKVwyUhOa+ZjEBx0KGWOCBKpl4vhwgNMKda+WWlEVbiP9zz6Nt+Ykzlvh8eSFwuA4+/aQO5FhLQXC8KESM7xlxjPHbc9NscKk8iBxjH1fWrn/OGoC5XcatyQQxF0AAooJYsgZWOP3OYyIJMFMj15FfqMpmEoXyqimSr7C56HFsPR4+QD8S2eIcdfsoVaD/Uo28B9TgIblCki10lqP5bPai9BU3UryLKJstm+eBJYqcNQJBNbEbRug7slzdzVMVnn5NF2tmVMH7/VL8Rtn71CccG9egf5WHyF6giTh+85xTfEND3nUI/hwNqwWu4wetex92L/eL72vw5wcUmsMc9sgeqyNZp/qOnbPzNFpOF+ib78bBIgSWqhhsCuYzCHDF/iv9hmBSzrT/j3wl81eO3HPfJPZ69+L1heF3RF3C0y7zdptXHHzBRi6+WPNoNMRiU/S7+6xbOqb508RHX6Q9E5uk3LLShXHDgMtnOndvOwH1NDig4zHCZQFw0ccmTtPx6aS8VTHYdzaAkyY+JKP7nvY5Z/Xm0L0v/PcBYEWYnoGyPFk+Lu9a5E7YfM+BO3py4Vr9E29RsgaAnlBrizhMK4i0fH5Ocqbuccfx1mwxDgdaf7OV+iE7cINTw0TOF8tNUMqdo3gjRZEUuT5UPOydKUddvQfaLK8wXBoNowdwFP0z06BBZcfR//eSJW46/Q8bCoVSdUCdPyLHzhQDzLSBKU7yUqFW6o92Evr5gkOOXisRT1t963MVBFH5596MX/aTTE0e85uy5G8YeeL4s9d4S12vnqivE+dqHC4L2qycAsyjbvy1AzCboQ7sJYabik9gvi5zLFx9282No33ORHyNT30q+UEeVxVwXiGL2WMxxTF5AFLUHbZwlWfsloZWvqN28BSMbdo6mV/QZd8Ksvlk9wEcerevM/gvW3zr67A23HP/n8hMUXX0tGeeasfHxl4Rh5Qj5APNb+Xbip7I6tTtef8ex+0yMB9eIy/WKvHO9NqPdhLSN8crK7sX+kcrI+YsOf/n6OH55savJrLIdH/+tfEazFf1QLjjGdm5/g2TdPLPHjfQ84zgrEGZmB5IJIYmnChUXBj/c65gVf5onuqT17gGd0twE2CxFplUNKeOK6FhkjJd0g1bD05vETxorzZfv402fWDFJY2I26dqbHCQ54fCGCYDM0iR7hcV1bipDc8dLaL1Mti/U/usXHXrDbybrfZI6vAnRJtsB2y+fwquy2HibePNtG24d3fL4L4+7RmL233Ll8fGoHj4ezqmsD+tRRZ4P2LMSxHvEUbSXROa5T4zf92IJ66LQWx/qlQpLEDUVphQdf5lM5dsw/SouUTXRLM38OWvK+c/E75e6GTmLD9p7485b78NwaNFTYfl/knwYkIXzcT+X24o/qFbCm+TK2T2VkeqmJavqWzbfvmDxRLxzz5Ew3GuiHu1ViStHSq6cNj4+fpxMGRV9ZicIbhdzul5wBGPBp6X9ARlXtDjsv/31qHbD+luu0P6Y64AoufkvdAZHhwr4wJxT2snLadJECoMr7hLiIagYygWHBO88m8BttUv3ICmAG8REYjggima50lq6T3kgQ9junT9/0TmdfprSDspdhx6owcMteEl3MZNU109lnGBd6NJzXmMONAttHDL21XwMapOPvQ4617CR24h+tii/kK21yyk5snzUzFGc9klPDfrTFta7bj1AyQaz7Wk3IXrkWPCEeGiDRf/hVXSFrpy7/+eeGLvvL6TRvpQIATqmEh2Kt1+uFuA9HfKVQtnsIlQQT9TUy7iihBnA9JM9EHfkDkRfi+Cg4i8K/OceR998HTSZWrEraYw7YZfxb2v/1HRs3zoML62v/+Wxj0gUnp7PXWj+46V3x4sTjueFyXCiHuy8BV6056InXCZFyCTNn3wtu6HKFc8ljbfsbE7Il1Gs/YPO/+z8lTf/0WL4Y+guwWy87cjDZZI71oLFjAD0cVfrRiUmRZuUhSsdqcbk753lstjYKpehzuz1JT2+yBLP9wASMfcPscJfi5jxRA1oOAev5QDaIhf4h0OlGVnrQLN8Ma5GfkdDnmiueBCSHK2VftqXp0G2f62HyFZ/sBt/gNoX1FCFobSz2WB39ofb51QX9vx7CeFhl45L539nurTWD7qjACrubFWyh7O+CRZmvyplO1URO6ejg6avo8Hn6ncPgs/RABkXQhGokgghSZ5/+Wsc96tYzHuJv2hAuwlVWxyYzdgPqNyQ9pjB4Ff8tfBv4fa7/jX2gqvTCHt0ji42KAo+1v+M3Wa12T209ltcNF9axAdWodA6HCoNZA9nvUFtoruhW3BMTNTPT9Uz49QSmOUSo1WyGh9aO+uzUNrjl/MqYXjuymNuuSPtp8QG5gEudwGxIVSEOQkLvTShgaA0pkTalvLAA5ylW/6mDiCIQoA6HNDH2V87SN2oL8QBB4RI2ymk3YQqGnwojp9tK9Xgc8uPvFG/kmgM3e93f/aSi0XeOmvJDnDEToE6fMjsVz/4vjUjUtVpDn1N/4OP7bQNbWUDEEkD6nCBcu3pypXH/OwmbdaPnYjuNf4d298PPdvJiOPrW7LQ1/Q/3AkccBD2sy/2D0WBD6qwL/Y/dPZDIRQXkARXRMiuvsfxP1QLjjh+4Ugchee2NNbZnILJnZP1jS5UovCv9zh2td3wSgWVWL890CIhbdGIvJWpFTwy8Ah9PKknXyJP2gBvMSBUFmrZTm7Qmnz05doSksdBv23iDu1LBVq/mChA44SRhawD9Ns6gX4fppfpSnk+TXGRQWjyKFeg+kBVmQirlY+6LnoGuL0orvkT7Y9SfBuAD6H99ANUpu6AihcV/0owFo5U/pRu6gsU35rOBhWnHfA9Nj0rM/aAKITWTilsl7Vf+YvdhXPCH6uuqi/Um0w/p7MbR4XbD13ajP+evMN5QOU7m2k3oZLNF7DTt3Uq47+r+Kt+ogMgdXBQ9fF0VD+AD8XxT3X8D9WC47c3rz9dkmEvBiML5ROFBgnQx8nnOxC4PtrhIHDZvrr3c371YfNguR+IBzIJi3GpsRGguMZSiahooGk94oZq7BTxoKD+IPFxqcovvgzB9dBBv4qN3XATzaCdFUI9ytjXQMNBpl77QE5KlfWX2tyz/WHwhX69Q2aPY395hbwaVd6SaIW2DrX9omoyBzjcqd8M/CALrocO+lVs2Mp++XHHD+1+5C/wMFwfS5oL0MXXzUsYJo726+e8j/dRqa5FqV9C9wOCg8h/0bCf8e/aYDSAnb6tFOLTBNeYOmj5lsZcBFi9g4XE3zq1HBLc78OvStR3yJTHv5MzVA+NysLzPHw5jIbDSOAc9E7nlkCWI9rCIBsKTcnhL/bee+lbWzYuKwrygMUkjSIjalHGRIH7tpwsVQk0YSFOCLqHN0qTOqwsMch1tQlekU+aa8o2cpj0zXvHyB3Vx3VCPKlvo2+W35Rt7DGlQb0p2h+G6+fOm/cB2NKvMm9R5T07tkXyeuZ4j6w97fTN8qe2Mmj0BWAf7IcM2UwaEMEKjr8sNn658tlL+vqbMPqlWOiNQlf5eB5N6hu9CcLk9kPkIIpo8UNR+Q1pdGhAo8bt8inxBZtDeQ9vlCZ1bexHU7aBKM1XNwZx3EtB7KjUrpD/9Fniq4Z46KUA9avV0+N2NDRXOLbcfOzuMtm/EoFDEmLDxEGoOAILmvsjDqgbUgm4phTTCu4Jfjt3bvWs8Ok3Ja9wTpxVIgV5AHFA/CDeoIaJuIuhRQknXYsauIGzEGd9FoKPPMA1Xxz0cdTlF1VQqkxf4yENR8St3vpqrW+Wv2j7ZQC/v98PPy991i+eEMPf1eiL4bQfOg42/uEOeRXc+f3+dhsmYtpB6NsGWt7m8wD3c97HUTfIUqniq8Izdfx356nGk2jjfFH0+Iemfr74Mffx1hY16mt8pOGIOKDNe4Tsl7CxrfHTfqsbom+pbI+2nyvpqb89kYwsGKvWmPKNBuEIdBTWZyCsDYNx+bnu16w8avUjxlvuB+EBiaX+IX7AkphaTIQoNMvGFEIxnya4tnVQj4gD5mxIF9ABfZy81gXyxIo/KNmOMK895RBCCnAW1Rc091ek/dLLFbsfc8uX2Hc/4V7H3PJNuTL0YfqC9mYh+pwu+7O64NiPmY+Tt0lfFzvW+218PKkPg7euOPb/t3etMXZVVfieM3f6VCxtZ4YpD1tUhLRAOzNtobwMglhNeBiRYtSUABHjDxOj+E78YQw+0R8S+SMxEiQSFDUgjxgaUAq10047FJGBQqEPoEUstPIovcfvW2uvc/Y9c2/n0XvPnal7z9zzrbPPfq1vrb3Pvvuex4YmvDPFWc98iYiP+JND2TOZWOPjt9mXLa2rpekw5/QNj8IYDzXT/00nH32dfdnSHNr+emvyWMnBKzjSLGIv7ImtsJ1c+o/cf4xHw2F8Uudh+mf8VE/OJGnLNquphJjKdSS2ROO0TSabspKaaSWXpE7VZTkSktJ1XcseH9PT5zRj2DaEAbEpSiLyo6NAOgERmyLObCod1NIxLYMhRS6ZOvRlicRmWIf34jSN8wvzGinOtQvysPYwv+nAAlz9gpAlu0NtWVVzmdlVCzS9DGvV58WlelvBUr3uxHE8VJ5V/qwW3pxtx5JLvg3V/jwR9afti7Y/6vt+R8/G25vBNk9avu+J7c3uhp79x69/c5806nMDE/2wWf4/fv0P3f/99o9axuPiaSIzk6Hkb1L/b5b+vg9avzcUfWDUFNkHuePQ9DaUdKa/7EyQFY6X1y1cjA63mA2lckSRcVIwtGmFIVKqsg79vCxDyomin3Uve+IWp2uAohjgmMZ+7fftenXTcAxENXaGUgY2KapdOYiZjekPIhOZUP4tT67MUZTPprD8usGOEV07DNkOqd8hZQmGtQodh/542uTrcVy5bPb7+vfWKrJRcXzFdTTzXbhrTJ7AqMVSNwbRUbkvWn+/PrE62mJ/TbN/FP0Bk42GPnNDiXTbovy/uPlGae7ijfegM29J+0GVwp7eFIvSn+5r4wDltK9ix3yb7RlLcJPFovp/S/zf+DCOhLex9/8JscLxTkmfvSEGg2JyAskpRJJlbHYoPgNDG9rTRw0x63qga+mirxhPAVvFgDtByahjndohbKmdVNG3/2hb6+bY8AP9g/eIRJQP/YgyUWTuMq5OECfDMaIvu+Q8sTEQVc6QsRoMNWUWh/hce8aqP75M7Eva4pVzFm/a4iprKnSc/PfXZ8Qx3jURbVJtWqt/Xtli7B/d1TntA6vAgW/YfFMOax9PyIRrOG4P5Z+5Wsalf66MZu2SL7z78FtaPnUTJTOEnmP1/3xbx6X/GPjN11d73+lWQP/P199w/f0xz5ddxTrm0ZLZuKdxxgETUrbgyxNghSNZ39sOr+O7U9BCfAwpy/KNQ8iimENVUhU31QxhhKdnTGu/go/ZtbiARTPg7CnVUq4dfJ+mTLsaUtZSDFmGykSRnb9w4Ko1YFvNmho5+G2EOeVbif62mE5SJV5zZOVZuVqCtlfb6LcdWV3Q/NY+jbQ4S5OhX4bpbUhNtVZFELMviaOPdi0ZKPTNxu/u2bh76rTp5+P80a/tbY3+yqLjwphpsv2h7x2dPbMulyexZmZruMRvfmZ3w7z9G6F/wxs+QoFzlwz8EX7z83rJ1J+y+T11bqb+I/X/eu0cfbz1de25ms/ihpcy0fT3x1CVYRHvnKztHX//b/kKx64K3gqbVHiHiljDUHecoaiwnVAc+sSkZsQxzEdeS8rli2edNnhYT11MywzCuBigfeQDu6ZYw8a+HSnLYOOQcv7DE7k5vZzU5Usn/INoX0ANXX4qkJYDQWQiBR5zKLJrI6e3MsWVtjgdqBP/DF1axlnI6zPW9GyK8UDZ+zwfJ+3nFT3ZML14J0w5af8wGvRwi/QXLoq0P17+9auO3pOubPQdKcapjxW+Ldb5vaFn+9QPDld/v86i5I6k/avoIY9ZPzFk/dTV0PQ2bIb+7OtSLpECgqHuHd42r08D+3/h/t+o8U+/4imvLZ9wJMnB1ZmJbeAm1vowpaXxZZcWjy3H8U/P6338nzwaQqsYwMvb0Iv5obkMKctg45CyJlEUmYMus/GkLoNRhpKbpmYpLAMfjhmGKnOiwDjNNxztmObDVvITfTktX9qigxLbxbJTdPX49VFX1tlQ/UulB6eX2ns7+vo3oMqWhdl9/Xs7e2afH8XxjcIDWiK6OjS9Dc3uhqQYbAvVRP6JrR2KLNxpuSxHcjhUmeojJ4vBR7l3dnHt8O3BMqo/zJflt7KIqRwlb2Px9wudvYNXF7VKGmMkLkJ/sld0iPr6D0wptX8KFL9Cm+s/pYlm//EzYz7WlP5PRydpZIzgkHJT/N8vHxVIPUD6J+tLkS3BQcYdSn+9pBaJEFo64XhpcFEX3rS3UpRAY8QBHYo7QpkUPcXS9F6cKh5/s3v50N1ULITWMpA5oHNKGI2OSu81pMx0hiIjjSE9mYcNfVk9P0tr9VFryU8BQepyqLKrH56FlEyCYKh7/lbqZAok0Q/bTFnbzjIpE3253nFmlnZoIZKXcZZedUUFKA8J38At3d/o6p39kaP65NkYftNaIvPbflfvpi+jeTiBJK/7Ovuy6ePHmd6Gprch81Trr5xrXLWs/Cj3lkfyi61QjgtSF2SiyiPYPyo939YWn9PVt+mXVkYRiAUO8QHTJdOPjVfdSY/J2fGMs9HpX4Q2w+vAZPX59nLblVDyzQlt/+FNHzkGF+CYf9EGlIm+bMcRqX5IY7o0hmI/lzezL6pvqP1H8P+ctmwmg2sucOzj34RZ4ajsf/szeNNe2YyjijkNRc38xo4RfZk2iW7rXv6vH+RzhP1WMaA2kk4EW43axr5ZRcbGkIL0AId+b6ijptbPbNoGJrM4X86OWzpWmnXOdMBALGULVla9/Hp87PpjIv7XqNR+amffphuKWNI3fUaLnX2Dd5SiqUtA0b3M02j9xeZmd8Mm2h8a8Ar0m6dNKS2eu3jTutHy0PB0oisJdR/RmbW4iAb4P0trRZizZOCBtlJ5JZzl9br1F6C/9Vm2wWTrp3XbNcKBye7/9dqvY52OgzbuGeb5Mw4N6bMqZ+S1dIUD126sRouy1phM9DuW62ymCFFkNxvEbdDru4859uqsoCBNXgb0Qs5SiejLtTUyh059InVyN0BLNs/HahdTN9YuKJWLzfiLHYLF1c10GAfwg8wjUdR2UdfSzRd09fU/cxhFNT0r29e1dHAlXhz3SVT2QmMq9G3uy7VLb4T98WVlY1spXtHVO3hd66/98nX25ebpX7vk5sR2LB1YE5XL5+KkNVS7Bl9nX66duhH2r11yq2J9nX25dnuarb+NdY0a/1o24dj52Af7MG1YpDTqyQH72OVW/3hM4zRVfptgHRKO++KUg/Gl0YI1b+aPh/1WMuBO+P7E0SaKDv3OkrXUlg+Iej2EoaaHR1iZ8A4NhlkpqSRpsUd09RrWqt+P8+W0vJzgp1E51z5r6yHqhxrv4KT3p6gturBr6eNnYTn//lw1E3q3q2fznaUp8Sm4aPc7MNlu44G9V3g3HAX/tLWG5tsfbRvCe1Gu6ew7eencvs2PTQySm6v/O6UCH8RRh9DOJQMD0fS5PfCO3zCJ9SFN3lz9pS7nh1avYZ3mjiqaZWg5GU50/ze9DamoyURfrkeCn0Zly8cx2ev/roCWvbwtOXhgNZvkB/+CG43HUo4MQJoSHLjfx/Qo0r+FC1Ium7viqR1+OUGeQAz44wealdsVp+YSnTmuympnasF9Oq6iiCo755F45xdMmaV1PoMYudpajml55kcaZWW7AiXSl11GB5zpq5/atw9OiiibZtXp02h32FLhjaxsNS8C/W1pWunWrlMHX8rlnFS7x5y+eT8a/L3khTN/8vKu164Cq3gGTrKgnv7GA+2uNlfOVVY7kQC1u9kIEWSNmZ2JTNZ0zGFpNQG3w+xfivqxonFDR98nfs+Hm5VKzXtSOVs0uqADNfXw/VP1Mp1Q0mHq37IBP0dC58I1+xD1uV3rF94SR9GNlUpyOpM0W/98+Xl/yTVzVLu48YEtr53Woh3mdv9/xj/HTkv8Lxl6/9Sdeyq8gAgOxgHbDQ4C7HjaOnUOr7PJKEOTaYI4jj5/zPKnH61t6RDbSgbMpmZfIoOeYDKbj3S8pg7OP3iME1J4jCD3h5XP4/Qz/KXHXZxE5DZS3iHS549LsQnK1uKH1+/8G77Ka6eextntMTyW/L4ZUfl+Pt8iV/2k33UvSLwpSS6/eff6Jy+CbVZhQnYJOvpRVG6YfRw/9fyjJiHjsD++mLwIL/gdVpFuP6ZncK2WOxEmGpmG2XiX9Y/sqCeNQ3/z/9avb3h6QOzu2/Jgkny356X+O1fhJ9QvJZVkmY0J1Sm9vcPQ38YCYqOCcDtC/6/n36ZrveM12+g1XcajSTD+mR4tmXDs2H3wYjRgNhtRbXhjUtF8wtBPj1nxT7uXP/NrxoUwcRkw+xqypb48Ust1ENZvPpKWrsHO7VyFZcmu5yTV5Vf7FMtDA/RbsorptyrsMkYhRT8OstVNlIDljTh+Az/v4Se96A0Utg9ZdwJ3YBDZjju1t0Xlts1JW7TZrQJYxiMa3e2keLR16Z7k2Q9Ne/nfe1biW+ylGCDPgX0WjFb58dof+WjILcCHYIs7O3suX6OrGaOtufB0qUf5NY9X/6yMan8u28w4S9ByydnlNjTkthf7TzsjqhzEzQTRJeiLxzVaf5ZX1f9L0au4ruBhfBG4v9xevmtcZKBMf8ypJdeKG01dTdcf7mF1aHuq/aU6DnvCn0MA9bJJk6atwYWQrkdrOrllbBZuXzv/bgwHHxvW+mEVUnnTkAdVxqB137wz+z5e1D3yw5oVIgIDgYFxM7B7fW837o48C9357EqSLER/PhED1wlYDSnLNKGqy2OHk8l00Ko5JrxZiuLnkHBrFMWb4iT6G27BfOToJQP/GXcjQ8aWMgB/iF75x6K+g3FyLqb0y9CYZbD8fNgYYpWDYN/isiNMwWBHkijCs1VKz+ILwBB85IlSnGzGz2ob5vQMPokTJpOFUAADZpcCqtIqdq8/pfvtt994ARZuy7xBj9nSOJEhv1xEP8Ptgk/NmPGe5WEwUc7CNjBwJDCAn2DaXhwYOj6qHDgRPz4dDZ1morPPEMQr5JK4UsEzSf6Lycd+DA/7S23xfuzviduirXNOH9gZThpHghccWgeulO3Z++oJlQMH34s5wjxMRGZiSgEfiWbgiVI8acA3nH/QV+LSPlwUvKcytbKjc9Hgy8FHDs1vEUcLn3DsWDv/eiytyvMyWDm9JG2Ere24bzP55Ro84XBvnCRnzFvx3JNFkBPqCAwEBgIDgYHAQGCgMQwUflssVkdX6zRDVzFUVmX0an/EYOrqyzyKOQie51a5Mkw2lKuwDQwEBgIDgYHAwGRioNAJxwtr5y/HTOIUWdbAfEN+OnGoP6doHFc8dNVDLwhkLPa/fvyZ2/4ymcgNbQ0MBAYCA4GBwEBgQBko9C6V6GDlKt5ByAmEBu5QdtMLd3EYf0qxIEej6NZjV2z7kcUFDAwEBgIDgYHAQGBgcjFQ2ApH8uz8aZg8XIEVjowhk4m+bCk4D4lK646dF19rUQEDA4GBwEBgIDAQGJh8DBQ24dixq3IBZhWz7A4UUmUrGUSVM+TKB6J3YZZyWbTgufDY8snnW6HFgYHAQGAgMBAYSBko7CcV3P/Me+7dQ0L4KGgGPlGPsv6kIlHpJnqrPU4u7VixfWcaFYTAQGAgMBAYCAwEBiYlA4WtcOAWk6VkyFY1KNuzfIj88FiGlWu7V2xv3Wui2cAQAgOBgcBAYCAwEBhoCAOFTTiSKOHLeqoWM/xbX30ZD2j58XFn7ZA3CTZEy1BIYCAwEBgIDAQGAgMtZaCwCQcuydjK6zfkeg0i/hgMReYKR6l073FnXfM1ORg2gYHAQGAgMBAYCAwcEQwUNuGIytFNmE0c0Ks1ONmwu1UMufiRrJs5fdqqCf6SpSPC8EGJwEBgIDAQGAgMFMlAYROO48/YPoRJxvX48DGiAF3tMMTu2plTZl44u2/r3iIJCHUFBgIDgYHAQGAgMNB8BnTBofn1pDVse3jeBaj0i5hynIe5x1t4y+Mz2P/F8WefdEcUrXknTRiEwEBgIDAQGAgMBAaOGAb+B5nwCpLPLNx7AAAAAElFTkSuQmCC"],["fxFlex","30","width","295","height","295","viewBox","0 0 295 295","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M182.629 183.635C213.842 170.774 228.719 135.046 215.857 103.833C202.996 72.6204 167.268 57.7435 136.055 70.6048C104.843 83.4659 89.966 119.195 102.827 150.407C115.688 181.62 151.417 196.496 182.629 183.635Z",1,"fill-color-0"],["fill-rule","evenodd","clip-rule","evenodd","d","M169.522 122.093C171.059 115.241 166.054 111.136 159.022 108.13L162.04 98.916L156.431 97.0797L153.493 106.051C152.019 105.569 150.502 105.104 148.995 104.643L151.953 95.613L146.348 93.7769L143.329 102.988C142.106 102.615 140.906 102.247 139.743 101.867L139.752 101.838L132.017 99.3019L130.057 105.293C130.057 105.293 134.224 106.57 134.131 106.624C136.402 107.369 136.71 108.93 136.552 110.138L133.115 120.635C133.271 120.687 133.473 120.761 133.695 120.869C133.66 120.857 133.626 120.846 133.591 120.834C133.562 120.825 133.534 120.816 133.505 120.806C133.375 120.763 133.24 120.719 133.102 120.675L128.284 135.38C127.95 136.062 127.157 137.065 125.569 136.548C125.62 136.635 121.492 135.211 121.492 135.211L118.184 141.544L125.483 143.935C126.298 144.203 127.103 144.476 127.899 144.746L127.901 144.747C128.431 144.927 128.956 145.105 129.479 145.28L126.429 154.6L132.031 156.436L135.051 147.215C136.579 147.75 138.064 148.25 139.517 148.725L136.509 157.902L142.118 159.739L145.166 150.437C154.773 152.984 162.15 152.77 165.87 144.183C168.867 137.27 166.555 132.99 161.623 129.952C165.417 129.361 168.406 127.109 169.522 122.093ZM155.149 139.449C153.059 145.84 143.068 142.413 138.496 140.845L138.496 140.845C138.085 140.704 137.718 140.578 137.404 140.476L141.449 128.129C141.831 128.254 142.299 128.395 142.829 128.555L142.829 128.555C147.571 129.985 157.289 132.916 155.149 139.449ZM144.22 122.79C148.031 124.108 156.343 126.982 158.247 121.175C160.192 115.234 152.086 112.815 148.127 111.634C147.682 111.501 147.289 111.383 146.969 111.279L143.301 122.477C143.565 122.563 143.874 122.67 144.22 122.79Z",1,"fill-color-15"],["d","M158.075 173.411C189.288 160.55 204.164 124.822 191.303 93.6088C178.442 62.3964 142.714 47.5195 111.501 60.3808C80.2885 73.2419 65.4118 108.971 78.2729 140.183C91.1342 171.396 126.863 186.272 158.075 173.411Z",1,"stroke-color-thinest"],["d","M259.352 172.363L85.4595 244.016",1,"stroke-color-thinest"],["d","M122.291 259.352L85.4593 244.016L100.795 207.184",1,"stroke-color-thinest"],["width","225.692","height","225.692","transform","translate(0 85.983) rotate(-22.3941)",1,"fill-color-30"],["fxFlex","30","width","298","height","300","viewBox","0 0 298 300","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M248.333 237.5V112.5C248.333 105.625 242.746 100 235.917 100H37.2501C30.421 100 24.8335 105.625 24.8335 112.5V237.5C24.8335 244.375 30.421 250 37.2501 250H235.917C242.746 250 248.333 244.375 248.333 237.5Z",1,"fill-color-0"],["d","M273.167 212.5V87.5C273.167 80.625 267.579 75 260.75 75H62.0832C55.254 75 49.6665 80.625 49.6665 87.5V212.5C49.6665 219.375 55.254 225 62.0832 225H260.75C267.579 225 273.167 219.375 273.167 212.5Z",1,"stroke-color"],["d","M6.20851 200H24.8335V150H6.20851C2.73185 150 0.000183105 152.75 0.000183105 156.25V193.75C0.000183105 197.25 2.73185 200 6.20851 200Z",1,"fill-color-0"],["d","M31.0415 175H49.6665V125H31.0415C27.5648 125 24.8331 127.75 24.8331 131.25V168.75C24.8331 172.25 27.5648 175 31.0415 175Z",1,"stroke-color"],["d","M161.417 187.5L142.792 150H180.042L161.417 112.5",1,"stroke-color"]],template:function(U,Z){if(1&U&&t.YNc(0,t0,1,0,"ng-container",0)(1,Kh,18,5,"ng-template",null,1,t.W1O)(3,a3,19,5,"ng-template",null,2,t.W1O)(5,Qh,19,5,"ng-template",null,3,t.W1O)(7,zl,17,5,"ng-template",null,4,t.W1O)(9,Jc,13,5,"ng-template",null,5,t.W1O),2&U){const Ne=t.MAs(2),Ot=t.MAs(4),$t=t.MAs(6),hi=t.MAs(8),Ci=t.MAs(10);t.Q6J("ngTemplateOutlet",1===Z.stepNumber?Ne:2===Z.stepNumber?Ot:3===Z.stepNumber?$t:4===Z.stepNumber?hi:Ci)}},dependencies:[on.mk,on.tP,qi.xw,qi.Wh,qi.yH,me.oO,rr.$j,rr.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:[cc.l]}})}return R})();const o3=["stepper"];function A1(R,z){if(1&R&&t._uU(0),2&R){const b=t.oxw(2);t.Oqu(b.inputFormLabel)}}function $c(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Amount is required."),t.qZA())}function Em(R,z){if(1&R&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"number"),t.qZA()),2&R){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 Nd(R,z){if(1&R&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"number"),t.qZA()),2&R){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 Vl(R,z){1&R&&(t.TgZ(0,"div",41)(1,"div",42)(2,"mat-slide-toggle",43),t._uU(3,"Accept Zero Conf"),t.qZA(),t.TgZ(4,"mat-icon",44),t._uU(5,"info_outline"),t.qZA()()())}function s3(R,z){1&R&&(t.TgZ(0,"div",41)(1,"div",42)(2,"mat-slide-toggle",45),t._uU(3,"Send from Internal Wallet"),t.qZA(),t.TgZ(4,"mat-icon",46),t._uU(5,"info_outline"),t.qZA()()())}function lc(R,z){1&R&&(t.TgZ(0,"button",47),t._uU(1,"Next"),t.qZA())}function D1(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"button",48),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(2);return t.KtG(Z.onSwap())}),t._uU(1),t.qZA()}if(2&R){const b=t.oxw(2);t.xp6(1),t.hij("Initiate ",b.swapDirectionCaption,"")}}function Lc(R,z){if(1&R&&t._uU(0),2&R){const b=t.oxw(3);t.Oqu(b.addressFormLabel)}}function Bl(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Address is required."),t.qZA())}function L1(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"mat-step",15)(1,"form",16),t.YNc(2,Lc,1,1,"ng-template",17),t.TgZ(3,"div",49)(4,"mat-radio-group",50),t.NdJ("change",function(Z){t.CHM(b);const Ne=t.oxw(2);return t.KtG(Ne.onAddressTypeChange(Z))}),t.TgZ(5,"mat-radio-button",51),t._uU(6,"Node Local Address"),t.qZA(),t.TgZ(7,"mat-radio-button",52),t._uU(8,"External Address"),t.qZA()(),t.TgZ(9,"mat-form-field",53)(10,"mat-label"),t._uU(11,"Address"),t.qZA(),t._UZ(12,"input",54),t.YNc(13,Bl,2,0,"mat-error",24),t.qZA()(),t.TgZ(14,"div",26)(15,"button",55),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(2);return t.KtG(Z.onSwap())}),t._uU(16),t.qZA()()()()}if(2&R){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 Ya(R,z){if(1&R&&t._uU(0),2&R){const b=t.oxw(2);t.hij("",b.swapDirectionCaption," Status")}}function r0(R,z){if(1&R&&(t.TgZ(0,"mat-icon",56),t._uU(1),t.qZA()),2&R){const b=t.oxw(2);t.xp6(1),t.Oqu(b.swapStatus&&null!=b.swapStatus&&b.swapStatus.id?"check":"close")}}function Hd(R,z){1&R&&t._UZ(0,"div")}function _r(R,z){1&R&&t._UZ(0,"mat-progress-bar",57)}function c3(R,z){if(1&R&&(t.TgZ(0,"h4",58),t._uU(1),t.qZA()),2&R){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 dc(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"button",59),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(2);return t.KtG(Z.onRestart())}),t._uU(1,"Start Again"),t.qZA()}}function Ul(R,z){if(1&R){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 Z=t.oxw();return t.KtG(Z.showInfo())}),t._uU(8,"?"),t.qZA(),t.TgZ(9,"button",10),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.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(Z){t.CHM(b);const Ne=t.oxw();return t.KtG(Ne.stepSelectionChanged(Z))}),t.TgZ(15,"mat-step",15)(16,"form",16),t.YNc(17,A1,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,$c,2,0,"mat-error",24)(32,Em,3,3,"mat-error",24)(33,Nd,3,3,"mat-error",24),t.qZA(),t.YNc(34,Vl,6,0,"div",25)(35,s3,6,0,"div",25),t.qZA(),t.TgZ(36,"div",26),t.YNc(37,lc,2,0,"button",27)(38,D1,2,1,"button",28),t.qZA()()(),t.YNc(39,L1,17,6,"mat-step",29),t.TgZ(40,"mat-step",30)(41,"form",16),t.YNc(42,Ya,1,1,"ng-template",17),t.TgZ(43,"div",31)(44,"mat-expansion-panel",32)(45,"mat-expansion-panel-header")(46,"mat-panel-title")(47,"span",33),t._uU(48),t.YNc(49,r0,2,1,"mat-icon",34),t.qZA()()(),t.YNc(50,Hd,1,0,"div",35),t.qZA(),t.YNc(51,_r,1,0,"mat-progress-bar",36),t.qZA(),t.YNc(52,c3,2,1,"h4",37),t.TgZ(53,"div",26),t.YNc(54,dc,2,0,"button",38),t.qZA()()()(),t.TgZ(55,"div",39)(56,"button",40),t._uU(57,"Close"),t.qZA()()()()()()}if(2&R){const b=t.oxw(),U=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,32,null==b.serviceInfo||null==b.serviceInfo.limits?null:b.serviceInfo.limits.minimal),"-",t.lcZ(28,34,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(1),t.Q6J("ngIf",b.direction===b.swapTypeEnum.SWAP_OUT),t.xp6(1),t.Q6J("ngIf",b.direction===b.swapTypeEnum.SWAP_IN&&b.isSendFromInternalCompatible),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",U),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 Fd(R,z){if(1&R&&t._UZ(0,"rtl-boltz-swap-status",60),2&R){const b=t.oxw();t.Q6J("swapStatus",b.swapStatus)("direction",b.direction)("acceptZeroConf",null==b.inputFormGroup||null==b.inputFormGroup.controls?null:b.inputFormGroup.controls.acceptZeroConf.value)("sendFromInternal",null==b.inputFormGroup||null==b.inputFormGroup.controls?null:b.inputFormGroup.controls.sendFromInternal.value)}}function zd(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"rtl-boltz-swapout-info-graphics",76),t.NdJ("stepNumberChange",function(Z){t.CHM(b);const Ne=t.oxw(2);return t.KtG(Ne.stepNumber=Z)}),t.qZA()}if(2&R){const b=t.oxw(2);t.Q6J("animationDirection",b.animationDirection)("stepNumber",b.stepNumber)}}function a0(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"rtl-boltz-swapin-info-graphics",76),t.NdJ("stepNumberChange",function(Z){t.CHM(b);const Ne=t.oxw(2);return t.KtG(Ne.stepNumber=Z)}),t.qZA()}if(2&R){const b=t.oxw(2);t.Q6J("animationDirection",b.animationDirection)("stepNumber",b.stepNumber)}}const Ic=(R,z)=>({"dot-primary":R,"dot-primary-lighter":z});function o0(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"span",77),t.NdJ("click",function(){const Ne=t.CHM(b).$implicit,Ot=t.oxw(2);return t.KtG(Ot.onStepChanged(Ne))}),t._UZ(1,"p",78),t.qZA()}if(2&R){const b=z.$implicit,U=t.oxw(2);t.xp6(1),t.Q6J("ngClass",t.WLB(1,Ic,U.stepNumber===b,U.stepNumber!==b))}}function I1(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"button",79),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(2);return t.KtG(Z.onReadMore())}),t._uU(1,"Read More"),t.qZA()}}function Gl(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"button",80),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(2);return t.KtG(Z.onStepChanged(4))}),t._uU(1,"Back"),t.qZA()}}function qh(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"button",81),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(2);return Z.flgShowInfo=!1,t.KtG(Z.stepNumber=1)}),t._uU(1,"Close"),t.qZA()}}function k1(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"button",82),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(2);return Z.flgShowInfo=!1,t.KtG(Z.stepNumber=1)}),t._uU(1,"Close"),t.qZA()}}function O1(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"button",83),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(2);return t.KtG(Z.onStepChanged(Z.stepNumber-1))}),t._uU(1,"Back"),t.qZA()}}function ds(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"button",84),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(2);return t.KtG(Z.onStepChanged(Z.stepNumber+1))}),t._uU(1,"Next"),t.qZA()}}const el=()=>[1,2,3,4,5];function Zl(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",61)(1,"div",18)(2,"mat-card-header",62)(3,"div",63),t._UZ(4,"span",7),t.qZA(),t.TgZ(5,"div",64)(6,"button",10),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return Z.flgShowInfo=!1,t.KtG(Z.stepNumber=1)}),t._uU(7,"X"),t.qZA()()(),t.TgZ(8,"mat-card-content",65),t.YNc(9,zd,1,2,"rtl-boltz-swapout-info-graphics",66)(10,a0,1,2,"rtl-boltz-swapin-info-graphics",66),t.qZA(),t.TgZ(11,"div",67),t.YNc(12,o0,2,4,"span",68),t.qZA(),t.TgZ(13,"div",69),t.YNc(14,I1,2,0,"button",70)(15,Gl,2,0,"button",71)(16,qh,2,0,"button",72)(17,k1,2,0,"button",73)(18,O1,2,0,"button",74)(19,ds,2,0,"button",75),t.qZA()()()}if(2&R){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,el)),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)}}let Xh=(()=>{class R{constructor(b,U,Z,Ne,Ot,$t,hi){this.dialogRef=b,this.data=U,this.boltzService=Z,this.formBuilder=Ne,this.decimalPipe=Ot,this.logger=$t,this.commonService=hi,this.faInfoCircle=en.sqG,this.boltzInfo=null,this.serviceInfo={fees:{percentage:null,miner:{normal:null,reverse:null}},limits:{minimal:1e4,maximal:5e7}},this.swapTypeEnum=Yt.hc,this.direction=Yt.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=Yt.cu,this.animationDirection="forward",this.flgEditable=!0,this.isSendFromInternalCompatible=!0,this.unSubs=[new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.serviceInfo=this.data.serviceInfo,this.direction=this.data.direction||Yt.hc.SWAP_OUT,this.swapDirectionCaption=this.direction===Yt.hc.SWAP_OUT?"Swap Out":"Swap in",this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.inputFormGroup=this.formBuilder.group({amount:[this.serviceInfo.limits?.minimal,[dt.kI.required,dt.kI.min(this.serviceInfo.limits?.minimal||0),dt.kI.max(this.serviceInfo.limits?.maximal||0)]],acceptZeroConf:[!1],sendFromInternal:[!0]}),this.addressFormGroup=this.formBuilder.group({addressType:["local",[dt.kI.required]],address:[{value:"",disabled:!0}]}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges(),this.boltzService.boltzInfoChanged.pipe((0,Ki.R)(this.unSubs[0])).subscribe({next:b=>{this.boltzInfo=b,this.isSendFromInternalCompatible=this.commonService.isVersionCompatible(this.boltzInfo.version,"2.0.0")},error:b=>{this.boltzInfo={version:"2.0.0"},this.logger.error(b)}})}ngAfterViewInit(){this.direction===Yt.hc.SWAP_OUT&&this.addressFormGroup.setErrors({Invalid:!0})}onFormValueChanges(){this.direction===Yt.hc.SWAP_OUT&&this.addressFormGroup.valueChanges.pipe((0,Ki.R)(this.unSubs[1])).subscribe(b=>{this.addressFormGroup.setErrors({Invalid:!0})})}onAddressTypeChange(b){"external"===b.value?(this.addressFormGroup.controls.address.setValidators([dt.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===Yt.hc.SWAP_OUT&&"external"===this.addressFormGroup.controls.addressType.value&&(!this.addressFormGroup.controls.address.value||""===this.addressFormGroup.controls.address.value.trim()))return!0;this.flgEditable=!1,this.stepper.selected?.stepControl.setErrors(null),this.stepper.next(),this.direction===Yt.hc.SWAP_IN?this.boltzService.swapIn(this.inputFormGroup.controls.amount.value,this.isSendFromInternalCompatible?this.inputFormGroup.controls.sendFromInternal.value:null).pipe((0,Ki.R)(this.unSubs[2])).subscribe({next:b=>{this.swapStatus=b,this.boltzService.listSwaps(),this.flgEditable=!0},error:b=>{this.swapStatus={error:b},this.flgEditable=!0,this.logger.error(b)}}):this.boltzService.swapOut(this.inputFormGroup.controls.amount.value,"external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"",this.inputFormGroup.controls.acceptZeroConf.value).pipe((0,Ki.R)(this.unSubs[3])).subscribe({next:U=>{this.swapStatus=U,this.boltzService.listSwaps(),this.flgEditable=!0},error:U=>{this.swapStatus={error:U},this.flgEditable=!0,this.logger.error(U)}})}stepSelectionChanged(b){switch(b.selectedIndex){case 0:default:this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.addressFormLabel="Withdrawal Address";break;case 1:this.inputFormLabel=this.inputFormGroup.controls.amount.value?this.direction===Yt.hc.SWAP_IN?this.swapDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Send from Internal Wallet: "+(this.inputFormGroup.controls.sendFromInternal.value?"Yes":"No"):this.swapDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Zero Conf: "+(this.inputFormGroup.controls.acceptZeroConf.value?"Yes":"No"):"Amount to "+this.swapDirectionCaption,this.addressFormLabel="Withdrawal Address"}b.selectedIndex<b.previouslySelectedIndex&&b.selectedStep.stepControl.setErrors({Invalid:!0})}onClose(){this.dialogRef.close(!0)}showInfo(){this.flgShowInfo=!0}onReadMore(){this.direction===Yt.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(b){this.animationDirection=b<this.stepNumber?"backward":"forward",this.stepNumber=b}onRestart(){this.stepper.reset(),this.flgEditable=!0,this.inputFormGroup.reset({amount:this.serviceInfo.limits?.minimal,acceptZeroConf:!1,sendFromInternal:!0}),this.statusFormGroup.reset(),this.addressFormGroup.reset({addressType:"local",address:""}),this.addressFormGroup.controls.address.disable(),this.swapStatus=null}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||R)(t.Y36(Di.so),t.Y36(Di.WI),t.Y36(lo),t.Y36(dt.QS),t.Y36(on.JJ),t.Y36(Se.mQ),t.Y36($r.v))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-boltz-swap-modal"]],viewQuery:function(U,Z){if(1&U&&t.Gf(o3,5),2&U){let Ne;t.iGM(Ne=t.CRH())&&(Z.stepper=Ne.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","end end",3,"fxFlex"],["tabindex","21","mat-button","",1,"btn-close-x","p-0",3,"click"],["tabindex","22","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large"],["fxLayout","column"],[3,"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","column","fxFlex","48","fxLayoutAlign","start stretch",4,"ngIf"],["fxLayout","row","fxLayoutAlign","start center","fxFlex","100",1,"mt-2"],["mat-button","","color","primary","tabindex","2","type","button","matStepperNext","",4,"ngIf"],["mat-button","","color","primary","tabindex","3","type","button",3,"click",4,"ngIf"],[3,"stepControl","editable",4,"ngIf"],[3,"stepControl"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between stretch"],["fxFlex","100",1,"flat-expansion-panel",3,"expanded"],["fxLayoutAlign","start center","fxFlex","100"],["class","ml-1 icon-small",4,"ngIf"],[4,"ngIf","ngIfElse"],["fxFlex","100","color","primary","mode","indeterminate",4,"ngIf"],["fxLayoutAlign","start","class","font-bold-500 mt-2",4,"ngIf"],["mat-button","","color","primary","tabindex","13","type","button",3,"click",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end end"],["mat-button","","color","primary","tabindex","14","type","button","default","",3,"mat-dialog-close"],["fxLayout","column","fxFlex","48","fxLayoutAlign","start stretch"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start center"],["fxLayoutAlign","start center","tabindex","2","color","primary","formControlName","acceptZeroConf","name","acceptZeroConf"],["matTooltip","Only recommended for smaller payments, involves trust in Boltz","matTooltipPosition","above",1,"info-icon","mt-2"],["fxLayoutAlign","start center","tabindex","2","color","primary","formControlName","sendFromInternal","name","sendFromInternal"],["matTooltip","Pay from the node's onchain wallet","matTooltipPosition","above",1,"info-icon","mt-2"],["mat-button","","color","primary","tabindex","2","type","button","matStepperNext",""],["mat-button","","color","primary","tabindex","3","type","button",3,"click"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mt-1"],["color","primary","name","addressType","formControlName","addressType","fxFlex","100","fxLayoutAlign","space-between stretch",3,"change"],["fxFlex","48","tabindex","8","value","local"],["fxFlex","48","tabindex","9","value","external"],["fxLayout","column","fxFlex","100",1,"mt-1"],["matInput","","tabindex","10","formControlName","address",3,"required"],["mat-button","","color","primary","tabindex","11","type","button",3,"click"],[1,"ml-1","icon-small"],["fxFlex","100","color","primary","mode","indeterminate"],["fxLayoutAlign","start",1,"font-bold-500","mt-2"],["mat-button","","color","primary","tabindex","13","type","button",3,"click"],["fxLayout","column",3,"swapStatus","direction","acceptZeroConf","sendFromInternal"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"info-graphics-container"],["fxLayout","row","fxFlex","8","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],["fxFlex","5","fxLayoutAlign","end center"],["fxLayout","column","fxFlex","70","fxLayoutAlign","space-between center",1,"padding-gap-x-large"],["fxFlex","100",3,"animationDirection","stepNumber","stepNumberChange",4,"ngIf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","center end",1,"padding-gap-x-large","padding-gap-bottom-large"],["tabindex","21","fxLayoutAlign","center center","class","dots-stepper-block",3,"click",4,"ngFor","ngForOf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","end end",1,"padding-gap-x-large","padding-gap-bottom-large"],["mat-button","","class","mr-1","color","primary","tabindex","15","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","16","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","17","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","18","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","19","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","20","type","button",3,"click",4,"ngIf"],["fxFlex","100",3,"animationDirection","stepNumber","stepNumberChange"],["tabindex","21","fxLayoutAlign","center center",1,"dots-stepper-block",3,"click"],[1,"dot","tiny-dot","mr-0",3,"ngClass"],["mat-button","","color","primary","tabindex","15","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","16","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","17","type","button",3,"click"],["mat-button","","color","primary","tabindex","18","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","19","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","20","type","button",3,"click"]],template:function(U,Z){1&U&&t.YNc(0,Ul,58,36,"div",0)(1,Fd,1,4,"ng-template",null,1,t.W1O)(3,Zl,20,11,"div",2),2&U&&(t.Q6J("ngIf",!Z.flgShowInfo),t.xp6(3),t.Q6J("ngIf",Z.flgShowInfo))},dependencies:[on.mk,on.sg,on.O5,dt._Y,dt.Fj,dt.wV,dt.JJ,dt.JL,dt.Q7,dt.sg,dt.u,qi.xw,qi.Wh,qi.yH,me.oO,Di.ZT,Ye.lW,rr.dn,rr.dk,Oe.ib,Oe.yz,Oe.yK,Go.Hw,Tn.Nt,ut.KE,ut.hX,ut.bx,ut.TO,ut.R9,Td.pW,_e.VQ,_e.U0,Re.Rr,Za.gM,Nn.C0,Nn.VY,Nn.Vq,Nn.Ic,vt.h,$2,Yh,e0,n0,on.JJ],styles:[".dots-stepper-block[_ngcontent-%COMP%]{width:3rem}.info-graphics-container[_ngcontent-%COMP%]{max-height:30rem;min-height:30rem;overflow-x:hidden}"],data:{animation:[kd._]}})}return R})();function Jh(R,z){if(1&R&&(t.TgZ(0,"mat-option",42),t._uU(1),t.qZA()),2&R){const b=z.$implicit,U=t.oxw();t.Q6J("value",b),t.xp6(1),t.Oqu(U.getLabel(b))}}function s0(R,z){1&R&&t._UZ(0,"mat-progress-bar",43)}function tl(R,z){1&R&&(t.TgZ(0,"th",44),t._uU(1,"Status"),t.qZA())}function $h(R,z){if(1&R&&(t.TgZ(0,"td",45),t._uU(1),t.qZA()),2&R){const b=z.$implicit,U=t.oxw();t.xp6(1),t.Oqu(U.swapStateEnum[null==b?null:b.status])}}function c0(R,z){1&R&&(t.TgZ(0,"th",44),t._uU(1,"Swap ID"),t.qZA())}function eu(R,z){if(1&R&&(t.TgZ(0,"td",45),t._uU(1),t.qZA()),2&R){const b=z.$implicit;t.xp6(1),t.Oqu(null==b?null:b.id)}}function P1(R,z){1&R&&(t.TgZ(0,"th",44),t._uU(1,"Claim Address"),t.qZA())}const kc=R=>({width:R});function R1(R,z){if(1&R&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&R){const b=z.$implicit,U=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,kc,U.screenSize===U.screenSizeEnum.XS?"6rem":U.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.claimAddress)}}function l0(R,z){1&R&&(t.TgZ(0,"th",44),t._uU(1,"Lockup Address"),t.qZA())}function d0(R,z){if(1&R&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&R){const b=z.$implicit,U=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,kc,U.screenSize===U.screenSizeEnum.XS?"6rem":U.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.lockupAddress)}}function tu(R,z){1&R&&(t.TgZ(0,"th",48),t._uU(1,"Onchain Amount (Sats)"),t.qZA())}function h0(R,z){if(1&R&&(t.TgZ(0,"td",45)(1,"span",49),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&R){const b=z.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==b?null:b.onchainAmount))}}function u0(R,z){1&R&&(t.TgZ(0,"th",48),t._uU(1,"Expected Amount (Sats)"),t.qZA())}function f0(R,z){if(1&R&&(t.TgZ(0,"td",45)(1,"span",49),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&R){const b=z.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==b?null:b.expectedAmount))}}function m0(R,z){1&R&&(t.TgZ(0,"th",44),t._uU(1,"Error"),t.qZA())}function iu(R,z){if(1&R&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&R){const b=z.$implicit,U=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,kc,U.screenSize===U.screenSizeEnum.XS?"6rem":U.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.error)}}function nu(R,z){1&R&&(t.TgZ(0,"th",44),t._uU(1,"Private Key"),t.qZA())}function p0(R,z){if(1&R&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&R){const b=z.$implicit,U=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,kc,U.screenSize===U.screenSizeEnum.XS?"6rem":U.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.privateKey)}}function Vd(R,z){1&R&&(t.TgZ(0,"th",44),t._uU(1,"Preimage"),t.qZA())}function hs(R,z){if(1&R&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&R){const b=z.$implicit,U=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,kc,U.screenSize===U.screenSizeEnum.XS?"6rem":U.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.preimage)}}function Wl(R,z){1&R&&(t.TgZ(0,"th",44),t._uU(1,"Redeem Script"),t.qZA())}function hc(R,z){if(1&R&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&R){const b=z.$implicit,U=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,kc,U.screenSize===U.screenSizeEnum.XS?"6rem":U.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.redeemScript)}}function N1(R,z){1&R&&(t.TgZ(0,"th",44),t._uU(1,"Invoice"),t.qZA())}function Bd(R,z){if(1&R&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&R){const b=z.$implicit,U=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,kc,U.screenSize===U.screenSizeEnum.XS?"6rem":U.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.invoice)}}function Yl(R,z){1&R&&(t.TgZ(0,"th",48),t._uU(1,"Timeout Block Height"),t.qZA())}function g0(R,z){if(1&R&&(t.TgZ(0,"td",45)(1,"span",49),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&R){const b=z.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==b?null:b.timeoutBlockHeight))}}function _0(R,z){1&R&&(t.TgZ(0,"th",44),t._uU(1,"Lockup Tx ID"),t.qZA())}function Ud(R,z){if(1&R&&(t.TgZ(0,"td",45),t._uU(1),t.qZA()),2&R){const b=z.$implicit;t.xp6(1),t.Oqu(null==b?null:b.lockupTransactionId)}}function ru(R,z){1&R&&(t.TgZ(0,"th",44),t._uU(1,"Claim Tx ID"),t.qZA())}function qs(R,z){if(1&R&&(t.TgZ(0,"td",45),t._uU(1),t.qZA()),2&R){const b=z.$implicit;t.xp6(1),t.Oqu(null==b?null:b.claimTransactionId)}}function v0(R,z){1&R&&(t.TgZ(0,"th",44),t._uU(1,"Refund Tx ID"),t.qZA())}function au(R,z){if(1&R&&(t.TgZ(0,"td",45),t._uU(1),t.qZA()),2&R){const b=z.$implicit;t.xp6(1),t.Oqu(null==b?null:b.refundTransactionId)}}function b0(R,z){if(1&R){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 Z=t.oxw();return t.KtG(Z.onDownloadCSV())}),t._uU(5,"Download CSV"),t.qZA()()()()}}function Gd(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"td",54)(1,"button",55),t.NdJ("click",function(Z){const Ot=t.CHM(b).$implicit,$t=t.oxw();return t.KtG($t.onSwapClick(Ot,Z))}),t._uU(2,"View Info"),t.qZA()()}}function l3(R,z){if(1&R&&(t.TgZ(0,"p"),t._uU(1),t.qZA()),2&R){const b=t.oxw(2);t.xp6(1),t.Oqu(b.emptyTableMessage)}}function y0(R,z){if(1&R&&(t.TgZ(0,"td",56),t.YNc(1,l3,2,1,"p",57),t.qZA()),2&R){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 x0=R=>({"display-none":R});function C0(R,z){if(1&R&&t._UZ(0,"tr",58),2&R){const b=t.oxw();t.Q6J("ngClass",t.VKq(1,x0,(null==b.listSwaps?null:b.listSwaps.data)&&(null==b.listSwaps||null==b.listSwaps.data?null:b.listSwaps.data.length)>0))}}function ou(R,z){1&R&&t._UZ(0,"tr",59)}function w0(R,z){1&R&&t._UZ(0,"tr",60)}const M0=()=>["all"],S0=R=>({"overflow-auto error-border":R,"overflow-auto":!0}),il=()=>["no_swap"];let Wo=(()=>{class R{constructor(b,U,Z,Ne,Ot){this.logger=b,this.commonService=U,this.store=Z,this.boltzService=Ne,this.camelCaseWithReplace=Ot,this.selectedSwapType=Yt.hc.SWAP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=Yt.hG,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="boltz",this.tableSettingSwapOut={tableId:"swap_out",recordsPerPage:Yt.IV,sortBy:"status",sortOrder:Yt.Pi.DESCENDING},this.tableSettingSwapIn={tableId:"swap_in",recordsPerPage:Yt.IV,sortBy:"status",sortOrder:Yt.Pi.DESCENDING},this.swapStateEnum=Yt.Qw,this.swapTypeEnum=Yt.hc,this.faHistory=en.qO$,this.swapCaption="Swap Out",this.displayedColumns=[],this.listSwaps=new gr.by([]),this.selFilter="",this.pageSize=Yt.IV,this.pageSizeOptions=Yt.TJ,this.screenSize="",this.screenSizeEnum=Yt.cu,this.unSubs=[new Yi.x,new Yi.x,new Yi.x],this.screenSize=this.commonService.getScreenSize()}ngOnChanges(b){b.selectedSwapType&&!b.selectedSwapType.firstChange&&this.setTableColumns(),this.swapCaption=this.selectedSwapType===Yt.hc.SWAP_IN?"Swap In":"Swap Out",this.loadSwapsTable(this.swapsData)}ngOnInit(){this.store.select(Uo.Pr).pipe((0,Ki.R)(this.unSubs[0])).subscribe(b=>{this.tableSettingSwapOut=b.pageSettings.find(U=>U.pageId===this.PAGE_ID)?.tables.find(U=>U.tableId===this.tableSettingSwapOut.tableId)||Yt.gK.find(U=>U.pageId===this.PAGE_ID)?.tables.find(U=>U.tableId===this.tableSettingSwapOut.tableId),this.tableSettingSwapIn=b.pageSettings.find(U=>U.pageId===this.PAGE_ID)?.tables.find(U=>U.tableId===this.tableSettingSwapIn.tableId)||Yt.gK.find(U=>U.pageId===this.PAGE_ID)?.tables.find(U=>U.tableId===this.tableSettingSwapIn.tableId),this.setTableColumns(),this.swapsData&&this.sort&&this.paginator&&this.displayedColumns.length>0&&this.loadSwapsTable(this.swapsData),this.colWidth=this.displayedColumns.length?this.commonService.getContainerSize().width/this.displayedColumns.length/14+"rem":"20rem",this.logger.info(this.displayedColumns)})}ngAfterViewInit(){this.swapsData&&this.swapsData.length>0&&this.loadSwapsTable(this.swapsData)}setTableColumns(){this.selectedSwapType===Yt.hc.SWAP_IN?(this.displayedColumns=this.screenSize===Yt.cu.XS||this.screenSize===Yt.cu.SM?JSON.parse(JSON.stringify(this.tableSettingSwapIn.columnSelectionSM)):JSON.parse(JSON.stringify(this.tableSettingSwapIn.columnSelection)),this.displayedColumns.push("actions"),this.pageSize=this.tableSettingSwapIn.recordsPerPage?+this.tableSettingSwapIn.recordsPerPage:Yt.IV):(this.displayedColumns=this.screenSize===Yt.cu.XS||this.screenSize===Yt.cu.SM?JSON.parse(JSON.stringify(this.tableSettingSwapOut.columnSelectionSM)):JSON.parse(JSON.stringify(this.tableSettingSwapOut.columnSelection)),this.displayedColumns.push("actions"),this.pageSize=this.tableSettingSwapOut.recordsPerPage?+this.tableSettingSwapOut.recordsPerPage:Yt.IV)}applyFilter(){this.listSwaps&&""!==this.selFilter&&(this.listSwaps.filter=this.selFilter.trim().toLowerCase())}getLabel(b){const Z=this.nodePageDefs[this.PAGE_ID][this.selectedSwapType===Yt.hc.SWAP_IN?this.tableSettingSwapIn.tableId:this.tableSettingSwapOut.tableId].allowedColumns.find(Ne=>Ne.column===b);return Z?Z.label?Z.label:this.camelCaseWithReplace.transform(Z.column,"_"):this.commonService.titleCase(b)}setFilterPredicate(){this.listSwaps.filterPredicate=(b,U)=>{let Z="";switch(this.selFilterBy){case"all":Z=JSON.stringify(b).toLowerCase();break;case"status":Z=b?.status?this.swapStateEnum[b?.status]:"";break;default:Z=typeof b[this.selFilterBy]>"u"?"":"string"==typeof b[this.selFilterBy]?b[this.selFilterBy].toLowerCase():"boolean"==typeof b[this.selFilterBy]?b[this.selFilterBy]?"yes":"no":b[this.selFilterBy].toString()}return"status"===this.selFilterBy?0===Z.indexOf(U):Z.includes(U)}}onSwapClick(b,U){this.boltzService.swapInfo(b.id||"").pipe((0,Ki.R)(this.unSubs[1])).subscribe(Z=>{this.store.dispatch((0,yn.qR)({payload:{data:{type:Yt.n_.INFORMATION,alertTitle:this.swapCaption+" Status",message:[[{key:"status",value:Yt.Qw[(Z=this.selectedSwapType===Yt.hc.SWAP_IN?Z.swap:Z.reverseSwap).status],title:"Status",width:50,type:Yt.Gi.STRING},{key:"id",value:Z.id,title:"ID",width:50,type:Yt.Gi.STRING}],[{key:"amount",value:Z.onchainAmount?Z.onchainAmount:Z.expectedAmount?Z.expectedAmount:0,title:Z.onchainAmount?"Onchain Amount (Sats)":Z.expectedAmount?"Expected Amount (Sats)":"Amount (Sats)",width:50,type:Yt.Gi.NUMBER},{key:"timeoutBlockHeight",value:Z.timeoutBlockHeight,title:"Timeout Block Height",width:50,type:Yt.Gi.NUMBER}],[{key:"address",value:Z.claimAddress?Z.claimAddress:Z.lockupAddress?Z.lockupAddress:"",title:Z.claimAddress?"Claim Address":Z.lockupAddress?"Lockup Address":"Address",width:100,type:Yt.Gi.STRING}],[{key:"invoice",value:Z.invoice,title:"Invoice",width:100,type:Yt.Gi.STRING}],[{key:"privateKey",value:Z.privateKey,title:"Private Key",width:100,type:Yt.Gi.STRING}],[{key:"preimage",value:Z.preimage,title:"Preimage",width:100,type:Yt.Gi.STRING}],[{key:"redeemScript",value:Z.redeemScript,title:"Redeem Script",width:100,type:Yt.Gi.STRING}],[{key:"lockupTransactionId",value:Z.lockupTransactionId,title:"Lockup Transaction ID",width:50,type:Yt.Gi.STRING},{key:"transactionId",value:Z.claimTransactionId?Z.claimTransactionId:Z.refundTransactionId?Z.refundTransactionId:"",title:Z.claimTransactionId?"Claim Transaction ID":Z.refundTransactionId?"Refund Transaction ID":"Transaction ID",width:50,type:Yt.Gi.STRING}]],openedBy:"SWAP"}}}))})}loadSwapsTable(b){this.listSwaps=new gr.by(b?[...b]:[]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(U,Z)=>U[Z]&&isNaN(U[Z])?U[Z].toLocaleLowerCase():U[Z]?+U[Z]:null,this.paginator&&this.paginator.firstPage(),this.listSwaps.paginator=this.paginator,this.setFilterPredicate(),this.applyFilter(),this.logger.info(this.listSwaps)}onDownloadCSV(){this.listSwaps.data&&this.listSwaps.data.length>0&&this.commonService.downloadFile(this.listSwaps.data,this.selectedSwapType===Yt.hc.SWAP_IN?"Swap in":"Swap out")}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||R)(t.Y36(Se.mQ),t.Y36($r.v),t.Y36(zi.yh),t.Y36(lo),t.Y36(Ns.D3))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-boltz-swaps"]],viewQuery:function(U,Z){if(1&U&&(t.Gf(Ks.YE,5),t.Gf(js.NW,5)),2&U){let Ne;t.iGM(Ne=t.CRH())&&(Z.sort=Ne.first),t.iGM(Ne=t.CRH())&&(Z.paginator=Ne.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},features:[t._Bn([{provide:ti.PG,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:js.ye,useValue:(0,Yt.pt)("Swaps")}]),t.TTD],decls:76,vars:20,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start start",1,"card-content-gap"],["fxLayout","column","fxLayout.gt-xs","row","fxLayoutAlign.gt-xs","start center","fxLayoutAlign","start stretch","fxFlex","100",1,"page-sub-title-container","w-100"],["fxFlex","70"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxFlex.gt-xs","30","fxLayoutAlign.gt-xs","space-between center","fxLayout","row","fxLayoutAlign","space-between stretch"],["fxLayout","column","fxFlex","49"],["tabindex","1","name","filterBy",3,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["matInput","","name","filter",3,"ngModel","ngModelChange","input","keyup"],["fxLayout","row","fxLayoutAlign","start center",1,"w-100"],["fxFlex","100",1,"table-container",3,"perfectScrollbar"],["mode","indeterminate",4,"ngIf"],["mat-table","","matSort","",3,"matSortActive","matSortDirection","dataSource","ngClass"],["table",""],["matColumnDef","status"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","id"],["matColumnDef","claimAddress"],["matColumnDef","lockupAddress"],["matColumnDef","onchainAmount"],["mat-header-cell","","mat-sort-header","","arrowPosition","before",4,"matHeaderCellDef"],["matColumnDef","expectedAmount"],["matColumnDef","error"],["matColumnDef","privateKey"],["matColumnDef","preimage"],["matColumnDef","redeemScript"],["matColumnDef","invoice"],["matColumnDef","timeoutBlockHeight"],["matColumnDef","lockupTransactionId"],["matColumnDef","claimTransactionId"],["matColumnDef","refundTransactionId"],["matColumnDef","actions"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","fxLayoutAlign","end center",4,"matCellDef"],["matColumnDef","no_swap"],["mat-footer-cell","","colspan","4",4,"matFooterCellDef"],["mat-footer-row","",3,"ngClass",4,"matFooterRowDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"mb-1",3,"pageSize","pageSizeOptions","showFirstLastButtons"],[3,"value"],["mode","indeterminate"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["fxLayout.gt-xs","row",1,"ellipsis-parent",3,"ngStyle"],[1,"ellipsis-child"],["mat-header-cell","","mat-sort-header","","arrowPosition","before"],["fxLayoutAlign","end center"],["mat-header-cell",""],["fxLayoutAlign","center center",1,"bordered-box","table-actions-select"],["placeholder","Actions","tabindex","1",1,"mr-0"],[3,"click"],["mat-cell","","fxLayoutAlign","end center"],["mat-stroked-button","","color","primary","type","button","tabindex","4",1,"table-actions-button",3,"click"],["mat-footer-cell","","colspan","4"],[4,"ngIf"],["mat-footer-row","",3,"ngClass"],["mat-header-row",""],["mat-row",""]],template:function(U,Z){1&U&&(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(Ot){return Z.selFilterBy=Ot})("selectionChange",function(){return Z.selFilter="",Z.applyFilter()}),t.TgZ(11,"perfect-scrollbar"),t.YNc(12,Jh,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(Ot){return Z.selFilter=Ot})("input",function(){return Z.applyFilter()})("keyup",function(){return Z.applyFilter()}),t.qZA()()()(),t.TgZ(17,"div",10)(18,"div",11),t.YNc(19,s0,1,0,"mat-progress-bar",12),t.TgZ(20,"table",13,14),t.ynx(22,15),t.YNc(23,tl,2,0,"th",16)(24,$h,2,1,"td",17),t.BQk(),t.ynx(25,18),t.YNc(26,c0,2,0,"th",16)(27,eu,2,1,"td",17),t.BQk(),t.ynx(28,19),t.YNc(29,P1,2,0,"th",16)(30,R1,4,4,"td",17),t.BQk(),t.ynx(31,20),t.YNc(32,l0,2,0,"th",16)(33,d0,4,4,"td",17),t.BQk(),t.ynx(34,21),t.YNc(35,tu,2,0,"th",22)(36,h0,4,3,"td",17),t.BQk(),t.ynx(37,23),t.YNc(38,u0,2,0,"th",22)(39,f0,4,3,"td",17),t.BQk(),t.ynx(40,24),t.YNc(41,m0,2,0,"th",16)(42,iu,4,4,"td",17),t.BQk(),t.ynx(43,25),t.YNc(44,nu,2,0,"th",16)(45,p0,4,4,"td",17),t.BQk(),t.ynx(46,26),t.YNc(47,Vd,2,0,"th",16)(48,hs,4,4,"td",17),t.BQk(),t.ynx(49,27),t.YNc(50,Wl,2,0,"th",16)(51,hc,4,4,"td",17),t.BQk(),t.ynx(52,28),t.YNc(53,N1,2,0,"th",16)(54,Bd,4,4,"td",17),t.BQk(),t.ynx(55,29),t.YNc(56,Yl,2,0,"th",22)(57,g0,4,3,"td",17),t.BQk(),t.ynx(58,30),t.YNc(59,_0,2,0,"th",16)(60,Ud,2,1,"td",17),t.BQk(),t.ynx(61,31),t.YNc(62,ru,2,0,"th",16)(63,qs,2,1,"td",17),t.BQk(),t.ynx(64,32),t.YNc(65,v0,2,0,"th",16)(66,au,2,1,"td",17),t.BQk(),t.ynx(67,33),t.YNc(68,b0,6,0,"th",34)(69,Gd,3,0,"td",35),t.BQk(),t.ynx(70,36),t.YNc(71,y0,2,1,"td",37),t.BQk(),t.YNc(72,C0,1,3,"tr",38)(73,ou,1,0,"tr",39)(74,w0,1,0,"tr",40),t.qZA(),t._UZ(75,"mat-paginator",41),t.qZA()()()),2&U&&(t.xp6(3),t.Q6J("icon",Z.faHistory),t.xp6(2),t.hij("",Z.swapCaption," History"),t.xp6(5),t.Q6J("ngModel",Z.selFilterBy),t.xp6(2),t.Q6J("ngForOf",t.DdM(16,M0).concat(Z.displayedColumns.slice(0,-1))),t.xp6(4),t.Q6J("ngModel",Z.selFilter),t.xp6(3),t.Q6J("ngIf",!0===Z.flgLoading[0]),t.xp6(1),t.Q6J("matSortActive",Z.selectedSwapType===Z.swapTypeEnum.SWAP_IN?Z.tableSettingSwapIn.sortBy:Z.tableSettingSwapOut.sortBy)("matSortDirection",Z.selectedSwapType===Z.swapTypeEnum.SWAP_IN?Z.tableSettingSwapIn.sortOrder:Z.tableSettingSwapOut.sortOrder)("dataSource",Z.listSwaps)("ngClass",t.VKq(17,S0,"error"===Z.flgLoading[0])),t.xp6(52),t.Q6J("matFooterRowDef",t.DdM(19,il)),t.xp6(1),t.Q6J("matHeaderRowDef",Z.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",Z.displayedColumns),t.xp6(1),t.Q6J("pageSize",Z.pageSize)("pageSizeOptions",Z.pageSizeOptions)("showFirstLastButtons",Z.screenSize!==Z.screenSizeEnum.XS))},dependencies:[on.mk,on.sg,on.O5,on.PC,dt.Fj,dt.JJ,dt.On,Jr.BN,qi.xw,qi.Wh,qi.yH,me.oO,me.Zl,Ye.lW,Tn.Nt,ut.KE,ut.hX,Td.pW,ti.gD,ti.$L,Pe.ey,Ks.YE,Ks.nU,gr.BZ,gr.fO,gr.as,gr.w1,gr.Dz,gr.nj,gr.mD,gr.Ke,gr.ge,gr.ev,gr.yh,gr.XQ,gr.Gk,gr.Q2,js.NW,ft.Vv,ft.$V,on.JJ]})}return R})();const uc=R=>["../",R];function H1(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"div",16),t.NdJ("click",function(){const Ne=t.CHM(b).$implicit,Ot=t.oxw();return t.KtG(Ot.onSelectedIndexChange(Ne))}),t._uU(1),t.qZA()}if(2&R){const b=z.$implicit,U=t.oxw();t.Q6J("active",U.activeTab.link===b.link)("routerLink",t.VKq(3,uc,b.link)),t.xp6(1),t.Oqu(b.name)}}let Zd=(()=>{class R{constructor(b,U,Z){this.router=b,this.store=U,this.boltzService=Z,this.swapTypeEnum=Yt.hc,this.selectedSwapType=Yt.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 Yi.x,new Yi.x,new Yi.x,new Yi.x]}ngOnInit(){this.boltzService.getBoltzInfo(),this.boltzService.listSwaps();const b=this.links.find(U=>this.router.url.includes(U.link));this.activeTab=b||this.links[0],this.selectedSwapType=b&&"swapin"===b.link?Yt.hc.SWAP_IN:Yt.hc.SWAP_OUT,this.router.events.pipe((0,Ki.R)(this.unSubs[0]),(0,dr.h)(U=>U instanceof Xn.Av)).subscribe({next:U=>{const Z=this.links.find(Ne=>U.urlAfterRedirects.includes(Ne.link));this.activeTab=Z||this.links[0],this.selectedSwapType=Z&&"swapin"===Z.link?Yt.hc.SWAP_IN:Yt.hc.SWAP_OUT}}),this.boltzService.swapsChanged.pipe((0,Ki.R)(this.unSubs[1])).subscribe({next:U=>{this.swaps=U,this.swapsData=this.selectedSwapType===Yt.hc.SWAP_IN&&U.swaps?U.swaps:this.selectedSwapType===Yt.hc.SWAP_OUT&&U.reverseSwaps?U.reverseSwaps:[],this.flgLoading[0]=!1},error:U=>{this.flgLoading[0]="error",this.emptyTableMessage=U.message?U.message:"No swap "+(this.selectedSwapType===Yt.hc.SWAP_IN?"in":"out")+" available."}})}onSelectedIndexChange(b){"swapin"===b.link?(this.selectedSwapType=Yt.hc.SWAP_IN,this.swapsData=this.swaps.swaps||[]):(this.selectedSwapType=Yt.hc.SWAP_OUT,this.swapsData=this.swaps.reverseSwaps||[])}onSwap(b){this.boltzService.serviceInfo().pipe((0,Ki.R)(this.unSubs[2])).subscribe({next:U=>{this.store.dispatch((0,yn.qR)({payload:{data:{serviceInfo:U,direction:b,component:Xh}}}))}})}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||R)(t.Y36(Xn.F0),t.Y36(zi.yh),t.Y36(lo))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-boltz-root"]],decls:20,vars:7,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],["viewBox","0 0 78 78","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",1,"botlz-icon-sm","mr-1"],["id","Logo","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","Group"],["id","Oval","cx","39","cy","39","r","37.5",1,"boltz-icon"],["d","M36.4583326,43.7755404 L40.53965,35.2316544 L39.4324865,35.2316544 L46.0754873,17.6071752 C46.292579,17.0204094 46.3287609,16.5159331 46.1840331,16.0937464 C46.0393053,15.671561 45.7860319,15.3674444 45.4242131,15.1813966 C45.0623942,14.9953487 44.6535376,14.9524146 44.1976433,15.0525945 C43.7417511,15.1527743 43.3256596,15.4461573 42.9493689,15.9327433 L22.6078557,40.7701025 C22.2026186,41.2710003 22,41.7575877 22,42.2298646 C22,42.6735173 22.1592003,43.0420366 22.477601,43.3354226 C22.7960017,43.6288058 23.1940025,43.7755404 23.6716036,43.7755404 L36.4583326,43.7755404 Z","id","Path",1,"boltz-icon-fill"],["d","M44.4883879,63.7755404 L48.8604707,55.165009 L47.6744296,55.165009 L54.7906978,37.4030526 C55.0232558,36.8117097 55.0620155,36.3032983 54.9069768,35.8778185 C54.7519381,35.4523399 54.4806208,35.1458511 54.0930248,34.958352 C53.7054289,34.7708528 53.2674441,34.7275839 52.7790706,34.8285452 C52.2906992,34.9295065 51.8449641,35.2251779 51.4418653,35.7155595 L29.6511611,60.746659 C29.2170537,61.251464 29,61.7418469 29,62.2178078 C29,62.6649211 29.1705423,63.036315 29.5116268,63.3319895 C29.8527113,63.6276613 30.2790669,63.7755404 30.7906936,63.7755404 L44.4883879,63.7755404 Z","id","Path-Copy","transform","translate(42.000000, 49.275540) rotate(-180.000000) translate(-42.000000, -49.275540) ",1,"boltz-icon-fill"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","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","2",3,"click"],["fxLayout","row","fxFlex","100",3,"selectedSwapType","swapsData","flgLoading","emptyTableMessage"],["tabindex","1","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"]],template:function(U,Z){if(1&U&&(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,H1,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 Z.onSwap(Z.selectedSwapType)}),t._uU(18),t.qZA()(),t._UZ(19,"rtl-boltz-swaps",15),t.qZA()()()),2&U){const Ne=t.MAs(15);t.xp6(12),t.Q6J("tabPanel",Ne),t.xp6(1),t.Q6J("ngForOf",Z.links),t.xp6(5),t.hij("Start ",Z.activeTab.name,""),t.xp6(1),t.Q6J("selectedSwapType",Z.selectedSwapType)("swapsData",Z.swapsData)("flgLoading",Z.flgLoading)("emptyTableMessage",Z.emptyTableMessage)}},dependencies:[on.sg,qi.xw,qi.Wh,qi.yH,Ye.lW,rr.a8,rr.dn,na.BU,na.sW,na.Nj,Xn.rH,Wo]})}return R})();class ja{constructor(z){this.help=z}}function E0(R,z){if(1&R&&(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&R){const b=t.oxw().$implicit,U=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",U.flgLoggedIn?b.help.link:"/login"),t.xp6(1),t.Oqu(U.flgLoggedIn?b.help.linkCaption:"Login to go to the page")}}function T0(R,z){if(1&R&&(t.TgZ(0,"div",6),t.YNc(1,E0,8,4,"mat-expansion-panel",7),t.qZA()),2&R){const b=z.$implicit,U=t.oxw();t.xp6(1),t.Q6J("ngIf","ALL"===b.help.lnImplementation||b.help.lnImplementation===U.selNode.lnImplementation)}}let cu=(()=>{class R{constructor(b,U){this.store=b,this.sessionService=U,this.helpTopics=[],this.faQuestion=en.Psp,this.LNPLink="/lnd/",this.flgLoggedIn=!1,this.unSubs=[new Yi.x,new Yi.x,new Yi.x,new Yi.x]}ngOnInit(){this.store.select(Hr.dT).pipe((0,Ki.R)(this.unSubs[0])).subscribe(b=>{this.selNode=b,this.selNode.lnImplementation&&""!==this.selNode.lnImplementation.trim()&&(this.LNPLink="/"+this.selNode.lnImplementation.toLowerCase()+"/",this.addHelpTopics())}),this.sessionService.watchSession().pipe((0,Ki.R)(this.unSubs[1])).subscribe(b=>{this.flgLoggedIn=!!b.token}),this.sessionService.getItem("token")&&(this.flgLoggedIn=!0)}addHelpTopics(){this.helpTopics=[],this.helpTopics.push(new ja({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 ja({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 ja({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 ja({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 ja({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 ja({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 ja({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 ja({question:"Offers",answer:'Send offer payments, create offer invoices and bookmark paid offers on your node.\nGo to the "Transactions" page under the "Lightning" menu :\nPayment for bolt12 offer invoice can be done on "Payments" tab:\n 1. Click on "Send Payment" button.\n 2. Select "Offer" option on the modal.\n 2. Offer Request - Input offer request (Bolt12 format) in the input box.\n 3. Bookmark - Select the checkbox to bookmark this offer for future use.\nOffers tab is for creating bolt12 offer invoice on your node:\n 1. Click on "Create Offer" button.\n 2. Description - Description you want to provide on the offer invoice.\n 3. Amount - Amount for the offer invoice.\n 4. issuer - issuer of the offer.\nPaid offer bookmarks shows the list of paid offers saved for future payments.\n',link:this.LNPLink+"transactions/offers",linkCaption:"Offers",lnImplementation:"CLN"})),this.helpTopics.push(new ja({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 ja({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 ja({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 ja({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 ja({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 ja({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 ja({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 ja({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 ja({question:"Node Settings",answer:'RTL offers certain customizations on the UI to personalize your experience on the app\nGo to "Node Config" page to access the customization options.\nNode Layout Options\n 1. User Persona - Two options are available to change the dashboard based on the persona.\n 2. Currency Unit - You can choose your preferred fiat currency, to view the onchain and channel balances in the choosen fiat currency.\n 3. Other customizations include day and night mode and a choice of color themes to select from.\nServices Options\n Loop (LND only), Boltz (LND only) & Peerswap (CLN only) services can be configured.\nExperimental Options (CLN only)\n Offers and Liquidity Ads can be enabled/disabled.\nShow LN Config (if configured)\n Shows lightning config file.\n',link:"../config/nodesettings",linkCaption:"Node Settings",lnImplementation:"ALL"})),this.helpTopics.push(new ja({question:"Application Settings",answer:'RTL also offers certain customizations on the application level\nGo to top right menu "Settings" page to access these options.\nDefault Node Option\nIf you are managing multiple nodes via RTL UI, you can select the default node to load upon login.\nAuthentication Option\nPassword and 2FA update options are available here.\nShow Bitcoin Config (if configured)\n Shows bitcoin config file.\n',link:"../settings/app",linkCaption:"Application Settings",lnImplementation:"ALL"}))}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||R)(t.Y36(zi.yh),t.Y36(Ps.m))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-help"]],decls:8,vars:2,consts:[["fxLayout","column","fxFlex","100"],["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start start",1,"padding-gap-x"],["fxFlex","100",4,"ngFor","ngForOf"],["fxFlex","100"],["class","flat-expansion-panel help-expansion mb-2px",4,"ngIf"],[1,"flat-expansion-panel","help-expansion","mb-2px"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start start"],[1,"pre-wrap",3,"innerHTML"],[1,"mt-2",3,"routerLink"]],template:function(U,Z){1&U&&(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,T0,2,1,"div",5),t.qZA()()()),2&U&&(t.xp6(2),t.Q6J("icon",Z.faQuestion),t.xp6(5),t.Q6J("ngForOf",Z.helpTopics))},dependencies:[on.sg,on.O5,Jr.BN,qi.xw,qi.Wh,qi.yH,Oe.ib,Oe.yz,Oe.yK,Oe.u4,Xn.rH],styles:[".mat-mdc-card-content[_ngcontent-%COMP%]{margin-bottom:4px}"]})}return R})();var A0=p(2572);function lu(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Token is required."),t.qZA())}let h3=(()=>{class R{constructor(b,U){this.dialogRef=b,this.store=U,this.token=""}onClose(){this.dialogRef.close(null)}onVerifyToken(){if(!this.token)return!0;this.dialogRef.close(),this.store.dispatch((0,yn.M6)({payload:{twoFAToken:this.token}}))}static#e=this.\u0275fac=function(U){return new(U||R)(t.Y36(Di.so),t.Y36(zi.yh))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-login-token"]],decls:19,vars:2,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],["fxLayout","row",1,"padding-gap-x-large"],["fxLayout","column","fxFlex","100",3,"ngSubmit"],["tokenForm","ngForm"],["autoFocus","","matInput","","type","text","id","token","name","token","tabindex","2","required","",3,"ngModel","ngModelChange"],[4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end center",1,"mt-1"],["mat-button","","color","primary","tabindex","4","type","submit"]],template:function(U,Z){1&U&&(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 Z.onClose()}),t._uU(7,"X"),t.qZA()(),t.TgZ(8,"mat-card-content",6)(9,"form",7,8),t.NdJ("ngSubmit",function(){return Z.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(Ot){return Z.token=Ot}),t.qZA(),t.YNc(15,lu,2,0,"mat-error",10),t.qZA(),t.TgZ(16,"div",11)(17,"button",12),t._uU(18,"Verify Token"),t.qZA()()()()()()),2&U&&(t.xp6(14),t.Q6J("ngModel",Z.token),t.xp6(1),t.Q6J("ngIf",!Z.token))},dependencies:[on.O5,dt._Y,dt.Fj,dt.JJ,dt.JL,dt.Q7,dt.On,dt.F,qi.xw,qi.Wh,qi.yH,Ye.lW,rr.dn,rr.dk,Tn.Nt,ut.KE,ut.hX,ut.TO,vt.h]})}return R})();function F1(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Password is required."),t.qZA())}function du(R,z){if(1&R&&(t.TgZ(0,"p",20)(1,"mat-icon",21),t._uU(2,"close"),t.qZA(),t._uU(3),t.qZA()),2&R){const b=t.oxw();t.xp6(3),t.hij(" ",b.loginErrorMessage," ")}}const hu=R=>({"padding-gap-large":R}),Yd=(R,z)=>({"font-size-200":R,"font-size-300":z});let u3=(()=>{class R{constructor(b,U,Z,Ne){this.logger=b,this.store=U,this.rtlEffects=Z,this.commonService=Ne,this.faUnlockAlt=en.B$L,this.password="",this.rtlSSO=0,this.rtlCookiePath="",this.accessKey="",this.flgShow=!1,this.screenSize="",this.screenSizeEnum=Yt.cu,this.loginErrorMessage="",this.apiCallStatusEnum=Yt.Bn,this.unSubs=[new Yi.x,new Yi.x,new Yi.x]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),(0,A0.a)([this.store.select(Hr.ul),this.store.select(Hr.Sr)]).pipe((0,Ki.R)(this.unSubs[0])).subscribe(([b,U])=>{this.loginErrorMessage="",b.status===Yt.Bn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof b.message?JSON.stringify(b.message):b.message),this.logger.error(b.message)),U.status===Yt.Bn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof U.message?JSON.stringify(U.message):U.message),this.logger.error(U.message))}),this.store.select(Hr.Yj).pipe((0,Ki.R)(this.unSubs[1])).subscribe(b=>{this.appConfig=b,this.logger.info(b)})}onLogin(){if(!this.password)return!0;this.loginErrorMessage="",this.appConfig.enable2FA?(this.store.dispatch((0,yn.qR)({payload:{maxWidth:"35rem",data:{component:h3}}})),this.rtlEffects.closeAlert.pipe((0,Ei.q)(1)).subscribe(b=>{b&&this.store.dispatch((0,yn.x4)({payload:{password:li(this.password),defaultPassword:Yt.kO.includes(this.password.toLowerCase()),twoFAToken:b.twoFAToken}}))})):this.store.dispatch((0,yn.x4)({payload:{password:li(this.password),defaultPassword:Yt.kO.includes(this.password.toLowerCase())}}))}resetData(){this.password="",this.loginErrorMessage="",this.flgShow=!1}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||R)(t.Y36(Se.mQ),t.Y36(zi.yh),t.Y36(Xi.V),t.Y36($r.v))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-login"]],decls:28,vars:13,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"login-container"],["fxLayout","row","fxFlex.gt-sm","35","fxLayoutAlign","center center"],["fxLayout","row","fxFlex","45","fxLayoutAlign","center stretch"],["fxLayout","column","fxLayout.gt-sm","row","fxFlex","100","fxLayoutAlign","stretch stretch"],["fxFlex","35","fxLayoutAlign","center center",1,"bg-primary"],["alt","RTL Logo","src","assets/images/RTL-Horse-BY.svg",1,"rtl-logo-svg"],["fxFlex","65","fxLayout","column","fxLayoutAlign","center stretch",3,"ngClass"],["fxLayout","row","fxLayoutAlign","center center",1,"page-title-container","mt-2","p-0"],[1,"font-bold-500",3,"ngClass"],[1,"page-title"],[1,"pb-2"],["fxLayout","column","fxLayoutAlign","start space-between"],["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(U,Z){1&U&&(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(Ot){return Z.password=Ot}),t.qZA(),t.TgZ(18,"button",14),t.NdJ("click",function(){return Z.flgShow=!Z.flgShow}),t.TgZ(19,"mat-icon"),t._uU(20),t.qZA()(),t.YNc(21,F1,2,0,"mat-error",15),t.qZA(),t.YNc(22,du,4,1,"p",16),t.TgZ(23,"div",17)(24,"button",18),t.NdJ("click",function(){return Z.resetData()}),t._uU(25,"Clear"),t.qZA(),t.TgZ(26,"button",19),t.NdJ("click",function(){return Z.onLogin()}),t._uU(27,"Login"),t.qZA()()()()()()()()()),2&U&&(t.xp6(6),t.Q6J("ngClass",t.VKq(8,hu,Z.screenSize===Z.screenSizeEnum.XS)),t.xp6(2),t.Q6J("ngClass",t.WLB(10,Yd,Z.screenSize===Z.screenSizeEnum.XS,Z.screenSize!==Z.screenSizeEnum.XS)),t.xp6(9),t.Q6J("type",Z.flgShow?"text":"password")("ngModel",Z.password),t.xp6(1),t.uIk("aria-label","Hide password"),t.xp6(2),t.Oqu(Z.flgShow?"visibility_off":"visibility"),t.xp6(1),t.Q6J("ngIf",!Z.password),t.xp6(1),t.Q6J("ngIf",""!==Z.loginErrorMessage))},dependencies:[on.mk,on.O5,dt._Y,dt.Fj,dt.JJ,dt.JL,dt.Q7,dt.On,dt.F,qi.xw,qi.Wh,qi.yH,me.oO,Ye.lW,Ye.RK,rr.a8,rr.dn,rr.dk,rr.n5,Go.Hw,Tn.Nt,ut.KE,ut.hX,ut.TO,ut.R9,vt.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}"]})}return R})();var uu=p(4740);let nl=(()=>{class R{constructor(b,U){this.activatedRoute=b,this.router=U,this.error={errorCode:"",errorMessage:""},this.faTimes=en.NBC,this.unsubs=[new Yi.x,new Yi.x]}ngOnInit(){this.activatedRoute.paramMap.pipe((0,Ki.R)(this.unsubs[0])).subscribe(b=>{this.error=window.history.state})}goToHelp(){this.router.navigate(["/help"])}static#e=this.\u0275fac=function(U){return new(U||R)(t.Y36(Xn.gz),t.Y36(Xn.F0))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-error"]],decls:13,vars:3,consts:[["fxLayout","row","fxFlex","100","fxLayoutAlign","center center"],["fxLayout","column","fxFlex","60","fxLayoutAlign","start center"],["fxLayout","row","fxLayoutAlign","center center",1,"page-title-container","padding-gap-large"],[1,"font-size-300","font-bold-500"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column","fxLayoutAlign","center center",1,"padding-gap-large"],[1,"box-text","font-size-120"],["fxLayout","row","fxLayoutAlign","center","fxFlex","80"],["mat-flat-button","","color","primary","type","button",1,"mt-2",3,"click"]],template:function(U,Z){1&U&&(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 Z.goToHelp()}),t._uU(12,"Go To Help"),t.qZA()()()()()),2&U&&(t.xp6(4),t.Q6J("icon",Z.faTimes),t.xp6(2),t.hij("Error ",Z.error.errorCode,""),t.xp6(3),t.Oqu(Z.error.errorMessage))},dependencies:[Jr.BN,qi.xw,qi.Wh,qi.yH,Ye.lW,rr.a8,rr.dn,rr.dk,rr.n5],encapsulation:2})}return R})();var ho=p(5525),fu=p(6046),mu=p(3362),jl=p(6082);function rl(R,z){1&R&&t._UZ(0,"span",16)}function jd(R,z){1&R&&t._UZ(0,"span",17)}function Kd(R,z){if(1&R){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(Z){t.CHM(b);const Ne=t.oxw(2);return t.KtG(Ne.enableOffers=Z)})("change",function(){t.CHM(b);const Z=t.oxw(2);return t.KtG(Z.onUpdateFeature())}),t._uU(28),t.qZA()()}if(2&R){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 al(R,z){if(1&R&&(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&R){const b=t.oxw(3);t.xp6(2),t.Q6J("icon",b.faExclamationTriangle)}}function z1(R,z){if(1&R&&(t.TgZ(0,"mat-option",47),t._uU(1),t.ALo(2,"titlecase"),t.qZA()),2&R){const b=z.$implicit;t.Q6J("value",b),t.xp6(1),t.hij(" ",t.lcZ(2,2,b.id)," ")}}function pu(R,z){if(1&R&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&R){const b=t.oxw(4);t.xp6(1),t.hij("",b.selPolicyType.placeholder," is required.")}}function D0(R,z){if(1&R&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&R){const b=t.oxw(4);t.xp6(1),t.AsE("",b.selPolicyType.placeholder," must be greater than or equal to ",b.selPolicyType.min,".")}}function L0(R,z){if(1&R&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&R){const b=t.oxw(4);t.xp6(1),t.AsE("",b.selPolicyType.placeholder," must be less than or equal to ",b.selPolicyType.max,".")}}function Kl(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Lease base fee is required."),t.qZA())}function V1(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Lease base basis is required."),t.qZA())}function B1(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Max channel routing base fee is required."),t.qZA())}function U1(R,z){1&R&&(t.TgZ(0,"mat-error"),t._uU(1,"Max channel routing fee rate is required."),t.qZA())}const Qd=(R,z)=>({"alert-danger":R,"alert-info":z});function gu(R,z){if(1&R&&(t.TgZ(0,"h4",48)(1,"span",49),t._uU(2),t.qZA()()),2&R){const b=t.oxw(4);t.xp6(1),t.Q6J("ngClass",t.WLB(2,Qd,!!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 ol(R,z){if(1&R){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(Z){t.CHM(b);const Ne=t.oxw(3);return t.KtG(Ne.selPolicyType=Z)})("selectionChange",function(){t.CHM(b);const Z=t.oxw(3);return t.KtG(Z.policyMod=null)}),t.YNc(10,z1,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(Z){t.CHM(b);const Ne=t.oxw(3);return t.KtG(Ne.policyMod=Z)}),t.qZA(),t.TgZ(16,"mat-hint"),t._uU(17),t.qZA(),t.YNc(18,pu,2,1,"mat-error",26)(19,D0,2,2,"mat-error",26)(20,L0,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(Z){t.CHM(b);const Ne=t.oxw(3);return t.KtG(Ne.lease_fee_base_sat=Z)}),t.qZA(),t.YNc(26,Kl,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(Z){t.CHM(b);const Ne=t.oxw(3);return t.KtG(Ne.lease_fee_basis=Z)}),t.qZA(),t.YNc(31,V1,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(Z){t.CHM(b);const Ne=t.oxw(3);return t.KtG(Ne.channelFeeMaxBaseSat=Z)}),t.qZA(),t.YNc(37,B1,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(Z){t.CHM(b);const Ne=t.oxw(3);return t.KtG(Ne.channelFeeMaxProportional=Z)}),t.qZA(),t.YNc(42,U1,2,0,"mat-error",26),t.qZA()(),t.YNc(43,gu,3,5,"h4",43),t.TgZ(44,"div",44)(45,"button",45),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(3);return t.KtG(Z.onResetPolicy())}),t._uU(46,"Reset"),t.qZA(),t.TgZ(47,"button",46),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(3);return t.KtG(Z.onUpdateFundingPolicy())}),t._uU(48,"Update"),t.qZA()()()}if(2&R){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 mc(R,z){if(1&R&&(t.TgZ(0,"form",18,4),t.YNc(2,al,12,1,"div",26)(3,ol,49,23,"div",27),t.qZA()),2&R){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 G1(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"mat-expansion-panel",9),t.NdJ("opened",function(){const Ne=t.CHM(b).index,Ot=t.oxw();return t.KtG(Ot.onPanelExpanded(Ne))}),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,rl,1,0,"span",12)(7,jd,1,0,"span",13),t._uU(8),t.qZA()()(),t.TgZ(9,"div",14),t.YNc(10,Kd,29,5,"form",15)(11,mc,4,2,"form",15),t.qZA()()}if(2&R){const b=z.$implicit,U=z.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===U),t.xp6(1),t.Q6J("ngIf",1===U)}}let _u=(()=>{class R{constructor(b,U,Z,Ne){this.logger=b,this.store=U,this.dataService=Z,this.commonService=Ne,this.faInfoCircle=en.sqG,this.faExclamationTriangle=en.eHv,this.faCode=en.dT$,this.features=[{name:"Offers",enabled:!1},{name:"Channel Funding Policy",enabled:!1}],this.enableOffers=!1,this.fundingPolicy={},this.policyTypes=Yt.gB,this.selPolicyType=Yt.gB[0],this.flgUpdateCalled=!1,this.updateMsg={},this.unSubs=[new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x]}ngOnInit(){this.dataService.listConfigs().pipe((0,Ki.R)(this.unSubs[0])).subscribe({next:b=>{this.logger.info("Received List Configs: "+JSON.stringify(b)),this.features[1].enabled=!!b["experimental-dual-fund"]},error:b=>{this.logger.error("List Configs Error: "+JSON.stringify(b)),this.features[1].enabled=!1}}),this.store.select(Hr.dT).pipe((0,Ki.R)(this.unSubs[1])).subscribe(b=>{this.selNode=b,this.enableOffers=this.selNode.settings.enableOffers||!1,this.features[0].enabled=this.enableOffers,this.logger.info(this.selNode)}),this.store.select(Rs.XP).pipe((0,Ki.R)(this.unSubs[2])).subscribe(b=>{this.policyTypes[2].max=b.balance.totalBalance||1e3})}onPanelExpanded(b){1===b&&!this.fundingPolicy.policy&&this.dataService.getOrUpdateFunderPolicy().pipe((0,Ki.R)(this.unSubs[3])).subscribe(U=>{this.logger.info("Received Funder Update Policy: "+JSON.stringify(U)),this.fundingPolicy=U,this.fundingPolicy.policy&&(this.selPolicyType=Yt.gB.find(Z=>Z.id===this.fundingPolicy.policy)||this.policyTypes[0]),this.policyMod=this.fundingPolicy.policy_mod||0===this.fundingPolicy.policy_mod?this.fundingPolicy.policy_mod:null,this.lease_fee_base_sat=this.fundingPolicy.lease_fee_base_msat?this.fundingPolicy.lease_fee_base_msat/1e3:0===this.fundingPolicy.lease_fee_base_msat?0:null,this.lease_fee_basis=this.fundingPolicy.lease_fee_basis||0===this.fundingPolicy.lease_fee_basis?this.fundingPolicy.lease_fee_basis:null,this.channelFeeMaxBaseSat=this.fundingPolicy.channel_fee_max_base_msat?this.fundingPolicy.channel_fee_max_base_msat/1e3:0===this.fundingPolicy.channel_fee_max_base_msat?0:null,this.channelFeeMaxProportional=this.fundingPolicy.channel_fee_max_proportional_thousandths||0===this.fundingPolicy.channel_fee_max_proportional_thousandths?1e3*this.fundingPolicy.channel_fee_max_proportional_thousandths:null})}onUpdateFeature(){this.logger.info(this.selNode),this.selNode.settings.enableOffers=this.enableOffers,this.features[0].enabled=this.enableOffers}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,Ki.R)(this.unSubs[4])).subscribe({next:b=>{this.logger.info(b),this.fundingPolicy=b,this.updateMsg={data:"Compact Lease: "+b.compact_lease},setTimeout(()=>{this.flgUpdateCalled=!1},5e3)},error:b=>{this.logger.error(b),this.updateMsg={error:this.commonService.extractErrorMessage(b,"Error in updating funder policy")},setTimeout(()=>{this.flgUpdateCalled=!1},5e3)}})}onResetPolicy(){this.flgUpdateCalled=!1,this.updateMsg={},this.selPolicyType=this.fundingPolicy.policy?Yt.gB.find(b=>b.id===this.fundingPolicy.policy)||this.policyTypes[0]:Yt.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(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||R)(t.Y36(Se.mQ),t.Y36(zi.yh),t.Y36(fu.D),t.Y36($r.v))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-experimental-settings"]],decls:13,vars:3,consts:[["fxLayout","column","fxFlex","100",3,"perfectScrollbar"],[1,"alert","alert-info","mt-1"],[1,"mr-1","alert-icon",3,"icon"],["fxLayout","column","fxLayoutAlign","start stretch",1,"page-sub-title-container","mt-1"],["form","ngForm"],["fxLayout","row"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["class","flat-expansion-panel my-1",3,"expanded","opened",4,"ngFor","ngForOf"],[1,"flat-expansion-panel","my-1",3,"expanded","opened"],["fxFlex","100","fxLayoutAlign","space-between center"],[1,"font-bold-500"],["class","dot green",4,"ngIf"],["class","dot yellow",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","page-sub-title-container",4,"ngIf"],[1,"dot","green"],[1,"dot","yellow"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"page-sub-title-container"],["fxFlex","100",1,"alert","alert-info"],["href","http://bolt12.org","target","_blank"],[1,"mt-2"],["href","https://github.com/lightningnetwork/lightning-rfc/pull/798 ","target","blank"],[1,"my-2",3,"inset"],[1,"alert","alert-warn"],["autoFocus","","tabindex","1","color","primary","name","enableOfr",1,"my-1",3,"ngModel","ngModelChange","change"],[4,"ngIf"],["fxLayout","column",4,"ngIf"],["fxFlex","100","fxLayout","row",1,"alert","alert-warn"],["href","https://medium.com/blockstream/setting-up-liquidity-ads-in-c-lightning-54e4c59c091d","target","_blank"],["fxLayout","column"],["fxFlex","100","fxLayout","row",1,"alert","alert-warn","mb-2"],["fxLayout","column","fxLayout.gt-sm","row","fxFlex","100","fxLayoutAlign.gt-sm","space-between center","fxLayoutAlign","start stretch"],["fxLayout","column","fxFlex","49","fxLayoutAlign","start end"],["autofocus","","tabindex","1","name","policy",3,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["fxLayout","column","fxFlex","49"],["matInput","","type","number","tabindex","2","required","","name","plcMod",3,"step","min","max","ngModel","ngModelChange"],["plcMod","ngModel"],["matInput","","type","number","step","100","min","0","tabindex","3","required","","name","lease_fee_base_sat",3,"ngModel","ngModelChange"],["matInput","","type","number","step","1","min","0","tabindex","4","required","","name","lease_fee_basis",3,"ngModel","ngModelChange"],["matInput","","type","number","step","100","min","0","tabindex","5","required","","name","channelFeeMaxBaseSat",3,"ngModel","ngModelChange"],["matInput","","type","number","step","1000","min","0","tabindex","6","required","","name","channelFeeMaxProportional",3,"ngModel","ngModelChange"],["fxLayoutAlign","start stretch","class","font-bold-500 mt-2",4,"ngIf"],["fxLayout","row",1,"my-1"],["mat-stroked-button","","color","primary","tabindex","7",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","8",3,"click"],[3,"value"],["fxLayoutAlign","start stretch",1,"font-bold-500","mt-2"],["fxFlex","100",1,"alert",3,"ngClass"]],template:function(U,Z){1&U&&(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,G1,12,7,"mat-expansion-panel",8),t.qZA()()()),2&U&&(t.xp6(2),t.Q6J("icon",Z.faInfoCircle),t.xp6(6),t.Q6J("icon",Z.faCode),t.xp6(4),t.Q6J("ngForOf",Z.features))},dependencies:[on.mk,on.sg,on.O5,dt._Y,dt.Fj,dt.wV,dt.JJ,dt.JL,dt.Q7,dt.qQ,dt.Fd,dt.On,dt.F,Jr.BN,qi.xw,qi.Wh,qi.yH,me.oO,Ye.lW,Oe.pp,Oe.ib,Oe.yz,Oe.yK,Tn.Nt,ut.KE,ut.hX,ut.bx,ut.TO,Ra.d,ti.gD,Pe.ey,Re.Rr,ft.$V,vt.h,mu.F,jl.q,on.rS],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}return R})(),vu=(()=>{class R{constructor(){}static#e=this.\u0275fac=function(U){return new(U||R)};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-no-service-found"]],decls:6,vars:0,consts:[["fxLayout","column",1,"padding-gap-x"],["fxLayout","column",1,"padding-gap-large"],["fxLayout","column","fxLayoutAlign","start start"],[1,"box-text"]],template:function(U,Z){1&U&&(t.TgZ(0,"div",0)(1,"mat-card")(2,"mat-card-content",1)(3,"div",2)(4,"div",3),t._uU(5,"No Service Found!"),t.qZA()()()()())},dependencies:[qi.xw,qi.Wh,rr.a8,rr.dn],encapsulation:2})}return R})();const I0=[{path:"",pathMatch:"full",redirectTo:"login"},{path:"lnd",loadChildren:()=>Promise.all([p.e(758),p.e(570)]).then(p.bind(p,4570)).then(R=>R.LNDModule),canActivate:[(0,ho.a1)()]},{path:"cln",loadChildren:()=>Promise.all([p.e(758),p.e(125)]).then(p.bind(p,7125)).then(R=>R.CLNModule),canActivate:[(0,ho.a1)()]},{path:"ecl",loadChildren:()=>Promise.all([p.e(758),p.e(456)]).then(p.bind(p,6456)).then(R=>R.ECLModule),canActivate:[(0,ho.a1)()]},{path:"settings",component:ks,canActivate:[(0,ho.a1)()],children:[{path:"",pathMatch:"full",redirectTo:"app"},{path:"app",component:ui,canActivate:[(0,ho.a1)()]},{path:"auth",component:Vo,canActivate:[(0,ho.a1)()]},{path:"bconfig",component:wd,canActivate:[(0,ho.a1)()]}]},{path:"config",component:pr,canActivate:[(0,ho.a1)()],children:[{path:"",pathMatch:"full",redirectTo:"nodesettings"},{path:"nodesettings",component:jr,canActivate:[(0,ho.a1)()]},{path:"pglayout",component:Ec,canActivate:[(0,ho.a1)()]},{path:"services",component:Qf,canActivate:[(0,ho.a1)()],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",component:qf,canActivate:[(0,ho.a1)()]},{path:"boltz",component:C1,canActivate:[(0,ho.a1)()]},{path:"noservice",component:vu}]},{path:"experimental",component:_u,canActivate:[(0,ho.a1)()]},{path:"lnconfig",component:Zc,canActivate:[(0,ho.a1)()]}]},{path:"services",component:B2,canActivate:[(0,ho.a1)()],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",pathMatch:"full",redirectTo:"loop/loopout"},{path:"loop/:selTab",component:i3},{path:"boltz",pathMatch:"full",redirectTo:"boltz/swapout"},{path:"boltz/:selTab",component:Zd}]},{path:"help",component:cu},{path:"login",component:u3},{path:"error",component:nl},{path:"**",component:uu.w}],qd=Xn.Bz.forRoot(I0,{onSameUrlNavigation:"reload",scrollPositionRestoration:"enabled"});var bu=p(8339),Do=p(5256),Z1=p(5940),Ql=p(2651),W1=p(1274),Ha=p(1894),Yo=p(8445);const Js={LNDChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:en.HLz,link:"/lnd/home",userPersona:Yt.ol.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:en.nNP,link:"/lnd/onchain",userPersona:Yt.ol.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:en.BDt,link:"/lnd/connections",userPersona:Yt.ol.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:en.FVb,link:"/lnd/connections",userPersona:Yt.ol.ALL},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:en.Ssp,link:"/lnd/transactions",userPersona:Yt.ol.ALL},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:en.SuH,link:"/lnd/routing",userPersona:Yt.ol.ALL},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:en.koM,link:"/lnd/reports",userPersona:Yt.ol.ALL},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:en.wn1,link:"/lnd/graph",userPersona:Yt.ol.ALL},{id:36,parentId:3,name:"Sign/Verify",iconType:"FA",icon:en.hkK,link:"/lnd/messages",userPersona:Yt.ol.ALL},{id:37,parentId:3,name:"Backup",iconType:"FA",icon:en.q7m,link:"/lnd/channelbackup",userPersona:Yt.ol.ALL},{id:38,parentId:3,name:"Network",iconType:"FA",icon:en.TmZ,link:"/lnd/network",userPersona:Yt.ol.OPERATOR},{id:39,parentId:3,name:"Node/Network",iconType:"FA",icon:en.xf3,link:"/lnd/network",userPersona:Yt.ol.MERCHANT}]},{id:4,parentId:0,name:"Services",iconType:"FA",icon:en.Krp,link:"/services/loop",userPersona:Yt.ol.ALL,children:[{id:41,parentId:4,name:"Loop",iconType:"FA",icon:en.vqe,link:"/services/loop",userPersona:Yt.ol.ALL},{id:42,parentId:4,name:"Boltz",iconType:"SVG",icon:"boltzIconBlock",link:"/services/boltz",userPersona:Yt.ol.ALL}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:en.CgH,link:"/config",userPersona:Yt.ol.ALL},{id:6,parentId:0,name:"Help",iconType:"FA",icon:en.Psp,link:"/help",userPersona:Yt.ol.ALL}],CLNChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:en.HLz,link:"/cln/home",userPersona:Yt.ol.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:en.nNP,link:"/cln/onchain",userPersona:Yt.ol.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:en.BDt,link:"/cln/connections",userPersona:Yt.ol.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:en.FVb,link:"/cln/connections",userPersona:Yt.ol.ALL},{id:32,parentId:3,name:"Liquidity Ads",iconType:"FA",icon:en.Acd,link:"/cln/liquidityads",userPersona:Yt.ol.ALL},{id:33,parentId:3,name:"Transactions",iconType:"FA",icon:en.Ssp,link:"/cln/transactions",userPersona:Yt.ol.ALL},{id:34,parentId:3,name:"Routing",iconType:"FA",icon:en.SuH,link:"/cln/routing",userPersona:Yt.ol.ALL},{id:35,parentId:3,name:"Reports",iconType:"FA",icon:en.koM,link:"/cln/reports",userPersona:Yt.ol.ALL},{id:36,parentId:3,name:"Graph Lookup",iconType:"FA",icon:en.wn1,link:"/cln/graph",userPersona:Yt.ol.ALL},{id:37,parentId:3,name:"Sign/Verify",iconType:"FA",icon:en.hkK,link:"/cln/messages",userPersona:Yt.ol.ALL},{id:38,parentId:3,name:"Fee Rates",iconType:"FA",icon:en.USL,link:"/cln/rates",userPersona:Yt.ol.OPERATOR},{id:39,parentId:3,name:"Node/Fee Rates",iconType:"FA",icon:en.xf3,link:"/cln/rates",userPersona:Yt.ol.MERCHANT}]},{id:4,parentId:0,name:"Services",iconType:"FA",icon:en.Krp,link:"/services/loop",userPersona:Yt.ol.ALL,children:[{id:42,parentId:4,name:"Boltz",iconType:"SVG",icon:"boltzIconBlock",link:"/services/boltz",userPersona:Yt.ol.ALL}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:en.CgH,link:"/config",userPersona:Yt.ol.ALL},{id:6,parentId:0,name:"Help",iconType:"FA",icon:en.Psp,link:"/help",userPersona:Yt.ol.ALL}],ECLChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:en.HLz,link:"/ecl/home",userPersona:Yt.ol.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:en.nNP,link:"/ecl/onchain",userPersona:Yt.ol.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:en.BDt,link:"/ecl/connections",userPersona:Yt.ol.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:en.FVb,link:"/ecl/connections",userPersona:Yt.ol.ALL},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:en.Ssp,link:"/ecl/transactions",userPersona:Yt.ol.ALL},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:en.SuH,link:"/ecl/routing",userPersona:Yt.ol.ALL},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:en.koM,link:"/ecl/reports",userPersona:Yt.ol.ALL},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:en.wn1,link:"/ecl/graph",userPersona:Yt.ol.ALL}]},{id:4,parentId:0,name:"Node Config",iconType:"FA",icon:en.CgH,link:"/config",userPersona:Yt.ol.ALL},{id:5,parentId:0,name:"Help",iconType:"FA",icon:en.Psp,link:"/help",userPersona:Yt.ol.ALL}]};function k0(R,z){if(1&R&&(t.TgZ(0,"mat-option",11),t._uU(1),t.qZA()),2&R){const b=z.$implicit;t.Q6J("value",b.index),t.xp6(1),t.AsE(" ",b.lnNode," (",b.lnImplementation,") ")}}function yu(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"mat-select",9),t.NdJ("selectionChange",function(Z){t.CHM(b);const Ne=t.oxw();return t.KtG(Ne.onNodeSelectionChange(Z.value))}),t.TgZ(1,"perfect-scrollbar"),t.YNc(2,k0,2,3,"mat-option",10),t.qZA()()}if(2&R){const b=t.oxw();t.Q6J("value",b.selConfigNodeIndex),t.xp6(2),t.Q6J("ngForOf",b.appConfig.nodes)}}function Jd(R,z){if(1&R&&(t.TgZ(0,"span",21),t.GkF(1,22),t.qZA()),2&R){const b=t.oxw().$implicit;t.oxw(2);const U=t.MAs(11);t.xp6(1),t.Q6J("ngTemplateOutlet","boltzIconBlock"===b.icon?U:null)}}function xu(R,z){if(1&R&&t._UZ(0,"fa-icon",23),2&R){const b=t.oxw().$implicit;t.Q6J("icon",b.icon)}}function O0(R,z){if(1&R&&(t.TgZ(0,"mat-icon",24),t._uU(1),t.qZA()),2&R){const b=t.oxw().$implicit;t.xp6(1),t.Oqu(b.icon)}}function pc(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"mat-tree-node",15)(1,"div",16),t.NdJ("click",function(){const Ne=t.CHM(b).$implicit,Ot=t.oxw(2);return t.KtG(Ot.onChildNavClicked(Ne))}),t.TgZ(2,"div",17),t.YNc(3,Jd,2,1,"span",18)(4,xu,1,1,"fa-icon",19)(5,O0,2,1,"mat-icon",20),t.TgZ(6,"span"),t._uU(7),t.qZA()()()()}if(2&R){const b=z.$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 P0(R,z){if(1&R&&(t.TgZ(0,"span",32),t.GkF(1,22),t.qZA()),2&R){const b=t.oxw().$implicit;t.xp6(1),t.Q6J("ngTemplateOutlet",b.icon)}}function j1(R,z){if(1&R&&t._UZ(0,"fa-icon",23),2&R){const b=t.oxw().$implicit;t.Q6J("icon",b.icon)}}function R0(R,z){if(1&R&&(t.TgZ(0,"mat-icon",24),t._uU(1),t.qZA()),2&R){const b=t.oxw().$implicit;t.xp6(1),t.Oqu(b.icon)}}function sl(R,z){if(1&R&&(t.TgZ(0,"mat-nested-tree-node",25)(1,"div",26)(2,"div",27),t.YNc(3,P0,2,1,"span",28)(4,j1,1,1,"fa-icon",19)(5,R0,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&R){const b=z.$implicit,U=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(U.treeControlNested.isExpanded(b)?"arrow_drop_up":"arrow_drop_down"),t.xp6(1),t.ekj("tree-children-invisible",!U.treeControlNested.isExpanded(b))}}function cl(R,z){if(1&R&&(t.TgZ(0,"mat-tree",5,12),t.YNc(2,pc,8,5,"mat-tree-node",13)(3,sl,13,8,"mat-nested-tree-node",14),t.qZA()),2&R){const b=t.oxw();t.Q6J("dataSource",b.navMenus)("treeControl",b.treeControlNested),t.xp6(3),t.Q6J("matTreeNodeDefWhen",b.hasChild)}}function N0(R,z){if(1&R&&(t.TgZ(0,"span",37),t.GkF(1,22),t.qZA()),2&R){const b=t.oxw().$implicit;t.xp6(1),t.Q6J("ngTemplateOutlet",b.icon)}}function H0(R,z){if(1&R&&t._UZ(0,"fa-icon",38),2&R){const b=t.oxw().$implicit;t.s9C("matTooltip",b.name),t.Q6J("icon",b.icon)}}function K1(R,z){if(1&R&&(t.TgZ(0,"mat-icon",39),t._uU(1),t.qZA()),2&R){const b=t.oxw().$implicit;t.s9C("matTooltip",b.name),t.xp6(1),t.Oqu(b.icon)}}function Q1(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"mat-tree-node",33),t.NdJ("click",function(){const Ne=t.CHM(b).$implicit,Ot=t.oxw();return t.KtG(Ot.onShowData(Ne))}),t.YNc(1,N0,2,1,"span",34)(2,H0,1,2,"fa-icon",35)(3,K1,2,2,"mat-icon",36),t.TgZ(4,"span"),t._uU(5),t.qZA()()}if(2&R){const b=z.$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 gc(R,z){if(1&R&&(t.TgZ(0,"span",32),t.GkF(1,22),t.qZA()),2&R){const b=t.oxw().$implicit;t.xp6(1),t.Q6J("ngTemplateOutlet",b.icon)}}function Oc(R,z){if(1&R&&t._UZ(0,"fa-icon",38),2&R){const b=t.oxw().$implicit;t.s9C("matTooltip",b.name),t.Q6J("icon",b.icon)}}function ql(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"mat-tree-node",33),t.NdJ("click",function(){const Ne=t.CHM(b).$implicit,Ot=t.oxw(2);return t.KtG(Ot.onClick(Ne))}),t.YNc(1,gc,2,1,"span",28)(2,Oc,1,2,"fa-icon",35),t.TgZ(3,"span"),t._uU(4),t.qZA()()}if(2&R){const b=z.$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 Cu(R,z){if(1&R&&(t.TgZ(0,"mat-tree",5),t.YNc(1,ql,5,3,"mat-tree-node",6),t.qZA()),2&R){const b=t.oxw();t.Q6J("dataSource",b.navMenusLogout)("treeControl",b.treeControlLogout)}}function $d(R,z){1&R&&(t.O4$(),t.TgZ(0,"svg",40)(1,"g",41)(2,"g",42),t._UZ(3,"circle",43)(4,"path",44)(5,"path",45),t.qZA()()())}let e2=(()=>{class R{constructor(b,U,Z,Ne,Ot,$t){this.logger=b,this.commonService=U,this.sessionService=Z,this.store=Ne,this.actions=Ot,this.rtlEffects=$t,this.ChildNavClicked=new t.vpe,this.faEject=en.KOR,this.faEye=en.Mdf,this.version="",this.information={},this.informationChain={},this.flgLoading=!0,this.logoutNode=[{id:200,parentId:0,name:"Logout",iconType:"FA",icon:en.KOR}],this.showDataNodes=[{id:1e3,parentId:0,name:"Public Key",iconType:"FA",icon:en.Mdf}],this.showLogout=!1,this.numPendingChannels=0,this.smallScreen=!1,this.childRootRoute="",this.userPersonaEnum=Yt.ol,this.unSubs=[new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x],this.treeControlNested=new Ha.VY(hi=>hi.children),this.treeControlLogout=new Ha.VY(hi=>hi.children),this.treeControlShowData=new Ha.VY(hi=>hi.children),this.navMenus=new Yo.WX,this.navMenusLogout=new Yo.WX,this.navMenusShowData=new Yo.WX,this.hasChild=(hi,Ci)=>!!Ci.children&&Ci.children.length>0,this.version=Yt.q4,Js.LNDChildren&&200===Js.LNDChildren[Js.LNDChildren.length-1].id&&Js.LNDChildren.pop(),this.navMenus.data=Js.LNDChildren||[],this.navMenusLogout.data=this.logoutNode,this.navMenusShowData.data=this.showDataNodes}ngOnInit(){const b=this.sessionService.getItem("token");this.showLogout=!!b,this.flgLoading=!!b,this.store.select(Hr.Yj).pipe((0,Ki.R)(this.unSubs[0])).subscribe(U=>{this.appConfig=U}),this.store.select(Hr.gW).pipe((0,Ki.R)(this.unSubs[1])).subscribe(U=>{if(this.information=U.nodeDate,this.information.identity_pubkey){if(this.information.chains&&"string"==typeof this.information.chains[0])this.informationChain.chain=this.information.chains[0].toString(),this.informationChain.network=this.information.testnet?"Testnet":"Mainnet";else if(this.information&&this.information.chains&&this.information.chains.length&&this.information.chains.length>0&&"object"==typeof this.information.chains[0]&&this.information.chains[0].hasOwnProperty("chain")){const Z=this.information.chains[0];this.informationChain.chain=Z.chain,this.informationChain.network=Z.network}}else this.informationChain.chain="",this.informationChain.network="";this.flgLoading=!this.information.identity_pubkey,window.innerWidth<=414&&(this.smallScreen=!0),this.selNode=U.selNode,this.selConfigNodeIndex=+(U.selNode?.index||0),this.selNode&&this.selNode.lnImplementation&&this.filterSideMenuNodes(),this.logger.info(U)}),this.sessionService.watchSession().pipe((0,Ki.R)(this.unSubs[2])).subscribe(U=>{this.showLogout=!!U.token,this.flgLoading=!!U.token}),this.actions.pipe((0,Ki.R)(this.unSubs[3]),(0,dr.h)(U=>U.type===Yt.pg.LOGOUT)).subscribe(U=>{this.showLogout=!1})}onClick(b){"Logout"===b.name&&(this.store.dispatch((0,yn.c1)({payload:{data:{type:Yt.n_.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,Ki.R)(this.unSubs[4])).subscribe(U=>{U&&(this.showLogout=!1,this.store.dispatch((0,yn.kS)()))})),this.ChildNavClicked.emit(b)}onChildNavClicked(b){this.ChildNavClicked.emit(b)}filterSideMenuNodes(){switch(this.selNode?.lnImplementation?.toUpperCase()){case"CLN":this.loadCLNMenu();break;case"ECL":this.loadECLMenu();break;default:this.loadLNDMenu()}}loadLNDMenu(){let b=[];b=JSON.parse(JSON.stringify(Js.LNDChildren)),this.navMenus.data=b?.filter(U=>U.children&&U.children.length?(U.children=U.children?.filter(Z=>(Z.userPersona===Yt.ol.ALL||Z.userPersona===this.selNode.settings.userPersona)&&"/services/loop"!==Z.link&&"/services/boltz"!==Z.link||"/services/loop"===Z.link&&this.selNode.settings.swapServerUrl&&""!==this.selNode.settings.swapServerUrl.trim()||"/services/boltz"===Z.link&&this.selNode.settings.boltzServerUrl&&""!==this.selNode.settings.boltzServerUrl.trim()),U.children.length>0):U.userPersona===Yt.ol.ALL||U.userPersona===this.selNode.settings.userPersona)}loadCLNMenu(){let b=[];b=JSON.parse(JSON.stringify(Js.CLNChildren)),this.navMenus.data=b?.filter(U=>U.children&&U.children.length?(U.children=U.children?.filter(Z=>(Z.userPersona===Yt.ol.ALL||Z.userPersona===this.selNode.settings.userPersona)&&"/services/peerswap"!==Z.link||"/services/peerswap"===Z.link&&this.selNode.settings.enablePeerswap||"/services/boltz"===Z.link&&this.selNode.settings.boltzServerUrl&&""!==this.selNode.settings.boltzServerUrl.trim()),U.children.length>0):U.userPersona===Yt.ol.ALL||U.userPersona===this.selNode.settings.userPersona)}loadECLMenu(){this.navMenus.data=JSON.parse(JSON.stringify(Js.ECLChildren))}onShowData(b){this.store.dispatch((0,yn.tj)()),this.ChildNavClicked.emit("showData")}onNodeSelectionChange(b){const U=this.selConfigNodeIndex;this.selConfigNodeIndex=b;const Z=this.appConfig.nodes.find(Ne=>+Ne.index===b);this.store.dispatch((0,yn.fk)({payload:{uiMessage:Yt.m6.UPDATE_SELECTED_NODE,prevLnNodeIndex:+U,currentLnNode:Z||null,isInitialSetup:!1}})),this.ChildNavClicked.emit("selectNode")}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||R)(t.Y36(Se.mQ),t.Y36($r.v),t.Y36(Ps.m),t.Y36(zi.yh),t.Y36(oo.eX),t.Y36(Xi.V))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-side-navigation"]],viewQuery:function(U,Z){if(1&U&&t.Gf(Yo.gi,5),2&U){let Ne;t.iGM(Ne=t.CRH())&&(Z.tree=Ne.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"],["tabindex","2",3,"click"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start center"],["class","fa-icon-small mr-2","fxLayout","row","fxFlex","100","fxLayoutAlign","start center",4,"ngIf"],["class","fa-icon-small mr-2",3,"icon",4,"ngIf"],["class","mat-icon-36",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start center",1,"fa-icon-small","mr-2"],[3,"ngTemplateOutlet"],[1,"fa-icon-small","mr-2",3,"icon"],[1,"mat-icon-36"],["fxLayout","column","matTreeNodeToggle",""],["fxLayout","row","fxLayoutAlign","start center",1,"mat-nested-tree-node-parent"],["fxFlex","80","fxLayoutAlign","start center"],["class","mr-2",4,"ngIf"],["fxFlex","20","mat-icon-button","","fxLayoutAlign","end center",1,"btn-icon-small"],[1,"mat-nested-tree-node-child"],["matTreeNodeOutlet",""],[1,"mr-2"],[3,"click"],["class","fa-icon-small mr-2",4,"ngIf"],["class","fa-icon-small mr-2","matTooltipPosition","right",3,"icon","matTooltip",4,"ngIf"],["class","mat-icon-36","matTooltipPosition","right",3,"matTooltip",4,"ngIf"],[1,"fa-icon-small","mr-2"],["matTooltipPosition","right",1,"fa-icon-small","mr-2",3,"icon","matTooltip"],["matTooltipPosition","right",1,"mat-icon-36",3,"matTooltip"],["viewBox","0 0 78 78","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink"],["id","Logo","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","Group"],["id","Oval","cx","39","cy","39","r","37.5",1,"boltz-icon"],["d","M36.4583326,43.7755404 L40.53965,35.2316544 L39.4324865,35.2316544 L46.0754873,17.6071752 C46.292579,17.0204094 46.3287609,16.5159331 46.1840331,16.0937464 C46.0393053,15.671561 45.7860319,15.3674444 45.4242131,15.1813966 C45.0623942,14.9953487 44.6535376,14.9524146 44.1976433,15.0525945 C43.7417511,15.1527743 43.3256596,15.4461573 42.9493689,15.9327433 L22.6078557,40.7701025 C22.2026186,41.2710003 22,41.7575877 22,42.2298646 C22,42.6735173 22.1592003,43.0420366 22.477601,43.3354226 C22.7960017,43.6288058 23.1940025,43.7755404 23.6716036,43.7755404 L36.4583326,43.7755404 Z","id","Path",1,"boltz-icon-fill"],["d","M44.4883879,63.7755404 L48.8604707,55.165009 L47.6744296,55.165009 L54.7906978,37.4030526 C55.0232558,36.8117097 55.0620155,36.3032983 54.9069768,35.8778185 C54.7519381,35.4523399 54.4806208,35.1458511 54.0930248,34.958352 C53.7054289,34.7708528 53.2674441,34.7275839 52.7790706,34.8285452 C52.2906992,34.9295065 51.8449641,35.2251779 51.4418653,35.7155595 L29.6511611,60.746659 C29.2170537,61.251464 29,61.7418469 29,62.2178078 C29,62.6649211 29.1705423,63.036315 29.5116268,63.3319895 C29.8527113,63.6276613 30.2790669,63.7755404 30.7906936,63.7755404 L44.4883879,63.7755404 Z","id","Path-Copy","transform","translate(42.000000, 49.275540) rotate(-180.000000) translate(-42.000000, -49.275540) ",1,"boltz-icon-fill"]],template:function(U,Z){1&U&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,yu,3,2,"mat-select",2),t._UZ(3,"mat-divider",3),t.YNc(4,cl,4,3,"mat-tree",4),t._UZ(5,"mat-divider",3),t.TgZ(6,"mat-tree",5),t.YNc(7,Q1,6,4,"mat-tree-node",6),t.qZA()(),t.TgZ(8,"div",7),t.YNc(9,Cu,2,2,"mat-tree",4),t.qZA()(),t.YNc(10,$d,6,0,"ng-template",null,8,t.W1O)),2&U&&(t.xp6(2),t.Q6J("ngIf",Z.appConfig.nodes.length>1),t.xp6(2),t.Q6J("ngIf",null==Z.selNode.settings?null:Z.selNode.settings.lnServerUrl),t.xp6(2),t.Q6J("dataSource",Z.navMenusShowData)("treeControl",Z.treeControlShowData),t.xp6(3),t.Q6J("ngIf",Z.showLogout))},dependencies:[on.sg,on.O5,on.tP,Jr.BN,qi.xw,qi.Wh,qi.yH,Ye.RK,Go.Hw,Ra.d,Yo.GZ,Yo.fQ,Yo.eu,Yo.gi,Yo.uo,Yo.Ar,ti.gD,Pe.ey,Za.gM,Xn.rH,Xn.Od,ft.Vv,ft.$V],styles:[".tree-children-invisible[_ngcontent-%COMP%]{display:none}"]})}return R})();var q1=p(7988);function wu(R,z){if(1&R&&(t.TgZ(0,"p",14),t._UZ(1,"fa-icon",3),t.TgZ(2,"span"),t._uU(3),t.qZA()()),2&R){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 Mu(R,z){if(1&R&&(t.TgZ(0,"p",15),t._UZ(1,"fa-icon",3),t.TgZ(2,"span",16),t._uU(3,"Settings"),t.qZA()()),2&R){const b=t.oxw();t.xp6(1),t.Q6J("icon",b.faUserCog)}}function Su(R,z){if(1&R&&(t.TgZ(0,"p",17),t._UZ(1,"fa-icon",3),t.TgZ(2,"span",18),t._uU(3,"Help"),t.qZA()()),2&R){const b=t.oxw();t.xp6(1),t.Q6J("icon",b.faQuestion)}}function F0(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"p",19),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.onClick())}),t._UZ(1,"fa-icon",3),t.TgZ(2,"span"),t._uU(3,"Logout"),t.qZA()()}if(2&R){const b=t.oxw();t.xp6(1),t.Q6J("icon",b.faEject)}}let Eu=(()=>{class R{constructor(b,U,Z,Ne,Ot){this.logger=b,this.sessionService=U,this.store=Z,this.rtlEffects=Ne,this.actions=Ot,this.faUserCog=en.gNZ,this.faCodeBranch=en.mh3,this.faCode=en.dT$,this.faCog=en.b7W,this.faQuestion=en.Psp,this.faEject=en.KOR,this.version="",this.information={},this.informationChain={},this.flgLoading=!0,this.showLogout=!1,this.unSubs=[new Yi.x,new Yi.x,new Yi.x,new Yi.x],this.version=Yt.q4}ngOnInit(){this.store.select(Hr.R4).pipe((0,Ki.R)(this.unSubs[0])).subscribe(b=>{if(this.information=b,this.flgLoading=!this.information.identity_pubkey,this.information.identity_pubkey){if(this.information.chains&&"string"==typeof this.information.chains[0])this.informationChain.chain=this.information.chains[0].toString(),this.informationChain.network=this.information.testnet?"Testnet":"Mainnet";else if(this.information&&this.information.chains&&this.information.chains.length&&this.information.chains.length>0&&"object"==typeof this.information.chains[0]&&this.information.chains[0].hasOwnProperty("chain")){const U=this.information.chains[0];this.informationChain.chain=U.chain,this.informationChain.network=U.network}}else this.informationChain.chain="",this.informationChain.network="";this.logger.info(b)}),this.sessionService.watchSession().pipe((0,Ki.R)(this.unSubs[1])).subscribe(b=>{this.showLogout=!!b.token,this.flgLoading=!!b.token}),this.actions.pipe((0,Ki.R)(this.unSubs[2]),(0,dr.h)(b=>b.type===Yt.pg.LOGOUT)).subscribe(()=>{this.showLogout=!1})}onClick(){this.store.dispatch((0,yn.c1)({payload:{data:{type:Yt.n_.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,Ki.R)(this.unSubs[3])).subscribe(b=>{b&&(this.showLogout=!1,this.store.dispatch((0,yn.kS)()))})}onDonate(){window.open("https://www.ridethelightning.info/donate/","_blank")}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||R)(t.Y36(Se.mQ),t.Y36(Ps.m),t.Y36(zi.yh),t.Y36(Xi.V),t.Y36(oo.eX))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-top-menu"]],decls:20,vars:8,consts:[[1,"top-menu",3,"overlapTrigger"],["topMenu","matMenu"],["tabindex","1","mat-menu-item","",1,"cursor-default"],[1,"fa-icon-small","mr-1",3,"icon"],["tabindex","2","mat-menu-item","","class","cursor-default",4,"ngIf"],["tabindex","3","mat-menu-item","","routerLink","/settings",4,"ngIf"],["tabindex","4","mat-menu-item","","routerLink","/help",4,"ngIf"],["mat-menu-item","","tabindex","5","fxLayoutAlign","start center",3,"click"],["fill","currentColor","version","1.1","viewBox","0 0 64 64",0,"xml","space","preserve","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",1,"svg-donation"],["d","M62.519,17.698l-12-14c-0.659-0.768-1.786-0.923-2.628-0.362l-8.712,5.808l-16.688,4.172 c-2.485,0.622-4.537,2.412-5.487,4.791L12.21,30.09C10.206,32.512,9,35.618,9,39c0,2.974,0.939,5.73,2.527,8H5 c-2.206,0-4,1.794-4,4v6c0,2.206,1.794,4,4,4h36c2.206,0,4-1.794,4-4v-6c0-2.206-1.794-4-4-4h-6.522 c0.375-0.535,0.713-1.1,1.013-1.691l4.291-2.452l3.378-0.965c2.619-0.749,4.903-2.269,6.604-4.395 c1.39-1.736,2.317-3.813,2.682-6.006l0.412-2.472l9.48-8.532C63.145,19.76,63.225,18.523,62.519,17.698z M34.428,30.929 c-1.487-2.094-3.517-3.732-5.842-4.75L29.207,25h7.058l0.588,4.11L34.428,30.929z M31.225,33.331l-0.373,0.28 c-1.772,1.329-2.889,3.273-3.146,5.473c-0.257,2.2,0.382,4.348,1.8,6.048l0.667,0.8C28.315,47.845,25.742,49,23,49 c-5.514,0-10-4.486-10-10s4.486-10,10-10C26.299,29,29.376,30.663,31.225,33.331z M41,57H5v-6h10.826c2.101,1.261,4.55,2,7.174,2 c2.571,0,5.041-0.723,7.176-2H41V57z M49.662,26.513c-0.336,0.303-0.561,0.711-0.635,1.158L48.5,30.833 c-0.253,1.521-0.896,2.96-1.86,4.165c-1.18,1.475-2.763,2.529-4.579,3.048l-3.61,1.031c-0.155,0.044-0.303,0.106-0.443,0.187 l-5.541,3.166c-0.63-0.826-0.909-1.843-0.788-2.882c0.128-1.1,0.687-2.072,1.573-2.737l6.001-4.5 c1.169-0.877,1.767-2.32,1.56-3.766l-0.587-4.11C39.946,22.477,38.244,21,36.266,21h-7.059c-1.489,0-2.845,0.818-3.539,2.136 l-1.037,1.969C24.093,25.041,23.549,25,23,25c-1.685,0-3.294,0.314-4.791,0.862l2.509-6.271c0.476-1.189,1.501-2.084,2.743-2.395 l17.024-4.256c0.223-0.056,0.434-0.149,0.625-0.276l7.525-5.017l9.576,11.172L49.662,26.513z"],["tabindex","6","mat-menu-item","",3,"click",4,"ngIf"],["tabindex","7","mat-icon-button","",3,"matMenuTriggerFor"],["alt","RTL Logo","src","assets/images/RTL-Horse-BY.svg",1,"rtl-log-top"],[1,"rtl-logo-dropdown","color-white"],["tabindex","2","mat-menu-item","",1,"cursor-default"],["tabindex","3","mat-menu-item","","routerLink","/settings"],["routerLink","/settings"],["tabindex","4","mat-menu-item","","routerLink","/help"],["routerLink","/help"],["tabindex","6","mat-menu-item","",3,"click"]],template:function(U,Z){if(1&U&&(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,wu,4,2,"p",4)(7,Mu,4,1,"p",5)(8,Su,4,1,"p",6),t.TgZ(9,"p",7),t.NdJ("click",function(){return Z.onDonate()}),t.O4$(),t.TgZ(10,"svg",8)(11,"g"),t._UZ(12,"path",9),t.qZA()(),t.kcU(),t.TgZ(13,"span"),t._uU(14,"Donate"),t.qZA()(),t.YNc(15,F0,4,1,"p",10),t.qZA(),t.TgZ(16,"button",11),t._UZ(17,"img",12),t.TgZ(18,"mat-icon",13),t._uU(19,"arrow_drop_down"),t.qZA()()),2&U){const Ne=t.MAs(1);t.Q6J("overlapTrigger",!1),t.xp6(3),t.Q6J("icon",Z.faCodeBranch),t.xp6(2),t.hij("Version: ",Z.version,""),t.xp6(1),t.Q6J("ngIf",null==Z.information?null:Z.information.api_version),t.xp6(1),t.Q6J("ngIf",Z.showLogout),t.xp6(1),t.Q6J("ngIf",Z.showLogout),t.xp6(7),t.Q6J("ngIf",Z.showLogout),t.xp6(1),t.Q6J("matMenuTriggerFor",Ne)}},dependencies:[on.O5,Jr.BN,qi.Wh,Ye.RK,Go.Hw,q1.VK,q1.OP,q1.p6,Xn.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})}return R})();const z0=["sideNavigation"],Xl=["sideNavContent"];function Jl(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"button",15),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.sideNavToggle())}),t.TgZ(1,"mat-icon",16),t._uU(2,"menu"),t.qZA()()}if(2&R){const b=t.oxw();t.Q6J("matTooltip",b.flgSideNavOpened?"Hide Navigation Menu":"Show Navigation Menu")("matTooltipDisabled",b.smallScreen)}}function t2(R,z){1&R&&(t.O4$(),t._UZ(0,"path",21))}function Tu(R,z){1&R&&(t.O4$(),t._UZ(0,"path",22))}function V0(R,z){if(1&R){const b=t.EpF();t.TgZ(0,"button",17),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.flgSidenavPinned=!Z.flgSidenavPinned)}),t.O4$(),t.TgZ(1,"svg",18),t.YNc(2,t2,1,0,"path",19)(3,Tu,1,0,"path",20),t.qZA()()}if(2&R){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 n2(R,z){if(1&R&&(t.TgZ(0,"span",23),t._uU(1),t.qZA()),2&R){const b=t.oxw();t.xp6(1),t.Oqu(b.information.alias?"RTL - "+b.information.alias:"RTL")}}function ll(R,z){if(1&R&&(t.TgZ(0,"span",24),t._uU(1),t.qZA()),2&R){const b=t.oxw();t.xp6(1),t.Oqu(b.information.alias?"Ride The Lightning - "+b.information.alias:"Ride The Lightning")}}function Pc(R,z){1&R&&(t.TgZ(0,"div",25),t._UZ(1,"mat-spinner",26),t.TgZ(2,"h4"),t._uU(3,"Loading RTL..."),t.qZA()())}const B0=(R,z)=>[R,z];let U0=(()=>{class R{constructor(b,U,Z,Ne,Ot,$t,hi,Ci,ln){this.logger=b,this.commonService=U,this.store=Z,this.actions=Ne,this.userIdle=Ot,this.router=$t,this.sessionService=hi,this.breakpointObserver=Ci,this.renderer=ln,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 Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x]}ngOnInit(){this.router.events.subscribe(b=>{b instanceof Xn.m2&&document.getElementsByTagName("mat-sidenav-content")[0].scrollTo(0,0)}),this.breakpointObserver.observe([Fn.u3.XSmall,Fn.u3.TabletPortrait,Fn.u3.Small,Fn.u3.Medium,Fn.u3.Large,Fn.u3.XLarge]).pipe((0,Ki.R)(this.unSubs[0])).subscribe(b=>{b.breakpoints[Fn.u3.XSmall]?(this.commonService.setScreenSize(Yt.cu.XS),this.smallScreen=!0):b.breakpoints[Fn.u3.TabletPortrait]?(this.commonService.setScreenSize(Yt.cu.SM),this.smallScreen=!0):b.breakpoints[Fn.u3.Small]||b.breakpoints[Fn.u3.Medium]?(this.commonService.setScreenSize(Yt.cu.MD),this.smallScreen=!1):b.breakpoints[Fn.u3.Large]?(this.commonService.setScreenSize(Yt.cu.LG),this.smallScreen=!1):(this.commonService.setScreenSize(Yt.cu.XL),this.smallScreen=!1)}),this.store.dispatch((0,yn.ey)()),this.accessKey=this.readAccessKey()||"",this.store.select(Hr.dT).pipe((0,Ki.R)(this.unSubs[1])).subscribe(b=>{this.sessionService.getItem("token")?(this.flgLoggedIn=!0,this.userIdle.startWatching()):(this.flgLoggedIn=!1,this.flgLoading[0]=!1),this.selNode=b}),this.store.select(Hr.Yj).pipe((0,Ki.R)(this.unSubs[2])).subscribe(b=>{this.appConfig=b}),this.store.select(Hr.R4).pipe((0,Ki.R)(this.unSubs[3])).subscribe(b=>{this.information=b,this.flgLoading[0]=!this.information.identity_pubkey,this.logger.info(this.information)}),"true"===this.sessionService.getItem("defaultPassword")&&(this.flgSideNavOpened=!1),this.actions.pipe((0,Ki.R)(this.unSubs[4]),(0,dr.h)(b=>b.type===Yt.pg.FETCH_APPLICATION_SETTINGS||b.type===Yt.pg.LOGIN||b.type===Yt.pg.LOGOUT)).subscribe(b=>{b.type===Yt.pg.SET_APPLICATION_SETTINGS&&(this.sessionService.getItem("token")||(+b.payload.SSO.rtlSSO?!this.accessKey||this.accessKey.trim().length<32?this.router.navigate(["./error"],{state:{errorCode:"406",errorMessage:"Access key too short. It should be at least 32 characters long."}}):this.store.dispatch((0,yn.x4)({payload:{password:li(this.accessKey).toString(),defaultPassword:!1}})):this.router.navigate(["./login"]))),b.type===Yt.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)),b.type===Yt.pg.LOGOUT&&(this.flgLoggedIn=!1,this.userIdle.stopWatching(),this.userIdle.stopTimer())}),this.userIdle.onTimerStart().pipe((0,Ki.R)(this.unSubs[5])).subscribe(b=>{this.logger.info("Counting Down: "+(11-b))}),this.userIdle.onTimeout().pipe((0,Ki.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,yn.ts)()),this.store.dispatch((0,yn.qR)({payload:{data:{type:Yt.n_.WARNING,alertTitle:"Logging out",titleMessage:"Time limit exceeded for session inactivity."}}})),this.store.dispatch((0,yn.kS)()))}),"true"===this.sessionService.getItem("defaultPassword")&&(this.flgSideNavOpened=!1)}readAccessKey(){const b=window.location.href;return b.includes("access-key=")?b.substring(b.lastIndexOf("access-key=")+11).trim():null}ngAfterViewInit(){(this.smallScreen||!this.flgLoggedIn)&&this.sideNavigation.close(),this.commonService.setContainerSize(this.sideNavContent.elementRef.nativeElement.clientWidth,this.sideNavContent.elementRef.nativeElement.clientHeight)}sideNavToggle(){this.flgSideNavOpened=!this.flgSideNavOpened,this.sideNavigation.toggle()}onNavigationClicked(b){this.smallScreen&&(this.flgSideNavOpened=!this.flgSideNavOpened,this.sideNavigation.close())}backdropClicked(){(!this.flgSidenavPinned||this.smallScreen)&&(this.flgSideNavOpened=!this.flgSideNavOpened,this.sideNavigation.close())}copiedText(b){this.flgCopied=!0,setTimeout(()=>{this.flgCopied=!1},5e3),this.logger.info("Copied Text: "+b)}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(),b.complete()})}static#e=this.\u0275fac=function(U){return new(U||R)(t.Y36(Se.mQ),t.Y36($r.v),t.Y36(zi.yh),t.Y36(oo.eX),t.Y36(Zs),t.Y36(Xn.F0),t.Y36(Ps.m),t.Y36(Fn.Yg),t.Y36(t.Qsj))};static#t=this.\u0275cmp=t.Xpm({type:R,selectors:[["rtl-app"]],viewQuery:function(U,Z){if(1&U&&(t.Gf(z0,5),t.Gf(Xl,5)),2&U){let Ne;t.iGM(Ne=t.CRH())&&(Z.sideNavigation=Ne.first),t.iGM(Ne=t.CRH())&&(Z.sideNavContent=Ne.first)}},decls:22,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"],[3,"backdropClick"],[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(U,Z){1&U&&(t.TgZ(0,"div",0),t.ALo(1,"lowercase"),t.ALo(2,"lowercase"),t.TgZ(3,"mat-toolbar",1)(4,"div"),t.YNc(5,Jl,3,2,"button",2)(6,V0,4,3,"button",3),t.qZA(),t.TgZ(7,"div"),t.YNc(8,n2,2,1,"span",4)(9,ll,2,1,"span",5),t.qZA(),t.TgZ(10,"div"),t._UZ(11,"rtl-top-menu"),t.qZA()(),t.TgZ(12,"mat-sidenav-container",6),t.NdJ("backdropClick",function(){return Z.backdropClicked()}),t.TgZ(13,"mat-sidenav",7,8)(15,"rtl-side-navigation",9),t.NdJ("ChildNavClicked",function(Ot){return Z.onNavigationClicked(Ot)}),t.qZA()(),t.TgZ(16,"mat-sidenav-content",10,11)(18,"div",12),t._UZ(19,"router-outlet",null,13),t.qZA()()(),t.YNc(21,Pc,4,0,"div",14),t.qZA()),2&U&&(t.Q6J("ngClass",t.WLB(12,B0,t.lcZ(1,8,Z.selNode.settings.themeColor),t.lcZ(2,10,Z.selNode.settings.themeMode))),t.xp6(5),t.Q6J("ngIf",Z.flgLoggedIn),t.xp6(1),t.Q6J("ngIf",!Z.smallScreen&&Z.flgLoggedIn),t.xp6(2),t.Q6J("ngIf",Z.smallScreen),t.xp6(1),t.Q6J("ngIf",!Z.smallScreen),t.xp6(4),t.Q6J("opened",Z.flgSideNavOpened&&Z.flgLoggedIn)("mode",Z.flgSidenavPinned&&!Z.smallScreen?"side":"over"),t.xp6(8),t.Q6J("ngIf",!Z.selNode.settings.themeColor))},dependencies:[on.mk,on.O5,qi.xw,qi.Wh,qi.yH,me.oO,Ye.RK,Go.Hw,Z1.Ou,Ql.JX,Ql.TM,Ql.Rh,W1.Ye,Za.gM,ft.$V,e2,Eu,Xn.lC,on.i8],styles:[".inline-spinner[_ngcontent-%COMP%]{display:inline-flex!important;top:0!important}"],data:{animation:[Do.g]}})}return R})(),Au=(()=>{class R{constructor(b){this.sessionService=b}intercept(b,U){if(this.sessionService.getItem("token")){const Z=b.clone({headers:b.headers.set("Authorization","Bearer "+this.sessionService.getItem("token")),withCredentials:!0});return U.handle(Z)}return U.handle(b)}static#e=this.\u0275fac=function(U){return new(U||R)(t.LFG(Ps.m))};static#t=this.\u0275prov=t.Yz7({token:R,factory:R.\u0275fac})}return R})();var f3=p(2285),$l=p(168),Du=p(9125),G0=p(9337);const r2={userPersona:Yt.ol.OPERATOR,themeMode:"DAY",themeColor:"PURPLE",channelBackupPath:"",selCurrencyUnit:"USD",unannouncedChannels:!1,fiatConversion:!1,currencyUnits:["Sats","BTC","USD"],bitcoindConfigPath:"",enableOffers:!1,enablePeerswap:!1,logLevel:"ERROR",lnServerUrl:"",swapServerUrl:"",boltzServerUrl:"",currencyUnit:"USD"},X1={configPath:"",swapMacaroonPath:"",boltzMacaroonPath:""},J1={apiURL:"",apisCallStatus:{Login:{status:Yt.Bn.UN_INITIATED},IsAuthorized:{status:Yt.Bn.UN_INITIATED}},selNode:{index:1,lnNode:"Node 1",settings:r2,authentication:X1,lnImplementation:"LND"},appConfig:{defaultNodeIndex:-1,selectedNodeIndex:-1,SSO:{rtlSSO:0,logoutRedirectLink:""},enable2FA:!1,secret2FA:"",allowPasswordUpdate:!0,nodes:[{settings:r2,authentication:X1}]},nodeData:{}},Z0=(0,zi.Lq)(J1,(0,zi.on)(yn.qi,(R,{payload:z})=>{const b=JSON.parse(JSON.stringify(R.apisCallStatus));return z.action&&(b[z.action]={status:z.status,statusCode:z.statusCode,message:z.message,URL:z.URL,filePath:z.filePath}),{...R,apisCallStatus:b}}),(0,zi.on)(yn.vI,(R,{payload:z})=>({...J1,apisCallStatus:R.apisCallStatus,appConfig:R.appConfig,selNode:z})),(0,zi.on)(yn.wj,(R,{payload:z})=>({...R,selNode:z})),(0,zi.on)(yn._V,(R,{payload:z})=>({...R,nodeData:z})),(0,zi.on)(yn.IM,(R,{payload:z})=>({...R,appConfig:z}))),$1={apisCallStatus:{FetchPageSettings:{status:Yt.Bn.UN_INITIATED},FetchInfo:{status:Yt.Bn.UN_INITIATED},FetchFees:{status:Yt.Bn.UN_INITIATED},FetchPeers:{status:Yt.Bn.UN_INITIATED},FetchClosedChannels:{status:Yt.Bn.UN_INITIATED},FetchPendingChannels:{status:Yt.Bn.UN_INITIATED},FetchAllChannels:{status:Yt.Bn.UN_INITIATED},FetchBalanceBlockchain:{status:Yt.Bn.UN_INITIATED},FetchInvoices:{status:Yt.Bn.UN_INITIATED},FetchPayments:{status:Yt.Bn.UN_INITIATED},FetchForwardingHistory:{status:Yt.Bn.UN_INITIATED},FetchUTXOs:{status:Yt.Bn.UN_INITIATED},FetchTransactions:{status:Yt.Bn.UN_INITIATED},FetchLightningTransactions:{status:Yt.Bn.UN_INITIATED},FetchNetwork:{status:Yt.Bn.UN_INITIATED}},nodeSettings:{index:1,lnNode:"Node 1",settings:{userPersona:Yt.ol.OPERATOR,themeMode:"DAY",themeColor:"PURPLE",channelBackupPath:"",selCurrencyUnit:"USD",unannouncedChannels:!1,fiatConversion:!1,currencyUnits:["Sats","BTC","USD"],bitcoindConfigPath:"",enableOffers:!1,enablePeerswap:!1,logLevel:"ERROR",lnServerUrl:"",swapServerUrl:"",boltzServerUrl:"",currencyUnit:"USD"},authentication:{configPath:"",swapMacaroonPath:"",boltzMacaroonPath:""},lnImplementation:"LND"},pageSettings:Yt.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 ed=!1,n1=!1;const a2=(0,zi.Lq)($1,(0,zi.on)(or.PC,(R,{payload:z})=>{const b=JSON.parse(JSON.stringify(R.apisCallStatus));return z.action&&(b[z.action]={status:z.status,statusCode:z.statusCode,message:z.message,URL:z.URL,filePath:z.filePath}),{...R,apisCallStatus:b}}),(0,zi.on)(or.JT,(R,{payload:z})=>({...R,nodeSettings:z})),(0,zi.on)(or.Ll,(R,{payload:z})=>({...$1,nodeSettings:z})),(0,zi.on)(or.CX,(R,{payload:z})=>({...R,information:z})),(0,zi.on)(or.Z8,(R,{payload:z})=>({...R,peers:z})),(0,zi.on)(or.EK,(R,{payload:z})=>{const b=[...R.peers],U=R.peers.findIndex(Z=>Z.pub_key===z.pubkey);return U>-1&&b.splice(U,1),{...R,peers:b}}),(0,zi.on)(or.YP,(R,{payload:z})=>{const b=R.listInvoices;return b.invoices?.unshift(z),{...R,listInvoices:b}}),(0,zi.on)(or.aL,(R,{payload:z})=>{const b=R.listInvoices;return b.invoices=b.invoices?.map(U=>U.payment_request===z.payment_request?z:U),{...R,listInvoices:b}}),(0,zi.on)(or.qY,(R,{payload:z})=>{const b=R.listPayments;return b.payments=b.payments?.map(U=>U.payment_hash===z.payment_hash?z:U),{...R,listPayments:b}}),(0,zi.on)(or.RX,(R,{payload:z})=>({...R,fees:z})),(0,zi.on)(or._L,(R,{payload:z})=>({...R,closedChannels:z})),(0,zi.on)(or.TW,(R,{payload:z})=>({...R,pendingChannels:z.pendingChannels,pendingChannelsSummary:z.pendingChannelsSummary})),(0,zi.on)(or.as,(R,{payload:z})=>{let b=0,U=0,Z=0,Ne=0,Ot=0,$t=0;return z&&z.forEach(hi=>{hi.local_balance||(hi.local_balance=0),!0===hi.active?(Ot+=+hi.local_balance,Z+=1,hi.local_balance?b=+b+ +hi.local_balance:hi.local_balance=0,hi.remote_balance?U=+U+ +hi.remote_balance:hi.remote_balance=0):($t+=+hi.local_balance,Ne+=1)}),{...R,channels:z,channelsSummary:{active:{num_channels:Z,capacity:Ot},inactive:{num_channels:Ne,capacity:$t}},lightningBalance:{local:b,remote:U}}}),(0,zi.on)(or.OG,(R,{payload:z})=>{const b=[...R.channels],U=R.channels.findIndex(Z=>Z.channel_point===z.channelPoint);return U>-1&&b.splice(U,1),{...R,channels:b}}),(0,zi.on)(or.Jl,(R,{payload:z})=>({...R,blockchainBalance:z})),(0,zi.on)(or.ks,(R,{payload:z})=>({...R,networkInfo:z})),(0,zi.on)(or.Nr,(R,{payload:z})=>(z.total_invoices||(z.total_invoices=R.listInvoices.total_invoices),{...R,listInvoices:z})),(0,zi.on)(or.Lf,(R,{payload:z})=>{if(ed=!0,z.length&&n1){const b=[...R.utxos];return b.forEach(U=>{const Z=z.find(Ne=>Ne.tx_hash===U.outpoint?.txid_str);U.label=Z&&Z.label?Z.label:""}),{...R,utxos:b,transactions:z}}return{...R,transactions:z}}),(0,zi.on)(or.UH,(R,{payload:z})=>{if(n1=!0,z.length&&ed){const b=[...R.transactions];z.forEach(U=>{const Z=b.find(Ne=>Ne.tx_hash===U.outpoint?.txid_str);U.label=Z&&Z.label?Z.label:""})}return{...R,utxos:z}}),(0,zi.on)(or.HI,(R,{payload:z})=>{const b={listInvoicesAll:R.allLightningTransactions.listInvoicesAll,listPaymentsAll:z};return{...R,listPayments:z,allLightningTransactions:b}}),(0,zi.on)(or.Fr,(R,{payload:z})=>{const b={listInvoicesAll:z.listInvoicesAll,listPaymentsAll:R.listPayments};return{...R,allLightningTransactions:b}}),(0,zi.on)(or.QJ,(R,{payload:z})=>{const b=[...R.channels,...R.closedChannels];let U=z.forwarding_events?JSON.parse(JSON.stringify(z)):{};return U.forwarding_events&&(U=o2(U,b)),{...R,forwardingHistory:U}}),(0,zi.on)(or.pd,(R,{payload:z})=>{const b=[];return Yt.gK.forEach(U=>{const Z=z&&z.length&&z.length>0?z.find(Ne=>Ne.pageId===U.pageId):null;if(Z){const Ne=JSON.parse(JSON.stringify(Z.tables));Z.tables=[],U.tables.forEach(Ot=>{const $t=Ne.find(hi=>hi.tableId===Ot.tableId)||null;Z.tables.push($t||JSON.parse(JSON.stringify(Ot)))}),b.push(Z)}else b.push(JSON.parse(JSON.stringify(U)))}),{...R,pageSettings:b}})),o2=(R,z)=>(R.forwarding_events.forEach(b=>{if(z&&z.length>0)for(let U=0;U<z.length;U++){if(z[U].chan_id?.toString()===b.chan_id_in&&(b.alias_in=z[U].remote_alias?z[U].remote_alias:b.chan_id_in,b.alias_out)||z[U].chan_id?.toString()===b.chan_id_out&&(b.alias_out=z[U].remote_alias?z[U].remote_alias:b.chan_id_out,b.alias_in))return;U===z.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}),R),td={apisCallStatus:{FetchPageSettings:{status:Yt.Bn.UN_INITIATED},FetchInfo:{status:Yt.Bn.UN_INITIATED},FetchInvoices:{status:Yt.Bn.UN_INITIATED},FetchChannels:{status:Yt.Bn.UN_INITIATED},FetchUTXOBalances:{status:Yt.Bn.UN_INITIATED},FetchFeeRatesperkb:{status:Yt.Bn.UN_INITIATED},FetchFeeRatesperkw:{status:Yt.Bn.UN_INITIATED},FetchPeers:{status:Yt.Bn.UN_INITIATED},FetchPayments:{status:Yt.Bn.UN_INITIATED},FetchForwardingHistoryS:{status:Yt.Bn.UN_INITIATED},FetchForwardingHistoryF:{status:Yt.Bn.UN_INITIATED},FetchForwardingHistoryL:{status:Yt.Bn.UN_INITIATED},FetchOffers:{status:Yt.Bn.UN_INITIATED},FetchOfferBookmarks:{status:Yt.Bn.UN_INITIATED}},nodeSettings:{index:1,lnNode:"Node 1",settings:{userPersona:Yt.ol.OPERATOR,themeMode:"DAY",themeColor:"PURPLE",channelBackupPath:"",selCurrencyUnit:"USD",unannouncedChannels:!1,fiatConversion:!1,currencyUnits:["Sats","BTC","USD"],bitcoindConfigPath:"",enableOffers:!1,enablePeerswap:!1,logLevel:"ERROR",lnServerUrl:"",swapServerUrl:"",boltzServerUrl:"",currencyUnit:"USD"},authentication:{configPath:"",swapMacaroonPath:"",boltzMacaroonPath:""},lnImplementation:"CLN"},pageSettings:Yt.gG,information:{},fees:{},feeRatesPerKB:{},feeRatesPerKW:{},balance:{},localRemoteBalance:{localBalance:-1,remoteBalance:-1},peers:[],activeChannels:[],pendingChannels:[],inactiveChannels:[],payments:[],forwardingHistory:{},failedForwardingHistory:{},localFailedForwardingHistory:{},invoices:{invoices:[]},utxos:[],offers:[],offersBookmarks:[]},Iu=(0,zi.Lq)(td,(0,zi.on)(Jn.Hc,(R,{payload:z})=>{const b=JSON.parse(JSON.stringify(R.apisCallStatus));return z.action&&(b[z.action]={status:z.status,statusCode:z.statusCode,message:z.message,URL:z.URL,filePath:z.filePath}),{...R,apisCallStatus:b}}),(0,zi.on)(Jn.Mf,(R,{payload:z})=>({...R,nodeSettings:z})),(0,zi.on)(Jn.mI,(R,{payload:z})=>({...td,nodeSettings:z})),(0,zi.on)(Jn.CX,(R,{payload:z})=>({...R,information:z,fees:{feeCollected:z.fees_collected_msat}})),(0,zi.on)(Jn.I8,(R,{payload:z})=>z.perkb?{...R,feeRatesPerKB:z}:z.perkw?{...R,feeRatesPerKW:z}:{...R}),(0,zi.on)(Jn.nE,(R,{payload:z})=>({...R,utxos:z.utxos||[],balance:z.balance,localRemoteBalance:z.localRemoteBalance})),(0,zi.on)(Jn.Z8,(R,{payload:z})=>({...R,peers:z})),(0,zi.on)(Jn.X3,(R,{payload:z})=>({...R,peers:[...R.peers,z]})),(0,zi.on)(Jn.EK,(R,{payload:z})=>{const b=[...R.peers],U=R.peers.findIndex(Z=>Z.id===z.id);return U>-1&&b.splice(U,1),{...R,peers:b}}),(0,zi.on)(Jn.as,(R,{payload:z})=>({...R,activeChannels:z.activeChannels,pendingChannels:z.pendingChannels,inactiveChannels:z.inactiveChannels})),(0,zi.on)(Jn.OG,(R,{payload:z})=>{const b=[...R.peers];return b.forEach(U=>{U.id===z.id&&(U.connected=!1,delete U.netaddr)}),{...R,peers:b}}),(0,zi.on)(Jn.HI,(R,{payload:z})=>({...R,payments:z})),(0,zi.on)(Jn.QJ,(R,{payload:z})=>{const b=[...R.activeChannels,...R.pendingChannels,...R.inactiveChannels],U=ku(z.listForwards,b);switch(z.listForwards=U,z.status){case Yt.OO.SETTLED:const Z=R.fees;return Z.totalTxCount=z.totalForwards||0,{...R,fees:Z,forwardingHistory:z};case Yt.OO.FAILED:return{...R,failedForwardingHistory:z};case Yt.OO.LOCAL_FAILED:return{...R,localFailedForwardingHistory:z};default:return{...R}}}),(0,zi.on)(Jn.YP,(R,{payload:z})=>{const b=R.invoices;return b.invoices?.unshift(z),{...R,invoices:b}}),(0,zi.on)(Jn.Nr,(R,{payload:z})=>({...R,invoices:z})),(0,zi.on)(Jn.aL,(R,{payload:z})=>{const b=R.invoices;return b.invoices=b.invoices?.map(U=>(U.label===z.label&&(U.amount_received_msat=z.msat,U.payment_preimage=z.preimage,U.status="paid"),U)),{...R,invoices:b}}),(0,zi.on)(Jn.Zu,(R,{payload:z})=>({...R,offers:z})),(0,zi.on)(Jn.ZH,(R,{payload:z})=>{const b=R.offers;return b?.unshift(z),{...R,offers:b}}),(0,zi.on)(Jn.JK,(R,{payload:z})=>{const b=[...R.offers],U=R.offers.findIndex(Z=>Z.offer_id===z.offer.offer_id);return U>-1&&b.splice(U,1,z.offer),{...R,offers:b}}),(0,zi.on)(Jn.d7,(R,{payload:z})=>({...R,offersBookmarks:z})),(0,zi.on)(Jn.e9,(R,{payload:z})=>{const b=[...R.offersBookmarks],U=b.findIndex(Z=>Z.bolt12===z.bolt12);if(U<0)b?.unshift(z);else{const Z={...b[U]};Z.title=z.title,Z.amountMSat=z.amountMSat,Z.lastUpdatedAt=z.lastUpdatedAt,Z.description=z.description,Z.issuer=z.issuer,b.splice(U,1,Z)}return{...R,offersBookmarks:b}}),(0,zi.on)(Jn.en,(R,{payload:z})=>{const b=[...R.offersBookmarks],U=R.offersBookmarks.findIndex(Z=>Z.bolt12===z.bolt12);return U>-1&&b.splice(U,1),{...R,offersBookmarks:b}}),(0,zi.on)(Jn.pd,(R,{payload:z})=>{const b=[];return Yt.gG.forEach(U=>{const Z=z&&z.length&&z.length>0?z.find(Ne=>Ne.pageId===U.pageId):null;if(Z){const Ne=JSON.parse(JSON.stringify(Z.tables));Z.tables=[],U.tables.forEach(Ot=>{const $t=Ne.find(hi=>hi.tableId===Ot.tableId)||null;Z.tables.push($t||JSON.parse(JSON.stringify(Ot)))}),b.push(Z)}else b.push(JSON.parse(JSON.stringify(U)))}),{...R,pageSettings:b}})),ku=(R,z)=>(R&&R.length>0?R.forEach((b,U)=>{if(z&&z.length>0)for(let Z=0;Z<z.length;Z++){if(z[Z].short_channel_id&&z[Z].short_channel_id===b.in_channel&&(b.in_channel_alias=z[Z].alias?z[Z].alias:b.in_channel,b.out_channel_alias)||z[Z].short_channel_id&&z[Z].short_channel_id?.toString()===b.out_channel&&(b.out_channel_alias=z[Z].alias?z[Z].alias:b.out_channel,b.in_channel_alias))return;Z===z.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:"-"}):R=[],R),s2={apisCallStatus:{FetchPageSettings:{status:Yt.Bn.UN_INITIATED},FetchInfo:{status:Yt.Bn.UN_INITIATED},FetchFees:{status:Yt.Bn.UN_INITIATED},FetchChannels:{status:Yt.Bn.UN_INITIATED},FetchOnchainBalance:{status:Yt.Bn.UN_INITIATED},FetchPeers:{status:Yt.Bn.UN_INITIATED},FetchPayments:{status:Yt.Bn.UN_INITIATED},FetchInvoices:{status:Yt.Bn.UN_INITIATED},FetchTransactions:{status:Yt.Bn.UN_INITIATED}},nodeSettings:{index:1,lnNode:"Node 1",settings:{userPersona:Yt.ol.OPERATOR,themeMode:"DAY",themeColor:"PURPLE",channelBackupPath:"",selCurrencyUnit:"USD",unannouncedChannels:!1,fiatConversion:!1,currencyUnits:["Sats","BTC","USD"],bitcoindConfigPath:"",enableOffers:!1,enablePeerswap:!1,logLevel:"ERROR",lnServerUrl:"",swapServerUrl:"",boltzServerUrl:"",currencyUnit:"USD"},authentication:{configPath:"",swapMacaroonPath:"",boltzMacaroonPath:""},lnImplementation:"ECL"},pageSettings:Yt.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:[]},id=(0,zi.Lq)(s2,(0,zi.on)(Vr.QZ,(R,{payload:z})=>{const b=JSON.parse(JSON.stringify(R.apisCallStatus));return z.action&&(b[z.action]={status:z.status,statusCode:z.statusCode,message:z.message,URL:z.URL,filePath:z.filePath}),{...R,apisCallStatus:b}}),(0,zi.on)(Vr.Zr,(R,{payload:z})=>({...R,nodeSettings:z})),(0,zi.on)(Vr.Fd,(R,{payload:z})=>({...s2,nodeSettings:z})),(0,zi.on)(Vr.CX,(R,{payload:z})=>({...R,information:z})),(0,zi.on)(Vr.RX,(R,{payload:z})=>({...R,fees:z})),(0,zi.on)(Vr.eN,(R,{payload:z})=>({...R,activeChannels:z})),(0,zi.on)(Vr.TW,(R,{payload:z})=>({...R,pendingChannels:z})),(0,zi.on)(Vr.i,(R,{payload:z})=>({...R,inactiveChannels:z})),(0,zi.on)(Vr.HG,(R,{payload:z})=>({...R,channelsStatus:z})),(0,zi.on)(Vr.Bw,(R,{payload:z})=>({...R,onchainBalance:z})),(0,zi.on)(Vr.On,(R,{payload:z})=>({...R,lightningBalance:z})),(0,zi.on)(Vr.Z8,(R,{payload:z})=>({...R,peers:z})),(0,zi.on)(Vr.EK,(R,{payload:z})=>{const b=[...R.peers],U=R.peers.findIndex(Z=>Z.nodeId===z.nodeId);return U>-1&&b.splice(U,1),{...R,peers:b}}),(0,zi.on)(Vr.OG,(R,{payload:z})=>{const b=[...R.activeChannels],U=R.activeChannels.findIndex(Z=>Z.channelId===z.channelId);return U>-1&&b.splice(U,1),{...R,activeChannels:b}}),(0,zi.on)(Vr.HI,(R,{payload:z})=>{if(z&&z.sent){const b=[...R.activeChannels,...R.pendingChannels,...R.inactiveChannels];z.sent?.map(U=>{const Z=R.peers.find(Ne=>Ne.nodeId===U.recipientNodeId);return U.recipientNodeAlias=Z?Z.alias:U.recipientNodeId,U.parts&&U.parts?.map(Ne=>{const Ot=b.find($t=>$t.channelId===Ne.toChannelId);return Ne.toChannelAlias=Ot?Ot.alias:Ne.toChannelId,U.parts}),z.sent})}if(z&&z.relayed){const b=[...R.activeChannels,...R.pendingChannels,...R.inactiveChannels];z.relayed.forEach(U=>{U=nd(U,b)})}return{...R,payments:z}}),(0,zi.on)(Vr.Lf,(R,{payload:z})=>({...R,transactions:z})),(0,zi.on)(Vr.YP,(R,{payload:z})=>{const b=R.invoices;return b?.unshift(z),{...R,invoices:b}}),(0,zi.on)(Vr.Nr,(R,{payload:z})=>({...R,invoices:z})),(0,zi.on)(Vr.aL,(R,{payload:z})=>{let b=R.invoices;return b=b?.map(U=>{if(U.paymentHash===z.paymentHash){if(z.hasOwnProperty("type")){const Z=JSON.parse(JSON.stringify(U));return Z.amountSettled=z.parts&&z.parts.length&&z.parts.length>0&&z.parts[0].amount?(z.parts[0].amount||0)/1e3:0,Z.receivedAt=z.parts&&z.parts.length&&z.parts.length>0&&z.parts[0].timestamp?Math.round((z.parts[0].timestamp||0)/1e3):0,Z.status="received",Z}return z}return U}),{...R,invoices:b}}),(0,zi.on)(Vr.DJ,(R,{payload:z})=>{let b=R.pendingChannels;return b=b?.map(U=>(U.channelId===z.channelId&&U.nodeId===z.remoteNodeId&&(z.currentState=z.currentState?.replace(/_/g," "),U.state=z.currentState),U)),{...R,pendingChannels:b}}),(0,zi.on)(Vr.ti,(R,{payload:z})=>{const b=R.payments,U=nd(z,[...R.activeChannels,...R.pendingChannels,...R.inactiveChannels]);b.relayed?.unshift(U);const Z=(z.amountIn||0)-(z.amountOut||0),Ne={localBalance:R.lightningBalance.localBalance+Z,remoteBalance:R.lightningBalance.remoteBalance-Z},Ot=R.channelsStatus;Ot.active&&(Ot.active.capacity=(R.channelsStatus?.active?.capacity||0)+Z);const $t={daily_fee:(R.fees.daily_fee||0)+Z,daily_txs:(R.fees.daily_txs||0)+1,weekly_fee:(R.fees.weekly_fee||0)+Z,weekly_txs:(R.fees.weekly_txs||0)+1,monthly_fee:(R.fees.monthly_fee||0)+Z,monthly_txs:(R.fees.monthly_txs||0)+1},hi=R.activeChannels;let Ci=!1,ln=!1;for(const $i of hi){if($i.channelId===z.fromChannelId){Ci=!0;const Hn=($i.toLocal||0)+($i.toRemote||0);$i.toLocal=($i.toLocal||0)+U.amountIn,$i.toRemote=($i.toRemote||0)-U.amountIn,$i.balancedness=0===Hn?1:+(1-Math.abs(($i.toLocal-$i.toRemote)/Hn)).toFixed(3)}if($i.channelId===z.toChannelId){ln=!0;const Hn=($i.toLocal||0)+($i.toRemote||0);$i.toLocal=($i.toLocal||0)-U.amountOut,$i.toRemote=($i.toRemote||0)+U.amountOut,$i.balancedness=0===Hn?1:+(1-Math.abs(($i.toLocal-$i.toRemote)/Hn)).toFixed(3)}if(ln&&Ci)break}return{...R,payments:b,lightningBalance:Ne,channelStatus:Ot,fees:$t,activeChannels:hi}}),(0,zi.on)(Vr.pd,(R,{payload:z})=>{const b=[];return Yt.c3.forEach(U=>{const Z=z&&z.length&&z.length>0?z.find(Ne=>Ne.pageId===U.pageId):null;if(Z){const Ne=JSON.parse(JSON.stringify(Z.tables));Z.tables=[],U.tables.forEach(Ot=>{const $t=Ne.find(hi=>hi.tableId===Ot.tableId)||null;Z.tables.push($t||JSON.parse(JSON.stringify(Ot)))}),b.push(Z)}else b.push(JSON.parse(JSON.stringify(U)))}),{...R,pageSettings:b}})),nd=(R,z)=>{if("payment-relayed"===R.type)if(z&&z.length>0)for(let b=0;b<z.length;b++){if(z[b].channelId?.toString()===R.fromChannelId&&(R.fromChannelAlias=z[b].alias?z[b].alias:R.fromChannelId,R.fromShortChannelId=z[b].shortChannelId?z[b].shortChannelId:"",R.toChannelAlias)||z[b].channelId?.toString()===R.toChannelId&&(R.toChannelAlias=z[b].alias?z[b].alias:R.toChannelId,R.toShortChannelId=z[b].shortChannelId?z[b].shortChannelId:"",R.fromChannelAlias))return R;b===z.length-1&&(R.fromChannelAlias||(R.fromChannelAlias=R.fromChannelId?.substring(0,17)+"...",R.fromShortChannelId=""),R.toChannelAlias||(R.toChannelAlias=R.toChannelId?.substring(0,17)+"...",R.toShortChannelId=""))}else R.fromChannelAlias=R.fromChannelId?.substring(0,17)+"...",R.fromShortChannelId="",R.toChannelAlias=R.toChannelId?.substring(0,17)+"...",R.toShortChannelId="";else if(R.type="trampoline-payment-relayed"){if(z&&z.length>0)for(let Z=0;Z<z.length;Z++)R.incoming?.forEach(Ne=>{z[Z].channelId?.toString()===Ne.channelId&&(Ne.channelAlias=z[Z].alias?z[Z].alias:Ne.channelId,Ne.shortChannelId=z[Z].shortChannelId?z[Z].shortChannelId:"")}),R.outgoing?.forEach(Ne=>{z[Z].channelId?.toString()===Ne.channelId&&(Ne.channelAlias=z[Z].alias?z[Z].alias:Ne.channelId,Ne.shortChannelId=z[Z].shortChannelId?z[Z].shortChannelId:"")}),Z===z.length-1&&(R.incoming&&R.incoming.length&&R.incoming.length>0&&!R.incoming[0].channelAlias&&R.incoming?.forEach(Ne=>{Ne.channelAlias=Ne.channelId?.substring(0,17)+"...",Ne.shortChannelId=""}),R.outgoing&&R.outgoing.length&&R.outgoing.length>0&&!R.outgoing[0].channelAlias&&R.outgoing?.forEach(Ne=>{Ne.channelAlias=Ne.channelId?.substring(0,17)+"...",Ne.shortChannelId=""}));else R.incoming?.forEach(Z=>{Z.channelAlias=Z.channelId?.substring(0,17)+"...",Z.shortChannelId=""}),R.outgoing?.forEach(Z=>{Z.channelAlias=Z.channelId?.substring(0,17)+"...",Z.shortChannelId=""});const b=R.incoming?.reduce((Z,Ne)=>Z+Ne.amount,0)||0;R.amountIn=Math.round(b/1e3),R.fromChannelId=R.incoming&&R.incoming.length?R.incoming[0].channelId:"",R.fromChannelAlias=R.incoming&&R.incoming.length?R.incoming[0].channelAlias:"",R.fromShortChannelId=R.incoming&&R.incoming.length?R.incoming[0].shortChannelId:"";const U=R.outgoing?.reduce((Z,Ne)=>Z+Ne.amount,0)||0;R.amountOut=Math.round(U/1e3),R.toChannelId=R.outgoing&&R.outgoing.length?R.outgoing[0].channelId:"",R.toChannelAlias=R.outgoing&&R.outgoing.length?R.outgoing[0].channelAlias:"",R.toShortChannelId=R.outgoing&&R.outgoing.length?R.outgoing[0].shortChannelId:""}return R};let Vs=!1;(0,t.X6Q)()&&(Vs=!0);let Pu=(()=>{class R{static#e=this.\u0275fac=function(U){return new(U||R)};static#t=this.\u0275mod=t.oAB({type:R,bootstrap:[U0]});static#i=this.\u0275inj=t.cJS({providers:[Fo({idle:Yt.k_-10,timeout:10,ping:12e3}),{provide:bo.TP,useClass:Au,multi:!0},Ps.m,fu.D,f3.d,ss.W,$r.v,lo],imports:[Fi,bu.m,qd,Fn.xu,e.t6,zi.Aw.forRoot({root:Z0,lnd:a2,cln:Iu,ecl:id},{runtimeChecks:{strictStateImmutability:!1,strictActionImmutability:!1}}),oo.sQ.forRoot([Xi.V,$l.l,Du.J,G0.o]),Vs?Dn.FT.instrument({connectInZone:!0}):[]]})}return R})();e.q6().bootstrapModule(Pu).catch(R=>console.error(R))},9599:(He,X)=>{"use strict";function p(fe){return Object.keys(fe).map(de=>fe[de])}var fe;Object.defineProperty(X,"__esModule",{value:!0}),(fe=X.HashAlgorithms||(X.HashAlgorithms={})).SHA1="sha1",fe.SHA256="sha256",fe.SHA512="sha512";const e=p(X.HashAlgorithms);!function(fe){fe.ASCII="ascii",fe.BASE64="base64",fe.HEX="hex",fe.LATIN1="latin1",fe.UTF8="utf8"}(X.KeyEncodings||(X.KeyEncodings={}));const t=p(X.KeyEncodings);!function(fe){fe.HOTP="hotp",fe.TOTP="totp"}(X.Strategy||(X.Strategy={}));const y=p(X.Strategy),A=()=>{throw new Error("Please provide an options.createDigest implementation.")};function l(fe){return/^(\d+)$/.test(fe)}function M(fe,de,Ce){return fe.length>=de?fe:`${Array(de+1).join(Ce)}${fe}`.slice(-1*de)}function m(fe){const de=`otpauth://${fe.type}/{labelPrefix}:{accountName}?secret={secret}{query}`,Ce=[];if(y.indexOf(fe.type)<0)throw new Error(`Expecting options.type to be one of ${y.join(", ")}. Received ${fe.type}.`);if("hotp"===fe.type){if(null==fe.counter||"number"!=typeof fe.counter)throw new Error('Expecting options.counter to be a number when options.type is "hotp".');Ce.push(`&counter=${fe.counter}`)}return"totp"===fe.type&&fe.step&&Ce.push(`&period=${fe.step}`),fe.digits&&Ce.push(`&digits=${fe.digits}`),fe.algorithm&&Ce.push(`&algorithm=${fe.algorithm.toUpperCase()}`),fe.issuer&&Ce.push(`&issuer=${encodeURIComponent(fe.issuer)}`),de.replace("{labelPrefix}",encodeURIComponent(fe.issuer||fe.accountName)).replace("{accountName}",encodeURIComponent(fe.accountName)).replace("{secret}",fe.secret).replace("{query}",Ce.join(""))}class O{constructor(de={}){this._defaultOptions=Object.freeze({...de}),this._options=Object.freeze({})}create(de={}){return new O(de)}clone(de={}){const Ce=this.create({...this._defaultOptions,...de});return Ce.options=this._options,Ce}get options(){return Object.freeze({...this._defaultOptions,...this._options})}set options(de){this._options=Object.freeze({...this._options,...de})}allOptions(){return this.options}resetOptions(){this._options=Object.freeze({})}}function d(fe){if("function"!=typeof fe.createDigest)throw new Error("Expecting options.createDigest to be a function.");if("function"!=typeof fe.createHmacKey)throw new Error("Expecting options.createHmacKey to be a function.");if("number"!=typeof fe.digits)throw new Error("Expecting options.digits to be a number.");if(!fe.algorithm||e.indexOf(fe.algorithm)<0)throw new Error(`Expecting options.algorithm to be one of ${e.join(", ")}. Received ${fe.algorithm}.`);if(!fe.encoding||t.indexOf(fe.encoding)<0)throw new Error(`Expecting options.encoding to be one of ${t.join(", ")}. Received ${fe.encoding}.`)}const E=(fe,de,Ce)=>Buffer.from(de,Ce).toString("hex");function x(){return{algorithm:X.HashAlgorithms.SHA1,createHmacKey:E,createDigest:A,digits:6,encoding:X.KeyEncodings.ASCII}}function I(fe){const de={...x(),...fe};return d(de),Object.freeze(de)}function k(fe){return M(fe.toString(16),16,"0")}function V(fe,de){const Ce=Buffer.from(fe,"hex"),le=15&Ce[Ce.length-1],qe=((127&Ce[le])<<24|(255&Ce[le+1])<<16|(255&Ce[le+2])<<8|255&Ce[le+3])%Math.pow(10,de);return M(String(qe),de,"0")}function j(fe,de,Ce){const le=Ce.digest||function G(fe,de,Ce){const le=k(de),ge=Ce.createHmacKey(Ce.algorithm,fe,Ce.encoding);return Ce.createDigest(Ce.algorithm,ge,le)}(fe,de,Ce);return V(le,Ce.digits)}function W(fe,de,Ce,le){return!!l(fe)&&fe===j(de,Ce,le)}function K(fe,de,Ce,le,ge){return m({algorithm:ge.algorithm,digits:ge.digits,type:X.Strategy.HOTP,accountName:fe,counter:le,issuer:de,secret:Ce})}class q extends O{create(de={}){return new q(de)}allOptions(){return I(this.options)}generate(de,Ce){return j(de,Ce,this.allOptions())}check(de,Ce,le){return W(de,Ce,le,this.allOptions())}verify(de){if("object"!=typeof de)throw new Error("Expecting argument 0 of verify to be an object");return this.check(de.token,de.secret,de.counter)}keyuri(de,Ce,le,ge){return K(de,Ce,le,ge,this.allOptions())}}function ie(fe){if("number"==typeof fe)return[Math.abs(fe),Math.abs(fe)];if(Array.isArray(fe)){const[de,Ce]=fe;if("number"==typeof de&&"number"==typeof Ce)return[Math.abs(de),Math.abs(Ce)]}throw new Error("Expecting options.window to be an number or [number, number].")}function ae(fe){if(d(fe),ie(fe.window),"number"!=typeof fe.epoch)throw new Error("Expecting options.epoch to be a number.");if("number"!=typeof fe.step)throw new Error("Expecting options.step to be a number.")}const ue=(fe,de,Ce)=>{const le=fe.length,ge=Buffer.from(fe,de).toString("hex");if(le<Ce){const qe=new Array(Ce-le+1).join(ge);return Buffer.from(qe,"hex").slice(0,Ce).toString("hex")}return ge},re=(fe,de,Ce)=>{switch(fe){case X.HashAlgorithms.SHA1:return ue(de,Ce,20);case X.HashAlgorithms.SHA256:return ue(de,Ce,32);case X.HashAlgorithms.SHA512:return ue(de,Ce,64);default:throw new Error(`Expecting algorithm to be one of ${e.join(", ")}. Received ${fe}.`)}};function xe(){return{algorithm:X.HashAlgorithms.SHA1,createDigest:A,createHmacKey:re,digits:6,encoding:X.KeyEncodings.ASCII,epoch:Date.now(),step:30,window:0}}function $(fe){const de={...xe(),...fe};return ae(de),Object.freeze(de)}function he(fe,de){return Math.floor(fe/de/1e3)}function S(fe,de){return j(fe,he(de.epoch,de.step),de)}function n(fe,de,Ce,le){const ge=[];if(0===le)return ge;for(let qe=1;qe<=le;qe++)ge.push(fe+de*qe*Ce);return ge}function s(fe,de,Ce){const le=ie(Ce),ge=1e3*de;return{current:fe,past:n(fe,-1,ge,le[0]),future:n(fe,1,ge,le[1])}}function f(fe,de,Ce){return!!l(fe)&&fe===S(de,Ce)}function h(fe,de,Ce,le){let ge=null;return fe.some((qe,oe)=>!!f(de,Ce,{...le,epoch:qe})&&(ge=oe+1,!0)),ge}function w(fe,de,Ce){if(f(fe,de,Ce))return 0;const le=s(Ce.epoch,Ce.step,Ce.window),ge=h(le.past,fe,de,Ce);return null!==ge?-1*ge:h(le.future,fe,de,Ce)}function D(fe,de){return Math.floor(fe/1e3)%de}function P(fe,de){return de-D(fe,de)}function v(fe,de,Ce,le){return m({algorithm:le.algorithm,digits:le.digits,step:le.step,type:X.Strategy.TOTP,accountName:fe,issuer:de,secret:Ce})}class r extends q{create(de={}){return new r(de)}allOptions(){return $(this.options)}generate(de){return S(de,this.allOptions())}checkDelta(de,Ce){return w(de,Ce,this.allOptions())}check(de,Ce){return"number"==typeof this.checkDelta(de,Ce)}verify(de){if("object"!=typeof de)throw new Error("Expecting argument 0 of verify to be an object");return this.check(de.token,de.secret)}timeRemaining(){const de=this.allOptions();return P(de.epoch,de.step)}timeUsed(){const de=this.allOptions();return D(de.epoch,de.step)}keyuri(de,Ce,le){return v(de,Ce,le,this.allOptions())}}function g(fe){if(ae(fe),"function"!=typeof fe.keyDecoder)throw new Error("Expecting options.keyDecoder to be a function.");if(fe.keyEncoder&&"function"!=typeof fe.keyEncoder)throw new Error("Expecting options.keyEncoder to be a function.")}function H(){return{algorithm:X.HashAlgorithms.SHA1,createDigest:A,createHmacKey:re,digits:6,encoding:X.KeyEncodings.HEX,epoch:Date.now(),step:30,window:0}}function N(fe){const de={...H(),...fe};return g(de),Object.freeze(de)}function te(fe,de){return de.keyEncoder(fe,de.encoding)}function De(fe,de){return de.keyDecoder(fe,de.encoding)}function st(fe,de){return te(de.createRandomBytes(fe,de.encoding),de)}function je(fe,de){return S(De(fe,de),de)}function $e(fe,de,Ce){return w(fe,De(de,Ce),Ce)}class ye extends r{create(de={}){return new ye(de)}allOptions(){return N(this.options)}generate(de){return je(de,this.allOptions())}checkDelta(de,Ce){return $e(de,Ce,this.allOptions())}encode(de){return te(de,this.allOptions())}decode(de){return De(de,this.allOptions())}generateSecret(de=10){return st(de,this.allOptions())}}X.Authenticator=ye,X.HASH_ALGORITHMS=e,X.HOTP=q,X.KEY_ENCODINGS=t,X.OTP=O,X.STRATEGY=y,X.TOTP=r,X.authenticatorCheckWithWindow=$e,X.authenticatorDecoder=De,X.authenticatorDefaultOptions=H,X.authenticatorEncoder=te,X.authenticatorGenerateSecret=st,X.authenticatorOptionValidator=g,X.authenticatorOptions=N,X.authenticatorToken=je,X.createDigestPlaceholder=A,X.hotpCheck=W,X.hotpCounter=k,X.hotpCreateHmacKey=E,X.hotpDefaultOptions=x,X.hotpDigestToToken=V,X.hotpKeyuri=K,X.hotpOptions=I,X.hotpOptionsValidator=d,X.hotpToken=j,X.isTokenValid=l,X.keyuri=m,X.objectValues=p,X.padStart=M,X.totpCheck=f,X.totpCheckByEpoch=h,X.totpCheckWithWindow=w,X.totpCounter=he,X.totpCreateHmacKey=re,X.totpDefaultOptions=xe,X.totpEpochAvailable=s,X.totpKeyuri=v,X.totpOptions=$,X.totpOptionsValidator=ae,X.totpPadSecret=ue,X.totpTimeRemaining=P,X.totpTimeUsed=D,X.totpToken=S},1239:(He,X,p)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0});var t=function e(l){return l&&"object"==typeof l&&"default"in l?l.default:l}(p(7903));X.createDigest=(l,M,m)=>t.createHmac(l,Buffer.from(M,"hex")).update(Buffer.from(m,"hex")).digest().toString("hex"),X.createRandomBytes=(l,M)=>t.randomBytes(l).toString(M)},3637:(He,X,p)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0});var t=function e(l){return l&&"object"==typeof l&&"default"in l?l.default:l}(p(5852));X.keyDecoder=(l,M)=>t.decode(l).toString(M),X.keyEncoder=(l,M)=>t.encode(Buffer.from(l,M).toString("ascii")).toString().replace(/=/g,"")},6981:(He,X,p)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0});var e=p(1239),t=p(3637),y=p(9599);const A=new y.HOTP({createDigest:e.createDigest}),l=new y.TOTP({createDigest:e.createDigest}),M=new y.Authenticator({createDigest:e.createDigest,createRandomBytes:e.createRandomBytes,keyDecoder:t.keyDecoder,keyEncoder:t.keyEncoder});X.authenticator=M,X.hotp=A,X.totp=l},7414:(He,X,p)=>{"use strict";const e=X;e.bignum=p(5047),e.define=p(302).define,e.base=p(510),e.constants=p(4155),e.decoders=p(1301),e.encoders=p(3693)},302:(He,X,p)=>{"use strict";const e=p(3693),t=p(1301),y=p(6698);function l(M,m){this.name=M,this.body=m,this.decoders={},this.encoders={}}X.define=function(m,O){return new l(m,O)},l.prototype._createNamed=function(m){const O=this.name;function d(E){this._initNamed(E,O)}return y(d,m),d.prototype._initNamed=function(x,I){m.call(this,x,I)},new d(this)},l.prototype._getDecoder=function(m){return this.decoders.hasOwnProperty(m=m||"der")||(this.decoders[m]=this._createNamed(t[m])),this.decoders[m]},l.prototype.decode=function(m,O,d){return this._getDecoder(O).decode(m,d)},l.prototype._getEncoder=function(m){return this.encoders.hasOwnProperty(m=m||"der")||(this.encoders[m]=this._createNamed(e[m])),this.encoders[m]},l.prototype.encode=function(m,O,d){return this._getEncoder(O).encode(m,d)}},5720:(He,X,p)=>{"use strict";const e=p(6698),t=p(5684).b,y=p(4179).Buffer;function A(M,m){t.call(this,m),y.isBuffer(M)?(this.base=M,this.offset=0,this.length=M.length):this.error("Input not Buffer")}function l(M,m){if(Array.isArray(M))this.length=0,this.value=M.map(function(O){return l.isEncoderBuffer(O)||(O=new l(O,m)),this.length+=O.length,O},this);else if("number"==typeof M){if(!(0<=M&&M<=255))return m.error("non-byte EncoderBuffer value");this.value=M,this.length=1}else if("string"==typeof M)this.value=M,this.length=y.byteLength(M);else{if(!y.isBuffer(M))return m.error("Unsupported type: "+typeof M);this.value=M,this.length=M.length}}e(A,t),X.C=A,A.isDecoderBuffer=function(m){return m instanceof A||"object"==typeof m&&y.isBuffer(m.base)&&"DecoderBuffer"===m.constructor.name&&"number"==typeof m.offset&&"number"==typeof m.length&&"function"==typeof m.save&&"function"==typeof m.restore&&"function"==typeof m.isEmpty&&"function"==typeof m.readUInt8&&"function"==typeof m.skip&&"function"==typeof m.raw},A.prototype.save=function(){return{offset:this.offset,reporter:t.prototype.save.call(this)}},A.prototype.restore=function(m){const O=new A(this.base);return O.offset=m.offset,O.length=this.offset,this.offset=m.offset,t.prototype.restore.call(this,m.reporter),O},A.prototype.isEmpty=function(){return this.offset===this.length},A.prototype.readUInt8=function(m){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(m||"DecoderBuffer overrun")},A.prototype.skip=function(m,O){if(!(this.offset+m<=this.length))return this.error(O||"DecoderBuffer overrun");const d=new A(this.base);return d._reporterState=this._reporterState,d.offset=this.offset,d.length=this.offset+m,this.offset+=m,d},A.prototype.raw=function(m){return this.base.slice(m?m.offset:this.offset,this.length)},X.R=l,l.isEncoderBuffer=function(m){return m instanceof l||"object"==typeof m&&"EncoderBuffer"===m.constructor.name&&"number"==typeof m.length&&"function"==typeof m.join},l.prototype.join=function(m,O){return m||(m=y.alloc(this.length)),O||(O=0),0===this.length||(Array.isArray(this.value)?this.value.forEach(function(d){d.join(m,O),O+=d.length}):("number"==typeof this.value?m[O]=this.value:"string"==typeof this.value?m.write(this.value,O):y.isBuffer(this.value)&&this.value.copy(m,O),O+=this.length)),m}},510:(He,X,p)=>{"use strict";const e=X;e.Reporter=p(5684).b,e.DecoderBuffer=p(5720).C,e.EncoderBuffer=p(5720).R,e.Node=p(8533)},8533:(He,X,p)=>{"use strict";const e=p(5684).b,t=p(5720).R,y=p(5720).C,A=p(7798),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"],M=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(l);function O(E,x,I){const k={};this._baseState=k,k.name=I,k.enc=E,k.parent=x||null,k.children=null,k.tag=null,k.args=null,k.reverseArgs=null,k.choice=null,k.optional=!1,k.any=!1,k.obj=!1,k.use=null,k.useDecoder=null,k.key=null,k.default=null,k.explicit=null,k.implicit=null,k.contains=null,k.parent||(k.children=[],this._wrap())}He.exports=O;const d=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];O.prototype.clone=function(){const x=this._baseState,I={};d.forEach(function(V){I[V]=x[V]});const k=new this.constructor(I.parent);return k._baseState=I,k},O.prototype._wrap=function(){const x=this._baseState;M.forEach(function(I){this[I]=function(){const V=new this.constructor(this);return x.children.push(V),V[I].apply(V,arguments)}},this)},O.prototype._init=function(x){const I=this._baseState;A(null===I.parent),x.call(this),I.children=I.children.filter(function(k){return k._baseState.parent===this},this),A.equal(I.children.length,1,"Root node can have only one child")},O.prototype._useArgs=function(x){const I=this._baseState,k=x.filter(function(V){return V instanceof this.constructor},this);x=x.filter(function(V){return!(V instanceof this.constructor)},this),0!==k.length&&(A(null===I.children),I.children=k,k.forEach(function(V){V._baseState.parent=this},this)),0!==x.length&&(A(null===I.args),I.args=x,I.reverseArgs=x.map(function(V){if("object"!=typeof V||V.constructor!==Object)return V;const G={};return Object.keys(V).forEach(function(j){j==(0|j)&&(j|=0),G[V[j]]=j}),G}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(E){O.prototype[E]=function(){throw new Error(E+" not implemented for encoding: "+this._baseState.enc)}}),l.forEach(function(E){O.prototype[E]=function(){const I=this._baseState,k=Array.prototype.slice.call(arguments);return A(null===I.tag),I.tag=E,this._useArgs(k),this}}),O.prototype.use=function(x){A(x);const I=this._baseState;return A(null===I.use),I.use=x,this},O.prototype.optional=function(){return this._baseState.optional=!0,this},O.prototype.def=function(x){const I=this._baseState;return A(null===I.default),I.default=x,I.optional=!0,this},O.prototype.explicit=function(x){const I=this._baseState;return A(null===I.explicit&&null===I.implicit),I.explicit=x,this},O.prototype.implicit=function(x){const I=this._baseState;return A(null===I.explicit&&null===I.implicit),I.implicit=x,this},O.prototype.obj=function(){const x=this._baseState,I=Array.prototype.slice.call(arguments);return x.obj=!0,0!==I.length&&this._useArgs(I),this},O.prototype.key=function(x){const I=this._baseState;return A(null===I.key),I.key=x,this},O.prototype.any=function(){return this._baseState.any=!0,this},O.prototype.choice=function(x){const I=this._baseState;return A(null===I.choice),I.choice=x,this._useArgs(Object.keys(x).map(function(k){return x[k]})),this},O.prototype.contains=function(x){const I=this._baseState;return A(null===I.use),I.contains=x,this},O.prototype._decode=function(x,I){const k=this._baseState;if(null===k.parent)return x.wrapResult(k.children[0]._decode(x,I));let W,V=k.default,G=!0,j=null;if(null!==k.key&&(j=x.enterKey(k.key)),k.optional){let K=null;if(null!==k.explicit?K=k.explicit:null!==k.implicit?K=k.implicit:null!==k.tag&&(K=k.tag),null!==K||k.any){if(G=this._peekTag(x,K,k.any),x.isError(G))return G}else{const q=x.save();try{null===k.choice?this._decodeGeneric(k.tag,x,I):this._decodeChoice(x,I),G=!0}catch{G=!1}x.restore(q)}}if(k.obj&&G&&(W=x.enterObject()),G){if(null!==k.explicit){const q=this._decodeTag(x,k.explicit);if(x.isError(q))return q;x=q}const K=x.offset;if(null===k.use&&null===k.choice){let q;k.any&&(q=x.save());const ie=this._decodeTag(x,null!==k.implicit?k.implicit:k.tag,k.any);if(x.isError(ie))return ie;k.any?V=x.raw(q):x=ie}if(I&&I.track&&null!==k.tag&&I.track(x.path(),K,x.length,"tagged"),I&&I.track&&null!==k.tag&&I.track(x.path(),x.offset,x.length,"content"),k.any||(V=null===k.choice?this._decodeGeneric(k.tag,x,I):this._decodeChoice(x,I)),x.isError(V))return V;if(!k.any&&null===k.choice&&null!==k.children&&k.children.forEach(function(ie){ie._decode(x,I)}),k.contains&&("octstr"===k.tag||"bitstr"===k.tag)){const q=new y(V);V=this._getUse(k.contains,x._reporterState.obj)._decode(q,I)}}return k.obj&&G&&(V=x.leaveObject(W)),null===k.key||null===V&&!0!==G?null!==j&&x.exitKey(j):x.leaveKey(j,k.key,V),V},O.prototype._decodeGeneric=function(x,I,k){const V=this._baseState;return"seq"===x||"set"===x?null:"seqof"===x||"setof"===x?this._decodeList(I,x,V.args[0],k):/str$/.test(x)?this._decodeStr(I,x,k):"objid"===x&&V.args?this._decodeObjid(I,V.args[0],V.args[1],k):"objid"===x?this._decodeObjid(I,null,null,k):"gentime"===x||"utctime"===x?this._decodeTime(I,x,k):"null_"===x?this._decodeNull(I,k):"bool"===x?this._decodeBool(I,k):"objDesc"===x?this._decodeStr(I,x,k):"int"===x||"enum"===x?this._decodeInt(I,V.args&&V.args[0],k):null!==V.use?this._getUse(V.use,I._reporterState.obj)._decode(I,k):I.error("unknown tag: "+x)},O.prototype._getUse=function(x,I){const k=this._baseState;return k.useDecoder=this._use(x,I),A(null===k.useDecoder._baseState.parent),k.useDecoder=k.useDecoder._baseState.children[0],k.implicit!==k.useDecoder._baseState.implicit&&(k.useDecoder=k.useDecoder.clone(),k.useDecoder._baseState.implicit=k.implicit),k.useDecoder},O.prototype._decodeChoice=function(x,I){const k=this._baseState;let V=null,G=!1;return Object.keys(k.choice).some(function(j){const W=x.save(),K=k.choice[j];try{const q=K._decode(x,I);if(x.isError(q))return!1;V={type:j,value:q},G=!0}catch{return x.restore(W),!1}return!0},this),G?V:x.error("Choice not matched")},O.prototype._createEncoderBuffer=function(x){return new t(x,this.reporter)},O.prototype._encode=function(x,I,k){const V=this._baseState;if(null!==V.default&&V.default===x)return;const G=this._encodeValue(x,I,k);return void 0===G||this._skipDefault(G,I,k)?void 0:G},O.prototype._encodeValue=function(x,I,k){const V=this._baseState;if(null===V.parent)return V.children[0]._encode(x,I||new e);let G=null;if(this.reporter=I,V.optional&&void 0===x){if(null===V.default)return;x=V.default}let j=null,W=!1;if(V.any)G=this._createEncoderBuffer(x);else if(V.choice)G=this._encodeChoice(x,I);else if(V.contains)j=this._getUse(V.contains,k)._encode(x,I),W=!0;else if(V.children)j=V.children.map(function(K){if("null_"===K._baseState.tag)return K._encode(null,I,x);if(null===K._baseState.key)return I.error("Child should have a key");const q=I.enterKey(K._baseState.key);if("object"!=typeof x)return I.error("Child expected, but input is not object");const ie=K._encode(x[K._baseState.key],I,x);return I.leaveKey(q),ie},this).filter(function(K){return K}),j=this._createEncoderBuffer(j);else if("seqof"===V.tag||"setof"===V.tag){if(!V.args||1!==V.args.length)return I.error("Too many args for : "+V.tag);if(!Array.isArray(x))return I.error("seqof/setof, but data is not Array");const K=this.clone();K._baseState.implicit=null,j=this._createEncoderBuffer(x.map(function(q){return this._getUse(this._baseState.args[0],x)._encode(q,I)},K))}else null!==V.use?G=this._getUse(V.use,k)._encode(x,I):(j=this._encodePrimitive(V.tag,x),W=!0);if(!V.any&&null===V.choice){const K=null!==V.implicit?V.implicit:V.tag,q=null===V.implicit?"universal":"context";null===K?null===V.use&&I.error("Tag could be omitted only for .use()"):null===V.use&&(G=this._encodeComposite(K,W,q,j))}return null!==V.explicit&&(G=this._encodeComposite(V.explicit,!1,"context",G)),G},O.prototype._encodeChoice=function(x,I){const k=this._baseState,V=k.choice[x.type];return V||A(!1,x.type+" not found in "+JSON.stringify(Object.keys(k.choice))),V._encode(x.value,I)},O.prototype._encodePrimitive=function(x,I){const k=this._baseState;if(/str$/.test(x))return this._encodeStr(I,x);if("objid"===x&&k.args)return this._encodeObjid(I,k.reverseArgs[0],k.args[1]);if("objid"===x)return this._encodeObjid(I,null,null);if("gentime"===x||"utctime"===x)return this._encodeTime(I,x);if("null_"===x)return this._encodeNull();if("int"===x||"enum"===x)return this._encodeInt(I,k.args&&k.reverseArgs[0]);if("bool"===x)return this._encodeBool(I);if("objDesc"===x)return this._encodeStr(I,x);throw new Error("Unsupported tag: "+x)},O.prototype._isNumstr=function(x){return/^[0-9 ]*$/.test(x)},O.prototype._isPrintstr=function(x){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(x)}},5684:(He,X,p)=>{"use strict";const e=p(6698);function t(A){this._reporterState={obj:null,path:[],options:A||{},errors:[]}}function y(A,l){this.path=A,this.rethrow(l)}X.b=t,t.prototype.isError=function(l){return l instanceof y},t.prototype.save=function(){const l=this._reporterState;return{obj:l.obj,pathLen:l.path.length}},t.prototype.restore=function(l){const M=this._reporterState;M.obj=l.obj,M.path=M.path.slice(0,l.pathLen)},t.prototype.enterKey=function(l){return this._reporterState.path.push(l)},t.prototype.exitKey=function(l){const M=this._reporterState;M.path=M.path.slice(0,l-1)},t.prototype.leaveKey=function(l,M,m){const O=this._reporterState;this.exitKey(l),null!==O.obj&&(O.obj[M]=m)},t.prototype.path=function(){return this._reporterState.path.join("/")},t.prototype.enterObject=function(){const l=this._reporterState,M=l.obj;return l.obj={},M},t.prototype.leaveObject=function(l){const M=this._reporterState,m=M.obj;return M.obj=l,m},t.prototype.error=function(l){let M;const m=this._reporterState,O=l instanceof y;if(M=O?l:new y(m.path.map(function(d){return"["+JSON.stringify(d)+"]"}).join(""),l.message||l,l.stack),!m.options.partial)throw M;return O||m.errors.push(M),M},t.prototype.wrapResult=function(l){const M=this._reporterState;return M.options.partial?{result:this.isError(l)?null:l,errors:M.errors}:l},e(y,Error),y.prototype.rethrow=function(l){if(this.message=l+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,y),!this.stack)try{throw new Error(this.message)}catch(M){this.stack=M.stack}return this}},5086:(He,X)=>{"use strict";function p(e){const t={};return Object.keys(e).forEach(function(y){(0|y)==y&&(y|=0),t[e[y]]=y}),t}X.tagClass={0:"universal",1:"application",2:"context",3:"private"},X.tagClassByName=p(X.tagClass),X.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"},X.tagByName=p(X.tag)},4155:(He,X,p)=>{"use strict";const e=X;e._reverse=function(y){const A={};return Object.keys(y).forEach(function(l){(0|l)==l&&(l|=0),A[y[l]]=l}),A},e.der=p(5086)},6835:(He,X,p)=>{"use strict";const e=p(6698),t=p(5047),y=p(5720).C,A=p(8533),l=p(5086);function M(E){this.enc="der",this.name=E.name,this.entity=E,this.tree=new m,this.tree._init(E.body)}function m(E){A.call(this,"der",E)}function O(E,x){let I=E.readUInt8(x);if(E.isError(I))return I;const k=l.tagClass[I>>6],V=0==(32&I);if(31==(31&I)){let j=I;for(I=0;128==(128&j);){if(j=E.readUInt8(x),E.isError(j))return j;I<<=7,I|=127&j}}else I&=31;return{cls:k,primitive:V,tag:I,tagStr:l.tag[I]}}function d(E,x,I){let k=E.readUInt8(I);if(E.isError(k))return k;if(!x&&128===k)return null;if(!(128&k))return k;const V=127&k;if(V>4)return E.error("length octect is too long");k=0;for(let G=0;G<V;G++){k<<=8;const j=E.readUInt8(I);if(E.isError(j))return j;k|=j}return k}He.exports=M,M.prototype.decode=function(x,I){return y.isDecoderBuffer(x)||(x=new y(x,I)),this.tree._decode(x,I)},e(m,A),m.prototype._peekTag=function(x,I,k){if(x.isEmpty())return!1;const V=x.save(),G=O(x,'Failed to peek tag: "'+I+'"');return x.isError(G)?G:(x.restore(V),G.tag===I||G.tagStr===I||G.tagStr+"of"===I||k)},m.prototype._decodeTag=function(x,I,k){const V=O(x,'Failed to decode tag of "'+I+'"');if(x.isError(V))return V;let G=d(x,V.primitive,'Failed to get length of "'+I+'"');if(x.isError(G))return G;if(!k&&V.tag!==I&&V.tagStr!==I&&V.tagStr+"of"!==I)return x.error('Failed to match tag: "'+I+'"');if(V.primitive||null!==G)return x.skip(G,'Failed to match body of: "'+I+'"');const j=x.save(),W=this._skipUntilEnd(x,'Failed to skip indefinite length body: "'+this.tag+'"');return x.isError(W)?W:(G=x.offset-j.offset,x.restore(j),x.skip(G,'Failed to match body of: "'+I+'"'))},m.prototype._skipUntilEnd=function(x,I){for(;;){const k=O(x,I);if(x.isError(k))return k;const V=d(x,k.primitive,I);if(x.isError(V))return V;let G;if(G=k.primitive||null!==V?x.skip(V):this._skipUntilEnd(x,I),x.isError(G))return G;if("end"===k.tagStr)break}},m.prototype._decodeList=function(x,I,k,V){const G=[];for(;!x.isEmpty();){const j=this._peekTag(x,"end");if(x.isError(j))return j;const W=k.decode(x,"der",V);if(x.isError(W)&&j)break;G.push(W)}return G},m.prototype._decodeStr=function(x,I){if("bitstr"===I){const k=x.readUInt8();return x.isError(k)?k:{unused:k,data:x.raw()}}if("bmpstr"===I){const k=x.raw();if(k.length%2==1)return x.error("Decoding of string type: bmpstr length mismatch");let V="";for(let G=0;G<k.length/2;G++)V+=String.fromCharCode(k.readUInt16BE(2*G));return V}if("numstr"===I){const k=x.raw().toString("ascii");return this._isNumstr(k)?k:x.error("Decoding of string type: numstr unsupported characters")}if("octstr"===I)return x.raw();if("objDesc"===I)return x.raw();if("printstr"===I){const k=x.raw().toString("ascii");return this._isPrintstr(k)?k:x.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(I)?x.raw().toString():x.error("Decoding of string type: "+I+" unsupported")},m.prototype._decodeObjid=function(x,I,k){let V;const G=[];let j=0,W=0;for(;!x.isEmpty();)W=x.readUInt8(),j<<=7,j|=127&W,128&W||(G.push(j),j=0);if(128&W&&G.push(j),V=k?G:[G[0]/40|0,G[0]%40].concat(G.slice(1)),I){let ie=I[V.join(" ")];void 0===ie&&(ie=I[V.join(".")]),void 0!==ie&&(V=ie)}return V},m.prototype._decodeTime=function(x,I){const k=x.raw().toString();let V,G,j,W,K,q;if("gentime"===I)V=0|k.slice(0,4),G=0|k.slice(4,6),j=0|k.slice(6,8),W=0|k.slice(8,10),K=0|k.slice(10,12),q=0|k.slice(12,14);else{if("utctime"!==I)return x.error("Decoding "+I+" time is not supported yet");V=0|k.slice(0,2),G=0|k.slice(2,4),j=0|k.slice(4,6),W=0|k.slice(6,8),K=0|k.slice(8,10),q=0|k.slice(10,12),V=V<70?2e3+V:1900+V}return Date.UTC(V,G-1,j,W,K,q,0)},m.prototype._decodeNull=function(){return null},m.prototype._decodeBool=function(x){const I=x.readUInt8();return x.isError(I)?I:0!==I},m.prototype._decodeInt=function(x,I){const k=x.raw();let V=new t(k);return I&&(V=I[V.toString(10)]||V),V},m.prototype._use=function(x,I){return"function"==typeof x&&(x=x(I)),x._getDecoder("der").tree}},1301:(He,X,p)=>{"use strict";const e=X;e.der=p(6835),e.pem=p(2208)},2208:(He,X,p)=>{"use strict";const e=p(6698),t=p(4179).Buffer,y=p(6835);function A(l){y.call(this,l),this.enc="pem"}e(A,y),He.exports=A,A.prototype.decode=function(M,m){const O=M.toString().split(/[\r\n]+/g),d=m.label.toUpperCase(),E=/^-----(BEGIN|END) ([^-]+)-----$/;let x=-1,I=-1;for(let G=0;G<O.length;G++){const j=O[G].match(E);if(null!==j&&j[2]===d){if(-1!==x){if("END"!==j[1])break;I=G;break}if("BEGIN"!==j[1])break;x=G}}if(-1===x||-1===I)throw new Error("PEM section not found for: "+d);const k=O.slice(x+1,I).join("");k.replace(/[^a-z0-9+/=]+/gi,"");const V=t.from(k,"base64");return y.prototype.decode.call(this,V,m)}},9133:(He,X,p)=>{"use strict";const e=p(6698),t=p(4179).Buffer,y=p(8533),A=p(5086);function l(d){this.enc="der",this.name=d.name,this.entity=d,this.tree=new M,this.tree._init(d.body)}function M(d){y.call(this,"der",d)}function m(d){return d<10?"0"+d:d}He.exports=l,l.prototype.encode=function(E,x){return this.tree._encode(E,x).join()},e(M,y),M.prototype._encodeComposite=function(E,x,I,k){const V=function O(d,E,x,I){let k;if("seqof"===d?d="seq":"setof"===d&&(d="set"),A.tagByName.hasOwnProperty(d))k=A.tagByName[d];else{if("number"!=typeof d||(0|d)!==d)return I.error("Unknown tag: "+d);k=d}return k>=31?I.error("Multi-octet tag encoding unsupported"):(E||(k|=32),k|=A.tagClassByName[x||"universal"]<<6,k)}(E,x,I,this.reporter);if(k.length<128){const W=t.alloc(2);return W[0]=V,W[1]=k.length,this._createEncoderBuffer([W,k])}let G=1;for(let W=k.length;W>=256;W>>=8)G++;const j=t.alloc(2+G);j[0]=V,j[1]=128|G;for(let W=1+G,K=k.length;K>0;W--,K>>=8)j[W]=255&K;return this._createEncoderBuffer([j,k])},M.prototype._encodeStr=function(E,x){if("bitstr"===x)return this._createEncoderBuffer([0|E.unused,E.data]);if("bmpstr"===x){const I=t.alloc(2*E.length);for(let k=0;k<E.length;k++)I.writeUInt16BE(E.charCodeAt(k),2*k);return this._createEncoderBuffer(I)}return"numstr"===x?this._isNumstr(E)?this._createEncoderBuffer(E):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===x?this._isPrintstr(E)?this._createEncoderBuffer(E):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(x)||"objDesc"===x?this._createEncoderBuffer(E):this.reporter.error("Encoding of string type: "+x+" unsupported")},M.prototype._encodeObjid=function(E,x,I){if("string"==typeof E){if(!x)return this.reporter.error("string objid given, but no values map found");if(!x.hasOwnProperty(E))return this.reporter.error("objid not found in values map");E=x[E].split(/[\s.]+/g);for(let j=0;j<E.length;j++)E[j]|=0}else if(Array.isArray(E)){E=E.slice();for(let j=0;j<E.length;j++)E[j]|=0}if(!Array.isArray(E))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(E));if(!I){if(E[1]>=40)return this.reporter.error("Second objid identifier OOB");E.splice(0,2,40*E[0]+E[1])}let k=0;for(let j=0;j<E.length;j++){let W=E[j];for(k++;W>=128;W>>=7)k++}const V=t.alloc(k);let G=V.length-1;for(let j=E.length-1;j>=0;j--){let W=E[j];for(V[G--]=127&W;(W>>=7)>0;)V[G--]=128|127&W}return this._createEncoderBuffer(V)},M.prototype._encodeTime=function(E,x){let I;const k=new Date(E);return"gentime"===x?I=[m(k.getUTCFullYear()),m(k.getUTCMonth()+1),m(k.getUTCDate()),m(k.getUTCHours()),m(k.getUTCMinutes()),m(k.getUTCSeconds()),"Z"].join(""):"utctime"===x?I=[m(k.getUTCFullYear()%100),m(k.getUTCMonth()+1),m(k.getUTCDate()),m(k.getUTCHours()),m(k.getUTCMinutes()),m(k.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+x+" time is not supported yet"),this._encodeStr(I,"octstr")},M.prototype._encodeNull=function(){return this._createEncoderBuffer("")},M.prototype._encodeInt=function(E,x){if("string"==typeof E){if(!x)return this.reporter.error("String int or enum given, but no values map");if(!x.hasOwnProperty(E))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(E));E=x[E]}if("number"!=typeof E&&!t.isBuffer(E)){const V=E.toArray();!E.sign&&128&V[0]&&V.unshift(0),E=t.from(V)}if(t.isBuffer(E)){let V=E.length;0===E.length&&V++;const G=t.alloc(V);return E.copy(G),0===E.length&&(G[0]=0),this._createEncoderBuffer(G)}if(E<128)return this._createEncoderBuffer(E);if(E<256)return this._createEncoderBuffer([0,E]);let I=1;for(let V=E;V>=256;V>>=8)I++;const k=new Array(I);for(let V=k.length-1;V>=0;V--)k[V]=255&E,E>>=8;return 128&k[0]&&k.unshift(0),this._createEncoderBuffer(t.from(k))},M.prototype._encodeBool=function(E){return this._createEncoderBuffer(E?255:0)},M.prototype._use=function(E,x){return"function"==typeof E&&(E=E(x)),E._getEncoder("der").tree},M.prototype._skipDefault=function(E,x,I){const k=this._baseState;let V;if(null===k.default)return!1;const G=E.join();if(void 0===k.defaultBuffer&&(k.defaultBuffer=this._encodeValue(k.default,x,I).join()),G.length!==k.defaultBuffer.length)return!1;for(V=0;V<G.length;V++)if(G[V]!==k.defaultBuffer[V])return!1;return!0}},3693:(He,X,p)=>{"use strict";const e=X;e.der=p(9133),e.pem=p(7900)},7900:(He,X,p)=>{"use strict";const e=p(6698),t=p(9133);function y(A){t.call(this,A),this.enc="pem"}e(y,t),He.exports=y,y.prototype.encode=function(l,M){const O=t.prototype.encode.call(this,l).toString("base64"),d=["-----BEGIN "+M.label+"-----"];for(let E=0;E<O.length;E+=64)d.push(O.slice(E,E+64));return d.push("-----END "+M.label+"-----"),d.join("\n")}},5047:function(He,X,p){!function(e,t){"use strict";function y(S,n){if(!S)throw new Error(n||"Assertion failed")}function A(S,n){S.super_=n;var s=function(){};s.prototype=n.prototype,S.prototype=new s,S.prototype.constructor=S}function l(S,n,s){if(l.isBN(S))return S;this.negative=0,this.words=null,this.length=0,this.red=null,null!==S&&(("le"===n||"be"===n)&&(s=n,n=10),this._init(S||0,n||10,s||"be"))}var M;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{M=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:p(950).Buffer}catch{}function m(S,n){var s=S.charCodeAt(n);return s>=65&&s<=70?s-55:s>=97&&s<=102?s-87:s-48&15}function O(S,n,s){var f=m(S,s);return s-1>=n&&(f|=m(S,s-1)<<4),f}function d(S,n,s,f){for(var h=0,w=Math.min(S.length,s),D=n;D<w;D++){var P=S.charCodeAt(D)-48;h*=f,h+=P>=49?P-49+10:P>=17?P-17+10:P}return h}l.isBN=function(n){return n instanceof l||null!==n&&"object"==typeof n&&n.constructor.wordSize===l.wordSize&&Array.isArray(n.words)},l.max=function(n,s){return n.cmp(s)>0?n:s},l.min=function(n,s){return n.cmp(s)<0?n:s},l.prototype._init=function(n,s,f){if("number"==typeof n)return this._initNumber(n,s,f);if("object"==typeof n)return this._initArray(n,s,f);"hex"===s&&(s=16),y(s===(0|s)&&s>=2&&s<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<n.length&&(16===s?this._parseHex(n,h,f):(this._parseBase(n,s,h),"le"===f&&this._initArray(this.toArray(),s,f)))},l.prototype._initNumber=function(n,s,f){n<0&&(this.negative=1,n=-n),n<67108864?(this.words=[67108863&n],this.length=1):n<4503599627370496?(this.words=[67108863&n,n/67108864&67108863],this.length=2):(y(n<9007199254740992),this.words=[67108863&n,n/67108864&67108863,1],this.length=3),"le"===f&&this._initArray(this.toArray(),s,f)},l.prototype._initArray=function(n,s,f){if(y("number"==typeof n.length),n.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(n.length/3),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var w,D,P=0;if("be"===f)for(h=n.length-1,w=0;h>=0;h-=3)this.words[w]|=(D=n[h]|n[h-1]<<8|n[h-2]<<16)<<P&67108863,this.words[w+1]=D>>>26-P&67108863,(P+=24)>=26&&(P-=26,w++);else if("le"===f)for(h=0,w=0;h<n.length;h+=3)this.words[w]|=(D=n[h]|n[h+1]<<8|n[h+2]<<16)<<P&67108863,this.words[w+1]=D>>>26-P&67108863,(P+=24)>=26&&(P-=26,w++);return this.strip()},l.prototype._parseHex=function(n,s,f){this.length=Math.ceil((n.length-s)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var P,w=0,D=0;if("be"===f)for(h=n.length-1;h>=s;h-=2)P=O(n,s,h)<<w,this.words[D]|=67108863&P,w>=18?(w-=18,this.words[D+=1]|=P>>>26):w+=8;else for(h=(n.length-s)%2==0?s+1:s;h<n.length;h+=2)P=O(n,s,h)<<w,this.words[D]|=67108863&P,w>=18?(w-=18,this.words[D+=1]|=P>>>26):w+=8;this.strip()},l.prototype._parseBase=function(n,s,f){this.words=[0],this.length=1;for(var h=0,w=1;w<=67108863;w*=s)h++;h--,w=w/s|0;for(var D=n.length-f,P=D%h,v=Math.min(D,D-P)+f,r=0,g=f;g<v;g+=h)r=d(n,g,g+h,s),this.imuln(w),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==P){var H=1;for(r=d(n,g,n.length,s),g=0;g<P;g++)H*=s;this.imuln(H),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r)}this.strip()},l.prototype.copy=function(n){n.words=new Array(this.length);for(var s=0;s<this.length;s++)n.words[s]=this.words[s];n.length=this.length,n.negative=this.negative,n.red=this.red},l.prototype.clone=function(){var n=new l(null);return this.copy(n),n},l.prototype._expand=function(n){for(;this.length<n;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var E=["","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"],x=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],I=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function V(S,n,s){s.negative=n.negative^S.negative;var f=S.length+n.length|0;s.length=f,f=f-1|0;var h=0|S.words[0],w=0|n.words[0],D=h*w,v=D/67108864|0;s.words[0]=67108863&D;for(var r=1;r<f;r++){for(var g=v>>>26,H=67108863&v,N=Math.min(r,n.length-1),te=Math.max(0,r-S.length+1);te<=N;te++)g+=(D=(h=0|S.words[r-te|0])*(w=0|n.words[te])+H)/67108864|0,H=67108863&D;s.words[r]=0|H,v=0|g}return 0!==v?s.words[r]=0|v:s.length--,s.strip()}l.prototype.toString=function(n,s){var f;if(s=0|s||1,16===(n=n||10)||"hex"===n){f="";for(var h=0,w=0,D=0;D<this.length;D++){var P=this.words[D],v=(16777215&(P<<h|w)).toString(16);f=0!=(w=P>>>24-h&16777215)||D!==this.length-1?E[6-v.length]+v+f:v+f,(h+=2)>=26&&(h-=26,D--)}for(0!==w&&(f=w.toString(16)+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(n===(0|n)&&n>=2&&n<=36){var r=x[n],g=I[n];f="";var H=this.clone();for(H.negative=0;!H.isZero();){var N=H.modn(g).toString(n);f=(H=H.idivn(g)).isZero()?N+f:E[r-N.length]+N+f}for(this.isZero()&&(f="0"+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}y(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&y(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(n,s){return y(typeof M<"u"),this.toArrayLike(M,n,s)},l.prototype.toArray=function(n,s){return this.toArrayLike(Array,n,s)},l.prototype.toArrayLike=function(n,s,f){var h=this.byteLength(),w=f||Math.max(1,h);y(h<=w,"byte array longer than desired length"),y(w>0,"Requested array length <= 0"),this.strip();var v,r,D="le"===s,P=new n(w),g=this.clone();if(D){for(r=0;!g.isZero();r++)v=g.andln(255),g.iushrn(8),P[r]=v;for(;r<w;r++)P[r]=0}else{for(r=0;r<w-h;r++)P[r]=0;for(r=0;!g.isZero();r++)v=g.andln(255),g.iushrn(8),P[w-r-1]=v}return P},l.prototype._countBits=Math.clz32?function(n){return 32-Math.clz32(n)}:function(n){var s=n,f=0;return s>=4096&&(f+=13,s>>>=13),s>=64&&(f+=7,s>>>=7),s>=8&&(f+=4,s>>>=4),s>=2&&(f+=2,s>>>=2),f+s},l.prototype._zeroBits=function(n){if(0===n)return 26;var s=n,f=0;return 8191&s||(f+=13,s>>>=13),127&s||(f+=7,s>>>=7),15&s||(f+=4,s>>>=4),3&s||(f+=2,s>>>=2),1&s||f++,f},l.prototype.bitLength=function(){var s=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+s},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,s=0;s<this.length;s++){var f=this._zeroBits(this.words[s]);if(n+=f,26!==f)break}return n},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(n){return 0!==this.negative?this.abs().inotn(n).iaddn(1):this.clone()},l.prototype.fromTwos=function(n){return this.testn(n-1)?this.notn(n).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(n){for(;this.length<n.length;)this.words[this.length++]=0;for(var s=0;s<n.length;s++)this.words[s]=this.words[s]|n.words[s];return this.strip()},l.prototype.ior=function(n){return y(0==(this.negative|n.negative)),this.iuor(n)},l.prototype.or=function(n){return this.length>n.length?this.clone().ior(n):n.clone().ior(this)},l.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},l.prototype.iuand=function(n){var s;s=this.length>n.length?n:this;for(var f=0;f<s.length;f++)this.words[f]=this.words[f]&n.words[f];return this.length=s.length,this.strip()},l.prototype.iand=function(n){return y(0==(this.negative|n.negative)),this.iuand(n)},l.prototype.and=function(n){return this.length>n.length?this.clone().iand(n):n.clone().iand(this)},l.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},l.prototype.iuxor=function(n){var s,f;this.length>n.length?(s=this,f=n):(s=n,f=this);for(var h=0;h<f.length;h++)this.words[h]=s.words[h]^f.words[h];if(this!==s)for(;h<s.length;h++)this.words[h]=s.words[h];return this.length=s.length,this.strip()},l.prototype.ixor=function(n){return y(0==(this.negative|n.negative)),this.iuxor(n)},l.prototype.xor=function(n){return this.length>n.length?this.clone().ixor(n):n.clone().ixor(this)},l.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},l.prototype.inotn=function(n){y("number"==typeof n&&n>=0);var s=0|Math.ceil(n/26),f=n%26;this._expand(s),f>0&&s--;for(var h=0;h<s;h++)this.words[h]=67108863&~this.words[h];return f>0&&(this.words[h]=~this.words[h]&67108863>>26-f),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,s){y("number"==typeof n&&n>=0);var f=n/26|0,h=n%26;return this._expand(f+1),this.words[f]=s?this.words[f]|1<<h:this.words[f]&~(1<<h),this.strip()},l.prototype.iadd=function(n){var s,f,h;if(0!==this.negative&&0===n.negative)return this.negative=0,s=this.isub(n),this.negative^=1,this._normSign();if(0===this.negative&&0!==n.negative)return n.negative=0,s=this.isub(n),n.negative=1,s._normSign();this.length>n.length?(f=this,h=n):(f=n,h=this);for(var w=0,D=0;D<h.length;D++)this.words[D]=67108863&(s=(0|f.words[D])+(0|h.words[D])+w),w=s>>>26;for(;0!==w&&D<f.length;D++)this.words[D]=67108863&(s=(0|f.words[D])+w),w=s>>>26;if(this.length=f.length,0!==w)this.words[this.length]=w,this.length++;else if(f!==this)for(;D<f.length;D++)this.words[D]=f.words[D];return this},l.prototype.add=function(n){var s;return 0!==n.negative&&0===this.negative?(n.negative=0,s=this.sub(n),n.negative^=1,s):0===n.negative&&0!==this.negative?(this.negative=0,s=n.sub(this),this.negative=1,s):this.length>n.length?this.clone().iadd(n):n.clone().iadd(this)},l.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var s=this.iadd(n);return n.negative=1,s._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,w,f=this.cmp(n);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(h=this,w=n):(h=n,w=this);for(var D=0,P=0;P<w.length;P++)D=(s=(0|h.words[P])-(0|w.words[P])+D)>>26,this.words[P]=67108863&s;for(;0!==D&&P<h.length;P++)D=(s=(0|h.words[P])+D)>>26,this.words[P]=67108863&s;if(0===D&&P<h.length&&h!==this)for(;P<h.length;P++)this.words[P]=h.words[P];return this.length=Math.max(this.length,P),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(n){return this.clone().isub(n)};var G=function(n,s,f){var v,r,g,h=n.words,w=s.words,D=f.words,P=0,H=0|h[0],N=8191&H,te=H>>>13,De=0|h[1],st=8191&De,je=De>>>13,$e=0|h[2],ye=8191&$e,fe=$e>>>13,de=0|h[3],Ce=8191&de,le=de>>>13,ge=0|h[4],qe=8191&ge,oe=ge>>>13,ve=0|h[5],ce=8191&ve,Ge=ve>>>13,Ze=0|h[6],wt=8191&Ze,mt=Ze>>>13,kt=0|h[7],Ae=8191&kt,ze=kt>>>13,nt=0|h[8],et=8191&nt,ke=nt>>>13,ct=0|h[9],Qe=8191&ct,Et=ct>>>13,lt=0|w[0],Ke=8191&lt,Be=lt>>>13,Xt=0|w[1],J=8191&Xt,We=Xt>>>13,Ft=0|w[2],Ct=8191&Ft,Pt=Ft>>>13,xt=0|w[3],rt=8191&xt,Ee=xt>>>13,it=0|w[4],Ue=8191&it,Je=it>>>13,_t=0|w[5],Le=8191&_t,be=_t>>>13,ee=0|w[6],ne=8191&ee,Ie=ee>>>13,Ht=0|w[7],At=8191&Ht,Zt=Ht>>>13,pi=0|w[8],Jt=8191&pi,qt=pi>>>13,Hi=0|w[9],di=8191&Hi,fi=Hi>>>13;f.negative=n.negative^s.negative,f.length=19;var un=(P+(v=Math.imul(N,Ke))|0)+((8191&(r=(r=Math.imul(N,Be))+Math.imul(te,Ke)|0))<<13)|0;P=((g=Math.imul(te,Be))+(r>>>13)|0)+(un>>>26)|0,un&=67108863,v=Math.imul(st,Ke),r=(r=Math.imul(st,Be))+Math.imul(je,Ke)|0,g=Math.imul(je,Be);var Qi=(P+(v=v+Math.imul(N,J)|0)|0)+((8191&(r=(r=r+Math.imul(N,We)|0)+Math.imul(te,J)|0))<<13)|0;P=((g=g+Math.imul(te,We)|0)+(r>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,v=Math.imul(ye,Ke),r=(r=Math.imul(ye,Be))+Math.imul(fe,Ke)|0,g=Math.imul(fe,Be),v=v+Math.imul(st,J)|0,r=(r=r+Math.imul(st,We)|0)+Math.imul(je,J)|0,g=g+Math.imul(je,We)|0;var xi=(P+(v=v+Math.imul(N,Ct)|0)|0)+((8191&(r=(r=r+Math.imul(N,Pt)|0)+Math.imul(te,Ct)|0))<<13)|0;P=((g=g+Math.imul(te,Pt)|0)+(r>>>13)|0)+(xi>>>26)|0,xi&=67108863,v=Math.imul(Ce,Ke),r=(r=Math.imul(Ce,Be))+Math.imul(le,Ke)|0,g=Math.imul(le,Be),v=v+Math.imul(ye,J)|0,r=(r=r+Math.imul(ye,We)|0)+Math.imul(fe,J)|0,g=g+Math.imul(fe,We)|0,v=v+Math.imul(st,Ct)|0,r=(r=r+Math.imul(st,Pt)|0)+Math.imul(je,Ct)|0,g=g+Math.imul(je,Pt)|0;var sn=(P+(v=v+Math.imul(N,rt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ee)|0)+Math.imul(te,rt)|0))<<13)|0;P=((g=g+Math.imul(te,Ee)|0)+(r>>>13)|0)+(sn>>>26)|0,sn&=67108863,v=Math.imul(qe,Ke),r=(r=Math.imul(qe,Be))+Math.imul(oe,Ke)|0,g=Math.imul(oe,Be),v=v+Math.imul(Ce,J)|0,r=(r=r+Math.imul(Ce,We)|0)+Math.imul(le,J)|0,g=g+Math.imul(le,We)|0,v=v+Math.imul(ye,Ct)|0,r=(r=r+Math.imul(ye,Pt)|0)+Math.imul(fe,Ct)|0,g=g+Math.imul(fe,Pt)|0,v=v+Math.imul(st,rt)|0,r=(r=r+Math.imul(st,Ee)|0)+Math.imul(je,rt)|0,g=g+Math.imul(je,Ee)|0;var ot=(P+(v=v+Math.imul(N,Ue)|0)|0)+((8191&(r=(r=r+Math.imul(N,Je)|0)+Math.imul(te,Ue)|0))<<13)|0;P=((g=g+Math.imul(te,Je)|0)+(r>>>13)|0)+(ot>>>26)|0,ot&=67108863,v=Math.imul(ce,Ke),r=(r=Math.imul(ce,Be))+Math.imul(Ge,Ke)|0,g=Math.imul(Ge,Be),v=v+Math.imul(qe,J)|0,r=(r=r+Math.imul(qe,We)|0)+Math.imul(oe,J)|0,g=g+Math.imul(oe,We)|0,v=v+Math.imul(Ce,Ct)|0,r=(r=r+Math.imul(Ce,Pt)|0)+Math.imul(le,Ct)|0,g=g+Math.imul(le,Pt)|0,v=v+Math.imul(ye,rt)|0,r=(r=r+Math.imul(ye,Ee)|0)+Math.imul(fe,rt)|0,g=g+Math.imul(fe,Ee)|0,v=v+Math.imul(st,Ue)|0,r=(r=r+Math.imul(st,Je)|0)+Math.imul(je,Ue)|0,g=g+Math.imul(je,Je)|0;var si=(P+(v=v+Math.imul(N,Le)|0)|0)+((8191&(r=(r=r+Math.imul(N,be)|0)+Math.imul(te,Le)|0))<<13)|0;P=((g=g+Math.imul(te,be)|0)+(r>>>13)|0)+(si>>>26)|0,si&=67108863,v=Math.imul(wt,Ke),r=(r=Math.imul(wt,Be))+Math.imul(mt,Ke)|0,g=Math.imul(mt,Be),v=v+Math.imul(ce,J)|0,r=(r=r+Math.imul(ce,We)|0)+Math.imul(Ge,J)|0,g=g+Math.imul(Ge,We)|0,v=v+Math.imul(qe,Ct)|0,r=(r=r+Math.imul(qe,Pt)|0)+Math.imul(oe,Ct)|0,g=g+Math.imul(oe,Pt)|0,v=v+Math.imul(Ce,rt)|0,r=(r=r+Math.imul(Ce,Ee)|0)+Math.imul(le,rt)|0,g=g+Math.imul(le,Ee)|0,v=v+Math.imul(ye,Ue)|0,r=(r=r+Math.imul(ye,Je)|0)+Math.imul(fe,Ue)|0,g=g+Math.imul(fe,Je)|0,v=v+Math.imul(st,Le)|0,r=(r=r+Math.imul(st,be)|0)+Math.imul(je,Le)|0,g=g+Math.imul(je,be)|0;var we=(P+(v=v+Math.imul(N,ne)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ie)|0)+Math.imul(te,ne)|0))<<13)|0;P=((g=g+Math.imul(te,Ie)|0)+(r>>>13)|0)+(we>>>26)|0,we&=67108863,v=Math.imul(Ae,Ke),r=(r=Math.imul(Ae,Be))+Math.imul(ze,Ke)|0,g=Math.imul(ze,Be),v=v+Math.imul(wt,J)|0,r=(r=r+Math.imul(wt,We)|0)+Math.imul(mt,J)|0,g=g+Math.imul(mt,We)|0,v=v+Math.imul(ce,Ct)|0,r=(r=r+Math.imul(ce,Pt)|0)+Math.imul(Ge,Ct)|0,g=g+Math.imul(Ge,Pt)|0,v=v+Math.imul(qe,rt)|0,r=(r=r+Math.imul(qe,Ee)|0)+Math.imul(oe,rt)|0,g=g+Math.imul(oe,Ee)|0,v=v+Math.imul(Ce,Ue)|0,r=(r=r+Math.imul(Ce,Je)|0)+Math.imul(le,Ue)|0,g=g+Math.imul(le,Je)|0,v=v+Math.imul(ye,Le)|0,r=(r=r+Math.imul(ye,be)|0)+Math.imul(fe,Le)|0,g=g+Math.imul(fe,be)|0,v=v+Math.imul(st,ne)|0,r=(r=r+Math.imul(st,Ie)|0)+Math.imul(je,ne)|0,g=g+Math.imul(je,Ie)|0;var St=(P+(v=v+Math.imul(N,At)|0)|0)+((8191&(r=(r=r+Math.imul(N,Zt)|0)+Math.imul(te,At)|0))<<13)|0;P=((g=g+Math.imul(te,Zt)|0)+(r>>>13)|0)+(St>>>26)|0,St&=67108863,v=Math.imul(et,Ke),r=(r=Math.imul(et,Be))+Math.imul(ke,Ke)|0,g=Math.imul(ke,Be),v=v+Math.imul(Ae,J)|0,r=(r=r+Math.imul(Ae,We)|0)+Math.imul(ze,J)|0,g=g+Math.imul(ze,We)|0,v=v+Math.imul(wt,Ct)|0,r=(r=r+Math.imul(wt,Pt)|0)+Math.imul(mt,Ct)|0,g=g+Math.imul(mt,Pt)|0,v=v+Math.imul(ce,rt)|0,r=(r=r+Math.imul(ce,Ee)|0)+Math.imul(Ge,rt)|0,g=g+Math.imul(Ge,Ee)|0,v=v+Math.imul(qe,Ue)|0,r=(r=r+Math.imul(qe,Je)|0)+Math.imul(oe,Ue)|0,g=g+Math.imul(oe,Je)|0,v=v+Math.imul(Ce,Le)|0,r=(r=r+Math.imul(Ce,be)|0)+Math.imul(le,Le)|0,g=g+Math.imul(le,be)|0,v=v+Math.imul(ye,ne)|0,r=(r=r+Math.imul(ye,Ie)|0)+Math.imul(fe,ne)|0,g=g+Math.imul(fe,Ie)|0,v=v+Math.imul(st,At)|0,r=(r=r+Math.imul(st,Zt)|0)+Math.imul(je,At)|0,g=g+Math.imul(je,Zt)|0;var zt=(P+(v=v+Math.imul(N,Jt)|0)|0)+((8191&(r=(r=r+Math.imul(N,qt)|0)+Math.imul(te,Jt)|0))<<13)|0;P=((g=g+Math.imul(te,qt)|0)+(r>>>13)|0)+(zt>>>26)|0,zt&=67108863,v=Math.imul(Qe,Ke),r=(r=Math.imul(Qe,Be))+Math.imul(Et,Ke)|0,g=Math.imul(Et,Be),v=v+Math.imul(et,J)|0,r=(r=r+Math.imul(et,We)|0)+Math.imul(ke,J)|0,g=g+Math.imul(ke,We)|0,v=v+Math.imul(Ae,Ct)|0,r=(r=r+Math.imul(Ae,Pt)|0)+Math.imul(ze,Ct)|0,g=g+Math.imul(ze,Pt)|0,v=v+Math.imul(wt,rt)|0,r=(r=r+Math.imul(wt,Ee)|0)+Math.imul(mt,rt)|0,g=g+Math.imul(mt,Ee)|0,v=v+Math.imul(ce,Ue)|0,r=(r=r+Math.imul(ce,Je)|0)+Math.imul(Ge,Ue)|0,g=g+Math.imul(Ge,Je)|0,v=v+Math.imul(qe,Le)|0,r=(r=r+Math.imul(qe,be)|0)+Math.imul(oe,Le)|0,g=g+Math.imul(oe,be)|0,v=v+Math.imul(Ce,ne)|0,r=(r=r+Math.imul(Ce,Ie)|0)+Math.imul(le,ne)|0,g=g+Math.imul(le,Ie)|0,v=v+Math.imul(ye,At)|0,r=(r=r+Math.imul(ye,Zt)|0)+Math.imul(fe,At)|0,g=g+Math.imul(fe,Zt)|0,v=v+Math.imul(st,Jt)|0,r=(r=r+Math.imul(st,qt)|0)+Math.imul(je,Jt)|0,g=g+Math.imul(je,qt)|0;var Dt=(P+(v=v+Math.imul(N,di)|0)|0)+((8191&(r=(r=r+Math.imul(N,fi)|0)+Math.imul(te,di)|0))<<13)|0;P=((g=g+Math.imul(te,fi)|0)+(r>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,v=Math.imul(Qe,J),r=(r=Math.imul(Qe,We))+Math.imul(Et,J)|0,g=Math.imul(Et,We),v=v+Math.imul(et,Ct)|0,r=(r=r+Math.imul(et,Pt)|0)+Math.imul(ke,Ct)|0,g=g+Math.imul(ke,Pt)|0,v=v+Math.imul(Ae,rt)|0,r=(r=r+Math.imul(Ae,Ee)|0)+Math.imul(ze,rt)|0,g=g+Math.imul(ze,Ee)|0,v=v+Math.imul(wt,Ue)|0,r=(r=r+Math.imul(wt,Je)|0)+Math.imul(mt,Ue)|0,g=g+Math.imul(mt,Je)|0,v=v+Math.imul(ce,Le)|0,r=(r=r+Math.imul(ce,be)|0)+Math.imul(Ge,Le)|0,g=g+Math.imul(Ge,be)|0,v=v+Math.imul(qe,ne)|0,r=(r=r+Math.imul(qe,Ie)|0)+Math.imul(oe,ne)|0,g=g+Math.imul(oe,Ie)|0,v=v+Math.imul(Ce,At)|0,r=(r=r+Math.imul(Ce,Zt)|0)+Math.imul(le,At)|0,g=g+Math.imul(le,Zt)|0,v=v+Math.imul(ye,Jt)|0,r=(r=r+Math.imul(ye,qt)|0)+Math.imul(fe,Jt)|0,g=g+Math.imul(fe,qt)|0;var Lt=(P+(v=v+Math.imul(st,di)|0)|0)+((8191&(r=(r=r+Math.imul(st,fi)|0)+Math.imul(je,di)|0))<<13)|0;P=((g=g+Math.imul(je,fi)|0)+(r>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,v=Math.imul(Qe,Ct),r=(r=Math.imul(Qe,Pt))+Math.imul(Et,Ct)|0,g=Math.imul(Et,Pt),v=v+Math.imul(et,rt)|0,r=(r=r+Math.imul(et,Ee)|0)+Math.imul(ke,rt)|0,g=g+Math.imul(ke,Ee)|0,v=v+Math.imul(Ae,Ue)|0,r=(r=r+Math.imul(Ae,Je)|0)+Math.imul(ze,Ue)|0,g=g+Math.imul(ze,Je)|0,v=v+Math.imul(wt,Le)|0,r=(r=r+Math.imul(wt,be)|0)+Math.imul(mt,Le)|0,g=g+Math.imul(mt,be)|0,v=v+Math.imul(ce,ne)|0,r=(r=r+Math.imul(ce,Ie)|0)+Math.imul(Ge,ne)|0,g=g+Math.imul(Ge,Ie)|0,v=v+Math.imul(qe,At)|0,r=(r=r+Math.imul(qe,Zt)|0)+Math.imul(oe,At)|0,g=g+Math.imul(oe,Zt)|0,v=v+Math.imul(Ce,Jt)|0,r=(r=r+Math.imul(Ce,qt)|0)+Math.imul(le,Jt)|0,g=g+Math.imul(le,qt)|0;var Bt=(P+(v=v+Math.imul(ye,di)|0)|0)+((8191&(r=(r=r+Math.imul(ye,fi)|0)+Math.imul(fe,di)|0))<<13)|0;P=((g=g+Math.imul(fe,fi)|0)+(r>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,v=Math.imul(Qe,rt),r=(r=Math.imul(Qe,Ee))+Math.imul(Et,rt)|0,g=Math.imul(Et,Ee),v=v+Math.imul(et,Ue)|0,r=(r=r+Math.imul(et,Je)|0)+Math.imul(ke,Ue)|0,g=g+Math.imul(ke,Je)|0,v=v+Math.imul(Ae,Le)|0,r=(r=r+Math.imul(Ae,be)|0)+Math.imul(ze,Le)|0,g=g+Math.imul(ze,be)|0,v=v+Math.imul(wt,ne)|0,r=(r=r+Math.imul(wt,Ie)|0)+Math.imul(mt,ne)|0,g=g+Math.imul(mt,Ie)|0,v=v+Math.imul(ce,At)|0,r=(r=r+Math.imul(ce,Zt)|0)+Math.imul(Ge,At)|0,g=g+Math.imul(Ge,Zt)|0,v=v+Math.imul(qe,Jt)|0,r=(r=r+Math.imul(qe,qt)|0)+Math.imul(oe,Jt)|0,g=g+Math.imul(oe,qt)|0;var ai=(P+(v=v+Math.imul(Ce,di)|0)|0)+((8191&(r=(r=r+Math.imul(Ce,fi)|0)+Math.imul(le,di)|0))<<13)|0;P=((g=g+Math.imul(le,fi)|0)+(r>>>13)|0)+(ai>>>26)|0,ai&=67108863,v=Math.imul(Qe,Ue),r=(r=Math.imul(Qe,Je))+Math.imul(Et,Ue)|0,g=Math.imul(Et,Je),v=v+Math.imul(et,Le)|0,r=(r=r+Math.imul(et,be)|0)+Math.imul(ke,Le)|0,g=g+Math.imul(ke,be)|0,v=v+Math.imul(Ae,ne)|0,r=(r=r+Math.imul(Ae,Ie)|0)+Math.imul(ze,ne)|0,g=g+Math.imul(ze,Ie)|0,v=v+Math.imul(wt,At)|0,r=(r=r+Math.imul(wt,Zt)|0)+Math.imul(mt,At)|0,g=g+Math.imul(mt,Zt)|0,v=v+Math.imul(ce,Jt)|0,r=(r=r+Math.imul(ce,qt)|0)+Math.imul(Ge,Jt)|0,g=g+Math.imul(Ge,qt)|0;var vi=(P+(v=v+Math.imul(qe,di)|0)|0)+((8191&(r=(r=r+Math.imul(qe,fi)|0)+Math.imul(oe,di)|0))<<13)|0;P=((g=g+Math.imul(oe,fi)|0)+(r>>>13)|0)+(vi>>>26)|0,vi&=67108863,v=Math.imul(Qe,Le),r=(r=Math.imul(Qe,be))+Math.imul(Et,Le)|0,g=Math.imul(Et,be),v=v+Math.imul(et,ne)|0,r=(r=r+Math.imul(et,Ie)|0)+Math.imul(ke,ne)|0,g=g+Math.imul(ke,Ie)|0,v=v+Math.imul(Ae,At)|0,r=(r=r+Math.imul(Ae,Zt)|0)+Math.imul(ze,At)|0,g=g+Math.imul(ze,Zt)|0,v=v+Math.imul(wt,Jt)|0,r=(r=r+Math.imul(wt,qt)|0)+Math.imul(mt,Jt)|0,g=g+Math.imul(mt,qt)|0;var bi=(P+(v=v+Math.imul(ce,di)|0)|0)+((8191&(r=(r=r+Math.imul(ce,fi)|0)+Math.imul(Ge,di)|0))<<13)|0;P=((g=g+Math.imul(Ge,fi)|0)+(r>>>13)|0)+(bi>>>26)|0,bi&=67108863,v=Math.imul(Qe,ne),r=(r=Math.imul(Qe,Ie))+Math.imul(Et,ne)|0,g=Math.imul(Et,Ie),v=v+Math.imul(et,At)|0,r=(r=r+Math.imul(et,Zt)|0)+Math.imul(ke,At)|0,g=g+Math.imul(ke,Zt)|0,v=v+Math.imul(Ae,Jt)|0,r=(r=r+Math.imul(Ae,qt)|0)+Math.imul(ze,Jt)|0,g=g+Math.imul(ze,qt)|0;var ki=(P+(v=v+Math.imul(wt,di)|0)|0)+((8191&(r=(r=r+Math.imul(wt,fi)|0)+Math.imul(mt,di)|0))<<13)|0;P=((g=g+Math.imul(mt,fi)|0)+(r>>>13)|0)+(ki>>>26)|0,ki&=67108863,v=Math.imul(Qe,At),r=(r=Math.imul(Qe,Zt))+Math.imul(Et,At)|0,g=Math.imul(Et,Zt),v=v+Math.imul(et,Jt)|0,r=(r=r+Math.imul(et,qt)|0)+Math.imul(ke,Jt)|0,g=g+Math.imul(ke,qt)|0;var Bi=(P+(v=v+Math.imul(Ae,di)|0)|0)+((8191&(r=(r=r+Math.imul(Ae,fi)|0)+Math.imul(ze,di)|0))<<13)|0;P=((g=g+Math.imul(ze,fi)|0)+(r>>>13)|0)+(Bi>>>26)|0,Bi&=67108863,v=Math.imul(Qe,Jt),r=(r=Math.imul(Qe,qt))+Math.imul(Et,Jt)|0,g=Math.imul(Et,qt);var Vi=(P+(v=v+Math.imul(et,di)|0)|0)+((8191&(r=(r=r+Math.imul(et,fi)|0)+Math.imul(ke,di)|0))<<13)|0;P=((g=g+Math.imul(ke,fi)|0)+(r>>>13)|0)+(Vi>>>26)|0,Vi&=67108863;var jt=(P+(v=Math.imul(Qe,di))|0)+((8191&(r=(r=Math.imul(Qe,fi))+Math.imul(Et,di)|0))<<13)|0;return P=((g=Math.imul(Et,fi))+(r>>>13)|0)+(jt>>>26)|0,jt&=67108863,D[0]=un,D[1]=Qi,D[2]=xi,D[3]=sn,D[4]=ot,D[5]=si,D[6]=we,D[7]=St,D[8]=zt,D[9]=Dt,D[10]=Lt,D[11]=Bt,D[12]=ai,D[13]=vi,D[14]=bi,D[15]=ki,D[16]=Bi,D[17]=Vi,D[18]=jt,0!==P&&(D[19]=P,f.length++),f};function W(S,n,s){return(new K).mulp(S,n,s)}function K(S,n){this.x=S,this.y=n}Math.imul||(G=V),l.prototype.mulTo=function(n,s){var f,h=this.length+n.length;return f=10===this.length&&10===n.length?G(this,n,s):h<63?V(this,n,s):h<1024?function j(S,n,s){s.negative=n.negative^S.negative,s.length=S.length+n.length;for(var f=0,h=0,w=0;w<s.length-1;w++){var D=h;h=0;for(var P=67108863&f,v=Math.min(w,n.length-1),r=Math.max(0,w-S.length+1);r<=v;r++){var te=(0|S.words[w-r])*(0|n.words[r]),De=67108863&te;P=67108863&(De=De+P|0),h+=(D=(D=D+(te/67108864|0)|0)+(De>>>26)|0)>>>26,D&=67108863}s.words[w]=P,f=D,D=h}return 0!==f?s.words[w]=f:s.length--,s.strip()}(this,n,s):W(this,n,s),f},K.prototype.makeRBT=function(n){for(var s=new Array(n),f=l.prototype._countBits(n)-1,h=0;h<n;h++)s[h]=this.revBin(h,f,n);return s},K.prototype.revBin=function(n,s,f){if(0===n||n===f-1)return n;for(var h=0,w=0;w<s;w++)h|=(1&n)<<s-w-1,n>>=1;return h},K.prototype.permute=function(n,s,f,h,w,D){for(var P=0;P<D;P++)h[P]=s[n[P]],w[P]=f[n[P]]},K.prototype.transform=function(n,s,f,h,w,D){this.permute(D,n,s,f,h,w);for(var P=1;P<w;P<<=1)for(var v=P<<1,r=Math.cos(2*Math.PI/v),g=Math.sin(2*Math.PI/v),H=0;H<w;H+=v)for(var N=r,te=g,De=0;De<P;De++){var st=f[H+De],je=h[H+De],$e=f[H+De+P],ye=h[H+De+P],fe=N*$e-te*ye;ye=N*ye+te*$e,f[H+De]=st+($e=fe),h[H+De]=je+ye,f[H+De+P]=st-$e,h[H+De+P]=je-ye,De!==v&&(fe=r*N-g*te,te=r*te+g*N,N=fe)}},K.prototype.guessLen13b=function(n,s){var f=1|Math.max(s,n),h=1&f,w=0;for(f=f/2|0;f;f>>>=1)w++;return 1<<w+1+h},K.prototype.conjugate=function(n,s,f){if(!(f<=1))for(var h=0;h<f/2;h++){var w=n[h];n[h]=n[f-h-1],n[f-h-1]=w,w=s[h],s[h]=-s[f-h-1],s[f-h-1]=-w}},K.prototype.normalize13b=function(n,s){for(var f=0,h=0;h<s/2;h++){var w=8192*Math.round(n[2*h+1]/s)+Math.round(n[2*h]/s)+f;n[h]=67108863&w,f=w<67108864?0:w/67108864|0}return n},K.prototype.convert13b=function(n,s,f,h){for(var w=0,D=0;D<s;D++)f[2*D]=8191&(w+=0|n[D]),f[2*D+1]=8191&(w>>>=13),w>>>=13;for(D=2*s;D<h;++D)f[D]=0;y(0===w),y(0==(-8192&w))},K.prototype.stub=function(n){for(var s=new Array(n),f=0;f<n;f++)s[f]=0;return s},K.prototype.mulp=function(n,s,f){var h=2*this.guessLen13b(n.length,s.length),w=this.makeRBT(h),D=this.stub(h),P=new Array(h),v=new Array(h),r=new Array(h),g=new Array(h),H=new Array(h),N=new Array(h),te=f.words;te.length=h,this.convert13b(n.words,n.length,P,h),this.convert13b(s.words,s.length,g,h),this.transform(P,D,v,r,h,w),this.transform(g,D,H,N,h,w);for(var De=0;De<h;De++){var st=v[De]*H[De]-r[De]*N[De];r[De]=v[De]*N[De]+r[De]*H[De],v[De]=st}return this.conjugate(v,r,h),this.transform(v,r,te,D,h,w),this.conjugate(te,D,h),this.normalize13b(te,h),f.negative=n.negative^s.negative,f.length=n.length+s.length,f.strip()},l.prototype.mul=function(n){var s=new l(null);return s.words=new Array(this.length+n.length),this.mulTo(n,s)},l.prototype.mulf=function(n){var s=new l(null);return s.words=new Array(this.length+n.length),W(this,n,s)},l.prototype.imul=function(n){return this.clone().mulTo(n,this)},l.prototype.imuln=function(n){y("number"==typeof n),y(n<67108864);for(var s=0,f=0;f<this.length;f++){var h=(0|this.words[f])*n,w=(67108863&h)+(67108863&s);s>>=26,s+=h/67108864|0,s+=w>>>26,this.words[f]=67108863&w}return 0!==s&&(this.words[f]=s,this.length++),this},l.prototype.muln=function(n){return this.clone().imuln(n)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(n){var s=function k(S){for(var n=new Array(S.bitLength()),s=0;s<n.length;s++){var h=s%26;n[s]=(S.words[s/26|0]&1<<h)>>>h}return n}(n);if(0===s.length)return new l(1);for(var f=this,h=0;h<s.length&&0===s[h];h++,f=f.sqr());if(++h<s.length)for(var w=f.sqr();h<s.length;h++,w=w.sqr())0!==s[h]&&(f=f.mul(w));return f},l.prototype.iushln=function(n){y("number"==typeof n&&n>=0);var w,s=n%26,f=(n-s)/26,h=67108863>>>26-s<<26-s;if(0!==s){var D=0;for(w=0;w<this.length;w++){var P=this.words[w]&h;this.words[w]=(0|this.words[w])-P<<s|D,D=P>>>26-s}D&&(this.words[w]=D,this.length++)}if(0!==f){for(w=this.length-1;w>=0;w--)this.words[w+f]=this.words[w];for(w=0;w<f;w++)this.words[w]=0;this.length+=f}return this.strip()},l.prototype.ishln=function(n){return y(0===this.negative),this.iushln(n)},l.prototype.iushrn=function(n,s,f){var h;y("number"==typeof n&&n>=0),h=s?(s-s%26)/26:0;var w=n%26,D=Math.min((n-w)/26,this.length),P=67108863^67108863>>>w<<w,v=f;if(h-=D,h=Math.max(0,h),v){for(var r=0;r<D;r++)v.words[r]=this.words[r];v.length=D}if(0!==D)if(this.length>D)for(this.length-=D,r=0;r<this.length;r++)this.words[r]=this.words[r+D];else this.words[0]=0,this.length=1;var g=0;for(r=this.length-1;r>=0&&(0!==g||r>=h);r--){var H=0|this.words[r];this.words[r]=g<<26-w|H>>>w,g=H&P}return v&&0!==g&&(v.words[v.length++]=g),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,s,f){return y(0===this.negative),this.iushrn(n,s,f)},l.prototype.shln=function(n){return this.clone().ishln(n)},l.prototype.ushln=function(n){return this.clone().iushln(n)},l.prototype.shrn=function(n){return this.clone().ishrn(n)},l.prototype.ushrn=function(n){return this.clone().iushrn(n)},l.prototype.testn=function(n){y("number"==typeof n&&n>=0);var s=n%26,f=(n-s)/26;return!(this.length<=f||!(this.words[f]&1<<s))},l.prototype.imaskn=function(n){y("number"==typeof n&&n>=0);var s=n%26,f=(n-s)/26;return y(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==s&&f++,this.length=Math.min(f,this.length),0!==s&&(this.words[this.length-1]&=67108863^67108863>>>s<<s),this.strip())},l.prototype.maskn=function(n){return this.clone().imaskn(n)},l.prototype.iaddn=function(n){return y("number"==typeof n),y(n<67108864),n<0?this.isubn(-n):0!==this.negative?1===this.length&&(0|this.words[0])<n?(this.words[0]=n-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(n),this.negative=1,this):this._iaddn(n)},l.prototype._iaddn=function(n){this.words[0]+=n;for(var s=0;s<this.length&&this.words[s]>=67108864;s++)this.words[s]-=67108864,s===this.length-1?this.words[s+1]=1:this.words[s+1]++;return this.length=Math.max(this.length,s+1),this},l.prototype.isubn=function(n){if(y("number"==typeof n),y(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var s=0;s<this.length&&this.words[s]<0;s++)this.words[s]+=67108864,this.words[s+1]-=1;return this.strip()},l.prototype.addn=function(n){return this.clone().iaddn(n)},l.prototype.subn=function(n){return this.clone().isubn(n)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(n,s,f){var w;this._expand(n.length+f);var D,P=0;for(w=0;w<n.length;w++){D=(0|this.words[w+f])+P;var v=(0|n.words[w])*s;P=((D-=67108863&v)>>26)-(v/67108864|0),this.words[w+f]=67108863&D}for(;w<this.length-f;w++)P=(D=(0|this.words[w+f])+P)>>26,this.words[w+f]=67108863&D;if(0===P)return this.strip();for(y(-1===P),P=0,w=0;w<this.length;w++)P=(D=-(0|this.words[w])+P)>>26,this.words[w]=67108863&D;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,s){var f,h=this.clone(),w=n,D=0|w.words[w.length-1];0!=(f=26-this._countBits(D))&&(w=w.ushln(f),h.iushln(f),D=0|w.words[w.length-1]);var r,v=h.length-w.length;if("mod"!==s){(r=new l(null)).length=v+1,r.words=new Array(r.length);for(var g=0;g<r.length;g++)r.words[g]=0}var H=h.clone()._ishlnsubmul(w,1,v);0===H.negative&&(h=H,r&&(r.words[v]=1));for(var N=v-1;N>=0;N--){var te=67108864*(0|h.words[w.length+N])+(0|h.words[w.length+N-1]);for(te=Math.min(te/D|0,67108863),h._ishlnsubmul(w,te,N);0!==h.negative;)te--,h.negative=0,h._ishlnsubmul(w,1,N),h.isZero()||(h.negative^=1);r&&(r.words[N]=te)}return r&&r.strip(),h.strip(),"div"!==s&&0!==f&&h.iushrn(f),{div:r||null,mod:h}},l.prototype.divmod=function(n,s,f){return y(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(D=this.neg().divmod(n,s),"mod"!==s&&(h=D.div.neg()),"div"!==s&&(w=D.mod.neg(),f&&0!==w.negative&&w.iadd(n)),{div:h,mod:w}):0===this.negative&&0!==n.negative?(D=this.divmod(n.neg(),s),"mod"!==s&&(h=D.div.neg()),{div:h,mod:D.mod}):this.negative&n.negative?(D=this.neg().divmod(n.neg(),s),"div"!==s&&(w=D.mod.neg(),f&&0!==w.negative&&w.isub(n)),{div:D.div,mod:w}):n.length>this.length||this.cmp(n)<0?{div:new l(0),mod:this}:1===n.length?"div"===s?{div:this.divn(n.words[0]),mod:null}:"mod"===s?{div:null,mod:new l(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new l(this.modn(n.words[0]))}:this._wordDiv(n,s);var h,w,D},l.prototype.div=function(n){return this.divmod(n,"div",!1).div},l.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},l.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},l.prototype.divRound=function(n){var s=this.divmod(n);if(s.mod.isZero())return s.div;var f=0!==s.div.negative?s.mod.isub(n):s.mod,h=n.ushrn(1),w=n.andln(1),D=f.cmp(h);return D<0||1===w&&0===D?s.div:0!==s.div.negative?s.div.isubn(1):s.div.iaddn(1)},l.prototype.modn=function(n){y(n<=67108863);for(var s=(1<<26)%n,f=0,h=this.length-1;h>=0;h--)f=(s*f+(0|this.words[h]))%n;return f},l.prototype.idivn=function(n){y(n<=67108863);for(var s=0,f=this.length-1;f>=0;f--){var h=(0|this.words[f])+67108864*s;this.words[f]=h/n|0,s=h%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){y(0===n.negative),y(!n.isZero());var s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),w=new l(0),D=new l(0),P=new l(1),v=0;s.isEven()&&f.isEven();)s.iushrn(1),f.iushrn(1),++v;for(var r=f.clone(),g=s.clone();!s.isZero();){for(var H=0,N=1;!(s.words[0]&N)&&H<26;++H,N<<=1);if(H>0)for(s.iushrn(H);H-- >0;)(h.isOdd()||w.isOdd())&&(h.iadd(r),w.isub(g)),h.iushrn(1),w.iushrn(1);for(var te=0,De=1;!(f.words[0]&De)&&te<26;++te,De<<=1);if(te>0)for(f.iushrn(te);te-- >0;)(D.isOdd()||P.isOdd())&&(D.iadd(r),P.isub(g)),D.iushrn(1),P.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(D),w.isub(P)):(f.isub(s),D.isub(h),P.isub(w))}return{a:D,b:P,gcd:f.iushln(v)}},l.prototype._invmp=function(n){y(0===n.negative),y(!n.isZero());var H,s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),w=new l(0),D=f.clone();s.cmpn(1)>0&&f.cmpn(1)>0;){for(var P=0,v=1;!(s.words[0]&v)&&P<26;++P,v<<=1);if(P>0)for(s.iushrn(P);P-- >0;)h.isOdd()&&h.iadd(D),h.iushrn(1);for(var r=0,g=1;!(f.words[0]&g)&&r<26;++r,g<<=1);if(r>0)for(f.iushrn(r);r-- >0;)w.isOdd()&&w.iadd(D),w.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(w)):(f.isub(s),w.isub(h))}return(H=0===s.cmpn(1)?h:w).cmpn(0)<0&&H.iadd(n),H},l.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var s=this.clone(),f=n.clone();s.negative=0,f.negative=0;for(var h=0;s.isEven()&&f.isEven();h++)s.iushrn(1),f.iushrn(1);for(;;){for(;s.isEven();)s.iushrn(1);for(;f.isEven();)f.iushrn(1);var w=s.cmp(f);if(w<0){var D=s;s=f,f=D}else if(0===w||0===f.cmpn(1))break;s.isub(f)}return f.iushln(h)},l.prototype.invm=function(n){return this.egcd(n).a.umod(n)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(n){return this.words[0]&n},l.prototype.bincn=function(n){y("number"==typeof n);var s=n%26,f=(n-s)/26,h=1<<s;if(this.length<=f)return this._expand(f+1),this.words[f]|=h,this;for(var w=h,D=f;0!==w&&D<this.length;D++){var P=0|this.words[D];w=(P+=w)>>>26,this.words[D]=P&=67108863}return 0!==w&&(this.words[D]=w,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var f,s=n<0;if(0!==this.negative&&!s)return-1;if(0===this.negative&&s)return 1;if(this.strip(),this.length>1)f=1;else{s&&(n=-n),y(n<=67108863,"Number is too big");var h=0|this.words[0];f=h===n?0:h<n?-1:1}return 0!==this.negative?0|-f:f},l.prototype.cmp=function(n){if(0!==this.negative&&0===n.negative)return-1;if(0===this.negative&&0!==n.negative)return 1;var s=this.ucmp(n);return 0!==this.negative?0|-s:s},l.prototype.ucmp=function(n){if(this.length>n.length)return 1;if(this.length<n.length)return-1;for(var s=0,f=this.length-1;f>=0;f--){var h=0|this.words[f],w=0|n.words[f];if(h!==w){h<w?s=-1:h>w&&(s=1);break}}return s},l.prototype.gtn=function(n){return 1===this.cmpn(n)},l.prototype.gt=function(n){return 1===this.cmp(n)},l.prototype.gten=function(n){return this.cmpn(n)>=0},l.prototype.gte=function(n){return this.cmp(n)>=0},l.prototype.ltn=function(n){return-1===this.cmpn(n)},l.prototype.lt=function(n){return-1===this.cmp(n)},l.prototype.lten=function(n){return this.cmpn(n)<=0},l.prototype.lte=function(n){return this.cmp(n)<=0},l.prototype.eqn=function(n){return 0===this.cmpn(n)},l.prototype.eq=function(n){return 0===this.cmp(n)},l.red=function(n){return new $(n)},l.prototype.toRed=function(n){return y(!this.red,"Already a number in reduction context"),y(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return y(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(n){return this.red=n,this},l.prototype.forceRed=function(n){return y(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return y(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return y(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return y(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return y(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return y(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return y(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return y(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return y(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return y(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return y(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return y(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var q={k256:null,p224:null,p192:null,p25519:null};function ie(S,n){this.name=S,this.p=new l(n,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ae(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ue(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function re(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function xe(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function $(S){if("string"==typeof S){var n=l._prime(S);this.m=n.p,this.prime=n}else y(S.gtn(1),"modulus must be greater than 1"),this.m=S,this.prime=null}function he(S){$.call(this,S),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)}ie.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ie.prototype.ireduce=function(n){var f,s=n;do{this.split(s,this.tmp),f=(s=(s=this.imulK(s)).iadd(this.tmp)).bitLength()}while(f>this.n);var h=f<this.n?-1:s.ucmp(this.p);return 0===h?(s.words[0]=0,s.length=1):h>0?s.isub(this.p):void 0!==s.strip?s.strip():s._strip(),s},ie.prototype.split=function(n,s){n.iushrn(this.n,0,s)},ie.prototype.imulK=function(n){return n.imul(this.k)},A(ae,ie),ae.prototype.split=function(n,s){for(var f=4194303,h=Math.min(n.length,9),w=0;w<h;w++)s.words[w]=n.words[w];if(s.length=h,n.length<=9)return n.words[0]=0,void(n.length=1);var D=n.words[9];for(s.words[s.length++]=D&f,w=10;w<n.length;w++){var P=0|n.words[w];n.words[w-10]=(P&f)<<4|D>>>22,D=P}n.words[w-10]=D>>>=22,n.length-=0===D&&n.length>10?10:9},ae.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var s=0,f=0;f<n.length;f++){var h=0|n.words[f];n.words[f]=67108863&(s+=977*h),s=64*h+(s/67108864|0)}return 0===n.words[n.length-1]&&(n.length--,0===n.words[n.length-1]&&n.length--),n},A(ue,ie),A(re,ie),A(xe,ie),xe.prototype.imulK=function(n){for(var s=0,f=0;f<n.length;f++){var h=19*(0|n.words[f])+s,w=67108863&h;h>>>=26,n.words[f]=w,s=h}return 0!==s&&(n.words[n.length++]=s),n},l._prime=function(n){if(q[n])return q[n];var s;if("k256"===n)s=new ae;else if("p224"===n)s=new ue;else if("p192"===n)s=new re;else{if("p25519"!==n)throw new Error("Unknown prime "+n);s=new xe}return q[n]=s,s},$.prototype._verify1=function(n){y(0===n.negative,"red works only with positives"),y(n.red,"red works only with red numbers")},$.prototype._verify2=function(n,s){y(0==(n.negative|s.negative),"red works only with positives"),y(n.red&&n.red===s.red,"red works only with red numbers")},$.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},$.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},$.prototype.add=function(n,s){this._verify2(n,s);var f=n.add(s);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},$.prototype.iadd=function(n,s){this._verify2(n,s);var f=n.iadd(s);return f.cmp(this.m)>=0&&f.isub(this.m),f},$.prototype.sub=function(n,s){this._verify2(n,s);var f=n.sub(s);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},$.prototype.isub=function(n,s){this._verify2(n,s);var f=n.isub(s);return f.cmpn(0)<0&&f.iadd(this.m),f},$.prototype.shl=function(n,s){return this._verify1(n),this.imod(n.ushln(s))},$.prototype.imul=function(n,s){return this._verify2(n,s),this.imod(n.imul(s))},$.prototype.mul=function(n,s){return this._verify2(n,s),this.imod(n.mul(s))},$.prototype.isqr=function(n){return this.imul(n,n.clone())},$.prototype.sqr=function(n){return this.mul(n,n)},$.prototype.sqrt=function(n){if(n.isZero())return n.clone();var s=this.m.andln(3);if(y(s%2==1),3===s){var f=this.m.add(new l(1)).iushrn(2);return this.pow(n,f)}for(var h=this.m.subn(1),w=0;!h.isZero()&&0===h.andln(1);)w++,h.iushrn(1);y(!h.isZero());var D=new l(1).toRed(this),P=D.redNeg(),v=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,v).cmp(P);)r.redIAdd(P);for(var g=this.pow(r,h),H=this.pow(n,h.addn(1).iushrn(1)),N=this.pow(n,h),te=w;0!==N.cmp(D);){for(var De=N,st=0;0!==De.cmp(D);st++)De=De.redSqr();y(st<te);var je=this.pow(g,new l(1).iushln(te-st-1));H=H.redMul(je),g=je.redSqr(),N=N.redMul(g),te=st}return H},$.prototype.invm=function(n){var s=n._invmp(this.m);return 0!==s.negative?(s.negative=0,this.imod(s).redNeg()):this.imod(s)},$.prototype.pow=function(n,s){if(s.isZero())return new l(1).toRed(this);if(0===s.cmpn(1))return n.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=n;for(var w=2;w<h.length;w++)h[w]=this.mul(h[w-1],n);var D=h[0],P=0,v=0,r=s.bitLength()%26;for(0===r&&(r=26),w=s.length-1;w>=0;w--){for(var g=s.words[w],H=r-1;H>=0;H--){var N=g>>H&1;D!==h[0]&&(D=this.sqr(D)),0!==N||0!==P?(P<<=1,P|=N,(4==++v||0===w&&0===H)&&(D=this.mul(D,h[P]),v=0,P=0)):v=0}r=26}return D},$.prototype.convertTo=function(n){var s=n.umod(this.m);return s===n?s.clone():s},$.prototype.convertFrom=function(n){var s=n.clone();return s.red=null,s},l.mont=function(n){return new he(n)},A(he,$),he.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},he.prototype.convertFrom=function(n){var s=this.imod(n.mul(this.rinv));return s.red=null,s},he.prototype.imul=function(n,s){if(n.isZero()||s.isZero())return n.words[0]=0,n.length=1,n;var f=n.imul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),w=f.isub(h).iushrn(this.shift),D=w;return w.cmp(this.m)>=0?D=w.isub(this.m):w.cmpn(0)<0&&(D=w.iadd(this.m)),D._forceRed(this)},he.prototype.mul=function(n,s){if(n.isZero()||s.isZero())return new l(0)._forceRed(this);var f=n.mul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),w=f.isub(h).iushrn(this.shift),D=w;return w.cmp(this.m)>=0?D=w.isub(this.m):w.cmpn(0)<0&&(D=w.iadd(this.m)),D._forceRed(this)},he.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(He=p.nmd(He),this)},9919:(He,X)=>{"use strict";X.byteLength=function m(k){var V=M(k),j=V[1];return 3*(V[0]+j)/4-j},X.toByteArray=function d(k){var V,ae,G=M(k),j=G[0],W=G[1],K=new t(function O(k,V,G){return 3*(V+G)/4-G}(0,j,W)),q=0,ie=W>0?j-4:j;for(ae=0;ae<ie;ae+=4)V=e[k.charCodeAt(ae)]<<18|e[k.charCodeAt(ae+1)]<<12|e[k.charCodeAt(ae+2)]<<6|e[k.charCodeAt(ae+3)],K[q++]=V>>16&255,K[q++]=V>>8&255,K[q++]=255&V;return 2===W&&(V=e[k.charCodeAt(ae)]<<2|e[k.charCodeAt(ae+1)]>>4,K[q++]=255&V),1===W&&(V=e[k.charCodeAt(ae)]<<10|e[k.charCodeAt(ae+1)]<<4|e[k.charCodeAt(ae+2)]>>2,K[q++]=V>>8&255,K[q++]=255&V),K},X.fromByteArray=function I(k){for(var V,G=k.length,j=G%3,W=[],K=16383,q=0,ie=G-j;q<ie;q+=K)W.push(x(k,q,q+K>ie?ie:q+K));return 1===j?W.push(p[(V=k[G-1])>>2]+p[V<<4&63]+"=="):2===j&&W.push(p[(V=(k[G-2]<<8)+k[G-1])>>10]+p[V>>4&63]+p[V<<2&63]+"="),W.join("")};for(var p=[],e=[],t=typeof Uint8Array<"u"?Uint8Array:Array,y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",A=0;A<64;++A)p[A]=y[A],e[y.charCodeAt(A)]=A;function M(k){var V=k.length;if(V%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var G=k.indexOf("=");return-1===G&&(G=V),[G,G===V?0:4-G%4]}function E(k){return p[k>>18&63]+p[k>>12&63]+p[k>>6&63]+p[63&k]}function x(k,V,G){for(var W=[],K=V;K<G;K+=3)W.push(E((k[K]<<16&16711680)+(k[K+1]<<8&65280)+(255&k[K+2])));return W.join("")}e["-".charCodeAt(0)]=62,e["_".charCodeAt(0)]=63},2662:function(He,X,p){!function(e,t){"use strict";function y(f,h){if(!f)throw new Error(h||"Assertion failed")}function A(f,h){f.super_=h;var w=function(){};w.prototype=h.prototype,f.prototype=new w,f.prototype.constructor=f}function l(f,h,w){if(l.isBN(f))return f;this.negative=0,this.words=null,this.length=0,this.red=null,null!==f&&(("le"===h||"be"===h)&&(w=h,h=10),this._init(f||0,h||10,w||"be"))}var M;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{M=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:p(6601).Buffer}catch{}function m(f,h){var w=f.charCodeAt(h);return w>=48&&w<=57?w-48:w>=65&&w<=70?w-55:w>=97&&w<=102?w-87:void y(!1,"Invalid character in "+f)}function O(f,h,w){var D=m(f,w);return w-1>=h&&(D|=m(f,w-1)<<4),D}function d(f,h,w,D){for(var P=0,v=0,r=Math.min(f.length,w),g=h;g<r;g++){var H=f.charCodeAt(g)-48;P*=D,v=H>=49?H-49+10:H>=17?H-17+10:H,y(H>=0&&v<D,"Invalid character"),P+=v}return P}function E(f,h){f.words=h.words,f.length=h.length,f.negative=h.negative,f.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,w){return h.cmp(w)>0?h:w},l.min=function(h,w){return h.cmp(w)<0?h:w},l.prototype._init=function(h,w,D){if("number"==typeof h)return this._initNumber(h,w,D);if("object"==typeof h)return this._initArray(h,w,D);"hex"===w&&(w=16),y(w===(0|w)&&w>=2&&w<=36);var P=0;"-"===(h=h.toString().replace(/\s+/g,""))[0]&&(P++,this.negative=1),P<h.length&&(16===w?this._parseHex(h,P,D):(this._parseBase(h,w,P),"le"===D&&this._initArray(this.toArray(),w,D)))},l.prototype._initNumber=function(h,w,D){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):(y(h<9007199254740992),this.words=[67108863&h,h/67108864&67108863,1],this.length=3),"le"===D&&this._initArray(this.toArray(),w,D)},l.prototype._initArray=function(h,w,D){if(y("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 P=0;P<this.length;P++)this.words[P]=0;var v,r,g=0;if("be"===D)for(P=h.length-1,v=0;P>=0;P-=3)this.words[v]|=(r=h[P]|h[P-1]<<8|h[P-2]<<16)<<g&67108863,this.words[v+1]=r>>>26-g&67108863,(g+=24)>=26&&(g-=26,v++);else if("le"===D)for(P=0,v=0;P<h.length;P+=3)this.words[v]|=(r=h[P]|h[P+1]<<8|h[P+2]<<16)<<g&67108863,this.words[v+1]=r>>>26-g&67108863,(g+=24)>=26&&(g-=26,v++);return this._strip()},l.prototype._parseHex=function(h,w,D){this.length=Math.ceil((h.length-w)/6),this.words=new Array(this.length);for(var P=0;P<this.length;P++)this.words[P]=0;var g,v=0,r=0;if("be"===D)for(P=h.length-1;P>=w;P-=2)g=O(h,w,P)<<v,this.words[r]|=67108863&g,v>=18?(v-=18,this.words[r+=1]|=g>>>26):v+=8;else for(P=(h.length-w)%2==0?w+1:w;P<h.length;P+=2)g=O(h,w,P)<<v,this.words[r]|=67108863&g,v>=18?(v-=18,this.words[r+=1]|=g>>>26):v+=8;this._strip()},l.prototype._parseBase=function(h,w,D){this.words=[0],this.length=1;for(var P=0,v=1;v<=67108863;v*=w)P++;P--,v=v/w|0;for(var r=h.length-D,g=r%P,H=Math.min(r,r-g)+D,N=0,te=D;te<H;te+=P)N=d(h,te,te+P,w),this.imuln(v),this.words[0]+N<67108864?this.words[0]+=N:this._iaddn(N);if(0!==g){var De=1;for(N=d(h,te,h.length,w),te=0;te<g;te++)De*=w;this.imuln(De),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 w=0;w<this.length;w++)h.words[w]=this.words[w];h.length=this.length,h.negative=this.negative,h.red=this.red},l.prototype._move=function(h){E(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")]=x}catch{l.prototype.inspect=x}else l.prototype.inspect=x;function x(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var I=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],k=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],V=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function W(f,h,w){w.negative=h.negative^f.negative;var D=f.length+h.length|0;w.length=D,D=D-1|0;var P=0|f.words[0],v=0|h.words[0],r=P*v,H=r/67108864|0;w.words[0]=67108863&r;for(var N=1;N<D;N++){for(var te=H>>>26,De=67108863&H,st=Math.min(N,h.length-1),je=Math.max(0,N-f.length+1);je<=st;je++)te+=(r=(P=0|f.words[N-je|0])*(v=0|h.words[je])+De)/67108864|0,De=67108863&r;w.words[N]=0|De,H=0|te}return 0!==H?w.words[N]=0|H:w.length--,w._strip()}l.prototype.toString=function(h,w){var D;if(w=0|w||1,16===(h=h||10)||"hex"===h){D="";for(var P=0,v=0,r=0;r<this.length;r++){var g=this.words[r],H=(16777215&(g<<P|v)).toString(16);v=g>>>24-P&16777215,(P+=2)>=26&&(P-=26,r--),D=0!==v||r!==this.length-1?I[6-H.length]+H+D:H+D}for(0!==v&&(D=v.toString(16)+D);D.length%w!=0;)D="0"+D;return 0!==this.negative&&(D="-"+D),D}if(h===(0|h)&&h>=2&&h<=36){var N=k[h],te=V[h];D="";var De=this.clone();for(De.negative=0;!De.isZero();){var st=De.modrn(te).toString(h);D=(De=De.idivn(te)).isZero()?st+D:I[N-st.length]+st+D}for(this.isZero()&&(D="0"+D);D.length%w!=0;)D="0"+D;return 0!==this.negative&&(D="-"+D),D}y(!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&&y(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-h:h},l.prototype.toJSON=function(){return this.toString(16,2)},M&&(l.prototype.toBuffer=function(h,w){return this.toArrayLike(M,h,w)}),l.prototype.toArray=function(h,w){return this.toArrayLike(Array,h,w)},l.prototype.toArrayLike=function(h,w,D){this._strip();var P=this.byteLength(),v=D||Math.max(1,P);y(P<=v,"byte array longer than desired length"),y(v>0,"Requested array length <= 0");var r=function(h,w){return h.allocUnsafe?h.allocUnsafe(w):new h(w)}(h,v);return this["_toArrayLike"+("le"===w?"LE":"BE")](r,P),r},l.prototype._toArrayLikeLE=function(h,w){for(var D=0,P=0,v=0,r=0;v<this.length;v++){var g=this.words[v]<<r|P;h[D++]=255&g,D<h.length&&(h[D++]=g>>8&255),D<h.length&&(h[D++]=g>>16&255),6===r?(D<h.length&&(h[D++]=g>>24&255),P=0,r=0):(P=g>>>24,r+=2)}if(D<h.length)for(h[D++]=P;D<h.length;)h[D++]=0},l.prototype._toArrayLikeBE=function(h,w){for(var D=h.length-1,P=0,v=0,r=0;v<this.length;v++){var g=this.words[v]<<r|P;h[D--]=255&g,D>=0&&(h[D--]=g>>8&255),D>=0&&(h[D--]=g>>16&255),6===r?(D>=0&&(h[D--]=g>>24&255),P=0,r=0):(P=g>>>24,r+=2)}if(D>=0)for(h[D--]=P;D>=0;)h[D--]=0},l.prototype._countBits=Math.clz32?function(h){return 32-Math.clz32(h)}:function(h){var w=h,D=0;return w>=4096&&(D+=13,w>>>=13),w>=64&&(D+=7,w>>>=7),w>=8&&(D+=4,w>>>=4),w>=2&&(D+=2,w>>>=2),D+w},l.prototype._zeroBits=function(h){if(0===h)return 26;var w=h,D=0;return 8191&w||(D+=13,w>>>=13),127&w||(D+=7,w>>>=7),15&w||(D+=4,w>>>=4),3&w||(D+=2,w>>>=2),1&w||D++,D},l.prototype.bitLength=function(){var w=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+w},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var h=0,w=0;w<this.length;w++){var D=this._zeroBits(this.words[w]);if(h+=D,26!==D)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 w=0;w<h.length;w++)this.words[w]=this.words[w]|h.words[w];return this._strip()},l.prototype.ior=function(h){return y(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 w;w=this.length>h.length?h:this;for(var D=0;D<w.length;D++)this.words[D]=this.words[D]&h.words[D];return this.length=w.length,this._strip()},l.prototype.iand=function(h){return y(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 w,D;this.length>h.length?(w=this,D=h):(w=h,D=this);for(var P=0;P<D.length;P++)this.words[P]=w.words[P]^D.words[P];if(this!==w)for(;P<w.length;P++)this.words[P]=w.words[P];return this.length=w.length,this._strip()},l.prototype.ixor=function(h){return y(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){y("number"==typeof h&&h>=0);var w=0|Math.ceil(h/26),D=h%26;this._expand(w),D>0&&w--;for(var P=0;P<w;P++)this.words[P]=67108863&~this.words[P];return D>0&&(this.words[P]=~this.words[P]&67108863>>26-D),this._strip()},l.prototype.notn=function(h){return this.clone().inotn(h)},l.prototype.setn=function(h,w){y("number"==typeof h&&h>=0);var D=h/26|0,P=h%26;return this._expand(D+1),this.words[D]=w?this.words[D]|1<<P:this.words[D]&~(1<<P),this._strip()},l.prototype.iadd=function(h){var w,D,P;if(0!==this.negative&&0===h.negative)return this.negative=0,w=this.isub(h),this.negative^=1,this._normSign();if(0===this.negative&&0!==h.negative)return h.negative=0,w=this.isub(h),h.negative=1,w._normSign();this.length>h.length?(D=this,P=h):(D=h,P=this);for(var v=0,r=0;r<P.length;r++)this.words[r]=67108863&(w=(0|D.words[r])+(0|P.words[r])+v),v=w>>>26;for(;0!==v&&r<D.length;r++)this.words[r]=67108863&(w=(0|D.words[r])+v),v=w>>>26;if(this.length=D.length,0!==v)this.words[this.length]=v,this.length++;else if(D!==this)for(;r<D.length;r++)this.words[r]=D.words[r];return this},l.prototype.add=function(h){var w;return 0!==h.negative&&0===this.negative?(h.negative=0,w=this.sub(h),h.negative^=1,w):0===h.negative&&0!==this.negative?(this.negative=0,w=h.sub(this),this.negative=1,w):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 w=this.iadd(h);return h.negative=1,w._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(h),this.negative=1,this._normSign();var P,v,D=this.cmp(h);if(0===D)return this.negative=0,this.length=1,this.words[0]=0,this;D>0?(P=this,v=h):(P=h,v=this);for(var r=0,g=0;g<v.length;g++)r=(w=(0|P.words[g])-(0|v.words[g])+r)>>26,this.words[g]=67108863&w;for(;0!==r&&g<P.length;g++)r=(w=(0|P.words[g])+r)>>26,this.words[g]=67108863&w;if(0===r&&g<P.length&&P!==this)for(;g<P.length;g++)this.words[g]=P.words[g];return this.length=Math.max(this.length,g),P!==this&&(this.negative=1),this._strip()},l.prototype.sub=function(h){return this.clone().isub(h)};var K=function(h,w,D){var H,N,te,P=h.words,v=w.words,r=D.words,g=0,De=0|P[0],st=8191&De,je=De>>>13,$e=0|P[1],ye=8191&$e,fe=$e>>>13,de=0|P[2],Ce=8191&de,le=de>>>13,ge=0|P[3],qe=8191&ge,oe=ge>>>13,ve=0|P[4],ce=8191&ve,Ge=ve>>>13,Ze=0|P[5],wt=8191&Ze,mt=Ze>>>13,kt=0|P[6],Ae=8191&kt,ze=kt>>>13,nt=0|P[7],et=8191&nt,ke=nt>>>13,ct=0|P[8],Qe=8191&ct,Et=ct>>>13,lt=0|P[9],Ke=8191&lt,Be=lt>>>13,Xt=0|v[0],J=8191&Xt,We=Xt>>>13,Ft=0|v[1],Ct=8191&Ft,Pt=Ft>>>13,xt=0|v[2],rt=8191&xt,Ee=xt>>>13,it=0|v[3],Ue=8191&it,Je=it>>>13,_t=0|v[4],Le=8191&_t,be=_t>>>13,ee=0|v[5],ne=8191&ee,Ie=ee>>>13,Ht=0|v[6],At=8191&Ht,Zt=Ht>>>13,pi=0|v[7],Jt=8191&pi,qt=pi>>>13,Hi=0|v[8],di=8191&Hi,fi=Hi>>>13,un=0|v[9],Qi=8191&un,xi=un>>>13;D.negative=h.negative^w.negative,D.length=19;var sn=(g+(H=Math.imul(st,J))|0)+((8191&(N=(N=Math.imul(st,We))+Math.imul(je,J)|0))<<13)|0;g=((te=Math.imul(je,We))+(N>>>13)|0)+(sn>>>26)|0,sn&=67108863,H=Math.imul(ye,J),N=(N=Math.imul(ye,We))+Math.imul(fe,J)|0,te=Math.imul(fe,We);var ot=(g+(H=H+Math.imul(st,Ct)|0)|0)+((8191&(N=(N=N+Math.imul(st,Pt)|0)+Math.imul(je,Ct)|0))<<13)|0;g=((te=te+Math.imul(je,Pt)|0)+(N>>>13)|0)+(ot>>>26)|0,ot&=67108863,H=Math.imul(Ce,J),N=(N=Math.imul(Ce,We))+Math.imul(le,J)|0,te=Math.imul(le,We),H=H+Math.imul(ye,Ct)|0,N=(N=N+Math.imul(ye,Pt)|0)+Math.imul(fe,Ct)|0,te=te+Math.imul(fe,Pt)|0;var si=(g+(H=H+Math.imul(st,rt)|0)|0)+((8191&(N=(N=N+Math.imul(st,Ee)|0)+Math.imul(je,rt)|0))<<13)|0;g=((te=te+Math.imul(je,Ee)|0)+(N>>>13)|0)+(si>>>26)|0,si&=67108863,H=Math.imul(qe,J),N=(N=Math.imul(qe,We))+Math.imul(oe,J)|0,te=Math.imul(oe,We),H=H+Math.imul(Ce,Ct)|0,N=(N=N+Math.imul(Ce,Pt)|0)+Math.imul(le,Ct)|0,te=te+Math.imul(le,Pt)|0,H=H+Math.imul(ye,rt)|0,N=(N=N+Math.imul(ye,Ee)|0)+Math.imul(fe,rt)|0,te=te+Math.imul(fe,Ee)|0;var we=(g+(H=H+Math.imul(st,Ue)|0)|0)+((8191&(N=(N=N+Math.imul(st,Je)|0)+Math.imul(je,Ue)|0))<<13)|0;g=((te=te+Math.imul(je,Je)|0)+(N>>>13)|0)+(we>>>26)|0,we&=67108863,H=Math.imul(ce,J),N=(N=Math.imul(ce,We))+Math.imul(Ge,J)|0,te=Math.imul(Ge,We),H=H+Math.imul(qe,Ct)|0,N=(N=N+Math.imul(qe,Pt)|0)+Math.imul(oe,Ct)|0,te=te+Math.imul(oe,Pt)|0,H=H+Math.imul(Ce,rt)|0,N=(N=N+Math.imul(Ce,Ee)|0)+Math.imul(le,rt)|0,te=te+Math.imul(le,Ee)|0,H=H+Math.imul(ye,Ue)|0,N=(N=N+Math.imul(ye,Je)|0)+Math.imul(fe,Ue)|0,te=te+Math.imul(fe,Je)|0;var St=(g+(H=H+Math.imul(st,Le)|0)|0)+((8191&(N=(N=N+Math.imul(st,be)|0)+Math.imul(je,Le)|0))<<13)|0;g=((te=te+Math.imul(je,be)|0)+(N>>>13)|0)+(St>>>26)|0,St&=67108863,H=Math.imul(wt,J),N=(N=Math.imul(wt,We))+Math.imul(mt,J)|0,te=Math.imul(mt,We),H=H+Math.imul(ce,Ct)|0,N=(N=N+Math.imul(ce,Pt)|0)+Math.imul(Ge,Ct)|0,te=te+Math.imul(Ge,Pt)|0,H=H+Math.imul(qe,rt)|0,N=(N=N+Math.imul(qe,Ee)|0)+Math.imul(oe,rt)|0,te=te+Math.imul(oe,Ee)|0,H=H+Math.imul(Ce,Ue)|0,N=(N=N+Math.imul(Ce,Je)|0)+Math.imul(le,Ue)|0,te=te+Math.imul(le,Je)|0,H=H+Math.imul(ye,Le)|0,N=(N=N+Math.imul(ye,be)|0)+Math.imul(fe,Le)|0,te=te+Math.imul(fe,be)|0;var zt=(g+(H=H+Math.imul(st,ne)|0)|0)+((8191&(N=(N=N+Math.imul(st,Ie)|0)+Math.imul(je,ne)|0))<<13)|0;g=((te=te+Math.imul(je,Ie)|0)+(N>>>13)|0)+(zt>>>26)|0,zt&=67108863,H=Math.imul(Ae,J),N=(N=Math.imul(Ae,We))+Math.imul(ze,J)|0,te=Math.imul(ze,We),H=H+Math.imul(wt,Ct)|0,N=(N=N+Math.imul(wt,Pt)|0)+Math.imul(mt,Ct)|0,te=te+Math.imul(mt,Pt)|0,H=H+Math.imul(ce,rt)|0,N=(N=N+Math.imul(ce,Ee)|0)+Math.imul(Ge,rt)|0,te=te+Math.imul(Ge,Ee)|0,H=H+Math.imul(qe,Ue)|0,N=(N=N+Math.imul(qe,Je)|0)+Math.imul(oe,Ue)|0,te=te+Math.imul(oe,Je)|0,H=H+Math.imul(Ce,Le)|0,N=(N=N+Math.imul(Ce,be)|0)+Math.imul(le,Le)|0,te=te+Math.imul(le,be)|0,H=H+Math.imul(ye,ne)|0,N=(N=N+Math.imul(ye,Ie)|0)+Math.imul(fe,ne)|0,te=te+Math.imul(fe,Ie)|0;var Dt=(g+(H=H+Math.imul(st,At)|0)|0)+((8191&(N=(N=N+Math.imul(st,Zt)|0)+Math.imul(je,At)|0))<<13)|0;g=((te=te+Math.imul(je,Zt)|0)+(N>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,H=Math.imul(et,J),N=(N=Math.imul(et,We))+Math.imul(ke,J)|0,te=Math.imul(ke,We),H=H+Math.imul(Ae,Ct)|0,N=(N=N+Math.imul(Ae,Pt)|0)+Math.imul(ze,Ct)|0,te=te+Math.imul(ze,Pt)|0,H=H+Math.imul(wt,rt)|0,N=(N=N+Math.imul(wt,Ee)|0)+Math.imul(mt,rt)|0,te=te+Math.imul(mt,Ee)|0,H=H+Math.imul(ce,Ue)|0,N=(N=N+Math.imul(ce,Je)|0)+Math.imul(Ge,Ue)|0,te=te+Math.imul(Ge,Je)|0,H=H+Math.imul(qe,Le)|0,N=(N=N+Math.imul(qe,be)|0)+Math.imul(oe,Le)|0,te=te+Math.imul(oe,be)|0,H=H+Math.imul(Ce,ne)|0,N=(N=N+Math.imul(Ce,Ie)|0)+Math.imul(le,ne)|0,te=te+Math.imul(le,Ie)|0,H=H+Math.imul(ye,At)|0,N=(N=N+Math.imul(ye,Zt)|0)+Math.imul(fe,At)|0,te=te+Math.imul(fe,Zt)|0;var Lt=(g+(H=H+Math.imul(st,Jt)|0)|0)+((8191&(N=(N=N+Math.imul(st,qt)|0)+Math.imul(je,Jt)|0))<<13)|0;g=((te=te+Math.imul(je,qt)|0)+(N>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,H=Math.imul(Qe,J),N=(N=Math.imul(Qe,We))+Math.imul(Et,J)|0,te=Math.imul(Et,We),H=H+Math.imul(et,Ct)|0,N=(N=N+Math.imul(et,Pt)|0)+Math.imul(ke,Ct)|0,te=te+Math.imul(ke,Pt)|0,H=H+Math.imul(Ae,rt)|0,N=(N=N+Math.imul(Ae,Ee)|0)+Math.imul(ze,rt)|0,te=te+Math.imul(ze,Ee)|0,H=H+Math.imul(wt,Ue)|0,N=(N=N+Math.imul(wt,Je)|0)+Math.imul(mt,Ue)|0,te=te+Math.imul(mt,Je)|0,H=H+Math.imul(ce,Le)|0,N=(N=N+Math.imul(ce,be)|0)+Math.imul(Ge,Le)|0,te=te+Math.imul(Ge,be)|0,H=H+Math.imul(qe,ne)|0,N=(N=N+Math.imul(qe,Ie)|0)+Math.imul(oe,ne)|0,te=te+Math.imul(oe,Ie)|0,H=H+Math.imul(Ce,At)|0,N=(N=N+Math.imul(Ce,Zt)|0)+Math.imul(le,At)|0,te=te+Math.imul(le,Zt)|0,H=H+Math.imul(ye,Jt)|0,N=(N=N+Math.imul(ye,qt)|0)+Math.imul(fe,Jt)|0,te=te+Math.imul(fe,qt)|0;var Bt=(g+(H=H+Math.imul(st,di)|0)|0)+((8191&(N=(N=N+Math.imul(st,fi)|0)+Math.imul(je,di)|0))<<13)|0;g=((te=te+Math.imul(je,fi)|0)+(N>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,H=Math.imul(Ke,J),N=(N=Math.imul(Ke,We))+Math.imul(Be,J)|0,te=Math.imul(Be,We),H=H+Math.imul(Qe,Ct)|0,N=(N=N+Math.imul(Qe,Pt)|0)+Math.imul(Et,Ct)|0,te=te+Math.imul(Et,Pt)|0,H=H+Math.imul(et,rt)|0,N=(N=N+Math.imul(et,Ee)|0)+Math.imul(ke,rt)|0,te=te+Math.imul(ke,Ee)|0,H=H+Math.imul(Ae,Ue)|0,N=(N=N+Math.imul(Ae,Je)|0)+Math.imul(ze,Ue)|0,te=te+Math.imul(ze,Je)|0,H=H+Math.imul(wt,Le)|0,N=(N=N+Math.imul(wt,be)|0)+Math.imul(mt,Le)|0,te=te+Math.imul(mt,be)|0,H=H+Math.imul(ce,ne)|0,N=(N=N+Math.imul(ce,Ie)|0)+Math.imul(Ge,ne)|0,te=te+Math.imul(Ge,Ie)|0,H=H+Math.imul(qe,At)|0,N=(N=N+Math.imul(qe,Zt)|0)+Math.imul(oe,At)|0,te=te+Math.imul(oe,Zt)|0,H=H+Math.imul(Ce,Jt)|0,N=(N=N+Math.imul(Ce,qt)|0)+Math.imul(le,Jt)|0,te=te+Math.imul(le,qt)|0,H=H+Math.imul(ye,di)|0,N=(N=N+Math.imul(ye,fi)|0)+Math.imul(fe,di)|0,te=te+Math.imul(fe,fi)|0;var ai=(g+(H=H+Math.imul(st,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(st,xi)|0)+Math.imul(je,Qi)|0))<<13)|0;g=((te=te+Math.imul(je,xi)|0)+(N>>>13)|0)+(ai>>>26)|0,ai&=67108863,H=Math.imul(Ke,Ct),N=(N=Math.imul(Ke,Pt))+Math.imul(Be,Ct)|0,te=Math.imul(Be,Pt),H=H+Math.imul(Qe,rt)|0,N=(N=N+Math.imul(Qe,Ee)|0)+Math.imul(Et,rt)|0,te=te+Math.imul(Et,Ee)|0,H=H+Math.imul(et,Ue)|0,N=(N=N+Math.imul(et,Je)|0)+Math.imul(ke,Ue)|0,te=te+Math.imul(ke,Je)|0,H=H+Math.imul(Ae,Le)|0,N=(N=N+Math.imul(Ae,be)|0)+Math.imul(ze,Le)|0,te=te+Math.imul(ze,be)|0,H=H+Math.imul(wt,ne)|0,N=(N=N+Math.imul(wt,Ie)|0)+Math.imul(mt,ne)|0,te=te+Math.imul(mt,Ie)|0,H=H+Math.imul(ce,At)|0,N=(N=N+Math.imul(ce,Zt)|0)+Math.imul(Ge,At)|0,te=te+Math.imul(Ge,Zt)|0,H=H+Math.imul(qe,Jt)|0,N=(N=N+Math.imul(qe,qt)|0)+Math.imul(oe,Jt)|0,te=te+Math.imul(oe,qt)|0,H=H+Math.imul(Ce,di)|0,N=(N=N+Math.imul(Ce,fi)|0)+Math.imul(le,di)|0,te=te+Math.imul(le,fi)|0;var vi=(g+(H=H+Math.imul(ye,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(ye,xi)|0)+Math.imul(fe,Qi)|0))<<13)|0;g=((te=te+Math.imul(fe,xi)|0)+(N>>>13)|0)+(vi>>>26)|0,vi&=67108863,H=Math.imul(Ke,rt),N=(N=Math.imul(Ke,Ee))+Math.imul(Be,rt)|0,te=Math.imul(Be,Ee),H=H+Math.imul(Qe,Ue)|0,N=(N=N+Math.imul(Qe,Je)|0)+Math.imul(Et,Ue)|0,te=te+Math.imul(Et,Je)|0,H=H+Math.imul(et,Le)|0,N=(N=N+Math.imul(et,be)|0)+Math.imul(ke,Le)|0,te=te+Math.imul(ke,be)|0,H=H+Math.imul(Ae,ne)|0,N=(N=N+Math.imul(Ae,Ie)|0)+Math.imul(ze,ne)|0,te=te+Math.imul(ze,Ie)|0,H=H+Math.imul(wt,At)|0,N=(N=N+Math.imul(wt,Zt)|0)+Math.imul(mt,At)|0,te=te+Math.imul(mt,Zt)|0,H=H+Math.imul(ce,Jt)|0,N=(N=N+Math.imul(ce,qt)|0)+Math.imul(Ge,Jt)|0,te=te+Math.imul(Ge,qt)|0,H=H+Math.imul(qe,di)|0,N=(N=N+Math.imul(qe,fi)|0)+Math.imul(oe,di)|0,te=te+Math.imul(oe,fi)|0;var bi=(g+(H=H+Math.imul(Ce,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(Ce,xi)|0)+Math.imul(le,Qi)|0))<<13)|0;g=((te=te+Math.imul(le,xi)|0)+(N>>>13)|0)+(bi>>>26)|0,bi&=67108863,H=Math.imul(Ke,Ue),N=(N=Math.imul(Ke,Je))+Math.imul(Be,Ue)|0,te=Math.imul(Be,Je),H=H+Math.imul(Qe,Le)|0,N=(N=N+Math.imul(Qe,be)|0)+Math.imul(Et,Le)|0,te=te+Math.imul(Et,be)|0,H=H+Math.imul(et,ne)|0,N=(N=N+Math.imul(et,Ie)|0)+Math.imul(ke,ne)|0,te=te+Math.imul(ke,Ie)|0,H=H+Math.imul(Ae,At)|0,N=(N=N+Math.imul(Ae,Zt)|0)+Math.imul(ze,At)|0,te=te+Math.imul(ze,Zt)|0,H=H+Math.imul(wt,Jt)|0,N=(N=N+Math.imul(wt,qt)|0)+Math.imul(mt,Jt)|0,te=te+Math.imul(mt,qt)|0,H=H+Math.imul(ce,di)|0,N=(N=N+Math.imul(ce,fi)|0)+Math.imul(Ge,di)|0,te=te+Math.imul(Ge,fi)|0;var ki=(g+(H=H+Math.imul(qe,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(qe,xi)|0)+Math.imul(oe,Qi)|0))<<13)|0;g=((te=te+Math.imul(oe,xi)|0)+(N>>>13)|0)+(ki>>>26)|0,ki&=67108863,H=Math.imul(Ke,Le),N=(N=Math.imul(Ke,be))+Math.imul(Be,Le)|0,te=Math.imul(Be,be),H=H+Math.imul(Qe,ne)|0,N=(N=N+Math.imul(Qe,Ie)|0)+Math.imul(Et,ne)|0,te=te+Math.imul(Et,Ie)|0,H=H+Math.imul(et,At)|0,N=(N=N+Math.imul(et,Zt)|0)+Math.imul(ke,At)|0,te=te+Math.imul(ke,Zt)|0,H=H+Math.imul(Ae,Jt)|0,N=(N=N+Math.imul(Ae,qt)|0)+Math.imul(ze,Jt)|0,te=te+Math.imul(ze,qt)|0,H=H+Math.imul(wt,di)|0,N=(N=N+Math.imul(wt,fi)|0)+Math.imul(mt,di)|0,te=te+Math.imul(mt,fi)|0;var Bi=(g+(H=H+Math.imul(ce,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(ce,xi)|0)+Math.imul(Ge,Qi)|0))<<13)|0;g=((te=te+Math.imul(Ge,xi)|0)+(N>>>13)|0)+(Bi>>>26)|0,Bi&=67108863,H=Math.imul(Ke,ne),N=(N=Math.imul(Ke,Ie))+Math.imul(Be,ne)|0,te=Math.imul(Be,Ie),H=H+Math.imul(Qe,At)|0,N=(N=N+Math.imul(Qe,Zt)|0)+Math.imul(Et,At)|0,te=te+Math.imul(Et,Zt)|0,H=H+Math.imul(et,Jt)|0,N=(N=N+Math.imul(et,qt)|0)+Math.imul(ke,Jt)|0,te=te+Math.imul(ke,qt)|0,H=H+Math.imul(Ae,di)|0,N=(N=N+Math.imul(Ae,fi)|0)+Math.imul(ze,di)|0,te=te+Math.imul(ze,fi)|0;var Vi=(g+(H=H+Math.imul(wt,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(wt,xi)|0)+Math.imul(mt,Qi)|0))<<13)|0;g=((te=te+Math.imul(mt,xi)|0)+(N>>>13)|0)+(Vi>>>26)|0,Vi&=67108863,H=Math.imul(Ke,At),N=(N=Math.imul(Ke,Zt))+Math.imul(Be,At)|0,te=Math.imul(Be,Zt),H=H+Math.imul(Qe,Jt)|0,N=(N=N+Math.imul(Qe,qt)|0)+Math.imul(Et,Jt)|0,te=te+Math.imul(Et,qt)|0,H=H+Math.imul(et,di)|0,N=(N=N+Math.imul(et,fi)|0)+Math.imul(ke,di)|0,te=te+Math.imul(ke,fi)|0;var jt=(g+(H=H+Math.imul(Ae,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(Ae,xi)|0)+Math.imul(ze,Qi)|0))<<13)|0;g=((te=te+Math.imul(ze,xi)|0)+(N>>>13)|0)+(jt>>>26)|0,jt&=67108863,H=Math.imul(Ke,Jt),N=(N=Math.imul(Ke,qt))+Math.imul(Be,Jt)|0,te=Math.imul(Be,qt),H=H+Math.imul(Qe,di)|0,N=(N=N+Math.imul(Qe,fi)|0)+Math.imul(Et,di)|0,te=te+Math.imul(Et,fi)|0;var It=(g+(H=H+Math.imul(et,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(et,xi)|0)+Math.imul(ke,Qi)|0))<<13)|0;g=((te=te+Math.imul(ke,xi)|0)+(N>>>13)|0)+(It>>>26)|0,It&=67108863,H=Math.imul(Ke,di),N=(N=Math.imul(Ke,fi))+Math.imul(Be,di)|0,te=Math.imul(Be,fi);var pe=(g+(H=H+Math.imul(Qe,Qi)|0)|0)+((8191&(N=(N=N+Math.imul(Qe,xi)|0)+Math.imul(Et,Qi)|0))<<13)|0;g=((te=te+Math.imul(Et,xi)|0)+(N>>>13)|0)+(pe>>>26)|0,pe&=67108863;var Ve=(g+(H=Math.imul(Ke,Qi))|0)+((8191&(N=(N=Math.imul(Ke,xi))+Math.imul(Be,Qi)|0))<<13)|0;return g=((te=Math.imul(Be,xi))+(N>>>13)|0)+(Ve>>>26)|0,Ve&=67108863,r[0]=sn,r[1]=ot,r[2]=si,r[3]=we,r[4]=St,r[5]=zt,r[6]=Dt,r[7]=Lt,r[8]=Bt,r[9]=ai,r[10]=vi,r[11]=bi,r[12]=ki,r[13]=Bi,r[14]=Vi,r[15]=jt,r[16]=It,r[17]=pe,r[18]=Ve,0!==g&&(r[19]=g,D.length++),D};function q(f,h,w){w.negative=h.negative^f.negative,w.length=f.length+h.length;for(var D=0,P=0,v=0;v<w.length-1;v++){var r=P;P=0;for(var g=67108863&D,H=Math.min(v,h.length-1),N=Math.max(0,v-f.length+1);N<=H;N++){var je=(0|f.words[v-N])*(0|h.words[N]),$e=67108863&je;g=67108863&($e=$e+g|0),P+=(r=(r=r+(je/67108864|0)|0)+($e>>>26)|0)>>>26,r&=67108863}w.words[v]=g,D=r,r=P}return 0!==D?w.words[v]=D:w.length--,w._strip()}function ie(f,h,w){return q(f,h,w)}function ae(f,h){this.x=f,this.y=h}Math.imul||(K=W),l.prototype.mulTo=function(h,w){var P=this.length+h.length;return 10===this.length&&10===h.length?K(this,h,w):P<63?W(this,h,w):P<1024?q(this,h,w):ie(this,h,w)},ae.prototype.makeRBT=function(h){for(var w=new Array(h),D=l.prototype._countBits(h)-1,P=0;P<h;P++)w[P]=this.revBin(P,D,h);return w},ae.prototype.revBin=function(h,w,D){if(0===h||h===D-1)return h;for(var P=0,v=0;v<w;v++)P|=(1&h)<<w-v-1,h>>=1;return P},ae.prototype.permute=function(h,w,D,P,v,r){for(var g=0;g<r;g++)P[g]=w[h[g]],v[g]=D[h[g]]},ae.prototype.transform=function(h,w,D,P,v,r){this.permute(r,h,w,D,P,v);for(var g=1;g<v;g<<=1)for(var H=g<<1,N=Math.cos(2*Math.PI/H),te=Math.sin(2*Math.PI/H),De=0;De<v;De+=H)for(var st=N,je=te,$e=0;$e<g;$e++){var ye=D[De+$e],fe=P[De+$e],de=D[De+$e+g],Ce=P[De+$e+g],le=st*de-je*Ce;Ce=st*Ce+je*de,D[De+$e]=ye+(de=le),P[De+$e]=fe+Ce,D[De+$e+g]=ye-de,P[De+$e+g]=fe-Ce,$e!==H&&(le=N*st-te*je,je=N*je+te*st,st=le)}},ae.prototype.guessLen13b=function(h,w){var D=1|Math.max(w,h),P=1&D,v=0;for(D=D/2|0;D;D>>>=1)v++;return 1<<v+1+P},ae.prototype.conjugate=function(h,w,D){if(!(D<=1))for(var P=0;P<D/2;P++){var v=h[P];h[P]=h[D-P-1],h[D-P-1]=v,v=w[P],w[P]=-w[D-P-1],w[D-P-1]=-v}},ae.prototype.normalize13b=function(h,w){for(var D=0,P=0;P<w/2;P++){var v=8192*Math.round(h[2*P+1]/w)+Math.round(h[2*P]/w)+D;h[P]=67108863&v,D=v<67108864?0:v/67108864|0}return h},ae.prototype.convert13b=function(h,w,D,P){for(var v=0,r=0;r<w;r++)D[2*r]=8191&(v+=0|h[r]),D[2*r+1]=8191&(v>>>=13),v>>>=13;for(r=2*w;r<P;++r)D[r]=0;y(0===v),y(0==(-8192&v))},ae.prototype.stub=function(h){for(var w=new Array(h),D=0;D<h;D++)w[D]=0;return w},ae.prototype.mulp=function(h,w,D){var P=2*this.guessLen13b(h.length,w.length),v=this.makeRBT(P),r=this.stub(P),g=new Array(P),H=new Array(P),N=new Array(P),te=new Array(P),De=new Array(P),st=new Array(P),je=D.words;je.length=P,this.convert13b(h.words,h.length,g,P),this.convert13b(w.words,w.length,te,P),this.transform(g,r,H,N,P,v),this.transform(te,r,De,st,P,v);for(var $e=0;$e<P;$e++){var ye=H[$e]*De[$e]-N[$e]*st[$e];N[$e]=H[$e]*st[$e]+N[$e]*De[$e],H[$e]=ye}return this.conjugate(H,N,P),this.transform(H,N,je,r,P,v),this.conjugate(je,r,P),this.normalize13b(je,P),D.negative=h.negative^w.negative,D.length=h.length+w.length,D._strip()},l.prototype.mul=function(h){var w=new l(null);return w.words=new Array(this.length+h.length),this.mulTo(h,w)},l.prototype.mulf=function(h){var w=new l(null);return w.words=new Array(this.length+h.length),ie(this,h,w)},l.prototype.imul=function(h){return this.clone().mulTo(h,this)},l.prototype.imuln=function(h){var w=h<0;w&&(h=-h),y("number"==typeof h),y(h<67108864);for(var D=0,P=0;P<this.length;P++){var v=(0|this.words[P])*h,r=(67108863&v)+(67108863&D);D>>=26,D+=v/67108864|0,D+=r>>>26,this.words[P]=67108863&r}return 0!==D&&(this.words[P]=D,this.length++),w?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 w=function j(f){for(var h=new Array(f.bitLength()),w=0;w<h.length;w++)h[w]=f.words[w/26|0]>>>w%26&1;return h}(h);if(0===w.length)return new l(1);for(var D=this,P=0;P<w.length&&0===w[P];P++,D=D.sqr());if(++P<w.length)for(var v=D.sqr();P<w.length;P++,v=v.sqr())0!==w[P]&&(D=D.mul(v));return D},l.prototype.iushln=function(h){y("number"==typeof h&&h>=0);var v,w=h%26,D=(h-w)/26,P=67108863>>>26-w<<26-w;if(0!==w){var r=0;for(v=0;v<this.length;v++){var g=this.words[v]&P;this.words[v]=(0|this.words[v])-g<<w|r,r=g>>>26-w}r&&(this.words[v]=r,this.length++)}if(0!==D){for(v=this.length-1;v>=0;v--)this.words[v+D]=this.words[v];for(v=0;v<D;v++)this.words[v]=0;this.length+=D}return this._strip()},l.prototype.ishln=function(h){return y(0===this.negative),this.iushln(h)},l.prototype.iushrn=function(h,w,D){var P;y("number"==typeof h&&h>=0),P=w?(w-w%26)/26:0;var v=h%26,r=Math.min((h-v)/26,this.length),g=67108863^67108863>>>v<<v,H=D;if(P-=r,P=Math.max(0,P),H){for(var N=0;N<r;N++)H.words[N]=this.words[N];H.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 te=0;for(N=this.length-1;N>=0&&(0!==te||N>=P);N--){var De=0|this.words[N];this.words[N]=te<<26-v|De>>>v,te=De&g}return H&&0!==te&&(H.words[H.length++]=te),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},l.prototype.ishrn=function(h,w,D){return y(0===this.negative),this.iushrn(h,w,D)},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){y("number"==typeof h&&h>=0);var w=h%26,D=(h-w)/26;return!(this.length<=D||!(this.words[D]&1<<w))},l.prototype.imaskn=function(h){y("number"==typeof h&&h>=0);var w=h%26,D=(h-w)/26;return y(0===this.negative,"imaskn works only with positive numbers"),this.length<=D?this:(0!==w&&D++,this.length=Math.min(D,this.length),0!==w&&(this.words[this.length-1]&=67108863^67108863>>>w<<w),this._strip())},l.prototype.maskn=function(h){return this.clone().imaskn(h)},l.prototype.iaddn=function(h){return y("number"==typeof h),y(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 w=0;w<this.length&&this.words[w]>=67108864;w++)this.words[w]-=67108864,w===this.length-1?this.words[w+1]=1:this.words[w+1]++;return this.length=Math.max(this.length,w+1),this},l.prototype.isubn=function(h){if(y("number"==typeof h),y(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 w=0;w<this.length&&this.words[w]<0;w++)this.words[w]+=67108864,this.words[w+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,w,D){var v;this._expand(h.length+D);var r,g=0;for(v=0;v<h.length;v++){r=(0|this.words[v+D])+g;var H=(0|h.words[v])*w;g=((r-=67108863&H)>>26)-(H/67108864|0),this.words[v+D]=67108863&r}for(;v<this.length-D;v++)g=(r=(0|this.words[v+D])+g)>>26,this.words[v+D]=67108863&r;if(0===g)return this._strip();for(y(-1===g),g=0,v=0;v<this.length;v++)g=(r=-(0|this.words[v])+g)>>26,this.words[v]=67108863&r;return this.negative=1,this._strip()},l.prototype._wordDiv=function(h,w){var D,P=this.clone(),v=h,r=0|v.words[v.length-1];0!=(D=26-this._countBits(r))&&(v=v.ushln(D),P.iushln(D),r=0|v.words[v.length-1]);var N,H=P.length-v.length;if("mod"!==w){(N=new l(null)).length=H+1,N.words=new Array(N.length);for(var te=0;te<N.length;te++)N.words[te]=0}var De=P.clone()._ishlnsubmul(v,1,H);0===De.negative&&(P=De,N&&(N.words[H]=1));for(var st=H-1;st>=0;st--){var je=67108864*(0|P.words[v.length+st])+(0|P.words[v.length+st-1]);for(je=Math.min(je/r|0,67108863),P._ishlnsubmul(v,je,st);0!==P.negative;)je--,P.negative=0,P._ishlnsubmul(v,1,st),P.isZero()||(P.negative^=1);N&&(N.words[st]=je)}return N&&N._strip(),P._strip(),"div"!==w&&0!==D&&P.iushrn(D),{div:N||null,mod:P}},l.prototype.divmod=function(h,w,D){return y(!h.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===h.negative?(r=this.neg().divmod(h,w),"mod"!==w&&(P=r.div.neg()),"div"!==w&&(v=r.mod.neg(),D&&0!==v.negative&&v.iadd(h)),{div:P,mod:v}):0===this.negative&&0!==h.negative?(r=this.divmod(h.neg(),w),"mod"!==w&&(P=r.div.neg()),{div:P,mod:r.mod}):this.negative&h.negative?(r=this.neg().divmod(h.neg(),w),"div"!==w&&(v=r.mod.neg(),D&&0!==v.negative&&v.isub(h)),{div:r.div,mod:v}):h.length>this.length||this.cmp(h)<0?{div:new l(0),mod:this}:1===h.length?"div"===w?{div:this.divn(h.words[0]),mod:null}:"mod"===w?{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,w);var P,v,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 w=this.divmod(h);if(w.mod.isZero())return w.div;var D=0!==w.div.negative?w.mod.isub(h):w.mod,P=h.ushrn(1),v=h.andln(1),r=D.cmp(P);return r<0||1===v&&0===r?w.div:0!==w.div.negative?w.div.isubn(1):w.div.iaddn(1)},l.prototype.modrn=function(h){var w=h<0;w&&(h=-h),y(h<=67108863);for(var D=(1<<26)%h,P=0,v=this.length-1;v>=0;v--)P=(D*P+(0|this.words[v]))%h;return w?-P:P},l.prototype.modn=function(h){return this.modrn(h)},l.prototype.idivn=function(h){var w=h<0;w&&(h=-h),y(h<=67108863);for(var D=0,P=this.length-1;P>=0;P--){var v=(0|this.words[P])+67108864*D;this.words[P]=v/h|0,D=v%h}return this._strip(),w?this.ineg():this},l.prototype.divn=function(h){return this.clone().idivn(h)},l.prototype.egcd=function(h){y(0===h.negative),y(!h.isZero());var w=this,D=h.clone();w=0!==w.negative?w.umod(h):w.clone();for(var P=new l(1),v=new l(0),r=new l(0),g=new l(1),H=0;w.isEven()&&D.isEven();)w.iushrn(1),D.iushrn(1),++H;for(var N=D.clone(),te=w.clone();!w.isZero();){for(var De=0,st=1;!(w.words[0]&st)&&De<26;++De,st<<=1);if(De>0)for(w.iushrn(De);De-- >0;)(P.isOdd()||v.isOdd())&&(P.iadd(N),v.isub(te)),P.iushrn(1),v.iushrn(1);for(var je=0,$e=1;!(D.words[0]&$e)&&je<26;++je,$e<<=1);if(je>0)for(D.iushrn(je);je-- >0;)(r.isOdd()||g.isOdd())&&(r.iadd(N),g.isub(te)),r.iushrn(1),g.iushrn(1);w.cmp(D)>=0?(w.isub(D),P.isub(r),v.isub(g)):(D.isub(w),r.isub(P),g.isub(v))}return{a:r,b:g,gcd:D.iushln(H)}},l.prototype._invmp=function(h){y(0===h.negative),y(!h.isZero());var De,w=this,D=h.clone();w=0!==w.negative?w.umod(h):w.clone();for(var P=new l(1),v=new l(0),r=D.clone();w.cmpn(1)>0&&D.cmpn(1)>0;){for(var g=0,H=1;!(w.words[0]&H)&&g<26;++g,H<<=1);if(g>0)for(w.iushrn(g);g-- >0;)P.isOdd()&&P.iadd(r),P.iushrn(1);for(var N=0,te=1;!(D.words[0]&te)&&N<26;++N,te<<=1);if(N>0)for(D.iushrn(N);N-- >0;)v.isOdd()&&v.iadd(r),v.iushrn(1);w.cmp(D)>=0?(w.isub(D),P.isub(v)):(D.isub(w),v.isub(P))}return(De=0===w.cmpn(1)?P:v).cmpn(0)<0&&De.iadd(h),De},l.prototype.gcd=function(h){if(this.isZero())return h.abs();if(h.isZero())return this.abs();var w=this.clone(),D=h.clone();w.negative=0,D.negative=0;for(var P=0;w.isEven()&&D.isEven();P++)w.iushrn(1),D.iushrn(1);for(;;){for(;w.isEven();)w.iushrn(1);for(;D.isEven();)D.iushrn(1);var v=w.cmp(D);if(v<0){var r=w;w=D,D=r}else if(0===v||0===D.cmpn(1))break;w.isub(D)}return D.iushln(P)},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){y("number"==typeof h);var w=h%26,D=(h-w)/26,P=1<<w;if(this.length<=D)return this._expand(D+1),this.words[D]|=P,this;for(var v=P,r=D;0!==v&&r<this.length;r++){var g=0|this.words[r];v=(g+=v)>>>26,this.words[r]=g&=67108863}return 0!==v&&(this.words[r]=v,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(h){var D,w=h<0;if(0!==this.negative&&!w)return-1;if(0===this.negative&&w)return 1;if(this._strip(),this.length>1)D=1;else{w&&(h=-h),y(h<=67108863,"Number is too big");var P=0|this.words[0];D=P===h?0:P<h?-1:1}return 0!==this.negative?0|-D:D},l.prototype.cmp=function(h){if(0!==this.negative&&0===h.negative)return-1;if(0===this.negative&&0!==h.negative)return 1;var w=this.ucmp(h);return 0!==this.negative?0|-w:w},l.prototype.ucmp=function(h){if(this.length>h.length)return 1;if(this.length<h.length)return-1;for(var w=0,D=this.length-1;D>=0;D--){var P=0|this.words[D],v=0|h.words[D];if(P!==v){P<v?w=-1:P>v&&(w=1);break}}return w},l.prototype.gtn=function(h){return 1===this.cmpn(h)},l.prototype.gt=function(h){return 1===this.cmp(h)},l.prototype.gten=function(h){return this.cmpn(h)>=0},l.prototype.gte=function(h){return this.cmp(h)>=0},l.prototype.ltn=function(h){return-1===this.cmpn(h)},l.prototype.lt=function(h){return-1===this.cmp(h)},l.prototype.lten=function(h){return this.cmpn(h)<=0},l.prototype.lte=function(h){return this.cmp(h)<=0},l.prototype.eqn=function(h){return 0===this.cmpn(h)},l.prototype.eq=function(h){return 0===this.cmp(h)},l.red=function(h){return new n(h)},l.prototype.toRed=function(h){return y(!this.red,"Already a number in reduction context"),y(0===this.negative,"red works only with positives"),h.convertTo(this)._forceRed(h)},l.prototype.fromRed=function(){return y(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 y(!this.red,"Already a number in reduction context"),this._forceRed(h)},l.prototype.redAdd=function(h){return y(this.red,"redAdd works only with red numbers"),this.red.add(this,h)},l.prototype.redIAdd=function(h){return y(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,h)},l.prototype.redSub=function(h){return y(this.red,"redSub works only with red numbers"),this.red.sub(this,h)},l.prototype.redISub=function(h){return y(this.red,"redISub works only with red numbers"),this.red.isub(this,h)},l.prototype.redShl=function(h){return y(this.red,"redShl works only with red numbers"),this.red.shl(this,h)},l.prototype.redMul=function(h){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,h),this.red.mul(this,h)},l.prototype.redIMul=function(h){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,h),this.red.imul(this,h)},l.prototype.redSqr=function(){return y(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return y(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return y(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return y(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return y(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(h){return y(this.red&&!h.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,h)};var ue={k256:null,p224:null,p192:null,p25519:null};function re(f,h){this.name=f,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 xe(){re.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function $(){re.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function he(){re.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){re.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function n(f){if("string"==typeof f){var h=l._prime(f);this.m=h.p,this.prime=h}else y(f.gtn(1),"modulus must be greater than 1"),this.m=f,this.prime=null}function s(f){n.call(this,f),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)}re.prototype._tmp=function(){var h=new l(null);return h.words=new Array(Math.ceil(this.n/13)),h},re.prototype.ireduce=function(h){var D,w=h;do{this.split(w,this.tmp),D=(w=(w=this.imulK(w)).iadd(this.tmp)).bitLength()}while(D>this.n);var P=D<this.n?-1:w.ucmp(this.p);return 0===P?(w.words[0]=0,w.length=1):P>0?w.isub(this.p):void 0!==w.strip?w.strip():w._strip(),w},re.prototype.split=function(h,w){h.iushrn(this.n,0,w)},re.prototype.imulK=function(h){return h.imul(this.k)},A(xe,re),xe.prototype.split=function(h,w){for(var D=4194303,P=Math.min(h.length,9),v=0;v<P;v++)w.words[v]=h.words[v];if(w.length=P,h.length<=9)return h.words[0]=0,void(h.length=1);var r=h.words[9];for(w.words[w.length++]=r&D,v=10;v<h.length;v++){var g=0|h.words[v];h.words[v-10]=(g&D)<<4|r>>>22,r=g}h.words[v-10]=r>>>=22,h.length-=0===r&&h.length>10?10:9},xe.prototype.imulK=function(h){h.words[h.length]=0,h.words[h.length+1]=0,h.length+=2;for(var w=0,D=0;D<h.length;D++){var P=0|h.words[D];h.words[D]=67108863&(w+=977*P),w=64*P+(w/67108864|0)}return 0===h.words[h.length-1]&&(h.length--,0===h.words[h.length-1]&&h.length--),h},A($,re),A(he,re),A(S,re),S.prototype.imulK=function(h){for(var w=0,D=0;D<h.length;D++){var P=19*(0|h.words[D])+w,v=67108863&P;P>>>=26,h.words[D]=v,w=P}return 0!==w&&(h.words[h.length++]=w),h},l._prime=function(h){if(ue[h])return ue[h];var w;if("k256"===h)w=new xe;else if("p224"===h)w=new $;else if("p192"===h)w=new he;else{if("p25519"!==h)throw new Error("Unknown prime "+h);w=new S}return ue[h]=w,w},n.prototype._verify1=function(h){y(0===h.negative,"red works only with positives"),y(h.red,"red works only with red numbers")},n.prototype._verify2=function(h,w){y(0==(h.negative|w.negative),"red works only with positives"),y(h.red&&h.red===w.red,"red works only with red numbers")},n.prototype.imod=function(h){return this.prime?this.prime.ireduce(h)._forceRed(this):(E(h,h.umod(this.m)._forceRed(this)),h)},n.prototype.neg=function(h){return h.isZero()?h.clone():this.m.sub(h)._forceRed(this)},n.prototype.add=function(h,w){this._verify2(h,w);var D=h.add(w);return D.cmp(this.m)>=0&&D.isub(this.m),D._forceRed(this)},n.prototype.iadd=function(h,w){this._verify2(h,w);var D=h.iadd(w);return D.cmp(this.m)>=0&&D.isub(this.m),D},n.prototype.sub=function(h,w){this._verify2(h,w);var D=h.sub(w);return D.cmpn(0)<0&&D.iadd(this.m),D._forceRed(this)},n.prototype.isub=function(h,w){this._verify2(h,w);var D=h.isub(w);return D.cmpn(0)<0&&D.iadd(this.m),D},n.prototype.shl=function(h,w){return this._verify1(h),this.imod(h.ushln(w))},n.prototype.imul=function(h,w){return this._verify2(h,w),this.imod(h.imul(w))},n.prototype.mul=function(h,w){return this._verify2(h,w),this.imod(h.mul(w))},n.prototype.isqr=function(h){return this.imul(h,h.clone())},n.prototype.sqr=function(h){return this.mul(h,h)},n.prototype.sqrt=function(h){if(h.isZero())return h.clone();var w=this.m.andln(3);if(y(w%2==1),3===w){var D=this.m.add(new l(1)).iushrn(2);return this.pow(h,D)}for(var P=this.m.subn(1),v=0;!P.isZero()&&0===P.andln(1);)v++,P.iushrn(1);y(!P.isZero());var r=new l(1).toRed(this),g=r.redNeg(),H=this.m.subn(1).iushrn(1),N=this.m.bitLength();for(N=new l(2*N*N).toRed(this);0!==this.pow(N,H).cmp(g);)N.redIAdd(g);for(var te=this.pow(N,P),De=this.pow(h,P.addn(1).iushrn(1)),st=this.pow(h,P),je=v;0!==st.cmp(r);){for(var $e=st,ye=0;0!==$e.cmp(r);ye++)$e=$e.redSqr();y(ye<je);var fe=this.pow(te,new l(1).iushln(je-ye-1));De=De.redMul(fe),te=fe.redSqr(),st=st.redMul(te),je=ye}return De},n.prototype.invm=function(h){var w=h._invmp(this.m);return 0!==w.negative?(w.negative=0,this.imod(w).redNeg()):this.imod(w)},n.prototype.pow=function(h,w){if(w.isZero())return new l(1).toRed(this);if(0===w.cmpn(1))return h.clone();var P=new Array(16);P[0]=new l(1).toRed(this),P[1]=h;for(var v=2;v<P.length;v++)P[v]=this.mul(P[v-1],h);var r=P[0],g=0,H=0,N=w.bitLength()%26;for(0===N&&(N=26),v=w.length-1;v>=0;v--){for(var te=w.words[v],De=N-1;De>=0;De--){var st=te>>De&1;r!==P[0]&&(r=this.sqr(r)),0!==st||0!==g?(g<<=1,g|=st,(4==++H||0===v&&0===De)&&(r=this.mul(r,P[g]),H=0,g=0)):H=0}N=26}return r},n.prototype.convertTo=function(h){var w=h.umod(this.m);return w===h?w.clone():w},n.prototype.convertFrom=function(h){var w=h.clone();return w.red=null,w},l.mont=function(h){return new s(h)},A(s,n),s.prototype.convertTo=function(h){return this.imod(h.ushln(this.shift))},s.prototype.convertFrom=function(h){var w=this.imod(h.mul(this.rinv));return w.red=null,w},s.prototype.imul=function(h,w){if(h.isZero()||w.isZero())return h.words[0]=0,h.length=1,h;var D=h.imul(w),P=D.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),v=D.isub(P).iushrn(this.shift),r=v;return v.cmp(this.m)>=0?r=v.isub(this.m):v.cmpn(0)<0&&(r=v.iadd(this.m)),r._forceRed(this)},s.prototype.mul=function(h,w){if(h.isZero()||w.isZero())return new l(0)._forceRed(this);var D=h.mul(w),P=D.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),v=D.isub(P).iushrn(this.shift),r=v;return v.cmp(this.m)>=0?r=v.isub(this.m):v.cmpn(0)<0&&(r=v.iadd(this.m)),r._forceRed(this)},s.prototype.invm=function(h){return this.imod(h._invmp(this.m).mul(this.r2))._forceRed(this)}}(He=p.nmd(He),this)},82:(He,X,p)=>{var e;function t(A){this.rand=A}if(He.exports=function(l){return e||(e=new t(null)),e.generate(l)},He.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 M=new Uint8Array(l),m=0;m<M.length;m++)M[m]=this.rand.getByte();return M},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?t.prototype._rand=function(l){var M=new Uint8Array(l);return self.crypto.getRandomValues(M),M}:self.msCrypto&&self.msCrypto.getRandomValues?t.prototype._rand=function(l){var M=new Uint8Array(l);return self.msCrypto.getRandomValues(M),M}:"object"==typeof window&&(t.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var y=p(7903);if("function"!=typeof y.randomBytes)throw new Error("Not supported");t.prototype._rand=function(l){return y.randomBytes(l)}}catch{}},6403:(He,X,p)=>{var e=p(843).Buffer;function t(O){e.isBuffer(O)||(O=e.from(O));for(var d=O.length/4|0,E=new Array(d),x=0;x<d;x++)E[x]=O.readUInt32BE(4*x);return E}function y(O){for(;0<O.length;O++)O[0]=0}function A(O,d,E,x,I){for(var ae,ue,re,xe,k=E[0],V=E[1],G=E[2],j=E[3],W=O[0]^d[0],K=O[1]^d[1],q=O[2]^d[2],ie=O[3]^d[3],$=4,he=1;he<I;he++)ae=k[W>>>24]^V[K>>>16&255]^G[q>>>8&255]^j[255&ie]^d[$++],ue=k[K>>>24]^V[q>>>16&255]^G[ie>>>8&255]^j[255&W]^d[$++],re=k[q>>>24]^V[ie>>>16&255]^G[W>>>8&255]^j[255&K]^d[$++],xe=k[ie>>>24]^V[W>>>16&255]^G[K>>>8&255]^j[255&q]^d[$++],W=ae,K=ue,q=re,ie=xe;return ae=(x[W>>>24]<<24|x[K>>>16&255]<<16|x[q>>>8&255]<<8|x[255&ie])^d[$++],ue=(x[K>>>24]<<24|x[q>>>16&255]<<16|x[ie>>>8&255]<<8|x[255&W])^d[$++],re=(x[q>>>24]<<24|x[ie>>>16&255]<<16|x[W>>>8&255]<<8|x[255&K])^d[$++],xe=(x[ie>>>24]<<24|x[W>>>16&255]<<16|x[K>>>8&255]<<8|x[255&q])^d[$++],[ae>>>=0,ue>>>=0,re>>>=0,xe>>>=0]}var l=[0,1,2,4,8,16,32,64,128,27,54],M=function(){for(var O=new Array(256),d=0;d<256;d++)O[d]=d<128?d<<1:d<<1^283;for(var E=[],x=[],I=[[],[],[],[]],k=[[],[],[],[]],V=0,G=0,j=0;j<256;++j){var W=G^G<<1^G<<2^G<<3^G<<4;E[V]=W=W>>>8^255&W^99,x[W]=V;var K=O[V],q=O[K],ie=O[q],ae=257*O[W]^16843008*W;I[0][V]=ae<<24|ae>>>8,I[1][V]=ae<<16|ae>>>16,I[2][V]=ae<<8|ae>>>24,I[3][V]=ae,k[0][W]=(ae=16843009*ie^65537*q^257*K^16843008*V)<<24|ae>>>8,k[1][W]=ae<<16|ae>>>16,k[2][W]=ae<<8|ae>>>24,k[3][W]=ae,0===V?V=G=1:(V=K^O[O[O[ie^K]]],G^=O[O[G]])}return{SBOX:E,INV_SBOX:x,SUB_MIX:I,INV_SUB_MIX:k}}();function m(O){this._key=t(O),this._reset()}m.blockSize=16,m.keySize=32,m.prototype.blockSize=m.blockSize,m.prototype.keySize=m.keySize,m.prototype._reset=function(){for(var O=this._key,d=O.length,E=d+6,x=4*(E+1),I=[],k=0;k<d;k++)I[k]=O[k];for(k=d;k<x;k++){var V=I[k-1];k%d==0?(V=M.SBOX[(V=V<<8|V>>>24)>>>24]<<24|M.SBOX[V>>>16&255]<<16|M.SBOX[V>>>8&255]<<8|M.SBOX[255&V],V^=l[k/d|0]<<24):d>6&&k%d==4&&(V=M.SBOX[V>>>24]<<24|M.SBOX[V>>>16&255]<<16|M.SBOX[V>>>8&255]<<8|M.SBOX[255&V]),I[k]=I[k-d]^V}for(var G=[],j=0;j<x;j++){var W=x-j,K=I[W-(j%4?0:4)];G[j]=j<4||W<=4?K:M.INV_SUB_MIX[0][M.SBOX[K>>>24]]^M.INV_SUB_MIX[1][M.SBOX[K>>>16&255]]^M.INV_SUB_MIX[2][M.SBOX[K>>>8&255]]^M.INV_SUB_MIX[3][M.SBOX[255&K]]}this._nRounds=E,this._keySchedule=I,this._invKeySchedule=G},m.prototype.encryptBlockRaw=function(O){return A(O=t(O),this._keySchedule,M.SUB_MIX,M.SBOX,this._nRounds)},m.prototype.encryptBlock=function(O){var d=this.encryptBlockRaw(O),E=e.allocUnsafe(16);return E.writeUInt32BE(d[0],0),E.writeUInt32BE(d[1],4),E.writeUInt32BE(d[2],8),E.writeUInt32BE(d[3],12),E},m.prototype.decryptBlock=function(O){var d=(O=t(O))[1];O[1]=O[3],O[3]=d;var E=A(O,this._invKeySchedule,M.INV_SUB_MIX,M.INV_SBOX,this._nRounds),x=e.allocUnsafe(16);return x.writeUInt32BE(E[0],0),x.writeUInt32BE(E[3],4),x.writeUInt32BE(E[2],8),x.writeUInt32BE(E[1],12),x},m.prototype.scrub=function(){y(this._keySchedule),y(this._invKeySchedule),y(this._key)},He.exports.AES=m},6087:(He,X,p)=>{var e=p(6403),t=p(843).Buffer,y=p(6420),A=p(6698),l=p(1503),M=p(3636),m=p(9107);function E(x,I,k,V){y.call(this);var G=t.alloc(4,0);this._cipher=new e.AES(I);var j=this._cipher.encryptBlock(G);this._ghash=new l(j),k=function d(x,I,k){if(12===I.length)return x._finID=t.concat([I,t.from([0,0,0,1])]),t.concat([I,t.from([0,0,0,2])]);var V=new l(k),G=I.length,j=G%16;V.update(I),j&&V.update(t.alloc(j=16-j,0)),V.update(t.alloc(8,0));var W=8*G,K=t.alloc(8);K.writeUIntBE(W,0,8),V.update(K),x._finID=V.state;var q=t.from(x._finID);return m(q),q}(this,k,j),this._prev=t.from(k),this._cache=t.allocUnsafe(0),this._secCache=t.allocUnsafe(0),this._decrypt=V,this._alen=0,this._len=0,this._mode=x,this._authTag=null,this._called=!1}A(E,y),E.prototype._update=function(x){if(!this._called&&this._alen){var I=16-this._alen%16;I<16&&(I=t.alloc(I,0),this._ghash.update(I))}this._called=!0;var k=this._mode.encrypt(this,x);return this._ghash.update(this._decrypt?x:k),this._len+=x.length,k},E.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var x=M(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function O(x,I){var k=0;x.length!==I.length&&k++;for(var V=Math.min(x.length,I.length),G=0;G<V;++G)k+=x[G]^I[G];return k}(x,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=x,this._cipher.scrub()},E.prototype.getAuthTag=function(){if(this._decrypt||!t.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},E.prototype.setAuthTag=function(I){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=I},E.prototype.setAAD=function(I){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(I),this._alen+=I.length},He.exports=E},2489:(He,X,p)=>{var e=p(2689),t=p(46),y=p(4946);X.createCipher=X.Cipher=e.createCipher,X.createCipheriv=X.Cipheriv=e.createCipheriv,X.createDecipher=X.Decipher=t.createDecipher,X.createDecipheriv=X.Decipheriv=t.createDecipheriv,X.listCiphers=X.getCiphers=function A(){return Object.keys(y)}},46:(He,X,p)=>{var e=p(6087),t=p(843).Buffer,y=p(2421),A=p(9354),l=p(6420),M=p(6403),m=p(6505);function d(V,G,j){l.call(this),this._cache=new E,this._last=void 0,this._cipher=new M.AES(G),this._prev=t.from(j),this._mode=V,this._autopadding=!0}function E(){this.cache=t.allocUnsafe(0)}function I(V,G,j){var W=y[V.toLowerCase()];if(!W)throw new TypeError("invalid suite type");if("string"==typeof j&&(j=t.from(j)),"GCM"!==W.mode&&j.length!==W.iv)throw new TypeError("invalid iv length "+j.length);if("string"==typeof G&&(G=t.from(G)),G.length!==W.key/8)throw new TypeError("invalid key length "+G.length);return"stream"===W.type?new A(W.module,G,j,!0):"auth"===W.type?new e(W.module,G,j,!0):new d(W.module,G,j)}p(6698)(d,l),d.prototype._update=function(V){this._cache.add(V);for(var G,j,W=[];G=this._cache.get(this._autopadding);)j=this._mode.decrypt(this,G),W.push(j);return t.concat(W)},d.prototype._final=function(){var V=this._cache.flush();if(this._autopadding)return function x(V){var G=V[15];if(G<1||G>16)throw new Error("unable to decrypt data");for(var j=-1;++j<G;)if(V[j+(16-G)]!==G)throw new Error("unable to decrypt data");if(16!==G)return V.slice(0,16-G)}(this._mode.decrypt(this,V));if(V)throw new Error("data not multiple of block length")},d.prototype.setAutoPadding=function(V){return this._autopadding=!!V,this},E.prototype.add=function(V){this.cache=t.concat([this.cache,V])},E.prototype.get=function(V){var G;if(V){if(this.cache.length>16)return G=this.cache.slice(0,16),this.cache=this.cache.slice(16),G}else if(this.cache.length>=16)return G=this.cache.slice(0,16),this.cache=this.cache.slice(16),G;return null},E.prototype.flush=function(){if(this.cache.length)return this.cache},X.createDecipher=function k(V,G){var j=y[V.toLowerCase()];if(!j)throw new TypeError("invalid suite type");var W=m(G,!1,j.key,j.iv);return I(V,W.key,W.iv)},X.createDecipheriv=I},2689:(He,X,p)=>{var e=p(2421),t=p(6087),y=p(843).Buffer,A=p(9354),l=p(6420),M=p(6403),m=p(6505);function d(V,G,j){l.call(this),this._cache=new x,this._cipher=new M.AES(G),this._prev=y.from(j),this._mode=V,this._autopadding=!0}p(6698)(d,l),d.prototype._update=function(V){this._cache.add(V);for(var G,j,W=[];G=this._cache.get();)j=this._mode.encrypt(this,G),W.push(j);return y.concat(W)};var E=y.alloc(16,16);function x(){this.cache=y.allocUnsafe(0)}function I(V,G,j){var W=e[V.toLowerCase()];if(!W)throw new TypeError("invalid suite type");if("string"==typeof G&&(G=y.from(G)),G.length!==W.key/8)throw new TypeError("invalid key length "+G.length);if("string"==typeof j&&(j=y.from(j)),"GCM"!==W.mode&&j.length!==W.iv)throw new TypeError("invalid iv length "+j.length);return"stream"===W.type?new A(W.module,G,j):"auth"===W.type?new t(W.module,G,j):new d(W.module,G,j)}d.prototype._final=function(){var V=this._cache.flush();if(this._autopadding)return V=this._mode.encrypt(this,V),this._cipher.scrub(),V;if(!V.equals(E))throw this._cipher.scrub(),new Error("data not multiple of block length")},d.prototype.setAutoPadding=function(V){return this._autopadding=!!V,this},x.prototype.add=function(V){this.cache=y.concat([this.cache,V])},x.prototype.get=function(){if(this.cache.length>15){var V=this.cache.slice(0,16);return this.cache=this.cache.slice(16),V}return null},x.prototype.flush=function(){for(var V=16-this.cache.length,G=y.allocUnsafe(V),j=-1;++j<V;)G.writeUInt8(V,j);return y.concat([this.cache,G])},X.createCipheriv=I,X.createCipher=function k(V,G){var j=e[V.toLowerCase()];if(!j)throw new TypeError("invalid suite type");var W=m(G,!1,j.key,j.iv);return I(V,W.key,W.iv)}},1503:(He,X,p)=>{var e=p(843).Buffer,t=e.alloc(16,0);function A(M){var m=e.allocUnsafe(16);return m.writeUInt32BE(M[0]>>>0,0),m.writeUInt32BE(M[1]>>>0,4),m.writeUInt32BE(M[2]>>>0,8),m.writeUInt32BE(M[3]>>>0,12),m}function l(M){this.h=M,this.state=e.alloc(16,0),this.cache=e.allocUnsafe(0)}l.prototype.ghash=function(M){for(var m=-1;++m<M.length;)this.state[m]^=M[m];this._multiply()},l.prototype._multiply=function(){for(var O,E,M=function y(M){return[M.readUInt32BE(0),M.readUInt32BE(4),M.readUInt32BE(8),M.readUInt32BE(12)]}(this.h),m=[0,0,0,0],x=-1;++x<128;){for(0!=(this.state[~~(x/8)]&1<<7-x%8)&&(m[0]^=M[0],m[1]^=M[1],m[2]^=M[2],m[3]^=M[3]),E=0!=(1&M[3]),O=3;O>0;O--)M[O]=M[O]>>>1|(1&M[O-1])<<31;M[0]=M[0]>>>1,E&&(M[0]=M[0]^225<<24)}this.state=A(m)},l.prototype.update=function(M){this.cache=e.concat([this.cache,M]);for(var m;this.cache.length>=16;)m=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(m)},l.prototype.final=function(M,m){return this.cache.length&&this.ghash(e.concat([this.cache,t],16)),this.ghash(A([0,M,0,m])),this.state},He.exports=l},9107:He=>{He.exports=function X(p){for(var t,e=p.length;e--;){if(255!==(t=p.readUInt8(e))){t++,p.writeUInt8(t,e);break}p.writeUInt8(0,e)}}},1175:(He,X,p)=>{var e=p(3636);X.encrypt=function(t,y){var A=e(y,t._prev);return t._prev=t._cipher.encryptBlock(A),t._prev},X.decrypt=function(t,y){var A=t._prev;t._prev=y;var l=t._cipher.decryptBlock(y);return e(l,A)}},3631:(He,X,p)=>{var e=p(843).Buffer,t=p(3636);function y(A,l,M){var m=l.length,O=t(l,A._cache);return A._cache=A._cache.slice(m),A._prev=e.concat([A._prev,M?l:O]),O}X.encrypt=function(A,l,M){for(var O,m=e.allocUnsafe(0);l.length;){if(0===A._cache.length&&(A._cache=A._cipher.encryptBlock(A._prev),A._prev=e.allocUnsafe(0)),!(A._cache.length<=l.length)){m=e.concat([m,y(A,l,M)]);break}m=e.concat([m,y(A,l.slice(0,O=A._cache.length),M)]),l=l.slice(O)}return m}},3892:(He,X,p)=>{var e=p(843).Buffer;function t(A,l,M){for(var x,I,O=-1,E=0;++O<8;)E+=(128&(I=A._cipher.encryptBlock(A._prev)[0]^(x=l&1<<7-O?128:0)))>>O%8,A._prev=y(A._prev,M?x:I);return E}function y(A,l){var M=A.length,m=-1,O=e.allocUnsafe(A.length);for(A=e.concat([A,e.from([l])]);++m<M;)O[m]=A[m]<<1|A[m+1]>>7;return O}X.encrypt=function(A,l,M){for(var m=l.length,O=e.allocUnsafe(m),d=-1;++d<m;)O[d]=t(A,l[d],M);return O}},6787:(He,X,p)=>{var e=p(843).Buffer;function t(y,A,l){var m=y._cipher.encryptBlock(y._prev)[0]^A;return y._prev=e.concat([y._prev.slice(1),e.from([l?A:m])]),m}X.encrypt=function(y,A,l){for(var M=A.length,m=e.allocUnsafe(M),O=-1;++O<M;)m[O]=t(y,A[O],l);return m}},5268:(He,X,p)=>{var e=p(3636),t=p(843).Buffer,y=p(9107);function A(M){var m=M._cipher.encryptBlockRaw(M._prev);return y(M._prev),m}X.encrypt=function(M,m){var O=Math.ceil(m.length/16),d=M._cache.length;M._cache=t.concat([M._cache,t.allocUnsafe(16*O)]);for(var E=0;E<O;E++){var x=A(M),I=d+16*E;M._cache.writeUInt32BE(x[0],I+0),M._cache.writeUInt32BE(x[1],I+4),M._cache.writeUInt32BE(x[2],I+8),M._cache.writeUInt32BE(x[3],I+12)}var k=M._cache.slice(0,m.length);return M._cache=M._cache.slice(m.length),e(m,k)}},5995:(He,X)=>{X.encrypt=function(p,e){return p._cipher.encryptBlock(e)},X.decrypt=function(p,e){return p._cipher.decryptBlock(e)}},2421:(He,X,p)=>{var e={ECB:p(5995),CBC:p(1175),CFB:p(3631),CFB8:p(6787),CFB1:p(3892),OFB:p(4532),CTR:p(5268),GCM:p(5268)},t=p(4946);for(var y in t)t[y].module=e[t[y].mode];He.exports=t},4532:(He,X,p)=>{var e=p(3636);function t(y){return y._prev=y._cipher.encryptBlock(y._prev),y._prev}X.encrypt=function(y,A){for(;y._cache.length<A.length;)y._cache=Buffer.concat([y._cache,t(y)]);var l=y._cache.slice(0,A.length);return y._cache=y._cache.slice(A.length),e(A,l)}},9354:(He,X,p)=>{var e=p(6403),t=p(843).Buffer,y=p(6420);function l(M,m,O,d){y.call(this),this._cipher=new e.AES(m),this._prev=t.from(O),this._cache=t.allocUnsafe(0),this._secCache=t.allocUnsafe(0),this._decrypt=d,this._mode=M}p(6698)(l,y),l.prototype._update=function(M){return this._mode.encrypt(this,M,this._decrypt)},l.prototype._final=function(){this._cipher.scrub()},He.exports=l},5600:(He,X,p)=>{var e=p(4948),t=p(2489),y=p(2421),A=p(9402),l=p(6505);function O(x,I,k){if(x=x.toLowerCase(),y[x])return t.createCipheriv(x,I,k);if(A[x])return new e({key:I,iv:k,mode:x});throw new TypeError("invalid suite type")}function d(x,I,k){if(x=x.toLowerCase(),y[x])return t.createDecipheriv(x,I,k);if(A[x])return new e({key:I,iv:k,mode:x,decrypt:!0});throw new TypeError("invalid suite type")}X.createCipher=X.Cipher=function M(x,I){var k,V;if(x=x.toLowerCase(),y[x])k=y[x].key,V=y[x].iv;else{if(!A[x])throw new TypeError("invalid suite type");k=8*A[x].key,V=A[x].iv}var G=l(I,!1,k,V);return O(x,G.key,G.iv)},X.createCipheriv=X.Cipheriv=O,X.createDecipher=X.Decipher=function m(x,I){var k,V;if(x=x.toLowerCase(),y[x])k=y[x].key,V=y[x].iv;else{if(!A[x])throw new TypeError("invalid suite type");k=8*A[x].key,V=A[x].iv}var G=l(I,!1,k,V);return d(x,G.key,G.iv)},X.createDecipheriv=X.Decipheriv=d,X.listCiphers=X.getCiphers=function E(){return Object.keys(A).concat(t.getCiphers())}},4948:(He,X,p)=>{var e=p(6420),t=p(132),y=p(6698),A=p(843).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 M(m){e.call(this);var E,O=m.mode.toLowerCase(),d=l[O];E=m.decrypt?"decrypt":"encrypt";var x=m.key;A.isBuffer(x)||(x=A.from(x)),("des-ede"===O||"des-ede-cbc"===O)&&(x=A.concat([x,x.slice(0,8)]));var I=m.iv;A.isBuffer(I)||(I=A.from(I)),this._des=d.create({key:x,iv:I,type:E})}l.des=l["des-cbc"],l.des3=l["des-ede3-cbc"],He.exports=M,y(M,e),M.prototype._update=function(m){return A.from(this._des.update(m))},M.prototype._final=function(){return A.from(this._des.final())}},9402:(He,X)=>{X["des-ecb"]={key:8,iv:0},X["des-cbc"]=X.des={key:8,iv:8},X["des-ede3-cbc"]=X.des3={key:24,iv:8},X["des-ede3"]={key:24,iv:0},X["des-ede-cbc"]={key:16,iv:8},X["des-ede"]={key:16,iv:0}},1946:(He,X,p)=>{var e=p(2662),t=p(4019);function A(M){var O,m=M.modulus.byteLength();do{O=new e(t(m))}while(O.cmp(M.modulus)>=0||!O.umod(M.prime1)||!O.umod(M.prime2));return O}function l(M,m){var O=function y(M){var m=A(M);return{blinder:m.toRed(e.mont(M.modulus)).redPow(new e(M.publicExponent)).fromRed(),unblinder:m.invm(M.modulus)}}(m),d=m.modulus.byteLength(),E=new e(M).mul(O.blinder).umod(m.modulus),x=E.toRed(e.mont(m.prime1)),I=E.toRed(e.mont(m.prime2)),k=m.coefficient,V=m.prime1,G=m.prime2,j=x.redPow(m.exponent1).fromRed(),W=I.redPow(m.exponent2).fromRed(),K=j.isub(W).imul(k).umod(V).imul(G);return W.iadd(K).imul(O.unblinder).umod(m.modulus).toArrayLike(Buffer,"be",d)}l.getr=A,He.exports=l},1699:(He,X,p)=>{"use strict";He.exports=p(5207)},7686:(He,X,p)=>{"use strict";var e=p(843).Buffer,t=p(6362),y=p(6745),A=p(6698),l=p(3602),M=p(1173),m=p(5207);function O(I){y.Writable.call(this);var k=m[I];if(!k)throw new Error("Unknown message digest");this._hashType=k.hash,this._hash=t(k.hash),this._tag=k.id,this._signType=k.sign}function d(I){y.Writable.call(this);var k=m[I];if(!k)throw new Error("Unknown message digest");this._hash=t(k.hash),this._tag=k.id,this._signType=k.sign}function E(I){return new O(I)}function x(I){return new d(I)}Object.keys(m).forEach(function(I){m[I].id=e.from(m[I].id,"hex"),m[I.toLowerCase()]=m[I]}),A(O,y.Writable),O.prototype._write=function(k,V,G){this._hash.update(k),G()},O.prototype.update=function(k,V){return this._hash.update("string"==typeof k?e.from(k,V):k),this},O.prototype.sign=function(k,V){this.end();var G=this._hash.digest(),j=l(G,k,this._hashType,this._signType,this._tag);return V?j.toString(V):j},A(d,y.Writable),d.prototype._write=function(k,V,G){this._hash.update(k),G()},d.prototype.update=function(k,V){return this._hash.update("string"==typeof k?e.from(k,V):k),this},d.prototype.verify=function(k,V,G){var j="string"==typeof V?e.from(V,G):V;this.end();var W=this._hash.digest();return M(j,W,k,this._signType,this._tag)},He.exports={Sign:E,Verify:x,createSign:E,createVerify:x}},3602:(He,X,p)=>{"use strict";var e=p(843).Buffer,t=p(5825),y=p(1946),A=p(8651).ec,l=p(2662),M=p(7983),m=p(1308);function k(K,q,ie,ae){if((K=e.from(K.toArray())).length<q.byteLength()){var ue=e.alloc(q.byteLength()-K.length);K=e.concat([ue,K])}var re=ie.length,xe=function G(K,q){K=(K=V(K,q)).mod(q);var ie=e.from(K.toArray());if(ie.length<q.byteLength()){var ae=e.alloc(q.byteLength()-ie.length);ie=e.concat([ae,ie])}return ie}(ie,q),$=e.alloc(re);$.fill(1);var he=e.alloc(re);return he=t(ae,he).update($).update(e.from([0])).update(K).update(xe).digest(),$=t(ae,he).update($).digest(),{k:he=t(ae,he).update($).update(e.from([1])).update(K).update(xe).digest(),v:$=t(ae,he).update($).digest()}}function V(K,q){var ie=new l(K),ae=(K.length<<3)-q.bitLength();return ae>0&&ie.ishrn(ae),ie}function j(K,q,ie){var ae,ue;do{for(ae=e.alloc(0);8*ae.length<K.bitLength();)q.v=t(ie,q.k).update(q.v).digest(),ae=e.concat([ae,q.v]);ue=V(ae,K),q.k=t(ie,q.k).update(q.v).update(e.from([0])).digest(),q.v=t(ie,q.k).update(q.v).digest()}while(-1!==ue.cmp(K));return ue}function W(K,q,ie,ae){return K.toRed(l.mont(ie)).redPow(q).fromRed().mod(ae)}He.exports=function d(K,q,ie,ae,ue){var re=M(q);if(re.curve){if("ecdsa"!==ae&&"ecdsa/rsa"!==ae)throw new Error("wrong private key type");return function E(K,q){var ie=m[q.curve.join(".")];if(!ie)throw new Error("unknown curve "+q.curve.join("."));var re=new A(ie).keyFromPrivate(q.privateKey).sign(K);return e.from(re.toDER())}(K,re)}if("dsa"===re.type){if("dsa"!==ae)throw new Error("wrong private key type");return function x(K,q,ie){for(var he,ae=q.params.priv_key,ue=q.params.p,re=q.params.q,xe=q.params.g,$=new l(0),S=V(K,re).mod(re),n=!1,s=k(ae,re,K,ie);!1===n;)$=W(xe,he=j(re,s,ie),ue,re),0===(n=he.invm(re).imul(S.add(ae.mul($))).mod(re)).cmpn(0)&&(n=!1,$=new l(0));return function I(K,q){K=K.toArray(),q=q.toArray(),128&K[0]&&(K=[0].concat(K)),128&q[0]&&(q=[0].concat(q));var ae=[48,K.length+q.length+4,2,K.length];return ae=ae.concat(K,[2,q.length],q),e.from(ae)}($,n)}(K,re,ie)}if("rsa"!==ae&&"ecdsa/rsa"!==ae)throw new Error("wrong private key type");if(void 0!==q.padding&&1!==q.padding)throw new Error("illegal or unsupported padding mode");K=e.concat([ue,K]);for(var xe=re.modulus.byteLength(),$=[0,1];K.length+$.length+1<xe;)$.push(255);$.push(0);for(var he=-1;++he<K.length;)$.push(K[he]);return y($,re)},He.exports.getKey=k,He.exports.makeKey=j},1173:(He,X,p)=>{"use strict";var e=p(843).Buffer,t=p(2662),y=p(8651).ec,A=p(7983),l=p(1308);function d(E,x){if(E.cmpn(0)<=0)throw new Error("invalid sig");if(E.cmp(x)>=0)throw new Error("invalid sig")}He.exports=function M(E,x,I,k,V){var G=A(I);if("ec"===G.type){if("ecdsa"!==k&&"ecdsa/rsa"!==k)throw new Error("wrong public key type");return function m(E,x,I){var k=l[I.data.algorithm.curve.join(".")];if(!k)throw new Error("unknown curve "+I.data.algorithm.curve.join("."));return new y(k).verify(x,E,I.data.subjectPrivateKey.data)}(E,x,G)}if("dsa"===G.type){if("dsa"!==k)throw new Error("wrong public key type");return function O(E,x,I){var k=I.data.p,V=I.data.q,G=I.data.g,j=I.data.pub_key,W=A.signature.decode(E,"der"),K=W.s,q=W.r;d(K,V),d(q,V);var ie=t.mont(k),ae=K.invm(V);return 0===G.toRed(ie).redPow(new t(x).mul(ae).mod(V)).fromRed().mul(j.toRed(ie).redPow(q.mul(ae).mod(V)).fromRed()).mod(k).mod(V).cmp(q)}(E,x,G)}if("rsa"!==k&&"ecdsa/rsa"!==k)throw new Error("wrong public key type");x=e.concat([V,x]);for(var j=G.modulus.byteLength(),W=[1],K=0;x.length+W.length+2<j;)W.push(255),K+=1;W.push(0);for(var q=-1;++q<x.length;)W.push(x[q]);W=e.from(W);var ie=t.mont(G.modulus);E=(E=new t(E).toRed(ie)).redPow(new t(G.publicExponent)),E=e.from(E.fromRed().toArray());var ae=K<8?1:0;for(j=Math.min(E.length,W.length),E.length!==W.length&&(ae=1),q=-1;++q<j;)ae|=E[q]^W[q];return 0===ae}},3636:He=>{He.exports=function(p,e){for(var t=Math.min(p.length,e.length),y=new Buffer(t),A=0;A<t;++A)y[A]=p[A]^e[A];return y}},9007:(He,X,p)=>{"use strict";var e=p(9919),t=p(2601),y="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;X.Buffer=m,X.SlowBuffer=function K(oe){return+oe!=oe&&(oe=0),m.alloc(+oe)},X.INSPECT_MAX_BYTES=50;var A=2147483647;function M(oe){if(oe>A)throw new RangeError('The value "'+oe+'" is invalid for option "size"');var ve=new Uint8Array(oe);return Object.setPrototypeOf(ve,m.prototype),ve}function m(oe,ve,ce){if("number"==typeof oe){if("string"==typeof ve)throw new TypeError('The "string" argument must be of type string. Received type number');return x(oe)}return O(oe,ve,ce)}function O(oe,ve,ce){if("string"==typeof oe)return function I(oe,ve){if(("string"!=typeof ve||""===ve)&&(ve="utf8"),!m.isEncoding(ve))throw new TypeError("Unknown encoding: "+ve);var ce=0|q(oe,ve),Ge=M(ce),Ze=Ge.write(oe,ve);return Ze!==ce&&(Ge=Ge.slice(0,Ze)),Ge}(oe,ve);if(ArrayBuffer.isView(oe))return function V(oe){if(le(oe,Uint8Array)){var ve=new Uint8Array(oe);return G(ve.buffer,ve.byteOffset,ve.byteLength)}return k(oe)}(oe);if(null==oe)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof oe);if(le(oe,ArrayBuffer)||oe&&le(oe.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(le(oe,SharedArrayBuffer)||oe&&le(oe.buffer,SharedArrayBuffer)))return G(oe,ve,ce);if("number"==typeof oe)throw new TypeError('The "value" argument must not be of type number. Received type number');var Ge=oe.valueOf&&oe.valueOf();if(null!=Ge&&Ge!==oe)return m.from(Ge,ve,ce);var Ze=function j(oe){if(m.isBuffer(oe)){var ve=0|W(oe.length),ce=M(ve);return 0===ce.length||oe.copy(ce,0,0,ve),ce}return void 0!==oe.length?"number"!=typeof oe.length||ge(oe.length)?M(0):k(oe):"Buffer"===oe.type&&Array.isArray(oe.data)?k(oe.data):void 0}(oe);if(Ze)return Ze;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof oe[Symbol.toPrimitive])return m.from(oe[Symbol.toPrimitive]("string"),ve,ce);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof oe)}function d(oe){if("number"!=typeof oe)throw new TypeError('"size" argument must be of type number');if(oe<0)throw new RangeError('The value "'+oe+'" is invalid for option "size"')}function x(oe){return d(oe),M(oe<0?0:0|W(oe))}function k(oe){for(var ve=oe.length<0?0:0|W(oe.length),ce=M(ve),Ge=0;Ge<ve;Ge+=1)ce[Ge]=255&oe[Ge];return ce}function G(oe,ve,ce){if(ve<0||oe.byteLength<ve)throw new RangeError('"offset" is outside of buffer bounds');if(oe.byteLength<ve+(ce||0))throw new RangeError('"length" is outside of buffer bounds');var Ge;return Ge=void 0===ve&&void 0===ce?new Uint8Array(oe):void 0===ce?new Uint8Array(oe,ve):new Uint8Array(oe,ve,ce),Object.setPrototypeOf(Ge,m.prototype),Ge}function W(oe){if(oe>=A)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+A.toString(16)+" bytes");return 0|oe}function q(oe,ve){if(m.isBuffer(oe))return oe.length;if(ArrayBuffer.isView(oe)||le(oe,ArrayBuffer))return oe.byteLength;if("string"!=typeof oe)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof oe);var ce=oe.length,Ge=arguments.length>2&&!0===arguments[2];if(!Ge&&0===ce)return 0;for(var Ze=!1;;)switch(ve){case"ascii":case"latin1":case"binary":return ce;case"utf8":case"utf-8":return $e(oe).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*ce;case"hex":return ce>>>1;case"base64":return de(oe).length;default:if(Ze)return Ge?-1:$e(oe).length;ve=(""+ve).toLowerCase(),Ze=!0}}function ie(oe,ve,ce){var Ge=!1;if((void 0===ve||ve<0)&&(ve=0),ve>this.length||((void 0===ce||ce>this.length)&&(ce=this.length),ce<=0)||(ce>>>=0)<=(ve>>>=0))return"";for(oe||(oe="utf8");;)switch(oe){case"hex":return v(this,ve,ce);case"utf8":case"utf-8":return f(this,ve,ce);case"ascii":return D(this,ve,ce);case"latin1":case"binary":return P(this,ve,ce);case"base64":return s(this,ve,ce);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r(this,ve,ce);default:if(Ge)throw new TypeError("Unknown encoding: "+oe);oe=(oe+"").toLowerCase(),Ge=!0}}function ae(oe,ve,ce){var Ge=oe[ve];oe[ve]=oe[ce],oe[ce]=Ge}function ue(oe,ve,ce,Ge,Ze){if(0===oe.length)return-1;if("string"==typeof ce?(Ge=ce,ce=0):ce>2147483647?ce=2147483647:ce<-2147483648&&(ce=-2147483648),ge(ce=+ce)&&(ce=Ze?0:oe.length-1),ce<0&&(ce=oe.length+ce),ce>=oe.length){if(Ze)return-1;ce=oe.length-1}else if(ce<0){if(!Ze)return-1;ce=0}if("string"==typeof ve&&(ve=m.from(ve,Ge)),m.isBuffer(ve))return 0===ve.length?-1:re(oe,ve,ce,Ge,Ze);if("number"==typeof ve)return ve&=255,"function"==typeof Uint8Array.prototype.indexOf?Ze?Uint8Array.prototype.indexOf.call(oe,ve,ce):Uint8Array.prototype.lastIndexOf.call(oe,ve,ce):re(oe,[ve],ce,Ge,Ze);throw new TypeError("val must be string, number or Buffer")}function re(oe,ve,ce,Ge,Ze){var ze,wt=1,mt=oe.length,kt=ve.length;if(void 0!==Ge&&("ucs2"===(Ge=String(Ge).toLowerCase())||"ucs-2"===Ge||"utf16le"===Ge||"utf-16le"===Ge)){if(oe.length<2||ve.length<2)return-1;wt=2,mt/=2,kt/=2,ce/=2}function Ae(ct,Qe){return 1===wt?ct[Qe]:ct.readUInt16BE(Qe*wt)}if(Ze){var nt=-1;for(ze=ce;ze<mt;ze++)if(Ae(oe,ze)===Ae(ve,-1===nt?0:ze-nt)){if(-1===nt&&(nt=ze),ze-nt+1===kt)return nt*wt}else-1!==nt&&(ze-=ze-nt),nt=-1}else for(ce+kt>mt&&(ce=mt-kt),ze=ce;ze>=0;ze--){for(var et=!0,ke=0;ke<kt;ke++)if(Ae(oe,ze+ke)!==Ae(ve,ke)){et=!1;break}if(et)return ze}return-1}function xe(oe,ve,ce,Ge){ce=Number(ce)||0;var Ze=oe.length-ce;Ge?(Ge=Number(Ge))>Ze&&(Ge=Ze):Ge=Ze;var wt=ve.length;Ge>wt/2&&(Ge=wt/2);for(var mt=0;mt<Ge;++mt){var kt=parseInt(ve.substr(2*mt,2),16);if(ge(kt))return mt;oe[ce+mt]=kt}return mt}function $(oe,ve,ce,Ge){return Ce($e(ve,oe.length-ce),oe,ce,Ge)}function he(oe,ve,ce,Ge){return Ce(function ye(oe){for(var ve=[],ce=0;ce<oe.length;++ce)ve.push(255&oe.charCodeAt(ce));return ve}(ve),oe,ce,Ge)}function S(oe,ve,ce,Ge){return Ce(de(ve),oe,ce,Ge)}function n(oe,ve,ce,Ge){return Ce(function fe(oe,ve){for(var ce,Ge,wt=[],mt=0;mt<oe.length&&!((ve-=2)<0);++mt)Ge=(ce=oe.charCodeAt(mt))>>8,wt.push(ce%256),wt.push(Ge);return wt}(ve,oe.length-ce),oe,ce,Ge)}function s(oe,ve,ce){return e.fromByteArray(0===ve&&ce===oe.length?oe:oe.slice(ve,ce))}function f(oe,ve,ce){ce=Math.min(oe.length,ce);for(var Ge=[],Ze=ve;Ze<ce;){var Ae,ze,nt,et,wt=oe[Ze],mt=null,kt=wt>239?4:wt>223?3:wt>191?2:1;if(Ze+kt<=ce)switch(kt){case 1:wt<128&&(mt=wt);break;case 2:128==(192&(Ae=oe[Ze+1]))&&(et=(31&wt)<<6|63&Ae)>127&&(mt=et);break;case 3:ze=oe[Ze+2],128==(192&(Ae=oe[Ze+1]))&&128==(192&ze)&&(et=(15&wt)<<12|(63&Ae)<<6|63&ze)>2047&&(et<55296||et>57343)&&(mt=et);break;case 4:ze=oe[Ze+2],nt=oe[Ze+3],128==(192&(Ae=oe[Ze+1]))&&128==(192&ze)&&128==(192&nt)&&(et=(15&wt)<<18|(63&Ae)<<12|(63&ze)<<6|63&nt)>65535&&et<1114112&&(mt=et)}null===mt?(mt=65533,kt=1):mt>65535&&(Ge.push((mt-=65536)>>>10&1023|55296),mt=56320|1023&mt),Ge.push(mt),Ze+=kt}return function w(oe){var ve=oe.length;if(ve<=h)return String.fromCharCode.apply(String,oe);for(var ce="",Ge=0;Ge<ve;)ce+=String.fromCharCode.apply(String,oe.slice(Ge,Ge+=h));return ce}(Ge)}X.kMaxLength=A,!(m.TYPED_ARRAY_SUPPORT=function l(){try{var oe=new Uint8Array(1),ve={foo:function(){return 42}};return Object.setPrototypeOf(ve,Uint8Array.prototype),Object.setPrototypeOf(oe,ve),42===oe.foo()}catch{return!1}}())&&typeof console<"u"&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(m.prototype,"parent",{enumerable:!0,get:function(){if(m.isBuffer(this))return this.buffer}}),Object.defineProperty(m.prototype,"offset",{enumerable:!0,get:function(){if(m.isBuffer(this))return this.byteOffset}}),m.poolSize=8192,m.from=function(oe,ve,ce){return O(oe,ve,ce)},Object.setPrototypeOf(m.prototype,Uint8Array.prototype),Object.setPrototypeOf(m,Uint8Array),m.alloc=function(oe,ve,ce){return function E(oe,ve,ce){return d(oe),oe<=0?M(oe):void 0!==ve?"string"==typeof ce?M(oe).fill(ve,ce):M(oe).fill(ve):M(oe)}(oe,ve,ce)},m.allocUnsafe=function(oe){return x(oe)},m.allocUnsafeSlow=function(oe){return x(oe)},m.isBuffer=function(ve){return null!=ve&&!0===ve._isBuffer&&ve!==m.prototype},m.compare=function(ve,ce){if(le(ve,Uint8Array)&&(ve=m.from(ve,ve.offset,ve.byteLength)),le(ce,Uint8Array)&&(ce=m.from(ce,ce.offset,ce.byteLength)),!m.isBuffer(ve)||!m.isBuffer(ce))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ve===ce)return 0;for(var Ge=ve.length,Ze=ce.length,wt=0,mt=Math.min(Ge,Ze);wt<mt;++wt)if(ve[wt]!==ce[wt]){Ge=ve[wt],Ze=ce[wt];break}return Ge<Ze?-1:Ze<Ge?1:0},m.isEncoding=function(ve){switch(String(ve).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}},m.concat=function(ve,ce){if(!Array.isArray(ve))throw new TypeError('"list" argument must be an Array of Buffers');if(0===ve.length)return m.alloc(0);var Ge;if(void 0===ce)for(ce=0,Ge=0;Ge<ve.length;++Ge)ce+=ve[Ge].length;var Ze=m.allocUnsafe(ce),wt=0;for(Ge=0;Ge<ve.length;++Ge){var mt=ve[Ge];if(le(mt,Uint8Array))wt+mt.length>Ze.length?m.from(mt).copy(Ze,wt):Uint8Array.prototype.set.call(Ze,mt,wt);else{if(!m.isBuffer(mt))throw new TypeError('"list" argument must be an Array of Buffers');mt.copy(Ze,wt)}wt+=mt.length}return Ze},m.byteLength=q,m.prototype._isBuffer=!0,m.prototype.swap16=function(){var ve=this.length;if(ve%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var ce=0;ce<ve;ce+=2)ae(this,ce,ce+1);return this},m.prototype.swap32=function(){var ve=this.length;if(ve%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var ce=0;ce<ve;ce+=4)ae(this,ce,ce+3),ae(this,ce+1,ce+2);return this},m.prototype.swap64=function(){var ve=this.length;if(ve%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var ce=0;ce<ve;ce+=8)ae(this,ce,ce+7),ae(this,ce+1,ce+6),ae(this,ce+2,ce+5),ae(this,ce+3,ce+4);return this},m.prototype.toLocaleString=m.prototype.toString=function(){var ve=this.length;return 0===ve?"":0===arguments.length?f(this,0,ve):ie.apply(this,arguments)},m.prototype.equals=function(ve){if(!m.isBuffer(ve))throw new TypeError("Argument must be a Buffer");return this===ve||0===m.compare(this,ve)},m.prototype.inspect=function(){var ve="",ce=X.INSPECT_MAX_BYTES;return ve=this.toString("hex",0,ce).replace(/(.{2})/g,"$1 ").trim(),this.length>ce&&(ve+=" ... "),"<Buffer "+ve+">"},y&&(m.prototype[y]=m.prototype.inspect),m.prototype.compare=function(ve,ce,Ge,Ze,wt){if(le(ve,Uint8Array)&&(ve=m.from(ve,ve.offset,ve.byteLength)),!m.isBuffer(ve))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof ve);if(void 0===ce&&(ce=0),void 0===Ge&&(Ge=ve?ve.length:0),void 0===Ze&&(Ze=0),void 0===wt&&(wt=this.length),ce<0||Ge>ve.length||Ze<0||wt>this.length)throw new RangeError("out of range index");if(Ze>=wt&&ce>=Ge)return 0;if(Ze>=wt)return-1;if(ce>=Ge)return 1;if(this===ve)return 0;for(var mt=(wt>>>=0)-(Ze>>>=0),kt=(Ge>>>=0)-(ce>>>=0),Ae=Math.min(mt,kt),ze=this.slice(Ze,wt),nt=ve.slice(ce,Ge),et=0;et<Ae;++et)if(ze[et]!==nt[et]){mt=ze[et],kt=nt[et];break}return mt<kt?-1:kt<mt?1:0},m.prototype.includes=function(ve,ce,Ge){return-1!==this.indexOf(ve,ce,Ge)},m.prototype.indexOf=function(ve,ce,Ge){return ue(this,ve,ce,Ge,!0)},m.prototype.lastIndexOf=function(ve,ce,Ge){return ue(this,ve,ce,Ge,!1)},m.prototype.write=function(ve,ce,Ge,Ze){if(void 0===ce)Ze="utf8",Ge=this.length,ce=0;else if(void 0===Ge&&"string"==typeof ce)Ze=ce,Ge=this.length,ce=0;else{if(!isFinite(ce))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");ce>>>=0,isFinite(Ge)?(Ge>>>=0,void 0===Ze&&(Ze="utf8")):(Ze=Ge,Ge=void 0)}var wt=this.length-ce;if((void 0===Ge||Ge>wt)&&(Ge=wt),ve.length>0&&(Ge<0||ce<0)||ce>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ze||(Ze="utf8");for(var mt=!1;;)switch(Ze){case"hex":return xe(this,ve,ce,Ge);case"utf8":case"utf-8":return $(this,ve,ce,Ge);case"ascii":case"latin1":case"binary":return he(this,ve,ce,Ge);case"base64":return S(this,ve,ce,Ge);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n(this,ve,ce,Ge);default:if(mt)throw new TypeError("Unknown encoding: "+Ze);Ze=(""+Ze).toLowerCase(),mt=!0}},m.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var h=4096;function D(oe,ve,ce){var Ge="";ce=Math.min(oe.length,ce);for(var Ze=ve;Ze<ce;++Ze)Ge+=String.fromCharCode(127&oe[Ze]);return Ge}function P(oe,ve,ce){var Ge="";ce=Math.min(oe.length,ce);for(var Ze=ve;Ze<ce;++Ze)Ge+=String.fromCharCode(oe[Ze]);return Ge}function v(oe,ve,ce){var Ge=oe.length;(!ve||ve<0)&&(ve=0),(!ce||ce<0||ce>Ge)&&(ce=Ge);for(var Ze="",wt=ve;wt<ce;++wt)Ze+=qe[oe[wt]];return Ze}function r(oe,ve,ce){for(var Ge=oe.slice(ve,ce),Ze="",wt=0;wt<Ge.length-1;wt+=2)Ze+=String.fromCharCode(Ge[wt]+256*Ge[wt+1]);return Ze}function g(oe,ve,ce){if(oe%1!=0||oe<0)throw new RangeError("offset is not uint");if(oe+ve>ce)throw new RangeError("Trying to access beyond buffer length")}function H(oe,ve,ce,Ge,Ze,wt){if(!m.isBuffer(oe))throw new TypeError('"buffer" argument must be a Buffer instance');if(ve>Ze||ve<wt)throw new RangeError('"value" argument is out of bounds');if(ce+Ge>oe.length)throw new RangeError("Index out of range")}function N(oe,ve,ce,Ge,Ze,wt){if(ce+Ge>oe.length)throw new RangeError("Index out of range");if(ce<0)throw new RangeError("Index out of range")}function te(oe,ve,ce,Ge,Ze){return ve=+ve,ce>>>=0,Ze||N(oe,0,ce,4),t.write(oe,ve,ce,Ge,23,4),ce+4}function De(oe,ve,ce,Ge,Ze){return ve=+ve,ce>>>=0,Ze||N(oe,0,ce,8),t.write(oe,ve,ce,Ge,52,8),ce+8}m.prototype.slice=function(ve,ce){var Ge=this.length;(ve=~~ve)<0?(ve+=Ge)<0&&(ve=0):ve>Ge&&(ve=Ge),(ce=void 0===ce?Ge:~~ce)<0?(ce+=Ge)<0&&(ce=0):ce>Ge&&(ce=Ge),ce<ve&&(ce=ve);var Ze=this.subarray(ve,ce);return Object.setPrototypeOf(Ze,m.prototype),Ze},m.prototype.readUintLE=m.prototype.readUIntLE=function(ve,ce,Ge){ve>>>=0,ce>>>=0,Ge||g(ve,ce,this.length);for(var Ze=this[ve],wt=1,mt=0;++mt<ce&&(wt*=256);)Ze+=this[ve+mt]*wt;return Ze},m.prototype.readUintBE=m.prototype.readUIntBE=function(ve,ce,Ge){ve>>>=0,ce>>>=0,Ge||g(ve,ce,this.length);for(var Ze=this[ve+--ce],wt=1;ce>0&&(wt*=256);)Ze+=this[ve+--ce]*wt;return Ze},m.prototype.readUint8=m.prototype.readUInt8=function(ve,ce){return ve>>>=0,ce||g(ve,1,this.length),this[ve]},m.prototype.readUint16LE=m.prototype.readUInt16LE=function(ve,ce){return ve>>>=0,ce||g(ve,2,this.length),this[ve]|this[ve+1]<<8},m.prototype.readUint16BE=m.prototype.readUInt16BE=function(ve,ce){return ve>>>=0,ce||g(ve,2,this.length),this[ve]<<8|this[ve+1]},m.prototype.readUint32LE=m.prototype.readUInt32LE=function(ve,ce){return ve>>>=0,ce||g(ve,4,this.length),(this[ve]|this[ve+1]<<8|this[ve+2]<<16)+16777216*this[ve+3]},m.prototype.readUint32BE=m.prototype.readUInt32BE=function(ve,ce){return ve>>>=0,ce||g(ve,4,this.length),16777216*this[ve]+(this[ve+1]<<16|this[ve+2]<<8|this[ve+3])},m.prototype.readIntLE=function(ve,ce,Ge){ve>>>=0,ce>>>=0,Ge||g(ve,ce,this.length);for(var Ze=this[ve],wt=1,mt=0;++mt<ce&&(wt*=256);)Ze+=this[ve+mt]*wt;return Ze>=(wt*=128)&&(Ze-=Math.pow(2,8*ce)),Ze},m.prototype.readIntBE=function(ve,ce,Ge){ve>>>=0,ce>>>=0,Ge||g(ve,ce,this.length);for(var Ze=ce,wt=1,mt=this[ve+--Ze];Ze>0&&(wt*=256);)mt+=this[ve+--Ze]*wt;return mt>=(wt*=128)&&(mt-=Math.pow(2,8*ce)),mt},m.prototype.readInt8=function(ve,ce){return ve>>>=0,ce||g(ve,1,this.length),128&this[ve]?-1*(255-this[ve]+1):this[ve]},m.prototype.readInt16LE=function(ve,ce){ve>>>=0,ce||g(ve,2,this.length);var Ge=this[ve]|this[ve+1]<<8;return 32768&Ge?4294901760|Ge:Ge},m.prototype.readInt16BE=function(ve,ce){ve>>>=0,ce||g(ve,2,this.length);var Ge=this[ve+1]|this[ve]<<8;return 32768&Ge?4294901760|Ge:Ge},m.prototype.readInt32LE=function(ve,ce){return ve>>>=0,ce||g(ve,4,this.length),this[ve]|this[ve+1]<<8|this[ve+2]<<16|this[ve+3]<<24},m.prototype.readInt32BE=function(ve,ce){return ve>>>=0,ce||g(ve,4,this.length),this[ve]<<24|this[ve+1]<<16|this[ve+2]<<8|this[ve+3]},m.prototype.readFloatLE=function(ve,ce){return ve>>>=0,ce||g(ve,4,this.length),t.read(this,ve,!0,23,4)},m.prototype.readFloatBE=function(ve,ce){return ve>>>=0,ce||g(ve,4,this.length),t.read(this,ve,!1,23,4)},m.prototype.readDoubleLE=function(ve,ce){return ve>>>=0,ce||g(ve,8,this.length),t.read(this,ve,!0,52,8)},m.prototype.readDoubleBE=function(ve,ce){return ve>>>=0,ce||g(ve,8,this.length),t.read(this,ve,!1,52,8)},m.prototype.writeUintLE=m.prototype.writeUIntLE=function(ve,ce,Ge,Ze){ve=+ve,ce>>>=0,Ge>>>=0,Ze||H(this,ve,ce,Ge,Math.pow(2,8*Ge)-1,0);var mt=1,kt=0;for(this[ce]=255&ve;++kt<Ge&&(mt*=256);)this[ce+kt]=ve/mt&255;return ce+Ge},m.prototype.writeUintBE=m.prototype.writeUIntBE=function(ve,ce,Ge,Ze){ve=+ve,ce>>>=0,Ge>>>=0,Ze||H(this,ve,ce,Ge,Math.pow(2,8*Ge)-1,0);var mt=Ge-1,kt=1;for(this[ce+mt]=255&ve;--mt>=0&&(kt*=256);)this[ce+mt]=ve/kt&255;return ce+Ge},m.prototype.writeUint8=m.prototype.writeUInt8=function(ve,ce,Ge){return ve=+ve,ce>>>=0,Ge||H(this,ve,ce,1,255,0),this[ce]=255&ve,ce+1},m.prototype.writeUint16LE=m.prototype.writeUInt16LE=function(ve,ce,Ge){return ve=+ve,ce>>>=0,Ge||H(this,ve,ce,2,65535,0),this[ce]=255&ve,this[ce+1]=ve>>>8,ce+2},m.prototype.writeUint16BE=m.prototype.writeUInt16BE=function(ve,ce,Ge){return ve=+ve,ce>>>=0,Ge||H(this,ve,ce,2,65535,0),this[ce]=ve>>>8,this[ce+1]=255&ve,ce+2},m.prototype.writeUint32LE=m.prototype.writeUInt32LE=function(ve,ce,Ge){return ve=+ve,ce>>>=0,Ge||H(this,ve,ce,4,4294967295,0),this[ce+3]=ve>>>24,this[ce+2]=ve>>>16,this[ce+1]=ve>>>8,this[ce]=255&ve,ce+4},m.prototype.writeUint32BE=m.prototype.writeUInt32BE=function(ve,ce,Ge){return ve=+ve,ce>>>=0,Ge||H(this,ve,ce,4,4294967295,0),this[ce]=ve>>>24,this[ce+1]=ve>>>16,this[ce+2]=ve>>>8,this[ce+3]=255&ve,ce+4},m.prototype.writeIntLE=function(ve,ce,Ge,Ze){if(ve=+ve,ce>>>=0,!Ze){var wt=Math.pow(2,8*Ge-1);H(this,ve,ce,Ge,wt-1,-wt)}var mt=0,kt=1,Ae=0;for(this[ce]=255&ve;++mt<Ge&&(kt*=256);)ve<0&&0===Ae&&0!==this[ce+mt-1]&&(Ae=1),this[ce+mt]=(ve/kt>>0)-Ae&255;return ce+Ge},m.prototype.writeIntBE=function(ve,ce,Ge,Ze){if(ve=+ve,ce>>>=0,!Ze){var wt=Math.pow(2,8*Ge-1);H(this,ve,ce,Ge,wt-1,-wt)}var mt=Ge-1,kt=1,Ae=0;for(this[ce+mt]=255&ve;--mt>=0&&(kt*=256);)ve<0&&0===Ae&&0!==this[ce+mt+1]&&(Ae=1),this[ce+mt]=(ve/kt>>0)-Ae&255;return ce+Ge},m.prototype.writeInt8=function(ve,ce,Ge){return ve=+ve,ce>>>=0,Ge||H(this,ve,ce,1,127,-128),ve<0&&(ve=255+ve+1),this[ce]=255&ve,ce+1},m.prototype.writeInt16LE=function(ve,ce,Ge){return ve=+ve,ce>>>=0,Ge||H(this,ve,ce,2,32767,-32768),this[ce]=255&ve,this[ce+1]=ve>>>8,ce+2},m.prototype.writeInt16BE=function(ve,ce,Ge){return ve=+ve,ce>>>=0,Ge||H(this,ve,ce,2,32767,-32768),this[ce]=ve>>>8,this[ce+1]=255&ve,ce+2},m.prototype.writeInt32LE=function(ve,ce,Ge){return ve=+ve,ce>>>=0,Ge||H(this,ve,ce,4,2147483647,-2147483648),this[ce]=255&ve,this[ce+1]=ve>>>8,this[ce+2]=ve>>>16,this[ce+3]=ve>>>24,ce+4},m.prototype.writeInt32BE=function(ve,ce,Ge){return ve=+ve,ce>>>=0,Ge||H(this,ve,ce,4,2147483647,-2147483648),ve<0&&(ve=4294967295+ve+1),this[ce]=ve>>>24,this[ce+1]=ve>>>16,this[ce+2]=ve>>>8,this[ce+3]=255&ve,ce+4},m.prototype.writeFloatLE=function(ve,ce,Ge){return te(this,ve,ce,!0,Ge)},m.prototype.writeFloatBE=function(ve,ce,Ge){return te(this,ve,ce,!1,Ge)},m.prototype.writeDoubleLE=function(ve,ce,Ge){return De(this,ve,ce,!0,Ge)},m.prototype.writeDoubleBE=function(ve,ce,Ge){return De(this,ve,ce,!1,Ge)},m.prototype.copy=function(ve,ce,Ge,Ze){if(!m.isBuffer(ve))throw new TypeError("argument should be a Buffer");if(Ge||(Ge=0),!Ze&&0!==Ze&&(Ze=this.length),ce>=ve.length&&(ce=ve.length),ce||(ce=0),Ze>0&&Ze<Ge&&(Ze=Ge),Ze===Ge||0===ve.length||0===this.length)return 0;if(ce<0)throw new RangeError("targetStart out of bounds");if(Ge<0||Ge>=this.length)throw new RangeError("Index out of range");if(Ze<0)throw new RangeError("sourceEnd out of bounds");Ze>this.length&&(Ze=this.length),ve.length-ce<Ze-Ge&&(Ze=ve.length-ce+Ge);var wt=Ze-Ge;return this===ve&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(ce,Ge,Ze):Uint8Array.prototype.set.call(ve,this.subarray(Ge,Ze),ce),wt},m.prototype.fill=function(ve,ce,Ge,Ze){if("string"==typeof ve){if("string"==typeof ce?(Ze=ce,ce=0,Ge=this.length):"string"==typeof Ge&&(Ze=Ge,Ge=this.length),void 0!==Ze&&"string"!=typeof Ze)throw new TypeError("encoding must be a string");if("string"==typeof Ze&&!m.isEncoding(Ze))throw new TypeError("Unknown encoding: "+Ze);if(1===ve.length){var wt=ve.charCodeAt(0);("utf8"===Ze&&wt<128||"latin1"===Ze)&&(ve=wt)}}else"number"==typeof ve?ve&=255:"boolean"==typeof ve&&(ve=Number(ve));if(ce<0||this.length<ce||this.length<Ge)throw new RangeError("Out of range index");if(Ge<=ce)return this;var mt;if(ce>>>=0,Ge=void 0===Ge?this.length:Ge>>>0,ve||(ve=0),"number"==typeof ve)for(mt=ce;mt<Ge;++mt)this[mt]=ve;else{var kt=m.isBuffer(ve)?ve:m.from(ve,Ze),Ae=kt.length;if(0===Ae)throw new TypeError('The value "'+ve+'" is invalid for argument "value"');for(mt=0;mt<Ge-ce;++mt)this[mt+ce]=kt[mt%Ae]}return this};var st=/[^+/0-9A-Za-z-_]/g;function $e(oe,ve){ve=ve||1/0;for(var ce,Ge=oe.length,Ze=null,wt=[],mt=0;mt<Ge;++mt){if((ce=oe.charCodeAt(mt))>55295&&ce<57344){if(!Ze){if(ce>56319){(ve-=3)>-1&&wt.push(239,191,189);continue}if(mt+1===Ge){(ve-=3)>-1&&wt.push(239,191,189);continue}Ze=ce;continue}if(ce<56320){(ve-=3)>-1&&wt.push(239,191,189),Ze=ce;continue}ce=65536+(Ze-55296<<10|ce-56320)}else Ze&&(ve-=3)>-1&&wt.push(239,191,189);if(Ze=null,ce<128){if((ve-=1)<0)break;wt.push(ce)}else if(ce<2048){if((ve-=2)<0)break;wt.push(ce>>6|192,63&ce|128)}else if(ce<65536){if((ve-=3)<0)break;wt.push(ce>>12|224,ce>>6&63|128,63&ce|128)}else{if(!(ce<1114112))throw new Error("Invalid code point");if((ve-=4)<0)break;wt.push(ce>>18|240,ce>>12&63|128,ce>>6&63|128,63&ce|128)}}return wt}function de(oe){return e.toByteArray(function je(oe){if((oe=(oe=oe.split("=")[0]).trim().replace(st,"")).length<2)return"";for(;oe.length%4!=0;)oe+="=";return oe}(oe))}function Ce(oe,ve,ce,Ge){for(var Ze=0;Ze<Ge&&!(Ze+ce>=ve.length||Ze>=oe.length);++Ze)ve[Ze+ce]=oe[Ze];return Ze}function le(oe,ve){return oe instanceof ve||null!=oe&&null!=oe.constructor&&null!=oe.constructor.name&&oe.constructor.name===ve.name}function ge(oe){return oe!=oe}var qe=function(){for(var oe="0123456789abcdef",ve=new Array(256),ce=0;ce<16;++ce)for(var Ge=16*ce,Ze=0;Ze<16;++Ze)ve[Ge+Ze]=oe[ce]+oe[Ze];return ve}()},6420:(He,X,p)=>{var e=p(843).Buffer,t=p(1793).Transform,y=p(2024).s;function l(M){t.call(this),this.hashMode="string"==typeof M,this.hashMode?this[M]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}p(6698)(l,t),l.prototype.update=function(M,m,O){"string"==typeof M&&(M=e.from(M,m));var d=this._update(M);return this.hashMode?this:(O&&(d=this._toString(d,O)),d)},l.prototype.setAutoPadding=function(){},l.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},l.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},l.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},l.prototype._transform=function(M,m,O){var d;try{this.hashMode?this._update(M):this.push(this._update(M))}catch(E){d=E}finally{O(d)}},l.prototype._flush=function(M){var m;try{this.push(this.__final())}catch(O){m=O}M(m)},l.prototype._finalOrDigest=function(M){var m=this.__final()||e.alloc(0);return M&&(m=this._toString(m,M,!0)),m},l.prototype._toString=function(M,m,O){if(this._decoder||(this._decoder=new y(m),this._encoding=m),this._encoding!==m)throw new Error("can't switch encodings");var d=this._decoder.write(M);return O&&(d+=this._decoder.end()),d},He.exports=l},188:function(He){!function(X){"use strict";var p={bytesToHex:function(y){return function e(y){return y.map(function(A){return function t(y,A){return y.length>A?y:Array(A-y.length+1).join("0")+y}(A.toString(16),2)}).join("")}(y)},hexToBytes:function(y){if(y.length%2==1)throw new Error("hexToBytes can't have a string with an odd number of characters.");return 0===y.indexOf("0x")&&(y=y.slice(2)),y.match(/../g).map(function(A){return parseInt(A,16)})}};He.exports?He.exports=p:X.convertHex=p}(this)},5486:function(He){!function(X){"use strict";var p={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)})}};p.UTF8={bytesToString:function(e){return decodeURIComponent(escape(p.bytesToString(e)))},stringToBytes:function(e){return p.stringToBytes(unescape(encodeURIComponent(e)))}},He.exports?He.exports=p:X.convertString=p}(this)},8840:(He,X,p)=>{var e=p(8651),t=p(3185);He.exports=function(m){return new A(m)};var y={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function A(M){this.curveType=y[M],this.curveType||(this.curveType={name:M}),this.curve=new e.ec(this.curveType.name),this.keys=void 0}function l(M,m,O){Array.isArray(M)||(M=M.toArray());var d=new Buffer(M);if(O&&d.length<O){var E=new Buffer(O-d.length);E.fill(0),d=Buffer.concat([E,d])}return m?d.toString(m):d}y.p224=y.secp224r1,y.p256=y.secp256r1=y.prime256v1,y.p192=y.secp192r1=y.prime192v1,y.p384=y.secp384r1,y.p521=y.secp521r1,A.prototype.generateKeys=function(M,m){return this.keys=this.curve.genKeyPair(),this.getPublicKey(M,m)},A.prototype.computeSecret=function(M,m,O){return m=m||"utf8",Buffer.isBuffer(M)||(M=new Buffer(M,m)),l(this.curve.keyFromPublic(M).getPublic().mul(this.keys.getPrivate()).getX(),O,this.curveType.byteLength)},A.prototype.getPublicKey=function(M,m){var O=this.keys.getPublic("compressed"===m,!0);return"hybrid"===m&&(O[0]=O[O.length-1]%2?7:6),l(O,M)},A.prototype.getPrivateKey=function(M){return l(this.keys.getPrivate(),M)},A.prototype.setPublicKey=function(M,m){return m=m||"utf8",Buffer.isBuffer(M)||(M=new Buffer(M,m)),this.keys._importPublic(M),this},A.prototype.setPrivateKey=function(M,m){m=m||"utf8",Buffer.isBuffer(M)||(M=new Buffer(M,m));var O=new t(M);return O=O.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(O),this}},3185:function(He,X,p){!function(e,t){"use strict";function y(S,n){if(!S)throw new Error(n||"Assertion failed")}function A(S,n){S.super_=n;var s=function(){};s.prototype=n.prototype,S.prototype=new s,S.prototype.constructor=S}function l(S,n,s){if(l.isBN(S))return S;this.negative=0,this.words=null,this.length=0,this.red=null,null!==S&&(("le"===n||"be"===n)&&(s=n,n=10),this._init(S||0,n||10,s||"be"))}var M;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{M=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:p(8623).Buffer}catch{}function m(S,n){var s=S.charCodeAt(n);return s>=65&&s<=70?s-55:s>=97&&s<=102?s-87:s-48&15}function O(S,n,s){var f=m(S,s);return s-1>=n&&(f|=m(S,s-1)<<4),f}function d(S,n,s,f){for(var h=0,w=Math.min(S.length,s),D=n;D<w;D++){var P=S.charCodeAt(D)-48;h*=f,h+=P>=49?P-49+10:P>=17?P-17+10:P}return h}l.isBN=function(n){return n instanceof l||null!==n&&"object"==typeof n&&n.constructor.wordSize===l.wordSize&&Array.isArray(n.words)},l.max=function(n,s){return n.cmp(s)>0?n:s},l.min=function(n,s){return n.cmp(s)<0?n:s},l.prototype._init=function(n,s,f){if("number"==typeof n)return this._initNumber(n,s,f);if("object"==typeof n)return this._initArray(n,s,f);"hex"===s&&(s=16),y(s===(0|s)&&s>=2&&s<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<n.length&&(16===s?this._parseHex(n,h,f):(this._parseBase(n,s,h),"le"===f&&this._initArray(this.toArray(),s,f)))},l.prototype._initNumber=function(n,s,f){n<0&&(this.negative=1,n=-n),n<67108864?(this.words=[67108863&n],this.length=1):n<4503599627370496?(this.words=[67108863&n,n/67108864&67108863],this.length=2):(y(n<9007199254740992),this.words=[67108863&n,n/67108864&67108863,1],this.length=3),"le"===f&&this._initArray(this.toArray(),s,f)},l.prototype._initArray=function(n,s,f){if(y("number"==typeof n.length),n.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(n.length/3),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var w,D,P=0;if("be"===f)for(h=n.length-1,w=0;h>=0;h-=3)this.words[w]|=(D=n[h]|n[h-1]<<8|n[h-2]<<16)<<P&67108863,this.words[w+1]=D>>>26-P&67108863,(P+=24)>=26&&(P-=26,w++);else if("le"===f)for(h=0,w=0;h<n.length;h+=3)this.words[w]|=(D=n[h]|n[h+1]<<8|n[h+2]<<16)<<P&67108863,this.words[w+1]=D>>>26-P&67108863,(P+=24)>=26&&(P-=26,w++);return this.strip()},l.prototype._parseHex=function(n,s,f){this.length=Math.ceil((n.length-s)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var P,w=0,D=0;if("be"===f)for(h=n.length-1;h>=s;h-=2)P=O(n,s,h)<<w,this.words[D]|=67108863&P,w>=18?(w-=18,this.words[D+=1]|=P>>>26):w+=8;else for(h=(n.length-s)%2==0?s+1:s;h<n.length;h+=2)P=O(n,s,h)<<w,this.words[D]|=67108863&P,w>=18?(w-=18,this.words[D+=1]|=P>>>26):w+=8;this.strip()},l.prototype._parseBase=function(n,s,f){this.words=[0],this.length=1;for(var h=0,w=1;w<=67108863;w*=s)h++;h--,w=w/s|0;for(var D=n.length-f,P=D%h,v=Math.min(D,D-P)+f,r=0,g=f;g<v;g+=h)r=d(n,g,g+h,s),this.imuln(w),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==P){var H=1;for(r=d(n,g,n.length,s),g=0;g<P;g++)H*=s;this.imuln(H),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r)}this.strip()},l.prototype.copy=function(n){n.words=new Array(this.length);for(var s=0;s<this.length;s++)n.words[s]=this.words[s];n.length=this.length,n.negative=this.negative,n.red=this.red},l.prototype.clone=function(){var n=new l(null);return this.copy(n),n},l.prototype._expand=function(n){for(;this.length<n;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var E=["","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"],x=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],I=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function V(S,n,s){s.negative=n.negative^S.negative;var f=S.length+n.length|0;s.length=f,f=f-1|0;var h=0|S.words[0],w=0|n.words[0],D=h*w,v=D/67108864|0;s.words[0]=67108863&D;for(var r=1;r<f;r++){for(var g=v>>>26,H=67108863&v,N=Math.min(r,n.length-1),te=Math.max(0,r-S.length+1);te<=N;te++)g+=(D=(h=0|S.words[r-te|0])*(w=0|n.words[te])+H)/67108864|0,H=67108863&D;s.words[r]=0|H,v=0|g}return 0!==v?s.words[r]=0|v:s.length--,s.strip()}l.prototype.toString=function(n,s){var f;if(s=0|s||1,16===(n=n||10)||"hex"===n){f="";for(var h=0,w=0,D=0;D<this.length;D++){var P=this.words[D],v=(16777215&(P<<h|w)).toString(16);f=0!=(w=P>>>24-h&16777215)||D!==this.length-1?E[6-v.length]+v+f:v+f,(h+=2)>=26&&(h-=26,D--)}for(0!==w&&(f=w.toString(16)+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(n===(0|n)&&n>=2&&n<=36){var r=x[n],g=I[n];f="";var H=this.clone();for(H.negative=0;!H.isZero();){var N=H.modn(g).toString(n);f=(H=H.idivn(g)).isZero()?N+f:E[r-N.length]+N+f}for(this.isZero()&&(f="0"+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}y(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&y(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(n,s){return y(typeof M<"u"),this.toArrayLike(M,n,s)},l.prototype.toArray=function(n,s){return this.toArrayLike(Array,n,s)},l.prototype.toArrayLike=function(n,s,f){var h=this.byteLength(),w=f||Math.max(1,h);y(h<=w,"byte array longer than desired length"),y(w>0,"Requested array length <= 0"),this.strip();var v,r,D="le"===s,P=new n(w),g=this.clone();if(D){for(r=0;!g.isZero();r++)v=g.andln(255),g.iushrn(8),P[r]=v;for(;r<w;r++)P[r]=0}else{for(r=0;r<w-h;r++)P[r]=0;for(r=0;!g.isZero();r++)v=g.andln(255),g.iushrn(8),P[w-r-1]=v}return P},l.prototype._countBits=Math.clz32?function(n){return 32-Math.clz32(n)}:function(n){var s=n,f=0;return s>=4096&&(f+=13,s>>>=13),s>=64&&(f+=7,s>>>=7),s>=8&&(f+=4,s>>>=4),s>=2&&(f+=2,s>>>=2),f+s},l.prototype._zeroBits=function(n){if(0===n)return 26;var s=n,f=0;return 8191&s||(f+=13,s>>>=13),127&s||(f+=7,s>>>=7),15&s||(f+=4,s>>>=4),3&s||(f+=2,s>>>=2),1&s||f++,f},l.prototype.bitLength=function(){var s=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+s},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,s=0;s<this.length;s++){var f=this._zeroBits(this.words[s]);if(n+=f,26!==f)break}return n},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(n){return 0!==this.negative?this.abs().inotn(n).iaddn(1):this.clone()},l.prototype.fromTwos=function(n){return this.testn(n-1)?this.notn(n).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(n){for(;this.length<n.length;)this.words[this.length++]=0;for(var s=0;s<n.length;s++)this.words[s]=this.words[s]|n.words[s];return this.strip()},l.prototype.ior=function(n){return y(0==(this.negative|n.negative)),this.iuor(n)},l.prototype.or=function(n){return this.length>n.length?this.clone().ior(n):n.clone().ior(this)},l.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},l.prototype.iuand=function(n){var s;s=this.length>n.length?n:this;for(var f=0;f<s.length;f++)this.words[f]=this.words[f]&n.words[f];return this.length=s.length,this.strip()},l.prototype.iand=function(n){return y(0==(this.negative|n.negative)),this.iuand(n)},l.prototype.and=function(n){return this.length>n.length?this.clone().iand(n):n.clone().iand(this)},l.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},l.prototype.iuxor=function(n){var s,f;this.length>n.length?(s=this,f=n):(s=n,f=this);for(var h=0;h<f.length;h++)this.words[h]=s.words[h]^f.words[h];if(this!==s)for(;h<s.length;h++)this.words[h]=s.words[h];return this.length=s.length,this.strip()},l.prototype.ixor=function(n){return y(0==(this.negative|n.negative)),this.iuxor(n)},l.prototype.xor=function(n){return this.length>n.length?this.clone().ixor(n):n.clone().ixor(this)},l.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},l.prototype.inotn=function(n){y("number"==typeof n&&n>=0);var s=0|Math.ceil(n/26),f=n%26;this._expand(s),f>0&&s--;for(var h=0;h<s;h++)this.words[h]=67108863&~this.words[h];return f>0&&(this.words[h]=~this.words[h]&67108863>>26-f),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,s){y("number"==typeof n&&n>=0);var f=n/26|0,h=n%26;return this._expand(f+1),this.words[f]=s?this.words[f]|1<<h:this.words[f]&~(1<<h),this.strip()},l.prototype.iadd=function(n){var s,f,h;if(0!==this.negative&&0===n.negative)return this.negative=0,s=this.isub(n),this.negative^=1,this._normSign();if(0===this.negative&&0!==n.negative)return n.negative=0,s=this.isub(n),n.negative=1,s._normSign();this.length>n.length?(f=this,h=n):(f=n,h=this);for(var w=0,D=0;D<h.length;D++)this.words[D]=67108863&(s=(0|f.words[D])+(0|h.words[D])+w),w=s>>>26;for(;0!==w&&D<f.length;D++)this.words[D]=67108863&(s=(0|f.words[D])+w),w=s>>>26;if(this.length=f.length,0!==w)this.words[this.length]=w,this.length++;else if(f!==this)for(;D<f.length;D++)this.words[D]=f.words[D];return this},l.prototype.add=function(n){var s;return 0!==n.negative&&0===this.negative?(n.negative=0,s=this.sub(n),n.negative^=1,s):0===n.negative&&0!==this.negative?(this.negative=0,s=n.sub(this),this.negative=1,s):this.length>n.length?this.clone().iadd(n):n.clone().iadd(this)},l.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var s=this.iadd(n);return n.negative=1,s._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,w,f=this.cmp(n);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(h=this,w=n):(h=n,w=this);for(var D=0,P=0;P<w.length;P++)D=(s=(0|h.words[P])-(0|w.words[P])+D)>>26,this.words[P]=67108863&s;for(;0!==D&&P<h.length;P++)D=(s=(0|h.words[P])+D)>>26,this.words[P]=67108863&s;if(0===D&&P<h.length&&h!==this)for(;P<h.length;P++)this.words[P]=h.words[P];return this.length=Math.max(this.length,P),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(n){return this.clone().isub(n)};var G=function(n,s,f){var v,r,g,h=n.words,w=s.words,D=f.words,P=0,H=0|h[0],N=8191&H,te=H>>>13,De=0|h[1],st=8191&De,je=De>>>13,$e=0|h[2],ye=8191&$e,fe=$e>>>13,de=0|h[3],Ce=8191&de,le=de>>>13,ge=0|h[4],qe=8191&ge,oe=ge>>>13,ve=0|h[5],ce=8191&ve,Ge=ve>>>13,Ze=0|h[6],wt=8191&Ze,mt=Ze>>>13,kt=0|h[7],Ae=8191&kt,ze=kt>>>13,nt=0|h[8],et=8191&nt,ke=nt>>>13,ct=0|h[9],Qe=8191&ct,Et=ct>>>13,lt=0|w[0],Ke=8191&lt,Be=lt>>>13,Xt=0|w[1],J=8191&Xt,We=Xt>>>13,Ft=0|w[2],Ct=8191&Ft,Pt=Ft>>>13,xt=0|w[3],rt=8191&xt,Ee=xt>>>13,it=0|w[4],Ue=8191&it,Je=it>>>13,_t=0|w[5],Le=8191&_t,be=_t>>>13,ee=0|w[6],ne=8191&ee,Ie=ee>>>13,Ht=0|w[7],At=8191&Ht,Zt=Ht>>>13,pi=0|w[8],Jt=8191&pi,qt=pi>>>13,Hi=0|w[9],di=8191&Hi,fi=Hi>>>13;f.negative=n.negative^s.negative,f.length=19;var un=(P+(v=Math.imul(N,Ke))|0)+((8191&(r=(r=Math.imul(N,Be))+Math.imul(te,Ke)|0))<<13)|0;P=((g=Math.imul(te,Be))+(r>>>13)|0)+(un>>>26)|0,un&=67108863,v=Math.imul(st,Ke),r=(r=Math.imul(st,Be))+Math.imul(je,Ke)|0,g=Math.imul(je,Be);var Qi=(P+(v=v+Math.imul(N,J)|0)|0)+((8191&(r=(r=r+Math.imul(N,We)|0)+Math.imul(te,J)|0))<<13)|0;P=((g=g+Math.imul(te,We)|0)+(r>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,v=Math.imul(ye,Ke),r=(r=Math.imul(ye,Be))+Math.imul(fe,Ke)|0,g=Math.imul(fe,Be),v=v+Math.imul(st,J)|0,r=(r=r+Math.imul(st,We)|0)+Math.imul(je,J)|0,g=g+Math.imul(je,We)|0;var xi=(P+(v=v+Math.imul(N,Ct)|0)|0)+((8191&(r=(r=r+Math.imul(N,Pt)|0)+Math.imul(te,Ct)|0))<<13)|0;P=((g=g+Math.imul(te,Pt)|0)+(r>>>13)|0)+(xi>>>26)|0,xi&=67108863,v=Math.imul(Ce,Ke),r=(r=Math.imul(Ce,Be))+Math.imul(le,Ke)|0,g=Math.imul(le,Be),v=v+Math.imul(ye,J)|0,r=(r=r+Math.imul(ye,We)|0)+Math.imul(fe,J)|0,g=g+Math.imul(fe,We)|0,v=v+Math.imul(st,Ct)|0,r=(r=r+Math.imul(st,Pt)|0)+Math.imul(je,Ct)|0,g=g+Math.imul(je,Pt)|0;var sn=(P+(v=v+Math.imul(N,rt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ee)|0)+Math.imul(te,rt)|0))<<13)|0;P=((g=g+Math.imul(te,Ee)|0)+(r>>>13)|0)+(sn>>>26)|0,sn&=67108863,v=Math.imul(qe,Ke),r=(r=Math.imul(qe,Be))+Math.imul(oe,Ke)|0,g=Math.imul(oe,Be),v=v+Math.imul(Ce,J)|0,r=(r=r+Math.imul(Ce,We)|0)+Math.imul(le,J)|0,g=g+Math.imul(le,We)|0,v=v+Math.imul(ye,Ct)|0,r=(r=r+Math.imul(ye,Pt)|0)+Math.imul(fe,Ct)|0,g=g+Math.imul(fe,Pt)|0,v=v+Math.imul(st,rt)|0,r=(r=r+Math.imul(st,Ee)|0)+Math.imul(je,rt)|0,g=g+Math.imul(je,Ee)|0;var ot=(P+(v=v+Math.imul(N,Ue)|0)|0)+((8191&(r=(r=r+Math.imul(N,Je)|0)+Math.imul(te,Ue)|0))<<13)|0;P=((g=g+Math.imul(te,Je)|0)+(r>>>13)|0)+(ot>>>26)|0,ot&=67108863,v=Math.imul(ce,Ke),r=(r=Math.imul(ce,Be))+Math.imul(Ge,Ke)|0,g=Math.imul(Ge,Be),v=v+Math.imul(qe,J)|0,r=(r=r+Math.imul(qe,We)|0)+Math.imul(oe,J)|0,g=g+Math.imul(oe,We)|0,v=v+Math.imul(Ce,Ct)|0,r=(r=r+Math.imul(Ce,Pt)|0)+Math.imul(le,Ct)|0,g=g+Math.imul(le,Pt)|0,v=v+Math.imul(ye,rt)|0,r=(r=r+Math.imul(ye,Ee)|0)+Math.imul(fe,rt)|0,g=g+Math.imul(fe,Ee)|0,v=v+Math.imul(st,Ue)|0,r=(r=r+Math.imul(st,Je)|0)+Math.imul(je,Ue)|0,g=g+Math.imul(je,Je)|0;var si=(P+(v=v+Math.imul(N,Le)|0)|0)+((8191&(r=(r=r+Math.imul(N,be)|0)+Math.imul(te,Le)|0))<<13)|0;P=((g=g+Math.imul(te,be)|0)+(r>>>13)|0)+(si>>>26)|0,si&=67108863,v=Math.imul(wt,Ke),r=(r=Math.imul(wt,Be))+Math.imul(mt,Ke)|0,g=Math.imul(mt,Be),v=v+Math.imul(ce,J)|0,r=(r=r+Math.imul(ce,We)|0)+Math.imul(Ge,J)|0,g=g+Math.imul(Ge,We)|0,v=v+Math.imul(qe,Ct)|0,r=(r=r+Math.imul(qe,Pt)|0)+Math.imul(oe,Ct)|0,g=g+Math.imul(oe,Pt)|0,v=v+Math.imul(Ce,rt)|0,r=(r=r+Math.imul(Ce,Ee)|0)+Math.imul(le,rt)|0,g=g+Math.imul(le,Ee)|0,v=v+Math.imul(ye,Ue)|0,r=(r=r+Math.imul(ye,Je)|0)+Math.imul(fe,Ue)|0,g=g+Math.imul(fe,Je)|0,v=v+Math.imul(st,Le)|0,r=(r=r+Math.imul(st,be)|0)+Math.imul(je,Le)|0,g=g+Math.imul(je,be)|0;var we=(P+(v=v+Math.imul(N,ne)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ie)|0)+Math.imul(te,ne)|0))<<13)|0;P=((g=g+Math.imul(te,Ie)|0)+(r>>>13)|0)+(we>>>26)|0,we&=67108863,v=Math.imul(Ae,Ke),r=(r=Math.imul(Ae,Be))+Math.imul(ze,Ke)|0,g=Math.imul(ze,Be),v=v+Math.imul(wt,J)|0,r=(r=r+Math.imul(wt,We)|0)+Math.imul(mt,J)|0,g=g+Math.imul(mt,We)|0,v=v+Math.imul(ce,Ct)|0,r=(r=r+Math.imul(ce,Pt)|0)+Math.imul(Ge,Ct)|0,g=g+Math.imul(Ge,Pt)|0,v=v+Math.imul(qe,rt)|0,r=(r=r+Math.imul(qe,Ee)|0)+Math.imul(oe,rt)|0,g=g+Math.imul(oe,Ee)|0,v=v+Math.imul(Ce,Ue)|0,r=(r=r+Math.imul(Ce,Je)|0)+Math.imul(le,Ue)|0,g=g+Math.imul(le,Je)|0,v=v+Math.imul(ye,Le)|0,r=(r=r+Math.imul(ye,be)|0)+Math.imul(fe,Le)|0,g=g+Math.imul(fe,be)|0,v=v+Math.imul(st,ne)|0,r=(r=r+Math.imul(st,Ie)|0)+Math.imul(je,ne)|0,g=g+Math.imul(je,Ie)|0;var St=(P+(v=v+Math.imul(N,At)|0)|0)+((8191&(r=(r=r+Math.imul(N,Zt)|0)+Math.imul(te,At)|0))<<13)|0;P=((g=g+Math.imul(te,Zt)|0)+(r>>>13)|0)+(St>>>26)|0,St&=67108863,v=Math.imul(et,Ke),r=(r=Math.imul(et,Be))+Math.imul(ke,Ke)|0,g=Math.imul(ke,Be),v=v+Math.imul(Ae,J)|0,r=(r=r+Math.imul(Ae,We)|0)+Math.imul(ze,J)|0,g=g+Math.imul(ze,We)|0,v=v+Math.imul(wt,Ct)|0,r=(r=r+Math.imul(wt,Pt)|0)+Math.imul(mt,Ct)|0,g=g+Math.imul(mt,Pt)|0,v=v+Math.imul(ce,rt)|0,r=(r=r+Math.imul(ce,Ee)|0)+Math.imul(Ge,rt)|0,g=g+Math.imul(Ge,Ee)|0,v=v+Math.imul(qe,Ue)|0,r=(r=r+Math.imul(qe,Je)|0)+Math.imul(oe,Ue)|0,g=g+Math.imul(oe,Je)|0,v=v+Math.imul(Ce,Le)|0,r=(r=r+Math.imul(Ce,be)|0)+Math.imul(le,Le)|0,g=g+Math.imul(le,be)|0,v=v+Math.imul(ye,ne)|0,r=(r=r+Math.imul(ye,Ie)|0)+Math.imul(fe,ne)|0,g=g+Math.imul(fe,Ie)|0,v=v+Math.imul(st,At)|0,r=(r=r+Math.imul(st,Zt)|0)+Math.imul(je,At)|0,g=g+Math.imul(je,Zt)|0;var zt=(P+(v=v+Math.imul(N,Jt)|0)|0)+((8191&(r=(r=r+Math.imul(N,qt)|0)+Math.imul(te,Jt)|0))<<13)|0;P=((g=g+Math.imul(te,qt)|0)+(r>>>13)|0)+(zt>>>26)|0,zt&=67108863,v=Math.imul(Qe,Ke),r=(r=Math.imul(Qe,Be))+Math.imul(Et,Ke)|0,g=Math.imul(Et,Be),v=v+Math.imul(et,J)|0,r=(r=r+Math.imul(et,We)|0)+Math.imul(ke,J)|0,g=g+Math.imul(ke,We)|0,v=v+Math.imul(Ae,Ct)|0,r=(r=r+Math.imul(Ae,Pt)|0)+Math.imul(ze,Ct)|0,g=g+Math.imul(ze,Pt)|0,v=v+Math.imul(wt,rt)|0,r=(r=r+Math.imul(wt,Ee)|0)+Math.imul(mt,rt)|0,g=g+Math.imul(mt,Ee)|0,v=v+Math.imul(ce,Ue)|0,r=(r=r+Math.imul(ce,Je)|0)+Math.imul(Ge,Ue)|0,g=g+Math.imul(Ge,Je)|0,v=v+Math.imul(qe,Le)|0,r=(r=r+Math.imul(qe,be)|0)+Math.imul(oe,Le)|0,g=g+Math.imul(oe,be)|0,v=v+Math.imul(Ce,ne)|0,r=(r=r+Math.imul(Ce,Ie)|0)+Math.imul(le,ne)|0,g=g+Math.imul(le,Ie)|0,v=v+Math.imul(ye,At)|0,r=(r=r+Math.imul(ye,Zt)|0)+Math.imul(fe,At)|0,g=g+Math.imul(fe,Zt)|0,v=v+Math.imul(st,Jt)|0,r=(r=r+Math.imul(st,qt)|0)+Math.imul(je,Jt)|0,g=g+Math.imul(je,qt)|0;var Dt=(P+(v=v+Math.imul(N,di)|0)|0)+((8191&(r=(r=r+Math.imul(N,fi)|0)+Math.imul(te,di)|0))<<13)|0;P=((g=g+Math.imul(te,fi)|0)+(r>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,v=Math.imul(Qe,J),r=(r=Math.imul(Qe,We))+Math.imul(Et,J)|0,g=Math.imul(Et,We),v=v+Math.imul(et,Ct)|0,r=(r=r+Math.imul(et,Pt)|0)+Math.imul(ke,Ct)|0,g=g+Math.imul(ke,Pt)|0,v=v+Math.imul(Ae,rt)|0,r=(r=r+Math.imul(Ae,Ee)|0)+Math.imul(ze,rt)|0,g=g+Math.imul(ze,Ee)|0,v=v+Math.imul(wt,Ue)|0,r=(r=r+Math.imul(wt,Je)|0)+Math.imul(mt,Ue)|0,g=g+Math.imul(mt,Je)|0,v=v+Math.imul(ce,Le)|0,r=(r=r+Math.imul(ce,be)|0)+Math.imul(Ge,Le)|0,g=g+Math.imul(Ge,be)|0,v=v+Math.imul(qe,ne)|0,r=(r=r+Math.imul(qe,Ie)|0)+Math.imul(oe,ne)|0,g=g+Math.imul(oe,Ie)|0,v=v+Math.imul(Ce,At)|0,r=(r=r+Math.imul(Ce,Zt)|0)+Math.imul(le,At)|0,g=g+Math.imul(le,Zt)|0,v=v+Math.imul(ye,Jt)|0,r=(r=r+Math.imul(ye,qt)|0)+Math.imul(fe,Jt)|0,g=g+Math.imul(fe,qt)|0;var Lt=(P+(v=v+Math.imul(st,di)|0)|0)+((8191&(r=(r=r+Math.imul(st,fi)|0)+Math.imul(je,di)|0))<<13)|0;P=((g=g+Math.imul(je,fi)|0)+(r>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,v=Math.imul(Qe,Ct),r=(r=Math.imul(Qe,Pt))+Math.imul(Et,Ct)|0,g=Math.imul(Et,Pt),v=v+Math.imul(et,rt)|0,r=(r=r+Math.imul(et,Ee)|0)+Math.imul(ke,rt)|0,g=g+Math.imul(ke,Ee)|0,v=v+Math.imul(Ae,Ue)|0,r=(r=r+Math.imul(Ae,Je)|0)+Math.imul(ze,Ue)|0,g=g+Math.imul(ze,Je)|0,v=v+Math.imul(wt,Le)|0,r=(r=r+Math.imul(wt,be)|0)+Math.imul(mt,Le)|0,g=g+Math.imul(mt,be)|0,v=v+Math.imul(ce,ne)|0,r=(r=r+Math.imul(ce,Ie)|0)+Math.imul(Ge,ne)|0,g=g+Math.imul(Ge,Ie)|0,v=v+Math.imul(qe,At)|0,r=(r=r+Math.imul(qe,Zt)|0)+Math.imul(oe,At)|0,g=g+Math.imul(oe,Zt)|0,v=v+Math.imul(Ce,Jt)|0,r=(r=r+Math.imul(Ce,qt)|0)+Math.imul(le,Jt)|0,g=g+Math.imul(le,qt)|0;var Bt=(P+(v=v+Math.imul(ye,di)|0)|0)+((8191&(r=(r=r+Math.imul(ye,fi)|0)+Math.imul(fe,di)|0))<<13)|0;P=((g=g+Math.imul(fe,fi)|0)+(r>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,v=Math.imul(Qe,rt),r=(r=Math.imul(Qe,Ee))+Math.imul(Et,rt)|0,g=Math.imul(Et,Ee),v=v+Math.imul(et,Ue)|0,r=(r=r+Math.imul(et,Je)|0)+Math.imul(ke,Ue)|0,g=g+Math.imul(ke,Je)|0,v=v+Math.imul(Ae,Le)|0,r=(r=r+Math.imul(Ae,be)|0)+Math.imul(ze,Le)|0,g=g+Math.imul(ze,be)|0,v=v+Math.imul(wt,ne)|0,r=(r=r+Math.imul(wt,Ie)|0)+Math.imul(mt,ne)|0,g=g+Math.imul(mt,Ie)|0,v=v+Math.imul(ce,At)|0,r=(r=r+Math.imul(ce,Zt)|0)+Math.imul(Ge,At)|0,g=g+Math.imul(Ge,Zt)|0,v=v+Math.imul(qe,Jt)|0,r=(r=r+Math.imul(qe,qt)|0)+Math.imul(oe,Jt)|0,g=g+Math.imul(oe,qt)|0;var ai=(P+(v=v+Math.imul(Ce,di)|0)|0)+((8191&(r=(r=r+Math.imul(Ce,fi)|0)+Math.imul(le,di)|0))<<13)|0;P=((g=g+Math.imul(le,fi)|0)+(r>>>13)|0)+(ai>>>26)|0,ai&=67108863,v=Math.imul(Qe,Ue),r=(r=Math.imul(Qe,Je))+Math.imul(Et,Ue)|0,g=Math.imul(Et,Je),v=v+Math.imul(et,Le)|0,r=(r=r+Math.imul(et,be)|0)+Math.imul(ke,Le)|0,g=g+Math.imul(ke,be)|0,v=v+Math.imul(Ae,ne)|0,r=(r=r+Math.imul(Ae,Ie)|0)+Math.imul(ze,ne)|0,g=g+Math.imul(ze,Ie)|0,v=v+Math.imul(wt,At)|0,r=(r=r+Math.imul(wt,Zt)|0)+Math.imul(mt,At)|0,g=g+Math.imul(mt,Zt)|0,v=v+Math.imul(ce,Jt)|0,r=(r=r+Math.imul(ce,qt)|0)+Math.imul(Ge,Jt)|0,g=g+Math.imul(Ge,qt)|0;var vi=(P+(v=v+Math.imul(qe,di)|0)|0)+((8191&(r=(r=r+Math.imul(qe,fi)|0)+Math.imul(oe,di)|0))<<13)|0;P=((g=g+Math.imul(oe,fi)|0)+(r>>>13)|0)+(vi>>>26)|0,vi&=67108863,v=Math.imul(Qe,Le),r=(r=Math.imul(Qe,be))+Math.imul(Et,Le)|0,g=Math.imul(Et,be),v=v+Math.imul(et,ne)|0,r=(r=r+Math.imul(et,Ie)|0)+Math.imul(ke,ne)|0,g=g+Math.imul(ke,Ie)|0,v=v+Math.imul(Ae,At)|0,r=(r=r+Math.imul(Ae,Zt)|0)+Math.imul(ze,At)|0,g=g+Math.imul(ze,Zt)|0,v=v+Math.imul(wt,Jt)|0,r=(r=r+Math.imul(wt,qt)|0)+Math.imul(mt,Jt)|0,g=g+Math.imul(mt,qt)|0;var bi=(P+(v=v+Math.imul(ce,di)|0)|0)+((8191&(r=(r=r+Math.imul(ce,fi)|0)+Math.imul(Ge,di)|0))<<13)|0;P=((g=g+Math.imul(Ge,fi)|0)+(r>>>13)|0)+(bi>>>26)|0,bi&=67108863,v=Math.imul(Qe,ne),r=(r=Math.imul(Qe,Ie))+Math.imul(Et,ne)|0,g=Math.imul(Et,Ie),v=v+Math.imul(et,At)|0,r=(r=r+Math.imul(et,Zt)|0)+Math.imul(ke,At)|0,g=g+Math.imul(ke,Zt)|0,v=v+Math.imul(Ae,Jt)|0,r=(r=r+Math.imul(Ae,qt)|0)+Math.imul(ze,Jt)|0,g=g+Math.imul(ze,qt)|0;var ki=(P+(v=v+Math.imul(wt,di)|0)|0)+((8191&(r=(r=r+Math.imul(wt,fi)|0)+Math.imul(mt,di)|0))<<13)|0;P=((g=g+Math.imul(mt,fi)|0)+(r>>>13)|0)+(ki>>>26)|0,ki&=67108863,v=Math.imul(Qe,At),r=(r=Math.imul(Qe,Zt))+Math.imul(Et,At)|0,g=Math.imul(Et,Zt),v=v+Math.imul(et,Jt)|0,r=(r=r+Math.imul(et,qt)|0)+Math.imul(ke,Jt)|0,g=g+Math.imul(ke,qt)|0;var Bi=(P+(v=v+Math.imul(Ae,di)|0)|0)+((8191&(r=(r=r+Math.imul(Ae,fi)|0)+Math.imul(ze,di)|0))<<13)|0;P=((g=g+Math.imul(ze,fi)|0)+(r>>>13)|0)+(Bi>>>26)|0,Bi&=67108863,v=Math.imul(Qe,Jt),r=(r=Math.imul(Qe,qt))+Math.imul(Et,Jt)|0,g=Math.imul(Et,qt);var Vi=(P+(v=v+Math.imul(et,di)|0)|0)+((8191&(r=(r=r+Math.imul(et,fi)|0)+Math.imul(ke,di)|0))<<13)|0;P=((g=g+Math.imul(ke,fi)|0)+(r>>>13)|0)+(Vi>>>26)|0,Vi&=67108863;var jt=(P+(v=Math.imul(Qe,di))|0)+((8191&(r=(r=Math.imul(Qe,fi))+Math.imul(Et,di)|0))<<13)|0;return P=((g=Math.imul(Et,fi))+(r>>>13)|0)+(jt>>>26)|0,jt&=67108863,D[0]=un,D[1]=Qi,D[2]=xi,D[3]=sn,D[4]=ot,D[5]=si,D[6]=we,D[7]=St,D[8]=zt,D[9]=Dt,D[10]=Lt,D[11]=Bt,D[12]=ai,D[13]=vi,D[14]=bi,D[15]=ki,D[16]=Bi,D[17]=Vi,D[18]=jt,0!==P&&(D[19]=P,f.length++),f};function W(S,n,s){return(new K).mulp(S,n,s)}function K(S,n){this.x=S,this.y=n}Math.imul||(G=V),l.prototype.mulTo=function(n,s){var f,h=this.length+n.length;return f=10===this.length&&10===n.length?G(this,n,s):h<63?V(this,n,s):h<1024?function j(S,n,s){s.negative=n.negative^S.negative,s.length=S.length+n.length;for(var f=0,h=0,w=0;w<s.length-1;w++){var D=h;h=0;for(var P=67108863&f,v=Math.min(w,n.length-1),r=Math.max(0,w-S.length+1);r<=v;r++){var te=(0|S.words[w-r])*(0|n.words[r]),De=67108863&te;P=67108863&(De=De+P|0),h+=(D=(D=D+(te/67108864|0)|0)+(De>>>26)|0)>>>26,D&=67108863}s.words[w]=P,f=D,D=h}return 0!==f?s.words[w]=f:s.length--,s.strip()}(this,n,s):W(this,n,s),f},K.prototype.makeRBT=function(n){for(var s=new Array(n),f=l.prototype._countBits(n)-1,h=0;h<n;h++)s[h]=this.revBin(h,f,n);return s},K.prototype.revBin=function(n,s,f){if(0===n||n===f-1)return n;for(var h=0,w=0;w<s;w++)h|=(1&n)<<s-w-1,n>>=1;return h},K.prototype.permute=function(n,s,f,h,w,D){for(var P=0;P<D;P++)h[P]=s[n[P]],w[P]=f[n[P]]},K.prototype.transform=function(n,s,f,h,w,D){this.permute(D,n,s,f,h,w);for(var P=1;P<w;P<<=1)for(var v=P<<1,r=Math.cos(2*Math.PI/v),g=Math.sin(2*Math.PI/v),H=0;H<w;H+=v)for(var N=r,te=g,De=0;De<P;De++){var st=f[H+De],je=h[H+De],$e=f[H+De+P],ye=h[H+De+P],fe=N*$e-te*ye;ye=N*ye+te*$e,f[H+De]=st+($e=fe),h[H+De]=je+ye,f[H+De+P]=st-$e,h[H+De+P]=je-ye,De!==v&&(fe=r*N-g*te,te=r*te+g*N,N=fe)}},K.prototype.guessLen13b=function(n,s){var f=1|Math.max(s,n),h=1&f,w=0;for(f=f/2|0;f;f>>>=1)w++;return 1<<w+1+h},K.prototype.conjugate=function(n,s,f){if(!(f<=1))for(var h=0;h<f/2;h++){var w=n[h];n[h]=n[f-h-1],n[f-h-1]=w,w=s[h],s[h]=-s[f-h-1],s[f-h-1]=-w}},K.prototype.normalize13b=function(n,s){for(var f=0,h=0;h<s/2;h++){var w=8192*Math.round(n[2*h+1]/s)+Math.round(n[2*h]/s)+f;n[h]=67108863&w,f=w<67108864?0:w/67108864|0}return n},K.prototype.convert13b=function(n,s,f,h){for(var w=0,D=0;D<s;D++)f[2*D]=8191&(w+=0|n[D]),f[2*D+1]=8191&(w>>>=13),w>>>=13;for(D=2*s;D<h;++D)f[D]=0;y(0===w),y(0==(-8192&w))},K.prototype.stub=function(n){for(var s=new Array(n),f=0;f<n;f++)s[f]=0;return s},K.prototype.mulp=function(n,s,f){var h=2*this.guessLen13b(n.length,s.length),w=this.makeRBT(h),D=this.stub(h),P=new Array(h),v=new Array(h),r=new Array(h),g=new Array(h),H=new Array(h),N=new Array(h),te=f.words;te.length=h,this.convert13b(n.words,n.length,P,h),this.convert13b(s.words,s.length,g,h),this.transform(P,D,v,r,h,w),this.transform(g,D,H,N,h,w);for(var De=0;De<h;De++){var st=v[De]*H[De]-r[De]*N[De];r[De]=v[De]*N[De]+r[De]*H[De],v[De]=st}return this.conjugate(v,r,h),this.transform(v,r,te,D,h,w),this.conjugate(te,D,h),this.normalize13b(te,h),f.negative=n.negative^s.negative,f.length=n.length+s.length,f.strip()},l.prototype.mul=function(n){var s=new l(null);return s.words=new Array(this.length+n.length),this.mulTo(n,s)},l.prototype.mulf=function(n){var s=new l(null);return s.words=new Array(this.length+n.length),W(this,n,s)},l.prototype.imul=function(n){return this.clone().mulTo(n,this)},l.prototype.imuln=function(n){y("number"==typeof n),y(n<67108864);for(var s=0,f=0;f<this.length;f++){var h=(0|this.words[f])*n,w=(67108863&h)+(67108863&s);s>>=26,s+=h/67108864|0,s+=w>>>26,this.words[f]=67108863&w}return 0!==s&&(this.words[f]=s,this.length++),this},l.prototype.muln=function(n){return this.clone().imuln(n)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(n){var s=function k(S){for(var n=new Array(S.bitLength()),s=0;s<n.length;s++){var h=s%26;n[s]=(S.words[s/26|0]&1<<h)>>>h}return n}(n);if(0===s.length)return new l(1);for(var f=this,h=0;h<s.length&&0===s[h];h++,f=f.sqr());if(++h<s.length)for(var w=f.sqr();h<s.length;h++,w=w.sqr())0!==s[h]&&(f=f.mul(w));return f},l.prototype.iushln=function(n){y("number"==typeof n&&n>=0);var w,s=n%26,f=(n-s)/26,h=67108863>>>26-s<<26-s;if(0!==s){var D=0;for(w=0;w<this.length;w++){var P=this.words[w]&h;this.words[w]=(0|this.words[w])-P<<s|D,D=P>>>26-s}D&&(this.words[w]=D,this.length++)}if(0!==f){for(w=this.length-1;w>=0;w--)this.words[w+f]=this.words[w];for(w=0;w<f;w++)this.words[w]=0;this.length+=f}return this.strip()},l.prototype.ishln=function(n){return y(0===this.negative),this.iushln(n)},l.prototype.iushrn=function(n,s,f){var h;y("number"==typeof n&&n>=0),h=s?(s-s%26)/26:0;var w=n%26,D=Math.min((n-w)/26,this.length),P=67108863^67108863>>>w<<w,v=f;if(h-=D,h=Math.max(0,h),v){for(var r=0;r<D;r++)v.words[r]=this.words[r];v.length=D}if(0!==D)if(this.length>D)for(this.length-=D,r=0;r<this.length;r++)this.words[r]=this.words[r+D];else this.words[0]=0,this.length=1;var g=0;for(r=this.length-1;r>=0&&(0!==g||r>=h);r--){var H=0|this.words[r];this.words[r]=g<<26-w|H>>>w,g=H&P}return v&&0!==g&&(v.words[v.length++]=g),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,s,f){return y(0===this.negative),this.iushrn(n,s,f)},l.prototype.shln=function(n){return this.clone().ishln(n)},l.prototype.ushln=function(n){return this.clone().iushln(n)},l.prototype.shrn=function(n){return this.clone().ishrn(n)},l.prototype.ushrn=function(n){return this.clone().iushrn(n)},l.prototype.testn=function(n){y("number"==typeof n&&n>=0);var s=n%26,f=(n-s)/26;return!(this.length<=f||!(this.words[f]&1<<s))},l.prototype.imaskn=function(n){y("number"==typeof n&&n>=0);var s=n%26,f=(n-s)/26;return y(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==s&&f++,this.length=Math.min(f,this.length),0!==s&&(this.words[this.length-1]&=67108863^67108863>>>s<<s),this.strip())},l.prototype.maskn=function(n){return this.clone().imaskn(n)},l.prototype.iaddn=function(n){return y("number"==typeof n),y(n<67108864),n<0?this.isubn(-n):0!==this.negative?1===this.length&&(0|this.words[0])<n?(this.words[0]=n-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(n),this.negative=1,this):this._iaddn(n)},l.prototype._iaddn=function(n){this.words[0]+=n;for(var s=0;s<this.length&&this.words[s]>=67108864;s++)this.words[s]-=67108864,s===this.length-1?this.words[s+1]=1:this.words[s+1]++;return this.length=Math.max(this.length,s+1),this},l.prototype.isubn=function(n){if(y("number"==typeof n),y(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var s=0;s<this.length&&this.words[s]<0;s++)this.words[s]+=67108864,this.words[s+1]-=1;return this.strip()},l.prototype.addn=function(n){return this.clone().iaddn(n)},l.prototype.subn=function(n){return this.clone().isubn(n)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(n,s,f){var w;this._expand(n.length+f);var D,P=0;for(w=0;w<n.length;w++){D=(0|this.words[w+f])+P;var v=(0|n.words[w])*s;P=((D-=67108863&v)>>26)-(v/67108864|0),this.words[w+f]=67108863&D}for(;w<this.length-f;w++)P=(D=(0|this.words[w+f])+P)>>26,this.words[w+f]=67108863&D;if(0===P)return this.strip();for(y(-1===P),P=0,w=0;w<this.length;w++)P=(D=-(0|this.words[w])+P)>>26,this.words[w]=67108863&D;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,s){var f,h=this.clone(),w=n,D=0|w.words[w.length-1];0!=(f=26-this._countBits(D))&&(w=w.ushln(f),h.iushln(f),D=0|w.words[w.length-1]);var r,v=h.length-w.length;if("mod"!==s){(r=new l(null)).length=v+1,r.words=new Array(r.length);for(var g=0;g<r.length;g++)r.words[g]=0}var H=h.clone()._ishlnsubmul(w,1,v);0===H.negative&&(h=H,r&&(r.words[v]=1));for(var N=v-1;N>=0;N--){var te=67108864*(0|h.words[w.length+N])+(0|h.words[w.length+N-1]);for(te=Math.min(te/D|0,67108863),h._ishlnsubmul(w,te,N);0!==h.negative;)te--,h.negative=0,h._ishlnsubmul(w,1,N),h.isZero()||(h.negative^=1);r&&(r.words[N]=te)}return r&&r.strip(),h.strip(),"div"!==s&&0!==f&&h.iushrn(f),{div:r||null,mod:h}},l.prototype.divmod=function(n,s,f){return y(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(D=this.neg().divmod(n,s),"mod"!==s&&(h=D.div.neg()),"div"!==s&&(w=D.mod.neg(),f&&0!==w.negative&&w.iadd(n)),{div:h,mod:w}):0===this.negative&&0!==n.negative?(D=this.divmod(n.neg(),s),"mod"!==s&&(h=D.div.neg()),{div:h,mod:D.mod}):this.negative&n.negative?(D=this.neg().divmod(n.neg(),s),"div"!==s&&(w=D.mod.neg(),f&&0!==w.negative&&w.isub(n)),{div:D.div,mod:w}):n.length>this.length||this.cmp(n)<0?{div:new l(0),mod:this}:1===n.length?"div"===s?{div:this.divn(n.words[0]),mod:null}:"mod"===s?{div:null,mod:new l(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new l(this.modn(n.words[0]))}:this._wordDiv(n,s);var h,w,D},l.prototype.div=function(n){return this.divmod(n,"div",!1).div},l.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},l.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},l.prototype.divRound=function(n){var s=this.divmod(n);if(s.mod.isZero())return s.div;var f=0!==s.div.negative?s.mod.isub(n):s.mod,h=n.ushrn(1),w=n.andln(1),D=f.cmp(h);return D<0||1===w&&0===D?s.div:0!==s.div.negative?s.div.isubn(1):s.div.iaddn(1)},l.prototype.modn=function(n){y(n<=67108863);for(var s=(1<<26)%n,f=0,h=this.length-1;h>=0;h--)f=(s*f+(0|this.words[h]))%n;return f},l.prototype.idivn=function(n){y(n<=67108863);for(var s=0,f=this.length-1;f>=0;f--){var h=(0|this.words[f])+67108864*s;this.words[f]=h/n|0,s=h%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){y(0===n.negative),y(!n.isZero());var s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),w=new l(0),D=new l(0),P=new l(1),v=0;s.isEven()&&f.isEven();)s.iushrn(1),f.iushrn(1),++v;for(var r=f.clone(),g=s.clone();!s.isZero();){for(var H=0,N=1;!(s.words[0]&N)&&H<26;++H,N<<=1);if(H>0)for(s.iushrn(H);H-- >0;)(h.isOdd()||w.isOdd())&&(h.iadd(r),w.isub(g)),h.iushrn(1),w.iushrn(1);for(var te=0,De=1;!(f.words[0]&De)&&te<26;++te,De<<=1);if(te>0)for(f.iushrn(te);te-- >0;)(D.isOdd()||P.isOdd())&&(D.iadd(r),P.isub(g)),D.iushrn(1),P.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(D),w.isub(P)):(f.isub(s),D.isub(h),P.isub(w))}return{a:D,b:P,gcd:f.iushln(v)}},l.prototype._invmp=function(n){y(0===n.negative),y(!n.isZero());var H,s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),w=new l(0),D=f.clone();s.cmpn(1)>0&&f.cmpn(1)>0;){for(var P=0,v=1;!(s.words[0]&v)&&P<26;++P,v<<=1);if(P>0)for(s.iushrn(P);P-- >0;)h.isOdd()&&h.iadd(D),h.iushrn(1);for(var r=0,g=1;!(f.words[0]&g)&&r<26;++r,g<<=1);if(r>0)for(f.iushrn(r);r-- >0;)w.isOdd()&&w.iadd(D),w.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(w)):(f.isub(s),w.isub(h))}return(H=0===s.cmpn(1)?h:w).cmpn(0)<0&&H.iadd(n),H},l.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var s=this.clone(),f=n.clone();s.negative=0,f.negative=0;for(var h=0;s.isEven()&&f.isEven();h++)s.iushrn(1),f.iushrn(1);for(;;){for(;s.isEven();)s.iushrn(1);for(;f.isEven();)f.iushrn(1);var w=s.cmp(f);if(w<0){var D=s;s=f,f=D}else if(0===w||0===f.cmpn(1))break;s.isub(f)}return f.iushln(h)},l.prototype.invm=function(n){return this.egcd(n).a.umod(n)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(n){return this.words[0]&n},l.prototype.bincn=function(n){y("number"==typeof n);var s=n%26,f=(n-s)/26,h=1<<s;if(this.length<=f)return this._expand(f+1),this.words[f]|=h,this;for(var w=h,D=f;0!==w&&D<this.length;D++){var P=0|this.words[D];w=(P+=w)>>>26,this.words[D]=P&=67108863}return 0!==w&&(this.words[D]=w,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var f,s=n<0;if(0!==this.negative&&!s)return-1;if(0===this.negative&&s)return 1;if(this.strip(),this.length>1)f=1;else{s&&(n=-n),y(n<=67108863,"Number is too big");var h=0|this.words[0];f=h===n?0:h<n?-1:1}return 0!==this.negative?0|-f:f},l.prototype.cmp=function(n){if(0!==this.negative&&0===n.negative)return-1;if(0===this.negative&&0!==n.negative)return 1;var s=this.ucmp(n);return 0!==this.negative?0|-s:s},l.prototype.ucmp=function(n){if(this.length>n.length)return 1;if(this.length<n.length)return-1;for(var s=0,f=this.length-1;f>=0;f--){var h=0|this.words[f],w=0|n.words[f];if(h!==w){h<w?s=-1:h>w&&(s=1);break}}return s},l.prototype.gtn=function(n){return 1===this.cmpn(n)},l.prototype.gt=function(n){return 1===this.cmp(n)},l.prototype.gten=function(n){return this.cmpn(n)>=0},l.prototype.gte=function(n){return this.cmp(n)>=0},l.prototype.ltn=function(n){return-1===this.cmpn(n)},l.prototype.lt=function(n){return-1===this.cmp(n)},l.prototype.lten=function(n){return this.cmpn(n)<=0},l.prototype.lte=function(n){return this.cmp(n)<=0},l.prototype.eqn=function(n){return 0===this.cmpn(n)},l.prototype.eq=function(n){return 0===this.cmp(n)},l.red=function(n){return new $(n)},l.prototype.toRed=function(n){return y(!this.red,"Already a number in reduction context"),y(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return y(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(n){return this.red=n,this},l.prototype.forceRed=function(n){return y(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return y(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return y(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return y(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return y(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return y(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return y(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return y(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return y(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return y(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return y(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return y(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var q={k256:null,p224:null,p192:null,p25519:null};function ie(S,n){this.name=S,this.p=new l(n,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ae(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ue(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function re(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function xe(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function $(S){if("string"==typeof S){var n=l._prime(S);this.m=n.p,this.prime=n}else y(S.gtn(1),"modulus must be greater than 1"),this.m=S,this.prime=null}function he(S){$.call(this,S),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)}ie.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ie.prototype.ireduce=function(n){var f,s=n;do{this.split(s,this.tmp),f=(s=(s=this.imulK(s)).iadd(this.tmp)).bitLength()}while(f>this.n);var h=f<this.n?-1:s.ucmp(this.p);return 0===h?(s.words[0]=0,s.length=1):h>0?s.isub(this.p):void 0!==s.strip?s.strip():s._strip(),s},ie.prototype.split=function(n,s){n.iushrn(this.n,0,s)},ie.prototype.imulK=function(n){return n.imul(this.k)},A(ae,ie),ae.prototype.split=function(n,s){for(var f=4194303,h=Math.min(n.length,9),w=0;w<h;w++)s.words[w]=n.words[w];if(s.length=h,n.length<=9)return n.words[0]=0,void(n.length=1);var D=n.words[9];for(s.words[s.length++]=D&f,w=10;w<n.length;w++){var P=0|n.words[w];n.words[w-10]=(P&f)<<4|D>>>22,D=P}n.words[w-10]=D>>>=22,n.length-=0===D&&n.length>10?10:9},ae.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var s=0,f=0;f<n.length;f++){var h=0|n.words[f];n.words[f]=67108863&(s+=977*h),s=64*h+(s/67108864|0)}return 0===n.words[n.length-1]&&(n.length--,0===n.words[n.length-1]&&n.length--),n},A(ue,ie),A(re,ie),A(xe,ie),xe.prototype.imulK=function(n){for(var s=0,f=0;f<n.length;f++){var h=19*(0|n.words[f])+s,w=67108863&h;h>>>=26,n.words[f]=w,s=h}return 0!==s&&(n.words[n.length++]=s),n},l._prime=function(n){if(q[n])return q[n];var s;if("k256"===n)s=new ae;else if("p224"===n)s=new ue;else if("p192"===n)s=new re;else{if("p25519"!==n)throw new Error("Unknown prime "+n);s=new xe}return q[n]=s,s},$.prototype._verify1=function(n){y(0===n.negative,"red works only with positives"),y(n.red,"red works only with red numbers")},$.prototype._verify2=function(n,s){y(0==(n.negative|s.negative),"red works only with positives"),y(n.red&&n.red===s.red,"red works only with red numbers")},$.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},$.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},$.prototype.add=function(n,s){this._verify2(n,s);var f=n.add(s);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},$.prototype.iadd=function(n,s){this._verify2(n,s);var f=n.iadd(s);return f.cmp(this.m)>=0&&f.isub(this.m),f},$.prototype.sub=function(n,s){this._verify2(n,s);var f=n.sub(s);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},$.prototype.isub=function(n,s){this._verify2(n,s);var f=n.isub(s);return f.cmpn(0)<0&&f.iadd(this.m),f},$.prototype.shl=function(n,s){return this._verify1(n),this.imod(n.ushln(s))},$.prototype.imul=function(n,s){return this._verify2(n,s),this.imod(n.imul(s))},$.prototype.mul=function(n,s){return this._verify2(n,s),this.imod(n.mul(s))},$.prototype.isqr=function(n){return this.imul(n,n.clone())},$.prototype.sqr=function(n){return this.mul(n,n)},$.prototype.sqrt=function(n){if(n.isZero())return n.clone();var s=this.m.andln(3);if(y(s%2==1),3===s){var f=this.m.add(new l(1)).iushrn(2);return this.pow(n,f)}for(var h=this.m.subn(1),w=0;!h.isZero()&&0===h.andln(1);)w++,h.iushrn(1);y(!h.isZero());var D=new l(1).toRed(this),P=D.redNeg(),v=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,v).cmp(P);)r.redIAdd(P);for(var g=this.pow(r,h),H=this.pow(n,h.addn(1).iushrn(1)),N=this.pow(n,h),te=w;0!==N.cmp(D);){for(var De=N,st=0;0!==De.cmp(D);st++)De=De.redSqr();y(st<te);var je=this.pow(g,new l(1).iushln(te-st-1));H=H.redMul(je),g=je.redSqr(),N=N.redMul(g),te=st}return H},$.prototype.invm=function(n){var s=n._invmp(this.m);return 0!==s.negative?(s.negative=0,this.imod(s).redNeg()):this.imod(s)},$.prototype.pow=function(n,s){if(s.isZero())return new l(1).toRed(this);if(0===s.cmpn(1))return n.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=n;for(var w=2;w<h.length;w++)h[w]=this.mul(h[w-1],n);var D=h[0],P=0,v=0,r=s.bitLength()%26;for(0===r&&(r=26),w=s.length-1;w>=0;w--){for(var g=s.words[w],H=r-1;H>=0;H--){var N=g>>H&1;D!==h[0]&&(D=this.sqr(D)),0!==N||0!==P?(P<<=1,P|=N,(4==++v||0===w&&0===H)&&(D=this.mul(D,h[P]),v=0,P=0)):v=0}r=26}return D},$.prototype.convertTo=function(n){var s=n.umod(this.m);return s===n?s.clone():s},$.prototype.convertFrom=function(n){var s=n.clone();return s.red=null,s},l.mont=function(n){return new he(n)},A(he,$),he.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},he.prototype.convertFrom=function(n){var s=this.imod(n.mul(this.rinv));return s.red=null,s},he.prototype.imul=function(n,s){if(n.isZero()||s.isZero())return n.words[0]=0,n.length=1,n;var f=n.imul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),w=f.isub(h).iushrn(this.shift),D=w;return w.cmp(this.m)>=0?D=w.isub(this.m):w.cmpn(0)<0&&(D=w.iadd(this.m)),D._forceRed(this)},he.prototype.mul=function(n,s){if(n.isZero()||s.isZero())return new l(0)._forceRed(this);var f=n.mul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),w=f.isub(h).iushrn(this.shift),D=w;return w.cmp(this.m)>=0?D=w.isub(this.m):w.cmpn(0)<0&&(D=w.iadd(this.m)),D._forceRed(this)},he.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(He=p.nmd(He),this)},6362:(He,X,p)=>{"use strict";var e=p(6698),t=p(5829),y=p(9706),A=p(7965),l=p(6420);function M(m){l.call(this,"digest"),this._hash=m}e(M,l),M.prototype._update=function(m){this._hash.update(m)},M.prototype._final=function(){return this._hash.digest()},He.exports=function(O){return"md5"===(O=O.toLowerCase())?new t:"rmd160"===O||"ripemd160"===O?new y:new M(A(O))}},7588:(He,X,p)=>{var e=p(5829);He.exports=function(t){return(new e).update(t).digest()}},5825:(He,X,p)=>{"use strict";var e=p(6698),t=p(5922),y=p(6420),A=p(843).Buffer,l=p(7588),M=p(9706),m=p(7965),O=A.alloc(128);function d(E,x){y.call(this,"digest"),"string"==typeof x&&(x=A.from(x));var I="sha512"===E||"sha384"===E?128:64;this._alg=E,this._key=x,x.length>I?x=("rmd160"===E?new M:m(E)).update(x).digest():x.length<I&&(x=A.concat([x,O],I));for(var V=this._ipad=A.allocUnsafe(I),G=this._opad=A.allocUnsafe(I),j=0;j<I;j++)V[j]=54^x[j],G[j]=92^x[j];this._hash="rmd160"===E?new M:m(E),this._hash.update(V)}e(d,y),d.prototype._update=function(E){this._hash.update(E)},d.prototype._final=function(){var E=this._hash.digest();return("rmd160"===this._alg?new M:m(this._alg)).update(this._opad).update(E).digest()},He.exports=function(x,I){return"rmd160"===(x=x.toLowerCase())||"ripemd160"===x?new d("rmd160",I):"md5"===x?new t(l,I):new d(x,I)}},5922:(He,X,p)=>{"use strict";var e=p(6698),t=p(843).Buffer,y=p(6420),A=t.alloc(128),l=64;function M(m,O){y.call(this,"digest"),"string"==typeof O&&(O=t.from(O)),this._alg=m,this._key=O,O.length>l?O=m(O):O.length<l&&(O=t.concat([O,A],l));for(var d=this._ipad=t.allocUnsafe(l),E=this._opad=t.allocUnsafe(l),x=0;x<l;x++)d[x]=54^O[x],E[x]=92^O[x];this._hash=[d]}e(M,y),M.prototype._update=function(m){this._hash.push(m)},M.prototype._final=function(){var m=this._alg(t.concat(this._hash));return this._alg(t.concat([this._opad,m]))},He.exports=M},7903:(He,X,p)=>{"use strict";X.randomBytes=X.rng=X.pseudoRandomBytes=X.prng=p(4019),X.createHash=X.Hash=p(6362),X.createHmac=X.Hmac=p(5825);var e=p(1699),t=Object.keys(e),y=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(t);X.getHashes=function(){return y};var A=p(7100);X.pbkdf2=A.pbkdf2,X.pbkdf2Sync=A.pbkdf2Sync;var l=p(5600);X.Cipher=l.Cipher,X.createCipher=l.createCipher,X.Cipheriv=l.Cipheriv,X.createCipheriv=l.createCipheriv,X.Decipher=l.Decipher,X.createDecipher=l.createDecipher,X.Decipheriv=l.Decipheriv,X.createDecipheriv=l.createDecipheriv,X.getCiphers=l.getCiphers,X.listCiphers=l.listCiphers;var M=p(5144);X.DiffieHellmanGroup=M.DiffieHellmanGroup,X.createDiffieHellmanGroup=M.createDiffieHellmanGroup,X.getDiffieHellman=M.getDiffieHellman,X.createDiffieHellman=M.createDiffieHellman,X.DiffieHellman=M.DiffieHellman;var m=p(7686);X.createSign=m.createSign,X.Sign=m.Sign,X.createVerify=m.createVerify,X.Verify=m.Verify,X.createECDH=p(8840);var O=p(7050);X.publicEncrypt=O.publicEncrypt,X.privateEncrypt=O.privateEncrypt,X.publicDecrypt=O.publicDecrypt,X.privateDecrypt=O.privateDecrypt;var d=p(1237);X.randomFill=d.randomFill,X.randomFillSync=d.randomFillSync,X.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},X.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}},132:(He,X,p)=>{"use strict";X.utils=p(2294),X.Cipher=p(9484),X.DES=p(4374),X.CBC=p(2066),X.EDE=p(9710)},2066:(He,X,p)=>{"use strict";var e=p(7798),t=p(6698),y={};function A(M){e.equal(M.length,8,"Invalid IV length"),this.iv=new Array(8);for(var m=0;m<this.iv.length;m++)this.iv[m]=M[m]}X.instantiate=function l(M){function m(x){M.call(this,x),this._cbcInit()}t(m,M);for(var O=Object.keys(y),d=0;d<O.length;d++){var E=O[d];m.prototype[E]=y[E]}return m.create=function(I){return new m(I)},m},y._cbcInit=function(){var m=new A(this.options.iv);this._cbcState=m},y._update=function(m,O,d,E){var I=this.constructor.super_.prototype,k=this._cbcState.iv;if("encrypt"===this.type){for(var V=0;V<this.blockSize;V++)k[V]^=m[O+V];for(I._update.call(this,k,0,d,E),V=0;V<this.blockSize;V++)k[V]=d[E+V]}else{for(I._update.call(this,m,O,d,E),V=0;V<this.blockSize;V++)d[E+V]^=k[V];for(V=0;V<this.blockSize;V++)k[V]=m[O+V]}}},9484:(He,X,p)=>{"use strict";var e=p(7798);function t(y){this.options=y,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=!1!==y.padding}He.exports=t,t.prototype._init=function(){},t.prototype.update=function(A){return 0===A.length?[]:"decrypt"===this.type?this._updateDecrypt(A):this._updateEncrypt(A)},t.prototype._buffer=function(A,l){for(var M=Math.min(this.buffer.length-this.bufferOff,A.length-l),m=0;m<M;m++)this.buffer[this.bufferOff+m]=A[l+m];return this.bufferOff+=M,M},t.prototype._flushBuffer=function(A,l){return this._update(this.buffer,0,A,l),this.bufferOff=0,this.blockSize},t.prototype._updateEncrypt=function(A){var l=0,M=0,O=new Array(((this.bufferOff+A.length)/this.blockSize|0)*this.blockSize);0!==this.bufferOff&&(l+=this._buffer(A,l),this.bufferOff===this.buffer.length&&(M+=this._flushBuffer(O,M)));for(var d=A.length-(A.length-l)%this.blockSize;l<d;l+=this.blockSize)this._update(A,l,O,M),M+=this.blockSize;for(;l<A.length;l++,this.bufferOff++)this.buffer[this.bufferOff]=A[l];return O},t.prototype._updateDecrypt=function(A){for(var l=0,M=0,m=Math.ceil((this.bufferOff+A.length)/this.blockSize)-1,O=new Array(m*this.blockSize);m>0;m--)l+=this._buffer(A,l),M+=this._flushBuffer(O,M);return l+=this._buffer(A,l),O},t.prototype.final=function(A){var l,M;return A&&(l=this.update(A)),M="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),l?l.concat(M):M},t.prototype._pad=function(A,l){if(0===l)return!1;for(;l<A.length;)A[l++]=0;return!0},t.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var A=new Array(this.blockSize);return this._update(this.buffer,0,A,0),A},t.prototype._unpad=function(A){return A},t.prototype._finalDecrypt=function(){e.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var A=new Array(this.blockSize);return this._flushBuffer(A,0),this._unpad(A)}},4374:(He,X,p)=>{"use strict";var e=p(7798),t=p(6698),y=p(2294),A=p(9484);function l(){this.tmp=new Array(2),this.keys=null}function M(O){A.call(this,O);var d=new l;this._desState=d,this.deriveKeys(d,O.key)}t(M,A),He.exports=M,M.create=function(d){return new M(d)};var m=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];M.prototype.deriveKeys=function(d,E){d.keys=new Array(32),e.equal(E.length,this.blockSize,"Invalid key length");var x=y.readUInt32BE(E,0),I=y.readUInt32BE(E,4);y.pc1(x,I,d.tmp,0),x=d.tmp[0],I=d.tmp[1];for(var k=0;k<d.keys.length;k+=2){var V=m[k>>>1];x=y.r28shl(x,V),I=y.r28shl(I,V),y.pc2(x,I,d.keys,k)}},M.prototype._update=function(d,E,x,I){var k=this._desState,V=y.readUInt32BE(d,E),G=y.readUInt32BE(d,E+4);y.ip(V,G,k.tmp,0),V=k.tmp[0],G=k.tmp[1],"encrypt"===this.type?this._encrypt(k,V,G,k.tmp,0):this._decrypt(k,V,G,k.tmp,0),G=k.tmp[1],y.writeUInt32BE(x,V=k.tmp[0],I),y.writeUInt32BE(x,G,I+4)},M.prototype._pad=function(d,E){if(!1===this.padding)return!1;for(var x=d.length-E,I=E;I<d.length;I++)d[I]=x;return!0},M.prototype._unpad=function(d){if(!1===this.padding)return d;for(var E=d[d.length-1],x=d.length-E;x<d.length;x++)e.equal(d[x],E);return d.slice(0,d.length-E)},M.prototype._encrypt=function(d,E,x,I,k){for(var V=E,G=x,j=0;j<d.keys.length;j+=2){var W=d.keys[j],K=d.keys[j+1];y.expand(G,d.tmp,0);var q=y.substitute(W^=d.tmp[0],K^=d.tmp[1]),ae=G;G=(V^y.permute(q))>>>0,V=ae}y.rip(G,V,I,k)},M.prototype._decrypt=function(d,E,x,I,k){for(var V=x,G=E,j=d.keys.length-2;j>=0;j-=2){var W=d.keys[j],K=d.keys[j+1];y.expand(V,d.tmp,0);var q=y.substitute(W^=d.tmp[0],K^=d.tmp[1]),ae=V;V=(G^y.permute(q))>>>0,G=ae}y.rip(V,G,I,k)}},9710:(He,X,p)=>{"use strict";var e=p(7798),t=p(6698),y=p(9484),A=p(4374);function l(m,O){e.equal(O.length,24,"Invalid key length");var d=O.slice(0,8),E=O.slice(8,16),x=O.slice(16,24);this.ciphers="encrypt"===m?[A.create({type:"encrypt",key:d}),A.create({type:"decrypt",key:E}),A.create({type:"encrypt",key:x})]:[A.create({type:"decrypt",key:x}),A.create({type:"encrypt",key:E}),A.create({type:"decrypt",key:d})]}function M(m){y.call(this,m);var O=new l(this.type,this.options.key);this._edeState=O}t(M,y),He.exports=M,M.create=function(O){return new M(O)},M.prototype._update=function(O,d,E,x){var I=this._edeState;I.ciphers[0]._update(O,d,E,x),I.ciphers[1]._update(E,x,E,x),I.ciphers[2]._update(E,x,E,x)},M.prototype._pad=A.prototype._pad,M.prototype._unpad=A.prototype._unpad},2294:(He,X)=>{"use strict";X.readUInt32BE=function(A,l){return(A[0+l]<<24|A[1+l]<<16|A[2+l]<<8|A[3+l])>>>0},X.writeUInt32BE=function(A,l,M){A[0+M]=l>>>24,A[1+M]=l>>>16&255,A[2+M]=l>>>8&255,A[3+M]=255&l},X.ip=function(A,l,M,m){for(var O=0,d=0,E=6;E>=0;E-=2){for(var x=0;x<=24;x+=8)O<<=1,O|=l>>>x+E&1;for(x=0;x<=24;x+=8)O<<=1,O|=A>>>x+E&1}for(E=6;E>=0;E-=2){for(x=1;x<=25;x+=8)d<<=1,d|=l>>>x+E&1;for(x=1;x<=25;x+=8)d<<=1,d|=A>>>x+E&1}M[m+0]=O>>>0,M[m+1]=d>>>0},X.rip=function(A,l,M,m){for(var O=0,d=0,E=0;E<4;E++)for(var x=24;x>=0;x-=8)O<<=1,O|=l>>>x+E&1,O<<=1,O|=A>>>x+E&1;for(E=4;E<8;E++)for(x=24;x>=0;x-=8)d<<=1,d|=l>>>x+E&1,d<<=1,d|=A>>>x+E&1;M[m+0]=O>>>0,M[m+1]=d>>>0},X.pc1=function(A,l,M,m){for(var O=0,d=0,E=7;E>=5;E--){for(var x=0;x<=24;x+=8)O<<=1,O|=l>>x+E&1;for(x=0;x<=24;x+=8)O<<=1,O|=A>>x+E&1}for(x=0;x<=24;x+=8)O<<=1,O|=l>>x+E&1;for(E=1;E<=3;E++){for(x=0;x<=24;x+=8)d<<=1,d|=l>>x+E&1;for(x=0;x<=24;x+=8)d<<=1,d|=A>>x+E&1}for(x=0;x<=24;x+=8)d<<=1,d|=A>>x+E&1;M[m+0]=O>>>0,M[m+1]=d>>>0},X.r28shl=function(A,l){return A<<l&268435455|A>>>28-l};var p=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];X.pc2=function(A,l,M,m){for(var O=0,d=0,E=p.length>>>1,x=0;x<E;x++)O<<=1,O|=A>>>p[x]&1;for(x=E;x<p.length;x++)d<<=1,d|=l>>>p[x]&1;M[m+0]=O>>>0,M[m+1]=d>>>0},X.expand=function(A,l,M){var m=0,O=0;m=(1&A)<<5|A>>>27;for(var d=23;d>=15;d-=4)m<<=6,m|=A>>>d&63;for(d=11;d>=3;d-=4)O|=A>>>d&63,O<<=6;O|=(31&A)<<1|A>>>31,l[M+0]=m>>>0,l[M+1]=O>>>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];X.substitute=function(A,l){for(var M=0,m=0;m<4;m++)M<<=4,M|=e[64*m+(A>>>18-6*m&63)];for(m=0;m<4;m++)M<<=4,M|=e[256+64*m+(l>>>18-6*m&63)];return M>>>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];X.permute=function(A){for(var l=0,M=0;M<t.length;M++)l<<=1,l|=A>>>t[M]&1;return l>>>0},X.padSplit=function(A,l,M){for(var m=A.toString(2);m.length<l;)m="0"+m;for(var O=[],d=0;d<l;d+=M)O.push(m.slice(d,d+M));return O.join(" ")}},5144:(He,X,p)=>{var e=p(1096),t=p(9799),y=p(5580),l={binary:!0,hex:!0,base64:!0};X.DiffieHellmanGroup=X.createDiffieHellmanGroup=X.getDiffieHellman=function A(m){var O=new Buffer(t[m].prime,"hex"),d=new Buffer(t[m].gen,"hex");return new y(O,d)},X.createDiffieHellman=X.DiffieHellman=function M(m,O,d,E){return Buffer.isBuffer(O)||void 0===l[O]?M(m,"binary",O,d):(O=O||"binary",E=E||"binary",d=d||new Buffer([2]),Buffer.isBuffer(d)||(d=new Buffer(d,E)),"number"==typeof m?new y(e(m,d),d,!0):(Buffer.isBuffer(m)||(m=new Buffer(m,O)),new y(m,d,!0)))}},5580:(He,X,p)=>{var e=p(7301),y=new(p(8606)),A=new e(24),l=new e(11),M=new e(10),m=new e(3),O=new e(7),d=p(1096),E=p(4019);function x(W,K){return K=K||"utf8",Buffer.isBuffer(W)||(W=new Buffer(W,K)),this._pub=new e(W),this}function I(W,K){return K=K||"utf8",Buffer.isBuffer(W)||(W=new Buffer(W,K)),this._priv=new e(W),this}He.exports=G;var k={};function G(W,K,q){this.setGenerator(K),this.__prime=new e(W),this._prime=e.mont(this.__prime),this._primeLen=W.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,q?(this.setPublicKey=x,this.setPrivateKey=I):this._primeCode=8}function j(W,K){var q=new Buffer(W.toArray());return K?q.toString(K):q}Object.defineProperty(G.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function V(W,K){var q=K.toString("hex"),ie=[q,W.toString(16)].join("_");if(ie in k)return k[ie];var ue,ae=0;if(W.isEven()||!d.simpleSieve||!d.fermatTest(W)||!y.test(W))return ae+=1,k[ie]=ae+="02"===q||"05"===q?8:4,ae;switch(y.test(W.shrn(1))||(ae+=2),q){case"02":W.mod(A).cmp(l)&&(ae+=8);break;case"05":(ue=W.mod(M)).cmp(m)&&ue.cmp(O)&&(ae+=8);break;default:ae+=4}return k[ie]=ae,ae}(this.__prime,this.__gen)),this._primeCode}}),G.prototype.generateKeys=function(){return this._priv||(this._priv=new e(E(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},G.prototype.computeSecret=function(W){var K=(W=(W=new e(W)).toRed(this._prime)).redPow(this._priv).fromRed(),q=new Buffer(K.toArray()),ie=this.getPrime();if(q.length<ie.length){var ae=new Buffer(ie.length-q.length);ae.fill(0),q=Buffer.concat([ae,q])}return q},G.prototype.getPublicKey=function(K){return j(this._pub,K)},G.prototype.getPrivateKey=function(K){return j(this._priv,K)},G.prototype.getPrime=function(W){return j(this.__prime,W)},G.prototype.getGenerator=function(W){return j(this._gen,W)},G.prototype.setGenerator=function(W,K){return K=K||"utf8",Buffer.isBuffer(W)||(W=new Buffer(W,K)),this.__gen=W,this._gen=new e(W),this}},1096:(He,X,p)=>{var e=p(4019);He.exports=ae,ae.simpleSieve=q,ae.fermatTest=ie;var t=p(7301),y=new t(24),l=new(p(8606)),M=new t(1),m=new t(2),O=new t(5),x=(new t(16),new t(8),new t(10)),I=new t(3),V=(new t(7),new t(11)),G=new t(4),W=(new t(12),null);function q(ue){for(var re=function K(){if(null!==W)return W;var re=[];re[0]=2;for(var xe=1,$=3;$<1048576;$+=2){for(var he=Math.ceil(Math.sqrt($)),S=0;S<xe&&re[S]<=he&&$%re[S]!=0;S++);xe!==S&&re[S]<=he||(re[xe++]=$)}return W=re,re}(),xe=0;xe<re.length;xe++)if(0===ue.modn(re[xe]))return 0===ue.cmpn(re[xe]);return!0}function ie(ue){var re=t.mont(ue);return 0===m.toRed(re).redPow(ue.subn(1)).fromRed().cmpn(1)}function ae(ue,re){if(ue<16)return new t(2===re||5===re?[140,123]:[140,39]);re=new t(re);for(var xe,$;;){for(xe=new t(e(Math.ceil(ue/8)));xe.bitLength()>ue;)xe.ishrn(1);if(xe.isEven()&&xe.iadd(M),xe.testn(1)||xe.iadd(m),re.cmp(m)){if(!re.cmp(O))for(;xe.mod(x).cmp(I);)xe.iadd(G)}else for(;xe.mod(y).cmp(V);)xe.iadd(G);if(q($=xe.shrn(1))&&q(xe)&&ie($)&&ie(xe)&&l.test($)&&l.test(xe))return xe}}},7301:function(He,X,p){!function(e,t){"use strict";function y(S,n){if(!S)throw new Error(n||"Assertion failed")}function A(S,n){S.super_=n;var s=function(){};s.prototype=n.prototype,S.prototype=new s,S.prototype.constructor=S}function l(S,n,s){if(l.isBN(S))return S;this.negative=0,this.words=null,this.length=0,this.red=null,null!==S&&(("le"===n||"be"===n)&&(s=n,n=10),this._init(S||0,n||10,s||"be"))}var M;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{M=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:p(7748).Buffer}catch{}function m(S,n){var s=S.charCodeAt(n);return s>=65&&s<=70?s-55:s>=97&&s<=102?s-87:s-48&15}function O(S,n,s){var f=m(S,s);return s-1>=n&&(f|=m(S,s-1)<<4),f}function d(S,n,s,f){for(var h=0,w=Math.min(S.length,s),D=n;D<w;D++){var P=S.charCodeAt(D)-48;h*=f,h+=P>=49?P-49+10:P>=17?P-17+10:P}return h}l.isBN=function(n){return n instanceof l||null!==n&&"object"==typeof n&&n.constructor.wordSize===l.wordSize&&Array.isArray(n.words)},l.max=function(n,s){return n.cmp(s)>0?n:s},l.min=function(n,s){return n.cmp(s)<0?n:s},l.prototype._init=function(n,s,f){if("number"==typeof n)return this._initNumber(n,s,f);if("object"==typeof n)return this._initArray(n,s,f);"hex"===s&&(s=16),y(s===(0|s)&&s>=2&&s<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<n.length&&(16===s?this._parseHex(n,h,f):(this._parseBase(n,s,h),"le"===f&&this._initArray(this.toArray(),s,f)))},l.prototype._initNumber=function(n,s,f){n<0&&(this.negative=1,n=-n),n<67108864?(this.words=[67108863&n],this.length=1):n<4503599627370496?(this.words=[67108863&n,n/67108864&67108863],this.length=2):(y(n<9007199254740992),this.words=[67108863&n,n/67108864&67108863,1],this.length=3),"le"===f&&this._initArray(this.toArray(),s,f)},l.prototype._initArray=function(n,s,f){if(y("number"==typeof n.length),n.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(n.length/3),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var w,D,P=0;if("be"===f)for(h=n.length-1,w=0;h>=0;h-=3)this.words[w]|=(D=n[h]|n[h-1]<<8|n[h-2]<<16)<<P&67108863,this.words[w+1]=D>>>26-P&67108863,(P+=24)>=26&&(P-=26,w++);else if("le"===f)for(h=0,w=0;h<n.length;h+=3)this.words[w]|=(D=n[h]|n[h+1]<<8|n[h+2]<<16)<<P&67108863,this.words[w+1]=D>>>26-P&67108863,(P+=24)>=26&&(P-=26,w++);return this.strip()},l.prototype._parseHex=function(n,s,f){this.length=Math.ceil((n.length-s)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var P,w=0,D=0;if("be"===f)for(h=n.length-1;h>=s;h-=2)P=O(n,s,h)<<w,this.words[D]|=67108863&P,w>=18?(w-=18,this.words[D+=1]|=P>>>26):w+=8;else for(h=(n.length-s)%2==0?s+1:s;h<n.length;h+=2)P=O(n,s,h)<<w,this.words[D]|=67108863&P,w>=18?(w-=18,this.words[D+=1]|=P>>>26):w+=8;this.strip()},l.prototype._parseBase=function(n,s,f){this.words=[0],this.length=1;for(var h=0,w=1;w<=67108863;w*=s)h++;h--,w=w/s|0;for(var D=n.length-f,P=D%h,v=Math.min(D,D-P)+f,r=0,g=f;g<v;g+=h)r=d(n,g,g+h,s),this.imuln(w),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==P){var H=1;for(r=d(n,g,n.length,s),g=0;g<P;g++)H*=s;this.imuln(H),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r)}this.strip()},l.prototype.copy=function(n){n.words=new Array(this.length);for(var s=0;s<this.length;s++)n.words[s]=this.words[s];n.length=this.length,n.negative=this.negative,n.red=this.red},l.prototype.clone=function(){var n=new l(null);return this.copy(n),n},l.prototype._expand=function(n){for(;this.length<n;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var E=["","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"],x=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],I=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function V(S,n,s){s.negative=n.negative^S.negative;var f=S.length+n.length|0;s.length=f,f=f-1|0;var h=0|S.words[0],w=0|n.words[0],D=h*w,v=D/67108864|0;s.words[0]=67108863&D;for(var r=1;r<f;r++){for(var g=v>>>26,H=67108863&v,N=Math.min(r,n.length-1),te=Math.max(0,r-S.length+1);te<=N;te++)g+=(D=(h=0|S.words[r-te|0])*(w=0|n.words[te])+H)/67108864|0,H=67108863&D;s.words[r]=0|H,v=0|g}return 0!==v?s.words[r]=0|v:s.length--,s.strip()}l.prototype.toString=function(n,s){var f;if(s=0|s||1,16===(n=n||10)||"hex"===n){f="";for(var h=0,w=0,D=0;D<this.length;D++){var P=this.words[D],v=(16777215&(P<<h|w)).toString(16);f=0!=(w=P>>>24-h&16777215)||D!==this.length-1?E[6-v.length]+v+f:v+f,(h+=2)>=26&&(h-=26,D--)}for(0!==w&&(f=w.toString(16)+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(n===(0|n)&&n>=2&&n<=36){var r=x[n],g=I[n];f="";var H=this.clone();for(H.negative=0;!H.isZero();){var N=H.modn(g).toString(n);f=(H=H.idivn(g)).isZero()?N+f:E[r-N.length]+N+f}for(this.isZero()&&(f="0"+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}y(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&y(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(n,s){return y(typeof M<"u"),this.toArrayLike(M,n,s)},l.prototype.toArray=function(n,s){return this.toArrayLike(Array,n,s)},l.prototype.toArrayLike=function(n,s,f){var h=this.byteLength(),w=f||Math.max(1,h);y(h<=w,"byte array longer than desired length"),y(w>0,"Requested array length <= 0"),this.strip();var v,r,D="le"===s,P=new n(w),g=this.clone();if(D){for(r=0;!g.isZero();r++)v=g.andln(255),g.iushrn(8),P[r]=v;for(;r<w;r++)P[r]=0}else{for(r=0;r<w-h;r++)P[r]=0;for(r=0;!g.isZero();r++)v=g.andln(255),g.iushrn(8),P[w-r-1]=v}return P},l.prototype._countBits=Math.clz32?function(n){return 32-Math.clz32(n)}:function(n){var s=n,f=0;return s>=4096&&(f+=13,s>>>=13),s>=64&&(f+=7,s>>>=7),s>=8&&(f+=4,s>>>=4),s>=2&&(f+=2,s>>>=2),f+s},l.prototype._zeroBits=function(n){if(0===n)return 26;var s=n,f=0;return 8191&s||(f+=13,s>>>=13),127&s||(f+=7,s>>>=7),15&s||(f+=4,s>>>=4),3&s||(f+=2,s>>>=2),1&s||f++,f},l.prototype.bitLength=function(){var s=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+s},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,s=0;s<this.length;s++){var f=this._zeroBits(this.words[s]);if(n+=f,26!==f)break}return n},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(n){return 0!==this.negative?this.abs().inotn(n).iaddn(1):this.clone()},l.prototype.fromTwos=function(n){return this.testn(n-1)?this.notn(n).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(n){for(;this.length<n.length;)this.words[this.length++]=0;for(var s=0;s<n.length;s++)this.words[s]=this.words[s]|n.words[s];return this.strip()},l.prototype.ior=function(n){return y(0==(this.negative|n.negative)),this.iuor(n)},l.prototype.or=function(n){return this.length>n.length?this.clone().ior(n):n.clone().ior(this)},l.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},l.prototype.iuand=function(n){var s;s=this.length>n.length?n:this;for(var f=0;f<s.length;f++)this.words[f]=this.words[f]&n.words[f];return this.length=s.length,this.strip()},l.prototype.iand=function(n){return y(0==(this.negative|n.negative)),this.iuand(n)},l.prototype.and=function(n){return this.length>n.length?this.clone().iand(n):n.clone().iand(this)},l.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},l.prototype.iuxor=function(n){var s,f;this.length>n.length?(s=this,f=n):(s=n,f=this);for(var h=0;h<f.length;h++)this.words[h]=s.words[h]^f.words[h];if(this!==s)for(;h<s.length;h++)this.words[h]=s.words[h];return this.length=s.length,this.strip()},l.prototype.ixor=function(n){return y(0==(this.negative|n.negative)),this.iuxor(n)},l.prototype.xor=function(n){return this.length>n.length?this.clone().ixor(n):n.clone().ixor(this)},l.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},l.prototype.inotn=function(n){y("number"==typeof n&&n>=0);var s=0|Math.ceil(n/26),f=n%26;this._expand(s),f>0&&s--;for(var h=0;h<s;h++)this.words[h]=67108863&~this.words[h];return f>0&&(this.words[h]=~this.words[h]&67108863>>26-f),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,s){y("number"==typeof n&&n>=0);var f=n/26|0,h=n%26;return this._expand(f+1),this.words[f]=s?this.words[f]|1<<h:this.words[f]&~(1<<h),this.strip()},l.prototype.iadd=function(n){var s,f,h;if(0!==this.negative&&0===n.negative)return this.negative=0,s=this.isub(n),this.negative^=1,this._normSign();if(0===this.negative&&0!==n.negative)return n.negative=0,s=this.isub(n),n.negative=1,s._normSign();this.length>n.length?(f=this,h=n):(f=n,h=this);for(var w=0,D=0;D<h.length;D++)this.words[D]=67108863&(s=(0|f.words[D])+(0|h.words[D])+w),w=s>>>26;for(;0!==w&&D<f.length;D++)this.words[D]=67108863&(s=(0|f.words[D])+w),w=s>>>26;if(this.length=f.length,0!==w)this.words[this.length]=w,this.length++;else if(f!==this)for(;D<f.length;D++)this.words[D]=f.words[D];return this},l.prototype.add=function(n){var s;return 0!==n.negative&&0===this.negative?(n.negative=0,s=this.sub(n),n.negative^=1,s):0===n.negative&&0!==this.negative?(this.negative=0,s=n.sub(this),this.negative=1,s):this.length>n.length?this.clone().iadd(n):n.clone().iadd(this)},l.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var s=this.iadd(n);return n.negative=1,s._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,w,f=this.cmp(n);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(h=this,w=n):(h=n,w=this);for(var D=0,P=0;P<w.length;P++)D=(s=(0|h.words[P])-(0|w.words[P])+D)>>26,this.words[P]=67108863&s;for(;0!==D&&P<h.length;P++)D=(s=(0|h.words[P])+D)>>26,this.words[P]=67108863&s;if(0===D&&P<h.length&&h!==this)for(;P<h.length;P++)this.words[P]=h.words[P];return this.length=Math.max(this.length,P),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(n){return this.clone().isub(n)};var G=function(n,s,f){var v,r,g,h=n.words,w=s.words,D=f.words,P=0,H=0|h[0],N=8191&H,te=H>>>13,De=0|h[1],st=8191&De,je=De>>>13,$e=0|h[2],ye=8191&$e,fe=$e>>>13,de=0|h[3],Ce=8191&de,le=de>>>13,ge=0|h[4],qe=8191&ge,oe=ge>>>13,ve=0|h[5],ce=8191&ve,Ge=ve>>>13,Ze=0|h[6],wt=8191&Ze,mt=Ze>>>13,kt=0|h[7],Ae=8191&kt,ze=kt>>>13,nt=0|h[8],et=8191&nt,ke=nt>>>13,ct=0|h[9],Qe=8191&ct,Et=ct>>>13,lt=0|w[0],Ke=8191&lt,Be=lt>>>13,Xt=0|w[1],J=8191&Xt,We=Xt>>>13,Ft=0|w[2],Ct=8191&Ft,Pt=Ft>>>13,xt=0|w[3],rt=8191&xt,Ee=xt>>>13,it=0|w[4],Ue=8191&it,Je=it>>>13,_t=0|w[5],Le=8191&_t,be=_t>>>13,ee=0|w[6],ne=8191&ee,Ie=ee>>>13,Ht=0|w[7],At=8191&Ht,Zt=Ht>>>13,pi=0|w[8],Jt=8191&pi,qt=pi>>>13,Hi=0|w[9],di=8191&Hi,fi=Hi>>>13;f.negative=n.negative^s.negative,f.length=19;var un=(P+(v=Math.imul(N,Ke))|0)+((8191&(r=(r=Math.imul(N,Be))+Math.imul(te,Ke)|0))<<13)|0;P=((g=Math.imul(te,Be))+(r>>>13)|0)+(un>>>26)|0,un&=67108863,v=Math.imul(st,Ke),r=(r=Math.imul(st,Be))+Math.imul(je,Ke)|0,g=Math.imul(je,Be);var Qi=(P+(v=v+Math.imul(N,J)|0)|0)+((8191&(r=(r=r+Math.imul(N,We)|0)+Math.imul(te,J)|0))<<13)|0;P=((g=g+Math.imul(te,We)|0)+(r>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,v=Math.imul(ye,Ke),r=(r=Math.imul(ye,Be))+Math.imul(fe,Ke)|0,g=Math.imul(fe,Be),v=v+Math.imul(st,J)|0,r=(r=r+Math.imul(st,We)|0)+Math.imul(je,J)|0,g=g+Math.imul(je,We)|0;var xi=(P+(v=v+Math.imul(N,Ct)|0)|0)+((8191&(r=(r=r+Math.imul(N,Pt)|0)+Math.imul(te,Ct)|0))<<13)|0;P=((g=g+Math.imul(te,Pt)|0)+(r>>>13)|0)+(xi>>>26)|0,xi&=67108863,v=Math.imul(Ce,Ke),r=(r=Math.imul(Ce,Be))+Math.imul(le,Ke)|0,g=Math.imul(le,Be),v=v+Math.imul(ye,J)|0,r=(r=r+Math.imul(ye,We)|0)+Math.imul(fe,J)|0,g=g+Math.imul(fe,We)|0,v=v+Math.imul(st,Ct)|0,r=(r=r+Math.imul(st,Pt)|0)+Math.imul(je,Ct)|0,g=g+Math.imul(je,Pt)|0;var sn=(P+(v=v+Math.imul(N,rt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ee)|0)+Math.imul(te,rt)|0))<<13)|0;P=((g=g+Math.imul(te,Ee)|0)+(r>>>13)|0)+(sn>>>26)|0,sn&=67108863,v=Math.imul(qe,Ke),r=(r=Math.imul(qe,Be))+Math.imul(oe,Ke)|0,g=Math.imul(oe,Be),v=v+Math.imul(Ce,J)|0,r=(r=r+Math.imul(Ce,We)|0)+Math.imul(le,J)|0,g=g+Math.imul(le,We)|0,v=v+Math.imul(ye,Ct)|0,r=(r=r+Math.imul(ye,Pt)|0)+Math.imul(fe,Ct)|0,g=g+Math.imul(fe,Pt)|0,v=v+Math.imul(st,rt)|0,r=(r=r+Math.imul(st,Ee)|0)+Math.imul(je,rt)|0,g=g+Math.imul(je,Ee)|0;var ot=(P+(v=v+Math.imul(N,Ue)|0)|0)+((8191&(r=(r=r+Math.imul(N,Je)|0)+Math.imul(te,Ue)|0))<<13)|0;P=((g=g+Math.imul(te,Je)|0)+(r>>>13)|0)+(ot>>>26)|0,ot&=67108863,v=Math.imul(ce,Ke),r=(r=Math.imul(ce,Be))+Math.imul(Ge,Ke)|0,g=Math.imul(Ge,Be),v=v+Math.imul(qe,J)|0,r=(r=r+Math.imul(qe,We)|0)+Math.imul(oe,J)|0,g=g+Math.imul(oe,We)|0,v=v+Math.imul(Ce,Ct)|0,r=(r=r+Math.imul(Ce,Pt)|0)+Math.imul(le,Ct)|0,g=g+Math.imul(le,Pt)|0,v=v+Math.imul(ye,rt)|0,r=(r=r+Math.imul(ye,Ee)|0)+Math.imul(fe,rt)|0,g=g+Math.imul(fe,Ee)|0,v=v+Math.imul(st,Ue)|0,r=(r=r+Math.imul(st,Je)|0)+Math.imul(je,Ue)|0,g=g+Math.imul(je,Je)|0;var si=(P+(v=v+Math.imul(N,Le)|0)|0)+((8191&(r=(r=r+Math.imul(N,be)|0)+Math.imul(te,Le)|0))<<13)|0;P=((g=g+Math.imul(te,be)|0)+(r>>>13)|0)+(si>>>26)|0,si&=67108863,v=Math.imul(wt,Ke),r=(r=Math.imul(wt,Be))+Math.imul(mt,Ke)|0,g=Math.imul(mt,Be),v=v+Math.imul(ce,J)|0,r=(r=r+Math.imul(ce,We)|0)+Math.imul(Ge,J)|0,g=g+Math.imul(Ge,We)|0,v=v+Math.imul(qe,Ct)|0,r=(r=r+Math.imul(qe,Pt)|0)+Math.imul(oe,Ct)|0,g=g+Math.imul(oe,Pt)|0,v=v+Math.imul(Ce,rt)|0,r=(r=r+Math.imul(Ce,Ee)|0)+Math.imul(le,rt)|0,g=g+Math.imul(le,Ee)|0,v=v+Math.imul(ye,Ue)|0,r=(r=r+Math.imul(ye,Je)|0)+Math.imul(fe,Ue)|0,g=g+Math.imul(fe,Je)|0,v=v+Math.imul(st,Le)|0,r=(r=r+Math.imul(st,be)|0)+Math.imul(je,Le)|0,g=g+Math.imul(je,be)|0;var we=(P+(v=v+Math.imul(N,ne)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ie)|0)+Math.imul(te,ne)|0))<<13)|0;P=((g=g+Math.imul(te,Ie)|0)+(r>>>13)|0)+(we>>>26)|0,we&=67108863,v=Math.imul(Ae,Ke),r=(r=Math.imul(Ae,Be))+Math.imul(ze,Ke)|0,g=Math.imul(ze,Be),v=v+Math.imul(wt,J)|0,r=(r=r+Math.imul(wt,We)|0)+Math.imul(mt,J)|0,g=g+Math.imul(mt,We)|0,v=v+Math.imul(ce,Ct)|0,r=(r=r+Math.imul(ce,Pt)|0)+Math.imul(Ge,Ct)|0,g=g+Math.imul(Ge,Pt)|0,v=v+Math.imul(qe,rt)|0,r=(r=r+Math.imul(qe,Ee)|0)+Math.imul(oe,rt)|0,g=g+Math.imul(oe,Ee)|0,v=v+Math.imul(Ce,Ue)|0,r=(r=r+Math.imul(Ce,Je)|0)+Math.imul(le,Ue)|0,g=g+Math.imul(le,Je)|0,v=v+Math.imul(ye,Le)|0,r=(r=r+Math.imul(ye,be)|0)+Math.imul(fe,Le)|0,g=g+Math.imul(fe,be)|0,v=v+Math.imul(st,ne)|0,r=(r=r+Math.imul(st,Ie)|0)+Math.imul(je,ne)|0,g=g+Math.imul(je,Ie)|0;var St=(P+(v=v+Math.imul(N,At)|0)|0)+((8191&(r=(r=r+Math.imul(N,Zt)|0)+Math.imul(te,At)|0))<<13)|0;P=((g=g+Math.imul(te,Zt)|0)+(r>>>13)|0)+(St>>>26)|0,St&=67108863,v=Math.imul(et,Ke),r=(r=Math.imul(et,Be))+Math.imul(ke,Ke)|0,g=Math.imul(ke,Be),v=v+Math.imul(Ae,J)|0,r=(r=r+Math.imul(Ae,We)|0)+Math.imul(ze,J)|0,g=g+Math.imul(ze,We)|0,v=v+Math.imul(wt,Ct)|0,r=(r=r+Math.imul(wt,Pt)|0)+Math.imul(mt,Ct)|0,g=g+Math.imul(mt,Pt)|0,v=v+Math.imul(ce,rt)|0,r=(r=r+Math.imul(ce,Ee)|0)+Math.imul(Ge,rt)|0,g=g+Math.imul(Ge,Ee)|0,v=v+Math.imul(qe,Ue)|0,r=(r=r+Math.imul(qe,Je)|0)+Math.imul(oe,Ue)|0,g=g+Math.imul(oe,Je)|0,v=v+Math.imul(Ce,Le)|0,r=(r=r+Math.imul(Ce,be)|0)+Math.imul(le,Le)|0,g=g+Math.imul(le,be)|0,v=v+Math.imul(ye,ne)|0,r=(r=r+Math.imul(ye,Ie)|0)+Math.imul(fe,ne)|0,g=g+Math.imul(fe,Ie)|0,v=v+Math.imul(st,At)|0,r=(r=r+Math.imul(st,Zt)|0)+Math.imul(je,At)|0,g=g+Math.imul(je,Zt)|0;var zt=(P+(v=v+Math.imul(N,Jt)|0)|0)+((8191&(r=(r=r+Math.imul(N,qt)|0)+Math.imul(te,Jt)|0))<<13)|0;P=((g=g+Math.imul(te,qt)|0)+(r>>>13)|0)+(zt>>>26)|0,zt&=67108863,v=Math.imul(Qe,Ke),r=(r=Math.imul(Qe,Be))+Math.imul(Et,Ke)|0,g=Math.imul(Et,Be),v=v+Math.imul(et,J)|0,r=(r=r+Math.imul(et,We)|0)+Math.imul(ke,J)|0,g=g+Math.imul(ke,We)|0,v=v+Math.imul(Ae,Ct)|0,r=(r=r+Math.imul(Ae,Pt)|0)+Math.imul(ze,Ct)|0,g=g+Math.imul(ze,Pt)|0,v=v+Math.imul(wt,rt)|0,r=(r=r+Math.imul(wt,Ee)|0)+Math.imul(mt,rt)|0,g=g+Math.imul(mt,Ee)|0,v=v+Math.imul(ce,Ue)|0,r=(r=r+Math.imul(ce,Je)|0)+Math.imul(Ge,Ue)|0,g=g+Math.imul(Ge,Je)|0,v=v+Math.imul(qe,Le)|0,r=(r=r+Math.imul(qe,be)|0)+Math.imul(oe,Le)|0,g=g+Math.imul(oe,be)|0,v=v+Math.imul(Ce,ne)|0,r=(r=r+Math.imul(Ce,Ie)|0)+Math.imul(le,ne)|0,g=g+Math.imul(le,Ie)|0,v=v+Math.imul(ye,At)|0,r=(r=r+Math.imul(ye,Zt)|0)+Math.imul(fe,At)|0,g=g+Math.imul(fe,Zt)|0,v=v+Math.imul(st,Jt)|0,r=(r=r+Math.imul(st,qt)|0)+Math.imul(je,Jt)|0,g=g+Math.imul(je,qt)|0;var Dt=(P+(v=v+Math.imul(N,di)|0)|0)+((8191&(r=(r=r+Math.imul(N,fi)|0)+Math.imul(te,di)|0))<<13)|0;P=((g=g+Math.imul(te,fi)|0)+(r>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,v=Math.imul(Qe,J),r=(r=Math.imul(Qe,We))+Math.imul(Et,J)|0,g=Math.imul(Et,We),v=v+Math.imul(et,Ct)|0,r=(r=r+Math.imul(et,Pt)|0)+Math.imul(ke,Ct)|0,g=g+Math.imul(ke,Pt)|0,v=v+Math.imul(Ae,rt)|0,r=(r=r+Math.imul(Ae,Ee)|0)+Math.imul(ze,rt)|0,g=g+Math.imul(ze,Ee)|0,v=v+Math.imul(wt,Ue)|0,r=(r=r+Math.imul(wt,Je)|0)+Math.imul(mt,Ue)|0,g=g+Math.imul(mt,Je)|0,v=v+Math.imul(ce,Le)|0,r=(r=r+Math.imul(ce,be)|0)+Math.imul(Ge,Le)|0,g=g+Math.imul(Ge,be)|0,v=v+Math.imul(qe,ne)|0,r=(r=r+Math.imul(qe,Ie)|0)+Math.imul(oe,ne)|0,g=g+Math.imul(oe,Ie)|0,v=v+Math.imul(Ce,At)|0,r=(r=r+Math.imul(Ce,Zt)|0)+Math.imul(le,At)|0,g=g+Math.imul(le,Zt)|0,v=v+Math.imul(ye,Jt)|0,r=(r=r+Math.imul(ye,qt)|0)+Math.imul(fe,Jt)|0,g=g+Math.imul(fe,qt)|0;var Lt=(P+(v=v+Math.imul(st,di)|0)|0)+((8191&(r=(r=r+Math.imul(st,fi)|0)+Math.imul(je,di)|0))<<13)|0;P=((g=g+Math.imul(je,fi)|0)+(r>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,v=Math.imul(Qe,Ct),r=(r=Math.imul(Qe,Pt))+Math.imul(Et,Ct)|0,g=Math.imul(Et,Pt),v=v+Math.imul(et,rt)|0,r=(r=r+Math.imul(et,Ee)|0)+Math.imul(ke,rt)|0,g=g+Math.imul(ke,Ee)|0,v=v+Math.imul(Ae,Ue)|0,r=(r=r+Math.imul(Ae,Je)|0)+Math.imul(ze,Ue)|0,g=g+Math.imul(ze,Je)|0,v=v+Math.imul(wt,Le)|0,r=(r=r+Math.imul(wt,be)|0)+Math.imul(mt,Le)|0,g=g+Math.imul(mt,be)|0,v=v+Math.imul(ce,ne)|0,r=(r=r+Math.imul(ce,Ie)|0)+Math.imul(Ge,ne)|0,g=g+Math.imul(Ge,Ie)|0,v=v+Math.imul(qe,At)|0,r=(r=r+Math.imul(qe,Zt)|0)+Math.imul(oe,At)|0,g=g+Math.imul(oe,Zt)|0,v=v+Math.imul(Ce,Jt)|0,r=(r=r+Math.imul(Ce,qt)|0)+Math.imul(le,Jt)|0,g=g+Math.imul(le,qt)|0;var Bt=(P+(v=v+Math.imul(ye,di)|0)|0)+((8191&(r=(r=r+Math.imul(ye,fi)|0)+Math.imul(fe,di)|0))<<13)|0;P=((g=g+Math.imul(fe,fi)|0)+(r>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,v=Math.imul(Qe,rt),r=(r=Math.imul(Qe,Ee))+Math.imul(Et,rt)|0,g=Math.imul(Et,Ee),v=v+Math.imul(et,Ue)|0,r=(r=r+Math.imul(et,Je)|0)+Math.imul(ke,Ue)|0,g=g+Math.imul(ke,Je)|0,v=v+Math.imul(Ae,Le)|0,r=(r=r+Math.imul(Ae,be)|0)+Math.imul(ze,Le)|0,g=g+Math.imul(ze,be)|0,v=v+Math.imul(wt,ne)|0,r=(r=r+Math.imul(wt,Ie)|0)+Math.imul(mt,ne)|0,g=g+Math.imul(mt,Ie)|0,v=v+Math.imul(ce,At)|0,r=(r=r+Math.imul(ce,Zt)|0)+Math.imul(Ge,At)|0,g=g+Math.imul(Ge,Zt)|0,v=v+Math.imul(qe,Jt)|0,r=(r=r+Math.imul(qe,qt)|0)+Math.imul(oe,Jt)|0,g=g+Math.imul(oe,qt)|0;var ai=(P+(v=v+Math.imul(Ce,di)|0)|0)+((8191&(r=(r=r+Math.imul(Ce,fi)|0)+Math.imul(le,di)|0))<<13)|0;P=((g=g+Math.imul(le,fi)|0)+(r>>>13)|0)+(ai>>>26)|0,ai&=67108863,v=Math.imul(Qe,Ue),r=(r=Math.imul(Qe,Je))+Math.imul(Et,Ue)|0,g=Math.imul(Et,Je),v=v+Math.imul(et,Le)|0,r=(r=r+Math.imul(et,be)|0)+Math.imul(ke,Le)|0,g=g+Math.imul(ke,be)|0,v=v+Math.imul(Ae,ne)|0,r=(r=r+Math.imul(Ae,Ie)|0)+Math.imul(ze,ne)|0,g=g+Math.imul(ze,Ie)|0,v=v+Math.imul(wt,At)|0,r=(r=r+Math.imul(wt,Zt)|0)+Math.imul(mt,At)|0,g=g+Math.imul(mt,Zt)|0,v=v+Math.imul(ce,Jt)|0,r=(r=r+Math.imul(ce,qt)|0)+Math.imul(Ge,Jt)|0,g=g+Math.imul(Ge,qt)|0;var vi=(P+(v=v+Math.imul(qe,di)|0)|0)+((8191&(r=(r=r+Math.imul(qe,fi)|0)+Math.imul(oe,di)|0))<<13)|0;P=((g=g+Math.imul(oe,fi)|0)+(r>>>13)|0)+(vi>>>26)|0,vi&=67108863,v=Math.imul(Qe,Le),r=(r=Math.imul(Qe,be))+Math.imul(Et,Le)|0,g=Math.imul(Et,be),v=v+Math.imul(et,ne)|0,r=(r=r+Math.imul(et,Ie)|0)+Math.imul(ke,ne)|0,g=g+Math.imul(ke,Ie)|0,v=v+Math.imul(Ae,At)|0,r=(r=r+Math.imul(Ae,Zt)|0)+Math.imul(ze,At)|0,g=g+Math.imul(ze,Zt)|0,v=v+Math.imul(wt,Jt)|0,r=(r=r+Math.imul(wt,qt)|0)+Math.imul(mt,Jt)|0,g=g+Math.imul(mt,qt)|0;var bi=(P+(v=v+Math.imul(ce,di)|0)|0)+((8191&(r=(r=r+Math.imul(ce,fi)|0)+Math.imul(Ge,di)|0))<<13)|0;P=((g=g+Math.imul(Ge,fi)|0)+(r>>>13)|0)+(bi>>>26)|0,bi&=67108863,v=Math.imul(Qe,ne),r=(r=Math.imul(Qe,Ie))+Math.imul(Et,ne)|0,g=Math.imul(Et,Ie),v=v+Math.imul(et,At)|0,r=(r=r+Math.imul(et,Zt)|0)+Math.imul(ke,At)|0,g=g+Math.imul(ke,Zt)|0,v=v+Math.imul(Ae,Jt)|0,r=(r=r+Math.imul(Ae,qt)|0)+Math.imul(ze,Jt)|0,g=g+Math.imul(ze,qt)|0;var ki=(P+(v=v+Math.imul(wt,di)|0)|0)+((8191&(r=(r=r+Math.imul(wt,fi)|0)+Math.imul(mt,di)|0))<<13)|0;P=((g=g+Math.imul(mt,fi)|0)+(r>>>13)|0)+(ki>>>26)|0,ki&=67108863,v=Math.imul(Qe,At),r=(r=Math.imul(Qe,Zt))+Math.imul(Et,At)|0,g=Math.imul(Et,Zt),v=v+Math.imul(et,Jt)|0,r=(r=r+Math.imul(et,qt)|0)+Math.imul(ke,Jt)|0,g=g+Math.imul(ke,qt)|0;var Bi=(P+(v=v+Math.imul(Ae,di)|0)|0)+((8191&(r=(r=r+Math.imul(Ae,fi)|0)+Math.imul(ze,di)|0))<<13)|0;P=((g=g+Math.imul(ze,fi)|0)+(r>>>13)|0)+(Bi>>>26)|0,Bi&=67108863,v=Math.imul(Qe,Jt),r=(r=Math.imul(Qe,qt))+Math.imul(Et,Jt)|0,g=Math.imul(Et,qt);var Vi=(P+(v=v+Math.imul(et,di)|0)|0)+((8191&(r=(r=r+Math.imul(et,fi)|0)+Math.imul(ke,di)|0))<<13)|0;P=((g=g+Math.imul(ke,fi)|0)+(r>>>13)|0)+(Vi>>>26)|0,Vi&=67108863;var jt=(P+(v=Math.imul(Qe,di))|0)+((8191&(r=(r=Math.imul(Qe,fi))+Math.imul(Et,di)|0))<<13)|0;return P=((g=Math.imul(Et,fi))+(r>>>13)|0)+(jt>>>26)|0,jt&=67108863,D[0]=un,D[1]=Qi,D[2]=xi,D[3]=sn,D[4]=ot,D[5]=si,D[6]=we,D[7]=St,D[8]=zt,D[9]=Dt,D[10]=Lt,D[11]=Bt,D[12]=ai,D[13]=vi,D[14]=bi,D[15]=ki,D[16]=Bi,D[17]=Vi,D[18]=jt,0!==P&&(D[19]=P,f.length++),f};function W(S,n,s){return(new K).mulp(S,n,s)}function K(S,n){this.x=S,this.y=n}Math.imul||(G=V),l.prototype.mulTo=function(n,s){var f,h=this.length+n.length;return f=10===this.length&&10===n.length?G(this,n,s):h<63?V(this,n,s):h<1024?function j(S,n,s){s.negative=n.negative^S.negative,s.length=S.length+n.length;for(var f=0,h=0,w=0;w<s.length-1;w++){var D=h;h=0;for(var P=67108863&f,v=Math.min(w,n.length-1),r=Math.max(0,w-S.length+1);r<=v;r++){var te=(0|S.words[w-r])*(0|n.words[r]),De=67108863&te;P=67108863&(De=De+P|0),h+=(D=(D=D+(te/67108864|0)|0)+(De>>>26)|0)>>>26,D&=67108863}s.words[w]=P,f=D,D=h}return 0!==f?s.words[w]=f:s.length--,s.strip()}(this,n,s):W(this,n,s),f},K.prototype.makeRBT=function(n){for(var s=new Array(n),f=l.prototype._countBits(n)-1,h=0;h<n;h++)s[h]=this.revBin(h,f,n);return s},K.prototype.revBin=function(n,s,f){if(0===n||n===f-1)return n;for(var h=0,w=0;w<s;w++)h|=(1&n)<<s-w-1,n>>=1;return h},K.prototype.permute=function(n,s,f,h,w,D){for(var P=0;P<D;P++)h[P]=s[n[P]],w[P]=f[n[P]]},K.prototype.transform=function(n,s,f,h,w,D){this.permute(D,n,s,f,h,w);for(var P=1;P<w;P<<=1)for(var v=P<<1,r=Math.cos(2*Math.PI/v),g=Math.sin(2*Math.PI/v),H=0;H<w;H+=v)for(var N=r,te=g,De=0;De<P;De++){var st=f[H+De],je=h[H+De],$e=f[H+De+P],ye=h[H+De+P],fe=N*$e-te*ye;ye=N*ye+te*$e,f[H+De]=st+($e=fe),h[H+De]=je+ye,f[H+De+P]=st-$e,h[H+De+P]=je-ye,De!==v&&(fe=r*N-g*te,te=r*te+g*N,N=fe)}},K.prototype.guessLen13b=function(n,s){var f=1|Math.max(s,n),h=1&f,w=0;for(f=f/2|0;f;f>>>=1)w++;return 1<<w+1+h},K.prototype.conjugate=function(n,s,f){if(!(f<=1))for(var h=0;h<f/2;h++){var w=n[h];n[h]=n[f-h-1],n[f-h-1]=w,w=s[h],s[h]=-s[f-h-1],s[f-h-1]=-w}},K.prototype.normalize13b=function(n,s){for(var f=0,h=0;h<s/2;h++){var w=8192*Math.round(n[2*h+1]/s)+Math.round(n[2*h]/s)+f;n[h]=67108863&w,f=w<67108864?0:w/67108864|0}return n},K.prototype.convert13b=function(n,s,f,h){for(var w=0,D=0;D<s;D++)f[2*D]=8191&(w+=0|n[D]),f[2*D+1]=8191&(w>>>=13),w>>>=13;for(D=2*s;D<h;++D)f[D]=0;y(0===w),y(0==(-8192&w))},K.prototype.stub=function(n){for(var s=new Array(n),f=0;f<n;f++)s[f]=0;return s},K.prototype.mulp=function(n,s,f){var h=2*this.guessLen13b(n.length,s.length),w=this.makeRBT(h),D=this.stub(h),P=new Array(h),v=new Array(h),r=new Array(h),g=new Array(h),H=new Array(h),N=new Array(h),te=f.words;te.length=h,this.convert13b(n.words,n.length,P,h),this.convert13b(s.words,s.length,g,h),this.transform(P,D,v,r,h,w),this.transform(g,D,H,N,h,w);for(var De=0;De<h;De++){var st=v[De]*H[De]-r[De]*N[De];r[De]=v[De]*N[De]+r[De]*H[De],v[De]=st}return this.conjugate(v,r,h),this.transform(v,r,te,D,h,w),this.conjugate(te,D,h),this.normalize13b(te,h),f.negative=n.negative^s.negative,f.length=n.length+s.length,f.strip()},l.prototype.mul=function(n){var s=new l(null);return s.words=new Array(this.length+n.length),this.mulTo(n,s)},l.prototype.mulf=function(n){var s=new l(null);return s.words=new Array(this.length+n.length),W(this,n,s)},l.prototype.imul=function(n){return this.clone().mulTo(n,this)},l.prototype.imuln=function(n){y("number"==typeof n),y(n<67108864);for(var s=0,f=0;f<this.length;f++){var h=(0|this.words[f])*n,w=(67108863&h)+(67108863&s);s>>=26,s+=h/67108864|0,s+=w>>>26,this.words[f]=67108863&w}return 0!==s&&(this.words[f]=s,this.length++),this},l.prototype.muln=function(n){return this.clone().imuln(n)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(n){var s=function k(S){for(var n=new Array(S.bitLength()),s=0;s<n.length;s++){var h=s%26;n[s]=(S.words[s/26|0]&1<<h)>>>h}return n}(n);if(0===s.length)return new l(1);for(var f=this,h=0;h<s.length&&0===s[h];h++,f=f.sqr());if(++h<s.length)for(var w=f.sqr();h<s.length;h++,w=w.sqr())0!==s[h]&&(f=f.mul(w));return f},l.prototype.iushln=function(n){y("number"==typeof n&&n>=0);var w,s=n%26,f=(n-s)/26,h=67108863>>>26-s<<26-s;if(0!==s){var D=0;for(w=0;w<this.length;w++){var P=this.words[w]&h;this.words[w]=(0|this.words[w])-P<<s|D,D=P>>>26-s}D&&(this.words[w]=D,this.length++)}if(0!==f){for(w=this.length-1;w>=0;w--)this.words[w+f]=this.words[w];for(w=0;w<f;w++)this.words[w]=0;this.length+=f}return this.strip()},l.prototype.ishln=function(n){return y(0===this.negative),this.iushln(n)},l.prototype.iushrn=function(n,s,f){var h;y("number"==typeof n&&n>=0),h=s?(s-s%26)/26:0;var w=n%26,D=Math.min((n-w)/26,this.length),P=67108863^67108863>>>w<<w,v=f;if(h-=D,h=Math.max(0,h),v){for(var r=0;r<D;r++)v.words[r]=this.words[r];v.length=D}if(0!==D)if(this.length>D)for(this.length-=D,r=0;r<this.length;r++)this.words[r]=this.words[r+D];else this.words[0]=0,this.length=1;var g=0;for(r=this.length-1;r>=0&&(0!==g||r>=h);r--){var H=0|this.words[r];this.words[r]=g<<26-w|H>>>w,g=H&P}return v&&0!==g&&(v.words[v.length++]=g),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,s,f){return y(0===this.negative),this.iushrn(n,s,f)},l.prototype.shln=function(n){return this.clone().ishln(n)},l.prototype.ushln=function(n){return this.clone().iushln(n)},l.prototype.shrn=function(n){return this.clone().ishrn(n)},l.prototype.ushrn=function(n){return this.clone().iushrn(n)},l.prototype.testn=function(n){y("number"==typeof n&&n>=0);var s=n%26,f=(n-s)/26;return!(this.length<=f||!(this.words[f]&1<<s))},l.prototype.imaskn=function(n){y("number"==typeof n&&n>=0);var s=n%26,f=(n-s)/26;return y(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==s&&f++,this.length=Math.min(f,this.length),0!==s&&(this.words[this.length-1]&=67108863^67108863>>>s<<s),this.strip())},l.prototype.maskn=function(n){return this.clone().imaskn(n)},l.prototype.iaddn=function(n){return y("number"==typeof n),y(n<67108864),n<0?this.isubn(-n):0!==this.negative?1===this.length&&(0|this.words[0])<n?(this.words[0]=n-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(n),this.negative=1,this):this._iaddn(n)},l.prototype._iaddn=function(n){this.words[0]+=n;for(var s=0;s<this.length&&this.words[s]>=67108864;s++)this.words[s]-=67108864,s===this.length-1?this.words[s+1]=1:this.words[s+1]++;return this.length=Math.max(this.length,s+1),this},l.prototype.isubn=function(n){if(y("number"==typeof n),y(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var s=0;s<this.length&&this.words[s]<0;s++)this.words[s]+=67108864,this.words[s+1]-=1;return this.strip()},l.prototype.addn=function(n){return this.clone().iaddn(n)},l.prototype.subn=function(n){return this.clone().isubn(n)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(n,s,f){var w;this._expand(n.length+f);var D,P=0;for(w=0;w<n.length;w++){D=(0|this.words[w+f])+P;var v=(0|n.words[w])*s;P=((D-=67108863&v)>>26)-(v/67108864|0),this.words[w+f]=67108863&D}for(;w<this.length-f;w++)P=(D=(0|this.words[w+f])+P)>>26,this.words[w+f]=67108863&D;if(0===P)return this.strip();for(y(-1===P),P=0,w=0;w<this.length;w++)P=(D=-(0|this.words[w])+P)>>26,this.words[w]=67108863&D;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,s){var f,h=this.clone(),w=n,D=0|w.words[w.length-1];0!=(f=26-this._countBits(D))&&(w=w.ushln(f),h.iushln(f),D=0|w.words[w.length-1]);var r,v=h.length-w.length;if("mod"!==s){(r=new l(null)).length=v+1,r.words=new Array(r.length);for(var g=0;g<r.length;g++)r.words[g]=0}var H=h.clone()._ishlnsubmul(w,1,v);0===H.negative&&(h=H,r&&(r.words[v]=1));for(var N=v-1;N>=0;N--){var te=67108864*(0|h.words[w.length+N])+(0|h.words[w.length+N-1]);for(te=Math.min(te/D|0,67108863),h._ishlnsubmul(w,te,N);0!==h.negative;)te--,h.negative=0,h._ishlnsubmul(w,1,N),h.isZero()||(h.negative^=1);r&&(r.words[N]=te)}return r&&r.strip(),h.strip(),"div"!==s&&0!==f&&h.iushrn(f),{div:r||null,mod:h}},l.prototype.divmod=function(n,s,f){return y(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(D=this.neg().divmod(n,s),"mod"!==s&&(h=D.div.neg()),"div"!==s&&(w=D.mod.neg(),f&&0!==w.negative&&w.iadd(n)),{div:h,mod:w}):0===this.negative&&0!==n.negative?(D=this.divmod(n.neg(),s),"mod"!==s&&(h=D.div.neg()),{div:h,mod:D.mod}):this.negative&n.negative?(D=this.neg().divmod(n.neg(),s),"div"!==s&&(w=D.mod.neg(),f&&0!==w.negative&&w.isub(n)),{div:D.div,mod:w}):n.length>this.length||this.cmp(n)<0?{div:new l(0),mod:this}:1===n.length?"div"===s?{div:this.divn(n.words[0]),mod:null}:"mod"===s?{div:null,mod:new l(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new l(this.modn(n.words[0]))}:this._wordDiv(n,s);var h,w,D},l.prototype.div=function(n){return this.divmod(n,"div",!1).div},l.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},l.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},l.prototype.divRound=function(n){var s=this.divmod(n);if(s.mod.isZero())return s.div;var f=0!==s.div.negative?s.mod.isub(n):s.mod,h=n.ushrn(1),w=n.andln(1),D=f.cmp(h);return D<0||1===w&&0===D?s.div:0!==s.div.negative?s.div.isubn(1):s.div.iaddn(1)},l.prototype.modn=function(n){y(n<=67108863);for(var s=(1<<26)%n,f=0,h=this.length-1;h>=0;h--)f=(s*f+(0|this.words[h]))%n;return f},l.prototype.idivn=function(n){y(n<=67108863);for(var s=0,f=this.length-1;f>=0;f--){var h=(0|this.words[f])+67108864*s;this.words[f]=h/n|0,s=h%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){y(0===n.negative),y(!n.isZero());var s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),w=new l(0),D=new l(0),P=new l(1),v=0;s.isEven()&&f.isEven();)s.iushrn(1),f.iushrn(1),++v;for(var r=f.clone(),g=s.clone();!s.isZero();){for(var H=0,N=1;!(s.words[0]&N)&&H<26;++H,N<<=1);if(H>0)for(s.iushrn(H);H-- >0;)(h.isOdd()||w.isOdd())&&(h.iadd(r),w.isub(g)),h.iushrn(1),w.iushrn(1);for(var te=0,De=1;!(f.words[0]&De)&&te<26;++te,De<<=1);if(te>0)for(f.iushrn(te);te-- >0;)(D.isOdd()||P.isOdd())&&(D.iadd(r),P.isub(g)),D.iushrn(1),P.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(D),w.isub(P)):(f.isub(s),D.isub(h),P.isub(w))}return{a:D,b:P,gcd:f.iushln(v)}},l.prototype._invmp=function(n){y(0===n.negative),y(!n.isZero());var H,s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),w=new l(0),D=f.clone();s.cmpn(1)>0&&f.cmpn(1)>0;){for(var P=0,v=1;!(s.words[0]&v)&&P<26;++P,v<<=1);if(P>0)for(s.iushrn(P);P-- >0;)h.isOdd()&&h.iadd(D),h.iushrn(1);for(var r=0,g=1;!(f.words[0]&g)&&r<26;++r,g<<=1);if(r>0)for(f.iushrn(r);r-- >0;)w.isOdd()&&w.iadd(D),w.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(w)):(f.isub(s),w.isub(h))}return(H=0===s.cmpn(1)?h:w).cmpn(0)<0&&H.iadd(n),H},l.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var s=this.clone(),f=n.clone();s.negative=0,f.negative=0;for(var h=0;s.isEven()&&f.isEven();h++)s.iushrn(1),f.iushrn(1);for(;;){for(;s.isEven();)s.iushrn(1);for(;f.isEven();)f.iushrn(1);var w=s.cmp(f);if(w<0){var D=s;s=f,f=D}else if(0===w||0===f.cmpn(1))break;s.isub(f)}return f.iushln(h)},l.prototype.invm=function(n){return this.egcd(n).a.umod(n)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(n){return this.words[0]&n},l.prototype.bincn=function(n){y("number"==typeof n);var s=n%26,f=(n-s)/26,h=1<<s;if(this.length<=f)return this._expand(f+1),this.words[f]|=h,this;for(var w=h,D=f;0!==w&&D<this.length;D++){var P=0|this.words[D];w=(P+=w)>>>26,this.words[D]=P&=67108863}return 0!==w&&(this.words[D]=w,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var f,s=n<0;if(0!==this.negative&&!s)return-1;if(0===this.negative&&s)return 1;if(this.strip(),this.length>1)f=1;else{s&&(n=-n),y(n<=67108863,"Number is too big");var h=0|this.words[0];f=h===n?0:h<n?-1:1}return 0!==this.negative?0|-f:f},l.prototype.cmp=function(n){if(0!==this.negative&&0===n.negative)return-1;if(0===this.negative&&0!==n.negative)return 1;var s=this.ucmp(n);return 0!==this.negative?0|-s:s},l.prototype.ucmp=function(n){if(this.length>n.length)return 1;if(this.length<n.length)return-1;for(var s=0,f=this.length-1;f>=0;f--){var h=0|this.words[f],w=0|n.words[f];if(h!==w){h<w?s=-1:h>w&&(s=1);break}}return s},l.prototype.gtn=function(n){return 1===this.cmpn(n)},l.prototype.gt=function(n){return 1===this.cmp(n)},l.prototype.gten=function(n){return this.cmpn(n)>=0},l.prototype.gte=function(n){return this.cmp(n)>=0},l.prototype.ltn=function(n){return-1===this.cmpn(n)},l.prototype.lt=function(n){return-1===this.cmp(n)},l.prototype.lten=function(n){return this.cmpn(n)<=0},l.prototype.lte=function(n){return this.cmp(n)<=0},l.prototype.eqn=function(n){return 0===this.cmpn(n)},l.prototype.eq=function(n){return 0===this.cmp(n)},l.red=function(n){return new $(n)},l.prototype.toRed=function(n){return y(!this.red,"Already a number in reduction context"),y(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return y(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(n){return this.red=n,this},l.prototype.forceRed=function(n){return y(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return y(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return y(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return y(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return y(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return y(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return y(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return y(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return y(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return y(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return y(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return y(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var q={k256:null,p224:null,p192:null,p25519:null};function ie(S,n){this.name=S,this.p=new l(n,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ae(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ue(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function re(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function xe(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function $(S){if("string"==typeof S){var n=l._prime(S);this.m=n.p,this.prime=n}else y(S.gtn(1),"modulus must be greater than 1"),this.m=S,this.prime=null}function he(S){$.call(this,S),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)}ie.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ie.prototype.ireduce=function(n){var f,s=n;do{this.split(s,this.tmp),f=(s=(s=this.imulK(s)).iadd(this.tmp)).bitLength()}while(f>this.n);var h=f<this.n?-1:s.ucmp(this.p);return 0===h?(s.words[0]=0,s.length=1):h>0?s.isub(this.p):void 0!==s.strip?s.strip():s._strip(),s},ie.prototype.split=function(n,s){n.iushrn(this.n,0,s)},ie.prototype.imulK=function(n){return n.imul(this.k)},A(ae,ie),ae.prototype.split=function(n,s){for(var f=4194303,h=Math.min(n.length,9),w=0;w<h;w++)s.words[w]=n.words[w];if(s.length=h,n.length<=9)return n.words[0]=0,void(n.length=1);var D=n.words[9];for(s.words[s.length++]=D&f,w=10;w<n.length;w++){var P=0|n.words[w];n.words[w-10]=(P&f)<<4|D>>>22,D=P}n.words[w-10]=D>>>=22,n.length-=0===D&&n.length>10?10:9},ae.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var s=0,f=0;f<n.length;f++){var h=0|n.words[f];n.words[f]=67108863&(s+=977*h),s=64*h+(s/67108864|0)}return 0===n.words[n.length-1]&&(n.length--,0===n.words[n.length-1]&&n.length--),n},A(ue,ie),A(re,ie),A(xe,ie),xe.prototype.imulK=function(n){for(var s=0,f=0;f<n.length;f++){var h=19*(0|n.words[f])+s,w=67108863&h;h>>>=26,n.words[f]=w,s=h}return 0!==s&&(n.words[n.length++]=s),n},l._prime=function(n){if(q[n])return q[n];var s;if("k256"===n)s=new ae;else if("p224"===n)s=new ue;else if("p192"===n)s=new re;else{if("p25519"!==n)throw new Error("Unknown prime "+n);s=new xe}return q[n]=s,s},$.prototype._verify1=function(n){y(0===n.negative,"red works only with positives"),y(n.red,"red works only with red numbers")},$.prototype._verify2=function(n,s){y(0==(n.negative|s.negative),"red works only with positives"),y(n.red&&n.red===s.red,"red works only with red numbers")},$.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},$.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},$.prototype.add=function(n,s){this._verify2(n,s);var f=n.add(s);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},$.prototype.iadd=function(n,s){this._verify2(n,s);var f=n.iadd(s);return f.cmp(this.m)>=0&&f.isub(this.m),f},$.prototype.sub=function(n,s){this._verify2(n,s);var f=n.sub(s);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},$.prototype.isub=function(n,s){this._verify2(n,s);var f=n.isub(s);return f.cmpn(0)<0&&f.iadd(this.m),f},$.prototype.shl=function(n,s){return this._verify1(n),this.imod(n.ushln(s))},$.prototype.imul=function(n,s){return this._verify2(n,s),this.imod(n.imul(s))},$.prototype.mul=function(n,s){return this._verify2(n,s),this.imod(n.mul(s))},$.prototype.isqr=function(n){return this.imul(n,n.clone())},$.prototype.sqr=function(n){return this.mul(n,n)},$.prototype.sqrt=function(n){if(n.isZero())return n.clone();var s=this.m.andln(3);if(y(s%2==1),3===s){var f=this.m.add(new l(1)).iushrn(2);return this.pow(n,f)}for(var h=this.m.subn(1),w=0;!h.isZero()&&0===h.andln(1);)w++,h.iushrn(1);y(!h.isZero());var D=new l(1).toRed(this),P=D.redNeg(),v=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,v).cmp(P);)r.redIAdd(P);for(var g=this.pow(r,h),H=this.pow(n,h.addn(1).iushrn(1)),N=this.pow(n,h),te=w;0!==N.cmp(D);){for(var De=N,st=0;0!==De.cmp(D);st++)De=De.redSqr();y(st<te);var je=this.pow(g,new l(1).iushln(te-st-1));H=H.redMul(je),g=je.redSqr(),N=N.redMul(g),te=st}return H},$.prototype.invm=function(n){var s=n._invmp(this.m);return 0!==s.negative?(s.negative=0,this.imod(s).redNeg()):this.imod(s)},$.prototype.pow=function(n,s){if(s.isZero())return new l(1).toRed(this);if(0===s.cmpn(1))return n.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=n;for(var w=2;w<h.length;w++)h[w]=this.mul(h[w-1],n);var D=h[0],P=0,v=0,r=s.bitLength()%26;for(0===r&&(r=26),w=s.length-1;w>=0;w--){for(var g=s.words[w],H=r-1;H>=0;H--){var N=g>>H&1;D!==h[0]&&(D=this.sqr(D)),0!==N||0!==P?(P<<=1,P|=N,(4==++v||0===w&&0===H)&&(D=this.mul(D,h[P]),v=0,P=0)):v=0}r=26}return D},$.prototype.convertTo=function(n){var s=n.umod(this.m);return s===n?s.clone():s},$.prototype.convertFrom=function(n){var s=n.clone();return s.red=null,s},l.mont=function(n){return new he(n)},A(he,$),he.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},he.prototype.convertFrom=function(n){var s=this.imod(n.mul(this.rinv));return s.red=null,s},he.prototype.imul=function(n,s){if(n.isZero()||s.isZero())return n.words[0]=0,n.length=1,n;var f=n.imul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),w=f.isub(h).iushrn(this.shift),D=w;return w.cmp(this.m)>=0?D=w.isub(this.m):w.cmpn(0)<0&&(D=w.iadd(this.m)),D._forceRed(this)},he.prototype.mul=function(n,s){if(n.isZero()||s.isZero())return new l(0)._forceRed(this);var f=n.mul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),w=f.isub(h).iushrn(this.shift),D=w;return w.cmp(this.m)>=0?D=w.isub(this.m):w.cmpn(0)<0&&(D=w.iadd(this.m)),D._forceRed(this)},he.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(He=p.nmd(He),this)},7206:He=>{"use strict";var X={single_source_shortest_paths:function(p,e,t){var y={},A={};A[e]=0;var M,m,O,d,E,I,l=X.PriorityQueue.make();for(l.push(e,0);!l.empty();)for(O in d=(M=l.pop()).cost,E=p[m=M.value]||{})E.hasOwnProperty(O)&&(I=d+E[O],(typeof A[O]>"u"||A[O]>I)&&(A[O]=I,l.push(O,I),y[O]=m));if(typeof t<"u"&&typeof A[t]>"u"){var G=["Could not find a path from ",e," to ",t,"."].join("");throw new Error(G)}return y},extract_shortest_path_from_predecessor_list:function(p,e){for(var t=[],y=e;y;)t.push(y),y=p[y];return t.reverse(),t},find_path:function(p,e,t){var y=X.single_source_shortest_paths(p,e,t);return X.extract_shortest_path_from_predecessor_list(y,t)},PriorityQueue:{make:function(p){var y,e=X.PriorityQueue,t={};for(y in p=p||{},e)e.hasOwnProperty(y)&&(t[y]=e[y]);return t.queue=[],t.sorter=p.sorter||e.default_sorter,t},default_sorter:function(p,e){return p.cost-e.cost},push:function(p,e){this.queue.push({value:p,cost:e}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};He.exports=X},8651:(He,X,p)=>{"use strict";var e=X;e.version=p(8597).i8,e.utils=p(6767),e.rand=p(82),e.curve=p(9132),e.curves=p(8049),e.ec=p(6443),e.eddsa=p(9577)},1324:(He,X,p)=>{"use strict";var e=p(1387),t=p(6767),y=t.getNAF,A=t.getJSF,l=t.assert;function M(O,d){this.type=O,this.p=new e(d.p,16),this.red=d.prime?e.red(d.prime):e.mont(this.p),this.zero=new e(0).toRed(this.red),this.one=new e(1).toRed(this.red),this.two=new e(2).toRed(this.red),this.n=d.n&&new e(d.n,16),this.g=d.g&&this.pointFromJSON(d.g,d.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var E=this.n&&this.p.div(this.n);!E||E.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function m(O,d){this.curve=O,this.type=d,this.precomputed=null}He.exports=M,M.prototype.point=function(){throw new Error("Not implemented")},M.prototype.validate=function(){throw new Error("Not implemented")},M.prototype._fixedNafMul=function(d,E){l(d.precomputed);var x=d._getDoubles(),I=y(E,1,this._bitLength),k=(1<<x.step+1)-(x.step%2==0?2:1);k/=3;var G,j,V=[];for(G=0;G<I.length;G+=x.step){j=0;for(var W=G+x.step-1;W>=G;W--)j=(j<<1)+I[W];V.push(j)}for(var K=this.jpoint(null,null,null),q=this.jpoint(null,null,null),ie=k;ie>0;ie--){for(G=0;G<V.length;G++)(j=V[G])===ie?q=q.mixedAdd(x.points[G]):j===-ie&&(q=q.mixedAdd(x.points[G].neg()));K=K.add(q)}return K.toP()},M.prototype._wnafMul=function(d,E){for(var x=4,I=d._getNAFPoints(x),k=I.points,V=y(E,x=I.wnd,this._bitLength),G=this.jpoint(null,null,null),j=V.length-1;j>=0;j--){for(var W=0;j>=0&&0===V[j];j--)W++;if(j>=0&&W++,G=G.dblp(W),j<0)break;var K=V[j];l(0!==K),G="affine"===d.type?G.mixedAdd(K>0?k[K-1>>1]:k[-K-1>>1].neg()):G.add(K>0?k[K-1>>1]:k[-K-1>>1].neg())}return"affine"===d.type?G.toP():G},M.prototype._wnafMulAdd=function(d,E,x,I,k){var K,q,ie,V=this._wnafT1,G=this._wnafT2,j=this._wnafT3,W=0;for(K=0;K<I;K++){var ae=(ie=E[K])._getNAFPoints(d);V[K]=ae.wnd,G[K]=ae.points}for(K=I-1;K>=1;K-=2){var ue=K-1,re=K;if(1===V[ue]&&1===V[re]){var xe=[E[ue],null,null,E[re]];0===E[ue].y.cmp(E[re].y)?(xe[1]=E[ue].add(E[re]),xe[2]=E[ue].toJ().mixedAdd(E[re].neg())):0===E[ue].y.cmp(E[re].y.redNeg())?(xe[1]=E[ue].toJ().mixedAdd(E[re]),xe[2]=E[ue].add(E[re].neg())):(xe[1]=E[ue].toJ().mixedAdd(E[re]),xe[2]=E[ue].toJ().mixedAdd(E[re].neg()));var $=[-3,-1,-5,-7,0,7,5,1,3],he=A(x[ue],x[re]);for(W=Math.max(he[0].length,W),j[ue]=new Array(W),j[re]=new Array(W),q=0;q<W;q++)j[ue][q]=$[3*(1+(0|he[0][q]))+(1+(0|he[1][q]))],j[re][q]=0,G[ue]=xe}else j[ue]=y(x[ue],V[ue],this._bitLength),j[re]=y(x[re],V[re],this._bitLength),W=Math.max(j[ue].length,W),W=Math.max(j[re].length,W)}var s=this.jpoint(null,null,null),f=this._wnafT4;for(K=W;K>=0;K--){for(var h=0;K>=0;){var w=!0;for(q=0;q<I;q++)f[q]=0|j[q][K],0!==f[q]&&(w=!1);if(!w)break;h++,K--}if(K>=0&&h++,s=s.dblp(h),K<0)break;for(q=0;q<I;q++){var D=f[q];0!==D&&(D>0?ie=G[q][D-1>>1]:D<0&&(ie=G[q][-D-1>>1].neg()),s="affine"===ie.type?s.mixedAdd(ie):s.add(ie))}}for(K=0;K<I;K++)G[K]=null;return k?s:s.toP()},M.BasePoint=m,m.prototype.eq=function(){throw new Error("Not implemented")},m.prototype.validate=function(){return this.curve.validate(this)},M.prototype.decodePoint=function(d,E){d=t.toArray(d,E);var x=this.p.byteLength();if((4===d[0]||6===d[0]||7===d[0])&&d.length-1==2*x)return 6===d[0]?l(d[d.length-1]%2==0):7===d[0]&&l(d[d.length-1]%2==1),this.point(d.slice(1,1+x),d.slice(1+x,1+2*x));if((2===d[0]||3===d[0])&&d.length-1===x)return this.pointFromX(d.slice(1,1+x),3===d[0]);throw new Error("Unknown point format")},m.prototype.encodeCompressed=function(d){return this.encode(d,!0)},m.prototype._encode=function(d){var E=this.curve.p.byteLength(),x=this.getX().toArray("be",E);return d?[this.getY().isEven()?2:3].concat(x):[4].concat(x,this.getY().toArray("be",E))},m.prototype.encode=function(d,E){return t.encode(this._encode(E),d)},m.prototype.precompute=function(d){if(this.precomputed)return this;var E={doubles:null,naf:null,beta:null};return E.naf=this._getNAFPoints(8),E.doubles=this._getDoubles(4,d),E.beta=this._getBeta(),this.precomputed=E,this},m.prototype._hasDoubles=function(d){if(!this.precomputed)return!1;var E=this.precomputed.doubles;return!!E&&E.points.length>=Math.ceil((d.bitLength()+1)/E.step)},m.prototype._getDoubles=function(d,E){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var x=[this],I=this,k=0;k<E;k+=d){for(var V=0;V<d;V++)I=I.dbl();x.push(I)}return{step:d,points:x}},m.prototype._getNAFPoints=function(d){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var E=[this],x=(1<<d)-1,I=1===x?null:this.dbl(),k=1;k<x;k++)E[k]=E[k-1].add(I);return{wnd:d,points:E}},m.prototype._getBeta=function(){return null},m.prototype.dblp=function(d){for(var E=this,x=0;x<d;x++)E=E.dbl();return E}},7665:(He,X,p)=>{"use strict";var e=p(6767),t=p(1387),y=p(6698),A=p(1324),l=e.assert;function M(O){this.twisted=1!=(0|O.a),this.mOneA=this.twisted&&-1==(0|O.a),this.extended=this.mOneA,A.call(this,"edwards",O),this.a=new t(O.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new t(O.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new t(O.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|O.c)}function m(O,d,E,x,I){A.BasePoint.call(this,O,"projective"),null===d&&null===E&&null===x?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new t(d,16),this.y=new t(E,16),this.z=x?new t(x,16):this.curve.one,this.t=I&&new t(I,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}y(M,A),He.exports=M,M.prototype._mulA=function(d){return this.mOneA?d.redNeg():this.a.redMul(d)},M.prototype._mulC=function(d){return this.oneC?d:this.c.redMul(d)},M.prototype.jpoint=function(d,E,x,I){return this.point(d,E,x,I)},M.prototype.pointFromX=function(d,E){(d=new t(d,16)).red||(d=d.toRed(this.red));var x=d.redSqr(),I=this.c2.redSub(this.a.redMul(x)),k=this.one.redSub(this.c2.redMul(this.d).redMul(x)),V=I.redMul(k.redInvm()),G=V.redSqrt();if(0!==G.redSqr().redSub(V).cmp(this.zero))throw new Error("invalid point");var j=G.fromRed().isOdd();return(E&&!j||!E&&j)&&(G=G.redNeg()),this.point(d,G)},M.prototype.pointFromY=function(d,E){(d=new t(d,16)).red||(d=d.toRed(this.red));var x=d.redSqr(),I=x.redSub(this.c2),k=x.redMul(this.d).redMul(this.c2).redSub(this.a),V=I.redMul(k.redInvm());if(0===V.cmp(this.zero)){if(E)throw new Error("invalid point");return this.point(this.zero,d)}var G=V.redSqrt();if(0!==G.redSqr().redSub(V).cmp(this.zero))throw new Error("invalid point");return G.fromRed().isOdd()!==E&&(G=G.redNeg()),this.point(G,d)},M.prototype.validate=function(d){if(d.isInfinity())return!0;d.normalize();var E=d.x.redSqr(),x=d.y.redSqr(),I=E.redMul(this.a).redAdd(x),k=this.c2.redMul(this.one.redAdd(this.d.redMul(E).redMul(x)));return 0===I.cmp(k)},y(m,A.BasePoint),M.prototype.pointFromJSON=function(d){return m.fromJSON(this,d)},M.prototype.point=function(d,E,x,I){return new m(this,d,E,x,I)},m.fromJSON=function(d,E){return new m(d,E[0],E[1],E[2])},m.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)+">"},m.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},m.prototype._extDbl=function(){var d=this.x.redSqr(),E=this.y.redSqr(),x=this.z.redSqr();x=x.redIAdd(x);var I=this.curve._mulA(d),k=this.x.redAdd(this.y).redSqr().redISub(d).redISub(E),V=I.redAdd(E),G=V.redSub(x),j=I.redSub(E),W=k.redMul(G),K=V.redMul(j),q=k.redMul(j),ie=G.redMul(V);return this.curve.point(W,K,ie,q)},m.prototype._projDbl=function(){var I,k,V,G,j,W,d=this.x.redAdd(this.y).redSqr(),E=this.x.redSqr(),x=this.y.redSqr();if(this.curve.twisted){var K=(G=this.curve._mulA(E)).redAdd(x);this.zOne?(I=d.redSub(E).redSub(x).redMul(K.redSub(this.curve.two)),k=K.redMul(G.redSub(x)),V=K.redSqr().redSub(K).redSub(K)):(j=this.z.redSqr(),W=K.redSub(j).redISub(j),I=d.redSub(E).redISub(x).redMul(W),k=K.redMul(G.redSub(x)),V=K.redMul(W))}else G=E.redAdd(x),j=this.curve._mulC(this.z).redSqr(),W=G.redSub(j).redSub(j),I=this.curve._mulC(d.redISub(G)).redMul(W),k=this.curve._mulC(G).redMul(E.redISub(x)),V=G.redMul(W);return this.curve.point(I,k,V)},m.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},m.prototype._extAdd=function(d){var E=this.y.redSub(this.x).redMul(d.y.redSub(d.x)),x=this.y.redAdd(this.x).redMul(d.y.redAdd(d.x)),I=this.t.redMul(this.curve.dd).redMul(d.t),k=this.z.redMul(d.z.redAdd(d.z)),V=x.redSub(E),G=k.redSub(I),j=k.redAdd(I),W=x.redAdd(E),K=V.redMul(G),q=j.redMul(W),ie=V.redMul(W),ae=G.redMul(j);return this.curve.point(K,q,ae,ie)},m.prototype._projAdd=function(d){var q,ie,E=this.z.redMul(d.z),x=E.redSqr(),I=this.x.redMul(d.x),k=this.y.redMul(d.y),V=this.curve.d.redMul(I).redMul(k),G=x.redSub(V),j=x.redAdd(V),W=this.x.redAdd(this.y).redMul(d.x.redAdd(d.y)).redISub(I).redISub(k),K=E.redMul(G).redMul(W);return this.curve.twisted?(q=E.redMul(j).redMul(k.redSub(this.curve._mulA(I))),ie=G.redMul(j)):(q=E.redMul(j).redMul(k.redSub(I)),ie=this.curve._mulC(G).redMul(j)),this.curve.point(K,q,ie)},m.prototype.add=function(d){return this.isInfinity()?d:d.isInfinity()?this:this.curve.extended?this._extAdd(d):this._projAdd(d)},m.prototype.mul=function(d){return this._hasDoubles(d)?this.curve._fixedNafMul(this,d):this.curve._wnafMul(this,d)},m.prototype.mulAdd=function(d,E,x){return this.curve._wnafMulAdd(1,[this,E],[d,x],2,!1)},m.prototype.jmulAdd=function(d,E,x){return this.curve._wnafMulAdd(1,[this,E],[d,x],2,!0)},m.prototype.normalize=function(){if(this.zOne)return this;var d=this.z.redInvm();return this.x=this.x.redMul(d),this.y=this.y.redMul(d),this.t&&(this.t=this.t.redMul(d)),this.z=this.curve.one,this.zOne=!0,this},m.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},m.prototype.getX=function(){return this.normalize(),this.x.fromRed()},m.prototype.getY=function(){return this.normalize(),this.y.fromRed()},m.prototype.eq=function(d){return this===d||0===this.getX().cmp(d.getX())&&0===this.getY().cmp(d.getY())},m.prototype.eqXToP=function(d){var E=d.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(E))return!0;for(var x=d.clone(),I=this.curve.redN.redMul(this.z);;){if(x.iadd(this.curve.n),x.cmp(this.curve.p)>=0)return!1;if(E.redIAdd(I),0===this.x.cmp(E))return!0}},m.prototype.toP=m.prototype.normalize,m.prototype.mixedAdd=m.prototype.add},9132:(He,X,p)=>{"use strict";var e=X;e.base=p(1324),e.short=p(9996),e.mont=p(9253),e.edwards=p(7665)},9253:(He,X,p)=>{"use strict";var e=p(1387),t=p(6698),y=p(1324),A=p(6767);function l(m){y.call(this,"mont",m),this.a=new e(m.a,16).toRed(this.red),this.b=new e(m.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 M(m,O,d){y.BasePoint.call(this,m,"projective"),null===O&&null===d?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new e(O,16),this.z=new e(d,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}t(l,y),He.exports=l,l.prototype.validate=function(O){var d=O.normalize().x,E=d.redSqr(),x=E.redMul(d).redAdd(E.redMul(this.a)).redAdd(d);return 0===x.redSqrt().redSqr().cmp(x)},t(M,y.BasePoint),l.prototype.decodePoint=function(O,d){return this.point(A.toArray(O,d),1)},l.prototype.point=function(O,d){return new M(this,O,d)},l.prototype.pointFromJSON=function(O){return M.fromJSON(this,O)},M.prototype.precompute=function(){},M.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},M.fromJSON=function(O,d){return new M(O,d[0],d[1]||O.one)},M.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)+">"},M.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},M.prototype.dbl=function(){var d=this.x.redAdd(this.z).redSqr(),x=this.x.redSub(this.z).redSqr(),I=d.redSub(x),k=d.redMul(x),V=I.redMul(x.redAdd(this.curve.a24.redMul(I)));return this.curve.point(k,V)},M.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},M.prototype.diffAdd=function(O,d){var E=this.x.redAdd(this.z),x=this.x.redSub(this.z),I=O.x.redAdd(O.z),V=O.x.redSub(O.z).redMul(E),G=I.redMul(x),j=d.z.redMul(V.redAdd(G).redSqr()),W=d.x.redMul(V.redISub(G).redSqr());return this.curve.point(j,W)},M.prototype.mul=function(O){for(var d=O.clone(),E=this,x=this.curve.point(null,null),k=[];0!==d.cmpn(0);d.iushrn(1))k.push(d.andln(1));for(var V=k.length-1;V>=0;V--)0===k[V]?(E=E.diffAdd(x,this),x=x.dbl()):(x=E.diffAdd(x,this),E=E.dbl());return x},M.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},M.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},M.prototype.eq=function(O){return 0===this.getX().cmp(O.getX())},M.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},M.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},9996:(He,X,p)=>{"use strict";var e=p(6767),t=p(1387),y=p(6698),A=p(1324),l=e.assert;function M(d){A.call(this,"short",d),this.a=new t(d.a,16).toRed(this.red),this.b=new t(d.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(d),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function m(d,E,x,I){A.BasePoint.call(this,d,"affine"),null===E&&null===x?(this.x=null,this.y=null,this.inf=!0):(this.x=new t(E,16),this.y=new t(x,16),I&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function O(d,E,x,I){A.BasePoint.call(this,d,"jacobian"),null===E&&null===x&&null===I?(this.x=this.curve.one,this.y=this.curve.one,this.z=new t(0)):(this.x=new t(E,16),this.y=new t(x,16),this.z=new t(I,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}y(M,A),He.exports=M,M.prototype._getEndomorphism=function(E){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var x,I;if(E.beta)x=new t(E.beta,16).toRed(this.red);else{var k=this._getEndoRoots(this.p);x=(x=k[0].cmp(k[1])<0?k[0]:k[1]).toRed(this.red)}if(E.lambda)I=new t(E.lambda,16);else{var V=this._getEndoRoots(this.n);0===this.g.mul(V[0]).x.cmp(this.g.x.redMul(x))?I=V[0]:l(0===this.g.mul(I=V[1]).x.cmp(this.g.x.redMul(x)))}return{beta:x,lambda:I,basis:E.basis?E.basis.map(function(j){return{a:new t(j.a,16),b:new t(j.b,16)}}):this._getEndoBasis(I)}}},M.prototype._getEndoRoots=function(E){var x=E===this.p?this.red:t.mont(E),I=new t(2).toRed(x).redInvm(),k=I.redNeg(),V=new t(3).toRed(x).redNeg().redSqrt().redMul(I);return[k.redAdd(V).fromRed(),k.redSub(V).fromRed()]},M.prototype._getEndoBasis=function(E){for(var K,q,ie,ae,ue,re,xe,he,S,x=this.n.ushrn(Math.floor(this.n.bitLength()/2)),I=E,k=this.n.clone(),V=new t(1),G=new t(0),j=new t(0),W=new t(1),$=0;0!==I.cmpn(0);){var n=k.div(I);he=k.sub(n.mul(I)),S=j.sub(n.mul(V));var s=W.sub(n.mul(G));if(!ie&&he.cmp(x)<0)K=xe.neg(),q=V,ie=he.neg(),ae=S;else if(ie&&2==++$)break;xe=he,k=I,I=he,j=V,V=S,W=G,G=s}ue=he.neg(),re=S;var f=ie.sqr().add(ae.sqr());return ue.sqr().add(re.sqr()).cmp(f)>=0&&(ue=K,re=q),ie.negative&&(ie=ie.neg(),ae=ae.neg()),ue.negative&&(ue=ue.neg(),re=re.neg()),[{a:ie,b:ae},{a:ue,b:re}]},M.prototype._endoSplit=function(E){var x=this.endo.basis,I=x[0],k=x[1],V=k.b.mul(E).divRound(this.n),G=I.b.neg().mul(E).divRound(this.n),j=V.mul(I.a),W=G.mul(k.a),K=V.mul(I.b),q=G.mul(k.b);return{k1:E.sub(j).sub(W),k2:K.add(q).neg()}},M.prototype.pointFromX=function(E,x){(E=new t(E,16)).red||(E=E.toRed(this.red));var I=E.redSqr().redMul(E).redIAdd(E.redMul(this.a)).redIAdd(this.b),k=I.redSqrt();if(0!==k.redSqr().redSub(I).cmp(this.zero))throw new Error("invalid point");var V=k.fromRed().isOdd();return(x&&!V||!x&&V)&&(k=k.redNeg()),this.point(E,k)},M.prototype.validate=function(E){if(E.inf)return!0;var x=E.x,I=E.y,k=this.a.redMul(x),V=x.redSqr().redMul(x).redIAdd(k).redIAdd(this.b);return 0===I.redSqr().redISub(V).cmpn(0)},M.prototype._endoWnafMulAdd=function(E,x,I){for(var k=this._endoWnafT1,V=this._endoWnafT2,G=0;G<E.length;G++){var j=this._endoSplit(x[G]),W=E[G],K=W._getBeta();j.k1.negative&&(j.k1.ineg(),W=W.neg(!0)),j.k2.negative&&(j.k2.ineg(),K=K.neg(!0)),k[2*G]=W,k[2*G+1]=K,V[2*G]=j.k1,V[2*G+1]=j.k2}for(var q=this._wnafMulAdd(1,k,V,2*G,I),ie=0;ie<2*G;ie++)k[ie]=null,V[ie]=null;return q},y(m,A.BasePoint),M.prototype.point=function(E,x,I){return new m(this,E,x,I)},M.prototype.pointFromJSON=function(E,x){return m.fromJSON(this,E,x)},m.prototype._getBeta=function(){if(this.curve.endo){var E=this.precomputed;if(E&&E.beta)return E.beta;var x=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(E){var I=this.curve,k=function(V){return I.point(V.x.redMul(I.endo.beta),V.y)};E.beta=x,x.precomputed={beta:null,naf:E.naf&&{wnd:E.naf.wnd,points:E.naf.points.map(k)},doubles:E.doubles&&{step:E.doubles.step,points:E.doubles.points.map(k)}}}return x}},m.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]},m.fromJSON=function(E,x,I){"string"==typeof x&&(x=JSON.parse(x));var k=E.point(x[0],x[1],I);if(!x[2])return k;function V(j){return E.point(j[0],j[1],I)}var G=x[2];return k.precomputed={beta:null,doubles:G.doubles&&{step:G.doubles.step,points:[k].concat(G.doubles.points.map(V))},naf:G.naf&&{wnd:G.naf.wnd,points:[k].concat(G.naf.points.map(V))}},k},m.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)+">"},m.prototype.isInfinity=function(){return this.inf},m.prototype.add=function(E){if(this.inf)return E;if(E.inf)return this;if(this.eq(E))return this.dbl();if(this.neg().eq(E))return this.curve.point(null,null);if(0===this.x.cmp(E.x))return this.curve.point(null,null);var x=this.y.redSub(E.y);0!==x.cmpn(0)&&(x=x.redMul(this.x.redSub(E.x).redInvm()));var I=x.redSqr().redISub(this.x).redISub(E.x),k=x.redMul(this.x.redSub(I)).redISub(this.y);return this.curve.point(I,k)},m.prototype.dbl=function(){if(this.inf)return this;var E=this.y.redAdd(this.y);if(0===E.cmpn(0))return this.curve.point(null,null);var x=this.curve.a,I=this.x.redSqr(),k=E.redInvm(),V=I.redAdd(I).redIAdd(I).redIAdd(x).redMul(k),G=V.redSqr().redISub(this.x.redAdd(this.x)),j=V.redMul(this.x.redSub(G)).redISub(this.y);return this.curve.point(G,j)},m.prototype.getX=function(){return this.x.fromRed()},m.prototype.getY=function(){return this.y.fromRed()},m.prototype.mul=function(E){return E=new t(E,16),this.isInfinity()?this:this._hasDoubles(E)?this.curve._fixedNafMul(this,E):this.curve.endo?this.curve._endoWnafMulAdd([this],[E]):this.curve._wnafMul(this,E)},m.prototype.mulAdd=function(E,x,I){var k=[this,x],V=[E,I];return this.curve.endo?this.curve._endoWnafMulAdd(k,V):this.curve._wnafMulAdd(1,k,V,2)},m.prototype.jmulAdd=function(E,x,I){var k=[this,x],V=[E,I];return this.curve.endo?this.curve._endoWnafMulAdd(k,V,!0):this.curve._wnafMulAdd(1,k,V,2,!0)},m.prototype.eq=function(E){return this===E||this.inf===E.inf&&(this.inf||0===this.x.cmp(E.x)&&0===this.y.cmp(E.y))},m.prototype.neg=function(E){if(this.inf)return this;var x=this.curve.point(this.x,this.y.redNeg());if(E&&this.precomputed){var I=this.precomputed,k=function(V){return V.neg()};x.precomputed={naf:I.naf&&{wnd:I.naf.wnd,points:I.naf.points.map(k)},doubles:I.doubles&&{step:I.doubles.step,points:I.doubles.points.map(k)}}}return x},m.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},y(O,A.BasePoint),M.prototype.jpoint=function(E,x,I){return new O(this,E,x,I)},O.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var E=this.z.redInvm(),x=E.redSqr(),I=this.x.redMul(x),k=this.y.redMul(x).redMul(E);return this.curve.point(I,k)},O.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},O.prototype.add=function(E){if(this.isInfinity())return E;if(E.isInfinity())return this;var x=E.z.redSqr(),I=this.z.redSqr(),k=this.x.redMul(x),V=E.x.redMul(I),G=this.y.redMul(x.redMul(E.z)),j=E.y.redMul(I.redMul(this.z)),W=k.redSub(V),K=G.redSub(j);if(0===W.cmpn(0))return 0!==K.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var q=W.redSqr(),ie=q.redMul(W),ae=k.redMul(q),ue=K.redSqr().redIAdd(ie).redISub(ae).redISub(ae),re=K.redMul(ae.redISub(ue)).redISub(G.redMul(ie)),xe=this.z.redMul(E.z).redMul(W);return this.curve.jpoint(ue,re,xe)},O.prototype.mixedAdd=function(E){if(this.isInfinity())return E.toJ();if(E.isInfinity())return this;var x=this.z.redSqr(),I=this.x,k=E.x.redMul(x),V=this.y,G=E.y.redMul(x).redMul(this.z),j=I.redSub(k),W=V.redSub(G);if(0===j.cmpn(0))return 0!==W.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var K=j.redSqr(),q=K.redMul(j),ie=I.redMul(K),ae=W.redSqr().redIAdd(q).redISub(ie).redISub(ie),ue=W.redMul(ie.redISub(ae)).redISub(V.redMul(q)),re=this.z.redMul(j);return this.curve.jpoint(ae,ue,re)},O.prototype.dblp=function(E){if(0===E)return this;if(this.isInfinity())return this;if(!E)return this.dbl();var x;if(this.curve.zeroA||this.curve.threeA){var I=this;for(x=0;x<E;x++)I=I.dbl();return I}var k=this.curve.a,V=this.curve.tinv,G=this.x,j=this.y,W=this.z,K=W.redSqr().redSqr(),q=j.redAdd(j);for(x=0;x<E;x++){var ie=G.redSqr(),ae=q.redSqr(),ue=ae.redSqr(),re=ie.redAdd(ie).redIAdd(ie).redIAdd(k.redMul(K)),xe=G.redMul(ae),$=re.redSqr().redISub(xe.redAdd(xe)),he=xe.redISub($),S=re.redMul(he);S=S.redIAdd(S).redISub(ue);var n=q.redMul(W);x+1<E&&(K=K.redMul(ue)),G=$,W=n,q=S}return this.curve.jpoint(G,q.redMul(V),W)},O.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},O.prototype._zeroDbl=function(){var E,x,I;if(this.zOne){var k=this.x.redSqr(),V=this.y.redSqr(),G=V.redSqr(),j=this.x.redAdd(V).redSqr().redISub(k).redISub(G);j=j.redIAdd(j);var W=k.redAdd(k).redIAdd(k),K=W.redSqr().redISub(j).redISub(j),q=G.redIAdd(G);q=(q=q.redIAdd(q)).redIAdd(q),E=K,x=W.redMul(j.redISub(K)).redISub(q),I=this.y.redAdd(this.y)}else{var ie=this.x.redSqr(),ae=this.y.redSqr(),ue=ae.redSqr(),re=this.x.redAdd(ae).redSqr().redISub(ie).redISub(ue);re=re.redIAdd(re);var xe=ie.redAdd(ie).redIAdd(ie),$=xe.redSqr(),he=ue.redIAdd(ue);he=(he=he.redIAdd(he)).redIAdd(he),E=$.redISub(re).redISub(re),x=xe.redMul(re.redISub(E)).redISub(he),I=(I=this.y.redMul(this.z)).redIAdd(I)}return this.curve.jpoint(E,x,I)},O.prototype._threeDbl=function(){var E,x,I;if(this.zOne){var k=this.x.redSqr(),V=this.y.redSqr(),G=V.redSqr(),j=this.x.redAdd(V).redSqr().redISub(k).redISub(G);j=j.redIAdd(j);var W=k.redAdd(k).redIAdd(k).redIAdd(this.curve.a),K=W.redSqr().redISub(j).redISub(j);E=K;var q=G.redIAdd(G);q=(q=q.redIAdd(q)).redIAdd(q),x=W.redMul(j.redISub(K)).redISub(q),I=this.y.redAdd(this.y)}else{var ie=this.z.redSqr(),ae=this.y.redSqr(),ue=this.x.redMul(ae),re=this.x.redSub(ie).redMul(this.x.redAdd(ie));re=re.redAdd(re).redIAdd(re);var xe=ue.redIAdd(ue),$=(xe=xe.redIAdd(xe)).redAdd(xe);E=re.redSqr().redISub($),I=this.y.redAdd(this.z).redSqr().redISub(ae).redISub(ie);var he=ae.redSqr();he=(he=(he=he.redIAdd(he)).redIAdd(he)).redIAdd(he),x=re.redMul(xe.redISub(E)).redISub(he)}return this.curve.jpoint(E,x,I)},O.prototype._dbl=function(){var E=this.curve.a,x=this.x,I=this.y,k=this.z,V=k.redSqr().redSqr(),G=x.redSqr(),j=I.redSqr(),W=G.redAdd(G).redIAdd(G).redIAdd(E.redMul(V)),K=x.redAdd(x),q=(K=K.redIAdd(K)).redMul(j),ie=W.redSqr().redISub(q.redAdd(q)),ae=q.redISub(ie),ue=j.redSqr();ue=(ue=(ue=ue.redIAdd(ue)).redIAdd(ue)).redIAdd(ue);var re=W.redMul(ae).redISub(ue),xe=I.redAdd(I).redMul(k);return this.curve.jpoint(ie,re,xe)},O.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var E=this.x.redSqr(),x=this.y.redSqr(),I=this.z.redSqr(),k=x.redSqr(),V=E.redAdd(E).redIAdd(E),G=V.redSqr(),j=this.x.redAdd(x).redSqr().redISub(E).redISub(k),W=(j=(j=(j=j.redIAdd(j)).redAdd(j).redIAdd(j)).redISub(G)).redSqr(),K=k.redIAdd(k);K=(K=(K=K.redIAdd(K)).redIAdd(K)).redIAdd(K);var q=V.redIAdd(j).redSqr().redISub(G).redISub(W).redISub(K),ie=x.redMul(q);ie=(ie=ie.redIAdd(ie)).redIAdd(ie);var ae=this.x.redMul(W).redISub(ie);ae=(ae=ae.redIAdd(ae)).redIAdd(ae);var ue=this.y.redMul(q.redMul(K.redISub(q)).redISub(j.redMul(W)));ue=(ue=(ue=ue.redIAdd(ue)).redIAdd(ue)).redIAdd(ue);var re=this.z.redAdd(j).redSqr().redISub(I).redISub(W);return this.curve.jpoint(ae,ue,re)},O.prototype.mul=function(E,x){return E=new t(E,x),this.curve._wnafMul(this,E)},O.prototype.eq=function(E){if("affine"===E.type)return this.eq(E.toJ());if(this===E)return!0;var x=this.z.redSqr(),I=E.z.redSqr();if(0!==this.x.redMul(I).redISub(E.x.redMul(x)).cmpn(0))return!1;var k=x.redMul(this.z),V=I.redMul(E.z);return 0===this.y.redMul(V).redISub(E.y.redMul(k)).cmpn(0)},O.prototype.eqXToP=function(E){var x=this.z.redSqr(),I=E.toRed(this.curve.red).redMul(x);if(0===this.x.cmp(I))return!0;for(var k=E.clone(),V=this.curve.redN.redMul(x);;){if(k.iadd(this.curve.n),k.cmp(this.curve.p)>=0)return!1;if(I.redIAdd(V),0===this.x.cmp(I))return!0}},O.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},O.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},8049:(He,X,p)=>{"use strict";var O,e=X,t=p(1076),y=p(9132),l=p(6767).assert;function M(d){this.curve="short"===d.type?new y.short(d):"edwards"===d.type?new y.edwards(d):new y.mont(d),this.g=this.curve.g,this.n=this.curve.n,this.hash=d.hash,l(this.g.validate(),"Invalid curve"),l(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function m(d,E){Object.defineProperty(e,d,{configurable:!0,enumerable:!0,get:function(){var x=new M(E);return Object.defineProperty(e,d,{configurable:!0,enumerable:!0,value:x}),x}})}e.PresetCurve=M,m("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"]}),m("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"]}),m("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"]}),m("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"]}),m("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"]}),m("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"]}),m("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{O=p(7274)}catch{O=void 0}m("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",O]})},6443:(He,X,p)=>{"use strict";var e=p(1387),t=p(2447),y=p(6767),A=p(8049),l=p(82),M=y.assert,m=p(1373),O=p(7746);function d(E){if(!(this instanceof d))return new d(E);"string"==typeof E&&(M(Object.prototype.hasOwnProperty.call(A,E),"Unknown curve "+E),E=A[E]),E instanceof A.PresetCurve&&(E={curve:E}),this.curve=E.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=E.curve.g,this.g.precompute(E.curve.n.bitLength()+1),this.hash=E.hash||E.curve.hash}He.exports=d,d.prototype.keyPair=function(x){return new m(this,x)},d.prototype.keyFromPrivate=function(x,I){return m.fromPrivate(this,x,I)},d.prototype.keyFromPublic=function(x,I){return m.fromPublic(this,x,I)},d.prototype.genKeyPair=function(x){x||(x={});for(var I=new t({hash:this.hash,pers:x.pers,persEnc:x.persEnc||"utf8",entropy:x.entropy||l(this.hash.hmacStrength),entropyEnc:x.entropy&&x.entropyEnc||"utf8",nonce:this.n.toArray()}),k=this.n.byteLength(),V=this.n.sub(new e(2));;){var G=new e(I.generate(k));if(!(G.cmp(V)>0))return G.iaddn(1),this.keyFromPrivate(G)}},d.prototype._truncateToN=function(x,I){var k=8*x.byteLength()-this.n.bitLength();return k>0&&(x=x.ushrn(k)),!I&&x.cmp(this.n)>=0?x.sub(this.n):x},d.prototype.sign=function(x,I,k,V){"object"==typeof k&&(V=k,k=null),V||(V={}),I=this.keyFromPrivate(I,k),x=this._truncateToN(new e(x,16));for(var G=this.n.byteLength(),j=I.getPrivate().toArray("be",G),W=x.toArray("be",G),K=new t({hash:this.hash,entropy:j,nonce:W,pers:V.pers,persEnc:V.persEnc||"utf8"}),q=this.n.sub(new e(1)),ie=0;;ie++){var ae=V.k?V.k(ie):new e(K.generate(this.n.byteLength()));if(!((ae=this._truncateToN(ae,!0)).cmpn(1)<=0||ae.cmp(q)>=0)){var ue=this.g.mul(ae);if(!ue.isInfinity()){var re=ue.getX(),xe=re.umod(this.n);if(0!==xe.cmpn(0)){var $=ae.invm(this.n).mul(xe.mul(I.getPrivate()).iadd(x));if(0!==($=$.umod(this.n)).cmpn(0)){var he=(ue.getY().isOdd()?1:0)|(0!==re.cmp(xe)?2:0);return V.canonical&&$.cmp(this.nh)>0&&($=this.n.sub($),he^=1),new O({r:xe,s:$,recoveryParam:he})}}}}}},d.prototype.verify=function(x,I,k,V){x=this._truncateToN(new e(x,16)),k=this.keyFromPublic(k,V);var G=(I=new O(I,"hex")).r,j=I.s;if(G.cmpn(1)<0||G.cmp(this.n)>=0||j.cmpn(1)<0||j.cmp(this.n)>=0)return!1;var ie,W=j.invm(this.n),K=W.mul(x).umod(this.n),q=W.mul(G).umod(this.n);return this.curve._maxwellTrick?!(ie=this.g.jmulAdd(K,k.getPublic(),q)).isInfinity()&&ie.eqXToP(G):!(ie=this.g.mulAdd(K,k.getPublic(),q)).isInfinity()&&0===ie.getX().umod(this.n).cmp(G)},d.prototype.recoverPubKey=function(E,x,I,k){M((3&I)===I,"The recovery param is more than two bits"),x=new O(x,k);var V=this.n,G=new e(E),j=x.r,W=x.s,K=1&I,q=I>>1;if(j.cmp(this.curve.p.umod(this.curve.n))>=0&&q)throw new Error("Unable to find sencond key candinate");j=this.curve.pointFromX(q?j.add(this.curve.n):j,K);var ie=x.r.invm(V),ae=V.sub(G).mul(ie).umod(V),ue=W.mul(ie).umod(V);return this.g.mulAdd(ae,j,ue)},d.prototype.getKeyRecoveryParam=function(E,x,I,k){if(null!==(x=new O(x,k)).recoveryParam)return x.recoveryParam;for(var V=0;V<4;V++){var G;try{G=this.recoverPubKey(E,x,V)}catch{continue}if(G.eq(I))return V}throw new Error("Unable to find valid recovery factor")}},1373:(He,X,p)=>{"use strict";var e=p(1387),y=p(6767).assert;function A(l,M){this.ec=l,this.priv=null,this.pub=null,M.priv&&this._importPrivate(M.priv,M.privEnc),M.pub&&this._importPublic(M.pub,M.pubEnc)}He.exports=A,A.fromPublic=function(M,m,O){return m instanceof A?m:new A(M,{pub:m,pubEnc:O})},A.fromPrivate=function(M,m,O){return m instanceof A?m:new A(M,{priv:m,privEnc:O})},A.prototype.validate=function(){var M=this.getPublic();return M.isInfinity()?{result:!1,reason:"Invalid public key"}:M.validate()?M.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},A.prototype.getPublic=function(M,m){return"string"==typeof M&&(m=M,M=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),m?this.pub.encode(m,M):this.pub},A.prototype.getPrivate=function(M){return"hex"===M?this.priv.toString(16,2):this.priv},A.prototype._importPrivate=function(M,m){this.priv=new e(M,m||16),this.priv=this.priv.umod(this.ec.curve.n)},A.prototype._importPublic=function(M,m){if(M.x||M.y)return"mont"===this.ec.curve.type?y(M.x,"Need x coordinate"):("short"===this.ec.curve.type||"edwards"===this.ec.curve.type)&&y(M.x&&M.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(M.x,M.y));this.pub=this.ec.curve.decodePoint(M,m)},A.prototype.derive=function(M){return M.validate()||y(M.validate(),"public point not validated"),M.mul(this.priv).getX()},A.prototype.sign=function(M,m,O){return this.ec.sign(M,this,m,O)},A.prototype.verify=function(M,m){return this.ec.verify(M,m,this)},A.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},7746:(He,X,p)=>{"use strict";var e=p(1387),t=p(6767),y=t.assert;function A(d,E){if(d instanceof A)return d;this._importDER(d,E)||(y(d.r&&d.s,"Signature without r or s"),this.r=new e(d.r,16),this.s=new e(d.s,16),this.recoveryParam=void 0===d.recoveryParam?null:d.recoveryParam)}function l(){this.place=0}function M(d,E){var x=d[E.place++];if(!(128&x))return x;var I=15&x;if(0===I||I>4)return!1;for(var k=0,V=0,G=E.place;V<I;V++,G++)k<<=8,k|=d[G],k>>>=0;return!(k<=127)&&(E.place=G,k)}function m(d){for(var E=0,x=d.length-1;!d[E]&&!(128&d[E+1])&&E<x;)E++;return 0===E?d:d.slice(E)}function O(d,E){if(E<128)d.push(E);else{var x=1+(Math.log(E)/Math.LN2>>>3);for(d.push(128|x);--x;)d.push(E>>>(x<<3)&255);d.push(E)}}He.exports=A,A.prototype._importDER=function(E,x){E=t.toArray(E,x);var I=new l;if(48!==E[I.place++])return!1;var k=M(E,I);if(!1===k||k+I.place!==E.length||2!==E[I.place++])return!1;var V=M(E,I);if(!1===V)return!1;var G=E.slice(I.place,V+I.place);if(I.place+=V,2!==E[I.place++])return!1;var j=M(E,I);if(!1===j||E.length!==j+I.place)return!1;var W=E.slice(I.place,j+I.place);if(0===G[0]){if(!(128&G[1]))return!1;G=G.slice(1)}if(0===W[0]){if(!(128&W[1]))return!1;W=W.slice(1)}return this.r=new e(G),this.s=new e(W),this.recoveryParam=null,!0},A.prototype.toDER=function(E){var x=this.r.toArray(),I=this.s.toArray();for(128&x[0]&&(x=[0].concat(x)),128&I[0]&&(I=[0].concat(I)),x=m(x),I=m(I);!(I[0]||128&I[1]);)I=I.slice(1);var k=[2];O(k,x.length),(k=k.concat(x)).push(2),O(k,I.length);var V=k.concat(I),G=[48];return O(G,V.length),G=G.concat(V),t.encode(G,E)}},9577:(He,X,p)=>{"use strict";var e=p(1076),t=p(8049),y=p(6767),A=y.assert,l=y.parseBytes,M=p(7012),m=p(8062);function O(d){if(A("ed25519"===d,"only tested with ed25519 so far"),!(this instanceof O))return new O(d);this.curve=d=t[d].curve,this.g=d.g,this.g.precompute(d.n.bitLength()+1),this.pointClass=d.point().constructor,this.encodingLength=Math.ceil(d.n.bitLength()/8),this.hash=e.sha512}He.exports=O,O.prototype.sign=function(E,x){E=l(E);var I=this.keyFromSecret(x),k=this.hashInt(I.messagePrefix(),E),V=this.g.mul(k),G=this.encodePoint(V),j=this.hashInt(G,I.pubBytes(),E).mul(I.priv()),W=k.add(j).umod(this.curve.n);return this.makeSignature({R:V,S:W,Rencoded:G})},O.prototype.verify=function(E,x,I){E=l(E),x=this.makeSignature(x);var k=this.keyFromPublic(I),V=this.hashInt(x.Rencoded(),k.pubBytes(),E),G=this.g.mul(x.S());return x.R().add(k.pub().mul(V)).eq(G)},O.prototype.hashInt=function(){for(var E=this.hash(),x=0;x<arguments.length;x++)E.update(arguments[x]);return y.intFromLE(E.digest()).umod(this.curve.n)},O.prototype.keyFromPublic=function(E){return M.fromPublic(this,E)},O.prototype.keyFromSecret=function(E){return M.fromSecret(this,E)},O.prototype.makeSignature=function(E){return E instanceof m?E:new m(this,E)},O.prototype.encodePoint=function(E){var x=E.getY().toArray("le",this.encodingLength);return x[this.encodingLength-1]|=E.getX().isOdd()?128:0,x},O.prototype.decodePoint=function(E){var x=(E=y.parseBytes(E)).length-1,I=E.slice(0,x).concat(-129&E[x]),k=0!=(128&E[x]),V=y.intFromLE(I);return this.curve.pointFromY(V,k)},O.prototype.encodeInt=function(E){return E.toArray("le",this.encodingLength)},O.prototype.decodeInt=function(E){return y.intFromLE(E)},O.prototype.isPoint=function(E){return E instanceof this.pointClass}},7012:(He,X,p)=>{"use strict";var e=p(6767),t=e.assert,y=e.parseBytes,A=e.cachedProperty;function l(M,m){this.eddsa=M,this._secret=y(m.secret),M.isPoint(m.pub)?this._pub=m.pub:this._pubBytes=y(m.pub)}l.fromPublic=function(m,O){return O instanceof l?O:new l(m,{pub:O})},l.fromSecret=function(m,O){return O instanceof l?O:new l(m,{secret:O})},l.prototype.secret=function(){return this._secret},A(l,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),A(l,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),A(l,"privBytes",function(){var m=this.eddsa,O=this.hash(),d=m.encodingLength-1,E=O.slice(0,m.encodingLength);return E[0]&=248,E[d]&=127,E[d]|=64,E}),A(l,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),A(l,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),A(l,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),l.prototype.sign=function(m){return t(this._secret,"KeyPair can only verify"),this.eddsa.sign(m,this)},l.prototype.verify=function(m,O){return this.eddsa.verify(m,O,this)},l.prototype.getSecret=function(m){return t(this._secret,"KeyPair is public only"),e.encode(this.secret(),m)},l.prototype.getPublic=function(m){return e.encode(this.pubBytes(),m)},He.exports=l},8062:(He,X,p)=>{"use strict";var e=p(1387),t=p(6767),y=t.assert,A=t.cachedProperty,l=t.parseBytes;function M(m,O){this.eddsa=m,"object"!=typeof O&&(O=l(O)),Array.isArray(O)&&(O={R:O.slice(0,m.encodingLength),S:O.slice(m.encodingLength)}),y(O.R&&O.S,"Signature without R or S"),m.isPoint(O.R)&&(this._R=O.R),O.S instanceof e&&(this._S=O.S),this._Rencoded=Array.isArray(O.R)?O.R:O.Rencoded,this._Sencoded=Array.isArray(O.S)?O.S:O.Sencoded}A(M,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),A(M,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),A(M,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),A(M,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),M.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},M.prototype.toHex=function(){return t.encode(this.toBytes(),"hex").toUpperCase()},He.exports=M},7274:He=>{He.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"]]}}},6767:(He,X,p)=>{"use strict";var e=X,t=p(1387),y=p(7798),A=p(8247);e.assert=y,e.toArray=A.toArray,e.zero2=A.zero2,e.toHex=A.toHex,e.encode=A.encode,e.getNAF=function l(E,x,I){var k=new Array(Math.max(E.bitLength(),I)+1);k.fill(0);for(var V=1<<x+1,G=E.clone(),j=0;j<k.length;j++){var W,K=G.andln(V-1);G.isOdd()?G.isubn(W=K>(V>>1)-1?(V>>1)-K:K):W=0,k[j]=W,G.iushrn(1)}return k},e.getJSF=function M(E,x){var I=[[],[]];E=E.clone(),x=x.clone();for(var G,k=0,V=0;E.cmpn(-k)>0||x.cmpn(-V)>0;){var K,q,j=E.andln(3)+k&3,W=x.andln(3)+V&3;3===j&&(j=-1),3===W&&(W=-1),K=1&j?3!=(G=E.andln(7)+k&7)&&5!==G||2!==W?j:-j:0,I[0].push(K),q=1&W?3!=(G=x.andln(7)+V&7)&&5!==G||2!==j?W:-W:0,I[1].push(q),2*k===K+1&&(k=1-k),2*V===q+1&&(V=1-V),E.iushrn(1),x.iushrn(1)}return I},e.cachedProperty=function m(E,x,I){var k="_"+x;E.prototype[x]=function(){return void 0!==this[k]?this[k]:this[k]=I.call(this)}},e.parseBytes=function O(E){return"string"==typeof E?e.toArray(E,"hex"):E},e.intFromLE=function d(E){return new t(E,"hex","le")}},1387:function(He,X,p){!function(e,t){"use strict";function y(S,n){if(!S)throw new Error(n||"Assertion failed")}function A(S,n){S.super_=n;var s=function(){};s.prototype=n.prototype,S.prototype=new s,S.prototype.constructor=S}function l(S,n,s){if(l.isBN(S))return S;this.negative=0,this.words=null,this.length=0,this.red=null,null!==S&&(("le"===n||"be"===n)&&(s=n,n=10),this._init(S||0,n||10,s||"be"))}var M;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{M=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:p(5568).Buffer}catch{}function m(S,n){var s=S.charCodeAt(n);return s>=65&&s<=70?s-55:s>=97&&s<=102?s-87:s-48&15}function O(S,n,s){var f=m(S,s);return s-1>=n&&(f|=m(S,s-1)<<4),f}function d(S,n,s,f){for(var h=0,w=Math.min(S.length,s),D=n;D<w;D++){var P=S.charCodeAt(D)-48;h*=f,h+=P>=49?P-49+10:P>=17?P-17+10:P}return h}l.isBN=function(n){return n instanceof l||null!==n&&"object"==typeof n&&n.constructor.wordSize===l.wordSize&&Array.isArray(n.words)},l.max=function(n,s){return n.cmp(s)>0?n:s},l.min=function(n,s){return n.cmp(s)<0?n:s},l.prototype._init=function(n,s,f){if("number"==typeof n)return this._initNumber(n,s,f);if("object"==typeof n)return this._initArray(n,s,f);"hex"===s&&(s=16),y(s===(0|s)&&s>=2&&s<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<n.length&&(16===s?this._parseHex(n,h,f):(this._parseBase(n,s,h),"le"===f&&this._initArray(this.toArray(),s,f)))},l.prototype._initNumber=function(n,s,f){n<0&&(this.negative=1,n=-n),n<67108864?(this.words=[67108863&n],this.length=1):n<4503599627370496?(this.words=[67108863&n,n/67108864&67108863],this.length=2):(y(n<9007199254740992),this.words=[67108863&n,n/67108864&67108863,1],this.length=3),"le"===f&&this._initArray(this.toArray(),s,f)},l.prototype._initArray=function(n,s,f){if(y("number"==typeof n.length),n.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(n.length/3),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var w,D,P=0;if("be"===f)for(h=n.length-1,w=0;h>=0;h-=3)this.words[w]|=(D=n[h]|n[h-1]<<8|n[h-2]<<16)<<P&67108863,this.words[w+1]=D>>>26-P&67108863,(P+=24)>=26&&(P-=26,w++);else if("le"===f)for(h=0,w=0;h<n.length;h+=3)this.words[w]|=(D=n[h]|n[h+1]<<8|n[h+2]<<16)<<P&67108863,this.words[w+1]=D>>>26-P&67108863,(P+=24)>=26&&(P-=26,w++);return this.strip()},l.prototype._parseHex=function(n,s,f){this.length=Math.ceil((n.length-s)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var P,w=0,D=0;if("be"===f)for(h=n.length-1;h>=s;h-=2)P=O(n,s,h)<<w,this.words[D]|=67108863&P,w>=18?(w-=18,this.words[D+=1]|=P>>>26):w+=8;else for(h=(n.length-s)%2==0?s+1:s;h<n.length;h+=2)P=O(n,s,h)<<w,this.words[D]|=67108863&P,w>=18?(w-=18,this.words[D+=1]|=P>>>26):w+=8;this.strip()},l.prototype._parseBase=function(n,s,f){this.words=[0],this.length=1;for(var h=0,w=1;w<=67108863;w*=s)h++;h--,w=w/s|0;for(var D=n.length-f,P=D%h,v=Math.min(D,D-P)+f,r=0,g=f;g<v;g+=h)r=d(n,g,g+h,s),this.imuln(w),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==P){var H=1;for(r=d(n,g,n.length,s),g=0;g<P;g++)H*=s;this.imuln(H),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r)}this.strip()},l.prototype.copy=function(n){n.words=new Array(this.length);for(var s=0;s<this.length;s++)n.words[s]=this.words[s];n.length=this.length,n.negative=this.negative,n.red=this.red},l.prototype.clone=function(){var n=new l(null);return this.copy(n),n},l.prototype._expand=function(n){for(;this.length<n;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var E=["","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"],x=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],I=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function V(S,n,s){s.negative=n.negative^S.negative;var f=S.length+n.length|0;s.length=f,f=f-1|0;var h=0|S.words[0],w=0|n.words[0],D=h*w,v=D/67108864|0;s.words[0]=67108863&D;for(var r=1;r<f;r++){for(var g=v>>>26,H=67108863&v,N=Math.min(r,n.length-1),te=Math.max(0,r-S.length+1);te<=N;te++)g+=(D=(h=0|S.words[r-te|0])*(w=0|n.words[te])+H)/67108864|0,H=67108863&D;s.words[r]=0|H,v=0|g}return 0!==v?s.words[r]=0|v:s.length--,s.strip()}l.prototype.toString=function(n,s){var f;if(s=0|s||1,16===(n=n||10)||"hex"===n){f="";for(var h=0,w=0,D=0;D<this.length;D++){var P=this.words[D],v=(16777215&(P<<h|w)).toString(16);f=0!=(w=P>>>24-h&16777215)||D!==this.length-1?E[6-v.length]+v+f:v+f,(h+=2)>=26&&(h-=26,D--)}for(0!==w&&(f=w.toString(16)+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(n===(0|n)&&n>=2&&n<=36){var r=x[n],g=I[n];f="";var H=this.clone();for(H.negative=0;!H.isZero();){var N=H.modn(g).toString(n);f=(H=H.idivn(g)).isZero()?N+f:E[r-N.length]+N+f}for(this.isZero()&&(f="0"+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}y(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&y(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(n,s){return y(typeof M<"u"),this.toArrayLike(M,n,s)},l.prototype.toArray=function(n,s){return this.toArrayLike(Array,n,s)},l.prototype.toArrayLike=function(n,s,f){var h=this.byteLength(),w=f||Math.max(1,h);y(h<=w,"byte array longer than desired length"),y(w>0,"Requested array length <= 0"),this.strip();var v,r,D="le"===s,P=new n(w),g=this.clone();if(D){for(r=0;!g.isZero();r++)v=g.andln(255),g.iushrn(8),P[r]=v;for(;r<w;r++)P[r]=0}else{for(r=0;r<w-h;r++)P[r]=0;for(r=0;!g.isZero();r++)v=g.andln(255),g.iushrn(8),P[w-r-1]=v}return P},l.prototype._countBits=Math.clz32?function(n){return 32-Math.clz32(n)}:function(n){var s=n,f=0;return s>=4096&&(f+=13,s>>>=13),s>=64&&(f+=7,s>>>=7),s>=8&&(f+=4,s>>>=4),s>=2&&(f+=2,s>>>=2),f+s},l.prototype._zeroBits=function(n){if(0===n)return 26;var s=n,f=0;return 8191&s||(f+=13,s>>>=13),127&s||(f+=7,s>>>=7),15&s||(f+=4,s>>>=4),3&s||(f+=2,s>>>=2),1&s||f++,f},l.prototype.bitLength=function(){var s=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+s},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,s=0;s<this.length;s++){var f=this._zeroBits(this.words[s]);if(n+=f,26!==f)break}return n},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(n){return 0!==this.negative?this.abs().inotn(n).iaddn(1):this.clone()},l.prototype.fromTwos=function(n){return this.testn(n-1)?this.notn(n).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(n){for(;this.length<n.length;)this.words[this.length++]=0;for(var s=0;s<n.length;s++)this.words[s]=this.words[s]|n.words[s];return this.strip()},l.prototype.ior=function(n){return y(0==(this.negative|n.negative)),this.iuor(n)},l.prototype.or=function(n){return this.length>n.length?this.clone().ior(n):n.clone().ior(this)},l.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},l.prototype.iuand=function(n){var s;s=this.length>n.length?n:this;for(var f=0;f<s.length;f++)this.words[f]=this.words[f]&n.words[f];return this.length=s.length,this.strip()},l.prototype.iand=function(n){return y(0==(this.negative|n.negative)),this.iuand(n)},l.prototype.and=function(n){return this.length>n.length?this.clone().iand(n):n.clone().iand(this)},l.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},l.prototype.iuxor=function(n){var s,f;this.length>n.length?(s=this,f=n):(s=n,f=this);for(var h=0;h<f.length;h++)this.words[h]=s.words[h]^f.words[h];if(this!==s)for(;h<s.length;h++)this.words[h]=s.words[h];return this.length=s.length,this.strip()},l.prototype.ixor=function(n){return y(0==(this.negative|n.negative)),this.iuxor(n)},l.prototype.xor=function(n){return this.length>n.length?this.clone().ixor(n):n.clone().ixor(this)},l.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},l.prototype.inotn=function(n){y("number"==typeof n&&n>=0);var s=0|Math.ceil(n/26),f=n%26;this._expand(s),f>0&&s--;for(var h=0;h<s;h++)this.words[h]=67108863&~this.words[h];return f>0&&(this.words[h]=~this.words[h]&67108863>>26-f),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,s){y("number"==typeof n&&n>=0);var f=n/26|0,h=n%26;return this._expand(f+1),this.words[f]=s?this.words[f]|1<<h:this.words[f]&~(1<<h),this.strip()},l.prototype.iadd=function(n){var s,f,h;if(0!==this.negative&&0===n.negative)return this.negative=0,s=this.isub(n),this.negative^=1,this._normSign();if(0===this.negative&&0!==n.negative)return n.negative=0,s=this.isub(n),n.negative=1,s._normSign();this.length>n.length?(f=this,h=n):(f=n,h=this);for(var w=0,D=0;D<h.length;D++)this.words[D]=67108863&(s=(0|f.words[D])+(0|h.words[D])+w),w=s>>>26;for(;0!==w&&D<f.length;D++)this.words[D]=67108863&(s=(0|f.words[D])+w),w=s>>>26;if(this.length=f.length,0!==w)this.words[this.length]=w,this.length++;else if(f!==this)for(;D<f.length;D++)this.words[D]=f.words[D];return this},l.prototype.add=function(n){var s;return 0!==n.negative&&0===this.negative?(n.negative=0,s=this.sub(n),n.negative^=1,s):0===n.negative&&0!==this.negative?(this.negative=0,s=n.sub(this),this.negative=1,s):this.length>n.length?this.clone().iadd(n):n.clone().iadd(this)},l.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var s=this.iadd(n);return n.negative=1,s._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,w,f=this.cmp(n);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(h=this,w=n):(h=n,w=this);for(var D=0,P=0;P<w.length;P++)D=(s=(0|h.words[P])-(0|w.words[P])+D)>>26,this.words[P]=67108863&s;for(;0!==D&&P<h.length;P++)D=(s=(0|h.words[P])+D)>>26,this.words[P]=67108863&s;if(0===D&&P<h.length&&h!==this)for(;P<h.length;P++)this.words[P]=h.words[P];return this.length=Math.max(this.length,P),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(n){return this.clone().isub(n)};var G=function(n,s,f){var v,r,g,h=n.words,w=s.words,D=f.words,P=0,H=0|h[0],N=8191&H,te=H>>>13,De=0|h[1],st=8191&De,je=De>>>13,$e=0|h[2],ye=8191&$e,fe=$e>>>13,de=0|h[3],Ce=8191&de,le=de>>>13,ge=0|h[4],qe=8191&ge,oe=ge>>>13,ve=0|h[5],ce=8191&ve,Ge=ve>>>13,Ze=0|h[6],wt=8191&Ze,mt=Ze>>>13,kt=0|h[7],Ae=8191&kt,ze=kt>>>13,nt=0|h[8],et=8191&nt,ke=nt>>>13,ct=0|h[9],Qe=8191&ct,Et=ct>>>13,lt=0|w[0],Ke=8191&lt,Be=lt>>>13,Xt=0|w[1],J=8191&Xt,We=Xt>>>13,Ft=0|w[2],Ct=8191&Ft,Pt=Ft>>>13,xt=0|w[3],rt=8191&xt,Ee=xt>>>13,it=0|w[4],Ue=8191&it,Je=it>>>13,_t=0|w[5],Le=8191&_t,be=_t>>>13,ee=0|w[6],ne=8191&ee,Ie=ee>>>13,Ht=0|w[7],At=8191&Ht,Zt=Ht>>>13,pi=0|w[8],Jt=8191&pi,qt=pi>>>13,Hi=0|w[9],di=8191&Hi,fi=Hi>>>13;f.negative=n.negative^s.negative,f.length=19;var un=(P+(v=Math.imul(N,Ke))|0)+((8191&(r=(r=Math.imul(N,Be))+Math.imul(te,Ke)|0))<<13)|0;P=((g=Math.imul(te,Be))+(r>>>13)|0)+(un>>>26)|0,un&=67108863,v=Math.imul(st,Ke),r=(r=Math.imul(st,Be))+Math.imul(je,Ke)|0,g=Math.imul(je,Be);var Qi=(P+(v=v+Math.imul(N,J)|0)|0)+((8191&(r=(r=r+Math.imul(N,We)|0)+Math.imul(te,J)|0))<<13)|0;P=((g=g+Math.imul(te,We)|0)+(r>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,v=Math.imul(ye,Ke),r=(r=Math.imul(ye,Be))+Math.imul(fe,Ke)|0,g=Math.imul(fe,Be),v=v+Math.imul(st,J)|0,r=(r=r+Math.imul(st,We)|0)+Math.imul(je,J)|0,g=g+Math.imul(je,We)|0;var xi=(P+(v=v+Math.imul(N,Ct)|0)|0)+((8191&(r=(r=r+Math.imul(N,Pt)|0)+Math.imul(te,Ct)|0))<<13)|0;P=((g=g+Math.imul(te,Pt)|0)+(r>>>13)|0)+(xi>>>26)|0,xi&=67108863,v=Math.imul(Ce,Ke),r=(r=Math.imul(Ce,Be))+Math.imul(le,Ke)|0,g=Math.imul(le,Be),v=v+Math.imul(ye,J)|0,r=(r=r+Math.imul(ye,We)|0)+Math.imul(fe,J)|0,g=g+Math.imul(fe,We)|0,v=v+Math.imul(st,Ct)|0,r=(r=r+Math.imul(st,Pt)|0)+Math.imul(je,Ct)|0,g=g+Math.imul(je,Pt)|0;var sn=(P+(v=v+Math.imul(N,rt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ee)|0)+Math.imul(te,rt)|0))<<13)|0;P=((g=g+Math.imul(te,Ee)|0)+(r>>>13)|0)+(sn>>>26)|0,sn&=67108863,v=Math.imul(qe,Ke),r=(r=Math.imul(qe,Be))+Math.imul(oe,Ke)|0,g=Math.imul(oe,Be),v=v+Math.imul(Ce,J)|0,r=(r=r+Math.imul(Ce,We)|0)+Math.imul(le,J)|0,g=g+Math.imul(le,We)|0,v=v+Math.imul(ye,Ct)|0,r=(r=r+Math.imul(ye,Pt)|0)+Math.imul(fe,Ct)|0,g=g+Math.imul(fe,Pt)|0,v=v+Math.imul(st,rt)|0,r=(r=r+Math.imul(st,Ee)|0)+Math.imul(je,rt)|0,g=g+Math.imul(je,Ee)|0;var ot=(P+(v=v+Math.imul(N,Ue)|0)|0)+((8191&(r=(r=r+Math.imul(N,Je)|0)+Math.imul(te,Ue)|0))<<13)|0;P=((g=g+Math.imul(te,Je)|0)+(r>>>13)|0)+(ot>>>26)|0,ot&=67108863,v=Math.imul(ce,Ke),r=(r=Math.imul(ce,Be))+Math.imul(Ge,Ke)|0,g=Math.imul(Ge,Be),v=v+Math.imul(qe,J)|0,r=(r=r+Math.imul(qe,We)|0)+Math.imul(oe,J)|0,g=g+Math.imul(oe,We)|0,v=v+Math.imul(Ce,Ct)|0,r=(r=r+Math.imul(Ce,Pt)|0)+Math.imul(le,Ct)|0,g=g+Math.imul(le,Pt)|0,v=v+Math.imul(ye,rt)|0,r=(r=r+Math.imul(ye,Ee)|0)+Math.imul(fe,rt)|0,g=g+Math.imul(fe,Ee)|0,v=v+Math.imul(st,Ue)|0,r=(r=r+Math.imul(st,Je)|0)+Math.imul(je,Ue)|0,g=g+Math.imul(je,Je)|0;var si=(P+(v=v+Math.imul(N,Le)|0)|0)+((8191&(r=(r=r+Math.imul(N,be)|0)+Math.imul(te,Le)|0))<<13)|0;P=((g=g+Math.imul(te,be)|0)+(r>>>13)|0)+(si>>>26)|0,si&=67108863,v=Math.imul(wt,Ke),r=(r=Math.imul(wt,Be))+Math.imul(mt,Ke)|0,g=Math.imul(mt,Be),v=v+Math.imul(ce,J)|0,r=(r=r+Math.imul(ce,We)|0)+Math.imul(Ge,J)|0,g=g+Math.imul(Ge,We)|0,v=v+Math.imul(qe,Ct)|0,r=(r=r+Math.imul(qe,Pt)|0)+Math.imul(oe,Ct)|0,g=g+Math.imul(oe,Pt)|0,v=v+Math.imul(Ce,rt)|0,r=(r=r+Math.imul(Ce,Ee)|0)+Math.imul(le,rt)|0,g=g+Math.imul(le,Ee)|0,v=v+Math.imul(ye,Ue)|0,r=(r=r+Math.imul(ye,Je)|0)+Math.imul(fe,Ue)|0,g=g+Math.imul(fe,Je)|0,v=v+Math.imul(st,Le)|0,r=(r=r+Math.imul(st,be)|0)+Math.imul(je,Le)|0,g=g+Math.imul(je,be)|0;var we=(P+(v=v+Math.imul(N,ne)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ie)|0)+Math.imul(te,ne)|0))<<13)|0;P=((g=g+Math.imul(te,Ie)|0)+(r>>>13)|0)+(we>>>26)|0,we&=67108863,v=Math.imul(Ae,Ke),r=(r=Math.imul(Ae,Be))+Math.imul(ze,Ke)|0,g=Math.imul(ze,Be),v=v+Math.imul(wt,J)|0,r=(r=r+Math.imul(wt,We)|0)+Math.imul(mt,J)|0,g=g+Math.imul(mt,We)|0,v=v+Math.imul(ce,Ct)|0,r=(r=r+Math.imul(ce,Pt)|0)+Math.imul(Ge,Ct)|0,g=g+Math.imul(Ge,Pt)|0,v=v+Math.imul(qe,rt)|0,r=(r=r+Math.imul(qe,Ee)|0)+Math.imul(oe,rt)|0,g=g+Math.imul(oe,Ee)|0,v=v+Math.imul(Ce,Ue)|0,r=(r=r+Math.imul(Ce,Je)|0)+Math.imul(le,Ue)|0,g=g+Math.imul(le,Je)|0,v=v+Math.imul(ye,Le)|0,r=(r=r+Math.imul(ye,be)|0)+Math.imul(fe,Le)|0,g=g+Math.imul(fe,be)|0,v=v+Math.imul(st,ne)|0,r=(r=r+Math.imul(st,Ie)|0)+Math.imul(je,ne)|0,g=g+Math.imul(je,Ie)|0;var St=(P+(v=v+Math.imul(N,At)|0)|0)+((8191&(r=(r=r+Math.imul(N,Zt)|0)+Math.imul(te,At)|0))<<13)|0;P=((g=g+Math.imul(te,Zt)|0)+(r>>>13)|0)+(St>>>26)|0,St&=67108863,v=Math.imul(et,Ke),r=(r=Math.imul(et,Be))+Math.imul(ke,Ke)|0,g=Math.imul(ke,Be),v=v+Math.imul(Ae,J)|0,r=(r=r+Math.imul(Ae,We)|0)+Math.imul(ze,J)|0,g=g+Math.imul(ze,We)|0,v=v+Math.imul(wt,Ct)|0,r=(r=r+Math.imul(wt,Pt)|0)+Math.imul(mt,Ct)|0,g=g+Math.imul(mt,Pt)|0,v=v+Math.imul(ce,rt)|0,r=(r=r+Math.imul(ce,Ee)|0)+Math.imul(Ge,rt)|0,g=g+Math.imul(Ge,Ee)|0,v=v+Math.imul(qe,Ue)|0,r=(r=r+Math.imul(qe,Je)|0)+Math.imul(oe,Ue)|0,g=g+Math.imul(oe,Je)|0,v=v+Math.imul(Ce,Le)|0,r=(r=r+Math.imul(Ce,be)|0)+Math.imul(le,Le)|0,g=g+Math.imul(le,be)|0,v=v+Math.imul(ye,ne)|0,r=(r=r+Math.imul(ye,Ie)|0)+Math.imul(fe,ne)|0,g=g+Math.imul(fe,Ie)|0,v=v+Math.imul(st,At)|0,r=(r=r+Math.imul(st,Zt)|0)+Math.imul(je,At)|0,g=g+Math.imul(je,Zt)|0;var zt=(P+(v=v+Math.imul(N,Jt)|0)|0)+((8191&(r=(r=r+Math.imul(N,qt)|0)+Math.imul(te,Jt)|0))<<13)|0;P=((g=g+Math.imul(te,qt)|0)+(r>>>13)|0)+(zt>>>26)|0,zt&=67108863,v=Math.imul(Qe,Ke),r=(r=Math.imul(Qe,Be))+Math.imul(Et,Ke)|0,g=Math.imul(Et,Be),v=v+Math.imul(et,J)|0,r=(r=r+Math.imul(et,We)|0)+Math.imul(ke,J)|0,g=g+Math.imul(ke,We)|0,v=v+Math.imul(Ae,Ct)|0,r=(r=r+Math.imul(Ae,Pt)|0)+Math.imul(ze,Ct)|0,g=g+Math.imul(ze,Pt)|0,v=v+Math.imul(wt,rt)|0,r=(r=r+Math.imul(wt,Ee)|0)+Math.imul(mt,rt)|0,g=g+Math.imul(mt,Ee)|0,v=v+Math.imul(ce,Ue)|0,r=(r=r+Math.imul(ce,Je)|0)+Math.imul(Ge,Ue)|0,g=g+Math.imul(Ge,Je)|0,v=v+Math.imul(qe,Le)|0,r=(r=r+Math.imul(qe,be)|0)+Math.imul(oe,Le)|0,g=g+Math.imul(oe,be)|0,v=v+Math.imul(Ce,ne)|0,r=(r=r+Math.imul(Ce,Ie)|0)+Math.imul(le,ne)|0,g=g+Math.imul(le,Ie)|0,v=v+Math.imul(ye,At)|0,r=(r=r+Math.imul(ye,Zt)|0)+Math.imul(fe,At)|0,g=g+Math.imul(fe,Zt)|0,v=v+Math.imul(st,Jt)|0,r=(r=r+Math.imul(st,qt)|0)+Math.imul(je,Jt)|0,g=g+Math.imul(je,qt)|0;var Dt=(P+(v=v+Math.imul(N,di)|0)|0)+((8191&(r=(r=r+Math.imul(N,fi)|0)+Math.imul(te,di)|0))<<13)|0;P=((g=g+Math.imul(te,fi)|0)+(r>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,v=Math.imul(Qe,J),r=(r=Math.imul(Qe,We))+Math.imul(Et,J)|0,g=Math.imul(Et,We),v=v+Math.imul(et,Ct)|0,r=(r=r+Math.imul(et,Pt)|0)+Math.imul(ke,Ct)|0,g=g+Math.imul(ke,Pt)|0,v=v+Math.imul(Ae,rt)|0,r=(r=r+Math.imul(Ae,Ee)|0)+Math.imul(ze,rt)|0,g=g+Math.imul(ze,Ee)|0,v=v+Math.imul(wt,Ue)|0,r=(r=r+Math.imul(wt,Je)|0)+Math.imul(mt,Ue)|0,g=g+Math.imul(mt,Je)|0,v=v+Math.imul(ce,Le)|0,r=(r=r+Math.imul(ce,be)|0)+Math.imul(Ge,Le)|0,g=g+Math.imul(Ge,be)|0,v=v+Math.imul(qe,ne)|0,r=(r=r+Math.imul(qe,Ie)|0)+Math.imul(oe,ne)|0,g=g+Math.imul(oe,Ie)|0,v=v+Math.imul(Ce,At)|0,r=(r=r+Math.imul(Ce,Zt)|0)+Math.imul(le,At)|0,g=g+Math.imul(le,Zt)|0,v=v+Math.imul(ye,Jt)|0,r=(r=r+Math.imul(ye,qt)|0)+Math.imul(fe,Jt)|0,g=g+Math.imul(fe,qt)|0;var Lt=(P+(v=v+Math.imul(st,di)|0)|0)+((8191&(r=(r=r+Math.imul(st,fi)|0)+Math.imul(je,di)|0))<<13)|0;P=((g=g+Math.imul(je,fi)|0)+(r>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,v=Math.imul(Qe,Ct),r=(r=Math.imul(Qe,Pt))+Math.imul(Et,Ct)|0,g=Math.imul(Et,Pt),v=v+Math.imul(et,rt)|0,r=(r=r+Math.imul(et,Ee)|0)+Math.imul(ke,rt)|0,g=g+Math.imul(ke,Ee)|0,v=v+Math.imul(Ae,Ue)|0,r=(r=r+Math.imul(Ae,Je)|0)+Math.imul(ze,Ue)|0,g=g+Math.imul(ze,Je)|0,v=v+Math.imul(wt,Le)|0,r=(r=r+Math.imul(wt,be)|0)+Math.imul(mt,Le)|0,g=g+Math.imul(mt,be)|0,v=v+Math.imul(ce,ne)|0,r=(r=r+Math.imul(ce,Ie)|0)+Math.imul(Ge,ne)|0,g=g+Math.imul(Ge,Ie)|0,v=v+Math.imul(qe,At)|0,r=(r=r+Math.imul(qe,Zt)|0)+Math.imul(oe,At)|0,g=g+Math.imul(oe,Zt)|0,v=v+Math.imul(Ce,Jt)|0,r=(r=r+Math.imul(Ce,qt)|0)+Math.imul(le,Jt)|0,g=g+Math.imul(le,qt)|0;var Bt=(P+(v=v+Math.imul(ye,di)|0)|0)+((8191&(r=(r=r+Math.imul(ye,fi)|0)+Math.imul(fe,di)|0))<<13)|0;P=((g=g+Math.imul(fe,fi)|0)+(r>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,v=Math.imul(Qe,rt),r=(r=Math.imul(Qe,Ee))+Math.imul(Et,rt)|0,g=Math.imul(Et,Ee),v=v+Math.imul(et,Ue)|0,r=(r=r+Math.imul(et,Je)|0)+Math.imul(ke,Ue)|0,g=g+Math.imul(ke,Je)|0,v=v+Math.imul(Ae,Le)|0,r=(r=r+Math.imul(Ae,be)|0)+Math.imul(ze,Le)|0,g=g+Math.imul(ze,be)|0,v=v+Math.imul(wt,ne)|0,r=(r=r+Math.imul(wt,Ie)|0)+Math.imul(mt,ne)|0,g=g+Math.imul(mt,Ie)|0,v=v+Math.imul(ce,At)|0,r=(r=r+Math.imul(ce,Zt)|0)+Math.imul(Ge,At)|0,g=g+Math.imul(Ge,Zt)|0,v=v+Math.imul(qe,Jt)|0,r=(r=r+Math.imul(qe,qt)|0)+Math.imul(oe,Jt)|0,g=g+Math.imul(oe,qt)|0;var ai=(P+(v=v+Math.imul(Ce,di)|0)|0)+((8191&(r=(r=r+Math.imul(Ce,fi)|0)+Math.imul(le,di)|0))<<13)|0;P=((g=g+Math.imul(le,fi)|0)+(r>>>13)|0)+(ai>>>26)|0,ai&=67108863,v=Math.imul(Qe,Ue),r=(r=Math.imul(Qe,Je))+Math.imul(Et,Ue)|0,g=Math.imul(Et,Je),v=v+Math.imul(et,Le)|0,r=(r=r+Math.imul(et,be)|0)+Math.imul(ke,Le)|0,g=g+Math.imul(ke,be)|0,v=v+Math.imul(Ae,ne)|0,r=(r=r+Math.imul(Ae,Ie)|0)+Math.imul(ze,ne)|0,g=g+Math.imul(ze,Ie)|0,v=v+Math.imul(wt,At)|0,r=(r=r+Math.imul(wt,Zt)|0)+Math.imul(mt,At)|0,g=g+Math.imul(mt,Zt)|0,v=v+Math.imul(ce,Jt)|0,r=(r=r+Math.imul(ce,qt)|0)+Math.imul(Ge,Jt)|0,g=g+Math.imul(Ge,qt)|0;var vi=(P+(v=v+Math.imul(qe,di)|0)|0)+((8191&(r=(r=r+Math.imul(qe,fi)|0)+Math.imul(oe,di)|0))<<13)|0;P=((g=g+Math.imul(oe,fi)|0)+(r>>>13)|0)+(vi>>>26)|0,vi&=67108863,v=Math.imul(Qe,Le),r=(r=Math.imul(Qe,be))+Math.imul(Et,Le)|0,g=Math.imul(Et,be),v=v+Math.imul(et,ne)|0,r=(r=r+Math.imul(et,Ie)|0)+Math.imul(ke,ne)|0,g=g+Math.imul(ke,Ie)|0,v=v+Math.imul(Ae,At)|0,r=(r=r+Math.imul(Ae,Zt)|0)+Math.imul(ze,At)|0,g=g+Math.imul(ze,Zt)|0,v=v+Math.imul(wt,Jt)|0,r=(r=r+Math.imul(wt,qt)|0)+Math.imul(mt,Jt)|0,g=g+Math.imul(mt,qt)|0;var bi=(P+(v=v+Math.imul(ce,di)|0)|0)+((8191&(r=(r=r+Math.imul(ce,fi)|0)+Math.imul(Ge,di)|0))<<13)|0;P=((g=g+Math.imul(Ge,fi)|0)+(r>>>13)|0)+(bi>>>26)|0,bi&=67108863,v=Math.imul(Qe,ne),r=(r=Math.imul(Qe,Ie))+Math.imul(Et,ne)|0,g=Math.imul(Et,Ie),v=v+Math.imul(et,At)|0,r=(r=r+Math.imul(et,Zt)|0)+Math.imul(ke,At)|0,g=g+Math.imul(ke,Zt)|0,v=v+Math.imul(Ae,Jt)|0,r=(r=r+Math.imul(Ae,qt)|0)+Math.imul(ze,Jt)|0,g=g+Math.imul(ze,qt)|0;var ki=(P+(v=v+Math.imul(wt,di)|0)|0)+((8191&(r=(r=r+Math.imul(wt,fi)|0)+Math.imul(mt,di)|0))<<13)|0;P=((g=g+Math.imul(mt,fi)|0)+(r>>>13)|0)+(ki>>>26)|0,ki&=67108863,v=Math.imul(Qe,At),r=(r=Math.imul(Qe,Zt))+Math.imul(Et,At)|0,g=Math.imul(Et,Zt),v=v+Math.imul(et,Jt)|0,r=(r=r+Math.imul(et,qt)|0)+Math.imul(ke,Jt)|0,g=g+Math.imul(ke,qt)|0;var Bi=(P+(v=v+Math.imul(Ae,di)|0)|0)+((8191&(r=(r=r+Math.imul(Ae,fi)|0)+Math.imul(ze,di)|0))<<13)|0;P=((g=g+Math.imul(ze,fi)|0)+(r>>>13)|0)+(Bi>>>26)|0,Bi&=67108863,v=Math.imul(Qe,Jt),r=(r=Math.imul(Qe,qt))+Math.imul(Et,Jt)|0,g=Math.imul(Et,qt);var Vi=(P+(v=v+Math.imul(et,di)|0)|0)+((8191&(r=(r=r+Math.imul(et,fi)|0)+Math.imul(ke,di)|0))<<13)|0;P=((g=g+Math.imul(ke,fi)|0)+(r>>>13)|0)+(Vi>>>26)|0,Vi&=67108863;var jt=(P+(v=Math.imul(Qe,di))|0)+((8191&(r=(r=Math.imul(Qe,fi))+Math.imul(Et,di)|0))<<13)|0;return P=((g=Math.imul(Et,fi))+(r>>>13)|0)+(jt>>>26)|0,jt&=67108863,D[0]=un,D[1]=Qi,D[2]=xi,D[3]=sn,D[4]=ot,D[5]=si,D[6]=we,D[7]=St,D[8]=zt,D[9]=Dt,D[10]=Lt,D[11]=Bt,D[12]=ai,D[13]=vi,D[14]=bi,D[15]=ki,D[16]=Bi,D[17]=Vi,D[18]=jt,0!==P&&(D[19]=P,f.length++),f};function W(S,n,s){return(new K).mulp(S,n,s)}function K(S,n){this.x=S,this.y=n}Math.imul||(G=V),l.prototype.mulTo=function(n,s){var f,h=this.length+n.length;return f=10===this.length&&10===n.length?G(this,n,s):h<63?V(this,n,s):h<1024?function j(S,n,s){s.negative=n.negative^S.negative,s.length=S.length+n.length;for(var f=0,h=0,w=0;w<s.length-1;w++){var D=h;h=0;for(var P=67108863&f,v=Math.min(w,n.length-1),r=Math.max(0,w-S.length+1);r<=v;r++){var te=(0|S.words[w-r])*(0|n.words[r]),De=67108863&te;P=67108863&(De=De+P|0),h+=(D=(D=D+(te/67108864|0)|0)+(De>>>26)|0)>>>26,D&=67108863}s.words[w]=P,f=D,D=h}return 0!==f?s.words[w]=f:s.length--,s.strip()}(this,n,s):W(this,n,s),f},K.prototype.makeRBT=function(n){for(var s=new Array(n),f=l.prototype._countBits(n)-1,h=0;h<n;h++)s[h]=this.revBin(h,f,n);return s},K.prototype.revBin=function(n,s,f){if(0===n||n===f-1)return n;for(var h=0,w=0;w<s;w++)h|=(1&n)<<s-w-1,n>>=1;return h},K.prototype.permute=function(n,s,f,h,w,D){for(var P=0;P<D;P++)h[P]=s[n[P]],w[P]=f[n[P]]},K.prototype.transform=function(n,s,f,h,w,D){this.permute(D,n,s,f,h,w);for(var P=1;P<w;P<<=1)for(var v=P<<1,r=Math.cos(2*Math.PI/v),g=Math.sin(2*Math.PI/v),H=0;H<w;H+=v)for(var N=r,te=g,De=0;De<P;De++){var st=f[H+De],je=h[H+De],$e=f[H+De+P],ye=h[H+De+P],fe=N*$e-te*ye;ye=N*ye+te*$e,f[H+De]=st+($e=fe),h[H+De]=je+ye,f[H+De+P]=st-$e,h[H+De+P]=je-ye,De!==v&&(fe=r*N-g*te,te=r*te+g*N,N=fe)}},K.prototype.guessLen13b=function(n,s){var f=1|Math.max(s,n),h=1&f,w=0;for(f=f/2|0;f;f>>>=1)w++;return 1<<w+1+h},K.prototype.conjugate=function(n,s,f){if(!(f<=1))for(var h=0;h<f/2;h++){var w=n[h];n[h]=n[f-h-1],n[f-h-1]=w,w=s[h],s[h]=-s[f-h-1],s[f-h-1]=-w}},K.prototype.normalize13b=function(n,s){for(var f=0,h=0;h<s/2;h++){var w=8192*Math.round(n[2*h+1]/s)+Math.round(n[2*h]/s)+f;n[h]=67108863&w,f=w<67108864?0:w/67108864|0}return n},K.prototype.convert13b=function(n,s,f,h){for(var w=0,D=0;D<s;D++)f[2*D]=8191&(w+=0|n[D]),f[2*D+1]=8191&(w>>>=13),w>>>=13;for(D=2*s;D<h;++D)f[D]=0;y(0===w),y(0==(-8192&w))},K.prototype.stub=function(n){for(var s=new Array(n),f=0;f<n;f++)s[f]=0;return s},K.prototype.mulp=function(n,s,f){var h=2*this.guessLen13b(n.length,s.length),w=this.makeRBT(h),D=this.stub(h),P=new Array(h),v=new Array(h),r=new Array(h),g=new Array(h),H=new Array(h),N=new Array(h),te=f.words;te.length=h,this.convert13b(n.words,n.length,P,h),this.convert13b(s.words,s.length,g,h),this.transform(P,D,v,r,h,w),this.transform(g,D,H,N,h,w);for(var De=0;De<h;De++){var st=v[De]*H[De]-r[De]*N[De];r[De]=v[De]*N[De]+r[De]*H[De],v[De]=st}return this.conjugate(v,r,h),this.transform(v,r,te,D,h,w),this.conjugate(te,D,h),this.normalize13b(te,h),f.negative=n.negative^s.negative,f.length=n.length+s.length,f.strip()},l.prototype.mul=function(n){var s=new l(null);return s.words=new Array(this.length+n.length),this.mulTo(n,s)},l.prototype.mulf=function(n){var s=new l(null);return s.words=new Array(this.length+n.length),W(this,n,s)},l.prototype.imul=function(n){return this.clone().mulTo(n,this)},l.prototype.imuln=function(n){y("number"==typeof n),y(n<67108864);for(var s=0,f=0;f<this.length;f++){var h=(0|this.words[f])*n,w=(67108863&h)+(67108863&s);s>>=26,s+=h/67108864|0,s+=w>>>26,this.words[f]=67108863&w}return 0!==s&&(this.words[f]=s,this.length++),this},l.prototype.muln=function(n){return this.clone().imuln(n)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(n){var s=function k(S){for(var n=new Array(S.bitLength()),s=0;s<n.length;s++){var h=s%26;n[s]=(S.words[s/26|0]&1<<h)>>>h}return n}(n);if(0===s.length)return new l(1);for(var f=this,h=0;h<s.length&&0===s[h];h++,f=f.sqr());if(++h<s.length)for(var w=f.sqr();h<s.length;h++,w=w.sqr())0!==s[h]&&(f=f.mul(w));return f},l.prototype.iushln=function(n){y("number"==typeof n&&n>=0);var w,s=n%26,f=(n-s)/26,h=67108863>>>26-s<<26-s;if(0!==s){var D=0;for(w=0;w<this.length;w++){var P=this.words[w]&h;this.words[w]=(0|this.words[w])-P<<s|D,D=P>>>26-s}D&&(this.words[w]=D,this.length++)}if(0!==f){for(w=this.length-1;w>=0;w--)this.words[w+f]=this.words[w];for(w=0;w<f;w++)this.words[w]=0;this.length+=f}return this.strip()},l.prototype.ishln=function(n){return y(0===this.negative),this.iushln(n)},l.prototype.iushrn=function(n,s,f){var h;y("number"==typeof n&&n>=0),h=s?(s-s%26)/26:0;var w=n%26,D=Math.min((n-w)/26,this.length),P=67108863^67108863>>>w<<w,v=f;if(h-=D,h=Math.max(0,h),v){for(var r=0;r<D;r++)v.words[r]=this.words[r];v.length=D}if(0!==D)if(this.length>D)for(this.length-=D,r=0;r<this.length;r++)this.words[r]=this.words[r+D];else this.words[0]=0,this.length=1;var g=0;for(r=this.length-1;r>=0&&(0!==g||r>=h);r--){var H=0|this.words[r];this.words[r]=g<<26-w|H>>>w,g=H&P}return v&&0!==g&&(v.words[v.length++]=g),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,s,f){return y(0===this.negative),this.iushrn(n,s,f)},l.prototype.shln=function(n){return this.clone().ishln(n)},l.prototype.ushln=function(n){return this.clone().iushln(n)},l.prototype.shrn=function(n){return this.clone().ishrn(n)},l.prototype.ushrn=function(n){return this.clone().iushrn(n)},l.prototype.testn=function(n){y("number"==typeof n&&n>=0);var s=n%26,f=(n-s)/26;return!(this.length<=f||!(this.words[f]&1<<s))},l.prototype.imaskn=function(n){y("number"==typeof n&&n>=0);var s=n%26,f=(n-s)/26;return y(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==s&&f++,this.length=Math.min(f,this.length),0!==s&&(this.words[this.length-1]&=67108863^67108863>>>s<<s),this.strip())},l.prototype.maskn=function(n){return this.clone().imaskn(n)},l.prototype.iaddn=function(n){return y("number"==typeof n),y(n<67108864),n<0?this.isubn(-n):0!==this.negative?1===this.length&&(0|this.words[0])<n?(this.words[0]=n-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(n),this.negative=1,this):this._iaddn(n)},l.prototype._iaddn=function(n){this.words[0]+=n;for(var s=0;s<this.length&&this.words[s]>=67108864;s++)this.words[s]-=67108864,s===this.length-1?this.words[s+1]=1:this.words[s+1]++;return this.length=Math.max(this.length,s+1),this},l.prototype.isubn=function(n){if(y("number"==typeof n),y(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var s=0;s<this.length&&this.words[s]<0;s++)this.words[s]+=67108864,this.words[s+1]-=1;return this.strip()},l.prototype.addn=function(n){return this.clone().iaddn(n)},l.prototype.subn=function(n){return this.clone().isubn(n)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(n,s,f){var w;this._expand(n.length+f);var D,P=0;for(w=0;w<n.length;w++){D=(0|this.words[w+f])+P;var v=(0|n.words[w])*s;P=((D-=67108863&v)>>26)-(v/67108864|0),this.words[w+f]=67108863&D}for(;w<this.length-f;w++)P=(D=(0|this.words[w+f])+P)>>26,this.words[w+f]=67108863&D;if(0===P)return this.strip();for(y(-1===P),P=0,w=0;w<this.length;w++)P=(D=-(0|this.words[w])+P)>>26,this.words[w]=67108863&D;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,s){var f,h=this.clone(),w=n,D=0|w.words[w.length-1];0!=(f=26-this._countBits(D))&&(w=w.ushln(f),h.iushln(f),D=0|w.words[w.length-1]);var r,v=h.length-w.length;if("mod"!==s){(r=new l(null)).length=v+1,r.words=new Array(r.length);for(var g=0;g<r.length;g++)r.words[g]=0}var H=h.clone()._ishlnsubmul(w,1,v);0===H.negative&&(h=H,r&&(r.words[v]=1));for(var N=v-1;N>=0;N--){var te=67108864*(0|h.words[w.length+N])+(0|h.words[w.length+N-1]);for(te=Math.min(te/D|0,67108863),h._ishlnsubmul(w,te,N);0!==h.negative;)te--,h.negative=0,h._ishlnsubmul(w,1,N),h.isZero()||(h.negative^=1);r&&(r.words[N]=te)}return r&&r.strip(),h.strip(),"div"!==s&&0!==f&&h.iushrn(f),{div:r||null,mod:h}},l.prototype.divmod=function(n,s,f){return y(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(D=this.neg().divmod(n,s),"mod"!==s&&(h=D.div.neg()),"div"!==s&&(w=D.mod.neg(),f&&0!==w.negative&&w.iadd(n)),{div:h,mod:w}):0===this.negative&&0!==n.negative?(D=this.divmod(n.neg(),s),"mod"!==s&&(h=D.div.neg()),{div:h,mod:D.mod}):this.negative&n.negative?(D=this.neg().divmod(n.neg(),s),"div"!==s&&(w=D.mod.neg(),f&&0!==w.negative&&w.isub(n)),{div:D.div,mod:w}):n.length>this.length||this.cmp(n)<0?{div:new l(0),mod:this}:1===n.length?"div"===s?{div:this.divn(n.words[0]),mod:null}:"mod"===s?{div:null,mod:new l(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new l(this.modn(n.words[0]))}:this._wordDiv(n,s);var h,w,D},l.prototype.div=function(n){return this.divmod(n,"div",!1).div},l.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},l.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},l.prototype.divRound=function(n){var s=this.divmod(n);if(s.mod.isZero())return s.div;var f=0!==s.div.negative?s.mod.isub(n):s.mod,h=n.ushrn(1),w=n.andln(1),D=f.cmp(h);return D<0||1===w&&0===D?s.div:0!==s.div.negative?s.div.isubn(1):s.div.iaddn(1)},l.prototype.modn=function(n){y(n<=67108863);for(var s=(1<<26)%n,f=0,h=this.length-1;h>=0;h--)f=(s*f+(0|this.words[h]))%n;return f},l.prototype.idivn=function(n){y(n<=67108863);for(var s=0,f=this.length-1;f>=0;f--){var h=(0|this.words[f])+67108864*s;this.words[f]=h/n|0,s=h%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){y(0===n.negative),y(!n.isZero());var s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),w=new l(0),D=new l(0),P=new l(1),v=0;s.isEven()&&f.isEven();)s.iushrn(1),f.iushrn(1),++v;for(var r=f.clone(),g=s.clone();!s.isZero();){for(var H=0,N=1;!(s.words[0]&N)&&H<26;++H,N<<=1);if(H>0)for(s.iushrn(H);H-- >0;)(h.isOdd()||w.isOdd())&&(h.iadd(r),w.isub(g)),h.iushrn(1),w.iushrn(1);for(var te=0,De=1;!(f.words[0]&De)&&te<26;++te,De<<=1);if(te>0)for(f.iushrn(te);te-- >0;)(D.isOdd()||P.isOdd())&&(D.iadd(r),P.isub(g)),D.iushrn(1),P.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(D),w.isub(P)):(f.isub(s),D.isub(h),P.isub(w))}return{a:D,b:P,gcd:f.iushln(v)}},l.prototype._invmp=function(n){y(0===n.negative),y(!n.isZero());var H,s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),w=new l(0),D=f.clone();s.cmpn(1)>0&&f.cmpn(1)>0;){for(var P=0,v=1;!(s.words[0]&v)&&P<26;++P,v<<=1);if(P>0)for(s.iushrn(P);P-- >0;)h.isOdd()&&h.iadd(D),h.iushrn(1);for(var r=0,g=1;!(f.words[0]&g)&&r<26;++r,g<<=1);if(r>0)for(f.iushrn(r);r-- >0;)w.isOdd()&&w.iadd(D),w.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(w)):(f.isub(s),w.isub(h))}return(H=0===s.cmpn(1)?h:w).cmpn(0)<0&&H.iadd(n),H},l.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var s=this.clone(),f=n.clone();s.negative=0,f.negative=0;for(var h=0;s.isEven()&&f.isEven();h++)s.iushrn(1),f.iushrn(1);for(;;){for(;s.isEven();)s.iushrn(1);for(;f.isEven();)f.iushrn(1);var w=s.cmp(f);if(w<0){var D=s;s=f,f=D}else if(0===w||0===f.cmpn(1))break;s.isub(f)}return f.iushln(h)},l.prototype.invm=function(n){return this.egcd(n).a.umod(n)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(n){return this.words[0]&n},l.prototype.bincn=function(n){y("number"==typeof n);var s=n%26,f=(n-s)/26,h=1<<s;if(this.length<=f)return this._expand(f+1),this.words[f]|=h,this;for(var w=h,D=f;0!==w&&D<this.length;D++){var P=0|this.words[D];w=(P+=w)>>>26,this.words[D]=P&=67108863}return 0!==w&&(this.words[D]=w,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var f,s=n<0;if(0!==this.negative&&!s)return-1;if(0===this.negative&&s)return 1;if(this.strip(),this.length>1)f=1;else{s&&(n=-n),y(n<=67108863,"Number is too big");var h=0|this.words[0];f=h===n?0:h<n?-1:1}return 0!==this.negative?0|-f:f},l.prototype.cmp=function(n){if(0!==this.negative&&0===n.negative)return-1;if(0===this.negative&&0!==n.negative)return 1;var s=this.ucmp(n);return 0!==this.negative?0|-s:s},l.prototype.ucmp=function(n){if(this.length>n.length)return 1;if(this.length<n.length)return-1;for(var s=0,f=this.length-1;f>=0;f--){var h=0|this.words[f],w=0|n.words[f];if(h!==w){h<w?s=-1:h>w&&(s=1);break}}return s},l.prototype.gtn=function(n){return 1===this.cmpn(n)},l.prototype.gt=function(n){return 1===this.cmp(n)},l.prototype.gten=function(n){return this.cmpn(n)>=0},l.prototype.gte=function(n){return this.cmp(n)>=0},l.prototype.ltn=function(n){return-1===this.cmpn(n)},l.prototype.lt=function(n){return-1===this.cmp(n)},l.prototype.lten=function(n){return this.cmpn(n)<=0},l.prototype.lte=function(n){return this.cmp(n)<=0},l.prototype.eqn=function(n){return 0===this.cmpn(n)},l.prototype.eq=function(n){return 0===this.cmp(n)},l.red=function(n){return new $(n)},l.prototype.toRed=function(n){return y(!this.red,"Already a number in reduction context"),y(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return y(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(n){return this.red=n,this},l.prototype.forceRed=function(n){return y(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return y(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return y(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return y(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return y(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return y(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return y(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return y(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return y(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return y(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return y(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return y(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var q={k256:null,p224:null,p192:null,p25519:null};function ie(S,n){this.name=S,this.p=new l(n,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ae(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ue(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function re(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function xe(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function $(S){if("string"==typeof S){var n=l._prime(S);this.m=n.p,this.prime=n}else y(S.gtn(1),"modulus must be greater than 1"),this.m=S,this.prime=null}function he(S){$.call(this,S),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)}ie.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ie.prototype.ireduce=function(n){var f,s=n;do{this.split(s,this.tmp),f=(s=(s=this.imulK(s)).iadd(this.tmp)).bitLength()}while(f>this.n);var h=f<this.n?-1:s.ucmp(this.p);return 0===h?(s.words[0]=0,s.length=1):h>0?s.isub(this.p):void 0!==s.strip?s.strip():s._strip(),s},ie.prototype.split=function(n,s){n.iushrn(this.n,0,s)},ie.prototype.imulK=function(n){return n.imul(this.k)},A(ae,ie),ae.prototype.split=function(n,s){for(var f=4194303,h=Math.min(n.length,9),w=0;w<h;w++)s.words[w]=n.words[w];if(s.length=h,n.length<=9)return n.words[0]=0,void(n.length=1);var D=n.words[9];for(s.words[s.length++]=D&f,w=10;w<n.length;w++){var P=0|n.words[w];n.words[w-10]=(P&f)<<4|D>>>22,D=P}n.words[w-10]=D>>>=22,n.length-=0===D&&n.length>10?10:9},ae.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var s=0,f=0;f<n.length;f++){var h=0|n.words[f];n.words[f]=67108863&(s+=977*h),s=64*h+(s/67108864|0)}return 0===n.words[n.length-1]&&(n.length--,0===n.words[n.length-1]&&n.length--),n},A(ue,ie),A(re,ie),A(xe,ie),xe.prototype.imulK=function(n){for(var s=0,f=0;f<n.length;f++){var h=19*(0|n.words[f])+s,w=67108863&h;h>>>=26,n.words[f]=w,s=h}return 0!==s&&(n.words[n.length++]=s),n},l._prime=function(n){if(q[n])return q[n];var s;if("k256"===n)s=new ae;else if("p224"===n)s=new ue;else if("p192"===n)s=new re;else{if("p25519"!==n)throw new Error("Unknown prime "+n);s=new xe}return q[n]=s,s},$.prototype._verify1=function(n){y(0===n.negative,"red works only with positives"),y(n.red,"red works only with red numbers")},$.prototype._verify2=function(n,s){y(0==(n.negative|s.negative),"red works only with positives"),y(n.red&&n.red===s.red,"red works only with red numbers")},$.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},$.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},$.prototype.add=function(n,s){this._verify2(n,s);var f=n.add(s);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},$.prototype.iadd=function(n,s){this._verify2(n,s);var f=n.iadd(s);return f.cmp(this.m)>=0&&f.isub(this.m),f},$.prototype.sub=function(n,s){this._verify2(n,s);var f=n.sub(s);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},$.prototype.isub=function(n,s){this._verify2(n,s);var f=n.isub(s);return f.cmpn(0)<0&&f.iadd(this.m),f},$.prototype.shl=function(n,s){return this._verify1(n),this.imod(n.ushln(s))},$.prototype.imul=function(n,s){return this._verify2(n,s),this.imod(n.imul(s))},$.prototype.mul=function(n,s){return this._verify2(n,s),this.imod(n.mul(s))},$.prototype.isqr=function(n){return this.imul(n,n.clone())},$.prototype.sqr=function(n){return this.mul(n,n)},$.prototype.sqrt=function(n){if(n.isZero())return n.clone();var s=this.m.andln(3);if(y(s%2==1),3===s){var f=this.m.add(new l(1)).iushrn(2);return this.pow(n,f)}for(var h=this.m.subn(1),w=0;!h.isZero()&&0===h.andln(1);)w++,h.iushrn(1);y(!h.isZero());var D=new l(1).toRed(this),P=D.redNeg(),v=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,v).cmp(P);)r.redIAdd(P);for(var g=this.pow(r,h),H=this.pow(n,h.addn(1).iushrn(1)),N=this.pow(n,h),te=w;0!==N.cmp(D);){for(var De=N,st=0;0!==De.cmp(D);st++)De=De.redSqr();y(st<te);var je=this.pow(g,new l(1).iushln(te-st-1));H=H.redMul(je),g=je.redSqr(),N=N.redMul(g),te=st}return H},$.prototype.invm=function(n){var s=n._invmp(this.m);return 0!==s.negative?(s.negative=0,this.imod(s).redNeg()):this.imod(s)},$.prototype.pow=function(n,s){if(s.isZero())return new l(1).toRed(this);if(0===s.cmpn(1))return n.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=n;for(var w=2;w<h.length;w++)h[w]=this.mul(h[w-1],n);var D=h[0],P=0,v=0,r=s.bitLength()%26;for(0===r&&(r=26),w=s.length-1;w>=0;w--){for(var g=s.words[w],H=r-1;H>=0;H--){var N=g>>H&1;D!==h[0]&&(D=this.sqr(D)),0!==N||0!==P?(P<<=1,P|=N,(4==++v||0===w&&0===H)&&(D=this.mul(D,h[P]),v=0,P=0)):v=0}r=26}return D},$.prototype.convertTo=function(n){var s=n.umod(this.m);return s===n?s.clone():s},$.prototype.convertFrom=function(n){var s=n.clone();return s.red=null,s},l.mont=function(n){return new he(n)},A(he,$),he.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},he.prototype.convertFrom=function(n){var s=this.imod(n.mul(this.rinv));return s.red=null,s},he.prototype.imul=function(n,s){if(n.isZero()||s.isZero())return n.words[0]=0,n.length=1,n;var f=n.imul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),w=f.isub(h).iushrn(this.shift),D=w;return w.cmp(this.m)>=0?D=w.isub(this.m):w.cmpn(0)<0&&(D=w.iadd(this.m)),D._forceRed(this)},he.prototype.mul=function(n,s){if(n.isZero()||s.isZero())return new l(0)._forceRed(this);var f=n.mul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),w=f.isub(h).iushrn(this.shift),D=w;return w.cmp(this.m)>=0?D=w.isub(this.m):w.cmpn(0)<0&&(D=w.iadd(this.m)),D._forceRed(this)},he.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(He=p.nmd(He),this)},6119:He=>{"use strict";He.exports=function(p){for(var e=[],t=p.length,y=0;y<t;y++){var A=p.charCodeAt(y);if(A>=55296&&A<=56319&&t>y+1){var l=p.charCodeAt(y+1);l>=56320&&l<=57343&&(A=1024*(A-55296)+l-56320+65536,y+=1)}A<128?e.push(A):A<2048?(e.push(A>>6|192),e.push(63&A|128)):A<55296||A>=57344&&A<65536?(e.push(A>>12|224),e.push(A>>6&63|128),e.push(63&A|128)):A>=65536&&A<=1114111?(e.push(A>>18|240),e.push(A>>12&63|128),e.push(A>>6&63|128),e.push(63&A|128)):e.push(239,191,189)}return new Uint8Array(e).buffer}},2016:He=>{"use strict";var e,X="object"==typeof Reflect?Reflect:null,p=X&&"function"==typeof X.apply?X.apply:function(ie,ae,ue){return Function.prototype.apply.call(ie,ae,ue)};e=X&&"function"==typeof X.ownKeys?X.ownKeys:Object.getOwnPropertySymbols?function(ie){return Object.getOwnPropertyNames(ie).concat(Object.getOwnPropertySymbols(ie))}:function(ie){return Object.getOwnPropertyNames(ie)};var y=Number.isNaN||function(ie){return ie!=ie};function A(){A.init.call(this)}He.exports=A,He.exports.once=function j(q,ie){return new Promise(function(ae,ue){function re($){q.removeListener(ie,xe),ue($)}function xe(){"function"==typeof q.removeListener&&q.removeListener("error",re),ae([].slice.call(arguments))}K(q,ie,xe,{once:!0}),"error"!==ie&&function W(q,ie,ae){"function"==typeof q.on&&K(q,"error",ie,ae)}(q,re,{once:!0})})},A.EventEmitter=A,A.prototype._events=void 0,A.prototype._eventsCount=0,A.prototype._maxListeners=void 0;var l=10;function M(q){if("function"!=typeof q)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof q)}function m(q){return void 0===q._maxListeners?A.defaultMaxListeners:q._maxListeners}function O(q,ie,ae,ue){var re,xe,$;if(M(ae),void 0===(xe=q._events)?(xe=q._events=Object.create(null),q._eventsCount=0):(void 0!==xe.newListener&&(q.emit("newListener",ie,ae.listener?ae.listener:ae),xe=q._events),$=xe[ie]),void 0===$)$=xe[ie]=ae,++q._eventsCount;else if("function"==typeof $?$=xe[ie]=ue?[ae,$]:[$,ae]:ue?$.unshift(ae):$.push(ae),(re=m(q))>0&&$.length>re&&!$.warned){$.warned=!0;var he=new Error("Possible EventEmitter memory leak detected. "+$.length+" "+String(ie)+" listeners added. Use emitter.setMaxListeners() to increase limit");he.name="MaxListenersExceededWarning",he.emitter=q,he.type=ie,he.count=$.length,function t(q){console&&console.warn&&console.warn(q)}(he)}return q}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function E(q,ie,ae){var ue={fired:!1,wrapFn:void 0,target:q,type:ie,listener:ae},re=d.bind(ue);return re.listener=ae,ue.wrapFn=re,re}function x(q,ie,ae){var ue=q._events;if(void 0===ue)return[];var re=ue[ie];return void 0===re?[]:"function"==typeof re?ae?[re.listener||re]:[re]:ae?function G(q){for(var ie=new Array(q.length),ae=0;ae<ie.length;++ae)ie[ae]=q[ae].listener||q[ae];return ie}(re):k(re,re.length)}function I(q){var ie=this._events;if(void 0!==ie){var ae=ie[q];if("function"==typeof ae)return 1;if(void 0!==ae)return ae.length}return 0}function k(q,ie){for(var ae=new Array(ie),ue=0;ue<ie;++ue)ae[ue]=q[ue];return ae}function K(q,ie,ae,ue){if("function"==typeof q.on)ue.once?q.once(ie,ae):q.on(ie,ae);else{if("function"!=typeof q.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof q);q.addEventListener(ie,function re(xe){ue.once&&q.removeEventListener(ie,re),ae(xe)})}}Object.defineProperty(A,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(q){if("number"!=typeof q||q<0||y(q))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+q+".");l=q}}),A.init=function(){(void 0===this._events||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},A.prototype.setMaxListeners=function(ie){if("number"!=typeof ie||ie<0||y(ie))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+ie+".");return this._maxListeners=ie,this},A.prototype.getMaxListeners=function(){return m(this)},A.prototype.emit=function(ie){for(var ae=[],ue=1;ue<arguments.length;ue++)ae.push(arguments[ue]);var re="error"===ie,xe=this._events;if(void 0!==xe)re=re&&void 0===xe.error;else if(!re)return!1;if(re){var $;if(ae.length>0&&($=ae[0]),$ instanceof Error)throw $;var he=new Error("Unhandled error."+($?" ("+$.message+")":""));throw he.context=$,he}var S=xe[ie];if(void 0===S)return!1;if("function"==typeof S)p(S,this,ae);else{var n=S.length,s=k(S,n);for(ue=0;ue<n;++ue)p(s[ue],this,ae)}return!0},A.prototype.on=A.prototype.addListener=function(ie,ae){return O(this,ie,ae,!1)},A.prototype.prependListener=function(ie,ae){return O(this,ie,ae,!0)},A.prototype.once=function(ie,ae){return M(ae),this.on(ie,E(this,ie,ae)),this},A.prototype.prependOnceListener=function(ie,ae){return M(ae),this.prependListener(ie,E(this,ie,ae)),this},A.prototype.off=A.prototype.removeListener=function(ie,ae){var ue,re,xe,$,he;if(M(ae),void 0===(re=this._events))return this;if(void 0===(ue=re[ie]))return this;if(ue===ae||ue.listener===ae)0==--this._eventsCount?this._events=Object.create(null):(delete re[ie],re.removeListener&&this.emit("removeListener",ie,ue.listener||ae));else if("function"!=typeof ue){for(xe=-1,$=ue.length-1;$>=0;$--)if(ue[$]===ae||ue[$].listener===ae){he=ue[$].listener,xe=$;break}if(xe<0)return this;0===xe?ue.shift():function V(q,ie){for(;ie+1<q.length;ie++)q[ie]=q[ie+1];q.pop()}(ue,xe),1===ue.length&&(re[ie]=ue[0]),void 0!==re.removeListener&&this.emit("removeListener",ie,he||ae)}return this},A.prototype.removeAllListeners=function(ie){var ae,ue,re;if(void 0===(ue=this._events))return this;if(void 0===ue.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==ue[ie]&&(0==--this._eventsCount?this._events=Object.create(null):delete ue[ie]),this;if(0===arguments.length){var $,xe=Object.keys(ue);for(re=0;re<xe.length;++re)"removeListener"!==($=xe[re])&&this.removeAllListeners($);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(ae=ue[ie]))this.removeListener(ie,ae);else if(void 0!==ae)for(re=ae.length-1;re>=0;re--)this.removeListener(ie,ae[re]);return this},A.prototype.listeners=function(ie){return x(this,ie,!0)},A.prototype.rawListeners=function(ie){return x(this,ie,!1)},A.listenerCount=function(q,ie){return"function"==typeof q.listenerCount?q.listenerCount(ie):I.call(q,ie)},A.prototype.listenerCount=I,A.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]}},6505:(He,X,p)=>{var e=p(843).Buffer,t=p(5829);He.exports=function y(A,l,M,m){if(e.isBuffer(A)||(A=e.from(A,"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 O=M/8,d=e.alloc(O),E=e.alloc(m||0),x=e.alloc(0);O>0||m>0;){var I=new t;I.update(x),I.update(A),l&&I.update(l),x=I.digest();var k=0;if(O>0){var V=d.length-O;k=Math.min(O,x.length),x.copy(d,V,0,k),O-=k}if(k<x.length&&m>0){var G=E.length-m,j=Math.min(m,x.length-k);x.copy(E,G,k,k+j),m-=j}}return x.fill(0),{key:d,iv:E}}},380:(He,X,p)=>{"use strict";var e=p(843).Buffer,t=p(6745).Transform;function l(M){t.call(this),this._block=e.allocUnsafe(M),this._blockSize=M,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}p(6698)(l,t),l.prototype._transform=function(M,m,O){var d=null;try{this.update(M,m)}catch(E){d=E}O(d)},l.prototype._flush=function(M){var m=null;try{this.push(this.digest())}catch(O){m=O}M(m)},l.prototype.update=function(M,m){if(function A(M,m){if(!e.isBuffer(M)&&"string"!=typeof M)throw new TypeError(m+" must be a string or a buffer")}(M,"Data"),this._finalized)throw new Error("Digest already called");e.isBuffer(M)||(M=e.from(M,m));for(var O=this._block,d=0;this._blockOffset+M.length-d>=this._blockSize;){for(var E=this._blockOffset;E<this._blockSize;)O[E++]=M[d++];this._update(),this._blockOffset=0}for(;d<M.length;)O[this._blockOffset++]=M[d++];for(var x=0,I=8*M.length;I>0;++x)this._length[x]+=I,(I=this._length[x]/4294967296|0)>0&&(this._length[x]-=4294967296*I);return this},l.prototype._update=function(){throw new Error("_update is not implemented")},l.prototype.digest=function(M){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var m=this._digest();void 0!==M&&(m=m.toString(M)),this._block.fill(0),this._blockOffset=0;for(var O=0;O<4;++O)this._length[O]=0;return m},l.prototype._digest=function(){throw new Error("_digest is not implemented")},He.exports=l},1076:(He,X,p)=>{var e=X;e.utils=p(9875),e.common=p(2085),e.sha=p(7658),e.ripemd=p(8344),e.hmac=p(6192),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},2085:(He,X,p)=>{"use strict";var e=p(9875),t=p(7798);function y(){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}X.BlockHash=y,y.prototype.update=function(l,M){if(l=e.toArray(l,M),this.pending=this.pending?this.pending.concat(l):l,this.pendingTotal+=l.length,this.pending.length>=this._delta8){var m=(l=this.pending).length%this._delta8;this.pending=l.slice(l.length-m,l.length),0===this.pending.length&&(this.pending=null),l=e.join32(l,0,l.length-m,this.endian);for(var O=0;O<l.length;O+=this._delta32)this._update(l,O,O+this._delta32)}return this},y.prototype.digest=function(l){return this.update(this._pad()),t(null===this.pending),this._digest(l)},y.prototype._pad=function(){var l=this.pendingTotal,M=this._delta8,m=M-(l+this.padLength)%M,O=new Array(m+this.padLength);O[0]=128;for(var d=1;d<m;d++)O[d]=0;if(l<<=3,"big"===this.endian){for(var E=8;E<this.padLength;E++)O[d++]=0;O[d++]=0,O[d++]=0,O[d++]=0,O[d++]=0,O[d++]=l>>>24&255,O[d++]=l>>>16&255,O[d++]=l>>>8&255,O[d++]=255&l}else for(O[d++]=255&l,O[d++]=l>>>8&255,O[d++]=l>>>16&255,O[d++]=l>>>24&255,O[d++]=0,O[d++]=0,O[d++]=0,O[d++]=0,E=8;E<this.padLength;E++)O[d++]=0;return O}},6192:(He,X,p)=>{"use strict";var e=p(9875),t=p(7798);function y(A,l,M){if(!(this instanceof y))return new y(A,l,M);this.Hash=A,this.blockSize=A.blockSize/8,this.outSize=A.outSize/8,this.inner=null,this.outer=null,this._init(e.toArray(l,M))}He.exports=y,y.prototype._init=function(l){l.length>this.blockSize&&(l=(new this.Hash).update(l).digest()),t(l.length<=this.blockSize);for(var M=l.length;M<this.blockSize;M++)l.push(0);for(M=0;M<l.length;M++)l[M]^=54;for(this.inner=(new this.Hash).update(l),M=0;M<l.length;M++)l[M]^=106;this.outer=(new this.Hash).update(l)},y.prototype.update=function(l,M){return this.inner.update(l,M),this},y.prototype.digest=function(l){return this.outer.update(this.inner.digest()),this.outer.digest(l)}},8344:(He,X,p)=>{"use strict";var e=p(9875),t=p(2085),y=e.rotl32,A=e.sum32,l=e.sum32_3,M=e.sum32_4,m=t.BlockHash;function O(){if(!(this instanceof O))return new O;m.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function d(j,W,K,q){return j<=15?W^K^q:j<=31?W&K|~W&q:j<=47?(W|~K)^q:j<=63?W&q|K&~q:W^(K|~q)}function x(j){return j<=15?1352829926:j<=31?1548603684:j<=47?1836072691:j<=63?2053994217:0}e.inherits(O,m),X.ripemd160=O,O.blockSize=512,O.outSize=160,O.hmacStrength=192,O.padLength=64,O.prototype._update=function(W,K){for(var q=this.h[0],ie=this.h[1],ae=this.h[2],ue=this.h[3],re=this.h[4],xe=q,$=ie,he=ae,S=ue,n=re,s=0;s<80;s++){var f=A(y(M(q,d(s,ie,ae,ue),W[I[s]+K],(j=s)<=15?0:j<=31?1518500249:j<=47?1859775393:j<=63?2400959708:2840853838),V[s]),re);q=re,re=ue,ue=y(ae,10),ae=ie,ie=f,f=A(y(M(xe,d(79-s,$,he,S),W[k[s]+K],x(s)),G[s]),n),xe=n,n=S,S=y(he,10),he=$,$=f}var j;f=l(this.h[1],ae,S),this.h[1]=l(this.h[2],ue,n),this.h[2]=l(this.h[3],re,xe),this.h[3]=l(this.h[4],q,$),this.h[4]=l(this.h[0],ie,he),this.h[0]=f},O.prototype._digest=function(W){return"hex"===W?e.toHex32(this.h,"little"):e.split32(this.h,"little")};var I=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],k=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],V=[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],G=[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]},7658:(He,X,p)=>{"use strict";X.sha1=p(5010),X.sha224=p(3578),X.sha256=p(7857),X.sha384=p(8723),X.sha512=p(5304)},5010:(He,X,p)=>{"use strict";var e=p(9875),t=p(2085),y=p(7221),A=e.rotl32,l=e.sum32,M=e.sum32_5,m=y.ft_1,O=t.BlockHash,d=[1518500249,1859775393,2400959708,3395469782];function E(){if(!(this instanceof E))return new E;O.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}e.inherits(E,O),He.exports=E,E.blockSize=512,E.outSize=160,E.hmacStrength=80,E.padLength=64,E.prototype._update=function(I,k){for(var V=this.W,G=0;G<16;G++)V[G]=I[k+G];for(;G<V.length;G++)V[G]=A(V[G-3]^V[G-8]^V[G-14]^V[G-16],1);var j=this.h[0],W=this.h[1],K=this.h[2],q=this.h[3],ie=this.h[4];for(G=0;G<V.length;G++){var ae=~~(G/20),ue=M(A(j,5),m(ae,W,K,q),ie,V[G],d[ae]);ie=q,q=K,K=A(W,30),W=j,j=ue}this.h[0]=l(this.h[0],j),this.h[1]=l(this.h[1],W),this.h[2]=l(this.h[2],K),this.h[3]=l(this.h[3],q),this.h[4]=l(this.h[4],ie)},E.prototype._digest=function(I){return"hex"===I?e.toHex32(this.h,"big"):e.split32(this.h,"big")}},3578:(He,X,p)=>{"use strict";var e=p(9875),t=p(7857);function y(){if(!(this instanceof y))return new y;t.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}e.inherits(y,t),He.exports=y,y.blockSize=512,y.outSize=224,y.hmacStrength=192,y.padLength=64,y.prototype._digest=function(l){return"hex"===l?e.toHex32(this.h.slice(0,7),"big"):e.split32(this.h.slice(0,7),"big")}},7857:(He,X,p)=>{"use strict";var e=p(9875),t=p(2085),y=p(7221),A=p(7798),l=e.sum32,M=e.sum32_4,m=e.sum32_5,O=y.ch32,d=y.maj32,E=y.s0_256,x=y.s1_256,I=y.g0_256,k=y.g1_256,V=t.BlockHash,G=[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 j(){if(!(this instanceof j))return new j;V.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=G,this.W=new Array(64)}e.inherits(j,V),He.exports=j,j.blockSize=512,j.outSize=256,j.hmacStrength=192,j.padLength=64,j.prototype._update=function(K,q){for(var ie=this.W,ae=0;ae<16;ae++)ie[ae]=K[q+ae];for(;ae<ie.length;ae++)ie[ae]=M(k(ie[ae-2]),ie[ae-7],I(ie[ae-15]),ie[ae-16]);var ue=this.h[0],re=this.h[1],xe=this.h[2],$=this.h[3],he=this.h[4],S=this.h[5],n=this.h[6],s=this.h[7];for(A(this.k.length===ie.length),ae=0;ae<ie.length;ae++){var f=m(s,x(he),O(he,S,n),this.k[ae],ie[ae]),h=l(E(ue),d(ue,re,xe));s=n,n=S,S=he,he=l($,f),$=xe,xe=re,re=ue,ue=l(f,h)}this.h[0]=l(this.h[0],ue),this.h[1]=l(this.h[1],re),this.h[2]=l(this.h[2],xe),this.h[3]=l(this.h[3],$),this.h[4]=l(this.h[4],he),this.h[5]=l(this.h[5],S),this.h[6]=l(this.h[6],n),this.h[7]=l(this.h[7],s)},j.prototype._digest=function(K){return"hex"===K?e.toHex32(this.h,"big"):e.split32(this.h,"big")}},8723:(He,X,p)=>{"use strict";var e=p(9875),t=p(5304);function y(){if(!(this instanceof y))return new y;t.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}e.inherits(y,t),He.exports=y,y.blockSize=1024,y.outSize=384,y.hmacStrength=192,y.padLength=128,y.prototype._digest=function(l){return"hex"===l?e.toHex32(this.h.slice(0,12),"big"):e.split32(this.h.slice(0,12),"big")}},5304:(He,X,p)=>{"use strict";var e=p(9875),t=p(2085),y=p(7798),A=e.rotr64_hi,l=e.rotr64_lo,M=e.shr64_hi,m=e.shr64_lo,O=e.sum64,d=e.sum64_hi,E=e.sum64_lo,x=e.sum64_4_hi,I=e.sum64_4_lo,k=e.sum64_5_hi,V=e.sum64_5_lo,G=t.BlockHash,j=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function W(){if(!(this instanceof W))return new W;G.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=j,this.W=new Array(160)}function K(f,h,w,D,P){var v=f&w^~f&P;return v<0&&(v+=4294967296),v}function q(f,h,w,D,P,v){var r=h&D^~h&v;return r<0&&(r+=4294967296),r}function ie(f,h,w,D,P){var v=f&w^f&P^w&P;return v<0&&(v+=4294967296),v}function ae(f,h,w,D,P,v){var r=h&D^h&v^D&v;return r<0&&(r+=4294967296),r}function ue(f,h){var v=A(f,h,28)^A(h,f,2)^A(h,f,7);return v<0&&(v+=4294967296),v}function re(f,h){var v=l(f,h,28)^l(h,f,2)^l(h,f,7);return v<0&&(v+=4294967296),v}function xe(f,h){var v=A(f,h,14)^A(f,h,18)^A(h,f,9);return v<0&&(v+=4294967296),v}function $(f,h){var v=l(f,h,14)^l(f,h,18)^l(h,f,9);return v<0&&(v+=4294967296),v}function he(f,h){var v=A(f,h,1)^A(f,h,8)^M(f,h,7);return v<0&&(v+=4294967296),v}function S(f,h){var v=l(f,h,1)^l(f,h,8)^m(f,h,7);return v<0&&(v+=4294967296),v}function n(f,h){var v=A(f,h,19)^A(h,f,29)^M(f,h,6);return v<0&&(v+=4294967296),v}function s(f,h){var v=l(f,h,19)^l(h,f,29)^m(f,h,6);return v<0&&(v+=4294967296),v}e.inherits(W,G),He.exports=W,W.blockSize=1024,W.outSize=512,W.hmacStrength=192,W.padLength=128,W.prototype._prepareBlock=function(h,w){for(var D=this.W,P=0;P<32;P++)D[P]=h[w+P];for(;P<D.length;P+=2){var v=n(D[P-4],D[P-3]),r=s(D[P-4],D[P-3]),g=D[P-14],H=D[P-13],N=he(D[P-30],D[P-29]),te=S(D[P-30],D[P-29]),De=D[P-32],st=D[P-31];D[P]=x(v,r,g,H,N,te,De,st),D[P+1]=I(v,r,g,H,N,te,De,st)}},W.prototype._update=function(h,w){this._prepareBlock(h,w);var D=this.W,P=this.h[0],v=this.h[1],r=this.h[2],g=this.h[3],H=this.h[4],N=this.h[5],te=this.h[6],De=this.h[7],st=this.h[8],je=this.h[9],$e=this.h[10],ye=this.h[11],fe=this.h[12],de=this.h[13],Ce=this.h[14],le=this.h[15];y(this.k.length===D.length);for(var ge=0;ge<D.length;ge+=2){var qe=Ce,oe=le,ve=xe(st,je),ce=$(st,je),Ge=K(st,0,$e,0,fe),Ze=q(0,je,0,ye,0,de),wt=this.k[ge],mt=this.k[ge+1],kt=D[ge],Ae=D[ge+1],ze=k(qe,oe,ve,ce,Ge,Ze,wt,mt,kt,Ae),nt=V(qe,oe,ve,ce,Ge,Ze,wt,mt,kt,Ae);qe=ue(P,v),oe=re(P,v),ve=ie(P,0,r,0,H),ce=ae(0,v,0,g,0,N);var et=d(qe,oe,ve,ce),ke=E(qe,oe,ve,ce);Ce=fe,le=de,fe=$e,de=ye,$e=st,ye=je,st=d(te,De,ze,nt),je=E(De,De,ze,nt),te=H,De=N,H=r,N=g,r=P,g=v,P=d(ze,nt,et,ke),v=E(ze,nt,et,ke)}O(this.h,0,P,v),O(this.h,2,r,g),O(this.h,4,H,N),O(this.h,6,te,De),O(this.h,8,st,je),O(this.h,10,$e,ye),O(this.h,12,fe,de),O(this.h,14,Ce,le)},W.prototype._digest=function(h){return"hex"===h?e.toHex32(this.h,"big"):e.split32(this.h,"big")}},7221:(He,X,p)=>{"use strict";var t=p(9875).rotr32;function A(x,I,k){return x&I^~x&k}function l(x,I,k){return x&I^x&k^I&k}function M(x,I,k){return x^I^k}X.ft_1=function y(x,I,k,V){return 0===x?A(I,k,V):1===x||3===x?M(I,k,V):2===x?l(I,k,V):void 0},X.ch32=A,X.maj32=l,X.p32=M,X.s0_256=function m(x){return t(x,2)^t(x,13)^t(x,22)},X.s1_256=function O(x){return t(x,6)^t(x,11)^t(x,25)},X.g0_256=function d(x){return t(x,7)^t(x,18)^x>>>3},X.g1_256=function E(x){return t(x,17)^t(x,19)^x>>>10}},9875:(He,X,p)=>{"use strict";var e=p(7798),t=p(6698);function y(s,f){return!(55296!=(64512&s.charCodeAt(f))||f<0||f+1>=s.length)&&56320==(64512&s.charCodeAt(f+1))}function M(s){return(s>>>24|s>>>8&65280|s<<8&16711680|(255&s)<<24)>>>0}function O(s){return 1===s.length?"0"+s:s}function d(s){return 7===s.length?"0"+s:6===s.length?"00"+s:5===s.length?"000"+s:4===s.length?"0000"+s:3===s.length?"00000"+s:2===s.length?"000000"+s:1===s.length?"0000000"+s:s}X.inherits=t,X.toArray=function A(s,f){if(Array.isArray(s))return s.slice();if(!s)return[];var h=[];if("string"==typeof s)if(f){if("hex"===f)for((s=s.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(s="0"+s),D=0;D<s.length;D+=2)h.push(parseInt(s[D]+s[D+1],16))}else for(var w=0,D=0;D<s.length;D++){var P=s.charCodeAt(D);P<128?h[w++]=P:P<2048?(h[w++]=P>>6|192,h[w++]=63&P|128):y(s,D)?(P=65536+((1023&P)<<10)+(1023&s.charCodeAt(++D)),h[w++]=P>>18|240,h[w++]=P>>12&63|128,h[w++]=P>>6&63|128,h[w++]=63&P|128):(h[w++]=P>>12|224,h[w++]=P>>6&63|128,h[w++]=63&P|128)}else for(D=0;D<s.length;D++)h[D]=0|s[D];return h},X.toHex=function l(s){for(var f="",h=0;h<s.length;h++)f+=O(s[h].toString(16));return f},X.htonl=M,X.toHex32=function m(s,f){for(var h="",w=0;w<s.length;w++){var D=s[w];"little"===f&&(D=M(D)),h+=d(D.toString(16))}return h},X.zero2=O,X.zero8=d,X.join32=function E(s,f,h,w){var D=h-f;e(D%4==0);for(var P=new Array(D/4),v=0,r=f;v<P.length;v++,r+=4)P[v]=("big"===w?s[r]<<24|s[r+1]<<16|s[r+2]<<8|s[r+3]:s[r+3]<<24|s[r+2]<<16|s[r+1]<<8|s[r])>>>0;return P},X.split32=function x(s,f){for(var h=new Array(4*s.length),w=0,D=0;w<s.length;w++,D+=4){var P=s[w];"big"===f?(h[D]=P>>>24,h[D+1]=P>>>16&255,h[D+2]=P>>>8&255,h[D+3]=255&P):(h[D+3]=P>>>24,h[D+2]=P>>>16&255,h[D+1]=P>>>8&255,h[D]=255&P)}return h},X.rotr32=function I(s,f){return s>>>f|s<<32-f},X.rotl32=function k(s,f){return s<<f|s>>>32-f},X.sum32=function V(s,f){return s+f>>>0},X.sum32_3=function G(s,f,h){return s+f+h>>>0},X.sum32_4=function j(s,f,h,w){return s+f+h+w>>>0},X.sum32_5=function W(s,f,h,w,D){return s+f+h+w+D>>>0},X.sum64=function K(s,f,h,w){var v=w+s[f+1]>>>0;s[f]=(v<w?1:0)+h+s[f]>>>0,s[f+1]=v},X.sum64_hi=function q(s,f,h,w){return(f+w>>>0<f?1:0)+s+h>>>0},X.sum64_lo=function ie(s,f,h,w){return f+w>>>0},X.sum64_4_hi=function ae(s,f,h,w,D,P,v,r){var g=0,H=f;return g+=(H=H+w>>>0)<f?1:0,g+=(H=H+P>>>0)<P?1:0,s+h+D+v+(g+=(H=H+r>>>0)<r?1:0)>>>0},X.sum64_4_lo=function ue(s,f,h,w,D,P,v,r){return f+w+P+r>>>0},X.sum64_5_hi=function re(s,f,h,w,D,P,v,r,g,H){var N=0,te=f;return N+=(te=te+w>>>0)<f?1:0,N+=(te=te+P>>>0)<P?1:0,N+=(te=te+r>>>0)<r?1:0,s+h+D+v+g+(N+=(te=te+H>>>0)<H?1:0)>>>0},X.sum64_5_lo=function xe(s,f,h,w,D,P,v,r,g,H){return f+w+P+r+H>>>0},X.rotr64_hi=function $(s,f,h){return(f<<32-h|s>>>h)>>>0},X.rotr64_lo=function he(s,f,h){return(s<<32-h|f>>>h)>>>0},X.shr64_hi=function S(s,f,h){return s>>>h},X.shr64_lo=function n(s,f,h){return(s<<32-h|f>>>h)>>>0}},2447:(He,X,p)=>{"use strict";var e=p(1076),t=p(8247),y=p(7798);function A(l){if(!(this instanceof A))return new A(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 M=t.toArray(l.entropy,l.entropyEnc||"hex"),m=t.toArray(l.nonce,l.nonceEnc||"hex"),O=t.toArray(l.pers,l.persEnc||"hex");y(M.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(M,m,O)}He.exports=A,A.prototype._init=function(M,m,O){var d=M.concat(m).concat(O);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var E=0;E<this.V.length;E++)this.K[E]=0,this.V[E]=1;this._update(d),this._reseed=1,this.reseedInterval=281474976710656},A.prototype._hmac=function(){return new e.hmac(this.hash,this.K)},A.prototype._update=function(M){var m=this._hmac().update(this.V).update([0]);M&&(m=m.update(M)),this.K=m.digest(),this.V=this._hmac().update(this.V).digest(),M&&(this.K=this._hmac().update(this.V).update([1]).update(M).digest(),this.V=this._hmac().update(this.V).digest())},A.prototype.reseed=function(M,m,O,d){"string"!=typeof m&&(d=O,O=m,m=null),M=t.toArray(M,m),O=t.toArray(O,d),y(M.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(M.concat(O||[])),this._reseed=1},A.prototype.generate=function(M,m,O,d){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof m&&(d=O,O=m,m=null),O&&(O=t.toArray(O,d||"hex"),this._update(O));for(var E=[];E.length<M;)this.V=this._hmac().update(this.V).digest(),E=E.concat(this.V);var x=E.slice(0,M);return this._update(O),this._reseed++,t.encode(x,m)}},2601:(He,X)=>{X.read=function(p,e,t,y,A){var l,M,m=8*A-y-1,O=(1<<m)-1,d=O>>1,E=-7,x=t?A-1:0,I=t?-1:1,k=p[e+x];for(x+=I,l=k&(1<<-E)-1,k>>=-E,E+=m;E>0;l=256*l+p[e+x],x+=I,E-=8);for(M=l&(1<<-E)-1,l>>=-E,E+=y;E>0;M=256*M+p[e+x],x+=I,E-=8);if(0===l)l=1-d;else{if(l===O)return M?NaN:1/0*(k?-1:1);M+=Math.pow(2,y),l-=d}return(k?-1:1)*M*Math.pow(2,l-y)},X.write=function(p,e,t,y,A,l){var M,m,O,d=8*l-A-1,E=(1<<d)-1,x=E>>1,I=23===A?Math.pow(2,-24)-Math.pow(2,-77):0,k=y?0:l-1,V=y?1:-1,G=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(m=isNaN(e)?1:0,M=E):(M=Math.floor(Math.log(e)/Math.LN2),e*(O=Math.pow(2,-M))<1&&(M--,O*=2),(e+=M+x>=1?I/O:I*Math.pow(2,1-x))*O>=2&&(M++,O/=2),M+x>=E?(m=0,M=E):M+x>=1?(m=(e*O-1)*Math.pow(2,A),M+=x):(m=e*Math.pow(2,x-1)*Math.pow(2,A),M=0));A>=8;p[t+k]=255&m,k+=V,m/=256,A-=8);for(M=M<<A|m,d+=A;d>0;p[t+k]=255&M,k+=V,M/=256,d-=8);p[t+k-V]|=128*G}},6698:He=>{He.exports="function"==typeof Object.create?function(p,e){e&&(p.super_=e,p.prototype=Object.create(e.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}))}:function(p,e){if(e){p.super_=e;var t=function(){};t.prototype=e.prototype,p.prototype=new t,p.prototype.constructor=p}}},5829:(He,X,p)=>{"use strict";var e=p(6698),t=p(380),y=p(843).Buffer,A=new Array(16);function l(){t.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function M(x,I){return x<<I|x>>>32-I}function m(x,I,k,V,G,j,W){return M(x+(I&k|~I&V)+G+j|0,W)+I|0}function O(x,I,k,V,G,j,W){return M(x+(I&V|k&~V)+G+j|0,W)+I|0}function d(x,I,k,V,G,j,W){return M(x+(I^k^V)+G+j|0,W)+I|0}function E(x,I,k,V,G,j,W){return M(x+(k^(I|~V))+G+j|0,W)+I|0}e(l,t),l.prototype._update=function(){for(var x=A,I=0;I<16;++I)x[I]=this._block.readInt32LE(4*I);var k=this._a,V=this._b,G=this._c,j=this._d;k=m(k,V,G,j,x[0],3614090360,7),j=m(j,k,V,G,x[1],3905402710,12),G=m(G,j,k,V,x[2],606105819,17),V=m(V,G,j,k,x[3],3250441966,22),k=m(k,V,G,j,x[4],4118548399,7),j=m(j,k,V,G,x[5],1200080426,12),G=m(G,j,k,V,x[6],2821735955,17),V=m(V,G,j,k,x[7],4249261313,22),k=m(k,V,G,j,x[8],1770035416,7),j=m(j,k,V,G,x[9],2336552879,12),G=m(G,j,k,V,x[10],4294925233,17),V=m(V,G,j,k,x[11],2304563134,22),k=m(k,V,G,j,x[12],1804603682,7),j=m(j,k,V,G,x[13],4254626195,12),G=m(G,j,k,V,x[14],2792965006,17),k=O(k,V=m(V,G,j,k,x[15],1236535329,22),G,j,x[1],4129170786,5),j=O(j,k,V,G,x[6],3225465664,9),G=O(G,j,k,V,x[11],643717713,14),V=O(V,G,j,k,x[0],3921069994,20),k=O(k,V,G,j,x[5],3593408605,5),j=O(j,k,V,G,x[10],38016083,9),G=O(G,j,k,V,x[15],3634488961,14),V=O(V,G,j,k,x[4],3889429448,20),k=O(k,V,G,j,x[9],568446438,5),j=O(j,k,V,G,x[14],3275163606,9),G=O(G,j,k,V,x[3],4107603335,14),V=O(V,G,j,k,x[8],1163531501,20),k=O(k,V,G,j,x[13],2850285829,5),j=O(j,k,V,G,x[2],4243563512,9),G=O(G,j,k,V,x[7],1735328473,14),k=d(k,V=O(V,G,j,k,x[12],2368359562,20),G,j,x[5],4294588738,4),j=d(j,k,V,G,x[8],2272392833,11),G=d(G,j,k,V,x[11],1839030562,16),V=d(V,G,j,k,x[14],4259657740,23),k=d(k,V,G,j,x[1],2763975236,4),j=d(j,k,V,G,x[4],1272893353,11),G=d(G,j,k,V,x[7],4139469664,16),V=d(V,G,j,k,x[10],3200236656,23),k=d(k,V,G,j,x[13],681279174,4),j=d(j,k,V,G,x[0],3936430074,11),G=d(G,j,k,V,x[3],3572445317,16),V=d(V,G,j,k,x[6],76029189,23),k=d(k,V,G,j,x[9],3654602809,4),j=d(j,k,V,G,x[12],3873151461,11),G=d(G,j,k,V,x[15],530742520,16),k=E(k,V=d(V,G,j,k,x[2],3299628645,23),G,j,x[0],4096336452,6),j=E(j,k,V,G,x[7],1126891415,10),G=E(G,j,k,V,x[14],2878612391,15),V=E(V,G,j,k,x[5],4237533241,21),k=E(k,V,G,j,x[12],1700485571,6),j=E(j,k,V,G,x[3],2399980690,10),G=E(G,j,k,V,x[10],4293915773,15),V=E(V,G,j,k,x[1],2240044497,21),k=E(k,V,G,j,x[8],1873313359,6),j=E(j,k,V,G,x[15],4264355552,10),G=E(G,j,k,V,x[6],2734768916,15),V=E(V,G,j,k,x[13],1309151649,21),k=E(k,V,G,j,x[4],4149444226,6),j=E(j,k,V,G,x[11],3174756917,10),G=E(G,j,k,V,x[2],718787259,15),V=E(V,G,j,k,x[9],3951481745,21),this._a=this._a+k|0,this._b=this._b+V|0,this._c=this._c+G|0,this._d=this._d+j|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 x=y.allocUnsafe(16);return x.writeInt32LE(this._a,0),x.writeInt32LE(this._b,4),x.writeInt32LE(this._c,8),x.writeInt32LE(this._d,12),x},He.exports=l},8606:(He,X,p)=>{var e=p(303),t=p(82);function y(A){this.rand=A||new t.Rand}He.exports=y,y.create=function(l){return new y(l)},y.prototype._randbelow=function(l){var M=l.bitLength(),m=Math.ceil(M/8);do{var O=new e(this.rand.generate(m))}while(O.cmp(l)>=0);return O},y.prototype._randrange=function(l,M){var m=M.sub(l);return l.add(this._randbelow(m))},y.prototype.test=function(l,M,m){var O=l.bitLength(),d=e.mont(l),E=new e(1).toRed(d);M||(M=Math.max(1,O/48|0));for(var x=l.subn(1),I=0;!x.testn(I);I++);for(var k=l.shrn(I),V=x.toRed(d);M>0;M--){var j=this._randrange(new e(2),x);m&&m(j);var W=j.toRed(d).redPow(k);if(0!==W.cmp(E)&&0!==W.cmp(V)){for(var K=1;K<I;K++){if(0===(W=W.redSqr()).cmp(E))return!1;if(0===W.cmp(V))break}if(K===I)return!1}}return!0},y.prototype.getDivisor=function(l,M){var m=l.bitLength(),O=e.mont(l),d=new e(1).toRed(O);M||(M=Math.max(1,m/48|0));for(var E=l.subn(1),x=0;!E.testn(x);x++);for(var I=l.shrn(x),k=E.toRed(O);M>0;M--){var V=this._randrange(new e(2),E),G=l.gcd(V);if(0!==G.cmpn(1))return G;var j=V.toRed(O).redPow(I);if(0!==j.cmp(d)&&0!==j.cmp(k)){for(var W=1;W<x;W++){if(0===(j=j.redSqr()).cmp(d))return j.fromRed().subn(1).gcd(l);if(0===j.cmp(k))break}if(W===x)return(j=j.redSqr()).fromRed().subn(1).gcd(l)}}return!1}},303:function(He,X,p){!function(e,t){"use strict";function y(S,n){if(!S)throw new Error(n||"Assertion failed")}function A(S,n){S.super_=n;var s=function(){};s.prototype=n.prototype,S.prototype=new s,S.prototype.constructor=S}function l(S,n,s){if(l.isBN(S))return S;this.negative=0,this.words=null,this.length=0,this.red=null,null!==S&&(("le"===n||"be"===n)&&(s=n,n=10),this._init(S||0,n||10,s||"be"))}var M;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{M=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:p(6619).Buffer}catch{}function m(S,n){var s=S.charCodeAt(n);return s>=65&&s<=70?s-55:s>=97&&s<=102?s-87:s-48&15}function O(S,n,s){var f=m(S,s);return s-1>=n&&(f|=m(S,s-1)<<4),f}function d(S,n,s,f){for(var h=0,w=Math.min(S.length,s),D=n;D<w;D++){var P=S.charCodeAt(D)-48;h*=f,h+=P>=49?P-49+10:P>=17?P-17+10:P}return h}l.isBN=function(n){return n instanceof l||null!==n&&"object"==typeof n&&n.constructor.wordSize===l.wordSize&&Array.isArray(n.words)},l.max=function(n,s){return n.cmp(s)>0?n:s},l.min=function(n,s){return n.cmp(s)<0?n:s},l.prototype._init=function(n,s,f){if("number"==typeof n)return this._initNumber(n,s,f);if("object"==typeof n)return this._initArray(n,s,f);"hex"===s&&(s=16),y(s===(0|s)&&s>=2&&s<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<n.length&&(16===s?this._parseHex(n,h,f):(this._parseBase(n,s,h),"le"===f&&this._initArray(this.toArray(),s,f)))},l.prototype._initNumber=function(n,s,f){n<0&&(this.negative=1,n=-n),n<67108864?(this.words=[67108863&n],this.length=1):n<4503599627370496?(this.words=[67108863&n,n/67108864&67108863],this.length=2):(y(n<9007199254740992),this.words=[67108863&n,n/67108864&67108863,1],this.length=3),"le"===f&&this._initArray(this.toArray(),s,f)},l.prototype._initArray=function(n,s,f){if(y("number"==typeof n.length),n.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(n.length/3),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var w,D,P=0;if("be"===f)for(h=n.length-1,w=0;h>=0;h-=3)this.words[w]|=(D=n[h]|n[h-1]<<8|n[h-2]<<16)<<P&67108863,this.words[w+1]=D>>>26-P&67108863,(P+=24)>=26&&(P-=26,w++);else if("le"===f)for(h=0,w=0;h<n.length;h+=3)this.words[w]|=(D=n[h]|n[h+1]<<8|n[h+2]<<16)<<P&67108863,this.words[w+1]=D>>>26-P&67108863,(P+=24)>=26&&(P-=26,w++);return this.strip()},l.prototype._parseHex=function(n,s,f){this.length=Math.ceil((n.length-s)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var P,w=0,D=0;if("be"===f)for(h=n.length-1;h>=s;h-=2)P=O(n,s,h)<<w,this.words[D]|=67108863&P,w>=18?(w-=18,this.words[D+=1]|=P>>>26):w+=8;else for(h=(n.length-s)%2==0?s+1:s;h<n.length;h+=2)P=O(n,s,h)<<w,this.words[D]|=67108863&P,w>=18?(w-=18,this.words[D+=1]|=P>>>26):w+=8;this.strip()},l.prototype._parseBase=function(n,s,f){this.words=[0],this.length=1;for(var h=0,w=1;w<=67108863;w*=s)h++;h--,w=w/s|0;for(var D=n.length-f,P=D%h,v=Math.min(D,D-P)+f,r=0,g=f;g<v;g+=h)r=d(n,g,g+h,s),this.imuln(w),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==P){var H=1;for(r=d(n,g,n.length,s),g=0;g<P;g++)H*=s;this.imuln(H),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r)}this.strip()},l.prototype.copy=function(n){n.words=new Array(this.length);for(var s=0;s<this.length;s++)n.words[s]=this.words[s];n.length=this.length,n.negative=this.negative,n.red=this.red},l.prototype.clone=function(){var n=new l(null);return this.copy(n),n},l.prototype._expand=function(n){for(;this.length<n;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var E=["","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"],x=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],I=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function V(S,n,s){s.negative=n.negative^S.negative;var f=S.length+n.length|0;s.length=f,f=f-1|0;var h=0|S.words[0],w=0|n.words[0],D=h*w,v=D/67108864|0;s.words[0]=67108863&D;for(var r=1;r<f;r++){for(var g=v>>>26,H=67108863&v,N=Math.min(r,n.length-1),te=Math.max(0,r-S.length+1);te<=N;te++)g+=(D=(h=0|S.words[r-te|0])*(w=0|n.words[te])+H)/67108864|0,H=67108863&D;s.words[r]=0|H,v=0|g}return 0!==v?s.words[r]=0|v:s.length--,s.strip()}l.prototype.toString=function(n,s){var f;if(s=0|s||1,16===(n=n||10)||"hex"===n){f="";for(var h=0,w=0,D=0;D<this.length;D++){var P=this.words[D],v=(16777215&(P<<h|w)).toString(16);f=0!=(w=P>>>24-h&16777215)||D!==this.length-1?E[6-v.length]+v+f:v+f,(h+=2)>=26&&(h-=26,D--)}for(0!==w&&(f=w.toString(16)+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(n===(0|n)&&n>=2&&n<=36){var r=x[n],g=I[n];f="";var H=this.clone();for(H.negative=0;!H.isZero();){var N=H.modn(g).toString(n);f=(H=H.idivn(g)).isZero()?N+f:E[r-N.length]+N+f}for(this.isZero()&&(f="0"+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}y(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&y(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(n,s){return y(typeof M<"u"),this.toArrayLike(M,n,s)},l.prototype.toArray=function(n,s){return this.toArrayLike(Array,n,s)},l.prototype.toArrayLike=function(n,s,f){var h=this.byteLength(),w=f||Math.max(1,h);y(h<=w,"byte array longer than desired length"),y(w>0,"Requested array length <= 0"),this.strip();var v,r,D="le"===s,P=new n(w),g=this.clone();if(D){for(r=0;!g.isZero();r++)v=g.andln(255),g.iushrn(8),P[r]=v;for(;r<w;r++)P[r]=0}else{for(r=0;r<w-h;r++)P[r]=0;for(r=0;!g.isZero();r++)v=g.andln(255),g.iushrn(8),P[w-r-1]=v}return P},l.prototype._countBits=Math.clz32?function(n){return 32-Math.clz32(n)}:function(n){var s=n,f=0;return s>=4096&&(f+=13,s>>>=13),s>=64&&(f+=7,s>>>=7),s>=8&&(f+=4,s>>>=4),s>=2&&(f+=2,s>>>=2),f+s},l.prototype._zeroBits=function(n){if(0===n)return 26;var s=n,f=0;return 8191&s||(f+=13,s>>>=13),127&s||(f+=7,s>>>=7),15&s||(f+=4,s>>>=4),3&s||(f+=2,s>>>=2),1&s||f++,f},l.prototype.bitLength=function(){var s=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+s},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,s=0;s<this.length;s++){var f=this._zeroBits(this.words[s]);if(n+=f,26!==f)break}return n},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(n){return 0!==this.negative?this.abs().inotn(n).iaddn(1):this.clone()},l.prototype.fromTwos=function(n){return this.testn(n-1)?this.notn(n).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(n){for(;this.length<n.length;)this.words[this.length++]=0;for(var s=0;s<n.length;s++)this.words[s]=this.words[s]|n.words[s];return this.strip()},l.prototype.ior=function(n){return y(0==(this.negative|n.negative)),this.iuor(n)},l.prototype.or=function(n){return this.length>n.length?this.clone().ior(n):n.clone().ior(this)},l.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},l.prototype.iuand=function(n){var s;s=this.length>n.length?n:this;for(var f=0;f<s.length;f++)this.words[f]=this.words[f]&n.words[f];return this.length=s.length,this.strip()},l.prototype.iand=function(n){return y(0==(this.negative|n.negative)),this.iuand(n)},l.prototype.and=function(n){return this.length>n.length?this.clone().iand(n):n.clone().iand(this)},l.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},l.prototype.iuxor=function(n){var s,f;this.length>n.length?(s=this,f=n):(s=n,f=this);for(var h=0;h<f.length;h++)this.words[h]=s.words[h]^f.words[h];if(this!==s)for(;h<s.length;h++)this.words[h]=s.words[h];return this.length=s.length,this.strip()},l.prototype.ixor=function(n){return y(0==(this.negative|n.negative)),this.iuxor(n)},l.prototype.xor=function(n){return this.length>n.length?this.clone().ixor(n):n.clone().ixor(this)},l.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},l.prototype.inotn=function(n){y("number"==typeof n&&n>=0);var s=0|Math.ceil(n/26),f=n%26;this._expand(s),f>0&&s--;for(var h=0;h<s;h++)this.words[h]=67108863&~this.words[h];return f>0&&(this.words[h]=~this.words[h]&67108863>>26-f),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,s){y("number"==typeof n&&n>=0);var f=n/26|0,h=n%26;return this._expand(f+1),this.words[f]=s?this.words[f]|1<<h:this.words[f]&~(1<<h),this.strip()},l.prototype.iadd=function(n){var s,f,h;if(0!==this.negative&&0===n.negative)return this.negative=0,s=this.isub(n),this.negative^=1,this._normSign();if(0===this.negative&&0!==n.negative)return n.negative=0,s=this.isub(n),n.negative=1,s._normSign();this.length>n.length?(f=this,h=n):(f=n,h=this);for(var w=0,D=0;D<h.length;D++)this.words[D]=67108863&(s=(0|f.words[D])+(0|h.words[D])+w),w=s>>>26;for(;0!==w&&D<f.length;D++)this.words[D]=67108863&(s=(0|f.words[D])+w),w=s>>>26;if(this.length=f.length,0!==w)this.words[this.length]=w,this.length++;else if(f!==this)for(;D<f.length;D++)this.words[D]=f.words[D];return this},l.prototype.add=function(n){var s;return 0!==n.negative&&0===this.negative?(n.negative=0,s=this.sub(n),n.negative^=1,s):0===n.negative&&0!==this.negative?(this.negative=0,s=n.sub(this),this.negative=1,s):this.length>n.length?this.clone().iadd(n):n.clone().iadd(this)},l.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var s=this.iadd(n);return n.negative=1,s._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,w,f=this.cmp(n);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(h=this,w=n):(h=n,w=this);for(var D=0,P=0;P<w.length;P++)D=(s=(0|h.words[P])-(0|w.words[P])+D)>>26,this.words[P]=67108863&s;for(;0!==D&&P<h.length;P++)D=(s=(0|h.words[P])+D)>>26,this.words[P]=67108863&s;if(0===D&&P<h.length&&h!==this)for(;P<h.length;P++)this.words[P]=h.words[P];return this.length=Math.max(this.length,P),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(n){return this.clone().isub(n)};var G=function(n,s,f){var v,r,g,h=n.words,w=s.words,D=f.words,P=0,H=0|h[0],N=8191&H,te=H>>>13,De=0|h[1],st=8191&De,je=De>>>13,$e=0|h[2],ye=8191&$e,fe=$e>>>13,de=0|h[3],Ce=8191&de,le=de>>>13,ge=0|h[4],qe=8191&ge,oe=ge>>>13,ve=0|h[5],ce=8191&ve,Ge=ve>>>13,Ze=0|h[6],wt=8191&Ze,mt=Ze>>>13,kt=0|h[7],Ae=8191&kt,ze=kt>>>13,nt=0|h[8],et=8191&nt,ke=nt>>>13,ct=0|h[9],Qe=8191&ct,Et=ct>>>13,lt=0|w[0],Ke=8191&lt,Be=lt>>>13,Xt=0|w[1],J=8191&Xt,We=Xt>>>13,Ft=0|w[2],Ct=8191&Ft,Pt=Ft>>>13,xt=0|w[3],rt=8191&xt,Ee=xt>>>13,it=0|w[4],Ue=8191&it,Je=it>>>13,_t=0|w[5],Le=8191&_t,be=_t>>>13,ee=0|w[6],ne=8191&ee,Ie=ee>>>13,Ht=0|w[7],At=8191&Ht,Zt=Ht>>>13,pi=0|w[8],Jt=8191&pi,qt=pi>>>13,Hi=0|w[9],di=8191&Hi,fi=Hi>>>13;f.negative=n.negative^s.negative,f.length=19;var un=(P+(v=Math.imul(N,Ke))|0)+((8191&(r=(r=Math.imul(N,Be))+Math.imul(te,Ke)|0))<<13)|0;P=((g=Math.imul(te,Be))+(r>>>13)|0)+(un>>>26)|0,un&=67108863,v=Math.imul(st,Ke),r=(r=Math.imul(st,Be))+Math.imul(je,Ke)|0,g=Math.imul(je,Be);var Qi=(P+(v=v+Math.imul(N,J)|0)|0)+((8191&(r=(r=r+Math.imul(N,We)|0)+Math.imul(te,J)|0))<<13)|0;P=((g=g+Math.imul(te,We)|0)+(r>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,v=Math.imul(ye,Ke),r=(r=Math.imul(ye,Be))+Math.imul(fe,Ke)|0,g=Math.imul(fe,Be),v=v+Math.imul(st,J)|0,r=(r=r+Math.imul(st,We)|0)+Math.imul(je,J)|0,g=g+Math.imul(je,We)|0;var xi=(P+(v=v+Math.imul(N,Ct)|0)|0)+((8191&(r=(r=r+Math.imul(N,Pt)|0)+Math.imul(te,Ct)|0))<<13)|0;P=((g=g+Math.imul(te,Pt)|0)+(r>>>13)|0)+(xi>>>26)|0,xi&=67108863,v=Math.imul(Ce,Ke),r=(r=Math.imul(Ce,Be))+Math.imul(le,Ke)|0,g=Math.imul(le,Be),v=v+Math.imul(ye,J)|0,r=(r=r+Math.imul(ye,We)|0)+Math.imul(fe,J)|0,g=g+Math.imul(fe,We)|0,v=v+Math.imul(st,Ct)|0,r=(r=r+Math.imul(st,Pt)|0)+Math.imul(je,Ct)|0,g=g+Math.imul(je,Pt)|0;var sn=(P+(v=v+Math.imul(N,rt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ee)|0)+Math.imul(te,rt)|0))<<13)|0;P=((g=g+Math.imul(te,Ee)|0)+(r>>>13)|0)+(sn>>>26)|0,sn&=67108863,v=Math.imul(qe,Ke),r=(r=Math.imul(qe,Be))+Math.imul(oe,Ke)|0,g=Math.imul(oe,Be),v=v+Math.imul(Ce,J)|0,r=(r=r+Math.imul(Ce,We)|0)+Math.imul(le,J)|0,g=g+Math.imul(le,We)|0,v=v+Math.imul(ye,Ct)|0,r=(r=r+Math.imul(ye,Pt)|0)+Math.imul(fe,Ct)|0,g=g+Math.imul(fe,Pt)|0,v=v+Math.imul(st,rt)|0,r=(r=r+Math.imul(st,Ee)|0)+Math.imul(je,rt)|0,g=g+Math.imul(je,Ee)|0;var ot=(P+(v=v+Math.imul(N,Ue)|0)|0)+((8191&(r=(r=r+Math.imul(N,Je)|0)+Math.imul(te,Ue)|0))<<13)|0;P=((g=g+Math.imul(te,Je)|0)+(r>>>13)|0)+(ot>>>26)|0,ot&=67108863,v=Math.imul(ce,Ke),r=(r=Math.imul(ce,Be))+Math.imul(Ge,Ke)|0,g=Math.imul(Ge,Be),v=v+Math.imul(qe,J)|0,r=(r=r+Math.imul(qe,We)|0)+Math.imul(oe,J)|0,g=g+Math.imul(oe,We)|0,v=v+Math.imul(Ce,Ct)|0,r=(r=r+Math.imul(Ce,Pt)|0)+Math.imul(le,Ct)|0,g=g+Math.imul(le,Pt)|0,v=v+Math.imul(ye,rt)|0,r=(r=r+Math.imul(ye,Ee)|0)+Math.imul(fe,rt)|0,g=g+Math.imul(fe,Ee)|0,v=v+Math.imul(st,Ue)|0,r=(r=r+Math.imul(st,Je)|0)+Math.imul(je,Ue)|0,g=g+Math.imul(je,Je)|0;var si=(P+(v=v+Math.imul(N,Le)|0)|0)+((8191&(r=(r=r+Math.imul(N,be)|0)+Math.imul(te,Le)|0))<<13)|0;P=((g=g+Math.imul(te,be)|0)+(r>>>13)|0)+(si>>>26)|0,si&=67108863,v=Math.imul(wt,Ke),r=(r=Math.imul(wt,Be))+Math.imul(mt,Ke)|0,g=Math.imul(mt,Be),v=v+Math.imul(ce,J)|0,r=(r=r+Math.imul(ce,We)|0)+Math.imul(Ge,J)|0,g=g+Math.imul(Ge,We)|0,v=v+Math.imul(qe,Ct)|0,r=(r=r+Math.imul(qe,Pt)|0)+Math.imul(oe,Ct)|0,g=g+Math.imul(oe,Pt)|0,v=v+Math.imul(Ce,rt)|0,r=(r=r+Math.imul(Ce,Ee)|0)+Math.imul(le,rt)|0,g=g+Math.imul(le,Ee)|0,v=v+Math.imul(ye,Ue)|0,r=(r=r+Math.imul(ye,Je)|0)+Math.imul(fe,Ue)|0,g=g+Math.imul(fe,Je)|0,v=v+Math.imul(st,Le)|0,r=(r=r+Math.imul(st,be)|0)+Math.imul(je,Le)|0,g=g+Math.imul(je,be)|0;var we=(P+(v=v+Math.imul(N,ne)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ie)|0)+Math.imul(te,ne)|0))<<13)|0;P=((g=g+Math.imul(te,Ie)|0)+(r>>>13)|0)+(we>>>26)|0,we&=67108863,v=Math.imul(Ae,Ke),r=(r=Math.imul(Ae,Be))+Math.imul(ze,Ke)|0,g=Math.imul(ze,Be),v=v+Math.imul(wt,J)|0,r=(r=r+Math.imul(wt,We)|0)+Math.imul(mt,J)|0,g=g+Math.imul(mt,We)|0,v=v+Math.imul(ce,Ct)|0,r=(r=r+Math.imul(ce,Pt)|0)+Math.imul(Ge,Ct)|0,g=g+Math.imul(Ge,Pt)|0,v=v+Math.imul(qe,rt)|0,r=(r=r+Math.imul(qe,Ee)|0)+Math.imul(oe,rt)|0,g=g+Math.imul(oe,Ee)|0,v=v+Math.imul(Ce,Ue)|0,r=(r=r+Math.imul(Ce,Je)|0)+Math.imul(le,Ue)|0,g=g+Math.imul(le,Je)|0,v=v+Math.imul(ye,Le)|0,r=(r=r+Math.imul(ye,be)|0)+Math.imul(fe,Le)|0,g=g+Math.imul(fe,be)|0,v=v+Math.imul(st,ne)|0,r=(r=r+Math.imul(st,Ie)|0)+Math.imul(je,ne)|0,g=g+Math.imul(je,Ie)|0;var St=(P+(v=v+Math.imul(N,At)|0)|0)+((8191&(r=(r=r+Math.imul(N,Zt)|0)+Math.imul(te,At)|0))<<13)|0;P=((g=g+Math.imul(te,Zt)|0)+(r>>>13)|0)+(St>>>26)|0,St&=67108863,v=Math.imul(et,Ke),r=(r=Math.imul(et,Be))+Math.imul(ke,Ke)|0,g=Math.imul(ke,Be),v=v+Math.imul(Ae,J)|0,r=(r=r+Math.imul(Ae,We)|0)+Math.imul(ze,J)|0,g=g+Math.imul(ze,We)|0,v=v+Math.imul(wt,Ct)|0,r=(r=r+Math.imul(wt,Pt)|0)+Math.imul(mt,Ct)|0,g=g+Math.imul(mt,Pt)|0,v=v+Math.imul(ce,rt)|0,r=(r=r+Math.imul(ce,Ee)|0)+Math.imul(Ge,rt)|0,g=g+Math.imul(Ge,Ee)|0,v=v+Math.imul(qe,Ue)|0,r=(r=r+Math.imul(qe,Je)|0)+Math.imul(oe,Ue)|0,g=g+Math.imul(oe,Je)|0,v=v+Math.imul(Ce,Le)|0,r=(r=r+Math.imul(Ce,be)|0)+Math.imul(le,Le)|0,g=g+Math.imul(le,be)|0,v=v+Math.imul(ye,ne)|0,r=(r=r+Math.imul(ye,Ie)|0)+Math.imul(fe,ne)|0,g=g+Math.imul(fe,Ie)|0,v=v+Math.imul(st,At)|0,r=(r=r+Math.imul(st,Zt)|0)+Math.imul(je,At)|0,g=g+Math.imul(je,Zt)|0;var zt=(P+(v=v+Math.imul(N,Jt)|0)|0)+((8191&(r=(r=r+Math.imul(N,qt)|0)+Math.imul(te,Jt)|0))<<13)|0;P=((g=g+Math.imul(te,qt)|0)+(r>>>13)|0)+(zt>>>26)|0,zt&=67108863,v=Math.imul(Qe,Ke),r=(r=Math.imul(Qe,Be))+Math.imul(Et,Ke)|0,g=Math.imul(Et,Be),v=v+Math.imul(et,J)|0,r=(r=r+Math.imul(et,We)|0)+Math.imul(ke,J)|0,g=g+Math.imul(ke,We)|0,v=v+Math.imul(Ae,Ct)|0,r=(r=r+Math.imul(Ae,Pt)|0)+Math.imul(ze,Ct)|0,g=g+Math.imul(ze,Pt)|0,v=v+Math.imul(wt,rt)|0,r=(r=r+Math.imul(wt,Ee)|0)+Math.imul(mt,rt)|0,g=g+Math.imul(mt,Ee)|0,v=v+Math.imul(ce,Ue)|0,r=(r=r+Math.imul(ce,Je)|0)+Math.imul(Ge,Ue)|0,g=g+Math.imul(Ge,Je)|0,v=v+Math.imul(qe,Le)|0,r=(r=r+Math.imul(qe,be)|0)+Math.imul(oe,Le)|0,g=g+Math.imul(oe,be)|0,v=v+Math.imul(Ce,ne)|0,r=(r=r+Math.imul(Ce,Ie)|0)+Math.imul(le,ne)|0,g=g+Math.imul(le,Ie)|0,v=v+Math.imul(ye,At)|0,r=(r=r+Math.imul(ye,Zt)|0)+Math.imul(fe,At)|0,g=g+Math.imul(fe,Zt)|0,v=v+Math.imul(st,Jt)|0,r=(r=r+Math.imul(st,qt)|0)+Math.imul(je,Jt)|0,g=g+Math.imul(je,qt)|0;var Dt=(P+(v=v+Math.imul(N,di)|0)|0)+((8191&(r=(r=r+Math.imul(N,fi)|0)+Math.imul(te,di)|0))<<13)|0;P=((g=g+Math.imul(te,fi)|0)+(r>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,v=Math.imul(Qe,J),r=(r=Math.imul(Qe,We))+Math.imul(Et,J)|0,g=Math.imul(Et,We),v=v+Math.imul(et,Ct)|0,r=(r=r+Math.imul(et,Pt)|0)+Math.imul(ke,Ct)|0,g=g+Math.imul(ke,Pt)|0,v=v+Math.imul(Ae,rt)|0,r=(r=r+Math.imul(Ae,Ee)|0)+Math.imul(ze,rt)|0,g=g+Math.imul(ze,Ee)|0,v=v+Math.imul(wt,Ue)|0,r=(r=r+Math.imul(wt,Je)|0)+Math.imul(mt,Ue)|0,g=g+Math.imul(mt,Je)|0,v=v+Math.imul(ce,Le)|0,r=(r=r+Math.imul(ce,be)|0)+Math.imul(Ge,Le)|0,g=g+Math.imul(Ge,be)|0,v=v+Math.imul(qe,ne)|0,r=(r=r+Math.imul(qe,Ie)|0)+Math.imul(oe,ne)|0,g=g+Math.imul(oe,Ie)|0,v=v+Math.imul(Ce,At)|0,r=(r=r+Math.imul(Ce,Zt)|0)+Math.imul(le,At)|0,g=g+Math.imul(le,Zt)|0,v=v+Math.imul(ye,Jt)|0,r=(r=r+Math.imul(ye,qt)|0)+Math.imul(fe,Jt)|0,g=g+Math.imul(fe,qt)|0;var Lt=(P+(v=v+Math.imul(st,di)|0)|0)+((8191&(r=(r=r+Math.imul(st,fi)|0)+Math.imul(je,di)|0))<<13)|0;P=((g=g+Math.imul(je,fi)|0)+(r>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,v=Math.imul(Qe,Ct),r=(r=Math.imul(Qe,Pt))+Math.imul(Et,Ct)|0,g=Math.imul(Et,Pt),v=v+Math.imul(et,rt)|0,r=(r=r+Math.imul(et,Ee)|0)+Math.imul(ke,rt)|0,g=g+Math.imul(ke,Ee)|0,v=v+Math.imul(Ae,Ue)|0,r=(r=r+Math.imul(Ae,Je)|0)+Math.imul(ze,Ue)|0,g=g+Math.imul(ze,Je)|0,v=v+Math.imul(wt,Le)|0,r=(r=r+Math.imul(wt,be)|0)+Math.imul(mt,Le)|0,g=g+Math.imul(mt,be)|0,v=v+Math.imul(ce,ne)|0,r=(r=r+Math.imul(ce,Ie)|0)+Math.imul(Ge,ne)|0,g=g+Math.imul(Ge,Ie)|0,v=v+Math.imul(qe,At)|0,r=(r=r+Math.imul(qe,Zt)|0)+Math.imul(oe,At)|0,g=g+Math.imul(oe,Zt)|0,v=v+Math.imul(Ce,Jt)|0,r=(r=r+Math.imul(Ce,qt)|0)+Math.imul(le,Jt)|0,g=g+Math.imul(le,qt)|0;var Bt=(P+(v=v+Math.imul(ye,di)|0)|0)+((8191&(r=(r=r+Math.imul(ye,fi)|0)+Math.imul(fe,di)|0))<<13)|0;P=((g=g+Math.imul(fe,fi)|0)+(r>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,v=Math.imul(Qe,rt),r=(r=Math.imul(Qe,Ee))+Math.imul(Et,rt)|0,g=Math.imul(Et,Ee),v=v+Math.imul(et,Ue)|0,r=(r=r+Math.imul(et,Je)|0)+Math.imul(ke,Ue)|0,g=g+Math.imul(ke,Je)|0,v=v+Math.imul(Ae,Le)|0,r=(r=r+Math.imul(Ae,be)|0)+Math.imul(ze,Le)|0,g=g+Math.imul(ze,be)|0,v=v+Math.imul(wt,ne)|0,r=(r=r+Math.imul(wt,Ie)|0)+Math.imul(mt,ne)|0,g=g+Math.imul(mt,Ie)|0,v=v+Math.imul(ce,At)|0,r=(r=r+Math.imul(ce,Zt)|0)+Math.imul(Ge,At)|0,g=g+Math.imul(Ge,Zt)|0,v=v+Math.imul(qe,Jt)|0,r=(r=r+Math.imul(qe,qt)|0)+Math.imul(oe,Jt)|0,g=g+Math.imul(oe,qt)|0;var ai=(P+(v=v+Math.imul(Ce,di)|0)|0)+((8191&(r=(r=r+Math.imul(Ce,fi)|0)+Math.imul(le,di)|0))<<13)|0;P=((g=g+Math.imul(le,fi)|0)+(r>>>13)|0)+(ai>>>26)|0,ai&=67108863,v=Math.imul(Qe,Ue),r=(r=Math.imul(Qe,Je))+Math.imul(Et,Ue)|0,g=Math.imul(Et,Je),v=v+Math.imul(et,Le)|0,r=(r=r+Math.imul(et,be)|0)+Math.imul(ke,Le)|0,g=g+Math.imul(ke,be)|0,v=v+Math.imul(Ae,ne)|0,r=(r=r+Math.imul(Ae,Ie)|0)+Math.imul(ze,ne)|0,g=g+Math.imul(ze,Ie)|0,v=v+Math.imul(wt,At)|0,r=(r=r+Math.imul(wt,Zt)|0)+Math.imul(mt,At)|0,g=g+Math.imul(mt,Zt)|0,v=v+Math.imul(ce,Jt)|0,r=(r=r+Math.imul(ce,qt)|0)+Math.imul(Ge,Jt)|0,g=g+Math.imul(Ge,qt)|0;var vi=(P+(v=v+Math.imul(qe,di)|0)|0)+((8191&(r=(r=r+Math.imul(qe,fi)|0)+Math.imul(oe,di)|0))<<13)|0;P=((g=g+Math.imul(oe,fi)|0)+(r>>>13)|0)+(vi>>>26)|0,vi&=67108863,v=Math.imul(Qe,Le),r=(r=Math.imul(Qe,be))+Math.imul(Et,Le)|0,g=Math.imul(Et,be),v=v+Math.imul(et,ne)|0,r=(r=r+Math.imul(et,Ie)|0)+Math.imul(ke,ne)|0,g=g+Math.imul(ke,Ie)|0,v=v+Math.imul(Ae,At)|0,r=(r=r+Math.imul(Ae,Zt)|0)+Math.imul(ze,At)|0,g=g+Math.imul(ze,Zt)|0,v=v+Math.imul(wt,Jt)|0,r=(r=r+Math.imul(wt,qt)|0)+Math.imul(mt,Jt)|0,g=g+Math.imul(mt,qt)|0;var bi=(P+(v=v+Math.imul(ce,di)|0)|0)+((8191&(r=(r=r+Math.imul(ce,fi)|0)+Math.imul(Ge,di)|0))<<13)|0;P=((g=g+Math.imul(Ge,fi)|0)+(r>>>13)|0)+(bi>>>26)|0,bi&=67108863,v=Math.imul(Qe,ne),r=(r=Math.imul(Qe,Ie))+Math.imul(Et,ne)|0,g=Math.imul(Et,Ie),v=v+Math.imul(et,At)|0,r=(r=r+Math.imul(et,Zt)|0)+Math.imul(ke,At)|0,g=g+Math.imul(ke,Zt)|0,v=v+Math.imul(Ae,Jt)|0,r=(r=r+Math.imul(Ae,qt)|0)+Math.imul(ze,Jt)|0,g=g+Math.imul(ze,qt)|0;var ki=(P+(v=v+Math.imul(wt,di)|0)|0)+((8191&(r=(r=r+Math.imul(wt,fi)|0)+Math.imul(mt,di)|0))<<13)|0;P=((g=g+Math.imul(mt,fi)|0)+(r>>>13)|0)+(ki>>>26)|0,ki&=67108863,v=Math.imul(Qe,At),r=(r=Math.imul(Qe,Zt))+Math.imul(Et,At)|0,g=Math.imul(Et,Zt),v=v+Math.imul(et,Jt)|0,r=(r=r+Math.imul(et,qt)|0)+Math.imul(ke,Jt)|0,g=g+Math.imul(ke,qt)|0;var Bi=(P+(v=v+Math.imul(Ae,di)|0)|0)+((8191&(r=(r=r+Math.imul(Ae,fi)|0)+Math.imul(ze,di)|0))<<13)|0;P=((g=g+Math.imul(ze,fi)|0)+(r>>>13)|0)+(Bi>>>26)|0,Bi&=67108863,v=Math.imul(Qe,Jt),r=(r=Math.imul(Qe,qt))+Math.imul(Et,Jt)|0,g=Math.imul(Et,qt);var Vi=(P+(v=v+Math.imul(et,di)|0)|0)+((8191&(r=(r=r+Math.imul(et,fi)|0)+Math.imul(ke,di)|0))<<13)|0;P=((g=g+Math.imul(ke,fi)|0)+(r>>>13)|0)+(Vi>>>26)|0,Vi&=67108863;var jt=(P+(v=Math.imul(Qe,di))|0)+((8191&(r=(r=Math.imul(Qe,fi))+Math.imul(Et,di)|0))<<13)|0;return P=((g=Math.imul(Et,fi))+(r>>>13)|0)+(jt>>>26)|0,jt&=67108863,D[0]=un,D[1]=Qi,D[2]=xi,D[3]=sn,D[4]=ot,D[5]=si,D[6]=we,D[7]=St,D[8]=zt,D[9]=Dt,D[10]=Lt,D[11]=Bt,D[12]=ai,D[13]=vi,D[14]=bi,D[15]=ki,D[16]=Bi,D[17]=Vi,D[18]=jt,0!==P&&(D[19]=P,f.length++),f};function W(S,n,s){return(new K).mulp(S,n,s)}function K(S,n){this.x=S,this.y=n}Math.imul||(G=V),l.prototype.mulTo=function(n,s){var f,h=this.length+n.length;return f=10===this.length&&10===n.length?G(this,n,s):h<63?V(this,n,s):h<1024?function j(S,n,s){s.negative=n.negative^S.negative,s.length=S.length+n.length;for(var f=0,h=0,w=0;w<s.length-1;w++){var D=h;h=0;for(var P=67108863&f,v=Math.min(w,n.length-1),r=Math.max(0,w-S.length+1);r<=v;r++){var te=(0|S.words[w-r])*(0|n.words[r]),De=67108863&te;P=67108863&(De=De+P|0),h+=(D=(D=D+(te/67108864|0)|0)+(De>>>26)|0)>>>26,D&=67108863}s.words[w]=P,f=D,D=h}return 0!==f?s.words[w]=f:s.length--,s.strip()}(this,n,s):W(this,n,s),f},K.prototype.makeRBT=function(n){for(var s=new Array(n),f=l.prototype._countBits(n)-1,h=0;h<n;h++)s[h]=this.revBin(h,f,n);return s},K.prototype.revBin=function(n,s,f){if(0===n||n===f-1)return n;for(var h=0,w=0;w<s;w++)h|=(1&n)<<s-w-1,n>>=1;return h},K.prototype.permute=function(n,s,f,h,w,D){for(var P=0;P<D;P++)h[P]=s[n[P]],w[P]=f[n[P]]},K.prototype.transform=function(n,s,f,h,w,D){this.permute(D,n,s,f,h,w);for(var P=1;P<w;P<<=1)for(var v=P<<1,r=Math.cos(2*Math.PI/v),g=Math.sin(2*Math.PI/v),H=0;H<w;H+=v)for(var N=r,te=g,De=0;De<P;De++){var st=f[H+De],je=h[H+De],$e=f[H+De+P],ye=h[H+De+P],fe=N*$e-te*ye;ye=N*ye+te*$e,f[H+De]=st+($e=fe),h[H+De]=je+ye,f[H+De+P]=st-$e,h[H+De+P]=je-ye,De!==v&&(fe=r*N-g*te,te=r*te+g*N,N=fe)}},K.prototype.guessLen13b=function(n,s){var f=1|Math.max(s,n),h=1&f,w=0;for(f=f/2|0;f;f>>>=1)w++;return 1<<w+1+h},K.prototype.conjugate=function(n,s,f){if(!(f<=1))for(var h=0;h<f/2;h++){var w=n[h];n[h]=n[f-h-1],n[f-h-1]=w,w=s[h],s[h]=-s[f-h-1],s[f-h-1]=-w}},K.prototype.normalize13b=function(n,s){for(var f=0,h=0;h<s/2;h++){var w=8192*Math.round(n[2*h+1]/s)+Math.round(n[2*h]/s)+f;n[h]=67108863&w,f=w<67108864?0:w/67108864|0}return n},K.prototype.convert13b=function(n,s,f,h){for(var w=0,D=0;D<s;D++)f[2*D]=8191&(w+=0|n[D]),f[2*D+1]=8191&(w>>>=13),w>>>=13;for(D=2*s;D<h;++D)f[D]=0;y(0===w),y(0==(-8192&w))},K.prototype.stub=function(n){for(var s=new Array(n),f=0;f<n;f++)s[f]=0;return s},K.prototype.mulp=function(n,s,f){var h=2*this.guessLen13b(n.length,s.length),w=this.makeRBT(h),D=this.stub(h),P=new Array(h),v=new Array(h),r=new Array(h),g=new Array(h),H=new Array(h),N=new Array(h),te=f.words;te.length=h,this.convert13b(n.words,n.length,P,h),this.convert13b(s.words,s.length,g,h),this.transform(P,D,v,r,h,w),this.transform(g,D,H,N,h,w);for(var De=0;De<h;De++){var st=v[De]*H[De]-r[De]*N[De];r[De]=v[De]*N[De]+r[De]*H[De],v[De]=st}return this.conjugate(v,r,h),this.transform(v,r,te,D,h,w),this.conjugate(te,D,h),this.normalize13b(te,h),f.negative=n.negative^s.negative,f.length=n.length+s.length,f.strip()},l.prototype.mul=function(n){var s=new l(null);return s.words=new Array(this.length+n.length),this.mulTo(n,s)},l.prototype.mulf=function(n){var s=new l(null);return s.words=new Array(this.length+n.length),W(this,n,s)},l.prototype.imul=function(n){return this.clone().mulTo(n,this)},l.prototype.imuln=function(n){y("number"==typeof n),y(n<67108864);for(var s=0,f=0;f<this.length;f++){var h=(0|this.words[f])*n,w=(67108863&h)+(67108863&s);s>>=26,s+=h/67108864|0,s+=w>>>26,this.words[f]=67108863&w}return 0!==s&&(this.words[f]=s,this.length++),this},l.prototype.muln=function(n){return this.clone().imuln(n)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(n){var s=function k(S){for(var n=new Array(S.bitLength()),s=0;s<n.length;s++){var h=s%26;n[s]=(S.words[s/26|0]&1<<h)>>>h}return n}(n);if(0===s.length)return new l(1);for(var f=this,h=0;h<s.length&&0===s[h];h++,f=f.sqr());if(++h<s.length)for(var w=f.sqr();h<s.length;h++,w=w.sqr())0!==s[h]&&(f=f.mul(w));return f},l.prototype.iushln=function(n){y("number"==typeof n&&n>=0);var w,s=n%26,f=(n-s)/26,h=67108863>>>26-s<<26-s;if(0!==s){var D=0;for(w=0;w<this.length;w++){var P=this.words[w]&h;this.words[w]=(0|this.words[w])-P<<s|D,D=P>>>26-s}D&&(this.words[w]=D,this.length++)}if(0!==f){for(w=this.length-1;w>=0;w--)this.words[w+f]=this.words[w];for(w=0;w<f;w++)this.words[w]=0;this.length+=f}return this.strip()},l.prototype.ishln=function(n){return y(0===this.negative),this.iushln(n)},l.prototype.iushrn=function(n,s,f){var h;y("number"==typeof n&&n>=0),h=s?(s-s%26)/26:0;var w=n%26,D=Math.min((n-w)/26,this.length),P=67108863^67108863>>>w<<w,v=f;if(h-=D,h=Math.max(0,h),v){for(var r=0;r<D;r++)v.words[r]=this.words[r];v.length=D}if(0!==D)if(this.length>D)for(this.length-=D,r=0;r<this.length;r++)this.words[r]=this.words[r+D];else this.words[0]=0,this.length=1;var g=0;for(r=this.length-1;r>=0&&(0!==g||r>=h);r--){var H=0|this.words[r];this.words[r]=g<<26-w|H>>>w,g=H&P}return v&&0!==g&&(v.words[v.length++]=g),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,s,f){return y(0===this.negative),this.iushrn(n,s,f)},l.prototype.shln=function(n){return this.clone().ishln(n)},l.prototype.ushln=function(n){return this.clone().iushln(n)},l.prototype.shrn=function(n){return this.clone().ishrn(n)},l.prototype.ushrn=function(n){return this.clone().iushrn(n)},l.prototype.testn=function(n){y("number"==typeof n&&n>=0);var s=n%26,f=(n-s)/26;return!(this.length<=f||!(this.words[f]&1<<s))},l.prototype.imaskn=function(n){y("number"==typeof n&&n>=0);var s=n%26,f=(n-s)/26;return y(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==s&&f++,this.length=Math.min(f,this.length),0!==s&&(this.words[this.length-1]&=67108863^67108863>>>s<<s),this.strip())},l.prototype.maskn=function(n){return this.clone().imaskn(n)},l.prototype.iaddn=function(n){return y("number"==typeof n),y(n<67108864),n<0?this.isubn(-n):0!==this.negative?1===this.length&&(0|this.words[0])<n?(this.words[0]=n-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(n),this.negative=1,this):this._iaddn(n)},l.prototype._iaddn=function(n){this.words[0]+=n;for(var s=0;s<this.length&&this.words[s]>=67108864;s++)this.words[s]-=67108864,s===this.length-1?this.words[s+1]=1:this.words[s+1]++;return this.length=Math.max(this.length,s+1),this},l.prototype.isubn=function(n){if(y("number"==typeof n),y(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var s=0;s<this.length&&this.words[s]<0;s++)this.words[s]+=67108864,this.words[s+1]-=1;return this.strip()},l.prototype.addn=function(n){return this.clone().iaddn(n)},l.prototype.subn=function(n){return this.clone().isubn(n)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(n,s,f){var w;this._expand(n.length+f);var D,P=0;for(w=0;w<n.length;w++){D=(0|this.words[w+f])+P;var v=(0|n.words[w])*s;P=((D-=67108863&v)>>26)-(v/67108864|0),this.words[w+f]=67108863&D}for(;w<this.length-f;w++)P=(D=(0|this.words[w+f])+P)>>26,this.words[w+f]=67108863&D;if(0===P)return this.strip();for(y(-1===P),P=0,w=0;w<this.length;w++)P=(D=-(0|this.words[w])+P)>>26,this.words[w]=67108863&D;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,s){var f,h=this.clone(),w=n,D=0|w.words[w.length-1];0!=(f=26-this._countBits(D))&&(w=w.ushln(f),h.iushln(f),D=0|w.words[w.length-1]);var r,v=h.length-w.length;if("mod"!==s){(r=new l(null)).length=v+1,r.words=new Array(r.length);for(var g=0;g<r.length;g++)r.words[g]=0}var H=h.clone()._ishlnsubmul(w,1,v);0===H.negative&&(h=H,r&&(r.words[v]=1));for(var N=v-1;N>=0;N--){var te=67108864*(0|h.words[w.length+N])+(0|h.words[w.length+N-1]);for(te=Math.min(te/D|0,67108863),h._ishlnsubmul(w,te,N);0!==h.negative;)te--,h.negative=0,h._ishlnsubmul(w,1,N),h.isZero()||(h.negative^=1);r&&(r.words[N]=te)}return r&&r.strip(),h.strip(),"div"!==s&&0!==f&&h.iushrn(f),{div:r||null,mod:h}},l.prototype.divmod=function(n,s,f){return y(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(D=this.neg().divmod(n,s),"mod"!==s&&(h=D.div.neg()),"div"!==s&&(w=D.mod.neg(),f&&0!==w.negative&&w.iadd(n)),{div:h,mod:w}):0===this.negative&&0!==n.negative?(D=this.divmod(n.neg(),s),"mod"!==s&&(h=D.div.neg()),{div:h,mod:D.mod}):this.negative&n.negative?(D=this.neg().divmod(n.neg(),s),"div"!==s&&(w=D.mod.neg(),f&&0!==w.negative&&w.isub(n)),{div:D.div,mod:w}):n.length>this.length||this.cmp(n)<0?{div:new l(0),mod:this}:1===n.length?"div"===s?{div:this.divn(n.words[0]),mod:null}:"mod"===s?{div:null,mod:new l(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new l(this.modn(n.words[0]))}:this._wordDiv(n,s);var h,w,D},l.prototype.div=function(n){return this.divmod(n,"div",!1).div},l.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},l.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},l.prototype.divRound=function(n){var s=this.divmod(n);if(s.mod.isZero())return s.div;var f=0!==s.div.negative?s.mod.isub(n):s.mod,h=n.ushrn(1),w=n.andln(1),D=f.cmp(h);return D<0||1===w&&0===D?s.div:0!==s.div.negative?s.div.isubn(1):s.div.iaddn(1)},l.prototype.modn=function(n){y(n<=67108863);for(var s=(1<<26)%n,f=0,h=this.length-1;h>=0;h--)f=(s*f+(0|this.words[h]))%n;return f},l.prototype.idivn=function(n){y(n<=67108863);for(var s=0,f=this.length-1;f>=0;f--){var h=(0|this.words[f])+67108864*s;this.words[f]=h/n|0,s=h%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){y(0===n.negative),y(!n.isZero());var s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),w=new l(0),D=new l(0),P=new l(1),v=0;s.isEven()&&f.isEven();)s.iushrn(1),f.iushrn(1),++v;for(var r=f.clone(),g=s.clone();!s.isZero();){for(var H=0,N=1;!(s.words[0]&N)&&H<26;++H,N<<=1);if(H>0)for(s.iushrn(H);H-- >0;)(h.isOdd()||w.isOdd())&&(h.iadd(r),w.isub(g)),h.iushrn(1),w.iushrn(1);for(var te=0,De=1;!(f.words[0]&De)&&te<26;++te,De<<=1);if(te>0)for(f.iushrn(te);te-- >0;)(D.isOdd()||P.isOdd())&&(D.iadd(r),P.isub(g)),D.iushrn(1),P.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(D),w.isub(P)):(f.isub(s),D.isub(h),P.isub(w))}return{a:D,b:P,gcd:f.iushln(v)}},l.prototype._invmp=function(n){y(0===n.negative),y(!n.isZero());var H,s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),w=new l(0),D=f.clone();s.cmpn(1)>0&&f.cmpn(1)>0;){for(var P=0,v=1;!(s.words[0]&v)&&P<26;++P,v<<=1);if(P>0)for(s.iushrn(P);P-- >0;)h.isOdd()&&h.iadd(D),h.iushrn(1);for(var r=0,g=1;!(f.words[0]&g)&&r<26;++r,g<<=1);if(r>0)for(f.iushrn(r);r-- >0;)w.isOdd()&&w.iadd(D),w.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(w)):(f.isub(s),w.isub(h))}return(H=0===s.cmpn(1)?h:w).cmpn(0)<0&&H.iadd(n),H},l.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var s=this.clone(),f=n.clone();s.negative=0,f.negative=0;for(var h=0;s.isEven()&&f.isEven();h++)s.iushrn(1),f.iushrn(1);for(;;){for(;s.isEven();)s.iushrn(1);for(;f.isEven();)f.iushrn(1);var w=s.cmp(f);if(w<0){var D=s;s=f,f=D}else if(0===w||0===f.cmpn(1))break;s.isub(f)}return f.iushln(h)},l.prototype.invm=function(n){return this.egcd(n).a.umod(n)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(n){return this.words[0]&n},l.prototype.bincn=function(n){y("number"==typeof n);var s=n%26,f=(n-s)/26,h=1<<s;if(this.length<=f)return this._expand(f+1),this.words[f]|=h,this;for(var w=h,D=f;0!==w&&D<this.length;D++){var P=0|this.words[D];w=(P+=w)>>>26,this.words[D]=P&=67108863}return 0!==w&&(this.words[D]=w,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var f,s=n<0;if(0!==this.negative&&!s)return-1;if(0===this.negative&&s)return 1;if(this.strip(),this.length>1)f=1;else{s&&(n=-n),y(n<=67108863,"Number is too big");var h=0|this.words[0];f=h===n?0:h<n?-1:1}return 0!==this.negative?0|-f:f},l.prototype.cmp=function(n){if(0!==this.negative&&0===n.negative)return-1;if(0===this.negative&&0!==n.negative)return 1;var s=this.ucmp(n);return 0!==this.negative?0|-s:s},l.prototype.ucmp=function(n){if(this.length>n.length)return 1;if(this.length<n.length)return-1;for(var s=0,f=this.length-1;f>=0;f--){var h=0|this.words[f],w=0|n.words[f];if(h!==w){h<w?s=-1:h>w&&(s=1);break}}return s},l.prototype.gtn=function(n){return 1===this.cmpn(n)},l.prototype.gt=function(n){return 1===this.cmp(n)},l.prototype.gten=function(n){return this.cmpn(n)>=0},l.prototype.gte=function(n){return this.cmp(n)>=0},l.prototype.ltn=function(n){return-1===this.cmpn(n)},l.prototype.lt=function(n){return-1===this.cmp(n)},l.prototype.lten=function(n){return this.cmpn(n)<=0},l.prototype.lte=function(n){return this.cmp(n)<=0},l.prototype.eqn=function(n){return 0===this.cmpn(n)},l.prototype.eq=function(n){return 0===this.cmp(n)},l.red=function(n){return new $(n)},l.prototype.toRed=function(n){return y(!this.red,"Already a number in reduction context"),y(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return y(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(n){return this.red=n,this},l.prototype.forceRed=function(n){return y(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return y(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return y(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return y(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return y(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return y(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return y(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return y(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return y(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return y(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return y(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return y(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var q={k256:null,p224:null,p192:null,p25519:null};function ie(S,n){this.name=S,this.p=new l(n,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ae(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ue(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function re(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function xe(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function $(S){if("string"==typeof S){var n=l._prime(S);this.m=n.p,this.prime=n}else y(S.gtn(1),"modulus must be greater than 1"),this.m=S,this.prime=null}function he(S){$.call(this,S),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)}ie.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ie.prototype.ireduce=function(n){var f,s=n;do{this.split(s,this.tmp),f=(s=(s=this.imulK(s)).iadd(this.tmp)).bitLength()}while(f>this.n);var h=f<this.n?-1:s.ucmp(this.p);return 0===h?(s.words[0]=0,s.length=1):h>0?s.isub(this.p):void 0!==s.strip?s.strip():s._strip(),s},ie.prototype.split=function(n,s){n.iushrn(this.n,0,s)},ie.prototype.imulK=function(n){return n.imul(this.k)},A(ae,ie),ae.prototype.split=function(n,s){for(var f=4194303,h=Math.min(n.length,9),w=0;w<h;w++)s.words[w]=n.words[w];if(s.length=h,n.length<=9)return n.words[0]=0,void(n.length=1);var D=n.words[9];for(s.words[s.length++]=D&f,w=10;w<n.length;w++){var P=0|n.words[w];n.words[w-10]=(P&f)<<4|D>>>22,D=P}n.words[w-10]=D>>>=22,n.length-=0===D&&n.length>10?10:9},ae.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var s=0,f=0;f<n.length;f++){var h=0|n.words[f];n.words[f]=67108863&(s+=977*h),s=64*h+(s/67108864|0)}return 0===n.words[n.length-1]&&(n.length--,0===n.words[n.length-1]&&n.length--),n},A(ue,ie),A(re,ie),A(xe,ie),xe.prototype.imulK=function(n){for(var s=0,f=0;f<n.length;f++){var h=19*(0|n.words[f])+s,w=67108863&h;h>>>=26,n.words[f]=w,s=h}return 0!==s&&(n.words[n.length++]=s),n},l._prime=function(n){if(q[n])return q[n];var s;if("k256"===n)s=new ae;else if("p224"===n)s=new ue;else if("p192"===n)s=new re;else{if("p25519"!==n)throw new Error("Unknown prime "+n);s=new xe}return q[n]=s,s},$.prototype._verify1=function(n){y(0===n.negative,"red works only with positives"),y(n.red,"red works only with red numbers")},$.prototype._verify2=function(n,s){y(0==(n.negative|s.negative),"red works only with positives"),y(n.red&&n.red===s.red,"red works only with red numbers")},$.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},$.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},$.prototype.add=function(n,s){this._verify2(n,s);var f=n.add(s);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},$.prototype.iadd=function(n,s){this._verify2(n,s);var f=n.iadd(s);return f.cmp(this.m)>=0&&f.isub(this.m),f},$.prototype.sub=function(n,s){this._verify2(n,s);var f=n.sub(s);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},$.prototype.isub=function(n,s){this._verify2(n,s);var f=n.isub(s);return f.cmpn(0)<0&&f.iadd(this.m),f},$.prototype.shl=function(n,s){return this._verify1(n),this.imod(n.ushln(s))},$.prototype.imul=function(n,s){return this._verify2(n,s),this.imod(n.imul(s))},$.prototype.mul=function(n,s){return this._verify2(n,s),this.imod(n.mul(s))},$.prototype.isqr=function(n){return this.imul(n,n.clone())},$.prototype.sqr=function(n){return this.mul(n,n)},$.prototype.sqrt=function(n){if(n.isZero())return n.clone();var s=this.m.andln(3);if(y(s%2==1),3===s){var f=this.m.add(new l(1)).iushrn(2);return this.pow(n,f)}for(var h=this.m.subn(1),w=0;!h.isZero()&&0===h.andln(1);)w++,h.iushrn(1);y(!h.isZero());var D=new l(1).toRed(this),P=D.redNeg(),v=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,v).cmp(P);)r.redIAdd(P);for(var g=this.pow(r,h),H=this.pow(n,h.addn(1).iushrn(1)),N=this.pow(n,h),te=w;0!==N.cmp(D);){for(var De=N,st=0;0!==De.cmp(D);st++)De=De.redSqr();y(st<te);var je=this.pow(g,new l(1).iushln(te-st-1));H=H.redMul(je),g=je.redSqr(),N=N.redMul(g),te=st}return H},$.prototype.invm=function(n){var s=n._invmp(this.m);return 0!==s.negative?(s.negative=0,this.imod(s).redNeg()):this.imod(s)},$.prototype.pow=function(n,s){if(s.isZero())return new l(1).toRed(this);if(0===s.cmpn(1))return n.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=n;for(var w=2;w<h.length;w++)h[w]=this.mul(h[w-1],n);var D=h[0],P=0,v=0,r=s.bitLength()%26;for(0===r&&(r=26),w=s.length-1;w>=0;w--){for(var g=s.words[w],H=r-1;H>=0;H--){var N=g>>H&1;D!==h[0]&&(D=this.sqr(D)),0!==N||0!==P?(P<<=1,P|=N,(4==++v||0===w&&0===H)&&(D=this.mul(D,h[P]),v=0,P=0)):v=0}r=26}return D},$.prototype.convertTo=function(n){var s=n.umod(this.m);return s===n?s.clone():s},$.prototype.convertFrom=function(n){var s=n.clone();return s.red=null,s},l.mont=function(n){return new he(n)},A(he,$),he.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},he.prototype.convertFrom=function(n){var s=this.imod(n.mul(this.rinv));return s.red=null,s},he.prototype.imul=function(n,s){if(n.isZero()||s.isZero())return n.words[0]=0,n.length=1,n;var f=n.imul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),w=f.isub(h).iushrn(this.shift),D=w;return w.cmp(this.m)>=0?D=w.isub(this.m):w.cmpn(0)<0&&(D=w.iadd(this.m)),D._forceRed(this)},he.prototype.mul=function(n,s){if(n.isZero()||s.isZero())return new l(0)._forceRed(this);var f=n.mul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),w=f.isub(h).iushrn(this.shift),D=w;return w.cmp(this.m)>=0?D=w.isub(this.m):w.cmpn(0)<0&&(D=w.iadd(this.m)),D._forceRed(this)},he.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(He=p.nmd(He),this)},7798:He=>{function X(p,e){if(!p)throw new Error(e||"Assertion failed")}He.exports=X,X.equal=function(e,t,y){if(e!=t)throw new Error(y||"Assertion failed: "+e+" != "+t)}},8247:(He,X)=>{"use strict";var p=X;function t(A){return 1===A.length?"0"+A:A}function y(A){for(var l="",M=0;M<A.length;M++)l+=t(A[M].toString(16));return l}p.toArray=function e(A,l){if(Array.isArray(A))return A.slice();if(!A)return[];var M=[];if("string"!=typeof A){for(var m=0;m<A.length;m++)M[m]=0|A[m];return M}if("hex"===l)for((A=A.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(A="0"+A),m=0;m<A.length;m+=2)M.push(parseInt(A[m]+A[m+1],16));else for(m=0;m<A.length;m++){var O=A.charCodeAt(m),d=O>>8,E=255&O;d?M.push(d,E):M.push(E)}return M},p.zero2=t,p.toHex=y,p.encode=function(l,M){return"hex"===M?y(l):l}},3439:(He,X,p)=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0});var e=p(6981);Object.keys(e).forEach(function(t){"default"!==t&&Object.defineProperty(X,t,{enumerable:!0,get:function(){return e[t]}})})},1322:(He,X,p)=>{"use strict";var e=p(7414);X.certificate=p(7290);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())});X.RSAPrivateKey=t;var y=e.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});X.RSAPublicKey=y;var A=e.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(l),this.key("subjectPublicKey").bitstr())});X.PublicKey=A;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())}),M=e.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(l),this.key("subjectPrivateKey").octstr())});X.PrivateKey=M;var m=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())});X.EncryptedPrivateKey=m;var O=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())});X.DSAPrivateKey=O,X.DSAparam=e.define("DSAparam",function(){this.int()});var d=e.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(E),this.key("publicKey").optional().explicit(1).bitstr())});X.ECPrivateKey=d;var E=e.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});X.signature=e.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},7290:(He,X,p)=>{"use strict";var e=p(7414),t=e.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),y=e.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),A=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(A),this.key("subjectPublicKey").bitstr())}),M=e.define("RelativeDistinguishedName",function(){this.setof(y)}),m=e.define("RDNSequence",function(){this.seqof(M)}),O=e.define("Name",function(){this.choice({rdnSequence:this.use(m)})}),d=e.define("Validity",function(){this.seq().obj(this.key("notBefore").use(t),this.key("notAfter").use(t))}),E=e.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),x=e.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(A),this.key("issuer").use(O),this.key("validity").use(d),this.key("subject").use(O),this.key("subjectPublicKeyInfo").use(l),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(E).optional())}),I=e.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(x),this.key("signatureAlgorithm").use(A),this.key("signatureValue").bitstr())});He.exports=I},7520:(He,X,p)=>{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,y=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,A=p(6505),l=p(2489),M=p(843).Buffer;He.exports=function(m,O){var x,d=m.toString(),E=d.match(e);if(E){var k="aes"+E[1],V=M.from(E[2],"hex"),G=M.from(E[3].replace(/[\r\n]/g,""),"base64"),j=A(O,V.slice(0,8),parseInt(E[1],10)).key,W=[],K=l.createDecipheriv(k,j,V);W.push(K.update(G)),W.push(K.final()),x=M.concat(W)}else{var I=d.match(y);x=M.from(I[2].replace(/[\r\n]/g,""),"base64")}return{tag:d.match(t)[1],data:x}}},7983:(He,X,p)=>{var e=p(1322),t=p(2562),y=p(7520),A=p(2489),l=p(7100),M=p(843).Buffer;function m(d){var E;"object"==typeof d&&!M.isBuffer(d)&&(E=d.passphrase,d=d.key),"string"==typeof d&&(d=M.from(d));var V,G,x=y(d,E),I=x.tag,k=x.data;switch(I){case"CERTIFICATE":G=e.certificate.decode(k,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(G||(G=e.PublicKey.decode(k,"der")),V=G.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return e.RSAPublicKey.decode(G.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return G.subjectPrivateKey=G.subjectPublicKey,{type:"ec",data:G};case"1.2.840.10040.4.1":return G.algorithm.params.pub_key=e.DSAparam.decode(G.subjectPublicKey.data,"der"),{type:"dsa",data:G.algorithm.params};default:throw new Error("unknown key id "+V)}case"ENCRYPTED PRIVATE KEY":k=function O(d,E){var x=d.algorithm.decrypt.kde.kdeparams.salt,I=parseInt(d.algorithm.decrypt.kde.kdeparams.iters.toString(),10),k=t[d.algorithm.decrypt.cipher.algo.join(".")],V=d.algorithm.decrypt.cipher.iv,G=d.subjectPrivateKey,j=parseInt(k.split("-")[1],10)/8,W=l.pbkdf2Sync(E,x,I,j,"sha1"),K=A.createDecipheriv(k,W,V),q=[];return q.push(K.update(G)),q.push(K.final()),M.concat(q)}(k=e.EncryptedPrivateKey.decode(k,"der"),E);case"PRIVATE KEY":switch(V=(G=e.PrivateKey.decode(k,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return e.RSAPrivateKey.decode(G.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:G.algorithm.curve,privateKey:e.ECPrivateKey.decode(G.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return G.algorithm.params.priv_key=e.DSAparam.decode(G.subjectPrivateKey,"der"),{type:"dsa",params:G.algorithm.params};default:throw new Error("unknown key id "+V)}case"RSA PUBLIC KEY":return e.RSAPublicKey.decode(k,"der");case"RSA PRIVATE KEY":return e.RSAPrivateKey.decode(k,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:e.DSAPrivateKey.decode(k,"der")};case"EC PRIVATE KEY":return{curve:(k=e.ECPrivateKey.decode(k,"der")).parameters.value,privateKey:k.privateKey};default:throw new Error("unknown key type "+I)}}He.exports=m,m.signature=e.signature},7100:(He,X,p)=>{X.pbkdf2=p(8781),X.pbkdf2Sync=p(8047)},8781:(He,X,p)=>{var M,x,e=p(843).Buffer,t=p(4881),y=p(7107),A=p(8047),l=p(7306),m=global.crypto&&global.crypto.subtle,O={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},d=[];function I(){return x||(x=global.process&&global.process.nextTick?global.process.nextTick:global.queueMicrotask?global.queueMicrotask:global.setImmediate?global.setImmediate:global.setTimeout)}function k(G,j,W,K,q){return m.importKey("raw",G,{name:"PBKDF2"},!1,["deriveBits"]).then(function(ie){return m.deriveBits({name:"PBKDF2",salt:j,iterations:W,hash:{name:q}},ie,K<<3)}).then(function(ie){return e.from(ie)})}He.exports=function(G,j,W,K,q,ie){"function"==typeof q&&(ie=q,q=void 0);var ae=O[(q=q||"sha1").toLowerCase()];if(ae&&"function"==typeof global.Promise){if(t(W,K),G=l(G,y,"Password"),j=l(j,y,"Salt"),"function"!=typeof ie)throw new Error("No callback provided to pbkdf2");!function V(G,j){G.then(function(W){I()(function(){j(null,W)})},function(W){I()(function(){j(W)})})}(function E(G){if(global.process&&!global.process.browser||!m||!m.importKey||!m.deriveBits)return Promise.resolve(!1);if(void 0!==d[G])return d[G];var j=k(M=M||e.alloc(8),M,10,128,G).then(function(){return!0}).catch(function(){return!1});return d[G]=j,j}(ae).then(function(ue){return ue?k(G,j,W,K,ae):A(G,j,W,K,q)}),ie)}else I()(function(){var ue;try{ue=A(G,j,W,K,q)}catch(re){return ie(re)}ie(null,ue)})}},7107:He=>{var X;X=global.process&&global.process.browser?"utf-8":global.process&&global.process.version?parseInt(process.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":"utf-8",He.exports=X},4881:He=>{var X=Math.pow(2,30)-1;He.exports=function(p,e){if("number"!=typeof p)throw new TypeError("Iterations not a number");if(p<0)throw new TypeError("Bad iterations");if("number"!=typeof e)throw new TypeError("Key length not a number");if(e<0||e>X||e!=e)throw new TypeError("Bad key length")}},8047:(He,X,p)=>{var e=p(7588),t=p(9706),y=p(7965),A=p(843).Buffer,l=p(4881),M=p(7107),m=p(7306),O=A.alloc(128),d={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function E(k,V,G){var j=function x(k){return"rmd160"===k||"ripemd160"===k?function G(j){return(new t).update(j).digest()}:"md5"===k?e:function V(j){return y(k).update(j).digest()}}(k),W="sha512"===k||"sha384"===k?128:64;V.length>W?V=j(V):V.length<W&&(V=A.concat([V,O],W));for(var K=A.allocUnsafe(W+d[k]),q=A.allocUnsafe(W+d[k]),ie=0;ie<W;ie++)K[ie]=54^V[ie],q[ie]=92^V[ie];var ae=A.allocUnsafe(W+G+4);K.copy(ae,0,0,W),this.ipad1=ae,this.ipad2=K,this.opad=q,this.alg=k,this.blocksize=W,this.hash=j,this.size=d[k]}E.prototype.run=function(k,V){return k.copy(V,this.blocksize),this.hash(V).copy(this.opad,this.blocksize),this.hash(this.opad)},He.exports=function I(k,V,G,j,W){l(G,j);var K=new E(W=W||"sha1",k=m(k,M,"Password"),(V=m(V,M,"Salt")).length),q=A.allocUnsafe(j),ie=A.allocUnsafe(V.length+4);V.copy(ie,0,0,V.length);for(var ae=0,ue=d[W],re=Math.ceil(j/ue),xe=1;xe<=re;xe++){ie.writeUInt32BE(xe,V.length);for(var $=K.run(ie,K.ipad1),he=$,S=1;S<G;S++){he=K.run(he,K.ipad2);for(var n=0;n<ue;n++)$[n]^=he[n]}$.copy(q,ae),ae+=ue}return q}},7306:(He,X,p)=>{var e=p(843).Buffer;He.exports=function(t,y,A){if(e.isBuffer(t))return t;if("string"==typeof t)return e.from(t,y);if(ArrayBuffer.isView(t))return e.from(t.buffer);throw new TypeError(A+" must be a string, a Buffer, a typed array or a DataView")}},7050:(He,X,p)=>{X.publicEncrypt=p(5737),X.privateDecrypt=p(5252),X.privateEncrypt=function(t,y){return X.publicEncrypt(t,y,!0)},X.publicDecrypt=function(t,y){return X.privateDecrypt(t,y,!0)}},6517:(He,X,p)=>{var e=p(6362),t=p(843).Buffer;function y(A){var l=t.allocUnsafe(4);return l.writeUInt32BE(A,0),l}He.exports=function(A,l){for(var O,M=t.alloc(0),m=0;M.length<l;)O=y(m++),M=t.concat([M,e("sha1").update(A).update(O).digest()]);return M.slice(0,l)}},8211:function(He,X,p){!function(e,t){"use strict";function y(S,n){if(!S)throw new Error(n||"Assertion failed")}function A(S,n){S.super_=n;var s=function(){};s.prototype=n.prototype,S.prototype=new s,S.prototype.constructor=S}function l(S,n,s){if(l.isBN(S))return S;this.negative=0,this.words=null,this.length=0,this.red=null,null!==S&&(("le"===n||"be"===n)&&(s=n,n=10),this._init(S||0,n||10,s||"be"))}var M;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{M=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:p(7108).Buffer}catch{}function m(S,n){var s=S.charCodeAt(n);return s>=65&&s<=70?s-55:s>=97&&s<=102?s-87:s-48&15}function O(S,n,s){var f=m(S,s);return s-1>=n&&(f|=m(S,s-1)<<4),f}function d(S,n,s,f){for(var h=0,w=Math.min(S.length,s),D=n;D<w;D++){var P=S.charCodeAt(D)-48;h*=f,h+=P>=49?P-49+10:P>=17?P-17+10:P}return h}l.isBN=function(n){return n instanceof l||null!==n&&"object"==typeof n&&n.constructor.wordSize===l.wordSize&&Array.isArray(n.words)},l.max=function(n,s){return n.cmp(s)>0?n:s},l.min=function(n,s){return n.cmp(s)<0?n:s},l.prototype._init=function(n,s,f){if("number"==typeof n)return this._initNumber(n,s,f);if("object"==typeof n)return this._initArray(n,s,f);"hex"===s&&(s=16),y(s===(0|s)&&s>=2&&s<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<n.length&&(16===s?this._parseHex(n,h,f):(this._parseBase(n,s,h),"le"===f&&this._initArray(this.toArray(),s,f)))},l.prototype._initNumber=function(n,s,f){n<0&&(this.negative=1,n=-n),n<67108864?(this.words=[67108863&n],this.length=1):n<4503599627370496?(this.words=[67108863&n,n/67108864&67108863],this.length=2):(y(n<9007199254740992),this.words=[67108863&n,n/67108864&67108863,1],this.length=3),"le"===f&&this._initArray(this.toArray(),s,f)},l.prototype._initArray=function(n,s,f){if(y("number"==typeof n.length),n.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(n.length/3),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var w,D,P=0;if("be"===f)for(h=n.length-1,w=0;h>=0;h-=3)this.words[w]|=(D=n[h]|n[h-1]<<8|n[h-2]<<16)<<P&67108863,this.words[w+1]=D>>>26-P&67108863,(P+=24)>=26&&(P-=26,w++);else if("le"===f)for(h=0,w=0;h<n.length;h+=3)this.words[w]|=(D=n[h]|n[h+1]<<8|n[h+2]<<16)<<P&67108863,this.words[w+1]=D>>>26-P&67108863,(P+=24)>=26&&(P-=26,w++);return this.strip()},l.prototype._parseHex=function(n,s,f){this.length=Math.ceil((n.length-s)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var P,w=0,D=0;if("be"===f)for(h=n.length-1;h>=s;h-=2)P=O(n,s,h)<<w,this.words[D]|=67108863&P,w>=18?(w-=18,this.words[D+=1]|=P>>>26):w+=8;else for(h=(n.length-s)%2==0?s+1:s;h<n.length;h+=2)P=O(n,s,h)<<w,this.words[D]|=67108863&P,w>=18?(w-=18,this.words[D+=1]|=P>>>26):w+=8;this.strip()},l.prototype._parseBase=function(n,s,f){this.words=[0],this.length=1;for(var h=0,w=1;w<=67108863;w*=s)h++;h--,w=w/s|0;for(var D=n.length-f,P=D%h,v=Math.min(D,D-P)+f,r=0,g=f;g<v;g+=h)r=d(n,g,g+h,s),this.imuln(w),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==P){var H=1;for(r=d(n,g,n.length,s),g=0;g<P;g++)H*=s;this.imuln(H),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r)}this.strip()},l.prototype.copy=function(n){n.words=new Array(this.length);for(var s=0;s<this.length;s++)n.words[s]=this.words[s];n.length=this.length,n.negative=this.negative,n.red=this.red},l.prototype.clone=function(){var n=new l(null);return this.copy(n),n},l.prototype._expand=function(n){for(;this.length<n;)this.words[this.length++]=0;return this},l.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var E=["","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"],x=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],I=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function V(S,n,s){s.negative=n.negative^S.negative;var f=S.length+n.length|0;s.length=f,f=f-1|0;var h=0|S.words[0],w=0|n.words[0],D=h*w,v=D/67108864|0;s.words[0]=67108863&D;for(var r=1;r<f;r++){for(var g=v>>>26,H=67108863&v,N=Math.min(r,n.length-1),te=Math.max(0,r-S.length+1);te<=N;te++)g+=(D=(h=0|S.words[r-te|0])*(w=0|n.words[te])+H)/67108864|0,H=67108863&D;s.words[r]=0|H,v=0|g}return 0!==v?s.words[r]=0|v:s.length--,s.strip()}l.prototype.toString=function(n,s){var f;if(s=0|s||1,16===(n=n||10)||"hex"===n){f="";for(var h=0,w=0,D=0;D<this.length;D++){var P=this.words[D],v=(16777215&(P<<h|w)).toString(16);f=0!=(w=P>>>24-h&16777215)||D!==this.length-1?E[6-v.length]+v+f:v+f,(h+=2)>=26&&(h-=26,D--)}for(0!==w&&(f=w.toString(16)+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(n===(0|n)&&n>=2&&n<=36){var r=x[n],g=I[n];f="";var H=this.clone();for(H.negative=0;!H.isZero();){var N=H.modn(g).toString(n);f=(H=H.idivn(g)).isZero()?N+f:E[r-N.length]+N+f}for(this.isZero()&&(f="0"+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}y(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&y(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(n,s){return y(typeof M<"u"),this.toArrayLike(M,n,s)},l.prototype.toArray=function(n,s){return this.toArrayLike(Array,n,s)},l.prototype.toArrayLike=function(n,s,f){var h=this.byteLength(),w=f||Math.max(1,h);y(h<=w,"byte array longer than desired length"),y(w>0,"Requested array length <= 0"),this.strip();var v,r,D="le"===s,P=new n(w),g=this.clone();if(D){for(r=0;!g.isZero();r++)v=g.andln(255),g.iushrn(8),P[r]=v;for(;r<w;r++)P[r]=0}else{for(r=0;r<w-h;r++)P[r]=0;for(r=0;!g.isZero();r++)v=g.andln(255),g.iushrn(8),P[w-r-1]=v}return P},l.prototype._countBits=Math.clz32?function(n){return 32-Math.clz32(n)}:function(n){var s=n,f=0;return s>=4096&&(f+=13,s>>>=13),s>=64&&(f+=7,s>>>=7),s>=8&&(f+=4,s>>>=4),s>=2&&(f+=2,s>>>=2),f+s},l.prototype._zeroBits=function(n){if(0===n)return 26;var s=n,f=0;return 8191&s||(f+=13,s>>>=13),127&s||(f+=7,s>>>=7),15&s||(f+=4,s>>>=4),3&s||(f+=2,s>>>=2),1&s||f++,f},l.prototype.bitLength=function(){var s=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+s},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,s=0;s<this.length;s++){var f=this._zeroBits(this.words[s]);if(n+=f,26!==f)break}return n},l.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},l.prototype.toTwos=function(n){return 0!==this.negative?this.abs().inotn(n).iaddn(1):this.clone()},l.prototype.fromTwos=function(n){return this.testn(n-1)?this.notn(n).iaddn(1).ineg():this.clone()},l.prototype.isNeg=function(){return 0!==this.negative},l.prototype.neg=function(){return this.clone().ineg()},l.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},l.prototype.iuor=function(n){for(;this.length<n.length;)this.words[this.length++]=0;for(var s=0;s<n.length;s++)this.words[s]=this.words[s]|n.words[s];return this.strip()},l.prototype.ior=function(n){return y(0==(this.negative|n.negative)),this.iuor(n)},l.prototype.or=function(n){return this.length>n.length?this.clone().ior(n):n.clone().ior(this)},l.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},l.prototype.iuand=function(n){var s;s=this.length>n.length?n:this;for(var f=0;f<s.length;f++)this.words[f]=this.words[f]&n.words[f];return this.length=s.length,this.strip()},l.prototype.iand=function(n){return y(0==(this.negative|n.negative)),this.iuand(n)},l.prototype.and=function(n){return this.length>n.length?this.clone().iand(n):n.clone().iand(this)},l.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},l.prototype.iuxor=function(n){var s,f;this.length>n.length?(s=this,f=n):(s=n,f=this);for(var h=0;h<f.length;h++)this.words[h]=s.words[h]^f.words[h];if(this!==s)for(;h<s.length;h++)this.words[h]=s.words[h];return this.length=s.length,this.strip()},l.prototype.ixor=function(n){return y(0==(this.negative|n.negative)),this.iuxor(n)},l.prototype.xor=function(n){return this.length>n.length?this.clone().ixor(n):n.clone().ixor(this)},l.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},l.prototype.inotn=function(n){y("number"==typeof n&&n>=0);var s=0|Math.ceil(n/26),f=n%26;this._expand(s),f>0&&s--;for(var h=0;h<s;h++)this.words[h]=67108863&~this.words[h];return f>0&&(this.words[h]=~this.words[h]&67108863>>26-f),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,s){y("number"==typeof n&&n>=0);var f=n/26|0,h=n%26;return this._expand(f+1),this.words[f]=s?this.words[f]|1<<h:this.words[f]&~(1<<h),this.strip()},l.prototype.iadd=function(n){var s,f,h;if(0!==this.negative&&0===n.negative)return this.negative=0,s=this.isub(n),this.negative^=1,this._normSign();if(0===this.negative&&0!==n.negative)return n.negative=0,s=this.isub(n),n.negative=1,s._normSign();this.length>n.length?(f=this,h=n):(f=n,h=this);for(var w=0,D=0;D<h.length;D++)this.words[D]=67108863&(s=(0|f.words[D])+(0|h.words[D])+w),w=s>>>26;for(;0!==w&&D<f.length;D++)this.words[D]=67108863&(s=(0|f.words[D])+w),w=s>>>26;if(this.length=f.length,0!==w)this.words[this.length]=w,this.length++;else if(f!==this)for(;D<f.length;D++)this.words[D]=f.words[D];return this},l.prototype.add=function(n){var s;return 0!==n.negative&&0===this.negative?(n.negative=0,s=this.sub(n),n.negative^=1,s):0===n.negative&&0!==this.negative?(this.negative=0,s=n.sub(this),this.negative=1,s):this.length>n.length?this.clone().iadd(n):n.clone().iadd(this)},l.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var s=this.iadd(n);return n.negative=1,s._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,w,f=this.cmp(n);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(h=this,w=n):(h=n,w=this);for(var D=0,P=0;P<w.length;P++)D=(s=(0|h.words[P])-(0|w.words[P])+D)>>26,this.words[P]=67108863&s;for(;0!==D&&P<h.length;P++)D=(s=(0|h.words[P])+D)>>26,this.words[P]=67108863&s;if(0===D&&P<h.length&&h!==this)for(;P<h.length;P++)this.words[P]=h.words[P];return this.length=Math.max(this.length,P),h!==this&&(this.negative=1),this.strip()},l.prototype.sub=function(n){return this.clone().isub(n)};var G=function(n,s,f){var v,r,g,h=n.words,w=s.words,D=f.words,P=0,H=0|h[0],N=8191&H,te=H>>>13,De=0|h[1],st=8191&De,je=De>>>13,$e=0|h[2],ye=8191&$e,fe=$e>>>13,de=0|h[3],Ce=8191&de,le=de>>>13,ge=0|h[4],qe=8191&ge,oe=ge>>>13,ve=0|h[5],ce=8191&ve,Ge=ve>>>13,Ze=0|h[6],wt=8191&Ze,mt=Ze>>>13,kt=0|h[7],Ae=8191&kt,ze=kt>>>13,nt=0|h[8],et=8191&nt,ke=nt>>>13,ct=0|h[9],Qe=8191&ct,Et=ct>>>13,lt=0|w[0],Ke=8191&lt,Be=lt>>>13,Xt=0|w[1],J=8191&Xt,We=Xt>>>13,Ft=0|w[2],Ct=8191&Ft,Pt=Ft>>>13,xt=0|w[3],rt=8191&xt,Ee=xt>>>13,it=0|w[4],Ue=8191&it,Je=it>>>13,_t=0|w[5],Le=8191&_t,be=_t>>>13,ee=0|w[6],ne=8191&ee,Ie=ee>>>13,Ht=0|w[7],At=8191&Ht,Zt=Ht>>>13,pi=0|w[8],Jt=8191&pi,qt=pi>>>13,Hi=0|w[9],di=8191&Hi,fi=Hi>>>13;f.negative=n.negative^s.negative,f.length=19;var un=(P+(v=Math.imul(N,Ke))|0)+((8191&(r=(r=Math.imul(N,Be))+Math.imul(te,Ke)|0))<<13)|0;P=((g=Math.imul(te,Be))+(r>>>13)|0)+(un>>>26)|0,un&=67108863,v=Math.imul(st,Ke),r=(r=Math.imul(st,Be))+Math.imul(je,Ke)|0,g=Math.imul(je,Be);var Qi=(P+(v=v+Math.imul(N,J)|0)|0)+((8191&(r=(r=r+Math.imul(N,We)|0)+Math.imul(te,J)|0))<<13)|0;P=((g=g+Math.imul(te,We)|0)+(r>>>13)|0)+(Qi>>>26)|0,Qi&=67108863,v=Math.imul(ye,Ke),r=(r=Math.imul(ye,Be))+Math.imul(fe,Ke)|0,g=Math.imul(fe,Be),v=v+Math.imul(st,J)|0,r=(r=r+Math.imul(st,We)|0)+Math.imul(je,J)|0,g=g+Math.imul(je,We)|0;var xi=(P+(v=v+Math.imul(N,Ct)|0)|0)+((8191&(r=(r=r+Math.imul(N,Pt)|0)+Math.imul(te,Ct)|0))<<13)|0;P=((g=g+Math.imul(te,Pt)|0)+(r>>>13)|0)+(xi>>>26)|0,xi&=67108863,v=Math.imul(Ce,Ke),r=(r=Math.imul(Ce,Be))+Math.imul(le,Ke)|0,g=Math.imul(le,Be),v=v+Math.imul(ye,J)|0,r=(r=r+Math.imul(ye,We)|0)+Math.imul(fe,J)|0,g=g+Math.imul(fe,We)|0,v=v+Math.imul(st,Ct)|0,r=(r=r+Math.imul(st,Pt)|0)+Math.imul(je,Ct)|0,g=g+Math.imul(je,Pt)|0;var sn=(P+(v=v+Math.imul(N,rt)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ee)|0)+Math.imul(te,rt)|0))<<13)|0;P=((g=g+Math.imul(te,Ee)|0)+(r>>>13)|0)+(sn>>>26)|0,sn&=67108863,v=Math.imul(qe,Ke),r=(r=Math.imul(qe,Be))+Math.imul(oe,Ke)|0,g=Math.imul(oe,Be),v=v+Math.imul(Ce,J)|0,r=(r=r+Math.imul(Ce,We)|0)+Math.imul(le,J)|0,g=g+Math.imul(le,We)|0,v=v+Math.imul(ye,Ct)|0,r=(r=r+Math.imul(ye,Pt)|0)+Math.imul(fe,Ct)|0,g=g+Math.imul(fe,Pt)|0,v=v+Math.imul(st,rt)|0,r=(r=r+Math.imul(st,Ee)|0)+Math.imul(je,rt)|0,g=g+Math.imul(je,Ee)|0;var ot=(P+(v=v+Math.imul(N,Ue)|0)|0)+((8191&(r=(r=r+Math.imul(N,Je)|0)+Math.imul(te,Ue)|0))<<13)|0;P=((g=g+Math.imul(te,Je)|0)+(r>>>13)|0)+(ot>>>26)|0,ot&=67108863,v=Math.imul(ce,Ke),r=(r=Math.imul(ce,Be))+Math.imul(Ge,Ke)|0,g=Math.imul(Ge,Be),v=v+Math.imul(qe,J)|0,r=(r=r+Math.imul(qe,We)|0)+Math.imul(oe,J)|0,g=g+Math.imul(oe,We)|0,v=v+Math.imul(Ce,Ct)|0,r=(r=r+Math.imul(Ce,Pt)|0)+Math.imul(le,Ct)|0,g=g+Math.imul(le,Pt)|0,v=v+Math.imul(ye,rt)|0,r=(r=r+Math.imul(ye,Ee)|0)+Math.imul(fe,rt)|0,g=g+Math.imul(fe,Ee)|0,v=v+Math.imul(st,Ue)|0,r=(r=r+Math.imul(st,Je)|0)+Math.imul(je,Ue)|0,g=g+Math.imul(je,Je)|0;var si=(P+(v=v+Math.imul(N,Le)|0)|0)+((8191&(r=(r=r+Math.imul(N,be)|0)+Math.imul(te,Le)|0))<<13)|0;P=((g=g+Math.imul(te,be)|0)+(r>>>13)|0)+(si>>>26)|0,si&=67108863,v=Math.imul(wt,Ke),r=(r=Math.imul(wt,Be))+Math.imul(mt,Ke)|0,g=Math.imul(mt,Be),v=v+Math.imul(ce,J)|0,r=(r=r+Math.imul(ce,We)|0)+Math.imul(Ge,J)|0,g=g+Math.imul(Ge,We)|0,v=v+Math.imul(qe,Ct)|0,r=(r=r+Math.imul(qe,Pt)|0)+Math.imul(oe,Ct)|0,g=g+Math.imul(oe,Pt)|0,v=v+Math.imul(Ce,rt)|0,r=(r=r+Math.imul(Ce,Ee)|0)+Math.imul(le,rt)|0,g=g+Math.imul(le,Ee)|0,v=v+Math.imul(ye,Ue)|0,r=(r=r+Math.imul(ye,Je)|0)+Math.imul(fe,Ue)|0,g=g+Math.imul(fe,Je)|0,v=v+Math.imul(st,Le)|0,r=(r=r+Math.imul(st,be)|0)+Math.imul(je,Le)|0,g=g+Math.imul(je,be)|0;var we=(P+(v=v+Math.imul(N,ne)|0)|0)+((8191&(r=(r=r+Math.imul(N,Ie)|0)+Math.imul(te,ne)|0))<<13)|0;P=((g=g+Math.imul(te,Ie)|0)+(r>>>13)|0)+(we>>>26)|0,we&=67108863,v=Math.imul(Ae,Ke),r=(r=Math.imul(Ae,Be))+Math.imul(ze,Ke)|0,g=Math.imul(ze,Be),v=v+Math.imul(wt,J)|0,r=(r=r+Math.imul(wt,We)|0)+Math.imul(mt,J)|0,g=g+Math.imul(mt,We)|0,v=v+Math.imul(ce,Ct)|0,r=(r=r+Math.imul(ce,Pt)|0)+Math.imul(Ge,Ct)|0,g=g+Math.imul(Ge,Pt)|0,v=v+Math.imul(qe,rt)|0,r=(r=r+Math.imul(qe,Ee)|0)+Math.imul(oe,rt)|0,g=g+Math.imul(oe,Ee)|0,v=v+Math.imul(Ce,Ue)|0,r=(r=r+Math.imul(Ce,Je)|0)+Math.imul(le,Ue)|0,g=g+Math.imul(le,Je)|0,v=v+Math.imul(ye,Le)|0,r=(r=r+Math.imul(ye,be)|0)+Math.imul(fe,Le)|0,g=g+Math.imul(fe,be)|0,v=v+Math.imul(st,ne)|0,r=(r=r+Math.imul(st,Ie)|0)+Math.imul(je,ne)|0,g=g+Math.imul(je,Ie)|0;var St=(P+(v=v+Math.imul(N,At)|0)|0)+((8191&(r=(r=r+Math.imul(N,Zt)|0)+Math.imul(te,At)|0))<<13)|0;P=((g=g+Math.imul(te,Zt)|0)+(r>>>13)|0)+(St>>>26)|0,St&=67108863,v=Math.imul(et,Ke),r=(r=Math.imul(et,Be))+Math.imul(ke,Ke)|0,g=Math.imul(ke,Be),v=v+Math.imul(Ae,J)|0,r=(r=r+Math.imul(Ae,We)|0)+Math.imul(ze,J)|0,g=g+Math.imul(ze,We)|0,v=v+Math.imul(wt,Ct)|0,r=(r=r+Math.imul(wt,Pt)|0)+Math.imul(mt,Ct)|0,g=g+Math.imul(mt,Pt)|0,v=v+Math.imul(ce,rt)|0,r=(r=r+Math.imul(ce,Ee)|0)+Math.imul(Ge,rt)|0,g=g+Math.imul(Ge,Ee)|0,v=v+Math.imul(qe,Ue)|0,r=(r=r+Math.imul(qe,Je)|0)+Math.imul(oe,Ue)|0,g=g+Math.imul(oe,Je)|0,v=v+Math.imul(Ce,Le)|0,r=(r=r+Math.imul(Ce,be)|0)+Math.imul(le,Le)|0,g=g+Math.imul(le,be)|0,v=v+Math.imul(ye,ne)|0,r=(r=r+Math.imul(ye,Ie)|0)+Math.imul(fe,ne)|0,g=g+Math.imul(fe,Ie)|0,v=v+Math.imul(st,At)|0,r=(r=r+Math.imul(st,Zt)|0)+Math.imul(je,At)|0,g=g+Math.imul(je,Zt)|0;var zt=(P+(v=v+Math.imul(N,Jt)|0)|0)+((8191&(r=(r=r+Math.imul(N,qt)|0)+Math.imul(te,Jt)|0))<<13)|0;P=((g=g+Math.imul(te,qt)|0)+(r>>>13)|0)+(zt>>>26)|0,zt&=67108863,v=Math.imul(Qe,Ke),r=(r=Math.imul(Qe,Be))+Math.imul(Et,Ke)|0,g=Math.imul(Et,Be),v=v+Math.imul(et,J)|0,r=(r=r+Math.imul(et,We)|0)+Math.imul(ke,J)|0,g=g+Math.imul(ke,We)|0,v=v+Math.imul(Ae,Ct)|0,r=(r=r+Math.imul(Ae,Pt)|0)+Math.imul(ze,Ct)|0,g=g+Math.imul(ze,Pt)|0,v=v+Math.imul(wt,rt)|0,r=(r=r+Math.imul(wt,Ee)|0)+Math.imul(mt,rt)|0,g=g+Math.imul(mt,Ee)|0,v=v+Math.imul(ce,Ue)|0,r=(r=r+Math.imul(ce,Je)|0)+Math.imul(Ge,Ue)|0,g=g+Math.imul(Ge,Je)|0,v=v+Math.imul(qe,Le)|0,r=(r=r+Math.imul(qe,be)|0)+Math.imul(oe,Le)|0,g=g+Math.imul(oe,be)|0,v=v+Math.imul(Ce,ne)|0,r=(r=r+Math.imul(Ce,Ie)|0)+Math.imul(le,ne)|0,g=g+Math.imul(le,Ie)|0,v=v+Math.imul(ye,At)|0,r=(r=r+Math.imul(ye,Zt)|0)+Math.imul(fe,At)|0,g=g+Math.imul(fe,Zt)|0,v=v+Math.imul(st,Jt)|0,r=(r=r+Math.imul(st,qt)|0)+Math.imul(je,Jt)|0,g=g+Math.imul(je,qt)|0;var Dt=(P+(v=v+Math.imul(N,di)|0)|0)+((8191&(r=(r=r+Math.imul(N,fi)|0)+Math.imul(te,di)|0))<<13)|0;P=((g=g+Math.imul(te,fi)|0)+(r>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,v=Math.imul(Qe,J),r=(r=Math.imul(Qe,We))+Math.imul(Et,J)|0,g=Math.imul(Et,We),v=v+Math.imul(et,Ct)|0,r=(r=r+Math.imul(et,Pt)|0)+Math.imul(ke,Ct)|0,g=g+Math.imul(ke,Pt)|0,v=v+Math.imul(Ae,rt)|0,r=(r=r+Math.imul(Ae,Ee)|0)+Math.imul(ze,rt)|0,g=g+Math.imul(ze,Ee)|0,v=v+Math.imul(wt,Ue)|0,r=(r=r+Math.imul(wt,Je)|0)+Math.imul(mt,Ue)|0,g=g+Math.imul(mt,Je)|0,v=v+Math.imul(ce,Le)|0,r=(r=r+Math.imul(ce,be)|0)+Math.imul(Ge,Le)|0,g=g+Math.imul(Ge,be)|0,v=v+Math.imul(qe,ne)|0,r=(r=r+Math.imul(qe,Ie)|0)+Math.imul(oe,ne)|0,g=g+Math.imul(oe,Ie)|0,v=v+Math.imul(Ce,At)|0,r=(r=r+Math.imul(Ce,Zt)|0)+Math.imul(le,At)|0,g=g+Math.imul(le,Zt)|0,v=v+Math.imul(ye,Jt)|0,r=(r=r+Math.imul(ye,qt)|0)+Math.imul(fe,Jt)|0,g=g+Math.imul(fe,qt)|0;var Lt=(P+(v=v+Math.imul(st,di)|0)|0)+((8191&(r=(r=r+Math.imul(st,fi)|0)+Math.imul(je,di)|0))<<13)|0;P=((g=g+Math.imul(je,fi)|0)+(r>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,v=Math.imul(Qe,Ct),r=(r=Math.imul(Qe,Pt))+Math.imul(Et,Ct)|0,g=Math.imul(Et,Pt),v=v+Math.imul(et,rt)|0,r=(r=r+Math.imul(et,Ee)|0)+Math.imul(ke,rt)|0,g=g+Math.imul(ke,Ee)|0,v=v+Math.imul(Ae,Ue)|0,r=(r=r+Math.imul(Ae,Je)|0)+Math.imul(ze,Ue)|0,g=g+Math.imul(ze,Je)|0,v=v+Math.imul(wt,Le)|0,r=(r=r+Math.imul(wt,be)|0)+Math.imul(mt,Le)|0,g=g+Math.imul(mt,be)|0,v=v+Math.imul(ce,ne)|0,r=(r=r+Math.imul(ce,Ie)|0)+Math.imul(Ge,ne)|0,g=g+Math.imul(Ge,Ie)|0,v=v+Math.imul(qe,At)|0,r=(r=r+Math.imul(qe,Zt)|0)+Math.imul(oe,At)|0,g=g+Math.imul(oe,Zt)|0,v=v+Math.imul(Ce,Jt)|0,r=(r=r+Math.imul(Ce,qt)|0)+Math.imul(le,Jt)|0,g=g+Math.imul(le,qt)|0;var Bt=(P+(v=v+Math.imul(ye,di)|0)|0)+((8191&(r=(r=r+Math.imul(ye,fi)|0)+Math.imul(fe,di)|0))<<13)|0;P=((g=g+Math.imul(fe,fi)|0)+(r>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,v=Math.imul(Qe,rt),r=(r=Math.imul(Qe,Ee))+Math.imul(Et,rt)|0,g=Math.imul(Et,Ee),v=v+Math.imul(et,Ue)|0,r=(r=r+Math.imul(et,Je)|0)+Math.imul(ke,Ue)|0,g=g+Math.imul(ke,Je)|0,v=v+Math.imul(Ae,Le)|0,r=(r=r+Math.imul(Ae,be)|0)+Math.imul(ze,Le)|0,g=g+Math.imul(ze,be)|0,v=v+Math.imul(wt,ne)|0,r=(r=r+Math.imul(wt,Ie)|0)+Math.imul(mt,ne)|0,g=g+Math.imul(mt,Ie)|0,v=v+Math.imul(ce,At)|0,r=(r=r+Math.imul(ce,Zt)|0)+Math.imul(Ge,At)|0,g=g+Math.imul(Ge,Zt)|0,v=v+Math.imul(qe,Jt)|0,r=(r=r+Math.imul(qe,qt)|0)+Math.imul(oe,Jt)|0,g=g+Math.imul(oe,qt)|0;var ai=(P+(v=v+Math.imul(Ce,di)|0)|0)+((8191&(r=(r=r+Math.imul(Ce,fi)|0)+Math.imul(le,di)|0))<<13)|0;P=((g=g+Math.imul(le,fi)|0)+(r>>>13)|0)+(ai>>>26)|0,ai&=67108863,v=Math.imul(Qe,Ue),r=(r=Math.imul(Qe,Je))+Math.imul(Et,Ue)|0,g=Math.imul(Et,Je),v=v+Math.imul(et,Le)|0,r=(r=r+Math.imul(et,be)|0)+Math.imul(ke,Le)|0,g=g+Math.imul(ke,be)|0,v=v+Math.imul(Ae,ne)|0,r=(r=r+Math.imul(Ae,Ie)|0)+Math.imul(ze,ne)|0,g=g+Math.imul(ze,Ie)|0,v=v+Math.imul(wt,At)|0,r=(r=r+Math.imul(wt,Zt)|0)+Math.imul(mt,At)|0,g=g+Math.imul(mt,Zt)|0,v=v+Math.imul(ce,Jt)|0,r=(r=r+Math.imul(ce,qt)|0)+Math.imul(Ge,Jt)|0,g=g+Math.imul(Ge,qt)|0;var vi=(P+(v=v+Math.imul(qe,di)|0)|0)+((8191&(r=(r=r+Math.imul(qe,fi)|0)+Math.imul(oe,di)|0))<<13)|0;P=((g=g+Math.imul(oe,fi)|0)+(r>>>13)|0)+(vi>>>26)|0,vi&=67108863,v=Math.imul(Qe,Le),r=(r=Math.imul(Qe,be))+Math.imul(Et,Le)|0,g=Math.imul(Et,be),v=v+Math.imul(et,ne)|0,r=(r=r+Math.imul(et,Ie)|0)+Math.imul(ke,ne)|0,g=g+Math.imul(ke,Ie)|0,v=v+Math.imul(Ae,At)|0,r=(r=r+Math.imul(Ae,Zt)|0)+Math.imul(ze,At)|0,g=g+Math.imul(ze,Zt)|0,v=v+Math.imul(wt,Jt)|0,r=(r=r+Math.imul(wt,qt)|0)+Math.imul(mt,Jt)|0,g=g+Math.imul(mt,qt)|0;var bi=(P+(v=v+Math.imul(ce,di)|0)|0)+((8191&(r=(r=r+Math.imul(ce,fi)|0)+Math.imul(Ge,di)|0))<<13)|0;P=((g=g+Math.imul(Ge,fi)|0)+(r>>>13)|0)+(bi>>>26)|0,bi&=67108863,v=Math.imul(Qe,ne),r=(r=Math.imul(Qe,Ie))+Math.imul(Et,ne)|0,g=Math.imul(Et,Ie),v=v+Math.imul(et,At)|0,r=(r=r+Math.imul(et,Zt)|0)+Math.imul(ke,At)|0,g=g+Math.imul(ke,Zt)|0,v=v+Math.imul(Ae,Jt)|0,r=(r=r+Math.imul(Ae,qt)|0)+Math.imul(ze,Jt)|0,g=g+Math.imul(ze,qt)|0;var ki=(P+(v=v+Math.imul(wt,di)|0)|0)+((8191&(r=(r=r+Math.imul(wt,fi)|0)+Math.imul(mt,di)|0))<<13)|0;P=((g=g+Math.imul(mt,fi)|0)+(r>>>13)|0)+(ki>>>26)|0,ki&=67108863,v=Math.imul(Qe,At),r=(r=Math.imul(Qe,Zt))+Math.imul(Et,At)|0,g=Math.imul(Et,Zt),v=v+Math.imul(et,Jt)|0,r=(r=r+Math.imul(et,qt)|0)+Math.imul(ke,Jt)|0,g=g+Math.imul(ke,qt)|0;var Bi=(P+(v=v+Math.imul(Ae,di)|0)|0)+((8191&(r=(r=r+Math.imul(Ae,fi)|0)+Math.imul(ze,di)|0))<<13)|0;P=((g=g+Math.imul(ze,fi)|0)+(r>>>13)|0)+(Bi>>>26)|0,Bi&=67108863,v=Math.imul(Qe,Jt),r=(r=Math.imul(Qe,qt))+Math.imul(Et,Jt)|0,g=Math.imul(Et,qt);var Vi=(P+(v=v+Math.imul(et,di)|0)|0)+((8191&(r=(r=r+Math.imul(et,fi)|0)+Math.imul(ke,di)|0))<<13)|0;P=((g=g+Math.imul(ke,fi)|0)+(r>>>13)|0)+(Vi>>>26)|0,Vi&=67108863;var jt=(P+(v=Math.imul(Qe,di))|0)+((8191&(r=(r=Math.imul(Qe,fi))+Math.imul(Et,di)|0))<<13)|0;return P=((g=Math.imul(Et,fi))+(r>>>13)|0)+(jt>>>26)|0,jt&=67108863,D[0]=un,D[1]=Qi,D[2]=xi,D[3]=sn,D[4]=ot,D[5]=si,D[6]=we,D[7]=St,D[8]=zt,D[9]=Dt,D[10]=Lt,D[11]=Bt,D[12]=ai,D[13]=vi,D[14]=bi,D[15]=ki,D[16]=Bi,D[17]=Vi,D[18]=jt,0!==P&&(D[19]=P,f.length++),f};function W(S,n,s){return(new K).mulp(S,n,s)}function K(S,n){this.x=S,this.y=n}Math.imul||(G=V),l.prototype.mulTo=function(n,s){var f,h=this.length+n.length;return f=10===this.length&&10===n.length?G(this,n,s):h<63?V(this,n,s):h<1024?function j(S,n,s){s.negative=n.negative^S.negative,s.length=S.length+n.length;for(var f=0,h=0,w=0;w<s.length-1;w++){var D=h;h=0;for(var P=67108863&f,v=Math.min(w,n.length-1),r=Math.max(0,w-S.length+1);r<=v;r++){var te=(0|S.words[w-r])*(0|n.words[r]),De=67108863&te;P=67108863&(De=De+P|0),h+=(D=(D=D+(te/67108864|0)|0)+(De>>>26)|0)>>>26,D&=67108863}s.words[w]=P,f=D,D=h}return 0!==f?s.words[w]=f:s.length--,s.strip()}(this,n,s):W(this,n,s),f},K.prototype.makeRBT=function(n){for(var s=new Array(n),f=l.prototype._countBits(n)-1,h=0;h<n;h++)s[h]=this.revBin(h,f,n);return s},K.prototype.revBin=function(n,s,f){if(0===n||n===f-1)return n;for(var h=0,w=0;w<s;w++)h|=(1&n)<<s-w-1,n>>=1;return h},K.prototype.permute=function(n,s,f,h,w,D){for(var P=0;P<D;P++)h[P]=s[n[P]],w[P]=f[n[P]]},K.prototype.transform=function(n,s,f,h,w,D){this.permute(D,n,s,f,h,w);for(var P=1;P<w;P<<=1)for(var v=P<<1,r=Math.cos(2*Math.PI/v),g=Math.sin(2*Math.PI/v),H=0;H<w;H+=v)for(var N=r,te=g,De=0;De<P;De++){var st=f[H+De],je=h[H+De],$e=f[H+De+P],ye=h[H+De+P],fe=N*$e-te*ye;ye=N*ye+te*$e,f[H+De]=st+($e=fe),h[H+De]=je+ye,f[H+De+P]=st-$e,h[H+De+P]=je-ye,De!==v&&(fe=r*N-g*te,te=r*te+g*N,N=fe)}},K.prototype.guessLen13b=function(n,s){var f=1|Math.max(s,n),h=1&f,w=0;for(f=f/2|0;f;f>>>=1)w++;return 1<<w+1+h},K.prototype.conjugate=function(n,s,f){if(!(f<=1))for(var h=0;h<f/2;h++){var w=n[h];n[h]=n[f-h-1],n[f-h-1]=w,w=s[h],s[h]=-s[f-h-1],s[f-h-1]=-w}},K.prototype.normalize13b=function(n,s){for(var f=0,h=0;h<s/2;h++){var w=8192*Math.round(n[2*h+1]/s)+Math.round(n[2*h]/s)+f;n[h]=67108863&w,f=w<67108864?0:w/67108864|0}return n},K.prototype.convert13b=function(n,s,f,h){for(var w=0,D=0;D<s;D++)f[2*D]=8191&(w+=0|n[D]),f[2*D+1]=8191&(w>>>=13),w>>>=13;for(D=2*s;D<h;++D)f[D]=0;y(0===w),y(0==(-8192&w))},K.prototype.stub=function(n){for(var s=new Array(n),f=0;f<n;f++)s[f]=0;return s},K.prototype.mulp=function(n,s,f){var h=2*this.guessLen13b(n.length,s.length),w=this.makeRBT(h),D=this.stub(h),P=new Array(h),v=new Array(h),r=new Array(h),g=new Array(h),H=new Array(h),N=new Array(h),te=f.words;te.length=h,this.convert13b(n.words,n.length,P,h),this.convert13b(s.words,s.length,g,h),this.transform(P,D,v,r,h,w),this.transform(g,D,H,N,h,w);for(var De=0;De<h;De++){var st=v[De]*H[De]-r[De]*N[De];r[De]=v[De]*N[De]+r[De]*H[De],v[De]=st}return this.conjugate(v,r,h),this.transform(v,r,te,D,h,w),this.conjugate(te,D,h),this.normalize13b(te,h),f.negative=n.negative^s.negative,f.length=n.length+s.length,f.strip()},l.prototype.mul=function(n){var s=new l(null);return s.words=new Array(this.length+n.length),this.mulTo(n,s)},l.prototype.mulf=function(n){var s=new l(null);return s.words=new Array(this.length+n.length),W(this,n,s)},l.prototype.imul=function(n){return this.clone().mulTo(n,this)},l.prototype.imuln=function(n){y("number"==typeof n),y(n<67108864);for(var s=0,f=0;f<this.length;f++){var h=(0|this.words[f])*n,w=(67108863&h)+(67108863&s);s>>=26,s+=h/67108864|0,s+=w>>>26,this.words[f]=67108863&w}return 0!==s&&(this.words[f]=s,this.length++),this},l.prototype.muln=function(n){return this.clone().imuln(n)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(n){var s=function k(S){for(var n=new Array(S.bitLength()),s=0;s<n.length;s++){var h=s%26;n[s]=(S.words[s/26|0]&1<<h)>>>h}return n}(n);if(0===s.length)return new l(1);for(var f=this,h=0;h<s.length&&0===s[h];h++,f=f.sqr());if(++h<s.length)for(var w=f.sqr();h<s.length;h++,w=w.sqr())0!==s[h]&&(f=f.mul(w));return f},l.prototype.iushln=function(n){y("number"==typeof n&&n>=0);var w,s=n%26,f=(n-s)/26,h=67108863>>>26-s<<26-s;if(0!==s){var D=0;for(w=0;w<this.length;w++){var P=this.words[w]&h;this.words[w]=(0|this.words[w])-P<<s|D,D=P>>>26-s}D&&(this.words[w]=D,this.length++)}if(0!==f){for(w=this.length-1;w>=0;w--)this.words[w+f]=this.words[w];for(w=0;w<f;w++)this.words[w]=0;this.length+=f}return this.strip()},l.prototype.ishln=function(n){return y(0===this.negative),this.iushln(n)},l.prototype.iushrn=function(n,s,f){var h;y("number"==typeof n&&n>=0),h=s?(s-s%26)/26:0;var w=n%26,D=Math.min((n-w)/26,this.length),P=67108863^67108863>>>w<<w,v=f;if(h-=D,h=Math.max(0,h),v){for(var r=0;r<D;r++)v.words[r]=this.words[r];v.length=D}if(0!==D)if(this.length>D)for(this.length-=D,r=0;r<this.length;r++)this.words[r]=this.words[r+D];else this.words[0]=0,this.length=1;var g=0;for(r=this.length-1;r>=0&&(0!==g||r>=h);r--){var H=0|this.words[r];this.words[r]=g<<26-w|H>>>w,g=H&P}return v&&0!==g&&(v.words[v.length++]=g),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,s,f){return y(0===this.negative),this.iushrn(n,s,f)},l.prototype.shln=function(n){return this.clone().ishln(n)},l.prototype.ushln=function(n){return this.clone().iushln(n)},l.prototype.shrn=function(n){return this.clone().ishrn(n)},l.prototype.ushrn=function(n){return this.clone().iushrn(n)},l.prototype.testn=function(n){y("number"==typeof n&&n>=0);var s=n%26,f=(n-s)/26;return!(this.length<=f||!(this.words[f]&1<<s))},l.prototype.imaskn=function(n){y("number"==typeof n&&n>=0);var s=n%26,f=(n-s)/26;return y(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==s&&f++,this.length=Math.min(f,this.length),0!==s&&(this.words[this.length-1]&=67108863^67108863>>>s<<s),this.strip())},l.prototype.maskn=function(n){return this.clone().imaskn(n)},l.prototype.iaddn=function(n){return y("number"==typeof n),y(n<67108864),n<0?this.isubn(-n):0!==this.negative?1===this.length&&(0|this.words[0])<n?(this.words[0]=n-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(n),this.negative=1,this):this._iaddn(n)},l.prototype._iaddn=function(n){this.words[0]+=n;for(var s=0;s<this.length&&this.words[s]>=67108864;s++)this.words[s]-=67108864,s===this.length-1?this.words[s+1]=1:this.words[s+1]++;return this.length=Math.max(this.length,s+1),this},l.prototype.isubn=function(n){if(y("number"==typeof n),y(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var s=0;s<this.length&&this.words[s]<0;s++)this.words[s]+=67108864,this.words[s+1]-=1;return this.strip()},l.prototype.addn=function(n){return this.clone().iaddn(n)},l.prototype.subn=function(n){return this.clone().isubn(n)},l.prototype.iabs=function(){return this.negative=0,this},l.prototype.abs=function(){return this.clone().iabs()},l.prototype._ishlnsubmul=function(n,s,f){var w;this._expand(n.length+f);var D,P=0;for(w=0;w<n.length;w++){D=(0|this.words[w+f])+P;var v=(0|n.words[w])*s;P=((D-=67108863&v)>>26)-(v/67108864|0),this.words[w+f]=67108863&D}for(;w<this.length-f;w++)P=(D=(0|this.words[w+f])+P)>>26,this.words[w+f]=67108863&D;if(0===P)return this.strip();for(y(-1===P),P=0,w=0;w<this.length;w++)P=(D=-(0|this.words[w])+P)>>26,this.words[w]=67108863&D;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,s){var f,h=this.clone(),w=n,D=0|w.words[w.length-1];0!=(f=26-this._countBits(D))&&(w=w.ushln(f),h.iushln(f),D=0|w.words[w.length-1]);var r,v=h.length-w.length;if("mod"!==s){(r=new l(null)).length=v+1,r.words=new Array(r.length);for(var g=0;g<r.length;g++)r.words[g]=0}var H=h.clone()._ishlnsubmul(w,1,v);0===H.negative&&(h=H,r&&(r.words[v]=1));for(var N=v-1;N>=0;N--){var te=67108864*(0|h.words[w.length+N])+(0|h.words[w.length+N-1]);for(te=Math.min(te/D|0,67108863),h._ishlnsubmul(w,te,N);0!==h.negative;)te--,h.negative=0,h._ishlnsubmul(w,1,N),h.isZero()||(h.negative^=1);r&&(r.words[N]=te)}return r&&r.strip(),h.strip(),"div"!==s&&0!==f&&h.iushrn(f),{div:r||null,mod:h}},l.prototype.divmod=function(n,s,f){return y(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(D=this.neg().divmod(n,s),"mod"!==s&&(h=D.div.neg()),"div"!==s&&(w=D.mod.neg(),f&&0!==w.negative&&w.iadd(n)),{div:h,mod:w}):0===this.negative&&0!==n.negative?(D=this.divmod(n.neg(),s),"mod"!==s&&(h=D.div.neg()),{div:h,mod:D.mod}):this.negative&n.negative?(D=this.neg().divmod(n.neg(),s),"div"!==s&&(w=D.mod.neg(),f&&0!==w.negative&&w.isub(n)),{div:D.div,mod:w}):n.length>this.length||this.cmp(n)<0?{div:new l(0),mod:this}:1===n.length?"div"===s?{div:this.divn(n.words[0]),mod:null}:"mod"===s?{div:null,mod:new l(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new l(this.modn(n.words[0]))}:this._wordDiv(n,s);var h,w,D},l.prototype.div=function(n){return this.divmod(n,"div",!1).div},l.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},l.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},l.prototype.divRound=function(n){var s=this.divmod(n);if(s.mod.isZero())return s.div;var f=0!==s.div.negative?s.mod.isub(n):s.mod,h=n.ushrn(1),w=n.andln(1),D=f.cmp(h);return D<0||1===w&&0===D?s.div:0!==s.div.negative?s.div.isubn(1):s.div.iaddn(1)},l.prototype.modn=function(n){y(n<=67108863);for(var s=(1<<26)%n,f=0,h=this.length-1;h>=0;h--)f=(s*f+(0|this.words[h]))%n;return f},l.prototype.idivn=function(n){y(n<=67108863);for(var s=0,f=this.length-1;f>=0;f--){var h=(0|this.words[f])+67108864*s;this.words[f]=h/n|0,s=h%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){y(0===n.negative),y(!n.isZero());var s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),w=new l(0),D=new l(0),P=new l(1),v=0;s.isEven()&&f.isEven();)s.iushrn(1),f.iushrn(1),++v;for(var r=f.clone(),g=s.clone();!s.isZero();){for(var H=0,N=1;!(s.words[0]&N)&&H<26;++H,N<<=1);if(H>0)for(s.iushrn(H);H-- >0;)(h.isOdd()||w.isOdd())&&(h.iadd(r),w.isub(g)),h.iushrn(1),w.iushrn(1);for(var te=0,De=1;!(f.words[0]&De)&&te<26;++te,De<<=1);if(te>0)for(f.iushrn(te);te-- >0;)(D.isOdd()||P.isOdd())&&(D.iadd(r),P.isub(g)),D.iushrn(1),P.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(D),w.isub(P)):(f.isub(s),D.isub(h),P.isub(w))}return{a:D,b:P,gcd:f.iushln(v)}},l.prototype._invmp=function(n){y(0===n.negative),y(!n.isZero());var H,s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),w=new l(0),D=f.clone();s.cmpn(1)>0&&f.cmpn(1)>0;){for(var P=0,v=1;!(s.words[0]&v)&&P<26;++P,v<<=1);if(P>0)for(s.iushrn(P);P-- >0;)h.isOdd()&&h.iadd(D),h.iushrn(1);for(var r=0,g=1;!(f.words[0]&g)&&r<26;++r,g<<=1);if(r>0)for(f.iushrn(r);r-- >0;)w.isOdd()&&w.iadd(D),w.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(w)):(f.isub(s),w.isub(h))}return(H=0===s.cmpn(1)?h:w).cmpn(0)<0&&H.iadd(n),H},l.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var s=this.clone(),f=n.clone();s.negative=0,f.negative=0;for(var h=0;s.isEven()&&f.isEven();h++)s.iushrn(1),f.iushrn(1);for(;;){for(;s.isEven();)s.iushrn(1);for(;f.isEven();)f.iushrn(1);var w=s.cmp(f);if(w<0){var D=s;s=f,f=D}else if(0===w||0===f.cmpn(1))break;s.isub(f)}return f.iushln(h)},l.prototype.invm=function(n){return this.egcd(n).a.umod(n)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(n){return this.words[0]&n},l.prototype.bincn=function(n){y("number"==typeof n);var s=n%26,f=(n-s)/26,h=1<<s;if(this.length<=f)return this._expand(f+1),this.words[f]|=h,this;for(var w=h,D=f;0!==w&&D<this.length;D++){var P=0|this.words[D];w=(P+=w)>>>26,this.words[D]=P&=67108863}return 0!==w&&(this.words[D]=w,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var f,s=n<0;if(0!==this.negative&&!s)return-1;if(0===this.negative&&s)return 1;if(this.strip(),this.length>1)f=1;else{s&&(n=-n),y(n<=67108863,"Number is too big");var h=0|this.words[0];f=h===n?0:h<n?-1:1}return 0!==this.negative?0|-f:f},l.prototype.cmp=function(n){if(0!==this.negative&&0===n.negative)return-1;if(0===this.negative&&0!==n.negative)return 1;var s=this.ucmp(n);return 0!==this.negative?0|-s:s},l.prototype.ucmp=function(n){if(this.length>n.length)return 1;if(this.length<n.length)return-1;for(var s=0,f=this.length-1;f>=0;f--){var h=0|this.words[f],w=0|n.words[f];if(h!==w){h<w?s=-1:h>w&&(s=1);break}}return s},l.prototype.gtn=function(n){return 1===this.cmpn(n)},l.prototype.gt=function(n){return 1===this.cmp(n)},l.prototype.gten=function(n){return this.cmpn(n)>=0},l.prototype.gte=function(n){return this.cmp(n)>=0},l.prototype.ltn=function(n){return-1===this.cmpn(n)},l.prototype.lt=function(n){return-1===this.cmp(n)},l.prototype.lten=function(n){return this.cmpn(n)<=0},l.prototype.lte=function(n){return this.cmp(n)<=0},l.prototype.eqn=function(n){return 0===this.cmpn(n)},l.prototype.eq=function(n){return 0===this.cmp(n)},l.red=function(n){return new $(n)},l.prototype.toRed=function(n){return y(!this.red,"Already a number in reduction context"),y(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return y(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(n){return this.red=n,this},l.prototype.forceRed=function(n){return y(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return y(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return y(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return y(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return y(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return y(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return y(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return y(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return y(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return y(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return y(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return y(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var q={k256:null,p224:null,p192:null,p25519:null};function ie(S,n){this.name=S,this.p=new l(n,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ae(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ue(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function re(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function xe(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function $(S){if("string"==typeof S){var n=l._prime(S);this.m=n.p,this.prime=n}else y(S.gtn(1),"modulus must be greater than 1"),this.m=S,this.prime=null}function he(S){$.call(this,S),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)}ie.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ie.prototype.ireduce=function(n){var f,s=n;do{this.split(s,this.tmp),f=(s=(s=this.imulK(s)).iadd(this.tmp)).bitLength()}while(f>this.n);var h=f<this.n?-1:s.ucmp(this.p);return 0===h?(s.words[0]=0,s.length=1):h>0?s.isub(this.p):void 0!==s.strip?s.strip():s._strip(),s},ie.prototype.split=function(n,s){n.iushrn(this.n,0,s)},ie.prototype.imulK=function(n){return n.imul(this.k)},A(ae,ie),ae.prototype.split=function(n,s){for(var f=4194303,h=Math.min(n.length,9),w=0;w<h;w++)s.words[w]=n.words[w];if(s.length=h,n.length<=9)return n.words[0]=0,void(n.length=1);var D=n.words[9];for(s.words[s.length++]=D&f,w=10;w<n.length;w++){var P=0|n.words[w];n.words[w-10]=(P&f)<<4|D>>>22,D=P}n.words[w-10]=D>>>=22,n.length-=0===D&&n.length>10?10:9},ae.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var s=0,f=0;f<n.length;f++){var h=0|n.words[f];n.words[f]=67108863&(s+=977*h),s=64*h+(s/67108864|0)}return 0===n.words[n.length-1]&&(n.length--,0===n.words[n.length-1]&&n.length--),n},A(ue,ie),A(re,ie),A(xe,ie),xe.prototype.imulK=function(n){for(var s=0,f=0;f<n.length;f++){var h=19*(0|n.words[f])+s,w=67108863&h;h>>>=26,n.words[f]=w,s=h}return 0!==s&&(n.words[n.length++]=s),n},l._prime=function(n){if(q[n])return q[n];var s;if("k256"===n)s=new ae;else if("p224"===n)s=new ue;else if("p192"===n)s=new re;else{if("p25519"!==n)throw new Error("Unknown prime "+n);s=new xe}return q[n]=s,s},$.prototype._verify1=function(n){y(0===n.negative,"red works only with positives"),y(n.red,"red works only with red numbers")},$.prototype._verify2=function(n,s){y(0==(n.negative|s.negative),"red works only with positives"),y(n.red&&n.red===s.red,"red works only with red numbers")},$.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},$.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},$.prototype.add=function(n,s){this._verify2(n,s);var f=n.add(s);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},$.prototype.iadd=function(n,s){this._verify2(n,s);var f=n.iadd(s);return f.cmp(this.m)>=0&&f.isub(this.m),f},$.prototype.sub=function(n,s){this._verify2(n,s);var f=n.sub(s);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},$.prototype.isub=function(n,s){this._verify2(n,s);var f=n.isub(s);return f.cmpn(0)<0&&f.iadd(this.m),f},$.prototype.shl=function(n,s){return this._verify1(n),this.imod(n.ushln(s))},$.prototype.imul=function(n,s){return this._verify2(n,s),this.imod(n.imul(s))},$.prototype.mul=function(n,s){return this._verify2(n,s),this.imod(n.mul(s))},$.prototype.isqr=function(n){return this.imul(n,n.clone())},$.prototype.sqr=function(n){return this.mul(n,n)},$.prototype.sqrt=function(n){if(n.isZero())return n.clone();var s=this.m.andln(3);if(y(s%2==1),3===s){var f=this.m.add(new l(1)).iushrn(2);return this.pow(n,f)}for(var h=this.m.subn(1),w=0;!h.isZero()&&0===h.andln(1);)w++,h.iushrn(1);y(!h.isZero());var D=new l(1).toRed(this),P=D.redNeg(),v=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,v).cmp(P);)r.redIAdd(P);for(var g=this.pow(r,h),H=this.pow(n,h.addn(1).iushrn(1)),N=this.pow(n,h),te=w;0!==N.cmp(D);){for(var De=N,st=0;0!==De.cmp(D);st++)De=De.redSqr();y(st<te);var je=this.pow(g,new l(1).iushln(te-st-1));H=H.redMul(je),g=je.redSqr(),N=N.redMul(g),te=st}return H},$.prototype.invm=function(n){var s=n._invmp(this.m);return 0!==s.negative?(s.negative=0,this.imod(s).redNeg()):this.imod(s)},$.prototype.pow=function(n,s){if(s.isZero())return new l(1).toRed(this);if(0===s.cmpn(1))return n.clone();var h=new Array(16);h[0]=new l(1).toRed(this),h[1]=n;for(var w=2;w<h.length;w++)h[w]=this.mul(h[w-1],n);var D=h[0],P=0,v=0,r=s.bitLength()%26;for(0===r&&(r=26),w=s.length-1;w>=0;w--){for(var g=s.words[w],H=r-1;H>=0;H--){var N=g>>H&1;D!==h[0]&&(D=this.sqr(D)),0!==N||0!==P?(P<<=1,P|=N,(4==++v||0===w&&0===H)&&(D=this.mul(D,h[P]),v=0,P=0)):v=0}r=26}return D},$.prototype.convertTo=function(n){var s=n.umod(this.m);return s===n?s.clone():s},$.prototype.convertFrom=function(n){var s=n.clone();return s.red=null,s},l.mont=function(n){return new he(n)},A(he,$),he.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},he.prototype.convertFrom=function(n){var s=this.imod(n.mul(this.rinv));return s.red=null,s},he.prototype.imul=function(n,s){if(n.isZero()||s.isZero())return n.words[0]=0,n.length=1,n;var f=n.imul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),w=f.isub(h).iushrn(this.shift),D=w;return w.cmp(this.m)>=0?D=w.isub(this.m):w.cmpn(0)<0&&(D=w.iadd(this.m)),D._forceRed(this)},he.prototype.mul=function(n,s){if(n.isZero()||s.isZero())return new l(0)._forceRed(this);var f=n.mul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),w=f.isub(h).iushrn(this.shift),D=w;return w.cmp(this.m)>=0?D=w.isub(this.m):w.cmpn(0)<0&&(D=w.iadd(this.m)),D._forceRed(this)},he.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(He=p.nmd(He),this)},5252:(He,X,p)=>{var e=p(7983),t=p(6517),y=p(1817),A=p(8211),l=p(1946),M=p(6362),m=p(735),O=p(843).Buffer;He.exports=function(k,V,G){var j;j=k.padding?k.padding:G?1:4;var q,W=e(k),K=W.modulus.byteLength();if(V.length>K||new A(V).cmp(W.modulus)>=0)throw new Error("decryption error");q=G?m(new A(V),W):l(V,W);var ie=O.alloc(K-q.length);if(q=O.concat([ie,q],K),4===j)return function d(I,k){var V=I.modulus.byteLength(),G=M("sha1").update(O.alloc(0)).digest(),j=G.length;if(0!==k[0])throw new Error("decryption error");var W=k.slice(1,j+1),K=k.slice(j+1),q=y(W,t(K,j)),ie=y(K,t(q,V-j-1));if(function x(I,k){I=O.from(I),k=O.from(k);var V=0,G=I.length;I.length!==k.length&&(V++,G=Math.min(I.length,k.length));for(var j=-1;++j<G;)V+=I[j]^k[j];return V}(G,ie.slice(0,j)))throw new Error("decryption error");for(var ae=j;0===ie[ae];)ae++;if(1!==ie[ae++])throw new Error("decryption error");return ie.slice(ae)}(W,q);if(1===j)return function E(I,k,V){for(var G=k.slice(0,2),j=2,W=0;0!==k[j++];)if(j>=k.length){W++;break}var K=k.slice(2,j-1);if(("0002"!==G.toString("hex")&&!V||"0001"!==G.toString("hex")&&V)&&W++,K.length<8&&W++,W)throw new Error("decryption error");return k.slice(j)}(0,q,G);if(3===j)return q;throw new Error("unknown padding")}},5737:(He,X,p)=>{var e=p(7983),t=p(4019),y=p(6362),A=p(6517),l=p(1817),M=p(8211),m=p(735),O=p(1946),d=p(843).Buffer;He.exports=function(V,G,j){var W;W=V.padding?V.padding:j?1:4;var q,K=e(V);if(4===W)q=function E(k,V){var G=k.modulus.byteLength(),j=V.length,W=y("sha1").update(d.alloc(0)).digest(),K=W.length,q=2*K;if(j>G-q-2)throw new Error("message too long");var ie=d.alloc(G-j-q-2),ae=G-K-1,ue=t(K),re=l(d.concat([W,ie,d.alloc(1,1),V],ae),A(ue,ae)),xe=l(ue,A(re,K));return new M(d.concat([d.alloc(1),xe,re],G))}(K,G);else if(1===W)q=function x(k,V,G){var K,j=V.length,W=k.modulus.byteLength();if(j>W-11)throw new Error("message too long");return K=G?d.alloc(W-j-3,255):function I(k){for(var K,V=d.allocUnsafe(k),G=0,j=t(2*k),W=0;G<k;)W===j.length&&(j=t(2*k),W=0),(K=j[W++])&&(V[G++]=K);return V}(W-j-3),new M(d.concat([d.from([0,G?1:2]),K,d.alloc(1),V],W))}(K,G,j);else{if(3!==W)throw new Error("unknown padding");if((q=new M(G)).cmp(K.modulus)>=0)throw new Error("data too long for modulus")}return j?O(q,K):m(q,K)}},735:(He,X,p)=>{var e=p(8211),t=p(843).Buffer;He.exports=function y(A,l){return t.from(A.toRed(e.mont(l.modulus)).redPow(new e(l.publicExponent)).fromRed().toArray())}},1817:He=>{He.exports=function(p,e){for(var t=p.length,y=-1;++y<t;)p[y]^=e[y];return p}},2839:(He,X,p)=>{const e=p(8310),t=p(6208),y=p(6422),A=p(7772);function l(M,m,O,d,E){const x=[].slice.call(arguments,1),I=x.length,k="function"==typeof x[I-1];if(!k&&!e())throw new Error("Callback required as last argument");if(!k){if(I<1)throw new Error("Too few arguments provided");return 1===I?(O=m,m=d=void 0):2===I&&!m.getContext&&(d=O,O=m,m=void 0),new Promise(function(V,G){try{const j=t.create(O,d);V(M(j,m,d))}catch(j){G(j)}})}if(I<2)throw new Error("Too few arguments provided");2===I?(E=O,O=m,m=d=void 0):3===I&&(m.getContext&&typeof E>"u"?(E=d,d=void 0):(E=d,d=O,O=m,m=void 0));try{const V=t.create(O,d);E(null,M(V,m,d))}catch(V){E(V)}}X.create=t.create,X.toCanvas=l.bind(null,y.render),X.toDataURL=l.bind(null,y.renderToDataURL),X.toString=l.bind(null,function(M,m,O){return A.render(M,O)})},8310:He=>{He.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},5281:(He,X,p)=>{const e=p(8922).getSymbolSize;X.getRowColCoords=function(y){if(1===y)return[];const A=Math.floor(y/7)+2,l=e(y),M=145===l?26:2*Math.ceil((l-13)/(2*A-2)),m=[l-7];for(let O=1;O<A-1;O++)m[O]=m[O-1]-M;return m.push(6),m.reverse()},X.getPositions=function(y){const A=[],l=X.getRowColCoords(y),M=l.length;for(let m=0;m<M;m++)for(let O=0;O<M;O++)0===m&&0===O||0===m&&O===M-1||m===M-1&&0===O||A.push([l[m],l[O]]);return A}},120:(He,X,p)=>{const e=p(3298),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 y(A){this.mode=e.ALPHANUMERIC,this.data=A}y.getBitsLength=function(l){return 11*Math.floor(l/2)+l%2*6},y.prototype.getLength=function(){return this.data.length},y.prototype.getBitsLength=function(){return y.getBitsLength(this.data.length)},y.prototype.write=function(l){let M;for(M=0;M+2<=this.data.length;M+=2){let m=45*t.indexOf(this.data[M]);m+=t.indexOf(this.data[M+1]),l.put(m,11)}this.data.length%2&&l.put(t.indexOf(this.data[M]),6)},He.exports=y},6509:He=>{function X(){this.buffer=[],this.length=0}X.prototype={get:function(p){const e=Math.floor(p/8);return 1==(this.buffer[e]>>>7-p%8&1)},put:function(p,e){for(let t=0;t<e;t++)this.putBit(1==(p>>>e-t-1&1))},getLengthInBits:function(){return this.length},putBit:function(p){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),p&&(this.buffer[e]|=128>>>this.length%8),this.length++}},He.exports=X},5147:He=>{function X(p){if(!p||p<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=p,this.data=new Uint8Array(p*p),this.reservedBit=new Uint8Array(p*p)}X.prototype.set=function(p,e,t,y){const A=p*this.size+e;this.data[A]=t,y&&(this.reservedBit[A]=!0)},X.prototype.get=function(p,e){return this.data[p*this.size+e]},X.prototype.xor=function(p,e,t){this.data[p*this.size+e]^=t},X.prototype.isReserved=function(p,e){return this.reservedBit[p*this.size+e]},He.exports=X},277:(He,X,p)=>{const e=p(6119),t=p(3298);function y(A){this.mode=t.BYTE,"string"==typeof A&&(A=e(A)),this.data=new Uint8Array(A)}y.getBitsLength=function(l){return 8*l},y.prototype.getLength=function(){return this.data.length},y.prototype.getBitsLength=function(){return y.getBitsLength(this.data.length)},y.prototype.write=function(A){for(let l=0,M=this.data.length;l<M;l++)A.put(this.data[l],8)},He.exports=y},7191:(He,X,p)=>{const e=p(4505),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],y=[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];X.getBlocksCount=function(l,M){switch(M){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}},X.getTotalCodewordsCount=function(l,M){switch(M){case e.L:return y[4*(l-1)+0];case e.M:return y[4*(l-1)+1];case e.Q:return y[4*(l-1)+2];case e.H:return y[4*(l-1)+3];default:return}}},4505:(He,X)=>{X.L={bit:1},X.M={bit:0},X.Q={bit:3},X.H={bit:2},X.isValid=function(t){return t&&typeof t.bit<"u"&&t.bit>=0&&t.bit<4},X.from=function(t,y){if(X.isValid(t))return t;try{return function p(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return X.L;case"m":case"medium":return X.M;case"q":case"quartile":return X.Q;case"h":case"high":return X.H;default:throw new Error("Unknown EC Level: "+e)}}(t)}catch{return y}}},5232:(He,X,p)=>{const e=p(8922).getSymbolSize;X.getPositions=function(A){const l=e(A);return[[0,0],[l-7,0],[0,l-7]]}},8508:(He,X,p)=>{const e=p(8922),A=e.getBCHDigit(1335);X.getEncodedBits=function(M,m){const O=M.bit<<3|m;let d=O<<10;for(;e.getBCHDigit(d)-A>=0;)d^=1335<<e.getBCHDigit(d)-A;return 21522^(O<<10|d)}},1674:(He,X)=>{const p=new Uint8Array(512),e=new Uint8Array(256);(function(){let y=1;for(let A=0;A<255;A++)p[A]=y,e[y]=A,y<<=1,256&y&&(y^=285);for(let A=255;A<512;A++)p[A]=p[A-255]})(),X.log=function(y){if(y<1)throw new Error("log("+y+")");return e[y]},X.exp=function(y){return p[y]},X.mul=function(y,A){return 0===y||0===A?0:p[e[y]+e[A]]}},9995:(He,X,p)=>{const e=p(3298),t=p(8922);function y(A){this.mode=e.KANJI,this.data=A}y.getBitsLength=function(l){return 13*l},y.prototype.getLength=function(){return this.data.length},y.prototype.getBitsLength=function(){return y.getBitsLength(this.data.length)},y.prototype.write=function(A){let l;for(l=0;l<this.data.length;l++){let M=t.toSJIS(this.data[l]);if(M>=33088&&M<=40956)M-=33088;else{if(!(M>=57408&&M<=60351))throw new Error("Invalid SJIS character: "+this.data[l]+"\nMake sure your charset is UTF-8");M-=49472}M=192*(M>>>8&255)+(255&M),A.put(M,13)}},He.exports=y},9023:(He,X)=>{X.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};function e(t,y,A){switch(t){case X.Patterns.PATTERN000:return(y+A)%2==0;case X.Patterns.PATTERN001:return y%2==0;case X.Patterns.PATTERN010:return A%3==0;case X.Patterns.PATTERN011:return(y+A)%3==0;case X.Patterns.PATTERN100:return(Math.floor(y/2)+Math.floor(A/3))%2==0;case X.Patterns.PATTERN101:return y*A%2+y*A%3==0;case X.Patterns.PATTERN110:return(y*A%2+y*A%3)%2==0;case X.Patterns.PATTERN111:return(y*A%3+(y+A)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}}X.isValid=function(y){return null!=y&&""!==y&&!isNaN(y)&&y>=0&&y<=7},X.from=function(y){return X.isValid(y)?parseInt(y,10):void 0},X.getPenaltyN1=function(y){const A=y.size;let l=0,M=0,m=0,O=null,d=null;for(let E=0;E<A;E++){M=m=0,O=d=null;for(let x=0;x<A;x++){let I=y.get(E,x);I===O?M++:(M>=5&&(l+=M-5+3),O=I,M=1),I=y.get(x,E),I===d?m++:(m>=5&&(l+=m-5+3),d=I,m=1)}M>=5&&(l+=M-5+3),m>=5&&(l+=m-5+3)}return l},X.getPenaltyN2=function(y){const A=y.size;let l=0;for(let M=0;M<A-1;M++)for(let m=0;m<A-1;m++){const O=y.get(M,m)+y.get(M,m+1)+y.get(M+1,m)+y.get(M+1,m+1);(4===O||0===O)&&l++}return 3*l},X.getPenaltyN3=function(y){const A=y.size;let l=0,M=0,m=0;for(let O=0;O<A;O++){M=m=0;for(let d=0;d<A;d++)M=M<<1&2047|y.get(O,d),d>=10&&(1488===M||93===M)&&l++,m=m<<1&2047|y.get(d,O),d>=10&&(1488===m||93===m)&&l++}return 40*l},X.getPenaltyN4=function(y){let A=0;const l=y.data.length;for(let m=0;m<l;m++)A+=y.data[m];return 10*Math.abs(Math.ceil(100*A/l/5)-10)},X.applyMask=function(y,A){const l=A.size;for(let M=0;M<l;M++)for(let m=0;m<l;m++)A.isReserved(m,M)||A.xor(m,M,e(y,m,M))},X.getBestMask=function(y,A){const l=Object.keys(X.Patterns).length;let M=0,m=1/0;for(let O=0;O<l;O++){A(O),X.applyMask(O,y);const d=X.getPenaltyN1(y)+X.getPenaltyN2(y)+X.getPenaltyN3(y)+X.getPenaltyN4(y);X.applyMask(O,y),d<m&&(m=d,M=O)}return M}},3298:(He,X,p)=>{const e=p(6161),t=p(2427);X.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},X.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},X.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},X.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},X.MIXED={bit:-1},X.getCharCountIndicator=function(l,M){if(!l.ccBits)throw new Error("Invalid mode: "+l);if(!e.isValid(M))throw new Error("Invalid version: "+M);return M>=1&&M<10?l.ccBits[0]:M<27?l.ccBits[1]:l.ccBits[2]},X.getBestModeForData=function(l){return t.testNumeric(l)?X.NUMERIC:t.testAlphanumeric(l)?X.ALPHANUMERIC:t.testKanji(l)?X.KANJI:X.BYTE},X.toString=function(l){if(l&&l.id)return l.id;throw new Error("Invalid mode")},X.isValid=function(l){return l&&l.bit&&l.ccBits},X.from=function(l,M){if(X.isValid(l))return l;try{return function y(A){if("string"!=typeof A)throw new Error("Param is not a string");switch(A.toLowerCase()){case"numeric":return X.NUMERIC;case"alphanumeric":return X.ALPHANUMERIC;case"kanji":return X.KANJI;case"byte":return X.BYTE;default:throw new Error("Unknown mode: "+A)}}(l)}catch{return M}}},8722:(He,X,p)=>{const e=p(3298);function t(y){this.mode=e.NUMERIC,this.data=y.toString()}t.getBitsLength=function(A){return 10*Math.floor(A/3)+(A%3?A%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(A){let l,M,m;for(l=0;l+3<=this.data.length;l+=3)M=this.data.substr(l,3),m=parseInt(M,10),A.put(m,10);const O=this.data.length-l;O>0&&(M=this.data.substr(l),m=parseInt(M,10),A.put(m,3*O+1))},He.exports=t},2376:(He,X,p)=>{const e=p(1674);X.mul=function(y,A){const l=new Uint8Array(y.length+A.length-1);for(let M=0;M<y.length;M++)for(let m=0;m<A.length;m++)l[M+m]^=e.mul(y[M],A[m]);return l},X.mod=function(y,A){let l=new Uint8Array(y);for(;l.length-A.length>=0;){const M=l[0];for(let O=0;O<A.length;O++)l[O]^=e.mul(A[O],M);let m=0;for(;m<l.length&&0===l[m];)m++;l=l.slice(m)}return l},X.generateECPolynomial=function(y){let A=new Uint8Array([1]);for(let l=0;l<y;l++)A=X.mul(A,new Uint8Array([1,e.exp(l)]));return A}},6208:(He,X,p)=>{const e=p(8922),t=p(4505),y=p(6509),A=p(5147),l=p(5281),M=p(5232),m=p(9023),O=p(7191),d=p(1297),E=p(9467),x=p(8508),I=p(3298),k=p(1799);function K(re,xe,$){const he=re.size,S=x.getEncodedBits(xe,$);let n,s;for(n=0;n<15;n++)s=1==(S>>n&1),re.set(n<6?n:n<8?n+1:he-15+n,8,s,!0),re.set(8,n<8?he-n-1:n<9?15-n-1+1:15-n-1,s,!0);re.set(he-8,8,1,!0)}function ue(re,xe,$,he){let S;if(Array.isArray(re))S=k.fromArray(re);else{if("string"!=typeof re)throw new Error("Invalid data");{let w=xe;if(!w){const D=k.rawSplit(re);w=E.getBestVersionForData(D,$)}S=k.fromString(re,w||40)}}const n=E.getBestVersionForData(S,$);if(!n)throw new Error("The amount of data is too big to be stored in a QR Code");if(xe){if(xe<n)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+n+".\n")}else xe=n;const s=function ie(re,xe,$){const he=new y;$.forEach(function(h){he.put(h.mode.bit,4),he.put(h.getLength(),I.getCharCountIndicator(h.mode,re)),h.write(he)});const s=8*(e.getSymbolTotalCodewords(re)-O.getTotalCodewordsCount(re,xe));for(he.getLengthInBits()+4<=s&&he.put(0,4);he.getLengthInBits()%8!=0;)he.putBit(0);const f=(s-he.getLengthInBits())/8;for(let h=0;h<f;h++)he.put(h%2?17:236,8);return function ae(re,xe,$){const he=e.getSymbolTotalCodewords(xe),n=he-O.getTotalCodewordsCount(xe,$),s=O.getBlocksCount(xe,$),h=s-he%s,w=Math.floor(he/s),D=Math.floor(n/s),P=D+1,v=w-D,r=new d(v);let g=0;const H=new Array(s),N=new Array(s);let te=0;const De=new Uint8Array(re.buffer);for(let fe=0;fe<s;fe++){const de=fe<h?D:P;H[fe]=De.slice(g,g+de),N[fe]=r.encode(H[fe]),g+=de,te=Math.max(te,de)}const st=new Uint8Array(he);let $e,ye,je=0;for($e=0;$e<te;$e++)for(ye=0;ye<s;ye++)$e<H[ye].length&&(st[je++]=H[ye][$e]);for($e=0;$e<v;$e++)for(ye=0;ye<s;ye++)st[je++]=N[ye][$e];return st}(he,re,xe)}(xe,$,S),f=e.getSymbolSize(xe),h=new A(f);return function V(re,xe){const $=re.size,he=M.getPositions(xe);for(let S=0;S<he.length;S++){const n=he[S][0],s=he[S][1];for(let f=-1;f<=7;f++)if(!(n+f<=-1||$<=n+f))for(let h=-1;h<=7;h++)s+h<=-1||$<=s+h||re.set(n+f,s+h,f>=0&&f<=6&&(0===h||6===h)||h>=0&&h<=6&&(0===f||6===f)||f>=2&&f<=4&&h>=2&&h<=4,!0)}}(h,xe),function G(re){const xe=re.size;for(let $=8;$<xe-8;$++){const he=$%2==0;re.set($,6,he,!0),re.set(6,$,he,!0)}}(h),function j(re,xe){const $=l.getPositions(xe);for(let he=0;he<$.length;he++){const S=$[he][0],n=$[he][1];for(let s=-2;s<=2;s++)for(let f=-2;f<=2;f++)re.set(S+s,n+f,-2===s||2===s||-2===f||2===f||0===s&&0===f,!0)}}(h,xe),K(h,$,0),xe>=7&&function W(re,xe){const $=re.size,he=E.getEncodedBits(xe);let S,n,s;for(let f=0;f<18;f++)S=Math.floor(f/3),n=f%3+$-8-3,s=1==(he>>f&1),re.set(S,n,s,!0),re.set(n,S,s,!0)}(h,xe),function q(re,xe){const $=re.size;let he=-1,S=$-1,n=7,s=0;for(let f=$-1;f>0;f-=2)for(6===f&&f--;;){for(let h=0;h<2;h++)if(!re.isReserved(S,f-h)){let w=!1;s<xe.length&&(w=1==(xe[s]>>>n&1)),re.set(S,f-h,w),n--,-1===n&&(s++,n=7)}if(S+=he,S<0||$<=S){S-=he,he=-he;break}}}(h,s),isNaN(he)&&(he=m.getBestMask(h,K.bind(null,h,$))),m.applyMask(he,h),K(h,$,he),{modules:h,version:xe,errorCorrectionLevel:$,maskPattern:he,segments:S}}X.create=function(xe,$){if(typeof xe>"u"||""===xe)throw new Error("No input text");let S,n,he=t.M;return typeof $<"u"&&(he=t.from($.errorCorrectionLevel,t.M),S=E.from($.version),n=m.from($.maskPattern),$.toSJISFunc&&e.setToSJISFunction($.toSJISFunc)),ue(xe,S,he,n)}},1297:(He,X,p)=>{const e=p(2376);function t(y){this.genPoly=void 0,this.degree=y,this.degree&&this.initialize(this.degree)}t.prototype.initialize=function(A){this.degree=A,this.genPoly=e.generateECPolynomial(this.degree)},t.prototype.encode=function(A){if(!this.genPoly)throw new Error("Encoder not initialized");const l=new Uint8Array(A.length+this.degree);l.set(A);const M=e.mod(l,this.genPoly),m=this.degree-M.length;if(m>0){const O=new Uint8Array(this.degree);return O.set(M,m),O}return M},He.exports=t},2427:(He,X)=>{const p="[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 y="(?:(?![A-Z0-9 $%*+\\-./:]|"+t+")(?:.|[\r\n]))+";X.KANJI=new RegExp(t,"g"),X.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),X.BYTE=new RegExp(y,"g"),X.NUMERIC=new RegExp(p,"g"),X.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const A=new RegExp("^"+t+"$"),l=new RegExp("^"+p+"$"),M=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");X.testKanji=function(O){return A.test(O)},X.testNumeric=function(O){return l.test(O)},X.testAlphanumeric=function(O){return M.test(O)}},1799:(He,X,p)=>{const e=p(3298),t=p(8722),y=p(120),A=p(277),l=p(9995),M=p(2427),m=p(8922),O=p(7206);function d(W){return unescape(encodeURIComponent(W)).length}function E(W,K,q){const ie=[];let ae;for(;null!==(ae=W.exec(q));)ie.push({data:ae[0],index:ae.index,mode:K,length:ae[0].length});return ie}function x(W){const K=E(M.NUMERIC,e.NUMERIC,W),q=E(M.ALPHANUMERIC,e.ALPHANUMERIC,W);let ie,ae;return m.isKanjiModeEnabled()?(ie=E(M.BYTE,e.BYTE,W),ae=E(M.KANJI,e.KANJI,W)):(ie=E(M.BYTE_KANJI,e.BYTE,W),ae=[]),K.concat(q,ie,ae).sort(function(re,xe){return re.index-xe.index}).map(function(re){return{data:re.data,mode:re.mode,length:re.length}})}function I(W,K){switch(K){case e.NUMERIC:return t.getBitsLength(W);case e.ALPHANUMERIC:return y.getBitsLength(W);case e.KANJI:return l.getBitsLength(W);case e.BYTE:return A.getBitsLength(W)}}function j(W,K){let q;const ie=e.getBestModeForData(W);if(q=e.from(K,ie),q!==e.BYTE&&q.bit<ie.bit)throw new Error('"'+W+'" cannot be encoded with mode '+e.toString(q)+".\n Suggested mode is: "+e.toString(ie));switch(q===e.KANJI&&!m.isKanjiModeEnabled()&&(q=e.BYTE),q){case e.NUMERIC:return new t(W);case e.ALPHANUMERIC:return new y(W);case e.KANJI:return new l(W);case e.BYTE:return new A(W)}}X.fromArray=function(K){return K.reduce(function(q,ie){return"string"==typeof ie?q.push(j(ie,null)):ie.data&&q.push(j(ie.data,ie.mode)),q},[])},X.fromString=function(K,q){const ae=function V(W){const K=[];for(let q=0;q<W.length;q++){const ie=W[q];switch(ie.mode){case e.NUMERIC:K.push([ie,{data:ie.data,mode:e.ALPHANUMERIC,length:ie.length},{data:ie.data,mode:e.BYTE,length:ie.length}]);break;case e.ALPHANUMERIC:K.push([ie,{data:ie.data,mode:e.BYTE,length:ie.length}]);break;case e.KANJI:K.push([ie,{data:ie.data,mode:e.BYTE,length:d(ie.data)}]);break;case e.BYTE:K.push([{data:ie.data,mode:e.BYTE,length:d(ie.data)}])}}return K}(x(K,m.isKanjiModeEnabled())),ue=function G(W,K){const q={},ie={start:{}};let ae=["start"];for(let ue=0;ue<W.length;ue++){const re=W[ue],xe=[];for(let $=0;$<re.length;$++){const he=re[$],S=""+ue+$;xe.push(S),q[S]={node:he,lastCount:0},ie[S]={};for(let n=0;n<ae.length;n++){const s=ae[n];q[s]&&q[s].node.mode===he.mode?(ie[s][S]=I(q[s].lastCount+he.length,he.mode)-I(q[s].lastCount,he.mode),q[s].lastCount+=he.length):(q[s]&&(q[s].lastCount=he.length),ie[s][S]=I(he.length,he.mode)+4+e.getCharCountIndicator(he.mode,K))}}ae=xe}for(let ue=0;ue<ae.length;ue++)ie[ae[ue]].end=0;return{map:ie,table:q}}(ae,q),re=O.find_path(ue.map,"start","end"),xe=[];for(let $=1;$<re.length-1;$++)xe.push(ue.table[re[$]].node);return X.fromArray(function k(W){return W.reduce(function(K,q){const ie=K.length-1>=0?K[K.length-1]:null;return ie&&ie.mode===q.mode?(K[K.length-1].data+=q.data,K):(K.push(q),K)},[])}(xe))},X.rawSplit=function(K){return X.fromArray(x(K,m.isKanjiModeEnabled()))}},8922:(He,X)=>{let p;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];X.getSymbolSize=function(y){if(!y)throw new Error('"version" cannot be null or undefined');if(y<1||y>40)throw new Error('"version" should be in range from 1 to 40');return 4*y+17},X.getSymbolTotalCodewords=function(y){return e[y]},X.getBCHDigit=function(t){let y=0;for(;0!==t;)y++,t>>>=1;return y},X.setToSJISFunction=function(y){if("function"!=typeof y)throw new Error('"toSJISFunc" is not a valid function.');p=y},X.isKanjiModeEnabled=function(){return typeof p<"u"},X.toSJIS=function(y){return p(y)}},6161:(He,X)=>{X.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},9467:(He,X,p)=>{const e=p(8922),t=p(7191),y=p(4505),A=p(3298),l=p(6161),m=e.getBCHDigit(7973);function d(I,k){return A.getCharCountIndicator(I,k)+4}function E(I,k){let V=0;return I.forEach(function(G){const j=d(G.mode,k);V+=j+G.getBitsLength()}),V}X.from=function(k,V){return l.isValid(k)?parseInt(k,10):V},X.getCapacity=function(k,V,G){if(!l.isValid(k))throw new Error("Invalid QR Code version");typeof G>"u"&&(G=A.BYTE);const K=8*(e.getSymbolTotalCodewords(k)-t.getTotalCodewordsCount(k,V));if(G===A.MIXED)return K;const q=K-d(G,k);switch(G){case A.NUMERIC:return Math.floor(q/10*3);case A.ALPHANUMERIC:return Math.floor(q/11*2);case A.KANJI:return Math.floor(q/13);default:return Math.floor(q/8)}},X.getBestVersionForData=function(k,V){let G;const j=y.from(V,y.M);if(Array.isArray(k)){if(k.length>1)return function x(I,k){for(let V=1;V<=40;V++)if(E(I,V)<=X.getCapacity(V,k,A.MIXED))return V}(k,j);if(0===k.length)return 1;G=k[0]}else G=k;return function O(I,k,V){for(let G=1;G<=40;G++)if(k<=X.getCapacity(G,V,I))return G}(G.mode,G.getLength(),j)},X.getEncodedBits=function(k){if(!l.isValid(k)||k<7)throw new Error("Invalid QR Code version");let V=k<<12;for(;e.getBCHDigit(V)-m>=0;)V^=7973<<e.getBCHDigit(V)-m;return k<<12|V}},6422:(He,X,p)=>{const e=p(1101);X.render=function(l,M,m){let O=m,d=M;typeof O>"u"&&(!M||!M.getContext)&&(O=M,M=void 0),M||(d=function y(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}()),O=e.getOptions(O);const E=e.getImageWidth(l.modules.size,O),x=d.getContext("2d"),I=x.createImageData(E,E);return e.qrToImageData(I.data,l,O),function t(A,l,M){A.clearRect(0,0,l.width,l.height),l.style||(l.style={}),l.height=M,l.width=M,l.style.height=M+"px",l.style.width=M+"px"}(x,d,E),x.putImageData(I,0,0),d},X.renderToDataURL=function(l,M,m){let O=m;return typeof O>"u"&&(!M||!M.getContext)&&(O=M,M=void 0),O||(O={}),X.render(l,M,O).toDataURL(O.type||"image/png",(O.rendererOpts||{}).quality)}},7772:(He,X,p)=>{const e=p(1101);function t(l,M){const m=l.a/255,O=M+'="'+l.hex+'"';return m<1?O+" "+M+'-opacity="'+m.toFixed(2).slice(1)+'"':O}function y(l,M,m){let O=l+M;return typeof m<"u"&&(O+=" "+m),O}X.render=function(M,m,O){const d=e.getOptions(m),E=M.modules.size,x=M.modules.data,I=E+2*d.margin,k=d.color.light.a?"<path "+t(d.color.light,"fill")+' d="M0 0h'+I+"v"+I+'H0z"/>':"",V="<path "+t(d.color.dark,"stroke")+' d="'+function A(l,M,m){let O="",d=0,E=!1,x=0;for(let I=0;I<l.length;I++){const k=Math.floor(I%M),V=Math.floor(I/M);!k&&!E&&(E=!0),l[I]?(x++,I>0&&k>0&&l[I-1]||(O+=E?y("M",k+m,.5+V+m):y("m",d,0),d=0,E=!1),k+1<M&&l[I+1]||(O+=y("h",x),x=0)):d++}return O}(x,E,d.margin)+'"/>',W='<svg xmlns="http://www.w3.org/2000/svg" '+(d.width?'width="'+d.width+'" height="'+d.width+'" ':"")+'viewBox="0 0 '+I+" "+I+'" shape-rendering="crispEdges">'+k+V+"</svg>\n";return"function"==typeof O&&O(null,W),W}},1101:(He,X)=>{function p(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(A){return[A,A]}))),6===t.length&&t.push("F","F");const y=parseInt(t.join(""),16);return{r:y>>24&255,g:y>>16&255,b:y>>8&255,a:255&y,hex:"#"+t.slice(0,6).join("")}}X.getOptions=function(t){t||(t={}),t.color||(t.color={});const A=t.width&&t.width>=21?t.width:void 0;return{width:A,scale:A?4:t.scale||4,margin:typeof t.margin>"u"||null===t.margin||t.margin<0?4:t.margin,color:{dark:p(t.color.dark||"#000000ff"),light:p(t.color.light||"#ffffffff")},type:t.type,rendererOpts:t.rendererOpts||{}}},X.getScale=function(t,y){return y.width&&y.width>=t+2*y.margin?y.width/(t+2*y.margin):y.scale},X.getImageWidth=function(t,y){const A=X.getScale(t,y);return Math.floor((t+2*y.margin)*A)},X.qrToImageData=function(t,y,A){const l=y.modules.size,M=y.modules.data,m=X.getScale(l,A),O=Math.floor((l+2*A.margin)*m),d=A.margin*m,E=[A.color.light,A.color.dark];for(let x=0;x<O;x++)for(let I=0;I<O;I++){let k=4*(x*O+I),V=A.color.light;x>=d&&I>=d&&x<O-d&&I<O-d&&(V=E[M[Math.floor((x-d)/m)*l+Math.floor((I-d)/m)]?1:0]),t[k++]=V.r,t[k++]=V.g,t[k++]=V.b,t[k]=V.a}}},4019:(He,X,p)=>{"use strict";var e=65536,A=p(843).Buffer,l=global.crypto||global.msCrypto;He.exports=l&&l.getRandomValues?function M(m,O){if(m>4294967295)throw new RangeError("requested too many random bytes");var d=A.allocUnsafe(m);if(m>0)if(m>e)for(var E=0;E<m;E+=e)l.getRandomValues(d.slice(E,E+e));else l.getRandomValues(d);return"function"==typeof O?process.nextTick(function(){O(null,d)}):d}:function y(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}},1237:(He,X,p)=>{"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=p(843),y=p(4019),A=t.Buffer,l=t.kMaxLength,M=global.crypto||global.msCrypto,m=Math.pow(2,32)-1;function O(k,V){if("number"!=typeof k||k!=k)throw new TypeError("offset must be a number");if(k>m||k<0)throw new TypeError("offset must be a uint32");if(k>l||k>V)throw new RangeError("offset out of range")}function d(k,V,G){if("number"!=typeof k||k!=k)throw new TypeError("size must be a number");if(k>m||k<0)throw new TypeError("size must be a uint32");if(k+V>G||k>l)throw new RangeError("buffer too small")}function x(k,V,G,j){if(process.browser){var K=new Uint8Array(k.buffer,V,G);return M.getRandomValues(K),j?void process.nextTick(function(){j(null,k)}):k}if(!j)return y(G).copy(k,V),k;y(G,function(ie,ae){if(ie)return j(ie);ae.copy(k,V),j(null,k)})}M&&M.getRandomValues||!process.browser?(X.randomFill=function E(k,V,G,j){if(!(A.isBuffer(k)||k instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof V)j=V,V=0,G=k.length;else if("function"==typeof G)j=G,G=k.length-V;else if("function"!=typeof j)throw new TypeError('"cb" argument must be a function');return O(V,k.length),d(G,V,k.length),x(k,V,G,j)},X.randomFillSync=function I(k,V,G){if(typeof V>"u"&&(V=0),!(A.isBuffer(k)||k instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return O(V,k.length),void 0===G&&(G=k.length-V),d(G,V,k.length),x(k,V,G)}):(X.randomFill=e,X.randomFillSync=e)},7218:He=>{"use strict";var p={};function e(M,m,O){O||(O=Error);var E=function(x){function I(k,V,G){return x.call(this,function d(x,I,k){return"string"==typeof m?m:m(x,I,k)}(k,V,G))||this}return function X(M,m){M.prototype=Object.create(m.prototype),M.prototype.constructor=M,M.__proto__=m}(I,x),I}(O);E.prototype.name=O.name,E.prototype.code=M,p[M]=E}function t(M,m){if(Array.isArray(M)){var O=M.length;return M=M.map(function(d){return String(d)}),O>2?"one of ".concat(m," ").concat(M.slice(0,O-1).join(", "),", or ")+M[O-1]:2===O?"one of ".concat(m," ").concat(M[0]," or ").concat(M[1]):"of ".concat(m," ").concat(M[0])}return"of ".concat(m," ").concat(String(M))}e("ERR_INVALID_OPT_VALUE",function(M,m){return'The value "'+m+'" is invalid for option "'+M+'"'},TypeError),e("ERR_INVALID_ARG_TYPE",function(M,m,O){var d,E;if("string"==typeof m&&function y(M,m,O){return M.substr(!O||O<0?0:+O,m.length)===m}(m,"not ")?(d="must not be",m=m.replace(/^not /,"")):d="must be",function A(M,m,O){return(void 0===O||O>M.length)&&(O=M.length),M.substring(O-m.length,O)===m}(M," argument"))E="The ".concat(M," ").concat(d," ").concat(t(m,"type"));else{var x=function l(M,m,O){return"number"!=typeof O&&(O=0),!(O+m.length>M.length)&&-1!==M.indexOf(m,O)}(M,".")?"property":"argument";E='The "'.concat(M,'" ').concat(x," ").concat(d," ").concat(t(m,"type"))}return E+". Received type ".concat(typeof O)},TypeError),e("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),e("ERR_METHOD_NOT_IMPLEMENTED",function(M){return"The "+M+" method is not implemented"}),e("ERR_STREAM_PREMATURE_CLOSE","Premature close"),e("ERR_STREAM_DESTROYED",function(M){return"Cannot call "+M+" 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(M){return"Unknown encoding: "+M},TypeError),e("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),He.exports.q=p},247:(He,X,p)=>{"use strict";var e=Object.keys||function(E){var x=[];for(var I in E)x.push(I);return x};He.exports=m;var t=p(309),y=p(6563);p(6698)(m,t);for(var A=e(y.prototype),l=0;l<A.length;l++){var M=A[l];m.prototype[M]||(m.prototype[M]=y.prototype[M])}function m(E){if(!(this instanceof m))return new m(E);t.call(this,E),y.call(this,E),this.allowHalfOpen=!0,E&&(!1===E.readable&&(this.readable=!1),!1===E.writable&&(this.writable=!1),!1===E.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",O)))}function O(){this._writableState.ended||process.nextTick(d,this)}function d(E){E.end()}Object.defineProperty(m.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(m.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(m.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(m.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(x){void 0===this._readableState||void 0===this._writableState||(this._readableState.destroyed=x,this._writableState.destroyed=x)}})},5096:(He,X,p)=>{"use strict";He.exports=t;var e=p(6307);function t(y){if(!(this instanceof t))return new t(y);e.call(this,y)}p(6698)(t,e),t.prototype._transform=function(y,A,l){l(null,y)}},309:(He,X,p)=>{"use strict";var e;He.exports=S,S.ReadableState=he,p(2016);var E,y=function(ge,qe){return ge.listeners(qe).length},A=p(8240),l=p(9007).Buffer,M=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},d=p(4616);E=d&&d.debuglog?d.debuglog("stream"):function(){};var ie,ae,ue,x=p(2960),I=p(5601),V=p(8782).getHighWaterMark,G=p(7218).q,j=G.ERR_INVALID_ARG_TYPE,W=G.ERR_STREAM_PUSH_AFTER_EOF,K=G.ERR_METHOD_NOT_IMPLEMENTED,q=G.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;p(6698)(S,A);var re=I.errorOrDestroy,xe=["error","close","destroy","pause","resume"];function he(le,ge,qe){e=e||p(247),"boolean"!=typeof qe&&(qe=ge instanceof e),this.objectMode=!!(le=le||{}).objectMode,qe&&(this.objectMode=this.objectMode||!!le.readableObjectMode),this.highWaterMark=V(this,le,"readableHighWaterMark",qe),this.buffer=new x,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!==le.emitClose,this.autoDestroy=!!le.autoDestroy,this.destroyed=!1,this.defaultEncoding=le.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,le.encoding&&(ie||(ie=p(2024).s),this.decoder=new ie(le.encoding),this.encoding=le.encoding)}function S(le){if(e=e||p(247),!(this instanceof S))return new S(le);this._readableState=new he(le,this,this instanceof e),this.readable=!0,le&&("function"==typeof le.read&&(this._read=le.read),"function"==typeof le.destroy&&(this._destroy=le.destroy)),A.call(this)}function n(le,ge,qe,oe,ve){E("readableAddChunk",ge);var Ge,ce=le._readableState;if(null===ge)ce.reading=!1,function P(le,ge){if(E("onEofChunk"),!ge.ended){if(ge.decoder){var qe=ge.decoder.end();qe&&qe.length&&(ge.buffer.push(qe),ge.length+=ge.objectMode?1:qe.length)}ge.ended=!0,ge.sync?v(le):(ge.needReadable=!1,ge.emittedReadable||(ge.emittedReadable=!0,r(le)))}}(le,ce);else if(ve||(Ge=function f(le,ge){var qe;return!function O(le){return l.isBuffer(le)||le instanceof M}(ge)&&"string"!=typeof ge&&void 0!==ge&&!le.objectMode&&(qe=new j("chunk",["string","Buffer","Uint8Array"],ge)),qe}(ce,ge)),Ge)re(le,Ge);else if(ce.objectMode||ge&&ge.length>0)if("string"!=typeof ge&&!ce.objectMode&&Object.getPrototypeOf(ge)!==l.prototype&&(ge=function m(le){return l.from(le)}(ge)),oe)ce.endEmitted?re(le,new q):s(le,ce,ge,!0);else if(ce.ended)re(le,new W);else{if(ce.destroyed)return!1;ce.reading=!1,ce.decoder&&!qe?(ge=ce.decoder.write(ge),ce.objectMode||0!==ge.length?s(le,ce,ge,!1):g(le,ce)):s(le,ce,ge,!1)}else oe||(ce.reading=!1,g(le,ce));return!ce.ended&&(ce.length<ce.highWaterMark||0===ce.length)}function s(le,ge,qe,oe){ge.flowing&&0===ge.length&&!ge.sync?(ge.awaitDrain=0,le.emit("data",qe)):(ge.length+=ge.objectMode?1:qe.length,oe?ge.buffer.unshift(qe):ge.buffer.push(qe),ge.needReadable&&v(le)),g(le,ge)}Object.defineProperty(S.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(ge){this._readableState&&(this._readableState.destroyed=ge)}}),S.prototype.destroy=I.destroy,S.prototype._undestroy=I.undestroy,S.prototype._destroy=function(le,ge){ge(le)},S.prototype.push=function(le,ge){var oe,qe=this._readableState;return qe.objectMode?oe=!0:"string"==typeof le&&((ge=ge||qe.defaultEncoding)!==qe.encoding&&(le=l.from(le,ge),ge=""),oe=!0),n(this,le,ge,!1,oe)},S.prototype.unshift=function(le){return n(this,le,null,!0,!1)},S.prototype.isPaused=function(){return!1===this._readableState.flowing},S.prototype.setEncoding=function(le){ie||(ie=p(2024).s);var ge=new ie(le);this._readableState.decoder=ge,this._readableState.encoding=this._readableState.decoder.encoding;for(var qe=this._readableState.buffer.head,oe="";null!==qe;)oe+=ge.write(qe.data),qe=qe.next;return this._readableState.buffer.clear(),""!==oe&&this._readableState.buffer.push(oe),this._readableState.length=oe.length,this};var h=1073741824;function D(le,ge){return le<=0||0===ge.length&&ge.ended?0:ge.objectMode?1:le!=le?ge.flowing&&ge.length?ge.buffer.head.data.length:ge.length:(le>ge.highWaterMark&&(ge.highWaterMark=function w(le){return le>=h?le=h:(le--,le|=le>>>1,le|=le>>>2,le|=le>>>4,le|=le>>>8,le|=le>>>16,le++),le}(le)),le<=ge.length?le:ge.ended?ge.length:(ge.needReadable=!0,0))}function v(le){var ge=le._readableState;E("emitReadable",ge.needReadable,ge.emittedReadable),ge.needReadable=!1,ge.emittedReadable||(E("emitReadable",ge.flowing),ge.emittedReadable=!0,process.nextTick(r,le))}function r(le){var ge=le._readableState;E("emitReadable_",ge.destroyed,ge.length,ge.ended),!ge.destroyed&&(ge.length||ge.ended)&&(le.emit("readable"),ge.emittedReadable=!1),ge.needReadable=!ge.flowing&&!ge.ended&&ge.length<=ge.highWaterMark,$e(le)}function g(le,ge){ge.readingMore||(ge.readingMore=!0,process.nextTick(H,le,ge))}function H(le,ge){for(;!ge.reading&&!ge.ended&&(ge.length<ge.highWaterMark||ge.flowing&&0===ge.length);){var qe=ge.length;if(E("maybeReadMore read 0"),le.read(0),qe===ge.length)break}ge.readingMore=!1}function te(le){var ge=le._readableState;ge.readableListening=le.listenerCount("readable")>0,ge.resumeScheduled&&!ge.paused?ge.flowing=!0:le.listenerCount("data")>0&&le.resume()}function De(le){E("readable nexttick read 0"),le.read(0)}function je(le,ge){E("resume",ge.reading),ge.reading||le.read(0),ge.resumeScheduled=!1,le.emit("resume"),$e(le),ge.flowing&&!ge.reading&&le.read(0)}function $e(le){var ge=le._readableState;for(E("flow",ge.flowing);ge.flowing&&null!==le.read(););}function ye(le,ge){return 0===ge.length?null:(ge.objectMode?qe=ge.buffer.shift():!le||le>=ge.length?(qe=ge.decoder?ge.buffer.join(""):1===ge.buffer.length?ge.buffer.first():ge.buffer.concat(ge.length),ge.buffer.clear()):qe=ge.buffer.consume(le,ge.decoder),qe);var qe}function fe(le){var ge=le._readableState;E("endReadable",ge.endEmitted),ge.endEmitted||(ge.ended=!0,process.nextTick(de,ge,le))}function de(le,ge){if(E("endReadableNT",le.endEmitted,le.length),!le.endEmitted&&0===le.length&&(le.endEmitted=!0,ge.readable=!1,ge.emit("end"),le.autoDestroy)){var qe=ge._writableState;(!qe||qe.autoDestroy&&qe.finished)&&ge.destroy()}}function Ce(le,ge){for(var qe=0,oe=le.length;qe<oe;qe++)if(le[qe]===ge)return qe;return-1}S.prototype.read=function(le){E("read",le),le=parseInt(le,10);var ge=this._readableState,qe=le;if(0!==le&&(ge.emittedReadable=!1),0===le&&ge.needReadable&&((0!==ge.highWaterMark?ge.length>=ge.highWaterMark:ge.length>0)||ge.ended))return E("read: emitReadable",ge.length,ge.ended),0===ge.length&&ge.ended?fe(this):v(this),null;if(0===(le=D(le,ge))&&ge.ended)return 0===ge.length&&fe(this),null;var ve,oe=ge.needReadable;return E("need readable",oe),(0===ge.length||ge.length-le<ge.highWaterMark)&&E("length less than watermark",oe=!0),ge.ended||ge.reading?E("reading or ended",oe=!1):oe&&(E("do read"),ge.reading=!0,ge.sync=!0,0===ge.length&&(ge.needReadable=!0),this._read(ge.highWaterMark),ge.sync=!1,ge.reading||(le=D(qe,ge))),null===(ve=le>0?ye(le,ge):null)?(ge.needReadable=ge.length<=ge.highWaterMark,le=0):(ge.length-=le,ge.awaitDrain=0),0===ge.length&&(ge.ended||(ge.needReadable=!0),qe!==le&&ge.ended&&fe(this)),null!==ve&&this.emit("data",ve),ve},S.prototype._read=function(le){re(this,new K("_read()"))},S.prototype.pipe=function(le,ge){var qe=this,oe=this._readableState;switch(oe.pipesCount){case 0:oe.pipes=le;break;case 1:oe.pipes=[oe.pipes,le];break;default:oe.pipes.push(le)}oe.pipesCount+=1,E("pipe count=%d opts=%j",oe.pipesCount,ge);var ce=ge&&!1===ge.end||le===process.stdout||le===process.stderr?ke:Ze;function Ze(){E("onend"),le.end()}oe.endEmitted?process.nextTick(ce):qe.once("end",ce),le.on("unpipe",function Ge(ct,Qe){E("onunpipe"),ct===qe&&Qe&&!1===Qe.hasUnpiped&&(Qe.hasUnpiped=!0,function kt(){E("cleanup"),le.removeListener("close",nt),le.removeListener("finish",et),le.removeListener("drain",wt),le.removeListener("error",ze),le.removeListener("unpipe",Ge),qe.removeListener("end",Ze),qe.removeListener("end",ke),qe.removeListener("data",Ae),mt=!0,oe.awaitDrain&&(!le._writableState||le._writableState.needDrain)&&wt()}())});var wt=function N(le){return function(){var qe=le._readableState;E("pipeOnDrain",qe.awaitDrain),qe.awaitDrain&&qe.awaitDrain--,0===qe.awaitDrain&&y(le,"data")&&(qe.flowing=!0,$e(le))}}(qe);le.on("drain",wt);var mt=!1;function Ae(ct){E("ondata");var Qe=le.write(ct);E("dest.write",Qe),!1===Qe&&((1===oe.pipesCount&&oe.pipes===le||oe.pipesCount>1&&-1!==Ce(oe.pipes,le))&&!mt&&(E("false write response, pause",oe.awaitDrain),oe.awaitDrain++),qe.pause())}function ze(ct){E("onerror",ct),ke(),le.removeListener("error",ze),0===y(le,"error")&&re(le,ct)}function nt(){le.removeListener("finish",et),ke()}function et(){E("onfinish"),le.removeListener("close",nt),ke()}function ke(){E("unpipe"),qe.unpipe(le)}return qe.on("data",Ae),function $(le,ge,qe){if("function"==typeof le.prependListener)return le.prependListener(ge,qe);le._events&&le._events[ge]?Array.isArray(le._events[ge])?le._events[ge].unshift(qe):le._events[ge]=[qe,le._events[ge]]:le.on(ge,qe)}(le,"error",ze),le.once("close",nt),le.once("finish",et),le.emit("pipe",qe),oe.flowing||(E("pipe resume"),qe.resume()),le},S.prototype.unpipe=function(le){var ge=this._readableState,qe={hasUnpiped:!1};if(0===ge.pipesCount)return this;if(1===ge.pipesCount)return le&&le!==ge.pipes||(le||(le=ge.pipes),ge.pipes=null,ge.pipesCount=0,ge.flowing=!1,le&&le.emit("unpipe",this,qe)),this;if(!le){var oe=ge.pipes,ve=ge.pipesCount;ge.pipes=null,ge.pipesCount=0,ge.flowing=!1;for(var ce=0;ce<ve;ce++)oe[ce].emit("unpipe",this,{hasUnpiped:!1});return this}var Ge=Ce(ge.pipes,le);return-1===Ge||(ge.pipes.splice(Ge,1),ge.pipesCount-=1,1===ge.pipesCount&&(ge.pipes=ge.pipes[0]),le.emit("unpipe",this,qe)),this},S.prototype.addListener=S.prototype.on=function(le,ge){var qe=A.prototype.on.call(this,le,ge),oe=this._readableState;return"data"===le?(oe.readableListening=this.listenerCount("readable")>0,!1!==oe.flowing&&this.resume()):"readable"===le&&!oe.endEmitted&&!oe.readableListening&&(oe.readableListening=oe.needReadable=!0,oe.flowing=!1,oe.emittedReadable=!1,E("on readable",oe.length,oe.reading),oe.length?v(this):oe.reading||process.nextTick(De,this)),qe},S.prototype.removeListener=function(le,ge){var qe=A.prototype.removeListener.call(this,le,ge);return"readable"===le&&process.nextTick(te,this),qe},S.prototype.removeAllListeners=function(le){var ge=A.prototype.removeAllListeners.apply(this,arguments);return("readable"===le||void 0===le)&&process.nextTick(te,this),ge},S.prototype.resume=function(){var le=this._readableState;return le.flowing||(E("resume"),le.flowing=!le.readableListening,function st(le,ge){ge.resumeScheduled||(ge.resumeScheduled=!0,process.nextTick(je,le,ge))}(this,le)),le.paused=!1,this},S.prototype.pause=function(){return E("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(E("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},S.prototype.wrap=function(le){var ge=this,qe=this._readableState,oe=!1;for(var ve in le.on("end",function(){if(E("wrapped end"),qe.decoder&&!qe.ended){var Ge=qe.decoder.end();Ge&&Ge.length&&ge.push(Ge)}ge.push(null)}),le.on("data",function(Ge){E("wrapped data"),qe.decoder&&(Ge=qe.decoder.write(Ge)),qe.objectMode&&null==Ge||!(qe.objectMode||Ge&&Ge.length)||ge.push(Ge)||(oe=!0,le.pause())}),le)void 0===this[ve]&&"function"==typeof le[ve]&&(this[ve]=function(Ze){return function(){return le[Ze].apply(le,arguments)}}(ve));for(var ce=0;ce<xe.length;ce++)le.on(xe[ce],this.emit.bind(this,xe[ce]));return this._read=function(Ge){E("wrapped _read",Ge),oe&&(oe=!1,le.resume())},this},"function"==typeof Symbol&&(S.prototype[Symbol.asyncIterator]=function(){return void 0===ae&&(ae=p(457)),ae(this)}),Object.defineProperty(S.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(S.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(S.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(ge){this._readableState&&(this._readableState.flowing=ge)}}),S._fromList=ye,Object.defineProperty(S.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(S.from=function(le,ge){return void 0===ue&&(ue=p(3335)),ue(S,le,ge)})},6307:(He,X,p)=>{"use strict";He.exports=O;var e=p(7218).q,t=e.ERR_METHOD_NOT_IMPLEMENTED,y=e.ERR_MULTIPLE_CALLBACK,A=e.ERR_TRANSFORM_ALREADY_TRANSFORMING,l=e.ERR_TRANSFORM_WITH_LENGTH_0,M=p(247);function m(x,I){var k=this._transformState;k.transforming=!1;var V=k.writecb;if(null===V)return this.emit("error",new y);k.writechunk=null,k.writecb=null,null!=I&&this.push(I),V(x);var G=this._readableState;G.reading=!1,(G.needReadable||G.length<G.highWaterMark)&&this._read(G.highWaterMark)}function O(x){if(!(this instanceof O))return new O(x);M.call(this,x),this._transformState={afterTransform:m.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,x&&("function"==typeof x.transform&&(this._transform=x.transform),"function"==typeof x.flush&&(this._flush=x.flush)),this.on("prefinish",d)}function d(){var x=this;"function"!=typeof this._flush||this._readableState.destroyed?E(this,null,null):this._flush(function(I,k){E(x,I,k)})}function E(x,I,k){if(I)return x.emit("error",I);if(null!=k&&x.push(k),x._writableState.length)throw new l;if(x._transformState.transforming)throw new A;return x.push(null)}p(6698)(O,M),O.prototype.push=function(x,I){return this._transformState.needTransform=!1,M.prototype.push.call(this,x,I)},O.prototype._transform=function(x,I,k){k(new t("_transform()"))},O.prototype._write=function(x,I,k){var V=this._transformState;if(V.writecb=k,V.writechunk=x,V.writeencoding=I,!V.transforming){var G=this._readableState;(V.needTransform||G.needReadable||G.length<G.highWaterMark)&&this._read(G.highWaterMark)}},O.prototype._read=function(x){var I=this._transformState;null===I.writechunk||I.transforming?I.needTransform=!0:(I.transforming=!0,this._transform(I.writechunk,I.writeencoding,I.afterTransform))},O.prototype._destroy=function(x,I){M.prototype._destroy.call(this,x,function(k){I(k)})}},6563:(He,X,p)=>{"use strict";function t($e){var ye=this;this.next=null,this.entry=null,this.finish=function(){!function je($e,ye,fe){var de=$e.entry;for($e.entry=null;de;){var Ce=de.callback;ye.pendingcb--,Ce(fe),de=de.next}ye.corkedRequestsFree.next=$e}(ye,$e)}}var y;He.exports=he,he.WritableState=xe;var $,A={deprecate:p(496)},l=p(8240),M=p(9007).Buffer,m=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},E=p(5601),I=p(8782).getHighWaterMark,k=p(7218).q,V=k.ERR_INVALID_ARG_TYPE,G=k.ERR_METHOD_NOT_IMPLEMENTED,j=k.ERR_MULTIPLE_CALLBACK,W=k.ERR_STREAM_CANNOT_PIPE,K=k.ERR_STREAM_DESTROYED,q=k.ERR_STREAM_NULL_VALUES,ie=k.ERR_STREAM_WRITE_AFTER_END,ae=k.ERR_UNKNOWN_ENCODING,ue=E.errorOrDestroy;function re(){}function xe($e,ye,fe){y=y||p(247),"boolean"!=typeof fe&&(fe=ye instanceof y),this.objectMode=!!($e=$e||{}).objectMode,fe&&(this.objectMode=this.objectMode||!!$e.writableObjectMode),this.highWaterMark=I(this,$e,"writableHighWaterMark",fe),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===$e.decodeStrings),this.defaultEncoding=$e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Ce){!function P($e,ye){var fe=$e._writableState,de=fe.sync,Ce=fe.writecb;if("function"!=typeof Ce)throw new j;if(function D($e){$e.writing=!1,$e.writecb=null,$e.length-=$e.writelen,$e.writelen=0}(fe),ye)!function w($e,ye,fe,de,Ce){--ye.pendingcb,fe?(process.nextTick(Ce,de),process.nextTick(De,$e,ye),$e._writableState.errorEmitted=!0,ue($e,de)):(Ce(de),$e._writableState.errorEmitted=!0,ue($e,de),De($e,ye))}($e,fe,de,ye,Ce);else{var le=H(fe)||$e.destroyed;!le&&!fe.corked&&!fe.bufferProcessing&&fe.bufferedRequest&&g($e,fe),de?process.nextTick(v,$e,fe,le,Ce):v($e,fe,le,Ce)}}(ye,Ce)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==$e.emitClose,this.autoDestroy=!!$e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new t(this)}function he($e){var ye=this instanceof(y=y||p(247));if(!ye&&!$.call(he,this))return new he($e);this._writableState=new xe($e,this,ye),this.writable=!0,$e&&("function"==typeof $e.write&&(this._write=$e.write),"function"==typeof $e.writev&&(this._writev=$e.writev),"function"==typeof $e.destroy&&(this._destroy=$e.destroy),"function"==typeof $e.final&&(this._final=$e.final)),l.call(this)}function h($e,ye,fe,de,Ce,le,ge){ye.writelen=de,ye.writecb=ge,ye.writing=!0,ye.sync=!0,ye.destroyed?ye.onwrite(new K("write")):fe?$e._writev(Ce,ye.onwrite):$e._write(Ce,le,ye.onwrite),ye.sync=!1}function v($e,ye,fe,de){fe||function r($e,ye){0===ye.length&&ye.needDrain&&(ye.needDrain=!1,$e.emit("drain"))}($e,ye),ye.pendingcb--,de(),De($e,ye)}function g($e,ye){ye.bufferProcessing=!0;var fe=ye.bufferedRequest;if($e._writev&&fe&&fe.next){var Ce=new Array(ye.bufferedRequestCount),le=ye.corkedRequestsFree;le.entry=fe;for(var ge=0,qe=!0;fe;)Ce[ge]=fe,fe.isBuf||(qe=!1),fe=fe.next,ge+=1;Ce.allBuffers=qe,h($e,ye,!0,ye.length,Ce,"",le.finish),ye.pendingcb++,ye.lastBufferedRequest=null,le.next?(ye.corkedRequestsFree=le.next,le.next=null):ye.corkedRequestsFree=new t(ye),ye.bufferedRequestCount=0}else{for(;fe;){var oe=fe.chunk;if(h($e,ye,!1,ye.objectMode?1:oe.length,oe,fe.encoding,fe.callback),fe=fe.next,ye.bufferedRequestCount--,ye.writing)break}null===fe&&(ye.lastBufferedRequest=null)}ye.bufferedRequest=fe,ye.bufferProcessing=!1}function H($e){return $e.ending&&0===$e.length&&null===$e.bufferedRequest&&!$e.finished&&!$e.writing}function N($e,ye){$e._final(function(fe){ye.pendingcb--,fe&&ue($e,fe),ye.prefinished=!0,$e.emit("prefinish"),De($e,ye)})}function De($e,ye){var fe=H(ye);if(fe&&(function te($e,ye){!ye.prefinished&&!ye.finalCalled&&("function"!=typeof $e._final||ye.destroyed?(ye.prefinished=!0,$e.emit("prefinish")):(ye.pendingcb++,ye.finalCalled=!0,process.nextTick(N,$e,ye)))}($e,ye),0===ye.pendingcb&&(ye.finished=!0,$e.emit("finish"),ye.autoDestroy))){var de=$e._readableState;(!de||de.autoDestroy&&de.endEmitted)&&$e.destroy()}return fe}p(6698)(he,l),xe.prototype.getBuffer=function(){for(var ye=this.bufferedRequest,fe=[];ye;)fe.push(ye),ye=ye.next;return fe},function(){try{Object.defineProperty(xe.prototype,"buffer",{get:A.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?($=Function.prototype[Symbol.hasInstance],Object.defineProperty(he,Symbol.hasInstance,{value:function(ye){return!!$.call(this,ye)||this===he&&ye&&ye._writableState instanceof xe}})):$=function(ye){return ye instanceof this},he.prototype.pipe=function(){ue(this,new W)},he.prototype.write=function($e,ye,fe){var de=this._writableState,Ce=!1,le=!de.objectMode&&function d($e){return M.isBuffer($e)||$e instanceof m}($e);return le&&!M.isBuffer($e)&&($e=function O($e){return M.from($e)}($e)),"function"==typeof ye&&(fe=ye,ye=null),le?ye="buffer":ye||(ye=de.defaultEncoding),"function"!=typeof fe&&(fe=re),de.ending?function S($e,ye){var fe=new ie;ue($e,fe),process.nextTick(ye,fe)}(this,fe):(le||function n($e,ye,fe,de){var Ce;return null===fe?Ce=new q:"string"!=typeof fe&&!ye.objectMode&&(Ce=new V("chunk",["string","Buffer"],fe)),!Ce||(ue($e,Ce),process.nextTick(de,Ce),!1)}(this,de,$e,fe))&&(de.pendingcb++,Ce=function f($e,ye,fe,de,Ce,le){if(!fe){var ge=function s($e,ye,fe){return!$e.objectMode&&!1!==$e.decodeStrings&&"string"==typeof ye&&(ye=M.from(ye,fe)),ye}(ye,de,Ce);de!==ge&&(fe=!0,Ce="buffer",de=ge)}var qe=ye.objectMode?1:de.length;ye.length+=qe;var oe=ye.length<ye.highWaterMark;if(oe||(ye.needDrain=!0),ye.writing||ye.corked){var ve=ye.lastBufferedRequest;ye.lastBufferedRequest={chunk:de,encoding:Ce,isBuf:fe,callback:le,next:null},ve?ve.next=ye.lastBufferedRequest:ye.bufferedRequest=ye.lastBufferedRequest,ye.bufferedRequestCount+=1}else h($e,ye,!1,qe,de,Ce,le);return oe}(this,de,le,$e,ye,fe)),Ce},he.prototype.cork=function(){this._writableState.corked++},he.prototype.uncork=function(){var $e=this._writableState;$e.corked&&($e.corked--,!$e.writing&&!$e.corked&&!$e.bufferProcessing&&$e.bufferedRequest&&g(this,$e))},he.prototype.setDefaultEncoding=function(ye){if("string"==typeof ye&&(ye=ye.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((ye+"").toLowerCase())>-1))throw new ae(ye);return this._writableState.defaultEncoding=ye,this},Object.defineProperty(he.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(he.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),he.prototype._write=function($e,ye,fe){fe(new G("_write()"))},he.prototype._writev=null,he.prototype.end=function($e,ye,fe){var de=this._writableState;return"function"==typeof $e?(fe=$e,$e=null,ye=null):"function"==typeof ye&&(fe=ye,ye=null),null!=$e&&this.write($e,ye),de.corked&&(de.corked=1,this.uncork()),de.ending||function st($e,ye,fe){ye.ending=!0,De($e,ye),fe&&(ye.finished?process.nextTick(fe):$e.once("finish",fe)),ye.ended=!0,$e.writable=!1}(this,de,fe),this},Object.defineProperty(he.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(he.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(ye){this._writableState&&(this._writableState.destroyed=ye)}}),he.prototype.destroy=E.destroy,he.prototype._undestroy=E.undestroy,he.prototype._destroy=function($e,ye){ye($e)}},457:(He,X,p)=>{"use strict";var e;function t(ie,ae,ue){return ae=function y(ie){var ae=function A(ie,ae){if("object"!=typeof ie||null===ie)return ie;var ue=ie[Symbol.toPrimitive];if(void 0!==ue){var re=ue.call(ie,ae||"default");if("object"!=typeof re)return re;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===ae?String:Number)(ie)}(ie,"string");return"symbol"==typeof ae?ae:String(ae)}(ae),ae in ie?Object.defineProperty(ie,ae,{value:ue,enumerable:!0,configurable:!0,writable:!0}):ie[ae]=ue,ie}var l=p(4618),M=Symbol("lastResolve"),m=Symbol("lastReject"),O=Symbol("error"),d=Symbol("ended"),E=Symbol("lastPromise"),x=Symbol("handlePromise"),I=Symbol("stream");function k(ie,ae){return{value:ie,done:ae}}function V(ie){var ae=ie[M];if(null!==ae){var ue=ie[I].read();null!==ue&&(ie[E]=null,ie[M]=null,ie[m]=null,ae(k(ue,!1)))}}function G(ie){process.nextTick(V,ie)}var W=Object.getPrototypeOf(function(){}),K=Object.setPrototypeOf((t(e={get stream(){return this[I]},next:function(){var ae=this,ue=this[O];if(null!==ue)return Promise.reject(ue);if(this[d])return Promise.resolve(k(void 0,!0));if(this[I].destroyed)return new Promise(function(he,S){process.nextTick(function(){ae[O]?S(ae[O]):he(k(void 0,!0))})});var xe,re=this[E];if(re)xe=new Promise(function j(ie,ae){return function(ue,re){ie.then(function(){ae[d]?ue(k(void 0,!0)):ae[x](ue,re)},re)}}(re,this));else{var $=this[I].read();if(null!==$)return Promise.resolve(k($,!1));xe=new Promise(this[x])}return this[E]=xe,xe}},Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var ae=this;return new Promise(function(ue,re){ae[I].destroy(null,function(xe){xe?re(xe):ue(k(void 0,!0))})})}),e),W);He.exports=function(ae){var ue,re=Object.create(K,(t(ue={},I,{value:ae,writable:!0}),t(ue,M,{value:null,writable:!0}),t(ue,m,{value:null,writable:!0}),t(ue,O,{value:null,writable:!0}),t(ue,d,{value:ae._readableState.endEmitted,writable:!0}),t(ue,x,{value:function($,he){var S=re[I].read();S?(re[E]=null,re[M]=null,re[m]=null,$(k(S,!1))):(re[M]=$,re[m]=he)},writable:!0}),ue));return re[E]=null,l(ae,function(xe){if(xe&&"ERR_STREAM_PREMATURE_CLOSE"!==xe.code){var $=re[m];return null!==$&&(re[E]=null,re[M]=null,re[m]=null,$(xe)),void(re[O]=xe)}var he=re[M];null!==he&&(re[E]=null,re[M]=null,re[m]=null,he(k(void 0,!0))),re[d]=!0}),ae.on("readable",G.bind(null,re)),re}},2960:(He,X,p)=>{"use strict";function e(G,j){var W=Object.keys(G);if(Object.getOwnPropertySymbols){var K=Object.getOwnPropertySymbols(G);j&&(K=K.filter(function(q){return Object.getOwnPropertyDescriptor(G,q).enumerable})),W.push.apply(W,K)}return W}function t(G){for(var j=1;j<arguments.length;j++){var W=null!=arguments[j]?arguments[j]:{};j%2?e(Object(W),!0).forEach(function(K){y(G,K,W[K])}):Object.getOwnPropertyDescriptors?Object.defineProperties(G,Object.getOwnPropertyDescriptors(W)):e(Object(W)).forEach(function(K){Object.defineProperty(G,K,Object.getOwnPropertyDescriptor(W,K))})}return G}function y(G,j,W){return(j=m(j))in G?Object.defineProperty(G,j,{value:W,enumerable:!0,configurable:!0,writable:!0}):G[j]=W,G}function l(G,j){for(var W=0;W<j.length;W++){var K=j[W];K.enumerable=K.enumerable||!1,K.configurable=!0,"value"in K&&(K.writable=!0),Object.defineProperty(G,m(K.key),K)}}function m(G){var j=function O(G,j){if("object"!=typeof G||null===G)return G;var W=G[Symbol.toPrimitive];if(void 0!==W){var K=W.call(G,j||"default");if("object"!=typeof K)return K;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===j?String:Number)(G)}(G,"string");return"symbol"==typeof j?j:String(j)}var E=p(9007).Buffer,I=p(2361).inspect,k=I&&I.custom||"inspect";function V(G,j,W){E.prototype.copy.call(G,j,W)}He.exports=function(){function G(){(function A(G,j){if(!(G instanceof j))throw new TypeError("Cannot call a class as a function")})(this,G),this.head=null,this.tail=null,this.length=0}return function M(G,j,W){j&&l(G.prototype,j),W&&l(G,W),Object.defineProperty(G,"prototype",{writable:!1})}(G,[{key:"push",value:function(W){var K={data:W,next:null};this.length>0?this.tail.next=K:this.head=K,this.tail=K,++this.length}},{key:"unshift",value:function(W){var K={data:W,next:this.head};0===this.length&&(this.tail=K),this.head=K,++this.length}},{key:"shift",value:function(){if(0!==this.length){var W=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,W}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(W){if(0===this.length)return"";for(var K=this.head,q=""+K.data;K=K.next;)q+=W+K.data;return q}},{key:"concat",value:function(W){if(0===this.length)return E.alloc(0);for(var K=E.allocUnsafe(W>>>0),q=this.head,ie=0;q;)V(q.data,K,ie),ie+=q.data.length,q=q.next;return K}},{key:"consume",value:function(W,K){var q;return W<this.head.data.length?(q=this.head.data.slice(0,W),this.head.data=this.head.data.slice(W)):q=W===this.head.data.length?this.shift():K?this._getString(W):this._getBuffer(W),q}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(W){var K=this.head,q=1,ie=K.data;for(W-=ie.length;K=K.next;){var ae=K.data,ue=W>ae.length?ae.length:W;if(ie+=ue===ae.length?ae:ae.slice(0,W),0==(W-=ue)){ue===ae.length?(++q,this.head=K.next?K.next:this.tail=null):(this.head=K,K.data=ae.slice(ue));break}++q}return this.length-=q,ie}},{key:"_getBuffer",value:function(W){var K=E.allocUnsafe(W),q=this.head,ie=1;for(q.data.copy(K),W-=q.data.length;q=q.next;){var ae=q.data,ue=W>ae.length?ae.length:W;if(ae.copy(K,K.length-W,0,ue),0==(W-=ue)){ue===ae.length?(++ie,this.head=q.next?q.next:this.tail=null):(this.head=q,q.data=ae.slice(ue));break}++ie}return this.length-=ie,K}},{key:k,value:function(W,K){return I(this,t(t({},K),{},{depth:0,customInspect:!1}))}}]),G}()},5601:He=>{"use strict";function p(l,M){y(l,M),e(l)}function e(l){l._writableState&&!l._writableState.emitClose||l._readableState&&!l._readableState.emitClose||l.emit("close")}function y(l,M){l.emit("error",M)}He.exports={destroy:function X(l,M){var m=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(M?M(l):l&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(y,this,l)):process.nextTick(y,this,l)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(l||null,function(E){!M&&E?m._writableState?m._writableState.errorEmitted?process.nextTick(e,m):(m._writableState.errorEmitted=!0,process.nextTick(p,m,E)):process.nextTick(p,m,E):M?(process.nextTick(e,m),M(E)):process.nextTick(e,m)}),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 A(l,M){var m=l._readableState,O=l._writableState;m&&m.autoDestroy||O&&O.autoDestroy?l.destroy(M):l.emit("error",M)}}},4618:(He,X,p)=>{"use strict";var e=p(7218).q.ERR_STREAM_PREMATURE_CLOSE;function y(){}He.exports=function l(M,m,O){if("function"==typeof m)return l(M,null,m);m||(m={}),O=function t(M){var m=!1;return function(){if(!m){m=!0;for(var O=arguments.length,d=new Array(O),E=0;E<O;E++)d[E]=arguments[E];M.apply(this,d)}}}(O||y);var d=m.readable||!1!==m.readable&&M.readable,E=m.writable||!1!==m.writable&&M.writable,x=function(){M.writable||k()},I=M._writableState&&M._writableState.finished,k=function(){E=!1,I=!0,d||O.call(M)},V=M._readableState&&M._readableState.endEmitted,G=function(){d=!1,V=!0,E||O.call(M)},j=function(ie){O.call(M,ie)},W=function(){var ie;return d&&!V?((!M._readableState||!M._readableState.ended)&&(ie=new e),O.call(M,ie)):E&&!I?((!M._writableState||!M._writableState.ended)&&(ie=new e),O.call(M,ie)):void 0},K=function(){M.req.on("finish",k)};return function A(M){return M.setHeader&&"function"==typeof M.abort}(M)?(M.on("complete",k),M.on("abort",W),M.req?K():M.on("request",K)):E&&!M._writableState&&(M.on("end",x),M.on("close",x)),M.on("end",G),M.on("finish",k),!1!==m.error&&M.on("error",j),M.on("close",W),function(){M.removeListener("complete",k),M.removeListener("abort",W),M.removeListener("request",K),M.req&&M.req.removeListener("finish",k),M.removeListener("end",x),M.removeListener("close",x),M.removeListener("finish",k),M.removeListener("end",G),M.removeListener("error",j),M.removeListener("close",W)}}},3335:He=>{He.exports=function(){throw new Error("Readable.from is not available in the browser")}},4514:(He,X,p)=>{"use strict";var e,y=p(7218).q,A=y.ERR_MISSING_ARGS,l=y.ERR_STREAM_DESTROYED;function M(k){if(k)throw k}function d(k){k()}function E(k,V){return k.pipe(V)}He.exports=function I(){for(var k=arguments.length,V=new Array(k),G=0;G<k;G++)V[G]=arguments[G];var j=function x(k){return k.length&&"function"==typeof k[k.length-1]?k.pop():M}(V);if(Array.isArray(V[0])&&(V=V[0]),V.length<2)throw new A("streams");var W,K=V.map(function(q,ie){var ae=ie<V.length-1;return function O(k,V,G,j){j=function t(k){var V=!1;return function(){V||(V=!0,k.apply(void 0,arguments))}}(j);var W=!1;k.on("close",function(){W=!0}),void 0===e&&(e=p(4618)),e(k,{readable:V,writable:G},function(q){if(q)return j(q);W=!0,j()});var K=!1;return function(q){if(!W&&!K){if(K=!0,function m(k){return k.setHeader&&"function"==typeof k.abort}(k))return k.abort();if("function"==typeof k.destroy)return k.destroy();j(q||new l("pipe"))}}}(q,ae,ie>0,function(re){W||(W=re),re&&K.forEach(d),!ae&&(K.forEach(d),j(W))})});return V.reduce(E)}},8782:(He,X,p)=>{"use strict";var e=p(7218).q.ERR_INVALID_OPT_VALUE;He.exports={getHighWaterMark:function y(A,l,M,m){var O=function t(A,l,M){return null!=A.highWaterMark?A.highWaterMark:l?A[M]:null}(l,m,M);if(null!=O){if(!isFinite(O)||Math.floor(O)!==O||O<0)throw new e(m?M:"highWaterMark",O);return Math.floor(O)}return A.objectMode?16:16384}}},8240:(He,X,p)=>{He.exports=p(2016).EventEmitter},6745:(He,X,p)=>{(X=He.exports=p(309)).Stream=X,X.Readable=X,X.Writable=p(6563),X.Duplex=p(247),X.Transform=p(6307),X.PassThrough=p(5096),X.finished=p(4618),X.pipeline=p(4514)},2178:He=>{"use strict";function X(t){return t instanceof Buffer?Buffer.from(t):new t.constructor(t.buffer.slice(),t.byteOffset,t.length)}He.exports=function p(t){return(t=t||{}).circles?function e(t){var y=[],A=[];return t.proto?function m(O){if("object"!=typeof O||null===O)return O;if(O instanceof Date)return new Date(O);if(Array.isArray(O))return l(O,m);if(O instanceof Map)return new Map(l(Array.from(O),m));if(O instanceof Set)return new Set(l(Array.from(O),m));var d={};for(var E in y.push(O),A.push(d),O){var x=O[E];if("object"!=typeof x||null===x)d[E]=x;else if(x instanceof Date)d[E]=new Date(x);else if(x instanceof Map)d[E]=new Map(l(Array.from(x),m));else if(x instanceof Set)d[E]=new Set(l(Array.from(x),m));else if(ArrayBuffer.isView(x))d[E]=X(x);else{var I=y.indexOf(x);d[E]=-1!==I?A[I]:m(x)}}return y.pop(),A.pop(),d}:function M(O){if("object"!=typeof O||null===O)return O;if(O instanceof Date)return new Date(O);if(Array.isArray(O))return l(O,M);if(O instanceof Map)return new Map(l(Array.from(O),M));if(O instanceof Set)return new Set(l(Array.from(O),M));var d={};for(var E in y.push(O),A.push(d),O)if(!1!==Object.hasOwnProperty.call(O,E)){var x=O[E];if("object"!=typeof x||null===x)d[E]=x;else if(x instanceof Date)d[E]=new Date(x);else if(x instanceof Map)d[E]=new Map(l(Array.from(x),M));else if(x instanceof Set)d[E]=new Set(l(Array.from(x),M));else if(ArrayBuffer.isView(x))d[E]=X(x);else{var I=y.indexOf(x);d[E]=-1!==I?A[I]:M(x)}}return y.pop(),A.pop(),d};function l(O,d){for(var E=Object.keys(O),x=new Array(E.length),I=0;I<E.length;I++){var k=E[I],V=O[k];if("object"!=typeof V||null===V)x[k]=V;else if(V instanceof Date)x[k]=new Date(V);else if(ArrayBuffer.isView(V))x[k]=X(V);else{var G=y.indexOf(V);x[k]=-1!==G?A[G]:d(V)}}return x}}(t):t.proto?function l(M){if("object"!=typeof M||null===M)return M;if(M instanceof Date)return new Date(M);if(Array.isArray(M))return y(M,l);if(M instanceof Map)return new Map(y(Array.from(M),l));if(M instanceof Set)return new Set(y(Array.from(M),l));var m={};for(var O in M){var d=M[O];m[O]="object"!=typeof d||null===d?d:d instanceof Date?new Date(d):d instanceof Map?new Map(y(Array.from(d),l)):d instanceof Set?new Set(y(Array.from(d),l)):ArrayBuffer.isView(d)?X(d):l(d)}return m}:function A(M){if("object"!=typeof M||null===M)return M;if(M instanceof Date)return new Date(M);if(Array.isArray(M))return y(M,A);if(M instanceof Map)return new Map(y(Array.from(M),A));if(M instanceof Set)return new Set(y(Array.from(M),A));var m={};for(var O in M)if(!1!==Object.hasOwnProperty.call(M,O)){var d=M[O];m[O]="object"!=typeof d||null===d?d:d instanceof Date?new Date(d):d instanceof Map?new Map(y(Array.from(d),A)):d instanceof Set?new Set(y(Array.from(d),A)):ArrayBuffer.isView(d)?X(d):A(d)}return m};function y(M,m){for(var O=Object.keys(M),d=new Array(O.length),E=0;E<O.length;E++){var x=O[E],I=M[x];d[x]="object"!=typeof I||null===I?I:I instanceof Date?new Date(I):ArrayBuffer.isView(I)?X(I):m(I)}return d}}},9706:(He,X,p)=>{"use strict";var e=p(9007).Buffer,t=p(6698),y=p(380),A=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],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],m=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],O=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],d=[0,1518500249,1859775393,2400959708,2840853838],E=[1352829926,1548603684,1836072691,2053994217,0];function x(){y.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function I(K,q){return K<<q|K>>>32-q}function k(K,q,ie,ae,ue,re,xe,$){return I(K+(q^ie^ae)+re+xe|0,$)+ue|0}function V(K,q,ie,ae,ue,re,xe,$){return I(K+(q&ie|~q&ae)+re+xe|0,$)+ue|0}function G(K,q,ie,ae,ue,re,xe,$){return I(K+((q|~ie)^ae)+re+xe|0,$)+ue|0}function j(K,q,ie,ae,ue,re,xe,$){return I(K+(q&ae|ie&~ae)+re+xe|0,$)+ue|0}function W(K,q,ie,ae,ue,re,xe,$){return I(K+(q^(ie|~ae))+re+xe|0,$)+ue|0}t(x,y),x.prototype._update=function(){for(var K=A,q=0;q<16;++q)K[q]=this._block.readInt32LE(4*q);for(var ie=0|this._a,ae=0|this._b,ue=0|this._c,re=0|this._d,xe=0|this._e,$=0|this._a,he=0|this._b,S=0|this._c,n=0|this._d,s=0|this._e,f=0;f<80;f+=1){var h,w;f<16?(h=k(ie,ae,ue,re,xe,K[l[f]],d[0],m[f]),w=W($,he,S,n,s,K[M[f]],E[0],O[f])):f<32?(h=V(ie,ae,ue,re,xe,K[l[f]],d[1],m[f]),w=j($,he,S,n,s,K[M[f]],E[1],O[f])):f<48?(h=G(ie,ae,ue,re,xe,K[l[f]],d[2],m[f]),w=G($,he,S,n,s,K[M[f]],E[2],O[f])):f<64?(h=j(ie,ae,ue,re,xe,K[l[f]],d[3],m[f]),w=V($,he,S,n,s,K[M[f]],E[3],O[f])):(h=W(ie,ae,ue,re,xe,K[l[f]],d[4],m[f]),w=k($,he,S,n,s,K[M[f]],E[4],O[f])),ie=xe,xe=re,re=I(ue,10),ue=ae,ae=h,$=s,s=n,n=I(S,10),S=he,he=w}var D=this._b+ue+n|0;this._b=this._c+re+s|0,this._c=this._d+xe+$|0,this._d=this._e+ie+he|0,this._e=this._a+ae+S|0,this._a=D},x.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var K=e.alloc?e.alloc(20):new e(20);return K.writeInt32LE(this._a,0),K.writeInt32LE(this._b,4),K.writeInt32LE(this._c,8),K.writeInt32LE(this._d,12),K.writeInt32LE(this._e,16),K},He.exports=x},5619:(He,X,p)=>{"use strict";p.d(X,{X:()=>t});var e=p(8645);class t extends e.x{constructor(A){super(),this._value=A}get value(){return this.getValue()}_subscribe(A){const l=super._subscribe(A);return!l.closed&&A.next(this._value),l}getValue(){const{hasError:A,thrownError:l,_value:M}=this;if(A)throw l;return this._throwIfClosed(),M}next(A){super.next(this._value=A)}}},5592:(He,X,p)=>{"use strict";p.d(X,{y:()=>O});var e=p(305),t=p(7394),y=p(4850),A=p(8407),l=p(2653),M=p(4674),m=p(1441);let O=(()=>{class I{constructor(V){V&&(this._subscribe=V)}lift(V){const G=new I;return G.source=this,G.operator=V,G}subscribe(V,G,j){const W=function x(I){return I&&I instanceof e.Lv||function E(I){return I&&(0,M.m)(I.next)&&(0,M.m)(I.error)&&(0,M.m)(I.complete)}(I)&&(0,t.Nn)(I)}(V)?V:new e.Hp(V,G,j);return(0,m.x)(()=>{const{operator:K,source:q}=this;W.add(K?K.call(W,q):q?this._subscribe(W):this._trySubscribe(W))}),W}_trySubscribe(V){try{return this._subscribe(V)}catch(G){V.error(G)}}forEach(V,G){return new(G=d(G))((j,W)=>{const K=new e.Hp({next:q=>{try{V(q)}catch(ie){W(ie),K.unsubscribe()}},error:W,complete:j});this.subscribe(K)})}_subscribe(V){var G;return null===(G=this.source)||void 0===G?void 0:G.subscribe(V)}[y.L](){return this}pipe(...V){return(0,A.U)(V)(this)}toPromise(V){return new(V=d(V))((G,j)=>{let W;this.subscribe(K=>W=K,K=>j(K),()=>G(W))})}}return I.create=k=>new I(k),I})();function d(I){var k;return null!==(k=I??l.config.Promise)&&void 0!==k?k:Promise}},7328:(He,X,p)=>{"use strict";p.d(X,{t:()=>y});var e=p(8645),t=p(4552);class y extends e.x{constructor(l=1/0,M=1/0,m=t.l){super(),this._bufferSize=l,this._windowTime=M,this._timestampProvider=m,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=M===1/0,this._bufferSize=Math.max(1,l),this._windowTime=Math.max(1,M)}next(l){const{isStopped:M,_buffer:m,_infiniteTimeWindow:O,_timestampProvider:d,_windowTime:E}=this;M||(m.push(l),!O&&m.push(d.now()+E)),this._trimBuffer(),super.next(l)}_subscribe(l){this._throwIfClosed(),this._trimBuffer();const M=this._innerSubscribe(l),{_infiniteTimeWindow:m,_buffer:O}=this,d=O.slice();for(let E=0;E<d.length&&!l.closed;E+=m?1:2)l.next(d[E]);return this._checkFinalizedStatuses(l),M}_trimBuffer(){const{_bufferSize:l,_timestampProvider:M,_buffer:m,_infiniteTimeWindow:O}=this,d=(O?1:2)*l;if(l<1/0&&d<m.length&&m.splice(0,m.length-d),!O){const E=M.now();let x=0;for(let I=1;I<m.length&&m[I]<=E;I+=2)x=I;x&&m.splice(0,x+1)}}}},8645:(He,X,p)=>{"use strict";p.d(X,{u:()=>O,x:()=>m});var e=p(5592),t=p(7394);const A=(0,p(2306).d)(d=>function(){d(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var l=p(9039),M=p(1441);let m=(()=>{class d extends e.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(x){const I=new O(this,this);return I.operator=x,I}_throwIfClosed(){if(this.closed)throw new A}next(x){(0,M.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const I of this.currentObservers)I.next(x)}})}error(x){(0,M.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=x;const{observers:I}=this;for(;I.length;)I.shift().error(x)}})}complete(){(0,M.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:x}=this;for(;x.length;)x.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var x;return(null===(x=this.observers)||void 0===x?void 0:x.length)>0}_trySubscribe(x){return this._throwIfClosed(),super._trySubscribe(x)}_subscribe(x){return this._throwIfClosed(),this._checkFinalizedStatuses(x),this._innerSubscribe(x)}_innerSubscribe(x){const{hasError:I,isStopped:k,observers:V}=this;return I||k?t.Lc:(this.currentObservers=null,V.push(x),new t.w0(()=>{this.currentObservers=null,(0,l.P)(V,x)}))}_checkFinalizedStatuses(x){const{hasError:I,thrownError:k,isStopped:V}=this;I?x.error(k):V&&x.complete()}asObservable(){const x=new e.y;return x.source=this,x}}return d.create=(E,x)=>new O(E,x),d})();class O extends m{constructor(E,x){super(),this.destination=E,this.source=x}next(E){var x,I;null===(I=null===(x=this.destination)||void 0===x?void 0:x.next)||void 0===I||I.call(x,E)}error(E){var x,I;null===(I=null===(x=this.destination)||void 0===x?void 0:x.error)||void 0===I||I.call(x,E)}complete(){var E,x;null===(x=null===(E=this.destination)||void 0===E?void 0:E.complete)||void 0===x||x.call(E)}_subscribe(E){var x,I;return null!==(I=null===(x=this.source)||void 0===x?void 0:x.subscribe(E))&&void 0!==I?I:t.Lc}}},305:(He,X,p)=>{"use strict";p.d(X,{Hp:()=>j,Lv:()=>I});var e=p(4674),t=p(7394),y=p(2653),A=p(3894),l=p(2420);const M=d("C",void 0,void 0);function d(ae,ue,re){return{kind:ae,value:ue,error:re}}var E=p(7599),x=p(1441);class I extends t.w0{constructor(ue){super(),this.isStopped=!1,ue?(this.destination=ue,(0,t.Nn)(ue)&&ue.add(this)):this.destination=ie}static create(ue,re,xe){return new j(ue,re,xe)}next(ue){this.isStopped?q(function O(ae){return d("N",ae,void 0)}(ue),this):this._next(ue)}error(ue){this.isStopped?q(function m(ae){return d("E",void 0,ae)}(ue),this):(this.isStopped=!0,this._error(ue))}complete(){this.isStopped?q(M,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ue){this.destination.next(ue)}_error(ue){try{this.destination.error(ue)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const k=Function.prototype.bind;function V(ae,ue){return k.call(ae,ue)}class G{constructor(ue){this.partialObserver=ue}next(ue){const{partialObserver:re}=this;if(re.next)try{re.next(ue)}catch(xe){W(xe)}}error(ue){const{partialObserver:re}=this;if(re.error)try{re.error(ue)}catch(xe){W(xe)}else W(ue)}complete(){const{partialObserver:ue}=this;if(ue.complete)try{ue.complete()}catch(re){W(re)}}}class j extends I{constructor(ue,re,xe){let $;if(super(),(0,e.m)(ue)||!ue)$={next:ue??void 0,error:re??void 0,complete:xe??void 0};else{let he;this&&y.config.useDeprecatedNextContext?(he=Object.create(ue),he.unsubscribe=()=>this.unsubscribe(),$={next:ue.next&&V(ue.next,he),error:ue.error&&V(ue.error,he),complete:ue.complete&&V(ue.complete,he)}):$=ue}this.destination=new G($)}}function W(ae){y.config.useDeprecatedSynchronousErrorHandling?(0,x.O)(ae):(0,A.h)(ae)}function q(ae,ue){const{onStoppedNotification:re}=y.config;re&&E.z.setTimeout(()=>re(ae,ue))}const ie={closed:!0,next:l.Z,error:function K(ae){throw ae},complete:l.Z}},7394:(He,X,p)=>{"use strict";p.d(X,{Lc:()=>M,w0:()=>l,Nn:()=>m});var e=p(4674);const y=(0,p(2306).d)(d=>function(x){d(this),this.message=x?`${x.length} errors occurred during unsubscription:\n${x.map((I,k)=>`${k+1}) ${I.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=x});var A=p(9039);class l{constructor(E){this.initialTeardown=E,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let E;if(!this.closed){this.closed=!0;const{_parentage:x}=this;if(x)if(this._parentage=null,Array.isArray(x))for(const V of x)V.remove(this);else x.remove(this);const{initialTeardown:I}=this;if((0,e.m)(I))try{I()}catch(V){E=V instanceof y?V.errors:[V]}const{_finalizers:k}=this;if(k){this._finalizers=null;for(const V of k)try{O(V)}catch(G){E=E??[],G instanceof y?E=[...E,...G.errors]:E.push(G)}}if(E)throw new y(E)}}add(E){var x;if(E&&E!==this)if(this.closed)O(E);else{if(E instanceof l){if(E.closed||E._hasParent(this))return;E._addParent(this)}(this._finalizers=null!==(x=this._finalizers)&&void 0!==x?x:[]).push(E)}}_hasParent(E){const{_parentage:x}=this;return x===E||Array.isArray(x)&&x.includes(E)}_addParent(E){const{_parentage:x}=this;this._parentage=Array.isArray(x)?(x.push(E),x):x?[x,E]:E}_removeParent(E){const{_parentage:x}=this;x===E?this._parentage=null:Array.isArray(x)&&(0,A.P)(x,E)}remove(E){const{_finalizers:x}=this;x&&(0,A.P)(x,E),E instanceof l&&E._removeParent(this)}}l.EMPTY=(()=>{const d=new l;return d.closed=!0,d})();const M=l.EMPTY;function m(d){return d instanceof l||d&&"closed"in d&&(0,e.m)(d.remove)&&(0,e.m)(d.add)&&(0,e.m)(d.unsubscribe)}function O(d){(0,e.m)(d)?d():d.unsubscribe()}},2653:(He,X,p)=>{"use strict";p.d(X,{config:()=>e});const e={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3168:(He,X,p)=>{"use strict";p.d(X,{c:()=>M});var e=p(5592),t=p(7394),y=p(6196),A=p(8251),l=p(9360);class M extends e.y{constructor(O,d){super(),this.source=O,this.subjectFactory=d,this._subject=null,this._refCount=0,this._connection=null,(0,l.A)(O)&&(this.lift=O.lift)}_subscribe(O){return this.getSubject().subscribe(O)}getSubject(){const O=this._subject;return(!O||O.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:O}=this;this._subject=this._connection=null,O?.unsubscribe()}connect(){let O=this._connection;if(!O){O=this._connection=new t.w0;const d=this.getSubject();O.add(this.source.subscribe((0,A.x)(d,void 0,()=>{this._teardown(),d.complete()},E=>{this._teardown(),d.error(E)},()=>this._teardown()))),O.closed&&(this._connection=null,O=t.w0.EMPTY)}return O}refCount(){return(0,y.x)()(this)}}},2572:(He,X,p)=>{"use strict";p.d(X,{a:()=>E});var e=p(5592),t=p(7453),y=p(9666),A=p(2737),l=p(7400),M=p(9940),m=p(2714),O=p(8251),d=p(7103);function E(...k){const V=(0,M.yG)(k),G=(0,M.jO)(k),{args:j,keys:W}=(0,t.D)(k);if(0===j.length)return(0,y.D)([],V);const K=new e.y(function x(k,V,G=A.y){return j=>{I(V,()=>{const{length:W}=k,K=new Array(W);let q=W,ie=W;for(let ae=0;ae<W;ae++)I(V,()=>{const ue=(0,y.D)(k[ae],V);let re=!1;ue.subscribe((0,O.x)(j,xe=>{K[ae]=xe,re||(re=!0,ie--),ie||j.next(G(K.slice()))},()=>{--q||j.complete()}))},j)},j)}}(j,V,W?q=>(0,m.n)(W,q):A.y));return G?K.pipe((0,l.Z)(G)):K}function I(k,V,G){k?(0,d.f)(G,k,V):V()}},5211:(He,X,p)=>{"use strict";p.d(X,{z:()=>l});var e=p(7537),y=p(9940),A=p(9666);function l(...M){return function t(){return(0,e.J)(1)}()((0,A.D)(M,(0,y.yG)(M)))}},4911:(He,X,p)=>{"use strict";p.d(X,{P:()=>y});var e=p(5592),t=p(4829);function y(A){return new e.y(l=>{(0,t.Xf)(A()).subscribe(l)})}},6232:(He,X,p)=>{"use strict";p.d(X,{E:()=>t});const t=new(p(5592).y)(l=>l.complete())},9315:(He,X,p)=>{"use strict";p.d(X,{D:()=>O});var e=p(5592),t=p(7453),y=p(4829),A=p(9940),l=p(8251),M=p(7400),m=p(2714);function O(...d){const E=(0,A.jO)(d),{args:x,keys:I}=(0,t.D)(d),k=new e.y(V=>{const{length:G}=x;if(!G)return void V.complete();const j=new Array(G);let W=G,K=G;for(let q=0;q<G;q++){let ie=!1;(0,y.Xf)(x[q]).subscribe((0,l.x)(V,ae=>{ie||(ie=!0,K--),j[q]=ae},()=>W--,void 0,()=>{(!W||!ie)&&(K||V.next(I?(0,m.n)(I,j):j),V.complete())}))}});return E?k.pipe((0,M.Z)(E)):k}},9666:(He,X,p)=>{"use strict";p.d(X,{D:()=>re});var e=p(4829),t=p(3093),y=p(9360);function A(xe,$=0){return(0,y.e)((he,S)=>{S.add(xe.schedule(()=>he.subscribe(S),$))})}var m=p(5592),d=p(4971),E=p(4674),x=p(7103);function k(xe,$){if(!xe)throw new Error("Iterable cannot be null");return new m.y(he=>{(0,x.f)(he,$,()=>{const S=xe[Symbol.asyncIterator]();(0,x.f)(he,$,()=>{S.next().then(n=>{n.done?he.complete():he.next(n.value)})},0,!0)})})}var V=p(8382),G=p(4026),j=p(4266),W=p(3664),K=p(5726),q=p(9853),ie=p(541);function re(xe,$){return $?function ue(xe,$){if(null!=xe){if((0,V.c)(xe))return function l(xe,$){return(0,e.Xf)(xe).pipe(A($),(0,t.Q)($))}(xe,$);if((0,j.z)(xe))return function O(xe,$){return new m.y(he=>{let S=0;return $.schedule(function(){S===xe.length?he.complete():(he.next(xe[S++]),he.closed||this.schedule())})})}(xe,$);if((0,G.t)(xe))return function M(xe,$){return(0,e.Xf)(xe).pipe(A($),(0,t.Q)($))}(xe,$);if((0,K.D)(xe))return k(xe,$);if((0,W.T)(xe))return function I(xe,$){return new m.y(he=>{let S;return(0,x.f)(he,$,()=>{S=xe[d.h](),(0,x.f)(he,$,()=>{let n,s;try{({value:n,done:s}=S.next())}catch(f){return void he.error(f)}s?he.complete():he.next(n)},0,!0)}),()=>(0,E.m)(S?.return)&&S.return()})}(xe,$);if((0,ie.L)(xe))return function ae(xe,$){return k((0,ie.Q)(xe),$)}(xe,$)}throw(0,q.z)(xe)}(xe,$):(0,e.Xf)(xe)}},2438:(He,X,p)=>{"use strict";p.d(X,{R:()=>E});var e=p(4829),t=p(5592),y=p(1631),A=p(4266),l=p(4674),M=p(7400);const m=["addListener","removeListener"],O=["addEventListener","removeEventListener"],d=["on","off"];function E(G,j,W,K){if((0,l.m)(W)&&(K=W,W=void 0),K)return E(G,j,W).pipe((0,M.Z)(K));const[q,ie]=function V(G){return(0,l.m)(G.addEventListener)&&(0,l.m)(G.removeEventListener)}(G)?O.map(ae=>ue=>G[ae](j,ue,W)):function I(G){return(0,l.m)(G.addListener)&&(0,l.m)(G.removeListener)}(G)?m.map(x(G,j)):function k(G){return(0,l.m)(G.on)&&(0,l.m)(G.off)}(G)?d.map(x(G,j)):[];if(!q&&(0,A.z)(G))return(0,y.z)(ae=>E(ae,j,W))((0,e.Xf)(G));if(!q)throw new TypeError("Invalid event target");return new t.y(ae=>{const ue=(...re)=>ae.next(1<re.length?re:re[0]);return q(ue),()=>ie(ue)})}function x(G,j){return W=>K=>G[W](j,K)}},4829:(He,X,p)=>{"use strict";p.d(X,{Xf:()=>k});var e=p(7582),t=p(4266),y=p(4026),A=p(5592),l=p(8382),M=p(5726),m=p(9853),O=p(3664),d=p(541),E=p(4674),x=p(3894),I=p(4850);function k(ae){if(ae instanceof A.y)return ae;if(null!=ae){if((0,l.c)(ae))return function V(ae){return new A.y(ue=>{const re=ae[I.L]();if((0,E.m)(re.subscribe))return re.subscribe(ue);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(ae);if((0,t.z)(ae))return function G(ae){return new A.y(ue=>{for(let re=0;re<ae.length&&!ue.closed;re++)ue.next(ae[re]);ue.complete()})}(ae);if((0,y.t)(ae))return function j(ae){return new A.y(ue=>{ae.then(re=>{ue.closed||(ue.next(re),ue.complete())},re=>ue.error(re)).then(null,x.h)})}(ae);if((0,M.D)(ae))return K(ae);if((0,O.T)(ae))return function W(ae){return new A.y(ue=>{for(const re of ae)if(ue.next(re),ue.closed)return;ue.complete()})}(ae);if((0,d.L)(ae))return function q(ae){return K((0,d.Q)(ae))}(ae)}throw(0,m.z)(ae)}function K(ae){return new A.y(ue=>{(function ie(ae,ue){var re,xe,$,he;return(0,e.mG)(this,void 0,void 0,function*(){try{for(re=(0,e.KL)(ae);!(xe=yield re.next()).done;)if(ue.next(xe.value),ue.closed)return}catch(S){$={error:S}}finally{try{xe&&!xe.done&&(he=re.return)&&(yield he.call(re))}finally{if($)throw $.error}}ue.complete()})})(ae,ue).catch(re=>ue.error(re))})}},3019:(He,X,p)=>{"use strict";p.d(X,{T:()=>M});var e=p(7537),t=p(4829),y=p(6232),A=p(9940),l=p(9666);function M(...m){const O=(0,A.yG)(m),d=(0,A._6)(m,1/0),E=m;return E.length?1===E.length?(0,t.Xf)(E[0]):(0,e.J)(d)((0,l.D)(E,O)):y.E}},2096:(He,X,p)=>{"use strict";p.d(X,{of:()=>y});var e=p(9940),t=p(9666);function y(...A){const l=(0,e.yG)(A);return(0,t.D)(A,l)}},8504:(He,X,p)=>{"use strict";p.d(X,{_:()=>y});var e=p(5592),t=p(4674);function y(A,l){const M=(0,t.m)(A)?A:()=>A,m=O=>O.error(M());return new e.y(l?O=>l.schedule(m,0,O):m)}},9080:(He,X,p)=>{"use strict";p.d(X,{H:()=>l});var e=p(5592),t=p(6321),y=p(671),A=p(93);function l(M=0,m,O=t.P){let d=-1;return null!=m&&((0,y.K)(m)?O=m:d=m),new e.y(E=>{let x=(0,A.q)(M)?+M-O.now():M;x<0&&(x=0);let I=0;return O.schedule(function(){E.closed||(E.next(I++),0<=d?this.schedule(void 0,d):E.complete())},x)})}},8251:(He,X,p)=>{"use strict";p.d(X,{Q:()=>y,x:()=>t});var e=p(305);function t(A,l,M,m,O){return new y(A,l,M,m,O)}class y extends e.Lv{constructor(l,M,m,O,d,E){super(l),this.onFinalize=d,this.shouldUnsubscribe=E,this._next=M?function(x){try{M(x)}catch(I){l.error(I)}}:super._next,this._error=O?function(x){try{O(x)}catch(I){l.error(I)}finally{this.unsubscribe()}}:super._error,this._complete=m?function(){try{m()}catch(x){l.error(x)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var l;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:M}=this;super.unsubscribe(),!M&&(null===(l=this.onFinalize)||void 0===l||l.call(this))}}}},9028:(He,X,p)=>{"use strict";p.d(X,{e:()=>m});var e=p(6321),t=p(9360),y=p(4829),A=p(8251),M=p(9080);function m(O,d=e.z){return function l(O){return(0,t.e)((d,E)=>{let x=!1,I=null,k=null,V=!1;const G=()=>{if(k?.unsubscribe(),k=null,x){x=!1;const W=I;I=null,E.next(W)}V&&E.complete()},j=()=>{k=null,V&&E.complete()};d.subscribe((0,A.x)(E,W=>{x=!0,I=W,k||(0,y.Xf)(O(W)).subscribe(k=(0,A.x)(E,G,j))},()=>{V=!0,(!x||!k||k.closed)&&E.complete()}))})}(()=>(0,M.H)(O,d))}},6306:(He,X,p)=>{"use strict";p.d(X,{K:()=>A});var e=p(4829),t=p(8251),y=p(9360);function A(l){return(0,y.e)((M,m)=>{let E,O=null,d=!1;O=M.subscribe((0,t.x)(m,void 0,void 0,x=>{E=(0,e.Xf)(l(x,A(l)(M))),O?(O.unsubscribe(),O=null,E.subscribe(m)):d=!0})),d&&(O.unsubscribe(),O=null,E.subscribe(m))})}},6328:(He,X,p)=>{"use strict";p.d(X,{b:()=>y});var e=p(1631),t=p(4674);function y(A,l){return(0,t.m)(l)?(0,e.z)(A,l,1):(0,e.z)(A,1)}},3620:(He,X,p)=>{"use strict";p.d(X,{b:()=>A});var e=p(6321),t=p(9360),y=p(8251);function A(l,M=e.z){return(0,t.e)((m,O)=>{let d=null,E=null,x=null;const I=()=>{if(d){d.unsubscribe(),d=null;const V=E;E=null,O.next(V)}};function k(){const V=x+l,G=M.now();if(G<V)return d=this.schedule(void 0,V-G),void O.add(d);I()}m.subscribe((0,y.x)(O,V=>{E=V,x=M.now(),d||(d=M.schedule(k,l),O.add(d))},()=>{I(),O.complete()},void 0,()=>{E=d=null}))})}},3572:(He,X,p)=>{"use strict";p.d(X,{d:()=>y});var e=p(9360),t=p(8251);function y(A){return(0,e.e)((l,M)=>{let m=!1;l.subscribe((0,t.x)(M,O=>{m=!0,M.next(O)},()=>{m||M.next(A),M.complete()}))})}},932:(He,X,p)=>{"use strict";p.d(X,{g:()=>E});var e=p(6321),t=p(5211),y=p(8180),A=p(7538),l=p(975),M=p(1631),m=p(4829);function O(x,I){return I?k=>(0,t.z)(I.pipe((0,y.q)(1),(0,A.l)()),k.pipe(O(x))):(0,M.z)((k,V)=>(0,m.Xf)(x(k,V)).pipe((0,y.q)(1),(0,l.h)(k)))}var d=p(9080);function E(x,I=e.z){const k=(0,d.H)(x,I);return O(()=>k)}},3997:(He,X,p)=>{"use strict";p.d(X,{x:()=>A});var e=p(2737),t=p(9360),y=p(8251);function A(M,m=e.y){return M=M??l,(0,t.e)((O,d)=>{let E,x=!0;O.subscribe((0,y.x)(d,I=>{const k=m(I);(x||!M(E,k))&&(x=!1,E=k,d.next(I))}))})}function l(M,m){return M===m}},2181:(He,X,p)=>{"use strict";p.d(X,{h:()=>y});var e=p(9360),t=p(8251);function y(A,l){return(0,e.e)((M,m)=>{let O=0;M.subscribe((0,t.x)(m,d=>A.call(l,d,O++)&&m.next(d)))})}},4716:(He,X,p)=>{"use strict";p.d(X,{x:()=>t});var e=p(9360);function t(y){return(0,e.e)((A,l)=>{try{A.subscribe(l)}finally{l.add(y)}})}},1374:(He,X,p)=>{"use strict";p.d(X,{P:()=>m});var e=p(6973),t=p(2181),y=p(8180),A=p(3572),l=p(3026),M=p(2737);function m(O,d){const E=arguments.length>=2;return x=>x.pipe(O?(0,t.h)((I,k)=>O(I,k,x)):M.y,(0,y.q)(1),E?(0,A.d)(d):(0,l.T)(()=>new e.K))}},7538:(He,X,p)=>{"use strict";p.d(X,{l:()=>A});var e=p(9360),t=p(8251),y=p(2420);function A(){return(0,e.e)((l,M)=>{l.subscribe((0,t.x)(M,y.Z))})}},7398:(He,X,p)=>{"use strict";p.d(X,{U:()=>y});var e=p(9360),t=p(8251);function y(A,l){return(0,e.e)((M,m)=>{let O=0;M.subscribe((0,t.x)(m,d=>{m.next(A.call(l,d,O++))}))})}},975:(He,X,p)=>{"use strict";p.d(X,{h:()=>t});var e=p(7398);function t(y){return(0,e.U)(()=>y)}},7537:(He,X,p)=>{"use strict";p.d(X,{J:()=>y});var e=p(1631),t=p(2737);function y(A=1/0){return(0,e.z)(t.y,A)}},1631:(He,X,p)=>{"use strict";p.d(X,{z:()=>O});var e=p(7398),t=p(4829),y=p(9360),A=p(7103),l=p(8251),m=p(4674);function O(d,E,x=1/0){return(0,m.m)(E)?O((I,k)=>(0,e.U)((V,G)=>E(I,V,k,G))((0,t.Xf)(d(I,k))),x):("number"==typeof E&&(x=E),(0,y.e)((I,k)=>function M(d,E,x,I,k,V,G,j){const W=[];let K=0,q=0,ie=!1;const ae=()=>{ie&&!W.length&&!K&&E.complete()},ue=xe=>K<I?re(xe):W.push(xe),re=xe=>{V&&E.next(xe),K++;let $=!1;(0,t.Xf)(x(xe,q++)).subscribe((0,l.x)(E,he=>{k?.(he),V?ue(he):E.next(he)},()=>{$=!0},void 0,()=>{if($)try{for(K--;W.length&&K<I;){const he=W.shift();G?(0,A.f)(E,G,()=>re(he)):re(he)}ae()}catch(he){E.error(he)}}))};return d.subscribe((0,l.x)(E,ue,()=>{ie=!0,ae()})),()=>{j?.()}}(I,k,d,x)))}},3093:(He,X,p)=>{"use strict";p.d(X,{Q:()=>A});var e=p(7103),t=p(9360),y=p(8251);function A(l,M=0){return(0,t.e)((m,O)=>{m.subscribe((0,y.x)(O,d=>(0,e.f)(O,l,()=>O.next(d),M),()=>(0,e.f)(O,l,()=>O.complete(),M),d=>(0,e.f)(O,l,()=>O.error(d),M)))})}},6196:(He,X,p)=>{"use strict";p.d(X,{x:()=>y});var e=p(9360),t=p(8251);function y(){return(0,e.e)((A,l)=>{let M=null;A._refCount++;const m=(0,t.x)(l,void 0,void 0,void 0,()=>{if(!A||A._refCount<=0||0<--A._refCount)return void(M=null);const O=A._connection,d=M;M=null,O&&(!d||O===d)&&O.unsubscribe(),l.unsubscribe()});A.subscribe(m),m.closed||(M=A.connect())})}},6699:(He,X,p)=>{"use strict";p.d(X,{R:()=>A});var e=p(9360),t=p(8251);function A(l,M){return(0,e.e)(function y(l,M,m,O,d){return(E,x)=>{let I=m,k=M,V=0;E.subscribe((0,t.x)(x,G=>{const j=V++;k=I?l(k,G,j):(I=!0,G),O&&x.next(k)},d&&(()=>{I&&x.next(k),x.complete()})))}}(l,M,arguments.length>=2,!0))}},3020:(He,X,p)=>{"use strict";p.d(X,{B:()=>l});var e=p(4829),t=p(8645),y=p(305),A=p(9360);function l(m={}){const{connector:O=(()=>new t.x),resetOnError:d=!0,resetOnComplete:E=!0,resetOnRefCountZero:x=!0}=m;return I=>{let k,V,G,j=0,W=!1,K=!1;const q=()=>{V?.unsubscribe(),V=void 0},ie=()=>{q(),k=G=void 0,W=K=!1},ae=()=>{const ue=k;ie(),ue?.unsubscribe()};return(0,A.e)((ue,re)=>{j++,!K&&!W&&q();const xe=G=G??O();re.add(()=>{j--,0===j&&!K&&!W&&(V=M(ae,x))}),xe.subscribe(re),!k&&j>0&&(k=new y.Hp({next:$=>xe.next($),error:$=>{K=!0,q(),V=M(ie,d,$),xe.error($)},complete:()=>{W=!0,q(),V=M(ie,E),xe.complete()}}),(0,e.Xf)(ue).subscribe(k))})(I)}}function M(m,O,...d){if(!0===O)return void m();if(!1===O)return;const E=new y.Hp({next:()=>{E.unsubscribe(),m()}});return(0,e.Xf)(O(...d)).subscribe(E)}},836:(He,X,p)=>{"use strict";p.d(X,{T:()=>t});var e=p(2181);function t(y){return(0,e.h)((A,l)=>y<=l)}},7921:(He,X,p)=>{"use strict";p.d(X,{O:()=>A});var e=p(5211),t=p(9940),y=p(9360);function A(...l){const M=(0,t.yG)(l);return(0,y.e)((m,O)=>{(M?(0,e.z)(l,m,M):(0,e.z)(l,m)).subscribe(O)})}},4664:(He,X,p)=>{"use strict";p.d(X,{w:()=>A});var e=p(4829),t=p(9360),y=p(8251);function A(l,M){return(0,t.e)((m,O)=>{let d=null,E=0,x=!1;const I=()=>x&&!d&&O.complete();m.subscribe((0,y.x)(O,k=>{d?.unsubscribe();let V=0;const G=E++;(0,e.Xf)(l(k,G)).subscribe(d=(0,y.x)(O,j=>O.next(M?M(k,j,G,V++):j),()=>{d=null,I()}))},()=>{x=!0,I()}))})}},8180:(He,X,p)=>{"use strict";p.d(X,{q:()=>A});var e=p(6232),t=p(9360),y=p(8251);function A(l){return l<=0?()=>e.E:(0,t.e)((M,m)=>{let O=0;M.subscribe((0,y.x)(m,d=>{++O<=l&&(m.next(d),l<=O&&m.complete())}))})}},9773:(He,X,p)=>{"use strict";p.d(X,{R:()=>l});var e=p(9360),t=p(8251),y=p(4829),A=p(2420);function l(M){return(0,e.e)((m,O)=>{(0,y.Xf)(M).subscribe((0,t.x)(O,()=>O.complete(),A.Z)),!O.closed&&m.subscribe(O)})}},9397:(He,X,p)=>{"use strict";p.d(X,{b:()=>l});var e=p(4674),t=p(9360),y=p(8251),A=p(2737);function l(M,m,O){const d=(0,e.m)(M)||m||O?{next:M,error:m,complete:O}:M;return d?(0,t.e)((E,x)=>{var I;null===(I=d.subscribe)||void 0===I||I.call(d);let k=!0;E.subscribe((0,y.x)(x,V=>{var G;null===(G=d.next)||void 0===G||G.call(d,V),x.next(V)},()=>{var V;k=!1,null===(V=d.complete)||void 0===V||V.call(d),x.complete()},V=>{var G;k=!1,null===(G=d.error)||void 0===G||G.call(d,V),x.error(V)},()=>{var V,G;k&&(null===(V=d.unsubscribe)||void 0===V||V.call(d)),null===(G=d.finalize)||void 0===G||G.call(d)}))}):A.y}},3026:(He,X,p)=>{"use strict";p.d(X,{T:()=>A});var e=p(6973),t=p(9360),y=p(8251);function A(M=l){return(0,t.e)((m,O)=>{let d=!1;m.subscribe((0,y.x)(O,E=>{d=!0,O.next(E)},()=>d?O.complete():O.error(M())))})}function l(){return new e.K}},5178:(He,X,p)=>{"use strict";p.d(X,{V:()=>d});var e=p(6321),t=p(93),y=p(9360),A=p(4829),l=p(2306),M=p(8251),m=p(7103);const O=(0,l.d)(x=>function(k=null){x(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=k});function d(x,I){const{first:k,each:V,with:G=E,scheduler:j=I??e.z,meta:W=null}=(0,t.q)(x)?{first:x}:"number"==typeof x?{each:x}:x;if(null==k&&null==V)throw new TypeError("No timeout provided.");return(0,y.e)((K,q)=>{let ie,ae,ue=null,re=0;const xe=$=>{ae=(0,m.f)(q,j,()=>{try{ie.unsubscribe(),(0,A.Xf)(G({meta:W,lastValue:ue,seen:re})).subscribe(q)}catch(he){q.error(he)}},$)};ie=K.subscribe((0,M.x)(q,$=>{ae?.unsubscribe(),re++,q.next(ue=$),V>0&&xe(V)},void 0,void 0,()=>{ae?.closed||ae?.unsubscribe(),ue=null})),!re&&xe(null!=k?"number"==typeof k?k:+k-j.now():V)})}function E(x){throw new O(x)}},2460:(He,X,p)=>{"use strict";p.d(X,{M:()=>m});var e=p(9360),t=p(8251),y=p(4829),A=p(2737),l=p(2420),M=p(9940);function m(...O){const d=(0,M.jO)(O);return(0,e.e)((E,x)=>{const I=O.length,k=new Array(I);let V=O.map(()=>!1),G=!1;for(let j=0;j<I;j++)(0,y.Xf)(O[j]).subscribe((0,t.x)(x,W=>{k[j]=W,!G&&!V[j]&&(V[j]=!0,(G=V.every(A.y))&&(V=null))},l.Z));E.subscribe((0,t.x)(x,j=>{if(G){const W=[j,...k];x.next(d?d(...W):W)}}))})}},1954:(He,X,p)=>{"use strict";p.d(X,{o:()=>l});var e=p(7394);class t extends e.w0{constructor(m,O){super()}schedule(m,O=0){return this}}const y={setInterval(M,m,...O){const{delegate:d}=y;return d?.setInterval?d.setInterval(M,m,...O):setInterval(M,m,...O)},clearInterval(M){const{delegate:m}=y;return(m?.clearInterval||clearInterval)(M)},delegate:void 0};var A=p(9039);class l extends t{constructor(m,O){super(m,O),this.scheduler=m,this.work=O,this.pending=!1}schedule(m,O=0){var d;if(this.closed)return this;this.state=m;const E=this.id,x=this.scheduler;return null!=E&&(this.id=this.recycleAsyncId(x,E,O)),this.pending=!0,this.delay=O,this.id=null!==(d=this.id)&&void 0!==d?d:this.requestAsyncId(x,this.id,O),this}requestAsyncId(m,O,d=0){return y.setInterval(m.flush.bind(m,this),d)}recycleAsyncId(m,O,d=0){if(null!=d&&this.delay===d&&!1===this.pending)return O;null!=O&&y.clearInterval(O)}execute(m,O){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const d=this._execute(m,O);if(d)return d;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(m,O){let E,d=!1;try{this.work(m)}catch(x){d=!0,E=x||new Error("Scheduled action threw falsy error")}if(d)return this.unsubscribe(),E}unsubscribe(){if(!this.closed){const{id:m,scheduler:O}=this,{actions:d}=O;this.work=this.state=this.scheduler=null,this.pending=!1,(0,A.P)(d,this),null!=m&&(this.id=this.recycleAsyncId(O,m,null)),this.delay=null,super.unsubscribe()}}}},2631:(He,X,p)=>{"use strict";p.d(X,{v:()=>y});var e=p(4552);class t{constructor(l,M=t.now){this.schedulerActionCtor=l,this.now=M}schedule(l,M=0,m){return new this.schedulerActionCtor(this,l).schedule(m,M)}}t.now=e.l.now;class y extends t{constructor(l,M=t.now){super(l,M),this.actions=[],this._active=!1}flush(l){const{actions:M}=this;if(this._active)return void M.push(l);let m;this._active=!0;do{if(m=l.execute(l.state,l.delay))break}while(l=M.shift());if(this._active=!1,m){for(;l=M.shift();)l.unsubscribe();throw m}}}},6410:(He,X,p)=>{"use strict";p.d(X,{E:()=>V});var e=p(1954);let y,t=1;const A={};function l(j){return j in A&&(delete A[j],!0)}const M={setImmediate(j){const W=t++;return A[W]=!0,y||(y=Promise.resolve()),y.then(()=>l(W)&&j()),W},clearImmediate(j){l(j)}},{setImmediate:O,clearImmediate:d}=M,E={setImmediate(...j){const{delegate:W}=E;return(W?.setImmediate||O)(...j)},clearImmediate(j){const{delegate:W}=E;return(W?.clearImmediate||d)(j)},delegate:void 0};var I=p(2631);const V=new class k extends I.v{flush(W){this._active=!0;const K=this._scheduled;this._scheduled=void 0;const{actions:q}=this;let ie;W=W||q.shift();do{if(ie=W.execute(W.state,W.delay))break}while((W=q[0])&&W.id===K&&q.shift());if(this._active=!1,ie){for(;(W=q[0])&&W.id===K&&q.shift();)W.unsubscribe();throw ie}}}(class x extends e.o{constructor(W,K){super(W,K),this.scheduler=W,this.work=K}requestAsyncId(W,K,q=0){return null!==q&&q>0?super.requestAsyncId(W,K,q):(W.actions.push(this),W._scheduled||(W._scheduled=E.setImmediate(W.flush.bind(W,void 0))))}recycleAsyncId(W,K,q=0){var ie;if(null!=q?q>0:this.delay>0)return super.recycleAsyncId(W,K,q);const{actions:ae}=W;null!=K&&(null===(ie=ae[ae.length-1])||void 0===ie?void 0:ie.id)!==K&&(E.clearImmediate(K),W._scheduled===K&&(W._scheduled=void 0))}})},6321:(He,X,p)=>{"use strict";p.d(X,{P:()=>A,z:()=>y});var e=p(1954);const y=new(p(2631).v)(e.o),A=y},4552:(He,X,p)=>{"use strict";p.d(X,{l:()=>e});const e={now:()=>(e.delegate||Date).now(),delegate:void 0}},2381:(He,X,p)=>{"use strict";p.d(X,{N:()=>l});var e=p(1954),y=p(2631);const l=new class A extends y.v{}(class t extends e.o{constructor(O,d){super(O,d),this.scheduler=O,this.work=d}schedule(O,d=0){return d>0?super.schedule(O,d):(this.delay=d,this.state=O,this.scheduler.flush(this),this)}execute(O,d){return d>0||this.closed?super.execute(O,d):this._execute(O,d)}requestAsyncId(O,d,E=0){return null!=E&&E>0||null==E&&this.delay>0?super.requestAsyncId(O,d,E):(O.flush(this),0)}})},7599:(He,X,p)=>{"use strict";p.d(X,{z:()=>e});const e={setTimeout(t,y,...A){const{delegate:l}=e;return l?.setTimeout?l.setTimeout(t,y,...A):setTimeout(t,y,...A)},clearTimeout(t){const{delegate:y}=e;return(y?.clearTimeout||clearTimeout)(t)},delegate:void 0}},4971:(He,X,p)=>{"use strict";p.d(X,{h:()=>t});const t=function e(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(He,X,p)=>{"use strict";p.d(X,{L:()=>e});const e="function"==typeof Symbol&&Symbol.observable||"@@observable"},6973:(He,X,p)=>{"use strict";p.d(X,{K:()=>t});const t=(0,p(2306).d)(y=>function(){y(this),this.name="EmptyError",this.message="no elements in sequence"})},9940:(He,X,p)=>{"use strict";p.d(X,{_6:()=>M,jO:()=>A,yG:()=>l});var e=p(4674),t=p(671);function y(m){return m[m.length-1]}function A(m){return(0,e.m)(y(m))?m.pop():void 0}function l(m){return(0,t.K)(y(m))?m.pop():void 0}function M(m,O){return"number"==typeof y(m)?m.pop():O}},7453:(He,X,p)=>{"use strict";p.d(X,{D:()=>l});const{isArray:e}=Array,{getPrototypeOf:t,prototype:y,keys:A}=Object;function l(m){if(1===m.length){const O=m[0];if(e(O))return{args:O,keys:null};if(function M(m){return m&&"object"==typeof m&&t(m)===y}(O)){const d=A(O);return{args:d.map(E=>O[E]),keys:d}}}return{args:m,keys:null}}},9039:(He,X,p)=>{"use strict";function e(t,y){if(t){const A=t.indexOf(y);0<=A&&t.splice(A,1)}}p.d(X,{P:()=>e})},2306:(He,X,p)=>{"use strict";function e(t){const A=t(l=>{Error.call(l),l.stack=(new Error).stack});return A.prototype=Object.create(Error.prototype),A.prototype.constructor=A,A}p.d(X,{d:()=>e})},2714:(He,X,p)=>{"use strict";function e(t,y){return t.reduce((A,l,M)=>(A[l]=y[M],A),{})}p.d(X,{n:()=>e})},1441:(He,X,p)=>{"use strict";p.d(X,{O:()=>A,x:()=>y});var e=p(2653);let t=null;function y(l){if(e.config.useDeprecatedSynchronousErrorHandling){const M=!t;if(M&&(t={errorThrown:!1,error:null}),l(),M){const{errorThrown:m,error:O}=t;if(t=null,m)throw O}}else l()}function A(l){e.config.useDeprecatedSynchronousErrorHandling&&t&&(t.errorThrown=!0,t.error=l)}},7103:(He,X,p)=>{"use strict";function e(t,y,A,l=0,M=!1){const m=y.schedule(function(){A(),M?t.add(this.schedule(null,l)):this.unsubscribe()},l);if(t.add(m),!M)return m}p.d(X,{f:()=>e})},2737:(He,X,p)=>{"use strict";function e(t){return t}p.d(X,{y:()=>e})},4266:(He,X,p)=>{"use strict";p.d(X,{z:()=>e});const e=t=>t&&"number"==typeof t.length&&"function"!=typeof t},5726:(He,X,p)=>{"use strict";p.d(X,{D:()=>t});var e=p(4674);function t(y){return Symbol.asyncIterator&&(0,e.m)(y?.[Symbol.asyncIterator])}},93:(He,X,p)=>{"use strict";function e(t){return t instanceof Date&&!isNaN(t)}p.d(X,{q:()=>e})},4674:(He,X,p)=>{"use strict";function e(t){return"function"==typeof t}p.d(X,{m:()=>e})},8382:(He,X,p)=>{"use strict";p.d(X,{c:()=>y});var e=p(4850),t=p(4674);function y(A){return(0,t.m)(A[e.L])}},3664:(He,X,p)=>{"use strict";p.d(X,{T:()=>y});var e=p(4971),t=p(4674);function y(A){return(0,t.m)(A?.[e.h])}},2664:(He,X,p)=>{"use strict";p.d(X,{b:()=>y});var e=p(5592),t=p(4674);function y(A){return!!A&&(A instanceof e.y||(0,t.m)(A.lift)&&(0,t.m)(A.subscribe))}},4026:(He,X,p)=>{"use strict";p.d(X,{t:()=>t});var e=p(4674);function t(y){return(0,e.m)(y?.then)}},541:(He,X,p)=>{"use strict";p.d(X,{L:()=>A,Q:()=>y});var e=p(7582),t=p(4674);function y(l){return(0,e.FC)(this,arguments,function*(){const m=l.getReader();try{for(;;){const{value:O,done:d}=yield(0,e.qq)(m.read());if(d)return yield(0,e.qq)(void 0);yield yield(0,e.qq)(O)}}finally{m.releaseLock()}})}function A(l){return(0,t.m)(l?.getReader)}},671:(He,X,p)=>{"use strict";p.d(X,{K:()=>t});var e=p(4674);function t(y){return y&&(0,e.m)(y.schedule)}},9360:(He,X,p)=>{"use strict";p.d(X,{A:()=>t,e:()=>y});var e=p(4674);function t(A){return(0,e.m)(A?.lift)}function y(A){return l=>{if(t(l))return l.lift(function(M){try{return A(M,this)}catch(m){this.error(m)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(He,X,p)=>{"use strict";p.d(X,{Z:()=>A});var e=p(7398);const{isArray:t}=Array;function A(l){return(0,e.U)(M=>function y(l,M){return t(M)?l(...M):l(M)}(l,M))}},2420:(He,X,p)=>{"use strict";function e(){}p.d(X,{Z:()=>e})},8407:(He,X,p)=>{"use strict";p.d(X,{U:()=>y,z:()=>t});var e=p(2737);function t(...A){return y(A)}function y(A){return 0===A.length?e.y:1===A.length?A[0]:function(M){return A.reduce((m,O)=>O(m),M)}}},3894:(He,X,p)=>{"use strict";p.d(X,{h:()=>y});var e=p(2653),t=p(7599);function y(A){t.z.setTimeout(()=>{const{onUnhandledError:l}=e.config;if(!l)throw A;l(A)})}},9853:(He,X,p)=>{"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.`)}p.d(X,{z:()=>e})},843:(He,X,p)=>{var e=p(9007),t=e.Buffer;function y(l,M){for(var m in l)M[m]=l[m]}function A(l,M,m){return t(l,M,m)}t.from&&t.alloc&&t.allocUnsafe&&t.allocUnsafeSlow?He.exports=e:(y(e,X),X.Buffer=A),A.prototype=Object.create(t.prototype),y(t,A),A.from=function(l,M,m){if("number"==typeof l)throw new TypeError("Argument must not be a number");return t(l,M,m)},A.alloc=function(l,M,m){if("number"!=typeof l)throw new TypeError("Argument must be a number");var O=t(l);return void 0!==M?"string"==typeof m?O.fill(M,m):O.fill(M):O.fill(0),O},A.allocUnsafe=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return t(l)},A.allocUnsafeSlow=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return e.SlowBuffer(l)}},4179:(He,X,p)=>{"use strict";var A,e=p(9007),t=e.Buffer,y={};for(A in e)e.hasOwnProperty(A)&&("SlowBuffer"===A||"Buffer"===A||(y[A]=e[A]));var l=y.Buffer={};for(A in t)t.hasOwnProperty(A)&&("allocUnsafe"===A||"allocUnsafeSlow"===A||(l[A]=t[A]));if(y.Buffer.prototype=t.prototype,(!l.from||l.from===Uint8Array.from)&&(l.from=function(M,m,O){if("number"==typeof M)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof M);if(M&&typeof M.length>"u")throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof M);return t(M,m,O)}),l.alloc||(l.alloc=function(M,m,O){if("number"!=typeof M)throw new TypeError('The "size" argument must be of type number. Received type '+typeof M);if(M<0||M>=2*(1<<30))throw new RangeError('The value "'+M+'" is invalid for option "size"');var d=t(M);return m&&0!==m.length?"string"==typeof O?d.fill(m,O):d.fill(m):d.fill(0),d}),!y.kStringMaxLength)try{y.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch{}y.constants||(y.constants={MAX_LENGTH:y.kMaxLength},y.kStringMaxLength&&(y.constants.MAX_STRING_LENGTH=y.kStringMaxLength)),He.exports=y},3581:(He,X,p)=>{var e=p(843).Buffer;function t(y,A){this._block=e.alloc(y),this._finalSize=A,this._blockSize=y,this._len=0}t.prototype.update=function(y,A){"string"==typeof y&&(y=e.from(y,A=A||"utf8"));for(var l=this._block,M=this._blockSize,m=y.length,O=this._len,d=0;d<m;){for(var E=O%M,x=Math.min(m-d,M-E),I=0;I<x;I++)l[E+I]=y[d+I];d+=x,(O+=x)%M==0&&this._update(l)}return this._len+=m,this},t.prototype.digest=function(y){var A=this._len%this._blockSize;this._block[A]=128,this._block.fill(0,A+1),A>=this._finalSize&&(this._update(this._block),this._block.fill(0));var l=8*this._len;if(l<=4294967295)this._block.writeUInt32BE(l,this._blockSize-4);else{var M=(4294967295&l)>>>0;this._block.writeUInt32BE((l-M)/4294967296,this._blockSize-8),this._block.writeUInt32BE(M,this._blockSize-4)}this._update(this._block);var O=this._hash();return y?O.toString(y):O},t.prototype._update=function(){throw new Error("_update must be implemented by subclass")},He.exports=t},7965:(He,X,p)=>{var e=He.exports=function(y){y=y.toLowerCase();var A=e[y];if(!A)throw new Error(y+" is not supported (we accept pull requests)");return new A};e.sha=p(7915),e.sha1=p(1229),e.sha224=p(2959),e.sha256=p(450),e.sha384=p(1723),e.sha512=p(7914)},7915:(He,X,p)=>{var e=p(6698),t=p(3581),y=p(843).Buffer,A=[1518500249,1859775393,-1894007588,-899497514],l=new Array(80);function M(){this.init(),this._w=l,t.call(this,64,56)}function m(E){return E<<5|E>>>27}function O(E){return E<<30|E>>>2}function d(E,x,I,k){return 0===E?x&I|~x&k:2===E?x&I|x&k|I&k:x^I^k}e(M,t),M.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},M.prototype._update=function(E){for(var x=this._w,I=0|this._a,k=0|this._b,V=0|this._c,G=0|this._d,j=0|this._e,W=0;W<16;++W)x[W]=E.readInt32BE(4*W);for(;W<80;++W)x[W]=x[W-3]^x[W-8]^x[W-14]^x[W-16];for(var K=0;K<80;++K){var q=~~(K/20),ie=m(I)+d(q,k,V,G)+j+x[K]+A[q]|0;j=G,G=V,V=O(k),k=I,I=ie}this._a=I+this._a|0,this._b=k+this._b|0,this._c=V+this._c|0,this._d=G+this._d|0,this._e=j+this._e|0},M.prototype._hash=function(){var E=y.allocUnsafe(20);return E.writeInt32BE(0|this._a,0),E.writeInt32BE(0|this._b,4),E.writeInt32BE(0|this._c,8),E.writeInt32BE(0|this._d,12),E.writeInt32BE(0|this._e,16),E},He.exports=M},1229:(He,X,p)=>{var e=p(6698),t=p(3581),y=p(843).Buffer,A=[1518500249,1859775393,-1894007588,-899497514],l=new Array(80);function M(){this.init(),this._w=l,t.call(this,64,56)}function m(x){return x<<1|x>>>31}function O(x){return x<<5|x>>>27}function d(x){return x<<30|x>>>2}function E(x,I,k,V){return 0===x?I&k|~I&V:2===x?I&k|I&V|k&V:I^k^V}e(M,t),M.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},M.prototype._update=function(x){for(var I=this._w,k=0|this._a,V=0|this._b,G=0|this._c,j=0|this._d,W=0|this._e,K=0;K<16;++K)I[K]=x.readInt32BE(4*K);for(;K<80;++K)I[K]=m(I[K-3]^I[K-8]^I[K-14]^I[K-16]);for(var q=0;q<80;++q){var ie=~~(q/20),ae=O(k)+E(ie,V,G,j)+W+I[q]+A[ie]|0;W=j,j=G,G=d(V),V=k,k=ae}this._a=k+this._a|0,this._b=V+this._b|0,this._c=G+this._c|0,this._d=j+this._d|0,this._e=W+this._e|0},M.prototype._hash=function(){var x=y.allocUnsafe(20);return x.writeInt32BE(0|this._a,0),x.writeInt32BE(0|this._b,4),x.writeInt32BE(0|this._c,8),x.writeInt32BE(0|this._d,12),x.writeInt32BE(0|this._e,16),x},He.exports=M},2959:(He,X,p)=>{var e=p(6698),t=p(450),y=p(3581),A=p(843).Buffer,l=new Array(64);function M(){this.init(),this._w=l,y.call(this,64,56)}e(M,t),M.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},M.prototype._hash=function(){var m=A.allocUnsafe(28);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},He.exports=M},450:(He,X,p)=>{var e=p(6698),t=p(3581),y=p(843).Buffer,A=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],l=new Array(64);function M(){this.init(),this._w=l,t.call(this,64,56)}function m(k,V,G){return G^k&(V^G)}function O(k,V,G){return k&V|G&(k|V)}function d(k){return(k>>>2|k<<30)^(k>>>13|k<<19)^(k>>>22|k<<10)}function E(k){return(k>>>6|k<<26)^(k>>>11|k<<21)^(k>>>25|k<<7)}function x(k){return(k>>>7|k<<25)^(k>>>18|k<<14)^k>>>3}function I(k){return(k>>>17|k<<15)^(k>>>19|k<<13)^k>>>10}e(M,t),M.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},M.prototype._update=function(k){for(var V=this._w,G=0|this._a,j=0|this._b,W=0|this._c,K=0|this._d,q=0|this._e,ie=0|this._f,ae=0|this._g,ue=0|this._h,re=0;re<16;++re)V[re]=k.readInt32BE(4*re);for(;re<64;++re)V[re]=I(V[re-2])+V[re-7]+x(V[re-15])+V[re-16]|0;for(var xe=0;xe<64;++xe){var $=ue+E(q)+m(q,ie,ae)+A[xe]+V[xe]|0,he=d(G)+O(G,j,W)|0;ue=ae,ae=ie,ie=q,q=K+$|0,K=W,W=j,j=G,G=$+he|0}this._a=G+this._a|0,this._b=j+this._b|0,this._c=W+this._c|0,this._d=K+this._d|0,this._e=q+this._e|0,this._f=ie+this._f|0,this._g=ae+this._g|0,this._h=ue+this._h|0},M.prototype._hash=function(){var k=y.allocUnsafe(32);return k.writeInt32BE(this._a,0),k.writeInt32BE(this._b,4),k.writeInt32BE(this._c,8),k.writeInt32BE(this._d,12),k.writeInt32BE(this._e,16),k.writeInt32BE(this._f,20),k.writeInt32BE(this._g,24),k.writeInt32BE(this._h,28),k},He.exports=M},1723:(He,X,p)=>{var e=p(6698),t=p(7914),y=p(3581),A=p(843).Buffer,l=new Array(160);function M(){this.init(),this._w=l,y.call(this,128,112)}e(M,t),M.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},M.prototype._hash=function(){var m=A.allocUnsafe(48);function O(d,E,x){m.writeInt32BE(d,x),m.writeInt32BE(E,x+4)}return O(this._ah,this._al,0),O(this._bh,this._bl,8),O(this._ch,this._cl,16),O(this._dh,this._dl,24),O(this._eh,this._el,32),O(this._fh,this._fl,40),m},He.exports=M},7914:(He,X,p)=>{var e=p(6698),t=p(3581),y=p(843).Buffer,A=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],l=new Array(160);function M(){this.init(),this._w=l,t.call(this,128,112)}function m(j,W,K){return K^j&(W^K)}function O(j,W,K){return j&W|K&(j|W)}function d(j,W){return(j>>>28|W<<4)^(W>>>2|j<<30)^(W>>>7|j<<25)}function E(j,W){return(j>>>14|W<<18)^(j>>>18|W<<14)^(W>>>9|j<<23)}function x(j,W){return(j>>>1|W<<31)^(j>>>8|W<<24)^j>>>7}function I(j,W){return(j>>>1|W<<31)^(j>>>8|W<<24)^(j>>>7|W<<25)}function k(j,W){return(j>>>19|W<<13)^(W>>>29|j<<3)^j>>>6}function V(j,W){return(j>>>19|W<<13)^(W>>>29|j<<3)^(j>>>6|W<<26)}function G(j,W){return j>>>0<W>>>0?1:0}e(M,t),M.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},M.prototype._update=function(j){for(var W=this._w,K=0|this._ah,q=0|this._bh,ie=0|this._ch,ae=0|this._dh,ue=0|this._eh,re=0|this._fh,xe=0|this._gh,$=0|this._hh,he=0|this._al,S=0|this._bl,n=0|this._cl,s=0|this._dl,f=0|this._el,h=0|this._fl,w=0|this._gl,D=0|this._hl,P=0;P<32;P+=2)W[P]=j.readInt32BE(4*P),W[P+1]=j.readInt32BE(4*P+4);for(;P<160;P+=2){var v=W[P-30],r=W[P-30+1],g=x(v,r),H=I(r,v),N=k(v=W[P-4],r=W[P-4+1]),te=V(r,v),je=W[P-32],$e=W[P-32+1],ye=H+W[P-14+1]|0,fe=g+W[P-14]+G(ye,H)|0;fe=(fe=fe+N+G(ye=ye+te|0,te)|0)+je+G(ye=ye+$e|0,$e)|0,W[P]=fe,W[P+1]=ye}for(var de=0;de<160;de+=2){fe=W[de],ye=W[de+1];var Ce=O(K,q,ie),le=O(he,S,n),ge=d(K,he),qe=d(he,K),oe=E(ue,f),ve=E(f,ue),ce=A[de],Ge=A[de+1],Ze=m(ue,re,xe),wt=m(f,h,w),mt=D+ve|0,kt=$+oe+G(mt,D)|0;kt=(kt=(kt=kt+Ze+G(mt=mt+wt|0,wt)|0)+ce+G(mt=mt+Ge|0,Ge)|0)+fe+G(mt=mt+ye|0,ye)|0;var Ae=qe+le|0,ze=ge+Ce+G(Ae,qe)|0;$=xe,D=w,xe=re,w=h,re=ue,h=f,ue=ae+kt+G(f=s+mt|0,s)|0,ae=ie,s=n,ie=q,n=S,q=K,S=he,K=kt+ze+G(he=mt+Ae|0,mt)|0}this._al=this._al+he|0,this._bl=this._bl+S|0,this._cl=this._cl+n|0,this._dl=this._dl+s|0,this._el=this._el+f|0,this._fl=this._fl+h|0,this._gl=this._gl+w|0,this._hl=this._hl+D|0,this._ah=this._ah+K+G(this._al,he)|0,this._bh=this._bh+q+G(this._bl,S)|0,this._ch=this._ch+ie+G(this._cl,n)|0,this._dh=this._dh+ae+G(this._dl,s)|0,this._eh=this._eh+ue+G(this._el,f)|0,this._fh=this._fh+re+G(this._fl,h)|0,this._gh=this._gh+xe+G(this._gl,w)|0,this._hh=this._hh+$+G(this._hl,D)|0},M.prototype._hash=function(){var j=y.allocUnsafe(64);function W(K,q,ie){j.writeInt32BE(K,ie),j.writeInt32BE(q,ie+4)}return W(this._ah,this._al,0),W(this._bh,this._bl,8),W(this._ch,this._cl,16),W(this._dh,this._dl,24),W(this._eh,this._el,32),W(this._fh,this._fl,40),W(this._gh,this._gl,48),W(this._hh,this._hl,56),j},He.exports=M},8927:function(He,X,p){!function(e){"use strict";var t={};He.exports?(t.bytesToHex=p(188).bytesToHex,t.convertString=p(5486),He.exports=O):(t.bytesToHex=e.convertHex.bytesToHex,t.convertString=e.convertString,e.sha256=O);var y=[];!function(){function d(k){for(var V=Math.sqrt(k),G=2;G<=V;G++)if(!(k%G))return!1;return!0}for(var x=2,I=0;I<64;)d(x)&&(y[I]=4294967296*((k=Math.pow(x,1/3))-(0|k))|0,I++),x++;var k}();var A=function(d){for(var E=[],x=0,I=0;x<d.length;x++,I+=8)E[I>>>5]|=d[x]<<24-I%32;return E},l=function(d){for(var E=[],x=0;x<32*d.length;x+=8)E.push(d[x>>>5]>>>24-x%32&255);return E},M=[],m=function(d,E,x){for(var I=d[0],k=d[1],V=d[2],G=d[3],j=d[4],W=d[5],K=d[6],q=d[7],ie=0;ie<64;ie++){if(ie<16)M[ie]=0|E[x+ie];else{var ae=M[ie-15],re=M[ie-2];M[ie]=((ae<<25|ae>>>7)^(ae<<14|ae>>>18)^ae>>>3)+M[ie-7]+((re<<15|re>>>17)^(re<<13|re>>>19)^re>>>10)+M[ie-16]}var he=I&k^I&V^k&V,s=q+((j<<26|j>>>6)^(j<<21|j>>>11)^(j<<7|j>>>25))+(j&W^~j&K)+y[ie]+M[ie];q=K,K=W,W=j,j=G+s|0,G=V,V=k,k=I,I=s+(((I<<30|I>>>2)^(I<<19|I>>>13)^(I<<10|I>>>22))+he)|0}d[0]=d[0]+I|0,d[1]=d[1]+k|0,d[2]=d[2]+V|0,d[3]=d[3]+G|0,d[4]=d[4]+j|0,d[5]=d[5]+W|0,d[6]=d[6]+K|0,d[7]=d[7]+q|0};function O(d,E){d.constructor===String&&(d=t.convertString.UTF8.stringToBytes(d));var x=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],I=A(d),k=8*d.length;I[k>>5]|=128<<24-k%32,I[15+(k+64>>9<<4)]=k;for(var V=0;V<I.length;V+=16)m(x,I,V);var G=l(x);return E&&E.asBytes?G:E&&E.asString?t.convertString.bytesToString(G):t.bytesToHex(G)}O.x2=function(d,E){return O(O(d,{asBytes:!0}),E)}}(this)},1793:(He,X,p)=>{He.exports=y;var e=p(2016).EventEmitter;function y(){e.call(this)}p(6698)(y,e),y.Readable=p(309),y.Writable=p(6563),y.Duplex=p(247),y.Transform=p(6307),y.PassThrough=p(5096),y.finished=p(4618),y.pipeline=p(4514),y.Stream=y,y.prototype.pipe=function(A,l){var M=this;function m(V){A.writable&&!1===A.write(V)&&M.pause&&M.pause()}function O(){M.readable&&M.resume&&M.resume()}M.on("data",m),A.on("drain",O),!A._isStdio&&(!l||!1!==l.end)&&(M.on("end",E),M.on("close",x));var d=!1;function E(){d||(d=!0,A.end())}function x(){d||(d=!0,"function"==typeof A.destroy&&A.destroy())}function I(V){if(k(),0===e.listenerCount(this,"error"))throw V}function k(){M.removeListener("data",m),A.removeListener("drain",O),M.removeListener("end",E),M.removeListener("close",x),M.removeListener("error",I),A.removeListener("error",I),M.removeListener("end",k),M.removeListener("close",k),A.removeListener("close",k)}return M.on("error",I),A.on("error",I),M.on("end",k),M.on("close",k),A.on("close",k),A.emit("pipe",M),A}},2024:(He,X,p)=>{"use strict";var e=p(843).Buffer,t=e.isEncoding||function(K){switch((K=""+K)&&K.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function l(K){var q;switch(this.encoding=function A(K){var q=function y(K){if(!K)return"utf8";for(var q;;)switch(K){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return K;default:if(q)return;K=(""+K).toLowerCase(),q=!0}}(K);if("string"!=typeof q&&(e.isEncoding===t||!t(K)))throw new Error("Unknown encoding: "+K);return q||K}(K),this.encoding){case"utf16le":this.text=I,this.end=k,q=4;break;case"utf8":this.fillLast=d,q=4;break;case"base64":this.text=V,this.end=G,q=3;break;default:return this.write=j,void(this.end=W)}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(q)}function M(K){return K<=127?0:K>>5==6?2:K>>4==14?3:K>>3==30?4:K>>6==2?-1:-2}function d(K){var q=this.lastTotal-this.lastNeed,ie=function O(K,q,ie){if(128!=(192&q[0]))return K.lastNeed=0,"\ufffd";if(K.lastNeed>1&&q.length>1){if(128!=(192&q[1]))return K.lastNeed=1,"\ufffd";if(K.lastNeed>2&&q.length>2&&128!=(192&q[2]))return K.lastNeed=2,"\ufffd"}}(this,K);return void 0!==ie?ie:this.lastNeed<=K.length?(K.copy(this.lastChar,q,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(K.copy(this.lastChar,q,0,K.length),void(this.lastNeed-=K.length))}function I(K,q){if((K.length-q)%2==0){var ie=K.toString("utf16le",q);if(ie){var ae=ie.charCodeAt(ie.length-1);if(ae>=55296&&ae<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=K[K.length-2],this.lastChar[1]=K[K.length-1],ie.slice(0,-1)}return ie}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=K[K.length-1],K.toString("utf16le",q,K.length-1)}function k(K){var q=K&&K.length?this.write(K):"";return this.lastNeed?q+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):q}function V(K,q){var ie=(K.length-q)%3;return 0===ie?K.toString("base64",q):(this.lastNeed=3-ie,this.lastTotal=3,1===ie?this.lastChar[0]=K[K.length-1]:(this.lastChar[0]=K[K.length-2],this.lastChar[1]=K[K.length-1]),K.toString("base64",q,K.length-ie))}function G(K){var q=K&&K.length?this.write(K):"";return this.lastNeed?q+this.lastChar.toString("base64",0,3-this.lastNeed):q}function j(K){return K.toString(this.encoding)}function W(K){return K&&K.length?this.write(K):""}X.s=l,l.prototype.write=function(K){if(0===K.length)return"";var q,ie;if(this.lastNeed){if(void 0===(q=this.fillLast(K)))return"";ie=this.lastNeed,this.lastNeed=0}else ie=0;return ie<K.length?q?q+this.text(K,ie):this.text(K,ie):q||""},l.prototype.end=function x(K){var q=K&&K.length?this.write(K):"";return this.lastNeed?q+"\ufffd":q},l.prototype.text=function E(K,q){var ie=function m(K,q,ie){var ae=q.length-1;if(ae<ie)return 0;var ue=M(q[ae]);return ue>=0?(ue>0&&(K.lastNeed=ue-1),ue):--ae<ie||-2===ue?0:(ue=M(q[ae]))>=0?(ue>0&&(K.lastNeed=ue-2),ue):--ae<ie||-2===ue?0:(ue=M(q[ae]))>=0?(ue>0&&(2===ue?ue=0:K.lastNeed=ue-3),ue):0}(this,K,q);if(!this.lastNeed)return K.toString("utf8",q);this.lastTotal=ie;var ae=K.length-(ie-this.lastNeed);return K.copy(this.lastChar,0,ae),K.toString("utf8",q,ae)},l.prototype.fillLast=function(K){if(this.lastNeed<=K.length)return K.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);K.copy(this.lastChar,this.lastTotal-this.lastNeed,0,K.length),this.lastNeed-=K.length}},5852:(He,X,p)=>{var e=p(1156);X.encode=e.encode,X.decode=e.decode},1156:(He,X)=>{"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];X.encode=function(y){Buffer.isBuffer(y)||(y=new Buffer(y));for(var A=0,l=0,M=0,m=0,O=new Buffer(8*function t(y){var A=Math.floor(y.length/5);return y.length%5==0?A:A+1}(y));A<y.length;){var d=y[A];M>3?(m=(m=d&255>>M)<<(M=(M+5)%8)|(A+1<y.length?y[A+1]:0)>>8-M,A++):(m=d>>8-(M+5)&31,0==(M=(M+5)%8)&&A++),O[l]="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567".charCodeAt(m),l++}for(A=l;A<O.length;A++)O[A]=61;return O},X.decode=function(y){var M,A=0,l=0,m=0;Buffer.isBuffer(y)||(y=new Buffer(y));for(var O=new Buffer(Math.ceil(5*y.length/8)),d=0;d<y.length&&61!==y[d];d++){var E=y[d]-48;if(!(E<e.length))throw new Error("Invalid input - it is not base32 encoded string");l=e[E],A<=3?0==(A=(A+5)%8)?(O[m]=M|=l,m++,M=0):M|=255&l<<8-A:(O[m]=M|=255&l>>>(A=(A+5)%8),m++,M=255&l<<8-A)}return O.slice(0,m)}},496:He=>{function p(e){try{if(!global.localStorage)return!1}catch{return!1}var t=global.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}He.exports=function X(e,t){if(p("noDeprecation"))return e;var y=!1;return function A(){if(!y){if(p("throwDeprecation"))throw new Error(t);p("traceDeprecation")?console.trace(t):console.warn(t),y=!0}return e.apply(this,arguments)}}},950:()=>{},6601:()=>{},8623:()=>{},7748:()=>{},5568:()=>{},6619:()=>{},7108:()=>{},2361:()=>{},4616:()=>{},6825:(He,X,p)=>{"use strict";p.d(X,{F4:()=>O,IO:()=>k,SB:()=>m,X$:()=>t,ZE:()=>xe,ZN:()=>re,eR:()=>d,jt:()=>y,k1:()=>$,l3:()=>e,oB:()=>M,pV:()=>x,ru:()=>A,vP:()=>l});const e="*";function t(he,S){return{type:7,name:he,definitions:S,options:{}}}function y(he,S=null){return{type:4,styles:S,timings:he}}function A(he,S=null){return{type:3,steps:he,options:S}}function l(he,S=null){return{type:2,steps:he,options:S}}function M(he){return{type:6,styles:he,offset:null}}function m(he,S,n){return{type:0,name:he,styles:S,options:n}}function O(he){return{type:5,steps:he}}function d(he,S,n=null){return{type:1,expr:he,animation:S,options:n}}function x(he=null){return{type:9,options:he}}function k(he,S,n=null){return{type:11,selector:he,animation:S,options:n}}class re{constructor(S=0,n=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=S+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(S=>S()),this._onDoneFns=[])}onStart(S){this._originalOnStartFns.push(S),this._onStartFns.push(S)}onDone(S){this._originalOnDoneFns.push(S),this._onDoneFns.push(S)}onDestroy(S){this._onDestroyFns.push(S)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(S=>S()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(S=>S()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(S){this._position=this.totalTime?S*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(S){const n="start"==S?this._onStartFns:this._onDoneFns;n.forEach(s=>s()),n.length=0}}class xe{constructor(S){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=S;let n=0,s=0,f=0;const h=this.players.length;0==h?queueMicrotask(()=>this._onFinish()):this.players.forEach(w=>{w.onDone(()=>{++n==h&&this._onFinish()}),w.onDestroy(()=>{++s==h&&this._onDestroy()}),w.onStart(()=>{++f==h&&this._onStart()})}),this.totalTime=this.players.reduce((w,D)=>Math.max(w,D.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(S=>S()),this._onDoneFns=[])}init(){this.players.forEach(S=>S.init())}onStart(S){this._onStartFns.push(S)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(S=>S()),this._onStartFns=[])}onDone(S){this._onDoneFns.push(S)}onDestroy(S){this._onDestroyFns.push(S)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(S=>S.play())}pause(){this.players.forEach(S=>S.pause())}restart(){this.players.forEach(S=>S.restart())}finish(){this._onFinish(),this.players.forEach(S=>S.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(S=>S.destroy()),this._onDestroyFns.forEach(S=>S()),this._onDestroyFns=[])}reset(){this.players.forEach(S=>S.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(S){const n=S*this.totalTime;this.players.forEach(s=>{const f=s.totalTime?Math.min(1,n/s.totalTime):1;s.setPosition(f)})}getPosition(){const S=this.players.reduce((n,s)=>null===n||s.totalTime>n.totalTime?s:n,null);return null!=S?S.getPosition():0}beforeDestroy(){this.players.forEach(S=>{S.beforeDestroy&&S.beforeDestroy()})}triggerCallback(S){const n="start"==S?this._onStartFns:this._onDoneFns;n.forEach(s=>s()),n.length=0}}const $="!"},4300:(He,X,p)=>{"use strict";p.d(X,{$s:()=>n,Em:()=>D,Kd:()=>Et,X6:()=>Ze,Zf:()=>ae,iD:()=>ue,ic:()=>v,kH:()=>J,mK:()=>ge,qV:()=>le,qm:()=>Pt,rt:()=>xt,s1:()=>w,tE:()=>Xt,yG:()=>wt});var e=p(6814),t=p(9212),y=p(2831),A=p(8645),l=p(7394),M=p(5619),m=p(2096),O=p(6028),d=p(9397),E=p(3620),x=p(2181),I=p(7398),k=p(8180),V=p(836),G=p(3997),j=p(9773),W=p(7131),K=p(2495),q=p(1088);const ie=" ";function ae(rt,Ee,it){const Ue=re(rt,Ee);Ue.some(Je=>Je.trim()==it.trim())||(Ue.push(it.trim()),rt.setAttribute(Ee,Ue.join(ie)))}function ue(rt,Ee,it){const Je=re(rt,Ee).filter(_t=>_t!=it.trim());Je.length?rt.setAttribute(Ee,Je.join(ie)):rt.removeAttribute(Ee)}function re(rt,Ee){return(rt.getAttribute(Ee)||"").match(/\S+/g)||[]}const $="cdk-describedby-message",he="cdk-describedby-host";let S=0,n=(()=>{class rt{constructor(it,Ue){this._platform=Ue,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+S++,this._document=it,this._id=(0,t.f3M)(t.AFp)+"-"+S++}describe(it,Ue,Je){if(!this._canBeDescribed(it,Ue))return;const _t=s(Ue,Je);"string"!=typeof Ue?(f(Ue,this._id),this._messageRegistry.set(_t,{messageElement:Ue,referenceCount:0})):this._messageRegistry.has(_t)||this._createMessageElement(Ue,Je),this._isElementDescribedByMessage(it,_t)||this._addMessageReference(it,_t)}removeDescription(it,Ue,Je){if(!Ue||!this._isElementNode(it))return;const _t=s(Ue,Je);if(this._isElementDescribedByMessage(it,_t)&&this._removeMessageReference(it,_t),"string"==typeof Ue){const Le=this._messageRegistry.get(_t);Le&&0===Le.referenceCount&&this._deleteMessageElement(_t)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const it=this._document.querySelectorAll(`[${he}="${this._id}"]`);for(let Ue=0;Ue<it.length;Ue++)this._removeCdkDescribedByReferenceIds(it[Ue]),it[Ue].removeAttribute(he);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(it,Ue){const Je=this._document.createElement("div");f(Je,this._id),Je.textContent=it,Ue&&Je.setAttribute("role",Ue),this._createMessagesContainer(),this._messagesContainer.appendChild(Je),this._messageRegistry.set(s(it,Ue),{messageElement:Je,referenceCount:0})}_deleteMessageElement(it){this._messageRegistry.get(it)?.messageElement?.remove(),this._messageRegistry.delete(it)}_createMessagesContainer(){if(this._messagesContainer)return;const it="cdk-describedby-message-container",Ue=this._document.querySelectorAll(`.${it}[platform="server"]`);for(let _t=0;_t<Ue.length;_t++)Ue[_t].remove();const Je=this._document.createElement("div");Je.style.visibility="hidden",Je.classList.add(it),Je.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&Je.setAttribute("platform","server"),this._document.body.appendChild(Je),this._messagesContainer=Je}_removeCdkDescribedByReferenceIds(it){const Ue=re(it,"aria-describedby").filter(Je=>0!=Je.indexOf($));it.setAttribute("aria-describedby",Ue.join(" "))}_addMessageReference(it,Ue){const Je=this._messageRegistry.get(Ue);ae(it,"aria-describedby",Je.messageElement.id),it.setAttribute(he,this._id),Je.referenceCount++}_removeMessageReference(it,Ue){const Je=this._messageRegistry.get(Ue);Je.referenceCount--,ue(it,"aria-describedby",Je.messageElement.id),it.removeAttribute(he)}_isElementDescribedByMessage(it,Ue){const Je=re(it,"aria-describedby"),_t=this._messageRegistry.get(Ue),Le=_t&&_t.messageElement.id;return!!Le&&-1!=Je.indexOf(Le)}_canBeDescribed(it,Ue){if(!this._isElementNode(it))return!1;if(Ue&&"object"==typeof Ue)return!0;const Je=null==Ue?"":`${Ue}`.trim(),_t=it.getAttribute("aria-label");return!(!Je||_t&&_t.trim()===Je)}_isElementNode(it){return it.nodeType===this._document.ELEMENT_NODE}static#e=this.\u0275fac=function(Ue){return new(Ue||rt)(t.LFG(e.K0),t.LFG(y.t4))};static#t=this.\u0275prov=t.Yz7({token:rt,factory:rt.\u0275fac,providedIn:"root"})}return rt})();function s(rt,Ee){return"string"==typeof rt?`${Ee||""}/${rt}`:rt}function f(rt,Ee){rt.id||(rt.id=`${$}-${Ee}-${S++}`)}class h{constructor(Ee){this._items=Ee,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new A.x,this._typeaheadSubscription=l.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=it=>it.disabled,this._pressedLetters=[],this.tabOut=new A.x,this.change=new A.x,Ee instanceof t.n_E&&(this._itemChangesSubscription=Ee.changes.subscribe(it=>{if(this._activeItem){const Je=it.toArray().indexOf(this._activeItem);Je>-1&&Je!==this._activeItemIndex&&(this._activeItemIndex=Je)}}))}skipPredicate(Ee){return this._skipPredicateFn=Ee,this}withWrap(Ee=!0){return this._wrap=Ee,this}withVerticalOrientation(Ee=!0){return this._vertical=Ee,this}withHorizontalOrientation(Ee){return this._horizontal=Ee,this}withAllowedModifierKeys(Ee){return this._allowedModifierKeys=Ee,this}withTypeAhead(Ee=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,d.b)(it=>this._pressedLetters.push(it)),(0,E.b)(Ee),(0,x.h)(()=>this._pressedLetters.length>0),(0,I.U)(()=>this._pressedLetters.join(""))).subscribe(it=>{const Ue=this._getItemsArray();for(let Je=1;Je<Ue.length+1;Je++){const _t=(this._activeItemIndex+Je)%Ue.length,Le=Ue[_t];if(!this._skipPredicateFn(Le)&&0===Le.getLabel().toUpperCase().trim().indexOf(it)){this.setActiveItem(_t);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(Ee=!0){return this._homeAndEnd=Ee,this}withPageUpDown(Ee=!0,it=10){return this._pageUpAndDown={enabled:Ee,delta:it},this}setActiveItem(Ee){const it=this._activeItem;this.updateActiveItem(Ee),this._activeItem!==it&&this.change.next(this._activeItemIndex)}onKeydown(Ee){const it=Ee.keyCode,Je=["altKey","ctrlKey","metaKey","shiftKey"].every(_t=>!Ee[_t]||this._allowedModifierKeys.indexOf(_t)>-1);switch(it){case O.Mf:return void this.tabOut.next();case O.JH:if(this._vertical&&Je){this.setNextItemActive();break}return;case O.LH:if(this._vertical&&Je){this.setPreviousItemActive();break}return;case O.SV:if(this._horizontal&&Je){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case O.oh:if(this._horizontal&&Je){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case O.Sd:if(this._homeAndEnd&&Je){this.setFirstItemActive();break}return;case O.uR:if(this._homeAndEnd&&Je){this.setLastItemActive();break}return;case O.Ku:if(this._pageUpAndDown.enabled&&Je){const _t=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(_t>0?_t:0,1);break}return;case O.VM:if(this._pageUpAndDown.enabled&&Je){const _t=this._activeItemIndex+this._pageUpAndDown.delta,Le=this._getItemsArray().length;this._setActiveItemByIndex(_t<Le?_t:Le-1,-1);break}return;default:return void((Je||(0,O.Vb)(Ee,"shiftKey"))&&(Ee.key&&1===Ee.key.length?this._letterKeyStream.next(Ee.key.toLocaleUpperCase()):(it>=O.A&&it<=O.Z||it>=O.xE&&it<=O.aO)&&this._letterKeyStream.next(String.fromCharCode(it))))}this._pressedLetters=[],Ee.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(Ee){const it=this._getItemsArray(),Ue="number"==typeof Ee?Ee:it.indexOf(Ee);this._activeItem=it[Ue]??null,this._activeItemIndex=Ue}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(Ee){this._wrap?this._setActiveInWrapMode(Ee):this._setActiveInDefaultMode(Ee)}_setActiveInWrapMode(Ee){const it=this._getItemsArray();for(let Ue=1;Ue<=it.length;Ue++){const Je=(this._activeItemIndex+Ee*Ue+it.length)%it.length;if(!this._skipPredicateFn(it[Je]))return void this.setActiveItem(Je)}}_setActiveInDefaultMode(Ee){this._setActiveItemByIndex(this._activeItemIndex+Ee,Ee)}_setActiveItemByIndex(Ee,it){const Ue=this._getItemsArray();if(Ue[Ee]){for(;this._skipPredicateFn(Ue[Ee]);)if(!Ue[Ee+=it])return;this.setActiveItem(Ee)}}_getItemsArray(){return this._items instanceof t.n_E?this._items.toArray():this._items}}class w extends h{setActiveItem(Ee){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(Ee),this.activeItem&&this.activeItem.setActiveStyles()}}class D extends h{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(Ee){return this._origin=Ee,this}setActiveItem(Ee){super.setActiveItem(Ee),this.activeItem&&this.activeItem.focus(this._origin)}}let v=(()=>{class rt{constructor(it){this._platform=it}isDisabled(it){return it.hasAttribute("disabled")}isVisible(it){return function g(rt){return!!(rt.offsetWidth||rt.offsetHeight||"function"==typeof rt.getClientRects&&rt.getClientRects().length)}(it)&&"visible"===getComputedStyle(it).visibility}isTabbable(it){if(!this._platform.isBrowser)return!1;const Ue=function r(rt){try{return rt.frameElement}catch{return null}}(function de(rt){return rt.ownerDocument&&rt.ownerDocument.defaultView||window}(it));if(Ue&&(-1===$e(Ue)||!this.isVisible(Ue)))return!1;let Je=it.nodeName.toLowerCase(),_t=$e(it);return it.hasAttribute("contenteditable")?-1!==_t:!("iframe"===Je||"object"===Je||this._platform.WEBKIT&&this._platform.IOS&&!function ye(rt){let Ee=rt.nodeName.toLowerCase(),it="input"===Ee&&rt.type;return"text"===it||"password"===it||"select"===Ee||"textarea"===Ee}(it))&&("audio"===Je?!!it.hasAttribute("controls")&&-1!==_t:"video"===Je?-1!==_t&&(null!==_t||this._platform.FIREFOX||it.hasAttribute("controls")):it.tabIndex>=0)}isFocusable(it,Ue){return function fe(rt){return!function N(rt){return function De(rt){return"input"==rt.nodeName.toLowerCase()}(rt)&&"hidden"==rt.type}(rt)&&(function H(rt){let Ee=rt.nodeName.toLowerCase();return"input"===Ee||"select"===Ee||"button"===Ee||"textarea"===Ee}(rt)||function te(rt){return function st(rt){return"a"==rt.nodeName.toLowerCase()}(rt)&&rt.hasAttribute("href")}(rt)||rt.hasAttribute("contenteditable")||je(rt))}(it)&&!this.isDisabled(it)&&(Ue?.ignoreVisibility||this.isVisible(it))}static#e=this.\u0275fac=function(Ue){return new(Ue||rt)(t.LFG(y.t4))};static#t=this.\u0275prov=t.Yz7({token:rt,factory:rt.\u0275fac,providedIn:"root"})}return rt})();function je(rt){if(!rt.hasAttribute("tabindex")||void 0===rt.tabIndex)return!1;let Ee=rt.getAttribute("tabindex");return!(!Ee||isNaN(parseInt(Ee,10)))}function $e(rt){if(!je(rt))return null;const Ee=parseInt(rt.getAttribute("tabindex")||"",10);return isNaN(Ee)?-1:Ee}class Ce{get enabled(){return this._enabled}set enabled(Ee){this._enabled=Ee,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Ee,this._startAnchor),this._toggleAnchorTabIndex(Ee,this._endAnchor))}constructor(Ee,it,Ue,Je,_t=!1){this._element=Ee,this._checker=it,this._ngZone=Ue,this._document=Je,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,_t||this.attachAnchors()}destroy(){const Ee=this._startAnchor,it=this._endAnchor;Ee&&(Ee.removeEventListener("focus",this.startAnchorListener),Ee.remove()),it&&(it.removeEventListener("focus",this.endAnchorListener),it.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(Ee){return new Promise(it=>{this._executeOnStable(()=>it(this.focusInitialElement(Ee)))})}focusFirstTabbableElementWhenReady(Ee){return new Promise(it=>{this._executeOnStable(()=>it(this.focusFirstTabbableElement(Ee)))})}focusLastTabbableElementWhenReady(Ee){return new Promise(it=>{this._executeOnStable(()=>it(this.focusLastTabbableElement(Ee)))})}_getRegionBoundary(Ee){const it=this._element.querySelectorAll(`[cdk-focus-region-${Ee}], [cdkFocusRegion${Ee}], [cdk-focus-${Ee}]`);return"start"==Ee?it.length?it[0]:this._getFirstTabbableElement(this._element):it.length?it[it.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(Ee){const it=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(it){if(!this._checker.isFocusable(it)){const Ue=this._getFirstTabbableElement(it);return Ue?.focus(Ee),!!Ue}return it.focus(Ee),!0}return this.focusFirstTabbableElement(Ee)}focusFirstTabbableElement(Ee){const it=this._getRegionBoundary("start");return it&&it.focus(Ee),!!it}focusLastTabbableElement(Ee){const it=this._getRegionBoundary("end");return it&&it.focus(Ee),!!it}hasAttached(){return this._hasAttached}_getFirstTabbableElement(Ee){if(this._checker.isFocusable(Ee)&&this._checker.isTabbable(Ee))return Ee;const it=Ee.children;for(let Ue=0;Ue<it.length;Ue++){const Je=it[Ue].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(it[Ue]):null;if(Je)return Je}return null}_getLastTabbableElement(Ee){if(this._checker.isFocusable(Ee)&&this._checker.isTabbable(Ee))return Ee;const it=Ee.children;for(let Ue=it.length-1;Ue>=0;Ue--){const Je=it[Ue].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(it[Ue]):null;if(Je)return Je}return null}_createAnchor(){const Ee=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,Ee),Ee.classList.add("cdk-visually-hidden"),Ee.classList.add("cdk-focus-trap-anchor"),Ee.setAttribute("aria-hidden","true"),Ee}_toggleAnchorTabIndex(Ee,it){Ee?it.setAttribute("tabindex","0"):it.removeAttribute("tabindex")}toggleAnchors(Ee){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Ee,this._startAnchor),this._toggleAnchorTabIndex(Ee,this._endAnchor))}_executeOnStable(Ee){this._ngZone.isStable?Ee():this._ngZone.onStable.pipe((0,k.q)(1)).subscribe(Ee)}}let le=(()=>{class rt{constructor(it,Ue,Je){this._checker=it,this._ngZone=Ue,this._document=Je}create(it,Ue=!1){return new Ce(it,this._checker,this._ngZone,this._document,Ue)}static#e=this.\u0275fac=function(Ue){return new(Ue||rt)(t.LFG(v),t.LFG(t.R0b),t.LFG(e.K0))};static#t=this.\u0275prov=t.Yz7({token:rt,factory:rt.\u0275fac,providedIn:"root"})}return rt})(),ge=(()=>{class rt{get enabled(){return this.focusTrap.enabled}set enabled(it){this.focusTrap.enabled=it}constructor(it,Ue,Je){this._elementRef=it,this._focusTrapFactory=Ue,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(it){const Ue=it.autoCapture;Ue&&!Ue.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,y.ht)(),this.focusTrap.focusInitialElementWhenReady()}static#e=this.\u0275fac=function(Ue){return new(Ue||rt)(t.Y36(t.SBq),t.Y36(le),t.Y36(e.K0))};static#t=this.\u0275dir=t.lG2({type:rt,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled",t.VuI],autoCapture:["cdkTrapFocusAutoCapture","autoCapture",t.VuI]},exportAs:["cdkTrapFocus"],features:[t.Xq5,t.TTD]})}return rt})();function Ze(rt){return 0===rt.buttons||0===rt.detail}function wt(rt){const Ee=rt.touches&&rt.touches[0]||rt.changedTouches&&rt.changedTouches[0];return!(!Ee||-1!==Ee.identifier||null!=Ee.radiusX&&1!==Ee.radiusX||null!=Ee.radiusY&&1!==Ee.radiusY)}const mt=new t.OlP("cdk-input-modality-detector-options"),kt={ignoreKeys:[O.zL,O.jx,O.b2,O.MW,O.JU]},ze=(0,y.i$)({passive:!0,capture:!0});let nt=(()=>{class rt{get mostRecentModality(){return this._modality.value}constructor(it,Ue,Je,_t){this._platform=it,this._mostRecentTarget=null,this._modality=new M.X(null),this._lastTouchMs=0,this._onKeydown=Le=>{this._options?.ignoreKeys?.some(be=>be===Le.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,y.sA)(Le))},this._onMousedown=Le=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Ze(Le)?"keyboard":"mouse"),this._mostRecentTarget=(0,y.sA)(Le))},this._onTouchstart=Le=>{wt(Le)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,y.sA)(Le))},this._options={...kt,..._t},this.modalityDetected=this._modality.pipe((0,V.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,G.x)()),it.isBrowser&&Ue.runOutsideAngular(()=>{Je.addEventListener("keydown",this._onKeydown,ze),Je.addEventListener("mousedown",this._onMousedown,ze),Je.addEventListener("touchstart",this._onTouchstart,ze)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,ze),document.removeEventListener("mousedown",this._onMousedown,ze),document.removeEventListener("touchstart",this._onTouchstart,ze))}static#e=this.\u0275fac=function(Ue){return new(Ue||rt)(t.LFG(y.t4),t.LFG(t.R0b),t.LFG(e.K0),t.LFG(mt,8))};static#t=this.\u0275prov=t.Yz7({token:rt,factory:rt.\u0275fac,providedIn:"root"})}return rt})();const et=new t.OlP("liveAnnouncerElement",{providedIn:"root",factory:function ke(){return null}}),ct=new t.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Qe=0,Et=(()=>{class rt{constructor(it,Ue,Je,_t){this._ngZone=Ue,this._defaultOptions=_t,this._document=Je,this._liveElement=it||this._createLiveElement()}announce(it,...Ue){const Je=this._defaultOptions;let _t,Le;return 1===Ue.length&&"number"==typeof Ue[0]?Le=Ue[0]:[_t,Le]=Ue,this.clear(),clearTimeout(this._previousTimeout),_t||(_t=Je&&Je.politeness?Je.politeness:"polite"),null==Le&&Je&&(Le=Je.duration),this._liveElement.setAttribute("aria-live",_t),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(be=>this._currentResolve=be)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=it,"number"==typeof Le&&(this._previousTimeout=setTimeout(()=>this.clear(),Le)),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 it="cdk-live-announcer-element",Ue=this._document.getElementsByClassName(it),Je=this._document.createElement("div");for(let _t=0;_t<Ue.length;_t++)Ue[_t].remove();return Je.classList.add(it),Je.classList.add("cdk-visually-hidden"),Je.setAttribute("aria-atomic","true"),Je.setAttribute("aria-live","polite"),Je.id="cdk-live-announcer-"+Qe++,this._document.body.appendChild(Je),Je}_exposeAnnouncerToModals(it){const Ue=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let Je=0;Je<Ue.length;Je++){const _t=Ue[Je],Le=_t.getAttribute("aria-owns");Le?-1===Le.indexOf(it)&&_t.setAttribute("aria-owns",Le+" "+it):_t.setAttribute("aria-owns",it)}}static#e=this.\u0275fac=function(Ue){return new(Ue||rt)(t.LFG(et,8),t.LFG(t.R0b),t.LFG(e.K0),t.LFG(ct,8))};static#t=this.\u0275prov=t.Yz7({token:rt,factory:rt.\u0275fac,providedIn:"root"})}return rt})();const Ke=new t.OlP("cdk-focus-monitor-default-options"),Be=(0,y.i$)({passive:!0,capture:!0});let Xt=(()=>{class rt{constructor(it,Ue,Je,_t,Le){this._ngZone=it,this._platform=Ue,this._inputModalityDetector=Je,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new A.x,this._rootNodeFocusAndBlurListener=be=>{for(let ne=(0,y.sA)(be);ne;ne=ne.parentElement)"focus"===be.type?this._onFocus(be,ne):this._onBlur(be,ne)},this._document=_t,this._detectionMode=Le?.detectionMode||0}monitor(it,Ue=!1){const Je=(0,K.fI)(it);if(!this._platform.isBrowser||1!==Je.nodeType)return(0,m.of)();const _t=(0,y.kV)(Je)||this._getDocument(),Le=this._elementInfo.get(Je);if(Le)return Ue&&(Le.checkChildren=!0),Le.subject;const be={checkChildren:Ue,subject:new A.x,rootNode:_t};return this._elementInfo.set(Je,be),this._registerGlobalListeners(be),be.subject}stopMonitoring(it){const Ue=(0,K.fI)(it),Je=this._elementInfo.get(Ue);Je&&(Je.subject.complete(),this._setClasses(Ue),this._elementInfo.delete(Ue),this._removeGlobalListeners(Je))}focusVia(it,Ue,Je){const _t=(0,K.fI)(it);_t===this._getDocument().activeElement?this._getClosestElementsInfo(_t).forEach(([be,ee])=>this._originChanged(be,Ue,ee)):(this._setOrigin(Ue),"function"==typeof _t.focus&&_t.focus(Je))}ngOnDestroy(){this._elementInfo.forEach((it,Ue)=>this.stopMonitoring(Ue))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(it){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(it)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:it&&this._isLastInteractionFromInputLabel(it)?"mouse":"program"}_shouldBeAttributedToTouch(it){return 1===this._detectionMode||!!it?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(it,Ue){it.classList.toggle("cdk-focused",!!Ue),it.classList.toggle("cdk-touch-focused","touch"===Ue),it.classList.toggle("cdk-keyboard-focused","keyboard"===Ue),it.classList.toggle("cdk-mouse-focused","mouse"===Ue),it.classList.toggle("cdk-program-focused","program"===Ue)}_setOrigin(it,Ue=!1){this._ngZone.runOutsideAngular(()=>{this._origin=it,this._originFromTouchInteraction="touch"===it&&Ue,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(it,Ue){const Je=this._elementInfo.get(Ue),_t=(0,y.sA)(it);!Je||!Je.checkChildren&&Ue!==_t||this._originChanged(Ue,this._getFocusOrigin(_t),Je)}_onBlur(it,Ue){const Je=this._elementInfo.get(Ue);!Je||Je.checkChildren&&it.relatedTarget instanceof Node&&Ue.contains(it.relatedTarget)||(this._setClasses(Ue),this._emitOrigin(Je,null))}_emitOrigin(it,Ue){it.subject.observers.length&&this._ngZone.run(()=>it.subject.next(Ue))}_registerGlobalListeners(it){if(!this._platform.isBrowser)return;const Ue=it.rootNode,Je=this._rootNodeFocusListenerCount.get(Ue)||0;Je||this._ngZone.runOutsideAngular(()=>{Ue.addEventListener("focus",this._rootNodeFocusAndBlurListener,Be),Ue.addEventListener("blur",this._rootNodeFocusAndBlurListener,Be)}),this._rootNodeFocusListenerCount.set(Ue,Je+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,j.R)(this._stopInputModalityDetector)).subscribe(_t=>{this._setOrigin(_t,!0)}))}_removeGlobalListeners(it){const Ue=it.rootNode;if(this._rootNodeFocusListenerCount.has(Ue)){const Je=this._rootNodeFocusListenerCount.get(Ue);Je>1?this._rootNodeFocusListenerCount.set(Ue,Je-1):(Ue.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Be),Ue.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Be),this._rootNodeFocusListenerCount.delete(Ue))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(it,Ue,Je){this._setClasses(it,Ue),this._emitOrigin(Je,Ue),this._lastFocusOrigin=Ue}_getClosestElementsInfo(it){const Ue=[];return this._elementInfo.forEach((Je,_t)=>{(_t===it||Je.checkChildren&&_t.contains(it))&&Ue.push([_t,Je])}),Ue}_isLastInteractionFromInputLabel(it){const{_mostRecentTarget:Ue,mostRecentModality:Je}=this._inputModalityDetector;if("mouse"!==Je||!Ue||Ue===it||"INPUT"!==it.nodeName&&"TEXTAREA"!==it.nodeName||it.disabled)return!1;const _t=it.labels;if(_t)for(let Le=0;Le<_t.length;Le++)if(_t[Le].contains(Ue))return!0;return!1}static#e=this.\u0275fac=function(Ue){return new(Ue||rt)(t.LFG(t.R0b),t.LFG(y.t4),t.LFG(nt),t.LFG(e.K0,8),t.LFG(Ke,8))};static#t=this.\u0275prov=t.Yz7({token:rt,factory:rt.\u0275fac,providedIn:"root"})}return rt})(),J=(()=>{class rt{constructor(it,Ue){this._elementRef=it,this._focusMonitor=Ue,this._focusOrigin=null,this.cdkFocusChange=new t.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const it=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(it,1===it.nodeType&&it.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Ue=>{this._focusOrigin=Ue,this.cdkFocusChange.emit(Ue)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(Ue){return new(Ue||rt)(t.Y36(t.SBq),t.Y36(Xt))};static#t=this.\u0275dir=t.lG2({type:rt,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return rt})();const We="cdk-high-contrast-black-on-white",Ft="cdk-high-contrast-white-on-black",Ct="cdk-high-contrast-active";let Pt=(()=>{class rt{constructor(it,Ue){this._platform=it,this._document=Ue,this._breakpointSubscription=(0,t.f3M)(q.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const it=this._document.createElement("div");it.style.backgroundColor="rgb(1,2,3)",it.style.position="absolute",this._document.body.appendChild(it);const Ue=this._document.defaultView||window,Je=Ue&&Ue.getComputedStyle?Ue.getComputedStyle(it):null,_t=(Je&&Je.backgroundColor||"").replace(/ /g,"");switch(it.remove(),_t){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 it=this._document.body.classList;it.remove(Ct,We,Ft),this._hasCheckedHighContrastMode=!0;const Ue=this.getHighContrastMode();1===Ue?it.add(Ct,We):2===Ue&&it.add(Ct,Ft)}}static#e=this.\u0275fac=function(Ue){return new(Ue||rt)(t.LFG(y.t4),t.LFG(e.K0))};static#t=this.\u0275prov=t.Yz7({token:rt,factory:rt.\u0275fac,providedIn:"root"})}return rt})(),xt=(()=>{class rt{constructor(it){it._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(Ue){return new(Ue||rt)(t.LFG(Pt))};static#t=this.\u0275mod=t.oAB({type:rt});static#i=this.\u0275inj=t.cJS({imports:[W.Q8]})}return rt})()},9388:(He,X,p)=>{"use strict";p.d(X,{Is:()=>m,vT:()=>d});var e=p(9212),t=p(6814);const y=new e.OlP("cdk-dir-doc",{providedIn:"root",factory:function A(){return(0,e.f3M)(t.K0)}}),l=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let m=(()=>{class E{constructor(I){this.value="ltr",this.change=new e.vpe,I&&(this.value=function M(E){const x=E?.toLowerCase()||"";return"auto"===x&&typeof navigator<"u"&&navigator?.language?l.test(navigator.language)?"rtl":"ltr":"rtl"===x?"rtl":"ltr"}((I.body?I.body.dir:null)||(I.documentElement?I.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(k){return new(k||E)(e.LFG(y,8))};static#t=this.\u0275prov=e.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})(),d=(()=>{class E{static#e=this.\u0275fac=function(k){return new(k||E)};static#t=this.\u0275mod=e.oAB({type:E});static#i=this.\u0275inj=e.cJS({})}return E})()},2495:(He,X,p)=>{"use strict";p.d(X,{Eq:()=>l,HM:()=>M,Ig:()=>t,du:()=>O,fI:()=>m,su:()=>y,t6:()=>A});var e=p(9212);function t(d){return null!=d&&"false"!=`${d}`}function y(d,E=0){return A(d)?Number(d):E}function A(d){return!isNaN(parseFloat(d))&&!isNaN(Number(d))}function l(d){return Array.isArray(d)?d:[d]}function M(d){return null==d?"":"string"==typeof d?d:`${d}px`}function m(d){return d instanceof e.SBq?d.nativeElement:d}function O(d,E=/\s+/){const x=[];if(null!=d){const I=Array.isArray(d)?d:`${d}`.split(E);for(const k of I){const V=`${k}`.trim();V&&x.push(V)}}return x}},8337:(He,X,p)=>{"use strict";p.d(X,{A8:()=>x,Ov:()=>d,Z9:()=>l,eX:()=>O,k:()=>I,o2:()=>A,yy:()=>m});var e=p(3168),t=p(8645),y=p(9212);class A{}function l(k){return k&&"function"==typeof k.connect&&!(k instanceof e.c)}class m{applyChanges(V,G,j,W,K){V.forEachOperation((q,ie,ae)=>{let ue,re;if(null==q.previousIndex){const xe=j(q,ie,ae);ue=G.createEmbeddedView(xe.templateRef,xe.context,xe.index),re=1}else null==ae?(G.remove(ie),re=3):(ue=G.get(ie),G.move(ue,ae),re=2);K&&K({context:ue?.context,operation:re,record:q})})}detach(){}}class O{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(V,G,j,W,K){V.forEachOperation((q,ie,ae)=>{let ue,re;null==q.previousIndex?(ue=this._insertView(()=>j(q,ie,ae),ae,G,W(q)),re=ue?1:0):null==ae?(this._detachAndCacheView(ie,G),re=3):(ue=this._moveView(ie,ae,G,W(q)),re=2),K&&K({context:ue?.context,operation:re,record:q})})}detach(){for(const V of this._viewCache)V.destroy();this._viewCache=[]}_insertView(V,G,j,W){const K=this._insertViewFromCache(G,j);if(K)return void(K.context.$implicit=W);const q=V();return j.createEmbeddedView(q.templateRef,q.context,q.index)}_detachAndCacheView(V,G){const j=G.detach(V);this._maybeCacheView(j,G)}_moveView(V,G,j,W){const K=j.get(V);return j.move(K,G),K.context.$implicit=W,K}_maybeCacheView(V,G){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(V);else{const j=G.indexOf(V);-1===j?V.destroy():G.remove(j)}}_insertViewFromCache(V,G){const j=this._viewCache.pop();return j&&G.insert(j,V),j||null}}class d{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(V=!1,G,j=!0,W){this._multiple=V,this._emitChanges=j,this.compareWith=W,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new t.x,G&&G.length&&(V?G.forEach(K=>this._markSelected(K)):this._markSelected(G[0]),this._selectedToEmit.length=0)}select(...V){this._verifyValueAssignment(V),V.forEach(j=>this._markSelected(j));const G=this._hasQueuedChanges();return this._emitChangeEvent(),G}deselect(...V){this._verifyValueAssignment(V),V.forEach(j=>this._unmarkSelected(j));const G=this._hasQueuedChanges();return this._emitChangeEvent(),G}setSelection(...V){this._verifyValueAssignment(V);const G=this.selected,j=new Set(V);V.forEach(K=>this._markSelected(K)),G.filter(K=>!j.has(K)).forEach(K=>this._unmarkSelected(K));const W=this._hasQueuedChanges();return this._emitChangeEvent(),W}toggle(V){return this.isSelected(V)?this.deselect(V):this.select(V)}clear(V=!0){this._unmarkAll();const G=this._hasQueuedChanges();return V&&this._emitChangeEvent(),G}isSelected(V){return this._selection.has(this._getConcreteValue(V))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(V){this._multiple&&this.selected&&this._selected.sort(V)}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(V){V=this._getConcreteValue(V),this.isSelected(V)||(this._multiple||this._unmarkAll(),this.isSelected(V)||this._selection.add(V),this._emitChanges&&this._selectedToEmit.push(V))}_unmarkSelected(V){V=this._getConcreteValue(V),this.isSelected(V)&&(this._selection.delete(V),this._emitChanges&&this._deselectedToEmit.push(V))}_unmarkAll(){this.isEmpty()||this._selection.forEach(V=>this._unmarkSelected(V))}_verifyValueAssignment(V){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(V){if(this.compareWith){for(let G of this._selection)if(this.compareWith(V,G))return G;return V}return V}}let x=(()=>{class k{constructor(){this._listeners=[]}notify(G,j){for(let W of this._listeners)W(G,j)}listen(G){return this._listeners.push(G),()=>{this._listeners=this._listeners.filter(j=>G!==j)}}ngOnDestroy(){this._listeners=[]}static#e=this.\u0275fac=function(j){return new(j||k)};static#t=this.\u0275prov=y.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})();const I=new y.OlP("_ViewRepeater")},6028:(He,X,p)=>{"use strict";p.d(X,{A:()=>N,JH:()=>ie,JU:()=>M,K5:()=>l,Ku:()=>k,LH:()=>K,L_:()=>I,MW:()=>ct,Mf:()=>y,SV:()=>q,Sd:()=>j,VM:()=>V,Vb:()=>Xe,Z:()=>ke,ZH:()=>t,aO:()=>P,b2:()=>Ve,hY:()=>x,jx:()=>m,oh:()=>W,uR:()=>G,xE:()=>$,yY:()=>xe,zL:()=>O});const t=8,y=9,l=13,M=16,m=17,O=18,x=27,I=32,k=33,V=34,G=35,j=36,W=37,K=38,q=39,ie=40,xe=46,$=48,P=57,N=65,ke=90,ct=91,Ve=224;function Xe(gt,...ri){return ri.length?ri.some(Oi=>gt[Oi]):gt.altKey||gt.shiftKey||gt.ctrlKey||gt.metaKey}},1088:(He,X,p)=>{"use strict";p.d(X,{Yg:()=>ie,u3:()=>ue,xu:()=>V});var e=p(9212),t=p(2495),y=p(8645),A=p(2572),l=p(5211),M=p(5592),m=p(8180),O=p(836),d=p(3620),E=p(7398),x=p(7921),I=p(9773),k=p(2831);let V=(()=>{class re{static#e=this.\u0275fac=function(he){return new(he||re)};static#t=this.\u0275mod=e.oAB({type:re});static#i=this.\u0275inj=e.cJS({})}return re})();const G=new Set;let j,W=(()=>{class re{constructor($,he){this._platform=$,this._nonce=he,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):q}matchMedia($){return(this._platform.WEBKIT||this._platform.BLINK)&&function K(re,xe){if(!G.has(re))try{j||(j=document.createElement("style"),xe&&(j.nonce=xe),j.setAttribute("type","text/css"),document.head.appendChild(j)),j.sheet&&(j.sheet.insertRule(`@media ${re} {body{ }}`,0),G.add(re))}catch($){console.error($)}}($,this._nonce),this._matchMedia($)}static#e=this.\u0275fac=function(he){return new(he||re)(e.LFG(k.t4),e.LFG(e.Ojb,8))};static#t=this.\u0275prov=e.Yz7({token:re,factory:re.\u0275fac,providedIn:"root"})}return re})();function q(re){return{matches:"all"===re||""===re,media:re,addListener:()=>{},removeListener:()=>{}}}let ie=(()=>{class re{constructor($,he){this._mediaMatcher=$,this._zone=he,this._queries=new Map,this._destroySubject=new y.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched($){return ae((0,t.Eq)($)).some(S=>this._registerQuery(S).mql.matches)}observe($){const S=ae((0,t.Eq)($)).map(s=>this._registerQuery(s).observable);let n=(0,A.a)(S);return n=(0,l.z)(n.pipe((0,m.q)(1)),n.pipe((0,O.T)(1),(0,d.b)(0))),n.pipe((0,E.U)(s=>{const f={matches:!1,breakpoints:{}};return s.forEach(({matches:h,query:w})=>{f.matches=f.matches||h,f.breakpoints[w]=h}),f}))}_registerQuery($){if(this._queries.has($))return this._queries.get($);const he=this._mediaMatcher.matchMedia($),n={observable:new M.y(s=>{const f=h=>this._zone.run(()=>s.next(h));return he.addListener(f),()=>{he.removeListener(f)}}).pipe((0,x.O)(he),(0,E.U)(({matches:s})=>({query:$,matches:s})),(0,I.R)(this._destroySubject)),mql:he};return this._queries.set($,n),n}static#e=this.\u0275fac=function(he){return new(he||re)(e.LFG(W),e.LFG(e.R0b))};static#t=this.\u0275prov=e.Yz7({token:re,factory:re.\u0275fac,providedIn:"root"})}return re})();function ae(re){return re.map(xe=>xe.split(",")).reduce((xe,$)=>xe.concat($)).map(xe=>xe.trim())}const ue={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)"}},7131:(He,X,p)=>{"use strict";p.d(X,{Q8:()=>d,wD:()=>O});var e=p(2495),t=p(9212),y=p(5592),A=p(8645),l=p(3620);let M=(()=>{class E{create(I){return typeof MutationObserver>"u"?null:new MutationObserver(I)}static#e=this.\u0275fac=function(k){return new(k||E)};static#t=this.\u0275prov=t.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})(),m=(()=>{class E{constructor(I){this._mutationObserverFactory=I,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((I,k)=>this._cleanupObserver(k))}observe(I){const k=(0,e.fI)(I);return new y.y(V=>{const j=this._observeElement(k).subscribe(V);return()=>{j.unsubscribe(),this._unobserveElement(k)}})}_observeElement(I){if(this._observedElements.has(I))this._observedElements.get(I).count++;else{const k=new A.x,V=this._mutationObserverFactory.create(G=>k.next(G));V&&V.observe(I,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(I,{observer:V,stream:k,count:1})}return this._observedElements.get(I).stream}_unobserveElement(I){this._observedElements.has(I)&&(this._observedElements.get(I).count--,this._observedElements.get(I).count||this._cleanupObserver(I))}_cleanupObserver(I){if(this._observedElements.has(I)){const{observer:k,stream:V}=this._observedElements.get(I);k&&k.disconnect(),V.complete(),this._observedElements.delete(I)}}static#e=this.\u0275fac=function(k){return new(k||E)(t.LFG(M))};static#t=this.\u0275prov=t.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})(),O=(()=>{class E{get disabled(){return this._disabled}set disabled(I){this._disabled=I,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(I){this._debounce=(0,e.su)(I),this._subscribe()}constructor(I,k,V){this._contentObserver=I,this._elementRef=k,this._ngZone=V,this.event=new t.vpe,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const I=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?I.pipe((0,l.b)(this.debounce)):I).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function(k){return new(k||E)(t.Y36(m),t.Y36(t.SBq),t.Y36(t.R0b))};static#t=this.\u0275dir=t.lG2({type:E,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled",t.VuI],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],features:[t.Xq5]})}return E})(),d=(()=>{class E{static#e=this.\u0275fac=function(k){return new(k||E)};static#t=this.\u0275mod=t.oAB({type:E});static#i=this.\u0275inj=t.cJS({providers:[M]})}return E})()},3651:(He,X,p)=>{"use strict";p.d(X,{pI:()=>ce,xu:()=>ve,_G:()=>te,aV:()=>ge,X_:()=>S,Xj:()=>r,U8:()=>wt,Iu:()=>g});var e=p(5407),t=p(6814),y=p(9212),A=p(2495),l=p(2831),M=p(2181),m=p(8180),O=p(9773),d=p(9360),E=p(8251),I=p(9388),k=p(8484),V=p(8645),G=p(7394),j=p(3019),W=p(6028);const K=(0,l.Mq)();class q{constructor(Ae,ze){this._viewportRuler=Ae,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=ze}attach(){}enable(){if(this._canBeEnabled()){const Ae=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=Ae.style.left||"",this._previousHTMLStyles.top=Ae.style.top||"",Ae.style.left=(0,A.HM)(-this._previousScrollPosition.left),Ae.style.top=(0,A.HM)(-this._previousScrollPosition.top),Ae.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const Ae=this._document.documentElement,nt=Ae.style,et=this._document.body.style,ke=nt.scrollBehavior||"",ct=et.scrollBehavior||"";this._isEnabled=!1,nt.left=this._previousHTMLStyles.left,nt.top=this._previousHTMLStyles.top,Ae.classList.remove("cdk-global-scrollblock"),K&&(nt.scrollBehavior=et.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),K&&(nt.scrollBehavior=ke,et.scrollBehavior=ct)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const ze=this._document.body,nt=this._viewportRuler.getViewportSize();return ze.scrollHeight>nt.height||ze.scrollWidth>nt.width}}class ae{constructor(Ae,ze,nt,et){this._scrollDispatcher=Ae,this._ngZone=ze,this._viewportRuler=nt,this._config=et,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(Ae){this._overlayRef=Ae}enable(){if(this._scrollSubscription)return;const Ae=this._scrollDispatcher.scrolled(0).pipe((0,M.h)(ze=>!ze||!this._overlayRef.overlayElement.contains(ze.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=Ae.subscribe(()=>{const ze=this._viewportRuler.getViewportScrollPosition().top;Math.abs(ze-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=Ae.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class ue{enable(){}disable(){}attach(){}}function re(kt,Ae){return Ae.some(ze=>kt.bottom<ze.top||kt.top>ze.bottom||kt.right<ze.left||kt.left>ze.right)}function xe(kt,Ae){return Ae.some(ze=>kt.top<ze.top||kt.bottom>ze.bottom||kt.left<ze.left||kt.right>ze.right)}class ${constructor(Ae,ze,nt,et){this._scrollDispatcher=Ae,this._viewportRuler=ze,this._ngZone=nt,this._config=et,this._scrollSubscription=null}attach(Ae){this._overlayRef=Ae}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const ze=this._overlayRef.overlayElement.getBoundingClientRect(),{width:nt,height:et}=this._viewportRuler.getViewportSize();re(ze,[{width:nt,height:et,bottom:et,right:nt,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let he=(()=>{class kt{constructor(ze,nt,et,ke){this._scrollDispatcher=ze,this._viewportRuler=nt,this._ngZone=et,this.noop=()=>new ue,this.close=ct=>new ae(this._scrollDispatcher,this._ngZone,this._viewportRuler,ct),this.block=()=>new q(this._viewportRuler,this._document),this.reposition=ct=>new $(this._scrollDispatcher,this._viewportRuler,this._ngZone,ct),this._document=ke}static#e=this.\u0275fac=function(nt){return new(nt||kt)(y.LFG(e.mF),y.LFG(e.rL),y.LFG(y.R0b),y.LFG(t.K0))};static#t=this.\u0275prov=y.Yz7({token:kt,factory:kt.\u0275fac,providedIn:"root"})}return kt})();class S{constructor(Ae){if(this.scrollStrategy=new ue,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,Ae){const ze=Object.keys(Ae);for(const nt of ze)void 0!==Ae[nt]&&(this[nt]=Ae[nt])}}}class f{constructor(Ae,ze){this.connectionPair=Ae,this.scrollableViewProperties=ze}}let D=(()=>{class kt{constructor(ze){this._attachedOverlays=[],this._document=ze}ngOnDestroy(){this.detach()}add(ze){this.remove(ze),this._attachedOverlays.push(ze)}remove(ze){const nt=this._attachedOverlays.indexOf(ze);nt>-1&&this._attachedOverlays.splice(nt,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(nt){return new(nt||kt)(y.LFG(t.K0))};static#t=this.\u0275prov=y.Yz7({token:kt,factory:kt.\u0275fac,providedIn:"root"})}return kt})(),P=(()=>{class kt extends D{constructor(ze,nt){super(ze),this._ngZone=nt,this._keydownListener=et=>{const ke=this._attachedOverlays;for(let ct=ke.length-1;ct>-1;ct--)if(ke[ct]._keydownEvents.observers.length>0){const Qe=ke[ct]._keydownEvents;this._ngZone?this._ngZone.run(()=>Qe.next(et)):Qe.next(et);break}}}add(ze){super.add(ze),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static#e=this.\u0275fac=function(nt){return new(nt||kt)(y.LFG(t.K0),y.LFG(y.R0b,8))};static#t=this.\u0275prov=y.Yz7({token:kt,factory:kt.\u0275fac,providedIn:"root"})}return kt})(),v=(()=>{class kt extends D{constructor(ze,nt,et){super(ze),this._platform=nt,this._ngZone=et,this._cursorStyleIsSet=!1,this._pointerDownListener=ke=>{this._pointerDownEventTarget=(0,l.sA)(ke)},this._clickListener=ke=>{const ct=(0,l.sA)(ke),Qe="click"===ke.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:ct;this._pointerDownEventTarget=null;const Et=this._attachedOverlays.slice();for(let lt=Et.length-1;lt>-1;lt--){const Ke=Et[lt];if(Ke._outsidePointerEvents.observers.length<1||!Ke.hasAttached())continue;if(Ke.overlayElement.contains(ct)||Ke.overlayElement.contains(Qe))break;const Be=Ke._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Be.next(ke)):Be.next(ke)}}}add(ze){if(super.add(ze),!this._isAttached){const nt=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(nt)):this._addEventListeners(nt),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=nt.style.cursor,nt.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const ze=this._document.body;ze.removeEventListener("pointerdown",this._pointerDownListener,!0),ze.removeEventListener("click",this._clickListener,!0),ze.removeEventListener("auxclick",this._clickListener,!0),ze.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(ze.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(ze){ze.addEventListener("pointerdown",this._pointerDownListener,!0),ze.addEventListener("click",this._clickListener,!0),ze.addEventListener("auxclick",this._clickListener,!0),ze.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(nt){return new(nt||kt)(y.LFG(t.K0),y.LFG(l.t4),y.LFG(y.R0b,8))};static#t=this.\u0275prov=y.Yz7({token:kt,factory:kt.\u0275fac,providedIn:"root"})}return kt})(),r=(()=>{class kt{constructor(ze,nt){this._platform=nt,this._document=ze}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const ze="cdk-overlay-container";if(this._platform.isBrowser||(0,l.Oy)()){const et=this._document.querySelectorAll(`.${ze}[platform="server"], .${ze}[platform="test"]`);for(let ke=0;ke<et.length;ke++)et[ke].remove()}const nt=this._document.createElement("div");nt.classList.add(ze),(0,l.Oy)()?nt.setAttribute("platform","test"):this._platform.isBrowser||nt.setAttribute("platform","server"),this._document.body.appendChild(nt),this._containerElement=nt}static#e=this.\u0275fac=function(nt){return new(nt||kt)(y.LFG(t.K0),y.LFG(l.t4))};static#t=this.\u0275prov=y.Yz7({token:kt,factory:kt.\u0275fac,providedIn:"root"})}return kt})();class g{constructor(Ae,ze,nt,et,ke,ct,Qe,Et,lt,Ke=!1){this._portalOutlet=Ae,this._host=ze,this._pane=nt,this._config=et,this._ngZone=ke,this._keyboardDispatcher=ct,this._document=Qe,this._location=Et,this._outsideClickDispatcher=lt,this._animationsDisabled=Ke,this._backdropElement=null,this._backdropClick=new V.x,this._attachments=new V.x,this._detachments=new V.x,this._locationChanges=G.w0.EMPTY,this._backdropClickHandler=Be=>this._backdropClick.next(Be),this._backdropTransitionendHandler=Be=>{this._disposeBackdrop(Be.target)},this._keydownEvents=new V.x,this._outsidePointerEvents=new V.x,et.scrollStrategy&&(this._scrollStrategy=et.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=et.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(Ae){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const ze=this._portalOutlet.attach(Ae);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,m.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 ze?.onDestroy&&ze.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),ze}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const Ae=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),Ae}dispose(){const Ae=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,Ae&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(Ae){Ae!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=Ae,this.hasAttached()&&(Ae.attach(this),this.updatePosition()))}updateSize(Ae){this._config={...this._config,...Ae},this._updateElementSize()}setDirection(Ae){this._config={...this._config,direction:Ae},this._updateElementDirection()}addPanelClass(Ae){this._pane&&this._toggleClasses(this._pane,Ae,!0)}removePanelClass(Ae){this._pane&&this._toggleClasses(this._pane,Ae,!1)}getDirection(){const Ae=this._config.direction;return Ae?"string"==typeof Ae?Ae:Ae.value:"ltr"}updateScrollStrategy(Ae){Ae!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=Ae,this.hasAttached()&&(Ae.attach(this),Ae.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const Ae=this._pane.style;Ae.width=(0,A.HM)(this._config.width),Ae.height=(0,A.HM)(this._config.height),Ae.minWidth=(0,A.HM)(this._config.minWidth),Ae.minHeight=(0,A.HM)(this._config.minHeight),Ae.maxWidth=(0,A.HM)(this._config.maxWidth),Ae.maxHeight=(0,A.HM)(this._config.maxHeight)}_togglePointerEvents(Ae){this._pane.style.pointerEvents=Ae?"":"none"}_attachBackdrop(){const Ae="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(Ae)})}):this._backdropElement.classList.add(Ae)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const Ae=this._backdropElement;if(Ae){if(this._animationsDisabled)return void this._disposeBackdrop(Ae);Ae.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{Ae.addEventListener("transitionend",this._backdropTransitionendHandler)}),Ae.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(Ae)},500))}}_toggleClasses(Ae,ze,nt){const et=(0,A.Eq)(ze||[]).filter(ke=>!!ke);et.length&&(nt?Ae.classList.add(...et):Ae.classList.remove(...et))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const Ae=this._ngZone.onStable.pipe((0,O.R)((0,j.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),Ae.unsubscribe())})})}_disposeScrollStrategy(){const Ae=this._scrollStrategy;Ae&&(Ae.disable(),Ae.detach&&Ae.detach())}_disposeBackdrop(Ae){Ae&&(Ae.removeEventListener("click",this._backdropClickHandler),Ae.removeEventListener("transitionend",this._backdropTransitionendHandler),Ae.remove(),this._backdropElement===Ae&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const H="cdk-overlay-connected-position-bounding-box",N=/([A-Za-z%]+)$/;class te{get positions(){return this._preferredPositions}constructor(Ae,ze,nt,et,ke){this._viewportRuler=ze,this._document=nt,this._platform=et,this._overlayContainer=ke,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 V.x,this._resizeSubscription=G.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(Ae)}attach(Ae){this._validatePositions(),Ae.hostElement.classList.add(H),this._overlayRef=Ae,this._boundingBox=Ae.hostElement,this._pane=Ae.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Ae=this._originRect,ze=this._overlayRect,nt=this._viewportRect,et=this._containerRect,ke=[];let ct;for(let Qe of this._preferredPositions){let Et=this._getOriginPoint(Ae,et,Qe),lt=this._getOverlayPoint(Et,ze,Qe),Ke=this._getOverlayFit(lt,ze,nt,Qe);if(Ke.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Qe,Et);this._canFitWithFlexibleDimensions(Ke,lt,nt)?ke.push({position:Qe,origin:Et,overlayRect:ze,boundingBoxRect:this._calculateBoundingBoxRect(Et,Qe)}):(!ct||ct.overlayFit.visibleArea<Ke.visibleArea)&&(ct={overlayFit:Ke,overlayPoint:lt,originPoint:Et,position:Qe,overlayRect:ze})}if(ke.length){let Qe=null,Et=-1;for(const lt of ke){const Ke=lt.boundingBoxRect.width*lt.boundingBoxRect.height*(lt.position.weight||1);Ke>Et&&(Et=Ke,Qe=lt)}return this._isPushed=!1,void this._applyPosition(Qe.position,Qe.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(ct.position,ct.originPoint);this._applyPosition(ct.position,ct.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&De(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(H),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const Ae=this._lastPosition;if(Ae){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const ze=this._getOriginPoint(this._originRect,this._containerRect,Ae);this._applyPosition(Ae,ze)}else this.apply()}withScrollableContainers(Ae){return this._scrollables=Ae,this}withPositions(Ae){return this._preferredPositions=Ae,-1===Ae.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(Ae){return this._viewportMargin=Ae,this}withFlexibleDimensions(Ae=!0){return this._hasFlexibleDimensions=Ae,this}withGrowAfterOpen(Ae=!0){return this._growAfterOpen=Ae,this}withPush(Ae=!0){return this._canPush=Ae,this}withLockedPosition(Ae=!0){return this._positionLocked=Ae,this}setOrigin(Ae){return this._origin=Ae,this}withDefaultOffsetX(Ae){return this._offsetX=Ae,this}withDefaultOffsetY(Ae){return this._offsetY=Ae,this}withTransformOriginOn(Ae){return this._transformOriginSelector=Ae,this}_getOriginPoint(Ae,ze,nt){let et,ke;if("center"==nt.originX)et=Ae.left+Ae.width/2;else{const ct=this._isRtl()?Ae.right:Ae.left,Qe=this._isRtl()?Ae.left:Ae.right;et="start"==nt.originX?ct:Qe}return ze.left<0&&(et-=ze.left),ke="center"==nt.originY?Ae.top+Ae.height/2:"top"==nt.originY?Ae.top:Ae.bottom,ze.top<0&&(ke-=ze.top),{x:et,y:ke}}_getOverlayPoint(Ae,ze,nt){let et,ke;return et="center"==nt.overlayX?-ze.width/2:"start"===nt.overlayX?this._isRtl()?-ze.width:0:this._isRtl()?0:-ze.width,ke="center"==nt.overlayY?-ze.height/2:"top"==nt.overlayY?0:-ze.height,{x:Ae.x+et,y:Ae.y+ke}}_getOverlayFit(Ae,ze,nt,et){const ke=je(ze);let{x:ct,y:Qe}=Ae,Et=this._getOffset(et,"x"),lt=this._getOffset(et,"y");Et&&(ct+=Et),lt&&(Qe+=lt);let Xt=0-Qe,J=Qe+ke.height-nt.height,We=this._subtractOverflows(ke.width,0-ct,ct+ke.width-nt.width),Ft=this._subtractOverflows(ke.height,Xt,J),Ct=We*Ft;return{visibleArea:Ct,isCompletelyWithinViewport:ke.width*ke.height===Ct,fitsInViewportVertically:Ft===ke.height,fitsInViewportHorizontally:We==ke.width}}_canFitWithFlexibleDimensions(Ae,ze,nt){if(this._hasFlexibleDimensions){const et=nt.bottom-ze.y,ke=nt.right-ze.x,ct=st(this._overlayRef.getConfig().minHeight),Qe=st(this._overlayRef.getConfig().minWidth);return(Ae.fitsInViewportVertically||null!=ct&&ct<=et)&&(Ae.fitsInViewportHorizontally||null!=Qe&&Qe<=ke)}return!1}_pushOverlayOnScreen(Ae,ze,nt){if(this._previousPushAmount&&this._positionLocked)return{x:Ae.x+this._previousPushAmount.x,y:Ae.y+this._previousPushAmount.y};const et=je(ze),ke=this._viewportRect,ct=Math.max(Ae.x+et.width-ke.width,0),Qe=Math.max(Ae.y+et.height-ke.height,0),Et=Math.max(ke.top-nt.top-Ae.y,0),lt=Math.max(ke.left-nt.left-Ae.x,0);let Ke=0,Be=0;return Ke=et.width<=ke.width?lt||-ct:Ae.x<this._viewportMargin?ke.left-nt.left-Ae.x:0,Be=et.height<=ke.height?Et||-Qe:Ae.y<this._viewportMargin?ke.top-nt.top-Ae.y:0,this._previousPushAmount={x:Ke,y:Be},{x:Ae.x+Ke,y:Ae.y+Be}}_applyPosition(Ae,ze){if(this._setTransformOrigin(Ae),this._setOverlayElementStyles(ze,Ae),this._setBoundingBoxStyles(ze,Ae),Ae.panelClass&&this._addPanelClasses(Ae.panelClass),this._lastPosition=Ae,this._positionChanges.observers.length){const nt=this._getScrollVisibility(),et=new f(Ae,nt);this._positionChanges.next(et)}this._isInitialRender=!1}_setTransformOrigin(Ae){if(!this._transformOriginSelector)return;const ze=this._boundingBox.querySelectorAll(this._transformOriginSelector);let nt,et=Ae.overlayY;nt="center"===Ae.overlayX?"center":this._isRtl()?"start"===Ae.overlayX?"right":"left":"start"===Ae.overlayX?"left":"right";for(let ke=0;ke<ze.length;ke++)ze[ke].style.transformOrigin=`${nt} ${et}`}_calculateBoundingBoxRect(Ae,ze){const nt=this._viewportRect,et=this._isRtl();let ke,ct,Qe,Ke,Be,Xt;if("top"===ze.overlayY)ct=Ae.y,ke=nt.height-ct+this._viewportMargin;else if("bottom"===ze.overlayY)Qe=nt.height-Ae.y+2*this._viewportMargin,ke=nt.height-Qe+this._viewportMargin;else{const J=Math.min(nt.bottom-Ae.y+nt.top,Ae.y),We=this._lastBoundingBoxSize.height;ke=2*J,ct=Ae.y-J,ke>We&&!this._isInitialRender&&!this._growAfterOpen&&(ct=Ae.y-We/2)}if("end"===ze.overlayX&&!et||"start"===ze.overlayX&&et)Xt=nt.width-Ae.x+this._viewportMargin,Ke=Ae.x-this._viewportMargin;else if("start"===ze.overlayX&&!et||"end"===ze.overlayX&&et)Be=Ae.x,Ke=nt.right-Ae.x;else{const J=Math.min(nt.right-Ae.x+nt.left,Ae.x),We=this._lastBoundingBoxSize.width;Ke=2*J,Be=Ae.x-J,Ke>We&&!this._isInitialRender&&!this._growAfterOpen&&(Be=Ae.x-We/2)}return{top:ct,left:Be,bottom:Qe,right:Xt,width:Ke,height:ke}}_setBoundingBoxStyles(Ae,ze){const nt=this._calculateBoundingBoxRect(Ae,ze);!this._isInitialRender&&!this._growAfterOpen&&(nt.height=Math.min(nt.height,this._lastBoundingBoxSize.height),nt.width=Math.min(nt.width,this._lastBoundingBoxSize.width));const et={};if(this._hasExactPosition())et.top=et.left="0",et.bottom=et.right=et.maxHeight=et.maxWidth="",et.width=et.height="100%";else{const ke=this._overlayRef.getConfig().maxHeight,ct=this._overlayRef.getConfig().maxWidth;et.height=(0,A.HM)(nt.height),et.top=(0,A.HM)(nt.top),et.bottom=(0,A.HM)(nt.bottom),et.width=(0,A.HM)(nt.width),et.left=(0,A.HM)(nt.left),et.right=(0,A.HM)(nt.right),et.alignItems="center"===ze.overlayX?"center":"end"===ze.overlayX?"flex-end":"flex-start",et.justifyContent="center"===ze.overlayY?"center":"bottom"===ze.overlayY?"flex-end":"flex-start",ke&&(et.maxHeight=(0,A.HM)(ke)),ct&&(et.maxWidth=(0,A.HM)(ct))}this._lastBoundingBoxSize=nt,De(this._boundingBox.style,et)}_resetBoundingBoxStyles(){De(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){De(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(Ae,ze){const nt={},et=this._hasExactPosition(),ke=this._hasFlexibleDimensions,ct=this._overlayRef.getConfig();if(et){const Ke=this._viewportRuler.getViewportScrollPosition();De(nt,this._getExactOverlayY(ze,Ae,Ke)),De(nt,this._getExactOverlayX(ze,Ae,Ke))}else nt.position="static";let Qe="",Et=this._getOffset(ze,"x"),lt=this._getOffset(ze,"y");Et&&(Qe+=`translateX(${Et}px) `),lt&&(Qe+=`translateY(${lt}px)`),nt.transform=Qe.trim(),ct.maxHeight&&(et?nt.maxHeight=(0,A.HM)(ct.maxHeight):ke&&(nt.maxHeight="")),ct.maxWidth&&(et?nt.maxWidth=(0,A.HM)(ct.maxWidth):ke&&(nt.maxWidth="")),De(this._pane.style,nt)}_getExactOverlayY(Ae,ze,nt){let et={top:"",bottom:""},ke=this._getOverlayPoint(ze,this._overlayRect,Ae);return this._isPushed&&(ke=this._pushOverlayOnScreen(ke,this._overlayRect,nt)),"bottom"===Ae.overlayY?et.bottom=this._document.documentElement.clientHeight-(ke.y+this._overlayRect.height)+"px":et.top=(0,A.HM)(ke.y),et}_getExactOverlayX(Ae,ze,nt){let ct,et={left:"",right:""},ke=this._getOverlayPoint(ze,this._overlayRect,Ae);return this._isPushed&&(ke=this._pushOverlayOnScreen(ke,this._overlayRect,nt)),ct=this._isRtl()?"end"===Ae.overlayX?"left":"right":"end"===Ae.overlayX?"right":"left","right"===ct?et.right=this._document.documentElement.clientWidth-(ke.x+this._overlayRect.width)+"px":et.left=(0,A.HM)(ke.x),et}_getScrollVisibility(){const Ae=this._getOriginRect(),ze=this._pane.getBoundingClientRect(),nt=this._scrollables.map(et=>et.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:xe(Ae,nt),isOriginOutsideView:re(Ae,nt),isOverlayClipped:xe(ze,nt),isOverlayOutsideView:re(ze,nt)}}_subtractOverflows(Ae,...ze){return ze.reduce((nt,et)=>nt-Math.max(et,0),Ae)}_getNarrowedViewportRect(){const Ae=this._document.documentElement.clientWidth,ze=this._document.documentElement.clientHeight,nt=this._viewportRuler.getViewportScrollPosition();return{top:nt.top+this._viewportMargin,left:nt.left+this._viewportMargin,right:nt.left+Ae-this._viewportMargin,bottom:nt.top+ze-this._viewportMargin,width:Ae-2*this._viewportMargin,height:ze-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(Ae,ze){return"x"===ze?null==Ae.offsetX?this._offsetX:Ae.offsetX:null==Ae.offsetY?this._offsetY:Ae.offsetY}_validatePositions(){}_addPanelClasses(Ae){this._pane&&(0,A.Eq)(Ae).forEach(ze=>{""!==ze&&-1===this._appliedPanelClasses.indexOf(ze)&&(this._appliedPanelClasses.push(ze),this._pane.classList.add(ze))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(Ae=>{this._pane.classList.remove(Ae)}),this._appliedPanelClasses=[])}_getOriginRect(){const Ae=this._origin;if(Ae instanceof y.SBq)return Ae.nativeElement.getBoundingClientRect();if(Ae instanceof Element)return Ae.getBoundingClientRect();const ze=Ae.width||0,nt=Ae.height||0;return{top:Ae.y,bottom:Ae.y+nt,left:Ae.x,right:Ae.x+ze,height:nt,width:ze}}}function De(kt,Ae){for(let ze in Ae)Ae.hasOwnProperty(ze)&&(kt[ze]=Ae[ze]);return kt}function st(kt){if("number"!=typeof kt&&null!=kt){const[Ae,ze]=kt.split(N);return ze&&"px"!==ze?null:parseFloat(Ae)}return kt||null}function je(kt){return{top:Math.floor(kt.top),right:Math.floor(kt.right),bottom:Math.floor(kt.bottom),left:Math.floor(kt.left),width:Math.floor(kt.width),height:Math.floor(kt.height)}}const fe="cdk-global-overlay-wrapper";class de{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(Ae){const ze=Ae.getConfig();this._overlayRef=Ae,this._width&&!ze.width&&Ae.updateSize({width:this._width}),this._height&&!ze.height&&Ae.updateSize({height:this._height}),Ae.hostElement.classList.add(fe),this._isDisposed=!1}top(Ae=""){return this._bottomOffset="",this._topOffset=Ae,this._alignItems="flex-start",this}left(Ae=""){return this._xOffset=Ae,this._xPosition="left",this}bottom(Ae=""){return this._topOffset="",this._bottomOffset=Ae,this._alignItems="flex-end",this}right(Ae=""){return this._xOffset=Ae,this._xPosition="right",this}start(Ae=""){return this._xOffset=Ae,this._xPosition="start",this}end(Ae=""){return this._xOffset=Ae,this._xPosition="end",this}width(Ae=""){return this._overlayRef?this._overlayRef.updateSize({width:Ae}):this._width=Ae,this}height(Ae=""){return this._overlayRef?this._overlayRef.updateSize({height:Ae}):this._height=Ae,this}centerHorizontally(Ae=""){return this.left(Ae),this._xPosition="center",this}centerVertically(Ae=""){return this.top(Ae),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const Ae=this._overlayRef.overlayElement.style,ze=this._overlayRef.hostElement.style,nt=this._overlayRef.getConfig(),{width:et,height:ke,maxWidth:ct,maxHeight:Qe}=nt,Et=!("100%"!==et&&"100vw"!==et||ct&&"100%"!==ct&&"100vw"!==ct),lt=!("100%"!==ke&&"100vh"!==ke||Qe&&"100%"!==Qe&&"100vh"!==Qe),Ke=this._xPosition,Be=this._xOffset,Xt="rtl"===this._overlayRef.getConfig().direction;let J="",We="",Ft="";Et?Ft="flex-start":"center"===Ke?(Ft="center",Xt?We=Be:J=Be):Xt?"left"===Ke||"end"===Ke?(Ft="flex-end",J=Be):("right"===Ke||"start"===Ke)&&(Ft="flex-start",We=Be):"left"===Ke||"start"===Ke?(Ft="flex-start",J=Be):("right"===Ke||"end"===Ke)&&(Ft="flex-end",We=Be),Ae.position=this._cssPosition,Ae.marginLeft=Et?"0":J,Ae.marginTop=lt?"0":this._topOffset,Ae.marginBottom=this._bottomOffset,Ae.marginRight=Et?"0":We,ze.justifyContent=Ft,ze.alignItems=lt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const Ae=this._overlayRef.overlayElement.style,ze=this._overlayRef.hostElement,nt=ze.style;ze.classList.remove(fe),nt.justifyContent=nt.alignItems=Ae.marginTop=Ae.marginBottom=Ae.marginLeft=Ae.marginRight=Ae.position="",this._overlayRef=null,this._isDisposed=!0}}let Ce=(()=>{class kt{constructor(ze,nt,et,ke){this._viewportRuler=ze,this._document=nt,this._platform=et,this._overlayContainer=ke}global(){return new de}flexibleConnectedTo(ze){return new te(ze,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(nt){return new(nt||kt)(y.LFG(e.rL),y.LFG(t.K0),y.LFG(l.t4),y.LFG(r))};static#t=this.\u0275prov=y.Yz7({token:kt,factory:kt.\u0275fac,providedIn:"root"})}return kt})(),le=0,ge=(()=>{class kt{constructor(ze,nt,et,ke,ct,Qe,Et,lt,Ke,Be,Xt,J){this.scrollStrategies=ze,this._overlayContainer=nt,this._componentFactoryResolver=et,this._positionBuilder=ke,this._keyboardDispatcher=ct,this._injector=Qe,this._ngZone=Et,this._document=lt,this._directionality=Ke,this._location=Be,this._outsideClickDispatcher=Xt,this._animationsModuleType=J}create(ze){const nt=this._createHostElement(),et=this._createPaneElement(nt),ke=this._createPortalOutlet(et),ct=new S(ze);return ct.direction=ct.direction||this._directionality.value,new g(ke,nt,et,ct,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(ze){const nt=this._document.createElement("div");return nt.id="cdk-overlay-"+le++,nt.classList.add("cdk-overlay-pane"),ze.appendChild(nt),nt}_createHostElement(){const ze=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(ze),ze}_createPortalOutlet(ze){return this._appRef||(this._appRef=this._injector.get(y.z2F)),new k.u0(ze,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(nt){return new(nt||kt)(y.LFG(he),y.LFG(r),y.LFG(y._Vd),y.LFG(Ce),y.LFG(P),y.LFG(y.zs3),y.LFG(y.R0b),y.LFG(t.K0),y.LFG(I.Is),y.LFG(t.Ye),y.LFG(v),y.LFG(y.QbO,8))};static#t=this.\u0275prov=y.Yz7({token:kt,factory:kt.\u0275fac,providedIn:"root"})}return kt})();const qe=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],oe=new y.OlP("cdk-connected-overlay-scroll-strategy");let ve=(()=>{class kt{constructor(ze){this.elementRef=ze}static#e=this.\u0275fac=function(nt){return new(nt||kt)(y.Y36(y.SBq))};static#t=this.\u0275dir=y.lG2({type:kt,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}return kt})(),ce=(()=>{class kt{get offsetX(){return this._offsetX}set offsetX(ze){this._offsetX=ze,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(ze){this._offsetY=ze,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(ze){this._disposeOnNavigation=ze}constructor(ze,nt,et,ke,ct){this._overlay=ze,this._dir=ct,this._backdropSubscription=G.w0.EMPTY,this._attachSubscription=G.w0.EMPTY,this._detachSubscription=G.w0.EMPTY,this._positionSubscription=G.w0.EMPTY,this._disposeOnNavigation=!1,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new y.vpe,this.positionChange=new y.vpe,this.attach=new y.vpe,this.detach=new y.vpe,this.overlayKeydown=new y.vpe,this.overlayOutsideClick=new y.vpe,this._templatePortal=new k.UE(nt,et),this._scrollStrategyFactory=ke,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(ze){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),ze.origin&&this.open&&this._position.apply()),ze.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=qe);const ze=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=ze.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=ze.detachments().subscribe(()=>this.detach.emit()),ze.keydownEvents().subscribe(nt=>{this.overlayKeydown.next(nt),nt.keyCode===W.hY&&!this.disableClose&&!(0,W.Vb)(nt)&&(nt.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(nt=>{this.overlayOutsideClick.next(nt)})}_buildConfig(){const ze=this._position=this.positionStrategy||this._createPositionStrategy(),nt=new S({direction:this._dir,positionStrategy:ze,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(nt.width=this.width),(this.height||0===this.height)&&(nt.height=this.height),(this.minWidth||0===this.minWidth)&&(nt.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(nt.minHeight=this.minHeight),this.backdropClass&&(nt.backdropClass=this.backdropClass),this.panelClass&&(nt.panelClass=this.panelClass),nt}_updatePositionStrategy(ze){const nt=this.positions.map(et=>({originX:et.originX,originY:et.originY,overlayX:et.overlayX,overlayY:et.overlayY,offsetX:et.offsetX||this.offsetX,offsetY:et.offsetY||this.offsetY,panelClass:et.panelClass||void 0}));return ze.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(nt).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const ze=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(ze),ze}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof ve?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(ze=>{this.backdropClick.emit(ze)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function x(kt,Ae=!1){return(0,d.e)((ze,nt)=>{let et=0;ze.subscribe((0,E.x)(nt,ke=>{const ct=kt(ke,et++);(ct||Ae)&&nt.next(ke),!ct&&nt.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(ze=>{this.positionChange.emit(ze),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static#e=this.\u0275fac=function(nt){return new(nt||kt)(y.Y36(ge),y.Y36(y.Rgc),y.Y36(y.s_b),y.Y36(oe),y.Y36(I.Is,8))};static#t=this.\u0275dir=y.lG2({type:kt,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",y.VuI],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition",y.VuI],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",y.VuI],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen",y.VuI],push:["cdkConnectedOverlayPush","push",y.VuI],disposeOnNavigation:["cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",y.VuI]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[y.Xq5,y.TTD]})}return kt})();const Ze={provide:oe,deps:[ge],useFactory:function Ge(kt){return()=>kt.scrollStrategies.reposition()}};let wt=(()=>{class kt{static#e=this.\u0275fac=function(nt){return new(nt||kt)};static#t=this.\u0275mod=y.oAB({type:kt});static#i=this.\u0275inj=y.cJS({providers:[ge,Ze],imports:[I.vT,k.eL,e.Cl,e.Cl]})}return kt})()},2831:(He,X,p)=>{"use strict";p.d(X,{Mq:()=>V,Oy:()=>ae,_i:()=>G,ht:()=>q,i$:()=>x,kV:()=>K,qK:()=>O,sA:()=>ie,t4:()=>A});var e=p(9212),t=p(6814);let y;try{y=typeof Intl<"u"&&Intl.v8BreakIterator}catch{y=!1}let M,A=(()=>{class ue{constructor(xe){this._platformId=xe,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&&!y)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function($){return new($||ue)(e.LFG(e.Lbi))};static#t=this.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})();const m=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function O(){if(M)return M;if("object"!=typeof document||!document)return M=new Set(m),M;let ue=document.createElement("input");return M=new Set(m.filter(re=>(ue.setAttribute("type",re),ue.type===re))),M}let d,I,k,j;function x(ue){return function E(){if(null==d&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>d=!0}))}finally{d=d||!1}return d}()?ue:!!ue.capture}function V(){if(null==k){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return k=!1,k;if("scrollBehavior"in document.documentElement.style)k=!0;else{const ue=Element.prototype.scrollTo;k=!!ue&&!/\{\s*\[native code\]\s*\}/.test(ue.toString())}}return k}function G(){if("object"!=typeof document||!document)return 0;if(null==I){const ue=document.createElement("div"),re=ue.style;ue.dir="rtl",re.width="1px",re.overflow="auto",re.visibility="hidden",re.pointerEvents="none",re.position="absolute";const xe=document.createElement("div"),$=xe.style;$.width="2px",$.height="1px",ue.appendChild(xe),document.body.appendChild(ue),I=0,0===ue.scrollLeft&&(ue.scrollLeft=1,I=0===ue.scrollLeft?1:2),ue.remove()}return I}function K(ue){if(function W(){if(null==j){const ue=typeof document<"u"?document.head:null;j=!(!ue||!ue.createShadowRoot&&!ue.attachShadow)}return j}()){const re=ue.getRootNode?ue.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&re instanceof ShadowRoot)return re}return null}function q(){let ue=typeof document<"u"&&document?document.activeElement:null;for(;ue&&ue.shadowRoot;){const re=ue.shadowRoot.activeElement;if(re===ue)break;ue=re}return ue}function ie(ue){return ue.composedPath?ue.composedPath()[0]:ue.target}function ae(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},8484:(He,X,p)=>{"use strict";p.d(X,{C5:()=>E,Pl:()=>q,UE:()=>x,eL:()=>ae,en:()=>k,ig:()=>W,u0:()=>G});var e=p(9212),t=p(6814);class d{attach(xe){return this._attachedHost=xe,xe.attach(this)}detach(){let xe=this._attachedHost;null!=xe&&(this._attachedHost=null,xe.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(xe){this._attachedHost=xe}}class E extends d{constructor(xe,$,he,S,n){super(),this.component=xe,this.viewContainerRef=$,this.injector=he,this.componentFactoryResolver=S,this.projectableNodes=n}}class x extends d{constructor(xe,$,he,S){super(),this.templateRef=xe,this.viewContainerRef=$,this.context=he,this.injector=S}get origin(){return this.templateRef.elementRef}attach(xe,$=this.context){return this.context=$,super.attach(xe)}detach(){return this.context=void 0,super.detach()}}class I extends d{constructor(xe){super(),this.element=xe instanceof e.SBq?xe.nativeElement:xe}}class k{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(xe){return xe instanceof E?(this._attachedPortal=xe,this.attachComponentPortal(xe)):xe instanceof x?(this._attachedPortal=xe,this.attachTemplatePortal(xe)):this.attachDomPortal&&xe instanceof I?(this._attachedPortal=xe,this.attachDomPortal(xe)):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(xe){this._disposeFn=xe}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class G extends k{constructor(xe,$,he,S,n){super(),this.outletElement=xe,this._componentFactoryResolver=$,this._appRef=he,this._defaultInjector=S,this.attachDomPortal=s=>{const f=s.element,h=this._document.createComment("dom-portal");f.parentNode.insertBefore(h,f),this.outletElement.appendChild(f),this._attachedPortal=s,super.setDisposeFn(()=>{h.parentNode&&h.parentNode.replaceChild(f,h)})},this._document=n}attachComponentPortal(xe){const he=(xe.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(xe.component);let S;return xe.viewContainerRef?(S=xe.viewContainerRef.createComponent(he,xe.viewContainerRef.length,xe.injector||xe.viewContainerRef.injector,xe.projectableNodes||void 0),this.setDisposeFn(()=>S.destroy())):(S=he.create(xe.injector||this._defaultInjector||e.zs3.NULL),this._appRef.attachView(S.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(S.hostView),S.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(S)),this._attachedPortal=xe,S}attachTemplatePortal(xe){let $=xe.viewContainerRef,he=$.createEmbeddedView(xe.templateRef,xe.context,{injector:xe.injector});return he.rootNodes.forEach(S=>this.outletElement.appendChild(S)),he.detectChanges(),this.setDisposeFn(()=>{let S=$.indexOf(he);-1!==S&&$.remove(S)}),this._attachedPortal=xe,he}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(xe){return xe.hostView.rootNodes[0]}}let W=(()=>{class re extends x{constructor($,he){super($,he)}static#e=this.\u0275fac=function(he){return new(he||re)(e.Y36(e.Rgc),e.Y36(e.s_b))};static#t=this.\u0275dir=e.lG2({type:re,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[e.qOj]})}return re})(),q=(()=>{class re extends k{constructor($,he,S){super(),this._componentFactoryResolver=$,this._viewContainerRef=he,this._isInitialized=!1,this.attached=new e.vpe,this.attachDomPortal=n=>{const s=n.element,f=this._document.createComment("dom-portal");n.setAttachedHost(this),s.parentNode.insertBefore(f,s),this._getRootNode().appendChild(s),this._attachedPortal=n,super.setDisposeFn(()=>{f.parentNode&&f.parentNode.replaceChild(s,f)})},this._document=S}get portal(){return this._attachedPortal}set portal($){this.hasAttached()&&!$&&!this._isInitialized||(this.hasAttached()&&super.detach(),$&&super.attach($),this._attachedPortal=$||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal($){$.setAttachedHost(this);const he=null!=$.viewContainerRef?$.viewContainerRef:this._viewContainerRef,n=($.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory($.component),s=he.createComponent(n,he.length,$.injector||he.injector,$.projectableNodes||void 0);return he!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=$,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal($){$.setAttachedHost(this);const he=this._viewContainerRef.createEmbeddedView($.templateRef,$.context,{injector:$.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=$,this._attachedRef=he,this.attached.emit(he),he}_getRootNode(){const $=this._viewContainerRef.element.nativeElement;return $.nodeType===$.ELEMENT_NODE?$:$.parentNode}static#e=this.\u0275fac=function(he){return new(he||re)(e.Y36(e._Vd),e.Y36(e.s_b),e.Y36(t.K0))};static#t=this.\u0275dir=e.lG2({type:re,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[e.qOj]})}return re})(),ae=(()=>{class re{static#e=this.\u0275fac=function(he){return new(he||re)};static#t=this.\u0275mod=e.oAB({type:re});static#i=this.\u0275inj=e.cJS({})}return re})()},5407:(He,X,p)=>{"use strict";p.d(X,{PQ:()=>f,ZD:()=>st,mF:()=>s,Cl:()=>je,rL:()=>w});var e=p(2495),t=p(9212),y=p(8645),A=p(2096),l=p(5592),M=p(2438),m=p(1954),O=p(7394);const d={schedule($e){let ye=requestAnimationFrame,fe=cancelAnimationFrame;const{delegate:de}=d;de&&(ye=de.requestAnimationFrame,fe=de.cancelAnimationFrame);const Ce=ye(le=>{fe=void 0,$e(le)});return new O.w0(()=>fe?.(Ce))},requestAnimationFrame(...$e){const{delegate:ye}=d;return(ye?.requestAnimationFrame||requestAnimationFrame)(...$e)},cancelAnimationFrame(...$e){const{delegate:ye}=d;return(ye?.cancelAnimationFrame||cancelAnimationFrame)(...$e)},delegate:void 0};var x=p(2631);new class I extends x.v{flush(ye){this._active=!0;const fe=this._scheduled;this._scheduled=void 0;const{actions:de}=this;let Ce;ye=ye||de.shift();do{if(Ce=ye.execute(ye.state,ye.delay))break}while((ye=de[0])&&ye.id===fe&&de.shift());if(this._active=!1,Ce){for(;(ye=de[0])&&ye.id===fe&&de.shift();)ye.unsubscribe();throw Ce}}}(class E extends m.o{constructor(ye,fe){super(ye,fe),this.scheduler=ye,this.work=fe}requestAsyncId(ye,fe,de=0){return null!==de&&de>0?super.requestAsyncId(ye,fe,de):(ye.actions.push(this),ye._scheduled||(ye._scheduled=d.requestAnimationFrame(()=>ye.flush(void 0))))}recycleAsyncId(ye,fe,de=0){var Ce;if(null!=de?de>0:this.delay>0)return super.recycleAsyncId(ye,fe,de);const{actions:le}=ye;null!=fe&&(null===(Ce=le[le.length-1])||void 0===Ce?void 0:Ce.id)!==fe&&(d.cancelAnimationFrame(fe),ye._scheduled=void 0)}});p(6410);var j=p(9028),W=p(2181),K=p(9773),q=p(2831),ie=p(6814),ae=p(9388);let s=(()=>{class $e{constructor(fe,de,Ce){this._ngZone=fe,this._platform=de,this._scrolled=new y.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Ce}register(fe){this.scrollContainers.has(fe)||this.scrollContainers.set(fe,fe.elementScrolled().subscribe(()=>this._scrolled.next(fe)))}deregister(fe){const de=this.scrollContainers.get(fe);de&&(de.unsubscribe(),this.scrollContainers.delete(fe))}scrolled(fe=20){return this._platform.isBrowser?new l.y(de=>{this._globalSubscription||this._addGlobalListener();const Ce=fe>0?this._scrolled.pipe((0,j.e)(fe)).subscribe(de):this._scrolled.subscribe(de);return this._scrolledCount++,()=>{Ce.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,A.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((fe,de)=>this.deregister(de)),this._scrolled.complete()}ancestorScrolled(fe,de){const Ce=this.getAncestorScrollContainers(fe);return this.scrolled(de).pipe((0,W.h)(le=>!le||Ce.indexOf(le)>-1))}getAncestorScrollContainers(fe){const de=[];return this.scrollContainers.forEach((Ce,le)=>{this._scrollableContainsElement(le,fe)&&de.push(le)}),de}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(fe,de){let Ce=(0,e.fI)(de),le=fe.getElementRef().nativeElement;do{if(Ce==le)return!0}while(Ce=Ce.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const fe=this._getWindow();return(0,M.R)(fe.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(de){return new(de||$e)(t.LFG(t.R0b),t.LFG(q.t4),t.LFG(ie.K0,8))};static#t=this.\u0275prov=t.Yz7({token:$e,factory:$e.\u0275fac,providedIn:"root"})}return $e})(),f=(()=>{class $e{constructor(fe,de,Ce,le){this.elementRef=fe,this.scrollDispatcher=de,this.ngZone=Ce,this.dir=le,this._destroyed=new y.x,this._elementScrolled=new l.y(ge=>this.ngZone.runOutsideAngular(()=>(0,M.R)(this.elementRef.nativeElement,"scroll").pipe((0,K.R)(this._destroyed)).subscribe(ge)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(fe){const de=this.elementRef.nativeElement,Ce=this.dir&&"rtl"==this.dir.value;null==fe.left&&(fe.left=Ce?fe.end:fe.start),null==fe.right&&(fe.right=Ce?fe.start:fe.end),null!=fe.bottom&&(fe.top=de.scrollHeight-de.clientHeight-fe.bottom),Ce&&0!=(0,q._i)()?(null!=fe.left&&(fe.right=de.scrollWidth-de.clientWidth-fe.left),2==(0,q._i)()?fe.left=fe.right:1==(0,q._i)()&&(fe.left=fe.right?-fe.right:fe.right)):null!=fe.right&&(fe.left=de.scrollWidth-de.clientWidth-fe.right),this._applyScrollToOptions(fe)}_applyScrollToOptions(fe){const de=this.elementRef.nativeElement;(0,q.Mq)()?de.scrollTo(fe):(null!=fe.top&&(de.scrollTop=fe.top),null!=fe.left&&(de.scrollLeft=fe.left))}measureScrollOffset(fe){const de="left",le=this.elementRef.nativeElement;if("top"==fe)return le.scrollTop;if("bottom"==fe)return le.scrollHeight-le.clientHeight-le.scrollTop;const ge=this.dir&&"rtl"==this.dir.value;return"start"==fe?fe=ge?"right":de:"end"==fe&&(fe=ge?de:"right"),ge&&2==(0,q._i)()?fe==de?le.scrollWidth-le.clientWidth-le.scrollLeft:le.scrollLeft:ge&&1==(0,q._i)()?fe==de?le.scrollLeft+le.scrollWidth-le.clientWidth:-le.scrollLeft:fe==de?le.scrollLeft:le.scrollWidth-le.clientWidth-le.scrollLeft}static#e=this.\u0275fac=function(de){return new(de||$e)(t.Y36(t.SBq),t.Y36(s),t.Y36(t.R0b),t.Y36(ae.Is,8))};static#t=this.\u0275dir=t.lG2({type:$e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}return $e})(),w=(()=>{class $e{constructor(fe,de,Ce){this._platform=fe,this._change=new y.x,this._changeListener=le=>{this._change.next(le)},this._document=Ce,de.runOutsideAngular(()=>{if(fe.isBrowser){const le=this._getWindow();le.addEventListener("resize",this._changeListener),le.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const fe=this._getWindow();fe.removeEventListener("resize",this._changeListener),fe.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const fe={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),fe}getViewportRect(){const fe=this.getViewportScrollPosition(),{width:de,height:Ce}=this.getViewportSize();return{top:fe.top,left:fe.left,bottom:fe.top+Ce,right:fe.left+de,height:Ce,width:de}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const fe=this._document,de=this._getWindow(),Ce=fe.documentElement,le=Ce.getBoundingClientRect();return{top:-le.top||fe.body.scrollTop||de.scrollY||Ce.scrollTop||0,left:-le.left||fe.body.scrollLeft||de.scrollX||Ce.scrollLeft||0}}change(fe=20){return fe>0?this._change.pipe((0,j.e)(fe)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const fe=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:fe.innerWidth,height:fe.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(de){return new(de||$e)(t.LFG(q.t4),t.LFG(t.R0b),t.LFG(ie.K0,8))};static#t=this.\u0275prov=t.Yz7({token:$e,factory:$e.\u0275fac,providedIn:"root"})}return $e})(),st=(()=>{class $e{static#e=this.\u0275fac=function(de){return new(de||$e)};static#t=this.\u0275mod=t.oAB({type:$e});static#i=this.\u0275inj=t.cJS({})}return $e})(),je=(()=>{class $e{static#e=this.\u0275fac=function(de){return new(de||$e)};static#t=this.\u0275mod=t.oAB({type:$e});static#i=this.\u0275inj=t.cJS({imports:[ae.vT,st,ae.vT,st]})}return $e})()},1657:(He,X,p)=>{"use strict";p.d(X,{B8:()=>q,KL:()=>I,U5:()=>ue,be:()=>K,gx:()=>W,po:()=>ae,st:()=>ie,u6:()=>k});var e=p(4300),t=p(9388),y=p(6028),A=p(9212),l=p(2831),M=p(8645),m=p(2096),O=p(7921),d=p(9773);function E(re,xe){1&re&&A.Hsn(0)}const x=["*"];let I=(()=>{class re{constructor($){this._elementRef=$}focus(){this._elementRef.nativeElement.focus()}static#e=this.\u0275fac=function(he){return new(he||re)(A.Y36(A.SBq))};static#t=this.\u0275dir=A.lG2({type:re,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]})}return re})(),k=(()=>{class re{constructor($){this.template=$}static#e=this.\u0275fac=function(he){return new(he||re)(A.Y36(A.Rgc))};static#t=this.\u0275dir=A.lG2({type:re,selectors:[["","cdkStepLabel",""]]})}return re})(),V=0;const W=new A.OlP("STEPPER_GLOBAL_OPTIONS");let K=(()=>{class re{get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed($){this._completedOverride=$}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError($){this._customError=$}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}constructor($,he){this._stepper=$,this.interacted=!1,this.interactedStream=new A.vpe,this.editable=!0,this.optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=he||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??null!=this._customError}static#e=this.\u0275fac=function(he){return new(he||re)(A.Y36((0,A.Gpc)(()=>q)),A.Y36(W,8))};static#t=this.\u0275cmp=A.Xpm({type:re,selectors:[["cdk-step"]],contentQueries:function(he,S,n){if(1&he&&A.Suo(n,k,5),2&he){let s;A.iGM(s=A.CRH())&&(S.stepLabel=s.first)}},viewQuery:function(he,S){if(1&he&&A.Gf(A.Rgc,7),2&he){let n;A.iGM(n=A.CRH())&&(S.content=n.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state",editable:["editable","editable",A.VuI],optional:["optional","optional",A.VuI],completed:["completed","completed",A.VuI],hasError:["hasError","hasError",A.VuI]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[A.Xq5,A.TTD],ngContentSelectors:x,decls:1,vars:0,template:function(he,S){1&he&&(A.F$t(),A.YNc(0,E,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}return re})(),q=(()=>{class re{get selectedIndex(){return this._selectedIndex}set selectedIndex($){this.steps&&this._steps?(this._isValidIndex($),this.selected?._markAsInteracted(),this._selectedIndex!==$&&!this._anyControlsInvalidOrPending($)&&($>=this._selectedIndex||this.steps.toArray()[$].editable)&&this._updateSelectedItemIndex($)):this._selectedIndex=$}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected($){this.selectedIndex=$&&this.steps?this.steps.toArray().indexOf($):-1}get orientation(){return this._orientation}set orientation($){this._orientation=$,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===$)}constructor($,he,S){this._dir=$,this._changeDetectorRef=he,this._elementRef=S,this._destroyed=new M.x,this.steps=new A.n_E,this._sortedHeaders=new A.n_E,this.linear=!1,this._selectedIndex=0,this.selectionChange=new A.vpe,this.selectedIndexChange=new A.vpe,this._orientation="horizontal",this._groupId=V++}ngAfterContentInit(){this._steps.changes.pipe((0,O.O)(this._steps),(0,d.R)(this._destroyed)).subscribe($=>{this.steps.reset($.filter(he=>he._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe((0,O.O)(this._stepHeader),(0,d.R)(this._destroyed)).subscribe($=>{this._sortedHeaders.reset($.toArray().sort((he,S)=>he._elementRef.nativeElement.compareDocumentPosition(S._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,m.of)()).pipe((0,O.O)(this._layoutDirection()),(0,d.R)(this._destroyed)).subscribe($=>this._keyManager.withHorizontalOrientation($)),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($=>$.reset()),this._stateChanged()}_getStepLabelId($){return`cdk-step-label-${this._groupId}-${$}`}_getStepContentId($){return`cdk-step-content-${this._groupId}-${$}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection($){const he=$-this._selectedIndex;return he<0?"rtl"===this._layoutDirection()?"next":"previous":he>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType($,he="number"){const S=this.steps.toArray()[$],n=this._isCurrentStep($);return S._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(S,n):this._getGuidelineLogic(S,n,he)}_getDefaultIndicatorLogic($,he){return $._showError()&&$.hasError&&!he?"error":!$.completed||he?"number":$.editable?"edit":"done"}_getGuidelineLogic($,he,S="number"){return $._showError()&&$.hasError&&!he?"error":$.completed&&!he?"done":$.completed&&he?S:$.editable&&he?"edit":S}_isCurrentStep($){return this._selectedIndex===$}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex($){const he=this.steps.toArray();this.selectionChange.emit({selectedIndex:$,previouslySelectedIndex:this._selectedIndex,selectedStep:he[$],previouslySelectedStep:he[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem($):this._keyManager.updateActiveItem($),this._selectedIndex=$,this.selectedIndexChange.emit(this._selectedIndex),this._stateChanged()}_onKeydown($){const he=(0,y.Vb)($),S=$.keyCode,n=this._keyManager;null==n.activeItemIndex||he||S!==y.L_&&S!==y.K5?n.setFocusOrigin("keyboard").onKeydown($):(this.selectedIndex=n.activeItemIndex,$.preventDefault())}_anyControlsInvalidOrPending($){return!!(this.linear&&$>=0)&&this.steps.toArray().slice(0,$).some(he=>{const S=he.stepControl;return(S?S.invalid||S.pending||!he.interacted:!he.completed)&&!he.optional&&!he._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const $=this._elementRef.nativeElement,he=(0,l.ht)();return $===he||$.contains(he)}_isValidIndex($){return $>-1&&(!this.steps||$<this.steps.length)}static#e=this.\u0275fac=function(he){return new(he||re)(A.Y36(t.Is,8),A.Y36(A.sBO),A.Y36(A.SBq))};static#t=this.\u0275dir=A.lG2({type:re,selectors:[["","cdkStepper",""]],contentQueries:function(he,S,n){if(1&he&&(A.Suo(n,K,5),A.Suo(n,I,5)),2&he){let s;A.iGM(s=A.CRH())&&(S._steps=s),A.iGM(s=A.CRH())&&(S._stepHeader=s)}},inputs:{linear:["linear","linear",A.VuI],selectedIndex:["selectedIndex","selectedIndex",A.Cb_],selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange",selectedIndexChange:"selectedIndexChange"},exportAs:["cdkStepper"],features:[A.Xq5]})}return re})(),ie=(()=>{class re{constructor($){this._stepper=$,this.type="submit"}static#e=this.\u0275fac=function(he){return new(he||re)(A.Y36(q))};static#t=this.\u0275dir=A.lG2({type:re,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(he,S){1&he&&A.NdJ("click",function(){return S._stepper.next()}),2&he&&A.Ikx("type",S.type)},inputs:{type:"type"}})}return re})(),ae=(()=>{class re{constructor($){this._stepper=$,this.type="button"}static#e=this.\u0275fac=function(he){return new(he||re)(A.Y36(q))};static#t=this.\u0275dir=A.lG2({type:re,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(he,S){1&he&&A.NdJ("click",function(){return S._stepper.previous()}),2&he&&A.Ikx("type",S.type)},inputs:{type:"type"}})}return re})(),ue=(()=>{class re{static#e=this.\u0275fac=function(he){return new(he||re)};static#t=this.\u0275mod=A.oAB({type:re});static#i=this.\u0275inj=A.cJS({imports:[t.vT]})}return re})()},1894:(He,X,p)=>{"use strict";p.d(X,{HI:()=>G,Hs:()=>$,Ud:()=>h,VY:()=>V,XJ:()=>f,Xx:()=>n,_0:()=>xe,cu:()=>j,nZ:()=>D,rO:()=>K});var e=p(8337),t=p(2664),y=p(8645),A=p(5619),l=p(2096),M=p(8180),m=p(2181),O=p(9773),d=p(9212),E=p(2495),x=p(9388);class I{constructor(){this.expansionModel=new e.Ov(!0)}toggle(v){this.expansionModel.toggle(this._trackByValue(v))}expand(v){this.expansionModel.select(this._trackByValue(v))}collapse(v){this.expansionModel.deselect(this._trackByValue(v))}isExpanded(v){return this.expansionModel.isSelected(this._trackByValue(v))}toggleDescendants(v){this.expansionModel.isSelected(this._trackByValue(v))?this.collapseDescendants(v):this.expandDescendants(v)}collapseAll(){this.expansionModel.clear()}expandDescendants(v){let r=[v];r.push(...this.getDescendants(v)),this.expansionModel.select(...r.map(g=>this._trackByValue(g)))}collapseDescendants(v){let r=[v];r.push(...this.getDescendants(v)),this.expansionModel.deselect(...r.map(g=>this._trackByValue(g)))}_trackByValue(v){return this.trackBy?this.trackBy(v):v}}class V extends I{constructor(v,r){super(),this.getChildren=v,this.options=r,this.options&&(this.trackBy=this.options.trackBy)}expandAll(){this.expansionModel.clear();const v=this.dataNodes.reduce((r,g)=>[...r,...this.getDescendants(g),g],[]);this.expansionModel.select(...v.map(r=>this._trackByValue(r)))}getDescendants(v){const r=[];return this._getDescendants(r,v),r.splice(1)}_getDescendants(v,r){v.push(r);const g=this.getChildren(r);Array.isArray(g)?g.forEach(H=>this._getDescendants(v,H)):(0,t.b)(g)&&g.pipe((0,M.q)(1),(0,m.h)(Boolean)).subscribe(H=>{for(const N of H)this._getDescendants(v,N)})}}const G=new d.OlP("CDK_TREE_NODE_OUTLET_NODE");let j=(()=>{class P{constructor(r,g){this.viewContainer=r,this._node=g}static#e=this.\u0275fac=function(g){return new(g||P)(d.Y36(d.s_b),d.Y36(G,8))};static#t=this.\u0275dir=d.lG2({type:P,selectors:[["","cdkTreeNodeOutlet",""]]})}return P})();class W{constructor(v){this.$implicit=v}}let K=(()=>{class P{constructor(r){this.template=r}static#e=this.\u0275fac=function(g){return new(g||P)(d.Y36(d.Rgc))};static#t=this.\u0275dir=d.lG2({type:P,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}})}return P})(),xe=(()=>{class P{get dataSource(){return this._dataSource}set dataSource(r){this._dataSource!==r&&this._switchDataSource(r)}constructor(r,g){this._differs=r,this._changeDetectorRef=g,this._onDestroy=new y.x,this._levels=new Map,this.viewChange=new A.X({start:0,end:Number.MAX_VALUE})}ngOnInit(){this._dataDiffer=this._differs.find([]).create(this.trackBy)}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null)}ngAfterContentChecked(){const r=this._nodeDefs.filter(g=>!g.when);this._defaultNodeDef=r[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(r){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),r||this._nodeOutlet.viewContainer.clear(),this._dataSource=r,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let r;(0,e.Z9)(this._dataSource)?r=this._dataSource.connect(this):(0,t.b)(this._dataSource)?r=this._dataSource:Array.isArray(this._dataSource)&&(r=(0,l.of)(this._dataSource)),r&&(this._dataSubscription=r.pipe((0,O.R)(this._onDestroy)).subscribe(g=>this.renderNodeChanges(g)))}renderNodeChanges(r,g=this._dataDiffer,H=this._nodeOutlet.viewContainer,N){const te=g.diff(r);te&&(te.forEachOperation((De,st,je)=>{if(null==De.previousIndex)this.insertNode(r[je],je,H,N);else if(null==je)H.remove(st),this._levels.delete(De.item);else{const $e=H.get(st);H.move($e,je)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(r,g){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(N=>N.when&&N.when(g,r))||this._defaultNodeDef}insertNode(r,g,H,N){const te=this._getNodeDef(r,g),De=new W(r);De.level=this.treeControl.getLevel?this.treeControl.getLevel(r):typeof N<"u"&&this._levels.has(N)?this._levels.get(N)+1:0,this._levels.set(r,De.level),(H||this._nodeOutlet.viewContainer).createEmbeddedView(te.template,De,g),$.mostRecentTreeNode&&($.mostRecentTreeNode.data=r)}static#e=this.\u0275fac=function(g){return new(g||P)(d.Y36(d.ZZ4),d.Y36(d.sBO))};static#t=this.\u0275cmp=d.Xpm({type:P,selectors:[["cdk-tree"]],contentQueries:function(g,H,N){if(1&g&&d.Suo(N,K,5),2&g){let te;d.iGM(te=d.CRH())&&(H._nodeDefs=te)}},viewQuery:function(g,H){if(1&g&&d.Gf(j,7),2&g){let N;d.iGM(N=d.CRH())&&(H._nodeOutlet=N.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,H){1&g&&d.GkF(0,0)},dependencies:[j],encapsulation:2})}return P})(),$=(()=>{class P{get role(){return"treeitem"}set role(r){this._elementRef.nativeElement.setAttribute("role",r)}static#e=this.mostRecentTreeNode=null;get data(){return this._data}set data(r){r!==this._data&&(this._data=r,this._setRoleFromData(),this._dataChanges.next())}get isExpanded(){return this._tree.treeControl.isExpanded(this._data)}get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}constructor(r,g){this._elementRef=r,this._tree=g,this._destroyed=new y.x,this._dataChanges=new y.x,P.mostRecentTreeNode=this,this.role="treeitem"}ngOnInit(){this._parentNodeAriaLevel=function he(P){let v=P.parentElement;for(;v&&!S(v);)v=v.parentElement;return v?v.classList.contains("cdk-nested-tree-node")?(0,E.su)(v.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngOnDestroy(){P.mostRecentTreeNode===this&&(P.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}static#t=this.\u0275fac=function(g){return new(g||P)(d.Y36(d.SBq),d.Y36(xe))};static#i=this.\u0275dir=d.lG2({type:P,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(g,H){2&g&&d.uIk("aria-expanded",H.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"]})}return P})();function S(P){const v=P.classList;return!(!v?.contains("cdk-nested-tree-node")&&!v?.contains("cdk-tree"))}let n=(()=>{class P extends ${constructor(r,g,H){super(r,g),this._differs=H}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy);const r=this._tree.treeControl.getChildren(this.data);Array.isArray(r)?this.updateChildrenNodes(r):(0,t.b)(r)&&r.pipe((0,O.R)(this._destroyed)).subscribe(g=>this.updateChildrenNodes(g)),this.nodeOutlet.changes.pipe((0,O.R)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){super.ngOnInit()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(r){const g=this._getNodeOutlet();r&&(this._children=r),g&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,g.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const r=this._getNodeOutlet();r&&(r.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const r=this.nodeOutlet;return r&&r.find(g=>!g._node||g._node===this)}static#e=this.\u0275fac=function(g){return new(g||P)(d.Y36(d.SBq),d.Y36(xe),d.Y36(d.ZZ4))};static#t=this.\u0275dir=d.lG2({type:P,selectors:[["cdk-nested-tree-node"]],contentQueries:function(g,H,N){if(1&g&&d.Suo(N,j,5),2&g){let te;d.iGM(te=d.CRH())&&(H.nodeOutlet=te)}},hostAttrs:[1,"cdk-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cdkNestedTreeNode"],features:[d._Bn([{provide:$,useExisting:P},{provide:G,useExisting:P}]),d.qOj]})}return P})();const s=/([A-Za-z%]+)$/;let f=(()=>{class P{get level(){return this._level}set level(r){this._setLevelInput(r)}get indent(){return this._indent}set indent(r){this._setIndentInput(r)}constructor(r,g,H,N){this._treeNode=r,this._tree=g,this._element=H,this._dir=N,this._destroyed=new y.x,this.indentUnits="px",this._indent=40,this._setPadding(),N&&N.change.pipe((0,O.R)(this._destroyed)).subscribe(()=>this._setPadding(!0)),r._dataChanges.subscribe(()=>this._setPadding())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const r=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,g=null==this._level?r:this._level;return"number"==typeof g?`${g*this._indent}${this.indentUnits}`:null}_setPadding(r=!1){const g=this._paddingIndent();if(g!==this._currentPadding||r){const H=this._element.nativeElement,N=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",te="paddingLeft"===N?"paddingRight":"paddingLeft";H.style[N]=g||"",H.style[te]="",this._currentPadding=g}}_setLevelInput(r){this._level=(0,E.su)(r,null),this._setPadding()}_setIndentInput(r){let g=r,H="px";if("string"==typeof r){const N=r.split(s);g=N[0],H=N[1]||H}this.indentUnits=H,this._indent=(0,E.su)(g),this._setPadding()}static#e=this.\u0275fac=function(g){return new(g||P)(d.Y36($),d.Y36(xe),d.Y36(d.SBq),d.Y36(x.Is,8))};static#t=this.\u0275dir=d.lG2({type:P,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}})}return P})(),h=(()=>{class P{get recursive(){return this._recursive}set recursive(r){this._recursive=(0,E.Ig)(r)}constructor(r,g){this._tree=r,this._treeNode=g,this._recursive=!1}_toggle(r){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),r.stopPropagation()}static#e=this.\u0275fac=function(g){return new(g||P)(d.Y36(xe),d.Y36($))};static#t=this.\u0275dir=d.lG2({type:P,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(g,H){1&g&&d.NdJ("click",function(te){return H._toggle(te)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}})}return P})(),D=(()=>{class P{static#e=this.\u0275fac=function(g){return new(g||P)};static#t=this.\u0275mod=d.oAB({type:P});static#i=this.\u0275inj=d.cJS({})}return P})()},6814:(He,X,p)=>{"use strict";p.d(X,{Do:()=>j,ED:()=>hn,EM:()=>Mo,HT:()=>A,JF:()=>va,JJ:()=>kr,K0:()=>M,Mx:()=>Bt,NF:()=>ia,Nd:()=>Va,O5:()=>Ve,OU:()=>Pr,Ov:()=>xn,PC:()=>rn,PM:()=>Oa,RF:()=>Bn,S$:()=>k,Ts:()=>Kn,V_:()=>O,Ye:()=>W,b0:()=>G,bD:()=>Ma,ez:()=>Un,gd:()=>er,i8:()=>jn,mk:()=>bi,n9:()=>cr,q:()=>y,rS:()=>Tr,sg:()=>jt,tP:()=>qn,uU:()=>sa,w_:()=>l});var e=p(9212);let t=null;function y(){return t}function A(Se){t||(t=Se)}class l{}const M=new e.OlP("DocumentToken");let m=(()=>{class Se{historyGo(Ye){throw new Error("Not implemented")}static#e=this.\u0275fac=function(ut){return new(ut||Se)};static#t=this.\u0275prov=e.Yz7({token:Se,factory:()=>(0,e.f3M)(d),providedIn:"platform"})}return Se})();const O=new e.OlP("Location Initialized");let d=(()=>{class Se extends m{constructor(){super(),this._doc=(0,e.f3M)(M),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return y().getBaseHref(this._doc)}onPopState(Ye){const ut=y().getGlobalEventTarget(this._doc,"window");return ut.addEventListener("popstate",Ye,!1),()=>ut.removeEventListener("popstate",Ye)}onHashChange(Ye){const ut=y().getGlobalEventTarget(this._doc,"window");return ut.addEventListener("hashchange",Ye,!1),()=>ut.removeEventListener("hashchange",Ye)}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(Ye){this._location.pathname=Ye}pushState(Ye,ut,ti){this._history.pushState(Ye,ut,ti)}replaceState(Ye,ut,ti){this._history.replaceState(Ye,ut,ti)}forward(){this._history.forward()}back(){this._history.back()}historyGo(Ye=0){this._history.go(Ye)}getState(){return this._history.state}static#e=this.\u0275fac=function(ut){return new(ut||Se)};static#t=this.\u0275prov=e.Yz7({token:Se,factory:()=>new Se,providedIn:"platform"})}return Se})();function E(Se,dt){if(0==Se.length)return dt;if(0==dt.length)return Se;let Ye=0;return Se.endsWith("/")&&Ye++,dt.startsWith("/")&&Ye++,2==Ye?Se+dt.substring(1):1==Ye?Se+dt:Se+"/"+dt}function x(Se){const dt=Se.match(/#|\?|$/),Ye=dt&&dt.index||Se.length;return Se.slice(0,Ye-("/"===Se[Ye-1]?1:0))+Se.slice(Ye)}function I(Se){return Se&&"?"!==Se[0]?"?"+Se:Se}let k=(()=>{class Se{historyGo(Ye){throw new Error("Not implemented")}static#e=this.\u0275fac=function(ut){return new(ut||Se)};static#t=this.\u0275prov=e.Yz7({token:Se,factory:()=>(0,e.f3M)(G),providedIn:"root"})}return Se})();const V=new e.OlP("appBaseHref");let G=(()=>{class Se extends k{constructor(Ye,ut){super(),this._platformLocation=Ye,this._removeListenerFns=[],this._baseHref=ut??this._platformLocation.getBaseHrefFromDOM()??(0,e.f3M)(M).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Ye){this._removeListenerFns.push(this._platformLocation.onPopState(Ye),this._platformLocation.onHashChange(Ye))}getBaseHref(){return this._baseHref}prepareExternalUrl(Ye){return E(this._baseHref,Ye)}path(Ye=!1){const ut=this._platformLocation.pathname+I(this._platformLocation.search),ti=this._platformLocation.hash;return ti&&Ye?`${ut}${ti}`:ut}pushState(Ye,ut,ti,Pe){const ft=this.prepareExternalUrl(ti+I(Pe));this._platformLocation.pushState(Ye,ut,ft)}replaceState(Ye,ut,ti,Pe){const ft=this.prepareExternalUrl(ti+I(Pe));this._platformLocation.replaceState(Ye,ut,ft)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Ye=0){this._platformLocation.historyGo?.(Ye)}static#e=this.\u0275fac=function(ut){return new(ut||Se)(e.LFG(m),e.LFG(V,8))};static#t=this.\u0275prov=e.Yz7({token:Se,factory:Se.\u0275fac,providedIn:"root"})}return Se})(),j=(()=>{class Se extends k{constructor(Ye,ut){super(),this._platformLocation=Ye,this._baseHref="",this._removeListenerFns=[],null!=ut&&(this._baseHref=ut)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Ye){this._removeListenerFns.push(this._platformLocation.onPopState(Ye),this._platformLocation.onHashChange(Ye))}getBaseHref(){return this._baseHref}path(Ye=!1){let ut=this._platformLocation.hash;return null==ut&&(ut="#"),ut.length>0?ut.substring(1):ut}prepareExternalUrl(Ye){const ut=E(this._baseHref,Ye);return ut.length>0?"#"+ut:ut}pushState(Ye,ut,ti,Pe){let ft=this.prepareExternalUrl(ti+I(Pe));0==ft.length&&(ft=this._platformLocation.pathname),this._platformLocation.pushState(Ye,ut,ft)}replaceState(Ye,ut,ti,Pe){let ft=this.prepareExternalUrl(ti+I(Pe));0==ft.length&&(ft=this._platformLocation.pathname),this._platformLocation.replaceState(Ye,ut,ft)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Ye=0){this._platformLocation.historyGo?.(Ye)}static#e=this.\u0275fac=function(ut){return new(ut||Se)(e.LFG(m),e.LFG(V,8))};static#t=this.\u0275prov=e.Yz7({token:Se,factory:Se.\u0275fac})}return Se})(),W=(()=>{class Se{constructor(Ye){this._subject=new e.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=Ye;const ut=this._locationStrategy.getBaseHref();this._basePath=function ae(Se){if(new RegExp("^(https?:)?//").test(Se)){const[,Ye]=Se.split(/\/\/[^\/]+/);return Ye}return Se}(x(ie(ut))),this._locationStrategy.onPopState(ti=>{this._subject.emit({url:this.path(!0),pop:!0,state:ti.state,type:ti.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(Ye=!1){return this.normalize(this._locationStrategy.path(Ye))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Ye,ut=""){return this.path()==this.normalize(Ye+I(ut))}normalize(Ye){return Se.stripTrailingSlash(function q(Se,dt){if(!Se||!dt.startsWith(Se))return dt;const Ye=dt.substring(Se.length);return""===Ye||["/",";","?","#"].includes(Ye[0])?Ye:dt}(this._basePath,ie(Ye)))}prepareExternalUrl(Ye){return Ye&&"/"!==Ye[0]&&(Ye="/"+Ye),this._locationStrategy.prepareExternalUrl(Ye)}go(Ye,ut="",ti=null){this._locationStrategy.pushState(ti,"",Ye,ut),this._notifyUrlChangeListeners(this.prepareExternalUrl(Ye+I(ut)),ti)}replaceState(Ye,ut="",ti=null){this._locationStrategy.replaceState(ti,"",Ye,ut),this._notifyUrlChangeListeners(this.prepareExternalUrl(Ye+I(ut)),ti)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Ye=0){this._locationStrategy.historyGo?.(Ye)}onUrlChange(Ye){return this._urlChangeListeners.push(Ye),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(ut=>{this._notifyUrlChangeListeners(ut.url,ut.state)})),()=>{const ut=this._urlChangeListeners.indexOf(Ye);this._urlChangeListeners.splice(ut,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Ye="",ut){this._urlChangeListeners.forEach(ti=>ti(Ye,ut))}subscribe(Ye,ut,ti){return this._subject.subscribe({next:Ye,error:ut,complete:ti})}static#e=this.normalizeQueryParams=I;static#t=this.joinWithSlash=E;static#i=this.stripTrailingSlash=x;static#n=this.\u0275fac=function(ut){return new(ut||Se)(e.LFG(k))};static#r=this.\u0275prov=e.Yz7({token:Se,factory:()=>function K(){return new W((0,e.LFG)(k))}(),providedIn:"root"})}return Se})();function ie(Se){return Se.replace(/\/index.html$/,"")}var re=function(Se){return Se[Se.Decimal=0]="Decimal",Se[Se.Percent=1]="Percent",Se[Se.Currency=2]="Currency",Se[Se.Scientific=3]="Scientific",Se}(re||{}),$=function(Se){return Se[Se.Format=0]="Format",Se[Se.Standalone=1]="Standalone",Se}($||{}),he=function(Se){return Se[Se.Narrow=0]="Narrow",Se[Se.Abbreviated=1]="Abbreviated",Se[Se.Wide=2]="Wide",Se[Se.Short=3]="Short",Se}(he||{}),S=function(Se){return Se[Se.Short=0]="Short",Se[Se.Medium=1]="Medium",Se[Se.Long=2]="Long",Se[Se.Full=3]="Full",Se}(S||{}),n=function(Se){return Se[Se.Decimal=0]="Decimal",Se[Se.Group=1]="Group",Se[Se.List=2]="List",Se[Se.PercentSign=3]="PercentSign",Se[Se.PlusSign=4]="PlusSign",Se[Se.MinusSign=5]="MinusSign",Se[Se.Exponential=6]="Exponential",Se[Se.SuperscriptingExponent=7]="SuperscriptingExponent",Se[Se.PerMille=8]="PerMille",Se[Se.Infinity=9]="Infinity",Se[Se.NaN=10]="NaN",Se[Se.TimeSeparator=11]="TimeSeparator",Se[Se.CurrencyDecimal=12]="CurrencyDecimal",Se[Se.CurrencyGroup=13]="CurrencyGroup",Se}(n||{});function g(Se,dt){return qe((0,e.cg1)(Se)[e.wAp.DateFormat],dt)}function H(Se,dt){return qe((0,e.cg1)(Se)[e.wAp.TimeFormat],dt)}function N(Se,dt){return qe((0,e.cg1)(Se)[e.wAp.DateTimeFormat],dt)}function te(Se,dt){const Ye=(0,e.cg1)(Se),ut=Ye[e.wAp.NumberSymbols][dt];if(typeof ut>"u"){if(dt===n.CurrencyDecimal)return Ye[e.wAp.NumberSymbols][n.Decimal];if(dt===n.CurrencyGroup)return Ye[e.wAp.NumberSymbols][n.Group]}return ut}function de(Se){if(!Se[e.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${Se[e.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function qe(Se,dt){for(let Ye=dt;Ye>-1;Ye--)if(typeof Se[Ye]<"u")return Se[Ye];throw new Error("Locale data API: locale data undefined")}function oe(Se){const[dt,Ye]=Se.split(":");return{hours:+dt,minutes:+Ye}}const Ze=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,wt={},mt=/((?:[^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 kt=function(Se){return Se[Se.Short=0]="Short",Se[Se.ShortGMT=1]="ShortGMT",Se[Se.Long=2]="Long",Se[Se.Extended=3]="Extended",Se}(kt||{}),Ae=function(Se){return Se[Se.FullYear=0]="FullYear",Se[Se.Month=1]="Month",Se[Se.Date=2]="Date",Se[Se.Hours=3]="Hours",Se[Se.Minutes=4]="Minutes",Se[Se.Seconds=5]="Seconds",Se[Se.FractionalSeconds=6]="FractionalSeconds",Se[Se.Day=7]="Day",Se}(Ae||{}),ze=function(Se){return Se[Se.DayPeriods=0]="DayPeriods",Se[Se.Days=1]="Days",Se[Se.Months=2]="Months",Se[Se.Eras=3]="Eras",Se}(ze||{});function nt(Se,dt,Ye,ut){let ti=function Le(Se){if(ee(Se))return Se;if("number"==typeof Se&&!isNaN(Se))return new Date(Se);if("string"==typeof Se){if(Se=Se.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(Se)){const[ti,Pe=1,ft=1]=Se.split("-").map(vt=>+vt);return et(ti,Pe-1,ft)}const Ye=parseFloat(Se);if(!isNaN(Se-Ye))return new Date(Ye);let ut;if(ut=Se.match(Ze))return function be(Se){const dt=new Date(0);let Ye=0,ut=0;const ti=Se[8]?dt.setUTCFullYear:dt.setFullYear,Pe=Se[8]?dt.setUTCHours:dt.setHours;Se[9]&&(Ye=Number(Se[9]+Se[10]),ut=Number(Se[9]+Se[11])),ti.call(dt,Number(Se[1]),Number(Se[2])-1,Number(Se[3]));const ft=Number(Se[4]||0)-Ye,vt=Number(Se[5]||0)-ut,Rt=Number(Se[6]||0),Kt=Math.floor(1e3*parseFloat("0."+(Se[7]||0)));return Pe.call(dt,ft,vt,Rt,Kt),dt}(ut)}const dt=new Date(Se);if(!ee(dt))throw new Error(`Unable to convert "${Se}" into a date`);return dt}(Se);dt=ke(Ye,dt)||dt;let vt,ft=[];for(;dt;){if(vt=mt.exec(dt),!vt){ft.push(dt);break}{ft=ft.concat(vt.slice(1));const ui=ft.pop();if(!ui)break;dt=ui}}let Rt=ti.getTimezoneOffset();ut&&(Rt=Ue(ut,Rt),ti=function _t(Se,dt,Ye){const ut=Ye?-1:1,ti=Se.getTimezoneOffset();return function Je(Se,dt){return(Se=new Date(Se.getTime())).setMinutes(Se.getMinutes()+dt),Se}(Se,ut*(Ue(dt,ti)-ti))}(ti,ut,!0));let Kt="";return ft.forEach(ui=>{const li=function it(Se){if(Ee[Se])return Ee[Se];let dt;switch(Se){case"G":case"GG":case"GGG":dt=Be(ze.Eras,he.Abbreviated);break;case"GGGG":dt=Be(ze.Eras,he.Wide);break;case"GGGGG":dt=Be(ze.Eras,he.Narrow);break;case"y":dt=lt(Ae.FullYear,1,0,!1,!0);break;case"yy":dt=lt(Ae.FullYear,2,0,!0,!0);break;case"yyy":dt=lt(Ae.FullYear,3,0,!1,!0);break;case"yyyy":dt=lt(Ae.FullYear,4,0,!1,!0);break;case"Y":dt=rt(1);break;case"YY":dt=rt(2,!0);break;case"YYY":dt=rt(3);break;case"YYYY":dt=rt(4);break;case"M":case"L":dt=lt(Ae.Month,1,1);break;case"MM":case"LL":dt=lt(Ae.Month,2,1);break;case"MMM":dt=Be(ze.Months,he.Abbreviated);break;case"MMMM":dt=Be(ze.Months,he.Wide);break;case"MMMMM":dt=Be(ze.Months,he.Narrow);break;case"LLL":dt=Be(ze.Months,he.Abbreviated,$.Standalone);break;case"LLLL":dt=Be(ze.Months,he.Wide,$.Standalone);break;case"LLLLL":dt=Be(ze.Months,he.Narrow,$.Standalone);break;case"w":dt=xt(1);break;case"ww":dt=xt(2);break;case"W":dt=xt(1,!0);break;case"d":dt=lt(Ae.Date,1);break;case"dd":dt=lt(Ae.Date,2);break;case"c":case"cc":dt=lt(Ae.Day,1);break;case"ccc":dt=Be(ze.Days,he.Abbreviated,$.Standalone);break;case"cccc":dt=Be(ze.Days,he.Wide,$.Standalone);break;case"ccccc":dt=Be(ze.Days,he.Narrow,$.Standalone);break;case"cccccc":dt=Be(ze.Days,he.Short,$.Standalone);break;case"E":case"EE":case"EEE":dt=Be(ze.Days,he.Abbreviated);break;case"EEEE":dt=Be(ze.Days,he.Wide);break;case"EEEEE":dt=Be(ze.Days,he.Narrow);break;case"EEEEEE":dt=Be(ze.Days,he.Short);break;case"a":case"aa":case"aaa":dt=Be(ze.DayPeriods,he.Abbreviated);break;case"aaaa":dt=Be(ze.DayPeriods,he.Wide);break;case"aaaaa":dt=Be(ze.DayPeriods,he.Narrow);break;case"b":case"bb":case"bbb":dt=Be(ze.DayPeriods,he.Abbreviated,$.Standalone,!0);break;case"bbbb":dt=Be(ze.DayPeriods,he.Wide,$.Standalone,!0);break;case"bbbbb":dt=Be(ze.DayPeriods,he.Narrow,$.Standalone,!0);break;case"B":case"BB":case"BBB":dt=Be(ze.DayPeriods,he.Abbreviated,$.Format,!0);break;case"BBBB":dt=Be(ze.DayPeriods,he.Wide,$.Format,!0);break;case"BBBBB":dt=Be(ze.DayPeriods,he.Narrow,$.Format,!0);break;case"h":dt=lt(Ae.Hours,1,-12);break;case"hh":dt=lt(Ae.Hours,2,-12);break;case"H":dt=lt(Ae.Hours,1);break;case"HH":dt=lt(Ae.Hours,2);break;case"m":dt=lt(Ae.Minutes,1);break;case"mm":dt=lt(Ae.Minutes,2);break;case"s":dt=lt(Ae.Seconds,1);break;case"ss":dt=lt(Ae.Seconds,2);break;case"S":dt=lt(Ae.FractionalSeconds,1);break;case"SS":dt=lt(Ae.FractionalSeconds,2);break;case"SSS":dt=lt(Ae.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":dt=J(kt.Short);break;case"ZZZZZ":dt=J(kt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":dt=J(kt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":dt=J(kt.Long);break;default:return null}return Ee[Se]=dt,dt}(ui);Kt+=li?li(ti,Ye,Rt):"''"===ui?"'":ui.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Kt}function et(Se,dt,Ye){const ut=new Date(0);return ut.setFullYear(Se,dt,Ye),ut.setHours(0,0,0),ut}function ke(Se,dt){const Ye=function f(Se){return(0,e.cg1)(Se)[e.wAp.LocaleId]}(Se);if(wt[Ye]=wt[Ye]||{},wt[Ye][dt])return wt[Ye][dt];let ut="";switch(dt){case"shortDate":ut=g(Se,S.Short);break;case"mediumDate":ut=g(Se,S.Medium);break;case"longDate":ut=g(Se,S.Long);break;case"fullDate":ut=g(Se,S.Full);break;case"shortTime":ut=H(Se,S.Short);break;case"mediumTime":ut=H(Se,S.Medium);break;case"longTime":ut=H(Se,S.Long);break;case"fullTime":ut=H(Se,S.Full);break;case"short":const ti=ke(Se,"shortTime"),Pe=ke(Se,"shortDate");ut=ct(N(Se,S.Short),[ti,Pe]);break;case"medium":const ft=ke(Se,"mediumTime"),vt=ke(Se,"mediumDate");ut=ct(N(Se,S.Medium),[ft,vt]);break;case"long":const Rt=ke(Se,"longTime"),Kt=ke(Se,"longDate");ut=ct(N(Se,S.Long),[Rt,Kt]);break;case"full":const ui=ke(Se,"fullTime"),li=ke(Se,"fullDate");ut=ct(N(Se,S.Full),[ui,li])}return ut&&(wt[Ye][dt]=ut),ut}function ct(Se,dt){return dt&&(Se=Se.replace(/\{([^}]+)}/g,function(Ye,ut){return null!=dt&&ut in dt?dt[ut]:Ye})),Se}function Qe(Se,dt,Ye="-",ut,ti){let Pe="";(Se<0||ti&&Se<=0)&&(ti?Se=1-Se:(Se=-Se,Pe=Ye));let ft=String(Se);for(;ft.length<dt;)ft="0"+ft;return ut&&(ft=ft.slice(ft.length-dt)),Pe+ft}function lt(Se,dt,Ye=0,ut=!1,ti=!1){return function(Pe,ft){let vt=function Ke(Se,dt){switch(Se){case Ae.FullYear:return dt.getFullYear();case Ae.Month:return dt.getMonth();case Ae.Date:return dt.getDate();case Ae.Hours:return dt.getHours();case Ae.Minutes:return dt.getMinutes();case Ae.Seconds:return dt.getSeconds();case Ae.FractionalSeconds:return dt.getMilliseconds();case Ae.Day:return dt.getDay();default:throw new Error(`Unknown DateType value "${Se}".`)}}(Se,Pe);if((Ye>0||vt>-Ye)&&(vt+=Ye),Se===Ae.Hours)0===vt&&-12===Ye&&(vt=12);else if(Se===Ae.FractionalSeconds)return function Et(Se,dt){return Qe(Se,3).substring(0,dt)}(vt,dt);const Rt=te(ft,n.MinusSign);return Qe(vt,dt,Rt,ut,ti)}}function Be(Se,dt,Ye=$.Format,ut=!1){return function(ti,Pe){return function Xt(Se,dt,Ye,ut,ti,Pe){switch(Ye){case ze.Months:return function D(Se,dt,Ye){const ut=(0,e.cg1)(Se),Pe=qe([ut[e.wAp.MonthsFormat],ut[e.wAp.MonthsStandalone]],dt);return qe(Pe,Ye)}(dt,ti,ut)[Se.getMonth()];case ze.Days:return function w(Se,dt,Ye){const ut=(0,e.cg1)(Se),Pe=qe([ut[e.wAp.DaysFormat],ut[e.wAp.DaysStandalone]],dt);return qe(Pe,Ye)}(dt,ti,ut)[Se.getDay()];case ze.DayPeriods:const ft=Se.getHours(),vt=Se.getMinutes();if(Pe){const Kt=function Ce(Se){const dt=(0,e.cg1)(Se);return de(dt),(dt[e.wAp.ExtraData][2]||[]).map(ut=>"string"==typeof ut?oe(ut):[oe(ut[0]),oe(ut[1])])}(dt),ui=function le(Se,dt,Ye){const ut=(0,e.cg1)(Se);de(ut);const Pe=qe([ut[e.wAp.ExtraData][0],ut[e.wAp.ExtraData][1]],dt)||[];return qe(Pe,Ye)||[]}(dt,ti,ut),li=Kt.findIndex(Ei=>{if(Array.isArray(Ei)){const[Di,tn]=Ei,Xi=ft>=Di.hours&&vt>=Di.minutes,fn=ft<tn.hours||ft===tn.hours&&vt<tn.minutes;if(Di.hours<tn.hours){if(Xi&&fn)return!0}else if(Xi||fn)return!0}else if(Ei.hours===ft&&Ei.minutes===vt)return!0;return!1});if(-1!==li)return ui[li]}return function h(Se,dt,Ye){const ut=(0,e.cg1)(Se),Pe=qe([ut[e.wAp.DayPeriodsFormat],ut[e.wAp.DayPeriodsStandalone]],dt);return qe(Pe,Ye)}(dt,ti,ut)[ft<12?0:1];case ze.Eras:return function P(Se,dt){return qe((0,e.cg1)(Se)[e.wAp.Eras],dt)}(dt,ut)[Se.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${Ye}`)}}(ti,Pe,Se,dt,Ye,ut)}}function J(Se){return function(dt,Ye,ut){const ti=-1*ut,Pe=te(Ye,n.MinusSign),ft=ti>0?Math.floor(ti/60):Math.ceil(ti/60);switch(Se){case kt.Short:return(ti>=0?"+":"")+Qe(ft,2,Pe)+Qe(Math.abs(ti%60),2,Pe);case kt.ShortGMT:return"GMT"+(ti>=0?"+":"")+Qe(ft,1,Pe);case kt.Long:return"GMT"+(ti>=0?"+":"")+Qe(ft,2,Pe)+":"+Qe(Math.abs(ti%60),2,Pe);case kt.Extended:return 0===ut?"Z":(ti>=0?"+":"")+Qe(ft,2,Pe)+":"+Qe(Math.abs(ti%60),2,Pe);default:throw new Error(`Unknown zone width "${Se}"`)}}}const We=0,Ft=4;function Pt(Se){return et(Se.getFullYear(),Se.getMonth(),Se.getDate()+(Ft-Se.getDay()))}function xt(Se,dt=!1){return function(Ye,ut){let ti;if(dt){const Pe=new Date(Ye.getFullYear(),Ye.getMonth(),1).getDay()-1,ft=Ye.getDate();ti=1+Math.floor((ft+Pe)/7)}else{const Pe=Pt(Ye),ft=function Ct(Se){const dt=et(Se,We,1).getDay();return et(Se,0,1+(dt<=Ft?Ft:Ft+7)-dt)}(Pe.getFullYear()),vt=Pe.getTime()-ft.getTime();ti=1+Math.round(vt/6048e5)}return Qe(ti,Se,te(ut,n.MinusSign))}}function rt(Se,dt=!1){return function(Ye,ut){return Qe(Pt(Ye).getFullYear(),Se,te(ut,n.MinusSign),dt)}}const Ee={};function Ue(Se,dt){Se=Se.replace(/:/g,"");const Ye=Date.parse("Jan 01, 1970 00:00:00 "+Se)/6e4;return isNaN(Ye)?dt:Ye}function ee(Se){return Se instanceof Date&&!isNaN(Se.valueOf())}const ne=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function we(Se){const dt=parseInt(Se);if(isNaN(dt))throw new Error("Invalid integer literal when parsing "+Se);return dt}function Bt(Se,dt){dt=encodeURIComponent(dt);for(const Ye of Se.split(";")){const ut=Ye.indexOf("="),[ti,Pe]=-1==ut?[Ye,""]:[Ye.slice(0,ut),Ye.slice(ut+1)];if(ti.trim()===dt)return decodeURIComponent(Pe)}return null}const ai=/\s+/,vi=[];let bi=(()=>{class Se{constructor(Ye,ut,ti,Pe){this._iterableDiffers=Ye,this._keyValueDiffers=ut,this._ngEl=ti,this._renderer=Pe,this.initialClasses=vi,this.stateMap=new Map}set klass(Ye){this.initialClasses=null!=Ye?Ye.trim().split(ai):vi}set ngClass(Ye){this.rawClass="string"==typeof Ye?Ye.trim().split(ai):Ye}ngDoCheck(){for(const ut of this.initialClasses)this._updateState(ut,!0);const Ye=this.rawClass;if(Array.isArray(Ye)||Ye instanceof Set)for(const ut of Ye)this._updateState(ut,!0);else if(null!=Ye)for(const ut of Object.keys(Ye))this._updateState(ut,!!Ye[ut]);this._applyStateDiff()}_updateState(Ye,ut){const ti=this.stateMap.get(Ye);void 0!==ti?(ti.enabled!==ut&&(ti.changed=!0,ti.enabled=ut),ti.touched=!0):this.stateMap.set(Ye,{enabled:ut,changed:!0,touched:!0})}_applyStateDiff(){for(const Ye of this.stateMap){const ut=Ye[0],ti=Ye[1];ti.changed?(this._toggleClass(ut,ti.enabled),ti.changed=!1):ti.touched||(ti.enabled&&this._toggleClass(ut,!1),this.stateMap.delete(ut)),ti.touched=!1}}_toggleClass(Ye,ut){(Ye=Ye.trim()).length>0&&Ye.split(ai).forEach(ti=>{ut?this._renderer.addClass(this._ngEl.nativeElement,ti):this._renderer.removeClass(this._ngEl.nativeElement,ti)})}static#e=this.\u0275fac=function(ut){return new(ut||Se)(e.Y36(e.ZZ4),e.Y36(e.aQg),e.Y36(e.SBq),e.Y36(e.Qsj))};static#t=this.\u0275dir=e.lG2({type:Se,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return Se})();class Vi{constructor(dt,Ye,ut,ti){this.$implicit=dt,this.ngForOf=Ye,this.index=ut,this.count=ti}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let jt=(()=>{class Se{set ngForOf(Ye){this._ngForOf=Ye,this._ngForOfDirty=!0}set ngForTrackBy(Ye){this._trackByFn=Ye}get ngForTrackBy(){return this._trackByFn}constructor(Ye,ut,ti){this._viewContainer=Ye,this._template=ut,this._differs=ti,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(Ye){Ye&&(this._template=Ye)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Ye=this._ngForOf;!this._differ&&Ye&&(this._differ=this._differs.find(Ye).create(this.ngForTrackBy))}if(this._differ){const Ye=this._differ.diff(this._ngForOf);Ye&&this._applyChanges(Ye)}}_applyChanges(Ye){const ut=this._viewContainer;Ye.forEachOperation((ti,Pe,ft)=>{if(null==ti.previousIndex)ut.createEmbeddedView(this._template,new Vi(ti.item,this._ngForOf,-1,-1),null===ft?void 0:ft);else if(null==ft)ut.remove(null===Pe?void 0:Pe);else if(null!==Pe){const vt=ut.get(Pe);ut.move(vt,ft),It(vt,ti)}});for(let ti=0,Pe=ut.length;ti<Pe;ti++){const vt=ut.get(ti).context;vt.index=ti,vt.count=Pe,vt.ngForOf=this._ngForOf}Ye.forEachIdentityChange(ti=>{It(ut.get(ti.currentIndex),ti)})}static ngTemplateContextGuard(Ye,ut){return!0}static#e=this.\u0275fac=function(ut){return new(ut||Se)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(e.ZZ4))};static#t=this.\u0275dir=e.lG2({type:Se,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return Se})();function It(Se,dt){Se.context.$implicit=dt.item}let Ve=(()=>{class Se{constructor(Ye,ut){this._viewContainer=Ye,this._context=new Xe,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=ut}set ngIf(Ye){this._context.$implicit=this._context.ngIf=Ye,this._updateView()}set ngIfThen(Ye){gt("ngIfThen",Ye),this._thenTemplateRef=Ye,this._thenViewRef=null,this._updateView()}set ngIfElse(Ye){gt("ngIfElse",Ye),this._elseTemplateRef=Ye,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(Ye,ut){return!0}static#e=this.\u0275fac=function(ut){return new(ut||Se)(e.Y36(e.s_b),e.Y36(e.Rgc))};static#t=this.\u0275dir=e.lG2({type:Se,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return Se})();class Xe{constructor(){this.$implicit=null,this.ngIf=null}}function gt(Se,dt){if(dt&&!dt.createEmbeddedView)throw new Error(`${Se} must be a TemplateRef, but received '${(0,e.AaK)(dt)}'.`)}class Oi{constructor(dt,Ye){this._viewContainerRef=dt,this._templateRef=Ye,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(dt){dt&&!this._created?this.create():!dt&&this._created&&this.destroy()}}let Bn=(()=>{class Se{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(Ye){this._ngSwitch=Ye,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(Ye){this._defaultViews.push(Ye)}_matchCase(Ye){const ut=Ye===this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||ut,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),ut}_updateDefaultCases(Ye){if(this._defaultViews.length>0&&Ye!==this._defaultUsed){this._defaultUsed=Ye;for(const ut of this._defaultViews)ut.enforceState(Ye)}}static#e=this.\u0275fac=function(ut){return new(ut||Se)};static#t=this.\u0275dir=e.lG2({type:Se,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return Se})(),cr=(()=>{class Se{constructor(Ye,ut,ti){this.ngSwitch=ti,ti._addCase(),this._view=new Oi(Ye,ut)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(ut){return new(ut||Se)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(Bn,9))};static#t=this.\u0275dir=e.lG2({type:Se,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return Se})(),hn=(()=>{class Se{constructor(Ye,ut,ti){ti._addDefault(new Oi(Ye,ut))}static#e=this.\u0275fac=function(ut){return new(ut||Se)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(Bn,9))};static#t=this.\u0275dir=e.lG2({type:Se,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return Se})(),rn=(()=>{class Se{constructor(Ye,ut,ti){this._ngEl=Ye,this._differs=ut,this._renderer=ti,this._ngStyle=null,this._differ=null}set ngStyle(Ye){this._ngStyle=Ye,!this._differ&&Ye&&(this._differ=this._differs.find(Ye).create())}ngDoCheck(){if(this._differ){const Ye=this._differ.diff(this._ngStyle);Ye&&this._applyChanges(Ye)}}_setStyle(Ye,ut){const[ti,Pe]=Ye.split("."),ft=-1===ti.indexOf("-")?void 0:e.JOm.DashCase;null!=ut?this._renderer.setStyle(this._ngEl.nativeElement,ti,Pe?`${ut}${Pe}`:ut,ft):this._renderer.removeStyle(this._ngEl.nativeElement,ti,ft)}_applyChanges(Ye){Ye.forEachRemovedItem(ut=>this._setStyle(ut.key,null)),Ye.forEachAddedItem(ut=>this._setStyle(ut.key,ut.currentValue)),Ye.forEachChangedItem(ut=>this._setStyle(ut.key,ut.currentValue))}static#e=this.\u0275fac=function(ut){return new(ut||Se)(e.Y36(e.SBq),e.Y36(e.aQg),e.Y36(e.Qsj))};static#t=this.\u0275dir=e.lG2({type:Se,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return Se})(),qn=(()=>{class Se{constructor(Ye){this._viewContainerRef=Ye,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(Ye){if(this._shouldRecreateView(Ye)){const ut=this._viewContainerRef;if(this._viewRef&&ut.remove(ut.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const ti=this._createContextForwardProxy();this._viewRef=ut.createEmbeddedView(this.ngTemplateOutlet,ti,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(Ye){return!!Ye.ngTemplateOutlet||!!Ye.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(Ye,ut,ti)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,ut,ti),get:(Ye,ut,ti)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,ut,ti)}})}static#e=this.\u0275fac=function(ut){return new(ut||Se)(e.Y36(e.s_b))};static#t=this.\u0275dir=e.lG2({type:Se,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[e.TTD]})}return Se})();function Mi(Se,dt){return new e.vHH(2100,!1)}class gi{createSubscription(dt,Ye){return(0,e.rg0)(()=>dt.subscribe({next:Ye,error:ut=>{throw ut}}))}dispose(dt){(0,e.rg0)(()=>dt.unsubscribe())}}class yi{createSubscription(dt,Ye){return dt.then(Ye,ut=>{throw ut})}dispose(dt){}}const Gi=new yi,Ji=new gi;let xn=(()=>{class Se{constructor(Ye){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=Ye}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Ye){return this._obj?Ye!==this._obj?(this._dispose(),this.transform(Ye)):this._latestValue:(Ye&&this._subscribe(Ye),this._latestValue)}_subscribe(Ye){this._obj=Ye,this._strategy=this._selectStrategy(Ye),this._subscription=this._strategy.createSubscription(Ye,ut=>this._updateLatestValue(Ye,ut))}_selectStrategy(Ye){if((0,e.QGY)(Ye))return Gi;if((0,e.F4k)(Ye))return Ji;throw Mi()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Ye,ut){Ye===this._obj&&(this._latestValue=ut,this._ref.markForCheck())}static#e=this.\u0275fac=function(ut){return new(ut||Se)(e.Y36(e.sBO,16))};static#t=this.\u0275pipe=e.Yjl({name:"async",type:Se,pure:!1,standalone:!0})}return Se})(),jn=(()=>{class Se{transform(Ye){if(null==Ye)return null;if("string"!=typeof Ye)throw Mi();return Ye.toLowerCase()}static#e=this.\u0275fac=function(ut){return new(ut||Se)};static#t=this.\u0275pipe=e.Yjl({name:"lowercase",type:Se,pure:!0,standalone:!0})}return Se})();const Rn=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let Tr=(()=>{class Se{transform(Ye){if(null==Ye)return null;if("string"!=typeof Ye)throw Mi();return Ye.replace(Rn,ut=>ut[0].toUpperCase()+ut.slice(1).toLowerCase())}static#e=this.\u0275fac=function(ut){return new(ut||Se)};static#t=this.\u0275pipe=e.Yjl({name:"titlecase",type:Se,pure:!0,standalone:!0})}return Se})(),er=(()=>{class Se{transform(Ye){if(null==Ye)return null;if("string"!=typeof Ye)throw Mi();return Ye.toUpperCase()}static#e=this.\u0275fac=function(ut){return new(ut||Se)};static#t=this.\u0275pipe=e.Yjl({name:"uppercase",type:Se,pure:!0,standalone:!0})}return Se})();const oa=new e.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),pa=new e.OlP("DATE_PIPE_DEFAULT_OPTIONS");let sa=(()=>{class Se{constructor(Ye,ut,ti){this.locale=Ye,this.defaultTimezone=ut,this.defaultOptions=ti}transform(Ye,ut,ti,Pe){if(null==Ye||""===Ye||Ye!=Ye)return null;try{return nt(Ye,ut??this.defaultOptions?.dateFormat??"mediumDate",Pe||this.locale,ti??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(ft){throw Mi()}}static#e=this.\u0275fac=function(ut){return new(ut||Se)(e.Y36(e.soG,16),e.Y36(oa,24),e.Y36(pa,24))};static#t=this.\u0275pipe=e.Yjl({name:"date",type:Se,pure:!0,standalone:!0})}return Se})(),Kn=(()=>{class Se{transform(Ye){return JSON.stringify(Ye,null,2)}static#e=this.\u0275fac=function(ut){return new(ut||Se)};static#t=this.\u0275pipe=e.Yjl({name:"json",type:Se,pure:!1,standalone:!0})}return Se})(),Va=(()=>{class Se{constructor(Ye){this.differs=Ye,this.keyValues=[],this.compareFn=_a}transform(Ye,ut=_a){if(!Ye||!(Ye instanceof Map)&&"object"!=typeof Ye)return null;this.differ||(this.differ=this.differs.find(Ye).create());const ti=this.differ.diff(Ye),Pe=ut!==this.compareFn;return ti&&(this.keyValues=[],ti.forEachItem(ft=>{this.keyValues.push(function ga(Se,dt){return{key:Se,value:dt}}(ft.key,ft.currentValue))})),(ti||Pe)&&(this.keyValues.sort(ut),this.compareFn=ut),this.keyValues}static#e=this.\u0275fac=function(ut){return new(ut||Se)(e.Y36(e.aQg,16))};static#t=this.\u0275pipe=e.Yjl({name:"keyvalue",type:Se,pure:!1,standalone:!0})}return Se})();function _a(Se,dt){const Ye=Se.key,ut=dt.key;if(Ye===ut)return 0;if(void 0===Ye)return 1;if(void 0===ut)return-1;if(null===Ye)return 1;if(null===ut)return-1;if("string"==typeof Ye&&"string"==typeof ut)return Ye<ut?-1:1;if("number"==typeof Ye&&"number"==typeof ut)return Ye-ut;if("boolean"==typeof Ye&&"boolean"==typeof ut)return Ye<ut?-1:1;const ti=String(Ye),Pe=String(ut);return ti==Pe?0:ti<Pe?-1:1}let kr=(()=>{class Se{constructor(Ye){this._locale=Ye}transform(Ye,ut,ti){if(!function Qr(Se){return!(null==Se||""===Se||Se!=Se)}(Ye))return null;ti=ti||this._locale;try{return function Qi(Se,dt,Ye){return function di(Se,dt,Ye,ut,ti,Pe,ft=!1){let vt="",Rt=!1;if(isFinite(Se)){let Kt=function ot(Se){let ut,ti,Pe,ft,vt,dt=Math.abs(Se)+"",Ye=0;for((ti=dt.indexOf("."))>-1&&(dt=dt.replace(".","")),(Pe=dt.search(/e/i))>0?(ti<0&&(ti=Pe),ti+=+dt.slice(Pe+1),dt=dt.substring(0,Pe)):ti<0&&(ti=dt.length),Pe=0;"0"===dt.charAt(Pe);Pe++);if(Pe===(vt=dt.length))ut=[0],ti=1;else{for(vt--;"0"===dt.charAt(vt);)vt--;for(ti-=Pe,ut=[],ft=0;Pe<=vt;Pe++,ft++)ut[ft]=Number(dt.charAt(Pe))}return ti>22&&(ut=ut.splice(0,21),Ye=ti-1,ti=1),{digits:ut,exponent:Ye,integerLen:ti}}(Se);ft&&(Kt=function sn(Se){if(0===Se.digits[0])return Se;const dt=Se.digits.length-Se.integerLen;return Se.exponent?Se.exponent+=2:(0===dt?Se.digits.push(0,0):1===dt&&Se.digits.push(0),Se.integerLen+=2),Se}(Kt));let ui=dt.minInt,li=dt.minFrac,Ei=dt.maxFrac;if(Pe){const Nn=Pe.match(ne);if(null===Nn)throw new Error(`${Pe} is not a valid digit info`);const Dr=Nn[1],Fr=Nn[3],ua=Nn[5];null!=Dr&&(ui=we(Dr)),null!=Fr&&(li=we(Fr)),null!=ua?Ei=we(ua):null!=Fr&&li>Ei&&(Ei=li)}!function si(Se,dt,Ye){if(dt>Ye)throw new Error(`The minimum number of digits after fraction (${dt}) is higher than the maximum (${Ye}).`);let ut=Se.digits,ti=ut.length-Se.integerLen;const Pe=Math.min(Math.max(dt,ti),Ye);let ft=Pe+Se.integerLen,vt=ut[ft];if(ft>0){ut.splice(Math.max(Se.integerLen,ft));for(let li=ft;li<ut.length;li++)ut[li]=0}else{ti=Math.max(0,ti),Se.integerLen=1,ut.length=Math.max(1,ft=Pe+1),ut[0]=0;for(let li=1;li<ft;li++)ut[li]=0}if(vt>=5)if(ft-1<0){for(let li=0;li>ft;li--)ut.unshift(0),Se.integerLen++;ut.unshift(1),Se.integerLen++}else ut[ft-1]++;for(;ti<Math.max(0,Pe);ti++)ut.push(0);let Rt=0!==Pe;const Kt=dt+Se.integerLen,ui=ut.reduceRight(function(li,Ei,Di,tn){return tn[Di]=(Ei+=li)<10?Ei:Ei-10,Rt&&(0===tn[Di]&&Di>=Kt?tn.pop():Rt=!1),Ei>=10?1:0},0);ui&&(ut.unshift(ui),Se.integerLen++)}(Kt,li,Ei);let Di=Kt.digits,tn=Kt.integerLen;const Xi=Kt.exponent;let fn=[];for(Rt=Di.every(Nn=>!Nn);tn<ui;tn++)Di.unshift(0);for(;tn<0;tn++)Di.unshift(0);tn>0?fn=Di.splice(tn,Di.length):(fn=Di,Di=[0]);const Tn=[];for(Di.length>=dt.lgSize&&Tn.unshift(Di.splice(-dt.lgSize,Di.length).join(""));Di.length>dt.gSize;)Tn.unshift(Di.splice(-dt.gSize,Di.length).join(""));Di.length&&Tn.unshift(Di.join("")),vt=Tn.join(te(Ye,ut)),fn.length&&(vt+=te(Ye,ti)+fn.join("")),Xi&&(vt+=te(Ye,n.Exponential)+"+"+Xi)}else vt=te(Ye,n.Infinity);return vt=Se<0&&!Rt?dt.negPre+vt+dt.negSuf:dt.posPre+vt+dt.posSuf,vt}(Se,function xi(Se,dt="-"){const Ye={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},ut=Se.split(";"),ti=ut[0],Pe=ut[1],ft=-1!==ti.indexOf(".")?ti.split("."):[ti.substring(0,ti.lastIndexOf("0")+1),ti.substring(ti.lastIndexOf("0")+1)],vt=ft[0],Rt=ft[1]||"";Ye.posPre=vt.substring(0,vt.indexOf("#"));for(let ui=0;ui<Rt.length;ui++){const li=Rt.charAt(ui);"0"===li?Ye.minFrac=Ye.maxFrac=ui+1:"#"===li?Ye.maxFrac=ui+1:Ye.posSuf+=li}const Kt=vt.split(",");if(Ye.gSize=Kt[1]?Kt[1].length:0,Ye.lgSize=Kt[2]||Kt[1]?(Kt[2]||Kt[1]).length:0,Pe){const ui=ti.length-Ye.posPre.length-Ye.posSuf.length,li=Pe.indexOf("#");Ye.negPre=Pe.substring(0,li).replace(/'/g,""),Ye.negSuf=Pe.slice(li+ui).replace(/'/g,"")}else Ye.negPre=dt+Ye.posPre,Ye.negSuf=Ye.posSuf;return Ye}(function De(Se,dt){return(0,e.cg1)(Se)[e.wAp.NumberFormats][dt]}(dt,re.Decimal),te(dt,n.MinusSign)),dt,n.Group,n.Decimal,Ye)}(function wa(Se){if("string"==typeof Se&&!isNaN(Number(Se)-parseFloat(Se)))return Number(Se);if("number"!=typeof Se)throw new Error(`${Se} is not a number`);return Se}(Ye),ti,ut)}catch(Pe){throw Mi()}}static#e=this.\u0275fac=function(ut){return new(ut||Se)(e.Y36(e.soG,16))};static#t=this.\u0275pipe=e.Yjl({name:"number",type:Se,pure:!0,standalone:!0})}return Se})();let Pr=(()=>{class Se{transform(Ye,ut,ti){if(null==Ye)return null;if(!this.supports(Ye))throw Mi();return Ye.slice(ut,ti)}supports(Ye){return"string"==typeof Ye||Array.isArray(Ye)}static#e=this.\u0275fac=function(ut){return new(ut||Se)};static#t=this.\u0275pipe=e.Yjl({name:"slice",type:Se,pure:!1,standalone:!0})}return Se})(),Un=(()=>{class Se{static#e=this.\u0275fac=function(ut){return new(ut||Se)};static#t=this.\u0275mod=e.oAB({type:Se});static#i=this.\u0275inj=e.cJS({})}return Se})();const Ma="browser",io="server";function ia(Se){return Se===Ma}function Oa(Se){return Se===io}let Mo=(()=>{class Se{static#e=this.\u0275prov=(0,e.Yz7)({token:Se,providedIn:"root",factory:()=>new _o((0,e.LFG)(M),window)})}return Se})();class _o{constructor(dt,Ye){this.document=dt,this.window=Ye,this.offset=()=>[0,0]}setOffset(dt){this.offset=Array.isArray(dt)?()=>dt:dt}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(dt){this.supportsScrolling()&&this.window.scrollTo(dt[0],dt[1])}scrollToAnchor(dt){if(!this.supportsScrolling())return;const Ye=function qr(Se,dt){const Ye=Se.getElementById(dt)||Se.getElementsByName(dt)[0];if(Ye)return Ye;if("function"==typeof Se.createTreeWalker&&Se.body&&"function"==typeof Se.body.attachShadow){const ut=Se.createTreeWalker(Se.body,NodeFilter.SHOW_ELEMENT);let ti=ut.currentNode;for(;ti;){const Pe=ti.shadowRoot;if(Pe){const ft=Pe.getElementById(dt)||Pe.querySelector(`[name="${dt}"]`);if(ft)return ft}ti=ut.nextNode()}}return null}(this.document,dt);Ye&&(this.scrollToElement(Ye),Ye.focus())}setHistoryScrollRestoration(dt){this.supportsScrolling()&&(this.window.history.scrollRestoration=dt)}scrollToElement(dt){const Ye=dt.getBoundingClientRect(),ut=Ye.left+this.window.pageXOffset,ti=Ye.top+this.window.pageYOffset,Pe=this.offset();this.window.scrollTo(ut-Pe[0],ti-Pe[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class va{}},9862:(He,X,p)=>{"use strict";p.d(X,{JF:()=>Zt,LE:()=>ue,TP:()=>Ce,eN:()=>g}),p(5861);var t=p(9212),y=p(2096),A=p(5592),l=p(9666),M=p(6328),m=p(2181),O=p(7398),d=p(4716),E=p(4664),x=p(6814);class I{}class k{}class V{constructor(Lt){this.normalizedNames=new Map,this.lazyUpdate=null,Lt?"string"==typeof Lt?this.lazyInit=()=>{this.headers=new Map,Lt.split("\n").forEach(Bt=>{const ai=Bt.indexOf(":");if(ai>0){const vi=Bt.slice(0,ai),bi=vi.toLowerCase(),ki=Bt.slice(ai+1).trim();this.maybeSetNormalizedName(vi,bi),this.headers.has(bi)?this.headers.get(bi).push(ki):this.headers.set(bi,[ki])}})}:typeof Headers<"u"&&Lt instanceof Headers?(this.headers=new Map,Lt.forEach((Bt,ai)=>{this.setHeaderEntries(ai,Bt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Lt).forEach(([Bt,ai])=>{this.setHeaderEntries(Bt,ai)})}:this.headers=new Map}has(Lt){return this.init(),this.headers.has(Lt.toLowerCase())}get(Lt){this.init();const Bt=this.headers.get(Lt.toLowerCase());return Bt&&Bt.length>0?Bt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Lt){return this.init(),this.headers.get(Lt.toLowerCase())||null}append(Lt,Bt){return this.clone({name:Lt,value:Bt,op:"a"})}set(Lt,Bt){return this.clone({name:Lt,value:Bt,op:"s"})}delete(Lt,Bt){return this.clone({name:Lt,value:Bt,op:"d"})}maybeSetNormalizedName(Lt,Bt){this.normalizedNames.has(Bt)||this.normalizedNames.set(Bt,Lt)}init(){this.lazyInit&&(this.lazyInit instanceof V?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Lt=>this.applyUpdate(Lt)),this.lazyUpdate=null))}copyFrom(Lt){Lt.init(),Array.from(Lt.headers.keys()).forEach(Bt=>{this.headers.set(Bt,Lt.headers.get(Bt)),this.normalizedNames.set(Bt,Lt.normalizedNames.get(Bt))})}clone(Lt){const Bt=new V;return Bt.lazyInit=this.lazyInit&&this.lazyInit instanceof V?this.lazyInit:this,Bt.lazyUpdate=(this.lazyUpdate||[]).concat([Lt]),Bt}applyUpdate(Lt){const Bt=Lt.name.toLowerCase();switch(Lt.op){case"a":case"s":let ai=Lt.value;if("string"==typeof ai&&(ai=[ai]),0===ai.length)return;this.maybeSetNormalizedName(Lt.name,Bt);const vi=("a"===Lt.op?this.headers.get(Bt):void 0)||[];vi.push(...ai),this.headers.set(Bt,vi);break;case"d":const bi=Lt.value;if(bi){let ki=this.headers.get(Bt);if(!ki)return;ki=ki.filter(Bi=>-1===bi.indexOf(Bi)),0===ki.length?(this.headers.delete(Bt),this.normalizedNames.delete(Bt)):this.headers.set(Bt,ki)}else this.headers.delete(Bt),this.normalizedNames.delete(Bt)}}setHeaderEntries(Lt,Bt){const ai=(Array.isArray(Bt)?Bt:[Bt]).map(bi=>bi.toString()),vi=Lt.toLowerCase();this.headers.set(vi,ai),this.maybeSetNormalizedName(Lt,vi)}forEach(Lt){this.init(),Array.from(this.normalizedNames.keys()).forEach(Bt=>Lt(this.normalizedNames.get(Bt),this.headers.get(Bt)))}}class j{encodeKey(Lt){return ie(Lt)}encodeValue(Lt){return ie(Lt)}decodeKey(Lt){return decodeURIComponent(Lt)}decodeValue(Lt){return decodeURIComponent(Lt)}}const K=/%(\d[a-f0-9])/gi,q={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ie(Dt){return encodeURIComponent(Dt).replace(K,(Lt,Bt)=>q[Bt]??Lt)}function ae(Dt){return`${Dt}`}class ue{constructor(Lt={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Lt.encoder||new j,Lt.fromString){if(Lt.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function W(Dt,Lt){const Bt=new Map;return Dt.length>0&&Dt.replace(/^\?/,"").split("&").forEach(vi=>{const bi=vi.indexOf("="),[ki,Bi]=-1==bi?[Lt.decodeKey(vi),""]:[Lt.decodeKey(vi.slice(0,bi)),Lt.decodeValue(vi.slice(bi+1))],Vi=Bt.get(ki)||[];Vi.push(Bi),Bt.set(ki,Vi)}),Bt}(Lt.fromString,this.encoder)}else Lt.fromObject?(this.map=new Map,Object.keys(Lt.fromObject).forEach(Bt=>{const ai=Lt.fromObject[Bt],vi=Array.isArray(ai)?ai.map(ae):[ae(ai)];this.map.set(Bt,vi)})):this.map=null}has(Lt){return this.init(),this.map.has(Lt)}get(Lt){this.init();const Bt=this.map.get(Lt);return Bt?Bt[0]:null}getAll(Lt){return this.init(),this.map.get(Lt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Lt,Bt){return this.clone({param:Lt,value:Bt,op:"a"})}appendAll(Lt){const Bt=[];return Object.keys(Lt).forEach(ai=>{const vi=Lt[ai];Array.isArray(vi)?vi.forEach(bi=>{Bt.push({param:ai,value:bi,op:"a"})}):Bt.push({param:ai,value:vi,op:"a"})}),this.clone(Bt)}set(Lt,Bt){return this.clone({param:Lt,value:Bt,op:"s"})}delete(Lt,Bt){return this.clone({param:Lt,value:Bt,op:"d"})}toString(){return this.init(),this.keys().map(Lt=>{const Bt=this.encoder.encodeKey(Lt);return this.map.get(Lt).map(ai=>Bt+"="+this.encoder.encodeValue(ai)).join("&")}).filter(Lt=>""!==Lt).join("&")}clone(Lt){const Bt=new ue({encoder:this.encoder});return Bt.cloneFrom=this.cloneFrom||this,Bt.updates=(this.updates||[]).concat(Lt),Bt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Lt=>this.map.set(Lt,this.cloneFrom.map.get(Lt))),this.updates.forEach(Lt=>{switch(Lt.op){case"a":case"s":const Bt=("a"===Lt.op?this.map.get(Lt.param):void 0)||[];Bt.push(ae(Lt.value)),this.map.set(Lt.param,Bt);break;case"d":if(void 0===Lt.value){this.map.delete(Lt.param);break}{let ai=this.map.get(Lt.param)||[];const vi=ai.indexOf(ae(Lt.value));-1!==vi&&ai.splice(vi,1),ai.length>0?this.map.set(Lt.param,ai):this.map.delete(Lt.param)}}}),this.cloneFrom=this.updates=null)}}class xe{constructor(){this.map=new Map}set(Lt,Bt){return this.map.set(Lt,Bt),this}get(Lt){return this.map.has(Lt)||this.map.set(Lt,Lt.defaultValue()),this.map.get(Lt)}delete(Lt){return this.map.delete(Lt),this}has(Lt){return this.map.has(Lt)}keys(){return this.map.keys()}}function he(Dt){return typeof ArrayBuffer<"u"&&Dt instanceof ArrayBuffer}function S(Dt){return typeof Blob<"u"&&Dt instanceof Blob}function n(Dt){return typeof FormData<"u"&&Dt instanceof FormData}class f{constructor(Lt,Bt,ai,vi){let bi;if(this.url=Bt,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Lt.toUpperCase(),function $(Dt){switch(Dt){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||vi?(this.body=void 0!==ai?ai:null,bi=vi):bi=ai,bi&&(this.reportProgress=!!bi.reportProgress,this.withCredentials=!!bi.withCredentials,bi.responseType&&(this.responseType=bi.responseType),bi.headers&&(this.headers=bi.headers),bi.context&&(this.context=bi.context),bi.params&&(this.params=bi.params),this.transferCache=bi.transferCache),this.headers||(this.headers=new V),this.context||(this.context=new xe),this.params){const ki=this.params.toString();if(0===ki.length)this.urlWithParams=Bt;else{const Bi=Bt.indexOf("?");this.urlWithParams=Bt+(-1===Bi?"?":Bi<Bt.length-1?"&":"")+ki}}else this.params=new ue,this.urlWithParams=Bt}serializeBody(){return null===this.body?null:he(this.body)||S(this.body)||n(this.body)||function s(Dt){return typeof URLSearchParams<"u"&&Dt instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof ue?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||n(this.body)?null:S(this.body)?this.body.type||null:he(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof ue?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(Lt={}){const Bt=Lt.method||this.method,ai=Lt.url||this.url,vi=Lt.responseType||this.responseType,bi=void 0!==Lt.body?Lt.body:this.body,ki=void 0!==Lt.withCredentials?Lt.withCredentials:this.withCredentials,Bi=void 0!==Lt.reportProgress?Lt.reportProgress:this.reportProgress;let Vi=Lt.headers||this.headers,jt=Lt.params||this.params;const It=Lt.context??this.context;return void 0!==Lt.setHeaders&&(Vi=Object.keys(Lt.setHeaders).reduce((pe,Ve)=>pe.set(Ve,Lt.setHeaders[Ve]),Vi)),Lt.setParams&&(jt=Object.keys(Lt.setParams).reduce((pe,Ve)=>pe.set(Ve,Lt.setParams[Ve]),jt)),new f(Bt,ai,bi,{params:jt,headers:Vi,context:It,reportProgress:Bi,responseType:vi,withCredentials:ki})}}var h=function(Dt){return Dt[Dt.Sent=0]="Sent",Dt[Dt.UploadProgress=1]="UploadProgress",Dt[Dt.ResponseHeader=2]="ResponseHeader",Dt[Dt.DownloadProgress=3]="DownloadProgress",Dt[Dt.Response=4]="Response",Dt[Dt.User=5]="User",Dt}(h||{});class w{constructor(Lt,Bt=200,ai="OK"){this.headers=Lt.headers||new V,this.status=void 0!==Lt.status?Lt.status:Bt,this.statusText=Lt.statusText||ai,this.url=Lt.url||null,this.ok=this.status>=200&&this.status<300}}class D extends w{constructor(Lt={}){super(Lt),this.type=h.ResponseHeader}clone(Lt={}){return new D({headers:Lt.headers||this.headers,status:void 0!==Lt.status?Lt.status:this.status,statusText:Lt.statusText||this.statusText,url:Lt.url||this.url||void 0})}}class P extends w{constructor(Lt={}){super(Lt),this.type=h.Response,this.body=void 0!==Lt.body?Lt.body:null}clone(Lt={}){return new P({body:void 0!==Lt.body?Lt.body:this.body,headers:Lt.headers||this.headers,status:void 0!==Lt.status?Lt.status:this.status,statusText:Lt.statusText||this.statusText,url:Lt.url||this.url||void 0})}}class v extends w{constructor(Lt){super(Lt,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Lt.url||"(unknown url)"}`:`Http failure response for ${Lt.url||"(unknown url)"}: ${Lt.status} ${Lt.statusText}`,this.error=Lt.error||null}}function r(Dt,Lt){return{body:Lt,headers:Dt.headers,context:Dt.context,observe:Dt.observe,params:Dt.params,reportProgress:Dt.reportProgress,responseType:Dt.responseType,withCredentials:Dt.withCredentials,transferCache:Dt.transferCache}}let g=(()=>{class Dt{constructor(Bt){this.handler=Bt}request(Bt,ai,vi={}){let bi;if(Bt instanceof f)bi=Bt;else{let Vi,jt;Vi=vi.headers instanceof V?vi.headers:new V(vi.headers),vi.params&&(jt=vi.params instanceof ue?vi.params:new ue({fromObject:vi.params})),bi=new f(Bt,ai,void 0!==vi.body?vi.body:null,{headers:Vi,context:vi.context,params:jt,reportProgress:vi.reportProgress,responseType:vi.responseType||"json",withCredentials:vi.withCredentials,transferCache:vi.transferCache})}const ki=(0,y.of)(bi).pipe((0,M.b)(Vi=>this.handler.handle(Vi)));if(Bt instanceof f||"events"===vi.observe)return ki;const Bi=ki.pipe((0,m.h)(Vi=>Vi instanceof P));switch(vi.observe||"body"){case"body":switch(bi.responseType){case"arraybuffer":return Bi.pipe((0,O.U)(Vi=>{if(null!==Vi.body&&!(Vi.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Vi.body}));case"blob":return Bi.pipe((0,O.U)(Vi=>{if(null!==Vi.body&&!(Vi.body instanceof Blob))throw new Error("Response is not a Blob.");return Vi.body}));case"text":return Bi.pipe((0,O.U)(Vi=>{if(null!==Vi.body&&"string"!=typeof Vi.body)throw new Error("Response is not a string.");return Vi.body}));default:return Bi.pipe((0,O.U)(Vi=>Vi.body))}case"response":return Bi;default:throw new Error(`Unreachable: unhandled observe type ${vi.observe}}`)}}delete(Bt,ai={}){return this.request("DELETE",Bt,ai)}get(Bt,ai={}){return this.request("GET",Bt,ai)}head(Bt,ai={}){return this.request("HEAD",Bt,ai)}jsonp(Bt,ai){return this.request("JSONP",Bt,{params:(new ue).append(ai,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Bt,ai={}){return this.request("OPTIONS",Bt,ai)}patch(Bt,ai,vi={}){return this.request("PATCH",Bt,r(vi,ai))}post(Bt,ai,vi={}){return this.request("POST",Bt,r(vi,ai))}put(Bt,ai,vi={}){return this.request("PUT",Bt,r(vi,ai))}static#e=this.\u0275fac=function(ai){return new(ai||Dt)(t.LFG(I))};static#t=this.\u0275prov=t.Yz7({token:Dt,factory:Dt.\u0275fac})}return Dt})();function ye(Dt,Lt){return Lt(Dt)}function fe(Dt,Lt){return(Bt,ai)=>Lt.intercept(Bt,{handle:vi=>Dt(vi,ai)})}const Ce=new t.OlP(""),le=new t.OlP(""),ge=new t.OlP(""),qe=new t.OlP("");function oe(){let Dt=null;return(Lt,Bt)=>{null===Dt&&(Dt=((0,t.f3M)(Ce,{optional:!0})??[]).reduceRight(fe,ye));const ai=(0,t.f3M)(t.HDt),vi=ai.add();return Dt(Lt,Bt).pipe((0,d.x)(()=>ai.remove(vi)))}}let Ge=(()=>{class Dt extends I{constructor(Bt,ai){super(),this.backend=Bt,this.injector=ai,this.chain=null,this.pendingTasks=(0,t.f3M)(t.HDt);const vi=(0,t.f3M)(qe,{optional:!0});this.backend=vi??Bt}handle(Bt){if(null===this.chain){const vi=Array.from(new Set([...this.injector.get(le),...this.injector.get(ge,[])]));this.chain=vi.reduceRight((bi,ki)=>function de(Dt,Lt,Bt){return(ai,vi)=>Bt.runInContext(()=>Lt(ai,bi=>Dt(bi,vi)))}(bi,ki,this.injector),ye)}const ai=this.pendingTasks.add();return this.chain(Bt,vi=>this.backend.handle(vi)).pipe((0,d.x)(()=>this.pendingTasks.remove(ai)))}static#e=this.\u0275fac=function(ai){return new(ai||Dt)(t.LFG(k),t.LFG(t.lqb))};static#t=this.\u0275prov=t.Yz7({token:Dt,factory:Dt.\u0275fac})}return Dt})();const Et=/^\)\]\}',?\n/;let Ke=(()=>{class Dt{constructor(Bt){this.xhrFactory=Bt}handle(Bt){if("JSONP"===Bt.method)throw new t.vHH(-2800,!1);const ai=this.xhrFactory;return(ai.\u0275loadImpl?(0,l.D)(ai.\u0275loadImpl()):(0,y.of)(null)).pipe((0,E.w)(()=>new A.y(bi=>{const ki=ai.build();if(ki.open(Bt.method,Bt.urlWithParams),Bt.withCredentials&&(ki.withCredentials=!0),Bt.headers.forEach((ri,Oi)=>ki.setRequestHeader(ri,Oi.join(","))),Bt.headers.has("Accept")||ki.setRequestHeader("Accept","application/json, text/plain, */*"),!Bt.headers.has("Content-Type")){const ri=Bt.detectContentTypeHeader();null!==ri&&ki.setRequestHeader("Content-Type",ri)}if(Bt.responseType){const ri=Bt.responseType.toLowerCase();ki.responseType="json"!==ri?ri:"text"}const Bi=Bt.serializeBody();let Vi=null;const jt=()=>{if(null!==Vi)return Vi;const ri=ki.statusText||"OK",Oi=new V(ki.getAllResponseHeaders()),Bn=function lt(Dt){return"responseURL"in Dt&&Dt.responseURL?Dt.responseURL:/^X-Request-URL:/m.test(Dt.getAllResponseHeaders())?Dt.getResponseHeader("X-Request-URL"):null}(ki)||Bt.url;return Vi=new D({headers:Oi,status:ki.status,statusText:ri,url:Bn}),Vi},It=()=>{let{headers:ri,status:Oi,statusText:Bn,url:cr}=jt(),hn=null;204!==Oi&&(hn=typeof ki.response>"u"?ki.responseText:ki.response),0===Oi&&(Oi=hn?200:0);let fr=Oi>=200&&Oi<300;if("json"===Bt.responseType&&"string"==typeof hn){const ta=hn;hn=hn.replace(Et,"");try{hn=""!==hn?JSON.parse(hn):null}catch(Lr){hn=ta,fr&&(fr=!1,hn={error:Lr,text:hn})}}fr?(bi.next(new P({body:hn,headers:ri,status:Oi,statusText:Bn,url:cr||void 0})),bi.complete()):bi.error(new v({error:hn,headers:ri,status:Oi,statusText:Bn,url:cr||void 0}))},pe=ri=>{const{url:Oi}=jt(),Bn=new v({error:ri,status:ki.status||0,statusText:ki.statusText||"Unknown Error",url:Oi||void 0});bi.error(Bn)};let Ve=!1;const Xe=ri=>{Ve||(bi.next(jt()),Ve=!0);let Oi={type:h.DownloadProgress,loaded:ri.loaded};ri.lengthComputable&&(Oi.total=ri.total),"text"===Bt.responseType&&ki.responseText&&(Oi.partialText=ki.responseText),bi.next(Oi)},gt=ri=>{let Oi={type:h.UploadProgress,loaded:ri.loaded};ri.lengthComputable&&(Oi.total=ri.total),bi.next(Oi)};return ki.addEventListener("load",It),ki.addEventListener("error",pe),ki.addEventListener("timeout",pe),ki.addEventListener("abort",pe),Bt.reportProgress&&(ki.addEventListener("progress",Xe),null!==Bi&&ki.upload&&ki.upload.addEventListener("progress",gt)),ki.send(Bi),bi.next({type:h.Sent}),()=>{ki.removeEventListener("error",pe),ki.removeEventListener("abort",pe),ki.removeEventListener("load",It),ki.removeEventListener("timeout",pe),Bt.reportProgress&&(ki.removeEventListener("progress",Xe),null!==Bi&&ki.upload&&ki.upload.removeEventListener("progress",gt)),ki.readyState!==ki.DONE&&ki.abort()}})))}static#e=this.\u0275fac=function(ai){return new(ai||Dt)(t.LFG(x.JF))};static#t=this.\u0275prov=t.Yz7({token:Dt,factory:Dt.\u0275fac})}return Dt})();const Be=new t.OlP("XSRF_ENABLED"),J=new t.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Ft=new t.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Ct{}let Pt=(()=>{class Dt{constructor(Bt,ai,vi){this.doc=Bt,this.platform=ai,this.cookieName=vi,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Bt=this.doc.cookie||"";return Bt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,x.Mx)(Bt,this.cookieName),this.lastCookieString=Bt),this.lastToken}static#e=this.\u0275fac=function(ai){return new(ai||Dt)(t.LFG(x.K0),t.LFG(t.Lbi),t.LFG(J))};static#t=this.\u0275prov=t.Yz7({token:Dt,factory:Dt.\u0275fac})}return Dt})();function xt(Dt,Lt){const Bt=Dt.url.toLowerCase();if(!(0,t.f3M)(Be)||"GET"===Dt.method||"HEAD"===Dt.method||Bt.startsWith("http://")||Bt.startsWith("https://"))return Lt(Dt);const ai=(0,t.f3M)(Ct).getToken(),vi=(0,t.f3M)(Ft);return null!=ai&&!Dt.headers.has(vi)&&(Dt=Dt.clone({headers:Dt.headers.set(vi,ai)})),Lt(Dt)}var Ee=function(Dt){return Dt[Dt.Interceptors=0]="Interceptors",Dt[Dt.LegacyInterceptors=1]="LegacyInterceptors",Dt[Dt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Dt[Dt.NoXsrfProtection=3]="NoXsrfProtection",Dt[Dt.JsonpSupport=4]="JsonpSupport",Dt[Dt.RequestsMadeViaParent=5]="RequestsMadeViaParent",Dt[Dt.Fetch=6]="Fetch",Dt}(Ee||{});function Ue(...Dt){const Lt=[g,Ke,Ge,{provide:I,useExisting:Ge},{provide:k,useExisting:Ke},{provide:le,useValue:xt,multi:!0},{provide:Be,useValue:!0},{provide:Ct,useClass:Pt}];for(const Bt of Dt)Lt.push(...Bt.\u0275providers);return(0,t.MR2)(Lt)}const _t=new t.OlP("LEGACY_INTERCEPTOR_FN");function Le(){return function it(Dt,Lt){return{\u0275kind:Dt,\u0275providers:Lt}}(Ee.LegacyInterceptors,[{provide:_t,useFactory:oe},{provide:le,useExisting:_t,multi:!0}])}let Zt=(()=>{class Dt{static#e=this.\u0275fac=function(ai){return new(ai||Dt)};static#t=this.\u0275mod=t.oAB({type:Dt});static#i=this.\u0275inj=t.cJS({providers:[Ue(Le())]})}return Dt})()},9212:(He,X,p)=>{"use strict";function e(i,a){return Object.is(i,a)}p.d(X,{QbO:()=>y0,tb:()=>Sg,AFp:()=>v0,ip1:()=>vg,hGG:()=>X7,z2F:()=>Ph,Ojb:()=>x0,sBO:()=>oh,Sil:()=>Dy,_Vd:()=>$0,EJc:()=>My,ktI:()=>ya,Xts:()=>lc,SBq:()=>f2,lqb:()=>ds,qLn:()=>a1,vpe:()=>Bs,tBr:()=>Rd,XFs:()=>It,OlP:()=>hn,zs3:()=>hs,ZZ4:()=>L3,aQg:()=>Yu,soG:()=>dm,YKP:()=>R_,h0i:()=>k2,R0b:()=>fo,FiY:()=>E1,Lbi:()=>Gd,g9A:()=>b0,n_E:()=>Hf,Qsj:()=>Gm,FYo:()=>E3,JOm:()=>B1,q3G:()=>rd,tp0:()=>T1,Rgc:()=>O2,dDg:()=>Jy,eoX:()=>F7,GfV:()=>Wm,s_b:()=>M4,ifc:()=>Pr,T8G:()=>a4,gHi:()=>R1,dUe:()=>ch,VuI:()=>vv,Flj:()=>Ym,MMx:()=>J6,Lck:()=>$4,eFA:()=>z7,Gpc:()=>et,f3M:()=>Kn,X6Q:()=>hx,$WT:()=>nr,MR2:()=>L1,Cb_:()=>bv,_c5:()=>_x,qFp:()=>zx,r_H:()=>kc,tdS:()=>Wu,rg0:()=>$g,c2e:()=>T7,zSh:()=>I1,HDt:()=>L7,wAp:()=>Sh,vHH:()=>Ke,lri:()=>H7,rWj:()=>Cg,JZr:()=>lt,EiD:()=>l2,mCW:()=>ul,qzn:()=>En,JVY:()=>ba,pB0:()=>hl,eBb:()=>Lo,L6k:()=>eo,LAX:()=>Ka,cg1:()=>z4,kuF:()=>Be,kL8:()=>O5,dqk:()=>Oi,Z0I:()=>Bt,eJc:()=>hc,QGY:()=>P6,F4k:()=>R6,RDi:()=>ru,AaK:()=>kt,z3N:()=>mn,qOj:()=>l4,Xq5:()=>Yp,TTD:()=>Xi,_Bn:()=>Q6,jDz:()=>H_,xp6:()=>up,uIk:()=>vf,Tol:()=>aa,Gre:()=>xr,ekj:()=>Br,um2:()=>i5,Suo:()=>a7,Xpm:()=>Wr,lG2:()=>Ti,Yz7:()=>St,cJS:()=>Dt,oAB:()=>Eo,Yjl:()=>Mt,Y36:()=>sd,_UZ:()=>C6,GkF:()=>w6,BQk:()=>H4,ynx:()=>Lf,qZA:()=>N4,TgZ:()=>Df,EpF:()=>k5,n5z:()=>Dd,Ikx:()=>M6,LFG:()=>mr,$8M:()=>Ll,$Z:()=>H3,NdJ:()=>N6,CRH:()=>o7,kcU:()=>_1,O4$:()=>z2,oxw:()=>s_,ALo:()=>X_,lcZ:()=>ag,xi3:()=>J_,Dn7:()=>$_,Hsn:()=>l_,F$t:()=>c_,Q6J:()=>Yn,s9C:()=>H6,MGl:()=>Q4,hYB:()=>q4,DdM:()=>W_,VKq:()=>Y_,WLB:()=>im,kEZ:()=>j_,iGM:()=>n7,MAs:()=>m_,wJu:()=>s5,SjG:()=>a5,x6l:()=>n5,KtG:()=>Mc,Jf7:()=>w0,CHM:()=>Cl,oJD:()=>Tm,P3R:()=>v3,Udp:()=>wn,WFA:()=>j4,d8E:()=>F4,YNc:()=>_h,W1O:()=>l7,_uU:()=>E_,Oqu:()=>Dh,hij:()=>X4,AsE:()=>G6,lnq:()=>Z6,HOy:()=>W6,Gf:()=>r7});let t=null,y=!1,A=1;const l=Symbol("SIGNAL");function M(i){const a=t;return t=i,a}const E={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function x(i){if(y)throw new Error("");if(null===t)return;t.consumerOnSignalRead(i);const a=t.nextProducerIndex++;xe(t),a<t.producerNode.length&&t.producerNode[a]!==i&&re(t)&&ue(t.producerNode[a],t.producerIndexOfThis[a]),t.producerNode[a]!==i&&(t.producerNode[a]=i,t.producerIndexOfThis[a]=re(t)?ae(i,t,a):0),t.producerLastReadVersion[a]=i.version}function k(i){if((!re(i)||i.dirty)&&(i.dirty||i.lastCleanEpoch!==A)){if(!i.producerMustRecompute(i)&&!q(i))return i.dirty=!1,void(i.lastCleanEpoch=A);i.producerRecomputeValue(i),i.dirty=!1,i.lastCleanEpoch=A}}function V(i){if(void 0===i.liveConsumerNode)return;const a=y;y=!0;try{for(const c of i.liveConsumerNode)c.dirty||j(c)}finally{y=a}}function G(){return!1!==t?.consumerAllowSignalWrites}function j(i){i.dirty=!0,V(i),i.consumerMarkedDirty?.(i)}function W(i){return i&&(i.nextProducerIndex=0),M(i)}function K(i,a){if(M(a),i&&void 0!==i.producerNode&&void 0!==i.producerIndexOfThis&&void 0!==i.producerLastReadVersion){if(re(i))for(let c=i.nextProducerIndex;c<i.producerNode.length;c++)ue(i.producerNode[c],i.producerIndexOfThis[c]);for(;i.producerNode.length>i.nextProducerIndex;)i.producerNode.pop(),i.producerLastReadVersion.pop(),i.producerIndexOfThis.pop()}}function q(i){xe(i);for(let a=0;a<i.producerNode.length;a++){const c=i.producerNode[a],_=i.producerLastReadVersion[a];if(_!==c.version||(k(c),_!==c.version))return!0}return!1}function ae(i,a,c){if($(i),xe(i),0===i.liveConsumerNode.length)for(let _=0;_<i.producerNode.length;_++)i.producerIndexOfThis[_]=ae(i.producerNode[_],i,_);return i.liveConsumerIndexOfThis.push(c),i.liveConsumerNode.push(a)-1}function ue(i,a){if($(i),xe(i),1===i.liveConsumerNode.length)for(let _=0;_<i.producerNode.length;_++)ue(i.producerNode[_],i.producerIndexOfThis[_]);const c=i.liveConsumerNode.length-1;if(i.liveConsumerNode[a]=i.liveConsumerNode[c],i.liveConsumerIndexOfThis[a]=i.liveConsumerIndexOfThis[c],i.liveConsumerNode.length--,i.liveConsumerIndexOfThis.length--,a<i.liveConsumerNode.length){const _=i.liveConsumerIndexOfThis[a],T=i.liveConsumerNode[a];xe(T),T.producerIndexOfThis[_]=a}}function re(i){return i.consumerIsAlwaysLive||(i?.liveConsumerNode?.length??0)>0}function xe(i){i.producerNode??=[],i.producerIndexOfThis??=[],i.producerLastReadVersion??=[]}function $(i){i.liveConsumerNode??=[],i.liveConsumerIndexOfThis??=[]}const S=Symbol("UNSET"),n=Symbol("COMPUTING"),s=Symbol("ERRORED"),f=(()=>({...E,value:S,dirty:!0,error:null,equal:e,producerMustRecompute:i=>i.value===S||i.value===n,producerRecomputeValue(i){if(i.value===n)throw new Error("Detected cycle in computations.");const a=i.value;i.value=n;const c=W(i);let _;try{_=i.computation()}catch(T){_=s,i.error=T}finally{K(i,c)}a!==S&&a!==s&&_!==s&&i.equal(a,_)?i.value=a:(i.value=_,i.version++)}}))();let w=function h(){throw new Error};function D(){w()}let v=null;function N(i,a){G()||D();const c=i.value;Object.is(c,a)||i.equal(c,a)||(i.value=a,function je(i){i.version++,function I(){A++}(),V(i),v?.()}(i))}const st=(()=>({...E,equal:e,value:void 0}))();var Ce=p(8645),le=p(7394),ge=p(5592),qe=p(3019),oe=p(5619),ve=p(2096),ce=p(3020),Ge=p(4664),Ze=p(3997);function wt(i){for(let a in i)if(i[a]===wt)return a;throw Error("Could not find renamed property on target object.")}function mt(i,a){for(const c in a)a.hasOwnProperty(c)&&!i.hasOwnProperty(c)&&(i[c]=a[c])}function kt(i){if("string"==typeof i)return i;if(Array.isArray(i))return"["+i.map(kt).join(", ")+"]";if(null==i)return""+i;if(i.overriddenName)return`${i.overriddenName}`;if(i.name)return`${i.name}`;const a=i.toString();if(null==a)return""+a;const c=a.indexOf("\n");return-1===c?a:a.substring(0,c)}function Ae(i,a){return null==i||""===i?null===a?"":a:null==a||""===a?i:i+" "+a}const nt=wt({__forward_ref__:wt});function et(i){return i.__forward_ref__=et,i.toString=function(){return kt(this())},i}function ke(i){return ct(i)?i():i}function ct(i){return"function"==typeof i&&i.hasOwnProperty(nt)&&i.__forward_ref__===et}function Qe(i){return i&&!!i.\u0275providers}const lt="https://g.co/ng/security#xss";class Ke extends Error{constructor(a,c){super(Be(a,c)),this.code=a}}function Be(i,a){return`NG0${Math.abs(i)}${a?": "+a:""}`}const Xt=wt({\u0275cmp:wt}),J=wt({\u0275dir:wt}),We=wt({\u0275pipe:wt}),Ft=wt({\u0275mod:wt}),Ct=wt({\u0275fac:wt}),Pt=wt({__NG_ELEMENT_ID__:wt}),xt=wt({__NG_ENV_ID__:wt});function rt(i){return"string"==typeof i?i:null==i?"":String(i)}function be(i,a){throw new Ke(-201,!1)}function Qi(i,a){null==i&&function xi(i,a,c,_){throw new Error(`ASSERTION ERROR: ${i}`+(null==_?"":` [Expected=> ${c} ${_} ${a} <=Actual]`))}(a,i,null,"!=")}function St(i){return{token:i.token,providedIn:i.providedIn||null,factory:i.factory,value:void 0}}function Dt(i){return{providers:i.providers||[],imports:i.imports||[]}}function Lt(i){return ai(i,ki)||ai(i,Vi)}function Bt(i){return null!==Lt(i)}function ai(i,a){return i.hasOwnProperty(a)?i[a]:null}function bi(i){return i&&(i.hasOwnProperty(Bi)||i.hasOwnProperty(jt))?i[Bi]:null}const ki=wt({\u0275prov:wt}),Bi=wt({\u0275inj:wt}),Vi=wt({ngInjectableDef:wt}),jt=wt({ngInjectorDef:wt});var It=function(i){return i[i.Default=0]="Default",i[i.Host=1]="Host",i[i.Self=2]="Self",i[i.SkipSelf=4]="SkipSelf",i[i.Optional=8]="Optional",i}(It||{});let pe;function Ve(){return pe}function Xe(i){const a=pe;return pe=i,a}function gt(i,a,c){const _=Lt(i);return _&&"root"==_.providedIn?void 0===_.value?_.value=_.factory():_.value:c&It.Optional?null:void 0!==a?a:void be(kt(i))}const Oi=globalThis;class hn{constructor(a,c){this._desc=a,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof c?this.__NG_ELEMENT_ID__=c:void 0!==c&&(this.\u0275prov=St({token:this,providedIn:c.providedIn||"root",factory:c.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Ji={},xn="__NG_DI_FLAG__",jn="ngTempTokenPath",Tr=/\n/gm,Cr="__source";let oa;function sa(i){const a=oa;return oa=i,a}function za(i,a=It.Default){if(void 0===oa)throw new Ke(-203,!1);return null===oa?gt(i,void 0,a):oa.get(i,a&It.Optional?null:void 0,a)}function mr(i,a=It.Default){return(Ve()||za)(ke(i),a)}function Kn(i,a=It.Default){return mr(i,ga(a))}function ga(i){return typeof i>"u"||"number"==typeof i?i:0|(i.optional&&8)|(i.host&&1)|(i.self&&2)|(i.skipSelf&&4)}function Va(i){const a=[];for(let c=0;c<i.length;c++){const _=ke(i[c]);if(Array.isArray(_)){if(0===_.length)throw new Ke(900,!1);let T,F=It.Default;for(let Q=0;Q<_.length;Q++){const se=_[Q],Me=kr(se);"number"==typeof Me?-1===Me?T=se.token:F|=Me:T=se}a.push(mr(T,F))}else a.push(mr(_))}return a}function _a(i,a){return i[xn]=a,i.prototype[xn]=a,i}function kr(i){return i[xn]}function Qr(i){return{toString:i}.toString()}var wa=function(i){return i[i.OnPush=0]="OnPush",i[i.Default=1]="Default",i}(wa||{}),Pr=function(i){return i[i.Emulated=0]="Emulated",i[i.None=2]="None",i[i.ShadowDom=3]="ShadowDom",i}(Pr||{});const ur={},Un=[];function Ma(i,a,c){let _=i.length;for(;;){const T=i.indexOf(a,c);if(-1===T)return T;if(0===T||i.charCodeAt(T-1)<=32){const F=a.length;if(T+F===_||i.charCodeAt(T+F)<=32)return T}c=T+1}}function io(i,a,c){let _=0;for(;_<c.length;){const T=c[_];if("number"==typeof T){if(0!==T)break;_++;const F=c[_++],Q=c[_++],se=c[_++];i.setAttribute(a,Q,se,F)}else{const F=T,Q=c[++_];Qo(F)?i.setProperty(a,F,Q):i.setAttribute(a,F,Q),_++}}return _}function Ar(i){return 3===i||4===i||6===i}function Qo(i){return 64===i.charCodeAt(0)}function ia(i,a){if(null!==a&&0!==a.length)if(null===i||0===i.length)i=a.slice();else{let c=-1;for(let _=0;_<a.length;_++){const T=a[_];"number"==typeof T?c=T:0===c||Oa(i,c,T,null,-1===c||2===c?a[++_]:null)}}return i}function Oa(i,a,c,_,T){let F=0,Q=i.length;if(-1===a)Q=-1;else for(;F<i.length;){const se=i[F++];if("number"==typeof se){if(se===a){Q=-1;break}if(se>a){Q=F-1;break}}}for(;F<i.length;){const se=i[F];if("number"==typeof se)break;if(se===c){if(null===_)return void(null!==T&&(i[F+1]=T));if(_===i[F+1])return void(i[F+2]=T)}F++,null!==_&&F++,null!==T&&F++}-1!==Q&&(i.splice(Q,0,a),F=Q+1),i.splice(F++,0,c),null!==_&&i.splice(F++,0,_),null!==T&&i.splice(F++,0,T)}const Pa="ng-template";function go(i,a,c){let _=0,T=!0;for(;_<i.length;){let F=i[_++];if("string"==typeof F&&T){const Q=i[_++];if(c&&"class"===F&&-1!==Ma(Q.toLowerCase(),a,0))return!0}else{if(1===F){for(;_<i.length&&"string"==typeof(F=i[_++]);)if(F.toLowerCase()===a)return!0;return!1}"number"==typeof F&&(T=!1)}}return!1}function no(i){return 4===i.type&&i.value!==Pa}function Mo(i,a,c){return a===(4!==i.type||c?i.value:Pa)}function _o(i,a,c){let _=4;const T=i.attrs||[],F=function Ba(i){for(let a=0;a<i.length;a++)if(Ar(i[a]))return a;return i.length}(T);let Q=!1;for(let se=0;se<a.length;se++){const Me=a[se];if("number"!=typeof Me){if(!Q)if(4&_){if(_=2|1&_,""!==Me&&!Mo(i,Me,c)||""===Me&&1===a.length){if(qr(_))return!1;Q=!0}}else{const at=8&_?Me:a[++se];if(8&_&&null!==i.attrs){if(!go(i.attrs,at,c)){if(qr(_))return!1;Q=!0}continue}const Ut=la(8&_?"class":Me,T,no(i),c);if(-1===Ut){if(qr(_))return!1;Q=!0;continue}if(""!==at){let oi;oi=Ut>F?"":T[Ut+1].toLowerCase();const mi=8&_?oi:null;if(mi&&-1!==Ma(mi,at,0)||2&_&&at!==oi){if(qr(_))return!1;Q=!0}}}}else{if(!Q&&!qr(_)&&!qr(Me))return!1;if(Q&&qr(Me))continue;Q=!1,_=Me|1&_}}return qr(_)||Q}function qr(i){return 0==(1&i)}function la(i,a,c,_){if(null===a)return-1;let T=0;if(_||!c){let F=!1;for(;T<a.length;){const Q=a[T];if(Q===i)return T;if(3===Q||6===Q)F=!0;else{if(1===Q||2===Q){let se=a[++T];for(;"string"==typeof se;)se=a[++T];continue}if(4===Q)break;if(0===Q){T+=4;continue}}T+=F?1:2}return-1}return function Xr(i,a){let c=i.indexOf(4);if(c>-1)for(c++;c<i.length;){const _=i[c];if("number"==typeof _)return-1;if(_===a)return c;c++}return-1}(a,i)}function va(i,a,c=!1){for(let _=0;_<a.length;_++)if(_o(i,a[_],c))return!0;return!1}function _s(i,a){e:for(let c=0;c<a.length;c++){const _=a[c];if(i.length===_.length){for(let T=0;T<i.length;T++)if(i[T]!==_[T])continue e;return!0}}return!1}function ro(i,a){return i?":not("+a.trim()+")":a}function So(i){let a=i[0],c=1,_=2,T="",F=!1;for(;c<i.length;){let Q=i[c];if("string"==typeof Q)if(2&_){const se=i[++c];T+="["+Q+(se.length>0?'="'+se+'"':"")+"]"}else 8&_?T+="."+Q:4&_&&(T+=" "+Q);else""!==T&&!qr(Q)&&(a+=ro(F,T),T=""),_=Q,F=F||!qr(_);c++}return""!==T&&(a+=ro(F,T)),a}function Wr(i){return Qr(()=>{const a=Yr(i),c={...a,decls:i.decls,vars:i.vars,template:i.template,consts:i.consts||null,ngContentSelectors:i.ngContentSelectors,onPush:i.changeDetection===wa.OnPush,directiveDefs:null,pipeDefs:null,dependencies:a.standalone&&i.dependencies||null,getStandaloneInjector:null,signals:i.signals??!1,data:i.data||{},encapsulation:i.encapsulation||Pr.Emulated,styles:i.styles||Un,_:null,schemas:i.schemas||null,tView:null,id:""};on(c);const _=i.dependencies;return c.directiveDefs=Ua(_,!1),c.pipeDefs=Ua(_,!0),c.id=function yt(i){let a=0;const c=[i.selectors,i.ngContentSelectors,i.hostVars,i.hostAttrs,i.consts,i.vars,i.decls,i.encapsulation,i.standalone,i.signals,i.exportAs,JSON.stringify(i.inputs),JSON.stringify(i.outputs),Object.getOwnPropertyNames(i.type.prototype),!!i.contentQueries,!!i.viewQuery].join("|");for(const T of c)a=Math.imul(31,a)+T.charCodeAt(0)<<0;return a+=2147483648,"c"+a}(c),c})}function No(i){return ii(i)||Si(i)}function vo(i){return null!==i}function Eo(i){return Qr(()=>({type:i.type,bootstrap:i.bootstrap||Un,declarations:i.declarations||Un,imports:i.imports||Un,exports:i.exports||Un,transitiveCompileScopes:null,schemas:i.schemas||null,id:i.id||null}))}function Vt(i,a){if(null==i)return ur;const c={};for(const _ in i)if(i.hasOwnProperty(_)){let T=i[_],F=T;Array.isArray(T)&&(F=T[1],T=T[0]),c[T]=_,a&&(a[T]=F)}return c}function Ti(i){return Qr(()=>{const a=Yr(i);return on(a),a})}function Mt(i){return{type:i.type,name:i.name,factory:null,pure:!1!==i.pure,standalone:!0===i.standalone,onDestroy:i.type.prototype.ngOnDestroy||null}}function ii(i){return i[Xt]||null}function Si(i){return i[J]||null}function Zi(i){return i[We]||null}function nr(i){const a=ii(i)||Si(i)||Zi(i);return null!==a&&a.standalone}function lr(i,a){const c=i[Ft]||null;if(!c&&!0===a)throw new Error(`Type ${kt(i)} does not have '\u0275mod' property.`);return c}function Yr(i){const a={};return{type:i.type,providersResolver:null,factory:null,hostBindings:i.hostBindings||null,hostVars:i.hostVars||0,hostAttrs:i.hostAttrs||null,contentQueries:i.contentQueries||null,declaredInputs:a,inputTransforms:null,inputConfig:i.inputs||ur,exportAs:i.exportAs||null,standalone:!0===i.standalone,signals:!0===i.signals,selectors:i.selectors||Un,viewQuery:i.viewQuery||null,features:i.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Vt(i.inputs,a),outputs:Vt(i.outputs),debugInfo:null}}function on(i){i.features?.forEach(a=>a(i))}function Ua(i,a){if(!i)return null;const c=a?Zi:No;return()=>("function"==typeof i?i():i).map(_=>c(_)).filter(vo)}const Fe=0,bt=1,Qt=2,Fi=3,Cn=4,Mr=5,Sa=6,bo=7,Fn=8,zi=9,oo=10,Dn=11,Yi=12,As=13,yo=14,vr=15,To=16,Ga=17,Ea=18,da=19,Ds=20,so=21,Ho=22,xo=23,An=25,qo=1,dr=7,rs=9,Ki=10;var Ls=function(i){return i[i.None=0]="None",i[i.HasTransplantedViews=2]="HasTransplantedViews",i[i.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",i}(Ls||{});function ha(i){return Array.isArray(i)&&"object"==typeof i[qo]}function Rr(i){return Array.isArray(i)&&!0===i[qo]}function Is(i){return 0!=(4&i.flags)}function Fo(i){return i.componentOffset>-1}function Zs(i){return 1==(1&i.flags)}function co(i){return!!i.template}function Xn(i){return 0!=(512&i[Qt])}function Di(i,a){return i.hasOwnProperty(Ct)?i[Ct]:null}class tn{constructor(a,c,_){this.previousValue=a,this.currentValue=c,this.firstChange=_}isFirstChange(){return this.firstChange}}function Xi(){return fn}function fn(i){return i.type.prototype.ngOnChanges&&(i.setInput=Nn),Tn}function Tn(){const i=Fr(this),a=i?.current;if(a){const c=i.previous;if(c===ur)i.previous=a;else for(let _ in a)c[_]=a[_];i.current=null,this.ngOnChanges(a)}}function Nn(i,a,c,_){const T=this.declaredInputs[c],F=Fr(i)||function ua(i,a){return i[Dr]=a}(i,{previous:ur,current:null}),Q=F.current||(F.current={}),se=F.previous,Me=se[T];Q[T]=new tn(Me&&Me.currentValue,a,se===ur),i[_]=a}Xi.ngInherit=!0;const Dr="__ngSimpleChanges__";function Fr(i){return i[Dr]||null}const Nr=function(i,a,c){},Ao="svg";function zn(i){for(;Array.isArray(i);)i=i[Fe];return i}function vs(i,a){return zn(a[i])}function Sr(i,a){return zn(a[i.index])}function wc(i,a){return i.data[a]}function Os(i,a){return i[a]}function zo(i,a){const c=a[i];return ha(c)?c:c[Fe]}function vl(i){return 128==(128&i[Qt])}function Jo(i,a){return null==a?null:i[a]}function Yt(i){i[Ga]=0}function Ps(i){1024&i[Qt]||(i[Qt]|=1024,vl(i)&&bl(i))}function m1(i){9216&i[Qt]&&bl(i)}function bl(i){let a=i[Fi];for(;null!==a&&!(Rr(a)&&a[Qt]&Ls.HasChildViewsToRefresh||ha(a)&&8192&a[Qt]);){if(Rr(a))a[Qt]|=Ls.HasChildViewsToRefresh;else if(a[Qt]|=8192,!vl(a))break;a=a[Fi]}}function Gc(i,a){if(256==(256&i[Qt]))throw new Ke(911,!1);null===i[so]&&(i[so]=[]),i[so].push(a)}const kn={lFrame:Bo(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function g1(){return kn.bindingsEnabled}function ic(){return null!==kn.skipHydrationRootTNode}function Ni(){return kn.lFrame.lView}function ar(){return kn.lFrame.tView}function Cl(i){return kn.lFrame.contextLView=i,i[Fn]}function Mc(i){return kn.lFrame.contextLView=null,i}function pr(){let i=as();for(;null!==i&&64===i.type;)i=i.parent;return i}function as(){return kn.lFrame.currentTNode}function zr(i,a){const c=kn.lFrame;c.currentTNode=i,c.isParent=a}function Na(){return kn.lFrame.isParent}function Sc(){kn.lFrame.isParent=!1}function or(){const i=kn.lFrame;let a=i.bindingRootIndex;return-1===a&&(a=i.bindingRootIndex=i.tView.bindingStartIndex),a}function Jn(){return kn.lFrame.bindingIndex}function $r(){return kn.lFrame.bindingIndex++}function me(i){const a=kn.lFrame,c=a.bindingIndex;return a.bindingIndex=a.bindingIndex+i,c}function Re(i,a){const c=kn.lFrame;c.bindingIndex=c.bindingRootIndex=i,Nt(a)}function Nt(i){kn.lFrame.currentDirectiveIndex=i}function ni(i){const a=kn.lFrame.currentDirectiveIndex;return-1===a?null:i[a]}function Li(){return kn.lFrame.currentQueryIndex}function Ai(i){kn.lFrame.currentQueryIndex=i}function cn(i){const a=i[bt];return 2===a.type?a.declTNode:1===a.type?i[Mr]:null}function Qn(i,a,c){if(c&It.SkipSelf){let T=a,F=i;for(;!(T=T.parent,null!==T||c&It.Host||(T=cn(F),null===T||(F=F[yo],10&T.type))););if(null===T)return!1;a=T,i=F}const _=kn.lFrame=jr();return _.currentTNode=a,_.lView=i,!0}function sr(i){const a=jr(),c=i[bt];kn.lFrame=a,a.currentTNode=c.firstChild,a.lView=i,a.tView=c,a.contextLView=i,a.bindingIndex=c.bindingStartIndex,a.inI18n=!1}function jr(){const i=kn.lFrame,a=null===i?null:i.child;return null===a?Bo(i):a}function Bo(i){const a={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:i,child:null,inI18n:!1};return null!==i&&(i.child=a),a}function Rs(){const i=kn.lFrame;return kn.lFrame=i.parent,i.currentTNode=null,i.lView=null,i}const Uo=Rs;function rc(){const i=Rs();i.isParent=!0,i.tView=null,i.selectedIndex=-1,i.contextLView=null,i.elementDepthCount=0,i.currentDirectiveIndex=-1,i.currentNamespace=null,i.bindingRootIndex=-1,i.bindingIndex=-1,i.currentQueryIndex=0}function Za(){return kn.lFrame.selectedIndex}function Ns(i){kn.lFrame.selectedIndex=i}function Or(){const i=kn.lFrame;return wc(i.tView,i.selectedIndex)}function z2(){kn.lFrame.currentNamespace=Ao}function _1(){!function Ys(){kn.lFrame.currentNamespace=null}()}let Hs=!0;function os(){return Hs}function Fs(i){Hs=i}function Wc(i,a){for(let c=a.directiveStart,_=a.directiveEnd;c<_;c++){const F=i.data[c].type.prototype,{ngAfterContentInit:Q,ngAfterContentChecked:se,ngAfterViewInit:Me,ngAfterViewChecked:at,ngOnDestroy:Tt}=F;Q&&(i.contentHooks??=[]).push(-c,Q),se&&((i.contentHooks??=[]).push(c,se),(i.contentCheckHooks??=[]).push(c,se)),Me&&(i.viewHooks??=[]).push(-c,Me),at&&((i.viewHooks??=[]).push(c,at),(i.viewCheckHooks??=[]).push(c,at)),null!=Tt&&(i.destroyHooks??=[]).push(c,Tt)}}function Yc(i,a,c){El(i,a,3,c)}function jc(i,a,c,_){(3&i[Qt])===c&&El(i,a,c,_)}function Da(i,a){let c=i[Qt];(3&c)===a&&(c&=16383,c+=1,i[Qt]=c)}function El(i,a,c,_){const F=_??-1,Q=a.length-1;let se=0;for(let Me=void 0!==_?65535&i[Ga]:0;Me<Q;Me++)if("number"==typeof a[Me+1]){if(se=a[Me],null!=_&&se>=_)break}else a[Me]<0&&(i[Ga]+=65536),(se<F||-1==F)&&(Kc(i,c,a,Me),i[Ga]=(4294901760&i[Ga])+Me+2),Me++}function V2(i,a){Nr(4,i,a);const c=M(null);try{a.call(i)}finally{M(c),Nr(5,i,a)}}function Kc(i,a,c,_){const T=c[_]<0,F=c[_+1],se=i[T?-c[_]:c[_]];T?i[Qt]>>14<i[Ga]>>16&&(3&i[Qt])===a&&(i[Qt]+=16384,V2(se,F)):V2(se,F)}const Qc=-1;class Ec{constructor(a,c,_){this.factory=a,this.resolving=!1,this.canSeeViewProviders=c,this.injectImpl=_}}function Tl(i){return i!==Qc}function b1(i){return 32767&i}function Al(i,a){let c=function qf(i){return i>>16}(i),_=a;for(;c>0;)_=_[yo],c--;return _}let y1=!0;function x1(i){const a=y1;return y1=i,a}const C1=255,B2=5;let U2=0;const ss={};function Ks(i,a){const c=Td(i,a);if(-1!==c)return c;const _=a[bt];_.firstCreatePass&&(i.injectorIndex=a.length,gr(_.data,i),gr(a,null),gr(_.blueprint,null));const T=w1(i,a),F=i.injectorIndex;if(Tl(T)){const Q=b1(T),se=Al(T,a),Me=se[bt].data;for(let at=0;at<8;at++)a[F+at]=se[Q+at]|Me[Q+at]}return a[F+8]=T,F}function gr(i,a){i.push(0,0,0,0,0,0,0,0,a)}function Td(i,a){return-1===i.injectorIndex||i.parent&&i.parent.injectorIndex===i.injectorIndex||null===a[i.injectorIndex+8]?-1:i.injectorIndex}function w1(i,a){if(i.parent&&-1!==i.parent.injectorIndex)return i.parent.injectorIndex;let c=0,_=null,T=a;for(;null!==T;){if(_=Gh(T),null===_)return Qc;if(c++,T=T[yo],-1!==_.injectorIndex)return _.injectorIndex|c<<16}return Qc}function G2(i,a,c){!function js(i,a,c){let _;"string"==typeof c?_=c.charCodeAt(0)||0:c.hasOwnProperty(Pt)&&(_=c[Pt]),null==_&&(_=c[Pt]=U2++);const T=_&C1;a.data[i+(T>>B2)]|=1<<T}(i,a,c)}function Z2(i,a,c){if(c&It.Optional||void 0!==i)return i;be()}function zh(i,a,c,_){if(c&It.Optional&&void 0===_&&(_=null),!(c&(It.Self|It.Host))){const T=i[zi],F=Xe(void 0);try{return T?T.get(a,_,c&It.Optional):gt(a,_,c&It.Optional)}finally{Xe(F)}}return Z2(_,0,c)}function Vh(i,a,c,_=It.Default,T){if(null!==i){if(2048&a[Qt]&&!(_&It.Self)){const Q=function Jf(i,a,c,_,T){let F=i,Q=a;for(;null!==F&&null!==Q&&2048&Q[Qt]&&!(512&Q[Qt]);){const se=ac(F,Q,c,_|It.Self,ss);if(se!==ss)return se;let Me=F.parent;if(!Me){const at=Q[Ds];if(at){const Tt=at.get(c,ss,_);if(Tt!==ss)return Tt}Me=Gh(Q),Q=Q[yo]}F=Me}return T}(i,a,c,_,ss);if(Q!==ss)return Q}const F=ac(i,a,c,_,ss);if(F!==ss)return F}return zh(a,c,_,T)}function ac(i,a,c,_,T){const F=function Bh(i){if("string"==typeof i)return i.charCodeAt(0)||0;const a=i.hasOwnProperty(Pt)?i[Pt]:void 0;return"number"==typeof a?a>=0?a&C1:Uh:a}(c);if("function"==typeof F){if(!Qn(a,i,_))return _&It.Host?Z2(T,0,_):zh(a,c,_,T);try{let Q;if(Q=F(_),null!=Q||_&It.Optional)return Q;be()}finally{Uo()}}else if("number"==typeof F){let Q=null,se=Td(i,a),Me=Qc,at=_&It.Host?a[vr][Mr]:null;for((-1===se||_&It.SkipSelf)&&(Me=-1===se?w1(i,a):a[se+8],Me!==Qc&&Ad(_,!1)?(Q=a[bt],se=b1(Me),a=Al(Me,a)):se=-1);-1!==se;){const Tt=a[bt];if(Y2(F,se,Tt.data)){const Ut=W2(se,a,c,Q,_,at);if(Ut!==ss)return Ut}Me=a[se+8],Me!==Qc&&Ad(_,a[bt].data[se+8]===at)&&Y2(F,se,a)?(Q=Tt,se=b1(Me),a=Al(Me,a)):se=-1}}return T}function W2(i,a,c,_,T,F){const Q=a[bt],se=Q.data[i+8],Tt=M1(se,Q,c,null==_?Fo(se)&&y1:_!=Q&&0!=(3&se.type),T&It.Host&&F===se);return null!==Tt?oc(a,Q,Tt,se):ss}function M1(i,a,c,_,T){const F=i.providerIndexes,Q=a.data,se=1048575&F,Me=i.directiveStart,Tt=F>>20,oi=T?se+Tt:i.directiveEnd;for(let mi=_?se:se+Tt;mi<oi;mi++){const Ri=Q[mi];if(mi<Me&&c===Ri||mi>=Me&&Ri.type===c)return mi}if(T){const mi=Q[Me];if(mi&&co(mi)&&mi.type===c)return Me}return null}function oc(i,a,c,_){let T=i[c];const F=a.data;if(function jf(i){return i instanceof Ec}(T)){const Q=T;Q.resolving&&function Je(i,a){const c=a?`. Dependency path: ${a.join(" > ")} > ${i}`:"";throw new Ke(-200,`Circular dependency in DI detected for ${i}${c}`)}(function Ee(i){return"function"==typeof i?i.name||i.toString():"object"==typeof i&&null!=i&&"function"==typeof i.type?i.type.name||i.type.toString():rt(i)}(F[c]));const se=x1(Q.canSeeViewProviders);Q.resolving=!0;const at=Q.injectImpl?Xe(Q.injectImpl):null;Qn(i,_,It.Default);try{T=i[c]=Q.factory(void 0,F,i,_),a.firstCreatePass&&c>=_.directiveStart&&function Sl(i,a,c){const{ngOnChanges:_,ngOnInit:T,ngDoCheck:F}=a.type.prototype;if(_){const Q=fn(a);(c.preOrderHooks??=[]).push(i,Q),(c.preOrderCheckHooks??=[]).push(i,Q)}T&&(c.preOrderHooks??=[]).push(0-i,T),F&&((c.preOrderHooks??=[]).push(i,F),(c.preOrderCheckHooks??=[]).push(i,F))}(c,F[c],a)}finally{null!==at&&Xe(at),x1(se),Q.resolving=!1,Uo()}}return T}function Y2(i,a,c){return!!(c[a+(i>>B2)]&1<<i)}function Ad(i,a){return!(i&It.Self||i&It.Host&&a)}class $a{constructor(a,c){this._tNode=a,this._lView=c}get(a,c,_){return Vh(this._tNode,this._lView,a,ga(_),c)}}function Uh(){return new $a(pr(),Ni())}function Dd(i){return Qr(()=>{const a=i.prototype.constructor,c=a[Ct]||j2(a),_=Object.prototype;let T=Object.getPrototypeOf(i.prototype).constructor;for(;T&&T!==_;){const F=T[Ct]||j2(T);if(F&&F!==c)return F;T=Object.getPrototypeOf(T)}return F=>new F})}function j2(i){return ct(i)?()=>{const a=j2(ke(i));return a&&a()}:Di(i)}function Gh(i){const a=i[bt],c=a.type;return 2===c?a.declTNode:1===c?i[Mr]:null}function Ll(i){return function Xf(i,a){if("class"===a)return i.classes;if("style"===a)return i.styles;const c=i.attrs;if(c){const _=c.length;let T=0;for(;T<_;){const F=c[T];if(Ar(F))break;if(0===F)T+=2;else if("number"==typeof F)for(T++;T<_&&"string"==typeof c[T];)T++;else{if(F===a)return c[T+1];T+=2}}}return null}(pr(),i)}const Tc="__parameters__";function Qs(i,a,c){return Qr(()=>{const _=function Ld(i){return function(...c){if(i){const _=i(...c);for(const T in _)this[T]=_[T]}}}(a);function T(...F){if(this instanceof T)return _.apply(this,F),this;const Q=new T(...F);return se.annotation=Q,se;function se(Me,at,Tt){const Ut=Me.hasOwnProperty(Tc)?Me[Tc]:Object.defineProperty(Me,Tc,{value:[]})[Tc];for(;Ut.length<=Tt;)Ut.push(null);return(Ut[Tt]=Ut[Tt]||[]).push(Q),Me}}return c&&(T.prototype=Object.create(c.prototype)),T.prototype.ngMetadataName=i,T.annotationCls=T,T})}function cs(i,a){i.forEach(c=>Array.isArray(c)?cs(c,a):a(c))}function Od(i,a,c){a>=i.length?i.push(c):i.splice(a,0,c)}function sc(i,a){return a>=i.length-1?i.pop():i.splice(a,1)[0]}function Rl(i,a){const c=[];for(let _=0;_<i;_++)c.push(a);return c}function ls(i,a,c){let _=Hl(i,a);return _>=0?i[1|_]=c:(_=~_,function Pd(i,a,c,_){let T=i.length;if(T==a)i.push(c,_);else if(1===T)i.push(_,i[0]),i[0]=c;else{for(T--,i.push(i[T-1],i[T]);T>a;)i[T]=i[T-2],T--;i[a]=c,i[a+1]=_}}(i,_,a,c)),_}function X2(i,a){const c=Hl(i,a);if(c>=0)return i[1|c]}function Hl(i,a){return function Zh(i,a,c){let _=0,T=i.length>>c;for(;T!==_;){const F=_+(T-_>>1),Q=i[F<<c];if(a===Q)return F<<c;Q>a?T=F:_=F+1}return~(T<<c)}(i,a,1)}const Rd=_a(Qs("Inject",i=>({token:i})),-1),E1=_a(Qs("Optional"),8),T1=_a(Qs("SkipSelf"),4),lc=new hn("ENVIRONMENT_INITIALIZER"),D1=new hn("INJECTOR",-1),Lc=new hn("INJECTOR_DEF_TYPES");class Bl{get(a,c=Ji){if(c===Ji){const _=new Error(`NullInjectorError: No provider for ${kt(a)}!`);throw _.name="NullInjectorError",_}return c}}function L1(i){return{\u0275providers:i}}function Ya(...i){return{\u0275providers:r0(0,i),\u0275fromNgModule:!0}}function r0(i,...a){const c=[],_=new Set;let T;const F=Q=>{c.push(Q)};return cs(a,Q=>{const se=Q;_r(se,F,[],_)&&(T||=[],T.push(se))}),void 0!==T&&Hd(T,F),c}function Hd(i,a){for(let c=0;c<i.length;c++){const{ngModule:_,providers:T}=i[c];dc(T,F=>{a(F,_)})}}function _r(i,a,c,_){if(!(i=ke(i)))return!1;let T=null,F=bi(i);const Q=!F&&ii(i);if(F||Q){if(Q&&!Q.standalone)return!1;T=i}else{const Me=i.ngModule;if(F=bi(Me),!F)return!1;T=Me}const se=_.has(T);if(Q){if(se)return!1;if(_.add(T),Q.dependencies){const Me="function"==typeof Q.dependencies?Q.dependencies():Q.dependencies;for(const at of Me)_r(at,a,c,_)}}else{if(!F)return!1;{if(null!=F.imports&&!se){let at;_.add(T);try{cs(F.imports,Tt=>{_r(Tt,a,c,_)&&(at||=[],at.push(Tt))})}finally{}void 0!==at&&Hd(at,a)}if(!se){const at=Di(T)||(()=>new T);a({provide:T,useFactory:at,deps:Un},T),a({provide:Lc,useValue:T,multi:!0},T),a({provide:lc,useValue:()=>mr(T),multi:!0},T)}const Me=F.providers;if(null!=Me&&!se){const at=i;dc(Me,Tt=>{a(Tt,at)})}}}return T!==i&&void 0!==i.providers}function dc(i,a){for(let c of i)Qe(c)&&(c=c.\u0275providers),Array.isArray(c)?dc(c,a):a(c)}const Ul=wt({provide:String,useValue:wt});function Fd(i){return null!==i&&"object"==typeof i&&Ul in i}function Ic(i){return"function"==typeof i}const I1=new hn("Set Injector scope."),Gl={},qh={};let k1;function O1(){return void 0===k1&&(k1=new Bl),k1}class ds{}class el extends ds{get destroyed(){return this._destroyed}constructor(a,c,_,T){super(),this.parent=c,this.source=_,this.scopes=T,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,P1(a,Q=>this.processProvider(Q)),this.records.set(D1,tl(void 0,this)),T.has("environment")&&this.records.set(ds,tl(void 0,this));const F=this.records.get(I1);null!=F&&"string"==typeof F.value&&this.scopes.add(F.value),this.injectorDefTypes=new Set(this.get(Lc,Un,It.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const c of this._ngOnDestroyHooks)c.ngOnDestroy();const a=this._onDestroyHooks;this._onDestroyHooks=[];for(const c of a)c()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(a){return this.assertNotDestroyed(),this._onDestroyHooks.push(a),()=>this.removeOnDestroy(a)}runInContext(a){this.assertNotDestroyed();const c=sa(this),_=Xe(void 0);try{return a()}finally{sa(c),Xe(_)}}get(a,c=Ji,_=It.Default){if(this.assertNotDestroyed(),a.hasOwnProperty(xt))return a[xt](this);_=ga(_);const F=sa(this),Q=Xe(void 0);try{if(!(_&It.SkipSelf)){let Me=this.records.get(a);if(void 0===Me){const at=function eu(i){return"function"==typeof i||"object"==typeof i&&i instanceof hn}(a)&&Lt(a);Me=at&&this.injectableDefInScope(at)?tl(Zl(a),Gl):null,this.records.set(a,Me)}if(null!=Me)return this.hydrate(a,Me)}return(_&It.Self?O1():this.parent).get(a,c=_&It.Optional&&c===Ji?null:c)}catch(se){if("NullInjectorError"===se.name){if((se[jn]=se[jn]||[]).unshift(kt(a)),F)throw se;return function ca(i,a,c,_){const T=i[jn];throw a[Cr]&&T.unshift(a[Cr]),i.message=function wo(i,a,c,_=null){i=i&&"\n"===i.charAt(0)&&"\u0275"==i.charAt(1)?i.slice(2):i;let T=kt(a);if(Array.isArray(a))T=a.map(kt).join(" -> ");else if("object"==typeof a){let F=[];for(let Q in a)if(a.hasOwnProperty(Q)){let se=a[Q];F.push(Q+":"+("string"==typeof se?JSON.stringify(se):kt(se)))}T=`{${F.join(", ")}}`}return`${c}${_?"("+_+")":""}[${T}]: ${i.replace(Tr,"\n ")}`}("\n"+i.message,T,c,_),i.ngTokenPath=T,i[jn]=null,i}(se,a,"R3InjectorError",this.source)}throw se}finally{Xe(Q),sa(F)}}resolveInjectorInitializers(){const a=sa(this),c=Xe(void 0);try{const T=this.get(lc,Un,It.Self);for(const F of T)F()}finally{sa(a),Xe(c)}}toString(){const a=[],c=this.records;for(const _ of c.keys())a.push(kt(_));return`R3Injector[${a.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Ke(205,!1)}processProvider(a){let c=Ic(a=ke(a))?a:ke(a&&a.provide);const _=function Jh(i){return Fd(i)?tl(void 0,i.useValue):tl(s0(i),Gl)}(a);if(Ic(a)||!0!==a.multi)this.records.get(c);else{let T=this.records.get(c);T||(T=tl(void 0,Gl,!0),T.factory=()=>Va(T.multi),this.records.set(c,T)),c=a,T.multi.push(a)}this.records.set(c,_)}hydrate(a,c){return c.value===Gl&&(c.value=qh,c.value=c.factory()),"object"==typeof c.value&&c.value&&function c0(i){return null!==i&&"object"==typeof i&&"function"==typeof i.ngOnDestroy}(c.value)&&this._ngOnDestroyHooks.add(c.value),c.value}injectableDefInScope(a){if(!a.providedIn)return!1;const c=ke(a.providedIn);return"string"==typeof c?"any"===c||this.scopes.has(c):this.injectorDefTypes.has(c)}removeOnDestroy(a){const c=this._onDestroyHooks.indexOf(a);-1!==c&&this._onDestroyHooks.splice(c,1)}}function Zl(i){const a=Lt(i),c=null!==a?a.factory:Di(i);if(null!==c)return c;if(i instanceof hn)throw new Ke(204,!1);if(i instanceof Function)return function Xh(i){const a=i.length;if(a>0)throw Rl(a,"?"),new Ke(204,!1);const c=function vi(i){return i&&(i[ki]||i[Vi])||null}(i);return null!==c?()=>c.factory(i):()=>new i}(i);throw new Ke(204,!1)}function s0(i,a,c){let _;if(Ic(i)){const T=ke(i);return Di(T)||Zl(T)}if(Fd(i))_=()=>ke(i.useValue);else if(function a0(i){return!(!i||!i.useFactory)}(i))_=()=>i.useFactory(...Va(i.deps||[]));else if(function zd(i){return!(!i||!i.useExisting)}(i))_=()=>mr(ke(i.useExisting));else{const T=ke(i&&(i.useClass||i.provide));if(!function $h(i){return!!i.deps}(i))return Di(T)||Zl(T);_=()=>new T(...Va(i.deps))}return _}function tl(i,a,c=!1){return{factory:i,value:a,multi:c?[]:void 0}}function P1(i,a){for(const c of i)Array.isArray(c)?P1(c,a):c&&Qe(c)?P1(c.\u0275providers,a):a(c)}function kc(i,a){i instanceof el&&i.assertNotDestroyed();const _=sa(i),T=Xe(void 0);try{return a()}finally{sa(_),Xe(T)}}function R1(i){if(!Ve()&&!function pa(){return oa}())throw new Ke(-203,!1)}function p0(i,a=null,c=null,_){const T=Vd(i,a,c,_);return T.resolveInjectorInitializers(),T}function Vd(i,a=null,c=null,_,T=new Set){const F=[c||Un,Ya(i)];return _=_||("object"==typeof i?void 0:kt(i)),new el(F,a||O1(),_||null,T)}let Ud,hs=(()=>{class i{static#e=this.THROW_IF_NOT_FOUND=Ji;static#t=this.NULL=new Bl;static create(c,_){if(Array.isArray(c))return p0({name:""},_,c,"");{const T=c.name??"";return p0({name:T},c.parent,c.providers,T)}}static#i=this.\u0275prov=St({token:i,providedIn:"any",factory:()=>mr(D1)});static#n=this.__NG_ELEMENT_ID__=-1}return i})();function hc(i){return!!lr(i)}function ru(i){Ud=i}function qs(){if(void 0!==Ud)return Ud;if(typeof document<"u")return document;throw new Ke(210,!1)}const v0=new hn("AppId",{providedIn:"root",factory:()=>au}),au="ng",b0=new hn("Platform Initializer"),Gd=new hn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),y0=new hn("AnimationModuleType"),x0=new hn("CSP nonce",{providedIn:"root",factory:()=>qs().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function w0(i){return i.ownerDocument.defaultView}function Wo(i){return i instanceof Function?i():i}function Kl(i){return 128==(128&i.flags)}var B1=function(i){return i[i.Important=1]="Important",i[i.DashCase=2]="DashCase",i}(B1||{});const U1=/^>|^->|<!--|-->|--!>|<!-$/g,Qd=/(<|>)/g,gu="\u200b$1\u200b";const mc=new Map;let G1=0;const W1="__ngContext__";function Ha(i,a){ha(a)?(i[W1]=a[da],function vu(i){mc.set(i[da],i)}(a)):i[W1]=a}let j1;function R0(i,a){return j1(i,a)}function cl(i){const a=i[Fi];return Rr(a)?a[Fi]:a}function K1(i){return gc(i[Yi])}function Q1(i){return gc(i[Cn])}function gc(i){for(;null!==i&&!Rr(i);)i=i[Cn];return i}function Oc(i,a,c,_,T){if(null!=_){let F,Q=!1;Rr(_)?F=_:ha(_)&&(Q=!0,_=_[Fe]);const se=zn(_);0===i&&null!==c?null==T?B0(a,c,se):Pc(a,c,se,T||null,!0):1===i&&null!==c?Pc(a,c,se,T||null,!0):2===i?function n1(i,a,c){const _=$l(i,a);_&&function Au(i,a,c,_){i.removeChild(a,c,_)}(i,_,a,c)}(a,se,Q):3===i&&a.destroyNode(se),null!=F&&function Iu(i,a,c,_,T){const F=c[dr];F!==zn(c)&&Oc(a,i,_,F,T);for(let se=Ki;se<c.length;se++){const Me=c[se];dl(Me[bt],Me,i,a,_,F)}}(a,i,F,c,T)}}function $d(i,a){return i.createComment(function ol(i){return i.replace(U1,a=>a.replace(Qd,gu))}(a))}function e2(i,a,c){return i.createElement(a,c)}function z0(i,a){const c=i[rs],_=c.indexOf(a);c.splice(_,1)}function Xl(i,a){if(i.length<=Ki)return;const c=Ki+a,_=i[c];if(_){const T=_[To];null!==T&&T!==i&&z0(T,_),a>0&&(i[c-1][Cn]=_[Cn]);const F=sc(i,Ki+a);!function q1(i,a){dl(i,a,a[Dn],2,null,null),a[Fe]=null,a[Mr]=null}(_[bt],_);const Q=F[Ea];null!==Q&&Q.detachView(F[bt]),_[Fi]=null,_[Cn]=null,_[Qt]&=-129}return _}function Jl(i,a){if(!(256&a[Qt])){const c=a[Dn];a[xo]&&function ie(i){if(xe(i),re(i))for(let a=0;a<i.producerNode.length;a++)ue(i.producerNode[a],i.producerIndexOfThis[a]);i.producerNode.length=i.producerLastReadVersion.length=i.producerIndexOfThis.length=0,i.liveConsumerNode&&(i.liveConsumerNode.length=i.liveConsumerIndexOfThis.length=0)}(a[xo]),c.destroyNode&&dl(i,a,c,3,null,null),function Su(i){let a=i[Yi];if(!a)return t2(i[bt],i);for(;a;){let c=null;if(ha(a))c=a[Yi];else{const _=a[Ki];_&&(c=_)}if(!c){for(;a&&!a[Cn]&&a!==i;)ha(a)&&t2(a[bt],a),a=a[Fi];null===a&&(a=i),ha(a)&&t2(a[bt],a),c=a&&a[Cn]}a=c}}(a)}}function t2(i,a){if(!(256&a[Qt])){a[Qt]&=-129,a[Qt]|=256,function V0(i,a){let c;if(null!=i&&null!=(c=i.destroyHooks))for(let _=0;_<c.length;_+=2){const T=a[c[_]];if(!(T instanceof Ec)){const F=c[_+1];if(Array.isArray(F))for(let Q=0;Q<F.length;Q+=2){const se=T[F[Q]],Me=F[Q+1];Nr(4,se,Me);try{Me.call(se)}finally{Nr(5,se,Me)}}else{Nr(4,T,F);try{F.call(T)}finally{Nr(5,T,F)}}}}}(i,a),function Tu(i,a){const c=i.cleanup,_=a[bo];if(null!==c)for(let F=0;F<c.length-1;F+=2)if("string"==typeof c[F]){const Q=c[F+3];Q>=0?_[Q]():_[-Q].unsubscribe(),F+=2}else c[F].call(_[c[F+1]]);null!==_&&(a[bo]=null);const T=a[so];if(null!==T){a[so]=null;for(let F=0;F<T.length;F++)(0,T[F])()}}(i,a),1===a[bt].type&&a[Dn].destroy();const c=a[To];if(null!==c&&Rr(a[Fi])){c!==a[Fi]&&z0(c,a);const _=a[Ea];null!==_&&_.detachView(i)}!function qd(i){mc.delete(i[da])}(a)}}function n2(i,a,c){return function ll(i,a,c){let _=a;for(;null!==_&&40&_.type;)_=(a=_).parent;if(null===_)return c[Fe];{const{componentOffset:T}=_;if(T>-1){const{encapsulation:F}=i.data[_.directiveStart+T];if(F===Pr.None||F===Pr.Emulated)return null}return Sr(_,c)}}(i,a.parent,c)}function Pc(i,a,c,_,T){i.insertBefore(a,c,_,T)}function B0(i,a,c){i.appendChild(a,c)}function U0(i,a,c,_,T){null!==_?Pc(i,a,c,_,T):B0(i,a,c)}function $l(i,a){return i.parentNode(a)}function G0(i,a,c){return X1(i,a,c)}let J1,id,U,X1=function r2(i,a,c){return 40&i.type?Sr(i,c):null};function e1(i,a,c,_){const T=n2(i,_,a),F=a[Dn],se=G0(_.parent||a[Mr],_,a);if(null!=T)if(Array.isArray(c))for(let Me=0;Me<c.length;Me++)U0(F,T,c[Me],se,!1);else U0(F,T,c,se,!1);void 0!==J1&&J1(F,_,a,c,T)}function t1(i,a){if(null!==a){const c=a.type;if(3&c)return Sr(a,i);if(4&c)return ed(-1,i[a.index]);if(8&c){const _=a.child;if(null!==_)return t1(i,_);{const T=i[a.index];return Rr(T)?ed(-1,T):zn(T)}}if(32&c)return R0(a,i)()||zn(i[a.index]);{const _=$1(i,a);return null!==_?Array.isArray(_)?_[0]:t1(cl(i[vr]),_):t1(i,a.next)}}return null}function $1(i,a){return null!==a?i[vr][Mr].projection[a.projection]:null}function ed(i,a){const c=Ki+i+1;if(c<a.length){const _=a[c],T=_[bt].firstChild;if(null!==T)return t1(_,T)}return a[dr]}function o2(i,a,c,_,T,F,Q){for(;null!=c;){const se=_[c.index],Me=c.type;if(Q&&0===a&&(se&&Ha(zn(se),_),c.flags|=2),32!=(32&c.flags))if(8&Me)o2(i,a,c.child,_,T,F,!1),Oc(a,i,T,se,F);else if(32&Me){const at=R0(c,_);let Tt;for(;Tt=at();)Oc(a,i,T,Tt,F);Oc(a,i,T,se,F)}else 16&Me?td(i,a,_,c,T,F):Oc(a,i,T,se,F);c=Q?c.projectionNext:c.next}}function dl(i,a,c,_,T,F){o2(c,_,i.firstChild,a,T,F,!1)}function td(i,a,c,_,T,F){const Q=c[vr],Me=Q[Mr].projection[_.projection];if(Array.isArray(Me))for(let at=0;at<Me.length;at++)Oc(a,i,T,Me[at],F);else{let at=Me;const Tt=Q[Fi];Kl(_)&&(at.flags|=128),o2(i,a,at,Tt,T,F,!0)}}function W0(i,a,c){""===c?i.removeAttribute(a,"class"):i.setAttribute(a,"class",c)}function s2(i,a,c){const{mergedAttrs:_,classes:T,styles:F}=c;null!==_&&io(i,a,_),null!==T&&W0(i,a,T),null!==F&&function Ou(i,a,c){i.setAttribute(a,"style",c)}(i,a,F)}function Vs(i){return function nd(){if(void 0===id&&(id=null,Oi.trustedTypes))try{id=Oi.trustedTypes.createPolicy("angular",{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i})}catch{}return id}()?.createHTML(i)||i}function Z(){if(void 0===U&&(U=null,Oi.trustedTypes))try{U=Oi.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i})}catch{}return U}function Ne(i){return Z()?.createHTML(i)||i}function $t(i){return Z()?.createScriptURL(i)||i}class hi{constructor(a){this.changingThisBreaksApplicationSecurity=a}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${lt})`}}class Ci extends hi{getTypeName(){return"HTML"}}class ln extends hi{getTypeName(){return"Style"}}class $i extends hi{getTypeName(){return"Script"}}class Hn extends hi{getTypeName(){return"URL"}}class Pn extends hi{getTypeName(){return"ResourceURL"}}function mn(i){return i instanceof hi?i.changingThisBreaksApplicationSecurity:i}function En(i,a){const c=function br(i){return i instanceof hi&&i.getTypeName()||null}(i);if(null!=c&&c!==a){if("ResourceURL"===c&&"URL"===a)return!0;throw new Error(`Required a safe ${a}, got a ${c} (see ${lt})`)}return c===a}function ba(i){return new Ci(i)}function eo(i){return new ln(i)}function Lo(i){return new $i(i)}function Ka(i){return new Hn(i)}function hl(i){return new Pn(i)}class uo{constructor(a){this.inertDocumentHelper=a}getInertBodyElement(a){a="<body><remove></remove>"+a;try{const c=(new window.DOMParser).parseFromString(Vs(a),"text/html").body;return null===c?this.inertDocumentHelper.getInertBodyElement(a):(c.removeChild(c.firstChild),c)}catch{return null}}}class $s{constructor(a){this.defaultDoc=a,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(a){const c=this.inertDocument.createElement("template");return c.innerHTML=Vs(a),c}}const tc=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ul(i){return(i=String(i)).match(tc)?i:"unsafe:"+i}function es(i){const a={};for(const c of i.split(","))a[c]=!0;return a}function Cs(...i){const a={};for(const c of i)for(const _ in c)c.hasOwnProperty(_)&&(a[_]=!0);return a}const Y0=es("area,br,col,hr,img,wbr"),r1=es("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),vn=es("rp,rt"),La=Cs(Y0,Cs(r1,es("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")),Cs(vn,es("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")),Cs(vn,r1)),ws=es("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),fa=Cs(ws,es("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"),es("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")),c2=es("script,style,template");class m3{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(a){let c=a.firstChild,_=!0;for(;c;)if(c.nodeType===Node.ELEMENT_NODE?_=this.startElement(c):c.nodeType===Node.TEXT_NODE?this.chars(c.nodeValue):this.sanitizedSomething=!0,_&&c.firstChild)c=c.firstChild;else for(;c;){c.nodeType===Node.ELEMENT_NODE&&this.endElement(c);let T=this.checkClobberedElement(c,c.nextSibling);if(T){c=T;break}c=this.checkClobberedElement(c,c.parentNode)}return this.buf.join("")}startElement(a){const c=a.nodeName.toLowerCase();if(!La.hasOwnProperty(c))return this.sanitizedSomething=!0,!c2.hasOwnProperty(c);this.buf.push("<"),this.buf.push(c);const _=a.attributes;for(let T=0;T<_.length;T++){const F=_.item(T),Q=F.name,se=Q.toLowerCase();if(!fa.hasOwnProperty(se)){this.sanitizedSomething=!0;continue}let Me=F.value;ws[se]&&(Me=ul(Me)),this.buf.push(" ",Q,'="',ms(Me),'"')}return this.buf.push(">"),!0}endElement(a){const c=a.nodeName.toLowerCase();La.hasOwnProperty(c)&&!Y0.hasOwnProperty(c)&&(this.buf.push("</"),this.buf.push(c),this.buf.push(">"))}chars(a){this.buf.push(ms(a))}checkClobberedElement(a,c){if(c&&(a.compareDocumentPosition(c)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${a.outerHTML}`);return c}}const Io=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,_c=/([^\#-~ |!])/g;function ms(i){return i.replace(/&/g,"&amp;").replace(Io,function(a){return"&#"+(1024*(a.charCodeAt(0)-55296)+(a.charCodeAt(1)-56320)+65536)+";"}).replace(_c,function(a){return"&#"+a.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let vc;function l2(i,a){let c=null;try{vc=vc||function xs(i){const a=new $s(i);return function ec(){try{return!!(new window.DOMParser).parseFromString(Vs(""),"text/html")}catch{return!1}}()?new uo(a):a}(i);let _=a?String(a):"";c=vc.getInertBodyElement(_);let T=5,F=_;do{if(0===T)throw new Error("Failed to sanitize html because the input is unstable");T--,_=F,F=c.innerHTML,c=vc.getInertBodyElement(_)}while(_!==F);return Vs((new m3).sanitizeChildren(d2(c)||c))}finally{if(c){const _=d2(c)||c;for(;_.firstChild;)_.removeChild(_.firstChild)}}}function d2(i){return"content"in i&&function Zg(i){return i.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===i.nodeName}(i)?i.content:null}var rd=function(i){return i[i.NONE=0]="NONE",i[i.HTML=1]="HTML",i[i.STYLE=2]="STYLE",i[i.SCRIPT=3]="SCRIPT",i[i.URL=4]="URL",i[i.RESOURCE_URL=5]="RESOURCE_URL",i}(rd||{});function Tm(i){const a=j0();return a?Ne(a.sanitize(rd.HTML,i)||""):En(i,"HTML")?Ne(mn(i)):l2(qs(),rt(i))}function Am(i){const a=j0();return a?a.sanitize(rd.URL,i)||"":En(i,"URL")?mn(i):ul(rt(i))}function g3(i){const a=j0();if(a)return $t(a.sanitize(rd.RESOURCE_URL,i)||"");if(En(i,"ResourceURL"))return $t(mn(i));throw new Ke(904,!1)}function v3(i,a,c){return function Im(i,a){return"src"===a&&("embed"===i||"frame"===i||"iframe"===i||"media"===i||"script"===i)||"href"===a&&("base"===i||"link"===i)?g3:Am}(a,c)(i)}function j0(){const i=Ni();return i&&i[oo].sanitizer}let Pm=(i,a,c)=>null;function Bu(i,a,c=!1){return Pm(i,a,c)}class Bm{}class w3{}class S3{resolveComponentFactory(a){throw function jg(i){const a=Error(`No component factory found for ${kt(i)}.`);return a.ngComponent=i,a}(a)}}let $0=(()=>{class i{static#e=this.NULL=new S3}return i})();function Um(){return u2(pr(),Ni())}function u2(i,a){return new f2(Sr(i,a))}let f2=(()=>{class i{constructor(c){this.nativeElement=c}static#e=this.__NG_ELEMENT_ID__=Um}return i})();function Kg(i){return i instanceof f2?i.nativeElement:i}class E3{}let Gm=(()=>{class i{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function Qg(){const i=Ni(),c=zo(pr().index,i);return(ha(c)?c:i)[Dn]}()}return i})(),Zm=(()=>{class i{static#e=this.\u0275prov=St({token:i,providedIn:"root",factory:()=>null})}return i})();class Wm{constructor(a){this.full=a,this.major=a.split(".")[0],this.minor=a.split(".")[1],this.patch=a.split(".").slice(2).join(".")}}const qg=new Wm("17.0.4"),T3={};function Ym(i,a){const c=function he(i){const a=Object.create(f);a.computation=i;const c=()=>{if(k(a),x(a),a.value===s)throw a.error;return a.value};return c[l]=a,c}(i);return a?.equal&&(c[l].equal=a.equal),c}function Wu(i,a){const c=function r(i){const a=Object.create(st);a.value=i;const c=()=>(x(a),a.value);return c[l]=a,c}(i),_=c[l];return a?.equal&&(_.equal=a.equal),c.set=T=>N(_,T),c.update=T=>function te(i,a){G()||D(),N(i,a(i.value))}(_,T),c.asReadonly=Jg.bind(c),c}function Jg(){const i=this[l];if(void 0===i.readonlyFn){const a=()=>this();a[l]=i,i.readonlyFn=a}return i.readonlyFn}function $g(i){const a=M(null);try{return i()}finally{M(a)}}function m2(i){return!!A3(i)&&(Array.isArray(i)||!(i instanceof Map)&&Symbol.iterator in i)}function A3(i){return null!==i&&("function"==typeof i||"object"==typeof i)}class Km{constructor(){}supports(a){return m2(a)}create(a){return new t8(a)}}const Qm=(i,a)=>a;class t8{constructor(a){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=a||Qm}forEachItem(a){let c;for(c=this._itHead;null!==c;c=c._next)a(c)}forEachOperation(a){let c=this._itHead,_=this._removalsHead,T=0,F=null;for(;c||_;){const Q=!_||c&&c.currentIndex<D3(_,T,F)?c:_,se=D3(Q,T,F),Me=Q.currentIndex;if(Q===_)T--,_=_._nextRemoved;else if(c=c._next,null==Q.previousIndex)T++;else{F||(F=[]);const at=se-T,Tt=Me-T;if(at!=Tt){for(let oi=0;oi<at;oi++){const mi=oi<F.length?F[oi]:F[oi]=0,Ri=mi+oi;Tt<=Ri&&Ri<at&&(F[oi]=mi+1)}F[Q.previousIndex]=Tt-at}}se!==Me&&a(Q,se,Me)}}forEachPreviousItem(a){let c;for(c=this._previousItHead;null!==c;c=c._nextPrevious)a(c)}forEachAddedItem(a){let c;for(c=this._additionsHead;null!==c;c=c._nextAdded)a(c)}forEachMovedItem(a){let c;for(c=this._movesHead;null!==c;c=c._nextMoved)a(c)}forEachRemovedItem(a){let c;for(c=this._removalsHead;null!==c;c=c._nextRemoved)a(c)}forEachIdentityChange(a){let c;for(c=this._identityChangesHead;null!==c;c=c._nextIdentityChange)a(c)}diff(a){if(null==a&&(a=[]),!m2(a))throw new Ke(900,!1);return this.check(a)?this:null}onDestroy(){}check(a){this._reset();let T,F,Q,c=this._itHead,_=!1;if(Array.isArray(a)){this.length=a.length;for(let se=0;se<this.length;se++)F=a[se],Q=this._trackByFn(se,F),null!==c&&Object.is(c.trackById,Q)?(_&&(c=this._verifyReinsertion(c,F,Q,se)),Object.is(c.item,F)||this._addIdentityChange(c,F)):(c=this._mismatch(c,F,Q,se),_=!0),c=c._next}else T=0,function jm(i,a){if(Array.isArray(i))for(let c=0;c<i.length;c++)a(i[c]);else{const c=i[Symbol.iterator]();let _;for(;!(_=c.next()).done;)a(_.value)}}(a,se=>{Q=this._trackByFn(T,se),null!==c&&Object.is(c.trackById,Q)?(_&&(c=this._verifyReinsertion(c,se,Q,T)),Object.is(c.item,se)||this._addIdentityChange(c,se)):(c=this._mismatch(c,se,Q,T),_=!0),c=c._next,T++}),this.length=T;return this._truncate(c),this.collection=a,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let a;for(a=this._previousItHead=this._itHead;null!==a;a=a._next)a._nextPrevious=a._next;for(a=this._additionsHead;null!==a;a=a._nextAdded)a.previousIndex=a.currentIndex;for(this._additionsHead=this._additionsTail=null,a=this._movesHead;null!==a;a=a._nextMoved)a.previousIndex=a.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(a,c,_,T){let F;return null===a?F=this._itTail:(F=a._prev,this._remove(a)),null!==(a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(_,null))?(Object.is(a.item,c)||this._addIdentityChange(a,c),this._reinsertAfter(a,F,T)):null!==(a=null===this._linkedRecords?null:this._linkedRecords.get(_,T))?(Object.is(a.item,c)||this._addIdentityChange(a,c),this._moveAfter(a,F,T)):a=this._addAfter(new qm(c,_),F,T),a}_verifyReinsertion(a,c,_,T){let F=null===this._unlinkedRecords?null:this._unlinkedRecords.get(_,null);return null!==F?a=this._reinsertAfter(F,a._prev,T):a.currentIndex!=T&&(a.currentIndex=T,this._addToMoves(a,T)),a}_truncate(a){for(;null!==a;){const c=a._next;this._addToRemovals(this._unlink(a)),a=c}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(a,c,_){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(a);const T=a._prevRemoved,F=a._nextRemoved;return null===T?this._removalsHead=F:T._nextRemoved=F,null===F?this._removalsTail=T:F._prevRemoved=T,this._insertAfter(a,c,_),this._addToMoves(a,_),a}_moveAfter(a,c,_){return this._unlink(a),this._insertAfter(a,c,_),this._addToMoves(a,_),a}_addAfter(a,c,_){return this._insertAfter(a,c,_),this._additionsTail=null===this._additionsTail?this._additionsHead=a:this._additionsTail._nextAdded=a,a}_insertAfter(a,c,_){const T=null===c?this._itHead:c._next;return a._next=T,a._prev=c,null===T?this._itTail=a:T._prev=a,null===c?this._itHead=a:c._next=a,null===this._linkedRecords&&(this._linkedRecords=new Jm),this._linkedRecords.put(a),a.currentIndex=_,a}_remove(a){return this._addToRemovals(this._unlink(a))}_unlink(a){null!==this._linkedRecords&&this._linkedRecords.remove(a);const c=a._prev,_=a._next;return null===c?this._itHead=_:c._next=_,null===_?this._itTail=c:_._prev=c,a}_addToMoves(a,c){return a.previousIndex===c||(this._movesTail=null===this._movesTail?this._movesHead=a:this._movesTail._nextMoved=a),a}_addToRemovals(a){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Jm),this._unlinkedRecords.put(a),a.currentIndex=null,a._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=a,a._prevRemoved=null):(a._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=a),a}_addIdentityChange(a,c){return a.item=c,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=a:this._identityChangesTail._nextIdentityChange=a,a}}class qm{constructor(a,c){this.item=a,this.trackById=c,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 Xm{constructor(){this._head=null,this._tail=null}add(a){null===this._head?(this._head=this._tail=a,a._nextDup=null,a._prevDup=null):(this._tail._nextDup=a,a._prevDup=this._tail,a._nextDup=null,this._tail=a)}get(a,c){let _;for(_=this._head;null!==_;_=_._nextDup)if((null===c||c<=_.currentIndex)&&Object.is(_.trackById,a))return _;return null}remove(a){const c=a._prevDup,_=a._nextDup;return null===c?this._head=_:c._nextDup=_,null===_?this._tail=c:_._prevDup=c,null===this._head}}class Jm{constructor(){this.map=new Map}put(a){const c=a.trackById;let _=this.map.get(c);_||(_=new Xm,this.map.set(c,_)),_.add(a)}get(a,c){const T=this.map.get(a);return T?T.get(a,c):null}remove(a){const c=a.trackById;return this.map.get(c).remove(a)&&this.map.delete(c),a}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function D3(i,a,c){const _=i.previousIndex;if(null===_)return _;let T=0;return c&&_<c.length&&(T=c[_]),_+a+T}class $m{constructor(){}supports(a){return a instanceof Map||A3(a)}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(a){let c;for(c=this._mapHead;null!==c;c=c._next)a(c)}forEachPreviousItem(a){let c;for(c=this._previousMapHead;null!==c;c=c._nextPrevious)a(c)}forEachChangedItem(a){let c;for(c=this._changesHead;null!==c;c=c._nextChanged)a(c)}forEachAddedItem(a){let c;for(c=this._additionsHead;null!==c;c=c._nextAdded)a(c)}forEachRemovedItem(a){let c;for(c=this._removalsHead;null!==c;c=c._nextRemoved)a(c)}diff(a){if(a){if(!(a instanceof Map||A3(a)))throw new Ke(900,!1)}else a=new Map;return this.check(a)?this:null}onDestroy(){}check(a){this._reset();let c=this._mapHead;if(this._appendAfter=null,this._forEach(a,(_,T)=>{if(c&&c.key===T)this._maybeAddToChanges(c,_),this._appendAfter=c,c=c._next;else{const F=this._getOrCreateRecordForKey(T,_);c=this._insertBeforeOrAppend(c,F)}}),c){c._prev&&(c._prev._next=null),this._removalsHead=c;for(let _=c;null!==_;_=_._nextRemoved)_===this._mapHead&&(this._mapHead=null),this._records.delete(_.key),_._nextRemoved=_._next,_.previousValue=_.currentValue,_.currentValue=null,_._prev=null,_._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(a,c){if(a){const _=a._prev;return c._next=a,c._prev=_,a._prev=c,_&&(_._next=c),a===this._mapHead&&(this._mapHead=c),this._appendAfter=a,a}return this._appendAfter?(this._appendAfter._next=c,c._prev=this._appendAfter):this._mapHead=c,this._appendAfter=c,null}_getOrCreateRecordForKey(a,c){if(this._records.has(a)){const T=this._records.get(a);this._maybeAddToChanges(T,c);const F=T._prev,Q=T._next;return F&&(F._next=Q),Q&&(Q._prev=F),T._next=null,T._prev=null,T}const _=new n8(a);return this._records.set(a,_),_.currentValue=c,this._addToAdditions(_),_}_reset(){if(this.isDirty){let a;for(this._previousMapHead=this._mapHead,a=this._previousMapHead;null!==a;a=a._next)a._nextPrevious=a._next;for(a=this._changesHead;null!==a;a=a._nextChanged)a.previousValue=a.currentValue;for(a=this._additionsHead;null!=a;a=a._nextAdded)a.previousValue=a.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(a,c){Object.is(c,a.currentValue)||(a.previousValue=a.currentValue,a.currentValue=c,this._addToChanges(a))}_addToAdditions(a){null===this._additionsHead?this._additionsHead=this._additionsTail=a:(this._additionsTail._nextAdded=a,this._additionsTail=a)}_addToChanges(a){null===this._changesHead?this._changesHead=this._changesTail=a:(this._changesTail._nextChanged=a,this._changesTail=a)}_forEach(a,c){a instanceof Map?a.forEach(c):Object.keys(a).forEach(_=>c(a[_],_))}}class n8{constructor(a){this.key=a,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function ep(){return new L3([new Km])}let L3=(()=>{class i{static#e=this.\u0275prov=St({token:i,providedIn:"root",factory:ep});constructor(c){this.factories=c}static create(c,_){if(null!=_){const T=_.factories.slice();c=c.concat(T)}return new i(c)}static extend(c){return{provide:i,useFactory:_=>i.create(c,_||ep()),deps:[[i,new T1,new E1]]}}find(c){const _=this.factories.find(T=>T.supports(c));if(null!=_)return _;throw new Ke(901,!1)}}return i})();function tp(){return new Yu([new $m])}let Yu=(()=>{class i{static#e=this.\u0275prov=St({token:i,providedIn:"root",factory:tp});constructor(c){this.factories=c}static create(c,_){if(_){const T=_.factories.slice();c=c.concat(T)}return new i(c)}static extend(c){return{provide:i,useFactory:_=>i.create(c,_||tp()),deps:[[i,new T1,new E1]]}}find(c){const _=this.factories.find(T=>T.supports(c));if(_)return _;throw new Ke(901,!1)}}return i})();function p2(i,a,c,_,T=!1){for(;null!==c;){const F=a[c.index];null!==F&&_.push(zn(F)),Rr(F)&&np(F,_);const Q=c.type;if(8&Q)p2(i,a,c.child,_);else if(32&Q){const se=R0(c,a);let Me;for(;Me=se();)_.push(Me)}else if(16&Q){const se=$1(a,c);if(Array.isArray(se))_.push(...se);else{const Me=cl(a[vr]);p2(Me[bt],Me,se,_,!0)}}c=T?c.projectionNext:c.next}return _}function np(i,a){for(let c=Ki;c<i.length;c++){const _=i[c],T=_[bt].firstChild;null!==T&&p2(_[bt],_,T,a)}i[dr]!==i[Fe]&&a.push(i[dr])}let I3=[];const eh={...E,consumerIsAlwaysLive:!0,consumerMarkedDirty:i=>{bl(i.lView)},consumerOnSignalRead(){this.lView[xo]=this}};function k3(i){return i.ngOriginalError}class a1{constructor(){this._console=console}handleError(a){const c=this._findOriginalError(a);this._console.error("ERROR",a),c&&this._console.error("ORIGINAL ERROR",c)}_findOriginalError(a){let c=a&&k3(a);for(;c&&k3(c);)c=k3(c);return c||null}}const sp=new hn("",{providedIn:"root",factory:()=>!1}),tr={};function up(i){fp(ar(),Ni(),Za()+i,!1)}function fp(i,a,c,_){if(!_)if(3==(3&a[Qt])){const F=i.preOrderCheckHooks;null!==F&&Yc(a,F,c)}else{const F=i.preOrderHooks;null!==F&&jc(a,F,0,c)}Ns(c)}function sd(i,a=It.Default){const c=Ni();return null===c?mr(i,a):Vh(pr(),c,ke(i),a)}function H3(){throw new Error("invalid")}function th(i,a,c,_,T,F,Q,se,Me,at,Tt){const Ut=a.blueprint.slice();return Ut[Fe]=T,Ut[Qt]=140|_,(null!==at||i&&2048&i[Qt])&&(Ut[Qt]|=2048),Yt(Ut),Ut[Fi]=Ut[yo]=i,Ut[Fn]=c,Ut[oo]=Q||i&&i[oo],Ut[Dn]=se||i&&i[Dn],Ut[zi]=Me||i&&i[zi]||null,Ut[Mr]=F,Ut[da]=function _u(){return G1++}(),Ut[Sa]=Tt,Ut[Ds]=at,Ut[vr]=2==a.type?i[vr]:Ut,Ut}function fl(i,a,c,_,T){let F=i.data[a];if(null===F)F=function Ku(i,a,c,_,T){const F=as(),Q=Na(),Me=i.data[a]=function d8(i,a,c,_,T,F){let Q=a?a.injectorIndex:-1,se=0;return ic()&&(se|=128),{type:c,index:_,insertBeforeIndex:null,injectorIndex:Q,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:se,providerIndexes:0,value:T,attrs:F,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:a,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,Q?F:F&&F.parent,c,a,_,T);return null===i.firstChild&&(i.firstChild=Me),null!==F&&(Q?null==F.child&&null!==Me.parent&&(F.child=Me):null===F.next&&(F.next=Me,Me.prev=F)),Me}(i,a,c,_,T),function Oe(){return kn.lFrame.inI18n}()&&(F.flags|=32);else if(64&F.type){F.type=c,F.value=_,F.attrs=T;const Q=function nc(){const i=kn.lFrame,a=i.currentTNode;return i.isParent?a:a.parent}();F.injectorIndex=null===Q?-1:Q.injectorIndex}return zr(F,!0),F}function ih(i,a,c,_){if(0===c)return-1;const T=a.length;for(let F=0;F<c;F++)a.push(_),i.blueprint.push(_),i.data.push(null);return T}function F3(i,a,c,_,T){const F=Za(),Q=2&_;try{Ns(-1),Q&&a.length>An&&fp(i,a,An,!1),Nr(Q?2:0,T),c(_,T)}finally{Ns(F),Nr(Q?3:1,T)}}function Qu(i,a,c){if(Is(a)){const _=M(null);try{const F=a.directiveEnd;for(let Q=a.directiveStart;Q<F;Q++){const se=i.data[Q];se.contentQueries&&se.contentQueries(1,c[Q],Q)}}finally{M(_)}}}function z3(i,a,c){g1()&&(function g8(i,a,c,_){const T=c.directiveStart,F=c.directiveEnd;Fo(c)&&function Xu(i,a,c){const _=Sr(a,i),T=B3(c);let Q=16;c.signals?Q=4096:c.onPush&&(Q=64);const se=pl(i,th(i,T,null,Q,_,a,null,i[oo].rendererFactory.createRenderer(_,c),null,null,null));i[a.index]=se}(a,c,i.data[T+c.componentOffset]),i.firstCreatePass||Ks(c,a),Ha(_,a);const Q=c.initialInputs;for(let se=T;se<F;se++){const Me=i.data[se],at=oc(a,i,se,c);Ha(at,a),null!==Q&&Sp(0,se-T,at,Me,0,Q),co(Me)&&(zo(c.index,a)[Fn]=oc(a,i,se,c))}}(i,a,c,Sr(c,a)),64==(64&c.flags)&&Y3(i,a,c))}function V3(i,a,c=Sr){const _=a.localNames;if(null!==_){let T=a.index+1;for(let F=0;F<_.length;F+=2){const Q=_[F+1],se=-1===Q?c(a,i):i[Q];i[T++]=se}}}function B3(i){const a=i.tView;return null===a||a.incompleteFirstPass?i.tView=U3(1,null,i.template,i.decls,i.vars,i.directiveDefs,i.pipeDefs,i.viewQuery,i.schemas,i.consts,i.id):a}function U3(i,a,c,_,T,F,Q,se,Me,at,Tt){const Ut=An+_,oi=Ut+T,mi=function c8(i,a){const c=[];for(let _=0;_<a;_++)c.push(_<i?null:tr);return c}(Ut,oi),Ri="function"==typeof at?at():at;return mi[bt]={type:i,blueprint:mi,template:c,queries:null,viewQuery:se,declTNode:a,data:mi.slice().fill(null,Ut),bindingStartIndex:Ut,expandoStartIndex:oi,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 F?F():F,pipeRegistry:"function"==typeof Q?Q():Q,firstChild:null,schemas:Me,consts:Ri,incompleteFirstPass:!1,ssrId:Tt}}let G3=i=>null;function bp(i,a,c,_){for(let T in i)if(i.hasOwnProperty(T)){c=null===c?{}:c;const F=i[T];null===_?yp(c,a,T,F):_.hasOwnProperty(T)&&yp(c,a,_[T],F)}return c}function yp(i,a,c,_){i.hasOwnProperty(c)?i[c].push(a,_):i[c]=[a,_]}function Ms(i,a,c,_,T,F,Q,se){const Me=Sr(a,c);let Tt,at=a.inputs;!se&&null!=at&&(Tt=at[_])?(v2(i,c,Tt,_,T),Fo(a)&&function u8(i,a){const c=zo(a,i);16&c[Qt]||(c[Qt]|=64)}(c,a.index)):3&a.type&&(_=function xp(i){return"class"===i?"className":"for"===i?"htmlFor":"formaction"===i?"formAction":"innerHtml"===i?"innerHTML":"readonly"===i?"readOnly":"tabindex"===i?"tabIndex":i}(_),T=null!=Q?Q(T,a.value||"",_):T,F.setProperty(Me,_,T))}function Z3(i,a,c,_){if(g1()){const T=null===_?null:{"":-1},F=function wp(i,a){const c=i.directiveRegistry;let _=null,T=null;if(c)for(let F=0;F<c.length;F++){const Q=c[F];if(va(a,Q.selectors,!1))if(_||(_=[]),co(Q))if(null!==Q.findHostDirectiveDefs){const se=[];T=T||new Map,Q.findHostDirectiveDefs(Q,se,T),_.unshift(...se,Q),qu(i,a,se.length)}else _.unshift(Q),qu(i,a,0);else T=T||new Map,Q.findHostDirectiveDefs?.(Q,_,T),_.push(Q)}return null===_?null:[_,T]}(i,c);let Q,se;null===F?Q=se=null:[Q,se]=F,null!==Q&&W3(i,a,c,Q,T,se),T&&function Mp(i,a,c){if(a){const _=i.localNames=[];for(let T=0;T<a.length;T+=2){const F=c[a[T+1]];if(null==F)throw new Ke(-301,!1);_.push(a[T],F)}}}(c,_,T)}c.mergedAttrs=ia(c.mergedAttrs,c.attrs)}function W3(i,a,c,_,T,F){for(let at=0;at<_.length;at++)G2(Ks(c,a),i,_[at].type);!function ml(i,a,c){i.flags|=1,i.directiveStart=a,i.directiveEnd=a+c,i.providerIndexes=a}(c,i.data.length,_.length);for(let at=0;at<_.length;at++){const Tt=_[at];Tt.providersResolver&&Tt.providersResolver(Tt)}let Q=!1,se=!1,Me=ih(i,a,_.length,null);for(let at=0;at<_.length;at++){const Tt=_[at];c.mergedAttrs=ia(c.mergedAttrs,Tt.hostAttrs),j3(i,c,a,Me,Tt),hr(Me,Tt,T),null!==Tt.contentQueries&&(c.flags|=4),(null!==Tt.hostBindings||null!==Tt.hostAttrs||0!==Tt.hostVars)&&(c.flags|=64);const Ut=Tt.type.prototype;!Q&&(Ut.ngOnChanges||Ut.ngOnInit||Ut.ngDoCheck)&&((i.preOrderHooks??=[]).push(c.index),Q=!0),!se&&(Ut.ngOnChanges||Ut.ngDoCheck)&&((i.preOrderCheckHooks??=[]).push(c.index),se=!0),Me++}!function h8(i,a,c){const T=a.directiveEnd,F=i.data,Q=a.attrs,se=[];let Me=null,at=null;for(let Tt=a.directiveStart;Tt<T;Tt++){const Ut=F[Tt],oi=c?c.get(Ut):null,Ri=oi?oi.outputs:null;Me=bp(Ut.inputs,Tt,Me,oi?oi.inputs:null),at=bp(Ut.outputs,Tt,at,Ri);const ji=null===Me||null===Q||no(a)?null:K3(Me,Tt,Q);se.push(ji)}null!==Me&&(Me.hasOwnProperty("class")&&(a.flags|=8),Me.hasOwnProperty("style")&&(a.flags|=16)),a.initialInputs=se,a.inputs=Me,a.outputs=at}(i,c,F)}function Y3(i,a,c){const _=c.directiveStart,T=c.directiveEnd,F=c.index,Q=function pt(){return kn.lFrame.currentDirectiveIndex}();try{Ns(F);for(let se=_;se<T;se++){const Me=i.data[se],at=a[se];Nt(se),(null!==Me.hostBindings||0!==Me.hostVars||null!==Me.hostAttrs)&&Cp(Me,at)}}finally{Ns(-1),Nt(Q)}}function Cp(i,a){null!==i.hostBindings&&i.hostBindings(1,a)}function qu(i,a,c){a.componentOffset=c,(i.components??=[]).push(a.index)}function hr(i,a,c){if(c){if(a.exportAs)for(let _=0;_<a.exportAs.length;_++)c[a.exportAs[_]]=i;co(a)&&(c[""]=i)}}function j3(i,a,c,_,T){i.data[_]=T;const F=T.factory||(T.factory=Di(T.type)),Q=new Ec(F,co(T),sd);i.blueprint[_]=Q,c[_]=Q,function m8(i,a,c,_,T){const F=T.hostBindings;if(F){let Q=i.hostBindingOpCodes;null===Q&&(Q=i.hostBindingOpCodes=[]);const se=~a.index;(function p8(i){let a=i.length;for(;a>0;){const c=i[--a];if("number"==typeof c&&c<0)return c}return 0})(Q)!=se&&Q.push(se),Q.push(c,_,F)}}(i,a,_,ih(i,c,T.hostVars,tr),T)}function Fa(i,a,c,_,T,F){const Q=Sr(i,a);!function Ju(i,a,c,_,T,F,Q){if(null==F)i.removeAttribute(a,T,c);else{const se=null==Q?rt(F):Q(F,_||"",T);i.setAttribute(a,T,se,c)}}(a[Dn],Q,F,i.value,c,_,T)}function Sp(i,a,c,_,T,F){const Q=F[a];if(null!==Q)for(let se=0;se<Q.length;)g2(_,c,Q[se++],Q[se++],Q[se++])}function g2(i,a,c,_,T){const F=M(null);try{const Q=i.inputTransforms;null!==Q&&Q.hasOwnProperty(_)&&(T=Q[_].call(a,T)),null!==i.setInput?i.setInput(a,T,c,_):a[_]=T}finally{M(F)}}function K3(i,a,c){let _=null,T=0;for(;T<c.length;){const F=c[T];if(0!==F)if(5!==F){if("number"==typeof F)break;if(i.hasOwnProperty(F)){null===_&&(_=[]);const Q=i[F];for(let se=0;se<Q.length;se+=2)if(Q[se]===a){_.push(F,Q[se+1],c[T+1]);break}}T+=2}else T+=2;else T+=4}return _}function nh(i,a,c,_){return[i,!0,0,a,null,_,null,c,null,null]}function Rc(i,a){const c=i.contentQueries;if(null!==c){const _=M(null);try{for(let T=0;T<c.length;T+=2){const Q=c[T+1];if(-1!==Q){const se=i.data[Q];Ai(c[T]),se.contentQueries(2,a[Q],Q)}}}finally{M(_)}}}function pl(i,a){return i[Yi]?i[As][Cn]=a:i[Yi]=a,i[As]=a,a}function Ln(i,a,c){Ai(0);const _=M(null);try{a(i,c)}finally{M(_)}}function cd(i){return i[bo]||(i[bo]=[])}function rh(i){return i.cleanup||(i.cleanup=[])}function $u(i,a,c){return(null===i||co(i))&&(c=function Xo(i){for(;Array.isArray(i);){if("object"==typeof i[qo])return i;i=i[Fe]}return null}(c[a.index])),c[Dn]}function _2(i,a){const c=i[zi],_=c?c.get(a1,null):null;_&&_.handleError(a)}function v2(i,a,c,_,T){for(let F=0;F<c.length;){const Q=c[F++],se=c[F++];g2(i.data[Q],a[Q],_,se,T)}}function Nc(i,a,c){const _=vs(a,i);!function Cu(i,a,c){i.setValue(a,c)}(i[Dn],_,c)}function nf(i,a,c,_){const T=a[Qt];if(256==(256&T))return;a[oo].inlineEffectRunner?.flush(),sr(a);let Q=null,se=null;(function rf(i){return 2!==i.type})(i)&&(se=function rp(i){return i[xo]??function ap(i){const a=I3.pop()??Object.create(eh);return a.lView=i,a}(i)}(a),Q=W(se));try{Yt(a),function Vr(i){return kn.lFrame.bindingIndex=i}(i.bindingStartIndex),null!==c&&F3(i,a,c,2,_);const Me=3==(3&T);if(Me){const Ut=i.preOrderCheckHooks;null!==Ut&&Yc(a,Ut,null)}else{const Ut=i.preOrderHooks;null!==Ut&&jc(a,Ut,0,null),Da(a,0)}if(function q3(i){for(let a=K1(i);null!==a;a=Q1(a)){if(!(a[Qt]&Ls.HasTransplantedViews))continue;const c=a[rs];for(let _=0;_<c.length;_++){Ps(c[_])}}}(a),af(a,0),null!==i.contentQueries&&Rc(i,a),Me){const Ut=i.contentCheckHooks;null!==Ut&&Yc(a,Ut)}else{const Ut=i.contentHooks;null!==Ut&&jc(a,Ut,1),Da(a,1)}!function mp(i,a){const c=i.hostBindingOpCodes;if(null!==c)try{for(let _=0;_<c.length;_++){const T=c[_];if(T<0)Ns(~T);else{const F=T,Q=c[++_],se=c[++_];Re(Q,F),se(2,a[F])}}}finally{Ns(-1)}}(i,a);const at=i.components;null!==at&&Fc(a,at,0);const Tt=i.viewQuery;if(null!==Tt&&Ln(2,Tt,_),Me){const Ut=i.viewCheckHooks;null!==Ut&&Yc(a,Ut)}else{const Ut=i.viewHooks;null!==Ut&&jc(a,Ut,2),Da(a,2)}if(!0===i.firstUpdatePass&&(i.firstUpdatePass=!1),a[Ho]){for(const Ut of a[Ho])Ut();a[Ho]=null}a[Qt]&=-73}catch(Me){throw bl(a),Me}finally{null!==se&&(K(se,Q),function a8(i){i.lView[xo]!==i&&(i.lView=null,I3.push(i))}(se)),rc()}}function af(i,a){for(let c=K1(i);null!==c;c=Q1(c)){c[Qt]&=~Ls.HasChildViewsToRefresh;for(let _=Ki;_<c.length;_++)ah(c[_],a)}}function Hc(i,a,c){ah(zo(a,i),c)}function ah(i,a){vl(i)&&sf(i,a)}function sf(i,a){const _=i[bt],T=i[Qt],F=i[xo];let Q=!!(0===a&&16&T);if(Q||=!!(64&T&&0===a),Q||=!!(1024&T),Q||=!(!F?.dirty||!q(F)),F&&(F.dirty=!1),i[Qt]&=-9217,Q)nf(_,i,_.template,i[Fn]);else if(8192&T){af(i,1);const se=_.components;null!==se&&Fc(i,se,1)}}function Fc(i,a,c){for(let _=0;_<a.length;_++)Hc(i,a[_],c)}function o1(i){for(;i;){i[Qt]|=64;const a=cl(i);if(Xn(i)&&!a)return i;i=a}return null}class ld{get rootNodes(){const a=this._lView,c=a[bt];return p2(c,a,c.firstChild,[])}constructor(a,c,_=!0){this._lView=a,this._cdRefInjectingView=c,this.notifyErrorHandler=_,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Fn]}set context(a){this._lView[Fn]=a}get destroyed(){return 256==(256&this._lView[Qt])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const a=this._lView[Fi];if(Rr(a)){const c=a[8],_=c?c.indexOf(this):-1;_>-1&&(Xl(a,_),sc(c,_))}this._attachedToViewContainer=!1}Jl(this._lView[bt],this._lView)}onDestroy(a){Gc(this._lView,a)}markForCheck(){o1(this._cdRefInjectingView||this._lView)}detach(){this._lView[Qt]&=-129}reattach(){m1(this._lView),this._lView[Qt]|=128}detectChanges(){!function Q3(i,a=!0){const c=i[oo],_=c.rendererFactory,T=c.afterRenderEventManager;_.begin?.(),T?.begin();try{const Q=i[bt];nf(Q,i,Q.template,i[Fn]),function tf(i){let a=0;for(;9216&i[Qt]||i[xo]?.dirty;){if(100===a)throw new Ke(103,!1);a++,sf(i,1)}}(i)}catch(Q){throw a&&_2(i,Q),Q}finally{_.end?.(),c.inlineEffectRunner?.flush(),T?.end()}}(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ke(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Mu(i,a){dl(i,a,a[Dn],2,null,null)}(this._lView[bt],this._lView)}attachToAppRef(a){if(this._attachedToViewContainer)throw new Ke(902,!1);this._appRef=a}}let oh=(()=>{class i{static#e=this.__NG_ELEMENT_ID__=b2}return i})();function b2(i){return function s1(i,a,c){if(Fo(i)&&!c){const _=zo(i.index,a);return new ld(_,_)}return 47&i.type?new ld(a[vr],a):null}(pr(),Ni(),16==(16&i))}let ya=(()=>{class i{static#e=this.__NG_ELEMENT_ID__=$3;static#t=this.__NG_ENV_ID__=c=>c}return i})();class y2 extends ya{constructor(a){super(),this._lView=a}onDestroy(a){return Gc(this._lView,a),()=>function yl(i,a){if(null===i[so])return;const c=i[so].indexOf(a);-1!==c&&i[so].splice(c,1)}(this._lView,a)}}function $3(){return new y2(Ni())}function ch(i,a){if(null!==function m(){return t}())throw new Ke(-602,!1)}const df=new Set;function c1(i){df.has(i)||(df.add(i),performance?.mark?.("mark_use_counter",{detail:{feature:i}}))}function x2(i){return a=>{setTimeout(i,void 0,a)}}const Bs=class Dp extends Ce.x{constructor(a=!1){super(),this.__isAsync=a}emit(a){super.next(a)}subscribe(a,c,_){let T=a,F=c||(()=>null),Q=_;if(a&&"object"==typeof a){const Me=a;T=Me.next?.bind(Me),F=Me.error?.bind(Me),Q=Me.complete?.bind(Me)}this.__isAsync&&(F=x2(F),T&&(T=x2(T)),Q&&(Q=x2(Q)));const se=super.subscribe({next:T,error:F,complete:Q});return a instanceof le.w0&&a.add(se),se}};function hf(...i){}class fo{constructor({enableLongStackTrace:a=!1,shouldCoalesceEventChangeDetection:c=!1,shouldCoalesceRunChangeDetection:_=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Bs(!1),this.onMicrotaskEmpty=new Bs(!1),this.onStable=new Bs(!1),this.onError=new Bs(!1),typeof Zone>"u")throw new Ke(908,!1);Zone.assertZonePatched();const T=this;T._nesting=0,T._outer=T._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(T._inner=T._inner.fork(new Zone.TaskTrackingZoneSpec)),a&&Zone.longStackTraceZoneSpec&&(T._inner=T._inner.fork(Zone.longStackTraceZoneSpec)),T.shouldCoalesceEventChangeDetection=!_&&c,T.shouldCoalesceRunChangeDetection=_,T.lastRequestAnimationFrameId=-1,T.nativeRequestAnimationFrame=function dh(){const i="function"==typeof Oi.requestAnimationFrame;let a=Oi[i?"requestAnimationFrame":"setTimeout"],c=Oi[i?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&a&&c){const _=a[Zone.__symbol__("OriginalDelegate")];_&&(a=_);const T=c[Zone.__symbol__("OriginalDelegate")];T&&(c=T)}return{nativeRequestAnimationFrame:a,nativeCancelAnimationFrame:c}}().nativeRequestAnimationFrame,function uf(i){const a=()=>{!function Ss(i){i.isCheckStableRunning||-1!==i.lastRequestAnimationFrameId||(i.lastRequestAnimationFrameId=i.nativeRequestAnimationFrame.call(Oi,()=>{i.fakeTopEventTask||(i.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{i.lastRequestAnimationFrameId=-1,hh(i),i.isCheckStableRunning=!0,n4(i),i.isCheckStableRunning=!1},void 0,()=>{},()=>{})),i.fakeTopEventTask.invoke()}),hh(i))}(i)};i._inner=i._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(c,_,T,F,Q,se)=>{if(function v8(i){return!(!Array.isArray(i)||1!==i.length)&&!0===i[0].data?.__ignore_ng_zone__}(se))return c.invokeTask(T,F,Q,se);try{return ff(i),c.invokeTask(T,F,Q,se)}finally{(i.shouldCoalesceEventChangeDetection&&"eventTask"===F.type||i.shouldCoalesceRunChangeDetection)&&a(),Lp(i)}},onInvoke:(c,_,T,F,Q,se,Me)=>{try{return ff(i),c.invoke(T,F,Q,se,Me)}finally{i.shouldCoalesceRunChangeDetection&&a(),Lp(i)}},onHasTask:(c,_,T,F)=>{c.hasTask(T,F),_===T&&("microTask"==F.change?(i._hasPendingMicrotasks=F.microTask,hh(i),n4(i)):"macroTask"==F.change&&(i.hasPendingMacrotasks=F.macroTask))},onHandleError:(c,_,T,F)=>(c.handleError(T,F),i.runOutsideAngular(()=>i.onError.emit(F)),!1)})}(T)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!fo.isInAngularZone())throw new Ke(909,!1)}static assertNotInAngularZone(){if(fo.isInAngularZone())throw new Ke(909,!1)}run(a,c,_){return this._inner.run(a,c,_)}runTask(a,c,_,T){const F=this._inner,Q=F.scheduleEventTask("NgZoneEvent: "+T,a,_8,hf,hf);try{return F.runTask(Q,c,_)}finally{F.cancelTask(Q)}}runGuarded(a,c,_){return this._inner.runGuarded(a,c,_)}runOutsideAngular(a){return this._outer.run(a)}}const _8={};function n4(i){if(0==i._nesting&&!i.hasPendingMicrotasks&&!i.isStable)try{i._nesting++,i.onMicrotaskEmpty.emit(null)}finally{if(i._nesting--,!i.hasPendingMicrotasks)try{i.runOutsideAngular(()=>i.onStable.emit(null))}finally{i.isStable=!0}}}function hh(i){i.hasPendingMicrotasks=!!(i._hasPendingMicrotasks||(i.shouldCoalesceEventChangeDetection||i.shouldCoalesceRunChangeDetection)&&-1!==i.lastRequestAnimationFrameId)}function ff(i){i._nesting++,i.isStable&&(i.isStable=!1,i.onUnstable.emit(null))}function Lp(i){i._nesting--,n4(i)}class Ip{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Bs,this.onMicrotaskEmpty=new Bs,this.onStable=new Bs,this.onError=new Bs}run(a,c,_){return a.apply(c,_)}runGuarded(a,c,_){return a.apply(c,_)}runOutsideAngular(a){return a()}runTask(a,c,_,T){return a.apply(c,_)}}const kp=new hn("",{providedIn:"root",factory:Op});function Op(){const i=Kn(fo);let a=!0;const c=new ge.y(T=>{a=i.isStable&&!i.hasPendingMacrotasks&&!i.hasPendingMicrotasks,i.runOutsideAngular(()=>{T.next(a),T.complete()})}),_=new ge.y(T=>{let F;i.runOutsideAngular(()=>{F=i.onStable.subscribe(()=>{fo.assertNotInAngularZone(),queueMicrotask(()=>{!a&&!i.hasPendingMacrotasks&&!i.hasPendingMicrotasks&&(a=!0,T.next(!0))})})});const Q=i.onUnstable.subscribe(()=>{fo.assertInAngularZone(),a&&(a=!1,i.runOutsideAngular(()=>{T.next(!1)}))});return()=>{F.unsubscribe(),Q.unsubscribe()}});return(0,qe.T)(c,_.pipe((0,ce.B)()))}var l1=function(i){return i[i.EarlyRead=0]="EarlyRead",i[i.Write=1]="Write",i[i.MixedReadWrite=2]="MixedReadWrite",i[i.Read=3]="Read",i}(l1||{});const Pp={destroy(){}};function a4(i,a){!a&&R1();const c=a?.injector??Kn(hs);if(!function uc(i){return"browser"===(i??Kn(hs)).get(Gd)}(c))return Pp;c1("NgAfterNextRender");const _=c.get(Us),T=_.handler??=new s4,F=a?.phase??l1.MixedReadWrite,Q=()=>{T.unregister(Me),se()},se=c.get(ya).onDestroy(Q),Me=new o4(c,F,()=>{Q(),i()});return T.register(Me),{destroy:Q}}class o4{constructor(a,c,_){this.phase=c,this.callbackFn=_,this.zone=a.get(fo),this.errorHandler=a.get(a1,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(a){this.errorHandler?.handleError(a)}}}class s4{constructor(){this.executingCallbacks=!1,this.buckets={[l1.EarlyRead]:new Set,[l1.Write]:new Set,[l1.MixedReadWrite]:new Set,[l1.Read]:new Set},this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new Ke(102,!1)}register(a){(this.executingCallbacks?this.deferredCallbacks:this.buckets[a.phase]).add(a)}unregister(a){this.buckets[a.phase].delete(a),this.deferredCallbacks.delete(a)}execute(){this.executingCallbacks=!0;for(const a of Object.values(this.buckets))for(const c of a)c.invoke();this.executingCallbacks=!1;for(const a of this.deferredCallbacks)this.buckets[a.phase].add(a);this.deferredCallbacks.clear()}destroy(){for(const a of Object.values(this.buckets))a.clear();this.deferredCallbacks.clear()}}let Us=(()=>{class i{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth){for(const c of this.internalCallbacks)c();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=St({token:i,providedIn:"root",factory:()=>new i})}return i})();function dd(i,a){const c=zo(a,i),_=c[bt];!function Rp(i,a){for(let c=a.length;c<i.blueprint.length;c++)a.push(i.blueprint[c])}(_,c);const T=c[Fe];null!==T&&null===c[Sa]&&(c[Sa]=Bu(T,c[zi])),mf(_,c,c[Fn])}function mf(i,a,c){sr(a);try{const _=i.viewQuery;null!==_&&Ln(1,_,c);const T=i.template;null!==T&&F3(i,a,T,1,c),i.firstCreatePass&&(i.firstCreatePass=!1),i.staticContentQueries&&Rc(i,a),i.staticViewQueries&&Ln(2,i.viewQuery,c);const F=i.components;null!==F&&function y8(i,a){for(let c=0;c<a.length;c++)dd(i,a[c])}(a,F)}catch(_){throw i.firstCreatePass&&(i.incompleteFirstPass=!0,i.firstCreatePass=!1),_}finally{a[Qt]&=-5,rc()}}function uh(i,a,c){let _=c?i.styles:null,T=c?i.classes:null,F=0;if(null!==a)for(let Q=0;Q<a.length;Q++){const se=a[Q];"number"==typeof se?F=se:1==F?T=Ae(T,se):2==F&&(_=Ae(_,se+": "+a[++Q]+";"))}c?i.styles=_:i.stylesWithoutHost=_,c?i.classes=T:i.classesWithoutHost=T}class Np extends $0{constructor(a){super(),this.ngModule=a}resolveComponentFactory(a){const c=ii(a);return new hd(c,this.ngModule)}}function Hp(i){const a=[];for(let c in i)i.hasOwnProperty(c)&&a.push({propName:i[c],templateName:c});return a}class Fp{constructor(a,c){this.injector=a,this.parentInjector=c}get(a,c,_){_=ga(_);const T=this.injector.get(a,T3,_);return T!==T3||c===T3?T:this.parentInjector.get(a,c,_)}}class hd extends w3{get inputs(){const a=this.componentDef,c=a.inputTransforms,_=Hp(a.inputs);if(null!==c)for(const T of _)c.hasOwnProperty(T.propName)&&(T.transform=c[T.propName]);return _}get outputs(){return Hp(this.componentDef.outputs)}constructor(a,c){super(),this.componentDef=a,this.ngModule=c,this.componentType=a.type,this.selector=function Xa(i){return i.map(So).join(",")}(a.selectors),this.ngContentSelectors=a.ngContentSelectors?a.ngContentSelectors:[],this.isBoundToModule=!!c}create(a,c,_,T){let F=(T=T||this.ngModule)instanceof ds?T:T?.injector;F&&null!==this.componentDef.getStandaloneInjector&&(F=this.componentDef.getStandaloneInjector(F)||F);const Q=F?new Fp(a,F):a,se=Q.get(E3,null);if(null===se)throw new Ke(407,!1);const Tt={rendererFactory:se,sanitizer:Q.get(Zm,null),inlineEffectRunner:null,afterRenderEventManager:Q.get(Us,null)},Ut=se.createRenderer(null,this.componentDef),oi=this.componentDef.selectors[0][0]||"div",mi=_?function pp(i,a,c,_){const F=_.get(sp,!1)||c===Pr.ShadowDom,Q=i.selectRootElement(a,F);return function gp(i){G3(i)}(Q),Q}(Ut,_,this.componentDef.encapsulation,Q):e2(Ut,oi,function c4(i){const a=i.toLowerCase();return"svg"===a?Ao:"math"===a?"math":null}(oi)),dn=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let bn=null;null!==mi&&(bn=Bu(mi,Q,!0));const Wi=U3(0,null,null,1,0,null,null,null,null,null,null),Wn=th(null,Wi,null,dn,null,null,Tt,Ut,Q,null,bn);let wr,Zr;sr(Wn);try{const po=this.componentDef;let R2,Ug=null;po.findHostDirectiveDefs?(R2=[],Ug=new Map,po.findHostDirectiveDefs(po,R2,Ug),R2.push(po)):R2=[po];const Vx=function C8(i,a){const c=i[bt],_=An;return i[_]=a,fl(c,_,2,"#host",null)}(Wn,mi),Cv=function pf(i,a,c,_,T,F,Q){const se=T[bt];!function w8(i,a,c,_){for(const T of i)a.mergedAttrs=ia(a.mergedAttrs,T.hostAttrs);null!==a.mergedAttrs&&(uh(a,a.mergedAttrs,!0),null!==c&&s2(_,c,a))}(_,i,a,Q);let Me=null;null!==a&&(Me=Bu(a,T[zi]));const at=F.rendererFactory.createRenderer(a,c);let Tt=16;c.signals?Tt=4096:c.onPush&&(Tt=64);const Ut=th(T,B3(c),null,Tt,T[i.index],i,F,at,null,null,Me);return se.firstCreatePass&&qu(se,i,_.length-1),pl(T,Ut),T[i.index]=Ut}(Vx,mi,po,R2,Wn,Tt,Ut);Zr=wc(Wi,An),mi&&function Vp(i,a,c,_){if(_)io(i,c,["ng-version",qg.full]);else{const{attrs:T,classes:F}=function ao(i){const a=[],c=[];let _=1,T=2;for(;_<i.length;){let F=i[_];if("string"==typeof F)2===T?""!==F&&a.push(F,i[++_]):8===T&&c.push(F);else{if(!qr(T))break;T=F}_++}return{attrs:a,classes:c}}(a.selectors[0]);T&&io(i,c,T),F&&F.length>0&&W0(i,c,F.join(" "))}}(Ut,po,mi,_),void 0!==c&&function M8(i,a,c){const _=i.projection=[];for(let T=0;T<a.length;T++){const F=c[T];_.push(null!=F?Array.from(F):null)}}(Zr,this.ngContentSelectors,c),wr=function zp(i,a,c,_,T,F){const Q=pr(),se=T[bt],Me=Sr(Q,T);W3(se,T,Q,c,null,_);for(let Tt=0;Tt<c.length;Tt++)Ha(oc(T,se,Q.directiveStart+Tt,Q),T);Y3(se,T,Q),Me&&Ha(Me,T);const at=oc(T,se,Q.directiveStart+Q.componentOffset,Q);if(i[Fn]=T[Fn]=at,null!==F)for(const Tt of F)Tt(at,a);return Qu(se,Q,i),at}(Cv,po,R2,Ug,Wn,[Bp]),mf(Wi,Wn,null)}finally{rc()}return new x8(this.componentType,wr,u2(Zr,Wn),Wn,Zr)}}class x8 extends Bm{constructor(a,c,_,T,F){super(),this.location=_,this._rootLView=T,this._tNode=F,this.previousInputValues=null,this.instance=c,this.hostView=this.changeDetectorRef=new ld(T,void 0,!1),this.componentType=a}setInput(a,c){const _=this._tNode.inputs;let T;if(null!==_&&(T=_[a])){if(this.previousInputValues??=new Map,this.previousInputValues.has(a)&&Object.is(this.previousInputValues.get(a),c))return;const F=this._rootLView;v2(F[bt],F,T,a,c),this.previousInputValues.set(a,c),o1(zo(this._tNode.index,F))}}get injector(){return new $a(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(a){this.hostView.onDestroy(a)}}function Bp(){const i=pr();Wc(Ni()[bt],i)}function l4(i){let a=function Up(i){return Object.getPrototypeOf(i.prototype).constructor}(i.type),c=!0;const _=[i];for(;a;){let T;if(co(i))T=a.\u0275cmp||a.\u0275dir;else{if(a.\u0275cmp)throw new Ke(903,!1);T=a.\u0275dir}if(T){if(c){_.push(T);const Q=i;Q.inputs=gf(i.inputs),Q.inputTransforms=gf(i.inputTransforms),Q.declaredInputs=gf(i.declaredInputs),Q.outputs=gf(i.outputs);const se=T.hostBindings;se&&d4(i,se);const Me=T.viewQuery,at=T.contentQueries;if(Me&&Gp(i,Me),at&&E8(i,at),mt(i.inputs,T.inputs),mt(i.declaredInputs,T.declaredInputs),mt(i.outputs,T.outputs),null!==T.inputTransforms&&(null===Q.inputTransforms&&(Q.inputTransforms={}),mt(Q.inputTransforms,T.inputTransforms)),co(T)&&T.data.animation){const Tt=i.data;Tt.animation=(Tt.animation||[]).concat(T.data.animation)}}const F=T.features;if(F)for(let Q=0;Q<F.length;Q++){const se=F[Q];se&&se.ngInherit&&se(i),se===l4&&(c=!1)}}a=Object.getPrototypeOf(a)}!function S8(i){let a=0,c=null;for(let _=i.length-1;_>=0;_--){const T=i[_];T.hostVars=a+=T.hostVars,T.hostAttrs=ia(T.hostAttrs,c=ia(c,T.hostAttrs))}}(_)}function gf(i){return i===ur?{}:i===Un?[]:i}function Gp(i,a){const c=i.viewQuery;i.viewQuery=c?(_,T)=>{a(_,T),c(_,T)}:a}function E8(i,a){const c=i.contentQueries;i.contentQueries=c?(_,T,F)=>{a(_,T,F),c(_,T,F)}:a}function d4(i,a){const c=i.hostBindings;i.hostBindings=c?(_,T)=>{a(_,T),c(_,T)}:a}function Yp(i){const a=i.inputConfig,c={};for(const _ in a)if(a.hasOwnProperty(_)){const T=a[_];Array.isArray(T)&&T[2]&&(c[_]=T[2])}i.inputTransforms=c}function bc(i,a,c){return i[a]=c}function to(i,a,c){return!Object.is(i[a],c)&&(i[a]=c,!0)}function ud(i,a,c,_){const T=to(i,a,c);return to(i,a+1,_)||T}function mh(i,a,c,_,T){const F=ud(i,a,c,_);return to(i,a+2,T)||F}function vf(i,a,c,_){const T=Ni();return to(T,$r(),a)&&(ar(),Fa(Or(),T,i,a,c,_)),vf}function C2(i,a,c,_){return to(i,$r(),c)?a+rt(c)+_:tr}function zc(i,a,c,_,T,F){const se=ud(i,Jn(),c,T);return me(2),se?a+rt(c)+_+rt(T)+F:tr}function w2(i,a,c,_,T,F,Q,se,Me,at){const Ut=function Gs(i,a,c,_,T,F){const Q=ud(i,a,c,_);return ud(i,a+2,T,F)||Q}(i,Jn(),c,T,Q,Me);return me(4),Ut?a+rt(c)+_+rt(T)+F+rt(Q)+se+rt(Me)+at:tr}function bf(i,a){return i<<17|a<<2}function d1(i){return i>>17&32767}function yf(i){return 2|i}function h1(i){return(131068&i)>>2}function g4(i,a){return-131069&i|a<<2}function xf(i){return 1|i}function C(i,a,c,_,T){const F=i[c+1],Q=null===a;let se=_?d1(F):h1(F),Me=!1;for(;0!==se&&(!1===Me||Q);){const Tt=i[se+1];B(i[se],a)&&(Me=!0,i[se+1]=_?xf(Tt):yf(Tt)),se=_?d1(Tt):h1(Tt)}Me&&(i[c+1]=_?yf(F):xf(F))}function B(i,a){return null===i||null==a||(Array.isArray(i)?i[1]:i)===a||!(!Array.isArray(i)||"string"!=typeof a)&&Hl(i,a)>=0}const Y={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Te(i){return i.substring(Y.key,Y.keyEnd)}function Gt(i,a){const c=Y.textEnd;return c===a?-1:(a=Y.keyEnd=function an(i,a,c){for(;a<c&&i.charCodeAt(a)>32;)a++;return a}(i,Y.key=a,c),Ii(i,a,c))}function Ii(i,a,c){for(;a<c&&i.charCodeAt(a)<=32;)a++;return a}function Yn(i,a,c){const _=Ni();return to(_,$r(),a)&&Ms(ar(),Or(),_,i,a,_[Dn],c,!1),Yn}function Vn(i,a,c,_,T){const Q=T?"class":"style";v2(i,c,a.inputs[Q],Q,_)}function wn(i,a,c){return Kr(i,a,c,!1),wn}function Br(i,a){return Kr(i,a,null,!0),Br}function aa(i){$n(vd,Mn,i,!0)}function Mn(i,a){for(let c=function Wt(i){return function wi(i){Y.key=0,Y.keyEnd=0,Y.value=0,Y.valueEnd=0,Y.textEnd=i.length}(i),Gt(i,Ii(i,0,Y.textEnd))}(a);c>=0;c=Gt(a,c))ls(i,Te(a),!0)}function Kr(i,a,c,_){const T=Ni(),F=ar(),Q=me(2);F.firstUpdatePass&&ps(F,i,Q,_),a!==tr&&to(T,Q,a)&&u1(F,F.data[Za()],T,T[Dn],i,T[Q+1]=function _n(i,a){return null==i||""===i||("string"==typeof a?i+=a:"object"==typeof i&&(i=kt(mn(i)))),i}(a,c),_,Q)}function $n(i,a,c,_){const T=ar(),F=me(2);T.firstUpdatePass&&ps(T,null,F,_);const Q=Ni();if(c!==tr&&to(Q,F,c)){const se=T.data[Za()];if(ir(se,_)&&!ea(T,F)){let Me=_?se.classesWithoutHost:se.stylesWithoutHost;null!==Me&&(c=Ae(Me,c||"")),Vn(T,se,Q,c,_)}else!function bd(i,a,c,_,T,F,Q,se){T===tr&&(T=Un);let Me=0,at=0,Tt=0<T.length?T[0]:null,Ut=0<F.length?F[0]:null;for(;null!==Tt||null!==Ut;){const oi=Me<T.length?T[Me+1]:void 0,mi=at<F.length?F[at+1]:void 0;let ji,Ri=null;Tt===Ut?(Me+=2,at+=2,oi!==mi&&(Ri=Ut,ji=mi)):null===Ut||null!==Tt&&Tt<Ut?(Me+=2,Ri=Tt):(at+=2,Ri=Ut,ji=mi),null!==Ri&&u1(i,a,c,_,Ri,ji,Q,se),Tt=Me<T.length?T[Me]:null,Ut=at<F.length?F[at]:null}}(T,se,Q,Q[Dn],Q[F+1],Q[F+1]=function qa(i,a,c){if(null==c||""===c)return Un;const _=[],T=mn(c);if(Array.isArray(T))for(let F=0;F<T.length;F++)i(_,T[F],!0);else if("object"==typeof T)for(const F in T)T.hasOwnProperty(F)&&i(_,F,T[F]);else"string"==typeof T&&a(_,T);return _}(i,a,c),_,F)}}function ea(i,a){return a>=i.expandoStartIndex}function ps(i,a,c,_){const T=i.data;if(null===T[c+1]){const F=T[Za()],Q=ea(i,c);ir(F,_)&&null===a&&!Q&&(a=!1),a=function xa(i,a,c,_){const T=ni(i);let F=_?a.residualClasses:a.residualStyles;if(null===T)0===(_?a.classBindings:a.styleBindings)&&(c=ma(c=Qa(null,i,a,c,_),a.attrs,_),F=null);else{const Q=a.directiveStylingLast;if(-1===Q||i[Q]!==T)if(c=Qa(T,i,a,c,_),null===F){let Me=function Ca(i,a,c){const _=c?a.classBindings:a.styleBindings;if(0!==h1(_))return i[d1(_)]}(i,a,_);void 0!==Me&&Array.isArray(Me)&&(Me=Qa(null,i,a,Me[1],_),Me=ma(Me,a.attrs,_),function jo(i,a,c,_){i[d1(c?a.classBindings:a.styleBindings)]=_}(i,a,_,Me))}else F=function Ur(i,a,c){let _;const T=a.directiveEnd;for(let F=1+a.directiveStylingLast;F<T;F++)_=ma(_,i[F].hostAttrs,c);return ma(_,a.attrs,c)}(i,a,_)}return void 0!==F&&(_?a.residualClasses=F:a.residualStyles=F),c}(T,F,a,_),function L(i,a,c,_,T,F){let Q=F?a.classBindings:a.styleBindings,se=d1(Q),Me=h1(Q);i[_]=c;let Tt,at=!1;if(Array.isArray(c)?(Tt=c[1],(null===Tt||Hl(c,Tt)>0)&&(at=!0)):Tt=c,T)if(0!==Me){const oi=d1(i[se+1]);i[_+1]=bf(oi,se),0!==oi&&(i[oi+1]=g4(i[oi+1],_)),i[se+1]=function Xp(i,a){return 131071&i|a<<17}(i[se+1],_)}else i[_+1]=bf(se,0),0!==se&&(i[se+1]=g4(i[se+1],_)),se=_;else i[_+1]=bf(Me,0),0===se?se=_:i[Me+1]=g4(i[Me+1],_),Me=_;at&&(i[_+1]=yf(i[_+1])),C(i,Tt,_,!0),C(i,Tt,_,!1),function o(i,a,c,_,T){const F=T?i.residualClasses:i.residualStyles;null!=F&&"string"==typeof a&&Hl(F,a)>=0&&(c[_+1]=xf(c[_+1]))}(a,Tt,i,_,F),Q=bf(se,Me),F?a.classBindings=Q:a.styleBindings=Q}(T,F,a,c,Q,_)}}function Qa(i,a,c,_,T){let F=null;const Q=c.directiveEnd;let se=c.directiveStylingLast;for(-1===se?se=c.directiveStart:se++;se<Q&&(F=a[se],_=ma(_,F.hostAttrs,T),F!==i);)se++;return null!==i&&(c.directiveStylingLast=se),_}function ma(i,a,c){const _=c?1:2;let T=-1;if(null!==a)for(let F=0;F<a.length;F++){const Q=a[F];"number"==typeof Q?T=Q:T===_&&(Array.isArray(i)||(i=void 0===i?[]:["",i]),ls(i,Q,!!c||a[++F]))}return void 0===i?null:i}function vd(i,a,c){const _=String(a);""!==_&&!_.includes(" ")&&ls(i,_,c)}function u1(i,a,c,_,T,F,Q,se){if(!(3&a.type))return;const Me=i.data,at=Me[se+1],Tt=function Jp(i){return 1==(1&i)}(at)?Oo(Me,a,c,T,h1(at),Q):void 0;yc(Tt)||(yc(F)||function k8(i){return 2==(2&i)}(at)&&(F=Oo(Me,null,c,T,se,Q)),function ku(i,a,c,_,T){if(a)T?i.addClass(c,_):i.removeClass(c,_);else{let F=-1===_.indexOf("-")?void 0:B1.DashCase;null==T?i.removeStyle(c,_,F):("string"==typeof T&&T.endsWith("!important")&&(T=T.slice(0,-10),F|=B1.Important),i.setStyle(c,_,T,F))}}(_,Q,vs(Za(),c),T,F))}function Oo(i,a,c,_,T,F){const Q=null===a;let se;for(;T>0;){const Me=i[T],at=Array.isArray(Me),Tt=at?Me[1]:Me,Ut=null===Tt;let oi=c[T+1];oi===tr&&(oi=Ut?Un:void 0);let mi=Ut?X2(oi,_):Tt===_?oi:void 0;if(at&&!yc(mi)&&(mi=X2(Me,_)),yc(mi)&&(se=mi,Q))return se;const Ri=i[T+1];T=Q?d1(Ri):h1(Ri)}if(null!==a){let Me=F?a.residualClasses:a.residualStyles;null!=Me&&(se=X2(Me,_))}return se}function yc(i){return void 0!==i}function ir(i,a){return 0!=(i.flags&(a?8:16))}function xr(i,a,c){$n(ls,Mn,C2(Ni(),i,a,c),!0)}let n6=(i,a)=>null;function A2(i,a){return n6(i,a)}class Jv{destroy(a){}updateValue(a,c){}swap(a,c){const _=Math.min(a,c),T=Math.max(a,c),F=this.detach(T);if(T-_>1){const Q=this.detach(_);this.attach(_,F),this.attach(T,Q)}else this.attach(_,F)}move(a,c){this.attach(c,this.detach(a))}}function w4(i,a,c,_,T){return i===c&&Object.is(a,_)?1:Object.is(T(i,a),T(c,_))?-1:0}function r6(i,a,c,_){return!(void 0===a||!a.has(_)||(i.attach(c,a.get(_)),a.delete(_),0))}function a6(i,a,c,_,T){if(r6(i,a,_,c(_,T)))i.updateValue(_,T);else{const F=i.create(_,T);i.attach(_,F)}}function W8(i,a,c,_){const T=new Set;for(let F=a;F<=c;F++)T.add(_(F,i.at(F)));return T}class Y8{constructor(){this.map=new Map}has(a){const c=this.map.get(a);return void 0!==c&&c.length>0}delete(a){const c=this.map.get(a);return void 0!==c&&(c.shift(),!0)}get(a){const c=this.map.get(a);return void 0!==c&&c.length>0?c[0]:void 0}set(a,c){this.map.has(a)?this.map.get(a)?.push(c):this.map.set(a,[c])}forEach(a){for(const[c,_]of this.map)for(const T of _)a(T,c)}}function Mf(i,a,c,_){const T=a.tView,se=th(i,T,c,4096&i[Qt]?4096:16,null,a,null,null,null,_?.injector??null,_?.dehydratedView??null);se[To]=i[a.index];const at=i[Ea];return null!==at&&(se[Ea]=at.createEmbeddedView(T)),mf(T,se,c),se}function j8(i,a){const c=Ki+a;if(c<i.length)return i[c]}function gh(i,a){return!a||Kl(i)}function D2(i,a,c,_=!0){const T=a[bt];if(function F0(i,a,c,_){const T=Ki+_,F=c.length;_>0&&(c[T-1][Cn]=a),_<F-Ki?(a[Cn]=c[T],Od(c,Ki+_,a)):(c.push(a),a[Cn]=null),a[Fi]=c;const Q=a[To];null!==Q&&c!==Q&&function Eu(i,a){const c=i[rs];a[vr]!==a[Fi][Fi][vr]&&(i[Qt]|=Ls.HasTransplantedViews),null===c?i[rs]=[a]:c.push(a)}(Q,a);const se=a[Ea];null!==se&&se.insertView(i),m1(a),a[Qt]|=128}(T,a,i,c),_){const F=ed(c,i),Q=a[Dn],se=$l(Q,i[dr]);null!==se&&function wu(i,a,c,_,T,F){_[Fe]=T,_[Mr]=a,dl(i,_,c,1,T,F)}(T,i[Mr],Q,a,se,F)}}function o6(i,a){const c=Xl(i,a);return void 0!==c&&Jl(c[bt],c),c}let M4=(()=>{class i{static#e=this.__NG_ELEMENT_ID__=K8}return i})();function K8(){return c6(pr(),Ni())}const $v=M4,Q8=class extends $v{constructor(a,c,_){super(),this._lContainer=a,this._hostTNode=c,this._hostLView=_}get element(){return u2(this._hostTNode,this._hostLView)}get injector(){return new $a(this._hostTNode,this._hostLView)}get parentInjector(){const a=w1(this._hostTNode,this._hostLView);if(Tl(a)){const c=Al(a,this._hostLView),_=b1(a);return new $a(c[bt].data[_+8],c)}return new $a(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(a){const c=q8(this._lContainer);return null!==c&&c[a]||null}get length(){return this._lContainer.length-Ki}createEmbeddedView(a,c,_){let T,F;"number"==typeof _?T=_:null!=_&&(T=_.index,F=_.injector);const Q=A2(this._lContainer,a.ssrId),se=a.createEmbeddedViewImpl(c||{},F,Q);return this.insertImpl(se,T,gh(this._hostTNode,Q)),se}createComponent(a,c,_,T,F){const Q=a&&!function zs(i){return"function"==typeof i}(a);let se;if(Q)se=c;else{const Ri=c||{};se=Ri.index,_=Ri.injector,T=Ri.projectableNodes,F=Ri.environmentInjector||Ri.ngModuleRef}const Me=Q?a:new hd(ii(a)),at=_||this.parentInjector;if(!F&&null==Me.ngModule){const ji=(Q?at:this.parentInjector).get(ds,null);ji&&(F=ji)}const Tt=ii(Me.componentType??{}),Ut=A2(this._lContainer,Tt?.id??null),mi=Me.create(at,T,Ut?.firstChild??null,F);return this.insertImpl(mi.hostView,se,gh(this._hostTNode,Ut)),mi}insert(a,c){return this.insertImpl(a,c,!0)}insertImpl(a,c,_){const T=a._lView;if(function Uc(i){return Rr(i[Fi])}(T)){const se=this.indexOf(a);if(-1!==se)this.detach(se);else{const Me=T[Fi],at=new Q8(Me,Me[Mr],Me[Fi]);at.detach(at.indexOf(a))}}const F=this._adjustIndex(c),Q=this._lContainer;return D2(Q,T,F,_),a.attachToViewContainerRef(),Od(s6(Q),F,a),a}move(a,c){return this.insert(a,c)}indexOf(a){const c=q8(this._lContainer);return null!==c?c.indexOf(a):-1}remove(a){const c=this._adjustIndex(a,-1),_=Xl(this._lContainer,c);_&&(sc(s6(this._lContainer),c),Jl(_[bt],_))}detach(a){const c=this._adjustIndex(a,-1),_=Xl(this._lContainer,c);return _&&null!=sc(s6(this._lContainer),c)?new ld(_):null}_adjustIndex(a,c=0){return a??this.length+c}};function q8(i){return i[8]}function s6(i){return i[8]||(i[8]=[])}function c6(i,a){let c;const _=a[i.index];return Rr(_)?c=_:(c=nh(_,a,null,i),a[i.index]=c,pl(a,c)),X8(c,a,i,_),new Q8(c,i,a)}let X8=function $8(i,a,c,_){if(i[dr])return;let T;T=8&c.type?zn(_):function e9(i,a){const c=i[Dn],_=c.createComment(""),T=Sr(a,i);return Pc(c,$l(c,T),_,function Du(i,a){return i.nextSibling(a)}(c,T),!1),_}(a,c),i[dr]=T},l6=(i,a,c)=>!1;function _h(i,a,c,_,T,F,Q,se){const Me=Ni(),at=ar(),Tt=i+An,Ut=at.firstCreatePass?function d6(i,a,c,_,T,F,Q,se,Me){const at=a.consts,Tt=fl(a,i,4,Q||null,Jo(at,se));Z3(a,c,Tt,Jo(at,Me)),Wc(a,Tt);const Ut=Tt.tView=U3(2,Tt,_,T,F,a.directiveRegistry,a.pipeRegistry,null,a.schemas,at,null);return null!==a.queries&&(a.queries.template(a,Tt),Ut.queries=a.queries.embeddedTView(Tt)),Tt}(Tt,at,Me,a,c,_,T,F,Q):at.data[Tt];zr(Ut,!1);const oi=e5(at,Me,Ut,i);os()&&e1(at,Me,oi,Ut),Ha(oi,Me);const mi=nh(oi,Me,oi,Ut);return Me[Tt]=mi,pl(Me,mi),function J8(i,a,c){return l6(i,a,c)}(mi,Ut,Me),Zs(Ut)&&z3(at,Me,Ut),null!=Q&&V3(Me,Ut,se),_h}let e5=function t5(i,a,c,_){return Fs(!0),a[Dn].createComment("")};function i5(i,a,c){c1("NgControlFlow");const _=Ni(),T=$r(),F=S4(_,An+i);if(to(_,T,a)){const se=M(null);try{if(o6(F,0),-1!==a){const Me=h6(_[bt],An+a),at=A2(F,Me.tView.ssrId);D2(F,Mf(_,Me,c,{dehydratedView:at}),0,gh(Me,at))}}finally{M(se)}}else{const se=j8(F,0);void 0!==se&&(se[Fn]=c)}}class a9{constructor(a,c,_){this.lContainer=a,this.$implicit=c,this.$index=_}get $count(){return this.lContainer.length-Ki}}function n5(i,a){return a}class r5{constructor(a,c,_){this.hasEmptyBlock=a,this.trackByFn=c,this.liveCollection=_}}function a5(i,a,c,_,T,F,Q,se,Me,at,Tt){c1("NgControlFlow");const Ut=void 0!==Me,oi=Ni(),mi=se?Q.bind(oi[vr][Fn]):Q,Ri=new r5(Ut,mi);oi[An+i]=Ri,_h(i+1,a,c,_,T,F),Ut&&_h(i+2,Me,at,Tt)}class o5 extends Jv{constructor(a,c,_){super(),this.lContainer=a,this.hostLView=c,this.templateTNode=_,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Ki}at(a){return this.getLView(a)[Fn].$implicit}attach(a,c){const _=c[Sa];this.needsIndexUpdate||=a!==this.length,D2(this.lContainer,c,a,gh(this.templateTNode,_))}detach(a){return this.needsIndexUpdate||=a!==this.length-1,function c5(i,a){return Xl(i,a)}(this.lContainer,a)}create(a,c){const _=A2(this.lContainer,this.templateTNode.tView.ssrId);return Mf(this.hostLView,this.templateTNode,new a9(this.lContainer,c,a),{dehydratedView:_})}destroy(a){Jl(a[bt],a)}updateValue(a,c){this.getLView(a)[Fn].$implicit=c}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let a=0;a<this.length;a++)this.getLView(a)[Fn].$index=a}getLView(a){return function s9(i,a){return j8(i,a)}(this.lContainer,a)}}function s5(i){const a=M(null),c=Za();try{const _=Ni(),T=_[bt],F=_[c];if(void 0===F.liveCollection){const se=c+1,Me=S4(_,se),at=h6(T,se);F.liveCollection=new o5(Me,_,at)}else F.liveCollection.reset();const Q=F.liveCollection;if(function Z8(i,a,c){let _,T,F=0,Q=i.length-1;if(Array.isArray(a)){let se=a.length-1;for(;F<=Q&&F<=se;){const Me=i.at(F),at=a[F],Tt=w4(F,Me,F,at,c);if(0!==Tt){Tt<0&&i.updateValue(F,at),F++;continue}const Ut=i.at(Q),oi=a[se],mi=w4(Q,Ut,se,oi,c);if(0!==mi){mi<0&&i.updateValue(Q,oi),Q--,se--;continue}const Ri=c(F,Me),ji=c(Q,Ut),dn=c(F,at);if(Object.is(dn,ji)){const bn=c(se,oi);Object.is(bn,Ri)?(i.swap(F,Q),i.updateValue(Q,oi),se--,Q--):i.move(Q,F),i.updateValue(F,at),F++}else if(_??=new Y8,T??=W8(i,F,Q,c),r6(i,_,F,dn))i.updateValue(F,at),F++,Q++;else if(T.has(dn))_.set(Ri,i.detach(F)),Q--;else{const bn=i.create(F,a[F]);i.attach(F,bn),F++,Q++}}for(;F<=se;)a6(i,_,c,F,a[F]),F++}else if(null!=a){const se=a[Symbol.iterator]();let Me=se.next();for(;!Me.done&&F<=Q;){const at=i.at(F),Tt=Me.value,Ut=w4(F,at,F,Tt,c);if(0!==Ut)Ut<0&&i.updateValue(F,Tt),F++,Me=se.next();else{_??=new Y8,T??=W8(i,F,Q,c);const oi=c(F,Tt);if(r6(i,_,F,oi))i.updateValue(F,Tt),F++,Q++,Me=se.next();else if(T.has(oi)){const mi=c(F,at);_.set(mi,i.detach(F)),Q--}else i.attach(F,i.create(F,Tt)),F++,Q++,Me=se.next()}}for(;!Me.done;)a6(i,_,c,i.length,Me.value),Me=se.next()}for(;F<=Q;)i.destroy(i.detach(Q--));_?.forEach(se=>{i.destroy(se)})}(Q,i,F.trackByFn),Q.updateIndexes(),F.hasEmptyBlock){const se=$r(),Me=0===Q.length;if(to(_,se,Me)){const at=c+2,Tt=S4(_,at);if(Me){const Ut=h6(T,at),oi=A2(Tt,Ut.tView.ssrId);D2(Tt,Mf(_,Ut,void 0,{dehydratedView:oi}),0,gh(Ut,oi))}else o6(Tt,0)}}}finally{M(a)}}function S4(i,a){return i[a]}function h6(i,a){return wc(i,a)}function Df(i,a,c,_){const T=Ni(),F=ar(),Q=An+i,se=T[Dn],Me=F.firstCreatePass?function I9(i,a,c,_,T,F){const Q=a.consts,Me=fl(a,i,2,_,Jo(Q,T));return Z3(a,c,Me,Jo(Q,F)),null!==Me.attrs&&uh(Me,Me.attrs,!1),null!==Me.mergedAttrs&&uh(Me,Me.mergedAttrs,!0),null!==a.queries&&a.queries.elementStart(a,Me),Me}(Q,F,T,a,c,_):F.data[Q],at=D5(F,T,Me,se,a,i);T[Q]=at;const Tt=Zs(Me);return zr(Me,!0),s2(se,at,Me),32!=(32&Me.flags)&&os()&&e1(F,T,at,Me),0===function p1(){return kn.lFrame.elementDepthCount}()&&Ha(at,T),function bs(){kn.lFrame.elementDepthCount++}(),Tt&&(z3(F,T,Me),Qu(F,Me,T)),null!==_&&V3(T,Me),Df}function N4(){let i=pr();Na()?Sc():(i=i.parent,zr(i,!1));const a=i;(function H2(i){return kn.skipHydrationRootTNode===i})(a)&&function Md(){kn.skipHydrationRootTNode=null}(),function Hh(){kn.lFrame.elementDepthCount--}();const c=ar();return c.firstCreatePass&&(Wc(c,i),Is(i)&&c.queries.elementEnd(i)),null!=a.classesWithoutHost&&function Ed(i){return 0!=(8&i.flags)}(a)&&Vn(c,a,Ni(),a.classesWithoutHost,!0),null!=a.stylesWithoutHost&&function Qf(i){return 0!=(16&i.flags)}(a)&&Vn(c,a,Ni(),a.stylesWithoutHost,!1),N4}function C6(i,a,c,_){return Df(i,a,c,_),N4(),C6}let D5=(i,a,c,_,T,F)=>(Fs(!0),e2(_,T,function $o(){return kn.lFrame.currentNamespace}()));function Lf(i,a,c){const _=Ni(),T=ar(),F=i+An,Q=T.firstCreatePass?function P9(i,a,c,_,T){const F=a.consts,Q=Jo(F,_),se=fl(a,i,8,"ng-container",Q);return null!==Q&&uh(se,Q,!0),Z3(a,c,se,Jo(F,T)),null!==a.queries&&a.queries.elementStart(a,se),se}(F,T,_,a,c):T.data[F];zr(Q,!0);const se=L5(T,_,Q,i);return _[F]=se,os()&&e1(T,_,se,Q),Ha(se,_),Zs(Q)&&(z3(T,_,Q),Qu(T,Q,_)),null!=c&&V3(_,Q),Lf}function H4(){let i=pr();const a=ar();return Na()?Sc():(i=i.parent,zr(i,!1)),a.firstCreatePass&&(Wc(a,i),Is(i)&&a.queries.elementEnd(i)),H4}function w6(i,a,c){return Lf(i,a,c),H4(),w6}let L5=(i,a,c,_)=>(Fs(!0),$d(a[Dn],""));function k5(){return Ni()}function M6(i,a,c){const _=Ni();return to(_,$r(),a)&&Ms(ar(),Or(),_,i,a,_[Dn],c,!0),M6}function F4(i,a,c){const _=Ni();if(to(_,$r(),a)){const F=ar(),Q=Or();Ms(F,Q,_,i,a,$u(ni(F.data),Q,_),c,!0)}return F4}const I2=void 0;var H9=["en",[["a","p"],["AM","PM"],I2],[["AM","PM"],I2,I2],[["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"]],I2,[["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"]],I2,[["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}",I2,"{1} 'at' {0}",I2],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function N9(i){const c=Math.floor(Math.abs(i)),_=i.toString().replace(/^[^.]*\.?/,"").length;return 1===c&&0===_?1:5}];let Mh={};function z4(i){const a=function F9(i){return i.toLowerCase().replace(/_/g,"-")}(i);let c=P5(a);if(c)return c;const _=a.split("-")[0];if(c=P5(_),c)return c;if("en"===_)return H9;throw new Ke(701,!1)}function O5(i){return z4(i)[Sh.PluralCase]}function P5(i){return i in Mh||(Mh[i]=Oi.ng&&Oi.ng.common&&Oi.ng.common.locales&&Oi.ng.common.locales[i]),Mh[i]}var Sh=function(i){return i[i.LocaleId=0]="LocaleId",i[i.DayPeriodsFormat=1]="DayPeriodsFormat",i[i.DayPeriodsStandalone=2]="DayPeriodsStandalone",i[i.DaysFormat=3]="DaysFormat",i[i.DaysStandalone=4]="DaysStandalone",i[i.MonthsFormat=5]="MonthsFormat",i[i.MonthsStandalone=6]="MonthsStandalone",i[i.Eras=7]="Eras",i[i.FirstDayOfWeek=8]="FirstDayOfWeek",i[i.WeekendRange=9]="WeekendRange",i[i.DateFormat=10]="DateFormat",i[i.TimeFormat=11]="TimeFormat",i[i.DateTimeFormat=12]="DateTimeFormat",i[i.NumberSymbols=13]="NumberSymbols",i[i.NumberFormats=14]="NumberFormats",i[i.CurrencyCode=15]="CurrencyCode",i[i.CurrencySymbol=16]="CurrencySymbol",i[i.CurrencyName=17]="CurrencyName",i[i.Currencies=18]="Currencies",i[i.Directionality=19]="Directionality",i[i.PluralCase=20]="PluralCase",i[i.ExtraData=21]="ExtraData",i}(Sh||{});const Eh="en-US";let S6=Eh;function P6(i){return!!i&&"function"==typeof i.then}function R6(i){return!!i&&"function"==typeof i.subscribe}function N6(i,a,c,_){const T=Ni(),F=ar(),Q=pr();return K4(F,T,T[Dn],Q,i,a,_),N6}function j4(i,a){const c=pr(),_=Ni(),T=ar();return K4(T,_,$u(ni(T.data),c,_),c,i,a),j4}function K4(i,a,c,_,T,F,Q){const se=Zs(_),at=i.firstCreatePass&&rh(i),Tt=a[Fn],Ut=cd(a);let oi=!0;if(3&_.type||Q){const ji=Sr(_,a),dn=Q?Q(ji):ji,bn=Ut.length,Wi=Q?wr=>Q(zn(wr[_.index])):_.index;let Wn=null;if(!Q&&se&&(Wn=function wb(i,a,c,_){const T=i.cleanup;if(null!=T)for(let F=0;F<T.length-1;F+=2){const Q=T[F];if(Q===c&&T[F+1]===_){const se=a[bo],Me=T[F+2];return se.length>Me?se[Me]:null}"string"==typeof Q&&(F+=2)}return null}(i,a,T,_.index)),null!==Wn)(Wn.__ngLastListenerFn__||Wn).__ngNextListenerFn__=F,Wn.__ngLastListenerFn__=F,oi=!1;else{F=o_(_,a,Tt,F,!1);const wr=c.listen(dn,T,F);Ut.push(F,wr),at&&at.push(T,Wi,bn,bn+1)}}else F=o_(_,a,Tt,F,!1);const mi=_.outputs;let Ri;if(oi&&null!==mi&&(Ri=mi[T])){const ji=Ri.length;if(ji)for(let dn=0;dn<ji;dn+=2){const Zr=a[Ri[dn]][Ri[dn+1]].subscribe(F),po=Ut.length;Ut.push(F,Zr),at&&at.push(T,_.index,po,-(po+1))}}}function a_(i,a,c,_){try{return Nr(6,a,c),!1!==c(_)}catch(T){return _2(i,T),!1}finally{Nr(7,a,c)}}function o_(i,a,c,_,T){return function F(Q){if(Q===Function)return _;o1(i.componentOffset>-1?zo(i.index,a):a);let Me=a_(a,c,_,Q),at=F.__ngNextListenerFn__;for(;at;)Me=a_(a,c,at,Q)&&Me,at=at.__ngNextListenerFn__;return T&&!1===Me&&Q.preventDefault(),Me}}function s_(i=1){return function Go(i){return(kn.lFrame.contextLView=function Ra(i,a){for(;i>0;)a=a[yo],i--;return a}(i,kn.lFrame.contextLView))[Fn]}(i)}function Mb(i,a){let c=null;const _=function Ro(i){const a=i.attrs;if(null!=a){const c=a.indexOf(5);if(!(1&c))return a[c+1]}return null}(i);for(let T=0;T<a.length;T++){const F=a[T];if("*"!==F){if(null===_?va(i,F,!0):_s(_,F))return T}else c=T}return c}function c_(i){const a=Ni()[vr][Mr];if(!a.projection){const _=a.projection=Rl(i?i.length:1,null),T=_.slice();let F=a.child;for(;null!==F;){const Q=i?Mb(F,i):0;null!==Q&&(T[Q]?T[Q].projectionNext=F:_[Q]=F,T[Q]=F),F=F.next}}}function l_(i,a=0,c){const _=Ni(),T=ar(),F=fl(T,An+i,16,null,c||null);null===F.projection&&(F.projection=a),Sc(),(!_[Sa]||ic())&&32!=(32&F.flags)&&function Lu(i,a,c){td(a[Dn],0,a,c,n2(i,c,a),G0(c.parent||a[Mr],c,a))}(T,_,F)}function H6(i,a,c){return Q4(i,"",a,"",c),H6}function Q4(i,a,c,_,T){const F=Ni(),Q=C2(F,a,c,_);return Q!==tr&&Ms(ar(),Or(),F,i,Q,F[Dn],T,!1),Q4}function q4(i,a,c,_,T,F,Q){const se=Ni(),Me=zc(se,a,c,_,T,F);return Me!==tr&&Ms(ar(),Or(),se,i,Me,se[Dn],Q,!1),q4}function m_(i){return Os(function wl(){return kn.lFrame.contextLView}(),An+i)}function E_(i,a=""){const c=Ni(),_=ar(),T=i+An,F=_.firstCreatePass?fl(_,T,1,a,null):_.data[T],Q=U6(_,c,F,a,i);c[T]=Q,os()&&e1(_,c,Q,F),zr(F,!1)}let U6=(i,a,c,_,T)=>(Fs(!0),function ql(i,a){return i.createText(a)}(a[Dn],_));function Dh(i){return X4("",i,""),Dh}function X4(i,a,c){const _=Ni(),T=C2(_,i,a,c);return T!==tr&&Nc(_,Za(),T),X4}function G6(i,a,c,_,T){const F=Ni(),Q=zc(F,i,a,c,_,T);return Q!==tr&&Nc(F,Za(),Q),G6}function Z6(i,a,c,_,T,F,Q){const se=Ni(),Me=function md(i,a,c,_,T,F,Q,se){const at=mh(i,Jn(),c,T,Q);return me(3),at?a+rt(c)+_+rt(T)+F+rt(Q)+se:tr}(se,i,a,c,_,T,F,Q);return Me!==tr&&Nc(se,Za(),Me),Z6}function W6(i,a,c,_,T,F,Q,se,Me){const at=Ni(),Tt=w2(at,i,a,c,_,T,F,Q,se,Me);return Tt!==tr&&Nc(at,Za(),Tt),W6}function Y6(i,a,c,_,T){if(i=ke(i),Array.isArray(i))for(let F=0;F<i.length;F++)Y6(i[F],a,c,_,T);else{const F=ar(),Q=Ni(),se=pr();let Me=Ic(i)?i:ke(i.provide);const at=s0(i),Tt=1048575&se.providerIndexes,Ut=se.directiveStart,oi=se.providerIndexes>>20;if(Ic(i)||!i.multi){const mi=new Ec(at,T,sd),Ri=j6(Me,a,T?Tt:Tt+oi,Ut);-1===Ri?(G2(Ks(se,Q),F,Me),J4(F,i,a.length),a.push(Me),se.directiveStart++,se.directiveEnd++,T&&(se.providerIndexes+=1048576),c.push(mi),Q.push(mi)):(c[Ri]=mi,Q[Ri]=mi)}else{const mi=j6(Me,a,Tt+oi,Ut),Ri=j6(Me,a,Tt,Tt+oi),dn=Ri>=0&&c[Ri];if(T&&!dn||!T&&!(mi>=0&&c[mi])){G2(Ks(se,Q),F,Me);const bn=function Rb(i,a,c,_,T){const F=new Ec(i,c,sd);return F.multi=[],F.index=a,F.componentProviders=0,O_(F,T,_&&!c),F}(T?P_:Pb,c.length,T,_,at);!T&&dn&&(c[Ri].providerFactory=bn),J4(F,i,a.length,0),a.push(Me),se.directiveStart++,se.directiveEnd++,T&&(se.providerIndexes+=1048576),c.push(bn),Q.push(bn)}else J4(F,i,mi>-1?mi:Ri,O_(c[T?Ri:mi],at,!T&&_));!T&&_&&dn&&c[Ri].componentProviders++}}}function J4(i,a,c,_){const T=Ic(a),F=function o0(i){return!!i.useClass}(a);if(T||F){const Me=(F?ke(a.useClass):a).prototype.ngOnDestroy;if(Me){const at=i.destroyHooks||(i.destroyHooks=[]);if(!T&&a.multi){const Tt=at.indexOf(c);-1===Tt?at.push(c,[_,Me]):at[Tt+1].push(_,Me)}else at.push(c,Me)}}}function O_(i,a,c){return c&&i.componentProviders++,i.multi.push(a)-1}function j6(i,a,c,_){for(let T=c;T<_;T++)if(a[T]===i)return T;return-1}function Pb(i,a,c,_){return K6(this.multi,[])}function P_(i,a,c,_){const T=this.multi;let F;if(this.providerFactory){const Q=this.providerFactory.componentProviders,se=oc(c,c[bt],this.providerFactory.index,_);F=se.slice(0,Q),K6(T,F);for(let Me=Q;Me<se.length;Me++)F.push(se[Me])}else F=[],K6(T,F);return F}function K6(i,a){for(let c=0;c<i.length;c++)a.push((0,i[c])());return a}function Q6(i,a=[]){return c=>{c.providersResolver=(_,T)=>function k_(i,a,c){const _=ar();if(_.firstCreatePass){const T=co(i);Y6(c,_.data,_.blueprint,T,!0),Y6(a,_.data,_.blueprint,T,!1)}}(_,T?T(i):i,a)}}class k2{}class R_{}function $4(i,a){return new q6(i,a??null,[])}class q6 extends k2{constructor(a,c,_){super(),this._parent=c,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Np(this);const T=lr(a);this._bootstrapComponents=Wo(T.bootstrap),this._r3Injector=Vd(a,c,[{provide:k2,useValue:this},{provide:$0,useValue:this.componentFactoryResolver},..._],kt(a),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(a)}get injector(){return this._r3Injector}destroy(){const a=this._r3Injector;!a.destroyed&&a.destroy(),this.destroyCbs.forEach(c=>c()),this.destroyCbs=null}onDestroy(a){this.destroyCbs.push(a)}}class X6 extends R_{constructor(a){super(),this.moduleType=a}create(a){return new q6(this.moduleType,a,[])}}class N_ extends k2{constructor(a){super(),this.componentFactoryResolver=new Np(this),this.instance=null;const c=new el([...a.providers,{provide:k2,useValue:this},{provide:$0,useValue:this.componentFactoryResolver}],a.parent||O1(),a.debugName,new Set(["environment"]));this.injector=c,a.runEnvironmentInitializers&&c.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(a){this.injector.onDestroy(a)}}function J6(i,a,c=null){return new N_({providers:i,parent:a,debugName:c,runEnvironmentInitializers:!0}).injector}let Hb=(()=>{class i{constructor(c){this._injector=c,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(c){if(!c.standalone)return null;if(!this.cachedInjectors.has(c)){const _=r0(0,c.type),T=_.length>0?J6([_],this._injector,`Standalone[${c.type.name}]`):null;this.cachedInjectors.set(c,T)}return this.cachedInjectors.get(c)}ngOnDestroy(){try{for(const c of this.cachedInjectors.values())null!==c&&c.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=St({token:i,providedIn:"environment",factory:()=>new i(mr(ds))})}return i})();function H_(i){c1("NgStandalone"),i.getStandaloneInjector=a=>a.get(Hb).getOrCreateStandaloneInjector(i)}function W_(i,a,c){const _=or()+i,T=Ni();return T[_]===tr?bc(T,_,c?a.call(c):a()):function fh(i,a){return i[a]}(T,_)}function Y_(i,a,c,_){return Q_(Ni(),or(),i,a,c,_)}function im(i,a,c,_,T){return q_(Ni(),or(),i,a,c,_,T)}function j_(i,a,c,_,T,F){return ng(Ni(),or(),i,a,c,_,T,F)}function Nf(i,a){const c=i[a];return c===tr?void 0:c}function Q_(i,a,c,_,T,F){const Q=a+c;return to(i,Q,T)?bc(i,Q+1,F?_.call(F,T):_(T)):Nf(i,Q+1)}function q_(i,a,c,_,T,F,Q){const se=a+c;return ud(i,se,T,F)?bc(i,se+2,Q?_.call(Q,T,F):_(T,F)):Nf(i,se+2)}function ng(i,a,c,_,T,F,Q,se){const Me=a+c;return mh(i,Me,T,F,Q)?bc(i,Me+3,se?_.call(se,T,F,Q):_(T,F,Q)):Nf(i,Me+3)}function X_(i,a){const c=ar();let _;const T=i+An;c.firstCreatePass?(_=function Qb(i,a){if(a)for(let c=a.length-1;c>=0;c--){const _=a[c];if(i===_.name)return _}}(a,c.pipeRegistry),c.data[T]=_,_.onDestroy&&(c.destroyHooks??=[]).push(T,_.onDestroy)):_=c.data[T];const F=_.factory||(_.factory=Di(_.type)),se=Xe(sd);try{const Me=x1(!1),at=F();return x1(Me),function Sb(i,a,c,_){c>=i.data.length&&(i.data[c]=null,i.blueprint[c]=null),a[c]=_}(c,Ni(),T,at),at}finally{Xe(se)}}function ag(i,a,c){const _=i+An,T=Ni(),F=Os(T,_);return Ih(T,_)?Q_(T,or(),a,F.transform,c,F):F.transform(c)}function J_(i,a,c,_){const T=i+An,F=Ni(),Q=Os(F,T);return Ih(F,T)?q_(F,or(),a,Q.transform,c,_,Q):Q.transform(c,_)}function $_(i,a,c,_,T){const F=i+An,Q=Ni(),se=Os(Q,F);return Ih(Q,F)?ng(Q,or(),a,se.transform,c,_,T,se):se.transform(c,_,T)}function Ih(i,a){return i[bt].data[a].pure}function $b(){return this._results[Symbol.iterator]()}class Hf{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new Bs)}constructor(a=!1){this._emitDistinctChangesOnly=a,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const c=Hf.prototype;c[Symbol.iterator]||(c[Symbol.iterator]=$b)}get(a){return this._results[a]}map(a){return this._results.map(a)}filter(a){return this._results.filter(a)}find(a){return this._results.find(a)}reduce(a,c){return this._results.reduce(a,c)}forEach(a){this._results.forEach(a)}some(a){return this._results.some(a)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(a,c){this.dirty=!1;const _=function lo(i){return i.flat(Number.POSITIVE_INFINITY)}(a);(this._changesDetected=!function q2(i,a,c){if(i.length!==a.length)return!1;for(let _=0;_<i.length;_++){let T=i[_],F=a[_];if(c&&(T=c(T),F=c(F)),F!==T)return!1}return!0}(this._results,_,c))&&(this._results=_,this.length=_.length,this.last=_[this.length-1],this.first=_[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let O2=(()=>{class i{static#e=this.__NG_ELEMENT_ID__=iy}return i})();const ey=O2,ty=class extends ey{constructor(a,c,_){super(),this._declarationLView=a,this._declarationTContainer=c,this.elementRef=_}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(a,c){return this.createEmbeddedViewImpl(a,c)}createEmbeddedViewImpl(a,c,_){const T=Mf(this._declarationLView,this._declarationTContainer,a,{injector:c,dehydratedView:_});return new ld(T)}};function iy(){return rm(pr(),Ni())}function rm(i,a){return 4&i.type?new ty(a,i,u2(i,a)):null}class og{constructor(a){this.queryList=a,this.matches=null}clone(){return new og(this.queryList)}setDirty(){this.queryList.setDirty()}}class Ff{constructor(a=[]){this.queries=a}createEmbeddedView(a){const c=a.queries;if(null!==c){const _=null!==a.contentQueries?a.contentQueries[0]:c.length,T=[];for(let F=0;F<_;F++){const Q=c.getByIndex(F);T.push(this.queries[Q.indexInDeclarationView].clone())}return new Ff(T)}return null}insertView(a){this.dirtyQueriesWithMatches(a)}detachView(a){this.dirtyQueriesWithMatches(a)}dirtyQueriesWithMatches(a){for(let c=0;c<this.queries.length;c++)null!==om(a,c).matches&&this.queries[c].setDirty()}}class e7{constructor(a,c,_=null){this.predicate=a,this.flags=c,this.read=_}}class sg{constructor(a=[]){this.queries=a}elementStart(a,c){for(let _=0;_<this.queries.length;_++)this.queries[_].elementStart(a,c)}elementEnd(a){for(let c=0;c<this.queries.length;c++)this.queries[c].elementEnd(a)}embeddedTView(a){let c=null;for(let _=0;_<this.length;_++){const T=null!==c?c.length:0,F=this.getByIndex(_).embeddedTView(a,T);F&&(F.indexInDeclarationView=_,null!==c?c.push(F):c=[F])}return null!==c?new sg(c):null}template(a,c){for(let _=0;_<this.queries.length;_++)this.queries[_].template(a,c)}getByIndex(a){return this.queries[a]}get length(){return this.queries.length}track(a){this.queries.push(a)}}class cg{constructor(a,c=-1){this.metadata=a,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=c}elementStart(a,c){this.isApplyingToNode(c)&&this.matchTNode(a,c)}elementEnd(a){this._declarationNodeIndex===a.index&&(this._appliesToNextNode=!1)}template(a,c){this.elementStart(a,c)}embeddedTView(a,c){return this.isApplyingToNode(a)?(this.crossesNgTemplate=!0,this.addMatch(-a.index,c),new cg(this.metadata)):null}isApplyingToNode(a){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const c=this._declarationNodeIndex;let _=a.parent;for(;null!==_&&8&_.type&&_.index!==c;)_=_.parent;return c===(null!==_?_.index:-1)}return this._appliesToNextNode}matchTNode(a,c){const _=this.metadata.predicate;if(Array.isArray(_))for(let T=0;T<_.length;T++){const F=_[T];this.matchTNodeWithReadOption(a,c,ny(c,F)),this.matchTNodeWithReadOption(a,c,M1(c,a,F,!1,!1))}else _===O2?4&c.type&&this.matchTNodeWithReadOption(a,c,-1):this.matchTNodeWithReadOption(a,c,M1(c,a,_,!1,!1))}matchTNodeWithReadOption(a,c,_){if(null!==_){const T=this.metadata.read;if(null!==T)if(T===f2||T===M4||T===O2&&4&c.type)this.addMatch(c.index,-2);else{const F=M1(c,a,T,!1,!1);null!==F&&this.addMatch(c.index,F)}else this.addMatch(c.index,_)}}addMatch(a,c){null===this.matches?this.matches=[a,c]:this.matches.push(a,c)}}function ny(i,a){const c=i.localNames;if(null!==c)for(let _=0;_<c.length;_+=2)if(c[_]===a)return c[_+1];return null}function ry(i,a,c,_){return-1===c?function t7(i,a){return 11&i.type?u2(i,a):4&i.type?rm(i,a):null}(a,i):-2===c?function ay(i,a,c){return c===f2?u2(a,i):c===O2?rm(a,i):c===M4?c6(a,i):void 0}(i,a,_):oc(i,i[bt],c,a)}function i7(i,a,c,_){const T=a[Ea].queries[_];if(null===T.matches){const F=i.data,Q=c.matches,se=[];for(let Me=0;Me<Q.length;Me+=2){const at=Q[Me];se.push(at<0?null:ry(a,F[at],Q[Me+1],c.metadata.read))}T.matches=se}return T.matches}function am(i,a,c,_){const T=i.queries.getByIndex(c),F=T.matches;if(null!==F){const Q=i7(i,a,T,c);for(let se=0;se<F.length;se+=2){const Me=F[se];if(Me>0)_.push(Q[se/2]);else{const at=F[se+1],Tt=a[-Me];for(let Ut=Ki;Ut<Tt.length;Ut++){const oi=Tt[Ut];oi[To]===oi[Fi]&&am(oi[bt],oi,at,_)}if(null!==Tt[rs]){const Ut=Tt[rs];for(let oi=0;oi<Ut.length;oi++){const mi=Ut[oi];am(mi[bt],mi,at,_)}}}}}return _}function n7(i){const a=Ni(),c=ar(),_=Li();Ai(_+1);const T=om(c,_);if(i.dirty&&function N2(i){return 4==(4&i[Qt])}(a)===(2==(2&T.metadata.flags))){if(null===T.matches)i.reset([]);else{const F=T.crossesNgTemplate?am(c,a,_,[]):i7(c,a,T,_);i.reset(F,Kg),i.notifyOnChanges()}return!0}return!1}function r7(i,a,c){const _=ar();_.firstCreatePass&&(c7(_,new e7(i,a,c),-1),2==(2&a)&&(_.staticViewQueries=!0)),lg(_,Ni(),a)}function a7(i,a,c,_){const T=ar();if(T.firstCreatePass){const F=pr();c7(T,new e7(a,c,_),F.index),function oy(i,a){const c=i.contentQueries||(i.contentQueries=[]);a!==(c.length?c[c.length-1]:-1)&&c.push(i.queries.length-1,a)}(T,i),2==(2&c)&&(T.staticContentQueries=!0)}lg(T,Ni(),c)}function o7(){return function s7(i,a){return i[Ea].queries[a].queryList}(Ni(),Li())}function lg(i,a,c){const _=new Hf(4==(4&c));(function vp(i,a,c,_){const T=cd(a);T.push(c),i.firstCreatePass&&rh(i).push(_,T.length-1)})(i,a,_,_.destroy),null===a[Ea]&&(a[Ea]=new Ff),a[Ea].queries.push(new og(_))}function c7(i,a,c){null===i.queries&&(i.queries=new sg),i.queries.track(new cg(a,c))}function om(i,a){return i.queries.getByIndex(a)}function l7(i,a){return rm(i,a)}const vg=new hn("Application Initializer");let bg=(()=>{class i{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((c,_)=>{this.resolve=c,this.reject=_}),this.appInits=Kn(vg,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const c=[];for(const T of this.appInits){const F=T();if(P6(F))c.push(F);else if(R6(F)){const Q=new Promise((se,Me)=>{F.subscribe({complete:se,error:Me})});c.push(Q)}}const _=()=>{this.done=!0,this.resolve()};Promise.all(c).then(()=>{_()}).catch(T=>{this.reject(T)}),0===c.length&&_(),this.initialized=!0}static#e=this.\u0275fac=function(_){return new(_||i)};static#t=this.\u0275prov=St({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),T7=(()=>{class i{log(c){console.log(c)}warn(c){console.warn(c)}static#e=this.\u0275fac=function(_){return new(_||i)};static#t=this.\u0275prov=St({token:i,factory:i.\u0275fac,providedIn:"platform"})}return i})();const dm=new hn("LocaleId",{providedIn:"root",factory:()=>Kn(dm,It.Optional|It.SkipSelf)||function A7(){return typeof $localize<"u"&&$localize.locale||Eh}()}),My=new hn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let L7=(()=>{class i{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new oe.X(!1)}add(){this.hasPendingTasks.next(!0);const c=this.taskId++;return this.pendingTasks.add(c),c}remove(c){this.pendingTasks.delete(c),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(_){return new(_||i)};static#t=this.\u0275prov=St({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();class Ay{constructor(a,c){this.ngModuleFactory=a,this.componentFactories=c}}let Dy=(()=>{class i{compileModuleSync(c){return new X6(c)}compileModuleAsync(c){return Promise.resolve(this.compileModuleSync(c))}compileModuleAndAllComponentsSync(c){const _=this.compileModuleSync(c),F=Wo(lr(c).declarations).reduce((Q,se)=>{const Me=ii(se);return Me&&Q.push(new hd(Me)),Q},[]);return new Ay(_,F)}compileModuleAndAllComponentsAsync(c){return Promise.resolve(this.compileModuleAndAllComponentsSync(c))}clearCache(){}clearCacheFor(c){}getModuleId(c){}static#e=this.\u0275fac=function(_){return new(_||i)};static#t=this.\u0275prov=St({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();const H7=new hn(""),Cg=new hn("");let wg,Jy=(()=>{class i{constructor(c,_,T){this._ngZone=c,this.registry=_,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,wg||(function $y(i){wg=i}(T),T.addToWindow(_)),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:()=>{fo.assertNotInAngularZone(),queueMicrotask(()=>{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())queueMicrotask(()=>{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(_=>!_.updateCb||!_.updateCb(c)||(clearTimeout(_.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,_,T){let F=-1;_&&_>0&&(F=setTimeout(()=>{this._callbacks=this._callbacks.filter(Q=>Q.timeoutId!==F),c(this._didWork,this.getPendingTasks())},_)),this._callbacks.push({doneCb:c,timeoutId:F,updateCb:T})}whenStable(c,_,T){if(T&&!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,_,T),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(c){this.registry.registerApplication(c,this)}unregisterApplication(c){this.registry.unregisterApplication(c)}findProviders(c,_,T){return[]}static#e=this.\u0275fac=function(_){return new(_||i)(mr(fo),mr(F7),mr(Cg))};static#t=this.\u0275prov=St({token:i,factory:i.\u0275fac})}return i})(),F7=(()=>{class i{constructor(){this._applications=new Map}registerApplication(c,_){this._applications.set(c,_)}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,_=!0){return wg?.findTestabilityInTree(this,c,_)??null}static#e=this.\u0275fac=function(_){return new(_||i)};static#t=this.\u0275prov=St({token:i,factory:i.\u0275fac,providedIn:"platform"})}return i})(),Cd=null;const Mg=new hn("AllowMultipleToken"),um=new hn("PlatformDestroyListeners"),Sg=new hn("appBootstrapListener");function z7(i,a,c=[]){const _=`Platform: ${a}`,T=new hn(_);return(F=[])=>{let Q=Dg();if(!Q||Q.injector.get(Mg,!1)){const se=[...c,...F,{provide:T,useValue:!0}];i?i(se):function nx(i){if(Cd&&!Cd.get(Mg,!1))throw new Ke(400,!1);(function Eg(){!function P(i){w=i}(()=>{throw new Ke(600,!1)})})(),Cd=i;const a=i.get(V7);(function Tg(i){i.get(b0,null)?.forEach(c=>c())})(i)}(function Ag(i=[],a){return hs.create({name:a,providers:[{provide:I1,useValue:"platform"},{provide:um,useValue:new Set([()=>Cd=null])},...i]})}(se,_))}return function ax(i){const a=Dg();if(!a)throw new Ke(401,!1);return a}()}}function Dg(){return Cd?.get(V7)??null}let V7=(()=>{class i{constructor(c){this._injector=c,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(c,_){const T=function U7(i="zone.js",a){return"noop"===i?new Ip:"zone.js"===i?new fo(a):i}(_?.ngZone,function B7(i){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:i?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:i?.runCoalescing??!1}}({eventCoalescing:_?.ngZoneEventCoalescing,runCoalescing:_?.ngZoneRunCoalescing}));return T.run(()=>{const F=function Nb(i,a,c){return new q6(i,a,c)}(c.moduleType,this.injector,function Y7(i){return[{provide:fo,useFactory:i},{provide:lc,multi:!0,useFactory:()=>{const a=Kn(sx,{optional:!0});return()=>a.initialize()}},{provide:W7,useFactory:ox},{provide:kp,useFactory:Op}]}(()=>T)),Q=F.injector.get(a1,null);return T.runOutsideAngular(()=>{const se=T.onError.subscribe({next:Me=>{Q.handleError(Me)}});F.onDestroy(()=>{fm(this._modules,F),se.unsubscribe()})}),function G7(i,a,c){try{const _=c();return P6(_)?_.catch(T=>{throw a.runOutsideAngular(()=>i.handleError(T)),T}):_}catch(_){throw a.runOutsideAngular(()=>i.handleError(_)),_}}(Q,T,()=>{const se=F.injector.get(bg);return se.runInitializers(),se.donePromise.then(()=>(function N5(i){Qi(i,"Expected localeId to be defined"),"string"==typeof i&&(S6=i.toLowerCase().replace(/_/g,"-"))}(F.injector.get(dm,Eh)||Eh),this._moduleDoBootstrap(F),F))})})}bootstrapModule(c,_=[]){const T=Z7({},_);return function ex(i,a,c){const _=new X6(c);return Promise.resolve(_)}(0,0,c).then(F=>this.bootstrapModuleFactory(F,T))}_moduleDoBootstrap(c){const _=c.injector.get(Ph);if(c._bootstrapComponents.length>0)c._bootstrapComponents.forEach(T=>_.bootstrap(T));else{if(!c.instance.ngDoBootstrap)throw new Ke(-403,!1);c.instance.ngDoBootstrap(_)}this._modules.push(c)}onDestroy(c){this._destroyListeners.push(c)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Ke(404,!1);this._modules.slice().forEach(_=>_.destroy()),this._destroyListeners.forEach(_=>_());const c=this._injector.get(um,null);c&&(c.forEach(_=>_()),c.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(_){return new(_||i)(mr(hs))};static#t=this.\u0275prov=St({token:i,factory:i.\u0275fac,providedIn:"platform"})}return i})();function Z7(i,a){return Array.isArray(a)?a.reduce(Z7,i):{...i,...a}}let Ph=(()=>{class i{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Kn(W7),this.zoneIsStable=Kn(kp),this.componentTypes=[],this.components=[],this.isStable=Kn(L7).hasPendingTasks.pipe((0,Ge.w)(c=>c?(0,ve.of)(!1):this.zoneIsStable),(0,Ze.x)(),(0,ce.B)()),this._injector=Kn(ds)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(c,_){const T=c instanceof w3;if(!this._injector.get(bg).done)throw!T&&nr(c),new Ke(405,!1);let Q;Q=T?c:this._injector.get($0).resolveComponentFactory(c),this.componentTypes.push(Q.componentType);const se=function tx(i){return i.isBoundToModule}(Q)?void 0:this._injector.get(k2),at=Q.create(hs.NULL,[],_||Q.selector,se),Tt=at.location.nativeElement,Ut=at.injector.get(H7,null);return Ut?.registerApplication(Tt),at.onDestroy(()=>{this.detachView(at.hostView),fm(this.components,at),Ut?.unregisterApplication(Tt)}),this._loadComponent(at),at}tick(){if(this._runningTick)throw new Ke(101,!1);try{this._runningTick=!0;for(let c of this._views)c.detectChanges()}catch(c){this.internalErrorHandler(c)}finally{this._runningTick=!1}}attachView(c){const _=c;this._views.push(_),_.attachToAppRef(this)}detachView(c){const _=c;fm(this._views,_),_.detachFromAppRef()}_loadComponent(c){this.attachView(c.hostView),this.tick(),this.components.push(c);const _=this._injector.get(Sg,[]);[...this._bootstrapListeners,..._].forEach(T=>T(c))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(c=>c()),this._views.slice().forEach(c=>c.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(c){return this._destroyListeners.push(c),()=>fm(this._destroyListeners,c)}destroy(){if(this._destroyed)throw new Ke(406,!1);const c=this._injector;c.destroy&&!c.destroyed&&c.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(_){return new(_||i)};static#t=this.\u0275prov=St({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function fm(i,a){const c=i.indexOf(a);c>-1&&i.splice(c,1)}const W7=new hn("",{providedIn:"root",factory:()=>Kn(a1).handleError.bind(void 0)});function ox(){const i=Kn(fo),a=Kn(a1);return c=>i.runOutsideAngular(()=>a.handleError(c))}let sx=(()=>{class i{constructor(){this.zone=Kn(fo),this.applicationRef=Kn(Ph)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(_){return new(_||i)};static#t=this.\u0275prov=St({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function hx(){return!1}const _x=z7(null,"core",[]);let X7=(()=>{class i{constructor(c){}static#e=this.\u0275fac=function(_){return new(_||i)(mr(Ph))};static#t=this.\u0275mod=Eo({type:i});static#i=this.\u0275inj=Dt({})}return i})();function vv(i){return"boolean"==typeof i?i:null!=i&&"false"!==i}function bv(i,a=NaN){return isNaN(parseFloat(i))||isNaN(Number(i))?a:Number(i)}function zx(i){const a=ii(i);if(!a)return null;const c=new hd(a);return{get selector(){return c.selector},get type(){return c.componentType},get inputs(){return c.inputs},get outputs(){return c.outputs},get ngContentSelectors(){return c.ngContentSelectors},get isStandalone(){return a.standalone},get isSignal(){return a.signals}}}},1993:(He,X,p)=>{"use strict";p.d(X,{O4:()=>A});var e=p(9212);function A(l,M){const m=!M?.manualCleanup;m&&!M?.injector&&(0,e.gHi)(A);const O=m?M?.injector?.get(e.ktI)??(0,e.f3M)(e.ktI):null;let d;d=(0,e.tdS)(M?.requireSync?{kind:0}:{kind:1,value:M?.initialValue});const E=l.subscribe({next:x=>d.set({kind:1,value:x}),error:x=>{if(M?.rejectErrors)throw x;d.set({kind:2,error:x})}});return O?.onDestroy(E.unsubscribe.bind(E)),(0,e.Flj)(()=>{const x=d();switch(x.kind){case 1:return x.value;case 2:throw x.error;case 0:throw new e.vHH(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}})}},5766:(He,X,p)=>{"use strict";function e(E){for(let x in E){let I=E[x]??"";switch(x){case"display":E.display="flex"===I?["-webkit-flex","flex"]:"inline-flex"===I?["-webkit-inline-flex","inline-flex"]:I;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":E["-webkit-"+x]=I;break;case"flex-direction":E["-webkit-flex-direction"]=I,E["flex-direction"]=I;break;case"order":E.order=E["-webkit-"+x]=isNaN(+I)?"0":I}}return E}p.d(X,{Ar:()=>A,GK:()=>e,iQ:()=>y,kt:()=>d,tj:()=>M});const t="inline",y=["row","column","row-reverse","column-reverse"];function A(E){let[x,I,k]=l(E);return function O(E,x=null,I=!1){return{display:I?"inline-flex":"flex","box-sizing":"border-box","flex-direction":E,"flex-wrap":x||null}}(x,I,k)}function l(E){E=E?.toLowerCase()??"";let[x,I,k]=E.split(" ");return y.find(V=>V===x)||(x=y[0]),I===t&&(I=k!==t?k:"",k=t),[x,m(I),!!k]}function M(E){let[x]=l(E);return x.indexOf("row")>-1}function m(E){if(E)switch(E.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":E="wrap-reverse";break;case"no":case"none":case"nowrap":E="nowrap";break;default:E="wrap"}return E}function d(E,...x){if(null==E)throw TypeError("Cannot convert undefined or null to object");for(let I of x)if(null!=I)for(let k in I)I.hasOwnProperty(k)&&(E[k]=I[k]);return E}},1462:(He,X,p)=>{"use strict";p.d(X,{Bs:()=>q,FL:()=>Ke,IR:()=>k,Ot:()=>Qe,QI:()=>ae,RK:()=>ue,WU:()=>W,g5:()=>j,iR:()=>wt,wY:()=>K,yB:()=>Ge});var e=p(9212),t=p(6814),y=p(5619),A=p(5592),l=p(3019),M=p(8645),m=p(5766),O=p(2181),d=p(9397);const x={provide:e.tb,useFactory:function E(Be,Xt){return()=>{if((0,t.NF)(Xt)){const J=Array.from(Be.querySelectorAll(`[class*=${I}]`)),We=/\bflex-layout-.+?\b/g;J.forEach(Ft=>{Ft.classList.contains(`${I}ssr`)&&Ft.parentNode?Ft.parentNode.removeChild(Ft):Ft.className.replace(We,"")})}}},deps:[t.K0,e.Lbi],multi:!0},I="flex-layout-";let k=(()=>{class Be{}return Be.\u0275fac=function(J){return new(J||Be)},Be.\u0275mod=e.oAB({type:Be}),Be.\u0275inj=e.cJS({providers:[x]}),Be})();class V{constructor(Xt=!1,J="all",We="",Ft="",Ct=0){this.matches=Xt,this.mediaQuery=J,this.mqAlias=We,this.suffix=Ft,this.priority=Ct,this.property=""}clone(){return new V(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let G=(()=>{class Be{constructor(){this.stylesheet=new Map}addStyleToElement(J,We,Ft){const Ct=this.stylesheet.get(J);Ct?Ct.set(We,Ft):this.stylesheet.set(J,new Map([[We,Ft]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(J,We){const Ft=this.stylesheet.get(J);let Ct="";if(Ft){const Pt=Ft.get(We);("number"==typeof Pt||"string"==typeof Pt)&&(Ct=Pt+"")}return Ct}}return Be.\u0275fac=function(J){return new(J||Be)},Be.\u0275prov=e.Yz7({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})();const j={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},W=new e.OlP("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>j}),K=new e.OlP("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),q=new e.OlP("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function ie(Be,Xt){return Be=Be?.clone()??new V,Xt&&(Be.mqAlias=Xt.alias,Be.mediaQuery=Xt.mediaQuery,Be.suffix=Xt.suffix,Be.priority=Xt.priority),Be}class ae{constructor(){this.shouldCache=!0}sideEffect(Xt,J,We){}}let ue=(()=>{class Be{constructor(J,We,Ft,Ct){this._serverStylesheet=J,this._serverModuleLoaded=We,this._platformId=Ft,this.layoutConfig=Ct}applyStyleToElement(J,We,Ft=null){let Ct={};"string"==typeof We&&(Ct[We]=Ft,We=Ct),Ct=this.layoutConfig.disableVendorPrefixes?We:(0,m.GK)(We),this._applyMultiValueStyleToElement(Ct,J)}applyStyleToElements(J,We=[]){const Ft=this.layoutConfig.disableVendorPrefixes?J:(0,m.GK)(J);We.forEach(Ct=>{this._applyMultiValueStyleToElement(Ft,Ct)})}getFlowDirection(J){const We="flex-direction";let Ft=this.lookupStyle(J,We);return[Ft||"row",this.lookupInlineStyle(J,We)||(0,t.PM)(this._platformId)&&this._serverModuleLoaded?Ft:""]}hasWrap(J){return"wrap"===this.lookupStyle(J,"flex-wrap")}lookupAttributeValue(J,We){return J.getAttribute(We)??""}lookupInlineStyle(J,We){return(0,t.NF)(this._platformId)?J.style.getPropertyValue(We):function re(Be,Xt){return he(Be)[Xt]??""}(J,We)}lookupStyle(J,We,Ft=!1){let Ct="";return J&&((Ct=this.lookupInlineStyle(J,We))||((0,t.NF)(this._platformId)?Ft||(Ct=getComputedStyle(J).getPropertyValue(We)):this._serverModuleLoaded&&(Ct=this._serverStylesheet.getStyleForElement(J,We)))),Ct?Ct.trim():""}_applyMultiValueStyleToElement(J,We){Object.keys(J).sort().forEach(Ft=>{const Ct=J[Ft],Pt=Array.isArray(Ct)?Ct:[Ct];Pt.sort();for(let xt of Pt)xt=xt?xt+"":"",(0,t.NF)(this._platformId)||!this._serverModuleLoaded?(0,t.NF)(this._platformId)?We.style.setProperty(Ft,xt):xe(We,Ft,xt):this._serverStylesheet.addStyleToElement(We,Ft,xt)})}}return Be.\u0275fac=function(J){return new(J||Be)(e.LFG(G),e.LFG(K),e.LFG(e.Lbi),e.LFG(W))},Be.\u0275prov=e.Yz7({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})();function xe(Be,Xt,J){Xt=Xt.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const We=he(Be);We[Xt]=J??"",function $(Be,Xt){let J="";for(const We in Xt)Xt[We]&&(J+=`${We}:${Xt[We]};`);Be.setAttribute("style",J)}(Be,We)}function he(Be){const Xt={},J=Be.getAttribute("style");if(J){const We=J.split(/;+/g);for(let Ft=0;Ft<We.length;Ft++){const Ct=We[Ft].trim();if(Ct.length>0){const Pt=Ct.indexOf(":");if(-1===Pt)throw new Error(`Invalid CSS style: ${Ct}`);Xt[Ct.substr(0,Pt).trim()]=Ct.substr(Pt+1).trim()}}}return Xt}function S(Be,Xt){return(Xt&&Xt.priority||0)-(Be&&Be.priority||0)}function n(Be,Xt){return(Be.priority||0)-(Xt.priority||0)}let s=(()=>{class Be{constructor(J,We,Ft){this._zone=J,this._platformId=We,this._document=Ft,this.source=new y.X(new V(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const J=[];return this.registry.forEach((We,Ft)=>{We.matches&&J.push(Ft)}),J}isActive(J){return this.registry.get(J)?.matches??this.registerQuery(J).some(Ft=>Ft.matches)}observe(J,We=!1){if(J&&J.length){const Ft=this._observable$.pipe((0,O.h)(Pt=>!We||J.indexOf(Pt.mediaQuery)>-1)),Ct=new A.y(Pt=>{const xt=this.registerQuery(J);if(xt.length){const rt=xt.pop();xt.forEach(Ee=>{Pt.next(Ee)}),this.source.next(rt)}Pt.complete()});return(0,l.T)(Ct,Ft)}return this._observable$}registerQuery(J){const We=Array.isArray(J)?J:[J],Ft=[];return function h(Be,Xt){const J=Be.filter(We=>!f[We]);if(J.length>0){const We=J.join(", ");try{const Ft=Xt.createElement("style");Ft.setAttribute("type","text/css"),Ft.styleSheet||Ft.appendChild(Xt.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${We} {.fx-query-test{ }}\n`)),Xt.head.appendChild(Ft),J.forEach(Ct=>f[Ct]=Ft)}catch(Ft){console.error(Ft)}}}(We,this._document),We.forEach(Ct=>{const Pt=rt=>{this._zone.run(()=>this.source.next(new V(rt.matches,Ct)))};let xt=this.registry.get(Ct);xt||(xt=this.buildMQL(Ct),xt.addListener(Pt),this.pendingRemoveListenerFns.push(()=>xt.removeListener(Pt)),this.registry.set(Ct,xt)),xt.matches&&Ft.push(new V(!0,Ct))}),Ft}ngOnDestroy(){let J;for(;J=this.pendingRemoveListenerFns.pop();)J()}buildMQL(J){return function D(Be,Xt){return Xt&&window.matchMedia("all").addListener?window.matchMedia(Be):function w(Be){const Xt=new EventTarget;return Xt.matches="all"===Be||""===Be,Xt.media=Be,Xt.addListener=()=>{},Xt.removeListener=()=>{},Xt.addEventListener=()=>{},Xt.dispatchEvent=()=>!1,Xt.onchange=null,Xt}(Be)}(J,(0,t.NF)(this._platformId))}}return Be.\u0275fac=function(J){return new(J||Be)(e.LFG(e.R0b),e.LFG(e.Lbi),e.LFG(t.K0))},Be.\u0275prov=e.Yz7({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})();const f={},P=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],v="(orientation: portrait) and (max-width: 599.98px)",r="(orientation: landscape) and (max-width: 959.98px)",g="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",H="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",N="(orientation: portrait) and (min-width: 840px)",te="(orientation: landscape) and (min-width: 1280px)",De={HANDSET:`${v}, ${r}`,TABLET:`${g} , ${H}`,WEB:`${N}, ${te} `,HANDSET_PORTRAIT:`${v}`,TABLET_PORTRAIT:`${g} `,WEB_PORTRAIT:`${N}`,HANDSET_LANDSCAPE:`${r}`,TABLET_LANDSCAPE:`${H}`,WEB_LANDSCAPE:`${te}`},st=[{alias:"handset",priority:2e3,mediaQuery:De.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:De.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:De.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:De.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:De.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:De.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:De.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:De.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:De.WEB_PORTRAIT,overlapping:!0}],je=/(\.|-|_)/g;function $e(Be){let Xt=Be.length>0?Be.charAt(0):"",J=Be.length>1?Be.slice(1):"";return Xt.toUpperCase()+J}const Ce=new e.OlP("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const Be=(0,e.f3M)(q),Xt=(0,e.f3M)(W),J=[].concat.apply([],(Be||[]).map(Ft=>Array.isArray(Ft)?Ft:[Ft]));return function de(Be,Xt=[]){const J={};return Be.forEach(We=>{J[We.alias]=We}),Xt.forEach(We=>{J[We.alias]?(0,m.kt)(J[We.alias],We):J[We.alias]=We}),function fe(Be){return Be.forEach(Xt=>{Xt.suffix||(Xt.suffix=function ye(Be){return Be.replace(je,"|").split("|").map($e).join("")}(Xt.alias),Xt.overlapping=!!Xt.overlapping)}),Be}(Object.keys(J).map(We=>J[We]))}((Xt.disableDefaultBps?[]:P).concat(Xt.addOrientationBps?st:[]),J)}});let le=(()=>{class Be{constructor(J){this.findByMap=new Map,this.items=[...J].sort(n)}findByAlias(J){return J?this.findWithPredicate(J,We=>We.alias===J):null}findByQuery(J){return this.findWithPredicate(J,We=>We.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,We){let Ft=this.findByMap.get(J);return Ft||(Ft=this.items.find(We)??null,this.findByMap.set(J,Ft)),Ft??null}}return Be.\u0275fac=function(J){return new(J||Be)(e.LFG(Ce))},Be.\u0275prov=e.Yz7({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})();const ge="print",qe={alias:ge,mediaQuery:ge,priority:1e3};let oe=(()=>{class Be{constructor(J,We,Ft){this.breakpoints=J,this.layoutConfig=We,this._document=Ft,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new ve,this.deactivations=[]}withPrintQuery(J){return[...J,ge]}isPrintEvent(J){return J.mediaQuery.startsWith(ge)}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 We=this.breakpoints.findByQuery(J);return(We?[...this.printBreakPoints,We]:this.printBreakPoints).sort(S)}updateEvent(J){let We=this.breakpoints.findByQuery(J.mediaQuery);return this.isPrintEvent(J)&&(We=this.getEventBreakpoints(J)[0],J.mediaQuery=We?.mediaQuery??""),ie(J,We)}registerBeforeAfterPrintHooks(J){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const We=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(J,this.getEventBreakpoints(new V(!0,ge))),J.updateStyles())},Ft=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(J),J.updateStyles())};this._document.defaultView.addEventListener("beforeprint",We),this._document.defaultView.addEventListener("afterprint",Ft),this.beforePrintEventListeners.push(We),this.afterPrintEventListeners.push(Ft)}interceptEvents(J){return We=>{this.isPrintEvent(We)?We.matches&&!this.isPrinting?(this.startPrinting(J,this.getEventBreakpoints(We)),J.updateStyles()):!We.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(J),J.updateStyles()):this.collectActivations(J,We)}}blockPropagation(){return J=>!(this.isPrinting||this.isPrintEvent(J))}startPrinting(J,We){this.isPrinting=!0,this.formerActivations=J.activatedBreakpoints,J.activatedBreakpoints=this.queue.addPrintBreakpoints(We)}stopPrinting(J){J.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(J,We){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!We.matches){const Ft=this.breakpoints.findByQuery(We.mediaQuery);if(Ft){const Ct=this.formerActivations&&this.formerActivations.includes(Ft),Pt=!this.formerActivations&&J.activatedBreakpoints.includes(Ft);(Ct||Pt)&&(this.deactivations.push(Ft),this.deactivations.sort(S))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(J=>this._document.defaultView.removeEventListener("beforeprint",J)),this.afterPrintEventListeners.forEach(J=>this._document.defaultView.removeEventListener("afterprint",J)))}}return Be.\u0275fac=function(J){return new(J||Be)(e.LFG(le),e.LFG(W),e.LFG(t.K0))},Be.\u0275prov=e.Yz7({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})();class ve{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(Xt){return Xt.push(qe),Xt.sort(S),Xt.forEach(J=>this.addBreakpoint(J)),this.printBreakpoints}addBreakpoint(Xt){Xt&&void 0===this.printBreakpoints.find(We=>We.mediaQuery===Xt.mediaQuery)&&(this.printBreakpoints=function ce(Be){return Be?.mediaQuery.startsWith(ge)??!1}(Xt)?[Xt,...this.printBreakpoints]:[...this.printBreakpoints,Xt])}clear(){this.printBreakpoints=[]}}let Ge=(()=>{class Be{constructor(J,We,Ft){this.matchMedia=J,this.breakpoints=We,this.hook=Ft,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 M.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 We=this.findByQuery(J.mediaQuery);if(We){J=ie(J,We);const Ft=this.activatedBreakpoints.indexOf(We);J.matches&&-1===Ft?(this._activatedBreakpoints.push(We),this._activatedBreakpoints.sort(S),this.updateStyles()):!J.matches&&-1!==Ft&&(this._activatedBreakpoints.splice(Ft,1),this._activatedBreakpoints.sort(S),this.updateStyles())}}init(J,We,Ft,Ct,Pt=[]){Ze(this.updateMap,J,We,Ft),Ze(this.clearMap,J,We,Ct),this.buildElementKeyMap(J,We),this.watchExtraTriggers(J,We,Pt)}getValue(J,We,Ft){const Ct=this.elementMap.get(J);if(Ct){const Pt=void 0!==Ft?Ct.get(Ft):this.getActivatedValues(Ct,We);if(Pt)return Pt.get(We)}}hasValue(J,We){const Ft=this.elementMap.get(J);if(Ft){const Ct=this.getActivatedValues(Ft,We);if(Ct)return void 0!==Ct.get(We)||!1}return!1}setValue(J,We,Ft,Ct){let Pt=this.elementMap.get(J);if(Pt){const rt=(Pt.get(Ct)??new Map).set(We,Ft);Pt.set(Ct,rt),this.elementMap.set(J,Pt)}else Pt=(new Map).set(Ct,(new Map).set(We,Ft)),this.elementMap.set(J,Pt);const xt=this.getValue(J,We);void 0!==xt&&this.updateElement(J,We,xt)}trackValue(J,We){return this.subject.asObservable().pipe((0,O.h)(Ft=>Ft.element===J&&Ft.key===We))}updateStyles(){this.elementMap.forEach((J,We)=>{const Ft=new Set(this.elementKeyMap.get(We));let Ct=this.getActivatedValues(J);Ct&&Ct.forEach((Pt,xt)=>{this.updateElement(We,xt,Pt),Ft.delete(xt)}),Ft.forEach(Pt=>{if(Ct=this.getActivatedValues(J,Pt),Ct){const xt=Ct.get(Pt);this.updateElement(We,Pt,xt)}else this.clearElement(We,Pt)})})}clearElement(J,We){const Ft=this.clearMap.get(J);if(Ft){const Ct=Ft.get(We);Ct&&(Ct(),this.subject.next({element:J,key:We,value:""}))}}updateElement(J,We,Ft){const Ct=this.updateMap.get(J);if(Ct){const Pt=Ct.get(We);Pt&&(Pt(Ft),this.subject.next({element:J,key:We,value:Ft}))}}releaseElement(J){const We=this.watcherMap.get(J);We&&(We.forEach(Ct=>Ct.unsubscribe()),this.watcherMap.delete(J));const Ft=this.elementMap.get(J);Ft&&(Ft.forEach((Ct,Pt)=>Ft.delete(Pt)),this.elementMap.delete(J))}triggerUpdate(J,We){const Ft=this.elementMap.get(J);if(Ft){const Ct=this.getActivatedValues(Ft,We);Ct&&(We?this.updateElement(J,We,Ct.get(We)):Ct.forEach((Pt,xt)=>this.updateElement(J,xt,Pt)))}}buildElementKeyMap(J,We){let Ft=this.elementKeyMap.get(J);Ft||(Ft=new Set,this.elementKeyMap.set(J,Ft)),Ft.add(We)}watchExtraTriggers(J,We,Ft){if(Ft&&Ft.length){let Ct=this.watcherMap.get(J);if(Ct||(Ct=new Map,this.watcherMap.set(J,Ct)),!Ct.get(We)){const xt=(0,l.T)(...Ft).subscribe(()=>{const rt=this.getValue(J,We);this.updateElement(J,We,rt)});Ct.set(We,xt)}}}findByQuery(J){return this.breakpoints.findByQuery(J)}getActivatedValues(J,We){for(let Ct=0;Ct<this.activatedBreakpoints.length;Ct++){const xt=J.get(this.activatedBreakpoints[Ct].alias);if(xt&&(void 0===We||xt.has(We)&&null!=xt.get(We)))return xt}if(!this._useFallbacks)return;const Ft=J.get("");return void 0===We||Ft&&Ft.has(We)?Ft:void 0}observeActivations(){const J=this.breakpoints.items.map(We=>We.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(J)).pipe((0,d.b)(this.hook.interceptEvents(this)),(0,O.h)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return Be.\u0275fac=function(J){return new(J||Be)(e.LFG(s),e.LFG(le),e.LFG(oe))},Be.\u0275prov=e.Yz7({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})();function Ze(Be,Xt,J,We){if(void 0!==We){const Ft=Be.get(Xt)??new Map;Ft.set(J,We),Be.set(Xt,Ft)}}let wt=(()=>{class Be{constructor(J,We,Ft,Ct){this.elementRef=J,this.styleBuilder=We,this.styler=Ft,this.marshal=Ct,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new M.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(We=>{if(-1!==this.inputs.indexOf(We)){const Ft=We.split(".").slice(1).join(".");this.setValue(J[We].currentValue,Ft)}})}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,We){const Ft=this.styleBuilder,Ct=Ft.shouldCache;let Pt=this.styleCache.get(J);(!Pt||!Ct)&&(Pt=Ft.buildStyles(J,We),Ct&&this.styleCache.set(J,Pt)),this.mru={...Pt},this.applyStyleToElement(Pt),Ft.sideEffect(J,Pt,We)}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,We=!1){if(J){const[Ft,Ct]=this.styler.getFlowDirection(J);if(!Ct&&We){const Pt=(0,m.Ar)(Ft);this.styler.applyStyleToElements(Pt,[J])}return Ft.trim()}return"row"}hasWrap(J){return this.styler.hasWrap(J)}applyStyleToElement(J,We,Ft=this.nativeElement){this.styler.applyStyleToElement(Ft,J,We)}setValue(J,We){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,J,We)}updateWithValue(J){this.currentValue!==J&&(this.addStyles(J),this.currentValue=J)}}return Be.\u0275fac=function(J){return new(J||Be)(e.Y36(e.SBq),e.Y36(ae),e.Y36(ue),e.Y36(Ge))},Be.\u0275dir=e.lG2({type:Be,features:[e.TTD]}),Be})();function Qe(Be,Xt="1",J="1"){let We=[Xt,J,Be],Ft=Be.indexOf("calc");if(Ft>0){We[2]=Et(Be.substring(Ft).trim());let Ct=Be.substr(0,Ft).trim().split(" ");2==Ct.length&&(We[0]=Ct[0],We[1]=Ct[1])}else if(0==Ft)We[2]=Et(Be.trim());else{let Ct=Be.split(" ");We=3===Ct.length?Ct:[Xt,J,Be]}return We}function Et(Be){return Be.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}EventTarget;const lt="x";function Ke(Be,Xt){if(void 0===Xt)return Be;const J=We=>{const Ft=+We.slice(0,-lt.length);return Be.endsWith(lt)&&!isNaN(Ft)?`${Ft*Xt.value}${Xt.unit}`:Be};return Be.includes(" ")?Be.split(" ").map(J).join(" "):J(Be)}},7509:(He,X,p)=>{"use strict";p.d(X,{Zl:()=>D,aT:()=>r,oO:()=>j});var e=p(9212),t=p(1462),y=p(6814),M=(p(2495),p(9773),p(6593));let k=(()=>{class g extends t.iR{constructor(N,te,De,st,je,$e,ye){super(N,null,te,De),this.ngClassInstance=ye,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new y.mk(st,je,N,$e)),this.init(),this.setValue("","")}set klass(N){this.ngClassInstance.klass=N,this.setValue(N,"")}updateWithValue(N){this.ngClassInstance.ngClass=N,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}}return g.\u0275fac=function(N){return new(N||g)(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(y.mk,10))},g.\u0275dir=e.lG2({type:g,inputs:{klass:["class","klass"]},features:[e.qOj]}),g})();const V=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"];let j=(()=>{class g extends k{constructor(){super(...arguments),this.inputs=V}}return g.\u0275fac=(()=>{let H;return function(te){return(H||(H=e.n5z(g)))(te||g)}})(),g.\u0275dir=e.lG2({type:g,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]}),g})();class re{constructor(H,N,te=!0){this.key=H,this.value=N,this.key=te?H.replace(/['"]/g,"").trim():H.trim(),this.value=te?N.replace(/['"]/g,"").trim():N.trim(),this.value=this.value.replace(/;/,"")}}function xe(g){let H=typeof g;return"object"===H?g.constructor===Array?"array":g.constructor===Set?"set":"object":H}function n(g){const[H,...N]=g.split(":");return new re(H,N.join(":"))}function s(g,H){return H.key&&(g[H.key]=H.value),g}let f=(()=>{class g extends t.iR{constructor(N,te,De,st,je,$e,ye,fe,de){super(N,null,te,De),this.sanitizer=st,this.ngStyleInstance=ye,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new y.PC(N,je,$e)),this.init();const Ce=this.nativeElement.getAttribute("style")??"";this.fallbackStyles=this.buildStyleMap(Ce),this.isServer=fe&&(0,y.PM)(de)}updateWithValue(N){const te=this.buildStyleMap(N);this.ngStyleInstance.ngStyle={...this.fallbackStyles,...te},this.isServer&&this.applyStyleToElement(te),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(N){const te=De=>this.sanitizer.sanitize(e.q3G.STYLE,De)??"";if(N)switch(xe(N)){case"string":return P(function $(g,H=";"){return String(g).trim().split(H).map(N=>N.trim()).filter(N=>""!==N)}(N),te);case"array":return P(N,te);default:return function S(g,H){let N=[];return"set"===xe(g)?g.forEach(te=>N.push(te)):Object.keys(g).forEach(te=>{N.push(`${te}:${g[te]}`)}),function he(g,H){return g.map(n).filter(te=>!!te).map(te=>(H&&(te.value=H(te.value)),te)).reduce(s,{})}(N,H)}(N,te)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return g.\u0275fac=function(N){return new(N||g)(e.Y36(e.SBq),e.Y36(t.RK),e.Y36(t.yB),e.Y36(M.H7),e.Y36(e.aQg),e.Y36(e.Qsj),e.Y36(y.PC,10),e.Y36(t.wY),e.Y36(e.Lbi))},g.\u0275dir=e.lG2({type:g,features:[e.qOj]}),g})();const h=["ngStyle","ngStyle.xs","ngStyle.sm","ngStyle.md","ngStyle.lg","ngStyle.xl","ngStyle.lt-sm","ngStyle.lt-md","ngStyle.lt-lg","ngStyle.lt-xl","ngStyle.gt-xs","ngStyle.gt-sm","ngStyle.gt-md","ngStyle.gt-lg"];let D=(()=>{class g extends f{constructor(){super(...arguments),this.inputs=h}}return g.\u0275fac=(()=>{let H;return function(te){return(H||(H=e.n5z(g)))(te||g)}})(),g.\u0275dir=e.lG2({type:g,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]}),g})();function P(g,H){return g.map(n).filter(te=>!!te).map(te=>(H&&(te.value=H(te.value)),te)).reduce(s,{})}let r=(()=>{class g{}return g.\u0275fac=function(N){return new(N||g)},g.\u0275mod=e.oAB({type:g}),g.\u0275inj=e.cJS({imports:[t.IR]}),g})()},3814:(He,X,p)=>{"use strict";p.d(X,{Wh:()=>Qe,ae:()=>Pt,xw:()=>x,yH:()=>w});var e=p(9212),t=p(9388),y=p(1462),A=p(5766),M=(p(8645),p(9773));let m=(()=>{class xt extends y.QI{buildStyles(Ee,{display:it}){const Ue=(0,A.Ar)(Ee);return{...Ue,display:"none"===it?it:Ue.display}}}return xt.\u0275fac=(()=>{let rt;return function(it){return(rt||(rt=e.n5z(xt)))(it||xt)}})(),xt.\u0275prov=e.Yz7({token:xt,factory:xt.\u0275fac,providedIn:"root"}),xt})();const O=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let E=(()=>{class xt extends y.iR{constructor(Ee,it,Ue,Je,_t){super(Ee,Ue,it,Je),this._config=_t,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(Ee){const Ue=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=I.get(Ue)??new Map,I.set(Ue,this.styleCache),this.currentValue!==Ee&&(this.addStyles(Ee,{display:Ue}),this.currentValue=Ee)}}return xt.\u0275fac=function(Ee){return new(Ee||xt)(e.Y36(e.SBq),e.Y36(y.RK),e.Y36(m),e.Y36(y.yB),e.Y36(y.WU))},xt.\u0275dir=e.lG2({type:xt,features:[e.qOj]}),xt})(),x=(()=>{class xt extends E{constructor(){super(...arguments),this.inputs=O}}return xt.\u0275fac=(()=>{let rt;return function(it){return(rt||(rt=e.n5z(xt)))(it||xt)}})(),xt.\u0275dir=e.lG2({type:xt,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[e.qOj]}),xt})();const I=new Map;let n=(()=>{class xt extends y.QI{constructor(Ee){super(),this.layoutConfig=Ee}buildStyles(Ee,it){let[Ue,Je,..._t]=Ee.split(" "),Le=_t.join(" ");const be=it.direction.indexOf("column")>-1?"column":"row",ee=(0,A.tj)(be)?"max-width":"max-height",ne=(0,A.tj)(be)?"min-width":"min-height",Ie=String(Le).indexOf("calc")>-1,Ht=Ie||"auto"===Le,At=String(Le).indexOf("%")>-1&&!Ie,Zt=String(Le).indexOf("px")>-1||String(Le).indexOf("rem")>-1||String(Le).indexOf("em")>-1||String(Le).indexOf("vw")>-1||String(Le).indexOf("vh")>-1;let pi=Ie||Zt;Ue="0"==Ue?0:Ue,Je="0"==Je?0:Je;const Jt=!Ue&&!Je;let qt={};const Hi={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(Le||""){case"":Le="row"===be?"0%":!1!==this.layoutConfig.useColumnBasisZero?"0.000000001px":"auto";break;case"initial":case"nogrow":Ue=0,Le="auto";break;case"grow":Le="100%";break;case"noshrink":Je=0,Le="auto";break;case"auto":break;case"none":Ue=0,Je=0,Le="auto";break;default:!pi&&!At&&!isNaN(Le)&&(Le+="%"),"0%"===Le&&(pi=!0),"0px"===Le&&(Le="0%"),qt=(0,A.kt)(Hi,Ie?{"flex-grow":Ue,"flex-shrink":Je,"flex-basis":pi?Le:"100%"}:{flex:`${Ue} ${Je} ${pi?Le:"100%"}`})}return qt.flex||qt["flex-grow"]||(qt=(0,A.kt)(Hi,Ie?{"flex-grow":Ue,"flex-shrink":Je,"flex-basis":Le}:{flex:`${Ue} ${Je} ${Le}`})),"0%"!==Le&&"0px"!==Le&&"0.000000001px"!==Le&&"auto"!==Le&&(qt[ne]=Jt||pi&&Ue?Le:null,qt[ee]=Jt||!Ht&&Je?Le:null),qt[ne]||qt[ee]?it.hasWrap&&(qt[Ie?"flex-basis":"flex"]=qt[ee]?Ie?qt[ee]:`${Ue} ${Je} ${qt[ee]}`:Ie?qt[ne]:`${Ue} ${Je} ${qt[ne]}`):qt=(0,A.kt)(Hi,Ie?{"flex-grow":Ue,"flex-shrink":Je,"flex-basis":Le}:{flex:`${Ue} ${Je} ${Le}`}),(0,A.kt)(qt,{"box-sizing":"border-box"})}}return xt.\u0275fac=function(Ee){return new(Ee||xt)(e.LFG(y.WU))},xt.\u0275prov=e.Yz7({token:xt,factory:xt.\u0275fac,providedIn:"root"}),xt})();const s=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"];let h=(()=>{class xt extends y.iR{constructor(Ee,it,Ue,Je,_t){super(Ee,Je,it,_t),this.layoutConfig=Ue,this.marshal=_t,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(Ee){this.flexShrink=Ee||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(Ee){this.flexGrow=Ee||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe((0,M.R)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe((0,M.R)(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(Ee){const Ue=Ee.value.split(" ");this.direction=Ue[0],this.wrap=void 0!==Ue[1]&&"wrap"===Ue[1],this.triggerUpdate()}updateWithValue(Ee){void 0===this.direction&&(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent)),void 0===this.wrap&&(this.wrap=this.hasWrap(this.parentElement));const Ue=this.direction,Je=Ue.startsWith("row"),_t=this.wrap;Je&&_t?this.styleCache=v:Je&&!_t?this.styleCache=D:!Je&&_t?this.styleCache=r:!Je&&!_t&&(this.styleCache=P);const Le=String(Ee).replace(";",""),be=(0,y.Ot)(Le,this.flexGrow,this.flexShrink);this.addStyles(be.join(" "),{direction:Ue,hasWrap:_t})}triggerReflow(){const Ee=this.activatedValue;if(void 0!==Ee){const it=(0,y.Ot)(Ee+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,it.join(" "))}}}return xt.\u0275fac=function(Ee){return new(Ee||xt)(e.Y36(e.SBq),e.Y36(y.RK),e.Y36(y.WU),e.Y36(n),e.Y36(y.yB))},xt.\u0275dir=e.lG2({type:xt,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[e.qOj]}),xt})(),w=(()=>{class xt extends h{constructor(){super(...arguments),this.inputs=s}}return xt.\u0275fac=(()=>{let rt;return function(it){return(rt||(rt=e.n5z(xt)))(it||xt)}})(),xt.\u0275dir=e.lG2({type:xt,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[e.qOj]}),xt})();const D=new Map,P=new Map,v=new Map,r=new Map;let nt=(()=>{class xt extends y.QI{buildStyles(Ee,it){const Ue={},[Je,_t]=Ee.split(" ");switch(Je){case"center":Ue["justify-content"]="center";break;case"space-around":Ue["justify-content"]="space-around";break;case"space-between":Ue["justify-content"]="space-between";break;case"space-evenly":Ue["justify-content"]="space-evenly";break;case"end":case"flex-end":Ue["justify-content"]="flex-end";break;default:Ue["justify-content"]="flex-start"}switch(_t){case"start":case"flex-start":Ue["align-items"]=Ue["align-content"]="flex-start";break;case"center":Ue["align-items"]=Ue["align-content"]="center";break;case"end":case"flex-end":Ue["align-items"]=Ue["align-content"]="flex-end";break;case"space-between":Ue["align-content"]="space-between",Ue["align-items"]="stretch";break;case"space-around":Ue["align-content"]="space-around",Ue["align-items"]="stretch";break;case"baseline":Ue["align-content"]="stretch",Ue["align-items"]="baseline";break;default:Ue["align-items"]=Ue["align-content"]="stretch"}return(0,A.kt)(Ue,{display:it.inline?"inline-flex":"flex","flex-direction":it.layout,"box-sizing":"border-box","max-width":"stretch"===_t?(0,A.tj)(it.layout)?null:"100%":null,"max-height":"stretch"===_t&&(0,A.tj)(it.layout)?"100%":null})}}return xt.\u0275fac=(()=>{let rt;return function(it){return(rt||(rt=e.n5z(xt)))(it||xt)}})(),xt.\u0275prov=e.Yz7({token:xt,factory:xt.\u0275fac,providedIn:"root"}),xt})();const et=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"];let ct=(()=>{class xt extends y.iR{constructor(Ee,it,Ue,Je){super(Ee,Ue,it,Je),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe((0,M.R)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(Ee){const it=this.layout||"row",Ue=this.inline;"row"===it&&Ue?this.styleCache=Xt:"row"!==it||Ue?"row-reverse"===it&&Ue?this.styleCache=We:"row-reverse"!==it||Ue?"column"===it&&Ue?this.styleCache=J:"column"!==it||Ue?"column-reverse"===it&&Ue?this.styleCache=Ft:"column-reverse"===it&&!Ue&&(this.styleCache=Be):this.styleCache=lt:this.styleCache=Ke:this.styleCache=Et,this.addStyles(Ee,{layout:it,inline:Ue})}onLayoutChange(Ee){const it=Ee.value.split(" ");this.layout=it[0],this.inline=Ee.value.includes("inline"),A.iQ.find(Ue=>Ue===this.layout)||(this.layout="row"),this.triggerUpdate()}}return xt.\u0275fac=function(Ee){return new(Ee||xt)(e.Y36(e.SBq),e.Y36(y.RK),e.Y36(nt),e.Y36(y.yB))},xt.\u0275dir=e.lG2({type:xt,features:[e.qOj]}),xt})(),Qe=(()=>{class xt extends ct{constructor(){super(...arguments),this.inputs=et}}return xt.\u0275fac=(()=>{let rt;return function(it){return(rt||(rt=e.n5z(xt)))(it||xt)}})(),xt.\u0275dir=e.lG2({type:xt,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[e.qOj]}),xt})();const Et=new Map,lt=new Map,Ke=new Map,Be=new Map,Xt=new Map,J=new Map,We=new Map,Ft=new Map;let Pt=(()=>{class xt{}return xt.\u0275fac=function(Ee){return new(Ee||xt)},xt.\u0275mod=e.oAB({type:xt}),xt.\u0275inj=e.cJS({imports:[y.IR,t.vT]}),xt})()},6223:(He,X,p)=>{"use strict";p.d(X,{Cf:()=>W,F:()=>pe,Fd:()=>no,Fj:()=>V,JJ:()=>ve,JL:()=>ce,JU:()=>O,On:()=>ei,Q7:()=>va,QS:()=>lr,UX:()=>Ua,Zs:()=>Ro,_Y:()=>Mi,a5:()=>le,kI:()=>ie,oH:()=>pa,p4:()=>ri,qQ:()=>_o,qu:()=>Zi,sg:()=>za,u:()=>kr,u5:()=>on,wV:()=>yi});var e=p(9212),t=p(6814),y=p(9666),A=p(9315),l=p(7398);let M=(()=>{class ht{constructor(Fe,bt){this._renderer=Fe,this._elementRef=bt,this.onChange=Qt=>{},this.onTouched=()=>{}}setProperty(Fe,bt){this._renderer.setProperty(this._elementRef.nativeElement,Fe,bt)}registerOnTouched(Fe){this.onTouched=Fe}registerOnChange(Fe){this.onChange=Fe}setDisabledState(Fe){this.setProperty("disabled",Fe)}static#e=this.\u0275fac=function(bt){return new(bt||ht)(e.Y36(e.Qsj),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:ht})}return ht})(),m=(()=>{class ht extends M{static#e=this.\u0275fac=(()=>{let Fe;return function(Qt){return(Fe||(Fe=e.n5z(ht)))(Qt||ht)}})();static#t=this.\u0275dir=e.lG2({type:ht,features:[e.qOj]})}return ht})();const O=new e.OlP("NgValueAccessor"),x={provide:O,useExisting:(0,e.Gpc)(()=>V),multi:!0},k=new e.OlP("CompositionEventMode");let V=(()=>{class ht extends M{constructor(Fe,bt,Qt){super(Fe,bt),this._compositionMode=Qt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function I(){const ht=(0,t.q)()?(0,t.q)().getUserAgent():"";return/android (\d+)/.test(ht.toLowerCase())}())}writeValue(Fe){this.setProperty("value",Fe??"")}_handleInput(Fe){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(Fe)}_compositionStart(){this._composing=!0}_compositionEnd(Fe){this._composing=!1,this._compositionMode&&this.onChange(Fe)}static#e=this.\u0275fac=function(bt){return new(bt||ht)(e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(k,8))};static#t=this.\u0275dir=e.lG2({type:ht,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(bt,Qt){1&bt&&e.NdJ("input",function(Cn){return Qt._handleInput(Cn.target.value)})("blur",function(){return Qt.onTouched()})("compositionstart",function(){return Qt._compositionStart()})("compositionend",function(Cn){return Qt._compositionEnd(Cn.target.value)})},features:[e._Bn([x]),e.qOj]})}return ht})();function G(ht){return null==ht||("string"==typeof ht||Array.isArray(ht))&&0===ht.length}function j(ht){return null!=ht&&"number"==typeof ht.length}const W=new e.OlP("NgValidators"),K=new e.OlP("NgAsyncValidators"),q=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class ie{static min(yt){return ae(yt)}static max(yt){return ue(yt)}static required(yt){return re(yt)}static requiredTrue(yt){return xe(yt)}static email(yt){return function $(ht){return G(ht.value)||q.test(ht.value)?null:{email:!0}}(yt)}static minLength(yt){return function he(ht){return yt=>G(yt.value)||!j(yt.value)?null:yt.value.length<ht?{minlength:{requiredLength:ht,actualLength:yt.value.length}}:null}(yt)}static maxLength(yt){return function S(ht){return yt=>j(yt.value)&&yt.value.length>ht?{maxlength:{requiredLength:ht,actualLength:yt.value.length}}:null}(yt)}static pattern(yt){return function n(ht){if(!ht)return s;let yt,Fe;return"string"==typeof ht?(Fe="","^"!==ht.charAt(0)&&(Fe+="^"),Fe+=ht,"$"!==ht.charAt(ht.length-1)&&(Fe+="$"),yt=new RegExp(Fe)):(Fe=ht.toString(),yt=ht),bt=>{if(G(bt.value))return null;const Qt=bt.value;return yt.test(Qt)?null:{pattern:{requiredPattern:Fe,actualValue:Qt}}}}(yt)}static nullValidator(yt){return null}static compose(yt){return r(yt)}static composeAsync(yt){return H(yt)}}function ae(ht){return yt=>{if(G(yt.value)||G(ht))return null;const Fe=parseFloat(yt.value);return!isNaN(Fe)&&Fe<ht?{min:{min:ht,actual:yt.value}}:null}}function ue(ht){return yt=>{if(G(yt.value)||G(ht))return null;const Fe=parseFloat(yt.value);return!isNaN(Fe)&&Fe>ht?{max:{max:ht,actual:yt.value}}:null}}function re(ht){return G(ht.value)?{required:!0}:null}function xe(ht){return!0===ht.value?null:{required:!0}}function s(ht){return null}function f(ht){return null!=ht}function h(ht){return(0,e.QGY)(ht)?(0,y.D)(ht):ht}function w(ht){let yt={};return ht.forEach(Fe=>{yt=null!=Fe?{...yt,...Fe}:yt}),0===Object.keys(yt).length?null:yt}function D(ht,yt){return yt.map(Fe=>Fe(ht))}function v(ht){return ht.map(yt=>function P(ht){return!ht.validate}(yt)?yt:Fe=>yt.validate(Fe))}function r(ht){if(!ht)return null;const yt=ht.filter(f);return 0==yt.length?null:function(Fe){return w(D(Fe,yt))}}function g(ht){return null!=ht?r(v(ht)):null}function H(ht){if(!ht)return null;const yt=ht.filter(f);return 0==yt.length?null:function(Fe){const bt=D(Fe,yt).map(h);return(0,A.D)(bt).pipe((0,l.U)(w))}}function N(ht){return null!=ht?H(v(ht)):null}function te(ht,yt){return null===ht?[yt]:Array.isArray(ht)?[...ht,yt]:[ht,yt]}function De(ht){return ht._rawValidators}function st(ht){return ht._rawAsyncValidators}function je(ht){return ht?Array.isArray(ht)?ht:[ht]:[]}function $e(ht,yt){return Array.isArray(ht)?ht.includes(yt):ht===yt}function ye(ht,yt){const Fe=je(yt);return je(ht).forEach(Qt=>{$e(Fe,Qt)||Fe.push(Qt)}),Fe}function fe(ht,yt){return je(yt).filter(Fe=>!$e(ht,Fe))}class de{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(yt){this._rawValidators=yt||[],this._composedValidatorFn=g(this._rawValidators)}_setAsyncValidators(yt){this._rawAsyncValidators=yt||[],this._composedAsyncValidatorFn=N(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(yt){this._onDestroyCallbacks.push(yt)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(yt=>yt()),this._onDestroyCallbacks=[]}reset(yt=void 0){this.control&&this.control.reset(yt)}hasError(yt,Fe){return!!this.control&&this.control.hasError(yt,Fe)}getError(yt,Fe){return this.control?this.control.getError(yt,Fe):null}}class Ce extends de{get formDirective(){return null}get path(){return null}}class le extends de{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ge{constructor(yt){this._cd=yt}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let ve=(()=>{class ht extends ge{constructor(Fe){super(Fe)}static#e=this.\u0275fac=function(bt){return new(bt||ht)(e.Y36(le,2))};static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(bt,Qt){2&bt&&e.ekj("ng-untouched",Qt.isUntouched)("ng-touched",Qt.isTouched)("ng-pristine",Qt.isPristine)("ng-dirty",Qt.isDirty)("ng-valid",Qt.isValid)("ng-invalid",Qt.isInvalid)("ng-pending",Qt.isPending)},features:[e.qOj]})}return ht})(),ce=(()=>{class ht extends ge{constructor(Fe){super(Fe)}static#e=this.\u0275fac=function(bt){return new(bt||ht)(e.Y36(Ce,10))};static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(bt,Qt){2&bt&&e.ekj("ng-untouched",Qt.isUntouched)("ng-touched",Qt.isTouched)("ng-pristine",Qt.isPristine)("ng-dirty",Qt.isDirty)("ng-valid",Qt.isValid)("ng-invalid",Qt.isInvalid)("ng-pending",Qt.isPending)("ng-submitted",Qt.isSubmitted)},features:[e.qOj]})}return ht})();const J="VALID",We="INVALID",Ft="PENDING",Ct="DISABLED";function Pt(ht){return(it(ht)?ht.validators:ht)||null}function rt(ht,yt){return(it(yt)?yt.asyncValidators:ht)||null}function it(ht){return null!=ht&&!Array.isArray(ht)&&"object"==typeof ht}function Ue(ht,yt,Fe){const bt=ht.controls;if(!(yt?Object.keys(bt):bt).length)throw new e.vHH(1e3,"");if(!bt[Fe])throw new e.vHH(1001,"")}function Je(ht,yt,Fe){ht._forEachChild((bt,Qt)=>{if(void 0===Fe[Qt])throw new e.vHH(1002,"")})}class _t{constructor(yt,Fe){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(yt),this._assignAsyncValidators(Fe)}get validator(){return this._composedValidatorFn}set validator(yt){this._rawValidators=this._composedValidatorFn=yt}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(yt){this._rawAsyncValidators=this._composedAsyncValidatorFn=yt}get parent(){return this._parent}get valid(){return this.status===J}get invalid(){return this.status===We}get pending(){return this.status==Ft}get disabled(){return this.status===Ct}get enabled(){return this.status!==Ct}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(yt){this._assignValidators(yt)}setAsyncValidators(yt){this._assignAsyncValidators(yt)}addValidators(yt){this.setValidators(ye(yt,this._rawValidators))}addAsyncValidators(yt){this.setAsyncValidators(ye(yt,this._rawAsyncValidators))}removeValidators(yt){this.setValidators(fe(yt,this._rawValidators))}removeAsyncValidators(yt){this.setAsyncValidators(fe(yt,this._rawAsyncValidators))}hasValidator(yt){return $e(this._rawValidators,yt)}hasAsyncValidator(yt){return $e(this._rawAsyncValidators,yt)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(yt={}){this.touched=!0,this._parent&&!yt.onlySelf&&this._parent.markAsTouched(yt)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(yt=>yt.markAllAsTouched())}markAsUntouched(yt={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(Fe=>{Fe.markAsUntouched({onlySelf:!0})}),this._parent&&!yt.onlySelf&&this._parent._updateTouched(yt)}markAsDirty(yt={}){this.pristine=!1,this._parent&&!yt.onlySelf&&this._parent.markAsDirty(yt)}markAsPristine(yt={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(Fe=>{Fe.markAsPristine({onlySelf:!0})}),this._parent&&!yt.onlySelf&&this._parent._updatePristine(yt)}markAsPending(yt={}){this.status=Ft,!1!==yt.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!yt.onlySelf&&this._parent.markAsPending(yt)}disable(yt={}){const Fe=this._parentMarkedDirty(yt.onlySelf);this.status=Ct,this.errors=null,this._forEachChild(bt=>{bt.disable({...yt,onlySelf:!0})}),this._updateValue(),!1!==yt.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...yt,skipPristineCheck:Fe}),this._onDisabledChange.forEach(bt=>bt(!0))}enable(yt={}){const Fe=this._parentMarkedDirty(yt.onlySelf);this.status=J,this._forEachChild(bt=>{bt.enable({...yt,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:yt.emitEvent}),this._updateAncestors({...yt,skipPristineCheck:Fe}),this._onDisabledChange.forEach(bt=>bt(!1))}_updateAncestors(yt){this._parent&&!yt.onlySelf&&(this._parent.updateValueAndValidity(yt),yt.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(yt){this._parent=yt}getRawValue(){return this.value}updateValueAndValidity(yt={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===J||this.status===Ft)&&this._runAsyncValidator(yt.emitEvent)),!1!==yt.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!yt.onlySelf&&this._parent.updateValueAndValidity(yt)}_updateTreeValidity(yt={emitEvent:!0}){this._forEachChild(Fe=>Fe._updateTreeValidity(yt)),this.updateValueAndValidity({onlySelf:!0,emitEvent:yt.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ct:J}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(yt){if(this.asyncValidator){this.status=Ft,this._hasOwnPendingAsyncValidator=!0;const Fe=h(this.asyncValidator(this));this._asyncValidationSubscription=Fe.subscribe(bt=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(bt,{emitEvent:yt})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(yt,Fe={}){this.errors=yt,this._updateControlsErrors(!1!==Fe.emitEvent)}get(yt){let Fe=yt;return null==Fe||(Array.isArray(Fe)||(Fe=Fe.split(".")),0===Fe.length)?null:Fe.reduce((bt,Qt)=>bt&&bt._find(Qt),this)}getError(yt,Fe){const bt=Fe?this.get(Fe):this;return bt&&bt.errors?bt.errors[yt]:null}hasError(yt,Fe){return!!this.getError(yt,Fe)}get root(){let yt=this;for(;yt._parent;)yt=yt._parent;return yt}_updateControlsErrors(yt){this.status=this._calculateStatus(),yt&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(yt)}_initObservables(){this.valueChanges=new e.vpe,this.statusChanges=new e.vpe}_calculateStatus(){return this._allControlsDisabled()?Ct:this.errors?We:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ft)?Ft:this._anyControlsHaveStatus(We)?We:J}_anyControlsHaveStatus(yt){return this._anyControls(Fe=>Fe.status===yt)}_anyControlsDirty(){return this._anyControls(yt=>yt.dirty)}_anyControlsTouched(){return this._anyControls(yt=>yt.touched)}_updatePristine(yt={}){this.pristine=!this._anyControlsDirty(),this._parent&&!yt.onlySelf&&this._parent._updatePristine(yt)}_updateTouched(yt={}){this.touched=this._anyControlsTouched(),this._parent&&!yt.onlySelf&&this._parent._updateTouched(yt)}_registerOnCollectionChange(yt){this._onCollectionChange=yt}_setUpdateStrategy(yt){it(yt)&&null!=yt.updateOn&&(this._updateOn=yt.updateOn)}_parentMarkedDirty(yt){return!yt&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(yt){return null}_assignValidators(yt){this._rawValidators=Array.isArray(yt)?yt.slice():yt,this._composedValidatorFn=function xt(ht){return Array.isArray(ht)?g(ht):ht||null}(this._rawValidators)}_assignAsyncValidators(yt){this._rawAsyncValidators=Array.isArray(yt)?yt.slice():yt,this._composedAsyncValidatorFn=function Ee(ht){return Array.isArray(ht)?N(ht):ht||null}(this._rawAsyncValidators)}}class Le extends _t{constructor(yt,Fe,bt){super(Pt(Fe),rt(bt,Fe)),this.controls=yt,this._initObservables(),this._setUpdateStrategy(Fe),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(yt,Fe){return this.controls[yt]?this.controls[yt]:(this.controls[yt]=Fe,Fe.setParent(this),Fe._registerOnCollectionChange(this._onCollectionChange),Fe)}addControl(yt,Fe,bt={}){this.registerControl(yt,Fe),this.updateValueAndValidity({emitEvent:bt.emitEvent}),this._onCollectionChange()}removeControl(yt,Fe={}){this.controls[yt]&&this.controls[yt]._registerOnCollectionChange(()=>{}),delete this.controls[yt],this.updateValueAndValidity({emitEvent:Fe.emitEvent}),this._onCollectionChange()}setControl(yt,Fe,bt={}){this.controls[yt]&&this.controls[yt]._registerOnCollectionChange(()=>{}),delete this.controls[yt],Fe&&this.registerControl(yt,Fe),this.updateValueAndValidity({emitEvent:bt.emitEvent}),this._onCollectionChange()}contains(yt){return this.controls.hasOwnProperty(yt)&&this.controls[yt].enabled}setValue(yt,Fe={}){Je(this,0,yt),Object.keys(yt).forEach(bt=>{Ue(this,!0,bt),this.controls[bt].setValue(yt[bt],{onlySelf:!0,emitEvent:Fe.emitEvent})}),this.updateValueAndValidity(Fe)}patchValue(yt,Fe={}){null!=yt&&(Object.keys(yt).forEach(bt=>{const Qt=this.controls[bt];Qt&&Qt.patchValue(yt[bt],{onlySelf:!0,emitEvent:Fe.emitEvent})}),this.updateValueAndValidity(Fe))}reset(yt={},Fe={}){this._forEachChild((bt,Qt)=>{bt.reset(yt?yt[Qt]:null,{onlySelf:!0,emitEvent:Fe.emitEvent})}),this._updatePristine(Fe),this._updateTouched(Fe),this.updateValueAndValidity(Fe)}getRawValue(){return this._reduceChildren({},(yt,Fe,bt)=>(yt[bt]=Fe.getRawValue(),yt))}_syncPendingControls(){let yt=this._reduceChildren(!1,(Fe,bt)=>!!bt._syncPendingControls()||Fe);return yt&&this.updateValueAndValidity({onlySelf:!0}),yt}_forEachChild(yt){Object.keys(this.controls).forEach(Fe=>{const bt=this.controls[Fe];bt&&yt(bt,Fe)})}_setUpControls(){this._forEachChild(yt=>{yt.setParent(this),yt._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(yt){for(const[Fe,bt]of Object.entries(this.controls))if(this.contains(Fe)&&yt(bt))return!0;return!1}_reduceValue(){return this._reduceChildren({},(Fe,bt,Qt)=>((bt.enabled||this.disabled)&&(Fe[Qt]=bt.value),Fe))}_reduceChildren(yt,Fe){let bt=yt;return this._forEachChild((Qt,Fi)=>{bt=Fe(bt,Qt,Fi)}),bt}_allControlsDisabled(){for(const yt of Object.keys(this.controls))if(this.controls[yt].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(yt){return this.controls.hasOwnProperty(yt)?this.controls[yt]:null}}class Ie extends Le{}const At=new e.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Zt}),Zt="always";function pi(ht,yt){return[...yt.path,ht]}function Jt(ht,yt,Fe=Zt){fi(ht,yt),yt.valueAccessor.writeValue(ht.value),(ht.disabled||"always"===Fe)&&yt.valueAccessor.setDisabledState?.(ht.disabled),function Qi(ht,yt){yt.valueAccessor.registerOnChange(Fe=>{ht._pendingValue=Fe,ht._pendingChange=!0,ht._pendingDirty=!0,"change"===ht.updateOn&&sn(ht,yt)})}(ht,yt),function ot(ht,yt){const Fe=(bt,Qt)=>{yt.valueAccessor.writeValue(bt),Qt&&yt.viewToModelUpdate(bt)};ht.registerOnChange(Fe),yt._registerOnDestroy(()=>{ht._unregisterOnChange(Fe)})}(ht,yt),function xi(ht,yt){yt.valueAccessor.registerOnTouched(()=>{ht._pendingTouched=!0,"blur"===ht.updateOn&&ht._pendingChange&&sn(ht,yt),"submit"!==ht.updateOn&&ht.markAsTouched()})}(ht,yt),function di(ht,yt){if(yt.valueAccessor.setDisabledState){const Fe=bt=>{yt.valueAccessor.setDisabledState(bt)};ht.registerOnDisabledChange(Fe),yt._registerOnDestroy(()=>{ht._unregisterOnDisabledChange(Fe)})}}(ht,yt)}function qt(ht,yt,Fe=!0){const bt=()=>{};yt.valueAccessor&&(yt.valueAccessor.registerOnChange(bt),yt.valueAccessor.registerOnTouched(bt)),un(ht,yt),ht&&(yt._invokeOnDestroyCallbacks(),ht._registerOnCollectionChange(()=>{}))}function Hi(ht,yt){ht.forEach(Fe=>{Fe.registerOnValidatorChange&&Fe.registerOnValidatorChange(yt)})}function fi(ht,yt){const Fe=De(ht);null!==yt.validator?ht.setValidators(te(Fe,yt.validator)):"function"==typeof Fe&&ht.setValidators([Fe]);const bt=st(ht);null!==yt.asyncValidator?ht.setAsyncValidators(te(bt,yt.asyncValidator)):"function"==typeof bt&&ht.setAsyncValidators([bt]);const Qt=()=>ht.updateValueAndValidity();Hi(yt._rawValidators,Qt),Hi(yt._rawAsyncValidators,Qt)}function un(ht,yt){let Fe=!1;if(null!==ht){if(null!==yt.validator){const Qt=De(ht);if(Array.isArray(Qt)&&Qt.length>0){const Fi=Qt.filter(Cn=>Cn!==yt.validator);Fi.length!==Qt.length&&(Fe=!0,ht.setValidators(Fi))}}if(null!==yt.asyncValidator){const Qt=st(ht);if(Array.isArray(Qt)&&Qt.length>0){const Fi=Qt.filter(Cn=>Cn!==yt.asyncValidator);Fi.length!==Qt.length&&(Fe=!0,ht.setAsyncValidators(Fi))}}}const bt=()=>{};return Hi(yt._rawValidators,bt),Hi(yt._rawAsyncValidators,bt),Fe}function sn(ht,yt){ht._pendingDirty&&ht.markAsDirty(),ht.setValue(ht._pendingValue,{emitModelToViewChange:!1}),yt.viewToModelUpdate(ht._pendingValue),ht._pendingChange=!1}function si(ht,yt){fi(ht,yt)}function ai(ht,yt){if(!ht.hasOwnProperty("model"))return!1;const Fe=ht.model;return!!Fe.isFirstChange()||!Object.is(yt,Fe.currentValue)}function bi(ht,yt){ht._syncPendingControls(),yt.forEach(Fe=>{const bt=Fe.control;"submit"===bt.updateOn&&bt._pendingChange&&(Fe.viewToModelUpdate(bt._pendingValue),bt._pendingChange=!1)})}function ki(ht,yt){if(!yt)return null;let Fe,bt,Qt;return Array.isArray(yt),yt.forEach(Fi=>{Fi.constructor===V?Fe=Fi:function vi(ht){return Object.getPrototypeOf(ht.constructor)===m}(Fi)?bt=Fi:Qt=Fi}),Qt||bt||Fe||null}const jt={provide:Ce,useExisting:(0,e.Gpc)(()=>pe)},It=(()=>Promise.resolve())();let pe=(()=>{class ht extends Ce{constructor(Fe,bt,Qt){super(),this.callSetDisabledState=Qt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new e.vpe,this.form=new Le({},g(Fe),N(bt))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(Fe){It.then(()=>{const bt=this._findContainer(Fe.path);Fe.control=bt.registerControl(Fe.name,Fe.control),Jt(Fe.control,Fe,this.callSetDisabledState),Fe.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(Fe)})}getControl(Fe){return this.form.get(Fe.path)}removeControl(Fe){It.then(()=>{const bt=this._findContainer(Fe.path);bt&&bt.removeControl(Fe.name),this._directives.delete(Fe)})}addFormGroup(Fe){It.then(()=>{const bt=this._findContainer(Fe.path),Qt=new Le({});si(Qt,Fe),bt.registerControl(Fe.name,Qt),Qt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(Fe){It.then(()=>{const bt=this._findContainer(Fe.path);bt&&bt.removeControl(Fe.name)})}getFormGroup(Fe){return this.form.get(Fe.path)}updateModel(Fe,bt){It.then(()=>{this.form.get(Fe.path).setValue(bt)})}setValue(Fe){this.control.setValue(Fe)}onSubmit(Fe){return this.submitted=!0,bi(this.form,this._directives),this.ngSubmit.emit(Fe),"dialog"===Fe?.target?.method}onReset(){this.resetForm()}resetForm(Fe=void 0){this.form.reset(Fe),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(Fe){return Fe.pop(),Fe.length?this.form.get(Fe):this.form}static#e=this.\u0275fac=function(bt){return new(bt||ht)(e.Y36(W,10),e.Y36(K,10),e.Y36(At,8))};static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(bt,Qt){1&bt&&e.NdJ("submit",function(Cn){return Qt.onSubmit(Cn)})("reset",function(){return Qt.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([jt]),e.qOj]})}return ht})();function Ve(ht,yt){const Fe=ht.indexOf(yt);Fe>-1&&ht.splice(Fe,1)}function Xe(ht){return"object"==typeof ht&&null!==ht&&2===Object.keys(ht).length&&"value"in ht&&"disabled"in ht}const gt=class extends _t{constructor(yt=null,Fe,bt){super(Pt(Fe),rt(bt,Fe)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(yt),this._setUpdateStrategy(Fe),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),it(Fe)&&(Fe.nonNullable||Fe.initialValueIsDefault)&&(this.defaultValue=Xe(yt)?yt.value:yt)}setValue(yt,Fe={}){this.value=this._pendingValue=yt,this._onChange.length&&!1!==Fe.emitModelToViewChange&&this._onChange.forEach(bt=>bt(this.value,!1!==Fe.emitViewToModelChange)),this.updateValueAndValidity(Fe)}patchValue(yt,Fe={}){this.setValue(yt,Fe)}reset(yt=this.defaultValue,Fe={}){this._applyFormState(yt),this.markAsPristine(Fe),this.markAsUntouched(Fe),this.setValue(this.value,Fe),this._pendingChange=!1}_updateValue(){}_anyControls(yt){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(yt){this._onChange.push(yt)}_unregisterOnChange(yt){Ve(this._onChange,yt)}registerOnDisabledChange(yt){this._onDisabledChange.push(yt)}_unregisterOnDisabledChange(yt){Ve(this._onDisabledChange,yt)}_forEachChild(yt){}_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(yt){Xe(yt)?(this.value=this._pendingValue=yt.value,yt.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=yt}},ri=gt,rn={provide:le,useExisting:(0,e.Gpc)(()=>ei)},qn=(()=>Promise.resolve())();let ei=(()=>{class ht extends le{constructor(Fe,bt,Qt,Fi,Cn,Mr){super(),this._changeDetectorRef=Cn,this.callSetDisabledState=Mr,this.control=new gt,this._registered=!1,this.name="",this.update=new e.vpe,this._parent=Fe,this._setValidators(bt),this._setAsyncValidators(Qt),this.valueAccessor=ki(0,Fi)}ngOnChanges(Fe){if(this._checkForErrors(),!this._registered||"name"in Fe){if(this._registered&&(this._checkName(),this.formDirective)){const bt=Fe.name.previousValue;this.formDirective.removeControl({name:bt,path:this._getPath(bt)})}this._setUpControl()}"isDisabled"in Fe&&this._updateDisabled(Fe),ai(Fe,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(Fe){this.viewModel=Fe,this.update.emit(Fe)}_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(){Jt(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(Fe){qn.then(()=>{this.control.setValue(Fe,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(Fe){const bt=Fe.isDisabled.currentValue,Qt=0!==bt&&(0,e.VuI)(bt);qn.then(()=>{Qt&&!this.control.disabled?this.control.disable():!Qt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(Fe){return this._parent?pi(Fe,this._parent):[Fe]}static#e=this.\u0275fac=function(bt){return new(bt||ht)(e.Y36(Ce,9),e.Y36(W,10),e.Y36(K,10),e.Y36(O,10),e.Y36(e.sBO,8),e.Y36(At,8))};static#t=this.\u0275dir=e.lG2({type:ht,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([rn]),e.qOj,e.TTD]})}return ht})(),Mi=(()=>{class ht{static#e=this.\u0275fac=function(bt){return new(bt||ht)};static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return ht})();const gi={provide:O,useExisting:(0,e.Gpc)(()=>yi),multi:!0};let yi=(()=>{class ht extends m{writeValue(Fe){this.setProperty("value",Fe??"")}registerOnChange(Fe){this.onChange=bt=>{Fe(""==bt?null:parseFloat(bt))}}static#e=this.\u0275fac=(()=>{let Fe;return function(Qt){return(Fe||(Fe=e.n5z(ht)))(Qt||ht)}})();static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(bt,Qt){1&bt&&e.NdJ("input",function(Cn){return Qt.onChange(Cn.target.value)})("blur",function(){return Qt.onTouched()})},features:[e._Bn([gi]),e.qOj]})}return ht})(),xn=(()=>{class ht{static#e=this.\u0275fac=function(bt){return new(bt||ht)};static#t=this.\u0275mod=e.oAB({type:ht});static#i=this.\u0275inj=e.cJS({})}return ht})();const Cr=new e.OlP("NgModelWithFormControlWarning"),oa={provide:le,useExisting:(0,e.Gpc)(()=>pa)};let pa=(()=>{class ht extends le{set isDisabled(Fe){}static#e=this._ngModelWarningSentOnce=!1;constructor(Fe,bt,Qt,Fi,Cn){super(),this._ngModelWarningConfig=Fi,this.callSetDisabledState=Cn,this.update=new e.vpe,this._ngModelWarningSent=!1,this._setValidators(Fe),this._setAsyncValidators(bt),this.valueAccessor=ki(0,Qt)}ngOnChanges(Fe){if(this._isControlChanged(Fe)){const bt=Fe.form.previousValue;bt&&qt(bt,this,!1),Jt(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}ai(Fe,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&qt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(Fe){this.viewModel=Fe,this.update.emit(Fe)}_isControlChanged(Fe){return Fe.hasOwnProperty("form")}static#t=this.\u0275fac=function(bt){return new(bt||ht)(e.Y36(W,10),e.Y36(K,10),e.Y36(O,10),e.Y36(Cr,8),e.Y36(At,8))};static#i=this.\u0275dir=e.lG2({type:ht,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[e._Bn([oa]),e.qOj,e.TTD]})}return ht})();const sa={provide:Ce,useExisting:(0,e.Gpc)(()=>za)};let za=(()=>{class ht extends Ce{constructor(Fe,bt,Qt){super(),this.callSetDisabledState=Qt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new e.vpe,this._setValidators(Fe),this._setAsyncValidators(bt)}ngOnChanges(Fe){this._checkFormPresent(),Fe.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(un(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(Fe){const bt=this.form.get(Fe.path);return Jt(bt,Fe,this.callSetDisabledState),bt.updateValueAndValidity({emitEvent:!1}),this.directives.push(Fe),bt}getControl(Fe){return this.form.get(Fe.path)}removeControl(Fe){qt(Fe.control||null,Fe,!1),function Bi(ht,yt){const Fe=ht.indexOf(yt);Fe>-1&&ht.splice(Fe,1)}(this.directives,Fe)}addFormGroup(Fe){this._setUpFormContainer(Fe)}removeFormGroup(Fe){this._cleanUpFormContainer(Fe)}getFormGroup(Fe){return this.form.get(Fe.path)}addFormArray(Fe){this._setUpFormContainer(Fe)}removeFormArray(Fe){this._cleanUpFormContainer(Fe)}getFormArray(Fe){return this.form.get(Fe.path)}updateModel(Fe,bt){this.form.get(Fe.path).setValue(bt)}onSubmit(Fe){return this.submitted=!0,bi(this.form,this.directives),this.ngSubmit.emit(Fe),"dialog"===Fe?.target?.method}onReset(){this.resetForm()}resetForm(Fe=void 0){this.form.reset(Fe),this.submitted=!1}_updateDomValue(){this.directives.forEach(Fe=>{const bt=Fe.control,Qt=this.form.get(Fe.path);bt!==Qt&&(qt(bt||null,Fe),(ht=>ht instanceof gt)(Qt)&&(Jt(Qt,Fe,this.callSetDisabledState),Fe.control=Qt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(Fe){const bt=this.form.get(Fe.path);si(bt,Fe),bt.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(Fe){if(this.form){const bt=this.form.get(Fe.path);bt&&function we(ht,yt){return un(ht,yt)}(bt,Fe)&&bt.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){fi(this.form,this),this._oldForm&&un(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(bt){return new(bt||ht)(e.Y36(W,10),e.Y36(K,10),e.Y36(At,8))};static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["","formGroup",""]],hostBindings:function(bt,Qt){1&bt&&e.NdJ("submit",function(Cn){return Qt.onSubmit(Cn)})("reset",function(){return Qt.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([sa]),e.qOj,e.TTD]})}return ht})();const _a={provide:le,useExisting:(0,e.Gpc)(()=>kr)};let kr=(()=>{class ht extends le{set isDisabled(Fe){}static#e=this._ngModelWarningSentOnce=!1;constructor(Fe,bt,Qt,Fi,Cn){super(),this._ngModelWarningConfig=Cn,this._added=!1,this.name=null,this.update=new e.vpe,this._ngModelWarningSent=!1,this._parent=Fe,this._setValidators(bt),this._setAsyncValidators(Qt),this.valueAccessor=ki(0,Fi)}ngOnChanges(Fe){this._added||this._setUpControl(),ai(Fe,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(Fe){this.viewModel=Fe,this.update.emit(Fe)}get path(){return pi(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(bt){return new(bt||ht)(e.Y36(Ce,13),e.Y36(W,10),e.Y36(K,10),e.Y36(O,10),e.Y36(Cr,8))};static#i=this.\u0275dir=e.lG2({type:ht,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[e._Bn([_a]),e.qOj,e.TTD]})}return ht})();function Oa(ht){return"number"==typeof ht?ht:parseFloat(ht)}let Pa=(()=>{class ht{constructor(){this._validator=s}ngOnChanges(Fe){if(this.inputName in Fe){const bt=this.normalizeInput(Fe[this.inputName].currentValue);this._enabled=this.enabled(bt),this._validator=this._enabled?this.createValidator(bt):s,this._onChange&&this._onChange()}}validate(Fe){return this._validator(Fe)}registerOnValidatorChange(Fe){this._onChange=Fe}enabled(Fe){return null!=Fe}static#e=this.\u0275fac=function(bt){return new(bt||ht)};static#t=this.\u0275dir=e.lG2({type:ht,features:[e.TTD]})}return ht})();const go={provide:W,useExisting:(0,e.Gpc)(()=>no),multi:!0};let no=(()=>{class ht extends Pa{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=Fe=>Oa(Fe),this.createValidator=Fe=>ue(Fe)}static#e=this.\u0275fac=(()=>{let Fe;return function(Qt){return(Fe||(Fe=e.n5z(ht)))(Qt||ht)}})();static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(bt,Qt){2&bt&&e.uIk("max",Qt._enabled?Qt.max:null)},inputs:{max:"max"},features:[e._Bn([go]),e.qOj]})}return ht})();const Mo={provide:W,useExisting:(0,e.Gpc)(()=>_o),multi:!0};let _o=(()=>{class ht extends Pa{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=Fe=>Oa(Fe),this.createValidator=Fe=>ae(Fe)}static#e=this.\u0275fac=(()=>{let Fe;return function(Qt){return(Fe||(Fe=e.n5z(ht)))(Qt||ht)}})();static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(bt,Qt){2&bt&&e.uIk("min",Qt._enabled?Qt.min:null)},inputs:{min:"min"},features:[e._Bn([Mo]),e.qOj]})}return ht})();const qr={provide:W,useExisting:(0,e.Gpc)(()=>va),multi:!0},la={provide:W,useExisting:(0,e.Gpc)(()=>Ro),multi:!0};let va=(()=>{class ht extends Pa{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e.VuI,this.createValidator=Fe=>re}enabled(Fe){return Fe}static#e=this.\u0275fac=(()=>{let Fe;return function(Qt){return(Fe||(Fe=e.n5z(ht)))(Qt||ht)}})();static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(bt,Qt){2&bt&&e.uIk("required",Qt._enabled?"":null)},inputs:{required:"required"},features:[e._Bn([qr]),e.qOj]})}return ht})(),Ro=(()=>{class ht extends va{constructor(){super(...arguments),this.createValidator=Fe=>xe}static#e=this.\u0275fac=(()=>{let Fe;return function(Qt){return(Fe||(Fe=e.n5z(ht)))(Qt||ht)}})();static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(bt,Qt){2&bt&&e.uIk("required",Qt._enabled?"":null)},features:[e._Bn([la]),e.qOj]})}return ht})(),Vt=(()=>{class ht{static#e=this.\u0275fac=function(bt){return new(bt||ht)};static#t=this.\u0275mod=e.oAB({type:ht});static#i=this.\u0275inj=e.cJS({imports:[xn]})}return ht})();class Ti extends _t{constructor(yt,Fe,bt){super(Pt(Fe),rt(bt,Fe)),this.controls=yt,this._initObservables(),this._setUpdateStrategy(Fe),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(yt){return this.controls[this._adjustIndex(yt)]}push(yt,Fe={}){this.controls.push(yt),this._registerControl(yt),this.updateValueAndValidity({emitEvent:Fe.emitEvent}),this._onCollectionChange()}insert(yt,Fe,bt={}){this.controls.splice(yt,0,Fe),this._registerControl(Fe),this.updateValueAndValidity({emitEvent:bt.emitEvent})}removeAt(yt,Fe={}){let bt=this._adjustIndex(yt);bt<0&&(bt=0),this.controls[bt]&&this.controls[bt]._registerOnCollectionChange(()=>{}),this.controls.splice(bt,1),this.updateValueAndValidity({emitEvent:Fe.emitEvent})}setControl(yt,Fe,bt={}){let Qt=this._adjustIndex(yt);Qt<0&&(Qt=0),this.controls[Qt]&&this.controls[Qt]._registerOnCollectionChange(()=>{}),this.controls.splice(Qt,1),Fe&&(this.controls.splice(Qt,0,Fe),this._registerControl(Fe)),this.updateValueAndValidity({emitEvent:bt.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(yt,Fe={}){Je(this,0,yt),yt.forEach((bt,Qt)=>{Ue(this,!1,Qt),this.at(Qt).setValue(bt,{onlySelf:!0,emitEvent:Fe.emitEvent})}),this.updateValueAndValidity(Fe)}patchValue(yt,Fe={}){null!=yt&&(yt.forEach((bt,Qt)=>{this.at(Qt)&&this.at(Qt).patchValue(bt,{onlySelf:!0,emitEvent:Fe.emitEvent})}),this.updateValueAndValidity(Fe))}reset(yt=[],Fe={}){this._forEachChild((bt,Qt)=>{bt.reset(yt[Qt],{onlySelf:!0,emitEvent:Fe.emitEvent})}),this._updatePristine(Fe),this._updateTouched(Fe),this.updateValueAndValidity(Fe)}getRawValue(){return this.controls.map(yt=>yt.getRawValue())}clear(yt={}){this.controls.length<1||(this._forEachChild(Fe=>Fe._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:yt.emitEvent}))}_adjustIndex(yt){return yt<0?yt+this.length:yt}_syncPendingControls(){let yt=this.controls.reduce((Fe,bt)=>!!bt._syncPendingControls()||Fe,!1);return yt&&this.updateValueAndValidity({onlySelf:!0}),yt}_forEachChild(yt){this.controls.forEach((Fe,bt)=>{yt(Fe,bt)})}_updateValue(){this.value=this.controls.filter(yt=>yt.enabled||this.disabled).map(yt=>yt.value)}_anyControls(yt){return this.controls.some(Fe=>Fe.enabled&&yt(Fe))}_setUpControls(){this._forEachChild(yt=>this._registerControl(yt))}_allControlsDisabled(){for(const yt of this.controls)if(yt.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(yt){yt.setParent(this),yt._registerOnCollectionChange(this._onCollectionChange)}_find(yt){return this.at(yt)??null}}function Si(ht){return!!ht&&(void 0!==ht.asyncValidators||void 0!==ht.validators||void 0!==ht.updateOn)}let Zi=(()=>{class ht{constructor(){this.useNonNullable=!1}get nonNullable(){const Fe=new ht;return Fe.useNonNullable=!0,Fe}group(Fe,bt=null){const Qt=this._reduceControls(Fe);let Fi={};return Si(bt)?Fi=bt:null!==bt&&(Fi.validators=bt.validator,Fi.asyncValidators=bt.asyncValidator),new Le(Qt,Fi)}record(Fe,bt=null){const Qt=this._reduceControls(Fe);return new Ie(Qt,bt)}control(Fe,bt,Qt){let Fi={};return this.useNonNullable?(Si(bt)?Fi=bt:(Fi.validators=bt,Fi.asyncValidators=Qt),new gt(Fe,{...Fi,nonNullable:!0})):new gt(Fe,bt,Qt)}array(Fe,bt,Qt){const Fi=Fe.map(Cn=>this._createControl(Cn));return new Ti(Fi,bt,Qt)}_reduceControls(Fe){const bt={};return Object.keys(Fe).forEach(Qt=>{bt[Qt]=this._createControl(Fe[Qt])}),bt}_createControl(Fe){return Fe instanceof gt||Fe instanceof _t?Fe:Array.isArray(Fe)?this.control(Fe[0],Fe.length>1?Fe[1]:null,Fe.length>2?Fe[2]:null):this.control(Fe)}static#e=this.\u0275fac=function(bt){return new(bt||ht)};static#t=this.\u0275prov=e.Yz7({token:ht,factory:ht.\u0275fac,providedIn:"root"})}return ht})(),lr=(()=>{class ht extends Zi{group(Fe,bt=null){return super.group(Fe,bt)}control(Fe,bt,Qt){return super.control(Fe,bt,Qt)}array(Fe,bt,Qt){return super.array(Fe,bt,Qt)}static#e=this.\u0275fac=(()=>{let Fe;return function(Qt){return(Fe||(Fe=e.n5z(ht)))(Qt||ht)}})();static#t=this.\u0275prov=e.Yz7({token:ht,factory:ht.\u0275fac,providedIn:"root"})}return ht})(),on=(()=>{class ht{static withConfig(Fe){return{ngModule:ht,providers:[{provide:At,useValue:Fe.callSetDisabledState??Zt}]}}static#e=this.\u0275fac=function(bt){return new(bt||ht)};static#t=this.\u0275mod=e.oAB({type:ht});static#i=this.\u0275inj=e.cJS({imports:[Vt]})}return ht})(),Ua=(()=>{class ht{static withConfig(Fe){return{ngModule:ht,providers:[{provide:Cr,useValue:Fe.warnOnNgModelWithFormControl??"always"},{provide:At,useValue:Fe.callSetDisabledState??Zt}]}}static#e=this.\u0275fac=function(bt){return new(bt||ht)};static#t=this.\u0275mod=e.oAB({type:ht});static#i=this.\u0275inj=e.cJS({imports:[Vt]})}return ht})()},4630:(He,X,p)=>{"use strict";p.d(X,{Bb:()=>$e,XC:()=>r,ZL:()=>je});var e=p(9212),t=p(3680),y=p(6814),A=p(5407),l=p(3651),M=p(4300),m=p(2495),O=p(2831),d=p(6825),E=p(7394),x=p(8645),I=p(4911),k=p(3019),V=p(2096),G=p(2438),j=p(6028),W=p(8484),K=p(6223),q=p(5683),ie=p(7921),ae=p(4664),ue=p(8180),re=p(2181),xe=p(7398),$=p(9397),he=p(932),S=p(9388);const n=["panel"];function s(ye,fe){if(1&ye){const de=e.EpF();e.TgZ(0,"div",0,1),e.NdJ("@panelAnimation.done",function(le){e.CHM(de);const ge=e.oxw();return e.KtG(ge._animationDone.next(le))}),e.Hsn(2),e.qZA()}if(2&ye){const de=fe.id,Ce=e.oxw();e.Q6J("id",Ce.id)("ngClass",Ce._classList)("@panelAnimation",Ce.isOpen?"visible":"hidden"),e.uIk("aria-label",Ce.ariaLabel||null)("aria-labelledby",Ce._getPanelAriaLabelledby(de))}}const f=["*"],h=(0,d.X$)("panelAnimation",[(0,d.SB)("void, hidden",(0,d.oB)({opacity:0,transform:"scaleY(0.8)"})),(0,d.eR)(":enter, hidden => visible",[(0,d.ru)([(0,d.jt)("0.03s linear",(0,d.oB)({opacity:1})),(0,d.jt)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,d.oB)({transform:"scaleY(1)"}))])]),(0,d.eR)(":leave, visible => hidden",[(0,d.jt)("0.075s linear",(0,d.oB)({opacity:0}))])]);let w=0;class D{constructor(fe,de){this.source=fe,this.option=de}}const P=new e.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function v(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}});let r=(()=>{class ye{get isOpen(){return this._isOpen&&this.showPanel}_setColor(de){this._color=de,this._setThemeClasses(this._classList)}set classList(de){this._classList=de&&de.length?(0,m.du)(de).reduce((Ce,le)=>(Ce[le]=!0,Ce),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(de){this._hideSingleSelectionIndicator=de,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const de of this.options)de._changeDetectorRef.markForCheck()}constructor(de,Ce,le,ge){this._changeDetectorRef=de,this._elementRef=Ce,this._defaults=le,this._activeOptionChanges=E.w0.EMPTY,this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden",this._animationDone=new e.vpe,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-"+w++,this.inertGroups=ge?.SAFARI||!1,this.autoActiveFirstOption=!!le.autoActiveFirstOption,this.autoSelectActiveOption=!!le.autoSelectActiveOption,this.requireSelection=!!le.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new M.s1(this.options).withWrap().skipPredicate(this._skipPredicate),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(),this._animationDone.complete()}_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 Ce=new D(this,de);this.optionSelected.emit(Ce)}_getPanelAriaLabelledby(de){return this.ariaLabel?null:this.ariaLabelledby?(de?de+" ":"")+this.ariaLabelledby:de}_setVisibilityClasses(de){de[this._visibleClass]=this.showPanel,de[this._hiddenClass]=!this.showPanel}_setThemeClasses(de){de["mat-primary"]="primary"===this._color,de["mat-warn"]="warn"===this._color,de["mat-accent"]="accent"===this._color}_skipPredicate(){return!1}static#e=this.\u0275fac=function(Ce){return new(Ce||ye)(e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(P),e.Y36(O.t4))};static#t=this.\u0275cmp=e.Xpm({type:ye,selectors:[["mat-autocomplete"]],contentQueries:function(Ce,le,ge){if(1&Ce&&(e.Suo(ge,t.ey,5),e.Suo(ge,t.K7,5)),2&Ce){let qe;e.iGM(qe=e.CRH())&&(le.options=qe),e.iGM(qe=e.CRH())&&(le.optionGroups=qe)}},viewQuery:function(Ce,le){if(1&Ce&&(e.Gf(e.Rgc,7),e.Gf(n,5)),2&Ce){let ge;e.iGM(ge=e.CRH())&&(le.template=ge.first),e.iGM(ge=e.CRH())&&(le.panel=ge.first)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-autocomplete"],inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:["autoActiveFirstOption","autoActiveFirstOption",e.VuI],autoSelectActiveOption:["autoSelectActiveOption","autoSelectActiveOption",e.VuI],requireSelection:["requireSelection","requireSelection",e.VuI],panelWidth:"panelWidth",disableRipple:["disableRipple","disableRipple",e.VuI],classList:["class","classList"],hideSingleSelectionIndicator:["hideSingleSelectionIndicator","hideSingleSelectionIndicator",e.VuI]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[e._Bn([{provide:t.HF,useExisting:ye}]),e.Xq5],ngContentSelectors:f,decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(Ce,le){1&Ce&&(e.F$t(),e.YNc(0,s,3,5,"ng-template"))},dependencies:[y.mk],styles:["div.mat-mdc-autocomplete-panel{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);width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[h]},changeDetection:0})}return ye})();const H={provide:K.JU,useExisting:(0,e.Gpc)(()=>je),multi:!0},te=new e.OlP("mat-autocomplete-scroll-strategy"),st={provide:te,deps:[l.aV],useFactory:function De(ye){return()=>ye.scrollStrategies.reposition()}};let je=(()=>{class ye{constructor(de,Ce,le,ge,qe,oe,ve,ce,Ge,Ze,wt){this._element=de,this._overlay=Ce,this._viewContainerRef=le,this._zone=ge,this._changeDetectorRef=qe,this._dir=ve,this._formField=ce,this._document=Ge,this._viewportRuler=Ze,this._defaults=wt,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=E.w0.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new x.x,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._aboveClass="mat-mdc-autocomplete-panel-above",this._overlayAttached=!1,this.optionSelections=(0,I.P)(()=>{const mt=this.autocomplete?this.autocomplete.options:null;return mt?mt.changes.pipe((0,ie.O)(mt),(0,ae.w)(()=>(0,k.T)(...mt.map(kt=>kt.onSelectionChange)))):this._zone.onStable.pipe((0,ue.q)(1),(0,ae.w)(()=>this.optionSelections))}),this._handlePanelKeydown=mt=>{(mt.keyCode===j.hY&&!(0,j.Vb)(mt)||mt.keyCode===j.LH&&(0,j.Vb)(mt,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),mt.stopPropagation(),mt.preventDefault())},this._trackedModal=null,this._scrollStrategy=oe}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(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel(),this._trackedModal&&(0,M.Zf)(this._trackedModal,"aria-owns",this.autocomplete.id)}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._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal)&&(0,M.iD)(this._trackedModal,"aria-owns",this.autocomplete.id)}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,k.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,re.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,re.h)(()=>this._overlayAttached)):(0,V.of)()).pipe((0,xe.U)(de=>de instanceof t.rN?de:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,k.T)((0,G.R)(this._document,"click"),(0,G.R)(this._document,"auxclick"),(0,G.R)(this._document,"touchend")).pipe((0,re.h)(de=>{const Ce=(0,O.sA)(de),le=this._formField?this._formField._elementRef.nativeElement:null,ge=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&Ce!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!le||!le.contains(Ce))&&(!ge||!ge.contains(Ce))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(Ce)}))}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 Ce=de.keyCode,le=(0,j.Vb)(de);if(Ce===j.hY&&!le&&de.preventDefault(),this.activeOption&&Ce===j.K5&&this.panelOpen&&!le)this.activeOption._selectViaInteraction(),this._resetActiveItem(),de.preventDefault();else if(this.autocomplete){const ge=this.autocomplete._keyManager.activeItem,qe=Ce===j.LH||Ce===j.JH;Ce===j.Mf||qe&&!le&&this.panelOpen?this.autocomplete._keyManager.onKeydown(de):qe&&this._canOpen()&&this.openPanel(),(qe||this.autocomplete._keyManager.activeItem!==ge)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(de){let Ce=de.target,le=Ce.value;"number"===Ce.type&&(le=""==le?null:parseFloat(le)),this._previousValue!==le&&(this._previousValue=le,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(le),le||this._clearPreviousSelectedOption(null,!1),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&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const de=this._zone.onStable.pipe((0,ue.q)(1)),Ce=this.autocomplete.options.changes.pipe((0,$.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,he.g)(0));return(0,k.T)(de,Ce).pipe((0,ae.w)(()=>(this._zone.run(()=>{const le=this.panelOpen;this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),le!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,ue.q)(1)).subscribe(le=>this._setValueAndClose(le))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(de){const Ce=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(de):de;this._updateNativeInputValue(Ce??"")}_updateNativeInputValue(de){de||this._clearPreviousSelectedOption(null,!1),this._formField?this._formField._control.value=de:this._element.nativeElement.value=de,this._previousValue=de}_setValueAndClose(de){const Ce=this.autocomplete,le=de?de.source:this._pendingAutoselectedOption;le?(this._clearPreviousSelectedOption(le),this._assignOptionValue(le.value),this._onChange(le.value),Ce._emitSelectEvent(le),this._element.nativeElement.focus()):Ce.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),Ce._animationDone?Ce._animationDone.pipe((0,ue.q)(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(de,Ce){this.autocomplete?.options?.forEach(le=>{le!==de&&le.selected&&le.deselect(Ce)})}_attachOverlay(){let de=this._overlayRef;de?(this._positionStrategy.setOrigin(this._getConnectedElement()),de.updateSize({width:this._getPanelWidth()})):(this._portal=new W.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),de=this._overlay.create(this._getOverlayConfig()),this._overlayRef=de,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&de&&de.updateSize({width:this._getPanelWidth()})})),de&&!de.hasAttached()&&(de.attach(this._portal),this._valueOnAttach=this._element.nativeElement.value,this._closingActionsSubscription=this._subscribeToClosingActions());const Ce=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&Ce!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const de=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=de.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=de.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new l.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,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 Ce=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],le=this._aboveClass,ge=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:le},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:le}];let qe;qe="above"===this.position?ge:"below"===this.position?Ce:[...Ce,...ge],de.withPositions(qe)}_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;if(de.autoActiveFirstOption){let Ce=-1;for(let le=0;le<de.options.length;le++)if(!de.options.get(le).disabled){Ce=le;break}de._keyManager.setActiveItem(Ce)}else 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 Ce=this.autocomplete,le=(0,t.CB)(de,Ce.options,Ce.optionGroups);if(0===de&&1===le)Ce._setScrollTop(0);else if(Ce.panel){const ge=Ce.options.toArray()[de];if(ge){const qe=ge._getHostElement(),oe=(0,t.jH)(qe.offsetTop,qe.offsetHeight,Ce._getScrollTop(),Ce.panel.nativeElement.offsetHeight);Ce._setScrollTop(oe)}}}_applyModalPanelOwnership(){const de=this._element.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!de)return;const Ce=this.autocomplete.id;this._trackedModal&&(0,M.iD)(this._trackedModal,"aria-owns",Ce),(0,M.Zf)(de,"aria-owns",Ce),this._trackedModal=de}_clearFromModal(){this._trackedModal&&((0,M.iD)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static#e=this.\u0275fac=function(Ce){return new(Ce||ye)(e.Y36(e.SBq),e.Y36(l.aV),e.Y36(e.s_b),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(te),e.Y36(S.Is,8),e.Y36(q.G_,9),e.Y36(y.K0,8),e.Y36(A.rL),e.Y36(P,8))};static#t=this.\u0275dir=e.lG2({type:ye,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(Ce,le){1&Ce&&e.NdJ("focusin",function(){return le._handleFocus()})("blur",function(){return le._onTouched()})("input",function(qe){return le._handleInput(qe)})("keydown",function(qe){return le._handleKeydown(qe)})("click",function(){return le._handleClick()}),2&Ce&&e.uIk("autocomplete",le.autocompleteAttribute)("role",le.autocompleteDisabled?null:"combobox")("aria-autocomplete",le.autocompleteDisabled?null:"list")("aria-activedescendant",le.panelOpen&&le.activeOption?le.activeOption.id:null)("aria-expanded",le.autocompleteDisabled?null:le.panelOpen.toString())("aria-controls",le.autocompleteDisabled||!le.panelOpen||null==le.autocomplete?null:le.autocomplete.id)("aria-haspopup",le.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled",e.VuI]},exportAs:["matAutocompleteTrigger"],features:[e._Bn([H]),e.Xq5,e.TTD]})}return ye})(),$e=(()=>{class ye{static#e=this.\u0275fac=function(Ce){return new(Ce||ye)};static#t=this.\u0275mod=e.oAB({type:ye});static#i=this.\u0275inj=e.cJS({providers:[st],imports:[l.U8,t.Ng,t.BQ,y.ez,A.ZD,t.Ng,t.BQ]})}return ye})()},9014:(He,X,p)=>{"use strict";p.d(X,{g:()=>O,k:()=>m});var e=p(9212),t=p(3680),y=p(4300),A=p(6814);let l=0;const M="mat-badge-content";let m=(()=>{class d{get color(){return this._color}set color(x){this._setColor(x),this._color=x}get content(){return this._content}set content(x){this._updateRenderedContent(x)}get description(){return this._description}set description(x){this._updateDescription(x)}constructor(x,I,k,V,G){this._ngZone=x,this._elementRef=I,this._ariaDescriber=k,this._renderer=V,this._animationMode=G,this._color="primary",this.overlap=!0,this.position="above after",this.size="medium",this._id=l++,this._isInitialized=!1,this._interactivityChecker=(0,e.f3M)(y.ic),this._document=(0,e.f3M)(A.K0)}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&(this._renderer.destroyNode(this._badgeElement),this._inlineBadgeDescription?.remove()),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_isHostInteractive(){return this._interactivityChecker.isFocusable(this._elementRef.nativeElement,{ignoreVisibility:!0})}_createBadgeElement(){const x=this._renderer.createElement("span"),I="mat-badge-active";return x.setAttribute("id",`mat-badge-content-${this._id}`),x.setAttribute("aria-hidden","true"),x.classList.add(M),"NoopAnimations"===this._animationMode&&x.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(x),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{x.classList.add(I)})}):x.classList.add(I),x}_updateRenderedContent(x){const I=`${x??""}`.trim();this._isInitialized&&I&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=I),this._content=I}_updateDescription(x){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),(!x||this._isHostInteractive())&&this._removeInlineDescription(),this._description=x,this._isHostInteractive()?this._ariaDescriber.describe(this._elementRef.nativeElement,x):this._updateInlineDescription()}_updateInlineDescription(){this._inlineBadgeDescription||(this._inlineBadgeDescription=this._document.createElement("span"),this._inlineBadgeDescription.classList.add("cdk-visually-hidden")),this._inlineBadgeDescription.textContent=this.description,this._badgeElement?.appendChild(this._inlineBadgeDescription)}_removeInlineDescription(){this._inlineBadgeDescription?.remove(),this._inlineBadgeDescription=void 0}_setColor(x){const I=this._elementRef.nativeElement.classList;I.remove(`mat-badge-${this._color}`),x&&I.add(`mat-badge-${x}`)}_clearExistingBadges(){const x=this._elementRef.nativeElement.querySelectorAll(`:scope > .${M}`);for(const I of Array.from(x))I!==this._badgeElement&&I.remove()}static#e=this.\u0275fac=function(I){return new(I||d)(e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(y.$s),e.Y36(e.Qsj),e.Y36(e.QbO,8))};static#t=this.\u0275dir=e.lG2({type:d,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(I,k){2&I&&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:{color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap",e.VuI],disabled:["matBadgeDisabled","disabled",e.VuI],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden",e.VuI]},features:[e.Xq5]})}return d})(),O=(()=>{class d{static#e=this.\u0275fac=function(I){return new(I||d)};static#t=this.\u0275mod=e.oAB({type:d});static#i=this.\u0275inj=e.cJS({imports:[y.rt,t.BQ,t.BQ]})}return d})()},2296:(He,X,p)=>{"use strict";p.d(X,{RK:()=>f,lW:()=>ae,nh:()=>S,ot:()=>w});var e=p(2831),t=p(9212),y=p(4300),A=p(3680);const l=["mat-button",""],M=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],m=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],x=["mat-mini-fab",""],k=["mat-icon-button",""],V=["*"],W=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}];let K=(()=>{class D{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(v){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,v)}get disableRipple(){return this._disableRipple}set disableRipple(v){this._disableRipple=v,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(v){this._disabled=v,this._updateRippleDisabled()}constructor(v,r,g,H){this._elementRef=v,this._platform=r,this._ngZone=g,this._animationMode=H,this._focusMonitor=(0,t.f3M)(y.tE),this._rippleLoader=(0,t.f3M)(A.Fq),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const N=this._elementRef.nativeElement,te=N.classList;for(const{attribute:De,mdcClasses:st}of W)N.hasAttribute(De)&&te.add(...st)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(v="program",r){v?this._focusMonitor.focusVia(this._elementRef.nativeElement,v,r):this._elementRef.nativeElement.focus(r)}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function(r){t.$Z()};static#t=this.\u0275dir=t.lG2({type:D,inputs:{color:"color",disableRipple:["disableRipple","disableRipple",t.VuI],disabled:["disabled","disabled",t.VuI]},features:[t.Xq5]})}return D})(),ae=(()=>{class D extends K{constructor(v,r,g,H){super(v,r,g,H)}static#e=this.\u0275fac=function(r){return new(r||D)(t.Y36(t.SBq),t.Y36(e.t4),t.Y36(t.R0b),t.Y36(t.QbO,8))};static#t=this.\u0275cmp=t.Xpm({type:D,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:9,hostBindings:function(r,g){2&r&&(t.uIk("disabled",g.disabled||null),t.Tol(g.color?"mat-"+g.color:""),t.ekj("_mat-animation-noopable","NoopAnimations"===g._animationMode)("mat-unthemed",!g.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[t.qOj],attrs:l,ngContentSelectors:m,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,g){1&r&&(t.F$t(M),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)),2&r&&t.ekj("mdc-button__ripple",!g._isFab)("mdc-fab__ripple",g._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);--mdc-text-button-container-shape:4px;--mdc-text-button-container-height:36px;--mdc-text-button-keep-touch-target:false}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);--mdc-filled-button-container-shape:4px;--mdc-filled-button-container-elevation:0;--mdc-filled-button-disabled-container-elevation:0;--mdc-filled-button-focus-container-elevation:0;--mdc-filled-button-hover-container-elevation:0;--mdc-filled-button-keep-touch-target:false;--mdc-filled-button-pressed-container-elevation:0}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);--mdc-protected-button-container-shape:4px;--mdc-protected-button-keep-touch-target:false}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled][disabled]{box-shadow:none}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);--mdc-outlined-button-keep-touch-target:false;--mdc-outlined-button-outline-width:1px;--mdc-outlined-button-container-shape:4px}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button .mat-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})}return D})();const re=new t.OlP("mat-mdc-fab-default-options",{providedIn:"root",factory:xe});function xe(){return{color:"accent"}}const $=xe();let S=(()=>{class D extends K{constructor(v,r,g,H,N){super(v,r,g,H),this._options=N,this._isFab=!0,this._options=this._options||$,this.color=this._options.color||$.color}static#e=this.\u0275fac=function(r){return new(r||D)(t.Y36(t.SBq),t.Y36(e.t4),t.Y36(t.R0b),t.Y36(t.QbO,8),t.Y36(re,8))};static#t=this.\u0275cmp=t.Xpm({type:D,selectors:[["button","mat-mini-fab",""]],hostVars:9,hostBindings:function(r,g){2&r&&(t.uIk("disabled",g.disabled||null),t.Tol(g.color?"mat-"+g.color:""),t.ekj("_mat-animation-noopable","NoopAnimations"===g._animationMode)("mat-unthemed",!g.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[t.qOj],attrs:x,ngContentSelectors:m,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,g){1&r&&(t.F$t(M),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)),2&r&&t.ekj("mdc-button__ripple",!g._isFab)("mdc-fab__ripple",g._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.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:hover{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)}.mdc-fab.mdc-ripple-upgraded--background-focused,.mdc-fab:not(.mdc-ripple-upgraded):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)}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus: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)}.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{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family);font-size:var(--mdc-typography-button-font-size);line-height:var(--mdc-typography-button-line-height);font-weight:var(--mdc-typography-button-font-weight);letter-spacing:var(--mdc-typography-button-letter-spacing);text-decoration:var(--mdc-typography-button-text-decoration);text-transform:var(--mdc-typography-button-text-transform);border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab,.mat-mdc-mini-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon,.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.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)}.mat-mdc-extended-fab{font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);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);flex-shrink:0;color:var(--mat-fab-foreground-color, inherit)}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-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-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.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);color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.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>.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})}return D})(),f=(()=>{class D extends K{constructor(v,r,g,H){super(v,r,g,H),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#e=this.\u0275fac=function(r){return new(r||D)(t.Y36(t.SBq),t.Y36(e.t4),t.Y36(t.R0b),t.Y36(t.QbO,8))};static#t=this.\u0275cmp=t.Xpm({type:D,selectors:[["button","mat-icon-button",""]],hostVars:9,hostBindings:function(r,g){2&r&&(t.uIk("disabled",g.disabled||null),t.Tol(g.color?"mat-"+g.color:""),t.ekj("_mat-animation-noopable","NoopAnimations"===g._animationMode)("mat-unthemed",!g.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[t.qOj],attrs:k,ngContentSelectors:V,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,g){1&r&&(t.F$t(),t._UZ(0,"span",0),t.Hsn(1),t._UZ(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;border-radius:50%;flex-shrink:0;text-align:center;font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return D})(),w=(()=>{class D{static#e=this.\u0275fac=function(r){return new(r||D)};static#t=this.\u0275mod=t.oAB({type:D});static#i=this.\u0275inj=t.cJS({imports:[A.BQ,A.si,A.BQ]})}return D})()},5195:(He,X,p)=>{"use strict";p.d(X,{$j:()=>V,QW:()=>$,a8:()=>E,dk:()=>j,dn:()=>k,n5:()=>x});var e=p(9212),t=p(6814),y=p(3680);const A=["*"],m=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],O=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],d=new e.OlP("MAT_CARD_CONFIG");let E=(()=>{class he{constructor(n){this.appearance=n?.appearance||"raised"}static#e=this.\u0275fac=function(s){return new(s||he)(e.Y36(d,8))};static#t=this.\u0275cmp=e.Xpm({type:he,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(s,f){2&s&&e.ekj("mat-mdc-card-outlined","outlined"===f.appearance)("mdc-card--outlined","outlined"===f.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:A,decls:1,vars:0,template:function(s,f){1&s&&(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{color:rgba(0, 0, 0, 0.6);flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mdc-card__action--icon:not(:disabled){color:rgba(0, 0, 0, 0.6)}.mat-mdc-card{border-radius:var(--mdc-elevated-card-container-shape);background-color:var(--mdc-elevated-card-container-color);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color);box-shadow:var(--mdc-elevated-card-container-elevation)}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape)}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width);border-style:solid;border-color:var(--mdc-outlined-card-outline-color);border-radius:var(--mdc-outlined-card-container-shape);background-color:var(--mdc-outlined-card-container-color);box-shadow:var(--mdc-outlined-card-container-elevation)}.mat-mdc-card-outlined .mdc-card::after{border-radius:var(--mdc-outlined-card-container-shape)}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font);line-height:var(--mat-card-title-text-line-height);font-size:var(--mat-card-title-text-size);letter-spacing:var(--mat-card-title-text-tracking);font-weight:var(--mat-card-title-text-weight)}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color);font-family:var(--mat-card-subtitle-text-font);line-height:var(--mat-card-subtitle-text-line-height);font-size:var(--mat-card-subtitle-text-size);letter-spacing:var(--mat-card-subtitle-text-tracking);font-weight:var(--mat-card-subtitle-text-weight)}.mat-mdc-card{position:relative}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0})}return he})(),x=(()=>{class he{static#e=this.\u0275fac=function(s){return new(s||he)};static#t=this.\u0275dir=e.lG2({type:he,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]})}return he})(),k=(()=>{class he{static#e=this.\u0275fac=function(s){return new(s||he)};static#t=this.\u0275dir=e.lG2({type:he,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]})}return he})(),V=(()=>{class he{static#e=this.\u0275fac=function(s){return new(s||he)};static#t=this.\u0275dir=e.lG2({type:he,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]})}return he})(),j=(()=>{class he{static#e=this.\u0275fac=function(s){return new(s||he)};static#t=this.\u0275cmp=e.Xpm({type:he,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:O,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(s,f){1&s&&(e.F$t(m),e.Hsn(0),e.TgZ(1,"div",0),e.Hsn(2,1),e.qZA(),e.Hsn(3,2))},encapsulation:2,changeDetection:0})}return he})(),$=(()=>{class he{static#e=this.\u0275fac=function(s){return new(s||he)};static#t=this.\u0275mod=e.oAB({type:he});static#i=this.\u0275inj=e.cJS({imports:[y.BQ,t.ez,y.BQ]})}return he})()},5986:(He,X,p)=>{"use strict";p.d(X,{oG:()=>k,p9:()=>W});var e=p(9212),t=p(6223),y=p(3680);const A=["input"],l=["label"],M=["*"],m=new e.OlP("mat-checkbox-default-options",{providedIn:"root",factory:O});function O(){return{color:"accent",clickAction:"check-indeterminate"}}const d={provide:t.JU,useExisting:(0,e.Gpc)(()=>k),multi:!0};class E{}let x=0;const I=O();let k=(()=>{class K{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(ie){const ae=new E;return ae.source=this,ae.checked=ie,ae}_getAnimationTargetElement(){return this._inputElement?.nativeElement}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(ie,ae,ue,re,xe,$){this._elementRef=ie,this._changeDetectorRef=ae,this._ngZone=ue,this._animationMode=xe,this._options=$,this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new e.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||I,this.color=this._options.color||I.color,this.tabIndex=parseInt(re)||0,this.id=this._uniqueId="mat-mdc-checkbox-"+ ++x}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(ie){ie!=this.checked&&(this._checked=ie,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(ie){ie!==this.disabled&&(this._disabled=ie,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(ie){const ae=ie!=this._indeterminate;this._indeterminate=ie,ae&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(ie){this.checked=!!ie}registerOnChange(ie){this._controlValueAccessorChangeFn=ie}registerOnTouched(ie){this._onTouched=ie}setDisabledState(ie){this.disabled=ie}_transitionCheckState(ie){let ae=this._currentCheckState,ue=this._getAnimationTargetElement();if(ae!==ie&&ue&&(this._currentAnimationClass&&ue.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(ae,ie),this._currentCheckState=ie,this._currentAnimationClass.length>0)){ue.classList.add(this._currentAnimationClass);const re=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{ue.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 ie=this._options?.clickAction;this.disabled||"noop"===ie?!this.disabled&&"noop"===ie&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==ie&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(ie){ie.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(ie,ae){if("NoopAnimations"===this._animationMode)return"";switch(ie){case 0:if(1===ae)return this._animationClasses.uncheckedToChecked;if(3==ae)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===ae?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===ae?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===ae?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(ie){const ae=this._inputElement;ae&&(ae.nativeElement.indeterminate=ie)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(ie){ie.target&&this._labelElement.nativeElement.contains(ie.target)&&ie.stopPropagation()}static#e=this.\u0275fac=function(ae){return new(ae||K)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.$8M("tabindex"),e.Y36(e.QbO,8),e.Y36(m,8))};static#t=this.\u0275cmp=e.Xpm({type:K,selectors:[["mat-checkbox"]],viewQuery:function(ae,ue){if(1&ae&&(e.Gf(A,5),e.Gf(l,5),e.Gf(y.wG,5)),2&ae){let re;e.iGM(re=e.CRH())&&(ue._inputElement=re.first),e.iGM(re=e.CRH())&&(ue._labelElement=re.first),e.iGM(re=e.CRH())&&(ue.ripple=re.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:14,hostBindings:function(ae,ue){2&ae&&(e.Ikx("id",ue.id),e.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),e.Tol(ue.color?"mat-"+ue.color:"mat-accent"),e.ekj("_mat-animation-noopable","NoopAnimations"===ue._animationMode)("mdc-checkbox--disabled",ue.disabled)("mat-mdc-checkbox-disabled",ue.disabled)("mat-mdc-checkbox-checked",ue.checked))},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:["required","required",e.VuI],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:["disableRipple","disableRipple",e.VuI],tabIndex:["tabIndex","tabIndex",ie=>null==ie?void 0:(0,e.Cb_)(ie)],color:"color",checked:["checked","checked",e.VuI],disabled:["disabled","disabled",e.VuI],indeterminate:["indeterminate","indeterminate",e.VuI]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[e._Bn([d]),e.Xq5],ngContentSelectors:M,decls:15,vars:20,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","indeterminate","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"],["label",""]],template:function(ae,ue){if(1&ae&&(e.F$t(),e.TgZ(0,"div",0),e.NdJ("click",function(xe){return ue._preventBubblingFromLabel(xe)}),e.TgZ(1,"div",1,2)(3,"div",3),e.NdJ("click",function(){return ue._onTouchTargetClick()}),e.qZA(),e.TgZ(4,"input",4,5),e.NdJ("blur",function(){return ue._onBlur()})("click",function(){return ue._onInputClick()})("change",function(xe){return ue._onInteractionEvent(xe)}),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&ae){const re=e.MAs(2);e.ekj("mdc-form-field--align-end","before"==ue.labelPosition),e.xp6(4),e.ekj("mdc-checkbox--selected",ue.checked),e.Q6J("checked",ue.checked)("indeterminate",ue.indeterminate)("disabled",ue.disabled)("id",ue.inputId)("required",ue.required)("tabIndex",ue.disabled?-1:ue.tabIndex),e.uIk("aria-label",ue.ariaLabel||null)("aria-labelledby",ue.ariaLabelledby)("aria-describedby",ue.ariaDescribedby)("aria-checked",ue.indeterminate?"mixed":null)("name",ue.name)("value",ue.value),e.xp6(7),e.Q6J("matRippleTrigger",re)("matRippleDisabled",ue.disableRipple||ue.disabled)("matRippleCentered",!0),e.xp6(1),e.Q6J("for",ue.inputId)}},dependencies:[y.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) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-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-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return K})(),j=(()=>{class K{static#e=this.\u0275fac=function(ae){return new(ae||K)};static#t=this.\u0275mod=e.oAB({type:K});static#i=this.\u0275inj=e.cJS({})}return K})(),W=(()=>{class K{static#e=this.\u0275fac=function(ae){return new(ae||K)};static#t=this.\u0275mod=e.oAB({type:K});static#i=this.\u0275inj=e.cJS({imports:[y.BQ,y.si,j,y.BQ,j]})}return K})()},2557:(He,X,p)=>{"use strict";p.d(X,{HS:()=>de,Hi:()=>ct});var e=p(2495),t=p(9212),y=p(6814),A=p(3680),l=p(4300),M=p(8645),m=p(3019),O=p(8180),I=(p(9773),p(7921),p(4664),p(6028));function j(Qe,Et){1&Qe&&(t.TgZ(0,"span",7),t.Hsn(1,1),t.qZA())}function W(Qe,Et){1&Qe&&(t.TgZ(0,"span",8),t.Hsn(1,2),t.qZA())}p(9388),p(6223),p(5683);const K=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],q=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],P=new t.OlP("mat-chips-default-options"),v=new t.OlP("MatChipAvatar"),r=new t.OlP("MatChipTrailingIcon"),g=new t.OlP("MatChipRemove"),H=new t.OlP("MatChip");class N{}const te=(0,A.sb)(N,-1);let De=(()=>{class Qe extends te{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(lt){this._disabled=(0,e.Ig)(lt)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(lt,Ke){super(),this._elementRef=lt,this._parentChip=Ke,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===lt.nativeElement.nodeName&&lt.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(lt){!this.disabled&&this.isInteractive&&this._isPrimary&&(lt.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(lt){(lt.keyCode===I.K5||lt.keyCode===I.L_)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(lt.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static#e=this.\u0275fac=function(Ke){return new(Ke||Qe)(t.Y36(t.SBq),t.Y36(H))};static#t=this.\u0275dir=t.lG2({type:Qe,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(Ke,Be){1&Ke&&t.NdJ("click",function(J){return Be._handleClick(J)})("keydown",function(J){return Be._handleKeydown(J)}),2&Ke&&(t.uIk("tabindex",Be._getTabindex())("disabled",Be._getDisabledAttribute())("aria-disabled",Be.disabled),t.ekj("mdc-evolution-chip__action--primary",Be._isPrimary)("mdc-evolution-chip__action--presentational",!Be.isInteractive)("mdc-evolution-chip__action--trailing",!Be._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[t.qOj]})}return Qe})(),ye=0;const fe=(0,A.sb)((0,A.pj)((0,A.Kr)((0,A.Id)(class{constructor(Qe){this._elementRef=Qe}})),"primary"),-1);let de=(()=>{class Qe extends fe{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(lt){this._value=lt}get removable(){return this._removable}set removable(lt){this._removable=(0,e.Ig)(lt)}get highlighted(){return this._highlighted}set highlighted(lt){this._highlighted=(0,e.Ig)(lt)}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(lt){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,lt)}constructor(lt,Ke,Be,Xt,J,We,Ft,Ct){super(Ke),this._changeDetectorRef=lt,this._ngZone=Be,this._focusMonitor=Xt,this._globalRippleOptions=Ft,this._onFocus=new M.x,this._onBlur=new M.x,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+ye++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._removable=!0,this._highlighted=!1,this.removed=new t.vpe,this.destroyed=new t.vpe,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=(0,t.f3M)(A.Fq),this._document=J,this._animationsDisabled="NoopAnimations"===We,null!=Ct&&(this.tabIndex=parseInt(Ct)??this.defaultTabIndex),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){const lt=this._elementRef.nativeElement;this._isBasicChip=lt.hasAttribute(this.basicChipAttrName)||lt.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=(0,m.T)(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(lt){(lt.keyCode===I.ZH||lt.keyCode===I.yY)&&(lt.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(lt){return this._getActions().find(Ke=>{const Be=Ke._elementRef.nativeElement;return Be===lt||Be.contains(lt)})}_getActions(){const lt=[];return this.primaryAction&&lt.push(this.primaryAction),this.removeIcon&&lt.push(this.removeIcon),this.trailingIcon&&lt.push(this.trailingIcon),lt}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(lt=>{const Ke=null!==lt;Ke!==this._hasFocusInternal&&(this._hasFocusInternal=Ke,Ke?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe((0,O.q)(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}static#e=this.\u0275fac=function(Ke){return new(Ke||Qe)(t.Y36(t.sBO),t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(l.tE),t.Y36(y.K0),t.Y36(t.QbO,8),t.Y36(A.Y2,8),t.$8M("tabindex"))};static#t=this.\u0275cmp=t.Xpm({type:Qe,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(Ke,Be,Xt){if(1&Ke&&(t.Suo(Xt,v,5),t.Suo(Xt,r,5),t.Suo(Xt,g,5),t.Suo(Xt,v,5),t.Suo(Xt,r,5),t.Suo(Xt,g,5)),2&Ke){let J;t.iGM(J=t.CRH())&&(Be.leadingIcon=J.first),t.iGM(J=t.CRH())&&(Be.trailingIcon=J.first),t.iGM(J=t.CRH())&&(Be.removeIcon=J.first),t.iGM(J=t.CRH())&&(Be._allLeadingIcons=J),t.iGM(J=t.CRH())&&(Be._allTrailingIcons=J),t.iGM(J=t.CRH())&&(Be._allRemoveIcons=J)}},viewQuery:function(Ke,Be){if(1&Ke&&t.Gf(De,5),2&Ke){let Xt;t.iGM(Xt=t.CRH())&&(Be.primaryAction=Xt.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(Ke,Be){1&Ke&&t.NdJ("keydown",function(J){return Be._handleKeydown(J)}),2&Ke&&(t.Ikx("id",Be.id),t.uIk("role",Be.role)("tabindex",Be.role?Be.tabIndex:null)("aria-label",Be.ariaLabel),t.ekj("mdc-evolution-chip",!Be._isBasicChip)("mdc-evolution-chip--disabled",Be.disabled)("mdc-evolution-chip--with-trailing-action",Be._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",Be.leadingIcon)("mdc-evolution-chip--with-primary-icon",Be.leadingIcon)("mdc-evolution-chip--with-avatar",Be.leadingIcon)("mat-mdc-chip-with-avatar",Be.leadingIcon)("mat-mdc-chip-highlighted",Be.highlighted)("mat-mdc-chip-disabled",Be.disabled)("mat-mdc-basic-chip",Be._isBasicChip)("mat-mdc-standard-chip",!Be._isBasicChip)("mat-mdc-chip-with-trailing-icon",Be._hasTrailingIcon())("_mat-animation-noopable",Be._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaDescription:["aria-description","ariaDescription"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[t._Bn([{provide:H,useExisting:Qe}]),t.qOj],ngContentSelectors:q,decls:8,vars:3,consts:[[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"],[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"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(Ke,Be){1&Ke&&(t.F$t(K),t._UZ(0,"span",0),t.TgZ(1,"span",1)(2,"span",2),t.YNc(3,j,2,0,"span",3),t.TgZ(4,"span",4),t.Hsn(5),t._UZ(6,"span",5),t.qZA()()(),t.YNc(7,W,2,0,"span",6)),2&Ke&&(t.xp6(2),t.Q6J("isInteractive",!1),t.xp6(1),t.um2(3,Be.leadingIcon?3:-1),t.xp6(4),t.um2(7,Be._hasTrailingIcon()?7:-1))},dependencies:[De],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.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}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--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{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove{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})}return Qe})(),ct=(()=>{class Qe{static#e=this.\u0275fac=function(Ke){return new(Ke||Qe)};static#t=this.\u0275mod=t.oAB({type:Qe});static#i=this.\u0275inj=t.cJS({providers:[A.rD,{provide:P,useValue:{separatorKeyCodes:[I.K5]}}],imports:[A.BQ,A.si,A.BQ]})}return Qe})()},3680:(He,X,p)=>{"use strict";p.d(X,{yN:()=>ie,mZ:()=>ae,_A:()=>r,rD:()=>ye,sG:()=>g,Ad:()=>P,K7:()=>Et,HF:()=>ct,Y2:()=>Ae,BQ:()=>xe,uc:()=>le,XK:()=>je,ey:()=>Xt,Ng:()=>Ft,rN:()=>Be,us:()=>ke,wG:()=>ze,Fq:()=>Ue,si:()=>nt,LF:()=>te,IR:()=>mt,CB:()=>J,jH:()=>We,pj:()=>s,Kr:()=>f,Id:()=>n,FD:()=>w,dB:()=>D,sb:()=>h});var e=p(9212),t=p(4300),y=p(9388),l=p(6814),M=p(2831),m=p(2495),O=p(5592),d=p(8645),E=p(6028);const k=["text"];function V(Je,_t){if(1&Je&&e._UZ(0,"mat-pseudo-checkbox",6),2&Je){const Le=e.oxw();e.Q6J("disabled",Le.disabled)("state",Le.selected?"checked":"unchecked")}}function G(Je,_t){if(1&Je&&e._UZ(0,"mat-pseudo-checkbox",7),2&Je){const Le=e.oxw();e.Q6J("disabled",Le.disabled)}}function j(Je,_t){if(1&Je&&(e.TgZ(0,"span",8),e._uU(1),e.qZA()),2&Je){const Le=e.oxw();e.xp6(1),e.hij("(",Le.group.label,")")}}const W=[[["mat-icon"]],"*"],K=["mat-icon","*"];let ie=(()=>{class Je{static#e=this.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)";static#t=this.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)";static#i=this.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)";static#n=this.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)"}return Je})(),ae=(()=>{class Je{static#e=this.COMPLEX="375ms";static#t=this.ENTERING="225ms";static#i=this.EXITING="195ms"}return Je})();const re=new e.OlP("mat-sanity-checks",{providedIn:"root",factory:function ue(){return!0}});let xe=(()=>{class Je{constructor(Le,be,ee){this._sanityChecks=be,this._document=ee,this._hasDoneGlobalChecks=!1,Le._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(Le){return!(0,M.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[Le])}static#e=this.\u0275fac=function(be){return new(be||Je)(e.LFG(t.qm),e.LFG(re,8),e.LFG(l.K0))};static#t=this.\u0275mod=e.oAB({type:Je});static#i=this.\u0275inj=e.cJS({imports:[y.vT,y.vT]})}return Je})();function n(Je){return class extends Je{get disabled(){return this._disabled}set disabled(_t){this._disabled=(0,m.Ig)(_t)}constructor(..._t){super(..._t),this._disabled=!1}}}function s(Je,_t){return class extends Je{get color(){return this._color}set color(Le){const be=Le||this.defaultColor;be!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),be&&this._elementRef.nativeElement.classList.add(`mat-${be}`),this._color=be)}constructor(...Le){super(...Le),this.defaultColor=_t,this.color=_t}}}function f(Je){return class extends Je{get disableRipple(){return this._disableRipple}set disableRipple(_t){this._disableRipple=(0,m.Ig)(_t)}constructor(..._t){super(..._t),this._disableRipple=!1}}}function h(Je,_t=0){return class extends Je{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(Le){this._tabIndex=null!=Le?(0,m.su)(Le):this.defaultTabIndex}constructor(...Le){super(...Le),this._tabIndex=_t,this.defaultTabIndex=_t}}}function w(Je){return class extends Je{updateErrorState(){const _t=this.errorState,ne=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);ne!==_t&&(this.errorState=ne,this.stateChanges.next())}constructor(..._t){super(..._t),this.errorState=!1}}}function D(Je){return class extends Je{constructor(..._t){super(..._t),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new O.y(Le=>{this._isInitialized?this._notifySubscriber(Le):this._pendingSubscribers.push(Le)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(_t){_t.next(),_t.complete()}}}const P=new e.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function v(){return(0,e.f3M)(e.soG)}});class r{constructor(){this._localeChanges=new d.x,this.localeChanges=this._localeChanges}getValidDateOrNull(_t){return this.isDateInstance(_t)&&this.isValid(_t)?_t:null}deserialize(_t){return null==_t||this.isDateInstance(_t)&&this.isValid(_t)?_t:this.invalid()}setLocale(_t){this.locale=_t,this._localeChanges.next()}compareDate(_t,Le){return this.getYear(_t)-this.getYear(Le)||this.getMonth(_t)-this.getMonth(Le)||this.getDate(_t)-this.getDate(Le)}sameDate(_t,Le){if(_t&&Le){let be=this.isValid(_t),ee=this.isValid(Le);return be&&ee?!this.compareDate(_t,Le):be==ee}return _t==Le}clampDate(_t,Le,be){return Le&&this.compareDate(_t,Le)<0?Le:be&&this.compareDate(_t,be)>0?be:_t}}const g=new e.OlP("mat-date-formats"),H=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function N(Je,_t){const Le=Array(Je);for(let be=0;be<Je;be++)Le[be]=_t(be);return Le}let te=(()=>{class Je extends r{constructor(Le){super(),this.useUtcForDisplay=!1,this._matDateLocale=(0,e.f3M)(P,{optional:!0}),void 0!==Le&&(this._matDateLocale=Le),super.setLocale(this._matDateLocale)}getYear(Le){return Le.getFullYear()}getMonth(Le){return Le.getMonth()}getDate(Le){return Le.getDate()}getDayOfWeek(Le){return Le.getDay()}getMonthNames(Le){const be=new Intl.DateTimeFormat(this.locale,{month:Le,timeZone:"utc"});return N(12,ee=>this._format(be,new Date(2017,ee,1)))}getDateNames(){const Le=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return N(31,be=>this._format(Le,new Date(2017,0,be+1)))}getDayOfWeekNames(Le){const be=new Intl.DateTimeFormat(this.locale,{weekday:Le,timeZone:"utc"});return N(7,ee=>this._format(be,new Date(2017,0,ee+1)))}getYearName(Le){const be=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(be,Le)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(Le){return this.getDate(this._createDateWithOverflow(this.getYear(Le),this.getMonth(Le)+1,0))}clone(Le){return new Date(Le.getTime())}createDate(Le,be,ee){let ne=this._createDateWithOverflow(Le,be,ee);return ne.getMonth(),ne}today(){return new Date}parse(Le,be){return"number"==typeof Le?new Date(Le):Le?new Date(Date.parse(Le)):null}format(Le,be){if(!this.isValid(Le))throw Error("NativeDateAdapter: Cannot format invalid date.");const ee=new Intl.DateTimeFormat(this.locale,{...be,timeZone:"utc"});return this._format(ee,Le)}addCalendarYears(Le,be){return this.addCalendarMonths(Le,12*be)}addCalendarMonths(Le,be){let ee=this._createDateWithOverflow(this.getYear(Le),this.getMonth(Le)+be,this.getDate(Le));return this.getMonth(ee)!=((this.getMonth(Le)+be)%12+12)%12&&(ee=this._createDateWithOverflow(this.getYear(ee),this.getMonth(ee),0)),ee}addCalendarDays(Le,be){return this._createDateWithOverflow(this.getYear(Le),this.getMonth(Le),this.getDate(Le)+be)}toIso8601(Le){return[Le.getUTCFullYear(),this._2digit(Le.getUTCMonth()+1),this._2digit(Le.getUTCDate())].join("-")}deserialize(Le){if("string"==typeof Le){if(!Le)return null;if(H.test(Le)){let be=new Date(Le);if(this.isValid(be))return be}}return super.deserialize(Le)}isDateInstance(Le){return Le instanceof Date}isValid(Le){return!isNaN(Le.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(Le,be,ee){const ne=new Date;return ne.setFullYear(Le,be,ee),ne.setHours(0,0,0,0),ne}_2digit(Le){return("00"+Le).slice(-2)}_format(Le,be){const ee=new Date;return ee.setUTCFullYear(be.getFullYear(),be.getMonth(),be.getDate()),ee.setUTCHours(be.getHours(),be.getMinutes(),be.getSeconds(),be.getMilliseconds()),Le.format(ee)}static#e=this.\u0275fac=function(be){return new(be||Je)(e.LFG(P,8))};static#t=this.\u0275prov=e.Yz7({token:Je,factory:Je.\u0275fac})}return Je})();const De={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let st=(()=>{class Je{static#e=this.\u0275fac=function(be){return new(be||Je)};static#t=this.\u0275mod=e.oAB({type:Je});static#i=this.\u0275inj=e.cJS({providers:[{provide:r,useClass:te}]})}return Je})(),je=(()=>{class Je{static#e=this.\u0275fac=function(be){return new(be||Je)};static#t=this.\u0275mod=e.oAB({type:Je});static#i=this.\u0275inj=e.cJS({providers:[{provide:g,useValue:De}],imports:[st]})}return Je})(),ye=(()=>{class Je{isErrorState(Le,be){return!!(Le&&Le.invalid&&(Le.touched||be&&be.submitted))}static#e=this.\u0275fac=function(be){return new(be||Je)};static#t=this.\u0275prov=e.Yz7({token:Je,factory:Je.\u0275fac,providedIn:"root"})}return Je})(),le=(()=>{class Je{static#e=this.\u0275fac=function(be){return new(be||Je)};static#t=this.\u0275mod=e.oAB({type:Je});static#i=this.\u0275inj=e.cJS({imports:[xe,xe]})}return Je})();class ge{constructor(_t,Le,be,ee=!1){this._renderer=_t,this.element=Le,this.config=be,this._animationForciblyDisabledThroughCss=ee,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const qe=(0,M.i$)({passive:!0,capture:!0});class oe{constructor(){this._events=new Map,this._delegateEventHandler=_t=>{const Le=(0,M.sA)(_t);Le&&this._events.get(_t.type)?.forEach((be,ee)=>{(ee===Le||ee.contains(Le))&&be.forEach(ne=>ne.handleEvent(_t))})}}addHandler(_t,Le,be,ee){const ne=this._events.get(Le);if(ne){const Ie=ne.get(be);Ie?Ie.add(ee):ne.set(be,new Set([ee]))}else this._events.set(Le,new Map([[be,new Set([ee])]])),_t.runOutsideAngular(()=>{document.addEventListener(Le,this._delegateEventHandler,qe)})}removeHandler(_t,Le,be){const ee=this._events.get(_t);if(!ee)return;const ne=ee.get(Le);ne&&(ne.delete(be),0===ne.size&&ee.delete(Le),0===ee.size&&(this._events.delete(_t),document.removeEventListener(_t,this._delegateEventHandler,qe)))}}const ve={enterDuration:225,exitDuration:150},Ge=(0,M.i$)({passive:!0,capture:!0}),Ze=["mousedown","touchstart"],wt=["mouseup","mouseleave","touchend","touchcancel"];class mt{static#e=this._eventManager=new oe;constructor(_t,Le,be,ee){this._target=_t,this._ngZone=Le,this._platform=ee,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,ee.isBrowser&&(this._containerElement=(0,m.fI)(be))}fadeInRipple(_t,Le,be={}){const ee=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),ne={...ve,...be.animation};be.centered&&(_t=ee.left+ee.width/2,Le=ee.top+ee.height/2);const Ie=be.radius||function kt(Je,_t,Le){const be=Math.max(Math.abs(Je-Le.left),Math.abs(Je-Le.right)),ee=Math.max(Math.abs(_t-Le.top),Math.abs(_t-Le.bottom));return Math.sqrt(be*be+ee*ee)}(_t,Le,ee),Ht=_t-ee.left,At=Le-ee.top,Zt=ne.enterDuration,pi=document.createElement("div");pi.classList.add("mat-ripple-element"),pi.style.left=Ht-Ie+"px",pi.style.top=At-Ie+"px",pi.style.height=2*Ie+"px",pi.style.width=2*Ie+"px",null!=be.color&&(pi.style.backgroundColor=be.color),pi.style.transitionDuration=`${Zt}ms`,this._containerElement.appendChild(pi);const Jt=window.getComputedStyle(pi),Hi=Jt.transitionDuration,di="none"===Jt.transitionProperty||"0s"===Hi||"0s, 0s"===Hi||0===ee.width&&0===ee.height,fi=new ge(this,pi,be,di);pi.style.transform="scale3d(1, 1, 1)",fi.state=0,be.persistent||(this._mostRecentTransientRipple=fi);let un=null;return!di&&(Zt||ne.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Qi=()=>this._finishRippleTransition(fi),xi=()=>this._destroyRipple(fi);pi.addEventListener("transitionend",Qi),pi.addEventListener("transitioncancel",xi),un={onTransitionEnd:Qi,onTransitionCancel:xi}}),this._activeRipples.set(fi,un),(di||!Zt)&&this._finishRippleTransition(fi),fi}fadeOutRipple(_t){if(2===_t.state||3===_t.state)return;const Le=_t.element,be={...ve,..._t.config.animation};Le.style.transitionDuration=`${be.exitDuration}ms`,Le.style.opacity="0",_t.state=2,(_t._animationForciblyDisabledThroughCss||!be.exitDuration)&&this._finishRippleTransition(_t)}fadeOutAll(){this._getActiveRipples().forEach(_t=>_t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(_t=>{_t.config.persistent||_t.fadeOut()})}setupTriggerEvents(_t){const Le=(0,m.fI)(_t);!this._platform.isBrowser||!Le||Le===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=Le,Ze.forEach(be=>{mt._eventManager.addHandler(this._ngZone,be,Le,this)}))}handleEvent(_t){"mousedown"===_t.type?this._onMousedown(_t):"touchstart"===_t.type?this._onTouchStart(_t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{wt.forEach(Le=>{this._triggerElement.addEventListener(Le,this,Ge)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(_t){0===_t.state?this._startFadeOutTransition(_t):2===_t.state&&this._destroyRipple(_t)}_startFadeOutTransition(_t){const Le=_t===this._mostRecentTransientRipple,{persistent:be}=_t.config;_t.state=1,!be&&(!Le||!this._isPointerDown)&&_t.fadeOut()}_destroyRipple(_t){const Le=this._activeRipples.get(_t)??null;this._activeRipples.delete(_t),this._activeRipples.size||(this._containerRect=null),_t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),_t.state=3,null!==Le&&(_t.element.removeEventListener("transitionend",Le.onTransitionEnd),_t.element.removeEventListener("transitioncancel",Le.onTransitionCancel)),_t.element.remove()}_onMousedown(_t){const Le=(0,t.X6)(_t),be=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!Le&&!be&&(this._isPointerDown=!0,this.fadeInRipple(_t.clientX,_t.clientY,this._target.rippleConfig))}_onTouchStart(_t){if(!this._target.rippleDisabled&&!(0,t.yG)(_t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const Le=_t.changedTouches;if(Le)for(let be=0;be<Le.length;be++)this.fadeInRipple(Le[be].clientX,Le[be].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(_t=>{!_t.config.persistent&&(1===_t.state||_t.config.terminateOnPointerUp&&0===_t.state)&&_t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const _t=this._triggerElement;_t&&(Ze.forEach(Le=>mt._eventManager.removeHandler(Le,_t,this)),this._pointerUpEventsRegistered&&wt.forEach(Le=>_t.removeEventListener(Le,this,Ge)))}}const Ae=new e.OlP("mat-ripple-global-options");let ze=(()=>{class Je{get disabled(){return this._disabled}set disabled(Le){Le&&this.fadeOutAllNonPersistent(),this._disabled=Le,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(Le){this._trigger=Le,this._setupTriggerEventsIfEnabled()}constructor(Le,be,ee,ne,Ie){this._elementRef=Le,this._animationMode=Ie,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=ne||{},this._rippleRenderer=new mt(this,be,Le,ee)}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(Le,be=0,ee){return"number"==typeof Le?this._rippleRenderer.fadeInRipple(Le,be,{...this.rippleConfig,...ee}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...Le})}static#e=this.\u0275fac=function(be){return new(be||Je)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(M.t4),e.Y36(Ae,8),e.Y36(e.QbO,8))};static#t=this.\u0275dir=e.lG2({type:Je,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(be,ee){2&be&&e.ekj("mat-ripple-unbounded",ee.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return Je})(),nt=(()=>{class Je{static#e=this.\u0275fac=function(be){return new(be||Je)};static#t=this.\u0275mod=e.oAB({type:Je});static#i=this.\u0275inj=e.cJS({imports:[xe,xe]})}return Je})(),et=(()=>{class Je{constructor(Le){this._animationMode=Le,this.state="unchecked",this.disabled=!1,this.appearance="full"}static#e=this.\u0275fac=function(be){return new(be||Je)(e.Y36(e.QbO,8))};static#t=this.\u0275cmp=e.Xpm({type:Je,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(be,ee){2&be&&e.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===ee.state)("mat-pseudo-checkbox-checked","checked"===ee.state)("mat-pseudo-checkbox-disabled",ee.disabled)("mat-pseudo-checkbox-minimal","minimal"===ee.appearance)("mat-pseudo-checkbox-full","full"===ee.appearance)("_mat-animation-noopable","NoopAnimations"===ee._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(be,ee){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}return Je})(),ke=(()=>{class Je{static#e=this.\u0275fac=function(be){return new(be||Je)};static#t=this.\u0275mod=e.oAB({type:Je});static#i=this.\u0275inj=e.cJS({imports:[xe]})}return Je})();const ct=new e.OlP("MAT_OPTION_PARENT_COMPONENT"),Et=new e.OlP("MatOptgroup");let Ke=0;class Be{constructor(_t,Le=!1){this.source=_t,this.isUserInput=Le}}let Xt=(()=>{class Je{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(Le){this._disabled=Le}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(Le,be,ee,ne){this._element=Le,this._changeDetectorRef=be,this._parent=ee,this.group=ne,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Ke++,this.onSelectionChange=new e.vpe,this._stateChanges=new d.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(Le=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),Le&&this._emitSelectionChangeEvent())}deselect(Le=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),Le&&this._emitSelectionChangeEvent())}focus(Le,be){const ee=this._getHostElement();"function"==typeof ee.focus&&ee.focus(be)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(Le){(Le.keyCode===E.K5||Le.keyCode===E.L_)&&!(0,E.Vb)(Le)&&(this._selectViaInteraction(),Le.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const Le=this.viewValue;Le!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=Le)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(Le=!1){this.onSelectionChange.emit(new Be(this,Le))}static#e=this.\u0275fac=function(be){return new(be||Je)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(ct,8),e.Y36(Et,8))};static#t=this.\u0275cmp=e.Xpm({type:Je,selectors:[["mat-option"]],viewQuery:function(be,ee){if(1&be&&e.Gf(k,7),2&be){let ne;e.iGM(ne=e.CRH())&&(ee._text=ne.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(be,ee){1&be&&e.NdJ("click",function(){return ee._selectViaInteraction()})("keydown",function(Ie){return ee._handleKeydown(Ie)}),2&be&&(e.Ikx("id",ee.id),e.uIk("aria-selected",ee.selected)("aria-disabled",ee.disabled.toString()),e.ekj("mdc-list-item--selected",ee.selected)("mat-mdc-option-multiple",ee.multiple)("mat-mdc-option-active",ee.active)("mdc-list-item--disabled",ee.disabled))},inputs:{value:"value",id:"id",disabled:["disabled","disabled",e.VuI]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],features:[e.Xq5],ngContentSelectors:K,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled"],["class","cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(be,ee){1&be&&(e.F$t(W),e.YNc(0,V,1,2,"mat-pseudo-checkbox",0),e.Hsn(1),e.TgZ(2,"span",1,2),e.Hsn(4,1),e.qZA(),e.YNc(5,G,1,1,"mat-pseudo-checkbox",3)(6,j,2,1,"span",4),e._UZ(7,"div",5)),2&be&&(e.um2(0,ee.multiple?0:-1),e.xp6(5),e.um2(5,ee.multiple||!ee.selected||ee.hideSingleSelectionIndicator?-1:5),e.xp6(1),e.um2(6,ee.group&&ee.group._inert?6:-1),e.xp6(1),e.Q6J("matRippleTrigger",ee._getHostElement())("matRippleDisabled",ee.disabled||ee.disableRipple))},dependencies:[ze,et],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return Je})();function J(Je,_t,Le){if(Le.length){let be=_t.toArray(),ee=Le.toArray(),ne=0;for(let Ie=0;Ie<Je+1;Ie++)be[Ie].group&&be[Ie].group===ee[ne]&&ne++;return ne}return 0}function We(Je,_t,Le,be){return Je<Le?Je:Je+_t>Le+be?Math.max(0,Je-be+_t):Le}let Ft=(()=>{class Je{static#e=this.\u0275fac=function(be){return new(be||Je)};static#t=this.\u0275mod=e.oAB({type:Je});static#i=this.\u0275inj=e.cJS({imports:[nt,xe,ke]})}return Je})();const Ct={capture:!0},Pt=["focus","click","mouseenter","touchstart"],xt="mat-ripple-loader-uninitialized",rt="mat-ripple-loader-class-name",Ee="mat-ripple-loader-centered",it="mat-ripple-loader-disabled";let Ue=(()=>{class Je{constructor(){this._document=(0,e.f3M)(l.K0,{optional:!0}),this._animationMode=(0,e.f3M)(e.QbO,{optional:!0}),this._globalRippleOptions=(0,e.f3M)(Ae,{optional:!0}),this._platform=(0,e.f3M)(M.t4),this._ngZone=(0,e.f3M)(e.R0b),this._onInteraction=Le=>{if(!(Le.target instanceof HTMLElement))return;const ee=Le.target.closest(`[${xt}]`);ee&&this.createRipple(ee)},this._ngZone.runOutsideAngular(()=>{for(const Le of Pt)this._document?.addEventListener(Le,this._onInteraction,Ct)})}ngOnDestroy(){for(const Le of Pt)this._document?.removeEventListener(Le,this._onInteraction,Ct)}configureRipple(Le,be){Le.setAttribute(xt,""),(be.className||!Le.hasAttribute(rt))&&Le.setAttribute(rt,be.className||""),be.centered&&Le.setAttribute(Ee,""),be.disabled&&Le.setAttribute(it,"")}getRipple(Le){return Le.matRipple?Le.matRipple:this.createRipple(Le)}setDisabled(Le,be){const ee=Le.matRipple;ee?ee.disabled=be:be?Le.setAttribute(it,""):Le.removeAttribute(it)}createRipple(Le){if(!this._document)return;Le.querySelector(".mat-ripple")?.remove();const be=this._document.createElement("span");be.classList.add("mat-ripple",Le.getAttribute(rt)),Le.append(be);const ee=new ze(new e.SBq(be),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return ee._isInitialized=!0,ee.trigger=Le,ee.centered=Le.hasAttribute(Ee),ee.disabled=Le.hasAttribute(it),this.attachRipple(Le,ee),ee}attachRipple(Le,be){Le.removeAttribute(xt),Le.matRipple=be}static#e=this.\u0275fac=function(be){return new(be||Je)};static#t=this.\u0275prov=e.Yz7({token:Je,factory:Je.\u0275fac,providedIn:"root"})}return Je})()},8034:(He,X,p)=>{"use strict";p.d(X,{FA:()=>Vi,Mq:()=>At,hl:()=>di,nW:()=>un});var e=p(4300),t=p(3651),y=p(8484),A=p(6814),l=p(9212),M=p(2296),m=p(5407),O=p(3680),d=p(8645),E=p(7394),x=p(3019),I=p(2096),k=p(6028),V=p(9388),G=p(2831),j=p(8180),W=p(7921),K=p(2181),q=p(2495),ie=p(6825),ae=p(6223),ue=p(5683),re=p(2032);const xe=["mat-calendar-body",""];function $(jt,It){if(1&jt&&(l.TgZ(0,"tr",0)(1,"td",2),l._uU(2),l.qZA()()),2&jt){const pe=l.oxw();l.xp6(1),l.Udp("padding-top",pe._cellPadding)("padding-bottom",pe._cellPadding),l.uIk("colspan",pe.numCols),l.xp6(1),l.hij(" ",pe.label," ")}}function he(jt,It){if(1&jt&&(l.TgZ(0,"td",2),l._uU(1),l.qZA()),2&jt){const pe=l.oxw(2);l.Udp("padding-top",pe._cellPadding)("padding-bottom",pe._cellPadding),l.uIk("colspan",pe._firstRowOffset),l.xp6(1),l.hij(" ",pe._firstRowOffset>=pe.labelMinRequiredCells?pe.label:""," ")}}function S(jt,It){if(1&jt){const pe=l.EpF();l.TgZ(0,"td",5)(1,"button",6),l.NdJ("click",function(Xe){const ri=l.CHM(pe).$implicit,Oi=l.oxw(2);return l.KtG(Oi._cellClicked(ri,Xe))})("focus",function(Xe){const ri=l.CHM(pe).$implicit,Oi=l.oxw(2);return l.KtG(Oi._emitActiveDateChange(ri,Xe))}),l.TgZ(2,"span",7),l._uU(3),l.qZA(),l._UZ(4,"span",8),l.qZA()()}if(2&jt){const pe=It.$implicit,Ve=It.$index,Xe=l.oxw().$index,gt=l.oxw();l.Udp("width",gt._cellWidth)("padding-top",gt._cellPadding)("padding-bottom",gt._cellPadding),l.uIk("data-mat-row",Xe)("data-mat-col",Ve),l.xp6(1),l.ekj("mat-calendar-body-disabled",!pe.enabled)("mat-calendar-body-active",gt._isActiveCell(Xe,Ve))("mat-calendar-body-range-start",gt._isRangeStart(pe.compareValue))("mat-calendar-body-range-end",gt._isRangeEnd(pe.compareValue))("mat-calendar-body-in-range",gt._isInRange(pe.compareValue))("mat-calendar-body-comparison-bridge-start",gt._isComparisonBridgeStart(pe.compareValue,Xe,Ve))("mat-calendar-body-comparison-bridge-end",gt._isComparisonBridgeEnd(pe.compareValue,Xe,Ve))("mat-calendar-body-comparison-start",gt._isComparisonStart(pe.compareValue))("mat-calendar-body-comparison-end",gt._isComparisonEnd(pe.compareValue))("mat-calendar-body-in-comparison-range",gt._isInComparisonRange(pe.compareValue))("mat-calendar-body-preview-start",gt._isPreviewStart(pe.compareValue))("mat-calendar-body-preview-end",gt._isPreviewEnd(pe.compareValue))("mat-calendar-body-in-preview",gt._isInPreview(pe.compareValue)),l.Q6J("ngClass",pe.cssClasses)("tabindex",gt._isActiveCell(Xe,Ve)?0:-1),l.uIk("aria-label",pe.ariaLabel)("aria-disabled",!pe.enabled||null)("aria-pressed",gt._isSelected(pe.compareValue))("aria-current",gt.todayValue===pe.compareValue?"date":null)("aria-describedby",gt._getDescribedby(pe.compareValue)),l.xp6(1),l.ekj("mat-calendar-body-selected",gt._isSelected(pe.compareValue))("mat-calendar-body-comparison-identical",gt._isComparisonIdentical(pe.compareValue))("mat-calendar-body-today",gt.todayValue===pe.compareValue),l.xp6(1),l.hij(" ",pe.displayValue," ")}}function n(jt,It){if(1&jt&&(l.TgZ(0,"tr",3),l.YNc(1,he,2,6,"td",4),l.SjG(2,S,5,48,"td",9,l.x6l),l.qZA()),2&jt){const pe=It.$implicit,Ve=It.$index,Xe=l.oxw();l.xp6(1),l.um2(1,0===Ve&&Xe._firstRowOffset?1:-1),l.xp6(1),l.wJu(pe)}}function s(jt,It){if(1&jt&&(l.TgZ(0,"th",4)(1,"span",5),l._uU(2),l.qZA(),l.TgZ(3,"span",6),l._uU(4),l.qZA()()),2&jt){const pe=It.$implicit;l.xp6(2),l.Oqu(pe.long),l.xp6(2),l.Oqu(pe.narrow)}}const f=["*"];function h(jt,It){}function w(jt,It){if(1&jt){const pe=l.EpF();l.TgZ(0,"mat-month-view",2),l.NdJ("activeDateChange",function(Xe){l.CHM(pe);const gt=l.oxw();return l.KtG(gt.activeDate=Xe)})("_userSelection",function(Xe){l.CHM(pe);const gt=l.oxw();return l.KtG(gt._dateSelected(Xe))})("dragStarted",function(Xe){l.CHM(pe);const gt=l.oxw();return l.KtG(gt._dragStarted(Xe))})("dragEnded",function(Xe){l.CHM(pe);const gt=l.oxw();return l.KtG(gt._dragEnded(Xe))}),l.qZA()}if(2&jt){const pe=l.oxw();l.Q6J("activeDate",pe.activeDate)("selected",pe.selected)("dateFilter",pe.dateFilter)("maxDate",pe.maxDate)("minDate",pe.minDate)("dateClass",pe.dateClass)("comparisonStart",pe.comparisonStart)("comparisonEnd",pe.comparisonEnd)("startDateAccessibleName",pe.startDateAccessibleName)("endDateAccessibleName",pe.endDateAccessibleName)("activeDrag",pe._activeDrag)}}function D(jt,It){if(1&jt){const pe=l.EpF();l.TgZ(0,"mat-year-view",3),l.NdJ("activeDateChange",function(Xe){l.CHM(pe);const gt=l.oxw();return l.KtG(gt.activeDate=Xe)})("monthSelected",function(Xe){l.CHM(pe);const gt=l.oxw();return l.KtG(gt._monthSelectedInYearView(Xe))})("selectedChange",function(Xe){l.CHM(pe);const gt=l.oxw();return l.KtG(gt._goToDateInView(Xe,"month"))}),l.qZA()}if(2&jt){const pe=l.oxw();l.Q6J("activeDate",pe.activeDate)("selected",pe.selected)("dateFilter",pe.dateFilter)("maxDate",pe.maxDate)("minDate",pe.minDate)("dateClass",pe.dateClass)}}function P(jt,It){if(1&jt){const pe=l.EpF();l.TgZ(0,"mat-multi-year-view",4),l.NdJ("activeDateChange",function(Xe){l.CHM(pe);const gt=l.oxw();return l.KtG(gt.activeDate=Xe)})("yearSelected",function(Xe){l.CHM(pe);const gt=l.oxw();return l.KtG(gt._yearSelectedInMultiYearView(Xe))})("selectedChange",function(Xe){l.CHM(pe);const gt=l.oxw();return l.KtG(gt._goToDateInView(Xe,"year"))}),l.qZA()}if(2&jt){const pe=l.oxw();l.Q6J("activeDate",pe.activeDate)("selected",pe.selected)("dateFilter",pe.dateFilter)("maxDate",pe.maxDate)("minDate",pe.minDate)("dateClass",pe.dateClass)}}function v(jt,It){}const r=["button"];function g(jt,It){1&jt&&(l.O4$(),l.TgZ(0,"svg",3),l._UZ(1,"path",4),l.qZA())}const H=[[["","matDatepickerToggleIcon",""]]],N=["[matDatepickerToggleIcon]"];let $e=(()=>{class jt{constructor(){this.changes=new d.x,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(pe,Ve){return`${pe} \u2013 ${Ve}`}formatYearRangeLabel(pe,Ve){return`${pe} to ${Ve}`}static#e=this.\u0275fac=function(Ve){return new(Ve||jt)};static#t=this.\u0275prov=l.Yz7({token:jt,factory:jt.\u0275fac,providedIn:"root"})}return jt})();class ye{constructor(It,pe,Ve,Xe,gt={},ri=It,Oi){this.value=It,this.displayValue=pe,this.ariaLabel=Ve,this.enabled=Xe,this.cssClasses=gt,this.compareValue=ri,this.rawValue=Oi}}let fe=1;const de=(0,G.i$)({passive:!1,capture:!0}),Ce=(0,G.i$)({passive:!0,capture:!0}),le=(0,G.i$)({passive:!0});let ge=(()=>{class jt{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(pe,Ve){this._elementRef=pe,this._ngZone=Ve,this._platform=(0,l.f3M)(G.t4),this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new l.vpe,this.previewChange=new l.vpe,this.activeDateChange=new l.vpe,this.dragStarted=new l.vpe,this.dragEnded=new l.vpe,this._didDragSinceMouseDown=!1,this._enterHandler=Xe=>{if(this._skipNextFocus&&"focus"===Xe.type)this._skipNextFocus=!1;else if(Xe.target&&this.isRange){const gt=this._getCellFromElement(Xe.target);gt&&this._ngZone.run(()=>this.previewChange.emit({value:gt.enabled?gt:null,event:Xe}))}},this._touchmoveHandler=Xe=>{if(!this.isRange)return;const gt=Ze(Xe),ri=gt?this._getCellFromElement(gt):null;gt!==Xe.target&&(this._didDragSinceMouseDown=!0),oe(Xe.target)&&Xe.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:ri?.enabled?ri:null,event:Xe}))},this._leaveHandler=Xe=>{null!==this.previewEnd&&this.isRange&&("blur"!==Xe.type&&(this._didDragSinceMouseDown=!0),Xe.target&&this._getCellFromElement(Xe.target)&&(!Xe.relatedTarget||!this._getCellFromElement(Xe.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:Xe})))},this._mousedownHandler=Xe=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const gt=Xe.target&&this._getCellFromElement(Xe.target);!gt||!this._isInRange(gt.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:gt.rawValue,event:Xe})})},this._mouseupHandler=Xe=>{if(!this.isRange)return;const gt=oe(Xe.target);gt?gt.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const ri=this._getCellFromElement(gt);this.dragEnded.emit({value:ri?.rawValue??null,event:Xe})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:Xe})})},this._touchendHandler=Xe=>{const gt=Ze(Xe);gt&&this._mouseupHandler({target:gt})},this._id="mat-calendar-body-"+fe++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,Ve.runOutsideAngular(()=>{const Xe=pe.nativeElement;Xe.addEventListener("touchmove",this._touchmoveHandler,de),Xe.addEventListener("mouseenter",this._enterHandler,Ce),Xe.addEventListener("focus",this._enterHandler,Ce),Xe.addEventListener("mouseleave",this._leaveHandler,Ce),Xe.addEventListener("blur",this._leaveHandler,Ce),Xe.addEventListener("mousedown",this._mousedownHandler,le),Xe.addEventListener("touchstart",this._mousedownHandler,le),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(pe,Ve){this._didDragSinceMouseDown||pe.enabled&&this.selectedValueChange.emit({value:pe.value,event:Ve})}_emitActiveDateChange(pe,Ve){pe.enabled&&this.activeDateChange.emit({value:pe.value,event:Ve})}_isSelected(pe){return this.startValue===pe||this.endValue===pe}ngOnChanges(pe){const Ve=pe.numCols,{rows:Xe,numCols:gt}=this;(pe.rows||Ve)&&(this._firstRowOffset=Xe&&Xe.length&&Xe[0].length?gt-Xe[0].length:0),(pe.cellAspectRatio||Ve||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/gt+"%"),(Ve||!this._cellWidth)&&(this._cellWidth=100/gt+"%")}ngOnDestroy(){const pe=this._elementRef.nativeElement;pe.removeEventListener("touchmove",this._touchmoveHandler,de),pe.removeEventListener("mouseenter",this._enterHandler,Ce),pe.removeEventListener("focus",this._enterHandler,Ce),pe.removeEventListener("mouseleave",this._leaveHandler,Ce),pe.removeEventListener("blur",this._leaveHandler,Ce),pe.removeEventListener("mousedown",this._mousedownHandler,le),pe.removeEventListener("touchstart",this._mousedownHandler,le),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(pe,Ve){let Xe=pe*this.numCols+Ve;return pe&&(Xe-=this._firstRowOffset),Xe==this.activeCell}_focusActiveCell(pe=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,j.q)(1)).subscribe(()=>{setTimeout(()=>{const Ve=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");Ve&&(pe||(this._skipNextFocus=!0),Ve.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(pe){return ve(pe,this.startValue,this.endValue)}_isRangeEnd(pe){return ce(pe,this.startValue,this.endValue)}_isInRange(pe){return Ge(pe,this.startValue,this.endValue,this.isRange)}_isComparisonStart(pe){return ve(pe,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(pe,Ve,Xe){if(!this._isComparisonStart(pe)||this._isRangeStart(pe)||!this._isInRange(pe))return!1;let gt=this.rows[Ve][Xe-1];if(!gt){const ri=this.rows[Ve-1];gt=ri&&ri[ri.length-1]}return gt&&!this._isRangeEnd(gt.compareValue)}_isComparisonBridgeEnd(pe,Ve,Xe){if(!this._isComparisonEnd(pe)||this._isRangeEnd(pe)||!this._isInRange(pe))return!1;let gt=this.rows[Ve][Xe+1];if(!gt){const ri=this.rows[Ve+1];gt=ri&&ri[0]}return gt&&!this._isRangeStart(gt.compareValue)}_isComparisonEnd(pe){return ce(pe,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(pe){return Ge(pe,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(pe){return this.comparisonStart===this.comparisonEnd&&pe===this.comparisonStart}_isPreviewStart(pe){return ve(pe,this.previewStart,this.previewEnd)}_isPreviewEnd(pe){return ce(pe,this.previewStart,this.previewEnd)}_isInPreview(pe){return Ge(pe,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(pe){return this.isRange?this.startValue===pe&&this.endValue===pe?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===pe?this._startDateLabelId:this.endValue===pe?this._endDateLabelId:null:null}_getCellFromElement(pe){const Ve=oe(pe);if(Ve){const Xe=Ve.getAttribute("data-mat-row"),gt=Ve.getAttribute("data-mat-col");if(Xe&&gt)return this.rows[parseInt(Xe)][parseInt(gt)]}return null}static#e=this.\u0275fac=function(Ve){return new(Ve||jt)(l.Y36(l.SBq),l.Y36(l.R0b))};static#t=this.\u0275cmp=l.Xpm({type:jt,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[l.TTD],attrs:xe,decls:7,vars:5,consts:[["aria-hidden","true"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom"],["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"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"]],template:function(Ve,Xe){1&Ve&&(l.YNc(0,$,3,6,"tr",0),l.SjG(1,n,4,1,"tr",3,l.x6l),l.TgZ(3,"label",1),l._uU(4),l.qZA(),l.TgZ(5,"label",1),l._uU(6),l.qZA()),2&Ve&&(l.um2(0,Xe._firstRowOffset<Xe.labelMinRequiredCells?0:-1),l.xp6(1),l.wJu(Xe.rows),l.xp6(2),l.Q6J("id",Xe._startDateLabelId),l.xp6(1),l.hij(" ",Xe.startDateAccessibleName,"\n"),l.xp6(1),l.Q6J("id",Xe._endDateLabelId),l.xp6(1),l.hij(" ",Xe.endDateAccessibleName,"\n"))},dependencies:[A.mk],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-outline-color)}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%;font-size:var(--mat-datepicker-calendar-body-label-text-size);font-weight:var(--mat-datepicker-calendar-body-label-text-weight);color:var(--mat-datepicker-calendar-body-label-text-color)}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;font-family:inherit;margin:0}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;display:block;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview{color:var(--mat-datepicker-calendar-date-preview-state-outline-color)}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color)}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color);border-color:var(--mat-datepicker-calendar-date-outline-color)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color)}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color)}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color);color:var(--mat-datepicker-calendar-date-selected-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color)}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color)}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color)}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color)}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}'],encapsulation:2,changeDetection:0})}return jt})();function qe(jt){return"TD"===jt?.nodeName}function oe(jt){let It;return qe(jt)?It=jt:qe(jt.parentNode)?It=jt.parentNode:qe(jt.parentNode?.parentNode)&&(It=jt.parentNode.parentNode),null!=It?.getAttribute("data-mat-row")?It:null}function ve(jt,It,pe){return null!==pe&&It!==pe&&jt<pe&&jt===It}function ce(jt,It,pe){return null!==It&&It!==pe&&jt>=It&&jt===pe}function Ge(jt,It,pe,Ve){return Ve&&null!==It&&null!==pe&&It!==pe&&jt>=It&&jt<=pe}function Ze(jt){const It=jt.changedTouches[0];return document.elementFromPoint(It.clientX,It.clientY)}class wt{constructor(It,pe){this.start=It,this.end=pe}}let mt=(()=>{class jt{constructor(pe,Ve){this.selection=pe,this._adapter=Ve,this._selectionChanged=new d.x,this.selectionChanged=this._selectionChanged,this.selection=pe}updateSelection(pe,Ve){const Xe=this.selection;this.selection=pe,this._selectionChanged.next({selection:pe,source:Ve,oldValue:Xe})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(pe){return this._adapter.isDateInstance(pe)&&this._adapter.isValid(pe)}static#e=this.\u0275fac=function(Ve){l.$Z()};static#t=this.\u0275prov=l.Yz7({token:jt,factory:jt.\u0275fac})}return jt})(),kt=(()=>{class jt extends mt{constructor(pe){super(null,pe)}add(pe){super.updateSelection(pe,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const pe=new jt(this._adapter);return pe.updateSelection(this.selection,this),pe}static#e=this.\u0275fac=function(Ve){return new(Ve||jt)(l.LFG(O._A))};static#t=this.\u0275prov=l.Yz7({token:jt,factory:jt.\u0275fac})}return jt})();const nt={provide:mt,deps:[[new l.FiY,new l.tp0,mt],O._A],useFactory:function ze(jt,It){return jt||new kt(It)}},ct=new l.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let Be=(()=>{class jt{get activeDate(){return this._activeDate}set activeDate(pe){const Ve=this._activeDate,Xe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(pe))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Xe,this.minDate,this.maxDate),this._hasSameMonthAndYear(Ve,this._activeDate)||this._init()}get selected(){return this._selected}set selected(pe){this._selected=pe instanceof wt?pe:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(pe)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(pe){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(pe))}get maxDate(){return this._maxDate}set maxDate(pe){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(pe))}constructor(pe,Ve,Xe,gt,ri){this._changeDetectorRef=pe,this._dateFormats=Ve,this._dateAdapter=Xe,this._dir=gt,this._rangeStrategy=ri,this._rerenderSubscription=E.w0.EMPTY,this.activeDrag=null,this.selectedChange=new l.vpe,this._userSelection=new l.vpe,this.dragStarted=new l.vpe,this.dragEnded=new l.vpe,this.activeDateChange=new l.vpe,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,W.O)(null)).subscribe(()=>this._init())}ngOnChanges(pe){const Ve=pe.comparisonStart||pe.comparisonEnd;Ve&&!Ve.firstChange&&this._setRanges(this.selected),pe.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(pe){const Ve=pe.value,Xe=this._getDateFromDayOfMonth(Ve);let gt,ri;this._selected instanceof wt?(gt=this._getDateInCurrentMonth(this._selected.start),ri=this._getDateInCurrentMonth(this._selected.end)):gt=ri=this._getDateInCurrentMonth(this._selected),(gt!==Ve||ri!==Ve)&&this.selectedChange.emit(Xe),this._userSelection.emit({value:Xe,event:pe.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(pe){const Xe=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(pe.value),this._dateAdapter.compareDate(Xe,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(pe){const Ve=this._activeDate,Xe=this._isRtl();switch(pe.keyCode){case k.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Xe?1:-1);break;case k.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Xe?-1:1);break;case k.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case k.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case k.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case k.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case k.Ku:this.activeDate=pe.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case k.VM:this.activeDate=pe.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case k.K5:case k.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&pe.preventDefault());case k.hY:return void(null!=this._previewEnd&&!(0,k.Vb)(pe)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:pe}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:pe})),pe.preventDefault(),pe.stopPropagation()));default:return}this._dateAdapter.compareDate(Ve,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),pe.preventDefault()}_handleCalendarBodyKeyup(pe){(pe.keyCode===k.L_||pe.keyCode===k.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:pe}),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 pe=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(pe)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(pe){this._matCalendarBody._focusActiveCell(pe)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:pe,value:Ve}){if(this._rangeStrategy){const Xe=Ve?Ve.rawValue:null,gt=this._rangeStrategy.createPreview(Xe,this.selected,pe);if(this._previewStart=this._getCellCompareValue(gt.start),this._previewEnd=this._getCellCompareValue(gt.end),this.activeDrag&&Xe){const ri=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,Xe,pe);ri&&(this._previewStart=this._getCellCompareValue(ri.start),this._previewEnd=this._getCellCompareValue(ri.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(pe){if(this.activeDrag)if(pe.value){const Ve=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,pe.value,pe.event);this.dragEnded.emit({value:Ve??null,event:pe.event})}else this.dragEnded.emit({value:null,event:pe.event})}_getDateFromDayOfMonth(pe){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),pe)}_initWeekdays(){const pe=this._dateAdapter.getFirstDayOfWeek(),Ve=this._dateAdapter.getDayOfWeekNames("narrow");let gt=this._dateAdapter.getDayOfWeekNames("long").map((ri,Oi)=>({long:ri,narrow:Ve[Oi]}));this._weekdays=gt.slice(pe).concat(gt.slice(0,pe))}_createWeekCells(){const pe=this._dateAdapter.getNumDaysInMonth(this.activeDate),Ve=this._dateAdapter.getDateNames();this._weeks=[[]];for(let Xe=0,gt=this._firstWeekOffset;Xe<pe;Xe++,gt++){7==gt&&(this._weeks.push([]),gt=0);const ri=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),Xe+1),Oi=this._shouldEnableDate(ri),Bn=this._dateAdapter.format(ri,this._dateFormats.display.dateA11yLabel),cr=this.dateClass?this.dateClass(ri,"month"):void 0;this._weeks[this._weeks.length-1].push(new ye(Xe+1,Ve[Xe],Bn,Oi,cr,this._getCellCompareValue(ri),ri))}}_shouldEnableDate(pe){return!!pe&&(!this.minDate||this._dateAdapter.compareDate(pe,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(pe,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(pe))}_getDateInCurrentMonth(pe){return pe&&this._hasSameMonthAndYear(pe,this.activeDate)?this._dateAdapter.getDate(pe):null}_hasSameMonthAndYear(pe,Ve){return!(!pe||!Ve||this._dateAdapter.getMonth(pe)!=this._dateAdapter.getMonth(Ve)||this._dateAdapter.getYear(pe)!=this._dateAdapter.getYear(Ve))}_getCellCompareValue(pe){if(pe){const Ve=this._dateAdapter.getYear(pe),Xe=this._dateAdapter.getMonth(pe),gt=this._dateAdapter.getDate(pe);return new Date(Ve,Xe,gt).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(pe){pe instanceof wt?(this._rangeStart=this._getCellCompareValue(pe.start),this._rangeEnd=this._getCellCompareValue(pe.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(pe),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(pe){return!this.dateFilter||this.dateFilter(pe)}_clearPreview(){this._previewStart=this._previewEnd=null}static#e=this.\u0275fac=function(Ve){return new(Ve||jt)(l.Y36(l.sBO),l.Y36(O.sG,8),l.Y36(O._A,8),l.Y36(V.Is,8),l.Y36(ct,8))};static#t=this.\u0275cmp=l.Xpm({type:jt,selectors:[["mat-month-view"]],viewQuery:function(Ve,Xe){if(1&Ve&&l.Gf(ge,5),2&Ve){let gt;l.iGM(gt=l.CRH())&&(Xe._matCalendarBody=gt.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[l.TTD],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName","selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(Ve,Xe){1&Ve&&(l.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),l.SjG(3,s,5,2,"th",4,l.x6l),l.qZA(),l.TgZ(5,"tr"),l._UZ(6,"th",2),l.qZA()(),l.TgZ(7,"tbody",3),l.NdJ("selectedValueChange",function(ri){return Xe._dateSelected(ri)})("activeDateChange",function(ri){return Xe._updateActiveDate(ri)})("previewChange",function(ri){return Xe._previewChanged(ri)})("dragStarted",function(ri){return Xe.dragStarted.emit(ri)})("dragEnded",function(ri){return Xe._dragEnded(ri)})("keyup",function(ri){return Xe._handleCalendarBodyKeyup(ri)})("keydown",function(ri){return Xe._handleCalendarBodyKeydown(ri)}),l.qZA()()),2&Ve&&(l.xp6(3),l.wJu(Xe._weekdays),l.xp6(4),l.Q6J("label",Xe._monthLabel)("rows",Xe._weeks)("todayValue",Xe._todayDate)("startValue",Xe._rangeStart)("endValue",Xe._rangeEnd)("comparisonStart",Xe._comparisonRangeStart)("comparisonEnd",Xe._comparisonRangeEnd)("previewStart",Xe._previewStart)("previewEnd",Xe._previewEnd)("isRange",Xe._isRange)("labelMinRequiredCells",3)("activeCell",Xe._dateAdapter.getDate(Xe.activeDate)-1)("startDateAccessibleName",Xe.startDateAccessibleName)("endDateAccessibleName",Xe.endDateAccessibleName))},dependencies:[ge],encapsulation:2,changeDetection:0})}return jt})();const Xt=24;let We=(()=>{class jt{get activeDate(){return this._activeDate}set activeDate(pe){let Ve=this._activeDate;const Xe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(pe))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Xe,this.minDate,this.maxDate),Ft(this._dateAdapter,Ve,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(pe){this._selected=pe instanceof wt?pe:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(pe)),this._setSelectedYear(pe)}get minDate(){return this._minDate}set minDate(pe){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(pe))}get maxDate(){return this._maxDate}set maxDate(pe){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(pe))}constructor(pe,Ve,Xe){this._changeDetectorRef=pe,this._dateAdapter=Ve,this._dir=Xe,this._rerenderSubscription=E.w0.EMPTY,this.selectedChange=new l.vpe,this.yearSelected=new l.vpe,this.activeDateChange=new l.vpe,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,W.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const Ve=this._dateAdapter.getYear(this._activeDate)-Ct(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let Xe=0,gt=[];Xe<Xt;Xe++)gt.push(Ve+Xe),4==gt.length&&(this._years.push(gt.map(ri=>this._createCellForYear(ri))),gt=[]);this._changeDetectorRef.markForCheck()}_yearSelected(pe){const Ve=pe.value,Xe=this._dateAdapter.createDate(Ve,0,1),gt=this._getDateFromYear(Ve);this.yearSelected.emit(Xe),this.selectedChange.emit(gt)}_updateActiveDate(pe){const Xe=this._activeDate;this.activeDate=this._getDateFromYear(pe.value),this._dateAdapter.compareDate(Xe,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(pe){const Ve=this._activeDate,Xe=this._isRtl();switch(pe.keyCode){case k.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Xe?1:-1);break;case k.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Xe?-1:1);break;case k.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case k.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case k.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Ct(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case k.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Xt-Ct(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case k.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,pe.altKey?10*-Xt:-Xt);break;case k.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,pe.altKey?10*Xt:Xt);break;case k.K5:case k.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(Ve,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),pe.preventDefault()}_handleCalendarBodyKeyup(pe){(pe.keyCode===k.L_||pe.keyCode===k.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:pe}),this._selectionKeyPressed=!1)}_getActiveCell(){return Ct(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(pe){const Ve=this._dateAdapter.getMonth(this.activeDate),Xe=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(pe,Ve,1));return this._dateAdapter.createDate(pe,Ve,Math.min(this._dateAdapter.getDate(this.activeDate),Xe))}_createCellForYear(pe){const Ve=this._dateAdapter.createDate(pe,0,1),Xe=this._dateAdapter.getYearName(Ve),gt=this.dateClass?this.dateClass(Ve,"multi-year"):void 0;return new ye(pe,Xe,Xe,this._shouldEnableYear(pe),gt)}_shouldEnableYear(pe){if(null==pe||this.maxDate&&pe>this._dateAdapter.getYear(this.maxDate)||this.minDate&&pe<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let Xe=this._dateAdapter.createDate(pe,0,1);this._dateAdapter.getYear(Xe)==pe;Xe=this._dateAdapter.addCalendarDays(Xe,1))if(this.dateFilter(Xe))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(pe){if(this._selectedYear=null,pe instanceof wt){const Ve=pe.start||pe.end;Ve&&(this._selectedYear=this._dateAdapter.getYear(Ve))}else pe&&(this._selectedYear=this._dateAdapter.getYear(pe))}static#e=this.\u0275fac=function(Ve){return new(Ve||jt)(l.Y36(l.sBO),l.Y36(O._A,8),l.Y36(V.Is,8))};static#t=this.\u0275cmp=l.Xpm({type:jt,selectors:[["mat-multi-year-view"]],viewQuery:function(Ve,Xe){if(1&Ve&&l.Gf(ge,5),2&Ve){let gt;l.iGM(gt=l.CRH())&&(Xe._matCalendarBody=gt.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(Ve,Xe){1&Ve&&(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(ri){return Xe._yearSelected(ri)})("activeDateChange",function(ri){return Xe._updateActiveDate(ri)})("keyup",function(ri){return Xe._handleCalendarBodyKeyup(ri)})("keydown",function(ri){return Xe._handleCalendarBodyKeydown(ri)}),l.qZA()()),2&Ve&&(l.xp6(4),l.Q6J("rows",Xe._years)("todayValue",Xe._todayYear)("startValue",Xe._selectedYear)("endValue",Xe._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",Xe._getActiveCell()))},dependencies:[ge],encapsulation:2,changeDetection:0})}return jt})();function Ft(jt,It,pe,Ve,Xe){const gt=jt.getYear(It),ri=jt.getYear(pe),Oi=Pt(jt,Ve,Xe);return Math.floor((gt-Oi)/Xt)===Math.floor((ri-Oi)/Xt)}function Ct(jt,It,pe,Ve){return function xt(jt,It){return(jt%It+It)%It}(jt.getYear(It)-Pt(jt,pe,Ve),Xt)}function Pt(jt,It,pe){let Ve=0;return pe?Ve=jt.getYear(pe)-Xt+1:It&&(Ve=jt.getYear(It)),Ve}let rt=(()=>{class jt{get activeDate(){return this._activeDate}set activeDate(pe){let Ve=this._activeDate;const Xe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(pe))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Xe,this.minDate,this.maxDate),this._dateAdapter.getYear(Ve)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(pe){this._selected=pe instanceof wt?pe:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(pe)),this._setSelectedMonth(pe)}get minDate(){return this._minDate}set minDate(pe){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(pe))}get maxDate(){return this._maxDate}set maxDate(pe){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(pe))}constructor(pe,Ve,Xe,gt){this._changeDetectorRef=pe,this._dateFormats=Ve,this._dateAdapter=Xe,this._dir=gt,this._rerenderSubscription=E.w0.EMPTY,this.selectedChange=new l.vpe,this.monthSelected=new l.vpe,this.activeDateChange=new l.vpe,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,W.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(pe){const Ve=pe.value,Xe=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Ve,1);this.monthSelected.emit(Xe);const gt=this._getDateFromMonth(Ve);this.selectedChange.emit(gt)}_updateActiveDate(pe){const Xe=this._activeDate;this.activeDate=this._getDateFromMonth(pe.value),this._dateAdapter.compareDate(Xe,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(pe){const Ve=this._activeDate,Xe=this._isRtl();switch(pe.keyCode){case k.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Xe?1:-1);break;case k.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Xe?-1:1);break;case k.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case k.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case k.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case k.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case k.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,pe.altKey?-10:-1);break;case k.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,pe.altKey?10:1);break;case k.K5:case k.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(Ve,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),pe.preventDefault()}_handleCalendarBodyKeyup(pe){(pe.keyCode===k.L_||pe.keyCode===k.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:pe}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let pe=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(Ve=>Ve.map(Xe=>this._createCellForMonth(Xe,pe[Xe]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(pe){return pe&&this._dateAdapter.getYear(pe)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(pe):null}_getDateFromMonth(pe){const Ve=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),pe,1),Xe=this._dateAdapter.getNumDaysInMonth(Ve);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),pe,Math.min(this._dateAdapter.getDate(this.activeDate),Xe))}_createCellForMonth(pe,Ve){const Xe=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),pe,1),gt=this._dateAdapter.format(Xe,this._dateFormats.display.monthYearA11yLabel),ri=this.dateClass?this.dateClass(Xe,"year"):void 0;return new ye(pe,Ve.toLocaleUpperCase(),gt,this._shouldEnableMonth(pe),ri)}_shouldEnableMonth(pe){const Ve=this._dateAdapter.getYear(this.activeDate);if(null==pe||this._isYearAndMonthAfterMaxDate(Ve,pe)||this._isYearAndMonthBeforeMinDate(Ve,pe))return!1;if(!this.dateFilter)return!0;for(let gt=this._dateAdapter.createDate(Ve,pe,1);this._dateAdapter.getMonth(gt)==pe;gt=this._dateAdapter.addCalendarDays(gt,1))if(this.dateFilter(gt))return!0;return!1}_isYearAndMonthAfterMaxDate(pe,Ve){if(this.maxDate){const Xe=this._dateAdapter.getYear(this.maxDate),gt=this._dateAdapter.getMonth(this.maxDate);return pe>Xe||pe===Xe&&Ve>gt}return!1}_isYearAndMonthBeforeMinDate(pe,Ve){if(this.minDate){const Xe=this._dateAdapter.getYear(this.minDate),gt=this._dateAdapter.getMonth(this.minDate);return pe<Xe||pe===Xe&&Ve<gt}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(pe){this._selectedMonth=pe instanceof wt?this._getMonthInCurrentYear(pe.start)||this._getMonthInCurrentYear(pe.end):this._getMonthInCurrentYear(pe)}static#e=this.\u0275fac=function(Ve){return new(Ve||jt)(l.Y36(l.sBO),l.Y36(O.sG,8),l.Y36(O._A,8),l.Y36(V.Is,8))};static#t=this.\u0275cmp=l.Xpm({type:jt,selectors:[["mat-year-view"]],viewQuery:function(Ve,Xe){if(1&Ve&&l.Gf(ge,5),2&Ve){let gt;l.iGM(gt=l.CRH())&&(Xe._matCalendarBody=gt.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(Ve,Xe){1&Ve&&(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(ri){return Xe._monthSelected(ri)})("activeDateChange",function(ri){return Xe._updateActiveDate(ri)})("keyup",function(ri){return Xe._handleCalendarBodyKeyup(ri)})("keydown",function(ri){return Xe._handleCalendarBodyKeydown(ri)}),l.qZA()()),2&Ve&&(l.xp6(4),l.Q6J("label",Xe._yearLabel)("rows",Xe._months)("todayValue",Xe._todayMonth)("startValue",Xe._selectedMonth)("endValue",Xe._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",Xe._dateAdapter.getMonth(Xe.activeDate)))},dependencies:[ge],encapsulation:2,changeDetection:0})}return jt})(),Ee=1,it=(()=>{class jt{constructor(pe,Ve,Xe,gt,ri){this._intl=pe,this.calendar=Ve,this._dateAdapter=Xe,this._dateFormats=gt,this._id="mat-calendar-header-"+Ee++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>ri.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:-Xt)}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:Xt)}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(pe,Ve){return"month"==this.calendar.currentView?this._dateAdapter.getYear(pe)==this._dateAdapter.getYear(Ve)&&this._dateAdapter.getMonth(pe)==this._dateAdapter.getMonth(Ve):"year"==this.calendar.currentView?this._dateAdapter.getYear(pe)==this._dateAdapter.getYear(Ve):Ft(this._dateAdapter,pe,Ve,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const Ve=this._dateAdapter.getYear(this.calendar.activeDate)-Ct(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),Xe=Ve+Xt-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(Ve,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(Xe,0,1))]}static#e=this.\u0275fac=function(Ve){return new(Ve||jt)(l.Y36($e),l.Y36((0,l.Gpc)(()=>Ue)),l.Y36(O._A,8),l.Y36(O.sG,8),l.Y36(l.sBO))};static#t=this.\u0275cmp=l.Xpm({type:jt,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:f,decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"],[1,"mat-calendar-hidden-label",3,"id"]],template:function(Ve,Xe){1&Ve&&(l.F$t(),l.TgZ(0,"div",0)(1,"div",1)(2,"button",2),l.NdJ("click",function(){return Xe.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 Xe.previousClicked()}),l.qZA(),l.TgZ(10,"button",8),l.NdJ("click",function(){return Xe.nextClicked()}),l.qZA()()(),l.TgZ(11,"label",9),l._uU(12),l.qZA()),2&Ve&&(l.xp6(2),l.uIk("aria-label",Xe.periodButtonLabel)("aria-describedby",Xe._periodButtonLabelId),l.xp6(2),l.Oqu(Xe.periodButtonText),l.xp6(1),l.ekj("mat-calendar-invert","month"!==Xe.calendar.currentView),l.xp6(4),l.Q6J("disabled",!Xe.previousEnabled()),l.uIk("aria-label",Xe.prevButtonLabel),l.xp6(1),l.Q6J("disabled",!Xe.nextEnabled()),l.uIk("aria-label",Xe.nextButtonLabel),l.xp6(1),l.Q6J("id",Xe._periodButtonLabelId),l.xp6(1),l.Oqu(Xe.periodButtonDescription))},dependencies:[M.lW,M.RK],encapsulation:2,changeDetection:0})}return jt})(),Ue=(()=>{class jt{get startAt(){return this._startAt}set startAt(pe){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(pe))}get selected(){return this._selected}set selected(pe){this._selected=pe instanceof wt?pe:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(pe))}get minDate(){return this._minDate}set minDate(pe){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(pe))}get maxDate(){return this._maxDate}set maxDate(pe){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(pe))}get activeDate(){return this._clampedActiveDate}set activeDate(pe){this._clampedActiveDate=this._dateAdapter.clampDate(pe,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(pe){const Ve=this._currentView!==pe?pe:null;this._currentView=pe,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),Ve&&this.viewChanged.emit(Ve)}constructor(pe,Ve,Xe,gt){this._dateAdapter=Ve,this._dateFormats=Xe,this._changeDetectorRef=gt,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._userDragDrop=new l.vpe,this._activeDrag=null,this.stateChanges=new d.x,this._intlChanges=pe.changes.subscribe(()=>{gt.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new y.C5(this.headerComponent||it),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(pe){const Ve=pe.minDate&&!this._dateAdapter.sameDate(pe.minDate.previousValue,pe.minDate.currentValue)?pe.minDate:void 0,Xe=pe.maxDate&&!this._dateAdapter.sameDate(pe.maxDate.previousValue,pe.maxDate.currentValue)?pe.maxDate:void 0,gt=Ve||Xe||pe.dateFilter;if(gt&&!gt.firstChange){const ri=this._getCurrentViewComponent();ri&&(this._changeDetectorRef.detectChanges(),ri._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(pe){const Ve=pe.value;(this.selected instanceof wt||Ve&&!this._dateAdapter.sameDate(Ve,this.selected))&&this.selectedChange.emit(Ve),this._userSelection.emit(pe)}_yearSelectedInMultiYearView(pe){this.yearSelected.emit(pe)}_monthSelectedInYearView(pe){this.monthSelected.emit(pe)}_goToDateInView(pe,Ve){this.activeDate=pe,this.currentView=Ve}_dragStarted(pe){this._activeDrag=pe}_dragEnded(pe){this._activeDrag&&(pe.value&&this._userDragDrop.emit(pe),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static#e=this.\u0275fac=function(Ve){return new(Ve||jt)(l.Y36($e),l.Y36(O._A,8),l.Y36(O.sG,8),l.Y36(l.sBO))};static#t=this.\u0275cmp=l.Xpm({type:jt,selectors:[["mat-calendar"]],viewQuery:function(Ve,Xe){if(1&Ve&&(l.Gf(Be,5),l.Gf(rt,5),l.Gf(We,5)),2&Ve){let gt;l.iGM(gt=l.CRH())&&(Xe.monthView=gt.first),l.iGM(gt=l.CRH())&&(Xe.yearView=gt.first),l.iGM(gt=l.CRH())&&(Xe.multiYearView=gt.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[l._Bn([nt]),l.TTD],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(Ve,Xe){if(1&Ve&&(l.YNc(0,h,0,0,"ng-template",0),l.TgZ(1,"div",1),l.YNc(2,w,1,11)(3,D,1,6)(4,P,1,6),l.qZA()),2&Ve){let gt;l.Q6J("cdkPortalOutlet",Xe._calendarHeaderPortal),l.xp6(2),l.um2(2,"month"===(gt=Xe.currentView)?2:"year"===gt?3:"multi-year"===gt?4:-1)}},dependencies:[e.kH,y.Pl,Be,rt,We],styles:['.mat-calendar{display:block;font-family:var(--mat-datepicker-calendar-text-font);font-size:var(--mat-datepicker-calendar-text-size)}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size);font-weight:var(--mat-datepicker-calendar-period-button-text-weight)}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color)}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-datepicker-content .mat-calendar-previous-button,.mat-datepicker-content .mat-calendar-next-button{color:var(--mat-datepicker-calendar-navigation-button-icon-color)}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color);font-size:var(--mat-datepicker-calendar-header-text-size);font-weight:var(--mat-datepicker-calendar-header-text-weight)}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px;background:var(--mat-datepicker-calendar-header-divider-color)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}.mat-calendar-hidden-label{display:none}'],encapsulation:2,changeDetection:0})}return jt})();const Je={transformPanel:(0,ie.X$)("transformPanel",[(0,ie.eR)("void => enter-dropdown",(0,ie.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ie.F4)([(0,ie.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,ie.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,ie.eR)("void => enter-dialog",(0,ie.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,ie.F4)([(0,ie.oB)({opacity:0,transform:"scale(0.7)"}),(0,ie.oB)({transform:"none",opacity:1})]))),(0,ie.eR)("* => void",(0,ie.jt)("100ms linear",(0,ie.oB)({opacity:0})))]),fadeInCalendar:(0,ie.X$)("fadeInCalendar",[(0,ie.SB)("void",(0,ie.oB)({opacity:0})),(0,ie.SB)("enter",(0,ie.oB)({opacity:1})),(0,ie.eR)("void => *",(0,ie.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let _t=0;const Le=new l.OlP("mat-datepicker-scroll-strategy"),ee={provide:Le,deps:[t.aV],useFactory:function be(jt){return()=>jt.scrollStrategies.reposition()}},ne=(0,O.pj)(class{constructor(jt){this._elementRef=jt}});let Ie=(()=>{class jt extends ne{constructor(pe,Ve,Xe,gt,ri,Oi){super(pe),this._changeDetectorRef=Ve,this._globalModel=Xe,this._dateAdapter=gt,this._rangeSelectionStrategy=ri,this._subscriptions=new E.w0,this._animationDone=new d.x,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=Oi.closeCalendarLabel}ngOnInit(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(pe){const Ve=this._model.selection,Xe=pe.value,gt=Ve instanceof wt;if(gt&&this._rangeSelectionStrategy){const ri=this._rangeSelectionStrategy.selectionFinished(Xe,Ve,pe.event);this._model.updateSelection(ri,this)}else Xe&&(gt||!this._dateAdapter.sameDate(Xe,Ve))&&this._model.add(Xe);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(pe){this._model.updateSelection(pe.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(pe){this._isAnimating="start"===pe.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(pe,Ve){this._model=pe?this._globalModel.clone():this._globalModel,this._actionsPortal=pe,Ve&&this._changeDetectorRef.detectChanges()}static#e=this.\u0275fac=function(Ve){return new(Ve||jt)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(mt),l.Y36(O._A),l.Y36(ct,8),l.Y36($e))};static#t=this.\u0275cmp=l.Xpm({type:jt,selectors:[["mat-datepicker-content"]],viewQuery:function(Ve,Xe){if(1&Ve&&l.Gf(Ue,5),2&Ve){let gt;l.iGM(gt=l.CRH())&&(Xe._calendar=gt.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(Ve,Xe){1&Ve&&l.WFA("@transformPanel.start",function(ri){return Xe._handleAnimationEvent(ri)})("@transformPanel.done",function(ri){return Xe._handleAnimationEvent(ri)}),2&Ve&&(l.d8E("@transformPanel",Xe._animationState),l.ekj("mat-datepicker-content-touch",Xe.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","_userDragDrop"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(Ve,Xe){if(1&Ve&&(l.TgZ(0,"div",0)(1,"mat-calendar",1),l.NdJ("yearSelected",function(ri){return Xe.datepicker._selectYear(ri)})("monthSelected",function(ri){return Xe.datepicker._selectMonth(ri)})("viewChanged",function(ri){return Xe.datepicker._viewChanged(ri)})("_userSelection",function(ri){return Xe._handleUserSelection(ri)})("_userDragDrop",function(ri){return Xe._handleUserDragDrop(ri)}),l.qZA(),l.YNc(2,v,0,0,"ng-template",2),l.TgZ(3,"button",3),l.NdJ("focus",function(){return Xe._closeButtonFocused=!0})("blur",function(){return Xe._closeButtonFocused=!1})("click",function(){return Xe.datepicker.close()}),l._uU(4),l.qZA()()),2&Ve){let gt;l.ekj("mat-datepicker-content-container-with-custom-header",Xe.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",Xe._actionsPortal),l.uIk("aria-modal",!0)("aria-labelledby",null!==(gt=Xe._dialogLabelId)&&void 0!==gt?gt:void 0),l.xp6(1),l.Q6J("id",Xe.datepicker.id)("ngClass",Xe.datepicker.panelClass)("startAt",Xe.datepicker.startAt)("startView",Xe.datepicker.startView)("minDate",Xe.datepicker._getMinDate())("maxDate",Xe.datepicker._getMaxDate())("dateFilter",Xe.datepicker._getDateFilter())("headerComponent",Xe.datepicker.calendarHeaderComponent)("selected",Xe._getSelected())("dateClass",Xe.datepicker.dateClass)("comparisonStart",Xe.comparisonStart)("comparisonEnd",Xe.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",Xe.startDateAccessibleName)("endDateAccessibleName",Xe.endDateAccessibleName),l.xp6(1),l.Q6J("cdkPortalOutlet",Xe._actionsPortal),l.xp6(1),l.ekj("cdk-visually-hidden",!Xe._closeButtonFocused),l.Q6J("color",Xe.color||"primary"),l.xp6(1),l.Oqu(Xe._closeButtonText)}},dependencies:[A.mk,M.lW,e.mK,y.Pl,Ue],styles:[".mat-datepicker-content{box-shadow: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);display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color);color:var(--mat-datepicker-calendar-container-text-color)}.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{box-shadow: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);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:[Je.transformPanel,Je.fadeInCalendar]},changeDetection:0})}return jt})(),Ht=(()=>{class jt{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(pe){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(pe))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(pe){this._color=pe}get touchUi(){return this._touchUi}set touchUi(pe){this._touchUi=(0,q.Ig)(pe)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(pe){const Ve=(0,q.Ig)(pe);Ve!==this._disabled&&(this._disabled=Ve,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(pe){this._restoreFocus=(0,q.Ig)(pe)}get panelClass(){return this._panelClass}set panelClass(pe){this._panelClass=(0,q.du)(pe)}get opened(){return this._opened}set opened(pe){(0,q.Ig)(pe)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}constructor(pe,Ve,Xe,gt,ri,Oi,Bn){this._overlay=pe,this._ngZone=Ve,this._viewContainerRef=Xe,this._dateAdapter=ri,this._dir=Oi,this._model=Bn,this._inputStateChanges=E.w0.EMPTY,this._document=(0,l.f3M)(A.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-"+_t++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new d.x,this._scrollStrategy=gt}ngOnChanges(pe){const Ve=pe.xPosition||pe.yPosition;if(Ve&&!Ve.firstChange&&this._overlayRef){const Xe=this._overlayRef.getConfig().positionStrategy;Xe instanceof t._G&&(this._setConnectedPositions(Xe),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(pe){this._model.add(pe)}_selectYear(pe){this.yearSelected.emit(pe)}_selectMonth(pe){this.monthSelected.emit(pe)}_viewChanged(pe){this.viewChanged.emit(pe)}registerInput(pe){return this._inputStateChanges.unsubscribe(),this.datepickerInput=pe,this._inputStateChanges=pe.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(pe){this._actionsPortal=pe,this._componentRef?.instance._assignActions(pe,!0)}removeActions(pe){pe===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,G.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const pe=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,Ve=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:Xe,location:gt}=this._componentRef;Xe._startExitAnimation(),Xe._animationDone.pipe((0,j.q)(1)).subscribe(()=>{const ri=this._document.activeElement;pe&&(!ri||ri===this._document.activeElement||gt.nativeElement.contains(ri))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}pe?setTimeout(Ve):Ve()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(pe){pe.datepicker=this,pe.color=this.color,pe._dialogLabelId=this.datepickerInput.getOverlayLabelId(),pe._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const pe=this.touchUi,Ve=new y.C5(Ie,this._viewContainerRef),Xe=this._overlayRef=this._overlay.create(new t.X_({positionStrategy:pe?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[pe?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:pe?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(pe?"dialog":"popup")}));this._getCloseStream(Xe).subscribe(gt=>{gt&&gt.preventDefault(),this.close()}),Xe.keydownEvents().subscribe(gt=>{const ri=gt.keyCode;(ri===k.LH||ri===k.JH||ri===k.oh||ri===k.SV||ri===k.Ku||ri===k.VM)&&gt.preventDefault()}),this._componentRef=Xe.attach(Ve),this._forwardContentValues(this._componentRef.instance),pe||this._ngZone.onStable.pipe((0,j.q)(1)).subscribe(()=>Xe.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const pe=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(pe)}_setConnectedPositions(pe){const Ve="end"===this.xPosition?"end":"start",Xe="start"===Ve?"end":"start",gt="above"===this.yPosition?"bottom":"top",ri="top"===gt?"bottom":"top";return pe.withPositions([{originX:Ve,originY:ri,overlayX:Ve,overlayY:gt},{originX:Ve,originY:gt,overlayX:Ve,overlayY:ri},{originX:Xe,originY:ri,overlayX:Xe,overlayY:gt},{originX:Xe,originY:gt,overlayX:Xe,overlayY:ri}])}_getCloseStream(pe){const Ve=["ctrlKey","shiftKey","metaKey"];return(0,x.T)(pe.backdropClick(),pe.detachments(),pe.keydownEvents().pipe((0,K.h)(Xe=>Xe.keyCode===k.hY&&!(0,k.Vb)(Xe)||this.datepickerInput&&(0,k.Vb)(Xe,"altKey")&&Xe.keyCode===k.LH&&Ve.every(gt=>!(0,k.Vb)(Xe,gt)))))}static#e=this.\u0275fac=function(Ve){return new(Ve||jt)(l.Y36(t.aV),l.Y36(l.R0b),l.Y36(l.s_b),l.Y36(Le),l.Y36(O._A,8),l.Y36(V.Is,8),l.Y36(mt))};static#t=this.\u0275dir=l.lG2({type:jt,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]})}return jt})(),At=(()=>{class jt extends Ht{static#e=this.\u0275fac=(()=>{let pe;return function(Xe){return(pe||(pe=l.n5z(jt)))(Xe||jt)}})();static#t=this.\u0275cmp=l.Xpm({type:jt,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[l._Bn([nt,{provide:Ht,useExisting:jt}]),l.qOj],decls:0,vars:0,template:function(Ve,Xe){},encapsulation:2,changeDetection:0})}return jt})();class Zt{constructor(It,pe){this.target=It,this.targetElement=pe,this.value=this.target.value}}let pi=(()=>{class jt{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(pe){this._assignValueProgrammatically(pe)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(pe){const Ve=(0,q.Ig)(pe),Xe=this._elementRef.nativeElement;this._disabled!==Ve&&(this._disabled=Ve,this.stateChanges.next(void 0)),Ve&&this._isInitialized&&Xe.blur&&Xe.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(pe){this._model=pe,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(Ve=>{if(this._shouldHandleChangeEvent(Ve)){const Xe=this._getValueFromModel(Ve.selection);this._lastValueValid=this._isValidValue(Xe),this._cvaOnChange(Xe),this._onTouched(),this._formatValue(Xe),this.dateInput.emit(new Zt(this,this._elementRef.nativeElement)),this.dateChange.emit(new Zt(this,this._elementRef.nativeElement))}})}constructor(pe,Ve,Xe){this._elementRef=pe,this._dateAdapter=Ve,this._dateFormats=Xe,this.dateChange=new l.vpe,this.dateInput=new l.vpe,this.stateChanges=new d.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=E.w0.EMPTY,this._localeSubscription=E.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=gt=>{const ri=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(gt.value));return!ri||this._matchesFilter(ri)?null:{matDatepickerFilter:!0}},this._minValidator=gt=>{const ri=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(gt.value)),Oi=this._getMinDate();return!Oi||!ri||this._dateAdapter.compareDate(Oi,ri)<=0?null:{matDatepickerMin:{min:Oi,actual:ri}}},this._maxValidator=gt=>{const ri=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(gt.value)),Oi=this._getMaxDate();return!Oi||!ri||this._dateAdapter.compareDate(Oi,ri)>=0?null:{matDatepickerMax:{max:Oi,actual:ri}}},this._lastValueValid=!1,this._localeSubscription=Ve.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(pe){(function Jt(jt,It){const pe=Object.keys(jt);for(let Ve of pe){const{previousValue:Xe,currentValue:gt}=jt[Ve];if(!It.isDateInstance(Xe)||!It.isDateInstance(gt))return!0;if(!It.sameDate(Xe,gt))return!0}return!1})(pe,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(pe){this._validatorOnChange=pe}validate(pe){return this._validator?this._validator(pe):null}writeValue(pe){this._assignValueProgrammatically(pe)}registerOnChange(pe){this._cvaOnChange=pe}registerOnTouched(pe){this._onTouched=pe}setDisabledState(pe){this.disabled=pe}_onKeydown(pe){(0,k.Vb)(pe,"altKey")&&pe.keyCode===k.JH&&["ctrlKey","shiftKey","metaKey"].every(gt=>!(0,k.Vb)(pe,gt))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),pe.preventDefault())}_onInput(pe){const Ve=this._lastValueValid;let Xe=this._dateAdapter.parse(pe,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(Xe),Xe=this._dateAdapter.getValidDateOrNull(Xe);const gt=!this._dateAdapter.sameDate(Xe,this.value);!Xe||gt?this._cvaOnChange(Xe):(pe&&!this.value&&this._cvaOnChange(Xe),Ve!==this._lastValueValid&&this._validatorOnChange()),gt&&(this._assignValue(Xe),this.dateInput.emit(new Zt(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Zt(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(pe){this._elementRef.nativeElement.value=null!=pe?this._dateAdapter.format(pe,this._dateFormats.display.dateInput):""}_assignValue(pe){this._model?(this._assignValueToModel(pe),this._pendingValue=null):this._pendingValue=pe}_isValidValue(pe){return!pe||this._dateAdapter.isValid(pe)}_parentDisabled(){return!1}_assignValueProgrammatically(pe){pe=this._dateAdapter.deserialize(pe),this._lastValueValid=this._isValidValue(pe),pe=this._dateAdapter.getValidDateOrNull(pe),this._assignValue(pe),this._formatValue(pe)}_matchesFilter(pe){const Ve=this._getDateFilter();return!Ve||Ve(pe)}static#e=this.\u0275fac=function(Ve){return new(Ve||jt)(l.Y36(l.SBq),l.Y36(O._A,8),l.Y36(O.sG,8))};static#t=this.\u0275dir=l.lG2({type:jt,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[l.TTD]})}return jt})();const qt={provide:ae.JU,useExisting:(0,l.Gpc)(()=>di),multi:!0},Hi={provide:ae.Cf,useExisting:(0,l.Gpc)(()=>di),multi:!0};let di=(()=>{class jt extends pi{set matDatepicker(pe){pe&&(this._datepicker=pe,this._closedSubscription=pe.closedStream.subscribe(()=>this._onTouched()),this._registerModel(pe.registerInput(this)))}get min(){return this._min}set min(pe){const Ve=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(pe));this._dateAdapter.sameDate(Ve,this._min)||(this._min=Ve,this._validatorOnChange())}get max(){return this._max}set max(pe){const Ve=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(pe));this._dateAdapter.sameDate(Ve,this._max)||(this._max=Ve,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(pe){const Ve=this._matchesFilter(this.value);this._dateFilter=pe,this._matchesFilter(this.value)!==Ve&&this._validatorOnChange()}constructor(pe,Ve,Xe,gt){super(pe,Ve,Xe),this._formField=gt,this._closedSubscription=E.w0.EMPTY,this._validator=ae.kI.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(pe){return pe}_assignValueToModel(pe){this._model&&this._model.updateSelection(pe,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(pe){return pe.source!==this}static#e=this.\u0275fac=function(Ve){return new(Ve||jt)(l.Y36(l.SBq),l.Y36(O._A,8),l.Y36(O.sG,8),l.Y36(ue.G_,8))};static#t=this.\u0275dir=l.lG2({type:jt,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(Ve,Xe){1&Ve&&l.NdJ("input",function(ri){return Xe._onInput(ri.target.value)})("change",function(){return Xe._onChange()})("blur",function(){return Xe._onBlur()})("keydown",function(ri){return Xe._onKeydown(ri)}),2&Ve&&(l.Ikx("disabled",Xe.disabled),l.uIk("aria-haspopup",Xe._datepicker?"dialog":null)("aria-owns",(null==Xe._datepicker?null:Xe._datepicker.opened)&&Xe._datepicker.id||null)("min",Xe.min?Xe._dateAdapter.toIso8601(Xe.min):null)("max",Xe.max?Xe._dateAdapter.toIso8601(Xe.max):null)("data-mat-calendar",Xe._datepicker?Xe._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[l._Bn([qt,Hi,{provide:re.Jk,useExisting:jt}]),l.qOj]})}return jt})(),fi=(()=>{class jt{static#e=this.\u0275fac=function(Ve){return new(Ve||jt)};static#t=this.\u0275dir=l.lG2({type:jt,selectors:[["","matDatepickerToggleIcon",""]]})}return jt})(),un=(()=>{class jt{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(pe){this._disabled=(0,q.Ig)(pe)}constructor(pe,Ve,Xe){this._intl=pe,this._changeDetectorRef=Ve,this._stateChanges=E.w0.EMPTY;const gt=Number(Xe);this.tabIndex=gt||0===gt?gt:null}ngOnChanges(pe){pe.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(pe){this.datepicker&&!this.disabled&&(this.datepicker.open(),pe.stopPropagation())}_watchStateChanges(){const pe=this.datepicker?this.datepicker.stateChanges:(0,I.of)(),Ve=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,I.of)(),Xe=this.datepicker?(0,x.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,I.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,x.T)(this._intl.changes,pe,Ve,Xe).subscribe(()=>this._changeDetectorRef.markForCheck())}static#e=this.\u0275fac=function(Ve){return new(Ve||jt)(l.Y36($e),l.Y36(l.sBO),l.$8M("tabindex"))};static#t=this.\u0275cmp=l.Xpm({type:jt,selectors:[["mat-datepicker-toggle"]],contentQueries:function(Ve,Xe,gt){if(1&Ve&&l.Suo(gt,fi,5),2&Ve){let ri;l.iGM(ri=l.CRH())&&(Xe._customIcon=ri.first)}},viewQuery:function(Ve,Xe){if(1&Ve&&l.Gf(r,5),2&Ve){let gt;l.iGM(gt=l.CRH())&&(Xe._button=gt.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(Ve,Xe){1&Ve&&l.NdJ("click",function(ri){return Xe._open(ri)}),2&Ve&&(l.uIk("tabindex",null)("data-mat-calendar",Xe.datepicker?Xe.datepicker.id:null),l.ekj("mat-datepicker-toggle-active",Xe.datepicker&&Xe.datepicker.opened)("mat-accent",Xe.datepicker&&"accent"===Xe.datepicker.color)("mat-warn",Xe.datepicker&&"warn"===Xe.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[l.TTD],ngContentSelectors:N,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","aria-hidden","true"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(Ve,Xe){1&Ve&&(l.F$t(H),l.TgZ(0,"button",0,1),l.YNc(2,g,2,0,":svg:svg",2),l.Hsn(3),l.qZA()),2&Ve&&(l.Q6J("disabled",Xe.disabled)("disableRipple",Xe.disableRipple),l.uIk("aria-haspopup",Xe.datepicker?"dialog":null)("aria-label",Xe.ariaLabel||Xe._intl.openCalendarLabel)("tabindex",Xe.disabled?-1:Xe.tabIndex),l.xp6(2),l.um2(2,Xe._customIcon?-1:2))},dependencies:[M.RK],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color)}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color)}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0})}return jt})(),Vi=(()=>{class jt{static#e=this.\u0275fac=function(Ve){return new(Ve||jt)};static#t=this.\u0275mod=l.oAB({type:jt});static#i=this.\u0275inj=l.cJS({providers:[$e,ee],imports:[A.ez,M.ot,t.U8,e.rt,y.eL,O.BQ,m.ZD]})}return jt})()},7700:(He,X,p)=>{"use strict";p.d(X,{WI:()=>ye,Bq:()=>fe,uw:()=>qe,ZT:()=>ve,Is:()=>kt,so:()=>je});var e=p(3651),t=p(6814),y=p(9212),A=p(4300),l=p(2831),M=p(8484),m=p(6028),O=p(8645),d=p(4911),E=p(2096),x=p(9388),I=p(7921);function k(nt,et){}class V{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let j=(()=>{class nt extends M.en{constructor(ke,ct,Qe,Et,lt,Ke,Be,Xt){super(),this._elementRef=ke,this._focusTrapFactory=ct,this._config=Et,this._interactivityChecker=lt,this._ngZone=Ke,this._overlayRef=Be,this._focusMonitor=Xt,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this.attachDomPortal=J=>{this._portalOutlet.hasAttached();const We=this._portalOutlet.attachDomPortal(J);return this._contentAttached(),We},this._document=Qe,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(ke){this._portalOutlet.hasAttached();const ct=this._portalOutlet.attachComponentPortal(ke);return this._contentAttached(),ct}attachTemplatePortal(ke){this._portalOutlet.hasAttached();const ct=this._portalOutlet.attachTemplatePortal(ke);return this._contentAttached(),ct}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(ke,ct){this._interactivityChecker.isFocusable(ke)||(ke.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Qe=()=>{ke.removeEventListener("blur",Qe),ke.removeEventListener("mousedown",Qe),ke.removeAttribute("tabindex")};ke.addEventListener("blur",Qe),ke.addEventListener("mousedown",Qe)})),ke.focus(ct)}_focusByCssSelector(ke,ct){let Qe=this._elementRef.nativeElement.querySelector(ke);Qe&&this._forceFocus(Qe,ct)}_trapFocus(){const ke=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||ke.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(ct=>{ct||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const ke=this._config.restoreFocus;let ct=null;if("string"==typeof ke?ct=this._document.querySelector(ke):"boolean"==typeof ke?ct=ke?this._elementFocusedBeforeDialogWasOpened:null:ke&&(ct=ke),this._config.restoreFocus&&ct&&"function"==typeof ct.focus){const Qe=(0,l.ht)(),Et=this._elementRef.nativeElement;(!Qe||Qe===this._document.body||Qe===Et||Et.contains(Qe))&&(this._focusMonitor?(this._focusMonitor.focusVia(ct,this._closeInteractionType),this._closeInteractionType=null):ct.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const ke=this._elementRef.nativeElement,ct=(0,l.ht)();return ke===ct||ke.contains(ct)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,l.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static#e=this.\u0275fac=function(ct){return new(ct||nt)(y.Y36(y.SBq),y.Y36(A.qV),y.Y36(t.K0,8),y.Y36(V),y.Y36(A.ic),y.Y36(y.R0b),y.Y36(e.Iu),y.Y36(A.tE))};static#t=this.\u0275cmp=y.Xpm({type:nt,selectors:[["cdk-dialog-container"]],viewQuery:function(ct,Qe){if(1&ct&&y.Gf(M.Pl,7),2&ct){let Et;y.iGM(Et=y.CRH())&&(Qe._portalOutlet=Et.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(ct,Qe){2&ct&&y.uIk("id",Qe._config.id||null)("role",Qe._config.role)("aria-modal",Qe._config.ariaModal)("aria-labelledby",Qe._config.ariaLabel?null:Qe._ariaLabelledByQueue[0])("aria-label",Qe._config.ariaLabel)("aria-describedby",Qe._config.ariaDescribedBy||null)},standalone:!0,features:[y.qOj,y.jDz],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(ct,Qe){1&ct&&y.YNc(0,k,0,0,"ng-template",0)},dependencies:[M.eL,M.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}return nt})();class W{constructor(et,ke){this.overlayRef=et,this.config=ke,this.closed=new O.x,this.disableClose=ke.disableClose,this.backdropClick=et.backdropClick(),this.keydownEvents=et.keydownEvents(),this.outsidePointerEvents=et.outsidePointerEvents(),this.id=ke.id,this.keydownEvents.subscribe(ct=>{ct.keyCode===m.hY&&!this.disableClose&&!(0,m.Vb)(ct)&&(ct.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=et.detachments().subscribe(()=>{!1!==ke.closeOnOverlayDetachments&&this.close()})}close(et,ke){if(this.containerInstance){const ct=this.closed;this.containerInstance._closeInteractionType=ke?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),ct.next(et),ct.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(et="",ke=""){return this.overlayRef.updateSize({width:et,height:ke}),this}addPanelClass(et){return this.overlayRef.addPanelClass(et),this}removePanelClass(et){return this.overlayRef.removePanelClass(et),this}}const K=new y.OlP("DialogScrollStrategy",{providedIn:"root",factory:()=>{const nt=(0,y.f3M)(e.aV);return()=>nt.scrollStrategies.block()}}),q=new y.OlP("DialogData"),ie=new y.OlP("DefaultDialogConfig");let re=0,xe=(()=>{class nt{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(ke,ct,Qe,Et,lt,Ke){this._overlay=ke,this._injector=ct,this._defaultOptions=Qe,this._parentDialog=Et,this._overlayContainer=lt,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new O.x,this._afterOpenedAtThisLevel=new O.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,d.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,I.O)(void 0))),this._scrollStrategy=Ke}open(ke,ct){(ct={...this._defaultOptions||new V,...ct}).id=ct.id||"cdk-dialog-"+re++,ct.id&&this.getDialogById(ct.id);const Et=this._getOverlayConfig(ct),lt=this._overlay.create(Et),Ke=new W(lt,ct),Be=this._attachContainer(lt,Ke,ct);return Ke.containerInstance=Be,this._attachDialogContent(ke,Ke,Be,ct),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Ke),Ke.closed.subscribe(()=>this._removeOpenDialog(Ke,!0)),this.afterOpened.next(Ke),Ke}closeAll(){$(this.openDialogs,ke=>ke.close())}getDialogById(ke){return this.openDialogs.find(ct=>ct.id===ke)}ngOnDestroy(){$(this._openDialogsAtThisLevel,ke=>{!1===ke.config.closeOnDestroy&&this._removeOpenDialog(ke,!1)}),$(this._openDialogsAtThisLevel,ke=>ke.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(ke){const ct=new e.X_({positionStrategy:ke.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:ke.scrollStrategy||this._scrollStrategy(),panelClass:ke.panelClass,hasBackdrop:ke.hasBackdrop,direction:ke.direction,minWidth:ke.minWidth,minHeight:ke.minHeight,maxWidth:ke.maxWidth,maxHeight:ke.maxHeight,width:ke.width,height:ke.height,disposeOnNavigation:ke.closeOnNavigation});return ke.backdropClass&&(ct.backdropClass=ke.backdropClass),ct}_attachContainer(ke,ct,Qe){const Et=Qe.injector||Qe.viewContainerRef?.injector,lt=[{provide:V,useValue:Qe},{provide:W,useValue:ct},{provide:e.Iu,useValue:ke}];let Ke;Qe.container?"function"==typeof Qe.container?Ke=Qe.container:(Ke=Qe.container.type,lt.push(...Qe.container.providers(Qe))):Ke=j;const Be=new M.C5(Ke,Qe.viewContainerRef,y.zs3.create({parent:Et||this._injector,providers:lt}),Qe.componentFactoryResolver);return ke.attach(Be).instance}_attachDialogContent(ke,ct,Qe,Et){if(ke instanceof y.Rgc){const lt=this._createInjector(Et,ct,Qe,void 0);let Ke={$implicit:Et.data,dialogRef:ct};Et.templateContext&&(Ke={...Ke,..."function"==typeof Et.templateContext?Et.templateContext():Et.templateContext}),Qe.attachTemplatePortal(new M.UE(ke,null,Ke,lt))}else{const lt=this._createInjector(Et,ct,Qe,this._injector),Ke=Qe.attachComponentPortal(new M.C5(ke,Et.viewContainerRef,lt,Et.componentFactoryResolver));ct.componentRef=Ke,ct.componentInstance=Ke.instance}}_createInjector(ke,ct,Qe,Et){const lt=ke.injector||ke.viewContainerRef?.injector,Ke=[{provide:q,useValue:ke.data},{provide:W,useValue:ct}];return ke.providers&&("function"==typeof ke.providers?Ke.push(...ke.providers(ct,ke,Qe)):Ke.push(...ke.providers)),ke.direction&&(!lt||!lt.get(x.Is,null,{optional:!0}))&&Ke.push({provide:x.Is,useValue:{value:ke.direction,change:(0,E.of)()}}),y.zs3.create({parent:lt||Et,providers:Ke})}_removeOpenDialog(ke,ct){const Qe=this.openDialogs.indexOf(ke);Qe>-1&&(this.openDialogs.splice(Qe,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((Et,lt)=>{Et?lt.setAttribute("aria-hidden",Et):lt.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),ct&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const ke=this._overlayContainer.getContainerElement();if(ke.parentElement){const ct=ke.parentElement.children;for(let Qe=ct.length-1;Qe>-1;Qe--){const Et=ct[Qe];Et!==ke&&"SCRIPT"!==Et.nodeName&&"STYLE"!==Et.nodeName&&!Et.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(Et,Et.getAttribute("aria-hidden")),Et.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const ke=this._parentDialog;return ke?ke._getAfterAllClosed():this._afterAllClosedAtThisLevel}static#e=this.\u0275fac=function(ct){return new(ct||nt)(y.LFG(e.aV),y.LFG(y.zs3),y.LFG(ie,8),y.LFG(nt,12),y.LFG(e.Xj),y.LFG(K))};static#t=this.\u0275prov=y.Yz7({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})();function $(nt,et){let ke=nt.length;for(;ke--;)et(nt[ke])}let he=(()=>{class nt{static#e=this.\u0275fac=function(ct){return new(ct||nt)};static#t=this.\u0275mod=y.oAB({type:nt});static#i=this.\u0275inj=y.cJS({providers:[xe],imports:[e.U8,M.eL,A.rt,j,M.eL]})}return nt})();var S=p(2495),n=p(3019),s=p(2181),f=p(8180),h=p(3680);function D(nt,et){}p(6825);class P{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const v="mdc-dialog--open",r="mdc-dialog--opening",g="mdc-dialog--closing";let te=(()=>{class nt extends j{constructor(ke,ct,Qe,Et,lt,Ke,Be,Xt,J){super(ke,ct,Qe,Et,lt,Ke,Be,J),this._animationMode=Xt,this._animationStateChanged=new y.vpe,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?st(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?st(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(De,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(r,v)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(v),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(v),this._animationsEnabled?(this._hostElement.style.setProperty(De,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(g)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(r,g)}_waitForAnimationToComplete(ke,ct){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(ct,ke)}_requestAnimationFrame(ke){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(ke):ke()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(ke){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:ke})}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}attachComponentPortal(ke){const ct=super.attachComponentPortal(ke);return ct.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),ct}static#e=this.\u0275fac=function(ct){return new(ct||nt)(y.Y36(y.SBq),y.Y36(A.qV),y.Y36(t.K0,8),y.Y36(P),y.Y36(A.ic),y.Y36(y.R0b),y.Y36(e.Iu),y.Y36(y.QbO,8),y.Y36(A.tE))};static#t=this.\u0275cmp=y.Xpm({type:nt,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(ct,Qe){2&ct&&(y.Ikx("id",Qe._config.id),y.uIk("aria-modal",Qe._config.ariaModal)("role",Qe._config.role)("aria-labelledby",Qe._config.ariaLabel?null:Qe._ariaLabelledByQueue[0])("aria-label",Qe._config.ariaLabel)("aria-describedby",Qe._config.ariaDescribedBy||null),y.ekj("_mat-animation-noopable",!Qe._animationsEnabled))},standalone:!0,features:[y.qOj,y.jDz],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(ct,Qe){1&ct&&(y.TgZ(0,"div",0)(1,"div",1),y.YNc(2,D,0,0,"ng-template",2),y.qZA()())},dependencies:[M.eL,M.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;outline:0}.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__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{width:100%;height:100%}.mat-mdc-dialog-component-host{display:contents}.mat-mdc-dialog-container{--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition-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})}return nt})();const De="--mat-dialog-transition-duration";function st(nt){return null==nt?null:"number"==typeof nt?nt:nt.endsWith("ms")?(0,S.su)(nt.substring(0,nt.length-2)):nt.endsWith("s")?1e3*(0,S.su)(nt.substring(0,nt.length-1)):"0"===nt?0:null}class je{constructor(et,ke,ct){this._ref=et,this._containerInstance=ct,this._afterOpened=new O.x,this._beforeClosed=new O.x,this._state=0,this.disableClose=ke.disableClose,this.id=et.id,ct._animationStateChanged.pipe((0,s.h)(Qe=>"opened"===Qe.state),(0,f.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),ct._animationStateChanged.pipe((0,s.h)(Qe=>"closed"===Qe.state),(0,f.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),et.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,n.T)(this.backdropClick(),this.keydownEvents().pipe((0,s.h)(Qe=>Qe.keyCode===m.hY&&!this.disableClose&&!(0,m.Vb)(Qe)))).subscribe(Qe=>{this.disableClose||(Qe.preventDefault(),$e(this,"keydown"===Qe.type?"keyboard":"mouse"))})}close(et){this._result=et,this._containerInstance._animationStateChanged.pipe((0,s.h)(ke=>"closing"===ke.state),(0,f.q)(1)).subscribe(ke=>{this._beforeClosed.next(et),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),ke.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(et){let ke=this._ref.config.positionStrategy;return et&&(et.left||et.right)?et.left?ke.left(et.left):ke.right(et.right):ke.centerHorizontally(),et&&(et.top||et.bottom)?et.top?ke.top(et.top):ke.bottom(et.bottom):ke.centerVertically(),this._ref.updatePosition(),this}updateSize(et="",ke=""){return this._ref.updateSize(et,ke),this}addPanelClass(et){return this._ref.addPanelClass(et),this}removePanelClass(et){return this._ref.removePanelClass(et),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function $e(nt,et,ke){return nt._closeInteractionType=et,nt.close(ke)}const ye=new y.OlP("MatMdcDialogData"),fe=new y.OlP("mat-mdc-dialog-default-options"),de=new y.OlP("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{const nt=(0,y.f3M)(e.aV);return()=>nt.scrollStrategies.block()}});let ge=0,qe=(()=>{class nt{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const ke=this._parentDialog;return ke?ke._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(ke,ct,Qe,Et,lt,Ke,Be,Xt){this._overlay=ke,this._defaultOptions=Et,this._scrollStrategy=lt,this._parentDialog=Ke,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new O.x,this._afterOpenedAtThisLevel=new O.x,this.dialogConfigClass=P,this.afterAllClosed=(0,d.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,I.O)(void 0))),this._dialog=ct.get(xe),this._dialogRefConstructor=je,this._dialogContainerType=te,this._dialogDataToken=ye}open(ke,ct){let Qe;(ct={...this._defaultOptions||new P,...ct}).id=ct.id||"mat-mdc-dialog-"+ge++,ct.scrollStrategy=ct.scrollStrategy||this._scrollStrategy();const Et=this._dialog.open(ke,{...ct,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:ct},{provide:V,useValue:ct}]},templateContext:()=>({dialogRef:Qe}),providers:(lt,Ke,Be)=>(Qe=new this._dialogRefConstructor(lt,ct,Be),Qe.updatePosition(ct?.position),[{provide:this._dialogContainerType,useValue:Be},{provide:this._dialogDataToken,useValue:Ke.data},{provide:this._dialogRefConstructor,useValue:Qe}])});return Qe.componentRef=Et.componentRef,Qe.componentInstance=Et.componentInstance,this.openDialogs.push(Qe),this.afterOpened.next(Qe),Qe.afterClosed().subscribe(()=>{const lt=this.openDialogs.indexOf(Qe);lt>-1&&(this.openDialogs.splice(lt,1),this.openDialogs.length||this._getAfterAllClosed().next())}),Qe}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(ke){return this.openDialogs.find(ct=>ct.id===ke)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(ke){let ct=ke.length;for(;ct--;)ke[ct].close()}static#e=this.\u0275fac=function(ct){return new(ct||nt)(y.LFG(e.aV),y.LFG(y.zs3),y.LFG(t.Ye,8),y.LFG(fe,8),y.LFG(de),y.LFG(nt,12),y.LFG(e.Xj),y.LFG(y.QbO,8))};static#t=this.\u0275prov=y.Yz7({token:nt,factory:nt.\u0275fac,providedIn:"root"})}return nt})(),ve=(()=>{class nt{constructor(ke,ct,Qe){this.dialogRef=ke,this._elementRef=ct,this._dialog=Qe,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=function wt(nt,et){let ke=nt.nativeElement.parentElement;for(;ke&&!ke.classList.contains("mat-mdc-dialog-container");)ke=ke.parentElement;return ke?et.find(ct=>ct.id===ke.id):null}(this._elementRef,this._dialog.openDialogs))}ngOnChanges(ke){const ct=ke._matDialogClose||ke._matDialogCloseResult;ct&&(this.dialogResult=ct.currentValue)}_onButtonClick(ke){$e(this.dialogRef,0===ke.screenX&&0===ke.screenY?"keyboard":"mouse",this.dialogResult)}static#e=this.\u0275fac=function(ct){return new(ct||nt)(y.Y36(je,8),y.Y36(y.SBq),y.Y36(qe))};static#t=this.\u0275dir=y.lG2({type:nt,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(ct,Qe){1&ct&&y.NdJ("click",function(lt){return Qe._onButtonClick(lt)}),2&ct&&y.uIk("aria-label",Qe.ariaLabel||null)("type",Qe.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[y.TTD]})}return nt})();let kt=(()=>{class nt{static#e=this.\u0275fac=function(ct){return new(ct||nt)};static#t=this.\u0275mod=y.oAB({type:nt});static#i=this.\u0275inj=y.cJS({providers:[qe],imports:[he,e.U8,M.eL,h.BQ,te,h.BQ]})}return nt})()},6385:(He,X,p)=>{"use strict";p.d(X,{d:()=>A,t:()=>l});var e=p(9212),t=p(2495),y=p(3680);let A=(()=>{class M{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(O){this._vertical=(0,t.Ig)(O)}get inset(){return this._inset}set inset(O){this._inset=(0,t.Ig)(O)}static#e=this.\u0275fac=function(d){return new(d||M)};static#t=this.\u0275cmp=e.Xpm({type:M,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(d,E){2&d&&(e.uIk("aria-orientation",E.vertical?"vertical":"horizontal"),e.ekj("mat-divider-vertical",E.vertical)("mat-divider-horizontal",!E.vertical)("mat-divider-inset",E.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(d,E){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0})}return M})(),l=(()=>{class M{static#e=this.\u0275fac=function(d){return new(d||M)};static#t=this.\u0275mod=e.oAB({type:M});static#i=this.\u0275inj=e.cJS({imports:[y.BQ,y.BQ]})}return M})()},3305:(He,X,p)=>{"use strict";p.d(X,{pp:()=>ye,To:()=>fe,ib:()=>H,u4:()=>je,yz:()=>st,yK:()=>$e});var e=p(9212),t=p(8337),y=p(8645),A=p(7394);let l=0;const M=new e.OlP("CdkAccordion");let m=(()=>{class de{constructor(){this._stateChanges=new y.x,this._openCloseAllActions=new y.x,this.id="cdk-accordion-"+l++,this.multi=!1}openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(le){this._stateChanges.next(le)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static#e=this.\u0275fac=function(ge){return new(ge||de)};static#t=this.\u0275dir=e.lG2({type:de,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:["multi","multi",e.VuI]},exportAs:["cdkAccordion"],features:[e._Bn([{provide:M,useExisting:de}]),e.Xq5,e.TTD]})}return de})(),O=0,d=(()=>{class de{get expanded(){return this._expanded}set expanded(le){this._expanded!==le&&(this._expanded=le,this.expandedChange.emit(le),le?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}constructor(le,ge,qe){this.accordion=le,this._changeDetectorRef=ge,this._expansionDispatcher=qe,this._openCloseAllSubscription=A.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-"+O++,this._expanded=!1,this.disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=qe.listen((oe,ve)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===ve&&this.id!==oe&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(le=>{this.disabled||(this.expanded=le)})}static#e=this.\u0275fac=function(ge){return new(ge||de)(e.Y36(M,12),e.Y36(e.sBO),e.Y36(t.A8))};static#t=this.\u0275dir=e.lG2({type:de,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:["expanded","expanded",e.VuI],disabled:["disabled","disabled",e.VuI]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[e._Bn([{provide:M,useValue:void 0}]),e.Xq5]})}return de})(),E=(()=>{class de{static#e=this.\u0275fac=function(ge){return new(ge||de)};static#t=this.\u0275mod=e.oAB({type:de});static#i=this.\u0275inj=e.cJS({})}return de})();var x=p(8484),I=p(3680),k=p(2495),V=p(4300),G=p(3997),j=p(7921),W=p(2181),K=p(8180),q=p(6028),ie=p(6232),ae=p(3019),ue=p(6825),re=p(6814);const xe=["body"];function $(de,Ce){}const he=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],S=["mat-expansion-panel-header","*","mat-action-row"];function n(de,Ce){if(1&de&&e._UZ(0,"span",2),2&de){const le=e.oxw();e.Q6J("@indicatorRotate",le._getExpandedState())}}const s=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],f=["mat-panel-title","mat-panel-description","*"],h=new e.OlP("MAT_ACCORDION"),w="225ms cubic-bezier(0.4,0.0,0.2,1)",D={indicatorRotate:(0,ue.X$)("indicatorRotate",[(0,ue.SB)("collapsed, void",(0,ue.oB)({transform:"rotate(0deg)"})),(0,ue.SB)("expanded",(0,ue.oB)({transform:"rotate(180deg)"})),(0,ue.eR)("expanded <=> collapsed, void => collapsed",(0,ue.jt)(w))]),bodyExpansion:(0,ue.X$)("bodyExpansion",[(0,ue.SB)("collapsed, void",(0,ue.oB)({height:"0px",visibility:"hidden"})),(0,ue.SB)("expanded",(0,ue.oB)({height:"*",visibility:""})),(0,ue.eR)("expanded <=> collapsed, void => collapsed",(0,ue.jt)(w))])},P=new e.OlP("MAT_EXPANSION_PANEL");let v=(()=>{class de{constructor(le,ge){this._template=le,this._expansionPanel=ge}static#e=this.\u0275fac=function(ge){return new(ge||de)(e.Y36(e.Rgc),e.Y36(P,8))};static#t=this.\u0275dir=e.lG2({type:de,selectors:[["ng-template","matExpansionPanelContent",""]]})}return de})(),r=0;const g=new e.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let H=(()=>{class de extends d{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(le){this._hideToggle=(0,k.Ig)(le)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(le){this._togglePosition=le}constructor(le,ge,qe,oe,ve,ce,Ge){super(le,ge,qe),this._viewContainerRef=oe,this._animationMode=ce,this._hideToggle=!1,this.afterExpand=new e.vpe,this.afterCollapse=new e.vpe,this._inputChanges=new y.x,this._headerId="mat-expansion-panel-header-"+r++,this._bodyAnimationDone=new y.x,this.accordion=le,this._document=ve,this._bodyAnimationDone.pipe((0,G.x)((Ze,wt)=>Ze.fromState===wt.fromState&&Ze.toState===wt.toState)).subscribe(Ze=>{"void"!==Ze.fromState&&("expanded"===Ze.toState?this.afterExpand.emit():"collapsed"===Ze.toState&&this.afterCollapse.emit())}),Ge&&(this.hideToggle=Ge.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe((0,j.O)(null),(0,W.h)(()=>this.expanded&&!this._portal),(0,K.q)(1)).subscribe(()=>{this._portal=new x.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(le){this._inputChanges.next(le)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const le=this._document.activeElement,ge=this._body.nativeElement;return le===ge||ge.contains(le)}return!1}static#e=this.\u0275fac=function(ge){return new(ge||de)(e.Y36(h,12),e.Y36(e.sBO),e.Y36(t.A8),e.Y36(e.s_b),e.Y36(re.K0),e.Y36(e.QbO,8),e.Y36(g,8))};static#t=this.\u0275cmp=e.Xpm({type:de,selectors:[["mat-expansion-panel"]],contentQueries:function(ge,qe,oe){if(1&ge&&e.Suo(oe,v,5),2&ge){let ve;e.iGM(ve=e.CRH())&&(qe._lazyContent=ve.first)}},viewQuery:function(ge,qe){if(1&ge&&e.Gf(xe,5),2&ge){let oe;e.iGM(oe=e.CRH())&&(qe._body=oe.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(ge,qe){2&ge&&e.ekj("mat-expanded",qe.expanded)("_mat-animation-noopable","NoopAnimations"===qe._animationMode)("mat-expansion-panel-spacing",qe._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:P,useExisting:de}]),e.qOj,e.TTD],ngContentSelectors:S,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(ge,qe){1&ge&&(e.F$t(he),e.Hsn(0),e.TgZ(1,"div",0,1),e.NdJ("@bodyExpansion.done",function(ve){return qe._bodyAnimationDone.next(ve)}),e.TgZ(3,"div",2),e.Hsn(4,1),e.YNc(5,$,0,0,"ng-template",3),e.qZA(),e.Hsn(6,2),e.qZA()),2&ge&&(e.xp6(1),e.Q6J("@bodyExpansion",qe._getExpandedState())("id",qe.id),e.uIk("aria-labelledby",qe._headerId),e.xp6(4),e.Q6J("cdkPortalOutlet",qe._portal))},dependencies:[x.Pl],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color);color:var(--mat-expansion-container-text-color);border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font);font-size:var(--mat-expansion-container-text-size);font-weight:var(--mat-expansion-container-text-weight);line-height:var(--mat-expansion-container-text-line-height);letter-spacing:var(--mat-expansion-container-text-tracking)}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color)}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[D.bodyExpansion]},changeDetection:0})}return de})();class te{}const De=(0,I.sb)(te);let st=(()=>{class de extends De{constructor(le,ge,qe,oe,ve,ce,Ge){super(),this.panel=le,this._element=ge,this._focusMonitor=qe,this._changeDetectorRef=oe,this._animationMode=ce,this._parentChangeSubscription=A.w0.EMPTY;const Ze=le.accordion?le.accordion._stateChanges.pipe((0,W.h)(wt=>!(!wt.hideToggle&&!wt.togglePosition))):ie.E;this.tabIndex=parseInt(Ge||"")||0,this._parentChangeSubscription=(0,ae.T)(le.opened,le.closed,Ze,le._inputChanges.pipe((0,W.h)(wt=>!!(wt.hideToggle||wt.disabled||wt.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),le.closed.pipe((0,W.h)(()=>le._containsFocus())).subscribe(()=>qe.focusVia(ge,"program")),ve&&(this.expandedHeight=ve.expandedHeight,this.collapsedHeight=ve.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 le=this._isExpanded();return le&&this.expandedHeight?this.expandedHeight:!le&&this.collapsedHeight?this.collapsedHeight:null}_keydown(le){switch(le.keyCode){case q.L_:case q.K5:(0,q.Vb)(le)||(le.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(le))}}focus(le,ge){le?this._focusMonitor.focusVia(this._element,le,ge):this._element.nativeElement.focus(ge)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(le=>{le&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static#e=this.\u0275fac=function(ge){return new(ge||de)(e.Y36(H,1),e.Y36(e.SBq),e.Y36(V.tE),e.Y36(e.sBO),e.Y36(g,8),e.Y36(e.QbO,8),e.$8M("tabindex"))};static#t=this.\u0275cmp=e.Xpm({type:de,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(ge,qe){1&ge&&e.NdJ("click",function(){return qe._toggle()})("keydown",function(ve){return qe._keydown(ve)}),2&ge&&(e.uIk("id",qe.panel._headerId)("tabindex",qe.tabIndex)("aria-controls",qe._getPanelId())("aria-expanded",qe._isExpanded())("aria-disabled",qe.panel.disabled),e.Udp("height",qe._getHeaderHeight()),e.ekj("mat-expanded",qe._isExpanded())("mat-expansion-toggle-indicator-after","after"===qe._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===qe._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===qe._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[e.qOj],ngContentSelectors:f,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator"],[1,"mat-expansion-indicator"]],template:function(ge,qe){1&ge&&(e.F$t(s),e.TgZ(0,"span",0),e.Hsn(1),e.Hsn(2,1),e.Hsn(3,2),e.qZA(),e.YNc(4,n,1,1,"span",1)),2&ge&&(e.ekj("mat-content-hide-toggle",!qe._showToggle()),e.xp6(4),e.um2(4,qe._showToggle()?4:-1))},styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font);font-size:var(--mat-expansion-header-text-size);font-weight:var(--mat-expansion-header-text-weight);line-height:var(--mat-expansion-header-text-line-height);letter-spacing:var(--mat-expansion-header-text-tracking)}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color)}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color)}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color)}.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:[D.indicatorRotate]},changeDetection:0})}return de})(),je=(()=>{class de{static#e=this.\u0275fac=function(ge){return new(ge||de)};static#t=this.\u0275dir=e.lG2({type:de,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]})}return de})(),$e=(()=>{class de{static#e=this.\u0275fac=function(ge){return new(ge||de)};static#t=this.\u0275dir=e.lG2({type:de,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]})}return de})(),ye=(()=>{class de extends m{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(le){this._hideToggle=(0,k.Ig)(le)}ngAfterContentInit(){this._headers.changes.pipe((0,j.O)(this._headers)).subscribe(le=>{this._ownHeaders.reset(le.filter(ge=>ge.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new V.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(le){this._keyManager.onKeydown(le)}_handleHeaderFocus(le){this._keyManager.updateActiveItem(le)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}static#e=this.\u0275fac=(()=>{let le;return function(qe){return(le||(le=e.n5z(de)))(qe||de)}})();static#t=this.\u0275dir=e.lG2({type:de,selectors:[["mat-accordion"]],contentQueries:function(ge,qe,oe){if(1&ge&&e.Suo(oe,st,5),2&ge){let ve;e.iGM(ve=e.CRH())&&(qe._headers=ve)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(ge,qe){2&ge&&e.ekj("mat-accordion-multi",qe.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[e._Bn([{provide:h,useExisting:de}]),e.qOj]})}return de})(),fe=(()=>{class de{static#e=this.\u0275fac=function(ge){return new(ge||de)};static#t=this.\u0275mod=e.oAB({type:de});static#i=this.\u0275inj=e.cJS({imports:[I.BQ,E,x.eL]})}return de})()},5683:(He,X,p)=>{"use strict";p.d(X,{G_:()=>lt,TO:()=>le,KE:()=>Ct,Eo:()=>ke,lN:()=>Pt,bx:()=>qe,hX:()=>fe,R9:()=>Ge});var e=p(9212),t=p(9388),y=p(2831),A=p(7394),l=p(8645),M=p(3019),m=p(9773),O=p(5592),d=p(2181),E=p(7328),x=p(3020);class V{constructor(rt){this._box=rt,this._destroyed=new l.x,this._resizeSubject=new l.x,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(Ee=>this._resizeSubject.next(Ee)))}observe(rt){return this._elementObservables.has(rt)||this._elementObservables.set(rt,new O.y(Ee=>{const it=this._resizeSubject.subscribe(Ee);return this._resizeObserver?.observe(rt,{box:this._box}),()=>{this._resizeObserver?.unobserve(rt),it.unsubscribe(),this._elementObservables.delete(rt)}}).pipe((0,d.h)(Ee=>Ee.some(it=>it.target===rt)),function I(xt,rt,Ee){let it,Ue=!1;return xt&&"object"==typeof xt?({bufferSize:it=1/0,windowTime:rt=1/0,refCount:Ue=!1,scheduler:Ee}=xt):it=xt??1/0,(0,x.B)({connector:()=>new E.t(it,rt,Ee),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:Ue})}({bufferSize:1,refCount:!0}),(0,m.R)(this._destroyed))),this._elementObservables.get(rt)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let G=(()=>{class xt{constructor(){this._observers=new Map,this._ngZone=(0,e.f3M)(e.R0b)}ngOnDestroy(){for(const[,Ee]of this._observers)Ee.destroy();this._observers.clear()}observe(Ee,it){const Ue=it?.box||"content-box";return this._observers.has(Ue)||this._observers.set(Ue,new V(Ue)),this._observers.get(Ue).observe(Ee)}static#e=this.\u0275fac=function(it){return new(it||xt)};static#t=this.\u0275prov=e.Yz7({token:xt,factory:xt.\u0275fac,providedIn:"root"})}return xt})();var j=p(2495),W=p(6825),K=p(6814),q=p(7131),ie=p(3680);const ae=["notch"],ue=["matFormFieldNotchedOutline",""],re=["*"],xe=["textField"],$=["iconPrefixContainer"],he=["textPrefixContainer"];function S(xt,rt){1&xt&&e._UZ(0,"span",16)}function n(xt,rt){if(1&xt&&(e.TgZ(0,"label",14),e.Hsn(1,1),e.YNc(2,S,1,0,"span",15),e.qZA()),2&xt){const Ee=e.oxw(2);e.Q6J("floating",Ee._shouldLabelFloat())("monitorResize",Ee._hasOutline())("id",Ee._labelId),e.uIk("for",Ee._control.id),e.xp6(2),e.um2(2,!Ee.hideRequiredMarker&&Ee._control.required?2:-1)}}function s(xt,rt){if(1&xt&&e.YNc(0,n,3,5,"label",14),2&xt){const Ee=e.oxw();e.um2(0,Ee._hasFloatingLabel()?0:-1)}}function f(xt,rt){1&xt&&e._UZ(0,"div",17)}function h(xt,rt){}function w(xt,rt){if(1&xt&&e.YNc(0,h,0,0,"ng-template",9),2&xt){e.oxw(2);const Ee=e.MAs(1);e.Q6J("ngTemplateOutlet",Ee)}}function D(xt,rt){if(1&xt&&(e.TgZ(0,"div",5),e.YNc(1,w,1,1,null,9),e.qZA()),2&xt){const Ee=e.oxw();e.Q6J("matFormFieldNotchedOutlineOpen",Ee._shouldLabelFloat()),e.xp6(1),e.um2(1,Ee._forceDisplayInfixLabel()?-1:1)}}function P(xt,rt){1&xt&&(e.TgZ(0,"div",18,19),e.Hsn(2,2),e.qZA())}function v(xt,rt){1&xt&&(e.TgZ(0,"div",20,21),e.Hsn(2,3),e.qZA())}function r(xt,rt){}function g(xt,rt){if(1&xt&&e.YNc(0,r,0,0,"ng-template",9),2&xt){e.oxw();const Ee=e.MAs(1);e.Q6J("ngTemplateOutlet",Ee)}}function H(xt,rt){1&xt&&(e.TgZ(0,"div",22),e.Hsn(1,4),e.qZA())}function N(xt,rt){1&xt&&(e.TgZ(0,"div",23),e.Hsn(1,5),e.qZA())}function te(xt,rt){1&xt&&e._UZ(0,"div",12)}function De(xt,rt){if(1&xt&&(e.TgZ(0,"div",24),e.Hsn(1,6),e.qZA()),2&xt){const Ee=e.oxw();e.Q6J("@transitionMessages",Ee._subscriptAnimationState)}}function st(xt,rt){if(1&xt&&(e.TgZ(0,"mat-hint",26),e._uU(1),e.qZA()),2&xt){const Ee=e.oxw(2);e.Q6J("id",Ee._hintLabelId),e.xp6(1),e.Oqu(Ee.hintLabel)}}function je(xt,rt){if(1&xt&&(e.TgZ(0,"div",25),e.YNc(1,st,2,2,"mat-hint",26),e.Hsn(2,7),e._UZ(3,"div",27),e.Hsn(4,8),e.qZA()),2&xt){const Ee=e.oxw();e.Q6J("@transitionMessages",Ee._subscriptAnimationState),e.xp6(1),e.um2(1,Ee.hintLabel?1:-1)}}const $e=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],ye=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let fe=(()=>{class xt{static#e=this.\u0275fac=function(it){return new(it||xt)};static#t=this.\u0275dir=e.lG2({type:xt,selectors:[["mat-label"]]})}return xt})(),de=0;const Ce=new e.OlP("MatError");let le=(()=>{class xt{constructor(Ee,it){this.id="mat-mdc-error-"+de++,Ee||it.nativeElement.setAttribute("aria-live","polite")}static#e=this.\u0275fac=function(it){return new(it||xt)(e.$8M("aria-live"),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:xt,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(it,Ue){2&it&&e.Ikx("id",Ue.id)},inputs:{id:"id"},features:[e._Bn([{provide:Ce,useExisting:xt}])]})}return xt})(),ge=0,qe=(()=>{class xt{constructor(){this.align="start",this.id="mat-mdc-hint-"+ge++}static#e=this.\u0275fac=function(it){return new(it||xt)};static#t=this.\u0275dir=e.lG2({type:xt,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(it,Ue){2&it&&(e.Ikx("id",Ue.id),e.uIk("align",null),e.ekj("mat-mdc-form-field-hint-end","end"===Ue.align))},inputs:{align:"align",id:"id"}})}return xt})();const oe=new e.OlP("MatPrefix"),ce=new e.OlP("MatSuffix");let Ge=(()=>{class xt{constructor(){this._isText=!1}set _isTextSelector(Ee){this._isText=!0}static#e=this.\u0275fac=function(it){return new(it||xt)};static#t=this.\u0275dir=e.lG2({type:xt,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[e._Bn([{provide:ce,useExisting:xt}])]})}return xt})();const Ze=new e.OlP("FloatingLabelParent");let wt=(()=>{class xt{get floating(){return this._floating}set floating(Ee){this._floating=Ee,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(Ee){this._monitorResize=Ee,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(Ee){this._elementRef=Ee,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,e.f3M)(G),this._ngZone=(0,e.f3M)(e.R0b),this._parent=(0,e.f3M)(Ze),this._resizeSubscription=new A.w0}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function mt(xt){if(null!==xt.offsetParent)return xt.scrollWidth;const Ee=xt.cloneNode(!0);Ee.style.setProperty("position","absolute"),Ee.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(Ee);const it=Ee.scrollWidth;return Ee.remove(),it}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static#e=this.\u0275fac=function(it){return new(it||xt)(e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:xt,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(it,Ue){2&it&&e.ekj("mdc-floating-label--float-above",Ue.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return xt})();const kt="mdc-line-ripple--active",Ae="mdc-line-ripple--deactivating";let ze=(()=>{class xt{constructor(Ee,it){this._elementRef=Ee,this._handleTransitionEnd=Ue=>{const Je=this._elementRef.nativeElement.classList,_t=Je.contains(Ae);"opacity"===Ue.propertyName&&_t&&Je.remove(kt,Ae)},it.runOutsideAngular(()=>{Ee.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const Ee=this._elementRef.nativeElement.classList;Ee.remove(Ae),Ee.add(kt)}deactivate(){this._elementRef.nativeElement.classList.add(Ae)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static#e=this.\u0275fac=function(it){return new(it||xt)(e.Y36(e.SBq),e.Y36(e.R0b))};static#t=this.\u0275dir=e.lG2({type:xt,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return xt})(),nt=(()=>{class xt{constructor(Ee,it){this._elementRef=Ee,this._ngZone=it,this.open=!1}ngAfterViewInit(){const Ee=this._elementRef.nativeElement.querySelector(".mdc-floating-label");Ee?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(Ee.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>Ee.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(Ee){this._notch.nativeElement.style.width=this.open&&Ee?`calc(${Ee}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static#e=this.\u0275fac=function(it){return new(it||xt)(e.Y36(e.SBq),e.Y36(e.R0b))};static#t=this.\u0275cmp=e.Xpm({type:xt,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(it,Ue){if(1&it&&e.Gf(ae,5),2&it){let Je;e.iGM(Je=e.CRH())&&(Ue._notch=Je.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(it,Ue){2&it&&e.ekj("mdc-notched-outline--notched",Ue.open)},inputs:{open:["matFormFieldNotchedOutlineOpen","open"]},attrs:ue,ngContentSelectors:re,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(it,Ue){1&it&&(e.F$t(),e._UZ(0,"div",0),e.TgZ(1,"div",1,2),e.Hsn(3),e.qZA(),e._UZ(4,"div",3))},encapsulation:2,changeDetection:0})}return xt})();const et={transitionMessages:(0,W.X$)("transitionMessages",[(0,W.SB)("enter",(0,W.oB)({opacity:1,transform:"translateY(0%)"})),(0,W.eR)("void => enter",[(0,W.oB)({opacity:0,transform:"translateY(-5px)"}),(0,W.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let ke=(()=>{class xt{static#e=this.\u0275fac=function(it){return new(it||xt)};static#t=this.\u0275dir=e.lG2({type:xt})}return xt})();const lt=new e.OlP("MatFormField"),Ke=new e.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Be=0,Ct=(()=>{class xt{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Ee){this._hideRequiredMarker=(0,j.Ig)(Ee)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(Ee){Ee!==this._floatLabel&&(this._floatLabel=Ee,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(Ee){const it=this._appearance;this._appearance=Ee||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==it&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(Ee){this._subscriptSizing=Ee||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(Ee){this._hintLabel=Ee,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(Ee){this._explicitFormFieldControl=Ee}constructor(Ee,it,Ue,Je,_t,Le,be,ee){this._elementRef=Ee,this._changeDetectorRef=it,this._ngZone=Ue,this._dir=Je,this._platform=_t,this._defaults=Le,this._animationMode=be,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-"+Be++,this._hintLabelId="mat-mdc-hint-"+Be++,this._subscriptAnimationState="",this._destroyed=new l.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,Le&&(Le.appearance&&(this.appearance=Le.appearance),this._hideRequiredMarker=!!Le?.hideRequiredMarker,Le.color&&(this.color=Le.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const Ee=this._control;Ee.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${Ee.controlType}`),Ee.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),Ee.ngControl&&Ee.ngControl.valueChanges&&Ee.ngControl.valueChanges.pipe((0,m.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(Ee=>!Ee._isText),this._hasTextPrefix=!!this._prefixChildren.find(Ee=>Ee._isText),this._hasIconSuffix=!!this._suffixChildren.find(Ee=>!Ee._isText),this._hasTextSuffix=!!this._suffixChildren.find(Ee=>Ee._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,M.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,m.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,m.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(Ee){const it=this._control?this._control.ngControl:null;return it&&it[Ee]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let Ee=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&Ee.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const it=this._hintChildren?this._hintChildren.find(Je=>"start"===Je.align):null,Ue=this._hintChildren?this._hintChildren.find(Je=>"end"===Je.align):null;it?Ee.push(it.id):this._hintLabel&&Ee.push(this._hintLabelId),Ue&&Ee.push(Ue.id)}else this._errorChildren&&Ee.push(...this._errorChildren.map(it=>it.id));this._control.setDescribedByIds(Ee)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const Ee=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(Ee.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const it=this._iconPrefixContainer?.nativeElement,Ue=this._textPrefixContainer?.nativeElement,Je=it?.getBoundingClientRect().width??0,_t=Ue?.getBoundingClientRect().width??0;Ee.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${Je+_t}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const Ee=this._elementRef.nativeElement;if(Ee.getRootNode){const it=Ee.getRootNode();return it&&it!==Ee}return document.documentElement.contains(Ee)}static#e=this.\u0275fac=function(it){return new(it||xt)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(t.Is),e.Y36(y.t4),e.Y36(Ke,8),e.Y36(e.QbO,8),e.Y36(K.K0))};static#t=this.\u0275cmp=e.Xpm({type:xt,selectors:[["mat-form-field"]],contentQueries:function(it,Ue,Je){if(1&it&&(e.Suo(Je,fe,5),e.Suo(Je,fe,7),e.Suo(Je,ke,5),e.Suo(Je,oe,5),e.Suo(Je,ce,5),e.Suo(Je,Ce,5),e.Suo(Je,qe,5)),2&it){let _t;e.iGM(_t=e.CRH())&&(Ue._labelChildNonStatic=_t.first),e.iGM(_t=e.CRH())&&(Ue._labelChildStatic=_t.first),e.iGM(_t=e.CRH())&&(Ue._formFieldControl=_t.first),e.iGM(_t=e.CRH())&&(Ue._prefixChildren=_t),e.iGM(_t=e.CRH())&&(Ue._suffixChildren=_t),e.iGM(_t=e.CRH())&&(Ue._errorChildren=_t),e.iGM(_t=e.CRH())&&(Ue._hintChildren=_t)}},viewQuery:function(it,Ue){if(1&it&&(e.Gf(xe,5),e.Gf($,5),e.Gf(he,5),e.Gf(wt,5),e.Gf(nt,5),e.Gf(ze,5)),2&it){let Je;e.iGM(Je=e.CRH())&&(Ue._textField=Je.first),e.iGM(Je=e.CRH())&&(Ue._iconPrefixContainer=Je.first),e.iGM(Je=e.CRH())&&(Ue._textPrefixContainer=Je.first),e.iGM(Je=e.CRH())&&(Ue._floatingLabel=Je.first),e.iGM(Je=e.CRH())&&(Ue._notchedOutline=Je.first),e.iGM(Je=e.CRH())&&(Ue._lineRipple=Je.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(it,Ue){2&it&&e.ekj("mat-mdc-form-field-label-always-float",Ue._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",Ue._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",Ue._hasIconSuffix)("mat-form-field-invalid",Ue._control.errorState)("mat-form-field-disabled",Ue._control.disabled)("mat-form-field-autofilled",Ue._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===Ue._animationMode)("mat-form-field-appearance-fill","fill"==Ue.appearance)("mat-form-field-appearance-outline","outline"==Ue.appearance)("mat-form-field-hide-placeholder",Ue._hasFloatingLabel()&&!Ue._shouldLabelFloat())("mat-focused",Ue._control.focused)("mat-primary","accent"!==Ue.color&&"warn"!==Ue.color)("mat-accent","accent"===Ue.color)("mat-warn","warn"===Ue.color)("ng-untouched",Ue._shouldForward("untouched"))("ng-touched",Ue._shouldForward("touched"))("ng-pristine",Ue._shouldForward("pristine"))("ng-dirty",Ue._shouldForward("dirty"))("ng-valid",Ue._shouldForward("valid"))("ng-invalid",Ue._shouldForward("invalid"))("ng-pending",Ue._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[e._Bn([{provide:lt,useExisting:xt},{provide:Ze,useExisting:xt}])],ngContentSelectors:ye,decls:18,vars:21,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],["class","mat-mdc-form-field-icon-prefix"],["class","mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],["class","mat-mdc-form-field-text-suffix"],["class","mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],[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"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(it,Ue){if(1&it&&(e.F$t($e),e.YNc(0,s,1,1,"ng-template",null,0,e.W1O),e.TgZ(2,"div",1,2),e.NdJ("click",function(_t){return Ue._control.onContainerClick(_t)}),e.YNc(4,f,1,0,"div",3),e.TgZ(5,"div",4),e.YNc(6,D,2,2,"div",5)(7,P,3,0,"div",6)(8,v,3,0,"div",7),e.TgZ(9,"div",8),e.YNc(10,g,1,1,null,9),e.Hsn(11),e.qZA(),e.YNc(12,H,2,0,"div",10)(13,N,2,0,"div",11),e.qZA(),e.YNc(14,te,1,0,"div",12),e.qZA(),e.TgZ(15,"div",13),e.YNc(16,De,2,1)(17,je,5,2),e.qZA()),2&it){let Je;e.xp6(2),e.ekj("mdc-text-field--filled",!Ue._hasOutline())("mdc-text-field--outlined",Ue._hasOutline())("mdc-text-field--no-label",!Ue._hasFloatingLabel())("mdc-text-field--disabled",Ue._control.disabled)("mdc-text-field--invalid",Ue._control.errorState),e.xp6(2),e.um2(4,Ue._hasOutline()||Ue._control.disabled?-1:4),e.xp6(2),e.um2(6,Ue._hasOutline()?6:-1),e.xp6(1),e.um2(7,Ue._hasIconPrefix?7:-1),e.xp6(1),e.um2(8,Ue._hasTextPrefix?8:-1),e.xp6(2),e.um2(10,!Ue._hasOutline()||Ue._forceDisplayInfixLabel()?10:-1),e.xp6(2),e.um2(12,Ue._hasTextSuffix?12:-1),e.xp6(1),e.um2(13,Ue._hasIconSuffix?13:-1),e.xp6(1),e.um2(14,Ue._hasOutline()?-1:14),e.xp6(1),e.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===Ue.subscriptSizing),e.xp6(1),e.um2(16,"error"===(Je=Ue._getDisplayedMessages())?16:"hint"===Je?17:-1)}},dependencies:[K.tP,qe,wt,nt,ze],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-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:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix,[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(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[et.transitionMessages]},changeDetection:0})}return xt})(),Pt=(()=>{class xt{static#e=this.\u0275fac=function(it){return new(it||xt)};static#t=this.\u0275mod=e.oAB({type:xt});static#i=this.\u0275inj=e.cJS({imports:[ie.BQ,K.ez,q.Q8,ie.BQ]})}return xt})()},3176:(He,X,p)=>{"use strict";p.d(X,{DX:()=>I,Il:()=>$,N6:()=>he});var e=p(9212),t=p(3680),y=p(2495),A=p(9388);const l=["*"];class d{constructor(){this.columnIndex=0,this.rowIndex=0}get rowCount(){return this.rowIndex+1}get rowspan(){const s=Math.max(...this.tracker);return s>1?this.rowCount+s-1:this.rowCount}update(s,f){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(s),this.tracker.fill(0,0,this.tracker.length),this.positions=f.map(h=>this._trackTile(h))}_trackTile(s){const f=this._findMatchingGap(s.colspan);return this._markTilePosition(f,s),this.columnIndex=f+s.colspan,new E(this.rowIndex,f)}_findMatchingGap(s){let f=-1,h=-1;do{this.columnIndex+s>this.tracker.length?(this._nextRow(),f=this.tracker.indexOf(0,this.columnIndex),h=this._findGapEndIndex(f)):(f=this.tracker.indexOf(0,this.columnIndex),-1!=f?(h=this._findGapEndIndex(f),this.columnIndex=f+1):(this._nextRow(),f=this.tracker.indexOf(0,this.columnIndex),h=this._findGapEndIndex(f)))}while(h-f<s||0==h);return Math.max(f,0)}_nextRow(){this.columnIndex=0,this.rowIndex++;for(let s=0;s<this.tracker.length;s++)this.tracker[s]=Math.max(0,this.tracker[s]-1)}_findGapEndIndex(s){for(let f=s+1;f<this.tracker.length;f++)if(0!=this.tracker[f])return f;return this.tracker.length}_markTilePosition(s,f){for(let h=0;h<f.colspan;h++)this.tracker[s+h]=f.rowspan}}class E{constructor(s,f){this.row=s,this.col=f}}const x=new e.OlP("MAT_GRID_LIST");let I=(()=>{class n{constructor(f,h){this._element=f,this._gridList=h,this._rowspan=1,this._colspan=1}get rowspan(){return this._rowspan}set rowspan(f){this._rowspan=Math.round((0,y.su)(f))}get colspan(){return this._colspan}set colspan(f){this._colspan=Math.round((0,y.su)(f))}_setStyle(f,h){this._element.nativeElement.style[f]=h}static#e=this.\u0275fac=function(h){return new(h||n)(e.Y36(e.SBq),e.Y36(x,8))};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(h,w){2&h&&e.uIk("rowspan",w.rowspan)("colspan",w.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],ngContentSelectors:l,decls:2,vars:0,consts:[[1,"mat-grid-tile-content"]],template:function(h,w){1&h&&(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-header{font-size:var(--mat-grid-list-tile-header-primary-text-size)}.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-header-secondary-text-size)}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size)}.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-footer-secondary-text-size)}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}"],encapsulation:2,changeDetection:0})}return n})();const W=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/;class K{constructor(){this._rows=0,this._rowspan=0}init(s,f,h,w){this._gutterSize=re(s),this._rows=f.rowCount,this._rowspan=f.rowspan,this._cols=h,this._direction=w}getBaseTileSize(s,f){return`(${s}% - (${this._gutterSize} * ${f}))`}getTilePosition(s,f){return 0===f?"0":ue(`(${s} + ${this._gutterSize}) * ${f}`)}getTileSize(s,f){return`(${s} * ${f}) + (${f-1} * ${this._gutterSize})`}setStyle(s,f,h){let w=100/this._cols,D=(this._cols-1)/this._cols;this.setColStyles(s,h,w,D),this.setRowStyles(s,f,w,D)}setColStyles(s,f,h,w){let D=this.getBaseTileSize(h,w);s._setStyle("rtl"===this._direction?"right":"left",this.getTilePosition(D,f)),s._setStyle("width",ue(this.getTileSize(D,s.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(s){return`${this._rowspan} * ${this.getTileSize(s,1)}`}getComputedHeight(){return null}}class q extends K{constructor(s){super(),this.fixedRowHeight=s}init(s,f,h,w){super.init(s,f,h,w),this.fixedRowHeight=re(this.fixedRowHeight),W.test(this.fixedRowHeight)}setRowStyles(s,f){s._setStyle("top",this.getTilePosition(this.fixedRowHeight,f)),s._setStyle("height",ue(this.getTileSize(this.fixedRowHeight,s.rowspan)))}getComputedHeight(){return["height",ue(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(s){s._setListStyle(["height",null]),s._tiles&&s._tiles.forEach(f=>{f._setStyle("top",null),f._setStyle("height",null)})}}class ie extends K{constructor(s){super(),this._parseRatio(s)}setRowStyles(s,f,h,w){this.baseTileHeight=this.getBaseTileSize(h/this.rowHeightRatio,w),s._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,f)),s._setStyle("paddingTop",ue(this.getTileSize(this.baseTileHeight,s.rowspan)))}getComputedHeight(){return["paddingBottom",ue(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(s){s._setListStyle(["paddingBottom",null]),s._tiles.forEach(f=>{f._setStyle("marginTop",null),f._setStyle("paddingTop",null)})}_parseRatio(s){const f=s.split(":");this.rowHeightRatio=parseFloat(f[0])/parseFloat(f[1])}}class ae extends K{setRowStyles(s,f){let D=this.getBaseTileSize(100/this._rowspan,(this._rows-1)/this._rows);s._setStyle("top",this.getTilePosition(D,f)),s._setStyle("height",ue(this.getTileSize(D,s.rowspan)))}reset(s){s._tiles&&s._tiles.forEach(f=>{f._setStyle("top",null),f._setStyle("height",null)})}}function ue(n){return`calc(${n})`}function re(n){return n.match(/([A-Za-z%]+)$/)?n:`${n}px`}let $=(()=>{class n{constructor(f,h){this._element=f,this._dir=h,this._gutter="1px"}get cols(){return this._cols}set cols(f){this._cols=Math.max(1,Math.round((0,y.su)(f)))}get gutterSize(){return this._gutter}set gutterSize(f){this._gutter=`${f??""}`}get rowHeight(){return this._rowHeight}set rowHeight(f){const h=`${f??""}`;h!==this._rowHeight&&(this._rowHeight=h,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){}_checkRowHeight(){this._rowHeight||this._setTileStyler("1:1")}_setTileStyler(f){this._tileStyler&&this._tileStyler.reset(this),this._tileStyler="fit"===f?new ae:f&&f.indexOf(":")>-1?new ie(f):new q(f)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new d);const f=this._tileCoordinator,h=this._tiles.filter(D=>!D._gridList||D._gridList===this),w=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,h),this._tileStyler.init(this.gutterSize,f,this.cols,w),h.forEach((D,P)=>{const v=f.positions[P];this._tileStyler.setStyle(D,v.row,v.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(f){f&&(this._element.nativeElement.style[f[0]]=f[1])}static#e=this.\u0275fac=function(h){return new(h||n)(e.Y36(e.SBq),e.Y36(A.Is,8))};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["mat-grid-list"]],contentQueries:function(h,w,D){if(1&h&&e.Suo(D,I,5),2&h){let P;e.iGM(P=e.CRH())&&(w._tiles=P)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(h,w){2&h&&e.uIk("cols",w.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],features:[e._Bn([{provide:x,useExisting:n}])],ngContentSelectors:l,decls:2,vars:0,template:function(h,w){1&h&&(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-header{font-size:var(--mat-grid-list-tile-header-primary-text-size)}.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-header-secondary-text-size)}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size)}.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-footer-secondary-text-size)}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}"],encapsulation:2,changeDetection:0})}return n})(),he=(()=>{class n{static#e=this.\u0275fac=function(h){return new(h||n)};static#t=this.\u0275mod=e.oAB({type:n});static#i=this.\u0275inj=e.cJS({imports:[t.uc,t.BQ,t.uc,t.BQ]})}return n})()},617:(He,X,p)=>{"use strict";p.d(X,{Hw:()=>N,Ps:()=>te});var e=p(9212),t=p(3680),y=p(2495),A=p(6814),l=p(2096),M=p(8504),m=p(9315),O=p(7394),d=p(9397),E=p(7398),x=p(6306),I=p(4716),k=p(3020),V=p(8180),G=p(9862),j=p(6593);const W=["*"];let K;function ie(De){return function q(){if(void 0===K&&(K=null,typeof window<"u")){const De=window;void 0!==De.trustedTypes&&(K=De.trustedTypes.createPolicy("angular#components",{createHTML:st=>st}))}return K}()?.createHTML(De)||De}function ae(De){return Error(`Unable to find icon with the name "${De}"`)}function re(De){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${De}".`)}function xe(De){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${De}".`)}class ${constructor(st,je,$e){this.url=st,this.svgText=je,this.options=$e}}let he=(()=>{class De{constructor(je,$e,ye,fe){this._httpClient=je,this._sanitizer=$e,this._errorHandler=fe,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=ye}addSvgIcon(je,$e,ye){return this.addSvgIconInNamespace("",je,$e,ye)}addSvgIconLiteral(je,$e,ye){return this.addSvgIconLiteralInNamespace("",je,$e,ye)}addSvgIconInNamespace(je,$e,ye,fe){return this._addSvgIconConfig(je,$e,new $(ye,null,fe))}addSvgIconResolver(je){return this._resolvers.push(je),this}addSvgIconLiteralInNamespace(je,$e,ye,fe){const de=this._sanitizer.sanitize(e.q3G.HTML,ye);if(!de)throw xe(ye);const Ce=ie(de);return this._addSvgIconConfig(je,$e,new $("",Ce,fe))}addSvgIconSet(je,$e){return this.addSvgIconSetInNamespace("",je,$e)}addSvgIconSetLiteral(je,$e){return this.addSvgIconSetLiteralInNamespace("",je,$e)}addSvgIconSetInNamespace(je,$e,ye){return this._addSvgIconSetConfig(je,new $($e,null,ye))}addSvgIconSetLiteralInNamespace(je,$e,ye){const fe=this._sanitizer.sanitize(e.q3G.HTML,$e);if(!fe)throw xe($e);const de=ie(fe);return this._addSvgIconSetConfig(je,new $("",de,ye))}registerFontClassAlias(je,$e=je){return this._fontCssClassesByAlias.set(je,$e),this}classNameForFontAlias(je){return this._fontCssClassesByAlias.get(je)||je}setDefaultFontSetClass(...je){return this._defaultFontSetClass=je,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(je){const $e=this._sanitizer.sanitize(e.q3G.RESOURCE_URL,je);if(!$e)throw re(je);const ye=this._cachedIconsByUrl.get($e);return ye?(0,l.of)(s(ye)):this._loadSvgIconFromConfig(new $(je,null)).pipe((0,d.b)(fe=>this._cachedIconsByUrl.set($e,fe)),(0,E.U)(fe=>s(fe)))}getNamedSvgIcon(je,$e=""){const ye=f($e,je);let fe=this._svgIconConfigs.get(ye);if(fe)return this._getSvgFromConfig(fe);if(fe=this._getIconConfigFromResolvers($e,je),fe)return this._svgIconConfigs.set(ye,fe),this._getSvgFromConfig(fe);const de=this._iconSetConfigs.get($e);return de?this._getSvgFromIconSetConfigs(je,de):(0,M._)(ae(ye))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(je){return je.svgText?(0,l.of)(s(this._svgElementFromConfig(je))):this._loadSvgIconFromConfig(je).pipe((0,E.U)($e=>s($e)))}_getSvgFromIconSetConfigs(je,$e){const ye=this._extractIconWithNameFromAnySet(je,$e);if(ye)return(0,l.of)(ye);const fe=$e.filter(de=>!de.svgText).map(de=>this._loadSvgIconSetFromConfig(de).pipe((0,x.K)(Ce=>{const ge=`Loading icon set URL: ${this._sanitizer.sanitize(e.q3G.RESOURCE_URL,de.url)} failed: ${Ce.message}`;return this._errorHandler.handleError(new Error(ge)),(0,l.of)(null)})));return(0,m.D)(fe).pipe((0,E.U)(()=>{const de=this._extractIconWithNameFromAnySet(je,$e);if(!de)throw ae(je);return de}))}_extractIconWithNameFromAnySet(je,$e){for(let ye=$e.length-1;ye>=0;ye--){const fe=$e[ye];if(fe.svgText&&fe.svgText.toString().indexOf(je)>-1){const de=this._svgElementFromConfig(fe),Ce=this._extractSvgIconFromSet(de,je,fe.options);if(Ce)return Ce}}return null}_loadSvgIconFromConfig(je){return this._fetchIcon(je).pipe((0,d.b)($e=>je.svgText=$e),(0,E.U)(()=>this._svgElementFromConfig(je)))}_loadSvgIconSetFromConfig(je){return je.svgText?(0,l.of)(null):this._fetchIcon(je).pipe((0,d.b)($e=>je.svgText=$e))}_extractSvgIconFromSet(je,$e,ye){const fe=je.querySelector(`[id="${$e}"]`);if(!fe)return null;const de=fe.cloneNode(!0);if(de.removeAttribute("id"),"svg"===de.nodeName.toLowerCase())return this._setSvgAttributes(de,ye);if("symbol"===de.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(de),ye);const Ce=this._svgElementFromString(ie("<svg></svg>"));return Ce.appendChild(de),this._setSvgAttributes(Ce,ye)}_svgElementFromString(je){const $e=this._document.createElement("DIV");$e.innerHTML=je;const ye=$e.querySelector("svg");if(!ye)throw Error("<svg> tag not found");return ye}_toSvgElement(je){const $e=this._svgElementFromString(ie("<svg></svg>")),ye=je.attributes;for(let fe=0;fe<ye.length;fe++){const{name:de,value:Ce}=ye[fe];"id"!==de&&$e.setAttribute(de,Ce)}for(let fe=0;fe<je.childNodes.length;fe++)je.childNodes[fe].nodeType===this._document.ELEMENT_NODE&&$e.appendChild(je.childNodes[fe].cloneNode(!0));return $e}_setSvgAttributes(je,$e){return je.setAttribute("fit",""),je.setAttribute("height","100%"),je.setAttribute("width","100%"),je.setAttribute("preserveAspectRatio","xMidYMid meet"),je.setAttribute("focusable","false"),$e&&$e.viewBox&&je.setAttribute("viewBox",$e.viewBox),je}_fetchIcon(je){const{url:$e,options:ye}=je,fe=ye?.withCredentials??!1;if(!this._httpClient)throw function ue(){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==$e)throw Error(`Cannot fetch icon from URL "${$e}".`);const de=this._sanitizer.sanitize(e.q3G.RESOURCE_URL,$e);if(!de)throw re($e);const Ce=this._inProgressUrlFetches.get(de);if(Ce)return Ce;const le=this._httpClient.get(de,{responseType:"text",withCredentials:fe}).pipe((0,E.U)(ge=>ie(ge)),(0,I.x)(()=>this._inProgressUrlFetches.delete(de)),(0,k.B)());return this._inProgressUrlFetches.set(de,le),le}_addSvgIconConfig(je,$e,ye){return this._svgIconConfigs.set(f(je,$e),ye),this}_addSvgIconSetConfig(je,$e){const ye=this._iconSetConfigs.get(je);return ye?ye.push($e):this._iconSetConfigs.set(je,[$e]),this}_svgElementFromConfig(je){if(!je.svgElement){const $e=this._svgElementFromString(je.svgText);this._setSvgAttributes($e,je.options),je.svgElement=$e}return je.svgElement}_getIconConfigFromResolvers(je,$e){for(let ye=0;ye<this._resolvers.length;ye++){const fe=this._resolvers[ye]($e,je);if(fe)return h(fe)?new $(fe.url,null,fe.options):new $(fe,null)}}static#e=this.\u0275fac=function($e){return new($e||De)(e.LFG(G.eN,8),e.LFG(j.H7),e.LFG(A.K0,8),e.LFG(e.qLn))};static#t=this.\u0275prov=e.Yz7({token:De,factory:De.\u0275fac,providedIn:"root"})}return De})();function s(De){return De.cloneNode(!0)}function f(De,st){return De+":"+st}function h(De){return!(!De.url||!De.options)}const w=(0,t.pj)(class{constructor(De){this._elementRef=De}}),D=new e.OlP("MAT_ICON_DEFAULT_OPTIONS"),P=new e.OlP("mat-icon-location",{providedIn:"root",factory:function v(){const De=(0,e.f3M)(A.K0),st=De?De.location:null;return{getPathname:()=>st?st.pathname+st.search:""}}}),r=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],g=r.map(De=>`[${De}]`).join(", "),H=/^url\(['"]?#(.*?)['"]?\)$/;let N=(()=>{class De extends w{get inline(){return this._inline}set inline(je){this._inline=(0,y.Ig)(je)}get svgIcon(){return this._svgIcon}set svgIcon(je){je!==this._svgIcon&&(je?this._updateSvgIcon(je):this._svgIcon&&this._clearSvgElement(),this._svgIcon=je)}get fontSet(){return this._fontSet}set fontSet(je){const $e=this._cleanupFontValue(je);$e!==this._fontSet&&(this._fontSet=$e,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(je){const $e=this._cleanupFontValue(je);$e!==this._fontIcon&&(this._fontIcon=$e,this._updateFontIconClasses())}constructor(je,$e,ye,fe,de,Ce){super(je),this._iconRegistry=$e,this._location=fe,this._errorHandler=de,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=O.w0.EMPTY,Ce&&(Ce.color&&(this.color=this.defaultColor=Ce.color),Ce.fontSet&&(this.fontSet=Ce.fontSet)),ye||je.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(je){if(!je)return["",""];const $e=je.split(":");switch($e.length){case 1:return["",$e[0]];case 2:return $e;default:throw Error(`Invalid icon name: "${je}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const je=this._elementsWithExternalReferences;if(je&&je.size){const $e=this._location.getPathname();$e!==this._previousPath&&(this._previousPath=$e,this._prependPathToReferences($e))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(je){this._clearSvgElement();const $e=this._location.getPathname();this._previousPath=$e,this._cacheChildrenWithExternalReferences(je),this._prependPathToReferences($e),this._elementRef.nativeElement.appendChild(je)}_clearSvgElement(){const je=this._elementRef.nativeElement;let $e=je.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();$e--;){const ye=je.childNodes[$e];(1!==ye.nodeType||"svg"===ye.nodeName.toLowerCase())&&ye.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const je=this._elementRef.nativeElement,$e=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(ye=>ye.length>0);this._previousFontSetClass.forEach(ye=>je.classList.remove(ye)),$e.forEach(ye=>je.classList.add(ye)),this._previousFontSetClass=$e,this.fontIcon!==this._previousFontIconClass&&!$e.includes("mat-ligature-font")&&(this._previousFontIconClass&&je.classList.remove(this._previousFontIconClass),this.fontIcon&&je.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(je){return"string"==typeof je?je.trim().split(" ")[0]:je}_prependPathToReferences(je){const $e=this._elementsWithExternalReferences;$e&&$e.forEach((ye,fe)=>{ye.forEach(de=>{fe.setAttribute(de.name,`url('${je}#${de.value}')`)})})}_cacheChildrenWithExternalReferences(je){const $e=je.querySelectorAll(g),ye=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let fe=0;fe<$e.length;fe++)r.forEach(de=>{const Ce=$e[fe],le=Ce.getAttribute(de),ge=le?le.match(H):null;if(ge){let qe=ye.get(Ce);qe||(qe=[],ye.set(Ce,qe)),qe.push({name:de,value:ge[1]})}})}_updateSvgIcon(je){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),je){const[$e,ye]=this._splitIconName(je);$e&&(this._svgNamespace=$e),ye&&(this._svgName=ye),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(ye,$e).pipe((0,V.q)(1)).subscribe(fe=>this._setSvgElement(fe),fe=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${$e}:${ye}! ${fe.message}`))})}}static#e=this.\u0275fac=function($e){return new($e||De)(e.Y36(e.SBq),e.Y36(he),e.$8M("aria-hidden"),e.Y36(P),e.Y36(e.qLn),e.Y36(D,8))};static#t=this.\u0275cmp=e.Xpm({type:De,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function($e,ye){2&$e&&(e.uIk("data-mat-icon-type",ye._usingFontIcon()?"font":"svg")("data-mat-icon-name",ye._svgName||ye.fontIcon)("data-mat-icon-namespace",ye._svgNamespace||ye.fontSet)("fontIcon",ye._usingFontIcon()?ye.fontIcon:null),e.ekj("mat-icon-inline",ye.inline)("mat-icon-no-color","primary"!==ye.color&&"accent"!==ye.color&&"warn"!==ye.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[e.qOj],ngContentSelectors:W,decls:1,vars:0,template:function($e,ye){1&$e&&(e.F$t(),e.Hsn(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}return De})(),te=(()=>{class De{static#e=this.\u0275fac=function($e){return new($e||De)};static#t=this.\u0275mod=e.oAB({type:De});static#i=this.\u0275inj=e.cJS({imports:[t.BQ,t.BQ]})}return De})()},2032:(He,X,p)=>{"use strict";p.d(X,{Jk:()=>G,Nt:()=>q,c:()=>ie});var e=p(2495),t=p(2831),y=p(9212),A=p(6232),l=p(8645);const M=(0,t.i$)({passive:!0});let m=(()=>{class ae{constructor(re,xe){this._platform=re,this._ngZone=xe,this._monitoredElements=new Map}monitor(re){if(!this._platform.isBrowser)return A.E;const xe=(0,e.fI)(re),$=this._monitoredElements.get(xe);if($)return $.subject;const he=new l.x,S="cdk-text-field-autofilled",n=s=>{"cdk-text-field-autofill-start"!==s.animationName||xe.classList.contains(S)?"cdk-text-field-autofill-end"===s.animationName&&xe.classList.contains(S)&&(xe.classList.remove(S),this._ngZone.run(()=>he.next({target:s.target,isAutofilled:!1}))):(xe.classList.add(S),this._ngZone.run(()=>he.next({target:s.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{xe.addEventListener("animationstart",n,M),xe.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(xe,{subject:he,unlisten:()=>{xe.removeEventListener("animationstart",n,M)}}),he}stopMonitoring(re){const xe=(0,e.fI)(re),$=this._monitoredElements.get(xe);$&&($.unlisten(),$.subject.complete(),xe.classList.remove("cdk-text-field-autofill-monitored"),xe.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(xe))}ngOnDestroy(){this._monitoredElements.forEach((re,xe)=>this.stopMonitoring(xe))}static#e=this.\u0275fac=function(xe){return new(xe||ae)(y.LFG(t.t4),y.LFG(y.R0b))};static#t=this.\u0275prov=y.Yz7({token:ae,factory:ae.\u0275fac,providedIn:"root"})}return ae})(),E=(()=>{class ae{static#e=this.\u0275fac=function(xe){return new(xe||ae)};static#t=this.\u0275mod=y.oAB({type:ae});static#i=this.\u0275inj=y.cJS({})}return ae})();var x=p(6223),I=p(3680),k=p(5683);const G=new y.OlP("MAT_INPUT_VALUE_ACCESSOR"),j=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let W=0;const K=(0,I.FD)(class{constructor(ae,ue,re,xe){this._defaultErrorStateMatcher=ae,this._parentForm=ue,this._parentFormGroup=re,this.ngControl=xe,this.stateChanges=new l.x}});let q=(()=>{class ae extends K{get disabled(){return this._disabled}set disabled(re){this._disabled=(0,e.Ig)(re),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(re){this._id=re||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(x.kI.required)??!1}set required(re){this._required=(0,e.Ig)(re)}get type(){return this._type}set type(re){this._type=re||"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(re){re!==this.value&&(this._inputValueAccessor.value=re,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(re){this._readonly=(0,e.Ig)(re)}constructor(re,xe,$,he,S,n,s,f,h,w){super(n,he,S,$),this._elementRef=re,this._platform=xe,this._autofillMonitor=f,this._formField=w,this._uid="mat-input-"+W++,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 r=v.target;!r.value&&0===r.selectionStart&&0===r.selectionEnd&&(r.setSelectionRange(1,1),r.setSelectionRange(0,0))};const D=this._elementRef.nativeElement,P=D.nodeName.toLowerCase();this._inputValueAccessor=s||D,this._previousNativeValue=this.value,this.id=this.id,xe.IOS&&h.runOutsideAngular(()=>{re.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===P,this._isTextarea="textarea"===P,this._isInFormField=!!w,this._isNativeSelect&&(this.controlType=D.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(re=>{this.autofilled=re.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(re){this._elementRef.nativeElement.focus(re)}_focusChanged(re){re!==this.focused&&(this.focused=re,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const re=this._elementRef.nativeElement.value;this._previousNativeValue!==re&&(this._previousNativeValue=re,this.stateChanges.next())}_dirtyCheckPlaceholder(){const re=this._getPlaceholder();if(re!==this._previousPlaceholder){const xe=this._elementRef.nativeElement;this._previousPlaceholder=re,re?xe.setAttribute("placeholder",re):xe.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){j.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let re=this._elementRef.nativeElement.validity;return re&&re.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const re=this._elementRef.nativeElement,xe=re.options[0];return this.focused||re.multiple||!this.empty||!!(re.selectedIndex>-1&&xe&&xe.label)}return this.focused||!this.empty}setDescribedByIds(re){re.length?this._elementRef.nativeElement.setAttribute("aria-describedby",re.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const re=this._elementRef.nativeElement;return this._isNativeSelect&&(re.multiple||re.size>1)}static#e=this.\u0275fac=function(xe){return new(xe||ae)(y.Y36(y.SBq),y.Y36(t.t4),y.Y36(x.a5,10),y.Y36(x.F,8),y.Y36(x.sg,8),y.Y36(I.rD),y.Y36(G,10),y.Y36(m),y.Y36(y.R0b),y.Y36(k.G_,8))};static#t=this.\u0275dir=y.lG2({type:ae,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(xe,$){1&xe&&y.NdJ("focus",function(){return $._focusChanged(!0)})("blur",function(){return $._focusChanged(!1)})("input",function(){return $._onInput()}),2&xe&&(y.Ikx("id",$.id)("disabled",$.disabled)("required",$.required),y.uIk("name",$.name||null)("readonly",$.readonly&&!$._isNativeSelect||null)("aria-invalid",$.empty&&$.required?null:$.errorState)("aria-required",$.required)("id",$.id),y.ekj("mat-input-server",$._isServer)("mat-mdc-form-field-textarea-control",$._isInFormField&&$._isTextarea)("mat-mdc-form-field-input-control",$._isInFormField)("mdc-text-field__input",$._isInFormField)("mat-mdc-native-select-inline",$._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:[y._Bn([{provide:k.Eo,useExisting:ae}]),y.qOj,y.TTD]})}return ae})(),ie=(()=>{class ae{static#e=this.\u0275fac=function(xe){return new(xe||ae)};static#t=this.\u0275mod=y.oAB({type:ae});static#i=this.\u0275inj=y.cJS({imports:[I.BQ,k.lN,k.lN,E,I.BQ]})}return ae})()},9038:(He,X,p)=>{"use strict";p.d(X,{Tg:()=>ve,i$:()=>oe,ie:()=>nt});var e=p(9212),t=p(2495),y=p(2831),A=p(3680),l=p(7394),M=p(3019),O=(p(8645),p(7131)),d=p(6814),E=p(6385);p(4300),p(8337),p(6028),p(6223),p(9773);const j=["*"],K=["unscopedContent"],q=["text"],ie=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],ae=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"],N=new e.OlP("ListOption");let te=(()=>{class et{constructor(ct){this._elementRef=ct}static#e=this.\u0275fac=function(Qe){return new(Qe||et)(e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:et,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]})}return et})(),De=(()=>{class et{constructor(ct){this._elementRef=ct}static#e=this.\u0275fac=function(Qe){return new(Qe||et)(e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:et,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]})}return et})(),st=(()=>{class et{static#e=this.\u0275fac=function(Qe){return new(Qe||et)};static#t=this.\u0275dir=e.lG2({type:et,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]})}return et})(),je=(()=>{class et{constructor(ct){this._listOption=ct}_isAlignedAtStart(){return!this._listOption||"after"===this._listOption?._getTogglePosition()}static#e=this.\u0275fac=function(Qe){return new(Qe||et)(e.Y36(N,8))};static#t=this.\u0275dir=e.lG2({type:et,hostVars:4,hostBindings:function(Qe,Et){2&Qe&&e.ekj("mdc-list-item__start",Et._isAlignedAtStart())("mdc-list-item__end",!Et._isAlignedAtStart())}})}return et})(),$e=(()=>{class et extends je{static#e=this.\u0275fac=(()=>{let ct;return function(Et){return(ct||(ct=e.n5z(et)))(Et||et)}})();static#t=this.\u0275dir=e.lG2({type:et,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[e.qOj]})}return et})(),ye=(()=>{class et extends je{static#e=this.\u0275fac=(()=>{let ct;return function(Et){return(ct||(ct=e.n5z(et)))(Et||et)}})();static#t=this.\u0275dir=e.lG2({type:et,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[e.qOj]})}return et})();const fe=new e.OlP("MAT_LIST_CONFIG");let de=(()=>{class et{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1,this._defaultOptions=(0,e.f3M)(fe,{optional:!0})}get disableRipple(){return this._disableRipple}set disableRipple(ct){this._disableRipple=(0,t.Ig)(ct)}get disabled(){return this._disabled}set disabled(ct){this._disabled=(0,t.Ig)(ct)}static#e=this.\u0275fac=function(Qe){return new(Qe||et)};static#t=this.\u0275dir=e.lG2({type:et,hostVars:1,hostBindings:function(Qe,Et){2&Qe&&e.uIk("aria-disabled",Et.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}})}return et})(),Ce=(()=>{class et{set lines(ct){this._explicitLines=(0,t.su)(ct,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(ct){this._disableRipple=(0,t.Ig)(ct)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(ct){this._disabled=(0,t.Ig)(ct)}get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(ct,Qe,Et,lt,Ke,Be){this._elementRef=ct,this._ngZone=Qe,this._listBase=Et,this._platform=lt,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new l.w0,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=Ke||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement="button"===this._hostElement.nodeName.toLowerCase(),this._noopAnimations="NoopAnimations"===Be,Et&&!Et._isNonInteractive&&this._initInteractiveListItem(),this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),null!==this._rippleRenderer&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!(!this._avatars.length&&!this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new A.IR(this,this._ngZone,this._hostElement,this._platform),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add((0,M.T)(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(ct){if(!this._lines||!this._titles||!this._unscopedContent)return;ct&&this._checkDomForUnscopedTextContent();const Qe=this._explicitLines??this._inferLinesFromContent(),Et=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",Qe<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",Qe<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",2===Qe),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",3===Qe),this._hasUnscopedTextContent){const lt=0===this._titles.length&&1===Qe;Et.classList.toggle("mdc-list-item__primary-text",lt),Et.classList.toggle("mdc-list-item__secondary-text",!lt)}else Et.classList.remove("mdc-list-item__primary-text"),Et.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let ct=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(ct+=1),ct}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(ct=>ct.nodeType!==ct.COMMENT_NODE).some(ct=>!(!ct.textContent||!ct.textContent.trim()))}static#e=this.\u0275fac=function(Qe){return new(Qe||et)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(de,8),e.Y36(y.t4),e.Y36(A.Y2,8),e.Y36(e.QbO,8))};static#t=this.\u0275dir=e.lG2({type:et,contentQueries:function(Qe,Et,lt){if(1&Qe&&(e.Suo(lt,$e,4),e.Suo(lt,ye,4)),2&Qe){let Ke;e.iGM(Ke=e.CRH())&&(Et._avatars=Ke),e.iGM(Ke=e.CRH())&&(Et._icons=Ke)}},hostVars:4,hostBindings:function(Qe,Et){2&Qe&&(e.uIk("aria-disabled",Et.disabled)("disabled",Et._isButtonElement&&Et.disabled||null),e.ekj("mdc-list-item--disabled",Et.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}})}return et})(),oe=(()=>{class et extends de{static#e=this.\u0275fac=(()=>{let ct;return function(Et){return(ct||(ct=e.n5z(et)))(Et||et)}})();static#t=this.\u0275cmp=e.Xpm({type:et,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],features:[e._Bn([{provide:de,useExisting:et}]),e.qOj],ngContentSelectors:j,decls:1,vars:0,template:function(Qe,Et){1&Qe&&(e.F$t(),e.Hsn(0))},styles:['@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:"";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);line-height:var(--mdc-typography-caption-line-height);font-weight:var(--mdc-typography-caption-font-weight);letter-spacing:var(--mdc-typography-caption-letter-spacing);text-decoration:var(--mdc-typography-caption-text-decoration);text-transform:var(--mdc-typography-caption-text-transform)}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.mdc-list-item{background-color:var(--mdc-list-list-item-container-color)}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item--with-one-line{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-avatar,.mdc-list-item--with-one-line.mdc-list-item--with-leading-icon,.mdc-list-item--with-one-line.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-one-line.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-one-line.mdc-list-item--with-leading-radio,.mdc-list-item--with-one-line.mdc-list-item--with-leading-switch{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-image,.mdc-list-item--with-one-line.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines.mdc-list-item--with-leading-avatar,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-icon,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-radio,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-switch,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-image,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-three-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item__primary-text{color:var(--mdc-list-list-item-label-text-color)}.mdc-list-item__primary-text{font-family:var(--mdc-list-list-item-label-text-font);line-height:var(--mdc-list-list-item-label-text-line-height);font-size:var(--mdc-list-list-item-label-text-size);font-weight:var(--mdc-list-list-item-label-text-weight);letter-spacing:var(--mdc-list-list-item-label-text-tracking)}.mdc-list-item__secondary-text{color:var(--mdc-list-list-item-supporting-text-color)}.mdc-list-item__secondary-text{font-family:var(--mdc-list-list-item-supporting-text-font);line-height:var(--mdc-list-list-item-supporting-text-line-height);font-size:var(--mdc-list-list-item-supporting-text-size);font-weight:var(--mdc-list-list-item-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-supporting-text-tracking)}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color)}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start>i{font-size:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon{font-size:var(--mdc-list-list-item-leading-icon-size);width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon,.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color)}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font);line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height);font-size:var(--mdc-list-list-item-trailing-supporting-text-size);font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end>i{font-size:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon{font-size:var(--mdc-list-list-item-trailing-icon-size);width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon,.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color)}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text,.mdc-list-item--disabled .mdc-list-item__overline-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color)}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color)}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color)}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color);opacity:var(--mdc-list-list-item-hover-state-layer-opacity)}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color);opacity:var(--mdc-list-list-item-disabled-state-layer-opacity)}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color);opacity:var(--mdc-list-list-item-focus-state-layer-opacity)}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape);background-color:var(--mdc-list-list-item-leading-avatar-color)}.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})}return et})(),ve=(()=>{class et extends Ce{get activated(){return this._activated}set activated(ct){this._activated=(0,t.Ig)(ct)}constructor(ct,Qe,Et,lt,Ke,Be){super(ct,Qe,Et,lt,Ke,Be),this._activated=!1}_getAriaCurrent(){return"A"===this._hostElement.nodeName&&this._activated?"page":null}static#e=this.\u0275fac=function(Qe){return new(Qe||et)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(de,8),e.Y36(y.t4),e.Y36(A.Y2,8),e.Y36(e.QbO,8))};static#t=this.\u0275cmp=e.Xpm({type:et,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(Qe,Et,lt){if(1&Qe&&(e.Suo(lt,De,5),e.Suo(lt,te,5),e.Suo(lt,st,5)),2&Qe){let Ke;e.iGM(Ke=e.CRH())&&(Et._lines=Ke),e.iGM(Ke=e.CRH())&&(Et._titles=Ke),e.iGM(Ke=e.CRH())&&(Et._meta=Ke)}},viewQuery:function(Qe,Et){if(1&Qe&&(e.Gf(K,5),e.Gf(q,5)),2&Qe){let lt;e.iGM(lt=e.CRH())&&(Et._unscopedContent=lt.first),e.iGM(lt=e.CRH())&&(Et._itemText=lt.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:11,hostBindings:function(Qe,Et){2&Qe&&(e.uIk("aria-current",Et._getAriaCurrent()),e.ekj("mdc-list-item--activated",Et.activated)("mdc-list-item--with-leading-avatar",0!==Et._avatars.length)("mdc-list-item--with-leading-icon",0!==Et._icons.length)("mdc-list-item--with-trailing-meta",0!==Et._meta.length)("_mat-animation-noopable",Et._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[e.qOj],ngContentSelectors:ae,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(Qe,Et){1&Qe&&(e.F$t(ie),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 Et._updateItemLines(!0)}),e.Hsn(6,3),e.qZA()(),e.Hsn(7,4),e.Hsn(8,5),e._UZ(9,"div",3))},dependencies:[O.wD],encapsulation:2,changeDetection:0})}return et})(),nt=(()=>{class et{static#e=this.\u0275fac=function(Qe){return new(Qe||et)};static#t=this.\u0275mod=e.oAB({type:et});static#i=this.\u0275inj=e.cJS({imports:[O.Q8,d.ez,A.BQ,A.si,A.us,E.t]})}return et})()},7988:(He,X,p)=>{"use strict";p.d(X,{OP:()=>f,Tx:()=>le,VK:()=>st,p6:()=>Ce});var e=p(9212),t=p(4300),y=p(6028),A=p(8645),l=p(3019),M=p(7394),m=p(2096),O=p(6410),d=p(7921),E=p(4664),x=p(8180),I=p(9773),k=p(2181),V=p(932),G=p(6814),j=p(3680),W=p(8484),K=p(6825),q=p(9388),ie=p(3651),ae=p(2831),ue=p(5407);const re=["mat-menu-item",""];function xe(ge,qe){1&ge&&(e.O4$(),e.TgZ(0,"svg",3),e._UZ(1,"polygon",4),e.qZA())}const $=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],he=["mat-icon, [matMenuItemIcon]","*"];function S(ge,qe){if(1&ge){const oe=e.EpF();e.TgZ(0,"div",0),e.NdJ("keydown",function(ce){e.CHM(oe);const Ge=e.oxw();return e.KtG(Ge._handleKeydown(ce))})("click",function(){e.CHM(oe);const ce=e.oxw();return e.KtG(ce.closed.emit("click"))})("@transformMenu.start",function(ce){e.CHM(oe);const Ge=e.oxw();return e.KtG(Ge._onAnimationStart(ce))})("@transformMenu.done",function(ce){e.CHM(oe);const Ge=e.oxw();return e.KtG(Ge._onAnimationDone(ce))}),e.TgZ(1,"div",1),e.Hsn(2),e.qZA()()}if(2&ge){const oe=e.oxw();e.Q6J("id",oe.panelId)("ngClass",oe._classList)("@transformMenu",oe._panelAnimationState),e.uIk("aria-label",oe.ariaLabel||null)("aria-labelledby",oe.ariaLabelledby||null)("aria-describedby",oe.ariaDescribedby||null)}}const n=["*"],s=new e.OlP("MAT_MENU_PANEL");let f=(()=>{class ge{constructor(oe,ve,ce,Ge,Ze){this._elementRef=oe,this._document=ve,this._focusMonitor=ce,this._parentMenu=Ge,this._changeDetectorRef=Ze,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new A.x,this._focused=new A.x,this._highlighted=!1,this._triggersSubmenu=!1,Ge?.addItem?.(this)}focus(oe,ve){this._focusMonitor&&oe?this._focusMonitor.focusVia(this._getHostElement(),oe,ve):this._getHostElement().focus(ve),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(oe){this.disabled&&(oe.preventDefault(),oe.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const oe=this._elementRef.nativeElement.cloneNode(!0),ve=oe.querySelectorAll("mat-icon, .material-icons");for(let ce=0;ce<ve.length;ce++)ve[ce].remove();return oe.textContent?.trim()||""}_setHighlighted(oe){this._highlighted=oe,this._changeDetectorRef?.markForCheck()}_setTriggersSubmenu(oe){this._triggersSubmenu=oe,this._changeDetectorRef?.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}static#e=this.\u0275fac=function(ve){return new(ve||ge)(e.Y36(e.SBq),e.Y36(G.K0),e.Y36(t.tE),e.Y36(s,8),e.Y36(e.sBO))};static#t=this.\u0275cmp=e.Xpm({type:ge,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator"],hostVars:8,hostBindings:function(ve,ce){1&ve&&e.NdJ("click",function(Ze){return ce._checkDisabled(Ze)})("mouseenter",function(){return ce._handleMouseEnter()}),2&ve&&(e.uIk("role",ce.role)("tabindex",ce._getTabIndex())("aria-disabled",ce.disabled)("disabled",ce.disabled||null),e.ekj("mat-mdc-menu-item-highlighted",ce._highlighted)("mat-mdc-menu-item-submenu-trigger",ce._triggersSubmenu))},inputs:{role:"role",disabled:["disabled","disabled",e.VuI],disableRipple:["disableRipple","disableRipple",e.VuI]},exportAs:["matMenuItem"],features:[e.Xq5],attrs:re,ngContentSelectors:he,decls:5,vars:3,consts:[[1,"mat-mdc-menu-item-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-mdc-menu-submenu-icon","viewBox","0 0 5 10","focusable","false","aria-hidden","true"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(ve,ce){1&ve&&(e.F$t($),e.Hsn(0),e.TgZ(1,"span",0),e.Hsn(2,1),e.qZA(),e._UZ(3,"div",1),e.YNc(4,xe,2,0,":svg:svg",2)),2&ve&&(e.xp6(3),e.Q6J("matRippleDisabled",ce.disableRipple||ce.disabled)("matRippleTrigger",ce._getHostElement()),e.xp6(1),e.um2(4,ce._triggersSubmenu?4:-1))},dependencies:[j.wG],encapsulation:2,changeDetection:0})}return ge})();const P=new e.OlP("MatMenuContent"),r={transformMenu:(0,K.X$)("transformMenu",[(0,K.SB)("void",(0,K.oB)({opacity:0,transform:"scale(0.8)"})),(0,K.eR)("void => enter",(0,K.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,K.oB)({opacity:1,transform:"scale(1)"}))),(0,K.eR)("* => void",(0,K.jt)("100ms 25ms linear",(0,K.oB)({opacity:0})))]),fadeInItems:(0,K.X$)("fadeInItems",[(0,K.SB)("showing",(0,K.oB)({opacity:1})),(0,K.eR)("void => *",[(0,K.oB)({opacity:0}),(0,K.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let N=0;const te=new e.OlP("mat-menu-default-options",{providedIn:"root",factory:function De(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let st=(()=>{class ge{get xPosition(){return this._xPosition}set xPosition(oe){this._xPosition=oe,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(oe){this._yPosition=oe,this.setPositionClasses()}set panelClass(oe){const ve=this._previousPanelClass;ve&&ve.length&&ve.split(" ").forEach(ce=>{this._classList[ce]=!1}),this._previousPanelClass=oe,oe&&oe.length&&(oe.split(" ").forEach(ce=>{this._classList[ce]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(oe){this.panelClass=oe}constructor(oe,ve,ce,Ge){this._elementRef=oe,this._ngZone=ve,this._changeDetectorRef=Ge,this._elevationPrefix="mat-elevation-z",this._baseElevation=8,this._directDescendantItems=new e.n_E,this._classList={},this._panelAnimationState="void",this._animationDone=new A.x,this.closed=new e.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+N++,this.overlayPanelClass=ce.overlayPanelClass||"",this._xPosition=ce.xPosition,this._yPosition=ce.yPosition,this.backdropClass=ce.backdropClass,this.overlapTrigger=ce.overlapTrigger,this.hasBackdrop=ce.hasBackdrop}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,d.O)(this._directDescendantItems),(0,E.w)(oe=>(0,l.T)(...oe.map(ve=>ve._focused)))).subscribe(oe=>this._keyManager.updateActiveItem(oe)),this._directDescendantItems.changes.subscribe(oe=>{const ve=this._keyManager;if("enter"===this._panelAnimationState&&ve.activeItem?._hasFocus()){const ce=oe.toArray(),Ge=Math.max(0,Math.min(ce.length-1,ve.activeItemIndex||0));ce[Ge]&&!ce[Ge].disabled?ve.setActiveItem(Ge):ve.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,d.O)(this._directDescendantItems),(0,E.w)(ve=>(0,l.T)(...ve.map(ce=>ce._hovered))))}addItem(oe){}removeItem(oe){}_handleKeydown(oe){const ve=oe.keyCode,ce=this._keyManager;switch(ve){case y.hY:(0,y.Vb)(oe)||(oe.preventDefault(),this.closed.emit("keydown"));break;case y.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case y.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(ve===y.LH||ve===y.JH)&&ce.setFocusOrigin("keyboard"),void ce.onKeydown(oe)}oe.stopPropagation()}focusFirstItem(oe="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,x.q)(1)).subscribe(()=>{let ve=null;if(this._directDescendantItems.length&&(ve=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!ve||!ve.contains(document.activeElement)){const ce=this._keyManager;ce.setFocusOrigin(oe).setFirstItemActive(),!ce.activeItem&&ve&&ve.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(oe){const ve=Math.min(this._baseElevation+oe,24),ce=`${this._elevationPrefix}${ve}`,Ge=Object.keys(this._classList).find(Ze=>Ze.startsWith(this._elevationPrefix));(!Ge||Ge===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[ce]=!0,this._previousElevation=ce)}setPositionClasses(oe=this.xPosition,ve=this.yPosition){const ce=this._classList;ce["mat-menu-before"]="before"===oe,ce["mat-menu-after"]="after"===oe,ce["mat-menu-above"]="above"===ve,ce["mat-menu-below"]="below"===ve,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(oe){this._animationDone.next(oe),this._isAnimating=!1}_onAnimationStart(oe){this._isAnimating=!0,"enter"===oe.toState&&0===this._keyManager.activeItemIndex&&(oe.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,d.O)(this._allItems)).subscribe(oe=>{this._directDescendantItems.reset(oe.filter(ve=>ve._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static#e=this.\u0275fac=function(ve){return new(ve||ge)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(te),e.Y36(e.sBO))};static#t=this.\u0275cmp=e.Xpm({type:ge,selectors:[["mat-menu"]],contentQueries:function(ve,ce,Ge){if(1&ve&&(e.Suo(Ge,P,5),e.Suo(Ge,f,5),e.Suo(Ge,f,4)),2&ve){let Ze;e.iGM(Ze=e.CRH())&&(ce.lazyContent=Ze.first),e.iGM(Ze=e.CRH())&&(ce._allItems=Ze),e.iGM(Ze=e.CRH())&&(ce.items=Ze)}},viewQuery:function(ve,ce){if(1&ve&&e.Gf(e.Rgc,5),2&ve){let Ge;e.iGM(Ge=e.CRH())&&(ce.templateRef=Ge.first)}},hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(ve,ce){2&ve&&e.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:["overlapTrigger","overlapTrigger",e.VuI],hasBackdrop:["hasBackdrop","hasBackdrop",oe=>null==oe?null:(0,e.VuI)(oe)],panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[e._Bn([{provide:s,useExisting:ge}]),e.Xq5],ngContentSelectors:n,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content"]],template:function(ve,ce){1&ve&&(e.F$t(),e.YNc(0,S,3,6,"ng-template"))},dependencies:[G.mk],styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-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;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{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.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}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{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:[r.transformMenu,r.fadeInItems]},changeDetection:0})}return ge})();const je=new e.OlP("mat-menu-scroll-strategy"),ye={provide:je,deps:[ie.aV],useFactory:function $e(ge){return()=>ge.scrollStrategies.reposition()}},fe=(0,ae.i$)({passive:!0});let Ce=(()=>{class ge{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(oe){this.menu=oe}get menu(){return this._menu}set menu(oe){oe!==this._menu&&(this._menu=oe,this._menuCloseSubscription.unsubscribe(),oe&&(this._menuCloseSubscription=oe.close.subscribe(ve=>{this._destroyMenu(ve),("click"===ve||"tab"===ve)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(ve)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(oe,ve,ce,Ge,Ze,wt,mt,kt,Ae){this._overlay=oe,this._element=ve,this._viewContainerRef=ce,this._menuItemInstance=wt,this._dir=mt,this._focusMonitor=kt,this._ngZone=Ae,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=M.w0.EMPTY,this._hoverSubscription=M.w0.EMPTY,this._menuCloseSubscription=M.w0.EMPTY,this._changeDetectorRef=(0,e.f3M)(e.sBO),this._handleTouchStart=ze=>{(0,t.yG)(ze)||(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=Ge,this._parentMaterialMenu=Ze instanceof st?Ze:void 0,ve.nativeElement.addEventListener("touchstart",this._handleTouchStart,fe)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,fe),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 oe=this.menu;if(this._menuOpen||!oe)return;const ve=this._createOverlay(oe),ce=ve.getConfig(),Ge=ce.positionStrategy;this._setPosition(oe,Ge),ce.hasBackdrop=null==oe.hasBackdrop?!this.triggersSubmenu():oe.hasBackdrop,ve.attach(this._getPortal(oe)),oe.lazyContent&&oe.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(oe),oe instanceof st&&(oe._startAnimation(),oe._directDescendantItems.changes.pipe((0,I.R)(oe.close)).subscribe(()=>{Ge.withLockedPosition(!1).reapplyLastPosition(),Ge.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(oe,ve){this._focusMonitor&&oe?this._focusMonitor.focusVia(this._element,oe,ve):this._element.nativeElement.focus(ve)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(oe){if(!this._overlayRef||!this.menuOpen)return;const ve=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===oe||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,ve instanceof st?(ve._resetAnimation(),ve.lazyContent?ve._animationDone.pipe((0,k.h)(ce=>"void"===ce.toState),(0,x.q)(1),(0,I.R)(ve.lazyContent._attached)).subscribe({next:()=>ve.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),ve?.lazyContent?.detach())}_initMenu(oe){oe.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,oe.direction=this.dir,this._setMenuElevation(oe),oe.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(oe){if(oe.setElevation){let ve=0,ce=oe.parentMenu;for(;ce;)ve++,ce=ce.parentMenu;oe.setElevation(ve)}}_setIsMenuOpen(oe){oe!==this._menuOpen&&(this._menuOpen=oe,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(oe),this._changeDetectorRef.markForCheck())}_createOverlay(oe){if(!this._overlayRef){const ve=this._getOverlayConfig(oe);this._subscribeToPositions(oe,ve.positionStrategy),this._overlayRef=this._overlay.create(ve),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(oe){return new ie.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:oe.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:oe.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(oe,ve){oe.setPositionClasses&&ve.positionChanges.subscribe(ce=>{const Ge="start"===ce.connectionPair.overlayX?"after":"before",Ze="top"===ce.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>oe.setPositionClasses(Ge,Ze)):oe.setPositionClasses(Ge,Ze)})}_setPosition(oe,ve){let[ce,Ge]="before"===oe.xPosition?["end","start"]:["start","end"],[Ze,wt]="above"===oe.yPosition?["bottom","top"]:["top","bottom"],[mt,kt]=[Ze,wt],[Ae,ze]=[ce,Ge],nt=0;if(this.triggersSubmenu()){if(ze=ce="before"===oe.xPosition?"start":"end",Ge=Ae="end"===ce?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const et=this._parentMaterialMenu.items.first;this._parentInnerPadding=et?et._getHostElement().offsetTop:0}nt="bottom"===Ze?this._parentInnerPadding:-this._parentInnerPadding}}else oe.overlapTrigger||(mt="top"===Ze?"bottom":"top",kt="top"===wt?"bottom":"top");ve.withPositions([{originX:ce,originY:mt,overlayX:Ae,overlayY:Ze,offsetY:nt},{originX:Ge,originY:mt,overlayX:ze,overlayY:Ze,offsetY:nt},{originX:ce,originY:kt,overlayX:Ae,overlayY:wt,offsetY:-nt},{originX:Ge,originY:kt,overlayX:ze,overlayY:wt,offsetY:-nt}])}_menuClosingActions(){const oe=this._overlayRef.backdropClick(),ve=this._overlayRef.detachments(),ce=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,m.of)(),Ge=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,k.h)(Ze=>Ze!==this._menuItemInstance),(0,k.h)(()=>this._menuOpen)):(0,m.of)();return(0,l.T)(oe,ce,Ge,ve)}_handleMousedown(oe){(0,t.X6)(oe)||(this._openedBy=0===oe.button?"mouse":void 0,this.triggersSubmenu()&&oe.preventDefault())}_handleKeydown(oe){const ve=oe.keyCode;(ve===y.K5||ve===y.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(ve===y.SV&&"ltr"===this.dir||ve===y.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(oe){this.triggersSubmenu()?(oe.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,k.h)(oe=>oe===this._menuItemInstance&&!oe.disabled),(0,V.g)(0,O.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof st&&this.menu._isAnimating?this.menu._animationDone.pipe((0,x.q)(1),(0,V.g)(0,O.E),(0,I.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(oe){return(!this._portal||this._portal.templateRef!==oe.templateRef)&&(this._portal=new W.UE(oe.templateRef,this._viewContainerRef)),this._portal}static#e=this.\u0275fac=function(ve){return new(ve||ge)(e.Y36(ie.aV),e.Y36(e.SBq),e.Y36(e.s_b),e.Y36(je),e.Y36(s,8),e.Y36(f,10),e.Y36(q.Is,8),e.Y36(t.tE),e.Y36(e.R0b))};static#t=this.\u0275dir=e.lG2({type:ge,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(ve,ce){1&ve&&e.NdJ("click",function(Ze){return ce._handleClick(Ze)})("mousedown",function(Ze){return ce._handleMousedown(Ze)})("keydown",function(Ze){return ce._handleKeydown(Ze)}),2&ve&&e.uIk("aria-haspopup",ce.menu?"menu":null)("aria-expanded",ce.menuOpen)("aria-controls",ce.menuOpen?ce.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"},exportAs:["matMenuTrigger"]})}return ge})(),le=(()=>{class ge{static#e=this.\u0275fac=function(ve){return new(ve||ge)};static#t=this.\u0275mod=e.oAB({type:ge});static#i=this.\u0275inj=e.cJS({providers:[ye],imports:[G.ez,j.si,j.BQ,ie.U8,ue.ZD,j.BQ]})}return ge})()},1476:(He,X,p)=>{"use strict";p.d(X,{NW:()=>re,TU:()=>xe,ye:()=>G});var e=p(9212),t=p(8645),y=p(2296),A=p(8525),l=p(2596),M=p(3680),m=p(2495),O=p(5683);function d($,he){if(1&$&&(e.TgZ(0,"mat-option",18),e._uU(1),e.qZA()),2&$){const S=he.$implicit;e.Q6J("value",S),e.xp6(1),e.hij(" ",S," ")}}function E($,he){if(1&$){const S=e.EpF();e.TgZ(0,"mat-form-field",16)(1,"mat-select",17),e.NdJ("selectionChange",function(s){e.CHM(S);const f=e.oxw(2);return e.KtG(f._changePageSize(s.value))}),e.SjG(2,d,2,2,"mat-option",18,e.x6l),e.qZA()()}if(2&$){const S=e.oxw(2);e.Q6J("appearance",S._formFieldAppearance)("color",S.color),e.xp6(1),e.Q6J("value",S.pageSize)("disabled",S.disabled)("aria-labelledby",S._pageSizeLabelId)("panelClass",S.selectConfig.panelClass||"")("disableOptionCentering",S.selectConfig.disableOptionCentering),e.xp6(1),e.wJu(S._displayedPageSizeOptions)}}function x($,he){if(1&$&&(e.TgZ(0,"div",19),e._uU(1),e.qZA()),2&$){const S=e.oxw(2);e.xp6(1),e.Oqu(S.pageSize)}}function I($,he){if(1&$&&(e.TgZ(0,"div",12)(1,"div",13),e._uU(2),e.qZA(),e.YNc(3,E,4,7,"mat-form-field",14)(4,x,2,1,"div",15),e.qZA()),2&$){const S=e.oxw();e.xp6(1),e.uIk("id",S._pageSizeLabelId),e.xp6(1),e.hij(" ",S._intl.itemsPerPageLabel," "),e.xp6(1),e.um2(3,S._displayedPageSizeOptions.length>1?3:-1),e.xp6(1),e.um2(4,S._displayedPageSizeOptions.length<=1?4:-1)}}function k($,he){if(1&$){const S=e.EpF();e.TgZ(0,"button",20),e.NdJ("click",function(){e.CHM(S);const s=e.oxw();return e.KtG(s.firstPage())}),e.O4$(),e.TgZ(1,"svg",7),e._UZ(2,"path",21),e.qZA()()}if(2&$){const S=e.oxw();e.Q6J("matTooltip",S._intl.firstPageLabel)("matTooltipDisabled",S._previousButtonsDisabled())("matTooltipPosition","above")("disabled",S._previousButtonsDisabled()),e.uIk("aria-label",S._intl.firstPageLabel)}}function V($,he){if(1&$){const S=e.EpF();e.O4$(),e.kcU(),e.TgZ(0,"button",22),e.NdJ("click",function(){e.CHM(S);const s=e.oxw();return e.KtG(s.lastPage())}),e.O4$(),e.TgZ(1,"svg",7),e._UZ(2,"path",23),e.qZA()()}if(2&$){const S=e.oxw();e.Q6J("matTooltip",S._intl.lastPageLabel)("matTooltipDisabled",S._nextButtonsDisabled())("matTooltipPosition","above")("disabled",S._nextButtonsDisabled()),e.uIk("aria-label",S._intl.lastPageLabel)}}let G=(()=>{class ${constructor(){this.changes=new t.x,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(S,n,s)=>{if(0==s||0==n)return`0 of ${s}`;const f=S*n;return`${f+1} \u2013 ${f<(s=Math.max(s,0))?Math.min(f+n,s):f+n} of ${s}`}}static#e=this.\u0275fac=function(n){return new(n||$)};static#t=this.\u0275prov=e.Yz7({token:$,factory:$.\u0275fac,providedIn:"root"})}return $})();const W={provide:G,deps:[[new e.FiY,new e.tp0,G]],useFactory:function j($){return $||new G}},ie=new e.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),ae=(0,M.Id)((0,M.dB)(class{}));let ue=0,re=(()=>{class $ extends ae{get pageIndex(){return this._pageIndex}set pageIndex(S){this._pageIndex=Math.max((0,m.su)(S),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(S){this._length=(0,m.su)(S),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(S){this._pageSize=Math.max((0,m.su)(S),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(S){this._pageSizeOptions=(S||[]).map(n=>(0,m.su)(n)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(S){this._hidePageSize=(0,m.Ig)(S)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(S){this._showFirstLastButtons=(0,m.Ig)(S)}constructor(S,n,s){if(super(),this._intl=S,this._changeDetectorRef=n,this._pageSizeLabelId="mat-paginator-page-size-label-"+ue++,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.selectConfig={},this.page=new e.vpe,this._intlChanges=S.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),s){const{pageSize:f,pageSizeOptions:h,hidePageSize:w,showFirstLastButtons:D}=s;null!=f&&(this._pageSize=f),null!=h&&(this._pageSizeOptions=h),null!=w&&(this._hidePageSize=w),null!=D&&(this._showFirstLastButtons=D)}this._formFieldAppearance=s?.formFieldAppearance||"outline"}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const S=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(S)}previousPage(){if(!this.hasPreviousPage())return;const S=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(S)}firstPage(){if(!this.hasPreviousPage())return;const S=this.pageIndex;this.pageIndex=0,this._emitPageEvent(S)}lastPage(){if(!this.hasNextPage())return;const S=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(S)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const S=this.getNumberOfPages()-1;return this.pageIndex<S&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(S){const s=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/S)||0,this.pageSize=S,this._emitPageEvent(s)}_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((S,n)=>S-n),this._changeDetectorRef.markForCheck())}_emitPageEvent(S){this.page.emit({previousPageIndex:S,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}static#e=this.\u0275fac=function(n){return new(n||$)(e.Y36(G),e.Y36(e.sBO),e.Y36(ie,8))};static#t=this.\u0275cmp=e.Xpm({type:$,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{disabled:"disabled",color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},exportAs:["matPaginator"],features:[e.qOj],decls:14,vars:14,consts:[[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],["class","mat-mdc-paginator-page-size"],[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"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-next",3,"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"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-page-size-label"],["class","mat-mdc-paginator-page-size-select",3,"appearance","color"],["class","mat-mdc-paginator-page-size-value"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],["hideSingleSelectionIndicator","",3,"value","disabled","aria-labelledby","panelClass","disableOptionCentering","selectionChange"],[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(n,s){1&n&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,I,5,4,"div",2),e.TgZ(3,"div",3)(4,"div",4),e._uU(5),e.qZA(),e.YNc(6,k,3,5,"button",5),e.TgZ(7,"button",6),e.NdJ("click",function(){return s.previousPage()}),e.O4$(),e.TgZ(8,"svg",7),e._UZ(9,"path",8),e.qZA()(),e.kcU(),e.TgZ(10,"button",9),e.NdJ("click",function(){return s.nextPage()}),e.O4$(),e.TgZ(11,"svg",7),e._UZ(12,"path",10),e.qZA()(),e.YNc(13,V,3,5,"button",11),e.qZA()()()),2&n&&(e.xp6(2),e.um2(2,s.hidePageSize?-1:2),e.xp6(3),e.hij(" ",s._intl.getRangeLabel(s.pageIndex,s.pageSize,s.length)," "),e.xp6(1),e.um2(6,s.showFirstLastButtons?6:-1),e.xp6(1),e.Q6J("matTooltip",s._intl.previousPageLabel)("matTooltipDisabled",s._previousButtonsDisabled())("matTooltipPosition","above")("disabled",s._previousButtonsDisabled()),e.uIk("aria-label",s._intl.previousPageLabel),e.xp6(3),e.Q6J("matTooltip",s._intl.nextPageLabel)("matTooltipDisabled",s._nextButtonsDisabled())("matTooltipPosition","above")("disabled",s._nextButtonsDisabled()),e.uIk("aria-label",s._intl.nextPageLabel),e.xp6(3),e.um2(13,s.showFirstLastButtons?13:-1))},dependencies:[y.RK,O.KE,A.gD,M.ey,l.gM],styles:[".mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color);background-color:var(--mat-paginator-container-background-color);font-family:var(--mat-paginator-container-text-font);line-height:var(--mat-paginator-container-text-line-height);font-size:var(--mat-paginator-container-text-size);font-weight:var(--mat-paginator-container-text-weight);letter-spacing:var(--mat-paginator-container-text-tracking)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size)}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%;min-height:var(--mat-paginator-container-size)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color)}.mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color)}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.cdk-high-contrast-active .mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.cdk-high-contrast-active .mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return $})(),xe=(()=>{class ${static#e=this.\u0275fac=function(n){return new(n||$)};static#t=this.\u0275mod=e.oAB({type:$});static#i=this.\u0275inj=e.cJS({providers:[W],imports:[y.ot,A.LD,l.AV]})}return $})()},6007:(He,X,p)=>{"use strict";p.d(X,{Cv:()=>x,pW:()=>d});var e=p(9212),y=(p(6814),p(3680)),A=p(2495);const l=new e.OlP("MAT_PROGRESS_BAR_DEFAULT_OPTIONS"),O=(0,y.pj)(class{constructor(I){this._elementRef=I}},"primary");let d=(()=>{class I extends O{constructor(V,G,j,W,K){super(V),this._ngZone=G,this._changeDetectorRef=j,this._animationMode=W,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new e.vpe,this._mode="determinate",this._transitionendHandler=q=>{0===this.animationEnd.observers.length||!q.target||!q.target.classList.contains("mdc-linear-progress__primary-bar")||("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation="NoopAnimations"===W,K&&(K.color&&(this.color=this.defaultColor=K.color),this.mode=K.mode||this.mode)}get value(){return this._value}set value(V){this._value=E((0,A.su)(V)),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(V){this._bufferValue=E((0,A.su)(V)),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(V){this._mode=V,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${"buffer"===this.mode?this.bufferValue:100}%`}_isIndeterminate(){return"indeterminate"===this.mode||"query"===this.mode}static#e=this.\u0275fac=function(G){return new(G||I)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(e.QbO,8),e.Y36(l,8))};static#t=this.\u0275cmp=e.Xpm({type:I,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:8,hostBindings:function(G,j){2&G&&(e.uIk("aria-valuenow",j._isIndeterminate()?null:j.value)("mode",j.mode),e.ekj("_mat-animation-noopable",j._isNoopAnimation)("mdc-linear-progress--animation-ready",!j._isNoopAnimation)("mdc-linear-progress--indeterminate",j._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(G,j){1&G&&(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&G&&(e.xp6(1),e.Udp("flex-basis",j._getBufferBarFlexBasis()),e.xp6(2),e.Udp("transform",j._getPrimaryBarTransform()))},styles:["@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half))}100%{transform:translateX(var(--mdc-linear-progress-primary-full))}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full))}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-primary-full-neg))}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full-neg))}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}@media screen and (forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{animation:none}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}.mdc-linear-progress__bar-inner{border-color:var(--mdc-linear-progress-active-indicator-color)}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-color:rgba(0,0,0,0);background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill=''/%3E%3C/svg%3E\")}}.mdc-linear-progress{height:max(var(--mdc-linear-progress-track-height), var(--mdc-linear-progress-active-indicator-height))}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress{height:4px}}.mdc-linear-progress__bar{height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__bar-inner{border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{height:var(--mdc-linear-progress-track-height)}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-size:10px var(--mdc-linear-progress-track-height)}}.mdc-linear-progress__buffer{border-radius:var(--mdc-linear-progress-track-shape)}.mat-mdc-progress-bar{display:block;text-align:left;--mdc-linear-progress-primary-half: 83.67142%;--mdc-linear-progress-primary-full: 200.611057%;--mdc-linear-progress-secondary-quarter: 37.651913%;--mdc-linear-progress-secondary-half: 84.386165%;--mdc-linear-progress-secondary-full: 160.277782%;--mdc-linear-progress-primary-half-neg: -83.67142%;--mdc-linear-progress-primary-full-neg: -200.611057%;--mdc-linear-progress-secondary-quarter-neg: -37.651913%;--mdc-linear-progress-secondary-half-neg: -84.386165%;--mdc-linear-progress-secondary-full-neg: -160.277782%}[dir=rtl] .mat-mdc-progress-bar{text-align:right}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}"],encapsulation:2,changeDetection:0})}return I})();function E(I,k=0,V=100){return Math.max(k,Math.min(V,I))}let x=(()=>{class I{static#e=this.\u0275fac=function(G){return new(G||I)};static#t=this.\u0275mod=e.oAB({type:I});static#i=this.\u0275inj=e.cJS({imports:[y.BQ]})}return I})()},5940:(He,X,p)=>{"use strict";p.d(X,{Cq:()=>V,Ou:()=>I});var e=p(9212),t=p(3680),y=p(2495),A=p(6814);const l=["determinateSpinner"];function M(G,j){if(1&G&&(e.O4$(),e.TgZ(0,"svg",11),e._UZ(1,"circle",12),e.qZA()),2&G){const W=e.oxw();e.uIk("viewBox",W._viewBox()),e.xp6(1),e.Udp("stroke-dasharray",W._strokeCircumference(),"px")("stroke-dashoffset",W._strokeCircumference()/2,"px")("stroke-width",W._circleStrokeWidth(),"%"),e.uIk("r",W._circleRadius())}}const m=(0,t.pj)(class{constructor(G){this._elementRef=G}},"primary"),O=new e.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function d(){return{diameter:E}}}),E=100;let I=(()=>{class G extends m{constructor(W,K,q){super(W),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=E,this._noopAnimations="NoopAnimations"===K&&!!q&&!q._forceAnimations,q&&(q.color&&(this.color=this.defaultColor=q.color),q.diameter&&(this.diameter=q.diameter),q.strokeWidth&&(this.strokeWidth=q.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(W){this._value=Math.max(0,Math.min(100,(0,y.su)(W)))}get diameter(){return this._diameter}set diameter(W){this._diameter=(0,y.su)(W)}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(W){this._strokeWidth=(0,y.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}static#e=this.\u0275fac=function(K){return new(K||G)(e.Y36(e.SBq),e.Y36(e.QbO,8),e.Y36(O))};static#t=this.\u0275cmp=e.Xpm({type:G,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(K,q){if(1&K&&e.Gf(l,5),2&K){let ie;e.iGM(ie=e.CRH())&&(q._determinateCircle=ie.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:16,hostBindings:function(K,q){2&K&&(e.uIk("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===q.mode?q.value:null)("mode",q.mode),e.Udp("width",q.diameter,"px")("height",q.diameter,"px")("--mdc-circular-progress-size",q.diameter+"px")("--mdc-circular-progress-active-indicator-width",q.diameter+"px"),e.ekj("_mat-animation-noopable",q._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===q.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(K,q){if(1&K&&(e.YNc(0,M,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&K){const ie=e.MAs(1);e.xp6(4),e.uIk("viewBox",q._viewBox()),e.xp6(1),e.Udp("stroke-dasharray",q._strokeCircumference(),"px")("stroke-dashoffset",q._strokeDashOffset(),"px")("stroke-width",q._circleStrokeWidth(),"%"),e.uIk("r",q._circleRadius()),e.xp6(4),e.Q6J("ngTemplateOutlet",ie),e.xp6(2),e.Q6J("ngTemplateOutlet",ie),e.xp6(2),e.Q6J("ngTemplateOutlet",ie)}},dependencies:[A.tP],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0})}return G})(),V=(()=>{class G{static#e=this.\u0275fac=function(K){return new(K||G)};static#t=this.\u0275mod=e.oAB({type:G});static#i=this.\u0275inj=e.cJS({imports:[A.ez,t.BQ]})}return G})()},7466:(He,X,p)=>{"use strict";p.d(X,{Fk:()=>ie,U0:()=>q,VQ:()=>j});var e=p(9212),t=p(3680),y=p(4300),A=p(2495),l=p(8337),M=p(6223),m=p(6814);const O=["input"],d=["*"];let E=0;class x{constructor(ue,re){this.source=ue,this.value=re}}const I={provide:M.JU,useExisting:(0,e.Gpc)(()=>j),multi:!0},k=new e.OlP("MatRadioGroup"),V=new e.OlP("mat-radio-default-options",{providedIn:"root",factory:function G(){return{color:"accent"}}});let j=(()=>{class ae{get name(){return this._name}set name(re){this._name=re,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(re){this._labelPosition="before"===re?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(re){this._value!==re&&(this._value=re,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(re){this._selected=re,this.value=re?re.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(re){this._disabled=(0,A.Ig)(re),this._markRadiosForCheck()}get required(){return this._required}set required(re){this._required=(0,A.Ig)(re),this._markRadiosForCheck()}constructor(re){this._changeDetector=re,this._value=null,this._name="mat-radio-group-"+E++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new e.vpe}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(re=>re===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(re=>{re.name=this.name,re._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(xe=>{xe.checked=this.value===xe.value,xe.checked&&(this._selected=xe)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new x(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(re=>re._markForCheck())}writeValue(re){this.value=re,this._changeDetector.markForCheck()}registerOnChange(re){this._controlValueAccessorChangeFn=re}registerOnTouched(re){this.onTouched=re}setDisabledState(re){this.disabled=re,this._changeDetector.markForCheck()}static#e=this.\u0275fac=function(xe){return new(xe||ae)(e.Y36(e.sBO))};static#t=this.\u0275dir=e.lG2({type:ae,selectors:[["mat-radio-group"]],contentQueries:function(xe,$,he){if(1&xe&&e.Suo(he,q,5),2&xe){let S;e.iGM(S=e.CRH())&&($._radios=S)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"},exportAs:["matRadioGroup"],features:[e._Bn([I,{provide:k,useExisting:ae}])]})}return ae})();class W{constructor(ue){this._elementRef=ue}}const K=(0,t.Kr)((0,t.sb)(W));let q=(()=>{class ae extends K{get checked(){return this._checked}set checked(re){const xe=(0,A.Ig)(re);this._checked!==xe&&(this._checked=xe,xe&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!xe&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),xe&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(re){this._value!==re&&(this._value=re,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===re),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(re){this._labelPosition=re}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(re){this._setDisabled((0,A.Ig)(re))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(re){this._required=(0,A.Ig)(re)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(re){this._color=re}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(re,xe,$,he,S,n,s,f){super(xe),this._changeDetector=$,this._focusMonitor=he,this._radioDispatcher=S,this._providerOverride=s,this._uniqueId="mat-radio-"+ ++E,this.id=this._uniqueId,this.change=new e.vpe,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=re,this._noopAnimations="NoopAnimations"===n,f&&(this.tabIndex=(0,A.su)(f,0))}focus(re,xe){xe?this._focusMonitor.focusVia(this._inputElement,xe,re):this._inputElement.nativeElement.focus(re)}_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((re,xe)=>{re!==this.id&&xe===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(re=>{!re&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new x(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(re){re.stopPropagation()}_onInputInteraction(re){if(re.stopPropagation(),!this.checked&&!this.disabled){const xe=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),xe&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(re){this._onInputInteraction(re),this.disabled||this._inputElement.nativeElement.focus()}_setDisabled(re){this._disabled!==re&&(this._disabled=re,this._changeDetector.markForCheck())}_updateTabIndex(){const re=this.radioGroup;let xe;if(xe=re&&re.selected&&!this.disabled?re.selected===this?this.tabIndex:-1:this.tabIndex,xe!==this._previousTabIndex){const $=this._inputElement?.nativeElement;$&&($.setAttribute("tabindex",xe+""),this._previousTabIndex=xe)}}static#e=this.\u0275fac=function(xe){return new(xe||ae)(e.Y36(k,8),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(y.tE),e.Y36(l.A8),e.Y36(e.QbO,8),e.Y36(V,8),e.$8M("tabindex"))};static#t=this.\u0275cmp=e.Xpm({type:ae,selectors:[["mat-radio-button"]],viewQuery:function(xe,$){if(1&xe&&e.Gf(O,5),2&xe){let he;e.iGM(he=e.CRH())&&($._inputElement=he.first)}},hostAttrs:[1,"mat-mdc-radio-button"],hostVars:15,hostBindings:function(xe,$){1&xe&&e.NdJ("focus",function(){return $._inputElement.nativeElement.focus()}),2&xe&&(e.uIk("id",$.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),e.ekj("mat-primary","primary"===$.color)("mat-accent","accent"===$.color)("mat-warn","warn"===$.color)("mat-mdc-radio-checked",$.checked)("_mat-animation-noopable",$._noopAnimations))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex",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"},exportAs:["matRadioButton"],features:[e.qOj],ngContentSelectors:d,decls:13,vars:17,consts:[[1,"mdc-form-field"],["formField",""],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio",1,"mdc-radio__native-control",3,"id","checked","disabled","required","change"],["input",""],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(xe,$){if(1&xe&&(e.F$t(),e.TgZ(0,"div",0,1)(2,"div",2)(3,"div",3),e.NdJ("click",function(S){return $._onTouchTargetClick(S)}),e.qZA(),e.TgZ(4,"input",4,5),e.NdJ("change",function(S){return $._onInputInteraction(S)}),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&xe){const he=e.MAs(1);e.ekj("mdc-form-field--align-end","before"==$.labelPosition),e.xp6(2),e.ekj("mdc-radio--disabled",$.disabled),e.xp6(2),e.Q6J("id",$.inputId)("checked",$.checked)("disabled",$.disabled)("required",$.required),e.uIk("name",$.name)("value",$.value)("aria-label",$.ariaLabel)("aria-labelledby",$.ariaLabelledby)("aria-describedby",$.ariaDescribedby),e.xp6(5),e.Q6J("matRippleTrigger",he)("matRippleDisabled",$._isRippleDisabled())("matRippleCentered",!0),e.xp6(2),e.Q6J("for",$.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) - 20px) / 2)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-unselected-icon-opacity)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{top:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control{top:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);right:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);left:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color)}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple .mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-focus-icon-color, black)}.mat-mdc-radio-button.cdk-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-radio-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}[dir=rtl] .mat-mdc-radio-touch-target{left:0;right:50%;transform:translate(50%, -50%)}'],encapsulation:2,changeDetection:0})}return ae})(),ie=(()=>{class ae{static#e=this.\u0275fac=function(xe){return new(xe||ae)};static#t=this.\u0275mod=e.oAB({type:ae});static#i=this.\u0275inj=e.cJS({imports:[t.BQ,m.ez,t.si,t.BQ]})}return ae})()},8525:(He,X,p)=>{"use strict";p.d(X,{$L:()=>fe,LD:()=>de,PG:()=>te,gD:()=>ye});var e=p(3651),t=p(6814),y=p(9212),A=p(3680),l=p(5683),M=p(5407),m=p(4300),O=p(9388),d=p(2495),E=p(8337),x=p(6028),I=p(6223),k=p(8645),V=p(4911),G=p(3019),j=p(7921),W=p(4664),K=p(8180),q=p(2181),ie=p(7398),ae=p(3997),ue=p(9773),re=p(6825);const xe=["trigger"],$=["panel"];function he(Ce,le){if(1&Ce&&(y.TgZ(0,"span",9),y._uU(1),y.qZA()),2&Ce){const ge=y.oxw();y.xp6(1),y.Oqu(ge.placeholder)}}function S(Ce,le){1&Ce&&y.Hsn(0)}function n(Ce,le){if(1&Ce&&(y.TgZ(0,"span",11),y._uU(1),y.qZA()),2&Ce){const ge=y.oxw(2);y.xp6(1),y.Oqu(ge.triggerValue)}}function s(Ce,le){if(1&Ce&&(y.TgZ(0,"span",10),y.YNc(1,S,1,0)(2,n,2,1),y.qZA()),2&Ce){const ge=y.oxw();y.xp6(1),y.um2(1,ge.customTrigger?1:2)}}function f(Ce,le){if(1&Ce){const ge=y.EpF();y.O4$(),y.kcU(),y.TgZ(0,"div",12,13),y.NdJ("@transformPanel.done",function(oe){y.CHM(ge);const ve=y.oxw();return y.KtG(ve._panelDoneAnimatingStream.next(oe.toState))})("keydown",function(oe){y.CHM(ge);const ve=y.oxw();return y.KtG(ve._handleKeydown(oe))}),y.Hsn(2,1),y.qZA()}if(2&Ce){const ge=y.oxw();y.Gre("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",ge._getPanelTheme(),""),y.Q6J("ngClass",ge.panelClass)("@transformPanel","showing"),y.uIk("id",ge.id+"-panel")("aria-multiselectable",ge.multiple)("aria-label",ge.ariaLabel||null)("aria-labelledby",ge._getPanelAriaLabelledby())}}const h=[[["mat-select-trigger"]],"*"],w=["mat-select-trigger","*"],D={transformPanelWrap:(0,re.X$)("transformPanelWrap",[(0,re.eR)("* => void",(0,re.IO)("@transformPanel",[(0,re.pV)()],{optional:!0}))]),transformPanel:(0,re.X$)("transformPanel",[(0,re.SB)("void",(0,re.oB)({opacity:0,transform:"scale(1, 0.8)"})),(0,re.eR)("void => showing",(0,re.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,re.oB)({opacity:1,transform:"scale(1, 1)"}))),(0,re.eR)("* => void",(0,re.jt)("100ms linear",(0,re.oB)({opacity:0})))])};let g=0;const H=new y.OlP("mat-select-scroll-strategy"),te=new y.OlP("MAT_SELECT_CONFIG"),De={provide:H,deps:[e.aV],useFactory:function N(Ce){return()=>Ce.scrollStrategies.reposition()}},st=new y.OlP("MatSelectTrigger");class je{constructor(le,ge){this.source=le,this.value=ge}}const $e=(0,A.Kr)((0,A.sb)((0,A.Id)((0,A.FD)(class{constructor(Ce,le,ge,qe,oe){this._elementRef=Ce,this._defaultErrorStateMatcher=le,this._parentForm=ge,this._parentFormGroup=qe,this.ngControl=oe,this.stateChanges=new k.x}}))));let ye=(()=>{class Ce extends $e{_scrollOptionIntoView(ge){const qe=this.options.toArray()[ge];if(qe){const oe=this.panel.nativeElement,ve=(0,A.CB)(ge,this.options,this.optionGroups),ce=qe._getHostElement();oe.scrollTop=0===ge&&1===ve?0:(0,A.jH)(ce.offsetTop,ce.offsetHeight,oe.scrollTop,oe.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(ge){return new je(this,ge)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(ge){this._hideSingleSelectionIndicator=(0,d.Ig)(ge),this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(ge){this._placeholder=ge,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(I.kI.required)??!1}set required(ge){this._required=(0,d.Ig)(ge),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(ge){this._multiple=(0,d.Ig)(ge)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(ge){this._disableOptionCentering=(0,d.Ig)(ge)}get compareWith(){return this._compareWith}set compareWith(ge){this._compareWith=ge,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(ge){this._assignValue(ge)&&this._onChange(ge)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(ge){this._typeaheadDebounceInterval=(0,d.su)(ge)}get id(){return this._id}set id(ge){this._id=ge||this._uid,this.stateChanges.next()}constructor(ge,qe,oe,ve,ce,Ge,Ze,wt,mt,kt,Ae,ze,nt,et){super(ce,ve,Ze,wt,kt),this._viewportRuler=ge,this._changeDetectorRef=qe,this._ngZone=oe,this._dir=Ge,this._parentFormField=mt,this._liveAnnouncer=nt,this._defaultOptions=et,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(ke,ct)=>ke===ct,this._uid="mat-select-"+g++,this._triggerAriaLabelledBy=null,this._destroy=new k.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+g++,this._panelDoneAnimatingStream=new k.x,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this.optionSelectionChanges=(0,V.P)(()=>{const ke=this.options;return ke?ke.changes.pipe((0,j.O)(ke),(0,W.w)(()=>(0,G.T)(...ke.map(ct=>ct.onSelectionChange)))):this._ngZone.onStable.pipe((0,K.q)(1),(0,W.w)(()=>this.optionSelectionChanges))}),this.openedChange=new y.vpe,this._openedStream=this.openedChange.pipe((0,q.h)(ke=>ke),(0,ie.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,q.h)(ke=>!ke),(0,ie.U)(()=>{})),this.selectionChange=new y.vpe,this.valueChange=new y.vpe,this._trackedModal=null,this._skipPredicate=ke=>!this.panelOpen&&ke.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),null!=et?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=et.typeaheadDebounceInterval),this._scrollStrategyFactory=ze,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(Ae)||0,this.id=this.id}ngOnInit(){this._selectionModel=new E.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,ae.x)(),(0,ue.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe((0,ue.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,ue.R)(this._destroy)).subscribe(ge=>{ge.added.forEach(qe=>qe.select()),ge.removed.forEach(qe=>qe.deselect())}),this.options.changes.pipe((0,j.O)(null),(0,ue.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const ge=this._getTriggerAriaLabelledby(),qe=this.ngControl;if(ge!==this._triggerAriaLabelledBy){const oe=this._elementRef.nativeElement;this._triggerAriaLabelledBy=ge,ge?oe.setAttribute("aria-labelledby",ge):oe.removeAttribute("aria-labelledby")}qe&&(this._previousControl!==qe.control&&(void 0!==this._previousControl&&null!==qe.disabled&&qe.disabled!==this.disabled&&(this.disabled=qe.disabled),this._previousControl=qe.control),this.updateErrorState())}ngOnChanges(ge){(ge.disabled||ge.userAriaDescribedBy)&&this.stateChanges.next(),ge.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._canOpen()&&(this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck()),this.stateChanges.next()}_applyModalPanelOwnership(){const ge=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!ge)return;const qe=`${this.id}-panel`;this._trackedModal&&(0,m.iD)(this._trackedModal,"aria-owns",qe),(0,m.Zf)(ge,"aria-owns",qe),this._trackedModal=ge}_clearFromModal(){this._trackedModal&&((0,m.iD)(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched()),this.stateChanges.next()}writeValue(ge){this._assignValue(ge)}registerOnChange(ge){this._onChange=ge}registerOnTouched(ge){this._onTouched=ge}setDisabledState(ge){this.disabled=ge,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 ge=this._selectionModel.selected.map(qe=>qe.viewValue);return this._isRtl()&&ge.reverse(),ge.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(ge){this.disabled||(this.panelOpen?this._handleOpenKeydown(ge):this._handleClosedKeydown(ge))}_handleClosedKeydown(ge){const qe=ge.keyCode,oe=qe===x.JH||qe===x.LH||qe===x.oh||qe===x.SV,ve=qe===x.K5||qe===x.L_,ce=this._keyManager;if(!ce.isTyping()&&ve&&!(0,x.Vb)(ge)||(this.multiple||ge.altKey)&&oe)ge.preventDefault(),this.open();else if(!this.multiple){const Ge=this.selected;ce.onKeydown(ge);const Ze=this.selected;Ze&&Ge!==Ze&&this._liveAnnouncer.announce(Ze.viewValue,1e4)}}_handleOpenKeydown(ge){const qe=this._keyManager,oe=ge.keyCode,ve=oe===x.JH||oe===x.LH,ce=qe.isTyping();if(ve&&ge.altKey)ge.preventDefault(),this.close();else if(ce||oe!==x.K5&&oe!==x.L_||!qe.activeItem||(0,x.Vb)(ge))if(!ce&&this._multiple&&oe===x.A&&ge.ctrlKey){ge.preventDefault();const Ge=this.options.some(Ze=>!Ze.disabled&&!Ze.selected);this.options.forEach(Ze=>{Ze.disabled||(Ge?Ze.select():Ze.deselect())})}else{const Ge=qe.activeItemIndex;qe.onKeydown(ge),this._multiple&&ve&&ge.shiftKey&&qe.activeItem&&qe.activeItemIndex!==Ge&&qe.activeItem._selectViaInteraction()}else ge.preventDefault(),qe.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,K.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(ge){if(this.options.forEach(qe=>qe.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&ge)Array.isArray(ge),ge.forEach(qe=>this._selectOptionByValue(qe)),this._sortValues();else{const qe=this._selectOptionByValue(ge);qe?this._keyManager.updateActiveItem(qe):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(ge){const qe=this.options.find(oe=>{if(this._selectionModel.isSelected(oe))return!1;try{return null!=oe.value&&this._compareWith(oe.value,ge)}catch{return!1}});return qe&&this._selectionModel.select(qe),qe}_assignValue(ge){return!!(ge!==this._value||this._multiple&&Array.isArray(ge))&&(this.options&&this._setSelectionByValue(ge),this._value=ge,!0)}_getOverlayWidth(ge){return"auto"===this.panelWidth?(ge instanceof e.xu?ge.elementRef:ge||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const ge of this.options)ge._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new m.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const ge=(0,G.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,ue.R)(ge)).subscribe(qe=>{this._onSelect(qe.source,qe.isUserInput),qe.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,G.T)(...this.options.map(qe=>qe._stateChanges)).pipe((0,ue.R)(ge)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(ge,qe){const oe=this._selectionModel.isSelected(ge);null!=ge.value||this._multiple?(oe!==ge.selected&&(ge.selected?this._selectionModel.select(ge):this._selectionModel.deselect(ge)),qe&&this._keyManager.setActiveItem(ge),this.multiple&&(this._sortValues(),qe&&this.focus())):(ge.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(ge.value)),oe!==this._selectionModel.isSelected(ge)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const ge=this.options.toArray();this._selectionModel.sort((qe,oe)=>this.sortComparator?this.sortComparator(qe,oe,ge):ge.indexOf(qe)-ge.indexOf(oe)),this.stateChanges.next()}}_propagateChanges(ge){let qe;qe=this.multiple?this.selected.map(oe=>oe.value):this.selected?this.selected.value:ge,this._value=qe,this.valueChange.emit(qe),this._onChange(qe),this.selectionChange.emit(this._getChangeEvent(qe)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let ge=-1;for(let qe=0;qe<this.options.length;qe++)if(!this.options.get(qe).disabled){ge=qe;break}this._keyManager.setActiveItem(ge)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(ge){this._elementRef.nativeElement.focus(ge)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const ge=this._parentFormField?.getLabelId();return this.ariaLabelledby?(ge?ge+" ":"")+this.ariaLabelledby:ge}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const ge=this._parentFormField?.getLabelId();let qe=(ge?ge+" ":"")+this._valueId;return this.ariaLabelledby&&(qe+=" "+this.ariaLabelledby),qe}_panelDoneAnimating(ge){this.openedChange.emit(ge)}setDescribedByIds(ge){ge.length?this._elementRef.nativeElement.setAttribute("aria-describedby",ge.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static#e=this.\u0275fac=function(qe){return new(qe||Ce)(y.Y36(M.rL),y.Y36(y.sBO),y.Y36(y.R0b),y.Y36(A.rD),y.Y36(y.SBq),y.Y36(O.Is,8),y.Y36(I.F,8),y.Y36(I.sg,8),y.Y36(l.G_,8),y.Y36(I.a5,10),y.$8M("tabindex"),y.Y36(H),y.Y36(m.Kd),y.Y36(te,8))};static#t=this.\u0275cmp=y.Xpm({type:Ce,selectors:[["mat-select"]],contentQueries:function(qe,oe,ve){if(1&qe&&(y.Suo(ve,st,5),y.Suo(ve,A.ey,5),y.Suo(ve,A.K7,5)),2&qe){let ce;y.iGM(ce=y.CRH())&&(oe.customTrigger=ce.first),y.iGM(ce=y.CRH())&&(oe.options=ce),y.iGM(ce=y.CRH())&&(oe.optionGroups=ce)}},viewQuery:function(qe,oe){if(1&qe&&(y.Gf(xe,5),y.Gf($,5),y.Gf(e.pI,5)),2&qe){let ve;y.iGM(ve=y.CRH())&&(oe.trigger=ve.first),y.iGM(ve=y.CRH())&&(oe.panel=ve.first),y.iGM(ve=y.CRH())&&(oe._overlayDir=ve.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox","ngSkipHydration","",1,"mat-mdc-select"],hostVars:19,hostBindings:function(qe,oe){1&qe&&y.NdJ("keydown",function(ce){return oe._handleKeydown(ce)})("focus",function(){return oe._onFocus()})("blur",function(){return oe._onBlur()}),2&qe&&(y.uIk("id",oe.id)("tabindex",oe.tabIndex)("aria-controls",oe.panelOpen?oe.id+"-panel":null)("aria-expanded",oe.panelOpen)("aria-label",oe.ariaLabel||null)("aria-required",oe.required.toString())("aria-disabled",oe.disabled.toString())("aria-invalid",oe.errorState)("aria-activedescendant",oe._getAriaActiveDescendant()),y.ekj("mat-mdc-select-disabled",oe.disabled)("mat-mdc-select-invalid",oe.errorState)("mat-mdc-select-required",oe.required)("mat-mdc-select-empty",oe.empty)("mat-mdc-select-multiple",oe.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",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",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[y._Bn([{provide:l.Eo,useExisting:Ce},{provide:A.HF,useExisting:Ce}]),y.qOj,y.TTD],ngContentSelectors:w,decls:11,vars:8,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"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"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(qe,oe){if(1&qe&&(y.F$t(h),y.TgZ(0,"div",0,1),y.NdJ("click",function(){return oe.toggle()}),y.TgZ(3,"div",2),y.YNc(4,he,2,1,"span",3)(5,s,3,1),y.qZA(),y.TgZ(6,"div",4)(7,"div",5),y.O4$(),y.TgZ(8,"svg",6),y._UZ(9,"path",7),y.qZA()()()(),y.YNc(10,f,3,9,"ng-template",8),y.NdJ("backdropClick",function(){return oe.close()})("attach",function(){return oe._onAttached()})("detach",function(){return oe.close()})),2&qe){const ve=y.MAs(1);y.xp6(3),y.uIk("id",oe._valueId),y.xp6(1),y.um2(4,oe.empty?4:5),y.xp6(6),y.Q6J("cdkConnectedOverlayPanelClass",oe._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",oe._scrollStrategy)("cdkConnectedOverlayOrigin",oe._preferredOverlayOrigin||ve)("cdkConnectedOverlayOpen",oe.panelOpen)("cdkConnectedOverlayPositions",oe._positions)("cdkConnectedOverlayWidth",oe._overlayWidth)}},dependencies:[t.mk,e.pI,e.xu],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .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;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{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);width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[D.transformPanel]},changeDetection:0})}return Ce})(),fe=(()=>{class Ce{static#e=this.\u0275fac=function(qe){return new(qe||Ce)};static#t=this.\u0275dir=y.lG2({type:Ce,selectors:[["mat-select-trigger"]],features:[y._Bn([{provide:st,useExisting:Ce}])]})}return Ce})(),de=(()=>{class Ce{static#e=this.\u0275fac=function(qe){return new(qe||Ce)};static#t=this.\u0275mod=y.oAB({type:Ce});static#i=this.\u0275inj=y.cJS({providers:[De],imports:[t.ez,e.U8,A.Ng,A.BQ,M.ZD,l.lN,A.Ng,A.BQ]})}return Ce})()},2651:(He,X,p)=>{"use strict";p.d(X,{JX:()=>st,Rh:()=>De,SJ:()=>$e,TM:()=>je});var e=p(5407),t=p(9212),y=p(3680),A=p(4300),l=p(9388),M=p(2495),m=p(6028),O=p(2831),d=p(6814),E=p(8645),x=p(2438),I=p(3019),k=p(2181),V=p(7398),G=p(975),j=p(9773),W=p(3997),K=p(8180),q=p(7921),ie=p(3620),ae=p(6825);const ue=["*"],re=["content"];function xe(ye,fe){if(1&ye){const de=t.EpF();t.TgZ(0,"div",1),t.NdJ("click",function(){t.CHM(de);const le=t.oxw();return t.KtG(le._onBackdropClicked())}),t.qZA()}if(2&ye){const de=t.oxw();t.ekj("mat-drawer-shown",de._isShowingBackdrop())}}function $(ye,fe){1&ye&&(t.TgZ(0,"mat-drawer-content"),t.Hsn(1,2),t.qZA())}const he=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],S=["mat-drawer","mat-drawer-content","*"];function n(ye,fe){if(1&ye){const de=t.EpF();t.TgZ(0,"div",1),t.NdJ("click",function(){t.CHM(de);const le=t.oxw();return t.KtG(le._onBackdropClicked())}),t.qZA()}if(2&ye){const de=t.oxw();t.ekj("mat-drawer-shown",de._isShowingBackdrop())}}function s(ye,fe){1&ye&&(t.TgZ(0,"mat-sidenav-content"),t.Hsn(1,2),t.qZA())}const f=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],h=["mat-sidenav","mat-sidenav-content","*"],D={transformDrawer:(0,ae.X$)("transform",[(0,ae.SB)("open, open-instant",(0,ae.oB)({transform:"none",visibility:"visible"})),(0,ae.SB)("void",(0,ae.oB)({"box-shadow":"none",visibility:"hidden"})),(0,ae.eR)("void => open-instant",(0,ae.jt)("0ms")),(0,ae.eR)("void <=> open, open-instant => void",(0,ae.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},v=new t.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function g(){return!1}}),r=new t.OlP("MAT_DRAWER_CONTAINER");let H=(()=>{class ye extends e.PQ{constructor(de,Ce,le,ge,qe){super(le,ge,qe),this._changeDetectorRef=de,this._container=Ce}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}static#e=this.\u0275fac=function(Ce){return new(Ce||ye)(t.Y36(t.sBO),t.Y36((0,t.Gpc)(()=>te)),t.Y36(t.SBq),t.Y36(e.mF),t.Y36(t.R0b))};static#t=this.\u0275cmp=t.Xpm({type:ye,selectors:[["mat-drawer-content"]],hostAttrs:["ngSkipHydration","",1,"mat-drawer-content"],hostVars:4,hostBindings:function(Ce,le){2&Ce&&t.Udp("margin-left",le._container._contentMargins.left,"px")("margin-right",le._container._contentMargins.right,"px")},features:[t._Bn([{provide:e.PQ,useExisting:ye}]),t.qOj],ngContentSelectors:ue,decls:1,vars:0,template:function(Ce,le){1&Ce&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0})}return ye})(),N=(()=>{class ye{get position(){return this._position}set position(de){(de="end"===de?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(de),this._position=de,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(de){this._mode=de,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(de){this._disableClose=(0,M.Ig)(de)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(de){("true"===de||"false"===de||null==de)&&(de=(0,M.Ig)(de)),this._autoFocus=de}get opened(){return this._opened}set opened(de){this.toggle((0,M.Ig)(de))}constructor(de,Ce,le,ge,qe,oe,ve,ce){this._elementRef=de,this._focusTrapFactory=Ce,this._focusMonitor=le,this._platform=ge,this._ngZone=qe,this._interactivityChecker=oe,this._doc=ve,this._container=ce,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new E.x,this._animationEnd=new E.x,this._animationState="void",this.openedChange=new t.vpe(!0),this._openedStream=this.openedChange.pipe((0,k.h)(Ge=>Ge),(0,V.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,k.h)(Ge=>Ge.fromState!==Ge.toState&&0===Ge.toState.indexOf("open")),(0,G.h)(void 0)),this._closedStream=this.openedChange.pipe((0,k.h)(Ge=>!Ge),(0,V.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,k.h)(Ge=>Ge.fromState!==Ge.toState&&"void"===Ge.toState),(0,G.h)(void 0)),this._destroyed=new E.x,this.onPositionChanged=new t.vpe,this._modeChanged=new E.x,this.openedChange.subscribe(Ge=>{Ge?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,x.R)(this._elementRef.nativeElement,"keydown").pipe((0,k.h)(Ge=>Ge.keyCode===m.hY&&!this.disableClose&&!(0,m.Vb)(Ge)),(0,j.R)(this._destroyed)).subscribe(Ge=>this._ngZone.run(()=>{this.close(),Ge.stopPropagation(),Ge.preventDefault()}))}),this._animationEnd.pipe((0,W.x)((Ge,Ze)=>Ge.fromState===Ze.fromState&&Ge.toState===Ze.toState)).subscribe(Ge=>{const{fromState:Ze,toState:wt}=Ge;(0===wt.indexOf("open")&&"void"===Ze||"void"===wt&&0===Ze.indexOf("open"))&&this.openedChange.emit(this._opened)})}_forceFocus(de,Ce){this._interactivityChecker.isFocusable(de)||(de.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const le=()=>{de.removeEventListener("blur",le),de.removeEventListener("mousedown",le),de.removeAttribute("tabindex")};de.addEventListener("blur",le),de.addEventListener("mousedown",le)})),de.focus(Ce)}_focusByCssSelector(de,Ce){let le=this._elementRef.nativeElement.querySelector(de);le&&this._forceFocus(le,Ce)}_takeFocus(){if(!this._focusTrap)return;const de=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(Ce=>{!Ce&&"function"==typeof this._elementRef.nativeElement.focus&&de.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(de){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,de):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const de=this._doc.activeElement;return!!de&&this._elementRef.nativeElement.contains(de)}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(de){return this.toggle(!0,de)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(de=!this.opened,Ce){de&&Ce&&(this._openedVia=Ce);const le=this._setOpen(de,!de&&this._isFocusWithinDrawer(),this._openedVia||"program");return de||(this._openedVia=null),le}_setOpen(de,Ce,le){return this._opened=de,de?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",Ce&&this._restoreFocus(le)),this._updateFocusTrapState(),new Promise(ge=>{this.openedChange.pipe((0,K.q)(1)).subscribe(qe=>ge(qe?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop)}_updatePositionInParent(de){const Ce=this._elementRef.nativeElement,le=Ce.parentNode;"end"===de?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),le.insertBefore(this._anchor,Ce)),le.appendChild(Ce)):this._anchor&&this._anchor.parentNode.insertBefore(Ce,this._anchor)}static#e=this.\u0275fac=function(Ce){return new(Ce||ye)(t.Y36(t.SBq),t.Y36(A.qV),t.Y36(A.tE),t.Y36(O.t4),t.Y36(t.R0b),t.Y36(A.ic),t.Y36(d.K0,8),t.Y36(r,8))};static#t=this.\u0275cmp=t.Xpm({type:ye,selectors:[["mat-drawer"]],viewQuery:function(Ce,le){if(1&Ce&&t.Gf(re,5),2&Ce){let ge;t.iGM(ge=t.CRH())&&(le._content=ge.first)}},hostAttrs:["tabIndex","-1","ngSkipHydration","",1,"mat-drawer"],hostVars:12,hostBindings:function(Ce,le){1&Ce&&t.WFA("@transform.start",function(qe){return le._animationStarted.next(qe)})("@transform.done",function(qe){return le._animationEnd.next(qe)}),2&Ce&&(t.uIk("align",null),t.d8E("@transform",le._animationState),t.ekj("mat-drawer-end","end"===le.position)("mat-drawer-over","over"===le.mode)("mat-drawer-push","push"===le.mode)("mat-drawer-side","side"===le.mode)("mat-drawer-opened",le.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:ue,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(Ce,le){1&Ce&&(t.F$t(),t.TgZ(0,"div",0,1),t.Hsn(2),t.qZA())},dependencies:[e.PQ],encapsulation:2,data:{animation:[D.transformDrawer]},changeDetection:0})}return ye})(),te=(()=>{class ye{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(de){this._autosize=(0,M.Ig)(de)}get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(de){this._backdropOverride=null==de?null:(0,M.Ig)(de)}get scrollable(){return this._userContent||this._content}constructor(de,Ce,le,ge,qe,oe=!1,ve){this._dir=de,this._element=Ce,this._ngZone=le,this._changeDetectorRef=ge,this._animationMode=ve,this._drawers=new t.n_E,this.backdropClick=new t.vpe,this._destroyed=new E.x,this._doCheckSubject=new E.x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new E.x,de&&de.change.pipe((0,j.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),qe.change().pipe((0,j.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=oe}ngAfterContentInit(){this._allDrawers.changes.pipe((0,q.O)(this._allDrawers),(0,j.R)(this._destroyed)).subscribe(de=>{this._drawers.reset(de.filter(Ce=>!Ce._container||Ce._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,q.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(de=>{this._watchDrawerToggle(de),this._watchDrawerPosition(de),this._watchDrawerMode(de)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,ie.b)(10),(0,j.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(de=>de.open())}close(){this._drawers.forEach(de=>de.close())}updateContentMargins(){let de=0,Ce=0;if(this._left&&this._left.opened)if("side"==this._left.mode)de+=this._left._getWidth();else if("push"==this._left.mode){const le=this._left._getWidth();de+=le,Ce-=le}if(this._right&&this._right.opened)if("side"==this._right.mode)Ce+=this._right._getWidth();else if("push"==this._right.mode){const le=this._right._getWidth();Ce+=le,de-=le}de=de||null,Ce=Ce||null,(de!==this._contentMargins.left||Ce!==this._contentMargins.right)&&(this._contentMargins={left:de,right:Ce},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(de){de._animationStarted.pipe((0,k.h)(Ce=>Ce.fromState!==Ce.toState),(0,j.R)(this._drawers.changes)).subscribe(Ce=>{"open-instant"!==Ce.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==de.mode&&de.openedChange.pipe((0,j.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(de.opened))}_watchDrawerPosition(de){de&&de.onPositionChanged.pipe((0,j.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,K.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(de){de&&de._modeChanged.pipe((0,j.R)((0,I.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(de){const Ce=this._element.nativeElement.classList,le="mat-drawer-container-has-open";de?Ce.add(le):Ce.remove(le)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(de=>{"end"==de.position?this._end=de:this._start=de}),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(de=>de&&!de.disableClose&&this._drawerHasBackdrop(de)).forEach(de=>de._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(de){return null!=de&&de.opened}_drawerHasBackdrop(de){return null==this._backdropOverride?!!de&&"side"!==de.mode:this._backdropOverride}static#e=this.\u0275fac=function(Ce){return new(Ce||ye)(t.Y36(l.Is,8),t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(e.rL),t.Y36(v),t.Y36(t.QbO,8))};static#t=this.\u0275cmp=t.Xpm({type:ye,selectors:[["mat-drawer-container"]],contentQueries:function(Ce,le,ge){if(1&Ce&&(t.Suo(ge,H,5),t.Suo(ge,N,5)),2&Ce){let qe;t.iGM(qe=t.CRH())&&(le._content=qe.first),t.iGM(qe=t.CRH())&&(le._allDrawers=qe)}},viewQuery:function(Ce,le){if(1&Ce&&t.Gf(H,5),2&Ce){let ge;t.iGM(ge=t.CRH())&&(le._userContent=ge.first)}},hostAttrs:["ngSkipHydration","",1,"mat-drawer-container"],hostVars:2,hostBindings:function(Ce,le){2&Ce&&t.ekj("mat-drawer-container-explicit-backdrop",le._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[t._Bn([{provide:r,useExisting:ye}])],ngContentSelectors:S,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(Ce,le){1&Ce&&(t.F$t(he),t.YNc(0,xe,1,2,"div",0),t.Hsn(1),t.Hsn(2,1),t.YNc(3,$,2,0,"mat-drawer-content")),2&Ce&&(t.um2(0,le.hasBackdrop?0:-1),t.xp6(3),t.um2(3,le._content?-1:3))},dependencies:[H],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color);background-color:var(--mat-sidenav-content-background-color);box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);position:relative;z-index:4;color:var(--mat-sidenav-container-text-color);background-color:var(--mat-sidenav-container-background-color);border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}return ye})(),De=(()=>{class ye extends H{constructor(de,Ce,le,ge,qe){super(de,Ce,le,ge,qe)}static#e=this.\u0275fac=function(Ce){return new(Ce||ye)(t.Y36(t.sBO),t.Y36((0,t.Gpc)(()=>je)),t.Y36(t.SBq),t.Y36(e.mF),t.Y36(t.R0b))};static#t=this.\u0275cmp=t.Xpm({type:ye,selectors:[["mat-sidenav-content"]],hostAttrs:["ngSkipHydration","",1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(Ce,le){2&Ce&&t.Udp("margin-left",le._container._contentMargins.left,"px")("margin-right",le._container._contentMargins.right,"px")},features:[t._Bn([{provide:e.PQ,useExisting:ye}]),t.qOj],ngContentSelectors:ue,decls:1,vars:0,template:function(Ce,le){1&Ce&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0})}return ye})(),st=(()=>{class ye extends N{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(de){this._fixedInViewport=(0,M.Ig)(de)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(de){this._fixedTopGap=(0,M.su)(de)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(de){this._fixedBottomGap=(0,M.su)(de)}static#e=this.\u0275fac=(()=>{let de;return function(le){return(de||(de=t.n5z(ye)))(le||ye)}})();static#t=this.\u0275cmp=t.Xpm({type:ye,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1","ngSkipHydration","",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(Ce,le){2&Ce&&(t.uIk("align",null),t.Udp("top",le.fixedInViewport?le.fixedTopGap:null,"px")("bottom",le.fixedInViewport?le.fixedBottomGap:null,"px"),t.ekj("mat-drawer-end","end"===le.position)("mat-drawer-over","over"===le.mode)("mat-drawer-push","push"===le.mode)("mat-drawer-side","side"===le.mode)("mat-drawer-opened",le.opened)("mat-sidenav-fixed",le.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[t.qOj],ngContentSelectors:ue,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(Ce,le){1&Ce&&(t.F$t(),t.TgZ(0,"div",0,1),t.Hsn(2),t.qZA())},dependencies:[e.PQ],encapsulation:2,data:{animation:[D.transformDrawer]},changeDetection:0})}return ye})(),je=(()=>{class ye extends te{constructor(){super(...arguments),this._allDrawers=void 0,this._content=void 0}static#e=this.\u0275fac=(()=>{let de;return function(le){return(de||(de=t.n5z(ye)))(le||ye)}})();static#t=this.\u0275cmp=t.Xpm({type:ye,selectors:[["mat-sidenav-container"]],contentQueries:function(Ce,le,ge){if(1&Ce&&(t.Suo(ge,De,5),t.Suo(ge,st,5)),2&Ce){let qe;t.iGM(qe=t.CRH())&&(le._content=qe.first),t.iGM(qe=t.CRH())&&(le._allDrawers=qe)}},hostAttrs:["ngSkipHydration","",1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(Ce,le){2&Ce&&t.ekj("mat-drawer-container-explicit-backdrop",le._backdropOverride)},exportAs:["matSidenavContainer"],features:[t._Bn([{provide:r,useExisting:ye}]),t.qOj],ngContentSelectors:h,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(Ce,le){1&Ce&&(t.F$t(f),t.YNc(0,n,1,2,"div",0),t.Hsn(1),t.Hsn(2,1),t.YNc(3,s,2,0,"mat-sidenav-content")),2&Ce&&(t.um2(0,le.hasBackdrop?0:-1),t.xp6(3),t.um2(3,le._content?-1:3))},dependencies:[De],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color);background-color:var(--mat-sidenav-content-background-color);box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);position:relative;z-index:4;color:var(--mat-sidenav-container-text-color);background-color:var(--mat-sidenav-container-background-color);border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}return ye})(),$e=(()=>{class ye{static#e=this.\u0275fac=function(Ce){return new(Ce||ye)};static#t=this.\u0275mod=t.oAB({type:ye});static#i=this.\u0275inj=t.cJS({imports:[y.BQ,e.ZD,e.ZD,y.BQ]})}return ye})()},2599:(He,X,p)=>{"use strict";p.d(X,{Rr:()=>I,rP:()=>j});var e=p(9212),t=p(6223),y=p(4300),A=p(3680);const l=["switch"];function M(W,K){1&W&&(e.TgZ(0,"div",12),e.O4$(),e.TgZ(1,"svg",13),e._UZ(2,"path",14),e.qZA(),e.TgZ(3,"svg",15),e._UZ(4,"path",16),e.qZA()())}const m=["*"],O=new e.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1})}),d={provide:t.JU,useExisting:(0,e.Gpc)(()=>I),multi:!0};class E{constructor(K,q){this.source=K,this.checked=q}}let x=0,I=(()=>{class W{_createChangeEvent(q){return new E(this,q)}get buttonId(){return`${this.id||this._uniqueId}-button`}focus(){this._switchElement.nativeElement.focus()}get checked(){return this._checked}set checked(q){this._checked=q,this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(q,ie,ae,ue,re,xe){this._elementRef=q,this._focusMonitor=ie,this._changeDetectorRef=ae,this.defaults=re,this._onChange=$=>{},this._onTouched=()=>{},this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.change=new e.vpe,this.toggleChange=new e.vpe,this.tabIndex=parseInt(ue)||0,this.color=re.color||"accent",this._noopAnimations="NoopAnimations"===xe,this.id=this._uniqueId="mat-mdc-slide-toggle-"+ ++x,this.hideIcon=re.hideIcon??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(q=>{"keyboard"===q||"program"===q?(this._focused=!0,this._changeDetectorRef.markForCheck()):q||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(q){this.checked=!!q}registerOnChange(q){this._onChange=q}registerOnTouched(q){this._onTouched=q}setDisabledState(q){this.disabled=q,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new E(this,this.checked)))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static#e=this.\u0275fac=function(ie){return new(ie||W)(e.Y36(e.SBq),e.Y36(y.tE),e.Y36(e.sBO),e.$8M("tabindex"),e.Y36(O),e.Y36(e.QbO,8))};static#t=this.\u0275cmp=e.Xpm({type:W,selectors:[["mat-slide-toggle"]],viewQuery:function(ie,ae){if(1&ie&&e.Gf(l,5),2&ie){let ue;e.iGM(ue=e.CRH())&&(ae._switchElement=ue.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(ie,ae){2&ie&&(e.Ikx("id",ae.id),e.uIk("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),e.Tol(ae.color?"mat-"+ae.color:""),e.ekj("mat-mdc-slide-toggle-focused",ae._focused)("mat-mdc-slide-toggle-checked",ae.checked)("_mat-animation-noopable",ae._noopAnimations))},inputs:{disabled:["disabled","disabled",e.VuI],disableRipple:["disableRipple","disableRipple",e.VuI],color:"color",tabIndex:["tabIndex","tabIndex",q=>null==q?0:(0,e.Cb_)(q)],name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:["required","required",e.VuI],checked:["checked","checked",e.VuI],hideIcon:["hideIcon","hideIcon",e.VuI]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[e._Bn([d]),e.Xq5],ngContentSelectors:m,decls:13,vars:25,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"],["class","mdc-switch__icons"],[1,"mdc-label",3,"for","click"],[1,"mdc-switch__icons"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(ie,ae){if(1&ie&&(e.F$t(),e.TgZ(0,"div",0)(1,"button",1,2),e.NdJ("click",function(){return ae._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.YNc(10,M,5,0,"div",10),e.qZA()()(),e.TgZ(11,"label",11),e.NdJ("click",function(re){return re.stopPropagation()}),e.Hsn(12),e.qZA()()),2&ie){const ue=e.MAs(2);e.ekj("mdc-form-field--align-end","before"==ae.labelPosition),e.xp6(1),e.ekj("mdc-switch--selected",ae.checked)("mdc-switch--unselected",!ae.checked)("mdc-switch--checked",ae.checked)("mdc-switch--disabled",ae.disabled),e.Q6J("tabIndex",ae.disabled?-1:ae.tabIndex)("disabled",ae.disabled),e.uIk("id",ae.buttonId)("name",ae.name)("aria-label",ae.ariaLabel)("aria-labelledby",ae._getAriaLabelledBy())("aria-describedby",ae.ariaDescribedby)("aria-required",ae.required||null)("aria-checked",ae.checked),e.xp6(8),e.Q6J("matRippleTrigger",ue)("matRippleDisabled",ae.disableRipple||ae.disabled)("matRippleCentered",!0),e.xp6(1),e.um2(10,ae.hideIcon?-1:10),e.xp6(1),e.Q6J("for",ae.buttonId),e.uIk("id",ae._labelId)}},dependencies:[A.wG],styles:['.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mdc-switch{width:var(--mdc-switch-track-width)}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color)}.mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation)}.mdc-switch .mdc-switch__focus-ring-wrapper,.mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height)}.mdc-switch:disabled .mdc-switch__handle::after{opacity:var(--mdc-switch-disabled-handle-opacity)}.mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape)}.mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width)}.mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width))}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity)}.mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size);height:var(--mdc-switch-selected-icon-size)}.mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size);height:var(--mdc-switch-unselected-icon-size)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size);width:var(--mdc-switch-state-layer-size)}.mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height)}.mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity)}.mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color)}.mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color)}.mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mat-mdc-slide-toggle .mdc-label{font-family:var(--mat-slide-toggle-label-text-font);font-size:var(--mat-slide-toggle-label-text-size);letter-spacing:var(--mat-slide-toggle-label-text-tracking);line-height:var(--mat-slide-toggle-label-text-line-height);font-weight:var(--mat-slide-toggle-label-text-weight)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}'],encapsulation:2,changeDetection:0})}return W})(),G=(()=>{class W{static#e=this.\u0275fac=function(ie){return new(ie||W)};static#t=this.\u0275mod=e.oAB({type:W});static#i=this.\u0275inj=e.cJS({})}return W})(),j=(()=>{class W{static#e=this.\u0275fac=function(ie){return new(ie||W)};static#t=this.\u0275mod=e.oAB({type:W});static#i=this.\u0275inj=e.cJS({imports:[G,A.BQ,A.si,G,A.BQ]})}return W})()},2939:(He,X,p)=>{"use strict";p.d(X,{Ve:()=>s,ZX:()=>w,ux:()=>f});var e=p(9212),t=p(6814),y=p(2296),A=p(8645),l=p(6825),M=p(8484),m=p(2831),O=p(8180),d=p(9773),E=p(4300),x=p(1088),I=p(3651),k=p(3680);function V(D,P){if(1&D){const v=e.EpF();e.TgZ(0,"div",1)(1,"button",2),e.NdJ("click",function(){e.CHM(v);const g=e.oxw();return e.KtG(g.action())}),e._uU(2),e.qZA()()}if(2&D){const v=e.oxw();e.xp6(2),e.hij(" ",v.data.action," ")}}const G=["label"];function j(D,P){}const W=Math.pow(2,31)-1;class K{constructor(P,v){this._overlayRef=v,this._afterDismissed=new A.x,this._afterOpened=new A.x,this._onAction=new A.x,this._dismissedByAction=!1,this.containerInstance=P,P._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(P){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(P,W))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const q=new e.OlP("MatSnackBarData");class ie{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let ae=(()=>{class D{static#e=this.\u0275fac=function(r){return new(r||D)};static#t=this.\u0275dir=e.lG2({type:D,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0})}return D})(),ue=(()=>{class D{static#e=this.\u0275fac=function(r){return new(r||D)};static#t=this.\u0275dir=e.lG2({type:D,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0})}return D})(),re=(()=>{class D{static#e=this.\u0275fac=function(r){return new(r||D)};static#t=this.\u0275dir=e.lG2({type:D,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0})}return D})(),xe=(()=>{class D{constructor(v,r){this.snackBarRef=v,this.data=r}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static#e=this.\u0275fac=function(r){return new(r||D)(e.Y36(K),e.Y36(q))};static#t=this.\u0275cmp=e.Xpm({type:D,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[e.jDz],decls:3,vars:2,consts:[["matSnackBarLabel",""],["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,V,3,1,"div",1)),2&r&&(e.xp6(1),e.hij(" ",g.data.message,"\n"),e.xp6(1),e.um2(2,g.hasAction?2:-1))},dependencies:[y.ot,y.lW,ae,ue,re,t.ez],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0})}return D})();const $={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})))])};let he=0,S=(()=>{class D extends M.en{constructor(v,r,g,H,N){super(),this._ngZone=v,this._elementRef=r,this._changeDetectorRef=g,this._platform=H,this.snackBarConfig=N,this._document=(0,e.f3M)(t.K0),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new A.x,this._onExit=new A.x,this._onEnter=new A.x,this._animationState="void",this._liveElementId="mat-snack-bar-container-live-"+he++,this.attachDomPortal=te=>{this._assertNotAttached();const De=this._portalOutlet.attachDomPortal(te);return this._afterPortalAttached(),De},this._live="assertive"!==N.politeness||N.announcementMessage?"off"===N.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(v){this._assertNotAttached();const r=this._portalOutlet.attachComponentPortal(v);return this._afterPortalAttached(),r}attachTemplatePortal(v){this._assertNotAttached();const r=this._portalOutlet.attachTemplatePortal(v);return this._afterPortalAttached(),r}onAnimationEnd(v){const{fromState:r,toState:g}=v;if(("void"===g&&"void"!==r||"hidden"===g)&&this._completeExit(),"visible"===g){const H=this._onEnter;this._ngZone.run(()=>{H.next(),H.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe((0,O.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const v=this._elementRef.nativeElement,r=this.snackBarConfig.panelClass;r&&(Array.isArray(r)?r.forEach(N=>v.classList.add(N)):v.classList.add(r)),this._exposeToModals();const g=this._label.nativeElement,H="mdc-snackbar__label";g.classList.toggle(H,!g.querySelector(`.${H}`))}_exposeToModals(){const v=this._liveElementId,r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let g=0;g<r.length;g++){const H=r[g],N=H.getAttribute("aria-owns");this._trackedModals.add(H),N?-1===N.indexOf(v)&&H.setAttribute("aria-owns",N+" "+v):H.setAttribute("aria-owns",v)}}_clearFromModals(){this._trackedModals.forEach(v=>{const r=v.getAttribute("aria-owns");if(r){const g=r.replace(this._liveElementId,"").trim();g.length>0?v.setAttribute("aria-owns",g):v.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const v=this._elementRef.nativeElement.querySelector("[aria-hidden]"),r=this._elementRef.nativeElement.querySelector("[aria-live]");if(v&&r){let g=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&v.contains(document.activeElement)&&(g=document.activeElement),v.removeAttribute("aria-hidden"),r.appendChild(v),g?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static#e=this.\u0275fac=function(r){return new(r||D)(e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(m.t4),e.Y36(ie))};static#t=this.\u0275cmp=e.Xpm({type:D,selectors:[["mat-snack-bar-container"]],viewQuery:function(r,g){if(1&r&&(e.Gf(M.Pl,7),e.Gf(G,7)),2&r){let H;e.iGM(H=e.CRH())&&(g._portalOutlet=H.first),e.iGM(H=e.CRH())&&(g._label=H.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(N){return g.onAnimationEnd(N)}),2&r&&e.d8E("@state",g._animationState)},standalone:!0,features:[e.qOj,e.jDz],decls:6,vars:3,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,j,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)("id",g._liveElementId))},dependencies:[M.eL,M.Pl],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape)}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size);font-family:var(--mdc-snackbar-supporting-text-font);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-line-height)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color);--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}.mat-mdc-snack-bar-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[$.snackBarState]}})}return D})();const s=new e.OlP("mat-snack-bar-default-options",{providedIn:"root",factory:function n(){return new ie}});let f=(()=>{class D{get _openedSnackBarRef(){const v=this._parentSnackBar;return v?v._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(v){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=v:this._snackBarRefAtThisLevel=v}constructor(v,r,g,H,N,te){this._overlay=v,this._live=r,this._injector=g,this._breakpointObserver=H,this._parentSnackBar=N,this._defaultConfig=te,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=xe,this.snackBarContainerComponent=S,this.handsetCssClass="mat-mdc-snack-bar-handset"}openFromComponent(v,r){return this._attach(v,r)}openFromTemplate(v,r){return this._attach(v,r)}open(v,r="",g){const H={...this._defaultConfig,...g};return H.data={message:v,action:r},H.announcementMessage===v&&(H.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,H)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(v,r){const H=e.zs3.create({parent:r&&r.viewContainerRef&&r.viewContainerRef.injector||this._injector,providers:[{provide:ie,useValue:r}]}),N=new M.C5(this.snackBarContainerComponent,r.viewContainerRef,H),te=v.attach(N);return te.instance.snackBarConfig=r,te.instance}_attach(v,r){const g={...new ie,...this._defaultConfig,...r},H=this._createOverlay(g),N=this._attachSnackBarContainer(H,g),te=new K(N,H);if(v instanceof e.Rgc){const De=new M.UE(v,null,{$implicit:g.data,snackBarRef:te});te.instance=N.attachTemplatePortal(De)}else{const De=this._createInjector(g,te),st=new M.C5(v,void 0,De),je=N.attachComponentPortal(st);te.instance=je.instance}return this._breakpointObserver.observe(x.u3.HandsetPortrait).pipe((0,d.R)(H.detachments())).subscribe(De=>{H.overlayElement.classList.toggle(this.handsetCssClass,De.matches)}),g.announcementMessage&&N._onAnnounce.subscribe(()=>{this._live.announce(g.announcementMessage,g.politeness)}),this._animateSnackBar(te,g),this._openedSnackBarRef=te,this._openedSnackBarRef}_animateSnackBar(v,r){v.afterDismissed().subscribe(()=>{this._openedSnackBarRef==v&&(this._openedSnackBarRef=null),r.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{v.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):v.containerInstance.enter(),r.duration&&r.duration>0&&v.afterOpened().subscribe(()=>v._dismissAfter(r.duration))}_createOverlay(v){const r=new I.X_;r.direction=v.direction;let g=this._overlay.position().global();const H="rtl"===v.direction,N="left"===v.horizontalPosition||"start"===v.horizontalPosition&&!H||"end"===v.horizontalPosition&&H,te=!N&&"center"!==v.horizontalPosition;return N?g.left("0"):te?g.right("0"):g.centerHorizontally(),"top"===v.verticalPosition?g.top("0"):g.bottom("0"),r.positionStrategy=g,this._overlay.create(r)}_createInjector(v,r){return e.zs3.create({parent:v&&v.viewContainerRef&&v.viewContainerRef.injector||this._injector,providers:[{provide:K,useValue:r},{provide:q,useValue:v.data}]})}static#e=this.\u0275fac=function(r){return new(r||D)(e.LFG(I.aV),e.LFG(E.Kd),e.LFG(e.zs3),e.LFG(x.Yg),e.LFG(D,12),e.LFG(s))};static#t=this.\u0275prov=e.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})(),w=(()=>{class D{static#e=this.\u0275fac=function(r){return new(r||D)};static#t=this.\u0275mod=e.oAB({type:D});static#i=this.\u0275inj=e.cJS({providers:[f],imports:[I.U8,M.eL,y.ot,k.BQ,xe,S,k.BQ]})}return D})()},3566:(He,X,p)=>{"use strict";p.d(X,{JX:()=>S,YE:()=>K,nU:()=>he});var e=p(9212),t=p(4300),y=p(2495),A=p(6028),l=p(3680),M=p(8645),m=p(3019),O=p(6825);const d=["mat-sort-header",""];function E(n,s){if(1&n){const f=e.EpF();e.TgZ(0,"div",3),e.NdJ("@arrowPosition.start",function(){e.CHM(f);const w=e.oxw();return e.KtG(w._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){e.CHM(f);const w=e.oxw();return e.KtG(w._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&n){const f=e.oxw();e.Q6J("@arrowOpacity",f._getArrowViewState())("@arrowPosition",f._getArrowViewState())("@allowChildren",f._getArrowDirectionState()),e.xp6(2),e.Q6J("@indicator",f._getArrowDirectionState()),e.xp6(1),e.Q6J("@leftPointer",f._getArrowDirectionState()),e.xp6(1),e.Q6J("@rightPointer",f._getArrowDirectionState())}}const x=["*"],j=new e.OlP("MAT_SORT_DEFAULT_OPTIONS"),W=(0,l.dB)((0,l.Id)(class{}));let K=(()=>{class n extends W{get direction(){return this._direction}set direction(f){this._direction=f}get disableClear(){return this._disableClear}set disableClear(f){this._disableClear=(0,y.Ig)(f)}constructor(f){super(),this._defaultOptions=f,this.sortables=new Map,this._stateChanges=new M.x,this.start="asc",this._direction="",this.sortChange=new e.vpe}register(f){this.sortables.set(f.id,f)}deregister(f){this.sortables.delete(f.id)}sort(f){this.active!=f.id?(this.active=f.id,this.direction=f.start?f.start:this.start):this.direction=this.getNextSortDirection(f),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(f){if(!f)return"";let w=function q(n,s){let f=["asc","desc"];return"desc"==n&&f.reverse(),s||f.push(""),f}(f.start||this.start,f?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear),D=w.indexOf(this.direction)+1;return D>=w.length&&(D=0),w[D]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}static#e=this.\u0275fac=function(h){return new(h||n)(e.Y36(j,8))};static#t=this.\u0275dir=e.lG2({type:n,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]})}return n})();const ie=l.mZ.ENTERING+" "+l.yN.STANDARD_CURVE,ae={indicator:(0,O.X$)("indicator",[(0,O.SB)("active-asc, asc",(0,O.oB)({transform:"translateY(0px)"})),(0,O.SB)("active-desc, desc",(0,O.oB)({transform:"translateY(10px)"})),(0,O.eR)("active-asc <=> active-desc",(0,O.jt)(ie))]),leftPointer:(0,O.X$)("leftPointer",[(0,O.SB)("active-asc, asc",(0,O.oB)({transform:"rotate(-45deg)"})),(0,O.SB)("active-desc, desc",(0,O.oB)({transform:"rotate(45deg)"})),(0,O.eR)("active-asc <=> active-desc",(0,O.jt)(ie))]),rightPointer:(0,O.X$)("rightPointer",[(0,O.SB)("active-asc, asc",(0,O.oB)({transform:"rotate(45deg)"})),(0,O.SB)("active-desc, desc",(0,O.oB)({transform:"rotate(-45deg)"})),(0,O.eR)("active-asc <=> active-desc",(0,O.jt)(ie))]),arrowOpacity:(0,O.X$)("arrowOpacity",[(0,O.SB)("desc-to-active, asc-to-active, active",(0,O.oB)({opacity:1})),(0,O.SB)("desc-to-hint, asc-to-hint, hint",(0,O.oB)({opacity:.54})),(0,O.SB)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",(0,O.oB)({opacity:0})),(0,O.eR)("* => asc, * => desc, * => active, * => hint, * => void",(0,O.jt)("0ms")),(0,O.eR)("* <=> *",(0,O.jt)(ie))]),arrowPosition:(0,O.X$)("arrowPosition",[(0,O.eR)("* => desc-to-hint, * => desc-to-active",(0,O.jt)(ie,(0,O.F4)([(0,O.oB)({transform:"translateY(-25%)"}),(0,O.oB)({transform:"translateY(0)"})]))),(0,O.eR)("* => hint-to-desc, * => active-to-desc",(0,O.jt)(ie,(0,O.F4)([(0,O.oB)({transform:"translateY(0)"}),(0,O.oB)({transform:"translateY(25%)"})]))),(0,O.eR)("* => asc-to-hint, * => asc-to-active",(0,O.jt)(ie,(0,O.F4)([(0,O.oB)({transform:"translateY(25%)"}),(0,O.oB)({transform:"translateY(0)"})]))),(0,O.eR)("* => hint-to-asc, * => active-to-asc",(0,O.jt)(ie,(0,O.F4)([(0,O.oB)({transform:"translateY(0)"}),(0,O.oB)({transform:"translateY(-25%)"})]))),(0,O.SB)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",(0,O.oB)({transform:"translateY(0)"})),(0,O.SB)("hint-to-desc, active-to-desc, desc",(0,O.oB)({transform:"translateY(-25%)"})),(0,O.SB)("hint-to-asc, active-to-asc, asc",(0,O.oB)({transform:"translateY(25%)"}))]),allowChildren:(0,O.X$)("allowChildren",[(0,O.eR)("* <=> *",[(0,O.IO)("@*",(0,O.pV)(),{optional:!0})])])};let ue=(()=>{class n{constructor(){this.changes=new M.x}static#e=this.\u0275fac=function(h){return new(h||n)};static#t=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const xe={provide:ue,deps:[[new e.FiY,new e.tp0,ue]],useFactory:function re(n){return n||new ue}},$=(0,l.Id)(class{});let he=(()=>{class n extends ${get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(f){this._updateSortActionDescription(f)}get disableClear(){return this._disableClear}set disableClear(f){this._disableClear=(0,y.Ig)(f)}constructor(f,h,w,D,P,v,r,g){super(),this._intl=f,this._changeDetectorRef=h,this._sort=w,this._columnDef=D,this._focusMonitor=P,this._elementRef=v,this._ariaDescriber=r,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",g?.arrowPosition&&(this.arrowPosition=g?.arrowPosition),this._handleStateChanges()}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(f=>{const h=!!f;h!==this._showIndicatorHint&&(this._setIndicatorHintVisible(h),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(f){this._isDisabled()&&f||(this._showIndicatorHint=f,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(f){this._viewState=f||{},this._disableViewStateAnimation&&(this._viewState={toState:f.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(f){!this._isDisabled()&&(f.keyCode===A.L_||f.keyCode===A.K5)&&(f.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 f=this._viewState.fromState;return(f?`${f}-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(f){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,f)),this._sortActionDescription=f}_handleStateChanges(){this._rerenderSubscription=(0,m.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()})}static#e=this.\u0275fac=function(h){return new(h||n)(e.Y36(ue),e.Y36(e.sBO),e.Y36(K,8),e.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),e.Y36(t.tE),e.Y36(e.SBq),e.Y36(t.$s,8),e.Y36(j,8))};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(h,w){1&h&&e.NdJ("click",function(){return w._handleClick()})("keydown",function(P){return w._handleKeydown(P)})("mouseenter",function(){return w._setIndicatorHintVisible(!0)})("mouseleave",function(){return w._setIndicatorHintVisible(!1)}),2&h&&(e.uIk("aria-sort",w._getAriaSortAttribute()),e.ekj("mat-sort-header-disabled",w._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[e.qOj],attrs:d,ngContentSelectors:x,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow"],[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(h,w){1&h&&(e.F$t(),e.TgZ(0,"div",0)(1,"div",1),e.Hsn(2),e.qZA(),e.YNc(3,E,6,6,"div",2),e.qZA()),2&h&&(e.ekj("mat-sort-header-sorted",w._isSorted())("mat-sort-header-position-before","before"===w.arrowPosition),e.uIk("tabindex",w._isDisabled()?null:0)("role",w._isDisabled()?null:"button"),e.xp6(3),e.um2(3,w._renderArrow()?3:-1))},styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;color:var(--mat-sort-arrow-color);opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],encapsulation:2,data:{animation:[ae.indicator,ae.leftPointer,ae.rightPointer,ae.arrowOpacity,ae.arrowPosition,ae.allowChildren]},changeDetection:0})}return n})(),S=(()=>{class n{static#e=this.\u0275fac=function(h){return new(h||n)};static#t=this.\u0275mod=e.oAB({type:n});static#i=this.\u0275inj=e.cJS({providers:[xe],imports:[l.BQ]})}return n})()},8257:(He,X,p)=>{"use strict";p.d(X,{C0:()=>qe,Ic:()=>ve,T5:()=>Ge,VY:()=>te,Vq:()=>oe,fd:()=>ce,z9:()=>le});var e=p(8484),t=p(1657),y=p(6814),A=p(9212),l=p(3680),M=p(617),m=p(4300),O=p(8645),d=p(7394),E=p(9388),x=p(4664),I=p(7398),k=p(7921),V=p(9773),G=p(3997),j=p(6825);function W(Ze,wt){if(1&Ze&&A.GkF(0,2),2&Ze){const mt=A.oxw();A.Q6J("ngTemplateOutlet",mt.iconOverrides[mt.state])("ngTemplateOutletContext",mt._getIconContext())}}function K(Ze,wt){if(1&Ze&&(A.TgZ(0,"span",7),A._uU(1),A.qZA()),2&Ze){const mt=A.oxw(2);A.xp6(1),A.Oqu(mt._getDefaultTextForState(mt.state))}}function q(Ze,wt){if(1&Ze&&(A.TgZ(0,"span",9),A._uU(1),A.qZA()),2&Ze){const mt=A.oxw(3);A.xp6(1),A.Oqu(mt._intl.completedLabel)}}function ie(Ze,wt){if(1&Ze&&(A.TgZ(0,"span",9),A._uU(1),A.qZA()),2&Ze){const mt=A.oxw(3);A.xp6(1),A.Oqu(mt._intl.editableLabel)}}function ae(Ze,wt){if(1&Ze&&(A.YNc(0,q,2,1,"span",8)(1,ie,2,1),A.TgZ(2,"mat-icon",7),A._uU(3),A.qZA()),2&Ze){const mt=A.oxw(2);A.um2(0,"done"===mt.state?0:"edit"===mt.state?1:-1),A.xp6(3),A.Oqu(mt._getDefaultTextForState(mt.state))}}function ue(Ze,wt){if(1&Ze&&A.YNc(0,K,2,1)(1,ae,4,2),2&Ze){const mt=A.oxw();let kt;A.um2(0,"number"===(kt=mt.state)?0:1)}}function re(Ze,wt){1&Ze&&(A.TgZ(0,"div",10),A.GkF(1,11),A.qZA()),2&Ze&&(A.xp6(1),A.Q6J("ngTemplateOutlet",wt.template))}function xe(Ze,wt){if(1&Ze&&(A.TgZ(0,"div",10),A._uU(1),A.qZA()),2&Ze){const mt=A.oxw();A.xp6(1),A.Oqu(mt.label)}}function $(Ze,wt){if(1&Ze&&(A.TgZ(0,"div",12),A._uU(1),A.qZA()),2&Ze){const mt=A.oxw();A.xp6(1),A.Oqu(mt._intl.optionalLabel)}}function he(Ze,wt){if(1&Ze&&(A.TgZ(0,"div",13),A._uU(1),A.qZA()),2&Ze){const mt=A.oxw();A.xp6(1),A.Oqu(mt.errorMessage)}}function S(Ze,wt){}function n(Ze,wt){if(1&Ze&&(A.Hsn(0),A.YNc(1,S,0,0,"ng-template",0)),2&Ze){const mt=A.oxw();A.xp6(1),A.Q6J("cdkPortalOutlet",mt._portal)}}const s=["*"];function f(Ze,wt){1&Ze&&A._UZ(0,"div",6)}const h=(Ze,wt)=>({step:Ze,i:wt});function w(Ze,wt){if(1&Ze&&(A.GkF(0,4),A.YNc(1,f,1,0,"div",5)),2&Ze){const mt=wt.$implicit,kt=wt.$index,Ae=wt.$count;A.oxw(2);const ze=A.MAs(3);A.Q6J("ngTemplateOutlet",ze)("ngTemplateOutletContext",A.WLB(3,h,mt,kt)),A.xp6(1),A.um2(1,kt!==Ae-1?1:-1)}}const D=Ze=>({animationDuration:Ze}),P=(Ze,wt)=>({value:Ze,params:wt});function v(Ze,wt){if(1&Ze){const mt=A.EpF();A.TgZ(0,"div",7),A.NdJ("@horizontalStepTransition.done",function(Ae){A.CHM(mt);const ze=A.oxw(2);return A.KtG(ze._animationDone.next(Ae))}),A.GkF(1,8),A.qZA()}if(2&Ze){const mt=wt.$implicit,kt=wt.$index,Ae=A.oxw(2);A.ekj("mat-horizontal-stepper-content-inactive",Ae.selectedIndex!==kt),A.Q6J("@horizontalStepTransition",A.WLB(8,P,Ae._getAnimationDirection(kt),A.VKq(6,D,Ae._getAnimationDuration())))("id",Ae._getStepContentId(kt)),A.uIk("aria-labelledby",Ae._getStepLabelId(kt)),A.xp6(1),A.Q6J("ngTemplateOutlet",mt.content)}}function r(Ze,wt){if(1&Ze&&(A.TgZ(0,"div",1)(1,"div",2),A.SjG(2,w,2,6,null,null,A.x6l),A.qZA(),A.TgZ(4,"div",3),A.SjG(5,v,2,11,"div",9,A.x6l),A.qZA()()),2&Ze){const mt=A.oxw();A.xp6(2),A.wJu(mt.steps),A.xp6(3),A.wJu(mt.steps)}}function g(Ze,wt){if(1&Ze){const mt=A.EpF();A.TgZ(0,"div",10),A.GkF(1,4),A.TgZ(2,"div",11)(3,"div",12),A.NdJ("@verticalStepTransition.done",function(Ae){A.CHM(mt);const ze=A.oxw(2);return A.KtG(ze._animationDone.next(Ae))}),A.TgZ(4,"div",13),A.GkF(5,8),A.qZA()()()()}if(2&Ze){const mt=wt.$implicit,kt=wt.$index,Ae=wt.$count,ze=A.oxw(2),nt=A.MAs(3);A.xp6(1),A.Q6J("ngTemplateOutlet",nt)("ngTemplateOutletContext",A.WLB(10,h,mt,kt)),A.xp6(1),A.ekj("mat-stepper-vertical-line",kt!==Ae-1),A.xp6(1),A.ekj("mat-vertical-stepper-content-inactive",ze.selectedIndex!==kt),A.Q6J("@verticalStepTransition",A.WLB(15,P,ze._getAnimationDirection(kt),A.VKq(13,D,ze._getAnimationDuration())))("id",ze._getStepContentId(kt)),A.uIk("aria-labelledby",ze._getStepLabelId(kt)),A.xp6(2),A.Q6J("ngTemplateOutlet",mt.content)}}function H(Ze,wt){if(1&Ze&&A.SjG(0,g,6,18,"div",14,A.x6l),2&Ze){const mt=A.oxw();A.wJu(mt.steps)}}function N(Ze,wt){if(1&Ze){const mt=A.EpF();A.TgZ(0,"mat-step-header",15),A.NdJ("click",function(){const ze=A.CHM(mt).step;return A.KtG(ze.select())})("keydown",function(Ae){A.CHM(mt);const ze=A.oxw();return A.KtG(ze._onKeydown(Ae))}),A.qZA()}if(2&Ze){const mt=wt.step,kt=wt.i,Ae=A.oxw();A.ekj("mat-horizontal-stepper-header","horizontal"===Ae.orientation)("mat-vertical-stepper-header","vertical"===Ae.orientation),A.Q6J("tabIndex",Ae._getFocusIndex()===kt?0:-1)("id",Ae._getStepLabelId(kt))("index",kt)("state",Ae._getIndicatorType(kt,mt.state))("label",mt.stepLabel||mt.label)("selected",Ae.selectedIndex===kt)("active",Ae._stepIsNavigable(kt,mt))("optional",mt.optional)("errorMessage",mt.errorMessage)("iconOverrides",Ae._iconOverrides)("disableRipple",Ae.disableRipple||!Ae._stepIsNavigable(kt,mt))("color",mt.color||Ae.color),A.uIk("aria-posinset",kt+1)("aria-setsize",Ae.steps.length)("aria-controls",Ae._getStepContentId(kt))("aria-selected",Ae.selectedIndex==kt)("aria-label",mt.ariaLabel||null)("aria-labelledby",!mt.ariaLabel&&mt.ariaLabelledby?mt.ariaLabelledby:null)("aria-disabled",!Ae._stepIsNavigable(kt,mt)||null)}}let te=(()=>{class Ze extends t.u6{static#e=this.\u0275fac=(()=>{let mt;return function(Ae){return(mt||(mt=A.n5z(Ze)))(Ae||Ze)}})();static#t=this.\u0275dir=A.lG2({type:Ze,selectors:[["","matStepLabel",""]],features:[A.qOj]})}return Ze})(),De=(()=>{class Ze{constructor(){this.changes=new O.x,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}static#e=this.\u0275fac=function(kt){return new(kt||Ze)};static#t=this.\u0275prov=A.Yz7({token:Ze,factory:Ze.\u0275fac,providedIn:"root"})}return Ze})();const je={provide:De,deps:[[new A.FiY,new A.tp0,De]],useFactory:function st(Ze){return Ze||new De}},$e=(0,l.pj)(class extends t.KL{constructor(wt){super(wt)}},"primary");let ye=(()=>{class Ze extends $e{constructor(mt,kt,Ae,ze){super(Ae),this._intl=mt,this._focusMonitor=kt,this._intlSubscription=mt.changes.subscribe(()=>ze.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(mt,kt){mt?this._focusMonitor.focusVia(this._elementRef,mt,kt):this._elementRef.nativeElement.focus(kt)}_stringLabel(){return this.label instanceof te?null:this.label}_templateLabel(){return this.label instanceof te?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(mt){return"number"==mt?`${this.index+1}`:"edit"==mt?"create":"error"==mt?"warning":mt}static#e=this.\u0275fac=function(kt){return new(kt||Ze)(A.Y36(De),A.Y36(m.tE),A.Y36(A.SBq),A.Y36(A.sBO))};static#t=this.\u0275cmp=A.Xpm({type:Ze,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[A.qOj],decls:10,vars:17,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-step-label"],["class","mat-step-text-label"],["class","mat-step-optional"],["class","mat-step-sub-label-error"],["aria-hidden","true"],["class","cdk-visually-hidden"],[1,"cdk-visually-hidden"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(kt,Ae){if(1&kt&&(A._UZ(0,"div",0),A.TgZ(1,"div")(2,"div",1),A.YNc(3,W,1,2,"ng-container",2)(4,ue,2,1),A.qZA()(),A.TgZ(5,"div",3),A.YNc(6,re,2,1,"div",4)(7,xe,2,1)(8,$,2,1,"div",5)(9,he,2,1,"div",6),A.qZA()),2&kt){let ze;A.Q6J("matRippleTrigger",Ae._getHostElement())("matRippleDisabled",Ae.disableRipple),A.xp6(1),A.Gre("mat-step-icon-state-",Ae.state," mat-step-icon"),A.ekj("mat-step-icon-selected",Ae.selected),A.xp6(2),A.um2(3,Ae.iconOverrides&&Ae.iconOverrides[Ae.state]?3:4),A.xp6(2),A.ekj("mat-step-label-active",Ae.active)("mat-step-label-selected",Ae.selected)("mat-step-label-error","error"==Ae.state),A.xp6(1),A.um2(6,(ze=Ae._templateLabel())?6:Ae._stringLabel()?7:-1,ze),A.xp6(2),A.um2(8,Ae.optional&&"error"!=Ae.state?8:-1),A.xp6(1),A.um2(9,"error"===Ae.state?9:-1)}},dependencies:[y.tP,M.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:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color)}@media(hover: none){.mat-step-header:hover{background:none}}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color)}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color);background-color:var(--mat-stepper-header-icon-background-color)}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color);color:var(--mat-stepper-header-error-state-icon-foreground-color)}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font);font-size:var(--mat-stepper-header-label-text-size);font-weight:var(--mat-stepper-header-label-text-weight);color:var(--mat-stepper-header-label-text-color)}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color)}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color);font-size:var(--mat-stepper-header-error-state-label-text-size)}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size);font-weight:var(--mat-stepper-header-selected-state-label-text-weight)}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color);color:var(--mat-stepper-header-selected-state-icon-foreground-color)}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color);color:var(--mat-stepper-header-done-state-icon-foreground-color)}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color);color:var(--mat-stepper-header-edit-state-icon-foreground-color)}'],encapsulation:2,changeDetection:0})}return Ze})();const Ce={horizontalStepTransition:(0,j.X$)("horizontalStepTransition",[(0,j.SB)("previous",(0,j.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,j.SB)("current",(0,j.oB)({transform:"none",visibility:"inherit"})),(0,j.SB)("next",(0,j.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,j.eR)("* => *",(0,j.ru)([(0,j.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),(0,j.IO)("@*",(0,j.pV)(),{optional:!0})]),{params:{animationDuration:"500ms"}})]),verticalStepTransition:(0,j.X$)("verticalStepTransition",[(0,j.SB)("previous",(0,j.oB)({height:"0px",visibility:"hidden"})),(0,j.SB)("next",(0,j.oB)({height:"0px",visibility:"hidden"})),(0,j.SB)("current",(0,j.oB)({height:"*",visibility:"inherit"})),(0,j.eR)("* <=> current",(0,j.ru)([(0,j.jt)("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),(0,j.IO)("@*",(0,j.pV)(),{optional:!0})]),{params:{animationDuration:"225ms"}})])};let le=(()=>{class Ze{constructor(mt){this.templateRef=mt}static#e=this.\u0275fac=function(kt){return new(kt||Ze)(A.Y36(A.Rgc))};static#t=this.\u0275dir=A.lG2({type:Ze,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}})}return Ze})(),ge=(()=>{class Ze{constructor(mt){this._template=mt}static#e=this.\u0275fac=function(kt){return new(kt||Ze)(A.Y36(A.Rgc))};static#t=this.\u0275dir=A.lG2({type:Ze,selectors:[["ng-template","matStepContent",""]]})}return Ze})(),qe=(()=>{class Ze extends t.be{constructor(mt,kt,Ae,ze){super(mt,ze),this._errorStateMatcher=kt,this._viewContainerRef=Ae,this._isSelected=d.w0.EMPTY,this.stepLabel=void 0}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,x.w)(()=>this._stepper.selectionChange.pipe((0,I.U)(mt=>mt.selectedStep===this),(0,k.O)(this._stepper.selected===this)))).subscribe(mt=>{mt&&this._lazyContent&&!this._portal&&(this._portal=new e.UE(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(mt,kt){return this._errorStateMatcher.isErrorState(mt,kt)||!!(mt&&mt.invalid&&this.interacted)}static#e=this.\u0275fac=function(kt){return new(kt||Ze)(A.Y36((0,A.Gpc)(()=>oe)),A.Y36(l.rD,4),A.Y36(A.s_b),A.Y36(t.gx,8))};static#t=this.\u0275cmp=A.Xpm({type:Ze,selectors:[["mat-step"]],contentQueries:function(kt,Ae,ze){if(1&kt&&(A.Suo(ze,te,5),A.Suo(ze,ge,5)),2&kt){let nt;A.iGM(nt=A.CRH())&&(Ae.stepLabel=nt.first),A.iGM(nt=A.CRH())&&(Ae._lazyContent=nt.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[A._Bn([{provide:l.rD,useExisting:Ze},{provide:t.be,useExisting:Ze}]),A.qOj],ngContentSelectors:s,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(kt,Ae){1&kt&&(A.F$t(),A.YNc(0,n,2,1,"ng-template"))},dependencies:[e.Pl],encapsulation:2,changeDetection:0})}return Ze})(),oe=(()=>{class Ze extends t.B8{get animationDuration(){return this._animationDuration}set animationDuration(mt){this._animationDuration=/^\d+$/.test(mt)?mt+"ms":mt}constructor(mt,kt,Ae){super(mt,kt,Ae),this._stepHeader=void 0,this._steps=void 0,this.steps=new A.n_E,this.animationDone=new A.vpe,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new O.x,this._animationDuration="";const ze=Ae.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===ze?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:mt,templateRef:kt})=>this._iconOverrides[mt]=kt),this.steps.changes.pipe((0,V.R)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe((0,G.x)((mt,kt)=>mt.fromState===kt.fromState&&mt.toState===kt.toState),(0,V.R)(this._destroyed)).subscribe(mt=>{"current"===mt.toState&&this.animationDone.emit()})}_stepIsNavigable(mt,kt){return kt.completed||this.selectedIndex===mt||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"}static#e=this.\u0275fac=function(kt){return new(kt||Ze)(A.Y36(E.Is,8),A.Y36(A.sBO),A.Y36(A.SBq))};static#t=this.\u0275cmp=A.Xpm({type:Ze,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(kt,Ae,ze){if(1&kt&&(A.Suo(ze,qe,5),A.Suo(ze,le,5)),2&kt){let nt;A.iGM(nt=A.CRH())&&(Ae._steps=nt),A.iGM(nt=A.CRH())&&(Ae._icons=nt)}},viewQuery:function(kt,Ae){if(1&kt&&A.Gf(ye,5),2&kt){let ze;A.iGM(ze=A.CRH())&&(Ae._stepHeader=ze)}},hostAttrs:["role","tablist","ngSkipHydration",""],hostVars:11,hostBindings:function(kt,Ae){2&kt&&(A.uIk("aria-orientation",Ae.orientation),A.ekj("mat-stepper-horizontal","horizontal"===Ae.orientation)("mat-stepper-vertical","vertical"===Ae.orientation)("mat-stepper-label-position-end","horizontal"===Ae.orientation&&"end"==Ae.labelPosition)("mat-stepper-label-position-bottom","horizontal"===Ae.orientation&&"bottom"==Ae.labelPosition)("mat-stepper-header-position-bottom","bottom"===Ae.headerPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[A._Bn([{provide:t.B8,useExisting:Ze}]),A.qOj],decls:4,vars:1,consts:[["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[1,"mat-horizontal-content-container"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],["class","mat-horizontal-stepper-content","role","tabpanel",3,"id","mat-horizontal-stepper-content-inactive"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],["class","mat-step"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color","click","keydown"]],template:function(kt,Ae){if(1&kt&&A.YNc(0,r,7,0)(1,H,2,0)(2,N,1,23,"ng-template",null,0,A.W1O),2&kt){let ze;A.um2(0,"horizontal"===(ze=Ae.orientation)?0:"vertical"===ze?1:-1)}},dependencies:[y.tP,ye],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font);background:var(--mat-stepper-container-color)}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height)}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px;padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid;border-left-color:var(--mat-stepper-line-color);top:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}'],encapsulation:2,data:{animation:[Ce.horizontalStepTransition,Ce.verticalStepTransition]},changeDetection:0})}return Ze})(),ve=(()=>{class Ze extends t.st{static#e=this.\u0275fac=(()=>{let mt;return function(Ae){return(mt||(mt=A.n5z(Ze)))(Ae||Ze)}})();static#t=this.\u0275dir=A.lG2({type:Ze,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(kt,Ae){2&kt&&A.Ikx("type",Ae.type)},inputs:{type:"type"},features:[A.qOj]})}return Ze})(),ce=(()=>{class Ze extends t.po{static#e=this.\u0275fac=(()=>{let mt;return function(Ae){return(mt||(mt=A.n5z(Ze)))(Ae||Ze)}})();static#t=this.\u0275dir=A.lG2({type:Ze,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(kt,Ae){2&kt&&A.Ikx("type",Ae.type)},inputs:{type:"type"},features:[A.qOj]})}return Ze})(),Ge=(()=>{class Ze{static#e=this.\u0275fac=function(kt){return new(kt||Ze)};static#t=this.\u0275mod=A.oAB({type:Ze});static#i=this.\u0275inj=A.cJS({providers:[je,l.rD],imports:[l.BQ,y.ez,e.eL,t.U5,M.Ps,l.si,l.BQ]})}return Ze})()},5313:(He,X,p)=>{"use strict";p.d(X,{ev:()=>Ie,Dz:()=>Je,w1:()=>be,yh:()=>ne,mD:()=>Le,Q2:()=>qt,Ke:()=>Zt,ge:()=>ee,fO:()=>_t,XQ:()=>Jt,as:()=>At,Gk:()=>Hi,nj:()=>pi,BZ:()=>Ue,by:()=>sn,p0:()=>Qi});var e=p(9212),t=p(9388),y=p(8337),A=p(2831),l=p(5407),M=p(6814),m=p(8645),O=p(9666),d=p(5619),E=p(2664),x=p(2096),I=p(9773),k=p(8180),V=p(2495);const G=[[["caption"]],[["colgroup"],["col"]]],j=["caption","colgroup, col"];function q(ot){return class extends ot{get sticky(){return this._sticky}set sticky(si){const we=this._sticky;this._sticky=(0,V.Ig)(si),this._hasStickyChanged=we!==this._sticky}hasStickyChanged(){const si=this._hasStickyChanged;return this._hasStickyChanged=!1,si}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...si){super(...si),this._sticky=!1,this._hasStickyChanged=!1}}}const ie=new e.OlP("CDK_TABLE");let ue=(()=>{class ot{constructor(we){this.template=we}static#e=this.\u0275fac=function(St){return new(St||ot)(e.Y36(e.Rgc))};static#t=this.\u0275dir=e.lG2({type:ot,selectors:[["","cdkCellDef",""]]})}return ot})(),re=(()=>{class ot{constructor(we){this.template=we}static#e=this.\u0275fac=function(St){return new(St||ot)(e.Y36(e.Rgc))};static#t=this.\u0275dir=e.lG2({type:ot,selectors:[["","cdkHeaderCellDef",""]]})}return ot})(),xe=(()=>{class ot{constructor(we){this.template=we}static#e=this.\u0275fac=function(St){return new(St||ot)(e.Y36(e.Rgc))};static#t=this.\u0275dir=e.lG2({type:ot,selectors:[["","cdkFooterCellDef",""]]})}return ot})();class ${}const he=q($);let S=(()=>{class ot extends he{get name(){return this._name}set name(we){this._setNameInput(we)}get stickyEnd(){return this._stickyEnd}set stickyEnd(we){we!==this._stickyEnd&&(this._stickyEnd=we,this._hasStickyChanged=!0)}constructor(we){super(),this._table=we,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(we){we&&(this._name=we,this.cssClassFriendlyName=we.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static#e=this.\u0275fac=function(St){return new(St||ot)(e.Y36(ie,8))};static#t=this.\u0275dir=e.lG2({type:ot,selectors:[["","cdkColumnDef",""]],contentQueries:function(St,zt,Dt){if(1&St&&(e.Suo(Dt,ue,5),e.Suo(Dt,re,5),e.Suo(Dt,xe,5)),2&St){let Lt;e.iGM(Lt=e.CRH())&&(zt.cell=Lt.first),e.iGM(Lt=e.CRH())&&(zt.headerCell=Lt.first),e.iGM(Lt=e.CRH())&&(zt.footerCell=Lt.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:["stickyEnd","stickyEnd",e.VuI]},features:[e._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:ot}]),e.Xq5,e.qOj]})}return ot})();class n{constructor(si,we){we.nativeElement.classList.add(...si._columnCssClassName)}}let s=(()=>{class ot extends n{constructor(we,St){super(we,St)}static#e=this.\u0275fac=function(St){return new(St||ot)(e.Y36(S),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:ot,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[e.qOj]})}return ot})(),f=(()=>{class ot extends n{constructor(we,St){if(super(we,St),1===we._table?._elementRef.nativeElement.nodeType){const zt=we._table._elementRef.nativeElement.getAttribute("role");St.nativeElement.setAttribute("role","grid"===zt||"treegrid"===zt?"gridcell":"cell")}}static#e=this.\u0275fac=function(St){return new(St||ot)(e.Y36(S),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:ot,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[e.qOj]})}return ot})(),h=(()=>{class ot extends n{constructor(we,St){if(super(we,St),1===we._table?._elementRef.nativeElement.nodeType){const zt=we._table._elementRef.nativeElement.getAttribute("role");St.nativeElement.setAttribute("role","grid"===zt||"treegrid"===zt?"gridcell":"cell")}}static#e=this.\u0275fac=function(St){return new(St||ot)(e.Y36(S),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:ot,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[e.qOj]})}return ot})();class w{constructor(){this.tasks=[],this.endTasks=[]}}const D=new e.OlP("_COALESCED_STYLE_SCHEDULER");let P=(()=>{class ot{constructor(we){this._ngZone=we,this._currentSchedule=null,this._destroyed=new m.x}schedule(we){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(we)}scheduleEnd(we){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(we)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new w,this._getScheduleObservable().pipe((0,I.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const we=this._currentSchedule;this._currentSchedule=new w;for(const St of we.tasks)St();for(const St of we.endTasks)St()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,O.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,k.q)(1))}static#e=this.\u0275fac=function(St){return new(St||ot)(e.LFG(e.R0b))};static#t=this.\u0275prov=e.Yz7({token:ot,factory:ot.\u0275fac})}return ot})(),r=(()=>{class ot{constructor(we,St){this.template=we,this._differs=St}ngOnChanges(we){if(!this._columnsDiffer){const St=we.columns&&we.columns.currentValue||[];this._columnsDiffer=this._differs.find(St).create(),this._columnsDiffer.diff(St)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(we){return this instanceof N?we.headerCell.template:this instanceof st?we.footerCell.template:we.cell.template}static#e=this.\u0275fac=function(St){return new(St||ot)(e.Y36(e.Rgc),e.Y36(e.ZZ4))};static#t=this.\u0275dir=e.lG2({type:ot,features:[e.TTD]})}return ot})();class g extends r{}const H=q(g);let N=(()=>{class ot extends H{constructor(we,St,zt){super(we,St),this._table=zt}ngOnChanges(we){super.ngOnChanges(we)}static#e=this.\u0275fac=function(St){return new(St||ot)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(ie,8))};static#t=this.\u0275dir=e.lG2({type:ot,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[e.qOj,e.TTD]})}return ot})();class te extends r{}const De=q(te);let st=(()=>{class ot extends De{constructor(we,St,zt){super(we,St),this._table=zt}ngOnChanges(we){super.ngOnChanges(we)}static#e=this.\u0275fac=function(St){return new(St||ot)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(ie,8))};static#t=this.\u0275dir=e.lG2({type:ot,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[e.qOj,e.TTD]})}return ot})(),je=(()=>{class ot extends r{constructor(we,St,zt){super(we,St),this._table=zt}static#e=this.\u0275fac=function(St){return new(St||ot)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(ie,8))};static#t=this.\u0275dir=e.lG2({type:ot,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[e.qOj]})}return ot})(),$e=(()=>{class ot{static#e=this.mostRecentCellOutlet=null;constructor(we){this._viewContainer=we,ot.mostRecentCellOutlet=this}ngOnDestroy(){ot.mostRecentCellOutlet===this&&(ot.mostRecentCellOutlet=null)}static#t=this.\u0275fac=function(St){return new(St||ot)(e.Y36(e.s_b))};static#i=this.\u0275dir=e.lG2({type:ot,selectors:[["","cdkCellOutlet",""]]})}return ot})(),ye=(()=>{class ot{static#e=this.\u0275fac=function(St){return new(St||ot)};static#t=this.\u0275cmp=e.Xpm({type:ot,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(St,zt){1&St&&e.GkF(0,0)},dependencies:[$e],encapsulation:2})}return ot})(),fe=(()=>{class ot{static#e=this.\u0275fac=function(St){return new(St||ot)};static#t=this.\u0275cmp=e.Xpm({type:ot,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(St,zt){1&St&&e.GkF(0,0)},dependencies:[$e],encapsulation:2})}return ot})(),de=(()=>{class ot{static#e=this.\u0275fac=function(St){return new(St||ot)};static#t=this.\u0275cmp=e.Xpm({type:ot,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(St,zt){1&St&&e.GkF(0,0)},dependencies:[$e],encapsulation:2})}return ot})(),Ce=(()=>{class ot{constructor(we){this.templateRef=we,this._contentClassName="cdk-no-data-row"}static#e=this.\u0275fac=function(St){return new(St||ot)(e.Y36(e.Rgc))};static#t=this.\u0275dir=e.lG2({type:ot,selectors:[["ng-template","cdkNoDataRow",""]]})}return ot})();const le=["top","bottom","left","right"];class ge{constructor(si,we,St,zt,Dt=!0,Lt=!0,Bt){this._isNativeHtmlTable=si,this._stickCellCss=we,this.direction=St,this._coalescedStyleScheduler=zt,this._isBrowser=Dt,this._needsPositionStickyOnElement=Lt,this._positionListener=Bt,this._cachedCellWidths=[],this._borderCellCss={top:`${we}-border-elem-top`,bottom:`${we}-border-elem-bottom`,left:`${we}-border-elem-left`,right:`${we}-border-elem-right`}}clearStickyPositioning(si,we){const St=[];for(const zt of si)if(zt.nodeType===zt.ELEMENT_NODE){St.push(zt);for(let Dt=0;Dt<zt.children.length;Dt++)St.push(zt.children[Dt])}this._coalescedStyleScheduler.schedule(()=>{for(const zt of St)this._removeStickyStyle(zt,we)})}updateStickyColumns(si,we,St,zt=!0){if(!si.length||!this._isBrowser||!we.some(Bi=>Bi)&&!St.some(Bi=>Bi))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const Dt=si[0],Lt=Dt.children.length,Bt=this._getCellWidths(Dt,zt),ai=this._getStickyStartColumnPositions(Bt,we),vi=this._getStickyEndColumnPositions(Bt,St),bi=we.lastIndexOf(!0),ki=St.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const Bi="rtl"===this.direction,Vi=Bi?"right":"left",jt=Bi?"left":"right";for(const It of si)for(let pe=0;pe<Lt;pe++){const Ve=It.children[pe];we[pe]&&this._addStickyStyle(Ve,Vi,ai[pe],pe===bi),St[pe]&&this._addStickyStyle(Ve,jt,vi[pe],pe===ki)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===bi?[]:Bt.slice(0,bi+1).map((It,pe)=>we[pe]?It:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===ki?[]:Bt.slice(ki).map((It,pe)=>St[pe+ki]?It:null).reverse()}))})}stickRows(si,we,St){if(!this._isBrowser)return;const zt="bottom"===St?si.slice().reverse():si,Dt="bottom"===St?we.slice().reverse():we,Lt=[],Bt=[],ai=[];for(let bi=0,ki=0;bi<zt.length;bi++){if(!Dt[bi])continue;Lt[bi]=ki;const Bi=zt[bi];ai[bi]=this._isNativeHtmlTable?Array.from(Bi.children):[Bi];const Vi=Bi.getBoundingClientRect().height;ki+=Vi,Bt[bi]=Vi}const vi=Dt.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{for(let bi=0;bi<zt.length;bi++){if(!Dt[bi])continue;const ki=Lt[bi],Bi=bi===vi;for(const Vi of ai[bi])this._addStickyStyle(Vi,St,ki,Bi)}"top"===St?this._positionListener?.stickyHeaderRowsUpdated({sizes:Bt,offsets:Lt,elements:ai}):this._positionListener?.stickyFooterRowsUpdated({sizes:Bt,offsets:Lt,elements:ai})})}updateStickyFooterContainer(si,we){if(!this._isNativeHtmlTable)return;const St=si.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{we.some(zt=>!zt)?this._removeStickyStyle(St,["bottom"]):this._addStickyStyle(St,"bottom",0,!1)})}_removeStickyStyle(si,we){for(const zt of we)si.style[zt]="",si.classList.remove(this._borderCellCss[zt]);le.some(zt=>-1===we.indexOf(zt)&&si.style[zt])?si.style.zIndex=this._getCalculatedZIndex(si):(si.style.zIndex="",this._needsPositionStickyOnElement&&(si.style.position=""),si.classList.remove(this._stickCellCss))}_addStickyStyle(si,we,St,zt){si.classList.add(this._stickCellCss),zt&&si.classList.add(this._borderCellCss[we]),si.style[we]=`${St}px`,si.style.zIndex=this._getCalculatedZIndex(si),this._needsPositionStickyOnElement&&(si.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(si){const we={top:100,bottom:10,left:1,right:1};let St=0;for(const zt of le)si.style[zt]&&(St+=we[zt]);return St?`${St}`:""}_getCellWidths(si,we=!0){if(!we&&this._cachedCellWidths.length)return this._cachedCellWidths;const St=[],zt=si.children;for(let Dt=0;Dt<zt.length;Dt++)St.push(zt[Dt].getBoundingClientRect().width);return this._cachedCellWidths=St,St}_getStickyStartColumnPositions(si,we){const St=[];let zt=0;for(let Dt=0;Dt<si.length;Dt++)we[Dt]&&(St[Dt]=zt,zt+=si[Dt]);return St}_getStickyEndColumnPositions(si,we){const St=[];let zt=0;for(let Dt=si.length;Dt>0;Dt--)we[Dt]&&(St[Dt]=zt,zt+=si[Dt]);return St}}const kt=new e.OlP("CDK_SPL");let ze=(()=>{class ot{constructor(we,St){this.viewContainer=we,this.elementRef=St}static#e=this.\u0275fac=function(St){return new(St||ot)(e.Y36(e.s_b),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:ot,selectors:[["","rowOutlet",""]]})}return ot})(),nt=(()=>{class ot{constructor(we,St){this.viewContainer=we,this.elementRef=St}static#e=this.\u0275fac=function(St){return new(St||ot)(e.Y36(e.s_b),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:ot,selectors:[["","headerRowOutlet",""]]})}return ot})(),et=(()=>{class ot{constructor(we,St){this.viewContainer=we,this.elementRef=St}static#e=this.\u0275fac=function(St){return new(St||ot)(e.Y36(e.s_b),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:ot,selectors:[["","footerRowOutlet",""]]})}return ot})(),ke=(()=>{class ot{constructor(we,St){this.viewContainer=we,this.elementRef=St}static#e=this.\u0275fac=function(St){return new(St||ot)(e.Y36(e.s_b),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:ot,selectors:[["","noDataRowOutlet",""]]})}return ot})(),Et=(()=>{class ot{get trackBy(){return this._trackByFn}set trackBy(we){this._trackByFn=we}get dataSource(){return this._dataSource}set dataSource(we){this._dataSource!==we&&this._switchDataSource(we)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(we){this._multiTemplateDataRows=we,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(we){this._fixedLayout=we,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(we,St,zt,Dt,Lt,Bt,ai,vi,bi,ki,Bi,Vi){this._differs=we,this._changeDetectorRef=St,this._elementRef=zt,this._dir=Lt,this._platform=ai,this._viewRepeater=vi,this._coalescedStyleScheduler=bi,this._viewportRuler=ki,this._stickyPositioningListener=Bi,this._ngZone=Vi,this._onDestroy=new m.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 d.X({start:0,end:Number.MAX_VALUE}),Dt||this._elementRef.nativeElement.setAttribute("role","table"),this._document=Bt,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((we,St)=>this.trackBy?this.trackBy(St.dataIndex,St.data):St),this._viewportRuler.change().pipe((0,I.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const St=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||St,this._forceRecalculateCellWidths=St,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(we=>{we.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,y.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const we=this._dataDiffer.diff(this._renderRows);if(!we)return this._updateNoDataRow(),void this.contentChanged.next();const St=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(we,St,(zt,Dt,Lt)=>this._getEmbeddedViewArgs(zt.item,Lt),zt=>zt.item.data,zt=>{1===zt.operation&&zt.context&&this._renderCellTemplateForItem(zt.record.item.rowDef,zt.context)}),this._updateRowIndexContext(),we.forEachIdentityChange(zt=>{St.get(zt.currentIndex).context.$implicit=zt.item.data}),this._updateNoDataRow(),this._ngZone&&e.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,k.q)(1),(0,I.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(we){this._customColumnDefs.add(we)}removeColumnDef(we){this._customColumnDefs.delete(we)}addRowDef(we){this._customRowDefs.add(we)}removeRowDef(we){this._customRowDefs.delete(we)}addHeaderRowDef(we){this._customHeaderRowDefs.add(we),this._headerRowDefChanged=!0}removeHeaderRowDef(we){this._customHeaderRowDefs.delete(we),this._headerRowDefChanged=!0}addFooterRowDef(we){this._customFooterRowDefs.add(we),this._footerRowDefChanged=!0}removeFooterRowDef(we){this._customFooterRowDefs.delete(we),this._footerRowDefChanged=!0}setNoDataRow(we){this._customNoDataRow=we}updateStickyHeaderRowStyles(){const we=this._getRenderedRows(this._headerRowOutlet),zt=this._elementRef.nativeElement.querySelector("thead");zt&&(zt.style.display=we.length?"":"none");const Dt=this._headerRowDefs.map(Lt=>Lt.sticky);this._stickyStyler.clearStickyPositioning(we,["top"]),this._stickyStyler.stickRows(we,Dt,"top"),this._headerRowDefs.forEach(Lt=>Lt.resetStickyChanged())}updateStickyFooterRowStyles(){const we=this._getRenderedRows(this._footerRowOutlet),zt=this._elementRef.nativeElement.querySelector("tfoot");zt&&(zt.style.display=we.length?"":"none");const Dt=this._footerRowDefs.map(Lt=>Lt.sticky);this._stickyStyler.clearStickyPositioning(we,["bottom"]),this._stickyStyler.stickRows(we,Dt,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,Dt),this._footerRowDefs.forEach(Lt=>Lt.resetStickyChanged())}updateStickyColumnStyles(){const we=this._getRenderedRows(this._headerRowOutlet),St=this._getRenderedRows(this._rowOutlet),zt=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...we,...St,...zt],["left","right"]),this._stickyColumnStylesNeedReset=!1),we.forEach((Dt,Lt)=>{this._addStickyColumnStyles([Dt],this._headerRowDefs[Lt])}),this._rowDefs.forEach(Dt=>{const Lt=[];for(let Bt=0;Bt<St.length;Bt++)this._renderRows[Bt].rowDef===Dt&&Lt.push(St[Bt]);this._addStickyColumnStyles(Lt,Dt)}),zt.forEach((Dt,Lt)=>{this._addStickyColumnStyles([Dt],this._footerRowDefs[Lt])}),Array.from(this._columnDefsByName.values()).forEach(Dt=>Dt.resetStickyChanged())}_getAllRenderRows(){const we=[],St=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let zt=0;zt<this._data.length;zt++){let Dt=this._data[zt];const Lt=this._getRenderRowsForData(Dt,zt,St.get(Dt));this._cachedRenderRowsMap.has(Dt)||this._cachedRenderRowsMap.set(Dt,new WeakMap);for(let Bt=0;Bt<Lt.length;Bt++){let ai=Lt[Bt];const vi=this._cachedRenderRowsMap.get(ai.data);vi.has(ai.rowDef)?vi.get(ai.rowDef).push(ai):vi.set(ai.rowDef,[ai]),we.push(ai)}}return we}_getRenderRowsForData(we,St,zt){return this._getRowDefs(we,St).map(Lt=>{const Bt=zt&&zt.has(Lt)?zt.get(Lt):[];if(Bt.length){const ai=Bt.shift();return ai.dataIndex=St,ai}return{data:we,rowDef:Lt,dataIndex:St}})}_cacheColumnDefs(){this._columnDefsByName.clear(),lt(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(St=>{this._columnDefsByName.has(St.name),this._columnDefsByName.set(St.name,St)})}_cacheRowDefs(){this._headerRowDefs=lt(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=lt(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=lt(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const we=this._rowDefs.filter(St=>!St.when);this._defaultRowDef=we[0]}_renderUpdatedColumns(){const we=(Lt,Bt)=>Lt||!!Bt.getColumnsDiff(),St=this._rowDefs.reduce(we,!1);St&&this._forceRenderDataRows();const zt=this._headerRowDefs.reduce(we,!1);zt&&this._forceRenderHeaderRows();const Dt=this._footerRowDefs.reduce(we,!1);return Dt&&this._forceRenderFooterRows(),St||zt||Dt}_switchDataSource(we){this._data=[],(0,y.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),we||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=we}_observeRenderChanges(){if(!this.dataSource)return;let we;(0,y.Z9)(this.dataSource)?we=this.dataSource.connect(this):(0,E.b)(this.dataSource)?we=this.dataSource:Array.isArray(this.dataSource)&&(we=(0,x.of)(this.dataSource)),this._renderChangeSubscription=we.pipe((0,I.R)(this._onDestroy)).subscribe(St=>{this._data=St||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((we,St)=>this._renderRow(this._headerRowOutlet,we,St)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((we,St)=>this._renderRow(this._footerRowOutlet,we,St)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(we,St){const zt=Array.from(St.columns||[]).map(Bt=>this._columnDefsByName.get(Bt)),Dt=zt.map(Bt=>Bt.sticky),Lt=zt.map(Bt=>Bt.stickyEnd);this._stickyStyler.updateStickyColumns(we,Dt,Lt,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(we){const St=[];for(let zt=0;zt<we.viewContainer.length;zt++){const Dt=we.viewContainer.get(zt);St.push(Dt.rootNodes[0])}return St}_getRowDefs(we,St){if(1==this._rowDefs.length)return[this._rowDefs[0]];let zt=[];if(this.multiTemplateDataRows)zt=this._rowDefs.filter(Dt=>!Dt.when||Dt.when(St,we));else{let Dt=this._rowDefs.find(Lt=>Lt.when&&Lt.when(St,we))||this._defaultRowDef;Dt&&zt.push(Dt)}return zt}_getEmbeddedViewArgs(we,St){return{templateRef:we.rowDef.template,context:{$implicit:we.data},index:St}}_renderRow(we,St,zt,Dt={}){const Lt=we.viewContainer.createEmbeddedView(St.template,Dt,zt);return this._renderCellTemplateForItem(St,Dt),Lt}_renderCellTemplateForItem(we,St){for(let zt of this._getCellTemplates(we))$e.mostRecentCellOutlet&&$e.mostRecentCellOutlet._viewContainer.createEmbeddedView(zt,St);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const we=this._rowOutlet.viewContainer;for(let St=0,zt=we.length;St<zt;St++){const Lt=we.get(St).context;Lt.count=zt,Lt.first=0===St,Lt.last=St===zt-1,Lt.even=St%2==0,Lt.odd=!Lt.even,this.multiTemplateDataRows?(Lt.dataIndex=this._renderRows[St].dataIndex,Lt.renderIndex=St):Lt.index=this._renderRows[St].dataIndex}}_getCellTemplates(we){return we&&we.columns?Array.from(we.columns,St=>{const zt=this._columnDefsByName.get(St);return we.extractCellTemplate(zt)}):[]}_applyNativeTableSections(){const we=this._document.createDocumentFragment(),St=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const zt of St){const Dt=this._document.createElement(zt.tag);Dt.setAttribute("role","rowgroup");for(const Lt of zt.outlets)Dt.appendChild(Lt.elementRef.nativeElement);we.appendChild(Dt)}this._elementRef.nativeElement.appendChild(we)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const we=(St,zt)=>St||zt.hasStickyChanged();this._headerRowDefs.reduce(we,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(we,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(we,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new ge(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,x.of)()).pipe((0,I.R)(this._onDestroy)).subscribe(St=>{this._stickyStyler.direction=St,this.updateStickyColumnStyles()})}_getOwnDefs(we){return we.filter(St=>!St._table||St._table===this)}_updateNoDataRow(){const we=this._customNoDataRow||this._noDataRow;if(!we)return;const St=0===this._rowOutlet.viewContainer.length;if(St===this._isShowingNoDataRow)return;const zt=this._noDataRowOutlet.viewContainer;if(St){const Dt=zt.createEmbeddedView(we.templateRef),Lt=Dt.rootNodes[0];1===Dt.rootNodes.length&&Lt?.nodeType===this._document.ELEMENT_NODE&&(Lt.setAttribute("role","row"),Lt.classList.add(we._contentClassName))}else zt.clear();this._isShowingNoDataRow=St,this._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(St){return new(St||ot)(e.Y36(e.ZZ4),e.Y36(e.sBO),e.Y36(e.SBq),e.$8M("role"),e.Y36(t.Is,8),e.Y36(M.K0),e.Y36(A.t4),e.Y36(y.k),e.Y36(D),e.Y36(l.rL),e.Y36(kt,12),e.Y36(e.R0b,8))};static#t=this.\u0275cmp=e.Xpm({type:ot,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(St,zt,Dt){if(1&St&&(e.Suo(Dt,Ce,5),e.Suo(Dt,S,5),e.Suo(Dt,je,5),e.Suo(Dt,N,5),e.Suo(Dt,st,5)),2&St){let Lt;e.iGM(Lt=e.CRH())&&(zt._noDataRow=Lt.first),e.iGM(Lt=e.CRH())&&(zt._contentColumnDefs=Lt),e.iGM(Lt=e.CRH())&&(zt._contentRowDefs=Lt),e.iGM(Lt=e.CRH())&&(zt._contentHeaderRowDefs=Lt),e.iGM(Lt=e.CRH())&&(zt._contentFooterRowDefs=Lt)}},viewQuery:function(St,zt){if(1&St&&(e.Gf(ze,7),e.Gf(nt,7),e.Gf(et,7),e.Gf(ke,7)),2&St){let Dt;e.iGM(Dt=e.CRH())&&(zt._rowOutlet=Dt.first),e.iGM(Dt=e.CRH())&&(zt._headerRowOutlet=Dt.first),e.iGM(Dt=e.CRH())&&(zt._footerRowOutlet=Dt.first),e.iGM(Dt=e.CRH())&&(zt._noDataRowOutlet=Dt.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(St,zt){2&St&&e.ekj("cdk-table-fixed-layout",zt.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:["multiTemplateDataRows","multiTemplateDataRows",e.VuI],fixedLayout:["fixedLayout","fixedLayout",e.VuI]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[e._Bn([{provide:ie,useExisting:ot},{provide:y.k,useClass:y.yy},{provide:D,useClass:P},{provide:kt,useValue:null}]),e.Xq5],ngContentSelectors:j,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(St,zt){1&St&&(e.F$t(G),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[ze,nt,et,ke],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return ot})();function lt(ot,si){return ot.concat(Array.from(si))}let Xt=(()=>{class ot{static#e=this.\u0275fac=function(St){return new(St||ot)};static#t=this.\u0275mod=e.oAB({type:ot});static#i=this.\u0275inj=e.cJS({imports:[l.Cl]})}return ot})();var J=p(3680),We=p(3019),Ft=p(2572),Ct=p(7398);const Pt=[[["caption"]],[["colgroup"],["col"]]],xt=["caption","colgroup, col"];let Ue=(()=>{class ot extends Et{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")}static#e=this.\u0275fac=(()=>{let we;return function(zt){return(we||(we=e.n5z(ot)))(zt||ot)}})();static#t=this.\u0275cmp=e.Xpm({type:ot,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(St,zt){2&St&&e.ekj("mdc-table-fixed-layout",zt.fixedLayout)},exportAs:["matTable"],features:[e._Bn([{provide:Et,useExisting:ot},{provide:ie,useExisting:ot},{provide:D,useClass:P},{provide:y.k,useClass:y.yy},{provide:kt,useValue:null}]),e.qOj],ngContentSelectors:xt,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(St,zt){1&St&&(e.F$t(Pt),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[ze,nt,et,ke],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2})}return ot})(),Je=(()=>{class ot extends ue{static#e=this.\u0275fac=(()=>{let we;return function(zt){return(we||(we=e.n5z(ot)))(zt||ot)}})();static#t=this.\u0275dir=e.lG2({type:ot,selectors:[["","matCellDef",""]],features:[e._Bn([{provide:ue,useExisting:ot}]),e.qOj]})}return ot})(),_t=(()=>{class ot extends re{static#e=this.\u0275fac=(()=>{let we;return function(zt){return(we||(we=e.n5z(ot)))(zt||ot)}})();static#t=this.\u0275dir=e.lG2({type:ot,selectors:[["","matHeaderCellDef",""]],features:[e._Bn([{provide:re,useExisting:ot}]),e.qOj]})}return ot})(),Le=(()=>{class ot extends xe{static#e=this.\u0275fac=(()=>{let we;return function(zt){return(we||(we=e.n5z(ot)))(zt||ot)}})();static#t=this.\u0275dir=e.lG2({type:ot,selectors:[["","matFooterCellDef",""]],features:[e._Bn([{provide:xe,useExisting:ot}]),e.qOj]})}return ot})(),be=(()=>{class ot extends S{get name(){return this._name}set name(we){this._setNameInput(we)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static#e=this.\u0275fac=(()=>{let we;return function(zt){return(we||(we=e.n5z(ot)))(zt||ot)}})();static#t=this.\u0275dir=e.lG2({type:ot,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[e._Bn([{provide:S,useExisting:ot},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:ot}]),e.qOj]})}return ot})(),ee=(()=>{class ot extends s{static#e=this.\u0275fac=(()=>{let we;return function(zt){return(we||(we=e.n5z(ot)))(zt||ot)}})();static#t=this.\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]})}return ot})(),ne=(()=>{class ot extends f{static#e=this.\u0275fac=(()=>{let we;return function(zt){return(we||(we=e.n5z(ot)))(zt||ot)}})();static#t=this.\u0275dir=e.lG2({type:ot,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],features:[e.qOj]})}return ot})(),Ie=(()=>{class ot extends h{static#e=this.\u0275fac=(()=>{let we;return function(zt){return(we||(we=e.n5z(ot)))(zt||ot)}})();static#t=this.\u0275dir=e.lG2({type:ot,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[e.qOj]})}return ot})(),At=(()=>{class ot extends N{static#e=this.\u0275fac=(()=>{let we;return function(zt){return(we||(we=e.n5z(ot)))(zt||ot)}})();static#t=this.\u0275dir=e.lG2({type:ot,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[e._Bn([{provide:N,useExisting:ot}]),e.qOj]})}return ot})(),Zt=(()=>{class ot extends st{static#e=this.\u0275fac=(()=>{let we;return function(zt){return(we||(we=e.n5z(ot)))(zt||ot)}})();static#t=this.\u0275dir=e.lG2({type:ot,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[e._Bn([{provide:st,useExisting:ot}]),e.qOj]})}return ot})(),pi=(()=>{class ot extends je{static#e=this.\u0275fac=(()=>{let we;return function(zt){return(we||(we=e.n5z(ot)))(zt||ot)}})();static#t=this.\u0275dir=e.lG2({type:ot,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[e._Bn([{provide:je,useExisting:ot}]),e.qOj]})}return ot})(),Jt=(()=>{class ot extends ye{static#e=this.\u0275fac=(()=>{let we;return function(zt){return(we||(we=e.n5z(ot)))(zt||ot)}})();static#t=this.\u0275cmp=e.Xpm({type:ot,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:ye,useExisting:ot}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(St,zt){1&St&&e.GkF(0,0)},dependencies:[$e],encapsulation:2})}return ot})(),qt=(()=>{class ot extends fe{static#e=this.\u0275fac=(()=>{let we;return function(zt){return(we||(we=e.n5z(ot)))(zt||ot)}})();static#t=this.\u0275cmp=e.Xpm({type:ot,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:fe,useExisting:ot}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(St,zt){1&St&&e.GkF(0,0)},dependencies:[$e],encapsulation:2})}return ot})(),Hi=(()=>{class ot extends de{static#e=this.\u0275fac=(()=>{let we;return function(zt){return(we||(we=e.n5z(ot)))(zt||ot)}})();static#t=this.\u0275cmp=e.Xpm({type:ot,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[e._Bn([{provide:de,useExisting:ot}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(St,zt){1&St&&e.GkF(0,0)},dependencies:[$e],encapsulation:2})}return ot})(),Qi=(()=>{class ot{static#e=this.\u0275fac=function(St){return new(St||ot)};static#t=this.\u0275mod=e.oAB({type:ot});static#i=this.\u0275inj=e.cJS({imports:[J.BQ,Xt,J.BQ]})}return ot})();class sn extends y.o2{get data(){return this._data.value}set data(si){si=Array.isArray(si)?si:[],this._data.next(si),this._renderChangesSubscription||this._filterData(si)}get filter(){return this._filter.value}set filter(si){this._filter.next(si),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(si){this._sort=si,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(si){this._paginator=si,this._updateChangeSubscription()}constructor(si=[]){super(),this._renderData=new d.X([]),this._filter=new d.X(""),this._internalPageChanges=new m.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(we,St)=>{const zt=we[St];if((0,V.t6)(zt)){const Dt=Number(zt);return Dt<9007199254740991?Dt:zt}return zt},this.sortData=(we,St)=>{const zt=St.active,Dt=St.direction;return zt&&""!=Dt?we.sort((Lt,Bt)=>{let ai=this.sortingDataAccessor(Lt,zt),vi=this.sortingDataAccessor(Bt,zt);const bi=typeof ai,ki=typeof vi;bi!==ki&&("number"===bi&&(ai+=""),"number"===ki&&(vi+=""));let Bi=0;return null!=ai&&null!=vi?ai>vi?Bi=1:ai<vi&&(Bi=-1):null!=ai?Bi=1:null!=vi&&(Bi=-1),Bi*("asc"==Dt?1:-1)}):we},this.filterPredicate=(we,St)=>{const zt=Object.keys(we).reduce((Lt,Bt)=>Lt+we[Bt]+"\u25ec","").toLowerCase(),Dt=St.trim().toLowerCase();return-1!=zt.indexOf(Dt)},this._data=new d.X(si),this._updateChangeSubscription()}_updateChangeSubscription(){const si=this._sort?(0,We.T)(this._sort.sortChange,this._sort.initialized):(0,x.of)(null),we=this._paginator?(0,We.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,x.of)(null),zt=(0,Ft.a)([this._data,this._filter]).pipe((0,Ct.U)(([Bt])=>this._filterData(Bt))),Dt=(0,Ft.a)([zt,si]).pipe((0,Ct.U)(([Bt])=>this._orderData(Bt))),Lt=(0,Ft.a)([Dt,we]).pipe((0,Ct.U)(([Bt])=>this._pageData(Bt)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=Lt.subscribe(Bt=>this._renderData.next(Bt))}_filterData(si){return this.filteredData=null==this.filter||""===this.filter?si:si.filter(we=>this.filterPredicate(we,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(si){return this.sort?this.sortData(si.slice(),this.sort):si}_pageData(si){if(!this.paginator)return si;const we=this.paginator.pageIndex*this.paginator.pageSize;return si.slice(we,we+this.paginator.pageSize)}_updatePaginator(si){Promise.resolve().then(()=>{const we=this.paginator;if(we&&(we.length=si,we.pageIndex>0)){const St=Math.ceil(we.length/we.pageSize)-1||0,zt=Math.min(we.pageIndex,St);zt!==we.pageIndex&&(we.pageIndex=zt,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}},4104:(He,X,p)=>{"use strict";p.d(X,{BU:()=>rt,Nh:()=>Je,Nj:()=>it,SP:()=>Ct,sW:()=>Ue,uD:()=>Ge,uX:()=>Qe});var e=p(6814),t=p(9212),y=p(3680),A=p(8484),l=p(7131),M=p(4300),m=p(9388),O=p(7394),d=p(8645),E=p(2438),x=p(2096),I=p(3019),k=p(6232),V=p(5592),G=p(9080),j=p(5619),W=p(7921),K=p(3997),q=p(9773),ie=p(8180),ae=p(4664),ue=p(836),re=p(2181),xe=p(6825),$=p(2495),he=p(5407),S=p(2831),n=p(6028);function s(_t,Le){}const f=_t=>({animationDuration:_t}),h=(_t,Le)=>({value:_t,params:Le});function w(_t,Le){1&_t&&t.Hsn(0)}const D=["*"],P=["tabListContainer"],v=["tabList"],r=["tabListInner"],g=["nextPaginator"],H=["previousPaginator"],N=["tabBodyWrapper"],te=["tabHeader"];function De(_t,Le){}function st(_t,Le){if(1&_t&&t.YNc(0,De,0,0,"ng-template",10),2&_t){const be=t.oxw().$implicit;t.Q6J("cdkPortalOutlet",be.templateLabel)}}function je(_t,Le){if(1&_t&&t._uU(0),2&_t){const be=t.oxw().$implicit;t.Oqu(be.textLabel)}}function $e(_t,Le){if(1&_t){const be=t.EpF();t.TgZ(0,"div",4,5),t.NdJ("click",function(){const ne=t.CHM(be),Ie=ne.$implicit,Ht=ne.$index,At=t.oxw(),Zt=t.MAs(1);return t.KtG(At._handleClick(Ie,Zt,Ht))})("cdkFocusChange",function(ne){const Ht=t.CHM(be).$index,At=t.oxw();return t.KtG(At._tabFocusChanged(ne,Ht))}),t._UZ(2,"span",6)(3,"div",7),t.TgZ(4,"span",8)(5,"span",9),t.YNc(6,st,1,1,null,10)(7,je,1,1),t.qZA()()()}if(2&_t){const be=Le.$implicit,ee=Le.$index,ne=t.MAs(1),Ie=t.oxw();t.ekj("mdc-tab--active",Ie.selectedIndex===ee),t.Q6J("id",Ie._getTabLabelId(ee))("ngClass",be.labelClass)("disabled",be.disabled)("fitInkBarToContent",Ie.fitInkBarToContent),t.uIk("tabIndex",Ie._getTabIndex(ee))("aria-posinset",ee+1)("aria-setsize",Ie._tabs.length)("aria-controls",Ie._getTabContentId(ee))("aria-selected",Ie.selectedIndex===ee)("aria-label",be.ariaLabel||null)("aria-labelledby",!be.ariaLabel&&be.ariaLabelledby?be.ariaLabelledby:null),t.xp6(3),t.Q6J("matRippleTrigger",ne)("matRippleDisabled",be.disabled||Ie.disableRipple),t.xp6(3),t.um2(6,be.templateLabel?6:7)}}function ye(_t,Le){if(1&_t){const be=t.EpF();t.TgZ(0,"mat-tab-body",11),t.NdJ("_onCentered",function(){t.CHM(be);const ne=t.oxw();return t.KtG(ne._removeTabBodyWrapperHeight())})("_onCentering",function(ne){t.CHM(be);const Ie=t.oxw();return t.KtG(Ie._setTabBodyWrapperHeight(ne))}),t.qZA()}if(2&_t){const be=Le.$implicit,ee=Le.$index,ne=t.oxw();t.ekj("mat-mdc-tab-body-active",ne.selectedIndex===ee),t.Q6J("id",ne._getTabContentId(ee))("ngClass",be.bodyClass)("content",be.content)("position",be.position)("origin",be.origin)("animationDuration",ne.animationDuration)("preserveContent",ne.preserveContent),t.uIk("tabindex",null!=ne.contentTabIndex&&ne.selectedIndex===ee?ne.contentTabIndex:null)("aria-labelledby",ne._getTabLabelId(ee))("aria-hidden",ne.selectedIndex!==ee)}}const fe=["mat-tab-nav-bar",""],de=["mat-tab-link",""],Ce={translateTab:(0,xe.X$)("translateTab",[(0,xe.SB)("center, void, left-origin-center, right-origin-center",(0,xe.oB)({transform:"none"})),(0,xe.SB)("left",(0,xe.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,xe.SB)("right",(0,xe.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,xe.eR)("* => left, * => right, left => center, right => center",(0,xe.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,xe.eR)("void => left-origin-center",[(0,xe.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,xe.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,xe.eR)("void => right-origin-center",[(0,xe.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,xe.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let le=(()=>{class _t extends A.Pl{constructor(be,ee,ne,Ie){super(be,ee,Ie),this._host=ne,this._centeringSub=O.w0.EMPTY,this._leavingSub=O.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,W.O)(this._host._isCenterPosition(this._host._position))).subscribe(be=>{be&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static#e=this.\u0275fac=function(ee){return new(ee||_t)(t.Y36(t._Vd),t.Y36(t.s_b),t.Y36((0,t.Gpc)(()=>ge)),t.Y36(e.K0))};static#t=this.\u0275dir=t.lG2({type:_t,selectors:[["","matTabBodyHost",""]],features:[t.qOj]})}return _t})(),ge=(()=>{class _t{set position(be){this._positionIndex=be,this._computePositionAnimationState()}constructor(be,ee,ne){this._elementRef=be,this._dir=ee,this._dirChangeSubscription=O.w0.EMPTY,this._translateTabComplete=new d.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,ee&&(this._dirChangeSubscription=ee.change.subscribe(Ie=>{this._computePositionAnimationState(Ie),ne.markForCheck()})),this._translateTabComplete.pipe((0,K.x)((Ie,Ht)=>Ie.fromState===Ht.fromState&&Ie.toState===Ht.toState)).subscribe(Ie=>{this._isCenterPosition(Ie.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(Ie.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(be){const ee=this._isCenterPosition(be.toState);this._beforeCentering.emit(ee),ee&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(be){return"center"==be||"left-origin-center"==be||"right-origin-center"==be}_computePositionAnimationState(be=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==be?"left":"right":this._positionIndex>0?"ltr"==be?"right":"left":"center"}_computePositionFromOrigin(be){const ee=this._getLayoutDirection();return"ltr"==ee&&be<=0||"rtl"==ee&&be>0?"left-origin-center":"right-origin-center"}static#e=this.\u0275fac=function(ee){return new(ee||_t)(t.Y36(t.SBq),t.Y36(m.Is,8),t.Y36(t.sBO))};static#t=this.\u0275cmp=t.Xpm({type:_t,selectors:[["mat-tab-body"]],viewQuery:function(ee,ne){if(1&ee&&t.Gf(A.Pl,5),2&ee){let Ie;t.iGM(Ie=t.CRH())&&(ne._portalHost=Ie.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(ee,ne){1&ee&&(t.TgZ(0,"div",0,1),t.NdJ("@translateTab.start",function(Ht){return ne._onTranslateTabStarted(Ht)})("@translateTab.done",function(Ht){return ne._translateTabComplete.next(Ht)}),t.YNc(2,s,0,0,"ng-template",2),t.qZA()),2&ee&&t.Q6J("@translateTab",t.WLB(3,h,ne._position,t.VKq(1,f,ne.animationDuration)))},dependencies:[le],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:[Ce.translateTab]}})}return _t})();const qe=new t.OlP("MatTabContent");let oe=(()=>{class _t{constructor(be){this.template=be}static#e=this.\u0275fac=function(ee){return new(ee||_t)(t.Y36(t.Rgc))};static#t=this.\u0275dir=t.lG2({type:_t,selectors:[["","matTabContent",""]],features:[t._Bn([{provide:qe,useExisting:_t}])]})}return _t})();const ve=new t.OlP("MatTabLabel"),ce=new t.OlP("MAT_TAB");let Ge=(()=>{class _t extends A.ig{constructor(be,ee,ne){super(be,ee),this._closestTab=ne}static#e=this.\u0275fac=function(ee){return new(ee||_t)(t.Y36(t.Rgc),t.Y36(t.s_b),t.Y36(ce,8))};static#t=this.\u0275dir=t.lG2({type:_t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[t._Bn([{provide:ve,useExisting:_t}]),t.qOj]})}return _t})();const Ze="mdc-tab-indicator--active",wt="mdc-tab-indicator--no-transition";class mt{constructor(Le){this._items=Le}hide(){this._items.forEach(Le=>Le.deactivateInkBar())}alignToElement(Le){const be=this._items.find(ne=>ne.elementRef.nativeElement===Le),ee=this._currentItem;if(be!==ee&&(ee?.deactivateInkBar(),be)){const ne=ee?.elementRef.nativeElement.getBoundingClientRect?.();be.activateInkBar(ne),this._currentItem=be}}}function kt(_t){return class extends _t{constructor(...Le){super(...Le),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(Le){const be=(0,$.Ig)(Le);this._fitToContent!==be&&(this._fitToContent=be,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(Le){const be=this.elementRef.nativeElement;if(!Le||!be.getBoundingClientRect||!this._inkBarContentElement)return void be.classList.add(Ze);const ee=be.getBoundingClientRect(),ne=Le.width/ee.width,Ie=Le.left-ee.left;be.classList.add(wt),this._inkBarContentElement.style.setProperty("transform",`translateX(${Ie}px) scaleX(${ne})`),be.getBoundingClientRect(),be.classList.remove(wt),be.classList.add(Ze),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(Ze)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const Le=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=Le.createElement("span"),this._inkBarContentElement=Le.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}const nt=kt((0,y.Id)(class{}));let et=(()=>{class _t extends nt{constructor(be){super(),this.elementRef=be}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static#e=this.\u0275fac=function(ee){return new(ee||_t)(t.Y36(t.SBq))};static#t=this.\u0275dir=t.lG2({type:_t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(ee,ne){2&ee&&(t.uIk("aria-disabled",!!ne.disabled),t.ekj("mat-mdc-tab-disabled",ne.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[t.qOj]})}return _t})();const ke=(0,y.Id)(class{}),ct=new t.OlP("MAT_TAB_GROUP");let Qe=(()=>{class _t extends ke{get templateLabel(){return this._templateLabel}set templateLabel(be){this._setTemplateLabelInput(be)}get content(){return this._contentPortal}constructor(be,ee){super(),this._viewContainerRef=be,this._closestTabGroup=ee,this._explicitContent=void 0,this.textLabel="",this._contentPortal=null,this._stateChanges=new d.x,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(be){(be.hasOwnProperty("textLabel")||be.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new A.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(be){be&&be._closestTab===this&&(this._templateLabel=be)}static#e=this.\u0275fac=function(ee){return new(ee||_t)(t.Y36(t.s_b),t.Y36(ct,8))};static#t=this.\u0275cmp=t.Xpm({type:_t,selectors:[["mat-tab"]],contentQueries:function(ee,ne,Ie){if(1&ee&&(t.Suo(Ie,Ge,5),t.Suo(Ie,oe,7,t.Rgc)),2&ee){let Ht;t.iGM(Ht=t.CRH())&&(ne.templateLabel=Ht.first),t.iGM(Ht=t.CRH())&&(ne._explicitContent=Ht.first)}},viewQuery:function(ee,ne){if(1&ee&&t.Gf(t.Rgc,7),2&ee){let Ie;t.iGM(Ie=t.CRH())&&(ne._implicitContent=Ie.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[t._Bn([{provide:ce,useExisting:_t}]),t.qOj,t.TTD],ngContentSelectors:D,decls:1,vars:0,template:function(ee,ne){1&ee&&(t.F$t(),t.YNc(0,w,1,0,"ng-template"))},encapsulation:2})}return _t})();const Et=(0,S.i$)({passive:!0});let Be=(()=>{class _t{get disablePagination(){return this._disablePagination}set disablePagination(be){this._disablePagination=(0,$.Ig)(be)}get selectedIndex(){return this._selectedIndex}set selectedIndex(be){be=(0,$.su)(be),this._selectedIndex!=be&&(this._selectedIndexChanged=!0,this._selectedIndex=be,this._keyManager&&this._keyManager.updateActiveItem(be))}constructor(be,ee,ne,Ie,Ht,At,Zt){this._elementRef=be,this._changeDetectorRef=ee,this._viewportRuler=ne,this._dir=Ie,this._ngZone=Ht,this._platform=At,this._animationMode=Zt,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new d.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new d.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new t.vpe,this.indexFocused=new t.vpe,Ht.runOutsideAngular(()=>{(0,E.R)(be.nativeElement,"mouseleave").pipe((0,q.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,E.R)(this._previousPaginator.nativeElement,"touchstart",Et).pipe((0,q.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,E.R)(this._nextPaginator.nativeElement,"touchstart",Et).pipe((0,q.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const be=this._dir?this._dir.change:(0,x.of)("ltr"),ee=this._viewportRuler.change(150),ne=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new M.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,ie.q)(1)).subscribe(ne),(0,I.T)(be,ee,this._items.changes,this._itemsResized()).pipe((0,q.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),ne()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(Ie=>{this.indexFocused.emit(Ie),this._setTabFocus(Ie)})}_itemsResized(){return"function"!=typeof ResizeObserver?k.E:this._items.changes.pipe((0,W.O)(this._items),(0,ae.w)(be=>new V.y(ee=>this._ngZone.runOutsideAngular(()=>{const ne=new ResizeObserver(Ie=>ee.next(Ie));return be.forEach(Ie=>ne.observe(Ie.elementRef.nativeElement)),()=>{ne.disconnect()}}))),(0,ue.T)(1),(0,re.h)(be=>be.some(ee=>ee.contentRect.width>0&&ee.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(be){if(!(0,n.Vb)(be))switch(be.keyCode){case n.K5:case n.L_:if(this.focusIndex!==this.selectedIndex){const ee=this._items.get(this.focusIndex);ee&&!ee.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(be))}break;default:this._keyManager.onKeydown(be)}}_onContentChanges(){const be=this._elementRef.nativeElement.textContent;be!==this._currentTextContent&&(this._currentTextContent=be||"",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(be){!this._isValidIndex(be)||this.focusIndex===be||!this._keyManager||this._keyManager.setActiveItem(be)}_isValidIndex(be){return!this._items||!!this._items.toArray()[be]}_setTabFocus(be){if(this._showPaginationControls&&this._scrollToLabel(be),this._items&&this._items.length){this._items.toArray()[be].focus();const ee=this._tabListContainer.nativeElement;ee.scrollLeft="ltr"==this._getLayoutDirection()?0:ee.scrollWidth-ee.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const be=this.scrollDistance,ee="ltr"===this._getLayoutDirection()?-be:be;this._tabList.nativeElement.style.transform=`translateX(${Math.round(ee)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(be){this._scrollTo(be)}_scrollHeader(be){return this._scrollTo(this._scrollDistance+("before"==be?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(be){this._stopInterval(),this._scrollHeader(be)}_scrollToLabel(be){if(this.disablePagination)return;const ee=this._items?this._items.toArray()[be]:null;if(!ee)return;const ne=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:Ie,offsetWidth:Ht}=ee.elementRef.nativeElement;let At,Zt;"ltr"==this._getLayoutDirection()?(At=Ie,Zt=At+Ht):(Zt=this._tabListInner.nativeElement.offsetWidth-Ie,At=Zt-Ht);const pi=this.scrollDistance,Jt=this.scrollDistance+ne;At<pi?this.scrollDistance-=pi-At:Zt>Jt&&(this.scrollDistance+=Math.min(Zt-Jt,At-pi))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const be=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;be||(this.scrollDistance=0),be!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=be}}_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 be=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,ee=be?be.elementRef.nativeElement:null;ee?this._inkBar.alignToElement(ee):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(be,ee){ee&&null!=ee.button&&0!==ee.button||(this._stopInterval(),(0,G.H)(650,100).pipe((0,q.R)((0,I.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:ne,distance:Ie}=this._scrollHeader(be);(0===Ie||Ie>=ne)&&this._stopInterval()}))}_scrollTo(be){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const ee=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(ee,be)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:ee,distance:this._scrollDistance}}static#e=this.\u0275fac=function(ee){return new(ee||_t)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(he.rL),t.Y36(m.Is,8),t.Y36(t.R0b),t.Y36(S.t4),t.Y36(t.QbO,8))};static#t=this.\u0275dir=t.lG2({type:_t,inputs:{disablePagination:"disablePagination"}})}return _t})(),Xt=(()=>{class _t extends Be{get disableRipple(){return this._disableRipple}set disableRipple(be){this._disableRipple=(0,$.Ig)(be)}constructor(be,ee,ne,Ie,Ht,At,Zt){super(be,ee,ne,Ie,Ht,At,Zt),this._disableRipple=!1}ngAfterContentInit(){this._inkBar=new mt(this._items),super.ngAfterContentInit()}_itemSelected(be){be.preventDefault()}static#e=this.\u0275fac=function(ee){return new(ee||_t)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(he.rL),t.Y36(m.Is,8),t.Y36(t.R0b),t.Y36(S.t4),t.Y36(t.QbO,8))};static#t=this.\u0275cmp=t.Xpm({type:_t,selectors:[["mat-tab-header"]],contentQueries:function(ee,ne,Ie){if(1&ee&&t.Suo(Ie,et,4),2&ee){let Ht;t.iGM(Ht=t.CRH())&&(ne._items=Ht)}},viewQuery:function(ee,ne){if(1&ee&&(t.Gf(P,7),t.Gf(v,7),t.Gf(r,7),t.Gf(g,5),t.Gf(H,5)),2&ee){let Ie;t.iGM(Ie=t.CRH())&&(ne._tabListContainer=Ie.first),t.iGM(Ie=t.CRH())&&(ne._tabList=Ie.first),t.iGM(Ie=t.CRH())&&(ne._tabListInner=Ie.first),t.iGM(Ie=t.CRH())&&(ne._nextPaginator=Ie.first),t.iGM(Ie=t.CRH())&&(ne._previousPaginator=Ie.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(ee,ne){2&ee&&t.ekj("mat-mdc-tab-header-pagination-controls-enabled",ne._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==ne._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[t.qOj],ngContentSelectors:D,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(ee,ne){1&ee&&(t.F$t(),t.TgZ(0,"button",0,1),t.NdJ("click",function(){return ne._handlePaginatorClick("before")})("mousedown",function(Ht){return ne._handlePaginatorPress("before",Ht)})("touchend",function(){return ne._stopInterval()}),t._UZ(2,"div",2),t.qZA(),t.TgZ(3,"div",3,4),t.NdJ("keydown",function(Ht){return ne._handleKeydown(Ht)}),t.TgZ(5,"div",5,6),t.NdJ("cdkObserveContent",function(){return ne._onContentChanges()}),t.TgZ(7,"div",7,8),t.Hsn(9),t.qZA()()(),t.TgZ(10,"button",9,10),t.NdJ("mousedown",function(Ht){return ne._handlePaginatorPress("after",Ht)})("click",function(){return ne._handlePaginatorClick("after")})("touchend",function(){return ne._stopInterval()}),t._UZ(12,"div",2),t.qZA()),2&ee&&(t.ekj("mat-mdc-tab-header-pagination-disabled",ne._disableScrollBefore),t.Q6J("matRippleDisabled",ne._disableScrollBefore||ne.disableRipple)("disabled",ne._disableScrollBefore||null),t.xp6(3),t.ekj("_mat-animation-noopable","NoopAnimations"===ne._animationMode),t.xp6(7),t.ekj("mat-mdc-tab-header-pagination-disabled",ne._disableScrollAfter),t.Q6J("matRippleDisabled",ne._disableScrollAfter||ne.disableRipple)("disabled",ne._disableScrollAfter||null))},dependencies:[y.wG,l.wD],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2})}return _t})();const J=new t.OlP("MAT_TABS_CONFIG");let We=0;const Ft=(0,y.pj)((0,y.Kr)(class{constructor(_t){this._elementRef=_t}}),"primary");let Ct=(()=>{class _t extends Ft{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(be){this._fitInkBarToContent=(0,$.Ig)(be),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(be){this._stretchTabs=(0,$.Ig)(be)}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(be){this._dynamicHeight=(0,$.Ig)(be)}get selectedIndex(){return this._selectedIndex}set selectedIndex(be){this._indexToSelect=(0,$.su)(be,null)}get animationDuration(){return this._animationDuration}set animationDuration(be){this._animationDuration=/^\d+$/.test(be+"")?be+"ms":be}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(be){this._contentTabIndex=(0,$.su)(be,null)}get disablePagination(){return this._disablePagination}set disablePagination(be){this._disablePagination=(0,$.Ig)(be)}get preserveContent(){return this._preserveContent}set preserveContent(be){this._preserveContent=(0,$.Ig)(be)}get backgroundColor(){return this._backgroundColor}set backgroundColor(be){const ee=this._elementRef.nativeElement.classList;ee.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),be&&ee.add("mat-tabs-with-background",`mat-background-${be}`),this._backgroundColor=be}constructor(be,ee,ne,Ie){super(be),this._changeDetectorRef=ee,this._animationMode=Ie,this._tabs=new t.n_E,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=O.w0.EMPTY,this._tabLabelSubscription=O.w0.EMPTY,this._fitInkBarToContent=!1,this._stretchTabs=!0,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=We++,this.animationDuration=ne&&ne.animationDuration?ne.animationDuration:"500ms",this.disablePagination=!(!ne||null==ne.disablePagination)&&ne.disablePagination,this.dynamicHeight=!(!ne||null==ne.dynamicHeight)&&ne.dynamicHeight,this.contentTabIndex=ne?.contentTabIndex??null,this.preserveContent=!!ne?.preserveContent,this.fitInkBarToContent=!(!ne||null==ne.fitInkBarToContent)&&ne.fitInkBarToContent,this.stretchTabs=!ne||null==ne.stretchTabs||ne.stretchTabs}ngAfterContentChecked(){const be=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=be){const ee=null==this._selectedIndex;if(!ee){this.selectedTabChange.emit(this._createChangeEvent(be));const ne=this._tabBodyWrapper.nativeElement;ne.style.minHeight=ne.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((ne,Ie)=>ne.isActive=Ie===be),ee||(this.selectedIndexChange.emit(be),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((ee,ne)=>{ee.position=ne-be,null!=this._selectedIndex&&0==ee.position&&!ee.origin&&(ee.origin=be-this._selectedIndex)}),this._selectedIndex!==be&&(this._selectedIndex=be,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const be=this._clampTabIndex(this._indexToSelect);if(be===this._selectedIndex){const ee=this._tabs.toArray();let ne;for(let Ie=0;Ie<ee.length;Ie++)if(ee[Ie].isActive){this._indexToSelect=this._selectedIndex=Ie,this._lastFocusedTabIndex=null,ne=ee[Ie];break}!ne&&ee[be]&&Promise.resolve().then(()=>{ee[be].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(be))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,W.O)(this._allTabs)).subscribe(be=>{this._tabs.reset(be.filter(ee=>ee._closestTabGroup===this||!ee._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(be){const ee=this._tabHeader;ee&&(ee.focusIndex=be)}_focusChanged(be){this._lastFocusedTabIndex=be,this.focusChange.emit(this._createChangeEvent(be))}_createChangeEvent(be){const ee=new Pt;return ee.index=be,this._tabs&&this._tabs.length&&(ee.tab=this._tabs.toArray()[be]),ee}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,I.T)(...this._tabs.map(be=>be._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(be){return Math.min(this._tabs.length-1,Math.max(be||0,0))}_getTabLabelId(be){return`mat-tab-label-${this._groupId}-${be}`}_getTabContentId(be){return`mat-tab-content-${this._groupId}-${be}`}_setTabBodyWrapperHeight(be){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const ee=this._tabBodyWrapper.nativeElement;ee.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(ee.style.height=be+"px")}_removeTabBodyWrapperHeight(){const be=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=be.clientHeight,be.style.height="",this.animationDone.emit()}_handleClick(be,ee,ne){ee.focusIndex=ne,be.disabled||(this.selectedIndex=ne)}_getTabIndex(be){return be===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(be,ee){be&&"mouse"!==be&&"touch"!==be&&(this._tabHeader.focusIndex=ee)}static#e=this.\u0275fac=function(ee){return new(ee||_t)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(J,8),t.Y36(t.QbO,8))};static#t=this.\u0275cmp=t.Xpm({type:_t,selectors:[["mat-tab-group"]],contentQueries:function(ee,ne,Ie){if(1&ee&&t.Suo(Ie,Qe,5),2&ee){let Ht;t.iGM(Ht=t.CRH())&&(ne._allTabs=Ht)}},viewQuery:function(ee,ne){if(1&ee&&(t.Gf(N,5),t.Gf(te,5)),2&ee){let Ie;t.iGM(Ie=t.CRH())&&(ne._tabBodyWrapper=Ie.first),t.iGM(Ie=t.CRH())&&(ne._tabHeader=Ie.first)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-tab-group"],hostVars:8,hostBindings:function(ee,ne){2&ee&&(t.Udp("--mat-tab-animation-duration",ne.animationDuration),t.ekj("mat-mdc-tab-group-dynamic-height",ne.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===ne.headerPosition)("mat-mdc-tab-group-stretch-tabs",ne.stretchTabs))},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"],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"},exportAs:["matTabGroup"],features:[t._Bn([{provide:ct,useExisting:_t}]),t.qOj],decls:8,vars:5,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["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,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent"]],template:function(ee,ne){1&ee&&(t.TgZ(0,"mat-tab-header",0,1),t.NdJ("indexFocused",function(Ht){return ne._focusChanged(Ht)})("selectFocusedIndex",function(Ht){return ne.selectedIndex=Ht}),t.SjG(2,$e,8,16,"div",12,t.x6l),t.qZA(),t.TgZ(4,"div",2,3),t.SjG(6,ye,1,12,"mat-tab-body",13,t.x6l),t.qZA()),2&ee&&(t.Q6J("selectedIndex",ne.selectedIndex||0)("disableRipple",ne.disableRipple)("disablePagination",ne.disablePagination),t.xp6(2),t.wJu(ne._tabs),t.xp6(2),t.ekj("_mat-animation-noopable","NoopAnimations"===ne._animationMode),t.xp6(2),t.wJu(ne._tabs))},dependencies:[e.mk,A.Pl,y.wG,M.kH,ge,et,Xt],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}return _t})();class Pt{}let xt=0,rt=(()=>{class _t extends Be{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(be){this._fitInkBarToContent.next((0,$.Ig)(be)),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(be){this._stretchTabs=(0,$.Ig)(be)}get animationDuration(){return this._animationDuration}set animationDuration(be){this._animationDuration=/^\d+$/.test(be+"")?be+"ms":be}get backgroundColor(){return this._backgroundColor}set backgroundColor(be){const ee=this._elementRef.nativeElement.classList;ee.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),be&&ee.add("mat-tabs-with-background",`mat-background-${be}`),this._backgroundColor=be}get disableRipple(){return this._disableRipple}set disableRipple(be){this._disableRipple=(0,$.Ig)(be)}constructor(be,ee,ne,Ie,Ht,At,Zt,pi){super(be,Ie,Ht,ee,ne,At,Zt),this._fitInkBarToContent=new j.X(!1),this._stretchTabs=!0,this._disableRipple=!1,this.color="primary",this.disablePagination=!(!pi||null==pi.disablePagination)&&pi.disablePagination,this.fitInkBarToContent=!(!pi||null==pi.fitInkBarToContent)&&pi.fitInkBarToContent,this.stretchTabs=!pi||null==pi.stretchTabs||pi.stretchTabs}_itemSelected(){}ngAfterContentInit(){this._inkBar=new mt(this._items),this._items.changes.pipe((0,W.O)(null),(0,q.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}ngAfterViewInit(){super.ngAfterViewInit()}updateActiveLink(){if(!this._items)return;const be=this._items.toArray();for(let ee=0;ee<be.length;ee++)if(be[ee].active)return this.selectedIndex=ee,this._changeDetectorRef.markForCheck(),void(this.tabPanel&&(this.tabPanel._activeTabId=be[ee].id));this.selectedIndex=-1,this._inkBar.hide()}_getRole(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")}static#e=this.\u0275fac=function(ee){return new(ee||_t)(t.Y36(t.SBq),t.Y36(m.Is,8),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(he.rL),t.Y36(S.t4),t.Y36(t.QbO,8),t.Y36(J,8))};static#t=this.\u0275cmp=t.Xpm({type:_t,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(ee,ne,Ie){if(1&ee&&t.Suo(Ie,it,5),2&ee){let Ht;t.iGM(Ht=t.CRH())&&(ne._items=Ht)}},viewQuery:function(ee,ne){if(1&ee&&(t.Gf(P,7),t.Gf(v,7),t.Gf(r,7),t.Gf(g,5),t.Gf(H,5)),2&ee){let Ie;t.iGM(Ie=t.CRH())&&(ne._tabListContainer=Ie.first),t.iGM(Ie=t.CRH())&&(ne._tabList=Ie.first),t.iGM(Ie=t.CRH())&&(ne._tabListInner=Ie.first),t.iGM(Ie=t.CRH())&&(ne._nextPaginator=Ie.first),t.iGM(Ie=t.CRH())&&(ne._previousPaginator=Ie.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:17,hostBindings:function(ee,ne){2&ee&&(t.uIk("role",ne._getRole()),t.Udp("--mat-tab-animation-duration",ne.animationDuration),t.ekj("mat-mdc-tab-header-pagination-controls-enabled",ne._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==ne._getLayoutDirection())("mat-mdc-tab-nav-bar-stretch-tabs",ne.stretchTabs)("mat-primary","warn"!==ne.color&&"accent"!==ne.color)("mat-accent","accent"===ne.color)("mat-warn","warn"===ne.color)("_mat-animation-noopable","NoopAnimations"===ne._animationMode))},inputs:{color:"color",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"],animationDuration:"animationDuration",backgroundColor:"backgroundColor",disableRipple:"disableRipple",tabPanel:"tabPanel"},exportAs:["matTabNavBar","matTabNav"],features:[t.qOj],attrs:fe,ngContentSelectors:D,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(ee,ne){1&ee&&(t.F$t(),t.TgZ(0,"button",0,1),t.NdJ("click",function(){return ne._handlePaginatorClick("before")})("mousedown",function(Ht){return ne._handlePaginatorPress("before",Ht)})("touchend",function(){return ne._stopInterval()}),t._UZ(2,"div",2),t.qZA(),t.TgZ(3,"div",3,4),t.NdJ("keydown",function(Ht){return ne._handleKeydown(Ht)}),t.TgZ(5,"div",5,6),t.NdJ("cdkObserveContent",function(){return ne._onContentChanges()}),t.TgZ(7,"div",7,8),t.Hsn(9),t.qZA()()(),t.TgZ(10,"button",9,10),t.NdJ("mousedown",function(Ht){return ne._handlePaginatorPress("after",Ht)})("click",function(){return ne._handlePaginatorClick("after")})("touchend",function(){return ne._stopInterval()}),t._UZ(12,"div",2),t.qZA()),2&ee&&(t.ekj("mat-mdc-tab-header-pagination-disabled",ne._disableScrollBefore),t.Q6J("matRippleDisabled",ne._disableScrollBefore||ne.disableRipple)("disabled",ne._disableScrollBefore||null),t.xp6(10),t.ekj("mat-mdc-tab-header-pagination-disabled",ne._disableScrollAfter),t.Q6J("matRippleDisabled",ne._disableScrollAfter||ne.disableRipple)("disabled",ne._disableScrollAfter||null))},dependencies:[y.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{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-links{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}"],encapsulation:2})}return _t})();const Ee=kt((0,y.sb)((0,y.Kr)((0,y.Id)(class{}))));let it=(()=>{class _t extends Ee{get active(){return this._isActive}set active(be){const ee=(0,$.Ig)(be);ee!==this._isActive&&(this._isActive=ee,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(be,ee,ne,Ie,Ht,At){super(),this._tabNavBar=be,this.elementRef=ee,this._focusMonitor=Ht,this._destroyed=new d.x,this._isActive=!1,this.id="mat-tab-link-"+xt++,this.rippleConfig=ne||{},this.tabIndex=parseInt(Ie)||0,"NoopAnimations"===At&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0}),be._fitInkBarToContent.pipe((0,q.R)(this._destroyed)).subscribe(Zt=>{this.fitInkBarToContent=Zt})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy(),this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(be){(be.keyCode===n.L_||be.keyCode===n.K5)&&(this.disabled?be.preventDefault():this._tabNavBar.tabPanel&&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}static#e=this.\u0275fac=function(ee){return new(ee||_t)(t.Y36(rt),t.Y36(t.SBq),t.Y36(y.Y2,8),t.$8M("tabindex"),t.Y36(M.tE),t.Y36(t.QbO,8))};static#t=this.\u0275cmp=t.Xpm({type:_t,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(ee,ne){1&ee&&t.NdJ("focus",function(){return ne._handleFocus()})("keydown",function(Ht){return ne._handleKeydown(Ht)}),2&ee&&(t.uIk("aria-controls",ne._getAriaControls())("aria-current",ne._getAriaCurrent())("aria-disabled",ne.disabled)("aria-selected",ne._getAriaSelected())("id",ne.id)("tabIndex",ne._getTabIndex())("role",ne._getRole()),t.ekj("mat-mdc-tab-disabled",ne.disabled)("mdc-tab--active",ne.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",active:"active",id:"id"},exportAs:["matTabLink"],features:[t.qOj],attrs:de,ngContentSelectors:D,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(ee,ne){1&ee&&(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&ee&&(t.xp6(1),t.Q6J("matRippleTrigger",ne.elementRef.nativeElement)("matRippleDisabled",ne.rippleDisabled))},dependencies:[y.wG],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab-link:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab-link:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0})}return _t})(),Ue=(()=>{class _t{constructor(){this.id="mat-tab-nav-panel-"+xt++}static#e=this.\u0275fac=function(ee){return new(ee||_t)};static#t=this.\u0275cmp=t.Xpm({type:_t,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(ee,ne){2&ee&&t.uIk("aria-labelledby",ne._activeTabId)("id",ne.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:D,decls:1,vars:0,template:function(ee,ne){1&ee&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0})}return _t})(),Je=(()=>{class _t{static#e=this.\u0275fac=function(ee){return new(ee||_t)};static#t=this.\u0275mod=t.oAB({type:_t});static#i=this.\u0275inj=t.cJS({imports:[e.ez,y.BQ,A.eL,y.si,l.Q8,M.rt,y.BQ]})}return _t})()},1274:(He,X,p)=>{"use strict";p.d(X,{Ye:()=>d,g0:()=>x});var e=p(9212),t=p(3680),y=p(2831),A=p(6814);const l=["*",[["mat-toolbar-row"]]],M=["*","mat-toolbar-row"],m=(0,t.pj)(class{constructor(I){this._elementRef=I}});let O=(()=>{class I{static#e=this.\u0275fac=function(G){return new(G||I)};static#t=this.\u0275dir=e.lG2({type:I,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return I})(),d=(()=>{class I extends m{constructor(V,G,j){super(V),this._platform=G,this._document=j}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}static#e=this.\u0275fac=function(G){return new(G||I)(e.Y36(e.SBq),e.Y36(y.t4),e.Y36(A.K0))};static#t=this.\u0275cmp=e.Xpm({type:I,selectors:[["mat-toolbar"]],contentQueries:function(G,j,W){if(1&G&&e.Suo(W,O,5),2&G){let K;e.iGM(K=e.CRH())&&(j._toolbarRows=K)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(G,j){2&G&&e.ekj("mat-toolbar-multiple-rows",j._toolbarRows.length>0)("mat-toolbar-single-row",0===j._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[e.qOj],ngContentSelectors:M,decls:2,vars:0,template:function(G,j){1&G&&(e.F$t(l),e.Hsn(0),e.Hsn(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color);color:var(--mat-toolbar-container-text-color)}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font);font-size:var(--mat-toolbar-title-text-size);line-height:var(--mat-toolbar-title-text-line-height);font-weight:var(--mat-toolbar-title-text-weight);letter-spacing:var(--mat-toolbar-title-text-tracking);margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: 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;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0})}return I})(),x=(()=>{class I{static#e=this.\u0275fac=function(G){return new(G||I)};static#t=this.\u0275mod=e.oAB({type:I});static#i=this.\u0275inj=e.cJS({imports:[t.BQ,t.BQ]})}return I})()},2596:(He,X,p)=>{"use strict";p.d(X,{AV:()=>v,gM:()=>w});var e=p(9773),t=p(8180),y=p(2495),A=p(6028),l=p(9212),M=p(6814),m=p(2831),O=p(4300),d=p(9388),E=p(3651),x=p(5407),I=p(8484),k=p(8645),G=(p(6825),p(3680));const j=["tooltip"],q=new l.OlP("mat-tooltip-scroll-strategy"),ae={provide:q,deps:[E.aV],useFactory:function ie(r){return()=>r.scrollStrategies.reposition({scrollThrottle:20})}},re=new l.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function ue(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),$="tooltip-panel",he=(0,m.i$)({passive:!0});let w=(()=>{class r{get position(){return this._position}set position(H){H!==this._position&&(this._position=H,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(H){this._positionAtOrigin=(0,y.Ig)(H),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(H){this._disabled=(0,y.Ig)(H),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(H){this._showDelay=(0,y.su)(H)}get hideDelay(){return this._hideDelay}set hideDelay(H){this._hideDelay=(0,y.su)(H),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(H){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=H?String(H).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(H){this._tooltipClass=H,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(H,N,te,De,st,je,$e,ye,fe,de,Ce,le){this._overlay=H,this._elementRef=N,this._scrollDispatcher=te,this._viewContainerRef=De,this._ngZone=st,this._platform=je,this._ariaDescriber=$e,this._focusMonitor=ye,this._dir=de,this._defaultOptions=Ce,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=D,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new k.x,this._scrollStrategy=fe,this._document=le,Ce&&(this._showDelay=Ce.showDelay,this._hideDelay=Ce.hideDelay,Ce.position&&(this.position=Ce.position),Ce.positionAtOrigin&&(this.positionAtOrigin=Ce.positionAtOrigin),Ce.touchGestures&&(this.touchGestures=Ce.touchGestures)),de.change.pipe((0,e.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,e.R)(this._destroyed)).subscribe(H=>{H?"keyboard"===H&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const H=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([N,te])=>{H.removeEventListener(N,te,he)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(H,this.message,"tooltip"),this._focusMonitor.stopMonitoring(H)}show(H=this.showDelay,N){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const te=this._createOverlay(N);this._detach(),this._portal=this._portal||new I.C5(this._tooltipComponent,this._viewContainerRef);const De=this._tooltipInstance=te.attach(this._portal).instance;De._triggerElement=this._elementRef.nativeElement,De._mouseLeaveHideDelay=this._hideDelay,De.afterHidden().pipe((0,e.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),De.show(H)}hide(H=this.hideDelay){const N=this._tooltipInstance;N&&(N.isVisible()?N.hide(H):(N._cancelPendingAnimations(),this._detach()))}toggle(H){this._isTooltipVisible()?this.hide():this.show(void 0,H)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(H){if(this._overlayRef){const De=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!H)&&De._origin instanceof l.SBq)return this._overlayRef;this._detach()}const N=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),te=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&H||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(N);return te.positionChanges.pipe((0,e.R)(this._destroyed)).subscribe(De=>{this._updateCurrentPositionClass(De.connectionPair),this._tooltipInstance&&De.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:te,panelClass:`${this._cssClassPrefix}-${$}`,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(De=>{this._isTooltipVisible()&&De.keyCode===A.hY&&!(0,A.Vb)(De)&&(De.preventDefault(),De.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(H){const N=H.getConfig().positionStrategy,te=this._getOrigin(),De=this._getOverlayPosition();N.withPositions([this._addOffset({...te.main,...De.main}),this._addOffset({...te.fallback,...De.fallback})])}_addOffset(H){const te=!this._dir||"ltr"==this._dir.value;return"top"===H.originY?H.offsetY=-8:"bottom"===H.originY?H.offsetY=8:"start"===H.originX?H.offsetX=te?-8:8:"end"===H.originX&&(H.offsetX=te?8:-8),H}_getOrigin(){const H=!this._dir||"ltr"==this._dir.value,N=this.position;let te;"above"==N||"below"==N?te={originX:"center",originY:"above"==N?"top":"bottom"}:"before"==N||"left"==N&&H||"right"==N&&!H?te={originX:"start",originY:"center"}:("after"==N||"right"==N&&H||"left"==N&&!H)&&(te={originX:"end",originY:"center"});const{x:De,y:st}=this._invertPosition(te.originX,te.originY);return{main:te,fallback:{originX:De,originY:st}}}_getOverlayPosition(){const H=!this._dir||"ltr"==this._dir.value,N=this.position;let te;"above"==N?te={overlayX:"center",overlayY:"bottom"}:"below"==N?te={overlayX:"center",overlayY:"top"}:"before"==N||"left"==N&&H||"right"==N&&!H?te={overlayX:"end",overlayY:"center"}:("after"==N||"right"==N&&H||"left"==N&&!H)&&(te={overlayX:"start",overlayY:"center"});const{x:De,y:st}=this._invertPosition(te.overlayX,te.overlayY);return{main:te,fallback:{overlayX:De,overlayY:st}}}_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(H){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=H,this._tooltipInstance._markForCheck())}_invertPosition(H,N){return"above"===this.position||"below"===this.position?"top"===N?N="bottom":"bottom"===N&&(N="top"):"end"===H?H="start":"start"===H&&(H="end"),{x:H,y:N}}_updateCurrentPositionClass(H){const{overlayY:N,originX:te,originY:De}=H;let st;if(st="center"===N?this._dir&&"rtl"===this._dir.value?"end"===te?"left":"right":"start"===te?"left":"right":"bottom"===N&&"top"===De?"above":"below",st!==this._currentPosition){const je=this._overlayRef;if(je){const $e=`${this._cssClassPrefix}-${$}-`;je.removePanelClass($e+this._currentPosition),je.addPanelClass($e+st)}this._currentPosition=st}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",H=>{let N;this._setupPointerExitEventsIfNeeded(),void 0!==H.x&&void 0!==H.y&&(N=H),this.show(void 0,N)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",H=>{const N=H.targetTouches?.[0],te=N?{x:N.clientX,y:N.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,te),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const H=[];if(this._platformSupportsMouseEvents())H.push(["mouseleave",N=>{const te=N.relatedTarget;(!te||!this._overlayRef?.overlayElement.contains(te))&&this.hide()}],["wheel",N=>this._wheelListener(N)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const N=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};H.push(["touchend",N],["touchcancel",N])}this._addListeners(H),this._passiveListeners.push(...H)}_addListeners(H){H.forEach(([N,te])=>{this._elementRef.nativeElement.addEventListener(N,te,he)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(H){if(this._isTooltipVisible()){const N=this._document.elementFromPoint(H.clientX,H.clientY),te=this._elementRef.nativeElement;N!==te&&!te.contains(N)&&this.hide()}}_disableNativeGesturesIfNecessary(){const H=this.touchGestures;if("off"!==H){const N=this._elementRef.nativeElement,te=N.style;("on"===H||"INPUT"!==N.nodeName&&"TEXTAREA"!==N.nodeName)&&(te.userSelect=te.msUserSelect=te.webkitUserSelect=te.MozUserSelect="none"),("on"===H||!N.draggable)&&(te.webkitUserDrag="none"),te.touchAction="none",te.webkitTapHighlightColor="transparent"}}static#e=this.\u0275fac=function(N){return new(N||r)(l.Y36(E.aV),l.Y36(l.SBq),l.Y36(x.mF),l.Y36(l.s_b),l.Y36(l.R0b),l.Y36(m.t4),l.Y36(O.$s),l.Y36(O.tE),l.Y36(q),l.Y36(d.Is),l.Y36(re,8),l.Y36(M.K0))};static#t=this.\u0275dir=l.lG2({type:r,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(N,te){2&N&&l.ekj("mat-mdc-tooltip-disabled",te.disabled)},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"]},exportAs:["matTooltip"]})}return r})(),D=(()=>{class r{constructor(H,N,te){this._changeDetectorRef=H,this._elementRef=N,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new k.x,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled="NoopAnimations"===te}show(H){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},H)}hide(H){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},H)}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:H}){(!H||!this._triggerElement.contains(H))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const H=this._elementRef.nativeElement.getBoundingClientRect();return H.height>24&&H.width>=200}_handleAnimationEnd({animationName:H}){(H===this._showAnimation||H===this._hideAnimation)&&this._finalizeAnimation(H===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(H){H?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(H){const N=this._tooltip.nativeElement,te=this._showAnimation,De=this._hideAnimation;if(N.classList.remove(H?De:te),N.classList.add(H?te:De),this._isVisible=H,H&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const st=getComputedStyle(N);("0s"===st.getPropertyValue("animation-duration")||"none"===st.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}H&&this._onShow(),this._animationsDisabled&&(N.classList.add("_mat-animation-noopable"),this._finalizeAnimation(H))}static#e=this.\u0275fac=function(N){return new(N||r)(l.Y36(l.sBO),l.Y36(l.SBq),l.Y36(l.QbO,8))};static#t=this.\u0275cmp=l.Xpm({type:r,selectors:[["mat-tooltip-component"]],viewQuery:function(N,te){if(1&N&&l.Gf(j,7),2&N){let De;l.iGM(De=l.CRH())&&(te._tooltip=De.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(N,te){1&N&&l.NdJ("mouseleave",function(st){return te._handleMouseLeave(st)}),2&N&&l.Udp("zoom",te.isVisible()?1:null)},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,te){1&N&&(l.TgZ(0,"div",0,1),l.NdJ("animationend",function(st){return te._handleAnimationEnd(st)}),l.TgZ(2,"div",2),l._uU(3),l.qZA()()),2&N&&(l.ekj("mdc-tooltip--multiline",te._isMultiline),l.Q6J("ngClass",te.tooltipClass),l.xp6(3),l.Oqu(te.message))},dependencies:[M.mk],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}return r})(),v=(()=>{class r{static#e=this.\u0275fac=function(N){return new(N||r)};static#t=this.\u0275mod=l.oAB({type:r});static#i=this.\u0275inj=l.cJS({providers:[ae],imports:[O.rt,M.ez,E.U8,G.BQ,G.BQ,x.ZD]})}return r})()},8445:(He,X,p)=>{"use strict";p.d(X,{Ar:()=>V,GZ:()=>I,WX:()=>ae,dp:()=>K,eu:()=>j,fQ:()=>x,gi:()=>G,uo:()=>E});var e=p(1894),t=p(9212),y=p(3680),A=p(2495),l=p(8337),M=p(5619),m=p(3019),O=p(7398);const d=(0,y.sb)((0,y.Id)(e.Hs));let E=(()=>{class ue extends d{constructor(xe,$,he){super(xe,$),this.tabIndex=Number(he)||0}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}static#e=this.\u0275fac=function($){return new($||ue)(t.Y36(t.SBq),t.Y36(e._0),t.$8M("tabindex"))};static#t=this.\u0275dir=t.lG2({type:ue,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:ue}]),t.qOj]})}return ue})(),x=(()=>{class ue extends e.rO{static#e=this.\u0275fac=(()=>{let xe;return function(he){return(xe||(xe=t.n5z(ue)))(he||ue)}})();static#t=this.\u0275dir=t.lG2({type:ue,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[t._Bn([{provide:e.rO,useExisting:ue}]),t.qOj]})}return ue})(),I=(()=>{class ue extends e.Xx{get disabled(){return this._disabled}set disabled(xe){this._disabled=(0,A.Ig)(xe)}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(xe){this._tabIndex=xe??0}constructor(xe,$,he,S){super(xe,$,he),this._disabled=!1,this.tabIndex=Number(S)||0}ngOnInit(){super.ngOnInit()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}static#e=this.\u0275fac=function($){return new($||ue)(t.Y36(t.SBq),t.Y36(e._0),t.Y36(t.ZZ4),t.$8M("tabindex"))};static#t=this.\u0275dir=t.lG2({type:ue,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:ue},{provide:e.Hs,useExisting:ue},{provide:e.HI,useExisting:ue}]),t.qOj]})}return ue})(),V=(()=>{class ue{constructor(xe,$){this.viewContainer=xe,this._node=$}static#e=this.\u0275fac=function($){return new($||ue)(t.Y36(t.s_b),t.Y36(e.HI,8))};static#t=this.\u0275dir=t.lG2({type:ue,selectors:[["","matTreeNodeOutlet",""]],features:[t._Bn([{provide:e.cu,useExisting:ue}])]})}return ue})(),G=(()=>{class ue extends e._0{constructor(){super(...arguments),this._nodeOutlet=void 0}static#e=this.\u0275fac=(()=>{let xe;return function(he){return(xe||(xe=t.n5z(ue)))(he||ue)}})();static#t=this.\u0275cmp=t.Xpm({type:ue,selectors:[["mat-tree"]],viewQuery:function($,he){if(1&$&&t.Gf(V,7),2&$){let S;t.iGM(S=t.CRH())&&(he._nodeOutlet=S.first)}},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],features:[t._Bn([{provide:e._0,useExisting:ue}]),t.qOj],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function($,he){1&$&&t.GkF(0,0)},dependencies:[V],styles:[".mat-tree{display:block;background-color:var(--mat-tree-container-background-color)}.mat-tree-node,.mat-nested-tree-node{color:var(--mat-tree-node-text-color);font-family:var(--mat-tree-node-text-font);font-size:var(--mat-tree-node-text-size);font-weight:var(--mat-tree-node-text-weight)}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word;min-height:var(--mat-tree-node-min-height)}.mat-nested-tree-node{border-bottom-width:0}"],encapsulation:2})}return ue})(),j=(()=>{class ue extends e.Ud{static#e=this.\u0275fac=(()=>{let xe;return function(he){return(xe||(xe=t.n5z(ue)))(he||ue)}})();static#t=this.\u0275dir=t.lG2({type:ue,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[t._Bn([{provide:e.Ud,useExisting:ue}]),t.qOj]})}return ue})(),K=(()=>{class ue{static#e=this.\u0275fac=function($){return new($||ue)};static#t=this.\u0275mod=t.oAB({type:ue});static#i=this.\u0275inj=t.cJS({imports:[e.nZ,y.BQ,y.BQ]})}return ue})();class ae extends l.o2{constructor(){super(...arguments),this._data=new M.X([])}get data(){return this._data.value}set data(re){this._data.next(re)}connect(re){return(0,m.T)(re.viewChange,this._data).pipe((0,O.U)(()=>this.data))}disconnect(){}}},6593:(He,X,p)=>{"use strict";p.d(X,{Dx:()=>Ze,H7:()=>We,b2:()=>qe,q6:()=>de,se:()=>he,t6:()=>J});var e=p(9212),t=p(6814);class y extends t.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class A extends y{static makeCurrent(){(0,t.HT)(new A)}onAndCancel(be,ee,ne){return be.addEventListener(ee,ne),()=>{be.removeEventListener(ee,ne)}}dispatchEvent(be,ee){be.dispatchEvent(ee)}remove(be){be.parentNode&&be.parentNode.removeChild(be)}createElement(be,ee){return(ee=ee||this.getDefaultDocument()).createElement(be)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(be){return be.nodeType===Node.ELEMENT_NODE}isShadowRoot(be){return be instanceof DocumentFragment}getGlobalEventTarget(be,ee){return"window"===ee?window:"document"===ee?be:"body"===ee?be.body:null}getBaseHref(be){const ee=function M(){return l=l||document.querySelector("base"),l?l.getAttribute("href"):null}();return null==ee?null:function O(Le){m=m||document.createElement("a"),m.setAttribute("href",Le);const be=m.pathname;return"/"===be.charAt(0)?be:`/${be}`}(ee)}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}getCookie(be){return(0,t.Mx)(document.cookie,be)}}let m,l=null,E=(()=>{class Le{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(ne){return new(ne||Le)};static#t=this.\u0275prov=e.Yz7({token:Le,factory:Le.\u0275fac})}return Le})();const x=new e.OlP("EventManagerPlugins");let I=(()=>{class Le{constructor(ee,ne){this._zone=ne,this._eventNameToPlugin=new Map,ee.forEach(Ie=>{Ie.manager=this}),this._plugins=ee.slice().reverse()}addEventListener(ee,ne,Ie){return this._findPluginFor(ne).addEventListener(ee,ne,Ie)}getZone(){return this._zone}_findPluginFor(ee){let ne=this._eventNameToPlugin.get(ee);if(ne)return ne;if(ne=this._plugins.find(Ht=>Ht.supports(ee)),!ne)throw new e.vHH(5101,!1);return this._eventNameToPlugin.set(ee,ne),ne}static#e=this.\u0275fac=function(ne){return new(ne||Le)(e.LFG(x),e.LFG(e.R0b))};static#t=this.\u0275prov=e.Yz7({token:Le,factory:Le.\u0275fac})}return Le})();class k{constructor(be){this._doc=be}}const V="ng-app-id";let G=(()=>{class Le{constructor(ee,ne,Ie,Ht={}){this.doc=ee,this.appId=ne,this.nonce=Ie,this.platformId=Ht,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,t.PM)(Ht),this.resetHostNodes()}addStyles(ee){for(const ne of ee)1===this.changeUsageCount(ne,1)&&this.onStyleAdded(ne)}removeStyles(ee){for(const ne of ee)this.changeUsageCount(ne,-1)<=0&&this.onStyleRemoved(ne)}ngOnDestroy(){const ee=this.styleNodesInDOM;ee&&(ee.forEach(ne=>ne.remove()),ee.clear());for(const ne of this.getAllStyles())this.onStyleRemoved(ne);this.resetHostNodes()}addHost(ee){this.hostNodes.add(ee);for(const ne of this.getAllStyles())this.addStyleToHost(ee,ne)}removeHost(ee){this.hostNodes.delete(ee)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(ee){for(const ne of this.hostNodes)this.addStyleToHost(ne,ee)}onStyleRemoved(ee){const ne=this.styleRef;ne.get(ee)?.elements?.forEach(Ie=>Ie.remove()),ne.delete(ee)}collectServerRenderedStyles(){const ee=this.doc.head?.querySelectorAll(`style[${V}="${this.appId}"]`);if(ee?.length){const ne=new Map;return ee.forEach(Ie=>{null!=Ie.textContent&&ne.set(Ie.textContent,Ie)}),ne}return null}changeUsageCount(ee,ne){const Ie=this.styleRef;if(Ie.has(ee)){const Ht=Ie.get(ee);return Ht.usage+=ne,Ht.usage}return Ie.set(ee,{usage:ne,elements:[]}),ne}getStyleElement(ee,ne){const Ie=this.styleNodesInDOM,Ht=Ie?.get(ne);if(Ht?.parentNode===ee)return Ie.delete(ne),Ht.removeAttribute(V),Ht;{const At=this.doc.createElement("style");return this.nonce&&At.setAttribute("nonce",this.nonce),At.textContent=ne,this.platformIsServer&&At.setAttribute(V,this.appId),ee.appendChild(At),At}}addStyleToHost(ee,ne){const Ie=this.getStyleElement(ee,ne),Ht=this.styleRef,At=Ht.get(ne)?.elements;At?At.push(Ie):Ht.set(ne,{elements:[Ie],usage:1})}resetHostNodes(){const ee=this.hostNodes;ee.clear(),ee.add(this.doc.head)}static#e=this.\u0275fac=function(ne){return new(ne||Le)(e.LFG(t.K0),e.LFG(e.AFp),e.LFG(e.Ojb,8),e.LFG(e.Lbi))};static#t=this.\u0275prov=e.Yz7({token:Le,factory:Le.\u0275fac})}return Le})();const j={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/"},W=/%COMP%/g,K="%COMP%",q=`_nghost-${K}`,ie=`_ngcontent-${K}`,ue=new e.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function $(Le,be){return be.map(ee=>ee.replace(W,Le))}let he=(()=>{class Le{constructor(ee,ne,Ie,Ht,At,Zt,pi,Jt=null){this.eventManager=ee,this.sharedStylesHost=ne,this.appId=Ie,this.removeStylesOnCompDestroy=Ht,this.doc=At,this.platformId=Zt,this.ngZone=pi,this.nonce=Jt,this.rendererByCompId=new Map,this.platformIsServer=(0,t.PM)(Zt),this.defaultRenderer=new S(ee,At,pi,this.platformIsServer)}createRenderer(ee,ne){if(!ee||!ne)return this.defaultRenderer;this.platformIsServer&&ne.encapsulation===e.ifc.ShadowDom&&(ne={...ne,encapsulation:e.ifc.Emulated});const Ie=this.getOrCreateRenderer(ee,ne);return Ie instanceof D?Ie.applyToHost(ee):Ie instanceof w&&Ie.applyStyles(),Ie}getOrCreateRenderer(ee,ne){const Ie=this.rendererByCompId;let Ht=Ie.get(ne.id);if(!Ht){const At=this.doc,Zt=this.ngZone,pi=this.eventManager,Jt=this.sharedStylesHost,qt=this.removeStylesOnCompDestroy,Hi=this.platformIsServer;switch(ne.encapsulation){case e.ifc.Emulated:Ht=new D(pi,Jt,ne,this.appId,qt,At,Zt,Hi);break;case e.ifc.ShadowDom:return new h(pi,Jt,ee,ne,At,Zt,this.nonce,Hi);default:Ht=new w(pi,Jt,ne,qt,At,Zt,Hi)}Ie.set(ne.id,Ht)}return Ht}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(ne){return new(ne||Le)(e.LFG(I),e.LFG(G),e.LFG(e.AFp),e.LFG(ue),e.LFG(t.K0),e.LFG(e.Lbi),e.LFG(e.R0b),e.LFG(e.Ojb))};static#t=this.\u0275prov=e.Yz7({token:Le,factory:Le.\u0275fac})}return Le})();class S{constructor(be,ee,ne,Ie){this.eventManager=be,this.doc=ee,this.ngZone=ne,this.platformIsServer=Ie,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(be,ee){return ee?this.doc.createElementNS(j[ee]||ee,be):this.doc.createElement(be)}createComment(be){return this.doc.createComment(be)}createText(be){return this.doc.createTextNode(be)}appendChild(be,ee){(f(be)?be.content:be).appendChild(ee)}insertBefore(be,ee,ne){be&&(f(be)?be.content:be).insertBefore(ee,ne)}removeChild(be,ee){be&&be.removeChild(ee)}selectRootElement(be,ee){let ne="string"==typeof be?this.doc.querySelector(be):be;if(!ne)throw new e.vHH(-5104,!1);return ee||(ne.textContent=""),ne}parentNode(be){return be.parentNode}nextSibling(be){return be.nextSibling}setAttribute(be,ee,ne,Ie){if(Ie){ee=Ie+":"+ee;const Ht=j[Ie];Ht?be.setAttributeNS(Ht,ee,ne):be.setAttribute(ee,ne)}else be.setAttribute(ee,ne)}removeAttribute(be,ee,ne){if(ne){const Ie=j[ne];Ie?be.removeAttributeNS(Ie,ee):be.removeAttribute(`${ne}:${ee}`)}else be.removeAttribute(ee)}addClass(be,ee){be.classList.add(ee)}removeClass(be,ee){be.classList.remove(ee)}setStyle(be,ee,ne,Ie){Ie&(e.JOm.DashCase|e.JOm.Important)?be.style.setProperty(ee,ne,Ie&e.JOm.Important?"important":""):be.style[ee]=ne}removeStyle(be,ee,ne){ne&e.JOm.DashCase?be.style.removeProperty(ee):be.style[ee]=""}setProperty(be,ee,ne){null!=be&&(be[ee]=ne)}setValue(be,ee){be.nodeValue=ee}listen(be,ee,ne){if("string"==typeof be&&!(be=(0,t.q)().getGlobalEventTarget(this.doc,be)))throw new Error(`Unsupported event target ${be} for event ${ee}`);return this.eventManager.addEventListener(be,ee,this.decoratePreventDefault(ne))}decoratePreventDefault(be){return ee=>{if("__ngUnwrap__"===ee)return be;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>be(ee)):be(ee))&&ee.preventDefault()}}}function f(Le){return"TEMPLATE"===Le.tagName&&void 0!==Le.content}class h extends S{constructor(be,ee,ne,Ie,Ht,At,Zt,pi){super(be,Ht,At,pi),this.sharedStylesHost=ee,this.hostEl=ne,this.shadowRoot=ne.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Jt=$(Ie.id,Ie.styles);for(const qt of Jt){const Hi=document.createElement("style");Zt&&Hi.setAttribute("nonce",Zt),Hi.textContent=qt,this.shadowRoot.appendChild(Hi)}}nodeOrShadowRoot(be){return be===this.hostEl?this.shadowRoot:be}appendChild(be,ee){return super.appendChild(this.nodeOrShadowRoot(be),ee)}insertBefore(be,ee,ne){return super.insertBefore(this.nodeOrShadowRoot(be),ee,ne)}removeChild(be,ee){return super.removeChild(this.nodeOrShadowRoot(be),ee)}parentNode(be){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(be)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class w extends S{constructor(be,ee,ne,Ie,Ht,At,Zt,pi){super(be,Ht,At,Zt),this.sharedStylesHost=ee,this.removeStylesOnCompDestroy=Ie,this.styles=pi?$(pi,ne.styles):ne.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class D extends w{constructor(be,ee,ne,Ie,Ht,At,Zt,pi){const Jt=Ie+"-"+ne.id;super(be,ee,ne,Ht,At,Zt,pi,Jt),this.contentAttr=function re(Le){return ie.replace(W,Le)}(Jt),this.hostAttr=function xe(Le){return q.replace(W,Le)}(Jt)}applyToHost(be){this.applyStyles(),this.setAttribute(be,this.hostAttr,"")}createElement(be,ee){const ne=super.createElement(be,ee);return super.setAttribute(ne,this.contentAttr,""),ne}}let P=(()=>{class Le extends k{constructor(ee){super(ee)}supports(ee){return!0}addEventListener(ee,ne,Ie){return ee.addEventListener(ne,Ie,!1),()=>this.removeEventListener(ee,ne,Ie)}removeEventListener(ee,ne,Ie){return ee.removeEventListener(ne,Ie)}static#e=this.\u0275fac=function(ne){return new(ne||Le)(e.LFG(t.K0))};static#t=this.\u0275prov=e.Yz7({token:Le,factory:Le.\u0275fac})}return Le})();const v=["alt","control","meta","shift"],r={"\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"},g={alt:Le=>Le.altKey,control:Le=>Le.ctrlKey,meta:Le=>Le.metaKey,shift:Le=>Le.shiftKey};let H=(()=>{class Le extends k{constructor(ee){super(ee)}supports(ee){return null!=Le.parseEventName(ee)}addEventListener(ee,ne,Ie){const Ht=Le.parseEventName(ne),At=Le.eventCallback(Ht.fullKey,Ie,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,t.q)().onAndCancel(ee,Ht.domEventName,At))}static parseEventName(ee){const ne=ee.toLowerCase().split("."),Ie=ne.shift();if(0===ne.length||"keydown"!==Ie&&"keyup"!==Ie)return null;const Ht=Le._normalizeKey(ne.pop());let At="",Zt=ne.indexOf("code");if(Zt>-1&&(ne.splice(Zt,1),At="code."),v.forEach(Jt=>{const qt=ne.indexOf(Jt);qt>-1&&(ne.splice(qt,1),At+=Jt+".")}),At+=Ht,0!=ne.length||0===Ht.length)return null;const pi={};return pi.domEventName=Ie,pi.fullKey=At,pi}static matchEventFullKeyCode(ee,ne){let Ie=r[ee.key]||ee.key,Ht="";return ne.indexOf("code.")>-1&&(Ie=ee.code,Ht="code."),!(null==Ie||!Ie)&&(Ie=Ie.toLowerCase()," "===Ie?Ie="space":"."===Ie&&(Ie="dot"),v.forEach(At=>{At!==Ie&&(0,g[At])(ee)&&(Ht+=At+".")}),Ht+=Ie,Ht===ne)}static eventCallback(ee,ne,Ie){return Ht=>{Le.matchEventFullKeyCode(Ht,ee)&&Ie.runGuarded(()=>ne(Ht))}}static _normalizeKey(ee){return"esc"===ee?"escape":ee}static#e=this.\u0275fac=function(ne){return new(ne||Le)(e.LFG(t.K0))};static#t=this.\u0275prov=e.Yz7({token:Le,factory:Le.\u0275fac})}return Le})();const de=(0,e.eFA)(e._c5,"browser",[{provide:e.Lbi,useValue:t.bD},{provide:e.g9A,useValue:function je(){A.makeCurrent()},multi:!0},{provide:t.K0,useFactory:function ye(){return(0,e.RDi)(document),document},deps:[]}]),Ce=new e.OlP(""),le=[{provide:e.rWj,useClass:class d{addToWindow(be){e.dqk.getAngularTestability=(ne,Ie=!0)=>{const Ht=be.findTestabilityInTree(ne,Ie);if(null==Ht)throw new e.vHH(5103,!1);return Ht},e.dqk.getAllAngularTestabilities=()=>be.getAllTestabilities(),e.dqk.getAllAngularRootElements=()=>be.getAllRootElements(),e.dqk.frameworkStabilizers||(e.dqk.frameworkStabilizers=[]),e.dqk.frameworkStabilizers.push(ne=>{const Ie=e.dqk.getAllAngularTestabilities();let Ht=Ie.length,At=!1;const Zt=function(pi){At=At||pi,Ht--,0==Ht&&ne(At)};Ie.forEach(pi=>{pi.whenStable(Zt)})})}findTestabilityInTree(be,ee,ne){return null==ee?null:be.getTestability(ee)??(ne?(0,t.q)().isShadowRoot(ee)?this.findTestabilityInTree(be,ee.host,!0):this.findTestabilityInTree(be,ee.parentElement,!0):null)}},deps:[]},{provide:e.lri,useClass:e.dDg,deps:[e.R0b,e.eoX,e.rWj]},{provide:e.dDg,useClass:e.dDg,deps:[e.R0b,e.eoX,e.rWj]}],ge=[{provide:e.zSh,useValue:"root"},{provide:e.qLn,useFactory:function $e(){return new e.qLn},deps:[]},{provide:x,useClass:P,multi:!0,deps:[t.K0,e.R0b,e.Lbi]},{provide:x,useClass:H,multi:!0,deps:[t.K0]},he,G,I,{provide:e.FYo,useExisting:he},{provide:t.JF,useClass:E,deps:[]},[]];let qe=(()=>{class Le{constructor(ee){}static withServerTransition(ee){return{ngModule:Le,providers:[{provide:e.AFp,useValue:ee.appId}]}}static#e=this.\u0275fac=function(ne){return new(ne||Le)(e.LFG(Ce,12))};static#t=this.\u0275mod=e.oAB({type:Le});static#i=this.\u0275inj=e.cJS({providers:[...ge,...le],imports:[t.ez,e.hGG]})}return Le})(),Ze=(()=>{class Le{constructor(ee){this._doc=ee}getTitle(){return this._doc.title}setTitle(ee){this._doc.title=ee||""}static#e=this.\u0275fac=function(ne){return new(ne||Le)(e.LFG(t.K0))};static#t=this.\u0275prov=e.Yz7({token:Le,factory:function(ne){let Ie=null;return Ie=ne?new ne:function Ge(){return new Ze((0,e.LFG)(t.K0))}(),Ie},providedIn:"root"})}return Le})();typeof window<"u"&&window;const Et={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},lt=new e.OlP("HammerGestureConfig"),Ke=new e.OlP("HammerLoader");let Be=(()=>{class Le{constructor(){this.events=[],this.overrides={}}buildHammer(ee){const ne=new Hammer(ee,this.options);ne.get("pinch").set({enable:!0}),ne.get("rotate").set({enable:!0});for(const Ie in this.overrides)ne.get(Ie).set(this.overrides[Ie]);return ne}static#e=this.\u0275fac=function(ne){return new(ne||Le)};static#t=this.\u0275prov=e.Yz7({token:Le,factory:Le.\u0275fac})}return Le})(),Xt=(()=>{class Le extends k{constructor(ee,ne,Ie,Ht){super(ee),this._config=ne,this.console=Ie,this.loader=Ht,this._loaderPromise=null}supports(ee){return!(!Et.hasOwnProperty(ee.toLowerCase())&&!this.isCustomEvent(ee)||!window.Hammer&&!this.loader)}addEventListener(ee,ne,Ie){const Ht=this.manager.getZone();if(ne=ne.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||Ht.runOutsideAngular(()=>this.loader());let At=!1,Zt=()=>{At=!0};return Ht.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?At||(Zt=this.addEventListener(ee,ne,Ie)):Zt=()=>{}}).catch(()=>{Zt=()=>{}})),()=>{Zt()}}return Ht.runOutsideAngular(()=>{const At=this._config.buildHammer(ee),Zt=function(pi){Ht.runGuarded(function(){Ie(pi)})};return At.on(ne,Zt),()=>{At.off(ne,Zt),"function"==typeof At.destroy&&At.destroy()}})}isCustomEvent(ee){return this._config.events.indexOf(ee)>-1}static#e=this.\u0275fac=function(ne){return new(ne||Le)(e.LFG(t.K0),e.LFG(lt),e.LFG(e.c2e),e.LFG(Ke,8))};static#t=this.\u0275prov=e.Yz7({token:Le,factory:Le.\u0275fac})}return Le})(),J=(()=>{class Le{static#e=this.\u0275fac=function(ne){return new(ne||Le)};static#t=this.\u0275mod=e.oAB({type:Le});static#i=this.\u0275inj=e.cJS({providers:[{provide:x,useClass:Xt,multi:!0,deps:[t.K0,lt,e.c2e,[new e.FiY,Ke]]},{provide:lt,useClass:Be,deps:[]}]})}return Le})(),We=(()=>{class Le{static#e=this.\u0275fac=function(ne){return new(ne||Le)};static#t=this.\u0275prov=e.Yz7({token:Le,factory:function(ne){let Ie=null;return Ie=ne?new(ne||Le):e.LFG(Ct),Ie},providedIn:"root"})}return Le})(),Ct=(()=>{class Le extends We{constructor(ee){super(),this._doc=ee}sanitize(ee,ne){if(null==ne)return null;switch(ee){case e.q3G.NONE:return ne;case e.q3G.HTML:return(0,e.qzn)(ne,"HTML")?(0,e.z3N)(ne):(0,e.EiD)(this._doc,String(ne)).toString();case e.q3G.STYLE:return(0,e.qzn)(ne,"Style")?(0,e.z3N)(ne):ne;case e.q3G.SCRIPT:if((0,e.qzn)(ne,"Script"))return(0,e.z3N)(ne);throw new e.vHH(5200,!1);case e.q3G.URL:return(0,e.qzn)(ne,"URL")?(0,e.z3N)(ne):(0,e.mCW)(String(ne));case e.q3G.RESOURCE_URL:if((0,e.qzn)(ne,"ResourceURL"))return(0,e.z3N)(ne);throw new e.vHH(5201,!1);default:throw new e.vHH(5202,!1)}}bypassSecurityTrustHtml(ee){return(0,e.JVY)(ee)}bypassSecurityTrustStyle(ee){return(0,e.L6k)(ee)}bypassSecurityTrustScript(ee){return(0,e.eBb)(ee)}bypassSecurityTrustUrl(ee){return(0,e.LAX)(ee)}bypassSecurityTrustResourceUrl(ee){return(0,e.pB0)(ee)}static#e=this.\u0275fac=function(ne){return new(ne||Le)(e.LFG(t.K0))};static#t=this.\u0275prov=e.Yz7({token:Le,factory:function(ne){let Ie=null;return Ie=ne?new ne:function Ft(Le){return new Ct(Le.get(t.K0))}(e.LFG(e.zs3)),Ie},providedIn:"root"})}return Le})()},4190:(He,X,p)=>{"use strict";p.d(X,{gz:()=>pa,gk:()=>pe,m2:()=>It,Q3:()=>Xe,OD:()=>jt,Av:()=>cr,F0:()=>zn,rH:()=>Sr,Od:()=>Bc,Bz:()=>Mc,lC:()=>kr});var e=p(9212),t=p(2664),y=p(9666),A=p(2096),l=p(5619),M=p(2572),m=p(6973),O=p(5211),d=p(4911),E=p(8407),x=p(8504),I=p(6232),k=p(3168),V=p(8645),G=p(7394),j=p(6814),W=p(7398),K=p(4664),q=p(8180),ie=p(7921),ae=p(2181),ue=p(1631),re=p(1374),xe=p(6328),$=p(9397),he=p(6306),S=p(6699),n=p(3572),s=p(9360),f=p(8251);function h(me){return me<=0?()=>I.E:(0,s.e)((Oe,_e)=>{let Re=[];Oe.subscribe((0,f.x)(_e,pt=>{Re.push(pt),me<Re.length&&Re.shift()},()=>{for(const pt of Re)_e.next(pt);_e.complete()},void 0,()=>{Re=null}))})}var w=p(3026),D=p(2737),v=p(975),r=p(4716),g=p(6196),H=p(9773),N=p(7537),te=p(6593);const De="primary",st=Symbol("RouteTitle");class je{constructor(Oe){this.params=Oe||{}}has(Oe){return Object.prototype.hasOwnProperty.call(this.params,Oe)}get(Oe){if(this.has(Oe)){const _e=this.params[Oe];return Array.isArray(_e)?_e[0]:_e}return null}getAll(Oe){if(this.has(Oe)){const _e=this.params[Oe];return Array.isArray(_e)?_e:[_e]}return[]}get keys(){return Object.keys(this.params)}}function $e(me){return new je(me)}function ye(me,Oe,_e){const Re=_e.path.split("/");if(Re.length>me.length||"full"===_e.pathMatch&&(Oe.hasChildren()||Re.length<me.length))return null;const pt={};for(let Nt=0;Nt<Re.length;Nt++){const ni=Re[Nt],Li=me[Nt];if(ni.startsWith(":"))pt[ni.substring(1)]=Li;else if(ni!==Li.path)return null}return{consumed:me.slice(0,Re.length),posParams:pt}}function de(me,Oe){const _e=me?Ce(me):void 0,Re=Oe?Ce(Oe):void 0;if(!_e||!Re||_e.length!=Re.length)return!1;let pt;for(let Nt=0;Nt<_e.length;Nt++)if(pt=_e[Nt],!le(me[pt],Oe[pt]))return!1;return!0}function Ce(me){return[...Object.keys(me),...Object.getOwnPropertySymbols(me)]}function le(me,Oe){if(Array.isArray(me)&&Array.isArray(Oe)){if(me.length!==Oe.length)return!1;const _e=[...me].sort(),Re=[...Oe].sort();return _e.every((pt,Nt)=>Re[Nt]===pt)}return me===Oe}function ge(me){return me.length>0?me[me.length-1]:null}function qe(me){return(0,t.b)(me)?me:(0,e.QGY)(me)?(0,y.D)(Promise.resolve(me)):(0,A.of)(me)}const oe={exact:function Ze(me,Oe,_e){if(!ct(me.segments,Oe.segments)||!Ae(me.segments,Oe.segments,_e)||me.numberOfChildren!==Oe.numberOfChildren)return!1;for(const Re in Oe.children)if(!me.children[Re]||!Ze(me.children[Re],Oe.children[Re],_e))return!1;return!0},subset:mt},ve={exact:function Ge(me,Oe){return de(me,Oe)},subset:function wt(me,Oe){return Object.keys(Oe).length<=Object.keys(me).length&&Object.keys(Oe).every(_e=>le(me[_e],Oe[_e]))},ignored:()=>!0};function ce(me,Oe,_e){return oe[_e.paths](me.root,Oe.root,_e.matrixParams)&&ve[_e.queryParams](me.queryParams,Oe.queryParams)&&!("exact"===_e.fragment&&me.fragment!==Oe.fragment)}function mt(me,Oe,_e){return kt(me,Oe,Oe.segments,_e)}function kt(me,Oe,_e,Re){if(me.segments.length>_e.length){const pt=me.segments.slice(0,_e.length);return!(!ct(pt,_e)||Oe.hasChildren()||!Ae(pt,_e,Re))}if(me.segments.length===_e.length){if(!ct(me.segments,_e)||!Ae(me.segments,_e,Re))return!1;for(const pt in Oe.children)if(!me.children[pt]||!mt(me.children[pt],Oe.children[pt],Re))return!1;return!0}{const pt=_e.slice(0,me.segments.length),Nt=_e.slice(me.segments.length);return!!(ct(me.segments,pt)&&Ae(me.segments,pt,Re)&&me.children[De])&&kt(me.children[De],Oe,Nt,Re)}}function Ae(me,Oe,_e){return Oe.every((Re,pt)=>ve[_e](me[pt].parameters,Re.parameters))}class ze{constructor(Oe=new nt([],{}),_e={},Re=null){this.root=Oe,this.queryParams=_e,this.fragment=Re}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=$e(this.queryParams)),this._queryParamMap}toString(){return Ke.serialize(this)}}class nt{constructor(Oe,_e){this.segments=Oe,this.children=_e,this.parent=null,Object.values(_e).forEach(Re=>Re.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Be(this)}}class et{constructor(Oe,_e){this.path=Oe,this.parameters=_e}get parameterMap(){return this._parameterMap||(this._parameterMap=$e(this.parameters)),this._parameterMap}toString(){return rt(this)}}function ct(me,Oe){return me.length===Oe.length&&me.every((_e,Re)=>_e.path===Oe[Re].path)}let Et=(()=>{class me{static#e=this.\u0275fac=function(Re){return new(Re||me)};static#t=this.\u0275prov=e.Yz7({token:me,factory:()=>new lt,providedIn:"root"})}return me})();class lt{parse(Oe){const _e=new Ht(Oe);return new ze(_e.parseRootSegment(),_e.parseQueryParams(),_e.parseFragment())}serialize(Oe){const _e=`/${Xt(Oe.root,!0)}`,Re=function it(me){const Oe=Object.keys(me).map(_e=>{const Re=me[_e];return Array.isArray(Re)?Re.map(pt=>`${We(_e)}=${We(pt)}`).join("&"):`${We(_e)}=${We(Re)}`}).filter(_e=>!!_e);return Oe.length?`?${Oe.join("&")}`:""}(Oe.queryParams);return`${_e}${Re}${"string"==typeof Oe.fragment?`#${function Ft(me){return encodeURI(me)}(Oe.fragment)}`:""}`}}const Ke=new lt;function Be(me){return me.segments.map(Oe=>rt(Oe)).join("/")}function Xt(me,Oe){if(!me.hasChildren())return Be(me);if(Oe){const _e=me.children[De]?Xt(me.children[De],!1):"",Re=[];return Object.entries(me.children).forEach(([pt,Nt])=>{pt!==De&&Re.push(`${pt}:${Xt(Nt,!1)}`)}),Re.length>0?`${_e}(${Re.join("//")})`:_e}{const _e=function Qe(me,Oe){let _e=[];return Object.entries(me.children).forEach(([Re,pt])=>{Re===De&&(_e=_e.concat(Oe(pt,Re)))}),Object.entries(me.children).forEach(([Re,pt])=>{Re!==De&&(_e=_e.concat(Oe(pt,Re)))}),_e}(me,(Re,pt)=>pt===De?[Xt(me.children[De],!1)]:[`${pt}:${Xt(Re,!1)}`]);return 1===Object.keys(me.children).length&&null!=me.children[De]?`${Be(me)}/${_e[0]}`:`${Be(me)}/(${_e.join("//")})`}}function J(me){return encodeURIComponent(me).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function We(me){return J(me).replace(/%3B/gi,";")}function Ct(me){return J(me).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Pt(me){return decodeURIComponent(me)}function xt(me){return Pt(me.replace(/\+/g,"%20"))}function rt(me){return`${Ct(me.path)}${function Ee(me){return Object.keys(me).map(Oe=>`;${Ct(Oe)}=${Ct(me[Oe])}`).join("")}(me.parameters)}`}const Ue=/^[^\/()?;#]+/;function Je(me){const Oe=me.match(Ue);return Oe?Oe[0]:""}const _t=/^[^\/()?;=#]+/,be=/^[^=?&#]+/,ne=/^[^&#]+/;class Ht{constructor(Oe){this.url=Oe,this.remaining=Oe}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new nt([],{}):new nt([],this.parseChildren())}parseQueryParams(){const Oe={};if(this.consumeOptional("?"))do{this.parseQueryParam(Oe)}while(this.consumeOptional("&"));return Oe}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const Oe=[];for(this.peekStartsWith("(")||Oe.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),Oe.push(this.parseSegment());let _e={};this.peekStartsWith("/(")&&(this.capture("/"),_e=this.parseParens(!0));let Re={};return this.peekStartsWith("(")&&(Re=this.parseParens(!1)),(Oe.length>0||Object.keys(_e).length>0)&&(Re[De]=new nt(Oe,_e)),Re}parseSegment(){const Oe=Je(this.remaining);if(""===Oe&&this.peekStartsWith(";"))throw new e.vHH(4009,!1);return this.capture(Oe),new et(Pt(Oe),this.parseMatrixParams())}parseMatrixParams(){const Oe={};for(;this.consumeOptional(";");)this.parseParam(Oe);return Oe}parseParam(Oe){const _e=function Le(me){const Oe=me.match(_t);return Oe?Oe[0]:""}(this.remaining);if(!_e)return;this.capture(_e);let Re="";if(this.consumeOptional("=")){const pt=Je(this.remaining);pt&&(Re=pt,this.capture(Re))}Oe[Pt(_e)]=Pt(Re)}parseQueryParam(Oe){const _e=function ee(me){const Oe=me.match(be);return Oe?Oe[0]:""}(this.remaining);if(!_e)return;this.capture(_e);let Re="";if(this.consumeOptional("=")){const ni=function Ie(me){const Oe=me.match(ne);return Oe?Oe[0]:""}(this.remaining);ni&&(Re=ni,this.capture(Re))}const pt=xt(_e),Nt=xt(Re);if(Oe.hasOwnProperty(pt)){let ni=Oe[pt];Array.isArray(ni)||(ni=[ni],Oe[pt]=ni),ni.push(Nt)}else Oe[pt]=Nt}parseParens(Oe){const _e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Re=Je(this.remaining),pt=this.remaining[Re.length];if("/"!==pt&&")"!==pt&&";"!==pt)throw new e.vHH(4010,!1);let Nt;Re.indexOf(":")>-1?(Nt=Re.slice(0,Re.indexOf(":")),this.capture(Nt),this.capture(":")):Oe&&(Nt=De);const ni=this.parseChildren();_e[Nt]=1===Object.keys(ni).length?ni[De]:new nt([],ni),this.consumeOptional("//")}return _e}peekStartsWith(Oe){return this.remaining.startsWith(Oe)}consumeOptional(Oe){return!!this.peekStartsWith(Oe)&&(this.remaining=this.remaining.substring(Oe.length),!0)}capture(Oe){if(!this.consumeOptional(Oe))throw new e.vHH(4011,!1)}}function At(me){return me.segments.length>0?new nt([],{[De]:me}):me}function Zt(me){const Oe={};for(const Re of Object.keys(me.children)){const Nt=Zt(me.children[Re]);if(Re===De&&0===Nt.segments.length&&Nt.hasChildren())for(const[ni,Li]of Object.entries(Nt.children))Oe[ni]=Li;else(Nt.segments.length>0||Nt.hasChildren())&&(Oe[Re]=Nt)}return function pi(me){if(1===me.numberOfChildren&&me.children[De]){const Oe=me.children[De];return new nt(me.segments.concat(Oe.segments),Oe.children)}return me}(new nt(me.segments,Oe))}function Jt(me){return me instanceof ze}function Hi(me){let Oe;const pt=At(function _e(Nt){const ni={};for(const Ai of Nt.children){const cn=_e(Ai);ni[Ai.outlet]=cn}const Li=new nt(Nt.url,ni);return Nt===me&&(Oe=Li),Li}(me.root));return Oe??pt}function di(me,Oe,_e,Re){let pt=me;for(;pt.parent;)pt=pt.parent;if(0===Oe.length)return Qi(pt,pt,pt,_e,Re);const Nt=function ot(me){if("string"==typeof me[0]&&1===me.length&&"/"===me[0])return new sn(!0,0,me);let Oe=0,_e=!1;const Re=me.reduce((pt,Nt,ni)=>{if("object"==typeof Nt&&null!=Nt){if(Nt.outlets){const Li={};return Object.entries(Nt.outlets).forEach(([Ai,cn])=>{Li[Ai]="string"==typeof cn?cn.split("/"):cn}),[...pt,{outlets:Li}]}if(Nt.segmentPath)return[...pt,Nt.segmentPath]}return"string"!=typeof Nt?[...pt,Nt]:0===ni?(Nt.split("/").forEach((Li,Ai)=>{0==Ai&&"."===Li||(0==Ai&&""===Li?_e=!0:".."===Li?Oe++:""!=Li&&pt.push(Li))}),pt):[...pt,Nt]},[]);return new sn(_e,Oe,Re)}(Oe);if(Nt.toRoot())return Qi(pt,pt,new nt([],{}),_e,Re);const ni=function we(me,Oe,_e){if(me.isAbsolute)return new si(Oe,!0,0);if(!_e)return new si(Oe,!1,NaN);if(null===_e.parent)return new si(_e,!0,0);const Re=fi(me.commands[0])?0:1;return function St(me,Oe,_e){let Re=me,pt=Oe,Nt=_e;for(;Nt>pt;){if(Nt-=pt,Re=Re.parent,!Re)throw new e.vHH(4005,!1);pt=Re.segments.length}return new si(Re,!1,pt-Nt)}(_e,_e.segments.length-1+Re,me.numberOfDoubleDots)}(Nt,pt,me),Li=ni.processChildren?Lt(ni.segmentGroup,ni.index,Nt.commands):Dt(ni.segmentGroup,ni.index,Nt.commands);return Qi(pt,ni.segmentGroup,Li,_e,Re)}function fi(me){return"object"==typeof me&&null!=me&&!me.outlets&&!me.segmentPath}function un(me){return"object"==typeof me&&null!=me&&me.outlets}function Qi(me,Oe,_e,Re,pt){let ni,Nt={};Re&&Object.entries(Re).forEach(([Ai,cn])=>{Nt[Ai]=Array.isArray(cn)?cn.map(Qn=>`${Qn}`):`${cn}`}),ni=me===Oe?_e:xi(me,Oe,_e);const Li=At(Zt(ni));return new ze(Li,Nt,pt)}function xi(me,Oe,_e){const Re={};return Object.entries(me.children).forEach(([pt,Nt])=>{Re[pt]=Nt===Oe?_e:xi(Nt,Oe,_e)}),new nt(me.segments,Re)}class sn{constructor(Oe,_e,Re){if(this.isAbsolute=Oe,this.numberOfDoubleDots=_e,this.commands=Re,Oe&&Re.length>0&&fi(Re[0]))throw new e.vHH(4003,!1);const pt=Re.find(un);if(pt&&pt!==ge(Re))throw new e.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class si{constructor(Oe,_e,Re){this.segmentGroup=Oe,this.processChildren=_e,this.index=Re}}function Dt(me,Oe,_e){if(me||(me=new nt([],{})),0===me.segments.length&&me.hasChildren())return Lt(me,Oe,_e);const Re=function Bt(me,Oe,_e){let Re=0,pt=Oe;const Nt={match:!1,pathIndex:0,commandIndex:0};for(;pt<me.segments.length;){if(Re>=_e.length)return Nt;const ni=me.segments[pt],Li=_e[Re];if(un(Li))break;const Ai=`${Li}`,cn=Re<_e.length-1?_e[Re+1]:null;if(pt>0&&void 0===Ai)break;if(Ai&&cn&&"object"==typeof cn&&void 0===cn.outlets){if(!ki(Ai,cn,ni))return Nt;Re+=2}else{if(!ki(Ai,{},ni))return Nt;Re++}pt++}return{match:!0,pathIndex:pt,commandIndex:Re}}(me,Oe,_e),pt=_e.slice(Re.commandIndex);if(Re.match&&Re.pathIndex<me.segments.length){const Nt=new nt(me.segments.slice(0,Re.pathIndex),{});return Nt.children[De]=new nt(me.segments.slice(Re.pathIndex),me.children),Lt(Nt,0,pt)}return Re.match&&0===pt.length?new nt(me.segments,{}):Re.match&&!me.hasChildren()?ai(me,Oe,_e):Re.match?Lt(me,0,pt):ai(me,Oe,_e)}function Lt(me,Oe,_e){if(0===_e.length)return new nt(me.segments,{});{const Re=function zt(me){return un(me[0])?me[0].outlets:{[De]:me}}(_e),pt={};if(Object.keys(Re).some(Nt=>Nt!==De)&&me.children[De]&&1===me.numberOfChildren&&0===me.children[De].segments.length){const Nt=Lt(me.children[De],Oe,_e);return new nt(me.segments,Nt.children)}return Object.entries(Re).forEach(([Nt,ni])=>{"string"==typeof ni&&(ni=[ni]),null!==ni&&(pt[Nt]=Dt(me.children[Nt],Oe,ni))}),Object.entries(me.children).forEach(([Nt,ni])=>{void 0===Re[Nt]&&(pt[Nt]=ni)}),new nt(me.segments,pt)}}function ai(me,Oe,_e){const Re=me.segments.slice(0,Oe);let pt=0;for(;pt<_e.length;){const Nt=_e[pt];if(un(Nt)){const Ai=vi(Nt.outlets);return new nt(Re,Ai)}if(0===pt&&fi(_e[0])){Re.push(new et(me.segments[Oe].path,bi(_e[0]))),pt++;continue}const ni=un(Nt)?Nt.outlets[De]:`${Nt}`,Li=pt<_e.length-1?_e[pt+1]:null;ni&&Li&&fi(Li)?(Re.push(new et(ni,bi(Li))),pt+=2):(Re.push(new et(ni,{})),pt++)}return new nt(Re,{})}function vi(me){const Oe={};return Object.entries(me).forEach(([_e,Re])=>{"string"==typeof Re&&(Re=[Re]),null!==Re&&(Oe[_e]=ai(new nt([],{}),0,Re))}),Oe}function bi(me){const Oe={};return Object.entries(me).forEach(([_e,Re])=>Oe[_e]=`${Re}`),Oe}function ki(me,Oe,_e){return me==_e.path&&de(Oe,_e.parameters)}const Bi="imperative";class Vi{constructor(Oe,_e){this.id=Oe,this.url=_e}}class jt extends Vi{constructor(Oe,_e,Re="imperative",pt=null){super(Oe,_e),this.type=0,this.navigationTrigger=Re,this.restoredState=pt}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class It extends Vi{constructor(Oe,_e,Re){super(Oe,_e),this.urlAfterRedirects=Re,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class pe extends Vi{constructor(Oe,_e,Re,pt){super(Oe,_e),this.reason=Re,this.code=pt,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ve extends Vi{constructor(Oe,_e,Re,pt){super(Oe,_e),this.reason=Re,this.code=pt,this.type=16}}class Xe extends Vi{constructor(Oe,_e,Re,pt){super(Oe,_e),this.error=Re,this.target=pt,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class gt extends Vi{constructor(Oe,_e,Re,pt){super(Oe,_e),this.urlAfterRedirects=Re,this.state=pt,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ri extends Vi{constructor(Oe,_e,Re,pt){super(Oe,_e),this.urlAfterRedirects=Re,this.state=pt,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Oi extends Vi{constructor(Oe,_e,Re,pt,Nt){super(Oe,_e),this.urlAfterRedirects=Re,this.state=pt,this.shouldActivate=Nt,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Bn extends Vi{constructor(Oe,_e,Re,pt){super(Oe,_e),this.urlAfterRedirects=Re,this.state=pt,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class cr extends Vi{constructor(Oe,_e,Re,pt){super(Oe,_e),this.urlAfterRedirects=Re,this.state=pt,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class hn{constructor(Oe){this.route=Oe,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class fr{constructor(Oe){this.route=Oe,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ta{constructor(Oe){this.snapshot=Oe,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Lr{constructor(Oe){this.snapshot=Oe,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ui{constructor(Oe){this.snapshot=Oe,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class rn{constructor(Oe){this.snapshot=Oe,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class qn{constructor(Oe,_e,Re){this.routerEvent=Oe,this.position=_e,this.anchor=Re,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class ei{}class Mi{constructor(Oe){this.url=Oe}}class yi{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Gi,this.attachRef=null}}let Gi=(()=>{class me{constructor(){this.contexts=new Map}onChildOutletCreated(_e,Re){const pt=this.getOrCreateContext(_e);pt.outlet=Re,this.contexts.set(_e,pt)}onChildOutletDestroyed(_e){const Re=this.getContext(_e);Re&&(Re.outlet=null,Re.attachRef=null)}onOutletDeactivated(){const _e=this.contexts;return this.contexts=new Map,_e}onOutletReAttached(_e){this.contexts=_e}getOrCreateContext(_e){let Re=this.getContext(_e);return Re||(Re=new yi,this.contexts.set(_e,Re)),Re}getContext(_e){return this.contexts.get(_e)||null}static#e=this.\u0275fac=function(Re){return new(Re||me)};static#t=this.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac,providedIn:"root"})}return me})();class Ji{constructor(Oe){this._root=Oe}get root(){return this._root.value}parent(Oe){const _e=this.pathFromRoot(Oe);return _e.length>1?_e[_e.length-2]:null}children(Oe){const _e=xn(Oe,this._root);return _e?_e.children.map(Re=>Re.value):[]}firstChild(Oe){const _e=xn(Oe,this._root);return _e&&_e.children.length>0?_e.children[0].value:null}siblings(Oe){const _e=jn(Oe,this._root);return _e.length<2?[]:_e[_e.length-2].children.map(pt=>pt.value).filter(pt=>pt!==Oe)}pathFromRoot(Oe){return jn(Oe,this._root).map(_e=>_e.value)}}function xn(me,Oe){if(me===Oe.value)return Oe;for(const _e of Oe.children){const Re=xn(me,_e);if(Re)return Re}return null}function jn(me,Oe){if(me===Oe.value)return[Oe];for(const _e of Oe.children){const Re=jn(me,_e);if(Re.length)return Re.unshift(Oe),Re}return[]}class Rn{constructor(Oe,_e){this.value=Oe,this.children=_e}toString(){return`TreeNode(${this.value})`}}function Tr(me){const Oe={};return me&&me.children.forEach(_e=>Oe[_e.value.outlet]=_e),Oe}class er extends Ji{constructor(Oe,_e){super(Oe),this.snapshot=_e,Ir(this,Oe)}toString(){return this.snapshot.toString()}}function Cr(me,Oe){const _e=function oa(me,Oe){const ni=new za([],{},{},"",{},De,Oe,null,{});return new mr("",new Rn(ni,[]))}(0,Oe),Re=new l.X([new et("",{})]),pt=new l.X({}),Nt=new l.X({}),ni=new l.X({}),Li=new l.X(""),Ai=new pa(Re,pt,ni,Li,Nt,De,Oe,_e.root);return Ai.snapshot=_e.root,new er(new Rn(Ai,[]),_e)}class pa{constructor(Oe,_e,Re,pt,Nt,ni,Li,Ai){this.urlSubject=Oe,this.paramsSubject=_e,this.queryParamsSubject=Re,this.fragmentSubject=pt,this.dataSubject=Nt,this.outlet=ni,this.component=Li,this._futureSnapshot=Ai,this.title=this.dataSubject?.pipe((0,W.U)(cn=>cn[st]))??(0,A.of)(void 0),this.url=Oe,this.params=_e,this.queryParams=Re,this.fragment=pt,this.data=Nt}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)(Oe=>$e(Oe)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,W.U)(Oe=>$e(Oe)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function sa(me,Oe,_e="emptyOnly"){let Re;const{routeConfig:pt}=me;return Re=null===Oe||"always"!==_e&&""!==pt?.path&&(Oe.component||Oe.routeConfig?.loadComponent)?{params:me.params,data:me.data,resolve:{...me.data,...me._resolvedData??{}}}:{params:{...Oe.params,...me.params},data:{...Oe.data,...me.data},resolve:{...me.data,...Oe.data,...pt?.data,...me._resolvedData}},pt&&_a(pt)&&(Re.resolve[st]=pt.title),Re}class za{get title(){return this.data?.[st]}constructor(Oe,_e,Re,pt,Nt,ni,Li,Ai,cn){this.url=Oe,this.params=_e,this.queryParams=Re,this.fragment=pt,this.data=Nt,this.outlet=ni,this.component=Li,this.routeConfig=Ai,this._resolve=cn}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=$e(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=$e(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Re=>Re.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class mr extends Ji{constructor(Oe,_e){super(_e),this.url=Oe,Ir(this,_e)}toString(){return Kn(this._root)}}function Ir(me,Oe){Oe.value._routerState=me,Oe.children.forEach(_e=>Ir(me,_e))}function Kn(me){const Oe=me.children.length>0?` { ${me.children.map(Kn).join(", ")} } `:"";return`${me.value}${Oe}`}function ga(me){if(me.snapshot){const Oe=me.snapshot,_e=me._futureSnapshot;me.snapshot=_e,de(Oe.queryParams,_e.queryParams)||me.queryParamsSubject.next(_e.queryParams),Oe.fragment!==_e.fragment&&me.fragmentSubject.next(_e.fragment),de(Oe.params,_e.params)||me.paramsSubject.next(_e.params),function fe(me,Oe){if(me.length!==Oe.length)return!1;for(let _e=0;_e<me.length;++_e)if(!de(me[_e],Oe[_e]))return!1;return!0}(Oe.url,_e.url)||me.urlSubject.next(_e.url),de(Oe.data,_e.data)||me.dataSubject.next(_e.data)}else me.snapshot=me._futureSnapshot,me.dataSubject.next(me._futureSnapshot.data)}function Va(me,Oe){const _e=de(me.params,Oe.params)&&function ke(me,Oe){return ct(me,Oe)&&me.every((_e,Re)=>de(_e.parameters,Oe[Re].parameters))}(me.url,Oe.url);return _e&&!(!me.parent!=!Oe.parent)&&(!me.parent||Va(me.parent,Oe.parent))}function _a(me){return"string"==typeof me.title||null===me.title}let kr=(()=>{class me{constructor(){this.activated=null,this._activatedRoute=null,this.name=De,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)(Gi),this.location=(0,e.f3M)(e.s_b),this.changeDetector=(0,e.f3M)(e.sBO),this.environmentInjector=(0,e.f3M)(e.lqb),this.inputBinder=(0,e.f3M)(wo,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(_e){if(_e.name){const{firstChange:Re,previousValue:pt}=_e.name;if(Re)return;this.isTrackedInParentContexts(pt)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(pt)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(_e){return this.parentContexts.getContext(_e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const _e=this.parentContexts.getContext(this.name);_e?.route&&(_e.attachRef?this.attach(_e.attachRef,_e.route):this.activateWith(_e.route,_e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new e.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new e.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new e.vHH(4012,!1);this.location.detach();const _e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(_e.instance),_e}attach(_e,Re){this.activated=_e,this._activatedRoute=Re,this.location.insert(_e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(_e.instance)}deactivate(){if(this.activated){const _e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(_e)}}activateWith(_e,Re){if(this.isActivated)throw new e.vHH(4013,!1);this._activatedRoute=_e;const pt=this.location,ni=_e.snapshot.component,Li=this.parentContexts.getOrCreateContext(this.name).children,Ai=new ca(_e,Li,pt.injector);this.activated=pt.createComponent(ni,{index:pt.length,injector:Ai,environmentInjector:Re??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(Re){return new(Re||me)};static#t=this.\u0275dir=e.lG2({type:me,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[e.TTD]})}return me})();class ca{constructor(Oe,_e,Re){this.route=Oe,this.childContexts=_e,this.parent=Re}get(Oe,_e){return Oe===pa?this.route:Oe===Gi?this.childContexts:this.parent.get(Oe,_e)}}const wo=new e.OlP("");let Qr=(()=>{class me{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(_e){this.unsubscribeFromRouteData(_e),this.subscribeToRouteData(_e)}unsubscribeFromRouteData(_e){this.outletDataSubscriptions.get(_e)?.unsubscribe(),this.outletDataSubscriptions.delete(_e)}subscribeToRouteData(_e){const{activatedRoute:Re}=_e,pt=(0,M.a)([Re.queryParams,Re.params,Re.data]).pipe((0,K.w)(([Nt,ni,Li],Ai)=>(Li={...Nt,...ni,...Li},0===Ai?(0,A.of)(Li):Promise.resolve(Li)))).subscribe(Nt=>{if(!_e.isActivated||!_e.activatedComponentRef||_e.activatedRoute!==Re||null===Re.component)return void this.unsubscribeFromRouteData(_e);const ni=(0,e.qFp)(Re.component);if(ni)for(const{templateName:Li}of ni.inputs)_e.activatedComponentRef.setInput(Li,Nt[Li]);else this.unsubscribeFromRouteData(_e)});this.outletDataSubscriptions.set(_e,pt)}static#e=this.\u0275fac=function(Re){return new(Re||me)};static#t=this.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac})}return me})();function Pr(me,Oe,_e){if(_e&&me.shouldReuseRoute(Oe.value,_e.value.snapshot)){const Re=_e.value;Re._futureSnapshot=Oe.value;const pt=function ur(me,Oe,_e){return Oe.children.map(Re=>{for(const pt of _e.children)if(me.shouldReuseRoute(Re.value,pt.value.snapshot))return Pr(me,Re,pt);return Pr(me,Re)})}(me,Oe,_e);return new Rn(Re,pt)}{if(me.shouldAttach(Oe.value)){const Nt=me.retrieve(Oe.value);if(null!==Nt){const ni=Nt.route;return ni.value._futureSnapshot=Oe.value,ni.children=Oe.children.map(Li=>Pr(me,Li)),ni}}const Re=function Un(me){return new pa(new l.X(me.url),new l.X(me.params),new l.X(me.queryParams),new l.X(me.fragment),new l.X(me.data),me.outlet,me.component,me)}(Oe.value),pt=Oe.children.map(Nt=>Pr(me,Nt));return new Rn(Re,pt)}}const Ma="ngNavigationCancelingError";function io(me,Oe){const{redirectTo:_e,navigationBehaviorOptions:Re}=Jt(Oe)?{redirectTo:Oe,navigationBehaviorOptions:void 0}:Oe,pt=Ar(!1,0,Oe);return pt.url=_e,pt.navigationBehaviorOptions=Re,pt}function Ar(me,Oe,_e){const Re=new Error("NavigationCancelingError: "+(me||""));return Re[Ma]=!0,Re.cancellationCode=Oe,_e&&(Re.url=_e),Re}function ia(me){return me&&me[Ma]}let Oa=(()=>{class me{static#e=this.\u0275fac=function(Re){return new(Re||me)};static#t=this.\u0275cmp=e.Xpm({type:me,selectors:[["ng-component"]],standalone:!0,features:[e.jDz],decls:1,vars:0,template:function(Re,pt){1&Re&&e._UZ(0,"router-outlet")},dependencies:[kr],encapsulation:2})}return me})();function Ba(me){const Oe=me.children&&me.children.map(Ba),_e=Oe?{...me,children:Oe}:{...me};return!_e.component&&!_e.loadComponent&&(Oe||_e.loadChildren)&&_e.outlet&&_e.outlet!==De&&(_e.component=Oa),_e}function Xr(me){return me.outlet||De}function ro(me){if(!me)return null;if(me.routeConfig?._injector)return me.routeConfig._injector;for(let Oe=me.parent;Oe;Oe=Oe.parent){const _e=Oe.routeConfig;if(_e?._loadedInjector)return _e._loadedInjector;if(_e?._injector)return _e._injector}return null}class ao{constructor(Oe,_e,Re,pt,Nt){this.routeReuseStrategy=Oe,this.futureState=_e,this.currState=Re,this.forwardEvent=pt,this.inputBindingEnabled=Nt}activate(Oe){const _e=this.futureState._root,Re=this.currState?this.currState._root:null;this.deactivateChildRoutes(_e,Re,Oe),ga(this.futureState.root),this.activateChildRoutes(_e,Re,Oe)}deactivateChildRoutes(Oe,_e,Re){const pt=Tr(_e);Oe.children.forEach(Nt=>{const ni=Nt.value.outlet;this.deactivateRoutes(Nt,pt[ni],Re),delete pt[ni]}),Object.values(pt).forEach(Nt=>{this.deactivateRouteAndItsChildren(Nt,Re)})}deactivateRoutes(Oe,_e,Re){const pt=Oe.value,Nt=_e?_e.value:null;if(pt===Nt)if(pt.component){const ni=Re.getContext(pt.outlet);ni&&this.deactivateChildRoutes(Oe,_e,ni.children)}else this.deactivateChildRoutes(Oe,_e,Re);else Nt&&this.deactivateRouteAndItsChildren(_e,Re)}deactivateRouteAndItsChildren(Oe,_e){Oe.value.component&&this.routeReuseStrategy.shouldDetach(Oe.value.snapshot)?this.detachAndStoreRouteSubtree(Oe,_e):this.deactivateRouteAndOutlet(Oe,_e)}detachAndStoreRouteSubtree(Oe,_e){const Re=_e.getContext(Oe.value.outlet),pt=Re&&Oe.value.component?Re.children:_e,Nt=Tr(Oe);for(const ni of Object.keys(Nt))this.deactivateRouteAndItsChildren(Nt[ni],pt);if(Re&&Re.outlet){const ni=Re.outlet.detach(),Li=Re.children.onOutletDeactivated();this.routeReuseStrategy.store(Oe.value.snapshot,{componentRef:ni,route:Oe,contexts:Li})}}deactivateRouteAndOutlet(Oe,_e){const Re=_e.getContext(Oe.value.outlet),pt=Re&&Oe.value.component?Re.children:_e,Nt=Tr(Oe);for(const ni of Object.keys(Nt))this.deactivateRouteAndItsChildren(Nt[ni],pt);Re&&(Re.outlet&&(Re.outlet.deactivate(),Re.children.onOutletDeactivated()),Re.attachRef=null,Re.route=null)}activateChildRoutes(Oe,_e,Re){const pt=Tr(_e);Oe.children.forEach(Nt=>{this.activateRoutes(Nt,pt[Nt.value.outlet],Re),this.forwardEvent(new rn(Nt.value.snapshot))}),Oe.children.length&&this.forwardEvent(new Lr(Oe.value.snapshot))}activateRoutes(Oe,_e,Re){const pt=Oe.value,Nt=_e?_e.value:null;if(ga(pt),pt===Nt)if(pt.component){const ni=Re.getOrCreateContext(pt.outlet);this.activateChildRoutes(Oe,_e,ni.children)}else this.activateChildRoutes(Oe,_e,Re);else if(pt.component){const ni=Re.getOrCreateContext(pt.outlet);if(this.routeReuseStrategy.shouldAttach(pt.snapshot)){const Li=this.routeReuseStrategy.retrieve(pt.snapshot);this.routeReuseStrategy.store(pt.snapshot,null),ni.children.onOutletReAttached(Li.contexts),ni.attachRef=Li.componentRef,ni.route=Li.route.value,ni.outlet&&ni.outlet.attach(Li.componentRef,Li.route.value),ga(Li.route.value),this.activateChildRoutes(Oe,null,ni.children)}else{const Li=ro(pt.snapshot);ni.attachRef=null,ni.route=pt,ni.injector=Li,ni.outlet&&ni.outlet.activateWith(pt,ni.injector),this.activateChildRoutes(Oe,null,ni.children)}}else this.activateChildRoutes(Oe,null,Re)}}class Wr{constructor(Oe){this.path=Oe,this.route=this.path[this.path.length-1]}}class No{constructor(Oe,_e){this.component=Oe,this.route=_e}}function vo(me,Oe,_e){const Re=me._root;return Ti(Re,Oe?Oe._root:null,_e,[Re.value])}function Vt(me,Oe){const _e=Symbol(),Re=Oe.get(me,_e);return Re===_e?"function"!=typeof me||(0,e.Z0I)(me)?Oe.get(me):me:Re}function Ti(me,Oe,_e,Re,pt={canDeactivateChecks:[],canActivateChecks:[]}){const Nt=Tr(Oe);return me.children.forEach(ni=>{(function Mt(me,Oe,_e,Re,pt={canDeactivateChecks:[],canActivateChecks:[]}){const Nt=me.value,ni=Oe?Oe.value:null,Li=_e?_e.getContext(me.value.outlet):null;if(ni&&Nt.routeConfig===ni.routeConfig){const Ai=function ii(me,Oe,_e){if("function"==typeof _e)return _e(me,Oe);switch(_e){case"pathParamsChange":return!ct(me.url,Oe.url);case"pathParamsOrQueryParamsChange":return!ct(me.url,Oe.url)||!de(me.queryParams,Oe.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Va(me,Oe)||!de(me.queryParams,Oe.queryParams);default:return!Va(me,Oe)}}(ni,Nt,Nt.routeConfig.runGuardsAndResolvers);Ai?pt.canActivateChecks.push(new Wr(Re)):(Nt.data=ni.data,Nt._resolvedData=ni._resolvedData),Ti(me,Oe,Nt.component?Li?Li.children:null:_e,Re,pt),Ai&&Li&&Li.outlet&&Li.outlet.isActivated&&pt.canDeactivateChecks.push(new No(Li.outlet.component,ni))}else ni&&Si(Oe,Li,pt),pt.canActivateChecks.push(new Wr(Re)),Ti(me,null,Nt.component?Li?Li.children:null:_e,Re,pt)})(ni,Nt[ni.value.outlet],_e,Re.concat([ni.value]),pt),delete Nt[ni.value.outlet]}),Object.entries(Nt).forEach(([ni,Li])=>Si(Li,_e.getContext(ni),pt)),pt}function Si(me,Oe,_e){const Re=Tr(me),pt=me.value;Object.entries(Re).forEach(([Nt,ni])=>{Si(ni,pt.component?Oe?Oe.children.getContext(Nt):null:Oe,_e)}),_e.canDeactivateChecks.push(new No(pt.component&&Oe&&Oe.outlet&&Oe.outlet.isActivated?Oe.outlet.component:null,pt))}function Zi(me){return"function"==typeof me}function bt(me){return me instanceof m.K||"EmptyError"===me?.name}const Qt=Symbol("INITIAL_VALUE");function Fi(){return(0,K.w)(me=>(0,M.a)(me.map(Oe=>Oe.pipe((0,q.q)(1),(0,ie.O)(Qt)))).pipe((0,W.U)(Oe=>{for(const _e of Oe)if(!0!==_e){if(_e===Qt)return Qt;if(!1===_e||_e instanceof ze)return _e}return!0}),(0,ae.h)(Oe=>Oe!==Qt),(0,q.q)(1)))}function As(me){return(0,E.z)((0,$.b)(Oe=>{if(Jt(Oe))throw io(0,Oe)}),(0,W.U)(Oe=>!0===Oe))}class vr{constructor(Oe){this.segmentGroup=Oe||null}}class To extends Error{constructor(Oe){super(),this.urlTree=Oe}}function Ga(me){return(0,x._)(new vr(me))}class so{constructor(Oe,_e){this.urlSerializer=Oe,this.urlTree=_e}noMatchError(Oe){return new e.vHH(4002,!1)}lineralizeSegments(Oe,_e){let Re=[],pt=_e.root;for(;;){if(Re=Re.concat(pt.segments),0===pt.numberOfChildren)return(0,A.of)(Re);if(pt.numberOfChildren>1||!pt.children[De])return(0,x._)(new e.vHH(4e3,!1));pt=pt.children[De]}}applyRedirectCommands(Oe,_e,Re){const pt=this.applyRedirectCreateUrlTree(_e,this.urlSerializer.parse(_e),Oe,Re);if(_e.startsWith("/"))throw new To(pt);return pt}applyRedirectCreateUrlTree(Oe,_e,Re,pt){const Nt=this.createSegmentGroup(Oe,_e.root,Re,pt);return new ze(Nt,this.createQueryParams(_e.queryParams,this.urlTree.queryParams),_e.fragment)}createQueryParams(Oe,_e){const Re={};return Object.entries(Oe).forEach(([pt,Nt])=>{if("string"==typeof Nt&&Nt.startsWith(":")){const Li=Nt.substring(1);Re[pt]=_e[Li]}else Re[pt]=Nt}),Re}createSegmentGroup(Oe,_e,Re,pt){const Nt=this.createSegments(Oe,_e.segments,Re,pt);let ni={};return Object.entries(_e.children).forEach(([Li,Ai])=>{ni[Li]=this.createSegmentGroup(Oe,Ai,Re,pt)}),new nt(Nt,ni)}createSegments(Oe,_e,Re,pt){return _e.map(Nt=>Nt.path.startsWith(":")?this.findPosParam(Oe,Nt,pt):this.findOrReturn(Nt,Re))}findPosParam(Oe,_e,Re){const pt=Re[_e.path.substring(1)];if(!pt)throw new e.vHH(4001,!1);return pt}findOrReturn(Oe,_e){let Re=0;for(const pt of _e){if(pt.path===Oe.path)return _e.splice(Re),pt;Re++}return Oe}}const Ho={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function xo(me,Oe,_e,Re,pt){const Nt=An(me,Oe,_e);return Nt.matched?(Re=function Pa(me,Oe){return me.providers&&!me._injector&&(me._injector=(0,e.MMx)(me.providers,Oe,`Route: ${me.path}`)),me._injector??Oe}(Oe,Re),function yo(me,Oe,_e,Re){const pt=Oe.canMatch;if(!pt||0===pt.length)return(0,A.of)(!0);const Nt=pt.map(ni=>{const Li=Vt(ni,me);return qe(function ht(me){return me&&Zi(me.canMatch)}(Li)?Li.canMatch(Oe,_e):me.runInContext(()=>Li(Oe,_e)))});return(0,A.of)(Nt).pipe(Fi(),As())}(Re,Oe,_e).pipe((0,W.U)(ni=>!0===ni?Nt:{...Ho}))):(0,A.of)(Nt)}function An(me,Oe,_e){if(""===Oe.path)return"full"===Oe.pathMatch&&(me.hasChildren()||_e.length>0)?{...Ho}:{matched:!0,consumedSegments:[],remainingSegments:_e,parameters:{},positionalParamSegments:{}};const pt=(Oe.matcher||ye)(_e,me,Oe);if(!pt)return{...Ho};const Nt={};Object.entries(pt.posParams??{}).forEach(([Li,Ai])=>{Nt[Li]=Ai.path});const ni=pt.consumed.length>0?{...Nt,...pt.consumed[pt.consumed.length-1].parameters}:Nt;return{matched:!0,consumedSegments:pt.consumed,remainingSegments:_e.slice(pt.consumed.length),parameters:ni,positionalParamSegments:pt.posParams??{}}}function qo(me,Oe,_e,Re){return _e.length>0&&function Ta(me,Oe,_e){return _e.some(Re=>Ki(me,Oe,Re)&&Xr(Re)!==De)}(me,_e,Re)?{segmentGroup:new nt(Oe,dr(Re,new nt(_e,me.children))),slicedSegments:[]}:0===_e.length&&function rs(me,Oe,_e){return _e.some(Re=>Ki(me,Oe,Re))}(me,_e,Re)?{segmentGroup:new nt(me.segments,ns(me,0,_e,Re,me.children)),slicedSegments:_e}:{segmentGroup:new nt(me.segments,me.children),slicedSegments:_e}}function ns(me,Oe,_e,Re,pt){const Nt={};for(const ni of Re)if(Ki(me,_e,ni)&&!pt[Xr(ni)]){const Li=new nt([],{});Nt[Xr(ni)]=Li}return{...pt,...Nt}}function dr(me,Oe){const _e={};_e[De]=Oe;for(const Re of me)if(""===Re.path&&Xr(Re)!==De){const pt=new nt([],{});_e[Xr(Re)]=pt}return _e}function Ki(me,Oe,_e){return(!(me.hasChildren()||Oe.length>0)||"full"!==_e.pathMatch)&&""===_e.path}class Rr{}class Zs{constructor(Oe,_e,Re,pt,Nt,ni,Li){this.injector=Oe,this.configLoader=_e,this.rootComponentType=Re,this.config=pt,this.urlTree=Nt,this.paramsInheritanceStrategy=ni,this.urlSerializer=Li,this.applyRedirects=new so(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(Oe){return new e.vHH(4002,!1)}recognize(){const Oe=qo(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(Oe).pipe((0,W.U)(_e=>{const Re=new za([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},De,this.rootComponentType,null,{}),pt=new Rn(Re,_e),Nt=new mr("",pt),ni=function qt(me,Oe,_e=null,Re=null){return di(Hi(me),Oe,_e,Re)}(Re,[],this.urlTree.queryParams,this.urlTree.fragment);return ni.queryParams=this.urlTree.queryParams,Nt.url=this.urlSerializer.serialize(ni),this.inheritParamsAndData(Nt._root,null),{state:Nt,tree:ni}}))}match(Oe){return this.processSegmentGroup(this.injector,this.config,Oe,De).pipe((0,he.K)(Re=>{if(Re instanceof To)return this.urlTree=Re.urlTree,this.match(Re.urlTree.root);throw Re instanceof vr?this.noMatchError(Re):Re}))}inheritParamsAndData(Oe,_e){const Re=Oe.value,pt=sa(Re,_e,this.paramsInheritanceStrategy);Re.params=Object.freeze(pt.params),Re.data=Object.freeze(pt.data),Oe.children.forEach(Nt=>this.inheritParamsAndData(Nt,Re))}processSegmentGroup(Oe,_e,Re,pt){return 0===Re.segments.length&&Re.hasChildren()?this.processChildren(Oe,_e,Re):this.processSegment(Oe,_e,Re,Re.segments,pt,!0).pipe((0,W.U)(Nt=>Nt instanceof Rn?[Nt]:[]))}processChildren(Oe,_e,Re){const pt=[];for(const Nt of Object.keys(Re.children))"primary"===Nt?pt.unshift(Nt):pt.push(Nt);return(0,y.D)(pt).pipe((0,xe.b)(Nt=>{const ni=Re.children[Nt],Li=function _s(me,Oe){const _e=me.filter(Re=>Xr(Re)===Oe);return _e.push(...me.filter(Re=>Xr(Re)!==Oe)),_e}(_e,Nt);return this.processSegmentGroup(Oe,Li,ni,Nt)}),(0,S.R)((Nt,ni)=>(Nt.push(...ni),Nt)),(0,n.d)(null),function P(me,Oe){const _e=arguments.length>=2;return Re=>Re.pipe(me?(0,ae.h)((pt,Nt)=>me(pt,Nt,Re)):D.y,h(1),_e?(0,n.d)(Oe):(0,w.T)(()=>new m.K))}(),(0,ue.z)(Nt=>{if(null===Nt)return Ga(Re);const ni=en(Nt);return function co(me){me.sort((Oe,_e)=>Oe.value.outlet===De?-1:_e.value.outlet===De?1:Oe.value.outlet.localeCompare(_e.value.outlet))}(ni),(0,A.of)(ni)}))}processSegment(Oe,_e,Re,pt,Nt,ni){return(0,y.D)(_e).pipe((0,xe.b)(Li=>this.processSegmentAgainstRoute(Li._injector??Oe,_e,Li,Re,pt,Nt,ni).pipe((0,he.K)(Ai=>{if(Ai instanceof vr)return(0,A.of)(null);throw Ai}))),(0,re.P)(Li=>!!Li),(0,he.K)(Li=>{if(bt(Li))return function ha(me,Oe,_e){return 0===Oe.length&&!me.children[_e]}(Re,pt,Nt)?(0,A.of)(new Rr):Ga(Re);throw Li}))}processSegmentAgainstRoute(Oe,_e,Re,pt,Nt,ni,Li){return function Ls(me,Oe,_e,Re){return!!(Xr(me)===Re||Re!==De&&Ki(Oe,_e,me))&&("**"===me.path||An(Oe,me,_e).matched)}(Re,pt,Nt,ni)?void 0===Re.redirectTo?this.matchSegmentAgainstRoute(Oe,pt,Re,Nt,ni):this.allowRedirects&&Li?this.expandSegmentAgainstRouteUsingRedirect(Oe,pt,_e,Re,Nt,ni):Ga(pt):Ga(pt)}expandSegmentAgainstRouteUsingRedirect(Oe,_e,Re,pt,Nt,ni){const{matched:Li,consumedSegments:Ai,positionalParamSegments:cn,remainingSegments:Qn}="**"===pt.path?rr(Nt):An(_e,pt,Nt);if(!Li)return Ga(_e);pt.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const sr=this.applyRedirects.applyRedirectCommands(Ai,pt.redirectTo,cn);return this.applyRedirects.lineralizeSegments(pt,sr).pipe((0,ue.z)(jr=>this.processSegment(Oe,Re,_e,jr.concat(Qn),ni,!1)))}matchSegmentAgainstRoute(Oe,_e,Re,pt,Nt){let ni;return"**"===Re.path?(ni=(0,A.of)(rr(pt)),_e.children={}):ni=xo(_e,Re,pt,Oe),ni.pipe((0,K.w)(Li=>Li.matched?this.getChildConfig(Oe=Re._injector??Oe,Re,pt).pipe((0,K.w)(({routes:Ai})=>{const cn=Re._loadedInjector??Oe,{consumedSegments:Qn,remainingSegments:sr,parameters:jr}=Li,Bo=new za(Qn,jr,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function Jr(me){return me.data||{}}(Re),Xr(Re),Re.component??Re._loadedComponent??null,Re,function qi(me){return me.resolve||{}}(Re)),{segmentGroup:Rs,slicedSegments:Uo}=qo(_e,Qn,sr,Ai);if(0===Uo.length&&Rs.hasChildren())return this.processChildren(cn,Ai,Rs).pipe((0,W.U)(Go=>null===Go?null:new Rn(Bo,Go)));if(0===Ai.length&&0===Uo.length)return(0,A.of)(new Rn(Bo,[]));const rc=Xr(Re)===Nt;return this.processSegment(cn,Ai,Rs,Uo,rc?De:Nt,!0).pipe((0,W.U)(Go=>new Rn(Bo,Go instanceof Rn?[Go]:[])))})):Ga(_e)))}getChildConfig(Oe,_e,Re){return _e.children?(0,A.of)({routes:_e.children,injector:Oe}):_e.loadChildren?void 0!==_e._loadedRoutes?(0,A.of)({routes:_e._loadedRoutes,injector:_e._loadedInjector}):function Yi(me,Oe,_e,Re){const pt=Oe.canLoad;if(void 0===pt||0===pt.length)return(0,A.of)(!0);const Nt=pt.map(ni=>{const Li=Vt(ni,me);return qe(function lr(me){return me&&Zi(me.canLoad)}(Li)?Li.canLoad(Oe,_e):me.runInContext(()=>Li(Oe,_e)))});return(0,A.of)(Nt).pipe(Fi(),As())}(Oe,_e,Re).pipe((0,ue.z)(pt=>pt?this.configLoader.loadChildren(Oe,_e).pipe((0,$.b)(Nt=>{_e._loadedRoutes=Nt.routes,_e._loadedInjector=Nt.injector})):function Ds(me){return(0,x._)(Ar(!1,3))}())):(0,A.of)({routes:[],injector:Oe})}}function Xn(me){const Oe=me.value.routeConfig;return Oe&&""===Oe.path}function en(me){const Oe=[],_e=new Set;for(const Re of me){if(!Xn(Re)){Oe.push(Re);continue}const pt=Oe.find(Nt=>Re.value.routeConfig===Nt.value.routeConfig);void 0!==pt?(pt.children.push(...Re.children),_e.add(pt)):Oe.push(Re)}for(const Re of _e){const pt=en(Re.children);Oe.push(new Rn(Re.value,pt))}return Oe.filter(Re=>!_e.has(Re))}function rr(me){return{matched:!0,parameters:me.length>0?ge(me).parameters:{},consumedSegments:me,remainingSegments:[],positionalParamSegments:{}}}function Cc(me,Oe){return(0,ue.z)(_e=>{const{targetSnapshot:Re,guards:{canActivateChecks:pt}}=_e;if(!pt.length)return(0,A.of)(_e);const Nt=pt.map(cn=>cn.route),ni=new Set(Nt),Li=Vc(Nt[0].parent).slice(1);let Ai=0;return(0,y.D)(Li).pipe((0,xe.b)(cn=>ni.has(cn)?function _l(me,Oe,_e,Re){const pt=me.routeConfig,Nt=me._resolve;return void 0!==pt?.title&&!_a(pt)&&(Nt[st]=pt.title),function ks(me,Oe,_e,Re){const pt=Ce(me);if(0===pt.length)return(0,A.of)({});const Nt={};return(0,y.D)(pt).pipe((0,ue.z)(ni=>function yn(me,Oe,_e,Re){const pt=ro(Oe)??Re,Nt=Vt(me,pt);return qe(Nt.resolve?Nt.resolve(Oe,_e):pt.runInContext(()=>Nt(Oe,_e)))}(me[ni],Oe,_e,Re).pipe((0,re.P)(),(0,$.b)(Li=>{Nt[ni]=Li}))),h(1),(0,v.h)(Nt),(0,he.K)(ni=>bt(ni)?I.E:(0,x._)(ni)))}(Nt,me,Oe,Re).pipe((0,W.U)(ni=>(me._resolvedData=ni,me.data=sa(me,me.parent,_e).resolve,null)))}(cn,Re,me,Oe):(cn.data=sa(cn,cn.parent,me).resolve,(0,A.of)(void 0))),(0,$.b)(()=>Ai++),h(1),(0,ue.z)(cn=>Ai===Li.length?(0,A.of)(_e):I.E))})}function Vc(me){const Oe=me.children.map(_e=>Vc(_e)).flat();return[me,...Oe]}function Se(me){return(0,K.w)(Oe=>{const _e=me(Oe);return _e?(0,y.D)(_e).pipe((0,W.U)(()=>Oe)):(0,A.of)(Oe)})}let dt=(()=>{class me{buildTitle(_e){let Re,pt=_e.root;for(;void 0!==pt;)Re=this.getResolvedTitleForRoute(pt)??Re,pt=pt.children.find(Nt=>Nt.outlet===De);return Re}getResolvedTitleForRoute(_e){return _e.data[st]}static#e=this.\u0275fac=function(Re){return new(Re||me)};static#t=this.\u0275prov=e.Yz7({token:me,factory:()=>(0,e.f3M)(Ye),providedIn:"root"})}return me})(),Ye=(()=>{class me extends dt{constructor(_e){super(),this.title=_e}updateTitle(_e){const Re=this.buildTitle(_e);void 0!==Re&&this.title.setTitle(Re)}static#e=this.\u0275fac=function(Re){return new(Re||me)(e.LFG(te.Dx))};static#t=this.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac,providedIn:"root"})}return me})();const ut=new e.OlP("",{providedIn:"root",factory:()=>({})}),ti=new e.OlP("ROUTES");let Pe=(()=>{class me{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,e.f3M)(e.Sil)}loadComponent(_e){if(this.componentLoaders.get(_e))return this.componentLoaders.get(_e);if(_e._loadedComponent)return(0,A.of)(_e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(_e);const Re=qe(_e.loadComponent()).pipe((0,W.U)(Rt),(0,$.b)(Nt=>{this.onLoadEndListener&&this.onLoadEndListener(_e),_e._loadedComponent=Nt}),(0,r.x)(()=>{this.componentLoaders.delete(_e)})),pt=new k.c(Re,()=>new V.x).pipe((0,g.x)());return this.componentLoaders.set(_e,pt),pt}loadChildren(_e,Re){if(this.childrenLoaders.get(Re))return this.childrenLoaders.get(Re);if(Re._loadedRoutes)return(0,A.of)({routes:Re._loadedRoutes,injector:Re._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(Re);const Nt=function ft(me,Oe,_e,Re){return qe(me.loadChildren()).pipe((0,W.U)(Rt),(0,ue.z)(pt=>pt instanceof e.YKP||Array.isArray(pt)?(0,A.of)(pt):(0,y.D)(Oe.compileModuleAsync(pt))),(0,W.U)(pt=>{Re&&Re(me);let Nt,ni,Li=!1;return Array.isArray(pt)?(ni=pt,!0):(Nt=pt.create(_e).injector,ni=Nt.get(ti,[],{optional:!0,self:!0}).flat()),{routes:ni.map(Ba),injector:Nt}}))}(Re,this.compiler,_e,this.onLoadEndListener).pipe((0,r.x)(()=>{this.childrenLoaders.delete(Re)})),ni=new k.c(Nt,()=>new V.x).pipe((0,g.x)());return this.childrenLoaders.set(Re,ni),ni}static#e=this.\u0275fac=function(Re){return new(Re||me)};static#t=this.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac,providedIn:"root"})}return me})();function Rt(me){return function vt(me){return me&&"object"==typeof me&&"default"in me}(me)?me.default:me}let Kt=(()=>{class me{static#e=this.\u0275fac=function(Re){return new(Re||me)};static#t=this.\u0275prov=e.Yz7({token:me,factory:()=>(0,e.f3M)(ui),providedIn:"root"})}return me})(),ui=(()=>{class me{shouldProcessUrl(_e){return!0}extract(_e){return _e}merge(_e,Re){return _e}static#e=this.\u0275fac=function(Re){return new(Re||me)};static#t=this.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac,providedIn:"root"})}return me})();const li=new e.OlP(""),Ei=new e.OlP("");function Di(me,Oe,_e){const Re=me.get(Ei),pt=me.get(j.K0);return me.get(e.R0b).runOutsideAngular(()=>{if(!pt.startViewTransition||Re.skipNextTransition)return Re.skipNextTransition=!1,Promise.resolve();let Nt;const ni=new Promise(cn=>{Nt=cn}),Li=pt.startViewTransition(()=>(Nt(),function tn(me){return new Promise(Oe=>{(0,e.T8G)(Oe,{injector:me})})}(me))),{onViewTransitionCreated:Ai}=Re;return Ai&&(0,e.r_H)(me,()=>Ai({transition:Li,from:Oe,to:_e})),ni})}let Xi=(()=>{class me{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new V.x,this.transitionAbortSubject=new V.x,this.configLoader=(0,e.f3M)(Pe),this.environmentInjector=(0,e.f3M)(e.lqb),this.urlSerializer=(0,e.f3M)(Et),this.rootContexts=(0,e.f3M)(Gi),this.location=(0,e.f3M)(j.Ye),this.inputBindingEnabled=null!==(0,e.f3M)(wo,{optional:!0}),this.titleStrategy=(0,e.f3M)(dt),this.options=(0,e.f3M)(ut,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,e.f3M)(Kt),this.createViewTransition=(0,e.f3M)(li,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,A.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=pt=>this.events.next(new fr(pt)),this.configLoader.onLoadStartListener=pt=>this.events.next(new hn(pt))}complete(){this.transitions?.complete()}handleNavigationRequest(_e){const Re=++this.navigationId;this.transitions?.next({...this.transitions.value,..._e,id:Re})}setupNavigations(_e,Re,pt){return this.transitions=new l.X({id:0,currentUrlTree:Re,currentRawUrl:Re,extractedUrl:this.urlHandlingStrategy.extract(Re),urlAfterRedirects:this.urlHandlingStrategy.extract(Re),rawUrl:Re,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Bi,restoredState:null,currentSnapshot:pt.snapshot,targetSnapshot:null,currentRouterState:pt,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,ae.h)(Nt=>0!==Nt.id),(0,W.U)(Nt=>({...Nt,extractedUrl:this.urlHandlingStrategy.extract(Nt.rawUrl)})),(0,K.w)(Nt=>{this.currentTransition=Nt;let ni=!1,Li=!1;return(0,A.of)(Nt).pipe((0,$.b)(Ai=>{this.currentNavigation={id:Ai.id,initialUrl:Ai.rawUrl,extractedUrl:Ai.extractedUrl,trigger:Ai.source,extras:Ai.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,K.w)(Ai=>{const cn=!_e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!cn&&"reload"!==(Ai.extras.onSameUrlNavigation??_e.onSameUrlNavigation)){const sr="";return this.events.next(new Ve(Ai.id,this.urlSerializer.serialize(Ai.rawUrl),sr,0)),Ai.resolve(null),I.E}if(this.urlHandlingStrategy.shouldProcessUrl(Ai.rawUrl))return(0,A.of)(Ai).pipe((0,K.w)(sr=>{const jr=this.transitions?.getValue();return this.events.next(new jt(sr.id,this.urlSerializer.serialize(sr.extractedUrl),sr.source,sr.restoredState)),jr!==this.transitions?.getValue()?I.E:Promise.resolve(sr)}),function na(me,Oe,_e,Re,pt,Nt){return(0,ue.z)(ni=>function Is(me,Oe,_e,Re,pt,Nt,ni="emptyOnly"){return new Zs(me,Oe,_e,Re,pt,ni,Nt).recognize()}(me,Oe,_e,Re,ni.extractedUrl,pt,Nt).pipe((0,W.U)(({state:Li,tree:Ai})=>({...ni,targetSnapshot:Li,urlAfterRedirects:Ai}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,_e.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,$.b)(sr=>{Nt.targetSnapshot=sr.targetSnapshot,Nt.urlAfterRedirects=sr.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:sr.urlAfterRedirects};const jr=new gt(sr.id,this.urlSerializer.serialize(sr.extractedUrl),this.urlSerializer.serialize(sr.urlAfterRedirects),sr.targetSnapshot);this.events.next(jr)}));if(cn&&this.urlHandlingStrategy.shouldProcessUrl(Ai.currentRawUrl)){const{id:sr,extractedUrl:jr,source:Bo,restoredState:Rs,extras:Uo}=Ai,rc=new jt(sr,this.urlSerializer.serialize(jr),Bo,Rs);this.events.next(rc);const Go=Cr(0,this.rootComponentType).snapshot;return this.currentTransition=Nt={...Ai,targetSnapshot:Go,urlAfterRedirects:jr,extras:{...Uo,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=jr,(0,A.of)(Nt)}{const sr="";return this.events.next(new Ve(Ai.id,this.urlSerializer.serialize(Ai.extractedUrl),sr,1)),Ai.resolve(null),I.E}}),(0,$.b)(Ai=>{const cn=new ri(Ai.id,this.urlSerializer.serialize(Ai.extractedUrl),this.urlSerializer.serialize(Ai.urlAfterRedirects),Ai.targetSnapshot);this.events.next(cn)}),(0,W.U)(Ai=>(this.currentTransition=Nt={...Ai,guards:vo(Ai.targetSnapshot,Ai.currentSnapshot,this.rootContexts)},Nt)),function Cn(me,Oe){return(0,ue.z)(_e=>{const{targetSnapshot:Re,currentSnapshot:pt,guards:{canActivateChecks:Nt,canDeactivateChecks:ni}}=_e;return 0===ni.length&&0===Nt.length?(0,A.of)({..._e,guardsResult:!0}):function Mr(me,Oe,_e,Re){return(0,y.D)(me).pipe((0,ue.z)(pt=>function Dn(me,Oe,_e,Re,pt){const Nt=Oe&&Oe.routeConfig?Oe.routeConfig.canDeactivate:null;if(!Nt||0===Nt.length)return(0,A.of)(!0);const ni=Nt.map(Li=>{const Ai=ro(Oe)??pt,cn=Vt(Li,Ai);return qe(function Ua(me){return me&&Zi(me.canDeactivate)}(cn)?cn.canDeactivate(me,Oe,_e,Re):Ai.runInContext(()=>cn(me,Oe,_e,Re))).pipe((0,re.P)())});return(0,A.of)(ni).pipe(Fi())}(pt.component,pt.route,_e,Oe,Re)),(0,re.P)(pt=>!0!==pt,!0))}(ni,Re,pt,me).pipe((0,ue.z)(Li=>Li&&function nr(me){return"boolean"==typeof me}(Li)?function Sa(me,Oe,_e,Re){return(0,y.D)(Oe).pipe((0,xe.b)(pt=>(0,O.z)(function Fn(me,Oe){return null!==me&&Oe&&Oe(new ta(me)),(0,A.of)(!0)}(pt.route.parent,Re),function bo(me,Oe){return null!==me&&Oe&&Oe(new Ui(me)),(0,A.of)(!0)}(pt.route,Re),function oo(me,Oe,_e){const Re=Oe[Oe.length-1],Nt=Oe.slice(0,Oe.length-1).reverse().map(ni=>function Eo(me){const Oe=me.routeConfig?me.routeConfig.canActivateChild:null;return Oe&&0!==Oe.length?{node:me,guards:Oe}:null}(ni)).filter(ni=>null!==ni).map(ni=>(0,d.P)(()=>{const Li=ni.guards.map(Ai=>{const cn=ro(ni.node)??_e,Qn=Vt(Ai,cn);return qe(function on(me){return me&&Zi(me.canActivateChild)}(Qn)?Qn.canActivateChild(Re,me):cn.runInContext(()=>Qn(Re,me))).pipe((0,re.P)())});return(0,A.of)(Li).pipe(Fi())}));return(0,A.of)(Nt).pipe(Fi())}(me,pt.path,_e),function zi(me,Oe,_e){const Re=Oe.routeConfig?Oe.routeConfig.canActivate:null;if(!Re||0===Re.length)return(0,A.of)(!0);const pt=Re.map(Nt=>(0,d.P)(()=>{const ni=ro(Oe)??_e,Li=Vt(Nt,ni);return qe(function Yr(me){return me&&Zi(me.canActivate)}(Li)?Li.canActivate(Oe,me):ni.runInContext(()=>Li(Oe,me))).pipe((0,re.P)())}));return(0,A.of)(pt).pipe(Fi())}(me,pt.route,_e))),(0,re.P)(pt=>!0!==pt,!0))}(Re,Nt,me,Oe):(0,A.of)(Li)),(0,W.U)(Li=>({..._e,guardsResult:Li})))})}(this.environmentInjector,Ai=>this.events.next(Ai)),(0,$.b)(Ai=>{if(Nt.guardsResult=Ai.guardsResult,Jt(Ai.guardsResult))throw io(0,Ai.guardsResult);const cn=new Oi(Ai.id,this.urlSerializer.serialize(Ai.extractedUrl),this.urlSerializer.serialize(Ai.urlAfterRedirects),Ai.targetSnapshot,!!Ai.guardsResult);this.events.next(cn)}),(0,ae.h)(Ai=>!!Ai.guardsResult||(this.cancelNavigationTransition(Ai,"",3),!1)),Se(Ai=>{if(Ai.guards.canActivateChecks.length)return(0,A.of)(Ai).pipe((0,$.b)(cn=>{const Qn=new Bn(cn.id,this.urlSerializer.serialize(cn.extractedUrl),this.urlSerializer.serialize(cn.urlAfterRedirects),cn.targetSnapshot);this.events.next(Qn)}),(0,K.w)(cn=>{let Qn=!1;return(0,A.of)(cn).pipe(Cc(this.paramsInheritanceStrategy,this.environmentInjector),(0,$.b)({next:()=>Qn=!0,complete:()=>{Qn||this.cancelNavigationTransition(cn,"",2)}}))}),(0,$.b)(cn=>{const Qn=new cr(cn.id,this.urlSerializer.serialize(cn.extractedUrl),this.urlSerializer.serialize(cn.urlAfterRedirects),cn.targetSnapshot);this.events.next(Qn)}))}),Se(Ai=>{const cn=Qn=>{const sr=[];Qn.routeConfig?.loadComponent&&!Qn.routeConfig._loadedComponent&&sr.push(this.configLoader.loadComponent(Qn.routeConfig).pipe((0,$.b)(jr=>{Qn.component=jr}),(0,W.U)(()=>{})));for(const jr of Qn.children)sr.push(...cn(jr));return sr};return(0,M.a)(cn(Ai.targetSnapshot.root)).pipe((0,n.d)(),(0,q.q)(1))}),Se(()=>this.afterPreactivation()),(0,K.w)(()=>{const{currentSnapshot:Ai,targetSnapshot:cn}=Nt,Qn=this.createViewTransition?.(this.environmentInjector,Ai.root,cn.root);return Qn?(0,y.D)(Qn).pipe((0,W.U)(()=>Nt)):(0,A.of)(Nt)}),(0,W.U)(Ai=>{const cn=function wa(me,Oe,_e){const Re=Pr(me,Oe._root,_e?_e._root:void 0);return new er(Re,Oe)}(_e.routeReuseStrategy,Ai.targetSnapshot,Ai.currentRouterState);return this.currentTransition=Nt={...Ai,targetRouterState:cn},this.currentNavigation.targetRouterState=cn,Nt}),(0,$.b)(()=>{this.events.next(new ei)}),((me,Oe,_e,Re)=>(0,W.U)(pt=>(new ao(Oe,pt.targetRouterState,pt.currentRouterState,_e,Re).activate(me),pt)))(this.rootContexts,_e.routeReuseStrategy,Ai=>this.events.next(Ai),this.inputBindingEnabled),(0,q.q)(1),(0,$.b)({next:Ai=>{ni=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new It(Ai.id,this.urlSerializer.serialize(Ai.extractedUrl),this.urlSerializer.serialize(Ai.urlAfterRedirects))),this.titleStrategy?.updateTitle(Ai.targetRouterState.snapshot),Ai.resolve(!0)},complete:()=>{ni=!0}}),(0,H.R)(this.transitionAbortSubject.pipe((0,$.b)(Ai=>{throw Ai}))),(0,r.x)(()=>{ni||Li||this.cancelNavigationTransition(Nt,"",1),this.currentNavigation?.id===Nt.id&&(this.currentNavigation=null)}),(0,he.K)(Ai=>{if(Li=!0,ia(Ai))this.events.next(new pe(Nt.id,this.urlSerializer.serialize(Nt.extractedUrl),Ai.message,Ai.cancellationCode)),function Qo(me){return ia(me)&&Jt(me.url)}(Ai)?this.events.next(new Mi(Ai.url)):Nt.resolve(!1);else{this.events.next(new Xe(Nt.id,this.urlSerializer.serialize(Nt.extractedUrl),Ai,Nt.targetSnapshot??void 0));try{Nt.resolve(_e.errorHandler(Ai))}catch(cn){Nt.reject(cn)}}return I.E}))}))}cancelNavigationTransition(_e,Re,pt){const Nt=new pe(_e.id,this.urlSerializer.serialize(_e.extractedUrl),Re,pt);this.events.next(Nt),_e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(Re){return new(Re||me)};static#t=this.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac,providedIn:"root"})}return me})();function fn(me){return me!==Bi}let Tn=(()=>{class me{static#e=this.\u0275fac=function(Re){return new(Re||me)};static#t=this.\u0275prov=e.Yz7({token:me,factory:()=>(0,e.f3M)(Dr),providedIn:"root"})}return me})();class Nn{shouldDetach(Oe){return!1}store(Oe,_e){}shouldAttach(Oe){return!1}retrieve(Oe){return null}shouldReuseRoute(Oe,_e){return Oe.routeConfig===_e.routeConfig}}let Dr=(()=>{class me extends Nn{static#e=this.\u0275fac=(()=>{let _e;return function(pt){return(_e||(_e=e.n5z(me)))(pt||me)}})();static#t=this.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac,providedIn:"root"})}return me})(),Fr=(()=>{class me{static#e=this.\u0275fac=function(Re){return new(Re||me)};static#t=this.\u0275prov=e.Yz7({token:me,factory:()=>(0,e.f3M)(ua),providedIn:"root"})}return me})(),ua=(()=>{class me extends Fr{constructor(){super(...arguments),this.location=(0,e.f3M)(j.Ye),this.urlSerializer=(0,e.f3M)(Et),this.options=(0,e.f3M)(ut,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,e.f3M)(Kt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new ze,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Cr(0,null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(_e){return this.location.subscribe(Re=>{"popstate"===Re.type&&_e(Re.url,Re.state)})}handleRouterEvent(_e,Re){if(_e instanceof jt)this.stateMemento=this.createStateMemento();else if(_e instanceof Ve)this.rawUrlTree=Re.initialUrl;else if(_e instanceof gt){if("eager"===this.urlUpdateStrategy&&!Re.extras.skipLocationChange){const pt=this.urlHandlingStrategy.merge(Re.finalUrl,Re.initialUrl);this.setBrowserUrl(pt,Re)}}else _e instanceof ei?(this.currentUrlTree=Re.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(Re.finalUrl,Re.initialUrl),this.routerState=Re.targetRouterState,"deferred"===this.urlUpdateStrategy&&(Re.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,Re))):_e instanceof pe&&(3===_e.code||2===_e.code)?this.restoreHistory(Re):_e instanceof Xe?this.restoreHistory(Re,!0):_e instanceof It&&(this.lastSuccessfulId=_e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(_e,Re){const pt=this.urlSerializer.serialize(_e);if(this.location.isCurrentPathEqualTo(pt)||Re.extras.replaceUrl){const ni={...Re.extras.state,...this.generateNgRouterState(Re.id,this.browserPageId)};this.location.replaceState(pt,"",ni)}else{const Nt={...Re.extras.state,...this.generateNgRouterState(Re.id,this.browserPageId+1)};this.location.go(pt,"",Nt)}}restoreHistory(_e,Re=!1){if("computed"===this.canceledNavigationResolution){const Nt=this.currentPageId-this.browserPageId;0!==Nt?this.location.historyGo(Nt):this.currentUrlTree===_e.finalUrl&&0===Nt&&(this.resetState(_e),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(Re&&this.resetState(_e),this.resetUrlToCurrentUrlTree())}resetState(_e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,_e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(_e,Re){return"computed"===this.canceledNavigationResolution?{navigationId:_e,\u0275routerPageId:Re}:{navigationId:_e}}static#e=this.\u0275fac=(()=>{let _e;return function(pt){return(_e||(_e=e.n5z(me)))(pt||me)}})();static#t=this.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac,providedIn:"root"})}return me})();var ra=function(me){return me[me.COMPLETE=0]="COMPLETE",me[me.FAILED=1]="FAILED",me[me.REDIRECTING=2]="REDIRECTING",me}(ra||{});function Aa(me,Oe){me.events.pipe((0,ae.h)(_e=>_e instanceof It||_e instanceof pe||_e instanceof Xe||_e instanceof Ve),(0,W.U)(_e=>_e instanceof It||_e instanceof Ve?ra.COMPLETE:_e instanceof pe&&(0===_e.code||1===_e.code)?ra.REDIRECTING:ra.FAILED),(0,ae.h)(_e=>_e!==ra.REDIRECTING),(0,q.q)(1)).subscribe(()=>{Oe()})}function Nr(me){throw me}const Ao={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ja={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let zn=(()=>{class me{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,e.f3M)(e.c2e),this.stateManager=(0,e.f3M)(Fr),this.options=(0,e.f3M)(ut,{optional:!0})||{},this.pendingTasks=(0,e.f3M)(e.HDt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,e.f3M)(Xi),this.urlSerializer=(0,e.f3M)(Et),this.location=(0,e.f3M)(j.Ye),this.urlHandlingStrategy=(0,e.f3M)(Kt),this._events=new V.x,this.errorHandler=this.options.errorHandler||Nr,this.navigated=!1,this.routeReuseStrategy=(0,e.f3M)(Tn),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,e.f3M)(ti,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,e.f3M)(wo,{optional:!0}),this.eventsSubscription=new G.w0,this.isNgZoneEnabled=(0,e.f3M)(e.R0b)instanceof e.R0b&&e.R0b.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:_e=>{this.console.warn(_e)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const _e=this.navigationTransitions.events.subscribe(Re=>{try{const pt=this.navigationTransitions.currentTransition,Nt=this.navigationTransitions.currentNavigation;if(null!==pt&&null!==Nt)if(this.stateManager.handleRouterEvent(Re,Nt),Re instanceof pe&&0!==Re.code&&1!==Re.code)this.navigated=!0;else if(Re instanceof It)this.navigated=!0;else if(Re instanceof Mi){const ni=this.urlHandlingStrategy.merge(Re.url,pt.currentRawUrl),Li={skipLocationChange:pt.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||fn(pt.source)};this.scheduleNavigation(ni,Bi,null,Li,{resolve:pt.resolve,reject:pt.reject,promise:pt.promise})}(function vs(me){return!(me instanceof ei||me instanceof Mi)})(Re)&&this._events.next(Re)}catch(pt){this.navigationTransitions.transitionAbortSubject.next(pt)}});this.eventsSubscription.add(_e)}resetRootComponentType(_e){this.routerState.root.component=_e,this.navigationTransitions.rootComponentType=_e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Bi,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((_e,Re)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(_e,"popstate",Re)},0)}))}navigateToSyncWithBrowser(_e,Re,pt){const Nt={replaceUrl:!0},ni=pt?.navigationId?pt:null;if(pt){const Ai={...pt};delete Ai.navigationId,delete Ai.\u0275routerPageId,0!==Object.keys(Ai).length&&(Nt.state=Ai)}const Li=this.parseUrl(_e);this.scheduleNavigation(Li,Re,ni,Nt)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(_e){this.config=_e.map(Ba),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(_e,Re={}){const{relativeTo:pt,queryParams:Nt,fragment:ni,queryParamsHandling:Li,preserveFragment:Ai}=Re,cn=Ai?this.currentUrlTree.fragment:ni;let sr,Qn=null;switch(Li){case"merge":Qn={...this.currentUrlTree.queryParams,...Nt};break;case"preserve":Qn=this.currentUrlTree.queryParams;break;default:Qn=Nt||null}null!==Qn&&(Qn=this.removeEmptyProps(Qn));try{sr=Hi(pt?pt.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof _e[0]||!_e[0].startsWith("/"))&&(_e=[]),sr=this.currentUrlTree.root}return di(sr,_e,Qn,cn??null)}navigateByUrl(_e,Re={skipLocationChange:!1}){const pt=Jt(_e)?_e:this.parseUrl(_e),Nt=this.urlHandlingStrategy.merge(pt,this.rawUrlTree);return this.scheduleNavigation(Nt,Bi,null,Re)}navigate(_e,Re={skipLocationChange:!1}){return function Xo(me){for(let Oe=0;Oe<me.length;Oe++)if(null==me[Oe])throw new e.vHH(4008,!1)}(_e),this.navigateByUrl(this.createUrlTree(_e,Re),Re)}serializeUrl(_e){return this.urlSerializer.serialize(_e)}parseUrl(_e){try{return this.urlSerializer.parse(_e)}catch{return this.urlSerializer.parse("/")}}isActive(_e,Re){let pt;if(pt=!0===Re?{...Ao}:!1===Re?{...Ja}:Re,Jt(_e))return ce(this.currentUrlTree,_e,pt);const Nt=this.parseUrl(_e);return ce(this.currentUrlTree,Nt,pt)}removeEmptyProps(_e){return Object.keys(_e).reduce((Re,pt)=>{const Nt=_e[pt];return null!=Nt&&(Re[pt]=Nt),Re},{})}scheduleNavigation(_e,Re,pt,Nt,ni){if(this.disposed)return Promise.resolve(!1);let Li,Ai,cn;ni?(Li=ni.resolve,Ai=ni.reject,cn=ni.promise):cn=new Promise((sr,jr)=>{Li=sr,Ai=jr});const Qn=this.pendingTasks.add();return Aa(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Qn))}),this.navigationTransitions.handleNavigationRequest({source:Re,restoredState:pt,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:_e,extras:Nt,resolve:Li,reject:Ai,promise:cn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),cn.catch(sr=>Promise.reject(sr))}static#e=this.\u0275fac=function(Re){return new(Re||me)};static#t=this.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac,providedIn:"root"})}return me})(),Sr=(()=>{class me{constructor(_e,Re,pt,Nt,ni,Li){this.router=_e,this.route=Re,this.tabIndexAttribute=pt,this.renderer=Nt,this.el=ni,this.locationStrategy=Li,this.href=null,this.commands=null,this.onChanges=new V.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const Ai=ni.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Ai||"area"===Ai,this.isAnchorElement?this.subscription=_e.events.subscribe(cn=>{cn instanceof It&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(_e){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",_e)}ngOnChanges(_e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(_e){null!=_e?(this.commands=Array.isArray(_e)?_e:[_e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(_e,Re,pt,Nt,ni){return!!(null===this.urlTree||this.isAnchorElement&&(0!==_e||Re||pt||Nt||ni||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const _e=null===this.href?null:(0,e.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",_e)}applyAttributeValue(_e,Re){const pt=this.renderer,Nt=this.el.nativeElement;null!==Re?pt.setAttribute(Nt,_e,Re):pt.removeAttribute(Nt,_e)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(Re){return new(Re||me)(e.Y36(zn),e.Y36(pa),e.$8M("tabindex"),e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(j.S$))};static#t=this.\u0275dir=e.lG2({type:me,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(Re,pt){1&Re&&e.NdJ("click",function(ni){return pt.onClick(ni.button,ni.ctrlKey,ni.shiftKey,ni.altKey,ni.metaKey)}),2&Re&&e.uIk("target",pt.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",e.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",e.VuI],replaceUrl:["replaceUrl","replaceUrl",e.VuI],routerLink:"routerLink"},standalone:!0,features:[e.Xq5,e.TTD]})}return me})(),Bc=(()=>{class me{get isActive(){return this._isActive}constructor(_e,Re,pt,Nt,ni){this.router=_e,this.element=Re,this.renderer=pt,this.cdr=Nt,this.link=ni,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new e.vpe,this.routerEventsSubscription=_e.events.subscribe(Li=>{Li instanceof It&&this.update()})}ngAfterContentInit(){(0,A.of)(this.links.changes,(0,A.of)(null)).pipe((0,N.J)()).subscribe(_e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const _e=[...this.links.toArray(),this.link].filter(Re=>!!Re).map(Re=>Re.onChanges);this.linkInputChangesSubscription=(0,y.D)(_e).pipe((0,N.J)()).subscribe(Re=>{this._isActive!==this.isLinkActive(this.router)(Re)&&this.update()})}set routerLinkActive(_e){const Re=Array.isArray(_e)?_e:_e.split(" ");this.classes=Re.filter(pt=>!!pt)}ngOnChanges(_e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const _e=this.hasActiveLinks();this._isActive!==_e&&(this._isActive=_e,this.cdr.markForCheck(),this.classes.forEach(Re=>{_e?this.renderer.addClass(this.element.nativeElement,Re):this.renderer.removeClass(this.element.nativeElement,Re)}),_e&&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(_e))})}isLinkActive(_e){const Re=function wc(me){return!!me.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return pt=>!!pt.urlTree&&_e.isActive(pt.urlTree,Re)}hasActiveLinks(){const _e=this.isLinkActive(this.router);return this.link&&_e(this.link)||this.links.some(_e)}static#e=this.\u0275fac=function(Re){return new(Re||me)(e.Y36(zn),e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(e.sBO),e.Y36(Sr,8))};static#t=this.\u0275dir=e.lG2({type:me,selectors:[["","routerLinkActive",""]],contentQueries:function(Re,pt,Nt){if(1&Re&&e.Suo(Nt,Sr,5),2&Re){let ni;e.iGM(ni=e.CRH())&&(pt.links=ni)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[e.TTD]})}return me})();class Os{}let vl=(()=>{class me{constructor(_e,Re,pt,Nt,ni){this.router=_e,this.injector=pt,this.preloadingStrategy=Nt,this.loader=ni}setUpPreloading(){this.subscription=this.router.events.pipe((0,ae.h)(_e=>_e instanceof It),(0,xe.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(_e,Re){const pt=[];for(const Nt of Re){Nt.providers&&!Nt._injector&&(Nt._injector=(0,e.MMx)(Nt.providers,_e,`Route: ${Nt.path}`));const ni=Nt._injector??_e,Li=Nt._loadedInjector??ni;(Nt.loadChildren&&!Nt._loadedRoutes&&void 0===Nt.canLoad||Nt.loadComponent&&!Nt._loadedComponent)&&pt.push(this.preloadConfig(ni,Nt)),(Nt.children||Nt._loadedRoutes)&&pt.push(this.processRoutes(Li,Nt.children??Nt._loadedRoutes))}return(0,y.D)(pt).pipe((0,N.J)())}preloadConfig(_e,Re){return this.preloadingStrategy.preload(Re,()=>{let pt;pt=Re.loadChildren&&void 0===Re.canLoad?this.loader.loadChildren(_e,Re):(0,A.of)(null);const Nt=pt.pipe((0,ue.z)(ni=>null===ni?(0,A.of)(void 0):(Re._loadedRoutes=ni.routes,Re._loadedInjector=ni.injector,this.processRoutes(ni.injector??_e,ni.routes))));if(Re.loadComponent&&!Re._loadedComponent){const ni=this.loader.loadComponent(Re);return(0,y.D)([Nt,ni]).pipe((0,N.J)())}return Nt})}static#e=this.\u0275fac=function(Re){return new(Re||me)(e.LFG(zn),e.LFG(e.Sil),e.LFG(e.lqb),e.LFG(Os),e.LFG(Pe))};static#t=this.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac,providedIn:"root"})}return me})();const Uc=new e.OlP("");let Jo=(()=>{class me{constructor(_e,Re,pt,Nt,ni={}){this.urlSerializer=_e,this.transitions=Re,this.viewportScroller=pt,this.zone=Nt,this.options=ni,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},ni.scrollPositionRestoration=ni.scrollPositionRestoration||"disabled",ni.anchorScrolling=ni.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(_e=>{_e instanceof jt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=_e.navigationTrigger,this.restoredId=_e.restoredState?_e.restoredState.navigationId:0):_e instanceof It?(this.lastId=_e.id,this.scheduleScrollEvent(_e,this.urlSerializer.parse(_e.urlAfterRedirects).fragment)):_e instanceof Ve&&0===_e.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(_e,this.urlSerializer.parse(_e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(_e=>{_e instanceof qn&&(_e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(_e.position):_e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(_e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(_e,Re){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new qn(_e,"popstate"===this.lastSource?this.store[this.restoredId]:null,Re))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(Re){e.$Z()};static#t=this.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac})}return me})();function Ra(me,Oe){return{\u0275kind:me,\u0275providers:Oe}}function kn(){const me=(0,e.f3M)(e.zs3);return Oe=>{const _e=me.get(e.z2F);if(Oe!==_e.components[0])return;const Re=me.get(zn),pt=me.get(Vo);1===me.get(Ws)&&Re.initialNavigation(),me.get(g1,null,e.XFs.Optional)?.setUpPreloading(),me.get(Uc,null,e.XFs.Optional)?.init(),Re.resetRootComponentType(_e.componentTypes[0]),pt.closed||(pt.next(),pt.complete(),pt.unsubscribe())}}const Vo=new e.OlP("",{factory:()=>new V.x}),Ws=new e.OlP("",{providedIn:"root",factory:()=>1}),g1=new e.OlP("");function ic(me){return Ra(0,[{provide:g1,useExisting:vl},{provide:Os,useExisting:me}])}function Md(me){return Ra(9,[{provide:li,useValue:Di},{provide:Ei,useValue:{skipNextTransition:!!me?.skipInitialTransition,...me}}])}const ar=new e.OlP("ROUTER_FORROOT_GUARD"),Cl=[j.Ye,{provide:Et,useClass:lt},zn,Gi,{provide:pa,useFactory:function Ps(me){return me.routerState.root},deps:[zn]},Pe,[]];let Mc=(()=>{class me{constructor(_e){}static forRoot(_e,Re){return{ngModule:me,providers:[Cl,[],{provide:ti,multi:!0,useValue:_e},{provide:ar,useFactory:zr,deps:[[zn,new e.FiY,new e.tp0]]},{provide:ut,useValue:Re||{}},Re?.useHash?{provide:j.S$,useClass:j.Do}:{provide:j.S$,useClass:j.b0},{provide:Uc,useFactory:()=>{const me=(0,e.f3M)(j.EM),Oe=(0,e.f3M)(e.R0b),_e=(0,e.f3M)(ut),Re=(0,e.f3M)(Xi),pt=(0,e.f3M)(Et);return _e.scrollOffset&&me.setOffset(_e.scrollOffset),new Jo(pt,Re,me,Oe,_e)}},Re?.preloadingStrategy?ic(Re.preloadingStrategy).\u0275providers:[],Re?.initialNavigation?Na(Re):[],Re?.bindToComponentInputs?Ra(8,[Qr,{provide:wo,useExisting:Qr}]).\u0275providers:[],Re?.enableViewTransitions?Md().\u0275providers:[],[{provide:Sc,useFactory:kn},{provide:e.tb,multi:!0,useExisting:Sc}]]}}static forChild(_e){return{ngModule:me,providers:[{provide:ti,multi:!0,useValue:_e}]}}static#e=this.\u0275fac=function(Re){return new(Re||me)(e.LFG(ar,8))};static#t=this.\u0275mod=e.oAB({type:me});static#i=this.\u0275inj=e.cJS({})}return me})();function zr(me){return"guarded"}function Na(me){return["disabled"===me.initialNavigation?Ra(3,[{provide:e.ip1,multi:!0,useFactory:()=>{const Oe=(0,e.f3M)(zn);return()=>{Oe.setUpLocationChangeListener()}}},{provide:Ws,useValue:2}]).\u0275providers:[],"enabledBlocking"===me.initialNavigation?Ra(2,[{provide:Ws,useValue:0},{provide:e.ip1,multi:!0,deps:[e.zs3],useFactory:Oe=>{const _e=Oe.get(j.V_,Promise.resolve());return()=>_e.then(()=>new Promise(Re=>{const pt=Oe.get(zn),Nt=Oe.get(Vo);Aa(pt,()=>{Re(!0)}),Oe.get(Xi).afterPreactivation=()=>(Re(!0),Nt.closed?(0,A.of)(void 0):Nt),pt.initialNavigation()}))}}]).\u0275providers:[]]}const Sc=new e.OlP("")},5597:(He,X,p)=>{"use strict";p.d(X,{BN:()=>ks,uH:()=>ti});var e=p(9212);function t(Pe,ft){var vt=Object.keys(Pe);if(Object.getOwnPropertySymbols){var Rt=Object.getOwnPropertySymbols(Pe);ft&&(Rt=Rt.filter(function(Kt){return Object.getOwnPropertyDescriptor(Pe,Kt).enumerable})),vt.push.apply(vt,Rt)}return vt}function y(Pe){for(var ft=1;ft<arguments.length;ft++){var vt=null!=arguments[ft]?arguments[ft]:{};ft%2?t(Object(vt),!0).forEach(function(Rt){d(Pe,Rt,vt[Rt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Pe,Object.getOwnPropertyDescriptors(vt)):t(Object(vt)).forEach(function(Rt){Object.defineProperty(Pe,Rt,Object.getOwnPropertyDescriptor(vt,Rt))})}return Pe}function A(Pe){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(ft){return typeof ft}:function(ft){return ft&&"function"==typeof Symbol&&ft.constructor===Symbol&&ft!==Symbol.prototype?"symbol":typeof ft})(Pe)}function m(Pe,ft){for(var vt=0;vt<ft.length;vt++){var Rt=ft[vt];Rt.enumerable=Rt.enumerable||!1,Rt.configurable=!0,"value"in Rt&&(Rt.writable=!0),Object.defineProperty(Pe,Rt.key,Rt)}}function d(Pe,ft,vt){return ft in Pe?Object.defineProperty(Pe,ft,{value:vt,enumerable:!0,configurable:!0,writable:!0}):Pe[ft]=vt,Pe}function I(Pe,ft){return function G(Pe){if(Array.isArray(Pe))return Pe}(Pe)||function W(Pe,ft){var vt=null==Pe?null:typeof Symbol<"u"&&Pe[Symbol.iterator]||Pe["@@iterator"];if(null!=vt){var li,Ei,Rt=[],Kt=!0,ui=!1;try{for(vt=vt.call(Pe);!(Kt=(li=vt.next()).done)&&(Rt.push(li.value),!ft||Rt.length!==ft);Kt=!0);}catch(Di){ui=!0,Ei=Di}finally{try{!Kt&&null!=vt.return&&vt.return()}finally{if(ui)throw Ei}}return Rt}}(Pe,ft)||K(Pe,ft)||function ae(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(Pe){return function V(Pe){if(Array.isArray(Pe))return q(Pe)}(Pe)||function j(Pe){if(typeof Symbol<"u"&&null!=Pe[Symbol.iterator]||null!=Pe["@@iterator"])return Array.from(Pe)}(Pe)||K(Pe)||function ie(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function K(Pe,ft){if(Pe){if("string"==typeof Pe)return q(Pe,ft);var vt=Object.prototype.toString.call(Pe).slice(8,-1);if("Object"===vt&&Pe.constructor&&(vt=Pe.constructor.name),"Map"===vt||"Set"===vt)return Array.from(Pe);if("Arguments"===vt||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(vt))return q(Pe,ft)}}function q(Pe,ft){(null==ft||ft>Pe.length)&&(ft=Pe.length);for(var vt=0,Rt=new Array(ft);vt<ft;vt++)Rt[vt]=Pe[vt];return Rt}var ue=function(){},re={},xe={},$=null,he={mark:ue,measure:ue};try{typeof window<"u"&&(re=window),typeof document<"u"&&(xe=document),typeof MutationObserver<"u"&&($=MutationObserver),typeof performance<"u"&&(he=performance)}catch{}var g,H,N,te,De,n=(re.navigator||{}).userAgent,s=void 0===n?"":n,f=re,h=xe,w=$,D=he,v=!!h.documentElement&&!!h.head&&"function"==typeof h.addEventListener&&"function"==typeof h.createElement,r=~s.indexOf("MSIE")||~s.indexOf("Trident/"),st="___FONT_AWESOME___",$e="fa",ye="svg-inline--fa",fe="data-fa-i2svg",de="data-fa-pseudo-element",Ce="data-fa-pseudo-element-pending",le="data-prefix",ge="data-icon",qe="fontawesome-i2svg",oe="async",ve=["HTML","HEAD","STYLE","SCRIPT"],ce=function(){try{return!0}catch{return!1}}(),Ge="classic",Ze="sharp",wt=[Ge,Ze];function mt(Pe){return new Proxy(Pe,{get:function(vt,Rt){return Rt in vt?vt[Rt]:vt[Ge]}})}var kt=mt((d(g={},Ge,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit"}),d(g,Ze,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),g)),Ae=mt((d(H={},Ge,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),d(H,Ze,{solid:"fass",regular:"fasr",light:"fasl"}),H)),ze=mt((d(N={},Ge,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),d(N,Ze,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),N)),nt=mt((d(te={},Ge,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),d(te,Ze,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),te)),et=/fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/,ke="fa-layers-text",ct=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,Qe=mt((d(De={},Ge,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),d(De,Ze,{900:"fass",400:"fasr",300:"fasl"}),De)),Et=[1,2,3,4,5,6,7,8,9,10],lt=Et.concat([11,12,13,14,15,16,17,18,19,20]),Ke=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Be={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Xt=new Set;Object.keys(Ae[Ge]).map(Xt.add.bind(Xt)),Object.keys(Ae[Ze]).map(Xt.add.bind(Xt));var J=[].concat(wt,k(Xt),["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",Be.GROUP,Be.SWAP_OPACITY,Be.PRIMARY,Be.SECONDARY]).concat(Et.map(function(Pe){return"".concat(Pe,"x")})).concat(lt.map(function(Pe){return"w-".concat(Pe)})),We=f.FontAwesomeConfig||{};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(Pe){var ft=I(Pe,2),Rt=ft[1],Kt=function Ct(Pe){return""===Pe||"false"!==Pe&&("true"===Pe||Pe)}(function Ft(Pe){var ft=h.querySelector("script["+Pe+"]");if(ft)return ft.getAttribute(Pe)}(ft[0]));null!=Kt&&(We[Rt]=Kt)});var xt={styleDefault:"solid",familyDefault:"classic",cssPrefix:$e,replacementClass:ye,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};We.familyPrefix&&(We.cssPrefix=We.familyPrefix);var rt=y(y({},xt),We);rt.autoReplaceSvg||(rt.observeMutations=!1);var Ee={};Object.keys(xt).forEach(function(Pe){Object.defineProperty(Ee,Pe,{enumerable:!0,set:function(vt){rt[Pe]=vt,it.forEach(function(Rt){return Rt(Ee)})},get:function(){return rt[Pe]}})}),Object.defineProperty(Ee,"familyPrefix",{enumerable:!0,set:function(ft){rt.cssPrefix=ft,it.forEach(function(vt){return vt(Ee)})},get:function(){return rt.cssPrefix}}),f.FontAwesomeConfig=Ee;var it=[],_t={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},be="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function ee(){for(var Pe=12,ft="";Pe-- >0;)ft+=be[62*Math.random()|0];return ft}function ne(Pe){for(var ft=[],vt=(Pe||[]).length>>>0;vt--;)ft[vt]=Pe[vt];return ft}function Ie(Pe){return Pe.classList?ne(Pe.classList):(Pe.getAttribute("class")||"").split(" ").filter(function(ft){return ft})}function Ht(Pe){return"".concat(Pe).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Zt(Pe){return Object.keys(Pe||{}).reduce(function(ft,vt){return ft+"".concat(vt,": ").concat(Pe[vt].trim(),";")},"")}function pi(Pe){return Pe.size!==_t.size||Pe.x!==_t.x||Pe.y!==_t.y||Pe.rotate!==_t.rotate||Pe.flipX||Pe.flipY}var Hi=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function di(){var Pe=$e,ft=ye,vt=Ee.cssPrefix,Rt=Ee.replacementClass,Kt=Hi;if(vt!==Pe||Rt!==ft){var ui=new RegExp("\\.".concat(Pe,"\\-"),"g"),li=new RegExp("\\--".concat(Pe,"\\-"),"g"),Ei=new RegExp("\\.".concat(ft),"g");Kt=Kt.replace(ui,".".concat(vt,"-")).replace(li,"--".concat(vt,"-")).replace(Ei,".".concat(Rt))}return Kt}var fi=!1;function un(){Ee.autoAddCss&&!fi&&(function Le(Pe){if(Pe&&v){var ft=h.createElement("style");ft.setAttribute("type","text/css"),ft.innerHTML=Pe;for(var vt=h.head.childNodes,Rt=null,Kt=vt.length-1;Kt>-1;Kt--){var ui=vt[Kt],li=(ui.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(li)>-1&&(Rt=ui)}h.head.insertBefore(ft,Rt)}}(di()),fi=!0)}var Qi={mixout:function(){return{dom:{css:di,insertCss:un}}},hooks:function(){return{beforeDOMElementCreation:function(){un()},beforeI2svg:function(){un()}}}},xi=f||{};xi[st]||(xi[st]={}),xi[st].styles||(xi[st].styles={}),xi[st].hooks||(xi[st].hooks={}),xi[st].shims||(xi[st].shims=[]);var sn=xi[st],ot=[],we=!1;function zt(Pe){var ft=Pe.tag,vt=Pe.attributes,Rt=void 0===vt?{}:vt,Kt=Pe.children,ui=void 0===Kt?[]:Kt;return"string"==typeof Pe?Ht(Pe):"<".concat(ft," ").concat(function At(Pe){return Object.keys(Pe||{}).reduce(function(ft,vt){return ft+"".concat(vt,'="').concat(Ht(Pe[vt]),'" ')},"").trim()}(Rt),">").concat(ui.map(zt).join(""),"</").concat(ft,">")}function Dt(Pe,ft,vt){if(Pe&&Pe[ft]&&Pe[ft][vt])return{prefix:ft,iconName:vt,icon:Pe[ft][vt]}}v&&((we=(h.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(h.readyState))||h.addEventListener("DOMContentLoaded",function Pe(){h.removeEventListener("DOMContentLoaded",Pe),we=1,ot.map(function(ft){return ft()})}));var Bt=function(ft,vt,Rt,Kt){var Di,tn,Xi,ui=Object.keys(ft),li=ui.length,Ei=void 0!==Kt?function(ft,vt){return function(Rt,Kt,ui,li){return ft.call(vt,Rt,Kt,ui,li)}}(vt,Kt):vt;for(void 0===Rt?(Di=1,Xi=ft[ui[0]]):(Di=0,Xi=Rt);Di<li;Di++)Xi=Ei(Xi,ft[tn=ui[Di]],tn,ft);return Xi};function vi(Pe){var ft=function ai(Pe){for(var ft=[],vt=0,Rt=Pe.length;vt<Rt;){var Kt=Pe.charCodeAt(vt++);if(Kt>=55296&&Kt<=56319&&vt<Rt){var ui=Pe.charCodeAt(vt++);56320==(64512&ui)?ft.push(((1023&Kt)<<10)+(1023&ui)+65536):(ft.push(Kt),vt--)}else ft.push(Kt)}return ft}(Pe);return 1===ft.length?ft[0].toString(16):null}function ki(Pe){return Object.keys(Pe).reduce(function(ft,vt){var Rt=Pe[vt];return Rt.icon?ft[Rt.iconName]=Rt.icon:ft[vt]=Rt,ft},{})}function Bi(Pe,ft){var Rt=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,Kt=void 0!==Rt&&Rt,ui=ki(ft);"function"!=typeof sn.hooks.addPack||Kt?sn.styles[Pe]=y(y({},sn.styles[Pe]||{}),ui):sn.hooks.addPack(Pe,ki(ft)),"fas"===Pe&&Bi("fa",ft)}var jt,It,pe,Ve=sn.styles,Xe=sn.shims,gt=(d(jt={},Ge,Object.values(ze[Ge])),d(jt,Ze,Object.values(ze[Ze])),jt),ri=null,Oi={},Bn={},cr={},hn={},fr={},ta=(d(It={},Ge,Object.keys(kt[Ge])),d(It,Ze,Object.keys(kt[Ze])),It);var rn=function(){var ft=function(ui){return Bt(Ve,function(li,Ei,Di){return li[Di]=Bt(Ei,ui,{}),li},{})};Oi=ft(function(Kt,ui,li){return ui[3]&&(Kt[ui[3]]=li),ui[2]&&ui[2].filter(function(Di){return"number"==typeof Di}).forEach(function(Di){Kt[Di.toString(16)]=li}),Kt}),Bn=ft(function(Kt,ui,li){return Kt[li]=li,ui[2]&&ui[2].filter(function(Di){return"string"==typeof Di}).forEach(function(Di){Kt[Di]=li}),Kt}),fr=ft(function(Kt,ui,li){var Ei=ui[2];return Kt[li]=li,Ei.forEach(function(Di){Kt[Di]=li}),Kt});var vt="far"in Ve||Ee.autoFetchSvg,Rt=Bt(Xe,function(Kt,ui){var li=ui[0],Ei=ui[1],Di=ui[2];return"far"===Ei&&!vt&&(Ei="fas"),"string"==typeof li&&(Kt.names[li]={prefix:Ei,iconName:Di}),"number"==typeof li&&(Kt.unicodes[li.toString(16)]={prefix:Ei,iconName:Di}),Kt},{names:{},unicodes:{}});cr=Rt.names,hn=Rt.unicodes,ri=xn(Ee.styleDefault,{family:Ee.familyDefault})};function qn(Pe,ft){return(Oi[Pe]||{})[ft]}function Mi(Pe,ft){return(fr[Pe]||{})[ft]}function gi(Pe){return cr[Pe]||{prefix:null,iconName:null}}function Gi(){return ri}(function Ue(Pe){it.push(Pe)})(function(Pe){ri=xn(Pe.styleDefault,{family:Ee.familyDefault})}),rn();var Ji=function(){return{prefix:null,iconName:null,rest:[]}};function xn(Pe){var vt=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,Rt=void 0===vt?Ge:vt;return Ae[Rt][Pe]||Ae[Rt][kt[Rt][Pe]]||(Pe in sn.styles?Pe:null)||null}var jn=(d(pe={},Ge,Object.keys(ze[Ge])),d(pe,Ze,Object.keys(ze[Ze])),pe);function Rn(Pe){var ft,Rt=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,Kt=void 0!==Rt&&Rt,ui=(d(ft={},Ge,"".concat(Ee.cssPrefix,"-").concat(Ge)),d(ft,Ze,"".concat(Ee.cssPrefix,"-").concat(Ze)),ft),li=null,Ei=Ge;(Pe.includes(ui[Ge])||Pe.some(function(tn){return jn[Ge].includes(tn)}))&&(Ei=Ge),(Pe.includes(ui[Ze])||Pe.some(function(tn){return jn[Ze].includes(tn)}))&&(Ei=Ze);var Di=Pe.reduce(function(tn,Xi){var fn=function Ui(Pe,ft){var vt=ft.split("-"),Rt=vt[0],Kt=vt.slice(1).join("-");return Rt!==Pe||""===Kt||function Lr(Pe){return~J.indexOf(Pe)}(Kt)?null:Kt}(Ee.cssPrefix,Xi);if(Ve[Xi]?(Xi=gt[Ei].includes(Xi)?nt[Ei][Xi]:Xi,li=Xi,tn.prefix=Xi):ta[Ei].indexOf(Xi)>-1?(li=Xi,tn.prefix=xn(Xi,{family:Ei})):fn?tn.iconName=fn:Xi!==Ee.replacementClass&&Xi!==ui[Ge]&&Xi!==ui[Ze]&&tn.rest.push(Xi),!Kt&&tn.prefix&&tn.iconName){var Tn="fa"===li?gi(tn.iconName):{},Nn=Mi(tn.prefix,tn.iconName);Tn.prefix&&(li=null),tn.iconName=Tn.iconName||Nn||tn.iconName,tn.prefix=Tn.prefix||tn.prefix,"far"===tn.prefix&&!Ve.far&&Ve.fas&&!Ee.autoFetchSvg&&(tn.prefix="fas")}return tn},Ji());return(Pe.includes("fa-brands")||Pe.includes("fab"))&&(Di.prefix="fab"),(Pe.includes("fa-duotone")||Pe.includes("fad"))&&(Di.prefix="fad"),!Di.prefix&&Ei===Ze&&(Ve.fass||Ee.autoFetchSvg)&&(Di.prefix="fass",Di.iconName=Mi(Di.prefix,Di.iconName)||Di.iconName),("fa"===Di.prefix||"fa"===li)&&(Di.prefix=Gi()||"fas"),Di}var Tr=function(){function Pe(){(function M(Pe,ft){if(!(Pe instanceof ft))throw new TypeError("Cannot call a class as a function")})(this,Pe),this.definitions={}}return function O(Pe,ft,vt){ft&&m(Pe.prototype,ft),vt&&m(Pe,vt),Object.defineProperty(Pe,"prototype",{writable:!1})}(Pe,[{key:"add",value:function(){for(var vt=this,Rt=arguments.length,Kt=new Array(Rt),ui=0;ui<Rt;ui++)Kt[ui]=arguments[ui];var li=Kt.reduce(this._pullDefinitions,{});Object.keys(li).forEach(function(Ei){vt.definitions[Ei]=y(y({},vt.definitions[Ei]||{}),li[Ei]),Bi(Ei,li[Ei]);var Di=ze[Ge][Ei];Di&&Bi(Di,li[Ei]),rn()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(vt,Rt){var Kt=Rt.prefix&&Rt.iconName&&Rt.icon?{0:Rt}:Rt;return Object.keys(Kt).map(function(ui){var li=Kt[ui],Ei=li.prefix,Di=li.iconName,tn=li.icon,Xi=tn[2];vt[Ei]||(vt[Ei]={}),Xi.length>0&&Xi.forEach(function(fn){"string"==typeof fn&&(vt[Ei][fn]=tn)}),vt[Ei][Di]=tn}),vt}}]),Pe}(),er=[],Cr={},oa={},pa=Object.keys(oa);function za(Pe,ft){for(var vt=arguments.length,Rt=new Array(vt>2?vt-2:0),Kt=2;Kt<vt;Kt++)Rt[Kt-2]=arguments[Kt];return(Cr[Pe]||[]).forEach(function(li){ft=li.apply(null,[ft].concat(Rt))}),ft}function mr(Pe){for(var ft=arguments.length,vt=new Array(ft>1?ft-1:0),Rt=1;Rt<ft;Rt++)vt[Rt-1]=arguments[Rt];(Cr[Pe]||[]).forEach(function(ui){ui.apply(null,vt)})}function Ir(){var Pe=arguments[0],ft=Array.prototype.slice.call(arguments,1);return oa[Pe]?oa[Pe].apply(null,ft):void 0}function Kn(Pe){"fa"===Pe.prefix&&(Pe.prefix="fas");var ft=Pe.iconName,vt=Pe.prefix||Gi();if(ft)return ft=Mi(vt,ft)||ft,Dt(ga.definitions,vt,ft)||Dt(sn.styles,vt,ft)}var ga=new Tr,_a={i2svg:function(){var ft=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return v?(mr("beforeI2svg",ft),Ir("pseudoElements2svg",ft),Ir("i2svg",ft)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var ft=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},vt=ft.autoReplaceSvgRoot;!1===Ee.autoReplaceSvg&&(Ee.autoReplaceSvg=!0),Ee.observeMutations=!0,function St(Pe){v&&(we?setTimeout(Pe,0):ot.push(Pe))}(function(){wo({autoReplaceSvgRoot:vt}),mr("watch",ft)})}},ca={noAuto:function(){Ee.autoReplaceSvg=!1,Ee.observeMutations=!1,mr("noAuto")},config:Ee,dom:_a,parse:{icon:function(ft){if(null===ft)return null;if("object"===A(ft)&&ft.prefix&&ft.iconName)return{prefix:ft.prefix,iconName:Mi(ft.prefix,ft.iconName)||ft.iconName};if(Array.isArray(ft)&&2===ft.length){var vt=0===ft[1].indexOf("fa-")?ft[1].slice(3):ft[1],Rt=xn(ft[0]);return{prefix:Rt,iconName:Mi(Rt,vt)||vt}}if("string"==typeof ft&&(ft.indexOf("".concat(Ee.cssPrefix,"-"))>-1||ft.match(et))){var Kt=Rn(ft.split(" "),{skipLookups:!0});return{prefix:Kt.prefix||Gi(),iconName:Mi(Kt.prefix,Kt.iconName)||Kt.iconName}}if("string"==typeof ft){var ui=Gi();return{prefix:ui,iconName:Mi(ui,ft)||ft}}}},library:ga,findIconDefinition:Kn,toHtml:zt},wo=function(){var vt=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,Rt=void 0===vt?h:vt;(Object.keys(sn.styles).length>0||Ee.autoFetchSvg)&&v&&Ee.autoReplaceSvg&&ca.dom.i2svg({node:Rt})};function Qr(Pe,ft){return Object.defineProperty(Pe,"abstract",{get:ft}),Object.defineProperty(Pe,"html",{get:function(){return Pe.abstract.map(function(Rt){return zt(Rt)})}}),Object.defineProperty(Pe,"node",{get:function(){if(v){var Rt=h.createElement("div");return Rt.innerHTML=Pe.html,Rt.children}}}),Pe}function ur(Pe){var ft=Pe.icons,vt=ft.main,Rt=ft.mask,Kt=Pe.prefix,ui=Pe.iconName,li=Pe.transform,Ei=Pe.symbol,Di=Pe.title,tn=Pe.maskId,Xi=Pe.titleId,fn=Pe.extra,Tn=Pe.watchable,Nn=void 0!==Tn&&Tn,Dr=Rt.found?Rt:vt,Fr=Dr.width,ua=Dr.height,ra="fak"===Kt,Aa=[Ee.replacementClass,ui?"".concat(Ee.cssPrefix,"-").concat(ui):""].filter(function(Sr){return-1===fn.classes.indexOf(Sr)}).filter(function(Sr){return""!==Sr||!!Sr}).concat(fn.classes).join(" "),Nr={children:[],attributes:y(y({},fn.attributes),{},{"data-prefix":Kt,"data-icon":ui,class:Aa,role:fn.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(Fr," ").concat(ua)})},Ao=ra&&!~fn.classes.indexOf("fa-fw")?{width:"".concat(Fr/ua*16*.0625,"em")}:{};Nn&&(Nr.attributes[fe]=""),Di&&(Nr.children.push({tag:"title",attributes:{id:Nr.attributes["aria-labelledby"]||"title-".concat(Xi||ee())},children:[Di]}),delete Nr.attributes.title);var Ja=y(y({},Nr),{},{prefix:Kt,iconName:ui,main:vt,mask:Rt,maskId:tn,transform:li,symbol:Ei,styles:y(y({},Ao),fn.styles)}),zn=Rt.found&&vt.found?Ir("generateAbstractMask",Ja)||{children:[],attributes:{}}:Ir("generateAbstractIcon",Ja)||{children:[],attributes:{}},vs=zn.attributes;return Ja.children=zn.children,Ja.attributes=vs,Ei?function Pr(Pe){var vt=Pe.iconName,Rt=Pe.children,Kt=Pe.attributes,ui=Pe.symbol,li=!0===ui?"".concat(Pe.prefix,"-").concat(Ee.cssPrefix,"-").concat(vt):ui;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:y(y({},Kt),{},{id:li}),children:Rt}]}]}(Ja):function wa(Pe){var ft=Pe.children,vt=Pe.main,Rt=Pe.mask,Kt=Pe.attributes,ui=Pe.styles,li=Pe.transform;if(pi(li)&&vt.found&&!Rt.found){var tn={x:vt.width/vt.height/2,y:.5};Kt.style=Zt(y(y({},ui),{},{"transform-origin":"".concat(tn.x+li.x/16,"em ").concat(tn.y+li.y/16,"em")}))}return[{tag:"svg",attributes:Kt,children:ft}]}(Ja)}function Un(Pe){var ft=Pe.content,vt=Pe.width,Rt=Pe.height,Kt=Pe.transform,ui=Pe.title,li=Pe.extra,Ei=Pe.watchable,Di=void 0!==Ei&&Ei,tn=y(y(y({},li.attributes),ui?{title:ui}:{}),{},{class:li.classes.join(" ")});Di&&(tn[fe]="");var Xi=y({},li.styles);pi(Kt)&&(Xi.transform=function qt(Pe){var ft=Pe.transform,vt=Pe.width,Kt=Pe.height,ui=void 0===Kt?16:Kt,li=Pe.startCentered,Ei=void 0!==li&&li,Di="";return Di+=Ei&&r?"translate(".concat(ft.x/16-(void 0===vt?16:vt)/2,"em, ").concat(ft.y/16-ui/2,"em) "):Ei?"translate(calc(-50% + ".concat(ft.x/16,"em), calc(-50% + ").concat(ft.y/16,"em)) "):"translate(".concat(ft.x/16,"em, ").concat(ft.y/16,"em) "),(Di+="scale(".concat(ft.size/16*(ft.flipX?-1:1),", ").concat(ft.size/16*(ft.flipY?-1:1),") "))+"rotate(".concat(ft.rotate,"deg) ")}({transform:Kt,startCentered:!0,width:vt,height:Rt}),Xi["-webkit-transform"]=Xi.transform);var fn=Zt(Xi);fn.length>0&&(tn.style=fn);var Tn=[];return Tn.push({tag:"span",attributes:tn,children:[ft]}),ui&&Tn.push({tag:"span",attributes:{class:"sr-only"},children:[ui]}),Tn}var io=sn.styles;function Ar(Pe){var ft=Pe[0],vt=Pe[1],ui=I(Pe.slice(4),1)[0];return{found:!0,width:ft,height:vt,icon:Array.isArray(ui)?{tag:"g",attributes:{class:"".concat(Ee.cssPrefix,"-").concat(Be.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Ee.cssPrefix,"-").concat(Be.SECONDARY),fill:"currentColor",d:ui[0]}},{tag:"path",attributes:{class:"".concat(Ee.cssPrefix,"-").concat(Be.PRIMARY),fill:"currentColor",d:ui[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:ui}}}}var Qo={found:!1,width:512,height:512};function Oa(Pe,ft){var vt=ft;return"fa"===ft&&null!==Ee.styleDefault&&(ft=Gi()),new Promise(function(Rt,Kt){if(Ir("missingIconAbstract"),"fa"===vt){var li=gi(Pe)||{};Pe=li.iconName||Pe,ft=li.prefix||ft}if(Pe&&ft&&io[ft]&&io[ft][Pe])return Rt(Ar(io[ft][Pe]));(function ia(Pe,ft){!ce&&!Ee.showMissingIcons&&Pe&&console.error('Icon with name "'.concat(Pe,'" and prefix "').concat(ft,'" is missing.'))})(Pe,ft),Rt(y(y({},Qo),{},{icon:Ee.showMissingIcons&&Pe&&Ir("missingIconAbstract")||{}}))})}var Pa=function(){},go=Ee.measurePerformance&&D&&D.mark&&D.measure?D:{mark:Pa,measure:Pa},no='FA "6.4.2"',_o=function(ft){go.mark("".concat(no," ").concat(ft," ends")),go.measure("".concat(no," ").concat(ft),"".concat(no," ").concat(ft," begins"),"".concat(no," ").concat(ft," ends"))},qr={begin:function(ft){return go.mark("".concat(no," ").concat(ft," begins")),function(){return _o(ft)}},end:_o},la=function(){};function va(Pe){return"string"==typeof(Pe.getAttribute?Pe.getAttribute(fe):null)}function _s(Pe){return h.createElementNS("http://www.w3.org/2000/svg",Pe)}function ro(Pe){return h.createElement(Pe)}function So(Pe){var vt=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,Rt=void 0===vt?"svg"===Pe.tag?_s:ro:vt;if("string"==typeof Pe)return h.createTextNode(Pe);var Kt=Rt(Pe.tag);return Object.keys(Pe.attributes||[]).forEach(function(li){Kt.setAttribute(li,Pe.attributes[li])}),(Pe.children||[]).forEach(function(li){Kt.appendChild(So(li,{ceFn:Rt}))}),Kt}var ao={replace:function(ft){var vt=ft[0];if(vt.parentNode)if(ft[1].forEach(function(Kt){vt.parentNode.insertBefore(So(Kt),vt)}),null===vt.getAttribute(fe)&&Ee.keepOriginalSource){var Rt=h.createComment(function Xa(Pe){var ft=" ".concat(Pe.outerHTML," ");return"".concat(ft,"Font Awesome fontawesome.com ")}(vt));vt.parentNode.replaceChild(Rt,vt)}else vt.remove()},nest:function(ft){var vt=ft[0],Rt=ft[1];if(~Ie(vt).indexOf(Ee.replacementClass))return ao.replace(ft);var Kt=new RegExp("".concat(Ee.cssPrefix,"-.*"));if(delete Rt[0].attributes.id,Rt[0].attributes.class){var ui=Rt[0].attributes.class.split(" ").reduce(function(Ei,Di){return Di===Ee.replacementClass||Di.match(Kt)?Ei.toSvg.push(Di):Ei.toNode.push(Di),Ei},{toNode:[],toSvg:[]});Rt[0].attributes.class=ui.toSvg.join(" "),0===ui.toNode.length?vt.removeAttribute("class"):vt.setAttribute("class",ui.toNode.join(" "))}var li=Rt.map(function(Ei){return zt(Ei)}).join("\n");vt.setAttribute(fe,""),vt.innerHTML=li}};function Wr(Pe){Pe()}function No(Pe,ft){var vt="function"==typeof ft?ft:la;if(0===Pe.length)vt();else{var Rt=Wr;Ee.mutateApproach===oe&&(Rt=f.requestAnimationFrame||Wr),Rt(function(){var Kt=function Xr(){return!0===Ee.autoReplaceSvg?ao.replace:ao[Ee.autoReplaceSvg]||ao.replace}(),ui=qr.begin("mutate");Pe.map(Kt),ui(),vt()})}}var vo=!1;function Eo(){vo=!0}function Vt(){vo=!1}var Ti=null;function Mt(Pe){if(w&&Ee.observeMutations){var ft=Pe.treeCallback,vt=void 0===ft?la:ft,Rt=Pe.nodeCallback,Kt=void 0===Rt?la:Rt,ui=Pe.pseudoElementsCallback,li=void 0===ui?la:ui,Ei=Pe.observeMutationsRoot,Di=void 0===Ei?h:Ei;Ti=new w(function(tn){if(!vo){var Xi=Gi();ne(tn).forEach(function(fn){if("childList"===fn.type&&fn.addedNodes.length>0&&!va(fn.addedNodes[0])&&(Ee.searchPseudoElements&&li(fn.target),vt(fn.target)),"attributes"===fn.type&&fn.target.parentNode&&Ee.searchPseudoElements&&li(fn.target.parentNode),"attributes"===fn.type&&va(fn.target)&&~Ke.indexOf(fn.attributeName))if("class"===fn.attributeName&&function Ro(Pe){var ft=Pe.getAttribute?Pe.getAttribute(le):null,vt=Pe.getAttribute?Pe.getAttribute(ge):null;return ft&&vt}(fn.target)){var Tn=Rn(Ie(fn.target)),Dr=Tn.iconName;fn.target.setAttribute(le,Tn.prefix||Xi),Dr&&fn.target.setAttribute(ge,Dr)}else(function Ba(Pe){return Pe&&Pe.classList&&Pe.classList.contains&&Pe.classList.contains(Ee.replacementClass)})(fn.target)&&Kt(fn.target)})}}),v&&Ti.observe(Di,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Yr(Pe){var ft=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},vt=function Zi(Pe){var ft=Pe.getAttribute("data-prefix"),vt=Pe.getAttribute("data-icon"),Rt=void 0!==Pe.innerText?Pe.innerText.trim():"",Kt=Rn(Ie(Pe));return Kt.prefix||(Kt.prefix=Gi()),ft&&vt&&(Kt.prefix=ft,Kt.iconName=vt),Kt.iconName&&Kt.prefix||(Kt.prefix&&Rt.length>0&&(Kt.iconName=function ei(Pe,ft){return(Bn[Pe]||{})[ft]}(Kt.prefix,Pe.innerText)||qn(Kt.prefix,vi(Pe.innerText))),!Kt.iconName&&Ee.autoFetchSvg&&Pe.firstChild&&Pe.firstChild.nodeType===Node.TEXT_NODE&&(Kt.iconName=Pe.firstChild.data)),Kt}(Pe),Rt=vt.iconName,Kt=vt.prefix,ui=vt.rest,li=function nr(Pe){var ft=ne(Pe.attributes).reduce(function(Kt,ui){return"class"!==Kt.name&&"style"!==Kt.name&&(Kt[ui.name]=ui.value),Kt},{}),vt=Pe.getAttribute("title"),Rt=Pe.getAttribute("data-fa-title-id");return Ee.autoA11y&&(vt?ft["aria-labelledby"]="".concat(Ee.replacementClass,"-title-").concat(Rt||ee()):(ft["aria-hidden"]="true",ft.focusable="false")),ft}(Pe),Ei=za("parseNodeAttributes",{},Pe),Di=ft.styleParser?function Si(Pe){var ft=Pe.getAttribute("style"),vt=[];return ft&&(vt=ft.split(";").reduce(function(Rt,Kt){var ui=Kt.split(":"),li=ui[0],Ei=ui.slice(1);return li&&Ei.length>0&&(Rt[li]=Ei.join(":").trim()),Rt},{})),vt}(Pe):[];return y({iconName:Rt,title:Pe.getAttribute("title"),titleId:Pe.getAttribute("data-fa-title-id"),prefix:Kt,transform:_t,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:ui,styles:Di,attributes:li}},Ei)}var on=sn.styles;function Ua(Pe){var ft="nest"===Ee.autoReplaceSvg?Yr(Pe,{styleParser:!1}):Yr(Pe);return~ft.extra.classes.indexOf(ke)?Ir("generateLayersText",Pe,ft):Ir("generateSvgReplacementMutation",Pe,ft)}var ht=new Set;function yt(Pe){var ft=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!v)return Promise.resolve();var vt=h.documentElement.classList,Rt=function(fn){return vt.add("".concat(qe,"-").concat(fn))},Kt=function(fn){return vt.remove("".concat(qe,"-").concat(fn))},ui=Ee.autoFetchSvg?ht:wt.map(function(Xi){return"fa-".concat(Xi)}).concat(Object.keys(on));ui.includes("fa")||ui.push("fa");var li=[".".concat(ke,":not([").concat(fe,"])")].concat(ui.map(function(Xi){return".".concat(Xi,":not([").concat(fe,"])")})).join(", ");if(0===li.length)return Promise.resolve();var Ei=[];try{Ei=ne(Pe.querySelectorAll(li))}catch{}if(!(Ei.length>0))return Promise.resolve();Rt("pending"),Kt("complete");var Di=qr.begin("onTree"),tn=Ei.reduce(function(Xi,fn){try{var Tn=Ua(fn);Tn&&Xi.push(Tn)}catch(Nn){ce||"MissingIcon"===Nn.name&&console.error(Nn)}return Xi},[]);return new Promise(function(Xi,fn){Promise.all(tn).then(function(Tn){No(Tn,function(){Rt("active"),Rt("complete"),Kt("pending"),"function"==typeof ft&&ft(),Di(),Xi()})}).catch(function(Tn){Di(),fn(Tn)})})}function Fe(Pe){var ft=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Ua(Pe).then(function(vt){vt&&No([vt],ft)})}wt.map(function(Pe){ht.add("fa-".concat(Pe))}),Object.keys(kt[Ge]).map(ht.add.bind(ht)),Object.keys(kt[Ze]).map(ht.add.bind(ht)),ht=k(ht);var Qt=function(ft){var vt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Rt=vt.transform,Kt=void 0===Rt?_t:Rt,ui=vt.symbol,li=void 0!==ui&&ui,Ei=vt.mask,Di=void 0===Ei?null:Ei,tn=vt.maskId,Xi=void 0===tn?null:tn,fn=vt.title,Tn=void 0===fn?null:fn,Nn=vt.titleId,Dr=void 0===Nn?null:Nn,Fr=vt.classes,ua=void 0===Fr?[]:Fr,ra=vt.attributes,Aa=void 0===ra?{}:ra,Nr=vt.styles,Ao=void 0===Nr?{}:Nr;if(ft){var Ja=ft.prefix,zn=ft.iconName,Xo=ft.icon;return Qr(y({type:"icon"},ft),function(){return mr("beforeDOMElementCreation",{iconDefinition:ft,params:vt}),Ee.autoA11y&&(Tn?Aa["aria-labelledby"]="".concat(Ee.replacementClass,"-title-").concat(Dr||ee()):(Aa["aria-hidden"]="true",Aa.focusable="false")),ur({icons:{main:Ar(Xo),mask:Di?Ar(Di.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Ja,iconName:zn,transform:y(y({},_t),Kt),symbol:li,title:Tn,maskId:Xi,titleId:Dr,extra:{attributes:Aa,styles:Ao,classes:ua}})})}},Fi={mixout:function(){return{icon:(Pe=Qt,function(ft){var vt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Rt=(ft||{}).icon?ft:Kn(ft||{}),Kt=vt.mask;return Kt&&(Kt=(Kt||{}).icon?Kt:Kn(Kt||{})),Pe(Rt,y(y({},vt),{},{mask:Kt}))})};var Pe},hooks:function(){return{mutationObserverCallbacks:function(vt){return vt.treeCallback=yt,vt.nodeCallback=Fe,vt}}},provides:function(ft){ft.i2svg=function(vt){var Rt=vt.node,ui=vt.callback;return yt(void 0===Rt?h:Rt,void 0===ui?function(){}:ui)},ft.generateSvgReplacementMutation=function(vt,Rt){var Kt=Rt.iconName,ui=Rt.title,li=Rt.titleId,Ei=Rt.prefix,Di=Rt.transform,tn=Rt.symbol,Xi=Rt.mask,fn=Rt.maskId,Tn=Rt.extra;return new Promise(function(Nn,Dr){Promise.all([Oa(Kt,Ei),Xi.iconName?Oa(Xi.iconName,Xi.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(Fr){var ua=I(Fr,2);Nn([vt,ur({icons:{main:ua[0],mask:ua[1]},prefix:Ei,iconName:Kt,transform:Di,symbol:tn,maskId:fn,title:ui,titleId:li,extra:Tn,watchable:!0})])}).catch(Dr)})},ft.generateAbstractIcon=function(vt){var tn,Rt=vt.children,Kt=vt.attributes,ui=vt.main,li=vt.transform,Di=Zt(vt.styles);return Di.length>0&&(Kt.style=Di),pi(li)&&(tn=Ir("generateAbstractTransformGrouping",{main:ui,transform:li,containerWidth:ui.width,iconWidth:ui.width})),Rt.push(tn||ui.icon),{children:Rt,attributes:Kt}}}},Cn={mixout:function(){return{layer:function(vt){var Rt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Kt=Rt.classes,ui=void 0===Kt?[]:Kt;return Qr({type:"layer"},function(){mr("beforeDOMElementCreation",{assembler:vt,params:Rt});var li=[];return vt(function(Ei){Array.isArray(Ei)?Ei.map(function(Di){li=li.concat(Di.abstract)}):li=li.concat(Ei.abstract)}),[{tag:"span",attributes:{class:["".concat(Ee.cssPrefix,"-layers")].concat(k(ui)).join(" ")},children:li}]})}}}},Mr={mixout:function(){return{counter:function(vt){var Rt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Kt=Rt.title,ui=void 0===Kt?null:Kt,li=Rt.classes,Ei=void 0===li?[]:li,Di=Rt.attributes,tn=void 0===Di?{}:Di,Xi=Rt.styles,fn=void 0===Xi?{}:Xi;return Qr({type:"counter",content:vt},function(){return mr("beforeDOMElementCreation",{content:vt,params:Rt}),function Ma(Pe){var ft=Pe.content,vt=Pe.title,Rt=Pe.extra,Kt=y(y(y({},Rt.attributes),vt?{title:vt}:{}),{},{class:Rt.classes.join(" ")}),ui=Zt(Rt.styles);ui.length>0&&(Kt.style=ui);var li=[];return li.push({tag:"span",attributes:Kt,children:[ft]}),vt&&li.push({tag:"span",attributes:{class:"sr-only"},children:[vt]}),li}({content:vt.toString(),title:ui,extra:{attributes:tn,styles:fn,classes:["".concat(Ee.cssPrefix,"-layers-counter")].concat(k(Ei))}})})}}}},Sa={mixout:function(){return{text:function(vt){var Rt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Kt=Rt.transform,ui=void 0===Kt?_t:Kt,li=Rt.title,Ei=void 0===li?null:li,Di=Rt.classes,tn=void 0===Di?[]:Di,Xi=Rt.attributes,fn=void 0===Xi?{}:Xi,Tn=Rt.styles,Nn=void 0===Tn?{}:Tn;return Qr({type:"text",content:vt},function(){return mr("beforeDOMElementCreation",{content:vt,params:Rt}),Un({content:vt,transform:y(y({},_t),ui),title:Ei,extra:{attributes:fn,styles:Nn,classes:["".concat(Ee.cssPrefix,"-layers-text")].concat(k(tn))}})})}}},provides:function(ft){ft.generateLayersText=function(vt,Rt){var Kt=Rt.title,ui=Rt.transform,li=Rt.extra,Ei=null,Di=null;if(r){var tn=parseInt(getComputedStyle(vt).fontSize,10),Xi=vt.getBoundingClientRect();Ei=Xi.width/tn,Di=Xi.height/tn}return Ee.autoA11y&&!Kt&&(li.attributes["aria-hidden"]="true"),Promise.resolve([vt,Un({content:vt.innerHTML,width:Ei,height:Di,transform:ui,title:Kt,extra:li,watchable:!0})])}}},bo=new RegExp('"',"ug"),Fn=[1105920,1112319];function oo(Pe,ft){var vt="".concat(Ce).concat(ft.replace(":","-"));return new Promise(function(Rt,Kt){if(null!==Pe.getAttribute(vt))return Rt();var li=ne(Pe.children).filter(function(Xo){return Xo.getAttribute(de)===ft})[0],Ei=f.getComputedStyle(Pe,ft),Di=Ei.getPropertyValue("font-family").match(ct),tn=Ei.getPropertyValue("font-weight"),Xi=Ei.getPropertyValue("content");if(li&&!Di)return Pe.removeChild(li),Rt();if(Di&&"none"!==Xi&&""!==Xi){var fn=Ei.getPropertyValue("content"),Tn=~["Sharp"].indexOf(Di[2])?Ze:Ge,Nn=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(Di[2])?Ae[Tn][Di[2].toLowerCase()]:Qe[Tn][tn],Dr=function zi(Pe){var ft=Pe.replace(bo,""),vt=function bi(Pe,ft){var Kt,vt=Pe.length,Rt=Pe.charCodeAt(ft);return Rt>=55296&&Rt<=56319&&vt>ft+1&&(Kt=Pe.charCodeAt(ft+1))>=56320&&Kt<=57343?1024*(Rt-55296)+Kt-56320+65536:Rt}(ft,0),Rt=vt>=Fn[0]&&vt<=Fn[1],Kt=2===ft.length&&ft[0]===ft[1];return{value:vi(Kt?ft[0]:ft),isSecondary:Rt||Kt}}(fn),Fr=Dr.value,ua=Dr.isSecondary,ra=Di[0].startsWith("FontAwesome"),Aa=qn(Nn,Fr),Nr=Aa;if(ra){var Ao=function yi(Pe){var ft=hn[Pe],vt=qn("fas",Pe);return ft||(vt?{prefix:"fas",iconName:vt}:null)||{prefix:null,iconName:null}}(Fr);Ao.iconName&&Ao.prefix&&(Aa=Ao.iconName,Nn=Ao.prefix)}if(!Aa||ua||li&&li.getAttribute(le)===Nn&&li.getAttribute(ge)===Nr)Rt();else{Pe.setAttribute(vt,Nr),li&&Pe.removeChild(li);var Ja=function lr(){return{iconName:null,title:null,titleId:null,prefix:null,transform:_t,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),zn=Ja.extra;zn.attributes[de]=ft,Oa(Aa,Nn).then(function(Xo){var vs=ur(y(y({},Ja),{},{icons:{main:Xo,mask:Ji()},prefix:Nn,iconName:Nr,extra:zn,watchable:!0})),Sr=h.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===ft?Pe.insertBefore(Sr,Pe.firstChild):Pe.appendChild(Sr),Sr.outerHTML=vs.map(function(Bc){return zt(Bc)}).join("\n"),Pe.removeAttribute(vt),Rt()}).catch(Kt)}}else Rt()})}function Dn(Pe){return Promise.all([oo(Pe,"::before"),oo(Pe,"::after")])}function Yi(Pe){return!(Pe.parentNode===document.head||~ve.indexOf(Pe.tagName.toUpperCase())||Pe.getAttribute(de)||Pe.parentNode&&"svg"===Pe.parentNode.tagName)}function As(Pe){if(v)return new Promise(function(ft,vt){var Rt=ne(Pe.querySelectorAll("*")).filter(Yi).map(Dn),Kt=qr.begin("searchPseudoElements");Eo(),Promise.all(Rt).then(function(){Kt(),Vt(),ft()}).catch(function(){Kt(),Vt(),vt()})})}var vr=!1,Ga=function(ft){return ft.toLowerCase().split(" ").reduce(function(Rt,Kt){var ui=Kt.toLowerCase().split("-"),li=ui[0],Ei=ui.slice(1).join("-");if(li&&"h"===Ei)return Rt.flipX=!0,Rt;if(li&&"v"===Ei)return Rt.flipY=!0,Rt;if(Ei=parseFloat(Ei),isNaN(Ei))return Rt;switch(li){case"grow":Rt.size=Rt.size+Ei;break;case"shrink":Rt.size=Rt.size-Ei;break;case"left":Rt.x=Rt.x-Ei;break;case"right":Rt.x=Rt.x+Ei;break;case"up":Rt.y=Rt.y-Ei;break;case"down":Rt.y=Rt.y+Ei;break;case"rotate":Rt.rotate=Rt.rotate+Ei}return Rt},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},da={x:0,y:0,width:"100%",height:"100%"};function Ds(Pe){return Pe.attributes&&(Pe.attributes.fill||!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(Pe.attributes.fill="black"),Pe}!function sa(Pe,ft){var vt=ft.mixoutsTo;er=Pe,Cr={},Object.keys(oa).forEach(function(Rt){-1===pa.indexOf(Rt)&&delete oa[Rt]}),er.forEach(function(Rt){var Kt=Rt.mixout?Rt.mixout():{};if(Object.keys(Kt).forEach(function(li){"function"==typeof Kt[li]&&(vt[li]=Kt[li]),"object"===A(Kt[li])&&Object.keys(Kt[li]).forEach(function(Ei){vt[li]||(vt[li]={}),vt[li][Ei]=Kt[li][Ei]})}),Rt.hooks){var ui=Rt.hooks();Object.keys(ui).forEach(function(li){Cr[li]||(Cr[li]=[]),Cr[li].push(ui[li])})}Rt.provides&&Rt.provides(oa)})}([Qi,Fi,Cn,Mr,Sa,{hooks:function(){return{mutationObserverCallbacks:function(vt){return vt.pseudoElementsCallback=As,vt}}},provides:function(ft){ft.pseudoElements2svg=function(vt){var Rt=vt.node;Ee.searchPseudoElements&&As(void 0===Rt?h:Rt)}}},{mixout:function(){return{dom:{unwatch:function(){Eo(),vr=!0}}}},hooks:function(){return{bootstrap:function(){Mt(za("mutationObserverCallbacks",{}))},noAuto:function(){!function ii(){Ti&&Ti.disconnect()}()},watch:function(vt){var Rt=vt.observeMutationsRoot;vr?Vt():Mt(za("mutationObserverCallbacks",{observeMutationsRoot:Rt}))}}}},{mixout:function(){return{parse:{transform:function(vt){return Ga(vt)}}}},hooks:function(){return{parseNodeAttributes:function(vt,Rt){var Kt=Rt.getAttribute("data-fa-transform");return Kt&&(vt.transform=Ga(Kt)),vt}}},provides:function(ft){ft.generateAbstractTransformGrouping=function(vt){var Rt=vt.main,Kt=vt.transform,li=vt.iconWidth,Ei={transform:"translate(".concat(vt.containerWidth/2," 256)")},Di="translate(".concat(32*Kt.x,", ").concat(32*Kt.y,") "),tn="scale(".concat(Kt.size/16*(Kt.flipX?-1:1),", ").concat(Kt.size/16*(Kt.flipY?-1:1),") "),Xi="rotate(".concat(Kt.rotate," 0 0)"),Nn={outer:Ei,inner:{transform:"".concat(Di," ").concat(tn," ").concat(Xi)},path:{transform:"translate(".concat(li/2*-1," -256)")}};return{tag:"g",attributes:y({},Nn.outer),children:[{tag:"g",attributes:y({},Nn.inner),children:[{tag:Rt.icon.tag,children:Rt.icon.children,attributes:y(y({},Rt.icon.attributes),Nn.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(vt,Rt){var Kt=Rt.getAttribute("data-fa-mask"),ui=Kt?Rn(Kt.split(" ").map(function(li){return li.trim()})):Ji();return ui.prefix||(ui.prefix=Gi()),vt.mask=ui,vt.maskId=Rt.getAttribute("data-fa-mask-id"),vt}}},provides:function(ft){ft.generateAbstractMask=function(vt){var Pe,Rt=vt.children,Kt=vt.attributes,ui=vt.main,li=vt.mask,Ei=vt.maskId,Xi=ui.icon,Tn=li.icon,Nn=function Jt(Pe){var ft=Pe.transform,Rt=Pe.iconWidth,Kt={transform:"translate(".concat(Pe.containerWidth/2," 256)")},ui="translate(".concat(32*ft.x,", ").concat(32*ft.y,") "),li="scale(".concat(ft.size/16*(ft.flipX?-1:1),", ").concat(ft.size/16*(ft.flipY?-1:1),") "),Ei="rotate(".concat(ft.rotate," 0 0)");return{outer:Kt,inner:{transform:"".concat(ui," ").concat(li," ").concat(Ei)},path:{transform:"translate(".concat(Rt/2*-1," -256)")}}}({transform:vt.transform,containerWidth:li.width,iconWidth:ui.width}),Dr={tag:"rect",attributes:y(y({},da),{},{fill:"white"})},Fr=Xi.children?{children:Xi.children.map(Ds)}:{},ua={tag:"g",attributes:y({},Nn.inner),children:[Ds(y({tag:Xi.tag,attributes:y(y({},Xi.attributes),Nn.path)},Fr))]},ra={tag:"g",attributes:y({},Nn.outer),children:[ua]},Aa="mask-".concat(Ei||ee()),Nr="clip-".concat(Ei||ee()),Ao={tag:"mask",attributes:y(y({},da),{},{id:Aa,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[Dr,ra]},Ja={tag:"defs",children:[{tag:"clipPath",attributes:{id:Nr},children:(Pe=Tn,"g"===Pe.tag?Pe.children:[Pe])},Ao]};return Rt.push(Ja,{tag:"rect",attributes:y({fill:"currentColor","clip-path":"url(#".concat(Nr,")"),mask:"url(#".concat(Aa,")")},da)}),{children:Rt,attributes:Kt}}}},{provides:function(ft){var vt=!1;f.matchMedia&&(vt=f.matchMedia("(prefers-reduced-motion: reduce)").matches),ft.missingIconAbstract=function(){var Rt=[],Kt={fill:"currentColor"},ui={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};Rt.push({tag:"path",attributes:y(y({},Kt),{},{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 li=y(y({},ui),{},{attributeName:"opacity"}),Ei={tag:"circle",attributes:y(y({},Kt),{},{cx:"256",cy:"364",r:"28"}),children:[]};return vt||Ei.children.push({tag:"animate",attributes:y(y({},ui),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:y(y({},li),{},{values:"1;0;1;1;0;1;"})}),Rt.push(Ei),Rt.push({tag:"path",attributes:y(y({},Kt),{},{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:y(y({},li),{},{values:"1;0;0;0;0;1;"})}]}),vt||Rt.push({tag:"path",attributes:y(y({},Kt),{},{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:y(y({},li),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:Rt}}}},{hooks:function(){return{parseNodeAttributes:function(vt,Rt){var Kt=Rt.getAttribute("data-fa-symbol");return vt.symbol=null!==Kt&&(""===Kt||Kt),vt}}}}],{mixoutsTo:ca});var Ki=ca.parse,Rr=ca.icon,co=p(6593);const Xn=["*"],Jr=Pe=>{const ft={[`fa-${Pe.animation}`]:null!=Pe.animation&&!Pe.animation.startsWith("spin"),"fa-spin":"spin"===Pe.animation||"spin-reverse"===Pe.animation,"fa-spin-pulse":"spin-pulse"===Pe.animation||"spin-pulse-reverse"===Pe.animation,"fa-spin-reverse":"spin-reverse"===Pe.animation||"spin-pulse-reverse"===Pe.animation,"fa-pulse":"spin-pulse"===Pe.animation||"spin-pulse-reverse"===Pe.animation,"fa-fw":Pe.fixedWidth,"fa-border":Pe.border,"fa-inverse":Pe.inverse,"fa-layers-counter":Pe.counter,"fa-flip-horizontal":"horizontal"===Pe.flip||"both"===Pe.flip,"fa-flip-vertical":"vertical"===Pe.flip||"both"===Pe.flip,[`fa-${Pe.size}`]:null!==Pe.size,[`fa-rotate-${Pe.rotate}`]:null!==Pe.rotate,[`fa-pull-${Pe.pull}`]:null!==Pe.pull,[`fa-stack-${Pe.stackItemSize}`]:null!=Pe.stackItemSize};return Object.keys(ft).map(vt=>ft[vt]?vt:null).filter(vt=>vt)};let na=(()=>{class Pe{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null}static#e=this.\u0275fac=function(Rt){return new(Rt||Pe)};static#t=this.\u0275prov=e.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"})}return Pe})(),Cc=(()=>{class Pe{constructor(){this.definitions={}}addIcons(...vt){for(const Rt of vt){Rt.prefix in this.definitions||(this.definitions[Rt.prefix]={}),this.definitions[Rt.prefix][Rt.iconName]=Rt;for(const Kt of Rt.icon[2])"string"==typeof Kt&&(this.definitions[Rt.prefix][Kt]=Rt)}}addIconPacks(...vt){for(const Rt of vt){const Kt=Object.keys(Rt).map(ui=>Rt[ui]);this.addIcons(...Kt)}}getIconDefinition(vt,Rt){return vt in this.definitions&&Rt in this.definitions[vt]?this.definitions[vt][Rt]:null}static#e=this.\u0275fac=function(Rt){return new(Rt||Pe)};static#t=this.\u0275prov=e.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"})}return Pe})(),Vc=(()=>{class Pe{constructor(){this.stackItemSize="1x"}ngOnChanges(vt){if("size"in vt)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: <fa-stack size="4x">...</fa-stack>.')}static#e=this.\u0275fac=function(Rt){return new(Rt||Pe)};static#t=this.\u0275dir=e.lG2({type:Pe,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},standalone:!0,features:[e.TTD]})}return Pe})(),_l=(()=>{class Pe{constructor(vt,Rt){this.renderer=vt,this.elementRef=Rt}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(vt){"size"in vt&&(null!=vt.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${vt.size.currentValue}`),null!=vt.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${vt.size.previousValue}`))}static#e=this.\u0275fac=function(Rt){return new(Rt||Pe)(e.Y36(e.Qsj),e.Y36(e.SBq))};static#t=this.\u0275cmp=e.Xpm({type:Pe,selectors:[["fa-stack"]],inputs:{size:"size"},standalone:!0,features:[e.TTD,e.jDz],ngContentSelectors:Xn,decls:1,vars:0,template:function(Rt,Kt){1&Rt&&(e.F$t(),e.Hsn(0))},encapsulation:2})}return Pe})(),ks=(()=>{class Pe{set spin(vt){this.animation=vt?"spin":void 0}set pulse(vt){this.animation=vt?"spin-pulse":void 0}constructor(vt,Rt,Kt,ui,li){this.sanitizer=vt,this.config=Rt,this.iconLibrary=Kt,this.stackItem=ui,this.classes=[],null!=li&&null==ui&&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(vt){if(null!=this.icon||null!=this.config.fallbackIcon){if(vt){const Kt=this.findIconDefinition(null!=this.icon?this.icon:this.config.fallbackIcon);if(null!=Kt){const ui=this.buildParams();this.renderIcon(Kt,ui)}}}else(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})()}render(){this.ngOnChanges({})}findIconDefinition(vt){const Rt=((Pe,ft)=>(Pe=>void 0!==Pe.prefix&&void 0!==Pe.iconName)(Pe)?Pe:"string"==typeof Pe?{prefix:ft,iconName:Pe}:{prefix:Pe[0],iconName:Pe[1]})(vt,this.config.defaultPrefix);return"icon"in Rt?Rt:this.iconLibrary.getIconDefinition(Rt.prefix,Rt.iconName)??((Pe=>{throw new Error(`Could not find icon with iconName=${Pe.iconName} and prefix=${Pe.prefix} in the icon library.`)})(Rt),null)}buildParams(){const vt={flip:this.flip,animation:this.animation,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},Rt="string"==typeof this.transform?Ki.transform(this.transform):this.transform;return{title:this.title,transform:Rt,classes:[...Jr(vt),...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(vt,Rt){const Kt=Rr(vt,Rt);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(Kt.html.join("\n"))}static#e=this.\u0275fac=function(Rt){return new(Rt||Pe)(e.Y36(co.H7),e.Y36(na),e.Y36(Cc),e.Y36(Vc,8),e.Y36(_l,8))};static#t=this.\u0275cmp=e.Xpm({type:Pe,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(Rt,Kt){2&Rt&&(e.Ikx("innerHTML",Kt.renderedIconHTML,e.oJD),e.uIk("title",Kt.title))},inputs:{icon:"icon",title:"title",animation:"animation",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",classes:"classes",transform:"transform",a11yRole:"a11yRole"},standalone:!0,features:[e.TTD,e.jDz],decls:0,vars:0,template:function(Rt,Kt){},encapsulation:2})}return Pe})(),ti=(()=>{class Pe{static#e=this.\u0275fac=function(Rt){return new(Rt||Pe)};static#t=this.\u0275mod=e.oAB({type:Pe});static#i=this.\u0275inj=e.cJS({})}return Pe})()},590:(He,X,p)=>{"use strict";p.d(X,{$qH:()=>eh,Acd:()=>Uh,Aq:()=>yl,B$L:()=>da,BDt:()=>Y4,CgH:()=>Ms,Cgb:()=>Cv,CvI:()=>bh,DL8:()=>bv,ED2:()=>Rf,FJU:()=>q4,FVb:()=>Gc,FlN:()=>S4,FpQ:()=>uf,H0g:()=>Tf,HLz:()=>$6,KOR:()=>F3,Krp:()=>h2,Mdf:()=>zp,N2j:()=>Mi,NBC:()=>xy,OS1:()=>R3,Psp:()=>Xm,Pyt:()=>j4,QU_:()=>sl,Sbq:()=>J,SoD:()=>Ar,Ssp:()=>ow,SuH:()=>vp,TmZ:()=>mg,USL:()=>um,Vei:()=>Hn,Vfw:()=>U8,X5K:()=>J3,XJw:()=>wv,XsY:()=>fn,aj4:()=>Ld,b7W:()=>P4,byT:()=>Tn,co4:()=>yd,d63:()=>ul,dLy:()=>Hf,dT$:()=>Yu,e9O:()=>Ah,eHv:()=>rw,eOA:()=>s7,egO:()=>Mv,gNZ:()=>tt,hkK:()=>gt,hnx:()=>_w,iSG:()=>ll,kXW:()=>Df,kZ_:()=>cm,koM:()=>F1,mh3:()=>x2,nNP:()=>ig,oxE:()=>k4,q7m:()=>Es,qO$:()=>px,r8p:()=>lm,sqG:()=>Z8,vqe:()=>ov,wn1:()=>rg,wyP:()=>jl,xf3:()=>Ac});var J={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"]},gt={prefix:"fas",iconName:"user-check",icon:[640,512,[],"f4fc","M96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3zM625 177L497 305c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L591 143c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},Mi={prefix:"fas",iconName:"box-archive",icon:[512,512,["archive"],"f187","M32 32H480c17.7 0 32 14.3 32 32V96c0 17.7-14.3 32-32 32H32C14.3 128 0 113.7 0 96V64C0 46.3 14.3 32 32 32zm0 128H480V416c0 35.3-28.7 64-64 64H96c-35.3 0-64-28.7-64-64V160zm128 80c0 8.8 7.2 16 16 16H336c8.8 0 16-7.2 16-16s-7.2-16-16-16H176c-8.8 0-16 7.2-16 16z"]},Ar={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"]},da={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"]},fn={prefix:"fas",iconName:"paintbrush",icon:[576,512,[128396,"paint-brush"],"f1fc","M339.3 367.1c27.3-3.9 51.9-19.4 67.2-42.9L568.2 74.1c12.6-19.5 9.4-45.3-7.6-61.2S517.7-4.4 499.1 9.6L262.4 187.2c-24 18-38.2 46.1-38.4 76.1L339.3 367.1zm-19.6 25.4l-116-104.4C143.9 290.3 96 339.6 96 400c0 3.9 .2 7.8 .6 11.6C98.4 429.1 86.4 448 68.8 448H64c-17.7 0-32 14.3-32 32s14.3 32 32 32H208c61.9 0 112-50.1 112-112c0-2.5-.1-5-.2-7.5z"]},Tn={prefix:"fas",iconName:"lock",icon:[448,512,[128274],"f023","M144 144v48H304V144c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192V144C80 64.5 144.5 0 224 0s144 64.5 144 144v48h16c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256c0-35.3 28.7-64 64-64H80z"]},Gc={prefix:"fas",iconName:"users",icon:[640,512,[],"f0c0","M144 0a80 80 0 1 1 0 160A80 80 0 1 1 144 0zM512 0a80 80 0 1 1 0 160A80 80 0 1 1 512 0zM0 298.7C0 239.8 47.8 192 106.7 192h42.7c15.9 0 31 3.5 44.6 9.7c-1.3 7.2-1.9 14.7-1.9 22.3c0 38.2 16.8 72.5 43.3 96c-.2 0-.4 0-.7 0H21.3C9.6 320 0 310.4 0 298.7zM405.3 320c-.2 0-.4 0-.7 0c26.6-23.5 43.3-57.8 43.3-96c0-7.6-.7-15-1.9-22.3c13.6-6.3 28.7-9.7 44.6-9.7h42.7C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3H405.3zM224 224a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zM128 485.3C128 411.7 187.7 352 261.3 352H378.7C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7H154.7c-14.7 0-26.7-11.9-26.7-26.7z"]},yl={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z"]},Uh={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"]},Ld={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"]},Ac={prefix:"fas",iconName:"server",icon:[512,512,[],"f233","M64 32C28.7 32 0 60.7 0 96v64c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm280 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm48 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zM64 288c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V352c0-35.3-28.7-64-64-64H64zm280 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm56 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},F1={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"]},jl={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"]},sl={prefix:"fas",iconName:"euro-sign",icon:[320,512,[8364,"eur","euro"],"f153","M48.1 240c-.1 2.7-.1 5.3-.1 8v16c0 2.7 0 5.3 .1 8H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H60.3C89.9 419.9 170 480 264 480h24c17.7 0 32-14.3 32-32s-14.3-32-32-32H264c-57.9 0-108.2-32.4-133.9-80H256c17.7 0 32-14.3 32-32s-14.3-32-32-32H112.2c-.1-2.6-.2-5.3-.2-8V248c0-2.7 .1-5.4 .2-8H256c17.7 0 32-14.3 32-32s-14.3-32-32-32H130.1c25.7-47.6 76-80 133.9-80h24c17.7 0 32-14.3 32-32s-14.3-32-32-32H264C170 32 89.9 92.1 60.3 176H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H48.1z"]},ll={prefix:"fas",iconName:"sterling-sign",icon:[320,512,[163,"gbp","pound-sign"],"f154","M112 160.4c0-35.5 28.8-64.4 64.4-64.4c6.9 0 13.8 1.1 20.4 3.3l81.2 27.1c16.8 5.6 34.9-3.5 40.5-20.2s-3.5-34.9-20.2-40.5L217 38.6c-13.1-4.4-26.8-6.6-40.6-6.6C105.5 32 48 89.5 48 160.4V224H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H48v44.5c0 17.4-4.7 34.5-13.7 49.4L4.6 431.5c-5.9 9.9-6.1 22.2-.4 32.2S20.5 480 32 480H288c17.7 0 32-14.3 32-32s-14.3-32-32-32H88.5l.7-1.1C104.1 390 112 361.5 112 332.5V288H224c17.7 0 32-14.3 32-32s-14.3-32-32-32H112V160.4z"]},Hn={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"]},ul={prefix:"fas",iconName:"arrows-turn-right",icon:[448,512,[],"e4c0","M297.4 9.4c12.5-12.5 32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3l-96 96c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L338.7 160H128c-35.3 0-64 28.7-64 64v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V224C0 153.3 57.3 96 128 96H338.7L297.4 54.6c-12.5-12.5-12.5-32.8 0-45.3zm-96 256c12.5-12.5 32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3l-96 96c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 416H96c-17.7 0-32 14.3-32 32v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V448c0-53 43-96 96-96H242.7l-41.4-41.4c-12.5-12.5-12.5-32.8 0-45.3z"]},h2={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"]},Xm={prefix:"fas",iconName:"question",icon:[320,512,[10067,10068,61736],"3f","M80 160c0-35.3 28.7-64 64-64h32c35.3 0 64 28.7 64 64v3.6c0 21.8-11.1 42.1-29.4 53.8l-42.2 27.1c-25.2 16.2-40.4 44.1-40.4 74V320c0 17.7 14.3 32 32 32s32-14.3 32-32v-1.4c0-8.2 4.2-15.8 11-20.2l42.2-27.1c36.6-23.6 58.8-64.1 58.8-107.7V160c0-70.7-57.3-128-128-128H144C73.3 32 16 89.3 16 160c0 17.7 14.3 32 32 32s32-14.3 32-32zm80 320a40 40 0 1 0 0-80 40 40 0 1 0 0 80z"]},Yu={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"]},eh={prefix:"fas",iconName:"won-sign",icon:[512,512,[8361,"krw","won"],"f159","M62.4 53.9C56.8 37.1 38.6 28.1 21.9 33.6S-3.9 57.4 1.6 74.1L51.6 224H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H72.9l56.7 170.1c4.5 13.5 17.4 22.4 31.6 21.9s26.4-10.4 29.8-24.2L233 288h46L321 455.8c3.4 13.8 15.6 23.7 29.8 24.2s27.1-8.4 31.6-21.9L439.1 288H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H460.4l50-149.9c5.6-16.8-3.5-34.9-20.2-40.5s-34.9 3.5-40.5 20.2L392.9 224H329L287 56.2C283.5 42 270.7 32 256 32s-27.5 10-31 24.2L183 224h-64L62.4 53.9zm78 234.1H167l-11.4 45.6L140.4 288zM249 224l7-28.1 7 28.1H249zm96 64h26.6l-15.2 45.6L345 288z"]},R3={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"]},F3={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"]},vp={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"]},Ms={prefix:"fas",iconName:"screwdriver-wrench",icon:[512,512,["tools"],"f7d9","M78.6 5C69.1-2.4 55.6-1.5 47 7L7 47c-8.5 8.5-9.4 22-2.1 31.6l80 104c4.5 5.9 11.6 9.4 19 9.4h54.1l109 109c-14.7 29-10 65.4 14.3 89.6l112 112c12.5 12.5 32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3l-112-112c-24.2-24.2-60.6-29-89.6-14.3l-109-109V104c0-7.5-3.5-14.5-9.4-19L78.6 5zM19.9 396.1C7.2 408.8 0 426.1 0 444.1C0 481.6 30.4 512 67.9 512c18 0 35.3-7.2 48-19.9L233.7 374.3c-7.8-20.9-9-43.6-3.6-65.1l-61.7-61.7L19.9 396.1zM512 144c0-10.5-1.1-20.7-3.2-30.5c-2.4-11.2-16.1-14.1-24.2-6l-63.9 63.9c-3 3-7.1 4.7-11.3 4.7H352c-8.8 0-16-7.2-16-16V102.6c0-4.2 1.7-8.3 4.7-11.3l63.9-63.9c8.1-8.1 5.2-21.8-6-24.2C388.7 1.1 378.5 0 368 0C288.5 0 224 64.5 224 144l0 .8 85.3 85.3c36-9.1 75.8 .5 104 28.7L429 274.5c49-23 83-72.8 83-130.5zM56 432a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},J3={prefix:"fas",iconName:"wallet",icon:[512,512,[],"f555","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V192c0-35.3-28.7-64-64-64H80c-8.8 0-16-7.2-16-16s7.2-16 16-16H448c17.7 0 32-14.3 32-32s-14.3-32-32-32H64zM416 272a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},x2={prefix:"fas",iconName:"code-branch",icon:[448,512,[],"f126","M80 104a24 24 0 1 0 0-48 24 24 0 1 0 0 48zm80-24c0 32.8-19.7 61-48 73.3v87.8c18.8-10.9 40.7-17.1 64-17.1h96c35.3 0 64-28.7 64-64v-6.7C307.7 141 288 112.8 288 80c0-44.2 35.8-80 80-80s80 35.8 80 80c0 32.8-19.7 61-48 73.3V160c0 70.7-57.3 128-128 128H176c-35.3 0-64 28.7-64 64v6.7c28.3 12.3 48 40.5 48 73.3c0 44.2-35.8 80-80 80s-80-35.8-80-80c0-32.8 19.7-61 48-73.3V352 153.3C19.7 141 0 112.8 0 80C0 35.8 35.8 0 80 0s80 35.8 80 80zm232 0a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zM80 456a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},uf={prefix:"fas",iconName:"route",icon:[512,512,[],"f4d7","M512 96c0 50.2-59.1 125.1-84.6 155c-3.8 4.4-9.4 6.1-14.5 5H320c-17.7 0-32 14.3-32 32s14.3 32 32 32h96c53 0 96 43 96 96s-43 96-96 96H139.6c8.7-9.9 19.3-22.6 30-36.8c6.3-8.4 12.8-17.6 19-27.2H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320c-53 0-96-43-96-96s43-96 96-96h39.8c-21-31.5-39.8-67.7-39.8-96c0-53 43-96 96-96s96 43 96 96zM117.1 489.1c-3.8 4.3-7.2 8.1-10.1 11.3l-1.8 2-.2-.2c-6 4.6-14.6 4-20-1.8C59.8 473 0 402.5 0 352c0-53 43-96 96-96s96 43 96 96c0 30-21.1 67-43.5 97.9c-10.7 14.7-21.7 28-30.8 38.5l-.6 .7zM128 352a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM416 128a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]},zp={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},tt={prefix:"fas",iconName:"user-gear",icon:[640,512,["user-cog"],"f4fe","M224 0a128 128 0 1 1 0 256A128 128 0 1 1 224 0zM178.3 304h91.4c11.8 0 23.4 1.2 34.5 3.3c-2.1 18.5 7.4 35.6 21.8 44.8c-16.6 10.6-26.7 31.6-20 53.3c4 12.9 9.4 25.5 16.4 37.6s15.2 23.1 24.4 33c15.7 16.9 39.6 18.4 57.2 8.7v.9c0 9.2 2.7 18.5 7.9 26.3H29.7C13.3 512 0 498.7 0 482.3C0 383.8 79.8 304 178.3 304zM436 218.2c0-7 4.5-13.3 11.3-14.8c10.5-2.4 21.5-3.7 32.7-3.7s22.2 1.3 32.7 3.7c6.8 1.5 11.3 7.8 11.3 14.8v30.6c7.9 3.4 15.4 7.7 22.3 12.8l24.9-14.3c6.1-3.5 13.7-2.7 18.5 2.4c7.6 8.1 14.3 17.2 20.1 27.2s10.3 20.4 13.5 31c2.1 6.7-1.1 13.7-7.2 17.2l-25 14.4c.4 4 .7 8.1 .7 12.3s-.2 8.2-.7 12.3l25 14.4c6.1 3.5 9.2 10.5 7.2 17.2c-3.3 10.6-7.8 21-13.5 31s-12.5 19.1-20.1 27.2c-4.8 5.1-12.5 5.9-18.5 2.4l-24.9-14.3c-6.9 5.1-14.3 9.4-22.3 12.8l0 30.6c0 7-4.5 13.3-11.3 14.8c-10.5 2.4-21.5 3.7-32.7 3.7s-22.2-1.3-32.7-3.7c-6.8-1.5-11.3-7.8-11.3-14.8V454.8c-8-3.4-15.6-7.7-22.5-12.9l-24.7 14.3c-6.1 3.5-13.7 2.7-18.5-2.4c-7.6-8.1-14.3-17.2-20.1-27.2s-10.3-20.4-13.5-31c-2.1-6.7 1.1-13.7 7.2-17.2l24.8-14.3c-.4-4.1-.7-8.2-.7-12.4s.2-8.3 .7-12.4L343.8 325c-6.1-3.5-9.2-10.5-7.2-17.2c3.3-10.6 7.7-21 13.5-31s12.5-19.1 20.1-27.2c4.8-5.1 12.4-5.9 18.5-2.4l24.8 14.3c6.9-5.1 14.5-9.4 22.5-12.9V218.2zm92.1 133.5a48.1 48.1 0 1 0 -96.1 0 48.1 48.1 0 1 0 96.1 0z"]},U8={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"]},Z8={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},S4={prefix:"fas",iconName:"dumbbell",icon:[640,512,[],"f44b","M96 64c0-17.7 14.3-32 32-32h32c17.7 0 32 14.3 32 32V224v64V448c0 17.7-14.3 32-32 32H128c-17.7 0-32-14.3-32-32V384H64c-17.7 0-32-14.3-32-32V288c-17.7 0-32-14.3-32-32s14.3-32 32-32V160c0-17.7 14.3-32 32-32H96V64zm448 0v64h32c17.7 0 32 14.3 32 32v64c17.7 0 32 14.3 32 32s-14.3 32-32 32v64c0 17.7-14.3 32-32 32H544v64c0 17.7-14.3 32-32 32H480c-17.7 0-32-14.3-32-32V288 224 64c0-17.7 14.3-32 32-32h32c17.7 0 32 14.3 32 32zM416 224v64H224V224H416z"]},Tf={prefix:"fas",iconName:"indian-rupee-sign",icon:[320,512,["indian-rupee","inr"],"e1bc","M0 64C0 46.3 14.3 32 32 32H96h16H288c17.7 0 32 14.3 32 32s-14.3 32-32 32H231.8c9.6 14.4 16.7 30.6 20.7 48H288c17.7 0 32 14.3 32 32s-14.3 32-32 32H252.4c-13.2 58.3-61.9 103.2-122.2 110.9L274.6 422c14.4 10.3 17.7 30.3 7.4 44.6s-30.3 17.7-44.6 7.4L13.4 314C2.1 306-2.7 291.5 1.5 278.2S18.1 256 32 256h80c32.8 0 61-19.7 73.3-48H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H185.3C173 115.7 144.8 96 112 96H96 32C14.3 96 0 81.7 0 64z"]},bh={prefix:"fas",iconName:"money-bill-1",icon:[576,512,["money-bill-alt"],"f3d1","M64 64C28.7 64 0 92.7 0 128V384c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64H64zm64 320H64V320c35.3 0 64 28.7 64 64zM64 192V128h64c0 35.3-28.7 64-64 64zM448 384c0-35.3 28.7-64 64-64v64H448zm64-192c-35.3 0-64-28.7-64-64h64v64zM176 256a112 112 0 1 1 224 0 112 112 0 1 1 -224 0zm76-48c0 9.7 6.9 17.7 16 19.6V276h-4c-11 0-20 9-20 20s9 20 20 20h24 24c11 0 20-9 20-20s-9-20-20-20h-4V208c0-11-9-20-20-20H272c-11 0-20 9-20 20z"]},yd=bh,k4={prefix:"fas",iconName:"franc-sign",icon:[320,512,[],"e18f","M80 32C62.3 32 48 46.3 48 64V224v96H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H48v64c0 17.7 14.3 32 32 32s32-14.3 32-32V384h80c17.7 0 32-14.3 32-32s-14.3-32-32-32H112V256H256c17.7 0 32-14.3 32-32s-14.3-32-32-32H112V96H288c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z"]},P4={prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"]},Df={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"]},Es={prefix:"fas",iconName:"download",icon:[512,512,[],"f019","M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},Y4={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"]},Ah={prefix:"fas",iconName:"yen-sign",icon:[320,512,[165,"cny","jpy","rmb","yen"],"f157","M58.6 46.2C48.8 31.5 29 27.6 14.3 37.4S-4.4 67 5.4 81.7L100.2 224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32h80v32H48c-17.7 0-32 14.3-32 32s14.3 32 32 32h80v64c0 17.7 14.3 32 32 32s32-14.3 32-32V384h80c17.7 0 32-14.3 32-32s-14.3-32-32-32H192V288h80c17.7 0 32-14.3 32-32s-14.3-32-32-32H219.8L314.6 81.7c9.8-14.7 5.8-34.6-8.9-44.4s-34.6-5.8-44.4 8.9L160 198.3 58.6 46.2z"]},Rf={prefix:"fas",iconName:"ruble-sign",icon:[384,512,[8381,"rouble","rub","ruble"],"f158","M96 32C78.3 32 64 46.3 64 64V256H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H64v32H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H64v32c0 17.7 14.3 32 32 32s32-14.3 32-32V416H288c17.7 0 32-14.3 32-32s-14.3-32-32-32H128V320H240c79.5 0 144-64.5 144-144s-64.5-144-144-144H96zM240 256H128V96H240c44.2 0 80 35.8 80 80s-35.8 80-80 80z"]},j4={prefix:"fas",iconName:"arrows-turn-to-dots",icon:[512,512,[],"e4c1","M249.4 25.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L269.3 96 416 96c53 0 96 43 96 96v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V192c0-17.7-14.3-32-32-32l-146.7 0 25.4 25.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-80-80c-12.5-12.5-12.5-32.8 0-45.3l80-80zm13.3 256l80 80c12.5 12.5 12.5 32.8 0 45.3l-80 80c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 416 96 416c-17.7 0-32 14.3-32 32v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V448c0-53 43-96 96-96l146.7 0-25.4-25.4c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0zM384 384a64 64 0 1 1 128 0 64 64 0 1 1 -128 0zM64 192A64 64 0 1 1 64 64a64 64 0 1 1 0 128z"]},q4={prefix:"fas",iconName:"user-lock",icon:[640,512,[],"f502","M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H392.6c-5.4-9.4-8.6-20.3-8.6-32V352c0-2.1 .1-4.2 .3-6.3c-31-26-71-41.7-114.6-41.7H178.3zM528 240c17.7 0 32 14.3 32 32v48H496V272c0-17.7 14.3-32 32-32zm-80 32v48c-17.7 0-32 14.3-32 32V480c0 17.7 14.3 32 32 32H608c17.7 0 32-14.3 32-32V352c0-17.7-14.3-32-32-32V272c0-44.2-35.8-80-80-80s-80 35.8-80 80z"]},$6={prefix:"fas",iconName:"gauge-high",icon:[512,512,[62461,"tachometer-alt","tachometer-alt-fast"],"f625","M0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zM288 96a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM256 416c35.3 0 64-28.7 64-64c0-17.4-6.9-33.1-18.1-44.6L366 161.7c5.3-12.1-.2-26.3-12.3-31.6s-26.3 .2-31.6 12.3L257.9 288c-.6 0-1.3 0-1.9 0c-35.3 0-64 28.7-64 64s28.7 64 64 64zM176 144a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM96 288a32 32 0 1 0 0-64 32 32 0 1 0 0 64zm352-32a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},ig={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"]},rg={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},Hf={prefix:"fas",iconName:"receipt",icon:[384,512,[129534],"f543","M14 2.2C22.5-1.7 32.5-.3 39.6 5.8L80 40.4 120.4 5.8c9-7.7 22.3-7.7 31.2 0L192 40.4 232.4 5.8c9-7.7 22.3-7.7 31.2 0L304 40.4 344.4 5.8c7.1-6.1 17.1-7.5 25.6-3.6s14 12.4 14 21.8V488c0 9.4-5.5 17.9-14 21.8s-18.5 2.5-25.6-3.6L304 471.6l-40.4 34.6c-9 7.7-22.3 7.7-31.2 0L192 471.6l-40.4 34.6c-9 7.7-22.3 7.7-31.2 0L80 471.6 39.6 506.2c-7.1 6.1-17.1 7.5-25.6 3.6S0 497.4 0 488V24C0 14.6 5.5 6.1 14 2.2zM96 144c-8.8 0-16 7.2-16 16s7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96zM80 352c0 8.8 7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96c-8.8 0-16 7.2-16 16zM96 240c-8.8 0-16 7.2-16 16s7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96z"]},s7={prefix:"fas",iconName:"brazilian-real-sign",icon:[512,512,[],"e46c","M400 0c17.7 0 32 14.3 32 32V50.2c12.5 2.3 24.7 6.4 36.2 12.1l10.1 5.1c15.8 7.9 22.2 27.1 14.3 42.9s-27.1 22.2-42.9 14.3l-10.2-5.1c-9.9-5-20.9-7.5-32-7.5h-1.7c-29.8 0-53.9 24.1-53.9 53.9c0 22 13.4 41.8 33.9 50l52 20.8c44.7 17.9 74.1 61.2 74.1 109.4v3.4c0 51.2-33.6 94.6-80 109.2V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V460.6c-15-3.5-29.4-9.7-42.3-18.3l-23.4-15.6c-14.7-9.8-18.7-29.7-8.9-44.4s29.7-18.7 44.4-8.9L361.2 389c10.8 7.2 23.4 11 36.3 11c27.9 0 50.5-22.6 50.5-50.5v-3.4c0-22-13.4-41.8-33.9-50l-52-20.8C317.3 257.4 288 214.1 288 165.9C288 114 321.5 70 368 54.2V32c0-17.7 14.3-32 32-32zM0 64C0 46.3 14.3 32 32 32h80c79.5 0 144 64.5 144 144c0 58.8-35.2 109.3-85.7 131.7l51.4 128.4c6.6 16.4-1.4 35-17.8 41.6s-35-1.4-41.6-17.8L106.3 320H64V448c0 17.7-14.3 32-32 32s-32-14.3-32-32V288 64zM64 256h48c44.2 0 80-35.8 80-80s-35.8-80-80-80H64V256z"]},mg={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"]},cm={prefix:"fas",iconName:"copy",icon:[448,512,[],"f0c5","M208 0H332.1c12.7 0 24.9 5.1 33.9 14.1l67.9 67.9c9 9 14.1 21.2 14.1 33.9V336c0 26.5-21.5 48-48 48H208c-26.5 0-48-21.5-48-48V48c0-26.5 21.5-48 48-48zM48 128h80v64H64V448H256V416h64v48c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V176c0-26.5 21.5-48 48-48z"]},lm={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"]},xy={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},um={prefix:"fas",iconName:"percent",icon:[384,512,[62101,62785,"percentage"],"25","M374.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-320 320c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l320-320zM128 128A64 64 0 1 0 0 128a64 64 0 1 0 128 0zM384 384a64 64 0 1 0 -128 0 64 64 0 1 0 128 0z"]},px={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"]},ov={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"]},bv={prefix:"fas",iconName:"scale-balanced",icon:[640,512,[9878,"balance-scale"],"f24e","M384 32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H398.4c-5.2 25.8-22.9 47.1-46.4 57.3V448H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H320 128c-17.7 0-32-14.3-32-32s14.3-32 32-32H288V153.3c-23.5-10.3-41.2-31.6-46.4-57.3H128c-17.7 0-32-14.3-32-32s14.3-32 32-32H256c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32zm55.6 288H584.4L512 195.8 439.6 320zM512 416c-62.9 0-115.2-34-126-78.9c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C627.2 382 574.9 416 512 416zM126.8 195.8L54.4 320H199.3L126.8 195.8zM.9 337.1c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C242 382 189.7 416 126.8 416S11.7 382 .9 337.1z"]},Cv={prefix:"fas",iconName:"baht-sign",icon:[320,512,[],"e0ac","M144 0c-17.7 0-32 14.3-32 32V64H37.6C16.8 64 0 80.8 0 101.6V224v41.7V288 406.3c0 23 18.7 41.7 41.7 41.7H112v32c0 17.7 14.3 32 32 32s32-14.3 32-32V448h32c61.9 0 112-50.1 112-112c0-40.1-21.1-75.3-52.7-95.1C280.3 222.6 288 200.2 288 176c0-61.9-50.1-112-112-112V32c0-17.7-14.3-32-32-32zM112 128v96H64V128h48zm64 96V128c26.5 0 48 21.5 48 48s-21.5 48-48 48zm-64 64v96H64V288h48zm64 96V288h32c26.5 0 48 21.5 48 48s-21.5 48-48 48H176z"]},rw={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},ow={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"]},_w={prefix:"fas",iconName:"user-clock",icon:[640,512,[],"f4fd","M224 0a128 128 0 1 1 0 256A128 128 0 1 1 224 0zM178.3 304h91.4c20.6 0 40.4 3.5 58.8 9.9C323 331 320 349.1 320 368c0 59.5 29.5 112.1 74.8 144H29.7C13.3 512 0 498.7 0 482.3C0 383.8 79.8 304 178.3 304zM352 368a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-80c-8.8 0-16 7.2-16 16v64c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16s-7.2-16-16-16H512V304c0-8.8-7.2-16-16-16z"]},wv={prefix:"fas",iconName:"turkish-lira-sign",icon:[384,512,["try","turkish-lira"],"e2bb","M96 32c17.7 0 32 14.3 32 32V99.3L247.2 65.2c17-4.9 34.7 5 39.6 22s-5 34.7-22 39.6L128 165.9v29.4l119.2-34.1c17-4.9 34.7 5 39.6 22s-5 34.7-22 39.6L128 261.9V416h63.8c68.2 0 124.4-53.5 127.8-121.6l.4-8c.9-17.7 15.9-31.2 33.6-30.4s31.2 15.9 30.4 33.6l-.4 8C378.5 399.8 294.1 480 191.8 480H96c-17.7 0-32-14.3-32-32V280.1l-23.2 6.6c-17 4.9-34.7-5-39.6-22s5-34.7 22-39.6L64 213.6V184.1l-23.2 6.6c-17 4.9-34.7-5-39.6-22s5-34.7 22-39.6L64 117.6V64c0-17.7 14.3-32 32-32z"]},Mv={prefix:"fas",iconName:"dollar-sign",icon:[320,512,[128178,61781,"dollar","usd"],"24","M160 0c17.7 0 32 14.3 32 32V67.7c1.6 .2 3.1 .4 4.7 .7c.4 .1 .7 .1 1.1 .2l48 8.8c17.4 3.2 28.9 19.9 25.7 37.2s-19.9 28.9-37.2 25.7l-47.5-8.7c-31.3-4.6-58.9-1.5-78.3 6.2s-27.2 18.3-29 28.1c-2 10.7-.5 16.7 1.2 20.4c1.8 3.9 5.5 8.3 12.8 13.2c16.3 10.7 41.3 17.7 73.7 26.3l2.9 .8c28.6 7.6 63.6 16.8 89.6 33.8c14.2 9.3 27.6 21.9 35.9 39.5c8.5 17.9 10.3 37.9 6.4 59.2c-6.9 38-33.1 63.4-65.6 76.7c-13.7 5.6-28.6 9.2-44.4 11V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V445.1c-.4-.1-.9-.1-1.3-.2l-.2 0 0 0c-24.4-3.8-64.5-14.3-91.5-26.3c-16.1-7.2-23.4-26.1-16.2-42.2s26.1-23.4 42.2-16.2c20.9 9.3 55.3 18.5 75.2 21.6c31.9 4.7 58.2 2 76-5.3c16.9-6.9 24.6-16.9 26.8-28.9c1.9-10.6 .4-16.7-1.3-20.4c-1.9-4-5.6-8.4-13-13.3c-16.4-10.7-41.5-17.7-74-26.3l-2.8-.7 0 0C119.4 279.3 84.4 270 58.4 253c-14.2-9.3-27.5-22-35.8-39.6c-8.4-17.9-10.1-37.9-6.1-59.2C23.7 116 52.3 91.2 84.8 78.3c13.3-5.3 27.9-8.9 43.2-11V32c0-17.7 14.3-32 32-32z"]}},5154:(He,X,p)=>{"use strict";p.d(X,{eX:()=>te,sQ:()=>lt,GW:()=>n,l4:()=>De});var e=p(3019),t=p(5592),y=p(8645),A=p(7538),l=p(6232),M=p(2096),m=p(8504),O=p(4674);class E{constructor(Ft,Ct,Pt){this.kind=Ft,this.value=Ct,this.error=Pt,this.hasValue="N"===Ft}observe(Ft){return x(this,Ft)}do(Ft,Ct,Pt){const{kind:xt,value:rt,error:Ee}=this;return"N"===xt?Ft?.(rt):"E"===xt?Ct?.(Ee):Pt?.()}accept(Ft,Ct,Pt){var xt;return(0,O.m)(null===(xt=Ft)||void 0===xt?void 0:xt.next)?this.observe(Ft):this.do(Ft,Ct,Pt)}toObservable(){const{kind:Ft,value:Ct,error:Pt}=this,xt="N"===Ft?(0,M.of)(Ct):"E"===Ft?(0,m._)(()=>Pt):"C"===Ft?l.E:0;if(!xt)throw new TypeError(`Unexpected notification kind ${Ft}`);return xt}static createNext(Ft){return new E("N",Ft)}static createError(Ft){return new E("E",void 0,Ft)}static createComplete(){return E.completeNotification}}function x(We,Ft){var Ct,Pt,xt;const{kind:rt,value:Ee,error:it}=We;if("string"!=typeof rt)throw new TypeError('Invalid notification, missing "kind"');"N"===rt?null===(Ct=Ft.next)||void 0===Ct||Ct.call(Ft,Ee):"E"===rt?null===(Pt=Ft.error)||void 0===Pt||Pt.call(Ft,it):null===(xt=Ft.complete)||void 0===xt||xt.call(Ft)}E.completeNotification=new E("C");var I=p(9360),k=p(8251),G=p(7398),j=p(6306),W=p(2181),K=p(4829);function q(We,Ft,Ct,Pt){return(0,I.e)((xt,rt)=>{let Ee;Ft&&"function"!=typeof Ft?({duration:Ct,element:Ee,connector:Pt}=Ft):Ee=Ft;const it=new Map,Ue=ne=>{it.forEach(ne),ne(rt)},Je=ne=>Ue(Ie=>Ie.error(ne));let _t=0,Le=!1;const be=new k.Q(rt,ne=>{try{const Ie=We(ne);let Ht=it.get(Ie);if(!Ht){it.set(Ie,Ht=Pt?Pt():new y.x);const At=function ee(ne,Ie){const Ht=new t.y(At=>{_t++;const Zt=Ie.subscribe(At);return()=>{Zt.unsubscribe(),0==--_t&&Le&&be.unsubscribe()}});return Ht.key=ne,Ht}(Ie,Ht);if(rt.next(At),Ct){const Zt=(0,k.x)(Ht,()=>{Ht.complete(),Zt?.unsubscribe()},void 0,void 0,()=>it.delete(Ie));be.add((0,K.Xf)(Ct(At)).subscribe(Zt))}}Ht.next(Ee?Ee(ne):ne)}catch(Ie){Je(Ie)}},()=>Ue(ne=>ne.complete()),Je,()=>it.clear(),()=>(Le=!0,0===_t));xt.subscribe(be)})}var ie=p(1631);function ae(We,Ft){return Ft?Ct=>Ct.pipe(ae((Pt,xt)=>(0,K.Xf)(We(Pt,xt)).pipe((0,G.U)((rt,Ee)=>Ft(Pt,rt,xt,Ee))))):(0,I.e)((Ct,Pt)=>{let xt=0,rt=null,Ee=!1;Ct.subscribe((0,k.x)(Pt,it=>{rt||(rt=(0,k.x)(Pt,void 0,()=>{rt=null,Ee&&Pt.complete()}),(0,K.Xf)(We(it,xt++)).subscribe(rt))},()=>{Ee=!0,!rt&&Pt.complete()}))})}var re=p(8180),xe=p(9212),$=p(4221);const he={dispatch:!0,functional:!1,useEffectsErrorHandler:!0},S="__@ngrx/effects_create__";function n(We,Ft={}){const Ct=Ft.functional?We:We(),Pt={...he,...Ft};return Object.defineProperty(Ct,S,{value:Pt}),Ct}function w(We){return Object.getPrototypeOf(We)}function P(We){return"function"==typeof We}function v(We){return We.filter(P)}function g(We,Ft,Ct){const Pt=w(We),rt=Pt&&"Object"!==Pt.constructor.name?Pt.constructor.name:null,Ee=function h(We){return function s(We){return Object.getOwnPropertyNames(We).filter(Pt=>!(!We[Pt]||!We[Pt].hasOwnProperty(S))&&We[Pt][S].hasOwnProperty("dispatch")).map(Pt=>({propertyName:Pt,...We[Pt][S]}))}(We)}(We).map(({propertyName:it,dispatch:Ue,useEffectsErrorHandler:Je})=>{const _t="function"==typeof We[it]?We[it]():We[it],Le=Je?Ct(_t,Ft):_t;return!1===Ue?Le.pipe((0,A.l)()):Le.pipe(function V(){return(0,I.e)((We,Ft)=>{We.subscribe((0,k.x)(Ft,Ct=>{Ft.next(E.createNext(Ct))},()=>{Ft.next(E.createComplete()),Ft.complete()},Ct=>{Ft.next(E.createError(Ct)),Ft.complete()}))})}()).pipe((0,G.U)(ee=>({effect:We[it],notification:ee,propertyName:it,sourceName:rt,sourceInstance:We})))});return(0,e.T)(...Ee)}function N(We,Ft,Ct=10){return We.pipe((0,j.K)(Pt=>(Ft&&Ft.handleError(Pt),Ct<=1?We:N(We,Ft,Ct-1))))}let te=(()=>{class We extends t.y{constructor(Ct){super(),Ct&&(this.source=Ct)}lift(Ct){const Pt=new We;return Pt.source=this,Pt.operator=Ct,Pt}static#e=this.\u0275fac=function(Pt){return new(Pt||We)(xe.LFG($.Y$))};static#t=this.\u0275prov=xe.Yz7({token:We,factory:We.\u0275fac,providedIn:"root"})}return We})();function De(...We){return(0,W.h)(Ft=>We.some(Ct=>"string"==typeof Ct?Ct===Ft.type:Ct.type===Ft.type))}const st=new xe.OlP("@ngrx/effects Internal Root Guard"),je=new xe.OlP("@ngrx/effects User Provided Effects"),$e=new xe.OlP("@ngrx/effects Internal Root Effects"),ye=new xe.OlP("@ngrx/effects Internal Root Effects Instances"),fe=new xe.OlP("@ngrx/effects Internal Feature Effects"),de=new xe.OlP("@ngrx/effects Internal Feature Effects Instance Groups"),Ce=new xe.OlP("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>N}),le="@ngrx/effects/init";(0,$.PH)(le);function Ae(We){return ze(We,"ngrxOnInitEffects")}function ze(We,Ft){return We&&Ft in We&&"function"==typeof We[Ft]}let nt=(()=>{class We extends y.x{constructor(Ct,Pt){super(),this.errorHandler=Ct,this.effectsErrorHandler=Pt}addEffects(Ct){this.next(Ct)}toActions(){return this.pipe(q(Ct=>function D(We){return!!We.constructor&&"Object"!==We.constructor.name&&"Function"!==We.constructor.name}(Ct)?w(Ct):Ct),(0,ie.z)(Ct=>Ct.pipe(q(et))),(0,ie.z)(Ct=>{const Pt=Ct.pipe(ae(rt=>function ke(We,Ft){return Ct=>{const Pt=g(Ct,We,Ft);return function mt(We){return ze(We,"ngrxOnRunEffects")}(Ct)?Ct.ngrxOnRunEffects(Pt):Pt}}(this.errorHandler,this.effectsErrorHandler)(rt)),(0,G.U)(rt=>(function qe(We,Ft){if("N"===We.notification.kind){const Ct=We.notification.value;!function oe(We){return"function"!=typeof We&&We&&We.type&&"string"==typeof We.type}(Ct)&&Ft.handleError(new Error(`Effect ${function ve({propertyName:We,sourceInstance:Ft,sourceName:Ct}){const Pt="function"==typeof Ft[We];return Ct?`"${Ct}.${String(We)}${Pt?"()":""}"`:`"${String(We)}()"`}(We)} dispatched an invalid action: ${function ce(We){try{return JSON.stringify(We)}catch{return We}}(Ct)}`))}}(rt,this.errorHandler),rt.notification)),(0,W.h)(rt=>"N"===rt.kind&&null!=rt.value),function ue(){return(0,I.e)((We,Ft)=>{We.subscribe((0,k.x)(Ft,Ct=>x(Ct,Ft)))})}()),xt=Ct.pipe((0,re.q)(1),(0,W.h)(Ae),(0,G.U)(rt=>rt.ngrxOnInitEffects()));return(0,e.T)(Pt,xt)}))}static#e=this.\u0275fac=function(Pt){return new(Pt||We)(xe.LFG(xe.qLn),xe.LFG(Ce))};static#t=this.\u0275prov=xe.Yz7({token:We,factory:We.\u0275fac,providedIn:"root"})}return We})();function et(We){return function Ze(We){return ze(We,"ngrxOnIdentifyEffects")}(We)?We.ngrxOnIdentifyEffects():""}let ct=(()=>{class We{get isStarted(){return!!this.effectsSubscription}constructor(Ct,Pt){this.effectSources=Ct,this.store=Pt,this.effectsSubscription=null}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}static#e=this.\u0275fac=function(Pt){return new(Pt||We)(xe.LFG(nt),xe.LFG($.yh))};static#t=this.\u0275prov=xe.Yz7({token:We,factory:We.\u0275fac,providedIn:"root"})}return We})(),Qe=(()=>{class We{constructor(Ct,Pt,xt,rt,Ee,it,Ue){this.sources=Ct,Pt.start();for(const Je of rt)Ct.addEffects(Je);xt.dispatch({type:le})}addEffects(Ct){this.sources.addEffects(Ct)}static#e=this.\u0275fac=function(Pt){return new(Pt||We)(xe.LFG(nt),xe.LFG(ct),xe.LFG($.yh),xe.LFG(ye),xe.LFG($.cr,8),xe.LFG($.CK,8),xe.LFG(st,8))};static#t=this.\u0275mod=xe.oAB({type:We});static#i=this.\u0275inj=xe.cJS({})}return We})(),Et=(()=>{class We{constructor(Ct,Pt,xt,rt){const Ee=Pt.flat();for(const it of Ee)Ct.addEffects(it)}static#e=this.\u0275fac=function(Pt){return new(Pt||We)(xe.LFG(Qe),xe.LFG(de),xe.LFG($.cr,8),xe.LFG($.CK,8))};static#t=this.\u0275mod=xe.oAB({type:We});static#i=this.\u0275inj=xe.cJS({})}return We})(),lt=(()=>{class We{static forFeature(...Ct){const Pt=Ct.flat(),xt=v(Pt);return{ngModule:Et,providers:[xt,{provide:fe,multi:!0,useValue:Pt},{provide:je,multi:!0,useValue:[]},{provide:de,multi:!0,useFactory:Ke,deps:[fe,je]}]}}static forRoot(...Ct){const Pt=Ct.flat(),xt=v(Pt);return{ngModule:Qe,providers:[xt,{provide:$e,useValue:[Pt]},{provide:st,useFactory:Be},{provide:je,multi:!0,useValue:[]},{provide:ye,useFactory:Ke,deps:[$e,je]}]}}static#e=this.\u0275fac=function(Pt){return new(Pt||We)};static#t=this.\u0275mod=xe.oAB({type:We});static#i=this.\u0275inj=xe.cJS({})}return We})();function Ke(We,Ft){const Ct=[];for(const Pt of We)Ct.push(...Pt);for(const Pt of Ft)Ct.push(...Pt);return Ct.map(Pt=>function r(We){return We instanceof xe.OlP||P(We)}(Pt)?(0,xe.f3M)(Pt):Pt)}function Be(){const We=(0,xe.f3M)(ct,{optional:!0,skipSelf:!0}),Ft=(0,xe.f3M)($e,{self:!0});if((1!==Ft.length||0!==Ft[0].length)&&We)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}},7632:(__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__(9212),_ngrx_store__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(4221),rxjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(6232),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(5592),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(2096),rxjs__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(3019),rxjs__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(2381),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(7328),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(3020),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(2181),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(7398),rxjs_operators__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(6328),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(5178),rxjs_operators__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(3620),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(6306),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(8180),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(9773),rxjs_operators__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(4664),rxjs_operators__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(836),rxjs_operators__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(3093),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(2460),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(6699),_angular_core_rxjs_interop__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(1993);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(X,p){if(this.action=X,this.timestamp=p,this.type=PERFORM_ACTION,typeof X.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(X){this.timestamp=X,this.type=RESET}}class Rollback{constructor(X){this.timestamp=X,this.type=ROLLBACK}}class Commit{constructor(X){this.timestamp=X,this.type=COMMIT}}class Sweep{constructor(){this.type=SWEEP}}class ToggleAction{constructor(X){this.id=X,this.type=TOGGLE_ACTION}}class SetActionsActive{constructor(X,p,e=!0){this.start=X,this.end=p,this.active=e,this.type=SET_ACTIONS_ACTIVE}}class JumpToState{constructor(X){this.index=X,this.type=JUMP_TO_STATE}}class JumpToAction{constructor(X){this.actionId=X,this.type=JUMP_TO_ACTION}}class ImportState{constructor(X){this.nextLiftedState=X,this.type=IMPORT_STATE}}class LockChanges{constructor(X){this.status=X,this.type=LOCK_CHANGES}}class PauseRecording{constructor(X){this.status=X,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(He){const X={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},connectInZone:!1},p="function"==typeof He?He():He,t=p.features||!!p.logOnly&&{pause:!0,export:!0,test:!0}||X.features;!0===t.import&&(t.import="custom");const y=Object.assign({},X,{features:t},p);if(y.maxAge&&y.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${y.maxAge}`);return y}function difference(He,X){return He.filter(p=>X.indexOf(p)<0)}function unliftState(He){const{computedStates:X,currentStateIndex:p}=He;if(p>=X.length){const{state:t}=X[X.length-1];return t}const{state:e}=X[p];return e}function unliftAction(He){return He.actionsById[He.nextActionId-1]}function liftAction(He){return new PerformAction(He,+Date.now())}function sanitizeActions(He,X){return Object.keys(X).reduce((p,e)=>{const t=Number(e);return p[t]=sanitizeAction(He,X[t],t),p},{})}function sanitizeAction(He,X,p){return{...X,action:He(X.action,p)}}function sanitizeStates(He,X){return X.map((p,e)=>({state:sanitizeState(He,p.state,e),error:p.error}))}function sanitizeState(He,X,p){return He(X,p)}function shouldFilterActions(He){return He.predicate||He.actionsSafelist||He.actionsBlocklist}function filterLiftedState(He,X,p,e){const t=[],y={},A=[];return He.stagedActionIds.forEach((l,M)=>{const m=He.actionsById[l];m&&(M&&isActionFiltered(He.computedStates[M],m,X,p,e)||(y[l]=m,t.push(l),A.push(He.computedStates[M])))}),{...He,stagedActionIds:t,actionsById:y,computedStates:A}}function isActionFiltered(He,X,p,e,t){const y=p&&!p(He,X.action),A=e&&!X.action.type.match(e.map(M=>escapeRegExp(M)).join("|")),l=t&&X.action.type.match(t.map(M=>escapeRegExp(M)).join("|"));return y||A||l}function escapeRegExp(He){return He.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function injectZoneConfig(He){return{ngZone:He?(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.f3M)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.R0b):null,connectInZone:He}}let DevtoolsDispatcher=(()=>{class He extends _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.UO{static#e=this.\u0275fac=(()=>{let p;return function(t){return(p||(p=_angular_core__WEBPACK_IMPORTED_MODULE_0__.n5z(He)))(t||He)}})();static#t=this.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:He,factory:He.\u0275fac})}return He})();const ExtensionActionTypes={START:"START",DISPATCH:"DISPATCH",STOP:"STOP",ACTION:"ACTION"},REDUX_DEVTOOLS_EXTENSION=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Redux Devtools Extension");let DevtoolsExtension=(()=>{class DevtoolsExtension{constructor(He,X,p){this.config=X,this.dispatcher=p,this.zoneConfig=injectZoneConfig(this.config.connectInZone),this.devtoolsExtension=He,this.createActionStreams()}notify(He,X){if(this.devtoolsExtension)if(He.type===PERFORM_ACTION){if(X.isLocked||X.isPaused)return;const p=unliftState(X);if(shouldFilterActions(this.config)&&isActionFiltered(p,He,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;const e=this.config.stateSanitizer?sanitizeState(this.config.stateSanitizer,p,X.currentStateIndex):p,t=this.config.actionSanitizer?sanitizeAction(this.config.actionSanitizer,He,X.nextActionId):He;this.sendToReduxDevtools(()=>this.extensionConnection.send(t,e))}else{const p={...X,stagedActionIds:X.stagedActionIds,actionsById:this.config.actionSanitizer?sanitizeActions(this.config.actionSanitizer,X.actionsById):X.actionsById,computedStates:this.config.stateSanitizer?sanitizeStates(this.config.stateSanitizer,X.computedStates):X.computedStates};this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,p,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new rxjs__WEBPACK_IMPORTED_MODULE_3__.y(He=>{const X=this.zoneConfig.connectInZone?this.zoneConfig.ngZone.runOutsideAngular(()=>this.devtoolsExtension.connect(this.getExtensionConfig(this.config))):this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=X,X.init(),X.subscribe(p=>He.next(p)),X.unsubscribe}):rxjs__WEBPACK_IMPORTED_MODULE_2__.E}createActionStreams(){const He=this.createChangesObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.B)()),X=He.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(l=>l.type===ExtensionActionTypes.START)),p=He.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(l=>l.type===ExtensionActionTypes.STOP)),e=He.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)(M=>M.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))),y=He.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)(p)),A=e.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(p));this.start$=X.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(p)),this.actions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.w)(()=>y)),this.liftedActions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.w)(()=>A))}unwrapAction(action){return"string"==typeof action?eval(`(${action})`):action}getExtensionConfig(He){const X={name:He.name,features:He.features,serialize:He.serialize,autoPause:He.autoPause??!1,trace:He.trace??!1,traceLimit:He.traceLimit??75};return!1!==He.maxAge&&(X.maxAge=He.maxAge),X}sendToReduxDevtools(He){try{He()}catch(X){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",X)}}static#_=this.\u0275fac=function He(X){return new(X||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))};static#_2=this.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:DevtoolsExtension,factory:DevtoolsExtension.\u0275fac})}return DevtoolsExtension})();const INIT_ACTION={type:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.qg},RECOMPUTE="@ngrx/store-devtools/recompute",RECOMPUTE_ACTION={type:RECOMPUTE};function computeNextEntry(He,X,p,e,t){if(e)return{state:p,error:"Interrupted by an error up the chain"};let A,y=p;try{y=He(p,X)}catch(l){A=l.toString(),t.handleError(l)}return{state:y,error:A}}function recomputeStates(He,X,p,e,t,y,A,l,M){if(X>=He.length&&He.length===y.length)return He;const m=He.slice(0,X),O=y.length-(M?1:0);for(let d=X;d<O;d++){const E=y[d],x=t[E].action,I=m[d-1],k=I?I.state:e,V=I?I.error:void 0,j=A.indexOf(E)>-1?I:computeNextEntry(p,x,k,V,l);m.push(j)}return M&&m.push(He[He.length-1]),m}function liftInitialState(He,X){return{monitorState:X(void 0,{}),nextActionId:1,actionsById:{0:liftAction(INIT_ACTION)},stagedActionIds:[0],skippedActionIds:[],committedState:He,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}function liftReducerWith(He,X,p,e,t={}){return y=>(A,l)=>{let{monitorState:M,actionsById:m,nextActionId:O,stagedActionIds:d,skippedActionIds:E,committedState:x,currentStateIndex:I,computedStates:k,isLocked:V,isPaused:G}=A||X;function j(q){let ie=q,ae=d.slice(1,ie+1);for(let ue=0;ue<ae.length;ue++){if(k[ue+1].error){ie=ue,ae=d.slice(1,ie+1);break}delete m[ae[ue]]}E=E.filter(ue=>-1===ae.indexOf(ue)),d=[0,...d.slice(ie+1)],x=k[ie].state,k=k.slice(ie),I=I>ie?I-ie:0}function W(){m={0:liftAction(INIT_ACTION)},O=1,d=[0],E=[],x=k[I].state,I=0,k=[]}A||(m=Object.create(m));let K=0;switch(l.type){case LOCK_CHANGES:V=l.status,K=1/0;break;case PAUSE_RECORDING:G=l.status,G?(d=[...d,O],m[O]=new PerformAction({type:"@ngrx/devtools/pause"},+Date.now()),O++,K=d.length-1,k=k.concat(k[k.length-1]),I===d.length-2&&I++,K=1/0):W();break;case RESET:m={0:liftAction(INIT_ACTION)},O=1,d=[0],E=[],x=He,I=0,k=[];break;case COMMIT:W();break;case ROLLBACK:m={0:liftAction(INIT_ACTION)},O=1,d=[0],E=[],I=0,k=[];break;case TOGGLE_ACTION:{const{id:q}=l;E=-1===E.indexOf(q)?[q,...E]:E.filter(ae=>ae!==q),K=d.indexOf(q);break}case SET_ACTIONS_ACTIVE:{const{start:q,end:ie,active:ae}=l,ue=[];for(let re=q;re<ie;re++)ue.push(re);E=ae?difference(E,ue):[...E,...ue],K=d.indexOf(q);break}case JUMP_TO_STATE:I=l.index,K=1/0;break;case JUMP_TO_ACTION:{const q=d.indexOf(l.actionId);-1!==q&&(I=q),K=1/0;break}case SWEEP:d=difference(d,E),E=[],I=Math.min(I,d.length-1);break;case PERFORM_ACTION:{if(V)return A||X;if(G||A&&isActionFiltered(A.computedStates[I],l,t.predicate,t.actionsSafelist,t.actionsBlocklist)){const ie=k[k.length-1];k=[...k.slice(0,-1),computeNextEntry(y,l.action,ie.state,ie.error,p)],K=1/0;break}t.maxAge&&d.length===t.maxAge&&j(1),I===d.length-1&&I++;const q=O++;m[q]=l,d=[...d,q],K=d.length-1;break}case IMPORT_STATE:({monitorState:M,actionsById:m,nextActionId:O,stagedActionIds:d,skippedActionIds:E,committedState:x,currentStateIndex:I,computedStates:k,isLocked:V,isPaused:G}=l.nextLiftedState);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.qg:K=0,t.maxAge&&d.length>t.maxAge&&(k=recomputeStates(k,K,y,x,m,d,E,p,G),j(d.length-t.maxAge),K=1/0);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.wb:if(k.filter(ie=>ie.error).length>0)K=0,t.maxAge&&d.length>t.maxAge&&(k=recomputeStates(k,K,y,x,m,d,E,p,G),j(d.length-t.maxAge),K=1/0);else{if(!G&&!V){I===d.length-1&&I++;const ie=O++;m[ie]=new PerformAction(l,+Date.now()),d=[...d,ie],K=d.length-1,k=recomputeStates(k,K,y,x,m,d,E,p,G)}k=k.map(ie=>({...ie,state:y(ie.state,RECOMPUTE_ACTION)})),I=d.length-1,t.maxAge&&d.length>t.maxAge&&j(d.length-t.maxAge),K=1/0}break;default:K=1/0}return k=recomputeStates(k,K,y,x,m,d,E,p,G),M=e(M,l),{monitorState:M,actionsById:m,nextActionId:O,stagedActionIds:d,skippedActionIds:E,committedState:x,currentStateIndex:I,computedStates:k,isLocked:V,isPaused:G}}}let StoreDevtools=(()=>{class He{constructor(p,e,t,y,A,l,M,m){const O=liftInitialState(M,m.monitor),d=liftReducerWith(M,O,l,m.monitor,m),E=(0,rxjs__WEBPACK_IMPORTED_MODULE_15__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_15__.T)(e.asObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.T)(1)),y.actions$).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(liftAction)),p,y.liftedActions$).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.Q)(rxjs__WEBPACK_IMPORTED_MODULE_18__.N)),x=t.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(d)),I=injectZoneConfig(m.connectInZone),k=new rxjs__WEBPACK_IMPORTED_MODULE_19__.t(1);this.liftedStateSubscription=E.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.M)(x),emitInZone(I),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.R)(({state:j},[W,K])=>{let q=K(j,W);return W.type!==PERFORM_ACTION&&shouldFilterActions(m)&&(q=filterLiftedState(q,m.predicate,m.actionsSafelist,m.actionsBlocklist)),y.notify(W,q),{state:q,action:W}},{state:O,action:null})).subscribe(({state:j,action:W})=>{k.next(j),W.type===PERFORM_ACTION&&A.next(W.action)}),this.extensionStartSubscription=y.start$.pipe(emitInZone(I)).subscribe(()=>{this.refresh()});const V=k.asObservable(),G=V.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(unliftState));Object.defineProperty(G,"state",{value:(0,_angular_core_rxjs_interop__WEBPACK_IMPORTED_MODULE_22__.O4)(G,{manualCleanup:!0,requireSync:!0})}),this.dispatcher=p,this.liftedState=V,this.state=G}ngOnDestroy(){this.liftedStateSubscription.unsubscribe(),this.extensionStartSubscription.unsubscribe()}dispatch(p){this.dispatcher.next(p)}next(p){this.dispatcher.next(p)}error(p){}complete(){}performAction(p){this.dispatch(new PerformAction(p,+Date.now()))}refresh(){this.dispatch(new Refresh)}reset(){this.dispatch(new Reset(+Date.now()))}rollback(){this.dispatch(new Rollback(+Date.now()))}commit(){this.dispatch(new Commit(+Date.now()))}sweep(){this.dispatch(new Sweep)}toggleAction(p){this.dispatch(new ToggleAction(p))}jumpToAction(p){this.dispatch(new JumpToAction(p))}jumpToState(p){this.dispatch(new JumpToState(p))}importState(p){this.dispatch(new ImportState(p))}lockChanges(p){this.dispatch(new LockChanges(p))}pauseRecording(p){this.dispatch(new PauseRecording(p))}static#e=this.\u0275fac=function(e){return new(e||He)(_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))};static#t=this.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:He,factory:He.\u0275fac})}return He})();function emitInZone({ngZone:He,connectInZone:X}){return p=>X?new rxjs__WEBPACK_IMPORTED_MODULE_3__.y(e=>p.subscribe({next:t=>He.run(()=>e.next(t)),error:t=>He.run(()=>e.error(t)),complete:()=>He.run(()=>e.complete())})):p}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(He,X){return!!He||X.monitor!==noMonitor}function createReduxDevtoolsExtension(){const He="__REDUX_DEVTOOLS_EXTENSION__";return"object"==typeof window&&typeof window[He]<"u"?window[He]:null}function provideStoreDevtools(He={}){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.MR2)([DevtoolsExtension,DevtoolsDispatcher,StoreDevtools,{provide:INITIAL_OPTIONS,useValue:He},{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(He){return He.state}let StoreDevtoolsModule=(()=>{class He{static instrument(p={}){return{ngModule:He,providers:[provideStoreDevtools(p)]}}static#e=this.\u0275fac=function(e){return new(e||He)};static#t=this.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_0__.oAB({type:He});static#i=this.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_0__.cJS({})}return He})()},4221:(He,X,p)=>{"use strict";p.d(X,{UO:()=>he,qg:()=>$,Y6:()=>f,mK:()=>wt,n$:()=>Ze,Y$:()=>ze,FR:()=>et,yh:()=>Et,CK:()=>Lr,Aw:()=>Ui,cr:()=>ta,wb:()=>mt,PH:()=>G,ZF:()=>Jt,Lq:()=>qn,P1:()=>At,on:()=>rn,Ky:()=>j});var e=p(9212),t=p(5619),y=p(5592),A=p(8645),l=p(2381),M=p(3093),m=p(2460),O=p(6699),d=p(7398),x=p(3997),I=p(1993);const k={};function G(ei,Mi){if(k[ei]=(k[ei]||0)+1,"function"==typeof Mi)return K(ei,(...yi)=>({...Mi(...yi),type:ei}));switch(Mi?Mi._as:"empty"){case"empty":return K(ei,()=>({type:ei}));case"props":return K(ei,yi=>({...yi,type:ei}));default:throw new Error("Unexpected config.")}}function j(){return{_as:"props",_p:void 0}}function K(ei,Mi){return Object.defineProperty(Mi,"type",{value:ei,writable:!1})}const $="@ngrx/store/init";let he=(()=>{class ei extends t.X{constructor(){super({type:$})}next(gi){if("function"==typeof gi)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 gi>"u")throw new TypeError("Actions must be objects");if(typeof gi.type>"u")throw new TypeError("Actions must have a type property");super.next(gi)}complete(){}ngOnDestroy(){super.complete()}static#e=this.\u0275fac=function(yi){return new(yi||ei)};static#t=this.\u0275prov=e.Yz7({token:ei,factory:ei.\u0275fac})}return ei})();const S=[he],n=new e.OlP("@ngrx/store Internal Root Guard"),s=new e.OlP("@ngrx/store Internal Initial State"),f=new e.OlP("@ngrx/store Initial State"),h=new e.OlP("@ngrx/store Reducer Factory"),w=new e.OlP("@ngrx/store Internal Reducer Factory Provider"),D=new e.OlP("@ngrx/store Initial Reducers"),P=new e.OlP("@ngrx/store Internal Initial Reducers"),v=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"),H=new e.OlP("@ngrx/store Internal Feature Configs"),N=new e.OlP("@ngrx/store Internal Store Features"),te=new e.OlP("@ngrx/store Internal Feature Reducers Token"),De=new e.OlP("@ngrx/store Feature Reducers"),st=new e.OlP("@ngrx/store User Provided Meta Reducers"),je=new e.OlP("@ngrx/store Meta Reducers"),$e=new e.OlP("@ngrx/store Internal Resolved Meta Reducers"),ye=new e.OlP("@ngrx/store User Runtime Checks Config"),fe=new e.OlP("@ngrx/store Internal User Runtime Checks Config"),de=new e.OlP("@ngrx/store Internal Runtime Checks"),Ce=new e.OlP("@ngrx/store Check if Action types are unique");function qe(ei,Mi={}){const gi=Object.keys(ei),yi={};for(let Ji=0;Ji<gi.length;Ji++){const xn=gi[Ji];"function"==typeof ei[xn]&&(yi[xn]=ei[xn])}const Gi=Object.keys(yi);return function(xn,jn){xn=void 0===xn?Mi:xn;let Rn=!1;const Tr={};for(let er=0;er<Gi.length;er++){const Cr=Gi[er],pa=xn[Cr],sa=(0,yi[Cr])(pa,jn);Tr[Cr]=sa,Rn=Rn||sa!==pa}return Rn?Tr:xn}}function ve(...ei){return function(Mi){if(0===ei.length)return Mi;const gi=ei[ei.length-1];return ei.slice(0,-1).reduceRight((Gi,Ji)=>Ji(Gi),gi(Mi))}}function ce(ei,Mi){return Array.isArray(Mi)&&Mi.length>0&&(ei=ve.apply(null,[...Mi,ei])),(gi,yi)=>{const Gi=ei(gi);return(Ji,xn)=>Gi(Ji=void 0===Ji?yi:Ji,xn)}}new e.OlP("@ngrx/store Root Store Provider"),new e.OlP("@ngrx/store Feature State Provider");class Ze extends y.y{}class wt extends he{}const mt="@ngrx/store/update-reducers";let kt=(()=>{class ei extends t.X{get currentReducers(){return this.reducers}constructor(gi,yi,Gi,Ji){super(Ji(Gi,yi)),this.dispatcher=gi,this.initialState=yi,this.reducers=Gi,this.reducerFactory=Ji}addFeature(gi){this.addFeatures([gi])}addFeatures(gi){const yi=gi.reduce((Gi,{reducers:Ji,reducerFactory:xn,metaReducers:jn,initialState:Rn,key:Tr})=>{const er="function"==typeof Ji?function Ge(ei){const Mi=Array.isArray(ei)&&ei.length>0?ve(...ei):gi=>gi;return(gi,yi)=>(gi=Mi(gi),(Gi,Ji)=>gi(Gi=void 0===Gi?yi:Gi,Ji))}(jn)(Ji,Rn):ce(xn,jn)(Ji,Rn);return Gi[Tr]=er,Gi},{});this.addReducers(yi)}removeFeature(gi){this.removeFeatures([gi])}removeFeatures(gi){this.removeReducers(gi.map(yi=>yi.key))}addReducer(gi,yi){this.addReducers({[gi]:yi})}addReducers(gi){this.reducers={...this.reducers,...gi},this.updateReducers(Object.keys(gi))}removeReducer(gi){this.removeReducers([gi])}removeReducers(gi){gi.forEach(yi=>{this.reducers=function oe(ei,Mi){return Object.keys(ei).filter(gi=>gi!==Mi).reduce((gi,yi)=>Object.assign(gi,{[yi]:ei[yi]}),{})}(this.reducers,yi)}),this.updateReducers(gi)}updateReducers(gi){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:mt,features:gi})}ngOnDestroy(){this.complete()}static#e=this.\u0275fac=function(yi){return new(yi||ei)(e.LFG(wt),e.LFG(f),e.LFG(D),e.LFG(h))};static#t=this.\u0275prov=e.Yz7({token:ei,factory:ei.\u0275fac})}return ei})();const Ae=[kt,{provide:Ze,useExisting:kt},{provide:wt,useExisting:he}];let ze=(()=>{class ei extends A.x{ngOnDestroy(){this.complete()}static#e=this.\u0275fac=(()=>{let gi;return function(Gi){return(gi||(gi=e.n5z(ei)))(Gi||ei)}})();static#t=this.\u0275prov=e.Yz7({token:ei,factory:ei.\u0275fac})}return ei})();const nt=[ze];class et extends y.y{}let ke=(()=>{class ei extends t.X{static#e=this.INIT=$;constructor(gi,yi,Gi,Ji){super(Ji);const Tr=gi.pipe((0,M.Q)(l.N)).pipe((0,m.M)(yi)).pipe((0,O.R)(ct,{state:Ji}));this.stateSubscription=Tr.subscribe(({state:er,action:Cr})=>{this.next(er),Gi.next(Cr)}),this.state=(0,I.O4)(this,{manualCleanup:!0,requireSync:!0})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}static#t=this.\u0275fac=function(yi){return new(yi||ei)(e.LFG(he),e.LFG(Ze),e.LFG(ze),e.LFG(f))};static#i=this.\u0275prov=e.Yz7({token:ei,factory:ei.\u0275fac})}return ei})();function ct(ei={state:void 0},[Mi,gi]){const{state:yi}=ei;return{state:gi(yi,Mi),action:Mi}}const Qe=[ke,{provide:et,useExisting:ke}];let Et=(()=>{class ei extends y.y{constructor(gi,yi,Gi){super(),this.actionsObserver=yi,this.reducerManager=Gi,this.source=gi,this.state=gi.state}select(gi,...yi){return Ke.call(null,gi,...yi)(this)}selectSignal(gi,yi){return(0,e.Flj)(()=>gi(this.state()),yi)}lift(gi){const yi=new ei(this,this.actionsObserver,this.reducerManager);return yi.operator=gi,yi}dispatch(gi){this.actionsObserver.next(gi)}next(gi){this.actionsObserver.next(gi)}error(gi){this.actionsObserver.error(gi)}complete(){this.actionsObserver.complete()}addReducer(gi,yi){this.reducerManager.addReducer(gi,yi)}removeReducer(gi){this.reducerManager.removeReducer(gi)}static#e=this.\u0275fac=function(yi){return new(yi||ei)(e.LFG(et),e.LFG(he),e.LFG(kt))};static#t=this.\u0275prov=e.Yz7({token:ei,factory:ei.\u0275fac})}return ei})();const lt=[Et];function Ke(ei,Mi,...gi){return function(Gi){let Ji;if("string"==typeof ei){const xn=[Mi,...gi].filter(Boolean);Ji=Gi.pipe(function E(...ei){const Mi=ei.length;if(0===Mi)throw new Error("list of properties cannot be empty.");return(0,d.U)(gi=>{let yi=gi;for(let Gi=0;Gi<Mi;Gi++){const Ji=yi?.[ei[Gi]];if(!(typeof Ji<"u"))return;yi=Ji}return yi})}(ei,...xn))}else{if("function"!=typeof ei)throw new TypeError(`Unexpected type '${typeof ei}' in select operator, expected 'string' or 'function'`);Ji=Gi.pipe((0,d.U)(xn=>ei(xn,Mi)))}return Ji.pipe((0,x.x)())}}const Be="https://ngrx.io/guide/store/configuration/runtime-checks";function Xt(ei){return void 0===ei}function J(ei){return null===ei}function We(ei){return Array.isArray(ei)}function xt(ei){return"object"==typeof ei&&null!==ei}function it(ei){return"function"==typeof ei}let _t=!1;function ee(ei,Mi){return ei===Mi}function Ht(ei,Mi=ee,gi=ee){let Ji,yi=null,Gi=null;return{memoized:function Tr(){if(void 0!==Ji)return Ji.result;if(!yi)return Gi=ei.apply(null,arguments),yi=arguments,Gi;if(!function ne(ei,Mi,gi){for(let yi=0;yi<ei.length;yi++)if(!gi(ei[yi],Mi[yi]))return!0;return!1}(arguments,yi,Mi))return Gi;const er=ei.apply(null,arguments);return yi=arguments,gi(Gi,er)?Gi:(Gi=er,er)},reset:function xn(){yi=null,Gi=null},setResult:function jn(er=void 0){Ji={result:er}},clearResult:function Rn(){Ji=void 0}}}function At(...ei){return function pi(ei,Mi={stateFn:Zt}){return function(...gi){let yi=gi;if(Array.isArray(yi[0])){const[er,...Cr]=yi;yi=[...er,...Cr]}else 1===yi.length&&function qt(ei){return!!ei&&"object"==typeof ei&&Object.values(ei).every(Mi=>"function"==typeof Mi)}(yi[0])&&(yi=function Hi(ei){const Mi=Object.values(ei),gi=Object.keys(ei);return[...Mi,(...Gi)=>gi.reduce((Ji,xn,jn)=>({...Ji,[xn]:Gi[jn]}),{})]}(yi[0]));const Gi=yi.slice(0,yi.length-1),Ji=yi[yi.length-1],xn=Gi.filter(er=>er.release&&"function"==typeof er.release),jn=ei(function(...er){return Ji.apply(null,er)}),Rn=Ht(function(er,Cr){return Mi.stateFn.apply(null,[er,Gi,Cr,jn])});return Object.assign(Rn.memoized,{release:function Tr(){Rn.reset(),jn.reset(),xn.forEach(er=>er.release())},projector:jn.memoized,setResult:Rn.setResult,clearResult:Rn.clearResult})}}(Ht)(...ei)}function Zt(ei,Mi,gi,yi){if(void 0===gi){const Ji=Mi.map(xn=>xn(ei));return yi.memoized.apply(null,Ji)}const Gi=Mi.map(Ji=>Ji(ei,gi));return yi.memoized.apply(null,[...Gi,gi])}function Jt(ei){return At(Mi=>{const gi=Mi[ei];return!function be(){return _t}()&&(0,e.X6Q)()&&!(ei in Mi)&&console.warn(`@ngrx/store: The feature name "${ei}" does not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module using StoreModule.forRoot('${ei}', ...) or StoreModule.forFeature('${ei}', ...). If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),gi},Mi=>Mi)}function Qi(ei){return ei instanceof e.OlP?(0,e.f3M)(ei):ei}function xi(ei,Mi){return Mi.map((gi,yi)=>{if(ei[yi]instanceof e.OlP){const Gi=(0,e.f3M)(ei[yi]);return{key:gi.key,reducerFactory:Gi.reducerFactory?Gi.reducerFactory:qe,metaReducers:Gi.metaReducers?Gi.metaReducers:[],initialState:Gi.initialState}}return gi})}function sn(ei){return ei.map(Mi=>Mi instanceof e.OlP?(0,e.f3M)(Mi):Mi)}function ot(ei){return"function"==typeof ei?ei():ei}function si(ei,Mi){return ei.concat(Mi)}function we(){if((0,e.f3M)(Et,{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 zt(ei){Object.freeze(ei);const Mi=it(ei);return Object.getOwnPropertyNames(ei).forEach(gi=>{if(!gi.startsWith("\u0275")&&function Je(ei,Mi){return Object.prototype.hasOwnProperty.call(ei,Mi)}(ei,gi)&&(!Mi||"caller"!==gi&&"callee"!==gi&&"arguments"!==gi)){const yi=ei[gi];(xt(yi)||it(yi))&&!Object.isFrozen(yi)&&zt(yi)}}),ei}function Lt(ei,Mi=[]){return(Xt(ei)||J(ei))&&0===Mi.length?{path:["root"],value:ei}:Object.keys(ei).reduce((yi,Gi)=>{if(yi)return yi;const Ji=ei[Gi];return function Ue(ei){return it(ei)&&ei.hasOwnProperty("\u0275cmp")}(Ji)?yi:!(Xt(Ji)||J(Ji)||function Pt(ei){return"number"==typeof ei}(Ji)||function Ct(ei){return"boolean"==typeof ei}(Ji)||function Ft(ei){return"string"==typeof ei}(Ji)||We(Ji))&&(function Ee(ei){if(!function rt(ei){return xt(ei)&&!We(ei)}(ei))return!1;const Mi=Object.getPrototypeOf(ei);return Mi===Object.prototype||null===Mi}(Ji)?Lt(Ji,[...Mi,Gi]):{path:[...Mi,Gi],value:Ji})},!1)}function Bt(ei,Mi){if(!1===ei)return;const gi=ei.path.join("."),yi=new Error(`Detected unserializable ${Mi} at "${gi}". ${Be}#strict${Mi}serializability`);throw yi.value=ei.value,yi.unserializablePath=gi,yi}function vi(ei){return(0,e.X6Q)()?{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1,...ei}:{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function bi({strictActionSerializability:ei,strictStateSerializability:Mi}){return gi=>ei||Mi?function Dt(ei,Mi){return function(gi,yi){Mi.action(yi)&&Bt(Lt(yi),"action");const Gi=ei(gi,yi);return Mi.state()&&Bt(Lt(Gi),"state"),Gi}}(gi,{action:yi=>ei&&!Bi(yi),state:()=>Mi}):gi}function ki({strictActionImmutability:ei,strictStateImmutability:Mi}){return gi=>ei||Mi?function St(ei,Mi){return function(gi,yi){const Gi=Mi.action(yi)?zt(yi):yi,Ji=ei(gi,Gi);return Mi.state()?zt(Ji):Ji}}(gi,{action:yi=>ei&&!Bi(yi),state:()=>Mi}):gi}function Bi(ei){return ei.type.startsWith("@ngrx")}function Vi({strictActionWithinNgZone:ei}){return Mi=>ei?function ai(ei,Mi){return function(gi,yi){if(Mi.action(yi)&&!e.R0b.isInAngularZone())throw new Error(`Action '${yi.type}' running outside NgZone. ${Be}#strictactionwithinngzone`);return ei(gi,yi)}}(Mi,{action:gi=>ei&&!Bi(gi)}):Mi}function jt(ei){return[{provide:fe,useValue:ei},{provide:ye,useFactory:pe,deps:[fe]},{provide:de,deps:[ye],useFactory:vi},{provide:je,multi:!0,deps:[de],useFactory:ki},{provide:je,multi:!0,deps:[de],useFactory:bi},{provide:je,multi:!0,deps:[de],useFactory:Vi}]}function It(){return[{provide:Ce,multi:!0,deps:[de],useFactory:Ve}]}function pe(ei){return ei}function Ve(ei){if(!ei.strictActionTypeUniqueness)return;const Mi=Object.entries(k).filter(([,gi])=>gi>1).map(([gi])=>gi);if(Mi.length)throw new Error(`Action types are registered more than once, ${Mi.map(gi=>`"${gi}"`).join(", ")}. ${Be}#strictactiontypeuniqueness`)}function gt(ei={},Mi={}){return[{provide:n,useFactory:we},{provide:s,useValue:Mi.initialState},{provide:f,useFactory:ot,deps:[s]},{provide:P,useValue:ei},{provide:r,useExisting:ei instanceof e.OlP?ei:P},{provide:D,deps:[P,[new e.tBr(r)]],useFactory:Qi},{provide:st,useValue:Mi.metaReducers?Mi.metaReducers:[]},{provide:$e,deps:[je,st],useFactory:si},{provide:w,useValue:Mi.reducerFactory?Mi.reducerFactory:qe},{provide:h,deps:[w,$e],useFactory:ce},S,Ae,nt,Qe,lt,jt(Mi.runtimeChecks),It()]}function fr(ei,Mi,gi={}){return[{provide:H,multi:!0,useValue:ei instanceof Object?{}:gi},{provide:v,multi:!0,useValue:{key:ei instanceof Object?ei.name:ei,reducerFactory:gi instanceof e.OlP||!gi.reducerFactory?qe:gi.reducerFactory,metaReducers:gi instanceof e.OlP||!gi.metaReducers?[]:gi.metaReducers,initialState:gi instanceof e.OlP||!gi.initialState?void 0:gi.initialState}},{provide:N,deps:[H,v],useFactory:xi},{provide:g,multi:!0,useValue:ei instanceof Object?ei.reducer:Mi},{provide:te,multi:!0,useExisting:Mi instanceof e.OlP?Mi:g},{provide:De,multi:!0,deps:[g,[new e.tBr(te)]],useFactory:sn},It()]}let ta=(()=>{class ei{constructor(gi,yi,Gi,Ji,xn,jn){}static#e=this.\u0275fac=function(yi){return new(yi||ei)(e.LFG(he),e.LFG(Ze),e.LFG(ze),e.LFG(Et),e.LFG(n,8),e.LFG(Ce,8))};static#t=this.\u0275mod=e.oAB({type:ei});static#i=this.\u0275inj=e.cJS({})}return ei})(),Lr=(()=>{class ei{constructor(gi,yi,Gi,Ji,xn){this.features=gi,this.featureReducers=yi,this.reducerManager=Gi;const jn=gi.map((Rn,Tr)=>{const Cr=yi.shift()[Tr];return{...Rn,reducers:Cr,initialState:ot(Rn.initialState)}});Gi.addFeatures(jn)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}static#e=this.\u0275fac=function(yi){return new(yi||ei)(e.LFG(N),e.LFG(De),e.LFG(kt),e.LFG(ta),e.LFG(Ce,8))};static#t=this.\u0275mod=e.oAB({type:ei});static#i=this.\u0275inj=e.cJS({})}return ei})(),Ui=(()=>{class ei{static forRoot(gi,yi){return{ngModule:ta,providers:[...gt(gi,yi)]}}static forFeature(gi,yi,Gi={}){return{ngModule:Lr,providers:[...fr(gi,yi,Gi)]}}static#e=this.\u0275fac=function(yi){return new(yi||ei)};static#t=this.\u0275mod=e.oAB({type:ei});static#i=this.\u0275inj=e.cJS({})}return ei})();function rn(...ei){return{reducer:ei.pop(),types:ei.map(yi=>yi.type)}}function qn(ei,...Mi){const gi=new Map;for(const yi of Mi)for(const Gi of yi.types){const Ji=gi.get(Gi);gi.set(Gi,Ji?(jn,Rn)=>yi.reducer(Ji(jn,Rn),Rn):yi.reducer)}return function(yi=ei,Gi){const Ji=gi.get(Gi.type);return Ji?Ji(yi,Gi):yi}}},25:(He,X,p)=>{"use strict";p.d(X,{H5:()=>hd,K$:()=>Fp,a4:()=>xf});var e=p(9212),t=p(6814),y=p(7582),A=p(8484),l=p(2438),M=p(3620),m=p(6825);function O(){}function d(u){return null==u?O:function(){return this.querySelector(u)}}function I(){return[]}function k(u){return null==u?I:function(){return this.querySelectorAll(u)}}function j(u){return function(){return this.matches(u)}}function W(u){return function(L){return L.matches(u)}}var K=Array.prototype.find;function ie(){return this.firstElementChild}var ue=Array.prototype.filter;function re(){return Array.from(this.children)}function S(u){return new Array(u.length)}function s(u,L){this.ownerDocument=u.ownerDocument,this.namespaceURI=u.namespaceURI,this._next=null,this._parent=u,this.__data__=L}function h(u,L,o,C,B,Y){for(var tt,Te=0,Wt=L.length,Gt=Y.length;Te<Gt;++Te)(tt=L[Te])?(tt.__data__=Y[Te],C[Te]=tt):o[Te]=new s(u,Y[Te]);for(;Te<Wt;++Te)(tt=L[Te])&&(B[Te]=tt)}function w(u,L,o,C,B,Y,Te){var tt,Wt,Ii,Gt=new Map,ci=L.length,_i=Y.length,wi=new Array(ci);for(tt=0;tt<ci;++tt)(Wt=L[tt])&&(wi[tt]=Ii=Te.call(Wt,Wt.__data__,tt,L)+"",Gt.has(Ii)?B[tt]=Wt:Gt.set(Ii,Wt));for(tt=0;tt<_i;++tt)Ii=Te.call(u,Y[tt],tt,Y)+"",(Wt=Gt.get(Ii))?(C[tt]=Wt,Wt.__data__=Y[tt],Gt.delete(Ii)):o[tt]=new s(u,Y[tt]);for(tt=0;tt<ci;++tt)(Wt=L[tt])&&Gt.get(wi[tt])===Wt&&(B[tt]=Wt)}function D(u){return u.__data__}function v(u){return"object"==typeof u&&"length"in u?u:Array.from(u)}function De(u,L){return u<L?-1:u>L?1:u>=L?0:NaN}s.prototype={constructor:s,appendChild:function(u){return this._parent.insertBefore(u,this._next)},insertBefore:function(u,L){return this._parent.insertBefore(u,L)},querySelector:function(u){return this._parent.querySelector(u)},querySelectorAll:function(u){return this._parent.querySelectorAll(u)}};var Ce="http://www.w3.org/1999/xhtml";const le={svg:"http://www.w3.org/2000/svg",xhtml:Ce,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function ge(u){var L=u+="",o=L.indexOf(":");return o>=0&&"xmlns"!==(L=u.slice(0,o))&&(u=u.slice(o+1)),le.hasOwnProperty(L)?{space:le[L],local:u}:u}function qe(u){return function(){this.removeAttribute(u)}}function oe(u){return function(){this.removeAttributeNS(u.space,u.local)}}function ve(u,L){return function(){this.setAttribute(u,L)}}function ce(u,L){return function(){this.setAttributeNS(u.space,u.local,L)}}function Ge(u,L){return function(){var o=L.apply(this,arguments);null==o?this.removeAttribute(u):this.setAttribute(u,o)}}function Ze(u,L){return function(){var o=L.apply(this,arguments);null==o?this.removeAttributeNS(u.space,u.local):this.setAttributeNS(u.space,u.local,o)}}function mt(u){return u.ownerDocument&&u.ownerDocument.defaultView||u.document&&u||u.defaultView}function kt(u){return function(){this.style.removeProperty(u)}}function Ae(u,L,o){return function(){this.style.setProperty(u,L,o)}}function ze(u,L,o){return function(){var C=L.apply(this,arguments);null==C?this.style.removeProperty(u):this.style.setProperty(u,C,o)}}function et(u,L){return u.style.getPropertyValue(L)||mt(u).getComputedStyle(u,null).getPropertyValue(L)}function ke(u){return function(){delete this[u]}}function ct(u,L){return function(){this[u]=L}}function Qe(u,L){return function(){var o=L.apply(this,arguments);null==o?delete this[u]:this[u]=o}}function lt(u){return u.trim().split(/^|\s+/)}function Ke(u){return u.classList||new Be(u)}function Be(u){this._node=u,this._names=lt(u.getAttribute("class")||"")}function Xt(u,L){for(var o=Ke(u),C=-1,B=L.length;++C<B;)o.add(L[C])}function J(u,L){for(var o=Ke(u),C=-1,B=L.length;++C<B;)o.remove(L[C])}function We(u){return function(){Xt(this,u)}}function Ft(u){return function(){J(this,u)}}function Ct(u,L){return function(){(L.apply(this,arguments)?Xt:J)(this,u)}}function xt(){this.textContent=""}function rt(u){return function(){this.textContent=u}}function Ee(u){return function(){var L=u.apply(this,arguments);this.textContent=L??""}}function Ue(){this.innerHTML=""}function Je(u){return function(){this.innerHTML=u}}function _t(u){return function(){var L=u.apply(this,arguments);this.innerHTML=L??""}}function be(){this.nextSibling&&this.parentNode.appendChild(this)}function ne(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Ht(u){return function(){var L=this.ownerDocument,o=this.namespaceURI;return o===Ce&&L.documentElement.namespaceURI===Ce?L.createElement(u):L.createElementNS(o,u)}}function At(u){return function(){return this.ownerDocument.createElementNS(u.space,u.local)}}function Zt(u){var L=ge(u);return(L.local?At:Ht)(L)}function Jt(){return null}function Hi(){var u=this.parentNode;u&&u.removeChild(this)}function fi(){var u=this.cloneNode(!1),L=this.parentNode;return L?L.insertBefore(u,this.nextSibling):u}function un(){var u=this.cloneNode(!0),L=this.parentNode;return L?L.insertBefore(u,this.nextSibling):u}function si(u){return function(){var L=this.__on;if(L){for(var Y,o=0,C=-1,B=L.length;o<B;++o)Y=L[o],u.type&&Y.type!==u.type||Y.name!==u.name?L[++C]=Y:this.removeEventListener(Y.type,Y.listener,Y.options);++C?L.length=C:delete this.__on}}}function we(u,L,o){return function(){var B,C=this.__on,Y=function sn(u){return function(L){u.call(this,L,this.__data__)}}(L);if(C)for(var Te=0,tt=C.length;Te<tt;++Te)if((B=C[Te]).type===u.type&&B.name===u.name)return this.removeEventListener(B.type,B.listener,B.options),this.addEventListener(B.type,B.listener=Y,B.options=o),void(B.value=L);this.addEventListener(u.type,Y,o),B={type:u.type,name:u.name,value:L,listener:Y,options:o},C?C.push(B):this.__on=[B]}}function zt(u,L,o){var C=mt(u),B=C.CustomEvent;"function"==typeof B?B=new B(L,o):(B=C.document.createEvent("Event"),o?(B.initEvent(L,o.bubbles,o.cancelable),B.detail=o.detail):B.initEvent(L,!1,!1)),u.dispatchEvent(B)}function Dt(u,L){return function(){return zt(this,u,L)}}function Lt(u,L){return function(){return zt(this,u,L.apply(this,arguments))}}Be.prototype={add:function(u){this._names.indexOf(u)<0&&(this._names.push(u),this._node.setAttribute("class",this._names.join(" ")))},remove:function(u){var L=this._names.indexOf(u);L>=0&&(this._names.splice(L,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(u){return this._names.indexOf(u)>=0}};var vi=[null];function bi(u,L){this._groups=u,this._parents=L}function ki(){return new bi([[document.documentElement]],vi)}bi.prototype=ki.prototype={constructor:bi,select:function E(u){"function"!=typeof u&&(u=d(u));for(var L=this._groups,o=L.length,C=new Array(o),B=0;B<o;++B)for(var Wt,Gt,Y=L[B],Te=Y.length,tt=C[B]=new Array(Te),ci=0;ci<Te;++ci)(Wt=Y[ci])&&(Gt=u.call(Wt,Wt.__data__,ci,Y))&&("__data__"in Wt&&(Gt.__data__=Wt.__data__),tt[ci]=Gt);return new bi(C,this._parents)},selectAll:function G(u){u="function"==typeof u?function V(u){return function(){return function x(u){return null==u?[]:Array.isArray(u)?u:Array.from(u)}(u.apply(this,arguments))}}(u):k(u);for(var L=this._groups,o=L.length,C=[],B=[],Y=0;Y<o;++Y)for(var Wt,Te=L[Y],tt=Te.length,Gt=0;Gt<tt;++Gt)(Wt=Te[Gt])&&(C.push(u.call(Wt,Wt.__data__,Gt,Te)),B.push(Wt));return new bi(C,B)},selectChild:function ae(u){return this.select(null==u?ie:function q(u){return function(){return K.call(this.children,u)}}("function"==typeof u?u:W(u)))},selectChildren:function $(u){return this.selectAll(null==u?re:function xe(u){return function(){return ue.call(this.children,u)}}("function"==typeof u?u:W(u)))},filter:function he(u){"function"!=typeof u&&(u=j(u));for(var L=this._groups,o=L.length,C=new Array(o),B=0;B<o;++B)for(var Wt,Y=L[B],Te=Y.length,tt=C[B]=[],Gt=0;Gt<Te;++Gt)(Wt=Y[Gt])&&u.call(Wt,Wt.__data__,Gt,Y)&&tt.push(Wt);return new bi(C,this._parents)},data:function P(u,L){if(!arguments.length)return Array.from(this,D);var o=L?w:h,C=this._parents,B=this._groups;"function"!=typeof u&&(u=function f(u){return function(){return u}}(u));for(var Y=B.length,Te=new Array(Y),tt=new Array(Y),Wt=new Array(Y),Gt=0;Gt<Y;++Gt){var ci=C[Gt],_i=B[Gt],wi=_i.length,Ii=v(u.call(ci,ci&&ci.__data__,Gt,C)),an=Ii.length,Sn=tt[Gt]=new Array(an),Pi=Te[Gt]=new Array(an);o(ci,_i,Sn,Pi,Wt[Gt]=new Array(wi),Ii,L);for(var Yn,Vn,On=0,pn=0;On<an;++On)if(Yn=Sn[On]){for(On>=pn&&(pn=On+1);!(Vn=Pi[pn])&&++pn<an;);Yn._next=Vn||null}}return(Te=new bi(Te,C))._enter=tt,Te._exit=Wt,Te},enter:function n(){return new bi(this._enter||this._groups.map(S),this._parents)},exit:function r(){return new bi(this._exit||this._groups.map(S),this._parents)},join:function g(u,L,o){var C=this.enter(),B=this,Y=this.exit();return"function"==typeof u?(C=u(C))&&(C=C.selection()):C=C.append(u+""),null!=L&&(B=L(B))&&(B=B.selection()),null==o?Y.remove():o(Y),C&&B?C.merge(B).order():B},merge:function H(u){for(var L=u.selection?u.selection():u,o=this._groups,C=L._groups,B=o.length,Te=Math.min(B,C.length),tt=new Array(B),Wt=0;Wt<Te;++Wt)for(var Ii,Gt=o[Wt],ci=C[Wt],_i=Gt.length,wi=tt[Wt]=new Array(_i),an=0;an<_i;++an)(Ii=Gt[an]||ci[an])&&(wi[an]=Ii);for(;Wt<B;++Wt)tt[Wt]=o[Wt];return new bi(tt,this._parents)},selection:function Bi(){return this},order:function N(){for(var u=this._groups,L=-1,o=u.length;++L<o;)for(var Te,C=u[L],B=C.length-1,Y=C[B];--B>=0;)(Te=C[B])&&(Y&&4^Te.compareDocumentPosition(Y)&&Y.parentNode.insertBefore(Te,Y),Y=Te);return this},sort:function te(u){function L(_i,wi){return _i&&wi?u(_i.__data__,wi.__data__):!_i-!wi}u||(u=De);for(var o=this._groups,C=o.length,B=new Array(C),Y=0;Y<C;++Y){for(var Gt,Te=o[Y],tt=Te.length,Wt=B[Y]=new Array(tt),ci=0;ci<tt;++ci)(Gt=Te[ci])&&(Wt[ci]=Gt);Wt.sort(L)}return new bi(B,this._parents).order()},call:function st(){var u=arguments[0];return arguments[0]=this,u.apply(null,arguments),this},nodes:function je(){return Array.from(this)},node:function $e(){for(var u=this._groups,L=0,o=u.length;L<o;++L)for(var C=u[L],B=0,Y=C.length;B<Y;++B){var Te=C[B];if(Te)return Te}return null},size:function ye(){let u=0;for(const L of this)++u;return u},empty:function fe(){return!this.node()},each:function de(u){for(var L=this._groups,o=0,C=L.length;o<C;++o)for(var tt,B=L[o],Y=0,Te=B.length;Y<Te;++Y)(tt=B[Y])&&u.call(tt,tt.__data__,Y,B);return this},attr:function wt(u,L){var o=ge(u);if(arguments.length<2){var C=this.node();return o.local?C.getAttributeNS(o.space,o.local):C.getAttribute(o)}return this.each((null==L?o.local?oe:qe:"function"==typeof L?o.local?Ze:Ge:o.local?ce:ve)(o,L))},style:function nt(u,L,o){return arguments.length>1?this.each((null==L?kt:"function"==typeof L?ze:Ae)(u,L,o??"")):et(this.node(),u)},property:function Et(u,L){return arguments.length>1?this.each((null==L?ke:"function"==typeof L?Qe:ct)(u,L)):this.node()[u]},classed:function Pt(u,L){var o=lt(u+"");if(arguments.length<2){for(var C=Ke(this.node()),B=-1,Y=o.length;++B<Y;)if(!C.contains(o[B]))return!1;return!0}return this.each(("function"==typeof L?Ct:L?We:Ft)(o,L))},text:function it(u){return arguments.length?this.each(null==u?xt:("function"==typeof u?Ee:rt)(u)):this.node().textContent},html:function Le(u){return arguments.length?this.each(null==u?Ue:("function"==typeof u?_t:Je)(u)):this.node().innerHTML},raise:function ee(){return this.each(be)},lower:function Ie(){return this.each(ne)},append:function pi(u){var L="function"==typeof u?u:Zt(u);return this.select(function(){return this.appendChild(L.apply(this,arguments))})},insert:function qt(u,L){var o="function"==typeof u?u:Zt(u),C=null==L?Jt:"function"==typeof L?L:d(L);return this.select(function(){return this.insertBefore(o.apply(this,arguments),C.apply(this,arguments)||null)})},remove:function di(){return this.each(Hi)},clone:function Qi(u){return this.select(u?un:fi)},datum:function xi(u){return arguments.length?this.property("__data__",u):this.node().__data__},on:function St(u,L,o){var B,Te,C=function ot(u){return u.trim().split(/^|\s+/).map(function(L){var o="",C=L.indexOf(".");return C>=0&&(o=L.slice(C+1),L=L.slice(0,C)),{type:L,name:o}})}(u+""),Y=C.length;if(!(arguments.length<2)){for(tt=L?we:si,B=0;B<Y;++B)this.each(tt(C[B],L,o));return this}var tt=this.node().__on;if(tt)for(var ci,Wt=0,Gt=tt.length;Wt<Gt;++Wt)for(B=0,ci=tt[Wt];B<Y;++B)if((Te=C[B]).type===ci.type&&Te.name===ci.name)return ci.value},dispatch:function Bt(u,L){return this.each(("function"==typeof L?Lt:Dt)(u,L))},[Symbol.iterator]:function*ai(){for(var u=this._groups,L=0,o=u.length;L<o;++L)for(var Te,C=u[L],B=0,Y=C.length;B<Y;++B)(Te=C[B])&&(yield Te)}};const Vi=ki;var It={value:()=>{}};function pe(){for(var C,u=0,L=arguments.length,o={};u<L;++u){if(!(C=arguments[u]+"")||C in o||/[\s.]/.test(C))throw new Error("illegal type: "+C);o[C]=[]}return new Ve(o)}function Ve(u){this._=u}function gt(u,L){for(var B,o=0,C=u.length;o<C;++o)if((B=u[o]).name===L)return B.value}function ri(u,L,o){for(var C=0,B=u.length;C<B;++C)if(u[C].name===L){u[C]=It,u=u.slice(0,C).concat(u.slice(C+1));break}return null!=o&&u.push({name:L,value:o}),u}Ve.prototype=pe.prototype={constructor:Ve,on:function(u,L){var B,o=this._,C=function Xe(u,L){return u.trim().split(/^|\s+/).map(function(o){var C="",B=o.indexOf(".");if(B>=0&&(C=o.slice(B+1),o=o.slice(0,B)),o&&!L.hasOwnProperty(o))throw new Error("unknown type: "+o);return{type:o,name:C}})}(u+"",o),Y=-1,Te=C.length;if(!(arguments.length<2)){if(null!=L&&"function"!=typeof L)throw new Error("invalid callback: "+L);for(;++Y<Te;)if(B=(u=C[Y]).type)o[B]=ri(o[B],u.name,L);else if(null==L)for(B in o)o[B]=ri(o[B],u.name,null);return this}for(;++Y<Te;)if((B=(u=C[Y]).type)&&(B=gt(o[B],u.name)))return B},copy:function(){var u={},L=this._;for(var o in L)u[o]=L[o].slice();return new Ve(u)},call:function(u,L){if((B=arguments.length-2)>0)for(var B,Y,o=new Array(B),C=0;C<B;++C)o[C]=arguments[C+2];if(!this._.hasOwnProperty(u))throw new Error("unknown type: "+u);for(C=0,B=(Y=this._[u]).length;C<B;++C)Y[C].value.apply(L,o)},apply:function(u,L,o){if(!this._.hasOwnProperty(u))throw new Error("unknown type: "+u);for(var C=this._[u],B=0,Y=C.length;B<Y;++B)C[B].value.apply(L,o)}};const Oi=pe;function Ui(u,L,o){u.prototype=L.prototype=o,o.constructor=u}function rn(u,L){var o=Object.create(u.prototype);for(var C in L)o[C]=L[C];return o}function qn(){}var Mi=1/.7,gi="\\s*([+-]?\\d+)\\s*",yi="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Gi="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Ji=/^#([0-9a-f]{3,8})$/,xn=new RegExp(`^rgb\\(${gi},${gi},${gi}\\)$`),jn=new RegExp(`^rgb\\(${Gi},${Gi},${Gi}\\)$`),Rn=new RegExp(`^rgba\\(${gi},${gi},${gi},${yi}\\)$`),Tr=new RegExp(`^rgba\\(${Gi},${Gi},${Gi},${yi}\\)$`),er=new RegExp(`^hsl\\(${yi},${Gi},${Gi}\\)$`),Cr=new RegExp(`^hsla\\(${yi},${Gi},${Gi},${yi}\\)$`),oa={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 pa(){return this.rgb().formatHex()}function mr(){return this.rgb().formatRgb()}function Ir(u){var L,o;return u=(u+"").trim().toLowerCase(),(L=Ji.exec(u))?(o=L[1].length,L=parseInt(L[1],16),6===o?Kn(L):3===o?new kr(L>>8&15|L>>4&240,L>>4&15|240&L,(15&L)<<4|15&L,1):8===o?ga(L>>24&255,L>>16&255,L>>8&255,(255&L)/255):4===o?ga(L>>12&15|L>>8&240,L>>8&15|L>>4&240,L>>4&15|240&L,((15&L)<<4|15&L)/255):null):(L=xn.exec(u))?new kr(L[1],L[2],L[3],1):(L=jn.exec(u))?new kr(255*L[1]/100,255*L[2]/100,255*L[3]/100,1):(L=Rn.exec(u))?ga(L[1],L[2],L[3],L[4]):(L=Tr.exec(u))?ga(255*L[1]/100,255*L[2]/100,255*L[3]/100,L[4]):(L=er.exec(u))?Un(L[1],L[2]/100,L[3]/100,1):(L=Cr.exec(u))?Un(L[1],L[2]/100,L[3]/100,L[4]):oa.hasOwnProperty(u)?Kn(oa[u]):"transparent"===u?new kr(NaN,NaN,NaN,0):null}function Kn(u){return new kr(u>>16&255,u>>8&255,255&u,1)}function ga(u,L,o,C){return C<=0&&(u=L=o=NaN),new kr(u,L,o,C)}function _a(u,L,o,C){return 1===arguments.length?function Va(u){return u instanceof qn||(u=Ir(u)),u?new kr((u=u.rgb()).r,u.g,u.b,u.opacity):new kr}(u):new kr(u,L,o,C??1)}function kr(u,L,o,C){this.r=+u,this.g=+L,this.b=+o,this.opacity=+C}function ca(){return`#${ur(this.r)}${ur(this.g)}${ur(this.b)}`}function Qr(){const u=wa(this.opacity);return`${1===u?"rgb(":"rgba("}${Pr(this.r)}, ${Pr(this.g)}, ${Pr(this.b)}${1===u?")":`, ${u})`}`}function wa(u){return isNaN(u)?1:Math.max(0,Math.min(1,u))}function Pr(u){return Math.max(0,Math.min(255,Math.round(u)||0))}function ur(u){return((u=Pr(u))<16?"0":"")+u.toString(16)}function Un(u,L,o,C){return C<=0?u=L=o=NaN:o<=0||o>=1?u=L=NaN:L<=0&&(u=NaN),new Ar(u,L,o,C)}function Ma(u){if(u instanceof Ar)return new Ar(u.h,u.s,u.l,u.opacity);if(u instanceof qn||(u=Ir(u)),!u)return new Ar;if(u instanceof Ar)return u;var L=(u=u.rgb()).r/255,o=u.g/255,C=u.b/255,B=Math.min(L,o,C),Y=Math.max(L,o,C),Te=NaN,tt=Y-B,Wt=(Y+B)/2;return tt?(Te=L===Y?(o-C)/tt+6*(o<C):o===Y?(C-L)/tt+2:(L-o)/tt+4,tt/=Wt<.5?Y+B:2-Y-B,Te*=60):tt=Wt>0&&Wt<1?0:Te,new Ar(Te,tt,Wt,u.opacity)}function Ar(u,L,o,C){this.h=+u,this.s=+L,this.l=+o,this.opacity=+C}function Qo(u){return(u=(u||0)%360)<0?u+360:u}function ia(u){return Math.max(0,Math.min(1,u||0))}function Oa(u,L,o){return 255*(u<60?L+(o-L)*u/60:u<180?o:u<240?L+(o-L)*(240-u)/60:L)}function Pa(u,L,o,C,B){var Y=u*u,Te=Y*u;return((1-3*u+3*Y-Te)*L+(4-6*Y+3*Te)*o+(1+3*u+3*Y-3*Te)*C+Te*B)/6}Ui(qn,Ir,{copy(u){return Object.assign(new this.constructor,this,u)},displayable(){return this.rgb().displayable()},hex:pa,formatHex:pa,formatHex8:function sa(){return this.rgb().formatHex8()},formatHsl:function za(){return Ma(this).formatHsl()},formatRgb:mr,toString:mr}),Ui(kr,_a,rn(qn,{brighter(u){return u=null==u?Mi:Math.pow(Mi,u),new kr(this.r*u,this.g*u,this.b*u,this.opacity)},darker(u){return u=null==u?.7:Math.pow(.7,u),new kr(this.r*u,this.g*u,this.b*u,this.opacity)},rgb(){return this},clamp(){return new kr(Pr(this.r),Pr(this.g),Pr(this.b),wa(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:ca,formatHex:ca,formatHex8:function wo(){return`#${ur(this.r)}${ur(this.g)}${ur(this.b)}${ur(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Qr,toString:Qr})),Ui(Ar,function io(u,L,o,C){return 1===arguments.length?Ma(u):new Ar(u,L,o,C??1)},rn(qn,{brighter(u){return u=null==u?Mi:Math.pow(Mi,u),new Ar(this.h,this.s,this.l*u,this.opacity)},darker(u){return u=null==u?.7:Math.pow(.7,u),new Ar(this.h,this.s,this.l*u,this.opacity)},rgb(){var u=this.h%360+360*(this.h<0),L=isNaN(u)||isNaN(this.s)?0:this.s,o=this.l,C=o+(o<.5?o:1-o)*L,B=2*o-C;return new kr(Oa(u>=240?u-240:u+120,B,C),Oa(u,B,C),Oa(u<120?u+240:u-120,B,C),this.opacity)},clamp(){return new Ar(Qo(this.h),ia(this.s),ia(this.l),wa(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const u=wa(this.opacity);return`${1===u?"hsl(":"hsla("}${Qo(this.h)}, ${100*ia(this.s)}%, ${100*ia(this.l)}%${1===u?")":`, ${u})`}`}}));const Mo=u=>()=>u;function Ro(u,L){var o=L-u;return o?function _o(u,L){return function(o){return u+o*L}}(u,o):Mo(isNaN(u)?L:u)}const Ba=function u(L){var o=function va(u){return 1==(u=+u)?Ro:function(L,o){return o-L?function qr(u,L,o){return u=Math.pow(u,o),L=Math.pow(L,o)-u,o=1/o,function(C){return Math.pow(u+C*L,o)}}(L,o,u):Mo(isNaN(L)?o:L)}}(L);function C(B,Y){var Te=o((B=_a(B)).r,(Y=_a(Y)).r),tt=o(B.g,Y.g),Wt=o(B.b,Y.b),Gt=Ro(B.opacity,Y.opacity);return function(ci){return B.r=Te(ci),B.g=tt(ci),B.b=Wt(ci),B.opacity=Gt(ci),B+""}}return C.gamma=u,C}(1);function Xr(u){return function(L){var Te,tt,o=L.length,C=new Array(o),B=new Array(o),Y=new Array(o);for(Te=0;Te<o;++Te)tt=_a(L[Te]),C[Te]=tt.r||0,B[Te]=tt.g||0,Y[Te]=tt.b||0;return C=u(C),B=u(B),Y=u(Y),tt.opacity=1,function(Wt){return tt.r=C(Wt),tt.g=B(Wt),tt.b=Y(Wt),tt+""}}}function Xa(u,L){var Te,o=L?L.length:0,C=u?Math.min(o,u.length):0,B=new Array(C),Y=new Array(o);for(Te=0;Te<C;++Te)B[Te]=Zi(u[Te],L[Te]);for(;Te<o;++Te)Y[Te]=L[Te];return function(tt){for(Te=0;Te<C;++Te)Y[Te]=B[Te](tt);return Y}}function ao(u,L){var o=new Date;return u=+u,L=+L,function(C){return o.setTime(u*(1-C)+L*C),o}}function Wr(u,L){return u=+u,L=+L,function(o){return u*(1-o)+L*o}}function No(u,L){var B,o={},C={};for(B in(null===u||"object"!=typeof u)&&(u={}),(null===L||"object"!=typeof L)&&(L={}),L)B in u?o[B]=Zi(u[B],L[B]):C[B]=L[B];return function(Y){for(B in o)C[B]=o[B](Y);return C}}Xr(function go(u){var L=u.length-1;return function(o){var C=o<=0?o=0:o>=1?(o=1,L-1):Math.floor(o*L),B=u[C],Y=u[C+1];return Pa((o-C/L)*L,C>0?u[C-1]:2*B-Y,B,Y,C<L-1?u[C+2]:2*Y-B)}}),Xr(function no(u){var L=u.length;return function(o){var C=Math.floor(((o%=1)<0?++o:o)*L);return Pa((o-C/L)*L,u[(C+L-1)%L],u[C%L],u[(C+1)%L],u[(C+2)%L])}});var vo=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Eo=new RegExp(vo.source,"g");function Mt(u,L){var C,B,Y,o=vo.lastIndex=Eo.lastIndex=0,Te=-1,tt=[],Wt=[];for(u+="",L+="";(C=vo.exec(u))&&(B=Eo.exec(L));)(Y=B.index)>o&&(Y=L.slice(o,Y),tt[Te]?tt[Te]+=Y:tt[++Te]=Y),(C=C[0])===(B=B[0])?tt[Te]?tt[Te]+=B:tt[++Te]=B:(tt[++Te]=null,Wt.push({i:Te,x:Wr(C,B)})),o=Eo.lastIndex;return o<L.length&&(Y=L.slice(o),tt[Te]?tt[Te]+=Y:tt[++Te]=Y),tt.length<2?Wt[0]?function Ti(u){return function(L){return u(L)+""}}(Wt[0].x):function Vt(u){return function(){return u}}(L):(L=Wt.length,function(Gt){for(var _i,ci=0;ci<L;++ci)tt[(_i=Wt[ci]).i]=_i.x(Gt);return tt.join("")})}function ii(u,L){L||(L=[]);var B,o=u?Math.min(L.length,u.length):0,C=L.slice();return function(Y){for(B=0;B<o;++B)C[B]=u[B]*(1-Y)+L[B]*Y;return C}}function Zi(u,L){var C,o=typeof L;return null==L||"boolean"===o?Mo(L):("number"===o?Wr:"string"===o?(C=Ir(L))?(L=C,Ba):Mt:L instanceof Ir?Ba:L instanceof Date?ao:function Si(u){return ArrayBuffer.isView(u)&&!(u instanceof DataView)}(L)?ii:Array.isArray(L)?Xa:"function"!=typeof L.valueOf&&"function"!=typeof L.toString||isNaN(L)?No:Wr)(u,L)}var yt,Fe,Yr=0,on=0,Ua=0,ht=1e3,bt=0,Qt=0,Fi=0,Cn="object"==typeof performance&&performance.now?performance:Date,Mr="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(u){setTimeout(u,17)};function Sa(){return Qt||(Mr(bo),Qt=Cn.now()+Fi)}function bo(){Qt=0}function Fn(){this._call=this._time=this._next=null}function zi(u,L,o){var C=new Fn;return C.restart(u,L,o),C}function Dn(){Qt=(bt=Cn.now())+Fi,Yr=on=0;try{!function oo(){Sa(),++Yr;for(var L,u=yt;u;)(L=Qt-u._time)>=0&&u._call.call(void 0,L),u=u._next;--Yr}()}finally{Yr=0,function As(){for(var u,o,L=yt,C=1/0;L;)L._call?(C>L._time&&(C=L._time),u=L,L=L._next):(o=L._next,L._next=null,L=u?u._next=o:yt=o);Fe=u,yo(C)}(),Qt=0}}function Yi(){var u=Cn.now(),L=u-bt;L>ht&&(Fi-=L,bt=u)}function yo(u){Yr||(on&&(on=clearTimeout(on)),u-Qt>24?(u<1/0&&(on=setTimeout(Dn,u-Cn.now()-Fi)),Ua&&(Ua=clearInterval(Ua))):(Ua||(bt=Cn.now(),Ua=setInterval(Yi,ht)),Yr=1,Mr(Dn)))}function vr(u,L,o){var C=new Fn;return C.restart(B=>{C.stop(),u(B+L)},L=null==L?0:+L,o),C}Fn.prototype=zi.prototype={constructor:Fn,restart:function(u,L,o){if("function"!=typeof u)throw new TypeError("callback is not a function");o=(null==o?Sa():+o)+(null==L?0:+L),!this._next&&Fe!==this&&(Fe?Fe._next=this:yt=this,Fe=this),this._call=u,this._time=o,yo()},stop:function(){this._call&&(this._call=null,this._time=1/0,yo())}};var To=Oi("start","end","cancel","interrupt"),Ga=[],Ea=0,so=3;function qo(u,L,o,C,B,Y){var Te=u.__transition;if(Te){if(o in Te)return}else u.__transition={};!function rs(u,L,o){var B,C=u.__transition;function Te(Gt){var ci,_i,wi,Ii;if(1!==o.state)return Wt();for(ci in C)if((Ii=C[ci]).name===o.name){if(Ii.state===so)return vr(Te);4===Ii.state?(Ii.state=6,Ii.timer.stop(),Ii.on.call("interrupt",u,u.__data__,Ii.index,Ii.group),delete C[ci]):+ci<L&&(Ii.state=6,Ii.timer.stop(),Ii.on.call("cancel",u,u.__data__,Ii.index,Ii.group),delete C[ci])}if(vr(function(){o.state===so&&(o.state=4,o.timer.restart(tt,o.delay,o.time),tt(Gt))}),o.state=2,o.on.call("start",u,u.__data__,o.index,o.group),2===o.state){for(o.state=so,B=new Array(wi=o.tween.length),ci=0,_i=-1;ci<wi;++ci)(Ii=o.tween[ci].value.call(u,u.__data__,o.index,o.group))&&(B[++_i]=Ii);B.length=_i+1}}function tt(Gt){for(var ci=Gt<o.duration?o.ease.call(null,Gt/o.duration):(o.timer.restart(Wt),o.state=5,1),_i=-1,wi=B.length;++_i<wi;)B[_i].call(u,ci);5===o.state&&(o.on.call("end",u,u.__data__,o.index,o.group),Wt())}function Wt(){for(var Gt in o.state=6,o.timer.stop(),delete C[L],C)return;delete u.__transition}C[L]=o,o.timer=zi(function Y(Gt){o.state=1,o.timer.restart(Te,o.delay,o.time),o.delay<=Gt&&Te(Gt-o.delay)},0,o.time)}(u,o,{name:L,index:C,group:B,on:To,tween:Ga,time:Y.time,delay:Y.delay,duration:Y.duration,ease:Y.ease,timer:null,state:Ea})}function ns(u,L){var o=Ta(u,L);if(o.state>Ea)throw new Error("too late; already scheduled");return o}function dr(u,L){var o=Ta(u,L);if(o.state>so)throw new Error("too late; already running");return o}function Ta(u,L){var o=u.__transition;if(!o||!(o=o[L]))throw new Error("transition not found");return o}var Fo,ha=180/Math.PI,Rr={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Is(u,L,o,C,B,Y){var Te,tt,Wt;return(Te=Math.sqrt(u*u+L*L))&&(u/=Te,L/=Te),(Wt=u*o+L*C)&&(o-=u*Wt,C-=L*Wt),(tt=Math.sqrt(o*o+C*C))&&(o/=tt,C/=tt,Wt/=tt),u*C<L*o&&(u=-u,L=-L,Wt=-Wt,Te=-Te),{translateX:B,translateY:Y,rotate:Math.atan2(L,u)*ha,skewX:Math.atan(Wt)*ha,scaleX:Te,scaleY:tt}}function Xn(u,L,o,C){function B(Gt){return Gt.length?Gt.pop()+" ":""}return function(Gt,ci){var _i=[],wi=[];return Gt=u(Gt),ci=u(ci),function Y(Gt,ci,_i,wi,Ii,an){if(Gt!==_i||ci!==wi){var Sn=Ii.push("translate(",null,L,null,o);an.push({i:Sn-4,x:Wr(Gt,_i)},{i:Sn-2,x:Wr(ci,wi)})}else(_i||wi)&&Ii.push("translate("+_i+L+wi+o)}(Gt.translateX,Gt.translateY,ci.translateX,ci.translateY,_i,wi),function Te(Gt,ci,_i,wi){Gt!==ci?(Gt-ci>180?ci+=360:ci-Gt>180&&(Gt+=360),wi.push({i:_i.push(B(_i)+"rotate(",null,C)-2,x:Wr(Gt,ci)})):ci&&_i.push(B(_i)+"rotate("+ci+C)}(Gt.rotate,ci.rotate,_i,wi),function tt(Gt,ci,_i,wi){Gt!==ci?wi.push({i:_i.push(B(_i)+"skewX(",null,C)-2,x:Wr(Gt,ci)}):ci&&_i.push(B(_i)+"skewX("+ci+C)}(Gt.skewX,ci.skewX,_i,wi),function Wt(Gt,ci,_i,wi,Ii,an){if(Gt!==_i||ci!==wi){var Sn=Ii.push(B(Ii)+"scale(",null,",",null,")");an.push({i:Sn-4,x:Wr(Gt,_i)},{i:Sn-2,x:Wr(ci,wi)})}else(1!==_i||1!==wi)&&Ii.push(B(Ii)+"scale("+_i+","+wi+")")}(Gt.scaleX,Gt.scaleY,ci.scaleX,ci.scaleY,_i,wi),Gt=ci=null,function(Ii){for(var Pi,an=-1,Sn=wi.length;++an<Sn;)_i[(Pi=wi[an]).i]=Pi.x(Ii);return _i.join("")}}}var en=Xn(function Zs(u){const L=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(u+"");return L.isIdentity?Rr:Is(L.a,L.b,L.c,L.d,L.e,L.f)},"px, ","px)","deg)"),Hr=Xn(function co(u){return null!=u&&(Fo||(Fo=document.createElementNS("http://www.w3.org/2000/svg","g")),Fo.setAttribute("transform",u),u=Fo.transform.baseVal.consolidate())?Is((u=u.matrix).a,u.b,u.c,u.d,u.e,u.f):Rr},", ",")",")");function Jr(u,L){var o,C;return function(){var B=dr(this,u),Y=B.tween;if(Y!==o)for(var Te=0,tt=(C=o=Y).length;Te<tt;++Te)if(C[Te].name===L){(C=C.slice()).splice(Te,1);break}B.tween=C}}function qi(u,L,o){var C,B;if("function"!=typeof o)throw new Error;return function(){var Y=dr(this,u),Te=Y.tween;if(Te!==C){B=(C=Te).slice();for(var tt={name:L,value:o},Wt=0,Gt=B.length;Wt<Gt;++Wt)if(B[Wt].name===L){B[Wt]=tt;break}Wt===Gt&&B.push(tt)}Y.tween=B}}function na(u,L,o){var C=u._id;return u.each(function(){var B=dr(this,C);(B.value||(B.value={}))[L]=o.apply(this,arguments)}),function(B){return Ta(B,C).value[L]}}function Cc(u,L){var o;return("number"==typeof L?Wr:L instanceof Ir?Ba:(o=Ir(L))?(L=o,Ba):Mt)(u,L)}function Vc(u){return function(){this.removeAttribute(u)}}function _l(u){return function(){this.removeAttributeNS(u.space,u.local)}}function ks(u,L,o){var C,Y,B=o+"";return function(){var Te=this.getAttribute(u);return Te===B?null:Te===C?Y:Y=L(C=Te,o)}}function yn(u,L,o){var C,Y,B=o+"";return function(){var Te=this.getAttributeNS(u.space,u.local);return Te===B?null:Te===C?Y:Y=L(C=Te,o)}}function Se(u,L,o){var C,B,Y;return function(){var Te,Wt,tt=o(this);return null==tt?void this.removeAttribute(u):(Te=this.getAttribute(u))===(Wt=tt+"")?null:Te===C&&Wt===B?Y:(B=Wt,Y=L(C=Te,tt))}}function dt(u,L,o){var C,B,Y;return function(){var Te,Wt,tt=o(this);return null==tt?void this.removeAttributeNS(u.space,u.local):(Te=this.getAttributeNS(u.space,u.local))===(Wt=tt+"")?null:Te===C&&Wt===B?Y:(B=Wt,Y=L(C=Te,tt))}}function Pe(u,L){var o,C;function B(){var Y=L.apply(this,arguments);return Y!==C&&(o=(C=Y)&&function ti(u,L){return function(o){this.setAttributeNS(u.space,u.local,L.call(this,o))}}(u,Y)),o}return B._value=L,B}function ft(u,L){var o,C;function B(){var Y=L.apply(this,arguments);return Y!==C&&(o=(C=Y)&&function ut(u,L){return function(o){this.setAttribute(u,L.call(this,o))}}(u,Y)),o}return B._value=L,B}function Rt(u,L){return function(){ns(this,u).delay=+L.apply(this,arguments)}}function Kt(u,L){return L=+L,function(){ns(this,u).delay=L}}function li(u,L){return function(){dr(this,u).duration=+L.apply(this,arguments)}}function Ei(u,L){return L=+L,function(){dr(this,u).duration=L}}var zn=Vi.prototype.constructor;function Sr(u){return function(){this.style.removeProperty(u)}}var kn=0;function Vo(u,L,o,C){this._groups=u,this._parents=L,this._name=o,this._id=C}function p1(){return++kn}var bs=Vi.prototype;Vo.prototype=function Ws(u){return Vi().transition(u)}.prototype={constructor:Vo,select:function Ao(u){var L=this._name,o=this._id;"function"!=typeof u&&(u=d(u));for(var C=this._groups,B=C.length,Y=new Array(B),Te=0;Te<B;++Te)for(var ci,_i,tt=C[Te],Wt=tt.length,Gt=Y[Te]=new Array(Wt),wi=0;wi<Wt;++wi)(ci=tt[wi])&&(_i=u.call(ci,ci.__data__,wi,tt))&&("__data__"in ci&&(_i.__data__=ci.__data__),Gt[wi]=_i,qo(Gt[wi],L,o,wi,Gt,Ta(ci,o)));return new Vo(Y,this._parents,L,o)},selectAll:function Ja(u){var L=this._name,o=this._id;"function"!=typeof u&&(u=k(u));for(var C=this._groups,B=C.length,Y=[],Te=[],tt=0;tt<B;++tt)for(var ci,Wt=C[tt],Gt=Wt.length,_i=0;_i<Gt;++_i)if(ci=Wt[_i]){for(var Ii,wi=u.call(ci,ci.__data__,_i,Wt),an=Ta(ci,o),Sn=0,Pi=wi.length;Sn<Pi;++Sn)(Ii=wi[Sn])&&qo(Ii,L,o,Sn,wi,an);Y.push(wi),Te.push(ci)}return new Vo(Y,Te,L,o)},selectChild:bs.selectChild,selectChildren:bs.selectChildren,filter:function Nn(u){"function"!=typeof u&&(u=j(u));for(var L=this._groups,o=L.length,C=new Array(o),B=0;B<o;++B)for(var Wt,Y=L[B],Te=Y.length,tt=C[B]=[],Gt=0;Gt<Te;++Gt)(Wt=Y[Gt])&&u.call(Wt,Wt.__data__,Gt,Y)&&tt.push(Wt);return new Vo(C,this._parents,this._name,this._id)},merge:function Dr(u){if(u._id!==this._id)throw new Error;for(var L=this._groups,o=u._groups,C=L.length,Y=Math.min(C,o.length),Te=new Array(C),tt=0;tt<Y;++tt)for(var wi,Wt=L[tt],Gt=o[tt],ci=Wt.length,_i=Te[tt]=new Array(ci),Ii=0;Ii<ci;++Ii)(wi=Wt[Ii]||Gt[Ii])&&(_i[Ii]=wi);for(;tt<C;++tt)Te[tt]=L[tt];return new Vo(Te,this._parents,this._name,this._id)},selection:function Xo(){return new zn(this._groups,this._parents)},transition:function Gc(){for(var u=this._name,L=this._id,o=p1(),C=this._groups,B=C.length,Y=0;Y<B;++Y)for(var Wt,Te=C[Y],tt=Te.length,Gt=0;Gt<tt;++Gt)if(Wt=Te[Gt]){var ci=Ta(Wt,L);qo(Wt,u,o,Gt,Te,{time:ci.time+ci.delay+ci.duration,delay:0,duration:ci.duration,ease:ci.ease})}return new Vo(C,this._parents,u,o)},call:bs.call,nodes:bs.nodes,node:bs.node,size:bs.size,empty:bs.empty,each:bs.each,on:function ra(u,L){var o=this._id;return arguments.length<2?Ta(this.node(),o).on.on(u):this.each(function ua(u,L,o){var C,B,Y=function Fr(u){return(u+"").trim().split(/^|\s+/).every(function(L){var o=L.indexOf(".");return o>=0&&(L=L.slice(0,o)),!L||"start"===L})}(L)?ns:dr;return function(){var Te=Y(this,u),tt=Te.on;tt!==C&&(B=(C=tt).copy()).on(L,o),Te.on=B}}(o,u,L))},attr:function Ye(u,L){var o=ge(u),C="transform"===o?Hr:Cc;return this.attrTween(u,"function"==typeof L?(o.local?dt:Se)(o,C,na(this,"attr."+u,L)):null==L?(o.local?_l:Vc)(o):(o.local?yn:ks)(o,C,L))},attrTween:function vt(u,L){var o="attr."+u;if(arguments.length<2)return(o=this.tween(o))&&o._value;if(null==L)return this.tween(o,null);if("function"!=typeof L)throw new Error;var C=ge(u);return this.tween(o,(C.local?Pe:ft)(C,L))},style:function zo(u,L,o){var C="transform"==(u+="")?en:Cc;return null==L?this.styleTween(u,function vs(u,L){var o,C,B;return function(){var Y=et(this,u),Te=(this.style.removeProperty(u),et(this,u));return Y===Te?null:Y===o&&Te===C?B:B=L(o=Y,C=Te)}}(u,C)).on("end.style."+u,Sr(u)):"function"==typeof L?this.styleTween(u,function wc(u,L,o){var C,B,Y;return function(){var Te=et(this,u),tt=o(this),Wt=tt+"";return null==tt&&(this.style.removeProperty(u),Wt=tt=et(this,u)),Te===Wt?null:Te===C&&Wt===B?Y:(B=Wt,Y=L(C=Te,tt))}}(u,C,na(this,"style."+u,L))).each(function Os(u,L){var o,C,B,tt,Y="style."+L,Te="end."+Y;return function(){var Wt=dr(this,u),Gt=Wt.on,ci=null==Wt.value[Y]?tt||(tt=Sr(L)):void 0;(Gt!==o||B!==ci)&&(C=(o=Gt).copy()).on(Te,B=ci),Wt.on=C}}(this._id,u)):this.styleTween(u,function Bc(u,L,o){var C,Y,B=o+"";return function(){var Te=et(this,u);return Te===B?null:Te===C?Y:Y=L(C=Te,o)}}(u,C,L),o).on("end.style."+u,null)},styleTween:function Uc(u,L,o){var C="style."+(u+="");if(arguments.length<2)return(C=this.tween(C))&&C._value;if(null==L)return this.tween(C,null);if("function"!=typeof L)throw new Error;return this.tween(C,function vl(u,L,o){var C,B;function Y(){var Te=L.apply(this,arguments);return Te!==B&&(C=(B=Te)&&function N2(u,L,o){return function(C){this.style.setProperty(u,L.call(this,C),o)}}(u,Te,o)),C}return Y._value=L,Y}(u,L,o??""))},text:function Ps(u){return this.tween("text","function"==typeof u?function Yt(u){return function(){var L=u(this);this.textContent=L??""}}(na(this,"text",u)):function Jo(u){return function(){this.textContent=u}}(null==u?"":u+""))},textTween:function bl(u){var L="text";if(arguments.length<1)return(L=this.tween(L))&&L._value;if(null==u)return this.tween(L,null);if("function"!=typeof u)throw new Error;return this.tween(L,function m1(u){var L,o;function C(){var B=u.apply(this,arguments);return B!==o&&(L=(o=B)&&function Ra(u){return function(L){this.textContent=u.call(this,L)}}(B)),L}return C._value=u,C}(u))},remove:function Nr(){return this.on("end.remove",function Aa(u){return function(){var L=this.parentNode;for(var o in this.__transition)if(+o!==u)return;L&&L.removeChild(this)}}(this._id))},tween:function rr(u,L){var o=this._id;if(u+="",arguments.length<2){for(var Te,C=Ta(this.node(),o).tween,B=0,Y=C.length;B<Y;++B)if((Te=C[B]).name===u)return Te.value;return null}return this.each((null==L?Jr:qi)(o,u,L))},delay:function ui(u){var L=this._id;return arguments.length?this.each(("function"==typeof u?Rt:Kt)(L,u)):Ta(this.node(),L).delay},duration:function Di(u){var L=this._id;return arguments.length?this.each(("function"==typeof u?li:Ei)(L,u)):Ta(this.node(),L).duration},ease:function Xi(u){var L=this._id;return arguments.length?this.each(function tn(u,L){if("function"!=typeof L)throw new Error;return function(){dr(this,u).ease=L}}(L,u)):Ta(this.node(),L).ease},easeVarying:function Tn(u){if("function"!=typeof u)throw new Error;return this.each(function fn(u,L){return function(){var o=L.apply(this,arguments);if("function"!=typeof o)throw new Error;dr(this,u).ease=o}}(this._id,u))},end:function yl(){var u,L,o=this,C=o._id,B=o.size();return new Promise(function(Y,Te){var tt={value:Te},Wt={value:function(){0==--B&&Y()}};o.each(function(){var Gt=dr(this,C),ci=Gt.on;ci!==u&&((L=(u=ci).copy())._.cancel.push(tt),L._.interrupt.push(tt),L._.end.push(Wt)),Gt.on=L}),0===B&&Y()})},[Symbol.iterator]:bs[Symbol.iterator]};var H2={time:null,delay:0,duration:250,ease:function ic(u){return((u*=2)<=1?u*u*u:(u-=2)*u*u+2)/2}};function F2(u,L){for(var o;!(o=u.__transition)||!(o=o[L]);)if(!(u=u.parentNode))throw new Error(`transition ${L} not found`);return o}Vi.prototype.interrupt=function Ls(u){return this.each(function(){!function Ki(u,L){var C,B,Te,o=u.__transition,Y=!0;if(o){for(Te in L=null==L?null:L+"",o)(C=o[Te]).name===L?(B=C.state>2&&C.state<5,C.state=6,C.timer.stop(),C.on.call(B?"interrupt":"cancel",u,u.__data__,C.index,C.group),delete o[Te]):Y=!1;Y&&delete u.__transition}}(this,u)})},Vi.prototype.transition=function wd(u){var L,o;u instanceof Vo?(L=u._id,u=u._name):(L=p1(),(o=H2).time=Sa(),u=null==u?null:u+"");for(var C=this._groups,B=C.length,Y=0;Y<B;++Y)for(var Wt,Te=C[Y],tt=Te.length,Gt=0;Gt<tt;++Gt)(Wt=Te[Gt])&&qo(Wt,u,L,Gt,Te,o||F2(Wt,L));return new Vo(C,this._parents,u,L)};Math;function _e(u){return{type:u}}function Bo(u,L){return null==u||null==L?NaN:u<L?-1:u>L?1:u>=L?0:NaN}function Rs(u,L){return null==u||null==L?NaN:L<u?-1:L>u?1:L>=u?0:NaN}function Uo(u){let L,o,C;function B(tt,Wt,Gt=0,ci=tt.length){if(Gt<ci){if(0!==L(Wt,Wt))return ci;do{const _i=Gt+ci>>>1;o(tt[_i],Wt)<0?Gt=_i+1:ci=_i}while(Gt<ci)}return Gt}return 2!==u.length?(L=Bo,o=(tt,Wt)=>Bo(u(tt),Wt),C=(tt,Wt)=>u(tt)-Wt):(L=u===Bo||u===Rs?u:rc,o=u,C=u),{left:B,center:function Te(tt,Wt,Gt=0,ci=tt.length){const _i=B(tt,Wt,Gt,ci-1);return _i>Gt&&C(tt[_i-1],Wt)>-C(tt[_i],Wt)?_i-1:_i},right:function Y(tt,Wt,Gt=0,ci=tt.length){if(Gt<ci){if(0!==L(Wt,Wt))return ci;do{const _i=Gt+ci>>>1;o(tt[_i],Wt)<=0?Gt=_i+1:ci=_i}while(Gt<ci)}return Gt}}}function rc(){return 0}["w","e"].map(_e),["n","s"].map(_e),["n","w","e","s","nw","ne","sw","se"].map(_e);const Go=Math.sqrt(50),Za=Math.sqrt(10),Ns=Math.sqrt(2);function Or(u,L,o){const C=(L-u)/Math.max(0,o),B=Math.floor(Math.log10(C)),Y=C/Math.pow(10,B),Te=Y>=Go?10:Y>=Za?5:Y>=Ns?2:1;let tt,Wt,Gt;return B<0?(Gt=Math.pow(10,-B)/Te,tt=Math.round(u*Gt),Wt=Math.round(L*Gt),tt/Gt<u&&++tt,Wt/Gt>L&&--Wt,Gt=-Gt):(Gt=Math.pow(10,B)*Te,tt=Math.round(u/Gt),Wt=Math.round(L/Gt),tt*Gt<u&&++tt,Wt*Gt>L&&--Wt),Wt<tt&&.5<=o&&o<2?Or(u,L,2*o):[tt,Wt,Gt]}function Sd(u,L,o){return Or(u=+u,L=+L,o=+o)[2]}function _1(u,L,o){o=+o;const C=(L=+L)<(u=+u),B=C?Sd(L,u,o):Sd(u,L,o);return(C?-1:1)*(B<0?1/-B:B)}const Ys=1e3,$o=6e4,Hs=60*$o,os=24*Hs,Fs=7*os,Sl=30*os,Wc=365*os,Yc=new Date,jc=new Date;function Da(u,L,o,C){function B(Y){return u(Y=0===arguments.length?new Date:new Date(+Y)),Y}return B.floor=Y=>(u(Y=new Date(+Y)),Y),B.ceil=Y=>(u(Y=new Date(Y-1)),L(Y,1),u(Y),Y),B.round=Y=>{const Te=B(Y),tt=B.ceil(Y);return Y-Te<tt-Y?Te:tt},B.offset=(Y,Te)=>(L(Y=new Date(+Y),null==Te?1:Math.floor(Te)),Y),B.range=(Y,Te,tt)=>{const Wt=[];if(Y=B.ceil(Y),tt=null==tt?1:Math.floor(tt),!(Y<Te&&tt>0))return Wt;let Gt;do{Wt.push(Gt=new Date(+Y)),L(Y,tt),u(Y)}while(Gt<Y&&Y<Te);return Wt},B.filter=Y=>Da(Te=>{if(Te>=Te)for(;u(Te),!Y(Te);)Te.setTime(Te-1)},(Te,tt)=>{if(Te>=Te)if(tt<0)for(;++tt<=0;)for(;L(Te,-1),!Y(Te););else for(;--tt>=0;)for(;L(Te,1),!Y(Te););}),o&&(B.count=(Y,Te)=>(Yc.setTime(+Y),jc.setTime(+Te),u(Yc),u(jc),Math.floor(o(Yc,jc))),B.every=Y=>(Y=Math.floor(Y),isFinite(Y)&&Y>0?Y>1?B.filter(C?Te=>C(Te)%Y==0:Te=>B.count(0,Te)%Y==0):B:null)),B}const El=Da(()=>{},(u,L)=>{u.setTime(+u+L)},(u,L)=>L-u);El.every=u=>(u=Math.floor(u),isFinite(u)&&u>0?u>1?Da(L=>{L.setTime(Math.floor(L/u)*u)},(L,o)=>{L.setTime(+L+o*u)},(L,o)=>(o-L)/u):El:null);const Kc=Da(u=>{u.setTime(u-u.getMilliseconds())},(u,L)=>{u.setTime(+u+L*Ys)},(u,L)=>(L-u)/Ys,u=>u.getUTCSeconds()),Ec=Da(u=>{u.setTime(u-u.getMilliseconds()-u.getSeconds()*Ys)},(u,L)=>{u.setTime(+u+L*$o)},(u,L)=>(L-u)/$o,u=>u.getMinutes()),v1=Da(u=>{u.setUTCSeconds(0,0)},(u,L)=>{u.setTime(+u+L*$o)},(u,L)=>(L-u)/$o,u=>u.getUTCMinutes()),Ed=Da(u=>{u.setTime(u-u.getMilliseconds()-u.getSeconds()*Ys-u.getMinutes()*$o)},(u,L)=>{u.setTime(+u+L*Hs)},(u,L)=>(L-u)/Hs,u=>u.getHours()),Fh=Da(u=>{u.setUTCMinutes(0,0,0)},(u,L)=>{u.setTime(+u+L*Hs)},(u,L)=>(L-u)/Hs,u=>u.getUTCHours()),Tl=Da(u=>u.setHours(0,0,0,0),(u,L)=>u.setDate(u.getDate()+L),(u,L)=>(L-u-(L.getTimezoneOffset()-u.getTimezoneOffset())*$o)/os,u=>u.getDate()-1),y1=(Da(u=>{u.setUTCHours(0,0,0,0)},(u,L)=>{u.setUTCDate(u.getUTCDate()+L)},(u,L)=>(L-u)/os,u=>u.getUTCDate()-1),Da(u=>{u.setUTCHours(0,0,0,0)},(u,L)=>{u.setUTCDate(u.getUTCDate()+L)},(u,L)=>(L-u)/os,u=>Math.floor(u/os)));function qc(u){return Da(L=>{L.setDate(L.getDate()-(L.getDay()+7-u)%7),L.setHours(0,0,0,0)},(L,o)=>{L.setDate(L.getDate()+7*o)},(L,o)=>(o-L-(o.getTimezoneOffset()-L.getTimezoneOffset())*$o)/Fs)}const C1=qc(0);function ac(u){return Da(L=>{L.setUTCDate(L.getUTCDate()-(L.getUTCDay()+7-u)%7),L.setUTCHours(0,0,0,0)},(L,o)=>{L.setUTCDate(L.getUTCDate()+7*o)},(L,o)=>(o-L)/Fs)}qc(1),qc(2),qc(3),qc(4),qc(5),qc(6);const W2=ac(0),Ll=(ac(1),ac(2),ac(3),ac(4),ac(5),ac(6),Da(u=>{u.setDate(1),u.setHours(0,0,0,0)},(u,L)=>{u.setMonth(u.getMonth()+L)},(u,L)=>L.getMonth()-u.getMonth()+12*(L.getFullYear()-u.getFullYear()),u=>u.getMonth())),Tc=Da(u=>{u.setUTCDate(1),u.setUTCHours(0,0,0,0)},(u,L)=>{u.setUTCMonth(u.getUTCMonth()+L)},(u,L)=>L.getUTCMonth()-u.getUTCMonth()+12*(L.getUTCFullYear()-u.getUTCFullYear()),u=>u.getUTCMonth()),Ol=Da(u=>{u.setMonth(0,1),u.setHours(0,0,0,0)},(u,L)=>{u.setFullYear(u.getFullYear()+L)},(u,L)=>L.getFullYear()-u.getFullYear(),u=>u.getFullYear());Ol.every=u=>isFinite(u=Math.floor(u))&&u>0?Da(L=>{L.setFullYear(Math.floor(L.getFullYear()/u)*u),L.setMonth(0,1),L.setHours(0,0,0,0)},(L,o)=>{L.setFullYear(L.getFullYear()+o*u)}):null;const Qs=Da(u=>{u.setUTCMonth(0,1),u.setUTCHours(0,0,0,0)},(u,L)=>{u.setUTCFullYear(u.getUTCFullYear()+L)},(u,L)=>L.getUTCFullYear()-u.getUTCFullYear(),u=>u.getUTCFullYear());function K2(u,L,o,C,B,Y){const Te=[[Kc,1,Ys],[Kc,5,5e3],[Kc,15,15e3],[Kc,30,3e4],[Y,1,$o],[Y,5,5*$o],[Y,15,15*$o],[Y,30,30*$o],[B,1,Hs],[B,3,3*Hs],[B,6,6*Hs],[B,12,12*Hs],[C,1,os],[C,2,2*os],[o,1,Fs],[L,1,Sl],[L,3,3*Sl],[u,1,Wc]];function Wt(Gt,ci,_i){const wi=Math.abs(ci-Gt)/_i,Ii=Uo(([,,Pi])=>Pi).right(Te,wi);if(Ii===Te.length)return u.every(_1(Gt/Wc,ci/Wc,_i));if(0===Ii)return El.every(Math.max(_1(Gt,ci,_i),1));const[an,Sn]=Te[wi/Te[Ii-1][2]<Te[Ii][2]/wi?Ii-1:Ii];return an.every(Sn)}return[function tt(Gt,ci,_i){const wi=ci<Gt;wi&&([Gt,ci]=[ci,Gt]);const Ii=_i&&"function"==typeof _i.range?_i:Wt(Gt,ci,_i),an=Ii?Ii.range(Gt,+ci+1):[];return wi?an.reverse():an},Wt]}Qs.every=u=>isFinite(u=Math.floor(u))&&u>0?Da(L=>{L.setUTCFullYear(Math.floor(L.getUTCFullYear()/u)*u),L.setUTCMonth(0,1),L.setUTCHours(0,0,0,0)},(L,o)=>{L.setUTCFullYear(L.getUTCFullYear()+o*u)}):null;const[Mm,$f]=K2(Qs,Tc,W2,y1,Fh,v1),[e3,t3]=K2(Ol,Ll,C1,Tl,Ed,Ec);var Id=new Date,Q2=new Date;function Zo(u,L,o,C){function B(Y){return u(Y=0===arguments.length?new Date:new Date(+Y)),Y}return B.floor=function(Y){return u(Y=new Date(+Y)),Y},B.ceil=function(Y){return u(Y=new Date(Y-1)),L(Y,1),u(Y),Y},B.round=function(Y){var Te=B(Y),tt=B.ceil(Y);return Y-Te<tt-Y?Te:tt},B.offset=function(Y,Te){return L(Y=new Date(+Y),null==Te?1:Math.floor(Te)),Y},B.range=function(Y,Te,tt){var Gt,Wt=[];if(Y=B.ceil(Y),tt=null==tt?1:Math.floor(tt),!(Y<Te&&tt>0))return Wt;do{Wt.push(Gt=new Date(+Y)),L(Y,tt),u(Y)}while(Gt<Y&&Y<Te);return Wt},B.filter=function(Y){return Zo(function(Te){if(Te>=Te)for(;u(Te),!Y(Te);)Te.setTime(Te-1)},function(Te,tt){if(Te>=Te)if(tt<0)for(;++tt<=0;)for(;L(Te,-1),!Y(Te););else for(;--tt>=0;)for(;L(Te,1),!Y(Te););})},o&&(B.count=function(Y,Te){return Id.setTime(+Y),Q2.setTime(+Te),u(Id),u(Q2),Math.floor(o(Id,Q2))},B.every=function(Y){return Y=Math.floor(Y),isFinite(Y)&&Y>0?Y>1?B.filter(C?function(Te){return C(Te)%Y==0}:function(Te){return B.count(0,Te)%Y==0}):B:null}),B}const Pl=864e5,zs=7*Pl;function cs(u){return Zo(function(L){L.setUTCDate(L.getUTCDate()-(L.getUTCDay()+7-u)%7),L.setUTCHours(0,0,0,0)},function(L,o){L.setUTCDate(L.getUTCDate()+7*o)},function(L,o){return(o-L)/zs})}var Od=cs(0),sc=cs(1),Nl=(cs(2),cs(3),cs(4));const $2=(cs(5),cs(6),Zo(function(u){u.setUTCHours(0,0,0,0)},function(u,L){u.setUTCDate(u.getUTCDate()+L)},function(u,L){return(L-u)/Pl},function(u){return u.getUTCDate()-1}));function cc(u){return Zo(function(L){L.setDate(L.getDate()-(L.getDay()+7-u)%7),L.setHours(0,0,0,0)},function(L,o){L.setDate(L.getDate()+7*o)},function(L,o){return(o-L-6e4*(o.getTimezoneOffset()-L.getTimezoneOffset()))/zs})}var Fl=cc(0),ys=cc(1),Ac=(cc(2),cc(3),cc(4));const n0=(cc(5),cc(6),Zo(u=>u.setHours(0,0,0,0),(u,L)=>u.setDate(u.getDate()+L),(u,L)=>(L-u-6e4*(L.getTimezoneOffset()-u.getTimezoneOffset()))/Pl,u=>u.getDate()-1));var A1=Zo(function(u){u.setMonth(0,1),u.setHours(0,0,0,0)},function(u,L){u.setFullYear(u.getFullYear()+L)},function(u,L){return L.getFullYear()-u.getFullYear()},function(u){return u.getFullYear()});A1.every=function(u){return isFinite(u=Math.floor(u))&&u>0?Zo(function(L){L.setFullYear(Math.floor(L.getFullYear()/u)*u),L.setMonth(0,1),L.setHours(0,0,0,0)},function(L,o){L.setFullYear(L.getFullYear()+o*u)}):null};const $c=A1;var Nd=Zo(function(u){u.setUTCMonth(0,1),u.setUTCHours(0,0,0,0)},function(u,L){u.setUTCFullYear(u.getUTCFullYear()+L)},function(u,L){return L.getUTCFullYear()-u.getUTCFullYear()},function(u){return u.getUTCFullYear()});Nd.every=function(u){return isFinite(u=Math.floor(u))&&u>0?Zo(function(L){L.setUTCFullYear(Math.floor(L.getUTCFullYear()/u)*u),L.setUTCMonth(0,1),L.setUTCHours(0,0,0,0)},function(L,o){L.setUTCFullYear(L.getUTCFullYear()+o*u)}):null};const Vl=Nd;function lc(u){if(0<=u.y&&u.y<100){var L=new Date(-1,u.m,u.d,u.H,u.M,u.S,u.L);return L.setFullYear(u.y),L}return new Date(u.y,u.m,u.d,u.H,u.M,u.S,u.L)}function D1(u){if(0<=u.y&&u.y<100){var L=new Date(Date.UTC(-1,u.m,u.d,u.H,u.M,u.S,u.L));return L.setUTCFullYear(u.y),L}return new Date(Date.UTC(u.y,u.m,u.d,u.H,u.M,u.S,u.L))}function Lc(u,L,o){return{y:u,m:L,d:o,H:0,M:0,S:0,L:0}}var L1={"-":"",_:" ",0:"0"},Ya=/^\s*\d+/,r0=/^%/,Hd=/[\\^$*+?|[\]().{}]/g;function _r(u,L,o){var C=u<0?"-":"",B=(C?-u:u)+"",Y=B.length;return C+(Y<o?new Array(o-Y+1).join(L)+B:B)}function c3(u){return u.replace(Hd,"\\$&")}function dc(u){return new RegExp("^(?:"+u.map(c3).join("|")+")","i")}function Ul(u){return new Map(u.map((L,o)=>[L.toLowerCase(),o]))}function Fd(u,L,o){var C=Ya.exec(L.slice(o,o+1));return C?(u.w=+C[0],o+C[0].length):-1}function zd(u,L,o){var C=Ya.exec(L.slice(o,o+1));return C?(u.u=+C[0],o+C[0].length):-1}function a0(u,L,o){var C=Ya.exec(L.slice(o,o+2));return C?(u.U=+C[0],o+C[0].length):-1}function Ic(u,L,o){var C=Ya.exec(L.slice(o,o+2));return C?(u.V=+C[0],o+C[0].length):-1}function o0(u,L,o){var C=Ya.exec(L.slice(o,o+2));return C?(u.W=+C[0],o+C[0].length):-1}function I1(u,L,o){var C=Ya.exec(L.slice(o,o+4));return C?(u.y=+C[0],o+C[0].length):-1}function Gl(u,L,o){var C=Ya.exec(L.slice(o,o+2));return C?(u.y=+C[0]+(+C[0]>68?1900:2e3),o+C[0].length):-1}function qh(u,L,o){var C=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(L.slice(o,o+6));return C?(u.Z=C[1]?0:-(C[2]+(C[3]||"00")),o+C[0].length):-1}function k1(u,L,o){var C=Ya.exec(L.slice(o,o+1));return C?(u.q=3*C[0]-3,o+C[0].length):-1}function O1(u,L,o){var C=Ya.exec(L.slice(o,o+2));return C?(u.m=C[0]-1,o+C[0].length):-1}function ds(u,L,o){var C=Ya.exec(L.slice(o,o+2));return C?(u.d=+C[0],o+C[0].length):-1}function el(u,L,o){var C=Ya.exec(L.slice(o,o+3));return C?(u.m=0,u.d=+C[0],o+C[0].length):-1}function Zl(u,L,o){var C=Ya.exec(L.slice(o,o+2));return C?(u.H=+C[0],o+C[0].length):-1}function Xh(u,L,o){var C=Ya.exec(L.slice(o,o+2));return C?(u.M=+C[0],o+C[0].length):-1}function Jh(u,L,o){var C=Ya.exec(L.slice(o,o+2));return C?(u.S=+C[0],o+C[0].length):-1}function s0(u,L,o){var C=Ya.exec(L.slice(o,o+3));return C?(u.L=+C[0],o+C[0].length):-1}function tl(u,L,o){var C=Ya.exec(L.slice(o,o+6));return C?(u.L=Math.floor(C[0]/1e3),o+C[0].length):-1}function $h(u,L,o){var C=r0.exec(L.slice(o,o+1));return C?o+C[0].length:-1}function c0(u,L,o){var C=Ya.exec(L.slice(o));return C?(u.Q=+C[0],o+C[0].length):-1}function eu(u,L,o){var C=Ya.exec(L.slice(o));return C?(u.s=+C[0],o+C[0].length):-1}function P1(u,L){return _r(u.getDate(),L,2)}function kc(u,L){return _r(u.getHours(),L,2)}function R1(u,L){return _r(u.getHours()%12||12,L,2)}function l0(u,L){return _r(1+n0.count($c(u),u),L,3)}function d0(u,L){return _r(u.getMilliseconds(),L,3)}function tu(u,L){return d0(u,L)+"000"}function h0(u,L){return _r(u.getMonth()+1,L,2)}function u0(u,L){return _r(u.getMinutes(),L,2)}function f0(u,L){return _r(u.getSeconds(),L,2)}function m0(u){var L=u.getDay();return 0===L?7:L}function iu(u,L){return _r(Fl.count($c(u)-1,u),L,2)}function nu(u){var L=u.getDay();return L>=4||0===L?Ac(u):Ac.ceil(u)}function p0(u,L){return u=nu(u),_r(Ac.count($c(u),u)+(4===$c(u).getDay()),L,2)}function Vd(u){return u.getDay()}function hs(u,L){return _r(ys.count($c(u)-1,u),L,2)}function Wl(u,L){return _r(u.getFullYear()%100,L,2)}function hc(u,L){return _r((u=nu(u)).getFullYear()%100,L,2)}function N1(u,L){return _r(u.getFullYear()%1e4,L,4)}function Bd(u,L){var o=u.getDay();return _r((u=o>=4||0===o?Ac(u):Ac.ceil(u)).getFullYear()%1e4,L,4)}function Yl(u){var L=u.getTimezoneOffset();return(L>0?"-":(L*=-1,"+"))+_r(L/60|0,"0",2)+_r(L%60,"0",2)}function g0(u,L){return _r(u.getUTCDate(),L,2)}function _0(u,L){return _r(u.getUTCHours(),L,2)}function Ud(u,L){return _r(u.getUTCHours()%12||12,L,2)}function ru(u,L){return _r(1+$2.count(Vl(u),u),L,3)}function qs(u,L){return _r(u.getUTCMilliseconds(),L,3)}function v0(u,L){return qs(u,L)+"000"}function au(u,L){return _r(u.getUTCMonth()+1,L,2)}function b0(u,L){return _r(u.getUTCMinutes(),L,2)}function Gd(u,L){return _r(u.getUTCSeconds(),L,2)}function l3(u){var L=u.getUTCDay();return 0===L?7:L}function y0(u,L){return _r(Od.count(Vl(u)-1,u),L,2)}function x0(u){var L=u.getUTCDay();return L>=4||0===L?Nl(u):Nl.ceil(u)}function C0(u,L){return u=x0(u),_r(Nl.count(Vl(u),u)+(4===Vl(u).getUTCDay()),L,2)}function ou(u){return u.getUTCDay()}function w0(u,L){return _r(sc.count(Vl(u)-1,u),L,2)}function M0(u,L){return _r(u.getUTCFullYear()%100,L,2)}function S0(u,L){return _r((u=x0(u)).getUTCFullYear()%100,L,2)}function il(u,L){return _r(u.getUTCFullYear()%1e4,L,4)}function Wo(u,L){var o=u.getUTCDay();return _r((u=o>=4||0===o?Nl(u):Nl.ceil(u)).getUTCFullYear()%1e4,L,4)}function uc(){return"+0000"}function H1(){return"%"}function Zd(u){return+u}function fc(u){return Math.floor(+u/1e3)}function T0(u){return null===u?NaN:+u}!function E0(u){(function Bl(u){var L=u.dateTime,o=u.date,C=u.time,B=u.periods,Y=u.days,Te=u.shortDays,tt=u.months,Wt=u.shortMonths,Gt=dc(B),ci=Ul(B),_i=dc(Y),wi=Ul(Y),Ii=dc(Te),an=Ul(Te),Sn=dc(tt),Pi=Ul(tt),gn=dc(Wt),On=Ul(Wt),pn={a:function Ca(_n){return Te[_n.getDay()]},A:function jo(_n){return Y[_n.getDay()]},b:function Ur(_n){return Wt[_n.getMonth()]},B:function Qa(_n){return tt[_n.getMonth()]},c:null,d:P1,e:P1,f:tu,g:hc,G:Bd,H:kc,I:R1,j:l0,L:d0,m:h0,M:u0,p:function ma(_n){return B[+(_n.getHours()>=12)]},q:function qa(_n){return 1+~~(_n.getMonth()/3)},Q:Zd,s:fc,S:f0,u:m0,U:iu,V:p0,w:Vd,W:hs,x:null,X:null,y:Wl,Y:N1,Z:Yl,"%":H1},Yn={a:function _d(_n){return Te[_n.getUTCDay()]},A:function vd(_n){return Y[_n.getUTCDay()]},b:function bd(_n){return Wt[_n.getUTCMonth()]},B:function u1(_n){return tt[_n.getUTCMonth()]},c:null,d:g0,e:g0,f:v0,g:S0,G:Wo,H:_0,I:Ud,j:ru,L:qs,m:au,M:b0,p:function Oo(_n){return B[+(_n.getUTCHours()>=12)]},q:function yc(_n){return 1+~~(_n.getUTCMonth()/3)},Q:Zd,s:fc,S:Gd,u:l3,U:y0,V:C0,w:ou,W:w0,x:null,X:null,y:M0,Y:il,Z:uc,"%":H1},Vn={a:function aa(_n,ir,xr){var nn=Ii.exec(ir.slice(xr));return nn?(_n.w=an.get(nn[0].toLowerCase()),xr+nn[0].length):-1},A:function Mn(_n,ir,xr){var nn=_i.exec(ir.slice(xr));return nn?(_n.w=wi.get(nn[0].toLowerCase()),xr+nn[0].length):-1},b:function Kr(_n,ir,xr){var nn=gn.exec(ir.slice(xr));return nn?(_n.m=On.get(nn[0].toLowerCase()),xr+nn[0].length):-1},B:function $n(_n,ir,xr){var nn=Sn.exec(ir.slice(xr));return nn?(_n.m=Pi.get(nn[0].toLowerCase()),xr+nn[0].length):-1},c:function ea(_n,ir,xr){return yr(_n,L,ir,xr)},d:ds,e:ds,f:tl,g:Gl,G:I1,H:Zl,I:Zl,j:el,L:s0,m:O1,M:Xh,p:function ts(_n,ir,xr){var nn=Gt.exec(ir.slice(xr));return nn?(_n.p=ci.get(nn[0].toLowerCase()),xr+nn[0].length):-1},q:k1,Q:c0,s:eu,S:Jh,u:zd,U:a0,V:Ic,w:Fd,W:o0,x:function ps(_n,ir,xr){return yr(_n,o,ir,xr)},X:function xa(_n,ir,xr){return yr(_n,C,ir,xr)},y:Gl,Y:I1,Z:qh,"%":$h};function wn(_n,ir){return function(xr){var is,Zn,ka,nn=[],Ia=-1,Gr=0,Ko=_n.length;for(xr instanceof Date||(xr=new Date(+xr));++Ia<Ko;)37===_n.charCodeAt(Ia)&&(nn.push(_n.slice(Gr,Ia)),null!=(Zn=L1[is=_n.charAt(++Ia)])?is=_n.charAt(++Ia):Zn="e"===is?" ":"0",(ka=ir[is])&&(is=ka(xr,Zn)),nn.push(is),Gr=Ia+1);return nn.push(_n.slice(Gr,Ia)),nn.join("")}}function Br(_n,ir){return function(xr){var Gr,Ko,nn=Lc(1900,void 0,1);if(yr(nn,_n,xr+="",0)!=xr.length)return null;if("Q"in nn)return new Date(nn.Q);if("s"in nn)return new Date(1e3*nn.s+("L"in nn?nn.L:0));if(ir&&!("Z"in nn)&&(nn.Z=0),"p"in nn&&(nn.H=nn.H%12+12*nn.p),void 0===nn.m&&(nn.m="q"in nn?nn.q:0),"V"in nn){if(nn.V<1||nn.V>53)return null;"w"in nn||(nn.w=1),"Z"in nn?(Ko=(Gr=D1(Lc(nn.y,0,1))).getUTCDay(),Gr=Ko>4||0===Ko?sc.ceil(Gr):sc(Gr),Gr=$2.offset(Gr,7*(nn.V-1)),nn.y=Gr.getUTCFullYear(),nn.m=Gr.getUTCMonth(),nn.d=Gr.getUTCDate()+(nn.w+6)%7):(Ko=(Gr=lc(Lc(nn.y,0,1))).getDay(),Gr=Ko>4||0===Ko?ys.ceil(Gr):ys(Gr),Gr=n0.offset(Gr,7*(nn.V-1)),nn.y=Gr.getFullYear(),nn.m=Gr.getMonth(),nn.d=Gr.getDate()+(nn.w+6)%7)}else("W"in nn||"U"in nn)&&("w"in nn||(nn.w="u"in nn?nn.u%7:"W"in nn?1:0),Ko="Z"in nn?D1(Lc(nn.y,0,1)).getUTCDay():lc(Lc(nn.y,0,1)).getDay(),nn.m=0,nn.d="W"in nn?(nn.w+6)%7+7*nn.W-(Ko+5)%7:nn.w+7*nn.U-(Ko+6)%7);return"Z"in nn?(nn.H+=nn.Z/100|0,nn.M+=nn.Z%100,D1(nn)):lc(nn)}}function yr(_n,ir,xr,nn){for(var is,Zn,Ia=0,Gr=ir.length,Ko=xr.length;Ia<Gr;){if(nn>=Ko)return-1;if(37===(is=ir.charCodeAt(Ia++))){if(is=ir.charAt(Ia++),!(Zn=Vn[is in L1?ir.charAt(Ia++):is])||(nn=Zn(_n,xr,nn))<0)return-1}else if(is!=xr.charCodeAt(nn++))return-1}return nn}return pn.x=wn(o,pn),pn.X=wn(C,pn),pn.c=wn(L,pn),Yn.x=wn(o,Yn),Yn.X=wn(C,Yn),Yn.c=wn(L,Yn),{format:function(_n){var ir=wn(_n+="",pn);return ir.toString=function(){return _n},ir},parse:function(_n){var ir=Br(_n+="",!1);return ir.toString=function(){return _n},ir},utcFormat:function(_n){var ir=wn(_n+="",Yn);return ir.toString=function(){return _n},ir},utcParse:function(_n){var ir=Br(_n+="",!0);return ir.toString=function(){return _n},ir}}})(u)}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});const lu=Uo(Bo).right,du=(Uo(T0),lu);function hu(u,L){return u=+u,L=+L,function(o){return Math.round(u*(1-o)+L*o)}}function u3(u){return+u}var uu=[0,1];function nl(u){return u}function ho(u,L){return(L-=u=+u)?function(o){return(o-u)/L}:function Yd(u){return function(){return u}}(isNaN(L)?NaN:.5)}function mu(u,L,o){var C=u[0],B=u[1],Y=L[0],Te=L[1];return B<C?(C=ho(B,C),Y=o(Te,Y)):(C=ho(C,B),Y=o(Y,Te)),function(tt){return Y(C(tt))}}function jl(u,L,o){var C=Math.min(u.length,L.length)-1,B=new Array(C),Y=new Array(C),Te=-1;for(u[C]<u[0]&&(u=u.slice().reverse(),L=L.slice().reverse());++Te<C;)B[Te]=ho(u[Te],u[Te+1]),Y[Te]=o(L[Te],L[Te+1]);return function(tt){var Wt=du(u,tt,1,C)-1;return Y[Wt](B[Wt](tt))}}function Kd(){return function jd(){var C,B,Y,tt,Wt,Gt,u=uu,L=uu,o=Zi,Te=nl;function ci(){var wi=Math.min(u.length,L.length);return Te!==nl&&(Te=function fu(u,L){var o;return u>L&&(o=u,u=L,L=o),function(C){return Math.max(u,Math.min(L,C))}}(u[0],u[wi-1])),tt=wi>2?jl:mu,Wt=Gt=null,_i}function _i(wi){return null==wi||isNaN(wi=+wi)?Y:(Wt||(Wt=tt(u.map(C),L,o)))(C(Te(wi)))}return _i.invert=function(wi){return Te(B((Gt||(Gt=tt(L,u.map(C),Wr)))(wi)))},_i.domain=function(wi){return arguments.length?(u=Array.from(wi,u3),ci()):u.slice()},_i.range=function(wi){return arguments.length?(L=Array.from(wi),ci()):L.slice()},_i.rangeRound=function(wi){return L=Array.from(wi),o=hu,ci()},_i.clamp=function(wi){return arguments.length?(Te=!!wi||nl,ci()):Te!==nl},_i.interpolate=function(wi){return arguments.length?(o=wi,ci()):o},_i.unknown=function(wi){return arguments.length?(Y=wi,_i):Y},function(wi,Ii){return C=wi,B=Ii,ci()}}()(nl,nl)}function al(u,L){switch(arguments.length){case 0:break;case 1:this.range(u);break;default:this.range(L).domain(u)}return this}var qd,B1=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function U1(u){if(!(L=B1.exec(u)))throw new Error("invalid format: "+u);var L;return new Qd({fill:L[1],align:L[2],sign:L[3],symbol:L[4],zero:L[5],width:L[6],comma:L[7],precision:L[8]&&L[8].slice(1),trim:L[9],type:L[10]})}function Qd(u){this.fill=void 0===u.fill?" ":u.fill+"",this.align=void 0===u.align?">":u.align+"",this.sign=void 0===u.sign?"-":u.sign+"",this.symbol=void 0===u.symbol?"":u.symbol+"",this.zero=!!u.zero,this.width=void 0===u.width?void 0:+u.width,this.comma=!!u.comma,this.precision=void 0===u.precision?void 0:+u.precision,this.trim=!!u.trim,this.type=void 0===u.type?"":u.type+""}function ol(u,L){if((o=(u=L?u.toExponential(L-1):u.toExponential()).indexOf("e"))<0)return null;var o,C=u.slice(0,o);return[C.length>1?C[0]+C.slice(2):C,+u.slice(o+1)]}function mc(u){return(u=ol(Math.abs(u)))?u[1]:NaN}function Do(u,L){var o=ol(u,L);if(!o)return u+"";var C=o[0],B=o[1];return B<0?"0."+new Array(-B).join("0")+C:C.length>B+1?C.slice(0,B+1)+"."+C.slice(B+1):C+new Array(B-C.length+2).join("0")}U1.prototype=Qd.prototype,Qd.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 Z1={"%":(u,L)=>(100*u).toFixed(L),b:u=>Math.round(u).toString(2),c:u=>u+"",d:function gu(u){return Math.abs(u=Math.round(u))>=1e21?u.toLocaleString("en").replace(/,/g,""):u.toString(10)},e:(u,L)=>u.toExponential(L),f:(u,L)=>u.toFixed(L),g:(u,L)=>u.toPrecision(L),o:u=>Math.round(u).toString(8),p:(u,L)=>Do(100*u,L),r:Do,s:function bu(u,L){var o=ol(u,L);if(!o)return u+"";var C=o[0],B=o[1],Y=B-(qd=3*Math.max(-8,Math.min(8,Math.floor(B/3))))+1,Te=C.length;return Y===Te?C:Y>Te?C+new Array(Y-Te+1).join("0"):Y>0?C.slice(0,Y)+"."+C.slice(Y):"0."+new Array(1-Y).join("0")+ol(u,Math.max(0,L+Y-1))[0]},X:u=>Math.round(u).toString(16).toUpperCase(),x:u=>Math.round(u).toString(16)};function Ql(u){return u}var Y1,Xd,Js,W1=Array.prototype.map,Ha=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function O0(u){var L=u.domain;return u.ticks=function(o){var C=L();return function z2(u,L,o){if(!((o=+o)>0))return[];if((u=+u)==(L=+L))return[u];const C=L<u,[B,Y,Te]=C?Or(L,u,o):Or(u,L,o);if(!(Y>=B))return[];const tt=Y-B+1,Wt=new Array(tt);if(C)if(Te<0)for(let Gt=0;Gt<tt;++Gt)Wt[Gt]=(Y-Gt)/-Te;else for(let Gt=0;Gt<tt;++Gt)Wt[Gt]=(Y-Gt)*Te;else if(Te<0)for(let Gt=0;Gt<tt;++Gt)Wt[Gt]=(B+Gt)/-Te;else for(let Gt=0;Gt<tt;++Gt)Wt[Gt]=(B+Gt)*Te;return Wt}(C[0],C[C.length-1],o??10)},u.tickFormat=function(o,C){var B=L();return function xu(u,L,o,C){var Y,B=_1(u,L,o);switch((C=U1(C??",f")).type){case"s":var Te=Math.max(Math.abs(u),Math.abs(L));return null==C.precision&&!isNaN(Y=function G1(u,L){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(mc(L)/3)))-mc(Math.abs(u)))}(B,Te))&&(C.precision=Y),Js(C,Te);case"":case"e":case"g":case"p":case"r":null==C.precision&&!isNaN(Y=function yu(u,L){return u=Math.abs(u),L=Math.abs(L)-u,Math.max(0,mc(L)-mc(u))+1}(B,Math.max(Math.abs(u),Math.abs(L))))&&(C.precision=Y-("e"===C.type));break;case"f":case"%":null==C.precision&&!isNaN(Y=function Jd(u){return Math.max(0,-mc(Math.abs(u)))}(B))&&(C.precision=Y-2*("%"===C.type))}return Xd(C)}(B[0],B[B.length-1],o??10,C)},u.nice=function(o){null==o&&(o=10);var Wt,Gt,C=L(),B=0,Y=C.length-1,Te=C[B],tt=C[Y],ci=10;for(tt<Te&&(Gt=Te,Te=tt,tt=Gt,Gt=B,B=Y,Y=Gt);ci-- >0;){if((Gt=Sd(Te,tt,o))===Wt)return C[B]=Te,C[Y]=tt,L(C);if(Gt>0)Te=Math.floor(Te/Gt)*Gt,tt=Math.ceil(tt/Gt)*Gt;else{if(!(Gt<0))break;Te=Math.ceil(Te*Gt)/Gt,tt=Math.floor(tt*Gt)/Gt}Wt=Gt}return u},u}function pc(){var u=Kd();return u.copy=function(){return function rl(u,L){return L.domain(u.domain()).range(u.range()).interpolate(u.interpolate()).clamp(u.clamp()).unknown(u.unknown())}(u,pc())},al.apply(u,arguments),O0(u)}function P0(u,L,o){u=+u,L=+L,o=(B=arguments.length)<2?(L=u,u=0,1):B<3?1:+o;for(var C=-1,B=0|Math.max(0,Math.ceil((L-u)/o)),Y=new Array(B);++C<B;)Y[C]=u+C*o;return Y}!function k0(u){Y1=function Yo(u){var L=void 0===u.grouping||void 0===u.thousands?Ql:function _u(u,L){return function(o,C){for(var B=o.length,Y=[],Te=0,tt=u[0],Wt=0;B>0&&tt>0&&(Wt+tt+1>C&&(tt=Math.max(1,C-Wt)),Y.push(o.substring(B-=tt,B+tt)),!((Wt+=tt+1)>C));)tt=u[Te=(Te+1)%u.length];return Y.reverse().join(L)}}(W1.call(u.grouping,Number),u.thousands+""),o=void 0===u.currency?"":u.currency[0]+"",C=void 0===u.currency?"":u.currency[1]+"",B=void 0===u.decimal?".":u.decimal+"",Y=void 0===u.numerals?Ql:function vu(u){return function(L){return L.replace(/[0-9]/g,function(o){return u[+o]})}}(W1.call(u.numerals,String)),Te=void 0===u.percent?"%":u.percent+"",tt=void 0===u.minus?"\u2212":u.minus+"",Wt=void 0===u.nan?"NaN":u.nan+"";function Gt(_i){var wi=(_i=U1(_i)).fill,Ii=_i.align,an=_i.sign,Sn=_i.symbol,Pi=_i.zero,gn=_i.width,On=_i.comma,pn=_i.precision,Yn=_i.trim,Vn=_i.type;"n"===Vn?(On=!0,Vn="g"):Z1[Vn]||(void 0===pn&&(pn=12),Yn=!0,Vn="g"),(Pi||"0"===wi&&"="===Ii)&&(Pi=!0,wi="0",Ii="=");var wn="$"===Sn?o:"#"===Sn&&/[boxX]/.test(Vn)?"0"+Vn.toLowerCase():"",Br="$"===Sn?C:/[%p]/.test(Vn)?Te:"",yr=Z1[Vn],ts=/[defgprs%]/.test(Vn);function aa(Mn){var ea,ps,xa,Kr=wn,$n=Br;if("c"===Vn)$n=yr(Mn)+$n,Mn="";else{var Ca=(Mn=+Mn)<0||1/Mn<0;if(Mn=isNaN(Mn)?Wt:yr(Math.abs(Mn),pn),Yn&&(Mn=function I0(u){e:for(var B,L=u.length,o=1,C=-1;o<L;++o)switch(u[o]){case".":C=B=o;break;case"0":0===C&&(C=o),B=o;break;default:if(!+u[o])break e;C>0&&(C=0)}return C>0?u.slice(0,C)+u.slice(B+1):u}(Mn)),Ca&&0==+Mn&&"+"!==an&&(Ca=!1),Kr=(Ca?"("===an?an:tt:"-"===an||"("===an?"":an)+Kr,$n=("s"===Vn?Ha[8+qd/3]:"")+$n+(Ca&&"("===an?")":""),ts)for(ea=-1,ps=Mn.length;++ea<ps;)if(48>(xa=Mn.charCodeAt(ea))||xa>57){$n=(46===xa?B+Mn.slice(ea+1):Mn.slice(ea))+$n,Mn=Mn.slice(0,ea);break}}On&&!Pi&&(Mn=L(Mn,1/0));var jo=Kr.length+Mn.length+$n.length,Ur=jo<gn?new Array(gn-jo+1).join(wi):"";switch(On&&Pi&&(Mn=L(Ur+Mn,Ur.length?gn-$n.length:1/0),Ur=""),Ii){case"<":Mn=Kr+Mn+$n+Ur;break;case"=":Mn=Kr+Ur+Mn+$n;break;case"^":Mn=Ur.slice(0,jo=Ur.length>>1)+Kr+Mn+$n+Ur.slice(jo);break;default:Mn=Ur+Kr+Mn+$n}return Y(Mn)}return pn=void 0===pn?6:/[gprs]/.test(Vn)?Math.max(1,Math.min(21,pn)):Math.max(0,Math.min(20,pn)),aa.toString=function(){return _i+""},aa}return{format:Gt,formatPrefix:function ci(_i,wi){var Ii=Gt(((_i=U1(_i)).type="f",_i)),an=3*Math.max(-8,Math.min(8,Math.floor(mc(wi)/3))),Sn=Math.pow(10,-an),Pi=Ha[8+an/3];return function(gn){return Ii(Sn*gn)+Pi}}}}(u),Xd=Y1.format,Js=Y1.formatPrefix}({thousands:",",grouping:[3],currency:["$",""]});class j1 extends Map{constructor(L,o=H0){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:o}}),null!=L)for(const[C,B]of L)this.set(C,B)}get(L){return super.get(sl(this,L))}has(L){return super.has(sl(this,L))}set(L,o){return super.set(function cl({_intern:u,_key:L},o){const C=L(o);return u.has(C)?u.get(C):(u.set(C,o),o)}(this,L),o)}delete(L){return super.delete(function N0({_intern:u,_key:L},o){const C=L(o);return u.has(C)&&(o=u.get(C),u.delete(C)),o}(this,L))}}function sl({_intern:u,_key:L},o){const C=L(o);return u.has(C)?u.get(C):o}function H0(u){return null!==u&&"object"==typeof u?u.valueOf():u}const K1=Symbol("implicit");function Q1(){var u=new j1,L=[],o=[],C=K1;function B(Y){let Te=u.get(Y);if(void 0===Te){if(C!==K1)return C;u.set(Y,Te=L.push(Y)-1)}return o[Te%o.length]}return B.domain=function(Y){if(!arguments.length)return L.slice();L=[],u=new j1;for(const Te of Y)u.has(Te)||u.set(Te,L.push(Te)-1);return B},B.range=function(Y){return arguments.length?(o=Array.from(Y),B):o.slice()},B.unknown=function(Y){return arguments.length?(C=Y,B):C},B.copy=function(){return Q1(L,o).unknown(C)},al.apply(B,arguments),B}function gc(){var Y,Te,u=Q1().unknown(void 0),L=u.domain,o=u.range,C=0,B=1,tt=!1,Wt=0,Gt=0,ci=.5;function _i(){var wi=L().length,Ii=B<C,an=Ii?B:C,Sn=Ii?C:B;Y=(Sn-an)/Math.max(1,wi-Wt+2*Gt),tt&&(Y=Math.floor(Y)),an+=(Sn-an-Y*(wi-Wt))*ci,Te=Y*(1-Wt),tt&&(an=Math.round(an),Te=Math.round(Te));var Pi=P0(wi).map(function(gn){return an+Y*gn});return o(Ii?Pi.reverse():Pi)}return delete u.unknown,u.domain=function(wi){return arguments.length?(L(wi),_i()):L()},u.range=function(wi){return arguments.length?([C,B]=wi,C=+C,B=+B,_i()):[C,B]},u.rangeRound=function(wi){return[C,B]=wi,C=+C,B=+B,tt=!0,_i()},u.bandwidth=function(){return Te},u.step=function(){return Y},u.round=function(wi){return arguments.length?(tt=!!wi,_i()):tt},u.padding=function(wi){return arguments.length?(Wt=Math.min(1,Gt=+wi),_i()):Wt},u.paddingInner=function(wi){return arguments.length?(Wt=Math.min(1,wi),_i()):Wt},u.paddingOuter=function(wi){return arguments.length?(Gt=+wi,_i()):Gt},u.align=function(wi){return arguments.length?(ci=Math.max(0,Math.min(1,wi)),_i()):ci},u.copy=function(){return gc(L(),[C,B]).round(tt).paddingInner(Wt).paddingOuter(Gt).align(ci)},al.apply(_i(),arguments)}function $d(u,L,o=T0){if((C=u.length)&&!isNaN(L=+L)){if(L<=0||C<2)return+o(u[0],0,u);if(L>=1)return+o(u[C-1],C-1,u);var C,B=(C-1)*L,Y=Math.floor(B),Te=+o(u[Y],Y,u);return Te+(+o(u[Y+1],Y+1,u)-Te)*(B-Y)}}function q1(){var C,u=[],L=[],o=[];function B(){var Te=0,tt=Math.max(1,L.length);for(o=new Array(tt-1);++Te<tt;)o[Te-1]=$d(u,Te/tt);return Y}function Y(Te){return null==Te||isNaN(Te=+Te)?C:L[du(o,Te)]}return Y.invertExtent=function(Te){var tt=L.indexOf(Te);return tt<0?[NaN,NaN]:[tt>0?o[tt-1]:u[0],tt<o.length?o[tt]:u[u.length-1]]},Y.domain=function(Te){if(!arguments.length)return u.slice();u=[];for(let tt of Te)null!=tt&&!isNaN(tt=+tt)&&u.push(tt);return u.sort(Bo),B()},Y.range=function(Te){return arguments.length?(L=Array.from(Te),B()):L.slice()},Y.unknown=function(Te){return arguments.length?(C=Te,Y):C},Y.quantiles=function(){return o.slice()},Y.copy=function(){return q1().domain(u).range(L).unknown(C)},al.apply(Y,arguments)}var wu=p(2178);const Mu=["caretElm"];function Su(u,L){}const F0=u=>({model:u});function Eu(u,L){if(1&u&&(e.TgZ(0,"span"),e.YNc(1,Su,0,0,"ng-template",5),e.qZA()),2&u){const o=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",o.template)("ngTemplateOutletContext",e.VKq(2,F0,o.context))}}function z0(u,L){if(1&u&&e._UZ(0,"span",6),2&u){const o=e.oxw();e.Q6J("innerHTML",o.title,e.oJD)}}function Xl(u,L){if(1&u&&(e.TgZ(0,"header",4)(1,"span",5),e._uU(2),e.qZA()()),2&u){const o=e.oxw();e.xp6(2),e.Oqu(o.title)}}function Jl(u,L){if(1&u){const o=e.EpF();e.TgZ(0,"li",6)(1,"ngx-charts-legend-entry",7),e.NdJ("select",function(B){e.CHM(o);const Y=e.oxw();return e.KtG(Y.labelClick.emit(B))})("activate",function(B){e.CHM(o);const Y=e.oxw();return e.KtG(Y.activate(B))})("deactivate",function(B){e.CHM(o);const Y=e.oxw();return e.KtG(Y.deactivate(B))}),e.qZA()()}if(2&u){const o=L.$implicit,C=e.oxw();e.xp6(1),e.Q6J("label",o.label)("formattedLabel",o.formattedLabel)("color",o.color)("isActive",C.isActive(o))}}function t2(u,L){if(1&u&&(e.O4$(),e.kcU(),e._UZ(0,"ngx-charts-scale-legend",4)),2&u){const o=e.oxw();e.Q6J("horizontal",o.legendOptions&&o.legendOptions.position===o.LegendPosition.Below)("valueRange",o.legendOptions.domain)("colors",o.legendOptions.colors)("height",o.view[1])("width",o.legendWidth)}}function Tu(u,L){if(1&u){const o=e.EpF();e.O4$(),e.kcU(),e.TgZ(0,"ngx-charts-legend",5),e.NdJ("labelClick",function(B){e.CHM(o);const Y=e.oxw();return e.KtG(Y.legendLabelClick.emit(B))})("labelActivate",function(B){e.CHM(o);const Y=e.oxw();return e.KtG(Y.legendLabelActivate.emit(B))})("labelDeactivate",function(B){e.CHM(o);const Y=e.oxw();return e.KtG(Y.legendLabelDeactivate.emit(B))}),e.qZA()}if(2&u){const o=e.oxw();e.Q6J("horizontal",o.legendOptions&&o.legendOptions.position===o.LegendPosition.Below)("data",o.legendOptions.domain)("title",o.legendOptions.title)("colors",o.legendOptions.colors)("height",o.view[1])("width",o.legendWidth)("activeEntries",o.activeEntries)}}const V0=["*"],n2=["ngx-charts-axis-label",""],ll=["ticksel"],Pc=["ngx-charts-x-axis-ticks",""];function B0(u,L){1&u&&(e.O4$(),e.GkF(0))}function U0(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"tspan",10),e._uU(1),e.qZA()),2&u){const o=L.$implicit;e.uIk("y",12*L.index),e.xp6(1),e.hij(" ",o," ")}}function Au(u,L){if(1&u&&(e.O4$(),e.ynx(0),e.YNc(1,U0,2,2,"tspan",9),e.BQk()),2&u){const o=L.ngIf;e.xp6(1),e.Q6J("ngForOf",o)}}function f3(u,L){if(1&u&&(e.O4$(),e.YNc(0,Au,2,1,"ng-container",4)),2&u){const o=e.oxw(2).$implicit,C=e.oxw();e.Q6J("ngIf",C.tickChunks(o))}}function $l(u,L){if(1&u&&(e.O4$(),e._uU(0)),2&u){const o=e.oxw().ngIf,C=e.oxw(2);e.hij(" ",C.tickTrim(o)," ")}}function Du(u,L){if(1&u&&(e.O4$(),e.ynx(0),e.TgZ(1,"title"),e._uU(2),e.qZA(),e.TgZ(3,"text",5),e.YNc(4,B0,1,0,"ng-container",6),e.qZA(),e.YNc(5,f3,1,1,"ng-template",null,7,e.W1O)(7,$l,1,1,"ng-template",null,8,e.W1O),e.BQk()),2&u){const o=L.ngIf,C=e.MAs(6),B=e.MAs(8),Y=e.oxw(2);e.xp6(2),e.Oqu(o),e.xp6(1),e.uIk("text-anchor",Y.textAnchor)("transform",Y.textTransform),e.xp6(1),e.Q6J("ngIf",Y.isWrapTicksSupported)("ngIfThen",C)("ngIfElse",B)}}function G0(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g",3),e.YNc(1,Du,9,6,"ng-container",4),e.qZA()),2&u){const o=L.$implicit,C=e.oxw();e.uIk("transform",C.tickTransform(o)),e.xp6(1),e.Q6J("ngIf",C.tickFormat(o))}}function r2(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"line",11),e.qZA()),2&u){const o=e.oxw(2);e.uIk("transform",o.gridLineTransform()),e.xp6(1),e.uIk("y1",-o.gridLineHeight)}}function X1(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,r2,2,2,"g",4),e.qZA()),2&u){const o=L.$implicit,C=e.oxw();e.uIk("transform",C.tickTransform(o)),e.xp6(1),e.Q6J("ngIf",C.showGridLines)}}const J1=["ngx-charts-x-axis",""];function Z0(u,L){if(1&u){const o=e.EpF();e.O4$(),e.TgZ(0,"g",2),e.NdJ("dimensionsChanged",function(B){e.CHM(o);const Y=e.oxw();return e.KtG(Y.emitTicksHeight(B))}),e.qZA()}if(2&u){const o=e.oxw();e.Q6J("trimTicks",o.trimTicks)("rotateTicks",o.rotateTicks)("maxTickLength",o.maxTickLength)("tickFormatting",o.tickFormatting)("tickArguments",o.tickArguments)("tickStroke",o.tickStroke)("scale",o.xScale)("orient",o.xOrient)("showGridLines",o.showGridLines)("gridLineHeight",o.dims.height)("width",o.dims.width)("tickValues",o.ticks)("wrapTicks",o.wrapTicks)}}function e1(u,L){if(1&u&&(e.O4$(),e._UZ(0,"g",3)),2&u){const o=e.oxw();e.Q6J("label",o.labelText)("offset",o.labelOffset)("orient",o.orientation.Bottom)("height",o.dims.height)("width",o.dims.width)}}const t1=["ngx-charts-y-axis-ticks",""];function $1(u,L){1&u&&(e.O4$(),e.GkF(0))}function ed(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"tspan",12),e._uU(1),e.qZA()),2&u){const o=L.$implicit,C=L.index,B=e.oxw(6);e.uIk("y",C*(8+B.tickSpacing)),e.xp6(1),e.hij(" ",o," ")}}function n1(u,L){if(1&u&&(e.O4$(),e.ynx(0),e.YNc(1,ed,2,2,"tspan",11),e.BQk()),2&u){const o=e.oxw().ngIf;e.xp6(1),e.Q6J("ngForOf",o)}}function a2(u,L){if(1&u&&(e.O4$(),e.ynx(0),e.YNc(1,n1,2,1,"ng-container",10),e.BQk()),2&u){const o=L.ngIf;e.oxw(2);const C=e.MAs(8);e.xp6(1),e.Q6J("ngIf",o.length>1)("ngIfElse",C)}}function o2(u,L){if(1&u&&(e.O4$(),e.YNc(0,a2,2,2,"ng-container",5)),2&u){const o=e.oxw(2).$implicit,C=e.oxw();e.Q6J("ngIf",C.tickChunks(o))}}function dl(u,L){if(1&u&&(e.O4$(),e._uU(0)),2&u){const o=e.oxw().ngIf,C=e.oxw(2);e.hij(" ",C.tickTrim(o)," ")}}function Lu(u,L){if(1&u&&(e.O4$(),e.ynx(0),e.TgZ(1,"title"),e._uU(2),e.qZA(),e.TgZ(3,"text",6),e.YNc(4,$1,1,0,"ng-container",7),e.qZA(),e.YNc(5,o2,1,1,"ng-template",null,8,e.W1O)(7,dl,1,1,"ng-template",null,9,e.W1O),e.BQk()),2&u){const o=L.ngIf,C=e.MAs(6),B=e.MAs(8),Y=e.oxw(2);e.xp6(2),e.Oqu(o),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.Q6J("ngIf",Y.wrapTicks)("ngIfThen",C)("ngIfElse",B)}}function td(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g",4),e.YNc(1,Lu,9,10,"ng-container",5),e.qZA()),2&u){const o=L.$implicit,C=e.oxw();e.uIk("transform",C.transform(o)),e.xp6(1),e.Q6J("ngIf",C.tickFormat(o))}}function Iu(u,L){if(1&u&&(e.O4$(),e._UZ(0,"path",13)),2&u){const o=e.oxw();e.uIk("d",o.referenceAreaPath)("transform",o.gridLineTransform())}}function ku(u,L){if(1&u&&(e.O4$(),e._UZ(0,"line",15)),2&u){const o=e.oxw(3);e.uIk("x2",o.gridLineWidth)}}function Ou(u,L){if(1&u&&(e.O4$(),e._UZ(0,"line",15)),2&u){const o=e.oxw(3);e.uIk("x2",-o.gridLineWidth)}}function W0(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,ku,1,1,"line",14)(2,Ou,1,1,"line",14),e.qZA()),2&u){const o=e.oxw(2);e.uIk("transform",o.gridLineTransform()),e.xp6(1),e.Q6J("ngIf",o.orient===o.Orientation.Left),e.xp6(1),e.Q6J("ngIf",o.orient===o.Orientation.Right)}}function s2(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,W0,3,3,"g",5),e.qZA()),2&u){const o=L.$implicit,C=e.oxw();e.uIk("transform",C.transform(o)),e.xp6(1),e.Q6J("ngIf",C.showGridLines)}}function id(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g")(1,"title"),e._uU(2),e.qZA(),e.TgZ(3,"text",17),e._uU(4),e.qZA()()),2&u){const o=e.oxw(2).$implicit,C=e.oxw();e.xp6(2),e.Oqu(C.tickTrim(C.tickFormat(o.value))),e.xp6(1),e.uIk("dy",C.dy)("y",-6)("x",C.gridLineWidth)("text-anchor",C.textAnchor),e.xp6(1),e.hij(" ",o.name," ")}}function nd(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"line",16),e.YNc(2,id,5,6,"g",5),e.qZA()),2&u){const o=e.oxw().$implicit,C=e.oxw();e.uIk("transform",C.transform(o.value)),e.xp6(1),e.uIk("x2",C.gridLineWidth)("transform",C.gridLineTransform()),e.xp6(1),e.Q6J("ngIf",C.showRefLabels)}}function Vs(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,nd,3,4,"g",5),e.qZA()),2&u){const o=e.oxw();e.xp6(1),e.Q6J("ngIf",o.showRefLines)}}const Pu=["ngx-charts-y-axis",""];function R(u,L){if(1&u){const o=e.EpF();e.O4$(),e.TgZ(0,"g",2),e.NdJ("dimensionsChanged",function(B){e.CHM(o);const Y=e.oxw();return e.KtG(Y.emitTicksWidth(B))}),e.qZA()}if(2&u){const o=e.oxw();e.Q6J("trimTicks",o.trimTicks)("maxTickLength",o.maxTickLength)("tickFormatting",o.tickFormatting)("tickArguments",o.tickArguments)("tickValues",o.ticks)("tickStroke",o.tickStroke)("scale",o.yScale)("orient",o.yOrient)("showGridLines",o.showGridLines)("gridLineWidth",o.dims.width)("referenceLines",o.referenceLines)("showRefLines",o.showRefLines)("showRefLabels",o.showRefLabels)("height",o.dims.height)("wrapTicks",o.wrapTicks)}}function z(u,L){if(1&u&&(e.O4$(),e._UZ(0,"g",3)),2&u){const o=e.oxw();e.Q6J("label",o.labelText)("offset",o.labelOffset)("orient",o.yOrient)("height",o.dims.height)("width",o.dims.width)}}const b=["ngx-charts-svg-linear-gradient",""];function U(u,L){if(1&u&&(e.O4$(),e._UZ(0,"stop")),2&u){const o=L.$implicit;e.Udp("stop-color",o.color)("stop-opacity",o.opacity),e.uIk("offset",o.offset+"%")}}const ln=["ngx-charts-grid-panel",""],$i=["ngx-charts-grid-panel-series",""];function Hn(u,L){if(1&u&&(e.O4$(),e._UZ(0,"g",1)),2&u){const o=L.$implicit;e.ekj("grid-panel",!0)("odd","odd"===o.class)("even","even"===o.class),e.Q6J("height",o.height)("width",o.width)("x",o.x)("y",o.y)}}const r1=["tooltipTemplate"],fs=(u,L)=>[u,L],d2=".ngx-charts-outer{animation:chartFadeIn linear .6s}@keyframes chartFadeIn{0%{opacity:0}20%{opacity:0}to{opacity:1}}.ngx-charts{float:left;overflow:visible}.ngx-charts .circle,.ngx-charts .cell,.ngx-charts .bar,.ngx-charts .node,.ngx-charts .link,.ngx-charts .arc{cursor:pointer}.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover,.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .node.active,.ngx-charts .node:hover,.ngx-charts .link.active,.ngx-charts .link:hover,.ngx-charts .card.active,.ngx-charts .card:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .bar:focus,.ngx-charts .cell:focus,.ngx-charts .arc:focus,.ngx-charts .node:focus,.ngx-charts .link:focus,.ngx-charts .card:focus{outline:none}.ngx-charts .bar.hidden,.ngx-charts .cell.hidden,.ngx-charts .arc.hidden,.ngx-charts .node.hidden,.ngx-charts .link.hidden,.ngx-charts .card.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .line-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .polar-series-path.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .area-series.inactive{transition:opacity .1s ease-in-out;opacity:.2}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{stroke:#ddd;stroke-width:1;fill:none}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-width:1;stroke-dasharray:5;stroke-dashoffset:5}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill-opacity:.05;fill:#000}.ngx-charts .gridline-path-dotted{stroke:#ddd;stroke-width:1;fill:none;stroke-dasharray:1,20;stroke-dashoffset:3}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:#0000000d}\n",Dm=["ngx-charts-bar",""];function Lm(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"defs"),e._UZ(1,"g",2),e.qZA()),2&u){const o=e.oxw();e.xp6(1),e.Q6J("orientation",o.orientation)("name",o.gradientId)("stops",o.gradientStops)}}const Im=["ngx-charts-bar-label",""],Rm=["ngx-charts-series-vertical",""];function x3(u,L){if(1&u){const o=e.EpF();e.O4$(),e.TgZ(0,"g",2),e.NdJ("select",function(B){e.CHM(o);const Y=e.oxw(2);return e.KtG(Y.onClick(B))})("activate",function(B){e.CHM(o);const Y=e.oxw(2);return e.KtG(Y.activate.emit(B))})("deactivate",function(B){e.CHM(o);const Y=e.oxw(2);return e.KtG(Y.deactivate.emit(B))}),e.qZA()}if(2&u){const o=L.$implicit,C=e.oxw(2);e.Q6J("@animationState","active")("@.disabled",!C.animations)("width",o.width)("height",o.height)("x",o.x)("y",o.y)("fill",o.color)("stops",o.gradientStops)("data",o.data)("orientation",C.barOrientation.Vertical)("roundEdges",o.roundEdges)("gradient",C.gradient)("ariaLabel",o.ariaLabel)("isActive",C.isActive(o.data))("tooltipDisabled",C.tooltipDisabled)("tooltipPlacement",C.tooltipPlacement)("tooltipType",C.tooltipType)("tooltipTitle",C.tooltipTemplate?void 0:o.tooltipText)("tooltipTemplate",C.tooltipTemplate)("tooltipContext",o.data)("noBarWhenZero",C.noBarWhenZero)("animations",C.animations)}}function Bu(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,x3,1,22,"g",1),e.qZA()),2&u){const o=e.oxw();e.xp6(1),e.Q6J("ngForOf",o.bars)("ngForTrackBy",o.trackBy)}}function Uu(u,L){if(1&u){const o=e.EpF();e.O4$(),e.TgZ(0,"g",2),e.NdJ("select",function(B){e.CHM(o);const Y=e.oxw(2);return e.KtG(Y.onClick(B))})("activate",function(B){e.CHM(o);const Y=e.oxw(2);return e.KtG(Y.activate.emit(B))})("deactivate",function(B){e.CHM(o);const Y=e.oxw(2);return e.KtG(Y.deactivate.emit(B))}),e.qZA()}if(2&u){const o=L.$implicit,C=e.oxw(2);e.Q6J("width",o.width)("height",o.height)("x",o.x)("y",o.y)("fill",o.color)("stops",o.gradientStops)("data",o.data)("orientation",C.barOrientation.Vertical)("roundEdges",o.roundEdges)("gradient",C.gradient)("ariaLabel",o.ariaLabel)("isActive",C.isActive(o.data))("tooltipDisabled",C.tooltipDisabled)("tooltipPlacement",C.tooltipPlacement)("tooltipType",C.tooltipType)("tooltipTitle",C.tooltipTemplate?void 0:o.tooltipText)("tooltipTemplate",C.tooltipTemplate)("tooltipContext",o.data)("noBarWhenZero",C.noBarWhenZero)("animations",C.animations)}}function Nm(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,Uu,1,20,"g",1),e.qZA()),2&u){const o=e.oxw();e.xp6(1),e.Q6J("ngForOf",o.bars)("ngForTrackBy",o.trackBy)}}function Hm(u,L){if(1&u){const o=e.EpF();e.O4$(),e.TgZ(0,"g",4),e.NdJ("dimensionsChanged",function(B){const Te=e.CHM(o).index,tt=e.oxw(2);return e.KtG(tt.dataLabelHeightChanged.emit({size:B,index:Te}))}),e.qZA()}if(2&u){const o=L.$implicit,C=e.oxw(2);e.Q6J("barX",o.x)("barY",o.y)("barWidth",o.width)("barHeight",o.height)("value",o.total)("valueFormatting",C.dataLabelFormatting)("orientation",C.barOrientation.Vertical)}}function Fm(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,Hm,1,7,"g",3),e.qZA()),2&u){const o=e.oxw();e.xp6(1),e.Q6J("ngForOf",o.barsForDataLabels)("ngForTrackBy",o.trackDataLabelBy)}}function zm(u,L){if(1&u){const o=e.EpF();e.O4$(),e.TgZ(0,"g",5),e.NdJ("dimensionsChanged",function(B){e.CHM(o);const Y=e.oxw();return e.KtG(Y.updateXAxisHeight(B))}),e.qZA()}if(2&u){const o=e.oxw();e.Q6J("xScale",o.xScale)("dims",o.dims)("showGridLines",o.showGridLines)("showLabel",o.showXAxisLabel)("labelText",o.xAxisLabel)("trimTicks",o.trimXAxisTicks)("rotateTicks",o.rotateXAxisTicks)("maxTickLength",o.maxXAxisTickLength)("tickFormatting",o.xAxisTickFormatting)("ticks",o.xAxisTicks)("xAxisOffset",o.dataLabelMaxHeight.negative)("wrapTicks",o.wrapTicks)}}function X0(u,L){if(1&u){const o=e.EpF();e.O4$(),e.TgZ(0,"g",6),e.NdJ("dimensionsChanged",function(B){e.CHM(o);const Y=e.oxw();return e.KtG(Y.updateYAxisWidth(B))}),e.qZA()}if(2&u){const o=e.oxw();e.Q6J("yScale",o.yScale)("dims",o.dims)("showGridLines",o.showGridLines)("showLabel",o.showYAxisLabel)("labelText",o.yAxisLabel)("trimTicks",o.trimYAxisTicks)("maxTickLength",o.maxYAxisTickLength)("tickFormatting",o.yAxisTickFormatting)("ticks",o.yAxisTicks)("wrapTicks",o.wrapTicks)}}function Gu(u,L){if(1&u){const o=e.EpF();e.O4$(),e.TgZ(0,"g",6),e.NdJ("dimensionsChanged",function(B){e.CHM(o);const Y=e.oxw();return e.KtG(Y.updateXAxisHeight(B))}),e.qZA()}if(2&u){const o=e.oxw();e.Q6J("xScale",o.groupScale)("dims",o.dims)("showLabel",o.showXAxisLabel)("labelText",o.xAxisLabel)("trimTicks",o.trimXAxisTicks)("rotateTicks",o.rotateXAxisTicks)("maxTickLength",o.maxXAxisTickLength)("tickFormatting",o.xAxisTickFormatting)("ticks",o.xAxisTicks)("xAxisOffset",o.dataLabelMaxHeight.negative)("wrapTicks",o.wrapTicks)}}function Vm(u,L){if(1&u){const o=e.EpF();e.O4$(),e.TgZ(0,"g",7),e.NdJ("dimensionsChanged",function(B){e.CHM(o);const Y=e.oxw();return e.KtG(Y.updateYAxisWidth(B))}),e.qZA()}if(2&u){const o=e.oxw();e.Q6J("yScale",o.valueScale)("dims",o.dims)("showGridLines",o.showGridLines)("showLabel",o.showYAxisLabel)("labelText",o.yAxisLabel)("trimTicks",o.trimYAxisTicks)("maxTickLength",o.maxYAxisTickLength)("tickFormatting",o.yAxisTickFormatting)("ticks",o.yAxisTicks)("wrapTicks",o.wrapTicks)}}function C3(u,L){if(1&u){const o=e.EpF();e.O4$(),e.TgZ(0,"g",9),e.NdJ("select",function(B){const Te=e.CHM(o).$implicit,tt=e.oxw(2);return e.KtG(tt.onClick(B,Te))})("activate",function(B){const Te=e.CHM(o).$implicit,tt=e.oxw(2);return e.KtG(tt.onActivate(B,Te))})("deactivate",function(B){const Te=e.CHM(o).$implicit,tt=e.oxw(2);return e.KtG(tt.onDeactivate(B,Te))})("dataLabelHeightChanged",function(B){const Te=e.CHM(o).index,tt=e.oxw(2);return e.KtG(tt.onDataLabelMaxHeightChanged(B,Te))}),e.qZA()}if(2&u){const o=L.$implicit,C=e.oxw(2);e.Q6J("@animationState","active")("activeEntries",C.activeEntries)("xScale",C.innerScale)("yScale",C.valueScale)("colors",C.colors)("series",o.series)("dims",C.dims)("gradient",C.gradient)("tooltipDisabled",C.tooltipDisabled)("tooltipTemplate",C.tooltipTemplate)("showDataLabel",C.showDataLabel)("dataLabelFormatting",C.dataLabelFormatting)("seriesName",o.name)("roundEdges",C.roundEdges)("animations",C.animations)("noBarWhenZero",C.noBarWhenZero),e.uIk("transform",C.groupTransform(o))}}function Zu(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,C3,1,17,"g",8),e.qZA()),2&u){const o=e.oxw();e.xp6(1),e.Q6J("ngForOf",o.results)("ngForTrackBy",o.trackBy)}}function J0(u,L){if(1&u){const o=e.EpF();e.O4$(),e.TgZ(0,"g",9),e.NdJ("select",function(B){const Te=e.CHM(o).$implicit,tt=e.oxw(2);return e.KtG(tt.onClick(B,Te))})("activate",function(B){const Te=e.CHM(o).$implicit,tt=e.oxw(2);return e.KtG(tt.onActivate(B,Te))})("deactivate",function(B){const Te=e.CHM(o).$implicit,tt=e.oxw(2);return e.KtG(tt.onDeactivate(B,Te))})("dataLabelHeightChanged",function(B){const Te=e.CHM(o).index,tt=e.oxw(2);return e.KtG(tt.onDataLabelMaxHeightChanged(B,Te))}),e.qZA()}if(2&u){const o=L.$implicit,C=e.oxw(2);e.Q6J("activeEntries",C.activeEntries)("xScale",C.innerScale)("yScale",C.valueScale)("colors",C.colors)("series",o.series)("dims",C.dims)("gradient",C.gradient)("tooltipDisabled",C.tooltipDisabled)("tooltipTemplate",C.tooltipTemplate)("showDataLabel",C.showDataLabel)("dataLabelFormatting",C.dataLabelFormatting)("seriesName",o.name)("roundEdges",C.roundEdges)("animations",C.animations)("noBarWhenZero",C.noBarWhenZero),e.uIk("transform",C.groupTransform(o))}}function Bm(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,J0,1,16,"g",8),e.qZA()),2&u){const o=e.oxw();e.xp6(1),e.Q6J("ngForOf",o.results)("ngForTrackBy",o.trackBy)}}function qu(u,L,o){o=o||{};let C,B,Y,Te=null,tt=0;function Wt(){tt=!1===o.leading?0:+new Date,Te=null,Y=u.apply(C,B)}return function(){const Gt=+new Date;!tt&&!1===o.leading&&(tt=Gt);const ci=L-(Gt-tt);return C=this,B=arguments,ci<=0?(clearTimeout(Te),Te=null,tt=Gt,Y=u.apply(C,B)):!Te&&!1!==o.trailing&&(Te=setTimeout(Wt,ci)),Y}}function Mp(u,L){return function(C,B,Y){return{configurable:!0,enumerable:Y.enumerable,get:function(){return Object.defineProperty(this,B,{configurable:!0,enumerable:Y.enumerable,value:qu(Y.value,u,L)}),this[B]}}}}var hr=function(u){return u.Top="top",u.Bottom="bottom",u.Left="left",u.Right="right",u.Center="center",u}(hr||{});function j3(u,L,o){return o===hr.Top?u.top-7:o===hr.Bottom?u.top+u.height-L.height+7:o===hr.Center?u.top+u.height/2-L.height/2:void 0}function Xu(u,L,o){return o===hr.Left?u.left-7:o===hr.Right?u.left+u.width-L.width+7:o===hr.Center?u.left+u.width/2-L.width/2:void 0}class Fa{static calculateVerticalAlignment(L,o,C){let B=j3(L,o,C);return B+o.height>window.innerHeight&&(B=window.innerHeight-o.height),B}static calculateVerticalCaret(L,o,C,B){let Y;B===hr.Top&&(Y=L.height/2-C.height/2+7),B===hr.Bottom&&(Y=o.height-L.height/2-C.height/2-7),B===hr.Center&&(Y=o.height/2-C.height/2);const Te=j3(L,o,B);return Te+o.height>window.innerHeight&&(Y+=Te+o.height-window.innerHeight),Y}static calculateHorizontalAlignment(L,o,C){let B=Xu(L,o,C);return B+o.width>window.innerWidth&&(B=window.innerWidth-o.width),B}static calculateHorizontalCaret(L,o,C,B){let Y;B===hr.Left&&(Y=L.width/2-C.width/2+7),B===hr.Right&&(Y=o.width-L.width/2-C.width/2-7),B===hr.Center&&(Y=o.width/2-C.width/2);const Te=Xu(L,o,B);return Te+o.width>window.innerWidth&&(Y+=Te+o.width-window.innerWidth),Y}static shouldFlip(L,o,C,B){let Y=!1;return C===hr.Right&&L.left+L.width+o.width+B>window.innerWidth&&(Y=!0),C===hr.Left&&L.left-o.width-B<0&&(Y=!0),C===hr.Top&&L.top-o.height-B<0&&(Y=!0),C===hr.Bottom&&L.top+L.height+o.height+B>window.innerHeight&&(Y=!0),Y}static positionCaret(L,o,C,B,Y){let Te=0,tt=0;return L===hr.Right?(tt=-7,Te=Fa.calculateVerticalCaret(C,o,B,Y)):L===hr.Left?(tt=o.width,Te=Fa.calculateVerticalCaret(C,o,B,Y)):L===hr.Top?(Te=o.height,tt=Fa.calculateHorizontalCaret(C,o,B,Y)):L===hr.Bottom&&(Te=-7,tt=Fa.calculateHorizontalCaret(C,o,B,Y)),{top:Te,left:tt}}static positionContent(L,o,C,B,Y){let Te=0,tt=0;return L===hr.Right?(tt=C.left+C.width+B,Te=Fa.calculateVerticalAlignment(C,o,Y)):L===hr.Left?(tt=C.left-o.width-B,Te=Fa.calculateVerticalAlignment(C,o,Y)):L===hr.Top?(Te=C.top-o.height-B,tt=Fa.calculateHorizontalAlignment(C,o,Y)):L===hr.Bottom&&(Te=C.top+C.height+B,tt=Fa.calculateHorizontalAlignment(C,o,Y)),{top:Te,left:tt}}static determinePlacement(L,o,C,B){if(Fa.shouldFlip(C,o,L,B)){if(L===hr.Right)return hr.Left;if(L===hr.Left)return hr.Right;if(L===hr.Top)return hr.Bottom;if(L===hr.Bottom)return hr.Top}return L}}let Ju=(()=>{class u{constructor(o,C,B){this.element=o,this.renderer=C,this.platformId=B}get cssClasses(){let o="ngx-charts-tooltip-content";return o+=` position-${this.placement}`,o+=` type-${this.type}`,o+=` ${this.cssClass}`,o}ngAfterViewInit(){setTimeout(this.position.bind(this))}position(){if(!(0,t.NF)(this.platformId))return;const o=this.element.nativeElement,C=this.host.nativeElement.getBoundingClientRect();if(!C.height&&!C.width)return;const B=o.getBoundingClientRect();this.checkFlip(C,B),this.positionContent(o,C,B),this.showCaret&&this.positionCaret(C,B),setTimeout(()=>this.renderer.addClass(o,"animate"),1)}positionContent(o,C,B){const{top:Y,left:Te}=Fa.positionContent(this.placement,B,C,this.spacing,this.alignment);this.renderer.setStyle(o,"top",`${Y}px`),this.renderer.setStyle(o,"left",`${Te}px`)}positionCaret(o,C){const B=this.caretElm.nativeElement,Y=B.getBoundingClientRect(),{top:Te,left:tt}=Fa.positionCaret(this.placement,C,o,Y,this.alignment);this.renderer.setStyle(B,"top",`${Te}px`),this.renderer.setStyle(B,"left",`${tt}px`)}checkFlip(o,C){this.placement=Fa.determinePlacement(this.placement,C,o,this.spacing)}onWindowResize(){this.position()}}return u.\u0275fac=function(o){return new(o||u)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(e.Lbi))},u.\u0275cmp=e.Xpm({type:u,selectors:[["ngx-tooltip-content"]],viewQuery:function(o,C){if(1&o&&e.Gf(Mu,5),2&o){let B;e.iGM(B=e.CRH())&&(C.caretElm=B.first)}},hostVars:2,hostBindings:function(o,C){1&o&&e.NdJ("resize",function(){return C.onWindowResize()},!1,e.Jf7),2&o&&e.Tol(C.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(o,C){1&o&&(e.TgZ(0,"div"),e._UZ(1,"span",0,1),e.TgZ(3,"div",2),e.YNc(4,Eu,2,4,"span",3)(5,z0,1,1,"span",4),e.qZA()()),2&o&&(e.xp6(1),e.Gre("tooltip-caret position-",C.placement,""),e.Q6J("hidden",!C.showCaret),e.xp6(3),e.Q6J("ngIf",!C.title),e.xp6(1),e.Q6J("ngIf",C.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,y.gn)([Mp(100)],u.prototype,"onWindowResize",null),u})();class Sp{constructor(L){this.injectionService=L,this.defaults={},this.components=new Map}getByType(L=this.type){return this.components.get(L)}create(L){return this.createByType(this.type,L)}createByType(L,o){o=this.assignDefaults(o);const C=this.injectComponent(L,o);return this.register(L,C),C}destroy(L){const o=this.components.get(L.componentType);if(o&&o.length){const C=o.indexOf(L);C>-1&&(o[C].destroy(),o.splice(C,1))}}destroyAll(){this.destroyByType(this.type)}destroyByType(L){const o=this.components.get(L);if(o&&o.length){let C=o.length-1;for(;C>=0;)this.destroy(o[C--])}}injectComponent(L,o){return this.injectionService.appendComponent(L,o)}assignDefaults(L){const o={...this.defaults.inputs},C={...this.defaults.outputs};return!L.inputs&&!L.outputs&&(L={inputs:L}),o&&(L.inputs={...o,...L.inputs}),C&&(L.outputs={...C,...L.outputs}),L}register(L,o){this.components.has(L)||this.components.set(L,[]),this.components.get(L).push(o)}}let K3=(()=>{class u{constructor(o,C,B){this.applicationRef=o,this.componentFactoryResolver=C,this.injector=B}static setGlobalRootViewContainer(o){u.globalRootViewContainer=o}getRootViewContainer(){if(this._container)return this._container;if(u.globalRootViewContainer)return u.globalRootViewContainer;if(this.applicationRef.components.length)return this.applicationRef.components[0];throw new Error("View Container not found! ngUpgrade needs to manually set this via setRootViewContainer or setGlobalRootViewContainer.")}setRootViewContainer(o){this._container=o}getComponentRootNode(o){return function g2(u){return u.element}(o)?o.element.nativeElement:o.hostView&&o.hostView.rootNodes.length>0?o.hostView.rootNodes[0]:o.location.nativeElement}getRootViewContainerNode(o){return this.getComponentRootNode(o)}projectComponentBindings(o,C){if(C){if(void 0!==C.inputs){const B=Object.getOwnPropertyNames(C.inputs);for(const Y of B)o.instance[Y]=C.inputs[Y]}if(void 0!==C.outputs){const B=Object.getOwnPropertyNames(C.outputs);for(const Y of B)o.instance[Y]=C.outputs[Y]}}return o}appendComponent(o,C={},B){B||(B=this.getRootViewContainer());const Y=this.getComponentRootNode(B),Te=new A.u0(Y,this.componentFactoryResolver,this.applicationRef,this.injector),tt=new A.C5(o),Wt=Te.attach(tt);return this.projectComponentBindings(Wt,C),Wt}}return u.globalRootViewContainer=null,u.\u0275fac=function(o){return new(o||u)(e.LFG(e.z2F),e.LFG(e._Vd),e.LFG(e.zs3))},u.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac}),u})(),nh=(()=>{class u extends Sp{constructor(o){super(o),this.type=Ju}}return u.\u0275fac=function(o){return new(o||u)(e.LFG(K3))},u.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac}),u})();var Rc=function(u){return u.Right="right",u.Below="below",u}(Rc||{}),pl=function(u){return u.ScaleLegend="scaleLegend",u.Legend="legend",u}(pl||{}),Ln=function(u){return u.Time="time",u.Linear="linear",u.Ordinal="ordinal",u.Quantile="quantile",u}(Ln||{});let Ep=(()=>{class u{constructor(){this.horizontal=!1}ngOnChanges(o){const C=this.gradientString(this.colors.range(),this.colors.domain());this.gradient=`linear-gradient(to ${this.horizontal?"right":"bottom"}, ${C})`}gradientString(o,C){C.push(1);const B=[];return o.reverse().forEach((Y,Te)=>{B.push(`${Y} ${Math.round(100*C[Te])}%`)}),B.join(", ")}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=e.Xpm({type:u,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(o,C){1&o&&(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&o&&(e.Udp("height",C.horizontal?void 0:C.height,"px")("width",C.width,"px"),e.ekj("horizontal-legend",C.horizontal),e.xp6(3),e.Oqu(C.valueRange[1].toLocaleString()),e.xp6(1),e.Udp("background",C.gradient),e.xp6(3),e.Oqu(C.valueRange[0].toLocaleString()))},styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .scale-legend{text-align:center;display:flex;flex-direction:column}.chart-legend .scale-legend-wrap{display:inline-block;flex:1;width:30px;border-radius:5px;margin:0 auto}.chart-legend .scale-legend-label{font-size:12px}.chart-legend .horizontal-legend.scale-legend{flex-direction:row}.chart-legend .horizontal-legend .scale-legend-wrap{width:auto;height:30px;margin:0 16px}\n"],encapsulation:2,changeDetection:0}),u})();function cd(u){return u instanceof Date?u.toLocaleDateString():u.toLocaleString()}let $u=(()=>{class u{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})}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["ngx-charts-legend-entry"]],hostBindings:function(o,C){1&o&&e.NdJ("mouseenter",function(){return C.onMouseEnter()})("mouseleave",function(){return C.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(o,C){1&o&&(e.TgZ(0,"span",0),e.NdJ("click",function(){return C.select.emit(C.formattedLabel)}),e.TgZ(1,"span",1),e.NdJ("click",function(){return C.toggle.emit(C.formattedLabel)}),e.qZA(),e.TgZ(2,"span",2),e._uU(3),e.qZA()()),2&o&&(e.ekj("active",C.isActive),e.Q6J("title",C.formattedLabel),e.xp6(1),e.Udp("background-color",C.color),e.xp6(2),e.hij(" ",C.trimmedLabel," "))},encapsulation:2,changeDetection:0}),u})(),_2=(()=>{class u{constructor(o){this.cd=o,this.horizontal=!1,this.labelClick=new e.vpe,this.labelActivate=new e.vpe,this.labelDeactivate=new e.vpe,this.legendEntries=[]}ngOnChanges(o){this.update()}update(){this.cd.markForCheck(),this.legendEntries=this.getLegendEntries()}getLegendEntries(){const o=[];for(const C of this.data){const B=cd(C);-1===o.findIndex(Te=>Te.label===B)&&o.push({label:C,formattedLabel:B,color:this.colors.getColor(C)})}return o}isActive(o){return!!this.activeEntries&&void 0!==this.activeEntries.find(B=>o.label===B.name)}activate(o){this.labelActivate.emit(o)}deactivate(o){this.labelDeactivate.emit(o)}trackBy(o,C){return C.label}}return u.\u0275fac=function(o){return new(o||u)(e.Y36(e.sBO))},u.\u0275cmp=e.Xpm({type:u,selectors:[["ngx-charts-legend"]],inputs:{data:"data",title:"title",colors:"colors",height:"height",width:"width",activeEntries:"activeEntries",horizontal:"horizontal"},outputs:{labelClick:"labelClick",labelActivate:"labelActivate",labelDeactivate:"labelDeactivate"},features:[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(o,C){1&o&&(e.TgZ(0,"div"),e.YNc(1,Xl,3,1,"header",0),e.TgZ(2,"div",1)(3,"ul",2),e.YNc(4,Jl,2,4,"li",3),e.qZA()()()),2&o&&(e.Udp("width",C.width,"px"),e.xp6(1),e.Q6J("ngIf",(null==C.title?null:C.title.length)>0),e.xp6(2),e.Udp("max-height",C.height-45,"px"),e.ekj("horizontal-legend",C.horizontal),e.xp6(1),e.Q6J("ngForOf",C.legendEntries)("ngForTrackBy",C.trackBy))},dependencies:[$u,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}),u})(),v2=(()=>{class u{constructor(){this.showLegend=!1,this.animations=!0,this.legendLabelClick=new e.vpe,this.legendLabelActivate=new e.vpe,this.legendLabelDeactivate=new e.vpe,this.LegendPosition=Rc,this.LegendType=pl}ngOnChanges(o){this.update()}update(){let o=0;this.showLegend&&(this.legendType=this.getLegendType(),(!this.legendOptions||this.legendOptions.position===Rc.Right)&&(o=this.legendType===pl.ScaleLegend?1:2)),this.chartWidth=Math.floor(this.view[0]*(12-o)/12),this.legendWidth=this.legendOptions&&this.legendOptions.position!==Rc.Right?this.chartWidth:Math.floor(this.view[0]*o/12)}getLegendType(){return this.legendOptions.scaleType===Ln.Linear?pl.ScaleLegend:pl.Legend}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["ngx-charts-chart"]],inputs:{view:"view",showLegend:"showLegend",legendOptions:"legendOptions",legendType:"legendType",activeEntries:"activeEntries",animations:"animations"},outputs:{legendLabelClick:"legendLabelClick",legendLabelActivate:"legendLabelActivate",legendLabelDeactivate:"legendLabelDeactivate"},features:[e._Bn([nh]),e.TTD],ngContentSelectors:V0,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(o,C){1&o&&(e.F$t(),e.TgZ(0,"div",0),e.O4$(),e.TgZ(1,"svg",1),e.Hsn(2),e.qZA(),e.YNc(3,t2,1,5,"ngx-charts-scale-legend",2)(4,Tu,1,7,"ngx-charts-legend",3),e.qZA()),2&o&&(e.Udp("width",C.view[0],"px")("height",C.view[1],"px"),e.xp6(1),e.uIk("width",C.chartWidth)("height",C.view[1]),e.xp6(2),e.Q6J("ngIf",C.showLegend&&C.legendType===C.LegendType.ScaleLegend),e.xp6(1),e.Q6J("ngIf",C.showLegend&&C.legendType===C.LegendType.Legend))},dependencies:[Ep,_2,t.O5],encapsulation:2,changeDetection:0}),u})(),Nc=(()=>{class u{constructor(o,C){this.element=o,this.zone=C,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 o=()=>{if(!this.element)return;const{offsetHeight:C,offsetWidth:B}=this.element.nativeElement;C&&B?(clearTimeout(this.timeout),this.onVisibilityChange()):(clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>o(),100)}))};this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>o())})}}return u.\u0275fac=function(o){return new(o||u)(e.Y36(e.SBq),e.Y36(e.R0b))},u.\u0275dir=e.lG2({type:u,selectors:[["visibility-observer"]],outputs:{visible:"visible"}}),u})();function ef(u){return"[object Date]"===toString.call(u)}let tf=(()=>{class u{constructor(o,C,B,Y){this.chartElement=o,this.zone=C,this.cd=B,this.platformId=Y,this.scheme="cool",this.schemeType=Ln.Ordinal,this.animations=!0,this.select=new e.vpe}ngOnInit(){(0,t.PM)(this.platformId)&&(this.animations=!1)}ngAfterViewInit(){this.bindWindowResizeEvent(),this.visibilityObserver=new Nc(this.chartElement,this.zone),this.visibilityObserver.visible.subscribe(this.update.bind(this))}ngOnDestroy(){this.unbindEvents(),this.visibilityObserver&&(this.visibilityObserver.visible.unsubscribe(),this.visibilityObserver.destroy())}ngOnChanges(o){this.update()}update(){if(this.results=this.results?this.cloneData(this.results):[],this.view)this.width=this.view[0],this.height=this.view[1];else{const o=this.getContainerDims();o&&(this.width=o.width,this.height=o.height)}this.width||(this.width=600),this.height||(this.height=400),this.width=Math.floor(this.width),this.height=Math.floor(this.height),this.cd&&this.cd.markForCheck()}getContainerDims(){let o,C;const B=this.chartElement.nativeElement;if((0,t.NF)(this.platformId)&&null!==B.parentNode){const Y=B.parentNode.getBoundingClientRect();o=Y.width,C=Y.height}return o&&C?{width:o,height:C}:null}formatDates(){for(let o=0;o<this.results.length;o++){const C=this.results[o];if(C.label=C.name,ef(C.label)&&(C.label=C.label.toLocaleDateString()),C.series)for(let B=0;B<C.series.length;B++){const Y=C.series[B];Y.label=Y.name,ef(Y.label)&&(Y.label=Y.label.toLocaleDateString())}}}unbindEvents(){this.resizeSubscription&&this.resizeSubscription.unsubscribe()}bindWindowResizeEvent(){if(!(0,t.NF)(this.platformId))return;const C=(0,l.R)(window,"resize").pipe((0,M.b)(200)).subscribe(B=>{this.update(),this.cd&&this.cd.markForCheck()});this.resizeSubscription=C}cloneData(o){const C=[];for(const B of o){const Y={};if(void 0!==B.name&&(Y.name=B.name),void 0!==B.value&&(Y.value=B.value),void 0!==B.series){Y.series=[];for(const Te of B.series){const tt=Object.assign({},Te);Y.series.push(tt)}}void 0!==B.extra&&(Y.extra=JSON.parse(JSON.stringify(B.extra))),void 0!==B.source&&(Y.source=B.source),void 0!==B.target&&(Y.target=B.target),C.push(Y)}return C}}return u.\u0275fac=function(o){return new(o||u)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(e.Lbi))},u.\u0275cmp=e.Xpm({type:u,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(o,C){1&o&&e._UZ(0,"div")},encapsulation:2}),u})();var ko=function(u){return u.Top="top",u.Bottom="bottom",u.Left="left",u.Right="right",u}(ko||{});let nf=(()=>{class u{constructor(o){this.textHeight=25,this.margin=5,this.element=o.nativeElement}ngOnChanges(o){this.update()}update(){switch(this.strokeWidth="0.01",this.textAnchor="middle",this.transform="",this.orient){case ko.Top:case ko.Bottom:this.y=this.offset,this.x=this.width/2;break;case ko.Left:this.y=-(this.offset+this.textHeight+this.margin),this.x=-this.height/2,this.transform="rotate(270)";break;case ko.Right:this.y=this.offset+this.margin,this.x=-this.height/2,this.transform="rotate(270)"}}}return u.\u0275fac=function(o){return new(o||u)(e.Y36(e.SBq))},u.\u0275cmp=e.Xpm({type:u,selectors:[["g","ngx-charts-axis-label",""]],inputs:{orient:"orient",label:"label",offset:"offset",width:"width",height:"height"},features:[e.TTD],attrs:n2,decls:2,vars:6,template:function(o,C){1&o&&(e.O4$(),e.TgZ(0,"text"),e._uU(1),e.qZA()),2&o&&(e.uIk("stroke-width",C.strokeWidth)("x",C.x)("y",C.y)("text-anchor",C.textAnchor)("transform",C.transform),e.xp6(1),e.hij(" ",C.label," "))},encapsulation:2,changeDetection:0}),u})();function rf(u,L=16){return"string"!=typeof u?"number"==typeof u?u+"":"":(u=u.trim()).length<=L?u:`${u.slice(0,L)}...`}function af(u,L){if(u.length>L){const o=[],C=Math.floor(u.length/L);for(let B=0;B<u.length;B++)B%C==0&&o.push(u[B]);u=o}return u}function q3(u,L,o){const C=(u||"").toString();let B=[];if(/\s/.test(C))B=C.split(/\s+/).reduce((Y,Te)=>{const tt=(Y.pop()||"")+" ";return tt.length+Te.length>L?[...Y,tt.trim(),Te.trim()]:[...Y,tt+Te]},[]);else{let Y=0;for(;Y<C.length;)B.push(C.substring(Y,Y+L)),Y+=L}return B.length>o&&(B=B.splice(0,o),B[B.length-1]+="..."),B}var Hc=function(u){return u.Start="start",u.Middle="middle",u.End="end",u}(Hc||{});let ah=(()=>{class u{constructor(o){this.platformId=o,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.rotateTicks=!0,this.wrapTicks=!1,this.dimensionsChanged=new e.vpe,this.verticalSpacing=20,this.rotateLabels=!1,this.innerTickSize=6,this.outerTickSize=6,this.tickPadding=3,this.textAnchor=Hc.Middle,this.maxTicksLength=0,this.maxAllowedLength=16,this.height=0,this.approxHeight=10,this.maxPossibleLengthForTickIfWrapped=16}get isWrapTicksSupported(){return this.wrapTicks&&this.scale.step}ngOnChanges(o){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,t.NF)(this.platformId))return void this.dimensionsChanged.emit({height:this.approxHeight});const o=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().height,10);o!==this.height&&(this.height=o,this.dimensionsChanged.emit({height:this.height}),setTimeout(()=>this.updateDims()))}update(){const o=this.scale;this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:o.tickFormat?o.tickFormat.apply(o,this.tickArguments):function(B){return"Date"===B.constructor.name?B.toLocaleDateString():B.toLocaleString()};const C=this.rotateTicks?this.getRotationAngle(this.ticks):null;this.adjustedScale=this.scale.bandwidth?function(B){return this.scale(B)+.5*this.scale.bandwidth()}:this.scale,this.textTransform="",C&&0!==C?(this.textTransform=`rotate(${C})`,this.textAnchor=Hc.End,this.verticalSpacing=10):this.textAnchor=Hc.Middle,setTimeout(()=>this.updateDims())}getRotationAngle(o){let C=0;this.maxTicksLength=0;for(let _i=0;_i<o.length;_i++){const wi=this.tickFormat(o[_i]).toString();let Ii=wi.length;this.trimTicks&&(Ii=this.tickTrim(wi).length),Ii>this.maxTicksLength&&(this.maxTicksLength=Ii)}const Te=7*Math.min(this.maxTicksLength,this.maxAllowedLength);let tt=Te;const Wt=Math.floor(this.width/o.length);for(;tt>Wt&&C>-90;)C-=30,tt=Math.cos(C*(Math.PI/180))*Te;let Gt=14;if(this.isWrapTicksSupported){const _i=this.ticks.reduce((Ii,an)=>an.length>Ii.length?an:Ii,"");Gt=14*(this.tickChunks(_i).length||1),this.maxPossibleLengthForTickIfWrapped=this.getMaxPossibleLengthForTick(_i)}const ci=0!==C?Math.max(Math.abs(Math.sin(C*Math.PI/180))*this.maxTickLength*7,10):Gt;return this.approxHeight=Math.min(ci,200),C}getTicks(){let o;const C=this.getMaxTicks(20),B=this.getMaxTicks(100);return this.tickValues?o=this.tickValues:this.scale.ticks?o=this.scale.ticks.apply(this.scale,[B]):(o=this.scale.domain(),o=af(o,C)),o}getMaxTicks(o){return Math.floor(this.width/o)}tickTransform(o){return"translate("+this.adjustedScale(o)+","+this.verticalSpacing+")"}gridLineTransform(){return`translate(0,${-this.verticalSpacing-5})`}tickTrim(o){return this.trimTicks?rf(o,this.maxTickLength):o}getMaxPossibleLengthForTick(o){if(this.scale.bandwidth){const B=Math.floor(this.scale.bandwidth()/7),Y=o.slice(0,B);return Math.max(Y.length,this.maxTickLength)}return this.maxTickLength}tickChunks(o){if(o.toString().length>this.maxTickLength&&this.scale.bandwidth){let B=this.rotateTicks?Math.floor(this.scale.step()/14):5;if(B<=1)return[this.tickTrim(o)];let Y=Math.max(this.maxPossibleLengthForTickIfWrapped,this.maxTickLength);return(0,t.NF)(this.platformId)||(Y=Math.floor(Math.min(this.approxHeight/5,Math.max(this.maxPossibleLengthForTickIfWrapped,this.maxTickLength)))),B=Math.min(B,5),q3(o,Y,B<1?1:B)}return[this.tickTrim(o)]}}return u.\u0275fac=function(o){return new(o||u)(e.Y36(e.Lbi))},u.\u0275cmp=e.Xpm({type:u,selectors:[["g","ngx-charts-x-axis-ticks",""]],viewQuery:function(o,C){if(1&o&&e.Gf(ll,5),2&o){let B;e.iGM(B=e.CRH())&&(C.ticksElement=B.first)}},inputs:{scale:"scale",orient:"orient",tickArguments:"tickArguments",tickValues:"tickValues",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",gridLineHeight:"gridLineHeight",width:"width",rotateTicks:"rotateTicks",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.TTD],attrs:Pc,decls:4,vars:2,consts:[["ticksel",""],["class","tick",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"tick"],[4,"ngIf"],["stroke-width","0.01","font-size","12px"],[4,"ngIf","ngIfThen","ngIfElse"],["tmplMultilineTick",""],["tmplSinglelineTick",""],["x","0",4,"ngFor","ngForOf"],["x","0"],["y2","0",1,"gridline-path","gridline-path-vertical"]],template:function(o,C){1&o&&(e.O4$(),e.TgZ(0,"g",null,0),e.YNc(2,G0,2,2,"g",1),e.qZA(),e.YNc(3,X1,2,2,"g",2)),2&o&&(e.xp6(2),e.Q6J("ngForOf",C.ticks),e.xp6(1),e.Q6J("ngForOf",C.ticks))},dependencies:[t.sg,t.O5],encapsulation:2,changeDetection:0}),u})(),sf=(()=>{class u{constructor(){this.rotateTicks=!0,this.showGridLines=!1,this.xOrient=ko.Bottom,this.xAxisOffset=0,this.wrapTicks=!1,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=ko}ngOnChanges(o){this.update()}update(){this.transform=`translate(0,${this.xAxisOffset+this.padding+this.dims.height})`,typeof this.xAxisTickCount<"u"&&(this.tickArguments=[this.xAxisTickCount])}emitTicksHeight({height:o}){const C=o+25+5;C!==this.labelOffset&&(this.labelOffset=C,setTimeout(()=>{this.dimensionsChanged.emit({height:o})},0))}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["g","ngx-charts-x-axis",""]],viewQuery:function(o,C){if(1&o&&e.Gf(ah,5),2&o){let B;e.iGM(B=e.CRH())&&(C.ticksComponent=B.first)}},inputs:{xScale:"xScale",dims:"dims",trimTicks:"trimTicks",rotateTicks:"rotateTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",showLabel:"showLabel",labelText:"labelText",ticks:"ticks",xAxisTickCount:"xAxisTickCount",xOrient:"xOrient",xAxisOffset:"xAxisOffset",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.TTD],attrs:J1,decls:3,vars:4,consts:[["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","wrapTicks","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(o,C){1&o&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,Z0,1,13,"g",0)(2,e1,1,5,"g",1),e.qZA()),2&o&&(e.uIk("class",C.xAxisClassName)("transform",C.transform),e.xp6(1),e.Q6J("ngIf",C.xScale),e.xp6(1),e.Q6J("ngIf",C.showLabel))},dependencies:[ah,nf,t.O5],encapsulation:2,changeDetection:0}),u})();function Fc(u,L,o,C,B,[Y,Te,tt,Wt]){let Gt="";return Gt=`M${[u+B,L]}`,Gt+="h"+((o=0===(o=Math.floor(o))?1:o)-2*B),Gt+=Te?`a${[B,B]} 0 0 1 ${[B,B]}`:`h${B}v${B}`,Gt+="v"+((C=0===(C=Math.floor(C))?1:C)-2*B),Gt+=Wt?`a${[B,B]} 0 0 1 ${[-B,B]}`:`v${B}h${-B}`,Gt+="h"+(2*B-o),Gt+=tt?`a${[B,B]} 0 0 1 ${[-B,-B]}`:`h${-B}v${-B}`,Gt+="v"+(2*B-C),Gt+=Y?`a${[B,B]} 0 0 1 ${[B,-B]}`:`v${-B}h${B}`,Gt+="z",Gt}let o1=(()=>{class u{constructor(o){this.platformId=o,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.showRefLabels=!1,this.showRefLines=!1,this.wrapTicks=!1,this.dimensionsChanged=new e.vpe,this.innerTickSize=6,this.tickPadding=3,this.verticalSpacing=20,this.textAnchor=Hc.Middle,this.width=0,this.outerTickSize=6,this.rotateLabels=!1,this.referenceLineLength=0,this.Orientation=ko}ngOnChanges(o){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 o=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().width,10);o!==this.width&&(this.width=o,this.dimensionsChanged.emit({width:o}),setTimeout(()=>this.updateDims()))}update(){const o=this.scale,C=this.orient===ko.Top||this.orient===ko.Right?-1:1;switch(this.tickSpacing=Math.max(this.innerTickSize,0)+this.tickPadding,this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:o.tickFormat?o.tickFormat.apply(o,this.tickArguments):function(B){return"Date"===B.constructor.name?B.toLocaleDateString():B.toLocaleString()},this.adjustedScale=o.bandwidth?B=>{const Y=o(B)+.5*o.bandwidth();if(this.wrapTicks&&B.toString().length>this.maxTickLength){const Te=this.tickChunks(B).length;if(1===Te)return Y;const Gt=.5*o.bandwidth()-8*Te*.5;return o(B)+Gt}return Y}:o,this.showRefLines&&this.referenceLines&&this.setReferencelines(),this.orient){case ko.Top:case ko.Bottom:this.transform=function(B){return"translate("+this.adjustedScale(B)+",0)"},this.textAnchor=Hc.Middle,this.y2=this.innerTickSize*C,this.y1=this.tickSpacing*C,this.dy=C<0?"0em":".71em";break;case ko.Left:this.transform=function(B){return"translate(0,"+this.adjustedScale(B)+")"},this.textAnchor=Hc.End,this.x2=this.innerTickSize*-C,this.x1=this.tickSpacing*-C,this.dy=".32em";break;case ko.Right:this.transform=function(B){return"translate(0,"+this.adjustedScale(B)+")"},this.textAnchor=Hc.Start,this.x2=this.innerTickSize*-C,this.x1=this.tickSpacing*-C,this.dy=".32em"}setTimeout(()=>this.updateDims())}setReferencelines(){this.refMin=this.adjustedScale(Math.min.apply(null,this.referenceLines.map(o=>o.value))),this.refMax=this.adjustedScale(Math.max.apply(null,this.referenceLines.map(o=>o.value))),this.referenceLineLength=this.referenceLines.length,this.referenceAreaPath=Fc(0,this.refMax,this.gridLineWidth,this.refMin-this.refMax,0,[!1,!1,!1,!1])}getTicks(){let o;const C=this.getMaxTicks(20),B=this.getMaxTicks(50);return this.tickValues?o=this.tickValues:this.scale.ticks?o=this.scale.ticks.apply(this.scale,[B]):(o=this.scale.domain(),o=af(o,C)),o}getMaxTicks(o){return Math.floor(this.height/o)}tickTransform(o){return`translate(${this.adjustedScale(o)},${this.verticalSpacing})`}gridLineTransform(){return"translate(5,0)"}tickTrim(o){return this.trimTicks?rf(o,this.maxTickLength):o}getApproximateAxisWidth(){return 7*Math.max(...this.ticks.map(B=>this.tickTrim(this.tickFormat(B)).length))}tickChunks(o){if(o.toString().length>this.maxTickLength&&this.scale.bandwidth){const C=this.maxTickLength,B=Math.floor(this.scale.bandwidth()/15);return B<=1?[this.tickTrim(o)]:q3(o,C,Math.min(B,5))}return[this.tickFormat(o)]}}return u.\u0275fac=function(o){return new(o||u)(e.Y36(e.Lbi))},u.\u0275cmp=e.Xpm({type:u,selectors:[["g","ngx-charts-y-axis-ticks",""]],viewQuery:function(o,C){if(1&o&&e.Gf(ll,5),2&o){let B;e.iGM(B=e.CRH())&&(C.ticksElement=B.first)}},inputs:{scale:"scale",orient:"orient",tickArguments:"tickArguments",tickValues:"tickValues",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",gridLineWidth:"gridLineWidth",height:"height",referenceLines:"referenceLines",showRefLabels:"showRefLabels",showRefLines:"showRefLines",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.TTD],attrs:t1,decls:6,vars:4,consts:[["ticksel",""],["class","tick",4,"ngFor","ngForOf"],["class","reference-area",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"tick"],[4,"ngIf"],["stroke-width","0.01"],[4,"ngIf","ngIfThen","ngIfElse"],["tmplMultilineTick",""],["tmplSinglelineTick",""],[4,"ngIf","ngIfElse"],["x","0",4,"ngFor","ngForOf"],["x","0"],[1,"reference-area"],["class","gridline-path gridline-path-horizontal","x1","0",4,"ngIf"],["x1","0",1,"gridline-path","gridline-path-horizontal"],["x1","0",1,"refline-path","gridline-path-horizontal"],[1,"refline-label"]],template:function(o,C){1&o&&(e.O4$(),e.TgZ(0,"g",null,0),e.YNc(2,td,2,2,"g",1),e.qZA(),e.YNc(3,Iu,1,2,"path",2)(4,s2,2,2,"g",3)(5,Vs,2,1,"g",3)),2&o&&(e.xp6(2),e.Q6J("ngForOf",C.ticks),e.xp6(1),e.Q6J("ngIf",C.referenceLineLength>1&&C.refMax&&C.refMin&&C.showRefLines),e.xp6(1),e.Q6J("ngForOf",C.ticks),e.xp6(1),e.Q6J("ngForOf",C.referenceLines))},dependencies:[t.sg,t.O5],encapsulation:2,changeDetection:0}),u})(),ld=(()=>{class u{constructor(){this.showGridLines=!1,this.yOrient=ko.Left,this.yAxisOffset=0,this.wrapTicks=!1,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(o){this.update()}update(){this.offset=-(this.yAxisOffset+this.padding),this.yOrient===ko.Right?(this.labelOffset=65,this.transform=`translate(${this.offset+this.dims.width} , 0)`):this.transform=`translate(${this.offset} , 0)`,void 0!==this.yAxisTickCount&&(this.tickArguments=[this.yAxisTickCount])}emitTicksWidth({width:o}){o!==this.labelOffset&&this.yOrient===ko.Right?(this.labelOffset=o+this.labelOffset,setTimeout(()=>{this.dimensionsChanged.emit({width:o})},0)):o!==this.labelOffset&&(this.labelOffset=o,setTimeout(()=>{this.dimensionsChanged.emit({width:o})},0))}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["g","ngx-charts-y-axis",""]],viewQuery:function(o,C){if(1&o&&e.Gf(o1,5),2&o){let B;e.iGM(B=e.CRH())&&(C.ticksComponent=B.first)}},inputs:{yScale:"yScale",dims:"dims",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",ticks:"ticks",showGridLines:"showGridLines",showLabel:"showLabel",labelText:"labelText",yAxisTickCount:"yAxisTickCount",yOrient:"yOrient",referenceLines:"referenceLines",showRefLines:"showRefLines",showRefLabels:"showRefLabels",yAxisOffset:"yAxisOffset",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.TTD],attrs:Pu,decls:3,vars:4,consts:[["ngx-charts-y-axis-ticks","",3,"trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-y-axis-ticks","",3,"trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","wrapTicks","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(o,C){1&o&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,R,1,15,"g",0)(2,z,1,5,"g",1),e.qZA()),2&o&&(e.uIk("class",C.yAxisClassName)("transform",C.transform),e.xp6(1),e.Q6J("ngIf",C.yScale),e.xp6(1),e.Q6J("ngIf",C.showLabel))},dependencies:[o1,nf,t.O5],encapsulation:2,changeDetection:0}),u})(),oh=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[t.ez]]}),u})();var b2=function(u){return u.popover="popover",u.tooltip="tooltip",u}(b2||{}),s1=function(u){return u[u.all="all"]="all",u[u.focus="focus"]="focus",u[u.mouseover="mouseover"]="mouseover",u}(s1||{});let cf=(()=>{class u{constructor(o,C,B){this.tooltipService=o,this.viewContainerRef=C,this.renderer=B,this.tooltipCssClass="",this.tooltipAppendToBody=!0,this.tooltipSpacing=10,this.tooltipDisabled=!1,this.tooltipShowCaret=!0,this.tooltipPlacement=hr.Top,this.tooltipAlignment=hr.Center,this.tooltipType=b2.popover,this.tooltipCloseOnClickOutside=!0,this.tooltipCloseOnMouseLeave=!0,this.tooltipHideTimeout=300,this.tooltipShowTimeout=100,this.tooltipShowEvent=s1.all,this.tooltipImmediateExit=!1,this.show=new e.vpe,this.hide=new e.vpe}get listensForFocus(){return this.tooltipShowEvent===s1.all||this.tooltipShowEvent===s1.focus}get listensForHover(){return this.tooltipShowEvent===s1.all||this.tooltipShowEvent===s1.mouseover}ngOnDestroy(){this.hideTooltip(!0)}onFocus(){this.listensForFocus&&this.showTooltip()}onBlur(){this.listensForFocus&&this.hideTooltip(!0)}onMouseEnter(){this.listensForHover&&this.showTooltip()}onMouseLeave(o){if(this.listensForHover&&this.tooltipCloseOnMouseLeave){if(clearTimeout(this.timeout),this.component&&this.component.instance.element.nativeElement.contains(o))return;this.hideTooltip(this.tooltipImmediateExit)}}onMouseClick(){this.listensForHover&&this.hideTooltip(!0)}showTooltip(o){if(this.component||this.tooltipDisabled)return;const C=o?0:this.tooltipShowTimeout+(navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)?400:0);clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.tooltipService.destroyAll();const B=this.createBoundOptions();this.component=this.tooltipService.create(B),setTimeout(()=>{this.component&&this.addHideListeners(this.component.instance.element.nativeElement)},10),this.show.emit(!0)},C)}addHideListeners(o){this.mouseEnterContentEvent=this.renderer.listen(o,"mouseenter",()=>{clearTimeout(this.timeout)}),this.tooltipCloseOnMouseLeave&&(this.mouseLeaveContentEvent=this.renderer.listen(o,"mouseleave",()=>{this.hideTooltip(this.tooltipImmediateExit)})),this.tooltipCloseOnClickOutside&&(this.documentClickEvent=this.renderer.listen("window","click",C=>{o.contains(C.target)||this.hideTooltip()}))}hideTooltip(o=!1){if(!this.component)return;const C=()=>{this.mouseLeaveContentEvent&&this.mouseLeaveContentEvent(),this.mouseEnterContentEvent&&this.mouseEnterContentEvent(),this.documentClickEvent&&this.documentClickEvent(),this.hide.emit(!0),this.tooltipService.destroy(this.component),this.component=void 0};clearTimeout(this.timeout),o?C():this.timeout=setTimeout(C,this.tooltipHideTimeout)}createBoundOptions(){return{title:this.tooltipTitle,template:this.tooltipTemplate,host:this.viewContainerRef.element,placement:this.tooltipPlacement,alignment:this.tooltipAlignment,type:this.tooltipType,showCaret:this.tooltipShowCaret,cssClass:this.tooltipCssClass,spacing:this.tooltipSpacing,context:this.tooltipContext}}}return u.\u0275fac=function(o){return new(o||u)(e.Y36(nh),e.Y36(e.s_b),e.Y36(e.Qsj))},u.\u0275dir=e.lG2({type:u,selectors:[["","ngx-tooltip",""]],hostBindings:function(o,C){1&o&&e.NdJ("focusin",function(){return C.onFocus()})("blur",function(){return C.onBlur()})("mouseenter",function(){return C.onMouseEnter()})("mouseleave",function(Y){return C.onMouseLeave(Y.target)})("click",function(){return C.onMouseClick()})},inputs:{tooltipCssClass:"tooltipCssClass",tooltipTitle:"tooltipTitle",tooltipAppendToBody:"tooltipAppendToBody",tooltipSpacing:"tooltipSpacing",tooltipDisabled:"tooltipDisabled",tooltipShowCaret:"tooltipShowCaret",tooltipPlacement:"tooltipPlacement",tooltipAlignment:"tooltipAlignment",tooltipType:"tooltipType",tooltipCloseOnClickOutside:"tooltipCloseOnClickOutside",tooltipCloseOnMouseLeave:"tooltipCloseOnMouseLeave",tooltipHideTimeout:"tooltipHideTimeout",tooltipShowTimeout:"tooltipShowTimeout",tooltipTemplate:"tooltipTemplate",tooltipShowEvent:"tooltipShowEvent",tooltipContext:"tooltipContext",tooltipImmediateExit:"tooltipImmediateExit"},outputs:{show:"show",hide:"hide"}}),u})(),X3=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({providers:[K3,nh],imports:[[t.ez]]}),u})();const J3={};function sh(){let u=("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4);return u=`a${u}`,J3[u]?sh():(J3[u]=!0,u)}var ya=function(u){return u.Vertical="vertical",u.Horizontal="horizontal",u}(ya||{});let y2=(()=>{class u{constructor(){this.orientation=ya.Vertical}ngOnChanges(o){this.x1="0%",this.x2="0%",this.y1="0%",this.y2="0%",this.orientation===ya.Horizontal?this.x2="100%":this.orientation===ya.Vertical&&(this.y1="100%")}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["g","ngx-charts-svg-linear-gradient",""]],inputs:{orientation:"orientation",name:"name",stops:"stops"},features:[e.TTD],attrs:b,decls:2,vars:6,consts:[[3,"id"],[3,"stop-color","stop-opacity",4,"ngFor","ngForOf"]],template:function(o,C){1&o&&(e.O4$(),e.TgZ(0,"linearGradient",0),e.YNc(1,U,1,5,"stop",1),e.qZA()),2&o&&(e.Q6J("id",C.name),e.uIk("x1",C.x1)("y1",C.y1)("x2",C.x2)("y2",C.y2),e.xp6(1),e.Q6J("ngForOf",C.stops))},dependencies:[t.sg],encapsulation:2,changeDetection:0}),u})(),lf=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["g","ngx-charts-grid-panel",""]],inputs:{width:"width",height:"height",x:"x",y:"y"},attrs:ln,decls:1,vars:4,consts:[["stroke","none",1,"gridpanel"]],template:function(o,C){1&o&&(e.O4$(),e._UZ(0,"rect",0)),2&o&&e.uIk("height",C.height)("width",C.width)("x",C.x)("y",C.y)},encapsulation:2,changeDetection:0}),u})();var lh=function(u){return u.Odd="odd",u.Even="even",u}(lh||{});let Bs,e4=(()=>{class u{ngOnChanges(o){this.update()}update(){this.gridPanels=this.getGridPanels()}getGridPanels(){return this.data.map(o=>{let C,B,Y,Te,tt,Wt=lh.Odd;if(this.orient===ya.Vertical){const Gt=this.xScale(o.name);Number.parseInt((Gt/this.xScale.step()).toString(),10)%2==1&&(Wt=lh.Even),C=this.xScale.bandwidth()*this.xScale.paddingInner(),B=this.xScale.bandwidth()+C,Y=this.dims.height,Te=this.xScale(o.name)-C/2,tt=0}else if(this.orient===ya.Horizontal){const Gt=this.yScale(o.name);Number.parseInt((Gt/this.yScale.step()).toString(),10)%2==1&&(Wt=lh.Even),C=this.yScale.bandwidth()*this.yScale.paddingInner(),B=this.dims.width,Y=this.yScale.bandwidth()+C,Te=0,tt=this.yScale(o.name)-C/2}return{name:o.name,class:Wt,height:Y,width:B,x:Te,y:tt}})}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["g","ngx-charts-grid-panel-series",""]],inputs:{data:"data",dims:"dims",xScale:"xScale",yScale:"yScale",orient:"orient"},features:[e.TTD],attrs:$i,decls:1,vars:1,consts:[["ngx-charts-grid-panel","",3,"height","width","x","y","grid-panel","odd","even",4,"ngFor","ngForOf"],["ngx-charts-grid-panel","",3,"height","width","x","y"]],template:function(o,C){1&o&&e.YNc(0,Hn,1,10,"g",0),2&o&&e.Q6J("ngForOf",C.gridPanels)},dependencies:[lf,t.sg],encapsulation:2,changeDetection:0}),u})();typeof window<"u"?Bs=window:typeof global<"u"&&(Bs=global);let Ss=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[t.ez,oh,X3],t.ez,oh,X3]}),u})();function uf({width:u,height:L,margins:o,showXAxis:C=!1,showYAxis:B=!1,xAxisHeight:Y=0,yAxisWidth:Te=0,showXLabel:tt=!1,showYLabel:Wt=!1,showLegend:Gt=!1,legendType:ci=Ln.Ordinal,legendPosition:_i=Rc.Right,columns:wi=12}){let Ii=o[3],an=u,Sn=L-o[0]-o[2];return Gt&&_i===Rc.Right&&(wi-=ci===Ln.Ordinal?2:1),an=an*wi/12,an=an-o[1]-o[3],C&&(Sn-=5,Sn-=Y,tt&&(Sn-=30)),B&&(an-=5,an-=Te,Ii+=Te,Ii+=10,Wt&&(an-=30,Ii+=30)),an=Math.max(0,an),Sn=Math.max(0,Sn),{width:Math.floor(an),height:Math.floor(Sn),xOffset:Math.floor(Ii)}}const hh=[{name:"vivid",selectable:!0,group:Ln.Ordinal,domain:["#647c8a","#3f51b5","#2196f3","#00b862","#afdf0a","#a7b61a","#f3e562","#ff9800","#ff5722","#ff4514"]},{name:"natural",selectable:!0,group:Ln.Ordinal,domain:["#bf9d76","#e99450","#d89f59","#f2dfa7","#a5d7c6","#7794b1","#afafaf","#707160","#ba9383","#d9d5c3"]},{name:"cool",selectable:!0,group:Ln.Ordinal,domain:["#a8385d","#7aa3e5","#a27ea8","#aae3f5","#adcded","#a95963","#8796c0","#7ed3ed","#50abcc","#ad6886"]},{name:"fire",selectable:!0,group:Ln.Ordinal,domain:["#ff3d00","#bf360c","#ff8f00","#ff6f00","#ff5722","#e65100","#ffca28","#ffab00"]},{name:"solar",selectable:!0,group:Ln.Linear,domain:["#fff8e1","#ffecb3","#ffe082","#ffd54f","#ffca28","#ffc107","#ffb300","#ffa000","#ff8f00","#ff6f00"]},{name:"air",selectable:!0,group:Ln.Linear,domain:["#e1f5fe","#b3e5fc","#81d4fa","#4fc3f7","#29b6f6","#03a9f4","#039be5","#0288d1","#0277bd","#01579b"]},{name:"aqua",selectable:!0,group:Ln.Linear,domain:["#e0f7fa","#b2ebf2","#80deea","#4dd0e1","#26c6da","#00bcd4","#00acc1","#0097a7","#00838f","#006064"]},{name:"flame",selectable:!1,group:Ln.Ordinal,domain:["#A10A28","#D3342D","#EF6D49","#FAAD67","#FDDE90","#DBED91","#A9D770","#6CBA67","#2C9653","#146738"]},{name:"ocean",selectable:!1,group:Ln.Ordinal,domain:["#1D68FB","#33C0FC","#4AFFFE","#AFFFFF","#FFFC63","#FDBD2D","#FC8A25","#FA4F1E","#FA141B","#BA38D1"]},{name:"forest",selectable:!1,group:Ln.Ordinal,domain:["#55C22D","#C1F33D","#3CC099","#AFFFFF","#8CFC9D","#76CFFA","#BA60FB","#EE6490","#C42A1C","#FC9F32"]},{name:"horizon",selectable:!1,group:Ln.Ordinal,domain:["#2597FB","#65EBFD","#99FDD0","#FCEE4B","#FEFCFA","#FDD6E3","#FCB1A8","#EF6F7B","#CB96E8","#EFDEE0"]},{name:"neons",selectable:!1,group:Ln.Ordinal,domain:["#FF3333","#FF33FF","#CC33FF","#0000FF","#33CCFF","#33FFFF","#33FF66","#CCFF33","#FFCC00","#FF6600"]},{name:"picnic",selectable:!1,group:Ln.Ordinal,domain:["#FAC51D","#66BD6D","#FAA026","#29BB9C","#E96B56","#55ACD2","#B7332F","#2C83C9","#9166B8","#92E7E8"]},{name:"night",selectable:!1,group:Ln.Ordinal,domain:["#2B1B5A","#501356","#183356","#28203F","#391B3C","#1E2B3C","#120634","#2D0432","#051932","#453080","#75267D","#2C507D","#4B3880","#752F7D","#35547D"]},{name:"nightLights",selectable:!1,group:Ln.Ordinal,domain:["#4e31a5","#9c25a7","#3065ab","#57468b","#904497","#46648b","#32118d","#a00fb3","#1052a2","#6e51bd","#b63cc3","#6c97cb","#8671c1","#b455be","#7496c3"]}];class ff{constructor(L,o,C,B){"string"==typeof L&&(L=hh.find(Y=>Y.name===L)),this.colorDomain=L.domain,this.scaleType=o,this.domain=C,this.customColors=B,this.scale=this.generateColorScheme(L,o,this.domain)}generateColorScheme(L,o,C){let B;switch("string"==typeof L&&(L=hh.find(Y=>Y.name===L)),o){case Ln.Quantile:B=q1().range(L.domain).domain(C);break;case Ln.Ordinal:B=Q1().range(L.domain).domain(C);break;case Ln.Linear:{const Y=[...L.domain];1===Y.length&&(Y.push(Y[0]),this.colorDomain=Y);const Te=P0(0,1,1/Y.length);B=pc().range(Y).domain(Te)}}return B}getColor(L){if(null==L)throw new Error("Value can not be null");if(this.scaleType===Ln.Linear){const o=pc().domain(this.domain).range([0,1]);return this.scale(o(L))}{if("function"==typeof this.customColors)return this.customColors(L);const o=L.toString();let C;return this.customColors&&this.customColors.length>0&&(C=this.customColors.find(B=>B.name.toLowerCase()===o.toLowerCase())),C?C.value:this.scale(L)}}getLinearGradientStops(L,o){void 0===o&&(o=this.domain[0]);const C=pc().domain(this.domain).range([0,1]),B=gc().domain(this.colorDomain).range([0,1]),Y=this.getColor(L),Te=C(o),tt=this.getColor(o),Wt=C(L);let Gt=1,ci=Te;const _i=[];for(_i.push({color:tt,offset:Te,originalOffset:Te,opacity:1});ci<Wt&&Gt<this.colorDomain.length;){const wi=this.colorDomain[Gt],Ii=B(wi);if(Ii<=Te)Gt++;else{if(Ii.toFixed(4)>=(Wt-B.bandwidth()).toFixed(4))break;_i.push({color:wi,offset:Ii,opacity:1}),ci=Ii,Gt++}}if(_i[_i.length-1].offset<100&&_i.push({color:Y,offset:Wt,opacity:1}),Wt===Te)_i[0].offset=0,_i[1].offset=100;else if(100!==_i[_i.length-1].offset)for(const wi of _i)wi.offset=(wi.offset-Te)/(Wt-Te)*100;return _i}}let o4=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Ss]]}),u})(),s4=(()=>{class u{constructor(o){this.roundEdges=!0,this.gradient=!1,this.offset=0,this.isActive=!1,this.animations=!0,this.noBarWhenZero=!0,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.hasGradient=!1,this.hideBar=!1,this.element=o.nativeElement}ngOnChanges(o){o.roundEdges&&this.loadAnimation(),this.update()}update(){this.gradientId="grad"+sh().toString(),this.gradientFill=`url(#${this.gradientId})`,this.gradient||this.stops?(this.gradientStops=this.getGradient(),this.hasGradient=!0):this.hasGradient=!1,this.updatePathEl(),this.checkToHideBar()}loadAnimation(){this.path=this.getStartingPath(),setTimeout(this.update.bind(this),100)}updatePathEl(){const o=function jt(u){return"string"==typeof u?new bi([[document.querySelector(u)]],[document.documentElement]):new bi([[u]],vi)}(this.element).select(".bar"),C=this.getPath();this.animations?o.transition().duration(500).attr("d",C):o.attr("d",C)}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 C,o=this.getRadius();return this.roundEdges?this.orientation===ya.Vertical?(o=Math.min(this.height,o),C=Fc(this.x,this.y+this.height,this.width,1,0,this.edges)):this.orientation===ya.Horizontal&&(o=Math.min(this.width,o),C=Fc(this.x,this.y,1,this.height,0,this.edges)):this.orientation===ya.Vertical?C=Fc(this.x,this.y+this.height,this.width,1,0,this.edges):this.orientation===ya.Horizontal&&(C=Fc(this.x,this.y,1,this.height,0,this.edges)),C}getPath(){let C,o=this.getRadius();return this.roundEdges?this.orientation===ya.Vertical?(o=Math.min(this.height,o),C=Fc(this.x,this.y,this.width,this.height,o,this.edges)):this.orientation===ya.Horizontal&&(o=Math.min(this.width,o),C=Fc(this.x,this.y,this.width,this.height,o,this.edges)):C=Fc(this.x,this.y,this.width,this.height,o,this.edges),C}getRadius(){let o=0;return this.roundEdges&&this.height>5&&this.width>5&&(o=Math.floor(Math.min(5,this.height/2,this.width/2))),o}getStartOpacity(){return this.roundEdges?.2:.5}get edges(){let o=[!1,!1,!1,!1];return this.roundEdges&&(this.orientation===ya.Vertical?o=this.data.value>0?[!0,!0,!1,!1]:[!1,!1,!0,!0]:this.orientation===ya.Horizontal&&(o=this.data.value>0?[!1,!0,!1,!0]:[!0,!1,!0,!1])),o}onMouseEnter(){this.activate.emit(this.data)}onMouseLeave(){this.deactivate.emit(this.data)}checkToHideBar(){this.hideBar=this.noBarWhenZero&&(this.orientation===ya.Vertical&&0===this.height||this.orientation===ya.Horizontal&&0===this.width)}}return u.\u0275fac=function(o){return new(o||u)(e.Y36(e.SBq))},u.\u0275cmp=e.Xpm({type:u,selectors:[["g","ngx-charts-bar",""]],hostBindings:function(o,C){1&o&&e.NdJ("mouseenter",function(){return C.onMouseEnter()})("mouseleave",function(){return C.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:Dm,decls:2,vars:8,consts:[[4,"ngIf"],["stroke","none","role","img","tabIndex","-1",1,"bar",3,"click"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"]],template:function(o,C){1&o&&(e.YNc(0,Lm,2,3,"defs",0),e.O4$(),e.TgZ(1,"path",1),e.NdJ("click",function(){return C.select.emit(C.data)}),e.qZA()),2&o&&(e.Q6J("ngIf",C.hasGradient),e.xp6(1),e.ekj("active",C.isActive)("hidden",C.hideBar),e.uIk("d",C.path)("aria-label",C.ariaLabel)("fill",C.hasGradient?C.gradientFill:C.fill))},dependencies:[y2,t.O5],encapsulation:2,changeDetection:0}),u})();var Us=function(u){return u.Standard="standard",u.Normalized="normalized",u.Stacked="stacked",u}(Us||{}),dd=function(u){return u.positive="positive",u.negative="negative",u}(dd||{});let Rp=(()=>{class u{constructor(o){this.dimensionsChanged=new e.vpe,this.horizontalPadding=2,this.verticalPadding=5,this.element=o.nativeElement}ngOnChanges(o){this.update()}getSize(){return{height:this.element.getBoundingClientRect().height,width:this.element.getBoundingClientRect().width,negative:this.value<0}}ngAfterViewInit(){this.dimensionsChanged.emit(this.getSize())}update(){this.formatedValue=this.valueFormatting?this.valueFormatting(this.value):cd(this.value),"horizontal"===this.orientation?(this.x=this.barX+this.barWidth,this.value<0?(this.x=this.x-this.horizontalPadding,this.textAnchor="end"):(this.x=this.x+this.horizontalPadding,this.textAnchor="start"),this.y=this.barY+this.barHeight/2):(this.x=this.barX+this.barWidth/2,this.y=this.barY+this.barHeight,this.value<0?(this.y=this.y+this.verticalPadding,this.textAnchor="end"):(this.y=this.y-this.verticalPadding,this.textAnchor="start"),this.transform=`rotate(-45, ${this.x} , ${this.y})`)}}return u.\u0275fac=function(o){return new(o||u)(e.Y36(e.SBq))},u.\u0275cmp=e.Xpm({type:u,selectors:[["g","ngx-charts-bar-label",""]],inputs:{value:"value",valueFormatting:"valueFormatting",barX:"barX",barY:"barY",barWidth:"barWidth",barHeight:"barHeight",orientation:"orientation"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.TTD],attrs:Im,decls:2,vars:5,consts:[["alignment-baseline","middle",1,"textDataLabel"]],template:function(o,C){1&o&&(e.O4$(),e.TgZ(0,"text",0),e._uU(1),e.qZA()),2&o&&(e.uIk("text-anchor",C.textAnchor)("transform",C.transform)("x",C.x)("y",C.y),e.xp6(1),e.hij(" ",C.formatedValue," "))},styles:[".textDataLabel[_ngcontent-%COMP%]{font-size:11px}"],changeDetection:0}),u})(),c4=(()=>{class u{constructor(o){this.platformId=o,this.type=Us.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=ya,this.isSSR=!1}ngOnInit(){(0,t.PM)(this.platformId)&&(this.isSSR=!0)}ngOnChanges(o){this.update()}update(){let o;this.updateTooltipSettings(),this.series.length&&(o=this.xScale.bandwidth()),o=Math.round(o);const C=Math.max(this.yScale.domain()[0],0),B={[dd.positive]:0,[dd.negative]:0};let Te,Y=dd.positive;this.type===Us.Normalized&&(Te=this.series.map(tt=>tt.value).reduce((tt,Wt)=>tt+Wt,0)),this.bars=this.series.map((tt,Wt)=>{let Gt=tt.value;const ci=this.getLabel(tt),_i=cd(ci);Y=Gt>0?dd.positive:dd.negative;const Ii={value:Gt,label:ci,roundEdges:this.roundEdges,data:tt,width:o,formattedLabel:_i,height:0,x:0,y:0};if(this.type===Us.Standard)Ii.height=Math.abs(this.yScale(Gt)-this.yScale(C)),Ii.x=this.xScale(ci),Ii.y=this.yScale(Gt<0?0:Gt);else if(this.type===Us.Stacked){const Sn=B[Y],Pi=Sn+Gt;B[Y]+=Gt,Ii.height=this.yScale(Sn)-this.yScale(Pi),Ii.x=0,Ii.y=this.yScale(Pi),Ii.offset0=Sn,Ii.offset1=Pi}else if(this.type===Us.Normalized){let Sn=B[Y],Pi=Sn+Gt;B[Y]+=Gt,Te>0?(Sn=100*Sn/Te,Pi=100*Pi/Te):(Sn=0,Pi=0),Ii.height=this.yScale(Sn)-this.yScale(Pi),Ii.x=0,Ii.y=this.yScale(Pi),Ii.offset0=Sn,Ii.offset1=Pi,Gt=(Pi-Sn).toFixed(2)+"%"}this.colors.scaleType===Ln.Ordinal?Ii.color=this.colors.getColor(ci):this.type===Us.Standard?(Ii.color=this.colors.getColor(Gt),Ii.gradientStops=this.colors.getLinearGradientStops(Gt)):(Ii.color=this.colors.getColor(Ii.offset1),Ii.gradientStops=this.colors.getLinearGradientStops(Ii.offset1,Ii.offset0));let an=_i;return Ii.ariaLabel=_i+" "+Gt.toLocaleString(),null!=this.seriesName&&(an=`${this.seriesName} \u2022 ${_i}`,Ii.data.series=this.seriesName,Ii.ariaLabel=this.seriesName+" "+Ii.ariaLabel),Ii.tooltipText=this.tooltipDisabled?void 0:`\n <span class="tooltip-label">${function rh(u){return u.toLocaleString().replace(/[&'`"<>]/g,L=>({"&":"&amp;","'":"&#x27;","`":"&#x60;",'"':"&quot;","<":"&lt;",">":"&gt;"}[L]))}(an)}</span>\n <span class="tooltip-val">${this.dataLabelFormatting?this.dataLabelFormatting(Gt):Gt.toLocaleString()}</span>\n `,Ii}),this.updateDataLabels()}updateDataLabels(){if(this.type===Us.Stacked){this.barsForDataLabels=[];const o={};o.series=this.seriesName;const C=this.series.map(Y=>Y.value).reduce((Y,Te)=>Te>0?Y+Te:Y,0),B=this.series.map(Y=>Y.value).reduce((Y,Te)=>Te<0?Y+Te:Y,0);o.total=C+B,o.x=0,o.y=0,o.height=this.yScale(o.total>0?C:B),o.width=this.xScale.bandwidth(),this.barsForDataLabels.push(o)}else this.barsForDataLabels=this.series.map(o=>{const C={};return C.series=this.seriesName??o.label,C.total=o.value,C.x=this.xScale(o.label),C.y=this.yScale(0),C.height=this.yScale(C.total)-this.yScale(0),C.width=this.xScale.bandwidth(),C})}updateTooltipSettings(){this.tooltipPlacement=this.tooltipDisabled?void 0:hr.Top,this.tooltipType=this.tooltipDisabled?void 0:b2.tooltip}isActive(o){return!!this.activeEntries&&void 0!==this.activeEntries.find(B=>o.name===B.name&&o.value===B.value)}onClick(o){this.select.emit(o)}getLabel(o){return o.label?o.label:o.name}trackBy(o,C){return C.label}trackDataLabelBy(o,C){return o+"#"+C.series+"#"+C.total}}return u.\u0275fac=function(o){return new(o||u)(e.Y36(e.Lbi))},u.\u0275cmp=e.Xpm({type:u,selectors:[["g","ngx-charts-series-vertical",""]],inputs:{dims:"dims",type:"type",series:"series",xScale:"xScale",yScale:"yScale",colors:"colors",gradient:"gradient",activeEntries:"activeEntries",seriesName:"seriesName",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate",roundEdges:"roundEdges",animations:"animations",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",dataLabelHeightChanged:"dataLabelHeightChanged"},features:[e.TTD],attrs:Rm,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(o,C){1&o&&e.YNc(0,Bu,2,2,"g",0)(1,Nm,2,2,"g",0)(2,Fm,2,2,"g",0),2&o&&(e.Q6J("ngIf",!C.isSSR),e.xp6(1),e.Q6J("ngIf",C.isSSR),e.xp6(1),e.Q6J("ngIf",C.showDataLabel))},dependencies:[s4,Rp,t.O5,t.sg,cf],encapsulation:2,data:{animation:[(0,m.X$)("animationState",[(0,m.eR)(":leave",[(0,m.oB)({opacity:1}),(0,m.jt)(500,(0,m.oB)({opacity:0}))])])]},changeDetection:0}),u})(),Fp=(()=>{class u extends tf{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=Rc.Right,this.tooltipDisabled=!1,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.wrapTicks=!1,this.activate=new e.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=uf({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.formatDates(),this.showDataLabel&&(this.dims.height-=this.dataLabelMaxHeight.negative),this.xScale=this.getXScale(),this.yScale=this.getYScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]+this.dataLabelMaxHeight.negative})`}getXScale(){this.xDomain=this.getXDomain();const o=this.xDomain.length/(this.dims.width/this.barPadding+1);return gc().range([0,this.dims.width]).paddingInner(o).domain(this.xDomain)}getYScale(){this.yDomain=this.getYDomain();const o=pc().range([this.dims.height,0]).domain(this.yDomain);return this.roundDomains?o.nice():o}getXDomain(){return this.results.map(o=>o.label)}getYDomain(){const o=this.results.map(Y=>Y.value);let C=this.yScaleMin?Math.min(this.yScaleMin,...o):Math.min(0,...o);this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(C=Math.min(C,...this.yAxisTicks));let B=this.yScaleMax?Math.max(this.yScaleMax,...o):Math.max(0,...o);return this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(B=Math.max(B,...this.yAxisTicks)),[C,B]}onClick(o){this.select.emit(o)}setColors(){let o;o=this.schemeType===Ln.Ordinal?this.xDomain:this.yDomain,this.colors=new ff(this.scheme,this.schemeType,o,this.customColors)}getLegendOptions(){const o={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return o.scaleType===Ln.Ordinal?(o.domain=this.xDomain,o.colors=this.colors,o.title=this.legendTitle):(o.domain=this.yDomain,o.colors=this.colors.scale),o}updateYAxisWidth({width:o}){this.yAxisWidth=o,this.update()}updateXAxisHeight({height:o}){this.xAxisHeight=o,this.update()}onDataLabelMaxHeightChanged(o){o.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,o.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,o.size.height),o.index===this.results.length-1&&setTimeout(()=>this.update())}onActivate(o,C=!1){o=this.results.find(Y=>C?Y.label===o.name:Y.name===o.name),!(this.activeEntries.findIndex(Y=>Y.name===o.name&&Y.value===o.value&&Y.series===o.series)>-1)&&(this.activeEntries=[o,...this.activeEntries],this.activate.emit({value:o,entries:this.activeEntries}))}onDeactivate(o,C=!1){o=this.results.find(Y=>C?Y.label===o.name:Y.name===o.name);const B=this.activeEntries.findIndex(Y=>Y.name===o.name&&Y.value===o.value&&Y.series===o.series);this.activeEntries.splice(B,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:o,entries:this.activeEntries})}}return u.\u0275fac=(()=>{let L;return function(C){return(L||(L=e.n5z(u)))(C||u)}})(),u.\u0275cmp=e.Xpm({type:u,selectors:[["ngx-charts-bar-vertical"]],contentQueries:function(o,C,B){if(1&o&&e.Suo(B,r1,5),2&o){let Y;e.iGM(Y=e.CRH())&&(C.tooltipTemplate=Y.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",gradient:"gradient",showGridLines:"showGridLines",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",barPadding:"barPadding",roundDomains:"roundDomains",roundEdges:"roundEdges",yScaleMax:"yScaleMax",yScaleMin:"yScaleMin",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero",wrapTicks:"wrapTicks"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:5,vars:25,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"bar-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-series-vertical","",3,"xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","activeEntries","roundEdges","animations","noBarWhenZero","activate","deactivate","select","dataLabelHeightChanged"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","wrapTicks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","wrapTicks","dimensionsChanged"]],template:function(o,C){1&o&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelClick",function(Y){return C.onClick(Y)})("legendLabelActivate",function(Y){return C.onActivate(Y,!0)})("legendLabelDeactivate",function(Y){return C.onDeactivate(Y,!0)}),e.O4$(),e.TgZ(1,"g",1),e.YNc(2,zm,1,12,"g",2)(3,X0,1,10,"g",3),e.TgZ(4,"g",4),e.NdJ("activate",function(Y){return C.onActivate(Y)})("deactivate",function(Y){return C.onDeactivate(Y)})("select",function(Y){return C.onClick(Y)})("dataLabelHeightChanged",function(Y){return C.onDataLabelMaxHeightChanged(Y)}),e.qZA()()()),2&o&&(e.Q6J("view",e.WLB(22,fs,C.width,C.height))("showLegend",C.legend)("legendOptions",C.legendOptions)("activeEntries",C.activeEntries)("animations",C.animations),e.xp6(1),e.uIk("transform",C.transform),e.xp6(1),e.Q6J("ngIf",C.xAxis),e.xp6(1),e.Q6J("ngIf",C.yAxis),e.xp6(1),e.Q6J("xScale",C.xScale)("yScale",C.yScale)("colors",C.colors)("series",C.results)("dims",C.dims)("gradient",C.gradient)("tooltipDisabled",C.tooltipDisabled)("tooltipTemplate",C.tooltipTemplate)("showDataLabel",C.showDataLabel)("dataLabelFormatting",C.dataLabelFormatting)("activeEntries",C.activeEntries)("roundEdges",C.roundEdges)("animations",C.animations)("noBarWhenZero",C.noBarWhenZero))},dependencies:[v2,sf,ld,c4,t.O5],styles:[d2],encapsulation:2,changeDetection:0}),u})(),hd=(()=>{class u extends tf{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=Rc.Right,this.tooltipDisabled=!1,this.scaleType=Ln.Ordinal,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.groupPadding=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.wrapTicks=!1,this.activate=new e.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=ya,this.trackBy=(o,C)=>C.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=uf({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.showDataLabel&&(this.dims.height-=this.dataLabelMaxHeight.negative),this.formatDates(),this.groupDomain=this.getGroupDomain(),this.innerDomain=this.getInnerDomain(),this.valueDomain=this.getValueDomain(),this.groupScale=this.getGroupScale(),this.innerScale=this.getInnerScale(),this.valueScale=this.getValueScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]+this.dataLabelMaxHeight.negative})`}onDataLabelMaxHeightChanged(o,C){o.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,o.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,o.size.height),C===this.results.length-1&&setTimeout(()=>this.update())}getGroupScale(){const o=this.groupDomain.length/(this.dims.height/this.groupPadding+1);return gc().rangeRound([0,this.dims.width]).paddingInner(o).paddingOuter(o/2).domain(this.groupDomain)}getInnerScale(){const o=this.groupScale.bandwidth(),C=this.innerDomain.length/(o/this.barPadding+1);return gc().rangeRound([0,o]).paddingInner(C).domain(this.innerDomain)}getValueScale(){const o=pc().range([this.dims.height,0]).domain(this.valueDomain);return this.roundDomains?o.nice():o}getGroupDomain(){const o=[];for(const C of this.results)o.includes(C.label)||o.push(C.label);return o}getInnerDomain(){const o=[];for(const C of this.results)for(const B of C.series)o.includes(B.label)||o.push(B.label);return o}getValueDomain(){const o=[];for(const Y of this.results)for(const Te of Y.series)o.includes(Te.value)||o.push(Te.value);return[Math.min(0,...o),this.yScaleMax?Math.max(this.yScaleMax,...o):Math.max(0,...o)]}groupTransform(o){return`translate(${this.groupScale(o.label)}, 0)`}onClick(o,C){C&&(o.series=C.name),this.select.emit(o)}setColors(){let o;o=this.schemeType===Ln.Ordinal?this.innerDomain:this.valueDomain,this.colors=new ff(this.scheme,this.schemeType,o,this.customColors)}getLegendOptions(){const o={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return o.scaleType===Ln.Ordinal?(o.domain=this.innerDomain,o.colors=this.colors,o.title=this.legendTitle):(o.domain=this.valueDomain,o.colors=this.colors.scale),o}updateYAxisWidth({width:o}){this.yAxisWidth=o,this.update()}updateXAxisHeight({height:o}){this.xAxisHeight=o,this.update()}onActivate(o,C,B=!1){const Y=Object.assign({},o);C&&(Y.series=C.name);const Te=this.results.map(tt=>tt.series).flat().filter(tt=>B?tt.label===Y.name:tt.name===Y.name&&tt.series===Y.series);this.activeEntries=[...Te],this.activate.emit({value:Y,entries:this.activeEntries})}onDeactivate(o,C,B=!1){const Y=Object.assign({},o);C&&(Y.series=C.name),this.activeEntries=this.activeEntries.filter(Te=>B?Te.label!==Y.name:!(Te.name===Y.name&&Te.series===Y.series)),this.deactivate.emit({value:Y,entries:this.activeEntries})}}return u.\u0275fac=(()=>{let L;return function(C){return(L||(L=e.n5z(u)))(C||u)}})(),u.\u0275cmp=e.Xpm({type:u,selectors:[["ngx-charts-bar-vertical-2d"]],contentQueries:function(o,C,B){if(1&o&&e.Suo(B,r1,5),2&o){let Y;e.iGM(Y=e.CRH())&&(C.tooltipTemplate=Y.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",scaleType:"scaleType",gradient:"gradient",showGridLines:"showGridLines",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",groupPadding:"groupPadding",barPadding:"barPadding",roundDomains:"roundDomains",roundEdges:"roundEdges",yScaleMax:"yScaleMax",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero",wrapTicks:"wrapTicks"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:7,vars:18,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelActivate","legendLabelDeactivate","legendLabelClick"],[1,"bar-chart","chart"],["ngx-charts-grid-panel-series","",3,"xScale","yScale","data","dims","orient"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","wrapTicks","dimensionsChanged",4,"ngIf"],[4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","wrapTicks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","wrapTicks","dimensionsChanged"],["ngx-charts-series-vertical","",3,"activeEntries","xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","seriesName","roundEdges","animations","noBarWhenZero","select","activate","deactivate","dataLabelHeightChanged",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-series-vertical","",3,"activeEntries","xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","seriesName","roundEdges","animations","noBarWhenZero","select","activate","deactivate","dataLabelHeightChanged"]],template:function(o,C){1&o&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelActivate",function(Y){return C.onActivate(Y,void 0,!0)})("legendLabelDeactivate",function(Y){return C.onDeactivate(Y,void 0,!0)})("legendLabelClick",function(Y){return C.onClick(Y)}),e.O4$(),e.TgZ(1,"g",1),e._UZ(2,"g",2),e.YNc(3,Gu,1,11,"g",3)(4,Vm,1,10,"g",4)(5,Zu,2,2,"g",5),e.qZA(),e.YNc(6,Bm,2,2,"g",5),e.qZA()),2&o&&(e.Q6J("view",e.WLB(15,fs,C.width,C.height))("showLegend",C.legend)("legendOptions",C.legendOptions)("activeEntries",C.activeEntries)("animations",C.animations),e.xp6(1),e.uIk("transform",C.transform),e.xp6(1),e.Q6J("xScale",C.groupScale)("yScale",C.valueScale)("data",C.results)("dims",C.dims)("orient",C.barOrientation.Vertical),e.xp6(1),e.Q6J("ngIf",C.xAxis),e.xp6(1),e.Q6J("ngIf",C.yAxis),e.xp6(1),e.Q6J("ngIf",!C.isSSR),e.xp6(1),e.Q6J("ngIf",C.isSSR))},dependencies:[v2,e4,sf,ld,c4,t.O5,t.sg],styles:[d2],encapsulation:2,data:{animation:[(0,m.X$)("animationState",[(0,m.eR)(":leave",[(0,m.oB)({opacity:1,transform:"*"}),(0,m.jt)(500,(0,m.oB)({opacity:0,transform:"scale(0)"}))])])]},changeDetection:0}),u})(),pf=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Ss]]}),u})();wu();let Bp=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Ss]]}),u})(),Gp=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Ss]]}),u})(),Zp=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Ss]]}),u})(),_f=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Ss]]}),u})();Math;let zc=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Ss]]}),u})(),md=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Ss,zc,_f]]}),u})(),f4=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Ss]]}),u})(),E2=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Ss]]}),u})(),yf=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Ss,zc,pf]]}),u})(),Jp=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[Ss]]}),u})(),xf=(()=>{class u{constructor(){!function h1(){typeof SVGElement<"u"&&typeof SVGElement.prototype.contains>"u"&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)}()}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[Ss,o4,pf,Bp,Gp,Zp,Jp,_f,md,f4,zc,E2,yf]}),u})()},2279:(He,X,p)=>{"use strict";p.d(X,{OF:()=>E,uU:()=>d});var e=p(5861),t=p(9212),y=p(2839),A=p(6814);function l(x,I){if(1&x&&t._UZ(0,"canvas",0),2&x){const k=t.oxw();t.Q6J("qrCode",k.value)("qrCodeErrorCorrectionLevel",k.errorCorrectionLevel)("qrCodeCenterImageSrc",k.centerImageSrc)("qrCodeCenterImageWidth",k.centerImageSize)("qrCodeCenterImageHeight",k.centerImageSize)("qrCodeMargin",k.margin)("width",k.size)("height",k.size)("darkColor",k.darkColor)("lightColor",k.lightColor)}}const M=/^#(?:[0-9a-fA-F]{3,4}){1,2}$/;let m=(()=>{class x{static#e=this.DEFAULT_ERROR_CORRECTION_LEVEL="M";static#t=this.DEFAULT_CENTER_IMAGE_SIZE=40;constructor(k){this.viewContainerRef=k,this.errorCorrectionLevel=x.DEFAULT_ERROR_CORRECTION_LEVEL,this.darkColor="#000000FF",this.lightColor="#FFFFFFFF",this.margin=16}ngOnChanges(){var k=this;return(0,e.Z)(function*(){if(!k.value)return;k.version&&k.version>40?(console.warn("[qrCode] max version is 40, clamping"),k.version=40):k.version&&k.version<1?(console.warn("[qrCode] min version is 1, clamping"),k.version=1):void 0!==k.version&&isNaN(k.version)&&(console.warn("[qrCode] version should be set to a number, defaulting to auto"),k.version=void 0);const V=k.viewContainerRef.element.nativeElement;if(!V)return;const G=V.getContext("2d");G&&G.clearRect(0,0,G.canvas.width,G.canvas.height);const j=k.errorCorrectionLevel??x.DEFAULT_ERROR_CORRECTION_LEVEL,W=M.test(k.darkColor)?k.darkColor:void 0,K=M.test(k.lightColor)?k.lightColor:void 0;(0,t.X6Q)()&&(!W&&k.darkColor&&console.error("[ng-qrcode] darkColor set to invalid value, must be RGBA hex color string, eg: #3050A1FF"),!K&&k.lightColor&&console.error("[ng-qrcode] lightColor set to invalid value, must be RGBA hex color string, eg: #3050A130")),yield y.toCanvas(V,k.value,{version:k.version,errorCorrectionLevel:j,width:k.width,margin:k.margin,color:{dark:W,light:K}});const q=k.centerImageSrc,ie=O(k.centerImageWidth,x.DEFAULT_CENTER_IMAGE_SIZE),ae=O(k.centerImageHeight,x.DEFAULT_CENTER_IMAGE_SIZE);if(q&&G){k.centerImage||(k.centerImage=new Image(ie,ae));const ue=k.centerImage;q!==k.centerImage.src&&(ue.src=q),ie!==k.centerImage.width&&(ue.width=ie),ae!==k.centerImage.height&&(ue.height=ae);const re=()=>{G.drawImage(ue,V.width/2-ie/2,V.height/2-ae/2,ie,ae)};ue.onload=re,ue.complete&&re()}})()}static#i=this.\u0275fac=function(V){return new(V||x)(t.Y36(t.s_b))};static#n=this.\u0275dir=t.lG2({type:x,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:[t.TTD]})}return x})();function O(x,I){return void 0===x||""===x?I:"string"==typeof x?parseInt(x,10):x}let d=(()=>{class x{static#e=this.\u0275fac=function(V){return new(V||x)};static#t=this.\u0275cmp=t.Xpm({type:x,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"]],template:function(V,G){1&V&&t.YNc(0,l,1,10,"canvas",0),2&V&&t.um2(0,G.value?0:-1)},dependencies:[m],encapsulation:2})}return x})(),E=(()=>{class x{static#e=this.\u0275fac=function(V){return new(V||x)};static#t=this.\u0275mod=t.oAB({type:x});static#i=this.\u0275inj=t.cJS({imports:[A.ez]})}return x})()},2159:(He,X,p)=>{"use strict";p.d(X,{op:()=>xt,Vv:()=>_t,$V:()=>Je,Xd:()=>be});var e=p(8645),t=p(2438),y=p(3019),A=p(9028),l=p(9773),M=p(3997),m=p(975),O=p(9212),d=p(6814);function E(ee){return getComputedStyle(ee)}function x(ee,ne){for(var Ie in ne){var Ht=ne[Ie];"number"==typeof Ht&&(Ht+="px"),ee.style[Ie]=Ht}return ee}function I(ee){var ne=document.createElement("div");return ne.className=ee,ne}var k=typeof Element<"u"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function V(ee,ne){if(!k)throw new Error("No element matching method supported");return k.call(ee,ne)}function G(ee){ee.remove?ee.remove():ee.parentNode&&ee.parentNode.removeChild(ee)}function j(ee,ne){return Array.prototype.filter.call(ee.children,function(Ie){return V(Ie,ne)})}var W={main:"ps",rtl:"ps__rtl",element:{thumb:function(ee){return"ps__thumb-"+ee},rail:function(ee){return"ps__rail-"+ee},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(ee){return"ps--active-"+ee},scrolling:function(ee){return"ps--scrolling-"+ee}}},K={x:null,y:null};function q(ee,ne){var Ie=ee.element.classList,Ht=W.state.scrolling(ne);Ie.contains(Ht)?clearTimeout(K[ne]):Ie.add(Ht)}function ie(ee,ne){K[ne]=setTimeout(function(){return ee.isAlive&&ee.element.classList.remove(W.state.scrolling(ne))},ee.settings.scrollingThreshold)}var ue=function(ne){this.element=ne,this.handlers={}},re={isEmpty:{configurable:!0}};ue.prototype.bind=function(ne,Ie){typeof this.handlers[ne]>"u"&&(this.handlers[ne]=[]),this.handlers[ne].push(Ie),this.element.addEventListener(ne,Ie,!1)},ue.prototype.unbind=function(ne,Ie){var Ht=this;this.handlers[ne]=this.handlers[ne].filter(function(At){return!(!Ie||At===Ie)||(Ht.element.removeEventListener(ne,At,!1),!1)})},ue.prototype.unbindAll=function(){for(var ne in this.handlers)this.unbind(ne)},re.isEmpty.get=function(){var ee=this;return Object.keys(this.handlers).every(function(ne){return 0===ee.handlers[ne].length})},Object.defineProperties(ue.prototype,re);var xe=function(){this.eventElements=[]};function $(ee){if("function"==typeof window.CustomEvent)return new CustomEvent(ee);var ne=document.createEvent("CustomEvent");return ne.initCustomEvent(ee,!1,!1,void 0),ne}function he(ee,ne,Ie,Ht,At){var Zt;if(void 0===Ht&&(Ht=!0),void 0===At&&(At=!1),"top"===ne)Zt=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==ne)throw new Error("A proper axis should be provided");Zt=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function S(ee,ne,Ie,Ht,At){var Zt=Ie[0],pi=Ie[1],Jt=Ie[2],qt=Ie[3],Hi=Ie[4],di=Ie[5];void 0===Ht&&(Ht=!0),void 0===At&&(At=!1);var fi=ee.element;ee.reach[qt]=null,fi[Jt]<1&&(ee.reach[qt]="start"),fi[Jt]>ee[Zt]-ee[pi]-1&&(ee.reach[qt]="end"),ne&&(fi.dispatchEvent($("ps-scroll-"+qt)),ne<0?fi.dispatchEvent($("ps-scroll-"+Hi)):ne>0&&fi.dispatchEvent($("ps-scroll-"+di)),Ht&&function ae(ee,ne){q(ee,ne),ie(ee,ne)}(ee,qt)),ee.reach[qt]&&(ne||At)&&fi.dispatchEvent($("ps-"+qt+"-reach-"+ee.reach[qt]))}(ee,Ie,Zt,Ht,At)}function n(ee){return parseInt(ee,10)||0}xe.prototype.eventElement=function(ne){var Ie=this.eventElements.filter(function(Ht){return Ht.element===ne})[0];return Ie||(Ie=new ue(ne),this.eventElements.push(Ie)),Ie},xe.prototype.bind=function(ne,Ie,Ht){this.eventElement(ne).bind(Ie,Ht)},xe.prototype.unbind=function(ne,Ie,Ht){var At=this.eventElement(ne);At.unbind(Ie,Ht),At.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(At),1)},xe.prototype.unbindAll=function(){this.eventElements.forEach(function(ne){return ne.unbindAll()}),this.eventElements=[]},xe.prototype.once=function(ne,Ie,Ht){var At=this.eventElement(ne),Zt=function(pi){At.unbind(Ie,Zt),Ht(pi)};At.bind(Ie,Zt)};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 w(ee){var ne=ee.element,Ie=Math.floor(ne.scrollTop),Ht=ne.getBoundingClientRect();ee.containerWidth=Math.round(Ht.width),ee.containerHeight=Math.round(Ht.height),ee.contentWidth=ne.scrollWidth,ee.contentHeight=ne.scrollHeight,ne.contains(ee.scrollbarXRail)||(j(ne,W.element.rail("x")).forEach(function(At){return G(At)}),ne.appendChild(ee.scrollbarXRail)),ne.contains(ee.scrollbarYRail)||(j(ne,W.element.rail("y")).forEach(function(At){return G(At)}),ne.appendChild(ee.scrollbarYRail)),!ee.settings.suppressScrollX&&ee.containerWidth+ee.settings.scrollXMarginOffset<ee.contentWidth?(ee.scrollbarXActive=!0,ee.railXWidth=ee.containerWidth-ee.railXMarginWidth,ee.railXRatio=ee.containerWidth/ee.railXWidth,ee.scrollbarXWidth=D(ee,n(ee.railXWidth*ee.containerWidth/ee.contentWidth)),ee.scrollbarXLeft=n((ee.negativeScrollAdjustment+ne.scrollLeft)*(ee.railXWidth-ee.scrollbarXWidth)/(ee.contentWidth-ee.containerWidth))):ee.scrollbarXActive=!1,!ee.settings.suppressScrollY&&ee.containerHeight+ee.settings.scrollYMarginOffset<ee.contentHeight?(ee.scrollbarYActive=!0,ee.railYHeight=ee.containerHeight-ee.railYMarginHeight,ee.railYRatio=ee.containerHeight/ee.railYHeight,ee.scrollbarYHeight=D(ee,n(ee.railYHeight*ee.containerHeight/ee.contentHeight)),ee.scrollbarYTop=n(Ie*(ee.railYHeight-ee.scrollbarYHeight)/(ee.contentHeight-ee.containerHeight))):ee.scrollbarYActive=!1,ee.scrollbarXLeft>=ee.railXWidth-ee.scrollbarXWidth&&(ee.scrollbarXLeft=ee.railXWidth-ee.scrollbarXWidth),ee.scrollbarYTop>=ee.railYHeight-ee.scrollbarYHeight&&(ee.scrollbarYTop=ee.railYHeight-ee.scrollbarYHeight),function P(ee,ne){var Ie={width:ne.railXWidth},Ht=Math.floor(ee.scrollTop);Ie.left=ne.isRtl?ne.negativeScrollAdjustment+ee.scrollLeft+ne.containerWidth-ne.contentWidth:ee.scrollLeft,ne.isScrollbarXUsingBottom?Ie.bottom=ne.scrollbarXBottom-Ht:Ie.top=ne.scrollbarXTop+Ht,x(ne.scrollbarXRail,Ie);var At={top:Ht,height:ne.railYHeight};ne.isScrollbarYUsingRight?At.right=ne.isRtl?ne.contentWidth-(ne.negativeScrollAdjustment+ee.scrollLeft)-ne.scrollbarYRight-ne.scrollbarYOuterWidth-9:ne.scrollbarYRight-ee.scrollLeft:At.left=ne.isRtl?ne.negativeScrollAdjustment+ee.scrollLeft+2*ne.containerWidth-ne.contentWidth-ne.scrollbarYLeft-ne.scrollbarYOuterWidth:ne.scrollbarYLeft+ee.scrollLeft,x(ne.scrollbarYRail,At),x(ne.scrollbarX,{left:ne.scrollbarXLeft,width:ne.scrollbarXWidth-ne.railBorderXWidth}),x(ne.scrollbarY,{top:ne.scrollbarYTop,height:ne.scrollbarYHeight-ne.railBorderYWidth})}(ne,ee),ee.scrollbarXActive?ne.classList.add(W.state.active("x")):(ne.classList.remove(W.state.active("x")),ee.scrollbarXWidth=0,ee.scrollbarXLeft=0,ne.scrollLeft=!0===ee.isRtl?ee.contentWidth:0),ee.scrollbarYActive?ne.classList.add(W.state.active("y")):(ne.classList.remove(W.state.active("y")),ee.scrollbarYHeight=0,ee.scrollbarYTop=0,ne.scrollTop=0)}function D(ee,ne){return ee.settings.minScrollbarLength&&(ne=Math.max(ne,ee.settings.minScrollbarLength)),ee.settings.maxScrollbarLength&&(ne=Math.min(ne,ee.settings.maxScrollbarLength)),ne}function g(ee,ne){var Ie=ne[0],Ht=ne[1],At=ne[2],Zt=ne[3],pi=ne[4],Jt=ne[5],qt=ne[6],Hi=ne[7],di=ne[8],fi=ee.element,un=null,Qi=null,xi=null;function sn(we){we.touches&&we.touches[0]&&(we[At]=we.touches[0].pageY),fi[qt]=un+xi*(we[At]-Qi),q(ee,Hi),w(ee),we.stopPropagation(),we.type.startsWith("touch")&&we.changedTouches.length>1&&we.preventDefault()}function ot(){ie(ee,Hi),ee[di].classList.remove(W.state.clicking),ee.event.unbind(ee.ownerDocument,"mousemove",sn)}function si(we,St){un=fi[qt],St&&we.touches&&(we[At]=we.touches[0].pageY),Qi=we[At],xi=(ee[Ht]-ee[Ie])/(ee[Zt]-ee[Jt]),St?ee.event.bind(ee.ownerDocument,"touchmove",sn):(ee.event.bind(ee.ownerDocument,"mousemove",sn),ee.event.once(ee.ownerDocument,"mouseup",ot),we.preventDefault()),ee[di].classList.add(W.state.clicking),we.stopPropagation()}ee.event.bind(ee[pi],"mousedown",function(we){si(we)}),ee.event.bind(ee[pi],"touchstart",function(we){si(we,!0)})}var st={"click-rail":function v(ee){ee.event.bind(ee.scrollbarY,"mousedown",function(Ie){return Ie.stopPropagation()}),ee.event.bind(ee.scrollbarYRail,"mousedown",function(Ie){var Ht=Ie.pageY-window.pageYOffset-ee.scrollbarYRail.getBoundingClientRect().top;ee.element.scrollTop+=(Ht>ee.scrollbarYTop?1:-1)*ee.containerHeight,w(ee),Ie.stopPropagation()}),ee.event.bind(ee.scrollbarX,"mousedown",function(Ie){return Ie.stopPropagation()}),ee.event.bind(ee.scrollbarXRail,"mousedown",function(Ie){var Ht=Ie.pageX-window.pageXOffset-ee.scrollbarXRail.getBoundingClientRect().left;ee.element.scrollLeft+=(Ht>ee.scrollbarXLeft?1:-1)*ee.containerWidth,w(ee),Ie.stopPropagation()})},"drag-thumb":function r(ee){g(ee,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),g(ee,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function H(ee){var ne=ee.element;ee.event.bind(ee.ownerDocument,"keydown",function(Zt){if(!(Zt.isDefaultPrevented&&Zt.isDefaultPrevented()||Zt.defaultPrevented)&&(V(ne,":hover")||V(ee.scrollbarX,":focus")||V(ee.scrollbarY,":focus"))){var pi=document.activeElement?document.activeElement:ee.ownerDocument.activeElement;if(pi){if("IFRAME"===pi.tagName)pi=pi.contentDocument.activeElement;else for(;pi.shadowRoot;)pi=pi.shadowRoot.activeElement;if(function s(ee){return V(ee,"input,[contenteditable]")||V(ee,"select,[contenteditable]")||V(ee,"textarea,[contenteditable]")||V(ee,"button,[contenteditable]")}(pi))return}var Jt=0,qt=0;switch(Zt.which){case 37:Jt=Zt.metaKey?-ee.contentWidth:Zt.altKey?-ee.containerWidth:-30;break;case 38:qt=Zt.metaKey?ee.contentHeight:Zt.altKey?ee.containerHeight:30;break;case 39:Jt=Zt.metaKey?ee.contentWidth:Zt.altKey?ee.containerWidth:30;break;case 40:qt=Zt.metaKey?-ee.contentHeight:Zt.altKey?-ee.containerHeight:-30;break;case 32:qt=Zt.shiftKey?ee.containerHeight:-ee.containerHeight;break;case 33:qt=ee.containerHeight;break;case 34:qt=-ee.containerHeight;break;case 36:qt=ee.contentHeight;break;case 35:qt=-ee.contentHeight;break;default:return}ee.settings.suppressScrollX&&0!==Jt||ee.settings.suppressScrollY&&0!==qt||(ne.scrollTop-=qt,ne.scrollLeft+=Jt,w(ee),function At(Zt,pi){var Jt=Math.floor(ne.scrollTop);if(0===Zt){if(!ee.scrollbarYActive)return!1;if(0===Jt&&pi>0||Jt>=ee.contentHeight-ee.containerHeight&&pi<0)return!ee.settings.wheelPropagation}var qt=ne.scrollLeft;if(0===pi){if(!ee.scrollbarXActive)return!1;if(0===qt&&Zt<0||qt>=ee.contentWidth-ee.containerWidth&&Zt>0)return!ee.settings.wheelPropagation}return!0}(Jt,qt)&&Zt.preventDefault())}})},wheel:function N(ee){var ne=ee.element;function Zt(pi){var Jt=function Ht(pi){var Jt=pi.deltaX,qt=-1*pi.deltaY;return(typeof Jt>"u"||typeof qt>"u")&&(Jt=-1*pi.wheelDeltaX/6,qt=pi.wheelDeltaY/6),pi.deltaMode&&1===pi.deltaMode&&(Jt*=10,qt*=10),Jt!=Jt&&qt!=qt&&(Jt=0,qt=pi.wheelDelta),pi.shiftKey?[-qt,-Jt]:[Jt,qt]}(pi),qt=Jt[0],Hi=Jt[1];if(!function At(pi,Jt,qt){if(!h.isWebKit&&ne.querySelector("select:focus"))return!0;if(!ne.contains(pi))return!1;for(var Hi=pi;Hi&&Hi!==ne;){if(Hi.classList.contains(W.element.consuming))return!0;var di=E(Hi);if(qt&&di.overflowY.match(/(scroll|auto)/)){var fi=Hi.scrollHeight-Hi.clientHeight;if(fi>0&&(Hi.scrollTop>0&&qt<0||Hi.scrollTop<fi&&qt>0))return!0}if(Jt&&di.overflowX.match(/(scroll|auto)/)){var un=Hi.scrollWidth-Hi.clientWidth;if(un>0&&(Hi.scrollLeft>0&&Jt<0||Hi.scrollLeft<un&&Jt>0))return!0}Hi=Hi.parentNode}return!1}(pi.target,qt,Hi)){var di=!1;ee.settings.useBothWheelAxes?ee.scrollbarYActive&&!ee.scrollbarXActive?(Hi?ne.scrollTop-=Hi*ee.settings.wheelSpeed:ne.scrollTop+=qt*ee.settings.wheelSpeed,di=!0):ee.scrollbarXActive&&!ee.scrollbarYActive&&(qt?ne.scrollLeft+=qt*ee.settings.wheelSpeed:ne.scrollLeft-=Hi*ee.settings.wheelSpeed,di=!0):(ne.scrollTop-=Hi*ee.settings.wheelSpeed,ne.scrollLeft+=qt*ee.settings.wheelSpeed),w(ee),di=di||function Ie(pi,Jt){var qt=Math.floor(ne.scrollTop),Hi=0===ne.scrollTop,di=qt+ne.offsetHeight===ne.scrollHeight,fi=0===ne.scrollLeft,un=ne.scrollLeft+ne.offsetWidth===ne.scrollWidth;return!(Math.abs(Jt)>Math.abs(pi)?Hi||di:fi||un)||!ee.settings.wheelPropagation}(qt,Hi),di&&!pi.ctrlKey&&(pi.stopPropagation(),pi.preventDefault())}}typeof window.onwheel<"u"?ee.event.bind(ne,"wheel",Zt):typeof window.onmousewheel<"u"&&ee.event.bind(ne,"mousewheel",Zt)},touch:function te(ee){if(h.supportsTouch||h.supportsIePointer){var ne=ee.element,At={},Zt=0,pi={},Jt=null;h.supportsTouch?(ee.event.bind(ne,"touchstart",di),ee.event.bind(ne,"touchmove",un),ee.event.bind(ne,"touchend",Qi)):h.supportsIePointer&&(window.PointerEvent?(ee.event.bind(ne,"pointerdown",di),ee.event.bind(ne,"pointermove",un),ee.event.bind(ne,"pointerup",Qi)):window.MSPointerEvent&&(ee.event.bind(ne,"MSPointerDown",di),ee.event.bind(ne,"MSPointerMove",un),ee.event.bind(ne,"MSPointerUp",Qi)))}function Ht(xi,sn){ne.scrollTop-=sn,ne.scrollLeft-=xi,w(ee)}function qt(xi){return xi.targetTouches?xi.targetTouches[0]:xi}function Hi(xi){return!(xi.pointerType&&"pen"===xi.pointerType&&0===xi.buttons||!(xi.targetTouches&&1===xi.targetTouches.length||xi.pointerType&&"mouse"!==xi.pointerType&&xi.pointerType!==xi.MSPOINTER_TYPE_MOUSE))}function di(xi){if(Hi(xi)){var sn=qt(xi);At.pageX=sn.pageX,At.pageY=sn.pageY,Zt=(new Date).getTime(),null!==Jt&&clearInterval(Jt)}}function un(xi){if(Hi(xi)){var sn=qt(xi),ot={pageX:sn.pageX,pageY:sn.pageY},si=ot.pageX-At.pageX,we=ot.pageY-At.pageY;if(function fi(xi,sn,ot){if(!ne.contains(xi))return!1;for(var si=xi;si&&si!==ne;){if(si.classList.contains(W.element.consuming))return!0;var we=E(si);if(ot&&we.overflowY.match(/(scroll|auto)/)){var St=si.scrollHeight-si.clientHeight;if(St>0&&(si.scrollTop>0&&ot<0||si.scrollTop<St&&ot>0))return!0}if(sn&&we.overflowX.match(/(scroll|auto)/)){var zt=si.scrollWidth-si.clientWidth;if(zt>0&&(si.scrollLeft>0&&sn<0||si.scrollLeft<zt&&sn>0))return!0}si=si.parentNode}return!1}(xi.target,si,we))return;Ht(si,we),At=ot;var St=(new Date).getTime(),zt=St-Zt;zt>0&&(pi.x=si/zt,pi.y=we/zt,Zt=St),function Ie(xi,sn){var ot=Math.floor(ne.scrollTop),si=ne.scrollLeft,we=Math.abs(xi),St=Math.abs(sn);if(St>we){if(sn<0&&ot===ee.contentHeight-ee.containerHeight||sn>0&&0===ot)return 0===window.scrollY&&sn>0&&h.isChrome}else if(we>St&&(xi<0&&si===ee.contentWidth-ee.containerWidth||xi>0&&0===si))return!0;return!0}(si,we)&&xi.preventDefault()}}function Qi(){ee.settings.swipeEasing&&(clearInterval(Jt),Jt=setInterval(function(){ee.isInitialized?clearInterval(Jt):pi.x||pi.y?Math.abs(pi.x)<.01&&Math.abs(pi.y)<.01?clearInterval(Jt):ee.element?(Ht(30*pi.x,30*pi.y),pi.x*=.8,pi.y*=.8):clearInterval(Jt):clearInterval(Jt)},10))}}},je=function(ne,Ie){var Ht=this;if(void 0===Ie&&(Ie={}),"string"==typeof ne&&(ne=document.querySelector(ne)),!ne||!ne.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var At in this.element=ne,ne.classList.add(W.main),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},Ie)this.settings[At]=Ie[At];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var di,Hi,Zt=function(){return ne.classList.add(W.state.focus)},pi=function(){return ne.classList.remove(W.state.focus)};this.isRtl="rtl"===E(ne).direction,!0===this.isRtl&&ne.classList.add(W.rtl),this.isNegativeScroll=(Hi=ne.scrollLeft,ne.scrollLeft=-1,di=ne.scrollLeft<0,ne.scrollLeft=Hi,di),this.negativeScrollAdjustment=this.isNegativeScroll?ne.scrollWidth-ne.clientWidth:0,this.event=new xe,this.ownerDocument=ne.ownerDocument||document,this.scrollbarXRail=I(W.element.rail("x")),ne.appendChild(this.scrollbarXRail),this.scrollbarX=I(W.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",Zt),this.event.bind(this.scrollbarX,"blur",pi),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var Jt=E(this.scrollbarXRail);this.scrollbarXBottom=parseInt(Jt.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=n(Jt.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=n(Jt.borderLeftWidth)+n(Jt.borderRightWidth),x(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=n(Jt.marginLeft)+n(Jt.marginRight),x(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=I(W.element.rail("y")),ne.appendChild(this.scrollbarYRail),this.scrollbarY=I(W.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",Zt),this.event.bind(this.scrollbarY,"blur",pi),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var qt=E(this.scrollbarYRail);this.scrollbarYRight=parseInt(qt.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=n(qt.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function f(ee){var ne=E(ee);return n(ne.width)+n(ne.paddingLeft)+n(ne.paddingRight)+n(ne.borderLeftWidth)+n(ne.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=n(qt.borderTopWidth)+n(qt.borderBottomWidth),x(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=n(qt.marginTop)+n(qt.marginBottom),x(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:ne.scrollLeft<=0?"start":ne.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:ne.scrollTop<=0?"start":ne.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(Hi){return st[Hi](Ht)}),this.lastScrollTop=Math.floor(ne.scrollTop),this.lastScrollLeft=ne.scrollLeft,this.event.bind(this.element,"scroll",function(Hi){return Ht.onScroll(Hi)}),w(this)};je.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,x(this.scrollbarXRail,{display:"block"}),x(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=n(E(this.scrollbarXRail).marginLeft)+n(E(this.scrollbarXRail).marginRight),this.railYMarginHeight=n(E(this.scrollbarYRail).marginTop)+n(E(this.scrollbarYRail).marginBottom),x(this.scrollbarXRail,{display:"none"}),x(this.scrollbarYRail,{display:"none"}),w(this),he(this,"top",0,!1,!0),he(this,"left",0,!1,!0),x(this.scrollbarXRail,{display:""}),x(this.scrollbarYRail,{display:""}))},je.prototype.onScroll=function(ne){this.isAlive&&(w(this),he(this,"top",this.element.scrollTop-this.lastScrollTop),he(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},je.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),G(this.scrollbarX),G(this.scrollbarY),G(this.scrollbarXRail),G(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},je.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(ne){return!ne.match(/^ps([-_].+|)$/)}).join(" ")};const $e=je;var ye=function(){if(typeof Map<"u")return Map;function ee(ne,Ie){var Ht=-1;return ne.some(function(At,Zt){return At[0]===Ie&&(Ht=Zt,!0)}),Ht}return function(){function ne(){this.__entries__=[]}return Object.defineProperty(ne.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),ne.prototype.get=function(Ie){var Ht=ee(this.__entries__,Ie),At=this.__entries__[Ht];return At&&At[1]},ne.prototype.set=function(Ie,Ht){var At=ee(this.__entries__,Ie);~At?this.__entries__[At][1]=Ht:this.__entries__.push([Ie,Ht])},ne.prototype.delete=function(Ie){var Ht=this.__entries__,At=ee(Ht,Ie);~At&&Ht.splice(At,1)},ne.prototype.has=function(Ie){return!!~ee(this.__entries__,Ie)},ne.prototype.clear=function(){this.__entries__.splice(0)},ne.prototype.forEach=function(Ie,Ht){void 0===Ht&&(Ht=null);for(var At=0,Zt=this.__entries__;At<Zt.length;At++){var pi=Zt[At];Ie.call(Ht,pi[1],pi[0])}},ne}()}(),fe=typeof window<"u"&&typeof document<"u"&&window.document===document,de=typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")(),Ce="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(de):function(ee){return setTimeout(function(){return ee(Date.now())},1e3/60)},oe=["top","right","bottom","left","width","height","size","weight"],ve=typeof MutationObserver<"u",ce=function(){function ee(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function ge(ee,ne){var Ie=!1,Ht=!1,At=0;function Zt(){Ie&&(Ie=!1,ee()),Ht&&Jt()}function pi(){Ce(Zt)}function Jt(){var qt=Date.now();if(Ie){if(qt-At<2)return;Ht=!0}else Ie=!0,Ht=!1,setTimeout(pi,ne);At=qt}return Jt}(this.refresh.bind(this),20)}return ee.prototype.addObserver=function(ne){~this.observers_.indexOf(ne)||this.observers_.push(ne),this.connected_||this.connect_()},ee.prototype.removeObserver=function(ne){var Ie=this.observers_,Ht=Ie.indexOf(ne);~Ht&&Ie.splice(Ht,1),!Ie.length&&this.connected_&&this.disconnect_()},ee.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},ee.prototype.updateObservers_=function(){var ne=this.observers_.filter(function(Ie){return Ie.gatherActive(),Ie.hasActive()});return ne.forEach(function(Ie){return Ie.broadcastActive()}),ne.length>0},ee.prototype.connect_=function(){!fe||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),ve?(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)},ee.prototype.disconnect_=function(){!fe||!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)},ee.prototype.onTransitionEnd_=function(ne){var Ie=ne.propertyName,Ht=void 0===Ie?"":Ie;oe.some(function(Zt){return!!~Ht.indexOf(Zt)})&&this.refresh()},ee.getInstance=function(){return this.instance_||(this.instance_=new ee),this.instance_},ee.instance_=null,ee}(),Ge=function(ee,ne){for(var Ie=0,Ht=Object.keys(ne);Ie<Ht.length;Ie++){var At=Ht[Ie];Object.defineProperty(ee,At,{value:ne[At],enumerable:!1,writable:!1,configurable:!0})}return ee},Ze=function(ee){return ee&&ee.ownerDocument&&ee.ownerDocument.defaultView||de},wt=Et(0,0,0,0);function mt(ee){return parseFloat(ee)||0}function kt(ee){for(var ne=[],Ie=1;Ie<arguments.length;Ie++)ne[Ie-1]=arguments[Ie];return ne.reduce(function(Ht,At){return Ht+mt(ee["border-"+At+"-width"])},0)}var et=typeof SVGGraphicsElement<"u"?function(ee){return ee instanceof Ze(ee).SVGGraphicsElement}:function(ee){return ee instanceof Ze(ee).SVGElement&&"function"==typeof ee.getBBox};function ct(ee){return fe?et(ee)?function ze(ee){var ne=ee.getBBox();return Et(0,0,ne.width,ne.height)}(ee):function nt(ee){var ne=ee.clientWidth,Ie=ee.clientHeight;if(!ne&&!Ie)return wt;var Ht=Ze(ee).getComputedStyle(ee),At=function Ae(ee){for(var Ie={},Ht=0,At=["top","right","bottom","left"];Ht<At.length;Ht++){var Zt=At[Ht];Ie[Zt]=mt(ee["padding-"+Zt])}return Ie}(Ht),Zt=At.left+At.right,pi=At.top+At.bottom,Jt=mt(Ht.width),qt=mt(Ht.height);if("border-box"===Ht.boxSizing&&(Math.round(Jt+Zt)!==ne&&(Jt-=kt(Ht,"left","right")+Zt),Math.round(qt+pi)!==Ie&&(qt-=kt(Ht,"top","bottom")+pi)),!function ke(ee){return ee===Ze(ee).document.documentElement}(ee)){var Hi=Math.round(Jt+Zt)-ne,di=Math.round(qt+pi)-Ie;1!==Math.abs(Hi)&&(Jt-=Hi),1!==Math.abs(di)&&(qt-=di)}return Et(At.left,At.top,Jt,qt)}(ee):wt}function Et(ee,ne,Ie,Ht){return{x:ee,y:ne,width:Ie,height:Ht}}var lt=function(){function ee(ne){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Et(0,0,0,0),this.target=ne}return ee.prototype.isActive=function(){var ne=ct(this.target);return this.contentRect_=ne,ne.width!==this.broadcastWidth||ne.height!==this.broadcastHeight},ee.prototype.broadcastRect=function(){var ne=this.contentRect_;return this.broadcastWidth=ne.width,this.broadcastHeight=ne.height,ne},ee}(),Ke=function ee(ne,Ie){var Ht=function Qe(ee){var ne=ee.x,Ie=ee.y,Ht=ee.width,At=ee.height,Zt=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,pi=Object.create(Zt.prototype);return Ge(pi,{x:ne,y:Ie,width:Ht,height:At,top:Ie,right:ne+Ht,bottom:At+Ie,left:ne}),pi}(Ie);Ge(this,{target:ne,contentRect:Ht})},Be=function(){function ee(ne,Ie,Ht){if(this.activeObservations_=[],this.observations_=new ye,"function"!=typeof ne)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=ne,this.controller_=Ie,this.callbackCtx_=Ht}return ee.prototype.observe=function(ne){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(ne instanceof Ze(ne).Element))throw new TypeError('parameter 1 is not of type "Element".');var Ie=this.observations_;Ie.has(ne)||(Ie.set(ne,new lt(ne)),this.controller_.addObserver(this),this.controller_.refresh())}},ee.prototype.unobserve=function(ne){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(ne instanceof Ze(ne).Element))throw new TypeError('parameter 1 is not of type "Element".');var Ie=this.observations_;Ie.has(ne)&&(Ie.delete(ne),Ie.size||this.controller_.removeObserver(this))}},ee.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},ee.prototype.gatherActive=function(){var ne=this;this.clearActive(),this.observations_.forEach(function(Ie){Ie.isActive()&&ne.activeObservations_.push(Ie)})},ee.prototype.broadcastActive=function(){if(this.hasActive()){var ne=this.callbackCtx_,Ie=this.activeObservations_.map(function(Ht){return new Ke(Ht.target,Ht.broadcastRect())});this.callback_.call(ne,Ie,ne),this.clearActive()}},ee.prototype.clearActive=function(){this.activeObservations_.splice(0)},ee.prototype.hasActive=function(){return this.activeObservations_.length>0},ee}(),Xt=typeof WeakMap<"u"?new WeakMap:new ye,J=function ee(ne){if(!(this instanceof ee))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var Ie=ce.getInstance(),Ht=new Be(ne,Ie,this);Xt.set(this,Ht)};["observe","unobserve","disconnect"].forEach(function(ee){J.prototype[ee]=function(){var ne;return(ne=Xt.get(this))[ee].apply(ne,arguments)}});const Ft=typeof de.ResizeObserver<"u"?de.ResizeObserver:J;function Ct(ee,ne){if(1&ee&&(O.TgZ(0,"div",3),O._UZ(1,"div",4)(2,"div",5)(3,"div",6)(4,"div",7),O.qZA()),2&ee){const Ie=O.oxw();O.ekj("ps-at-top",Ie.states.top)("ps-at-left",Ie.states.left)("ps-at-right",Ie.states.right)("ps-at-bottom",Ie.states.bottom),O.xp6(1),O.ekj("ps-indicator-show",Ie.indicatorY&&Ie.interaction),O.xp6(1),O.ekj("ps-indicator-show",Ie.indicatorX&&Ie.interaction),O.xp6(1),O.ekj("ps-indicator-show",Ie.indicatorX&&Ie.interaction),O.xp6(1),O.ekj("ps-indicator-show",Ie.indicatorY&&Ie.interaction)}}const Pt=["*"],xt=new O.OlP("PERFECT_SCROLLBAR_CONFIG");class rt{constructor(ne,Ie,Ht,At){this.x=ne,this.y=Ie,this.w=Ht,this.h=At}}class Ee{constructor(ne,Ie){this.x=ne,this.y=Ie}}const it=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"];class Ue{constructor(ne={}){this.assign(ne)}assign(ne={}){for(const Ie in ne)this[Ie]=ne[Ie]}}let Je=(()=>{class ee{constructor(Ie,Ht,At,Zt,pi){this.zone=Ie,this.differs=Ht,this.elementRef=At,this.platformId=Zt,this.defaults=pi,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 O.vpe,this.psScrollX=new O.vpe,this.psScrollUp=new O.vpe,this.psScrollDown=new O.vpe,this.psScrollLeft=new O.vpe,this.psScrollRight=new O.vpe,this.psYReachEnd=new O.vpe,this.psYReachStart=new O.vpe,this.psXReachEnd=new O.vpe,this.psXReachStart=new O.vpe}ngOnInit(){if(!this.disabled&&(0,d.NF)(this.platformId)){const Ie=new Ue(this.defaults);Ie.assign(this.config),this.zone.runOutsideAngular(()=>{this.instance=new $e(this.elementRef.nativeElement,Ie)}),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{})),this.zone.runOutsideAngular(()=>{this.ro=new Ft(()=>{this.update()}),this.elementRef.nativeElement.children[0]&&this.ro.observe(this.elementRef.nativeElement.children[0]),this.ro.observe(this.elementRef.nativeElement)}),this.zone.runOutsideAngular(()=>{it.forEach(Ht=>{const At=Ht.replace(/([A-Z])/g,Zt=>`-${Zt.toLowerCase()}`);(0,t.R)(this.elementRef.nativeElement,At).pipe((0,A.e)(20),(0,l.R)(this.ngDestroy)).subscribe(Zt=>{this[Ht].emit(Zt)})})})}}ngOnDestroy(){(0,d.NF)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.complete(),this.ro&&this.ro.disconnect(),this.timeout&&typeof window<"u"&&window.clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.instance&&this.instance.destroy()}),this.instance=null)}ngDoCheck(){!this.disabled&&this.configDiff&&(0,d.NF)(this.platformId)&&this.configDiff.diff(this.config||{})&&(this.ngOnDestroy(),this.ngOnInit())}ngOnChanges(Ie){Ie.disabled&&!Ie.disabled.isFirstChange()&&(0,d.NF)(this.platformId)&&Ie.disabled.currentValue!==Ie.disabled.previousValue&&(!0===Ie.disabled.currentValue?this.ngOnDestroy():!1===Ie.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(Ie="scroll"){return new rt(this.elementRef.nativeElement[Ie+"Left"],this.elementRef.nativeElement[Ie+"Top"],this.elementRef.nativeElement[Ie+"Width"],this.elementRef.nativeElement[Ie+"Height"])}position(Ie=!1){return!Ie&&this.instance?new Ee(this.instance.reach.x||0,this.instance.reach.y||0):new Ee(this.elementRef.nativeElement.scrollLeft,this.elementRef.nativeElement.scrollTop)}scrollable(Ie="any"){const Ht=this.elementRef.nativeElement;return"any"===Ie?Ht.classList.contains("ps--active-x")||Ht.classList.contains("ps--active-y"):"both"===Ie?Ht.classList.contains("ps--active-x")&&Ht.classList.contains("ps--active-y"):Ht.classList.contains("ps--active-"+Ie)}scrollTo(Ie,Ht,At){this.disabled||(null==Ht&&null==At?this.animateScrolling("scrollTop",Ie,At):(null!=Ie&&this.animateScrolling("scrollLeft",Ie,At),null!=Ht&&this.animateScrolling("scrollTop",Ht,At)))}scrollToX(Ie,Ht){this.animateScrolling("scrollLeft",Ie,Ht)}scrollToY(Ie,Ht){this.animateScrolling("scrollTop",Ie,Ht)}scrollToTop(Ie,Ht){this.animateScrolling("scrollTop",Ie||0,Ht)}scrollToLeft(Ie,Ht){this.animateScrolling("scrollLeft",Ie||0,Ht)}scrollToRight(Ie,Ht){this.animateScrolling("scrollLeft",this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth-(Ie||0),Ht)}scrollToBottom(Ie,Ht){this.animateScrolling("scrollTop",this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight-(Ie||0),Ht)}scrollToElement(Ie,Ht,At){if("string"==typeof Ie&&(Ie=this.elementRef.nativeElement.querySelector(Ie)),Ie){const Zt=Ie.getBoundingClientRect(),pi=this.elementRef.nativeElement.getBoundingClientRect();this.elementRef.nativeElement.classList.contains("ps--active-x")&&this.animateScrolling("scrollLeft",Zt.left-pi.left+this.elementRef.nativeElement.scrollLeft+(Ht||0),At),this.elementRef.nativeElement.classList.contains("ps--active-y")&&this.animateScrolling("scrollTop",Zt.top-pi.top+this.elementRef.nativeElement.scrollTop+(Ht||0),At)}}animateScrolling(Ie,Ht,At){if(this.animation&&(window.cancelAnimationFrame(this.animation),this.animation=null),!At||typeof window>"u")this.elementRef.nativeElement[Ie]=Ht;else if(Ht!==this.elementRef.nativeElement[Ie]){let Zt=0,pi=0,Jt=performance.now(),qt=this.elementRef.nativeElement[Ie];const Hi=(qt-Ht)/2,di=fi=>{pi+=Math.PI/(At/(fi-Jt)),Zt=Math.round(Ht+Hi+Hi*Math.cos(pi)),this.elementRef.nativeElement[Ie]===qt&&(pi>=Math.PI?this.animateScrolling(Ie,Ht,0):(this.elementRef.nativeElement[Ie]=Zt,qt=this.elementRef.nativeElement[Ie],Jt=fi,this.animation=window.requestAnimationFrame(di)))};window.requestAnimationFrame(di)}}}return ee.\u0275fac=function(Ie){return new(Ie||ee)(O.Y36(O.R0b),O.Y36(O.aQg),O.Y36(O.SBq),O.Y36(O.Lbi),O.Y36(xt,8))},ee.\u0275dir=O.lG2({type:ee,selectors:[["","perfectScrollbar",""]],inputs:{disabled:"disabled",config:["perfectScrollbar","config"]},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],features:[O.TTD]}),ee})(),_t=(()=>{class ee{constructor(Ie,Ht,At){this.zone=Ie,this.cdRef=Ht,this.platformId=At,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 O.vpe,this.psScrollX=new O.vpe,this.psScrollUp=new O.vpe,this.psScrollDown=new O.vpe,this.psScrollLeft=new O.vpe,this.psScrollRight=new O.vpe,this.psYReachEnd=new O.vpe,this.psYReachStart=new O.vpe,this.psXReachEnd=new O.vpe,this.psXReachStart=new O.vpe}ngOnInit(){(0,d.NF)(this.platformId)&&(this.stateUpdate.pipe((0,l.R)(this.ngDestroy),(0,M.x)((Ie,Ht)=>Ie===Ht&&!this.stateTimeout)).subscribe(Ie=>{this.stateTimeout&&typeof window<"u"&&(window.clearTimeout(this.stateTimeout),this.stateTimeout=null),"x"===Ie||"y"===Ie?(this.interaction=!1,"x"===Ie?(this.indicatorX=!1,this.states.left=!1,this.states.right=!1,this.autoPropagation&&this.usePropagationX&&(this.allowPropagationX=!1)):"y"===Ie&&(this.indicatorY=!1,this.states.top=!1,this.states.bottom=!1,this.autoPropagation&&this.usePropagationY&&(this.allowPropagationY=!1))):("left"===Ie||"right"===Ie?(this.states.left=!1,this.states.right=!1,this.states[Ie]=!0,this.autoPropagation&&this.usePropagationX&&(this.indicatorX=!0)):("top"===Ie||"bottom"===Ie)&&(this.states.top=!1,this.states.bottom=!1,this.states[Ie]=!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 Ie=this.directiveRef.elementRef.nativeElement;(0,t.R)(Ie,"wheel").pipe((0,l.R)(this.ngDestroy)).subscribe(Ht=>{!this.disabled&&this.autoPropagation&&this.checkPropagation(Ht,Ht.deltaX,Ht.deltaY)}),(0,t.R)(Ie,"touchmove").pipe((0,l.R)(this.ngDestroy)).subscribe(Ht=>{if(!this.disabled&&this.autoPropagation){const At=Ht.touches[0].clientX,Zt=Ht.touches[0].clientY;this.checkPropagation(Ht,At-this.scrollPositionX,Zt-this.scrollPositionY),this.scrollPositionX=At,this.scrollPositionY=Zt}}),(0,y.T)((0,t.R)(Ie,"ps-scroll-x").pipe((0,m.h)("x")),(0,t.R)(Ie,"ps-scroll-y").pipe((0,m.h)("y")),(0,t.R)(Ie,"ps-x-reach-end").pipe((0,m.h)("right")),(0,t.R)(Ie,"ps-y-reach-end").pipe((0,m.h)("bottom")),(0,t.R)(Ie,"ps-x-reach-start").pipe((0,m.h)("left")),(0,t.R)(Ie,"ps-y-reach-start").pipe((0,m.h)("top"))).pipe((0,l.R)(this.ngDestroy)).subscribe(Ht=>{!this.disabled&&(this.autoPropagation||this.scrollIndicators)&&this.stateUpdate.next(Ht)})}}),window.setTimeout(()=>{it.forEach(Ie=>{this.directiveRef&&(this.directiveRef[Ie]=this[Ie])})},0))}ngOnDestroy(){(0,d.NF)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.unsubscribe(),this.stateTimeout&&typeof window<"u"&&window.clearTimeout(this.stateTimeout))}ngDoCheck(){if((0,d.NF)(this.platformId)&&!this.disabled&&this.autoPropagation&&this.directiveRef){const Ie=this.directiveRef.elementRef.nativeElement;this.usePropagationX=Ie.classList.contains("ps--active-x"),this.usePropagationY=Ie.classList.contains("ps--active-y")}}checkPropagation(Ie,Ht,At){this.interaction=!0;const Zt=Ht<0?-1:1,pi=At<0?-1:1;(this.usePropagationX&&this.usePropagationY||this.usePropagationX&&(!this.allowPropagationX||this.scrollDirectionX!==Zt)||this.usePropagationY&&(!this.allowPropagationY||this.scrollDirectionY!==pi))&&(Ie.preventDefault(),Ie.stopPropagation()),Ht&&(this.scrollDirectionX=Zt),At&&(this.scrollDirectionY=pi),this.stateUpdate.next("interaction"),this.cdRef.detectChanges()}}return ee.\u0275fac=function(Ie){return new(Ie||ee)(O.Y36(O.R0b),O.Y36(O.sBO),O.Y36(O.Lbi))},ee.\u0275cmp=O.Xpm({type:ee,selectors:[["perfect-scrollbar"]],viewQuery:function(Ie,Ht){if(1&Ie&&O.Gf(Je,7),2&Ie){let At;O.iGM(At=O.CRH())&&(Ht.directiveRef=At.first)}},hostVars:4,hostBindings:function(Ie,Ht){2&Ie&&O.ekj("ps-show-limits",Ht.autoPropagation)("ps-show-active",Ht.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:Pt,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(Ie,Ht){1&Ie&&(O.F$t(),O.TgZ(0,"div",0)(1,"div",1),O.Hsn(2),O.qZA(),O.YNc(3,Ct,5,16,"div",2),O.qZA()),2&Ie&&(O.ekj("ps",Ht.usePSClass),O.Q6J("perfectScrollbar",Ht.config)("disabled",Ht.disabled),O.xp6(3),O.Q6J("ngIf",Ht.scrollIndicators))},dependencies:[Je,d.O5],styles:["perfect-scrollbar{position:relative;display:block;overflow:hidden;width:100%;height:100%;max-width:100%;max-height:100%}perfect-scrollbar[hidden]{display:none}perfect-scrollbar[fxflex]{display:flex;flex-direction:column;height:auto;min-width:0;min-height:0}perfect-scrollbar[fxflex]>.ps{flex:1 1 auto;width:auto;height:auto;min-width:0;min-height:0;-webkit-box-flex:1}perfect-scrollbar[fxlayout]>.ps,perfect-scrollbar[fxlayout]>.ps>.ps-content{display:flex;flex:1 1 auto;flex-direction:inherit;align-items:inherit;align-content:inherit;justify-content:inherit;width:100%;height:100%;-webkit-box-align:inherit;-webkit-box-flex:1;-webkit-box-pack:inherit}perfect-scrollbar[fxlayout=row]>.ps,perfect-scrollbar[fxlayout=row]>.ps>.ps-content{flex-direction:row!important}perfect-scrollbar[fxlayout=column]>.ps,perfect-scrollbar[fxlayout=column]>.ps>.ps-content{flex-direction:column!important}perfect-scrollbar>.ps{position:static;display:block;width:100%;height:100%;max-width:100%;max-height:100%}perfect-scrollbar>.ps textarea{-ms-overflow-style:scrollbar}perfect-scrollbar>.ps>.ps-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:block;overflow:hidden;pointer-events:none}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{position:absolute;opacity:0;transition:opacity .3s ease-in-out}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{left:0;min-width:100%;min-height:24px}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{top:0;min-width:24px;min-height:100%}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{top:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left{left:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{right:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{bottom:0}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y{top:0!important;right:0!important;left:auto!important;width:10px;cursor:default;transition:width .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y:hover,perfect-scrollbar>.ps.ps--active-y>.ps__rail-y.ps--clicking{width:15px}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x{top:auto!important;bottom:0!important;left:0!important;height:10px;cursor:default;transition:height .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x:hover,perfect-scrollbar>.ps.ps--active-x>.ps__rail-x.ps--clicking{height:15px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-y{margin:0 0 10px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-x{margin:0 10px 0 0}perfect-scrollbar>.ps.ps--scrolling-y>.ps__rail-y,perfect-scrollbar>.ps.ps--scrolling-x>.ps__rail-x{opacity:.9;background-color:#eee}perfect-scrollbar.ps-show-always>.ps.ps--active-y>.ps__rail-y,perfect-scrollbar.ps-show-always>.ps.ps--active-x>.ps__rail-x{opacity:.6}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-top) .ps-indicator-top{opacity:1;background:linear-gradient(to bottom,rgba(255,255,255,.5) 0%,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-bottom) .ps-indicator-bottom{opacity:1;background:linear-gradient(to top,rgba(255,255,255,.5) 0%,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-left) .ps-indicator-left{opacity:1;background:linear-gradient(to right,rgba(255,255,255,.5) 0%,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-right) .ps-indicator-right{opacity:1;background:linear-gradient(to left,rgba(255,255,255,.5) 0%,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top{background:linear-gradient(to bottom,rgba(170,170,170,.5) 0%,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom{background:linear-gradient(to top,rgba(170,170,170,.5) 0%,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left{background:linear-gradient(to right,rgba(170,170,170,.5) 0%,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right{background:linear-gradient(to left,rgba(170,170,170,.5) 0%,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right.ps-indicator-show{opacity:1}\n",".ps{overflow:hidden!important;overflow-anchor:none;-ms-overflow-style:none;touch-action:auto;-ms-touch-action:auto}.ps__rail-x{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;height:15px;bottom:0px;position:absolute}.ps__rail-y{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;width:15px;right:0;position:absolute}.ps--active-x>.ps__rail-x,.ps--active-y>.ps__rail-y{display:block;background-color:transparent}.ps:hover>.ps__rail-x,.ps:hover>.ps__rail-y,.ps--focus>.ps__rail-x,.ps--focus>.ps__rail-y,.ps--scrolling-x>.ps__rail-x,.ps--scrolling-y>.ps__rail-y{opacity:.6}.ps .ps__rail-x:hover,.ps .ps__rail-y:hover,.ps .ps__rail-x:focus,.ps .ps__rail-y:focus,.ps .ps__rail-x.ps--clicking,.ps .ps__rail-y.ps--clicking{background-color:#eee;opacity:.9}.ps__thumb-x{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,height .2s ease-in-out;-webkit-transition:background-color .2s linear,height .2s ease-in-out;height:6px;bottom:2px;position:absolute}.ps__thumb-y{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,width .2s ease-in-out;-webkit-transition:background-color .2s linear,width .2s ease-in-out;width:6px;right:2px;position:absolute}.ps__rail-x:hover>.ps__thumb-x,.ps__rail-x:focus>.ps__thumb-x,.ps__rail-x.ps--clicking .ps__thumb-x{background-color:#999;height:11px}.ps__rail-y:hover>.ps__thumb-y,.ps__rail-y:focus>.ps__thumb-y,.ps__rail-y.ps--clicking .ps__thumb-y{background-color:#999;width:11px}@supports (-ms-overflow-style: none){.ps{overflow:auto!important}}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.ps{overflow:auto!important}}\n"],encapsulation:2}),ee})(),be=(()=>{class ee{}return ee.\u0275fac=function(Ie){return new(Ie||ee)},ee.\u0275mod=O.oAB({type:ee}),ee.\u0275inj=O.cJS({imports:[[d.ez],d.ez]}),ee})()},5861:(He,X,p)=>{"use strict";function e(y,A,l,M,m,O,d){try{var E=y[O](d),x=E.value}catch(I){return void l(I)}E.done?A(x):Promise.resolve(x).then(M,m)}function t(y){return function(){var A=this,l=arguments;return new Promise(function(M,m){var O=y.apply(A,l);function d(x){e(O,M,m,d,E,"next",x)}function E(x){e(O,M,m,d,E,"throw",x)}d(void 0)})}}p.d(X,{Z:()=>t})},7582:(He,X,p)=>{"use strict";function l(r,g,H,N){var st,te=arguments.length,De=te<3?g:null===N?N=Object.getOwnPropertyDescriptor(g,H):N;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)De=Reflect.decorate(r,g,H,N);else for(var je=r.length-1;je>=0;je--)(st=r[je])&&(De=(te<3?st(De):te>3?st(g,H,De):st(g,H))||De);return te>3&&De&&Object.defineProperty(g,H,De),De}function I(r,g,H,N){return new(H||(H=Promise))(function(De,st){function je(fe){try{ye(N.next(fe))}catch(de){st(de)}}function $e(fe){try{ye(N.throw(fe))}catch(de){st(de)}}function ye(fe){fe.done?De(fe.value):function te(De){return De instanceof H?De:new H(function(st){st(De)})}(fe.value).then(je,$e)}ye((N=N.apply(r,g||[])).next())})}function ae(r){return this instanceof ae?(this.v=r,this):new ae(r)}function ue(r,g,H){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var te,N=H.apply(r,g||[]),De=[];return te={},st("next"),st("throw"),st("return"),te[Symbol.asyncIterator]=function(){return this},te;function st(Ce){N[Ce]&&(te[Ce]=function(le){return new Promise(function(ge,qe){De.push([Ce,le,ge,qe])>1||je(Ce,le)})})}function je(Ce,le){try{!function $e(Ce){Ce.value instanceof ae?Promise.resolve(Ce.value.v).then(ye,fe):de(De[0][2],Ce)}(N[Ce](le))}catch(ge){de(De[0][3],ge)}}function ye(Ce){je("next",Ce)}function fe(Ce){je("throw",Ce)}function de(Ce,le){Ce(le),De.shift(),De.length&&je(De[0][0],De[0][1])}}function xe(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var H,g=r[Symbol.asyncIterator];return g?g.call(r):(r=function j(r){var g="function"==typeof Symbol&&Symbol.iterator,H=g&&r[g],N=0;if(H)return H.call(r);if(r&&"number"==typeof r.length)return{next:function(){return r&&N>=r.length&&(r=void 0),{value:r&&r[N++],done:!r}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")}(r),H={},N("next"),N("throw"),N("return"),H[Symbol.asyncIterator]=function(){return this},H);function N(De){H[De]=r[De]&&function(st){return new Promise(function(je,$e){!function te(De,st,je,$e){Promise.resolve($e).then(function(ye){De({value:ye,done:je})},st)}(je,$e,(st=r[De](st)).done,st.value)})}}}p.d(X,{FC:()=>ue,KL:()=>xe,gn:()=>l,mG:()=>I,qq:()=>ae}),"function"==typeof SuppressedError&&SuppressedError},4946:He=>{"use strict";He.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:He=>{"use strict";He.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},1308:He=>{"use strict";He.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:He=>{"use strict";He.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:He=>{"use strict";He.exports={i8:"6.5.4"}},2562:He=>{"use strict";He.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"}')}},He=>{He(He.s=7359)}]);